flapper

package
v0.0.0-...-61bd5a7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 28, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const FlapperABI = "" /* 5531-byte string literal not displayed */

FlapperABI is the input ABI used to generate the binding from.

Variables

View Source
var FlapperBin = "" /* 18664-byte string literal not displayed */

FlapperBin is the compiled bytecode used for deploying new contracts.

Functions

This section is empty.

Types

type Flapper

type Flapper struct {
	FlapperCaller     // Read-only binding to the contract
	FlapperTransactor // Write-only binding to the contract
	FlapperFilterer   // Log filterer for contract events
}

Flapper is an auto generated Go binding around an Ethereum contract.

func DeployFlapper

func DeployFlapper(auth *bind.TransactOpts, backend bind.ContractBackend, vat_ common.Address, gem_ common.Address) (common.Address, *types.Transaction, *Flapper, error)

DeployFlapper deploys a new Ethereum contract, binding an instance of Flapper to it.

func NewFlapper

func NewFlapper(address common.Address, backend bind.ContractBackend) (*Flapper, error)

NewFlapper creates a new instance of Flapper, bound to a specific deployed contract.

type FlapperCaller

type FlapperCaller struct {
	// contains filtered or unexported fields
}

FlapperCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewFlapperCaller

func NewFlapperCaller(address common.Address, caller bind.ContractCaller) (*FlapperCaller, error)

NewFlapperCaller creates a new read-only instance of Flapper, bound to a specific deployed contract.

func (*FlapperCaller) Beg

func (_Flapper *FlapperCaller) Beg(opts *bind.CallOpts) (*big.Int, error)

Beg is a free data retrieval call binding the contract method 0x7d780d82.

Solidity: function beg() constant returns(uint256)

func (*FlapperCaller) Bids

func (_Flapper *FlapperCaller) Bids(opts *bind.CallOpts, arg0 *big.Int) (struct {
	Bid *big.Int
	Lot *big.Int
	Guy common.Address
	Tic *big.Int
	End *big.Int
}, error)

Bids is a free data retrieval call binding the contract method 0x4423c5f1.

Solidity: function bids(uint256 ) constant returns(uint256 bid, uint256 lot, address guy, uint48 tic, uint48 end)

func (*FlapperCaller) Gem

func (_Flapper *FlapperCaller) Gem(opts *bind.CallOpts) (common.Address, error)

Gem is a free data retrieval call binding the contract method 0x7bd2bea7.

Solidity: function gem() constant returns(address)

func (*FlapperCaller) Kicks

func (_Flapper *FlapperCaller) Kicks(opts *bind.CallOpts) (*big.Int, error)

Kicks is a free data retrieval call binding the contract method 0xcfdd3302.

Solidity: function kicks() constant returns(uint256)

func (*FlapperCaller) Live

func (_Flapper *FlapperCaller) Live(opts *bind.CallOpts) (*big.Int, error)

Live is a free data retrieval call binding the contract method 0x957aa58c.

Solidity: function live() constant returns(uint256)

func (*FlapperCaller) Tau

func (_Flapper *FlapperCaller) Tau(opts *bind.CallOpts) (*big.Int, error)

Tau is a free data retrieval call binding the contract method 0xcfc4af55.

Solidity: function tau() constant returns(uint48)

func (*FlapperCaller) Ttl

func (_Flapper *FlapperCaller) Ttl(opts *bind.CallOpts) (*big.Int, error)

Ttl is a free data retrieval call binding the contract method 0x4e8b1dd5.

Solidity: function ttl() constant returns(uint48)

func (*FlapperCaller) Vat

func (_Flapper *FlapperCaller) Vat(opts *bind.CallOpts) (common.Address, error)

Vat is a free data retrieval call binding the contract method 0x36569e77.

Solidity: function vat() constant returns(address)

func (*FlapperCaller) Wards

func (_Flapper *FlapperCaller) Wards(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

Wards is a free data retrieval call binding the contract method 0xbf353dbb.

Solidity: function wards(address ) constant returns(uint256)

type FlapperCallerRaw

type FlapperCallerRaw struct {
	Contract *FlapperCaller // Generic read-only contract binding to access the raw methods on
}

FlapperCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*FlapperCallerRaw) Call

