Documentation ¶
Index ¶
- Constants
- type Escrow
- type EscrowAdminAdded
- type EscrowAdminAddedIterator
- type EscrowAdminRemoved
- type EscrowAdminRemovedIterator
- type EscrowCaller
- func (_Escrow *EscrowCaller) AdminAt(opts *bind.CallOpts, index *big.Int) (common.Address, error)
- func (_Escrow *EscrowCaller) Admins(opts *bind.CallOpts) (*big.Int, error)
- func (_Escrow *EscrowCaller) IsAdmin(opts *bind.CallOpts, addr common.Address) (bool, error)
- func (_Escrow *EscrowCaller) Ledger(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_Escrow *EscrowCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_Escrow *EscrowCaller) Registry(opts *bind.CallOpts) (common.Address, error)
- func (_Escrow *EscrowCaller) ZEROADDRESS(opts *bind.CallOpts) (common.Address, error)
- type EscrowCallerRaw
- type EscrowCallerSession
- func (_Escrow *EscrowCallerSession) AdminAt(index *big.Int) (common.Address, error)
- func (_Escrow *EscrowCallerSession) Admins() (*big.Int, error)
- func (_Escrow *EscrowCallerSession) IsAdmin(addr common.Address) (bool, error)
- func (_Escrow *EscrowCallerSession) Ledger(arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_Escrow *EscrowCallerSession) Owner() (common.Address, error)
- func (_Escrow *EscrowCallerSession) Registry() (common.Address, error)
- func (_Escrow *EscrowCallerSession) ZEROADDRESS() (common.Address, error)
- type EscrowEscrowAdded
- type EscrowEscrowAddedIterator
- type EscrowEscrowRemoved
- type EscrowEscrowRemovedIterator
- type EscrowFilterer
- func (_Escrow *EscrowFilterer) FilterAdminAdded(opts *bind.FilterOpts, admin []common.Address) (*EscrowAdminAddedIterator, error)
- func (_Escrow *EscrowFilterer) FilterAdminRemoved(opts *bind.FilterOpts, admin []common.Address) (*EscrowAdminRemovedIterator, error)
- func (_Escrow *EscrowFilterer) FilterEscrowAdded(opts *bind.FilterOpts, symbol []string, token []common.Address, ...) (*EscrowEscrowAddedIterator, error)
- func (_Escrow *EscrowFilterer) FilterEscrowRemoved(opts *bind.FilterOpts, symbol []string, token []common.Address, ...) (*EscrowEscrowRemovedIterator, error)
- func (_Escrow *EscrowFilterer) FilterOwnerTransferred(opts *bind.FilterOpts, oldOwner []common.Address, newOwner []common.Address) (*EscrowOwnerTransferredIterator, error)
- func (_Escrow *EscrowFilterer) WatchAdminAdded(opts *bind.WatchOpts, sink chan<- *EscrowAdminAdded, admin []common.Address) (event.Subscription, error)
- func (_Escrow *EscrowFilterer) WatchAdminRemoved(opts *bind.WatchOpts, sink chan<- *EscrowAdminRemoved, admin []common.Address) (event.Subscription, error)
- func (_Escrow *EscrowFilterer) WatchEscrowAdded(opts *bind.WatchOpts, sink chan<- *EscrowEscrowAdded, symbol []string, ...) (event.Subscription, error)
- func (_Escrow *EscrowFilterer) WatchEscrowRemoved(opts *bind.WatchOpts, sink chan<- *EscrowEscrowRemoved, symbol []string, ...) (event.Subscription, error)
- func (_Escrow *EscrowFilterer) WatchOwnerTransferred(opts *bind.WatchOpts, sink chan<- *EscrowOwnerTransferred, ...) (event.Subscription, error)
- type EscrowOwnerTransferred
- type EscrowOwnerTransferredIterator
- type EscrowRaw
- func (_Escrow *EscrowRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_Escrow *EscrowRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Escrow *EscrowRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type EscrowSession
- func (_Escrow *EscrowSession) Accept(token common.Address, grantor common.Address, quantity *big.Int, ...) (*types.Transaction, error)
- func (_Escrow *EscrowSession) AdminAt(index *big.Int) (common.Address, error)
- func (_Escrow *EscrowSession) Admins() (*big.Int, error)
- func (_Escrow *EscrowSession) IsAdmin(addr common.Address) (bool, error)
- func (_Escrow *EscrowSession) Ledger(arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_Escrow *EscrowSession) Owner() (common.Address, error)
- func (_Escrow *EscrowSession) Record(token common.Address, grantor common.Address, quantity *big.Int) (*types.Transaction, error)
- func (_Escrow *EscrowSession) Registry() (common.Address, error)
- func (_Escrow *EscrowSession) Reject(token common.Address, grantor common.Address, quantity *big.Int) (*types.Transaction, error)
- func (_Escrow *EscrowSession) SetAdmin(addr common.Address, add bool) (*types.Transaction, error)
- func (_Escrow *EscrowSession) SetRegistry(r common.Address) (*types.Transaction, error)
- func (_Escrow *EscrowSession) TransferOwner(newOwner common.Address) (*types.Transaction, error)
- func (_Escrow *EscrowSession) ZEROADDRESS() (common.Address, error)
- type EscrowTransactor
- func (_Escrow *EscrowTransactor) Accept(opts *bind.TransactOpts, token common.Address, grantor common.Address, ...) (*types.Transaction, error)
- func (_Escrow *EscrowTransactor) Record(opts *bind.TransactOpts, token common.Address, grantor common.Address, ...) (*types.Transaction, error)
- func (_Escrow *EscrowTransactor) Reject(opts *bind.TransactOpts, token common.Address, grantor common.Address, ...) (*types.Transaction, error)
- func (_Escrow *EscrowTransactor) SetAdmin(opts *bind.TransactOpts, addr common.Address, add bool) (*types.Transaction, error)
- func (_Escrow *EscrowTransactor) SetRegistry(opts *bind.TransactOpts, r common.Address) (*types.Transaction, error)
- func (_Escrow *EscrowTransactor) TransferOwner(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- type EscrowTransactorRaw
- type EscrowTransactorSession
- func (_Escrow *EscrowTransactorSession) Accept(token common.Address, grantor common.Address, quantity *big.Int, ...) (*types.Transaction, error)
- func (_Escrow *EscrowTransactorSession) Record(token common.Address, grantor common.Address, quantity *big.Int) (*types.Transaction, error)
- func (_Escrow *EscrowTransactorSession) Reject(token common.Address, grantor common.Address, quantity *big.Int) (*types.Transaction, error)
- func (_Escrow *EscrowTransactorSession) SetAdmin(addr common.Address, add bool) (*types.Transaction, error)
- func (_Escrow *EscrowTransactorSession) SetRegistry(r common.Address) (*types.Transaction, error)
- func (_Escrow *EscrowTransactorSession) TransferOwner(newOwner common.Address) (*types.Transaction, error)
Constants ¶
const EscrowABI = "" /* 5104-byte string literal not displayed */
EscrowABI is the input ABI used to generate the binding from.
const EscrowBin = `` /* 8970-byte string literal not displayed */
EscrowBin is the compiled bytecode used for deploying new contracts.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Escrow ¶
type Escrow struct { EscrowCaller // Read-only binding to the contract EscrowTransactor // Write-only binding to the contract EscrowFilterer // Log filterer for contract events }
Escrow is an auto generated Go binding around an Ethereum contract.
func DeployEscrow ¶
func DeployEscrow(auth *bind.TransactOpts, backend bind.ContractBackend, r common.Address) (common.Address, *types.Transaction, *Escrow, error)
DeployEscrow deploys a new Ethereum contract, binding an instance of Escrow to it.
type EscrowAdminAdded ¶
type EscrowAdminAdded struct { Admin common.Address Raw types.Log // Blockchain specific contextual infos }
EscrowAdminAdded represents a AdminAdded event raised by the Escrow contract.
type EscrowAdminAddedIterator ¶
type EscrowAdminAddedIterator struct { Event *EscrowAdminAdded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
EscrowAdminAddedIterator is returned from FilterAdminAdded and is used to iterate over the raw logs and unpacked data for AdminAdded events raised by the Escrow contract.
func (*EscrowAdminAddedIterator) Close ¶
func (it *EscrowAdminAddedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*EscrowAdminAddedIterator) Error ¶
func (it *EscrowAdminAddedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*EscrowAdminAddedIterator) Next ¶
func (it *EscrowAdminAddedIterator) 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 EscrowAdminRemoved ¶
type EscrowAdminRemoved struct { Admin common.Address Raw types.Log // Blockchain specific contextual infos }
EscrowAdminRemoved represents a AdminRemoved event raised by the Escrow contract.
type EscrowAdminRemovedIterator ¶
type EscrowAdminRemovedIterator struct { Event *EscrowAdminRemoved // Event containing the contract specifics and raw log // contains filtered or unexported fields }
EscrowAdminRemovedIterator is returned from FilterAdminRemoved and is used to iterate over the raw logs and unpacked data for AdminRemoved events raised by the Escrow contract.
func (*EscrowAdminRemovedIterator) Close ¶
func (it *EscrowAdminRemovedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*EscrowAdminRemovedIterator) Error ¶
func (it *EscrowAdminRemovedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*EscrowAdminRemovedIterator) Next ¶
func (it *EscrowAdminRemovedIterator) 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 EscrowCaller ¶
type EscrowCaller struct {
// contains filtered or unexported fields
}
EscrowCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewEscrowCaller ¶
func NewEscrowCaller(address common.Address, caller bind.ContractCaller) (*EscrowCaller, error)
NewEscrowCaller creates a new read-only instance of Escrow, bound to a specific deployed contract.
func (*EscrowCaller) AdminAt ¶
AdminAt is a free data retrieval call binding the contract method 0x2bdbc56f.
Solidity: function adminAt(index int256) constant returns(address)
func (*EscrowCaller) Admins ¶
Admins is a free data retrieval call binding the contract method 0xa5de3619.
Solidity: function admins() constant returns(count int256)
func (*EscrowCaller) IsAdmin ¶
IsAdmin is a free data retrieval call binding the contract method 0x24d7806c.
Solidity: function isAdmin(addr address) constant returns(bool)
func (*EscrowCaller) Ledger ¶
func (_Escrow *EscrowCaller) Ledger(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)
Ledger is a free data retrieval call binding the contract method 0x96dcdbf0.
Solidity: function ledger( address, address) constant returns(uint256)
func (*EscrowCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*EscrowCaller) Registry ¶
Registry is a free data retrieval call binding the contract method 0x7b103999.
Solidity: function registry() constant returns(address)
func (*EscrowCaller) ZEROADDRESS ¶
ZEROADDRESS is a free data retrieval call binding the contract method 0x538ba4f9.
Solidity: function ZERO_ADDRESS() constant returns(address)
type EscrowCallerRaw ¶
type EscrowCallerRaw struct {
Contract *EscrowCaller // Generic read-only contract binding to access the raw methods on
}
EscrowCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*EscrowCallerRaw) Call ¶
func (_Escrow *EscrowCallerRaw) 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 EscrowCallerSession ¶
type EscrowCallerSession struct { Contract *EscrowCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
EscrowCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*EscrowCallerSession) AdminAt ¶
AdminAt is a free data retrieval call binding the contract method 0x2bdbc56f.
Solidity: function adminAt(index int256) constant returns(address)
func (*EscrowCallerSession) Admins ¶
func (_Escrow *EscrowCallerSession) Admins() (*big.Int, error)
Admins is a free data retrieval call binding the contract method 0xa5de3619.
Solidity: function admins() constant returns(count int256)
func (*EscrowCallerSession) IsAdmin ¶
func (_Escrow *EscrowCallerSession) IsAdmin(addr common.Address) (bool, error)
IsAdmin is a free data retrieval call binding the contract method 0x24d7806c.
Solidity: function isAdmin(addr address) constant returns(bool)
func (*EscrowCallerSession) Ledger ¶
func (_Escrow *EscrowCallerSession) Ledger(arg0 common.Address, arg1 common.Address) (*big.Int, error)
Ledger is a free data retrieval call binding the contract method 0x96dcdbf0.
Solidity: function ledger( address, address) constant returns(uint256)
func (*EscrowCallerSession) Owner ¶
func (_Escrow *EscrowCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*EscrowCallerSession) Registry ¶
func (_Escrow *EscrowCallerSession) Registry() (common.Address, error)
Registry is a free data retrieval call binding the contract method 0x7b103999.
Solidity: function registry() constant returns(address)
func (*EscrowCallerSession) ZEROADDRESS ¶
func (_Escrow *EscrowCallerSession) ZEROADDRESS() (common.Address, error)
ZEROADDRESS is a free data retrieval call binding the contract method 0x538ba4f9.
Solidity: function ZERO_ADDRESS() constant returns(address)
type EscrowEscrowAdded ¶
type EscrowEscrowAdded struct { Symbol common.Hash Token common.Address Grantor common.Address Raw types.Log // Blockchain specific contextual infos }
EscrowEscrowAdded represents a EscrowAdded event raised by the Escrow contract.
type EscrowEscrowAddedIterator ¶
type EscrowEscrowAddedIterator struct { Event *EscrowEscrowAdded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
EscrowEscrowAddedIterator is returned from FilterEscrowAdded and is used to iterate over the raw logs and unpacked data for EscrowAdded events raised by the Escrow contract.
func (*EscrowEscrowAddedIterator) Close ¶
func (it *EscrowEscrowAddedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*EscrowEscrowAddedIterator) Error ¶
func (it *EscrowEscrowAddedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*EscrowEscrowAddedIterator) Next ¶
func (it *EscrowEscrowAddedIterator) 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 EscrowEscrowRemoved ¶
type EscrowEscrowRemoved struct { Symbol common.Hash Token common.Address Grantor common.Address Raw types.Log // Blockchain specific contextual infos }
EscrowEscrowRemoved represents a EscrowRemoved event raised by the Escrow contract.
type EscrowEscrowRemovedIterator ¶
type EscrowEscrowRemovedIterator struct { Event *EscrowEscrowRemoved // Event containing the contract specifics and raw log // contains filtered or unexported fields }
EscrowEscrowRemovedIterator is returned from FilterEscrowRemoved and is used to iterate over the raw logs and unpacked data for EscrowRemoved events raised by the Escrow contract.
func (*EscrowEscrowRemovedIterator) Close ¶
func (it *EscrowEscrowRemovedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*EscrowEscrowRemovedIterator) Error ¶
func (it *EscrowEscrowRemovedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*EscrowEscrowRemovedIterator) Next ¶
func (it *EscrowEscrowRemovedIterator) 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 EscrowFilterer ¶
type EscrowFilterer struct {
// contains filtered or unexported fields
}
EscrowFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewEscrowFilterer ¶
func NewEscrowFilterer(address common.Address, filterer bind.ContractFilterer) (*EscrowFilterer, error)
NewEscrowFilterer creates a new log filterer instance of Escrow, bound to a specific deployed contract.
func (*EscrowFilterer) FilterAdminAdded ¶
func (_Escrow *EscrowFilterer) FilterAdminAdded(opts *bind.FilterOpts, admin []common.Address) (*EscrowAdminAddedIterator, error)
FilterAdminAdded is a free log retrieval operation binding the contract event 0x44d6d25963f097ad14f29f06854a01f575648a1ef82f30e562ccd3889717e339.
Solidity: e AdminAdded(admin indexed address)
func (*EscrowFilterer) FilterAdminRemoved ¶
func (_Escrow *EscrowFilterer) FilterAdminRemoved(opts *bind.FilterOpts, admin []common.Address) (*EscrowAdminRemovedIterator, error)
FilterAdminRemoved is a free log retrieval operation binding the contract event 0xa3b62bc36326052d97ea62d63c3d60308ed4c3ea8ac079dd8499f1e9c4f80c0f.
Solidity: e AdminRemoved(admin indexed address)
func (*EscrowFilterer) FilterEscrowAdded ¶
func (_Escrow *EscrowFilterer) FilterEscrowAdded(opts *bind.FilterOpts, symbol []string, token []common.Address, grantor []common.Address) (*EscrowEscrowAddedIterator, error)
FilterEscrowAdded is a free log retrieval operation binding the contract event 0x9b64b4e41c9d5860b8271685f71d54a08315c0b04bf02aab5e4c75eaa74cc21c.
Solidity: e EscrowAdded(symbol indexed string, token indexed address, grantor indexed address)
func (*EscrowFilterer) FilterEscrowRemoved ¶
func (_Escrow *EscrowFilterer) FilterEscrowRemoved(opts *bind.FilterOpts, symbol []string, token []common.Address, grantor []common.Address) (*EscrowEscrowRemovedIterator, error)
FilterEscrowRemoved is a free log retrieval operation binding the contract event 0xd4903355a168bfba0a71e036316138be08ba1f745566878969512bb7554f2c31.
Solidity: e EscrowRemoved(symbol indexed string, token indexed address, grantor indexed address)
func (*EscrowFilterer) FilterOwnerTransferred ¶
func (_Escrow *EscrowFilterer) FilterOwnerTransferred(opts *bind.FilterOpts, oldOwner []common.Address, newOwner []common.Address) (*EscrowOwnerTransferredIterator, error)
FilterOwnerTransferred is a free log retrieval operation binding the contract event 0x8934ce4adea8d9ce0d714d2c22b86790e41b7731c84b926fbbdc1d40ff6533c9.
Solidity: e OwnerTransferred(oldOwner indexed address, newOwner indexed address)
func (*EscrowFilterer) WatchAdminAdded ¶
func (_Escrow *EscrowFilterer) WatchAdminAdded(opts *bind.WatchOpts, sink chan<- *EscrowAdminAdded, admin []common.Address) (event.Subscription, error)
WatchAdminAdded is a free log subscription operation binding the contract event 0x44d6d25963f097ad14f29f06854a01f575648a1ef82f30e562ccd3889717e339.
Solidity: e AdminAdded(admin indexed address)
func (*EscrowFilterer) WatchAdminRemoved ¶
func (_Escrow *EscrowFilterer) WatchAdminRemoved(opts *bind.WatchOpts, sink chan<- *EscrowAdminRemoved, admin []common.Address) (event.Subscription, error)
WatchAdminRemoved is a free log subscription operation binding the contract event 0xa3b62bc36326052d97ea62d63c3d60308ed4c3ea8ac079dd8499f1e9c4f80c0f.
Solidity: e AdminRemoved(admin indexed address)
func (*EscrowFilterer) WatchEscrowAdded ¶
func (_Escrow *EscrowFilterer) WatchEscrowAdded(opts *bind.WatchOpts, sink chan<- *EscrowEscrowAdded, symbol []string, token []common.Address, grantor []common.Address) (event.Subscription, error)
WatchEscrowAdded is a free log subscription operation binding the contract event 0x9b64b4e41c9d5860b8271685f71d54a08315c0b04bf02aab5e4c75eaa74cc21c.
Solidity: e EscrowAdded(symbol indexed string, token indexed address, grantor indexed address)
func (*EscrowFilterer) WatchEscrowRemoved ¶
func (_Escrow *EscrowFilterer) WatchEscrowRemoved(opts *bind.WatchOpts, sink chan<- *EscrowEscrowRemoved, symbol []string, token []common.Address, grantor []common.Address) (event.Subscription, error)
WatchEscrowRemoved is a free log subscription operation binding the contract event 0xd4903355a168bfba0a71e036316138be08ba1f745566878969512bb7554f2c31.
Solidity: e EscrowRemoved(symbol indexed string, token indexed address, grantor indexed address)
func (*EscrowFilterer) WatchOwnerTransferred ¶
func (_Escrow *EscrowFilterer) WatchOwnerTransferred(opts *bind.WatchOpts, sink chan<- *EscrowOwnerTransferred, oldOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnerTransferred is a free log subscription operation binding the contract event 0x8934ce4adea8d9ce0d714d2c22b86790e41b7731c84b926fbbdc1d40ff6533c9.
Solidity: e OwnerTransferred(oldOwner indexed address, newOwner indexed address)
type EscrowOwnerTransferred ¶
type EscrowOwnerTransferred struct { OldOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
EscrowOwnerTransferred represents a OwnerTransferred event raised by the Escrow contract.
type EscrowOwnerTransferredIterator ¶
type EscrowOwnerTransferredIterator struct { Event *EscrowOwnerTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
EscrowOwnerTransferredIterator is returned from FilterOwnerTransferred and is used to iterate over the raw logs and unpacked data for OwnerTransferred events raised by the Escrow contract.
func (*EscrowOwnerTransferredIterator) Close ¶
func (it *EscrowOwnerTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*EscrowOwnerTransferredIterator) Error ¶
func (it *EscrowOwnerTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*EscrowOwnerTransferredIterator) Next ¶
func (it *EscrowOwnerTransferredIterator) 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 EscrowRaw ¶
type EscrowRaw struct {
Contract *Escrow // Generic contract binding to access the raw methods on
}
EscrowRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*EscrowRaw) Call ¶
func (_Escrow *EscrowRaw) 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 (*EscrowRaw) Transact ¶
func (_Escrow *EscrowRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*EscrowRaw) Transfer ¶
func (_Escrow *EscrowRaw) 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 EscrowSession ¶
type EscrowSession struct { Contract *Escrow // 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 }
EscrowSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*EscrowSession) Accept ¶
func (_Escrow *EscrowSession) Accept(token common.Address, grantor common.Address, quantity *big.Int, grantee common.Address) (*types.Transaction, error)
Accept is a paid mutator transaction binding the contract method 0x101e7075.
Solidity: function accept(token address, grantor address, quantity uint256, grantee address) returns()
func (*EscrowSession) AdminAt ¶
AdminAt is a free data retrieval call binding the contract method 0x2bdbc56f.
Solidity: function adminAt(index int256) constant returns(address)
func (*EscrowSession) Admins ¶
func (_Escrow *EscrowSession) Admins() (*big.Int, error)
Admins is a free data retrieval call binding the contract method 0xa5de3619.
Solidity: function admins() constant returns(count int256)
func (*EscrowSession) IsAdmin ¶
func (_Escrow *EscrowSession) IsAdmin(addr common.Address) (bool, error)
IsAdmin is a free data retrieval call binding the contract method 0x24d7806c.
Solidity: function isAdmin(addr address) constant returns(bool)
func (*EscrowSession) Ledger ¶
Ledger is a free data retrieval call binding the contract method 0x96dcdbf0.
Solidity: function ledger( address, address) constant returns(uint256)
func (*EscrowSession) Owner ¶
func (_Escrow *EscrowSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*EscrowSession) Record ¶
func (_Escrow *EscrowSession) Record(token common.Address, grantor common.Address, quantity *big.Int) (*types.Transaction, error)
Record is a paid mutator transaction binding the contract method 0x172a93fb.
Solidity: function record(token address, grantor address, quantity uint256) returns()
func (*EscrowSession) Registry ¶
func (_Escrow *EscrowSession) Registry() (common.Address, error)
Registry is a free data retrieval call binding the contract method 0x7b103999.
Solidity: function registry() constant returns(address)
func (*EscrowSession) Reject ¶
func (_Escrow *EscrowSession) Reject(token common.Address, grantor common.Address, quantity *big.Int) (*types.Transaction, error)
Reject is a paid mutator transaction binding the contract method 0x813bedf2.
Solidity: function reject(token address, grantor address, quantity uint256) returns()
func (*EscrowSession) SetAdmin ¶
func (_Escrow *EscrowSession) SetAdmin(addr common.Address, add bool) (*types.Transaction, error)
SetAdmin is a paid mutator transaction binding the contract method 0x4b0bddd2.
Solidity: function setAdmin(addr address, add bool) returns()
func (*EscrowSession) SetRegistry ¶
func (_Escrow *EscrowSession) SetRegistry(r common.Address) (*types.Transaction, error)
SetRegistry is a paid mutator transaction binding the contract method 0xa91ee0dc.
Solidity: function setRegistry(r address) returns()
func (*EscrowSession) TransferOwner ¶
func (_Escrow *EscrowSession) TransferOwner(newOwner common.Address) (*types.Transaction, error)
TransferOwner is a paid mutator transaction binding the contract method 0x4fb2e45d.
Solidity: function transferOwner(newOwner address) returns()
func (*EscrowSession) ZEROADDRESS ¶
func (_Escrow *EscrowSession) ZEROADDRESS() (common.Address, error)
ZEROADDRESS is a free data retrieval call binding the contract method 0x538ba4f9.
Solidity: function ZERO_ADDRESS() constant returns(address)
type EscrowTransactor ¶
type EscrowTransactor struct {
// contains filtered or unexported fields
}
EscrowTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewEscrowTransactor ¶
func NewEscrowTransactor(address common.Address, transactor bind.ContractTransactor) (*EscrowTransactor, error)
NewEscrowTransactor creates a new write-only instance of Escrow, bound to a specific deployed contract.
func (*EscrowTransactor) Accept ¶
func (_Escrow *EscrowTransactor) Accept(opts *bind.TransactOpts, token common.Address, grantor common.Address, quantity *big.Int, grantee common.Address) (*types.Transaction, error)
Accept is a paid mutator transaction binding the contract method 0x101e7075.
Solidity: function accept(token address, grantor address, quantity uint256, grantee address) returns()
func (*EscrowTransactor) Record ¶
func (_Escrow *EscrowTransactor) Record(opts *bind.TransactOpts, token common.Address, grantor common.Address, quantity *big.Int) (*types.Transaction, error)
Record is a paid mutator transaction binding the contract method 0x172a93fb.
Solidity: function record(token address, grantor address, quantity uint256) returns()
func (*EscrowTransactor) Reject ¶
func (_Escrow *EscrowTransactor) Reject(opts *bind.TransactOpts, token common.Address, grantor common.Address, quantity *big.Int) (*types.Transaction, error)
Reject is a paid mutator transaction binding the contract method 0x813bedf2.
Solidity: function reject(token address, grantor address, quantity uint256) returns()
func (*EscrowTransactor) SetAdmin ¶
func (_Escrow *EscrowTransactor) SetAdmin(opts *bind.TransactOpts, addr common.Address, add bool) (*types.Transaction, error)
SetAdmin is a paid mutator transaction binding the contract method 0x4b0bddd2.
Solidity: function setAdmin(addr address, add bool) returns()
func (*EscrowTransactor) SetRegistry ¶
func (_Escrow *EscrowTransactor) SetRegistry(opts *bind.TransactOpts, r common.Address) (*types.Transaction, error)
SetRegistry is a paid mutator transaction binding the contract method 0xa91ee0dc.
Solidity: function setRegistry(r address) returns()
func (*EscrowTransactor) TransferOwner ¶
func (_Escrow *EscrowTransactor) TransferOwner(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwner is a paid mutator transaction binding the contract method 0x4fb2e45d.
Solidity: function transferOwner(newOwner address) returns()
type EscrowTransactorRaw ¶
type EscrowTransactorRaw struct {
Contract *EscrowTransactor // Generic write-only contract binding to access the raw methods on
}
EscrowTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*EscrowTransactorRaw) Transact ¶
func (_Escrow *EscrowTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*EscrowTransactorRaw) Transfer ¶
func (_Escrow *EscrowTransactorRaw) 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 EscrowTransactorSession ¶
type EscrowTransactorSession struct { Contract *EscrowTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
EscrowTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*EscrowTransactorSession) Accept ¶
func (_Escrow *EscrowTransactorSession) Accept(token common.Address, grantor common.Address, quantity *big.Int, grantee common.Address) (*types.Transaction, error)
Accept is a paid mutator transaction binding the contract method 0x101e7075.
Solidity: function accept(token address, grantor address, quantity uint256, grantee address) returns()
func (*EscrowTransactorSession) Record ¶
func (_Escrow *EscrowTransactorSession) Record(token common.Address, grantor common.Address, quantity *big.Int) (*types.Transaction, error)
Record is a paid mutator transaction binding the contract method 0x172a93fb.
Solidity: function record(token address, grantor address, quantity uint256) returns()
func (*EscrowTransactorSession) Reject ¶
func (_Escrow *EscrowTransactorSession) Reject(token common.Address, grantor common.Address, quantity *big.Int) (*types.Transaction, error)
Reject is a paid mutator transaction binding the contract method 0x813bedf2.
Solidity: function reject(token address, grantor address, quantity uint256) returns()
func (*EscrowTransactorSession) SetAdmin ¶
func (_Escrow *EscrowTransactorSession) SetAdmin(addr common.Address, add bool) (*types.Transaction, error)
SetAdmin is a paid mutator transaction binding the contract method 0x4b0bddd2.
Solidity: function setAdmin(addr address, add bool) returns()
func (*EscrowTransactorSession) SetRegistry ¶
func (_Escrow *EscrowTransactorSession) SetRegistry(r common.Address) (*types.Transaction, error)
SetRegistry is a paid mutator transaction binding the contract method 0xa91ee0dc.
Solidity: function setRegistry(r address) returns()
func (*EscrowTransactorSession) TransferOwner ¶
func (_Escrow *EscrowTransactorSession) TransferOwner(newOwner common.Address) (*types.Transaction, error)
TransferOwner is a paid mutator transaction binding the contract method 0x4fb2e45d.
Solidity: function transferOwner(newOwner address) returns()