flipper

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

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

Variables

View Source
var FlipperBin = "" /* 23226-byte string literal not displayed */

FlipperBin is the compiled bytecode used for deploying new contracts.

Functions

This section is empty.

Types

type Flipper

type Flipper struct {
	FlipperCaller     // Read-only binding to the contract
	FlipperTransactor // Write-only binding to the contract
	FlipperFilterer   // Log filterer for contract events
}

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

func DeployFlipper

func DeployFlipper(auth *bind.TransactOpts, backend bind.ContractBackend, vat_ common.Address, ilk_ [32]byte) (common.Address, *types.Transaction, *Flipper, error)

DeployFlipper deploys a new Ethereum contract, binding an instance of Flipper to it.

func NewFlipper

func NewFlipper(address common.Address, backend bind.ContractBackend) (*Flipper, error)

NewFlipper creates a new instance of Flipper, bound to a specific deployed contract.

type FlipperCaller

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

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

func NewFlipperCaller

func NewFlipperCaller(address common.Address, caller bind.ContractCaller) (*FlipperCaller, error)

NewFlipperCaller creates a new read-only instance of Flipper, bound to a specific deployed contract.

func (*FlipperCaller) Beg

func (_Flipper *FlipperCaller) 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 (*FlipperCaller) Bids

func (_Flipper *FlipperCaller) Bids(opts *bind.CallOpts, arg0 *big.Int) (struct {
	Bid *big.Int
	Lot *big.Int
	Guy common.Address
	Tic *big.Int
	End *big.Int
	Usr common.Address
	Gal common.Address
	Tab *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, address usr, address gal, uint256 tab)

func (*FlipperCaller) Ilk

func (_Flipper *FlipperCaller) Ilk(opts *bind.CallOpts) ([32]byte, error)

Ilk is a free data retrieval call binding the contract method 0xc5ce281e.

Solidity: function ilk() constant returns(bytes32)

func (*FlipperCaller) Kicks

func (_Flipper *FlipperCaller) 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 (*FlipperCaller) Tau

func (_Flipper *FlipperCaller) 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 (*FlipperCaller) Ttl

func (_Flipper *FlipperCaller) 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 (*FlipperCaller) Vat

func (_Flipper *FlipperCaller) 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 (*FlipperCaller) Wards

func (_Flipper *FlipperCaller) 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 FlipperCallerRaw

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

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

func (*FlipperCallerRaw) Call

func (_Flipper *FlipperCallerRaw) 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 FlipperCallerSession

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

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

func (*FlipperCallerSession) Beg

func (_Flipper *FlipperCallerSession) Beg() (*big.Int, error)

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

Solidity: function beg() constant returns(uint256)

func (*FlipperCallerSession) Bids

func (_Flipper *FlipperCallerSession) Bids(arg0 *big.Int) (struct {
	Bid *big.Int
	Lot *big.Int
	Guy common.Address
	Tic *big.Int
	End *big.Int
	Usr common.Address
	Gal common.Address
	Tab *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, address usr, address gal, uint256 tab)

func (*FlipperCallerSession) Ilk

func (_Flipper *FlipperCallerSession) Ilk() ([32]byte, error)

Ilk is a free data retrieval call binding the contract method 0xc5ce281e.

Solidity: function ilk() constant returns(bytes32)

func (*FlipperCallerSession) Kicks

func (_Flipper *FlipperCallerSession) Kicks() (*big.Int, error)

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

Solidity: function kicks() constant returns(uint256)

func (*FlipperCallerSession) Tau

func (_Flipper *FlipperCallerSession) Tau() (*big.Int, error)

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

Solidity: function tau() constant returns(uint48)

func (*FlipperCallerSession) Ttl

func (_Flipper *FlipperCallerSession) Ttl() (*big.Int, error)

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

Solidity: function ttl() constant returns(uint48)

func (*FlipperCallerSession) Vat

func (_Flipper *FlipperCallerSession) Vat() (common.Address, error)

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

Solidity: function vat() constant returns(address)

func (*FlipperCallerSession) Wards

func (_Flipper *FlipperCallerSession) 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 FlipperFilterer

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

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

func NewFlipperFilterer

func NewFlipperFilterer(address common.Address, filterer bind.ContractFilterer) (*FlipperFilterer, error)

NewFlipperFilterer creates a new log filterer instance of Flipper, bound to a specific deployed contract.

func (*FlipperFilterer) FilterKick

func (_Flipper *FlipperFilterer) FilterKick(opts *bind.FilterOpts, usr []common.Address, gal []common.Address) (*FlipperKickIterator, error)

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

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

func (*FlipperFilterer) ParseKick

func (_Flipper *FlipperFilterer) ParseKick(log types.Log) (*FlipperKick, error)

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

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

func (*FlipperFilterer) WatchKick

func (_Flipper *FlipperFilterer) WatchKick(opts *bind.WatchOpts, sink chan<- *FlipperKick, usr []common.Address, gal []common.Address) (event.Subscription, error)

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

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

type FlipperKick

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

FlipperKick represents a Kick event raised by the Flipper contract.

type FlipperKickIterator

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

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

func (*FlipperKickIterator) Close

func (it *FlipperKickIterator) Close() error

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

func (*FlipperKickIterator) Error

func (it *FlipperKickIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*FlipperKickIterator) Next

func (it *FlipperKickIterator) 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 FlipperRaw

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

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

func (*FlipperRaw) Call

func (_Flipper *FlipperRaw) 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 (*FlipperRaw) Transact

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

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

func (*FlipperRaw) Transfer

func (_Flipper *FlipperRaw) 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 FlipperSession

type FlipperSession struct {
	Contract     *Flipper          // 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
}

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

func (*FlipperSession) Beg

func (_Flipper *FlipperSession) Beg() (*big.Int, error)

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

Solidity: function beg() constant returns(uint256)

func (*FlipperSession) Bids

func (_Flipper *FlipperSession) Bids(arg0 *big.Int) (struct {
	Bid *big.Int
	Lot *big.Int
	Guy common.Address
	Tic *big.Int
	End *big.Int
	Usr common.Address
	Gal common.Address
	Tab *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, address usr, address gal, uint256 tab)

func (*FlipperSession) Deal

func (_Flipper *FlipperSession) 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 (*FlipperSession) Dent

func (_Flipper *FlipperSession) 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 (*FlipperSession) Deny

func (_Flipper *FlipperSession) 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 (*FlipperSession) File

func (_Flipper *FlipperSession) 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 (*FlipperSession) Ilk

func (_Flipper *FlipperSession) Ilk() ([32]byte, error)

Ilk is a free data retrieval call binding the contract method 0xc5ce281e.

Solidity: function ilk() constant returns(bytes32)

func (*FlipperSession) Kick

func (_Flipper *FlipperSession) Kick(usr common.Address, gal common.Address, tab *big.Int, lot *big.Int, bid *big.Int) (*types.Transaction, error)

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

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

func (*FlipperSession) Kicks

func (_Flipper *FlipperSession) Kicks() (*big.Int, error)

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

Solidity: function kicks() constant returns(uint256)

func (*FlipperSession) Rely

func (_Flipper *FlipperSession) 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 (*FlipperSession) Tau

func (_Flipper *FlipperSession) Tau() (*big.Int, error)

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

Solidity: function tau() constant returns(uint48)

func (*FlipperSession) Tend

func (_Flipper *FlipperSession) 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 (*FlipperSession) Tick

func (_Flipper *FlipperSession) 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 (*FlipperSession) Ttl

func (_Flipper *FlipperSession) Ttl() (*big.Int, error)

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

Solidity: function ttl() constant returns(uint48)

func (*FlipperSession) Vat

func (_Flipper *FlipperSession) Vat() (common.Address, error)

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

Solidity: function vat() constant returns(address)

func (*FlipperSession) Wards

func (_Flipper *FlipperSession) 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 (*FlipperSession) Yank

func (_Flipper *FlipperSession) 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 FlipperTransactor

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

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

func NewFlipperTransactor

func NewFlipperTransactor(address common.Address, transactor bind.ContractTransactor) (*FlipperTransactor, error)

NewFlipperTransactor creates a new write-only instance of Flipper, bound to a specific deployed contract.

func (*FlipperTransactor) Deal

func (_Flipper *FlipperTransactor) 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 (*FlipperTransactor) Dent

func (_Flipper *FlipperTransactor) 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 (*FlipperTransactor) Deny

func (_Flipper *FlipperTransactor) 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 (*FlipperTransactor) File

func (_Flipper *FlipperTransactor) 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 (*FlipperTransactor) Kick

func (_Flipper *FlipperTransactor) Kick(opts *bind.TransactOpts, usr common.Address, gal common.Address, tab *big.Int, lot *big.Int, bid *big.Int) (*types.Transaction, error)

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

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

func (*FlipperTransactor) Rely

func (_Flipper *FlipperTransactor) 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 (*FlipperTransactor) Tend

func (_Flipper *FlipperTransactor) 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 (*FlipperTransactor) Tick

func (_Flipper *FlipperTransactor) 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 (*FlipperTransactor) Yank

func (_Flipper *FlipperTransactor) 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 FlipperTransactorRaw

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

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

func (*FlipperTransactorRaw) Transact

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

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

func (*FlipperTransactorRaw) Transfer

func (_Flipper *FlipperTransactorRaw) 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 FlipperTransactorSession

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

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

func (*FlipperTransactorSession) Deal

func (_Flipper *FlipperTransactorSession) 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 (*FlipperTransactorSession) Dent

func (_Flipper *FlipperTransactorSession) 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 (*FlipperTransactorSession) Deny

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

Solidity: function deny(address usr) returns()

func (*FlipperTransactorSession) File

func (_Flipper *FlipperTransactorSession) 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 (*FlipperTransactorSession) Kick

func (_Flipper *FlipperTransactorSession) Kick(usr common.Address, gal common.Address, tab *big.Int, lot *big.Int, bid *big.Int) (*types.Transaction, error)

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

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

func (*FlipperTransactorSession) Rely

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

Solidity: function rely(address usr) returns()

func (*FlipperTransactorSession) Tend

func (_Flipper *FlipperTransactorSession) 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 (*FlipperTransactorSession) Tick

func (_Flipper *FlipperTransactorSession) 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 (*FlipperTransactorSession) Yank

func (_Flipper *FlipperTransactorSession) 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