func (_Flapper *FlapperCallerRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type FlapperCallerSession

type FlapperCallerSession struct {
	Contract *FlapperCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts  // Call options to use throughout this session
}

FlapperCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*FlapperCallerSession) Beg

func (_Flapper *FlapperCallerSession) Beg() (*big.Int, error)

Beg is a free data retrieval call binding the contract method 0x7d780d82.

Solidity: function beg() constant returns(uint256)

func (*FlapperCallerSession) Bids

func (_Flapper *FlapperCallerSession) Bids(arg0 *big.Int) (struct {
	Bid *big.Int
	Lot *big.Int
	Guy common.Address
	Tic *big.Int
	End *big.Int
}, error)

Bids is a free data retrieval call binding the contract method 0x4423c5f1.

Solidity: function bids(uint256 ) constant returns(uint256 bid, uint256 lot, address guy, uint48 tic, uint48 end)

func (*FlapperCallerSession) Gem

func (_Flapper *FlapperCallerSession) Gem() (common.Address, error)

Gem is a free data retrieval call binding the contract method 0x7bd2bea7.

Solidity: function gem() constant returns(address)

func (*FlapperCallerSession) Kicks

func (_Flapper *FlapperCallerSession) Kicks() (*big.Int, error)

Kicks is a free data retrieval call binding the contract method 0xcfdd3302.

Solidity: function kicks() constant returns(uint256)

func (*FlapperCallerSession) Live

func (_Flapper *FlapperCallerSession) Live() (*big.Int, error)

Live is a free data retrieval call binding the contract method 0x957aa58c.

Solidity: function live() constant returns(uint256)

func (*FlapperCallerSession) Tau

func (_Flapper *FlapperCallerSession) Tau() (*big.Int, error)

Tau is a free data retrieval call binding the contract method 0xcfc4af55.

Solidity: function tau() constant returns(uint48)

func (*FlapperCallerSession) Ttl

func (_Flapper *FlapperCallerSession) Ttl() (*big.Int, error)

Ttl is a free data retrieval call binding the contract method 0x4e8b1dd5.

Solidity: function ttl() constant returns(uint48)

func (*FlapperCallerSession) Vat

func (_Flapper *FlapperCallerSession) Vat() (common.Address, error)

Vat is a free data retrieval call binding the contract method 0x36569e77.

Solidity: function vat() constant returns(address)

func (*FlapperCallerSession) Wards

func (_Flapper *FlapperCallerSession) Wards(arg0 common.Address) (*big.Int, error)

Wards is a free data retrieval call binding the contract method 0xbf353dbb.

Solidity: function wards(address ) constant returns(uint256)

type FlapperFilterer

type FlapperFilterer struct {
	// contains filtered or unexported fields
}

FlapperFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewFlapperFilterer

func NewFlapperFilterer(address common.Address, filterer bind.ContractFilterer) (*FlapperFilterer, error)

NewFlapperFilterer creates a new log filterer instance of Flapper, bound to a specific deployed contract.

func (*FlapperFilterer) FilterKick

func (_Flapper *FlapperFilterer) FilterKick(opts *bind.FilterOpts) (*FlapperKickIterator, error)

FilterKick is a free log retrieval operation binding the contract event 0xe6dde59cbc017becba89714a037778d234a84ce7f0a137487142a007e580d609.

Solidity: event Kick(uint256 id, uint256 lot, uint256 bid)

func (*FlapperFilterer) ParseKick

func (_Flapper *FlapperFilterer) ParseKick(log types.Log) (*FlapperKick, error)

ParseKick is a log parse operation binding the contract event 0xe6dde59cbc017becba89714a037778d234a84ce7f0a137487142a007e580d609.

Solidity: event Kick(uint256 id, uint256 lot, uint256 bid)

func (*FlapperFilterer) WatchKick

func (_Flapper *FlapperFilterer) WatchKick(opts *bind.WatchOpts, sink chan<- *FlapperKick) (event.Subscription, error)

