flopper

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 FlopperABI = "" /* 6018-byte string literal not displayed */

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

Variables

View Source
var FlopperBin = "" /* 17418-byte string literal not displayed */

FlopperBin is the compiled bytecode used for deploying new contracts.

Functions

This section is empty.

Types

type Flopper

type Flopper struct {
	FlopperCaller     // Read-only binding to the contract
	FlopperTransactor // Write-only binding to the contract
	FlopperFilterer   // Log filterer for contract events
}

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

func DeployFlopper

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

DeployFlopper deploys a new Ethereum contract, binding an instance of Flopper to it.

func NewFlopper

func NewFlopper(address common.Address, backend bind.ContractBackend) (*Flopper, error)

NewFlopper creates a new instance of Flopper, bound to a specific deployed contract.

type FlopperCaller

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

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

func NewFlopperCaller

func NewFlopperCaller(address common.Address, caller bind.ContractCaller) (*FlopperCaller, error)

NewFlopperCaller creates a new read-only instance of Flopper, bound to a specific deployed contract.

func (*FlopperCaller) Beg

func (_Flopper *FlopperCaller) 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 (*FlopperCaller) Bids

func (_Flopper *FlopperCaller) 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 (*FlopperCaller) Gem

func (_Flopper *FlopperCaller) 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 (*FlopperCaller) Kicks

func (_Flopper *FlopperCaller) 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 (*FlopperCaller) Live

func (_Flopper *FlopperCaller) 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 (*FlopperCaller) Pad

func (_Flopper *FlopperCaller) Pad(opts *bind.CallOpts) (*big.Int, error)

Pad is a free data retrieval call binding the contract method 0x9361266c.

Solidity: function pad() constant returns(uint256)

func (*FlopperCaller) Tau

func (_Flopper *FlopperCaller) 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 (*FlopperCaller) Ttl

func (_Flopper *FlopperCaller) 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 (*FlopperCaller) Vat

func (_Flopper *FlopperCaller) 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 (*FlopperCaller) Vow

func (_Flopper *FlopperCaller) Vow(opts *bind.CallOpts) (common.Address, error)

Vow is a free data retrieval call binding the contract method 0x626cb3c5.

Solidity: function vow() constant returns(address)

func (*FlopperCaller) Wards

func (_Flopper *FlopperCaller) 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 FlopperCallerRaw

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

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

func (*FlopperCallerRaw) Call

func (_Flopper *FlopperCallerRaw) 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 FlopperCallerSession

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

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

func (*FlopperCallerSession) Beg

func (_Flopper *FlopperCallerSession) Beg() (*big.Int, error)

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

Solidity: function beg() constant returns(uint256)

func (*FlopperCallerSession) Bids

func (_Flopper *FlopperCallerSession) 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 (*FlopperCallerSession) Gem

func (_Flopper *FlopperCallerSession) Gem() (common.Address, error)

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

Solidity: function gem() constant returns(address)

func (*FlopperCallerSession) Kicks

func (_Flopper *FlopperCallerSession) Kicks() (*big.Int, error)

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

Solidity: function kicks() constant returns(uint256)

func (*FlopperCallerSession) Live

func (_Flopper *FlopperCallerSession) Live() (*big.Int, error)

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

Solidity: function live() constant returns(uint256)

func (*FlopperCallerSession) Pad

func (_Flopper *FlopperCallerSession) Pad() (*big.Int, error)

Pad is a free data retrieval call binding the contract method 0x9361266c.

Solidity: function pad() constant returns(uint256)

func (*FlopperCallerSession) Tau

func (_Flopper *FlopperCallerSession) Tau() (*big.Int, error)

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

Solidity: function tau() constant returns(uint48)

func (*FlopperCallerSession) Ttl

func (_Flopper *FlopperCallerSession) Ttl() (*big.Int, error)

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

Solidity: function ttl() constant returns(uint48)

func (*FlopperCallerSession) Vat

func (_Flopper *FlopperCallerSession) Vat() (common.Address, error)

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

Solidity: function vat() constant returns(address)

func (*FlopperCallerSession) Vow

func (_Flopper *FlopperCallerSession) Vow() (common.Address, error)

Vow is a free data retrieval call binding the contract method 0x626cb3c5.

Solidity: function vow() constant returns(address)

func (*FlopperCallerSession) Wards

func (_Flopper *FlopperCallerSession) 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 FlopperFilterer

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

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

func NewFlopperFilterer

func NewFlopperFilterer(address common.Address, filterer bind.ContractFilterer) (*FlopperFilterer, error)

NewFlopperFilterer creates a new log filterer instance of Flopper, bound to a specific deployed contract.

func (*FlopperFilterer) FilterKick

func (_Flopper *FlopperFilterer) FilterKick(opts *bind.FilterOpts, gal []common.Address) (*FlopperKickIterator, error)

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

Solidity: event Kick(uint256 id, uint256 lot, uint256 bid, address indexed gal)

func (*FlopperFilterer) ParseKick

func (_Flopper *FlopperFilterer) ParseKick(log types.Log) (*FlopperKick, error)

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

Solidity: event Kick(uint256 id, uint256 lot, uint256 bid, address indexed gal)

func (*FlopperFilterer) WatchKick

func (_Flopper *FlopperFilterer) WatchKick(opts *bind.WatchOpts, sink chan<- *FlopperKick, gal []common.Address) (event.Subscription, error)

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

Solidity: event Kick(uint256 id, uint256 lot, uint256 bid, address indexed gal)

type FlopperKick

type FlopperKick struct {
	Id  *big.Int
	Lot *big.Int
	Bid *big.Int
	Gal common.Address
	Raw types.Log // Blockchain specific contextual infos
}

FlopperKick represents a Kick event raised by the Flopper contract.

type FlopperKickIterator

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

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

func (*FlopperKickIterator) Close

func (it *FlopperKickIterator) Close() error

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

func (*FlopperKickIterator) Error

func (it *FlopperKickIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*FlopperKickIterator) Next

func (it *FlopperKickIterator) 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 FlopperRaw

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

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

func (*FlopperRaw) Call

func (_Flopper *FlopperRaw) 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 (*FlopperRaw) Transact

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

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

func (*FlopperRaw) Transfer

func (_Flopper *FlopperRaw) 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 FlopperSession

type FlopperSession struct {
	Contract     *Flopper          // 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
}

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

func (*FlopperSession) Beg

func (_Flopper *FlopperSession) Beg() (*big.Int, error)

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

Solidity: function beg() constant returns(uint256)

func (*FlopperSession) Bids

func (_Flopper *FlopperSession) 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 (*FlopperSession) Cage

func (_Flopper *FlopperSession) Cage() (*types.Transaction, error)

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

Solidity: function cage() returns()

func (*FlopperSession) Deal

func (_Flopper *FlopperSession) 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 (*FlopperSession) Dent

func (_Flopper *FlopperSession) Dent(id *big.Int, lot *big.Int, bid *big.Int) (*types.Transaction, error)

Dent is a paid mutator transaction binding the contract method 0x5ff3a382.

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

func (*FlopperSession) Deny

func (_Flopper *FlopperSession) 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 (*FlopperSession) File

func (_Flopper *FlopperSession) 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 (*FlopperSession) Gem

func (_Flopper *FlopperSession) Gem() (common.Address, error)

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

Solidity: function gem() constant returns(address)

func (*FlopperSession) Kick

func (_Flopper *FlopperSession) Kick(gal common.Address, lot *big.Int, bid *big.Int) (*types.Transaction, error)

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

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

func (*FlopperSession) Kicks

func (_Flopper *FlopperSession) Kicks() (*big.Int, error)

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

Solidity: function kicks() constant returns(uint256)

func (*FlopperSession) Live

func (_Flopper *FlopperSession) Live() (*big.Int, error)

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

Solidity: function live() constant returns(uint256)

func (*FlopperSession) Pad

func (_Flopper *FlopperSession) Pad() (*big.Int, error)

Pad is a free data retrieval call binding the contract method 0x9361266c.

Solidity: function pad() constant returns(uint256)

func (*FlopperSession) Rely

func (_Flopper *FlopperSession) 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 (*FlopperSession) Tau

func (_Flopper *FlopperSession) Tau() (*big.Int, error)

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

Solidity: function tau() constant returns(uint48)

func (*FlopperSession) Tick

func (_Flopper *FlopperSession) 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 (*FlopperSession) Ttl

func (_Flopper *FlopperSession) Ttl() (*big.Int, error)

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

Solidity: function ttl() constant returns(uint48)

func (*FlopperSession) Vat

func (_Flopper *FlopperSession) Vat() (common.Address, error)

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

Solidity: function vat() constant returns(address)

func (*FlopperSession) Vow

func (_Flopper *FlopperSession) Vow() (common.Address, error)

Vow is a free data retrieval call binding the contract method 0x626cb3c5.

Solidity: function vow() constant returns(address)

func (*FlopperSession) Wards

func (_Flopper *FlopperSession) 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 (*FlopperSession) Yank

func (_Flopper *FlopperSession) 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 FlopperTransactor

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

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

func NewFlopperTransactor

func NewFlopperTransactor(address common.Address, transactor bind.ContractTransactor) (*FlopperTransactor, error)

NewFlopperTransactor creates a new write-only instance of Flopper, bound to a specific deployed contract.

func (*FlopperTransactor) Cage

func (_Flopper *FlopperTransactor) Cage(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function cage() returns()

func (*FlopperTransactor) Deal

func (_Flopper *FlopperTransactor) 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 (*FlopperTransactor) Dent

func (_Flopper *FlopperTransactor) Dent(opts *bind.TransactOpts, id *big.Int, lot *big.Int, bid *big.Int) (*types.Transaction, error)

Dent is a paid mutator transaction binding the contract method 0x5ff3a382.

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

func (*FlopperTransactor) Deny

func (_Flopper *FlopperTransactor) 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 (*FlopperTransactor) File

func (_Flopper *FlopperTransactor) 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 (*FlopperTransactor) Kick

func (_Flopper *FlopperTransactor) Kick(opts *bind.TransactOpts, gal common.Address, lot *big.Int, bid *big.Int) (*types.Transaction, error)

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

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

func (*FlopperTransactor) Rely

func (_Flopper *FlopperTransactor) 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 (*FlopperTransactor) Tick

func (_Flopper *FlopperTransactor) 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 (*FlopperTransactor) Yank

func (_Flopper *FlopperTransactor) 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 FlopperTransactorRaw

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

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

func (*FlopperTransactorRaw) Transact

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

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

func (*FlopperTransactorRaw) Transfer

func (_Flopper *FlopperTransactorRaw) 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 FlopperTransactorSession

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

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

func (*FlopperTransactorSession) Cage

func (_Flopper *FlopperTransactorSession) Cage() (*types.Transaction, error)

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

Solidity: function cage() returns()

func (*FlopperTransactorSession) Deal

func (_Flopper *FlopperTransactorSession) 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 (*FlopperTransactorSession) Dent

func (_Flopper *FlopperTransactorSession) Dent(id *big.Int, lot *big.Int, bid *big.Int) (*types.Transaction, error)

Dent is a paid mutator transaction binding the contract method 0x5ff3a382.

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

func (*FlopperTransactorSession) Deny

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

Solidity: function deny(address usr) returns()

func (*FlopperTransactorSession) File

func (_Flopper *FlopperTransactorSession) 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 (*FlopperTransactorSession) Kick

func (_Flopper *FlopperTransactorSession) Kick(gal common.Address, lot *big.Int, bid *big.Int) (*types.Transaction, error)

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

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

func (*FlopperTransactorSession) Rely

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

Solidity: function rely(address usr) returns()

func (*FlopperTransactorSession) Tick

func (_Flopper *FlopperTransactorSession) 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 (*FlopperTransactorSession) Yank

func (_Flopper *FlopperTransactorSession) 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