WatchKick is a free log subscription operation binding the contract event 0xe6dde59cbc017becba89714a037778d234a84ce7f0a137487142a007e580d609.

Solidity: event Kick(uint256 id, uint256 lot, uint256 bid)

type FlapperKick

type FlapperKick struct {
	Id  *big.Int
	Lot *big.Int
	Bid *big.Int
	Raw types.Log // Blockchain specific contextual infos
}

FlapperKick represents a Kick event raised by the Flapper contract.

type FlapperKickIterator

type FlapperKickIterator struct {
	Event *FlapperKick // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

FlapperKickIterator is returned from FilterKick and is used to iterate over the raw logs and unpacked data for Kick events raised by the Flapper contract.

func (*FlapperKickIterator) Close

func (it *FlapperKickIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*FlapperKickIterator) Error

func (it *FlapperKickIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*FlapperKickIterator) Next

func (it *FlapperKickIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type FlapperRaw

type FlapperRaw struct {
	Contract *Flapper // Generic contract binding to access the raw methods on
}

FlapperRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*FlapperRaw) Call

func (_Flapper *FlapperRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*FlapperRaw) Transact

func (_Flapper *FlapperRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*FlapperRaw) Transfer

func (_Flapper *FlapperRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type FlapperSession

type FlapperSession struct {
	Contract     *Flapper          // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

FlapperSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*FlapperSession) Beg

func (_Flapper *FlapperSession) Beg() (*big.Int, error)

Beg is a free data retrieval call binding the contract method 0x7d780d82.

Solidity: function beg() constant returns(uint256)

func (*FlapperSession) Bids

func (_Flapper *FlapperSession) Bids(arg0 *big.Int) (struct {
	Bid *big.Int
	Lot *big.Int
	Guy common.Address
	Tic *big.Int
	End *big.Int
}, error)

Bids is a free data retrieval call binding the contract method 0x4423c5f1.

Solidity: function bids(uint256 ) constant returns(uint256 bid, uint256 lot, address guy, uint48 tic, uint48 end)

func (*FlapperSession) Cage

func (_Flapper *FlapperSession) Cage(rad *big.Int) (*types.Transaction, error)

Cage is a paid mutator transaction binding the contract method 0xa2f91af2.

Solidity: function cage(uint256 rad) returns()

func (*FlapperSession) Deal

func (_Flapper *FlapperSession) Deal(id *big.Int) (*types.Transaction, error)

Deal is a paid mutator transaction binding the contract method 0xc959c42b.

Solidity: function deal(uint256 id) returns()

func (*FlapperSession) Deny

func (_Flapper *FlapperSession) Deny(usr common.Address) (*types.Transaction, error)

Deny is a paid mutator transaction binding the contract method 0x9c52a7f1.

Solidity: function deny(address usr) returns()

func (*FlapperSession) File

func (_Flapper *FlapperSession) File(what [32]byte, data *big.Int) (*types.Transaction, error)

File is a paid mutator transaction binding the contract method 0x29ae8114.

Solidity: function file(bytes32 what, uint256 data) returns()

func (*FlapperSession) Gem

func (_Flapper *FlapperSession) Gem() (common.Address, error)

Gem is a free data retrieval call binding the contract method 0x7bd2bea7.

Solidity: function gem() constant returns(address)

func (*FlapperSession) Kick

func (_Flapper *FlapperSession) Kick(lot *big.Int, bid *big.Int) (*types.Transaction, error)

Kick is a paid mutator transaction binding the contract method 0xca40c419.

Solidity: function kick(uint256 lot, uint256 bid) returns(uint256 id)

func (*FlapperSession) Kicks

func (_Flapper *FlapperSession) Kicks() (*big.Int, error)

Kicks is a free data retrieval call binding the contract method 0xcfdd3302.

Solidity: function kicks() constant returns(uint256)

func (*FlapperSession) Live

func (_Flapper *FlapperSession) Live() (*big.Int, error)

Live is a free data retrieval call binding the contract method 0x957aa58c.

Solidity: function live() constant returns(uint256)

func (*FlapperSession) Rely

func (_Flapper *FlapperSession) Rely(usr common.Address) (*types.Transaction, error)

Rely is a paid mutator transaction binding the contract method 0x65fae35e.

Solidity: function rely(address usr) returns()

func (*FlapperSession) Tau

func (_Flapper *FlapperSession) Tau() (*big.Int, error)

Tau is a free data retrieval call binding the contract method 0xcfc4af55.

Solidity: function tau() constant returns(uint48)

func (*FlapperSession) Tend

func (_Flapper *FlapperSession) Tend(id *big.Int, lot *big.Int, bid *big.Int) (*types.Transaction, error)

Tend is a paid mutator transaction binding the contract method 0x4b43ed12.

Solidity: function tend(uint256 id, uint256 lot, uint256 bid) returns()

func (*FlapperSession) Tick

func (_Flapper *FlapperSession) Tick(id *big.Int) (*types.Transaction, error)

Tick is a paid mutator transaction binding the contract method 0xfc7b6aee.

Solidity: function tick(uint256 id) returns()

func (*FlapperSession) Ttl

func (_Flapper *FlapperSession) Ttl() (*big.Int, error)

Ttl is a free data retrieval call binding the contract method 0x4e8b1dd5.

Solidity: function ttl() constant returns(uint48)

func (*FlapperSession) Vat

func (_Flapper *FlapperSession) Vat() (common.Address, error)

Vat is a free data retrieval call binding the contract method 0x36569e77.

Solidity: function vat() constant returns(address)

func (*FlapperSession) Wards

func (_Flapper *FlapperSession) Wards(arg0 common.Address) (*big.Int, error)

Wards is a free data retrieval call binding the contract method 0xbf353dbb.

Solidity: function wards(address ) constant returns(uint256)

func (*FlapperSession) Yank

func (_Flapper *FlapperSession) Yank(id *big.Int) (*types.Transaction, error)

Yank is a paid mutator transaction binding the contract method 0x26e027f1.

Solidity: function yank(uint256 id) returns()

type FlapperTransactor

type FlapperTransactor struct {
	// contains filtered or unexported fields
}

FlapperTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewFlapperTransactor

func NewFlapperTransactor(address common.Address, transactor bind.ContractTransactor) (*FlapperTransactor, error)

NewFlapperTransactor creates a new write-only instance of Flapper, bound to a specific deployed contract.

func (*FlapperTransactor) Cage

func (_Flapper *FlapperTransactor) Cage(opts *bind.TransactOpts, rad *big.Int) (*types.Transaction, error)

Cage is a paid mutator transaction binding the contract method 0xa2f91af2.

Solidity: function cage(uint256 rad) returns()

func (*FlapperTransactor) Deal

func (_Flapper *FlapperTransactor) Deal(opts *bind.TransactOpts, id *big.Int) (*types.Transaction, error)

Deal is a paid mutator transaction binding the contract method 0xc959c42b.

Solidity: function deal(uint256 id) returns()

func (*FlapperTransactor) Deny

func (_Flapper *FlapperTransactor) Deny(opts *bind.TransactOpts, usr common.Address) (*types.Transaction, error)

Deny is a paid mutator transaction binding the contract method 0x9c52a7f1.

Solidity: function deny(address usr) returns()

func (*FlapperTransactor) File

func (_Flapper *FlapperTransactor) File(opts *bind.TransactOpts, what [32]byte, data *big.Int) (*types.Transaction, error)

File is a paid mutator transaction binding the contract method 0x29ae8114.

Solidity: function file(bytes32 what, uint256 data) returns()

func (*FlapperTransactor) Kick

func (_Flapper *FlapperTransactor) Kick(opts *bind.TransactOpts, lot *big.Int, bid *big.Int) (*types.Transaction, error)

Kick is a paid mutator transaction binding the contract method 0xca40c419.

Solidity: function kick(uint256 lot, uint256 bid) returns(uint256 id)

func (*FlapperTransactor) Rely

func (_Flapper *FlapperTransactor) Rely(opts *bind.TransactOpts, usr common.Address) (*types.Transaction, error)

Rely is a paid mutator transaction binding the contract method 0x65fae35e.

Solidity: function rely(address usr) returns()

func (*FlapperTransactor) Tend

func (_Flapper *FlapperTransactor) Tend(opts *bind.TransactOpts, id *big.Int, lot *big.Int, bid *big.Int) (*types.Transaction, error)

Tend is a paid mutator transaction binding the contract method 0x4b43ed12.

Solidity: function tend(uint256 id, uint256 lot, uint256 bid) returns()

func (*FlapperTransactor) Tick

func (_Flapper *FlapperTransactor) Tick(opts *bind.TransactOpts, id *big.Int) (*types.Transaction, error)

Tick is a paid mutator transaction binding the contract method 0xfc7b6aee.

Solidity: function tick(uint256 id) returns()

func (*FlapperTransactor) Yank

func (_Flapper *FlapperTransactor) Yank(opts *bind.TransactOpts, id *big.Int) (*types.Transaction, error)

Yank is a paid mutator transaction binding the contract method 0x26e027f1.

Solidity: function yank(uint256 id) returns()

type FlapperTransactorRaw

type FlapperTransactorRaw struct {
	Contract *FlapperTransactor // Generic write-only contract binding to access the raw methods on
}

FlapperTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*FlapperTransactorRaw) Transact

func (_Flapper *FlapperTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*FlapperTransactorRaw) Transfer

func (_Flapper *FlapperTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type FlapperTransactorSession

type FlapperTransactorSession struct {
	Contract     *FlapperTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts  // Transaction auth options to use throughout this session
}

FlapperTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*FlapperTransactorSession) Cage

func (_Flapper *FlapperTransactorSession) Cage(rad *big.Int) (*types.Transaction, error)

Cage is a paid mutator transaction binding the contract method 0xa2f91af2.

Solidity: function cage(uint256 rad) returns()

func (*FlapperTransactorSession) Deal

func (_Flapper *FlapperTransactorSession) Deal(id *big.Int) (*types.Transaction, error)

Deal is a paid mutator transaction binding the contract method 0xc959c42b.

Solidity: function deal(uint256 id) returns()

func (*FlapperTransactorSession) Deny

Deny is a paid mutator transaction binding the contract method 0x9c52a7f1.

Solidity: function deny(address usr) returns()

func (*FlapperTransactorSession) File

func (_Flapper *FlapperTransactorSession) File(what [32]byte, data *big.Int) (*types.Transaction, error)

File is a paid mutator transaction binding the contract method 0x29ae8114.

Solidity: function file(bytes32 what, uint256 data) returns()

func (*FlapperTransactorSession) Kick

func (_Flapper *FlapperTransactorSession) Kick(lot *big.Int, bid *big.Int) (*types.Transaction, error)

Kick is a paid mutator transaction binding the contract method 0xca40c419.

Solidity: function kick(uint256 lot, uint256 bid) returns(uint256 id)

func (*FlapperTransactorSession) Rely

Rely is a paid mutator transaction binding the contract method 0x65fae35e.

Solidity: function rely(address usr) returns()

func (*FlapperTransactorSession) Tend

func (_Flapper *FlapperTransactorSession) Tend(id *big.Int, lot *big.Int, bid *big.Int) (*types.Transaction, error)

Tend is a paid mutator transaction binding the contract method 0x4b43ed12.

Solidity: function tend(uint256 id, uint256 lot, uint256 bid) returns()

func (*FlapperTransactorSession) Tick

func (_Flapper *FlapperTransactorSession) Tick(id *big.Int) (*types.Transaction, error)

Tick is a paid mutator transaction binding the contract method 0xfc7b6aee.

Solidity: function tick(uint256 id) returns()

func (*FlapperTransactorSession) Yank

func (_Flapper *FlapperTransactorSession) Yank(id *big.Int) (*types.Transaction, error)

Yank is a paid mutator transaction binding the contract method 0x26e027f1.

Solidity: function yank(uint256 id) returns()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL