Documentation ¶
Index ¶
- Constants
- Variables
- type AssetHolder
- type AssetHolderCaller
- type AssetHolderCallerRaw
- type AssetHolderCallerSession
- type AssetHolderDeposited
- type AssetHolderDepositedIterator
- type AssetHolderETH
- type AssetHolderETHCaller
- func (_AssetHolderETH *AssetHolderETHCaller) Adjudicator(opts *bind.CallOpts) (common.Address, error)
- func (_AssetHolderETH *AssetHolderETHCaller) Holdings(opts *bind.CallOpts, arg0 [32]byte) (*big.Int, error)
- func (_AssetHolderETH *AssetHolderETHCaller) Settled(opts *bind.CallOpts, arg0 [32]byte) (bool, error)
- type AssetHolderETHCallerRaw
- type AssetHolderETHCallerSession
- type AssetHolderETHDeposited
- type AssetHolderETHDepositedIterator
- type AssetHolderETHFilterer
- func (_AssetHolderETH *AssetHolderETHFilterer) FilterDeposited(opts *bind.FilterOpts, fundingID [][32]byte) (*AssetHolderETHDepositedIterator, error)
- func (_AssetHolderETH *AssetHolderETHFilterer) FilterOutcomeSet(opts *bind.FilterOpts, channelID [][32]byte) (*AssetHolderETHOutcomeSetIterator, error)
- func (_AssetHolderETH *AssetHolderETHFilterer) FilterWithdrawn(opts *bind.FilterOpts, fundingID [][32]byte) (*AssetHolderETHWithdrawnIterator, error)
- func (_AssetHolderETH *AssetHolderETHFilterer) ParseDeposited(log types.Log) (*AssetHolderETHDeposited, error)
- func (_AssetHolderETH *AssetHolderETHFilterer) ParseOutcomeSet(log types.Log) (*AssetHolderETHOutcomeSet, error)
- func (_AssetHolderETH *AssetHolderETHFilterer) ParseWithdrawn(log types.Log) (*AssetHolderETHWithdrawn, error)
- func (_AssetHolderETH *AssetHolderETHFilterer) WatchDeposited(opts *bind.WatchOpts, sink chan<- *AssetHolderETHDeposited, ...) (event.Subscription, error)
- func (_AssetHolderETH *AssetHolderETHFilterer) WatchOutcomeSet(opts *bind.WatchOpts, sink chan<- *AssetHolderETHOutcomeSet, ...) (event.Subscription, error)
- func (_AssetHolderETH *AssetHolderETHFilterer) WatchWithdrawn(opts *bind.WatchOpts, sink chan<- *AssetHolderETHWithdrawn, ...) (event.Subscription, error)
- type AssetHolderETHOutcomeSet
- type AssetHolderETHOutcomeSetIterator
- type AssetHolderETHRaw
- func (_AssetHolderETH *AssetHolderETHRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_AssetHolderETH *AssetHolderETHRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_AssetHolderETH *AssetHolderETHRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type AssetHolderETHSession
- func (_AssetHolderETH *AssetHolderETHSession) Adjudicator() (common.Address, error)
- func (_AssetHolderETH *AssetHolderETHSession) Deposit(fundingID [32]byte, amount *big.Int) (*types.Transaction, error)
- func (_AssetHolderETH *AssetHolderETHSession) Holdings(arg0 [32]byte) (*big.Int, error)
- func (_AssetHolderETH *AssetHolderETHSession) SetOutcome(channelID [32]byte, parts []common.Address, newBals []*big.Int) (*types.Transaction, error)
- func (_AssetHolderETH *AssetHolderETHSession) Settled(arg0 [32]byte) (bool, error)
- func (_AssetHolderETH *AssetHolderETHSession) Withdraw(authorization AssetHolderWithdrawalAuth, signature []byte) (*types.Transaction, error)
- type AssetHolderETHTransactor
- func (_AssetHolderETH *AssetHolderETHTransactor) Deposit(opts *bind.TransactOpts, fundingID [32]byte, amount *big.Int) (*types.Transaction, error)
- func (_AssetHolderETH *AssetHolderETHTransactor) SetOutcome(opts *bind.TransactOpts, channelID [32]byte, parts []common.Address, ...) (*types.Transaction, error)
- func (_AssetHolderETH *AssetHolderETHTransactor) Withdraw(opts *bind.TransactOpts, authorization AssetHolderWithdrawalAuth, ...) (*types.Transaction, error)
- type AssetHolderETHTransactorRaw
- type AssetHolderETHTransactorSession
- func (_AssetHolderETH *AssetHolderETHTransactorSession) Deposit(fundingID [32]byte, amount *big.Int) (*types.Transaction, error)
- func (_AssetHolderETH *AssetHolderETHTransactorSession) SetOutcome(channelID [32]byte, parts []common.Address, newBals []*big.Int) (*types.Transaction, error)
- func (_AssetHolderETH *AssetHolderETHTransactorSession) Withdraw(authorization AssetHolderWithdrawalAuth, signature []byte) (*types.Transaction, error)
- type AssetHolderETHWithdrawn
- type AssetHolderETHWithdrawnIterator
- type AssetHolderFilterer
- func (_AssetHolder *AssetHolderFilterer) FilterDeposited(opts *bind.FilterOpts, fundingID [][32]byte) (*AssetHolderDepositedIterator, error)
- func (_AssetHolder *AssetHolderFilterer) FilterOutcomeSet(opts *bind.FilterOpts, channelID [][32]byte) (*AssetHolderOutcomeSetIterator, error)
- func (_AssetHolder *AssetHolderFilterer) FilterWithdrawn(opts *bind.FilterOpts, fundingID [][32]byte) (*AssetHolderWithdrawnIterator, error)
- func (_AssetHolder *AssetHolderFilterer) ParseDeposited(log types.Log) (*AssetHolderDeposited, error)
- func (_AssetHolder *AssetHolderFilterer) ParseOutcomeSet(log types.Log) (*AssetHolderOutcomeSet, error)
- func (_AssetHolder *AssetHolderFilterer) ParseWithdrawn(log types.Log) (*AssetHolderWithdrawn, error)
- func (_AssetHolder *AssetHolderFilterer) WatchDeposited(opts *bind.WatchOpts, sink chan<- *AssetHolderDeposited, fundingID [][32]byte) (event.Subscription, error)
- func (_AssetHolder *AssetHolderFilterer) WatchOutcomeSet(opts *bind.WatchOpts, sink chan<- *AssetHolderOutcomeSet, channelID [][32]byte) (event.Subscription, error)
- func (_AssetHolder *AssetHolderFilterer) WatchWithdrawn(opts *bind.WatchOpts, sink chan<- *AssetHolderWithdrawn, fundingID [][32]byte) (event.Subscription, error)
- type AssetHolderOutcomeSet
- type AssetHolderOutcomeSetIterator
- type AssetHolderRaw
- func (_AssetHolder *AssetHolderRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_AssetHolder *AssetHolderRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_AssetHolder *AssetHolderRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type AssetHolderSession
- func (_AssetHolder *AssetHolderSession) Adjudicator() (common.Address, error)
- func (_AssetHolder *AssetHolderSession) Deposit(fundingID [32]byte, amount *big.Int) (*types.Transaction, error)
- func (_AssetHolder *AssetHolderSession) Holdings(arg0 [32]byte) (*big.Int, error)
- func (_AssetHolder *AssetHolderSession) SetOutcome(channelID [32]byte, parts []common.Address, newBals []*big.Int) (*types.Transaction, error)
- func (_AssetHolder *AssetHolderSession) Settled(arg0 [32]byte) (bool, error)
- func (_AssetHolder *AssetHolderSession) Withdraw(authorization AssetHolderWithdrawalAuth, signature []byte) (*types.Transaction, error)
- type AssetHolderTransactor
- func (_AssetHolder *AssetHolderTransactor) Deposit(opts *bind.TransactOpts, fundingID [32]byte, amount *big.Int) (*types.Transaction, error)
- func (_AssetHolder *AssetHolderTransactor) SetOutcome(opts *bind.TransactOpts, channelID [32]byte, parts []common.Address, ...) (*types.Transaction, error)
- func (_AssetHolder *AssetHolderTransactor) Withdraw(opts *bind.TransactOpts, authorization AssetHolderWithdrawalAuth, ...) (*types.Transaction, error)
- type AssetHolderTransactorRaw
- type AssetHolderTransactorSession
- func (_AssetHolder *AssetHolderTransactorSession) Deposit(fundingID [32]byte, amount *big.Int) (*types.Transaction, error)
- func (_AssetHolder *AssetHolderTransactorSession) SetOutcome(channelID [32]byte, parts []common.Address, newBals []*big.Int) (*types.Transaction, error)
- func (_AssetHolder *AssetHolderTransactorSession) Withdraw(authorization AssetHolderWithdrawalAuth, signature []byte) (*types.Transaction, error)
- type AssetHolderWithdrawalAuth
- type AssetHolderWithdrawn
- type AssetHolderWithdrawnIterator
- type ECDSA
- type ECDSACaller
- type ECDSACallerRaw
- type ECDSACallerSession
- type ECDSAFilterer
- type ECDSARaw
- func (_ECDSA *ECDSARaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_ECDSA *ECDSARaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ECDSA *ECDSARaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ECDSASession
- type ECDSATransactor
- type ECDSATransactorRaw
- type ECDSATransactorSession
- type SafeMath
- type SafeMathCaller
- type SafeMathCallerRaw
- type SafeMathCallerSession
- type SafeMathFilterer
- type SafeMathRaw
- func (_SafeMath *SafeMathRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_SafeMath *SafeMathRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_SafeMath *SafeMathRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type SafeMathSession
- type SafeMathTransactor
- type SafeMathTransactorRaw
- type SafeMathTransactorSession
- type Sig
- type SigCaller
- type SigCallerRaw
- type SigCallerSession
- type SigFilterer
- type SigRaw
- type SigSession
- type SigTransactor
- type SigTransactorRaw
- type SigTransactorSession
Constants ¶
const AssetHolderABI = "" /* 2608-byte string literal not displayed */
AssetHolderABI is the input ABI used to generate the binding from.
const AssetHolderETHABI = "" /* 2761-byte string literal not displayed */
AssetHolderETHABI is the input ABI used to generate the binding from.
const ECDSAABI = "[]"
ECDSAABI is the input ABI used to generate the binding from.
const SafeMathABI = "[]"
SafeMathABI is the input ABI used to generate the binding from.
const SigABI = "[]"
SigABI is the input ABI used to generate the binding from.
Variables ¶
var AssetHolderETHBin = "" /* 7622-byte string literal not displayed */
AssetHolderETHBin is the compiled bytecode used for deploying new contracts.
var AssetHolderETHBinRuntime = "" /* 7330-byte string literal not displayed */
AssetHolderETHBinRuntime is the runtime part of the compiled bytecode used for deploying new contracts.
var AssetHolderETHFuncSigs = map[string]string{
"53c2ed8e": "adjudicator()",
"1de26e16": "deposit(bytes32,uint256)",
"ae9ee18c": "holdings(bytes32)",
"fc79a66d": "setOutcome(bytes32,address[],uint256[])",
"d945af1d": "settled(bytes32)",
"4ed4283c": "withdraw((bytes32,address,address,uint256),bytes)",
}
AssetHolderETHFuncSigs maps the 4-byte function signature to its string representation.
var AssetHolderFuncSigs = map[string]string{
"53c2ed8e": "adjudicator()",
"1de26e16": "deposit(bytes32,uint256)",
"ae9ee18c": "holdings(bytes32)",
"fc79a66d": "setOutcome(bytes32,address[],uint256[])",
"d945af1d": "settled(bytes32)",
"4ed4283c": "withdraw((bytes32,address,address,uint256),bytes)",
}
AssetHolderFuncSigs maps the 4-byte function signature to its string representation.
var ECDSABin = "" /* 244-byte string literal not displayed */
ECDSABin is the compiled bytecode used for deploying new contracts.
var SafeMathBin = "" /* 244-byte string literal not displayed */
SafeMathBin is the compiled bytecode used for deploying new contracts.
var SigBin = "" /* 244-byte string literal not displayed */
SigBin is the compiled bytecode used for deploying new contracts.
Functions ¶
This section is empty.
Types ¶
type AssetHolder ¶
type AssetHolder struct { AssetHolderCaller // Read-only binding to the contract AssetHolderTransactor // Write-only binding to the contract AssetHolderFilterer // Log filterer for contract events }
AssetHolder is an auto generated Go binding around an Ethereum contract.
func NewAssetHolder ¶
func NewAssetHolder(address common.Address, backend bind.ContractBackend) (*AssetHolder, error)
NewAssetHolder creates a new instance of AssetHolder, bound to a specific deployed contract.
type AssetHolderCaller ¶
type AssetHolderCaller struct {
// contains filtered or unexported fields
}
AssetHolderCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewAssetHolderCaller ¶
func NewAssetHolderCaller(address common.Address, caller bind.ContractCaller) (*AssetHolderCaller, error)
NewAssetHolderCaller creates a new read-only instance of AssetHolder, bound to a specific deployed contract.
func (*AssetHolderCaller) Adjudicator ¶
Adjudicator is a free data retrieval call binding the contract method 0x53c2ed8e.
Solidity: function adjudicator() view returns(address)
type AssetHolderCallerRaw ¶
type AssetHolderCallerRaw struct {
Contract *AssetHolderCaller // Generic read-only contract binding to access the raw methods on
}
AssetHolderCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*AssetHolderCallerRaw) Call ¶
func (_AssetHolder *AssetHolderCallerRaw) 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 AssetHolderCallerSession ¶
type AssetHolderCallerSession struct { Contract *AssetHolderCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
AssetHolderCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*AssetHolderCallerSession) Adjudicator ¶
func (_AssetHolder *AssetHolderCallerSession) Adjudicator() (common.Address, error)
Adjudicator is a free data retrieval call binding the contract method 0x53c2ed8e.
Solidity: function adjudicator() view returns(address)
type AssetHolderDeposited ¶
type AssetHolderDeposited struct { FundingID [32]byte Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
AssetHolderDeposited represents a Deposited event raised by the AssetHolder contract.
type AssetHolderDepositedIterator ¶
type AssetHolderDepositedIterator struct { Event *AssetHolderDeposited // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AssetHolderDepositedIterator is returned from FilterDeposited and is used to iterate over the raw logs and unpacked data for Deposited events raised by the AssetHolder contract.
func (*AssetHolderDepositedIterator) Close ¶
func (it *AssetHolderDepositedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AssetHolderDepositedIterator) Error ¶
func (it *AssetHolderDepositedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AssetHolderDepositedIterator) Next ¶
func (it *AssetHolderDepositedIterator) 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 AssetHolderETH ¶
type AssetHolderETH struct { AssetHolderETHCaller // Read-only binding to the contract AssetHolderETHTransactor // Write-only binding to the contract AssetHolderETHFilterer // Log filterer for contract events }
AssetHolderETH is an auto generated Go binding around an Ethereum contract.
func DeployAssetHolderETH ¶
func DeployAssetHolderETH(auth *bind.TransactOpts, backend bind.ContractBackend, _adjudicator common.Address) (common.Address, *types.Transaction, *AssetHolderETH, error)
DeployAssetHolderETH deploys a new Ethereum contract, binding an instance of AssetHolderETH to it.
func NewAssetHolderETH ¶
func NewAssetHolderETH(address common.Address, backend bind.ContractBackend) (*AssetHolderETH, error)
NewAssetHolderETH creates a new instance of AssetHolderETH, bound to a specific deployed contract.
type AssetHolderETHCaller ¶
type AssetHolderETHCaller struct {
// contains filtered or unexported fields
}
AssetHolderETHCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewAssetHolderETHCaller ¶
func NewAssetHolderETHCaller(address common.Address, caller bind.ContractCaller) (*AssetHolderETHCaller, error)
NewAssetHolderETHCaller creates a new read-only instance of AssetHolderETH, bound to a specific deployed contract.
func (*AssetHolderETHCaller) Adjudicator ¶
func (_AssetHolderETH *AssetHolderETHCaller) Adjudicator(opts *bind.CallOpts) (common.Address, error)
Adjudicator is a free data retrieval call binding the contract method 0x53c2ed8e.
Solidity: function adjudicator() view returns(address)
type AssetHolderETHCallerRaw ¶
type AssetHolderETHCallerRaw struct {
Contract *AssetHolderETHCaller // Generic read-only contract binding to access the raw methods on
}
AssetHolderETHCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*AssetHolderETHCallerRaw) Call ¶
func (_AssetHolderETH *AssetHolderETHCallerRaw) 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 AssetHolderETHCallerSession ¶
type AssetHolderETHCallerSession struct { Contract *AssetHolderETHCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
AssetHolderETHCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*AssetHolderETHCallerSession) Adjudicator ¶
func (_AssetHolderETH *AssetHolderETHCallerSession) Adjudicator() (common.Address, error)
Adjudicator is a free data retrieval call binding the contract method 0x53c2ed8e.
Solidity: function adjudicator() view returns(address)
type AssetHolderETHDeposited ¶
type AssetHolderETHDeposited struct { FundingID [32]byte Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
AssetHolderETHDeposited represents a Deposited event raised by the AssetHolderETH contract.
type AssetHolderETHDepositedIterator ¶
type AssetHolderETHDepositedIterator struct { Event *AssetHolderETHDeposited // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AssetHolderETHDepositedIterator is returned from FilterDeposited and is used to iterate over the raw logs and unpacked data for Deposited events raised by the AssetHolderETH contract.
func (*AssetHolderETHDepositedIterator) Close ¶
func (it *AssetHolderETHDepositedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AssetHolderETHDepositedIterator) Error ¶
func (it *AssetHolderETHDepositedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AssetHolderETHDepositedIterator) Next ¶
func (it *AssetHolderETHDepositedIterator) 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 AssetHolderETHFilterer ¶
type AssetHolderETHFilterer struct {
// contains filtered or unexported fields
}
AssetHolderETHFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewAssetHolderETHFilterer ¶
func NewAssetHolderETHFilterer(address common.Address, filterer bind.ContractFilterer) (*AssetHolderETHFilterer, error)
NewAssetHolderETHFilterer creates a new log filterer instance of AssetHolderETH, bound to a specific deployed contract.
func (*AssetHolderETHFilterer) FilterDeposited ¶
func (_AssetHolderETH *AssetHolderETHFilterer) FilterDeposited(opts *bind.FilterOpts, fundingID [][32]byte) (*AssetHolderETHDepositedIterator, error)
FilterDeposited is a free log retrieval operation binding the contract event 0xcd2fe07293de5928c5df9505b65a8d6506f8668dfe81af09090920687edc48a9.
Solidity: event Deposited(bytes32 indexed fundingID, uint256 amount)
func (*AssetHolderETHFilterer) FilterOutcomeSet ¶
func (_AssetHolderETH *AssetHolderETHFilterer) FilterOutcomeSet(opts *bind.FilterOpts, channelID [][32]byte) (*AssetHolderETHOutcomeSetIterator, error)
FilterOutcomeSet is a free log retrieval operation binding the contract event 0xef898d6cd3395b6dfe67a3c1923e5c726c1b154e979fb0a25a9c41d0093168b8.
Solidity: event OutcomeSet(bytes32 indexed channelID)
func (*AssetHolderETHFilterer) FilterWithdrawn ¶
func (_AssetHolderETH *AssetHolderETHFilterer) FilterWithdrawn(opts *bind.FilterOpts, fundingID [][32]byte) (*AssetHolderETHWithdrawnIterator, error)
FilterWithdrawn is a free log retrieval operation binding the contract event 0xd0b6e7d0170f56c62f87de6a8a47a0ccf41c86ffb5084d399d8eb62e823f2a81.
Solidity: event Withdrawn(bytes32 indexed fundingID, uint256 amount, address receiver)
func (*AssetHolderETHFilterer) ParseDeposited ¶
func (_AssetHolderETH *AssetHolderETHFilterer) ParseDeposited(log types.Log) (*AssetHolderETHDeposited, error)
ParseDeposited is a log parse operation binding the contract event 0xcd2fe07293de5928c5df9505b65a8d6506f8668dfe81af09090920687edc48a9.
Solidity: event Deposited(bytes32 indexed fundingID, uint256 amount)
func (*AssetHolderETHFilterer) ParseOutcomeSet ¶
func (_AssetHolderETH *AssetHolderETHFilterer) ParseOutcomeSet(log types.Log) (*AssetHolderETHOutcomeSet, error)
ParseOutcomeSet is a log parse operation binding the contract event 0xef898d6cd3395b6dfe67a3c1923e5c726c1b154e979fb0a25a9c41d0093168b8.
Solidity: event OutcomeSet(bytes32 indexed channelID)
func (*AssetHolderETHFilterer) ParseWithdrawn ¶
func (_AssetHolderETH *AssetHolderETHFilterer) ParseWithdrawn(log types.Log) (*AssetHolderETHWithdrawn, error)
ParseWithdrawn is a log parse operation binding the contract event 0xd0b6e7d0170f56c62f87de6a8a47a0ccf41c86ffb5084d399d8eb62e823f2a81.
Solidity: event Withdrawn(bytes32 indexed fundingID, uint256 amount, address receiver)
func (*AssetHolderETHFilterer) WatchDeposited ¶
func (_AssetHolderETH *AssetHolderETHFilterer) WatchDeposited(opts *bind.WatchOpts, sink chan<- *AssetHolderETHDeposited, fundingID [][32]byte) (event.Subscription, error)
WatchDeposited is a free log subscription operation binding the contract event 0xcd2fe07293de5928c5df9505b65a8d6506f8668dfe81af09090920687edc48a9.
Solidity: event Deposited(bytes32 indexed fundingID, uint256 amount)
func (*AssetHolderETHFilterer) WatchOutcomeSet ¶
func (_AssetHolderETH *AssetHolderETHFilterer) WatchOutcomeSet(opts *bind.WatchOpts, sink chan<- *AssetHolderETHOutcomeSet, channelID [][32]byte) (event.Subscription, error)
WatchOutcomeSet is a free log subscription operation binding the contract event 0xef898d6cd3395b6dfe67a3c1923e5c726c1b154e979fb0a25a9c41d0093168b8.
Solidity: event OutcomeSet(bytes32 indexed channelID)
func (*AssetHolderETHFilterer) WatchWithdrawn ¶
func (_AssetHolderETH *AssetHolderETHFilterer) WatchWithdrawn(opts *bind.WatchOpts, sink chan<- *AssetHolderETHWithdrawn, fundingID [][32]byte) (event.Subscription, error)
WatchWithdrawn is a free log subscription operation binding the contract event 0xd0b6e7d0170f56c62f87de6a8a47a0ccf41c86ffb5084d399d8eb62e823f2a81.
Solidity: event Withdrawn(bytes32 indexed fundingID, uint256 amount, address receiver)
type AssetHolderETHOutcomeSet ¶
type AssetHolderETHOutcomeSet struct { ChannelID [32]byte Raw types.Log // Blockchain specific contextual infos }
AssetHolderETHOutcomeSet represents a OutcomeSet event raised by the AssetHolderETH contract.
type AssetHolderETHOutcomeSetIterator ¶
type AssetHolderETHOutcomeSetIterator struct { Event *AssetHolderETHOutcomeSet // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AssetHolderETHOutcomeSetIterator is returned from FilterOutcomeSet and is used to iterate over the raw logs and unpacked data for OutcomeSet events raised by the AssetHolderETH contract.
func (*AssetHolderETHOutcomeSetIterator) Close ¶
func (it *AssetHolderETHOutcomeSetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AssetHolderETHOutcomeSetIterator) Error ¶
func (it *AssetHolderETHOutcomeSetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AssetHolderETHOutcomeSetIterator) Next ¶
func (it *AssetHolderETHOutcomeSetIterator) 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 AssetHolderETHRaw ¶
type AssetHolderETHRaw struct {
Contract *AssetHolderETH // Generic contract binding to access the raw methods on
}
AssetHolderETHRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*AssetHolderETHRaw) Call ¶
func (_AssetHolderETH *AssetHolderETHRaw) 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 (*AssetHolderETHRaw) Transact ¶
func (_AssetHolderETH *AssetHolderETHRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*AssetHolderETHRaw) Transfer ¶
func (_AssetHolderETH *AssetHolderETHRaw) 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 AssetHolderETHSession ¶
type AssetHolderETHSession struct { Contract *AssetHolderETH // 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 }
AssetHolderETHSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*AssetHolderETHSession) Adjudicator ¶
func (_AssetHolderETH *AssetHolderETHSession) Adjudicator() (common.Address, error)
Adjudicator is a free data retrieval call binding the contract method 0x53c2ed8e.
Solidity: function adjudicator() view returns(address)
func (*AssetHolderETHSession) Deposit ¶
func (_AssetHolderETH *AssetHolderETHSession) Deposit(fundingID [32]byte, amount *big.Int) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0x1de26e16.
Solidity: function deposit(bytes32 fundingID, uint256 amount) payable returns()
func (*AssetHolderETHSession) Holdings ¶
func (_AssetHolderETH *AssetHolderETHSession) Holdings(arg0 [32]byte) (*big.Int, error)
Holdings is a free data retrieval call binding the contract method 0xae9ee18c.
Solidity: function holdings(bytes32 ) view returns(uint256)
func (*AssetHolderETHSession) SetOutcome ¶
func (_AssetHolderETH *AssetHolderETHSession) SetOutcome(channelID [32]byte, parts []common.Address, newBals []*big.Int) (*types.Transaction, error)
SetOutcome is a paid mutator transaction binding the contract method 0xfc79a66d.
Solidity: function setOutcome(bytes32 channelID, address[] parts, uint256[] newBals) returns()
func (*AssetHolderETHSession) Settled ¶
func (_AssetHolderETH *AssetHolderETHSession) Settled(arg0 [32]byte) (bool, error)
Settled is a free data retrieval call binding the contract method 0xd945af1d.
Solidity: function settled(bytes32 ) view returns(bool)
func (*AssetHolderETHSession) Withdraw ¶
func (_AssetHolderETH *AssetHolderETHSession) Withdraw(authorization AssetHolderWithdrawalAuth, signature []byte) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x4ed4283c.
Solidity: function withdraw((bytes32,address,address,uint256) authorization, bytes signature) returns()
type AssetHolderETHTransactor ¶
type AssetHolderETHTransactor struct {
// contains filtered or unexported fields
}
AssetHolderETHTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewAssetHolderETHTransactor ¶
func NewAssetHolderETHTransactor(address common.Address, transactor bind.ContractTransactor) (*AssetHolderETHTransactor, error)
NewAssetHolderETHTransactor creates a new write-only instance of AssetHolderETH, bound to a specific deployed contract.
func (*AssetHolderETHTransactor) Deposit ¶
func (_AssetHolderETH *AssetHolderETHTransactor) Deposit(opts *bind.TransactOpts, fundingID [32]byte, amount *big.Int) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0x1de26e16.
Solidity: function deposit(bytes32 fundingID, uint256 amount) payable returns()
func (*AssetHolderETHTransactor) SetOutcome ¶
func (_AssetHolderETH *AssetHolderETHTransactor) SetOutcome(opts *bind.TransactOpts, channelID [32]byte, parts []common.Address, newBals []*big.Int) (*types.Transaction, error)
SetOutcome is a paid mutator transaction binding the contract method 0xfc79a66d.
Solidity: function setOutcome(bytes32 channelID, address[] parts, uint256[] newBals) returns()
func (*AssetHolderETHTransactor) Withdraw ¶
func (_AssetHolderETH *AssetHolderETHTransactor) Withdraw(opts *bind.TransactOpts, authorization AssetHolderWithdrawalAuth, signature []byte) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x4ed4283c.
Solidity: function withdraw((bytes32,address,address,uint256) authorization, bytes signature) returns()
type AssetHolderETHTransactorRaw ¶
type AssetHolderETHTransactorRaw struct {
Contract *AssetHolderETHTransactor // Generic write-only contract binding to access the raw methods on
}
AssetHolderETHTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*AssetHolderETHTransactorRaw) Transact ¶
func (_AssetHolderETH *AssetHolderETHTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*AssetHolderETHTransactorRaw) Transfer ¶
func (_AssetHolderETH *AssetHolderETHTransactorRaw) 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 AssetHolderETHTransactorSession ¶
type AssetHolderETHTransactorSession struct { Contract *AssetHolderETHTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
AssetHolderETHTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*AssetHolderETHTransactorSession) Deposit ¶
func (_AssetHolderETH *AssetHolderETHTransactorSession) Deposit(fundingID [32]byte, amount *big.Int) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0x1de26e16.
Solidity: function deposit(bytes32 fundingID, uint256 amount) payable returns()
func (*AssetHolderETHTransactorSession) SetOutcome ¶
func (_AssetHolderETH *AssetHolderETHTransactorSession) SetOutcome(channelID [32]byte, parts []common.Address, newBals []*big.Int) (*types.Transaction, error)
SetOutcome is a paid mutator transaction binding the contract method 0xfc79a66d.
Solidity: function setOutcome(bytes32 channelID, address[] parts, uint256[] newBals) returns()
func (*AssetHolderETHTransactorSession) Withdraw ¶
func (_AssetHolderETH *AssetHolderETHTransactorSession) Withdraw(authorization AssetHolderWithdrawalAuth, signature []byte) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x4ed4283c.
Solidity: function withdraw((bytes32,address,address,uint256) authorization, bytes signature) returns()
type AssetHolderETHWithdrawn ¶
type AssetHolderETHWithdrawn struct { FundingID [32]byte Amount *big.Int Receiver common.Address Raw types.Log // Blockchain specific contextual infos }
AssetHolderETHWithdrawn represents a Withdrawn event raised by the AssetHolderETH contract.
type AssetHolderETHWithdrawnIterator ¶
type AssetHolderETHWithdrawnIterator struct { Event *AssetHolderETHWithdrawn // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AssetHolderETHWithdrawnIterator is returned from FilterWithdrawn and is used to iterate over the raw logs and unpacked data for Withdrawn events raised by the AssetHolderETH contract.
func (*AssetHolderETHWithdrawnIterator) Close ¶
func (it *AssetHolderETHWithdrawnIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AssetHolderETHWithdrawnIterator) Error ¶
func (it *AssetHolderETHWithdrawnIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AssetHolderETHWithdrawnIterator) Next ¶
func (it *AssetHolderETHWithdrawnIterator) 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 AssetHolderFilterer ¶
type AssetHolderFilterer struct {
// contains filtered or unexported fields
}
AssetHolderFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewAssetHolderFilterer ¶
func NewAssetHolderFilterer(address common.Address, filterer bind.ContractFilterer) (*AssetHolderFilterer, error)
NewAssetHolderFilterer creates a new log filterer instance of AssetHolder, bound to a specific deployed contract.
func (*AssetHolderFilterer) FilterDeposited ¶
func (_AssetHolder *AssetHolderFilterer) FilterDeposited(opts *bind.FilterOpts, fundingID [][32]byte) (*AssetHolderDepositedIterator, error)
FilterDeposited is a free log retrieval operation binding the contract event 0xcd2fe07293de5928c5df9505b65a8d6506f8668dfe81af09090920687edc48a9.
Solidity: event Deposited(bytes32 indexed fundingID, uint256 amount)
func (*AssetHolderFilterer) FilterOutcomeSet ¶
func (_AssetHolder *AssetHolderFilterer) FilterOutcomeSet(opts *bind.FilterOpts, channelID [][32]byte) (*AssetHolderOutcomeSetIterator, error)
FilterOutcomeSet is a free log retrieval operation binding the contract event 0xef898d6cd3395b6dfe67a3c1923e5c726c1b154e979fb0a25a9c41d0093168b8.
Solidity: event OutcomeSet(bytes32 indexed channelID)
func (*AssetHolderFilterer) FilterWithdrawn ¶
func (_AssetHolder *AssetHolderFilterer) FilterWithdrawn(opts *bind.FilterOpts, fundingID [][32]byte) (*AssetHolderWithdrawnIterator, error)
FilterWithdrawn is a free log retrieval operation binding the contract event 0xd0b6e7d0170f56c62f87de6a8a47a0ccf41c86ffb5084d399d8eb62e823f2a81.
Solidity: event Withdrawn(bytes32 indexed fundingID, uint256 amount, address receiver)
func (*AssetHolderFilterer) ParseDeposited ¶
func (_AssetHolder *AssetHolderFilterer) ParseDeposited(log types.Log) (*AssetHolderDeposited, error)
ParseDeposited is a log parse operation binding the contract event 0xcd2fe07293de5928c5df9505b65a8d6506f8668dfe81af09090920687edc48a9.
Solidity: event Deposited(bytes32 indexed fundingID, uint256 amount)
func (*AssetHolderFilterer) ParseOutcomeSet ¶
func (_AssetHolder *AssetHolderFilterer) ParseOutcomeSet(log types.Log) (*AssetHolderOutcomeSet, error)
ParseOutcomeSet is a log parse operation binding the contract event 0xef898d6cd3395b6dfe67a3c1923e5c726c1b154e979fb0a25a9c41d0093168b8.
Solidity: event OutcomeSet(bytes32 indexed channelID)
func (*AssetHolderFilterer) ParseWithdrawn ¶
func (_AssetHolder *AssetHolderFilterer) ParseWithdrawn(log types.Log) (*AssetHolderWithdrawn, error)
ParseWithdrawn is a log parse operation binding the contract event 0xd0b6e7d0170f56c62f87de6a8a47a0ccf41c86ffb5084d399d8eb62e823f2a81.
Solidity: event Withdrawn(bytes32 indexed fundingID, uint256 amount, address receiver)
func (*AssetHolderFilterer) WatchDeposited ¶
func (_AssetHolder *AssetHolderFilterer) WatchDeposited(opts *bind.WatchOpts, sink chan<- *AssetHolderDeposited, fundingID [][32]byte) (event.Subscription, error)
WatchDeposited is a free log subscription operation binding the contract event 0xcd2fe07293de5928c5df9505b65a8d6506f8668dfe81af09090920687edc48a9.
Solidity: event Deposited(bytes32 indexed fundingID, uint256 amount)
func (*AssetHolderFilterer) WatchOutcomeSet ¶
func (_AssetHolder *AssetHolderFilterer) WatchOutcomeSet(opts *bind.WatchOpts, sink chan<- *AssetHolderOutcomeSet, channelID [][32]byte) (event.Subscription, error)
WatchOutcomeSet is a free log subscription operation binding the contract event 0xef898d6cd3395b6dfe67a3c1923e5c726c1b154e979fb0a25a9c41d0093168b8.
Solidity: event OutcomeSet(bytes32 indexed channelID)
func (*AssetHolderFilterer) WatchWithdrawn ¶
func (_AssetHolder *AssetHolderFilterer) WatchWithdrawn(opts *bind.WatchOpts, sink chan<- *AssetHolderWithdrawn, fundingID [][32]byte) (event.Subscription, error)
WatchWithdrawn is a free log subscription operation binding the contract event 0xd0b6e7d0170f56c62f87de6a8a47a0ccf41c86ffb5084d399d8eb62e823f2a81.
Solidity: event Withdrawn(bytes32 indexed fundingID, uint256 amount, address receiver)
type AssetHolderOutcomeSet ¶
type AssetHolderOutcomeSet struct { ChannelID [32]byte Raw types.Log // Blockchain specific contextual infos }
AssetHolderOutcomeSet represents a OutcomeSet event raised by the AssetHolder contract.
type AssetHolderOutcomeSetIterator ¶
type AssetHolderOutcomeSetIterator struct { Event *AssetHolderOutcomeSet // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AssetHolderOutcomeSetIterator is returned from FilterOutcomeSet and is used to iterate over the raw logs and unpacked data for OutcomeSet events raised by the AssetHolder contract.
func (*AssetHolderOutcomeSetIterator) Close ¶
func (it *AssetHolderOutcomeSetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AssetHolderOutcomeSetIterator) Error ¶
func (it *AssetHolderOutcomeSetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AssetHolderOutcomeSetIterator) Next ¶
func (it *AssetHolderOutcomeSetIterator) 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 AssetHolderRaw ¶
type AssetHolderRaw struct {
Contract *AssetHolder // Generic contract binding to access the raw methods on
}
AssetHolderRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*AssetHolderRaw) Call ¶
func (_AssetHolder *AssetHolderRaw) 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 (*AssetHolderRaw) Transact ¶
func (_AssetHolder *AssetHolderRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*AssetHolderRaw) Transfer ¶
func (_AssetHolder *AssetHolderRaw) 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 AssetHolderSession ¶
type AssetHolderSession struct { Contract *AssetHolder // 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 }
AssetHolderSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*AssetHolderSession) Adjudicator ¶
func (_AssetHolder *AssetHolderSession) Adjudicator() (common.Address, error)
Adjudicator is a free data retrieval call binding the contract method 0x53c2ed8e.
Solidity: function adjudicator() view returns(address)
func (*AssetHolderSession) Deposit ¶
func (_AssetHolder *AssetHolderSession) Deposit(fundingID [32]byte, amount *big.Int) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0x1de26e16.
Solidity: function deposit(bytes32 fundingID, uint256 amount) payable returns()
func (*AssetHolderSession) Holdings ¶
func (_AssetHolder *AssetHolderSession) Holdings(arg0 [32]byte) (*big.Int, error)
Holdings is a free data retrieval call binding the contract method 0xae9ee18c.
Solidity: function holdings(bytes32 ) view returns(uint256)
func (*AssetHolderSession) SetOutcome ¶
func (_AssetHolder *AssetHolderSession) SetOutcome(channelID [32]byte, parts []common.Address, newBals []*big.Int) (*types.Transaction, error)
SetOutcome is a paid mutator transaction binding the contract method 0xfc79a66d.
Solidity: function setOutcome(bytes32 channelID, address[] parts, uint256[] newBals) returns()
func (*AssetHolderSession) Settled ¶
func (_AssetHolder *AssetHolderSession) Settled(arg0 [32]byte) (bool, error)
Settled is a free data retrieval call binding the contract method 0xd945af1d.
Solidity: function settled(bytes32 ) view returns(bool)
func (*AssetHolderSession) Withdraw ¶
func (_AssetHolder *AssetHolderSession) Withdraw(authorization AssetHolderWithdrawalAuth, signature []byte) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x4ed4283c.
Solidity: function withdraw((bytes32,address,address,uint256) authorization, bytes signature) returns()
type AssetHolderTransactor ¶
type AssetHolderTransactor struct {
// contains filtered or unexported fields
}
AssetHolderTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewAssetHolderTransactor ¶
func NewAssetHolderTransactor(address common.Address, transactor bind.ContractTransactor) (*AssetHolderTransactor, error)
NewAssetHolderTransactor creates a new write-only instance of AssetHolder, bound to a specific deployed contract.
func (*AssetHolderTransactor) Deposit ¶
func (_AssetHolder *AssetHolderTransactor) Deposit(opts *bind.TransactOpts, fundingID [32]byte, amount *big.Int) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0x1de26e16.
Solidity: function deposit(bytes32 fundingID, uint256 amount) payable returns()
func (*AssetHolderTransactor) SetOutcome ¶
func (_AssetHolder *AssetHolderTransactor) SetOutcome(opts *bind.TransactOpts, channelID [32]byte, parts []common.Address, newBals []*big.Int) (*types.Transaction, error)
SetOutcome is a paid mutator transaction binding the contract method 0xfc79a66d.
Solidity: function setOutcome(bytes32 channelID, address[] parts, uint256[] newBals) returns()
func (*AssetHolderTransactor) Withdraw ¶
func (_AssetHolder *AssetHolderTransactor) Withdraw(opts *bind.TransactOpts, authorization AssetHolderWithdrawalAuth, signature []byte) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x4ed4283c.
Solidity: function withdraw((bytes32,address,address,uint256) authorization, bytes signature) returns()
type AssetHolderTransactorRaw ¶
type AssetHolderTransactorRaw struct {
Contract *AssetHolderTransactor // Generic write-only contract binding to access the raw methods on
}
AssetHolderTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*AssetHolderTransactorRaw) Transact ¶
func (_AssetHolder *AssetHolderTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*AssetHolderTransactorRaw) Transfer ¶
func (_AssetHolder *AssetHolderTransactorRaw) 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 AssetHolderTransactorSession ¶
type AssetHolderTransactorSession struct { Contract *AssetHolderTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
AssetHolderTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*AssetHolderTransactorSession) Deposit ¶
func (_AssetHolder *AssetHolderTransactorSession) Deposit(fundingID [32]byte, amount *big.Int) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0x1de26e16.
Solidity: function deposit(bytes32 fundingID, uint256 amount) payable returns()
func (*AssetHolderTransactorSession) SetOutcome ¶
func (_AssetHolder *AssetHolderTransactorSession) SetOutcome(channelID [32]byte, parts []common.Address, newBals []*big.Int) (*types.Transaction, error)
SetOutcome is a paid mutator transaction binding the contract method 0xfc79a66d.
Solidity: function setOutcome(bytes32 channelID, address[] parts, uint256[] newBals) returns()
func (*AssetHolderTransactorSession) Withdraw ¶
func (_AssetHolder *AssetHolderTransactorSession) Withdraw(authorization AssetHolderWithdrawalAuth, signature []byte) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x4ed4283c.
Solidity: function withdraw((bytes32,address,address,uint256) authorization, bytes signature) returns()
type AssetHolderWithdrawalAuth ¶
type AssetHolderWithdrawalAuth struct { ChannelID [32]byte Participant common.Address Receiver common.Address Amount *big.Int }
AssetHolderWithdrawalAuth is an auto generated low-level Go binding around an user-defined struct.
type AssetHolderWithdrawn ¶
type AssetHolderWithdrawn struct { FundingID [32]byte Amount *big.Int Receiver common.Address Raw types.Log // Blockchain specific contextual infos }
AssetHolderWithdrawn represents a Withdrawn event raised by the AssetHolder contract.
type AssetHolderWithdrawnIterator ¶
type AssetHolderWithdrawnIterator struct { Event *AssetHolderWithdrawn // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AssetHolderWithdrawnIterator is returned from FilterWithdrawn and is used to iterate over the raw logs and unpacked data for Withdrawn events raised by the AssetHolder contract.
func (*AssetHolderWithdrawnIterator) Close ¶
func (it *AssetHolderWithdrawnIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AssetHolderWithdrawnIterator) Error ¶
func (it *AssetHolderWithdrawnIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AssetHolderWithdrawnIterator) Next ¶
func (it *AssetHolderWithdrawnIterator) 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 ECDSA ¶
type ECDSA struct { ECDSACaller // Read-only binding to the contract ECDSATransactor // Write-only binding to the contract ECDSAFilterer // Log filterer for contract events }
ECDSA is an auto generated Go binding around an Ethereum contract.
func DeployECDSA ¶
func DeployECDSA(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *ECDSA, error)
DeployECDSA deploys a new Ethereum contract, binding an instance of ECDSA to it.
type ECDSACaller ¶
type ECDSACaller struct {
// contains filtered or unexported fields
}
ECDSACaller is an auto generated read-only Go binding around an Ethereum contract.
func NewECDSACaller ¶
func NewECDSACaller(address common.Address, caller bind.ContractCaller) (*ECDSACaller, error)
NewECDSACaller creates a new read-only instance of ECDSA, bound to a specific deployed contract.
type ECDSACallerRaw ¶
type ECDSACallerRaw struct {
Contract *ECDSACaller // Generic read-only contract binding to access the raw methods on
}
ECDSACallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ECDSACallerRaw) Call ¶
func (_ECDSA *ECDSACallerRaw) 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 ECDSACallerSession ¶
type ECDSACallerSession struct { Contract *ECDSACaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ECDSACallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type ECDSAFilterer ¶
type ECDSAFilterer struct {
// contains filtered or unexported fields
}
ECDSAFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewECDSAFilterer ¶
func NewECDSAFilterer(address common.Address, filterer bind.ContractFilterer) (*ECDSAFilterer, error)
NewECDSAFilterer creates a new log filterer instance of ECDSA, bound to a specific deployed contract.
type ECDSARaw ¶
type ECDSARaw struct {
Contract *ECDSA // Generic contract binding to access the raw methods on
}
ECDSARaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ECDSARaw) Call ¶
func (_ECDSA *ECDSARaw) 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 (*ECDSARaw) Transact ¶
func (_ECDSA *ECDSARaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ECDSARaw) Transfer ¶
func (_ECDSA *ECDSARaw) 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 ECDSASession ¶
type ECDSASession struct { Contract *ECDSA // 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 }
ECDSASession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type ECDSATransactor ¶
type ECDSATransactor struct {
// contains filtered or unexported fields
}
ECDSATransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewECDSATransactor ¶
func NewECDSATransactor(address common.Address, transactor bind.ContractTransactor) (*ECDSATransactor, error)
NewECDSATransactor creates a new write-only instance of ECDSA, bound to a specific deployed contract.
type ECDSATransactorRaw ¶
type ECDSATransactorRaw struct {
Contract *ECDSATransactor // Generic write-only contract binding to access the raw methods on
}
ECDSATransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ECDSATransactorRaw) Transact ¶
func (_ECDSA *ECDSATransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ECDSATransactorRaw) Transfer ¶
func (_ECDSA *ECDSATransactorRaw) 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 ECDSATransactorSession ¶
type ECDSATransactorSession struct { Contract *ECDSATransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ECDSATransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type SafeMath ¶
type SafeMath struct { SafeMathCaller // Read-only binding to the contract SafeMathTransactor // Write-only binding to the contract SafeMathFilterer // Log filterer for contract events }
SafeMath is an auto generated Go binding around an Ethereum contract.
func DeploySafeMath ¶
func DeploySafeMath(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *SafeMath, error)
DeploySafeMath deploys a new Ethereum contract, binding an instance of SafeMath to it.
func NewSafeMath ¶
NewSafeMath creates a new instance of SafeMath, bound to a specific deployed contract.
type SafeMathCaller ¶
type SafeMathCaller struct {
// contains filtered or unexported fields
}
SafeMathCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewSafeMathCaller ¶
func NewSafeMathCaller(address common.Address, caller bind.ContractCaller) (*SafeMathCaller, error)
NewSafeMathCaller creates a new read-only instance of SafeMath, bound to a specific deployed contract.
type SafeMathCallerRaw ¶
type SafeMathCallerRaw struct {
Contract *SafeMathCaller // Generic read-only contract binding to access the raw methods on
}
SafeMathCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*SafeMathCallerRaw) Call ¶
func (_SafeMath *SafeMathCallerRaw) 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 SafeMathCallerSession ¶
type SafeMathCallerSession struct { Contract *SafeMathCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
SafeMathCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type SafeMathFilterer ¶
type SafeMathFilterer struct {
// contains filtered or unexported fields
}
SafeMathFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewSafeMathFilterer ¶
func NewSafeMathFilterer(address common.Address, filterer bind.ContractFilterer) (*SafeMathFilterer, error)
NewSafeMathFilterer creates a new log filterer instance of SafeMath, bound to a specific deployed contract.
type SafeMathRaw ¶
type SafeMathRaw struct {
Contract *SafeMath // Generic contract binding to access the raw methods on
}
SafeMathRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*SafeMathRaw) Call ¶
func (_SafeMath *SafeMathRaw) 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 (*SafeMathRaw) Transact ¶
func (_SafeMath *SafeMathRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SafeMathRaw) Transfer ¶
func (_SafeMath *SafeMathRaw) 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 SafeMathSession ¶
type SafeMathSession struct { Contract *SafeMath // 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 }
SafeMathSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type SafeMathTransactor ¶
type SafeMathTransactor struct {
// contains filtered or unexported fields
}
SafeMathTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewSafeMathTransactor ¶
func NewSafeMathTransactor(address common.Address, transactor bind.ContractTransactor) (*SafeMathTransactor, error)
NewSafeMathTransactor creates a new write-only instance of SafeMath, bound to a specific deployed contract.
type SafeMathTransactorRaw ¶
type SafeMathTransactorRaw struct {
Contract *SafeMathTransactor // Generic write-only contract binding to access the raw methods on
}
SafeMathTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*SafeMathTransactorRaw) Transact ¶
func (_SafeMath *SafeMathTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SafeMathTransactorRaw) Transfer ¶
func (_SafeMath *SafeMathTransactorRaw) 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 SafeMathTransactorSession ¶
type SafeMathTransactorSession struct { Contract *SafeMathTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
SafeMathTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type Sig ¶
type Sig struct { SigCaller // Read-only binding to the contract SigTransactor // Write-only binding to the contract SigFilterer // Log filterer for contract events }
Sig is an auto generated Go binding around an Ethereum contract.
func DeploySig ¶
func DeploySig(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Sig, error)
DeploySig deploys a new Ethereum contract, binding an instance of Sig to it.
type SigCaller ¶
type SigCaller struct {
// contains filtered or unexported fields
}
SigCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewSigCaller ¶
NewSigCaller creates a new read-only instance of Sig, bound to a specific deployed contract.
type SigCallerRaw ¶
type SigCallerRaw struct {
Contract *SigCaller // Generic read-only contract binding to access the raw methods on
}
SigCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*SigCallerRaw) Call ¶
func (_Sig *SigCallerRaw) 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 SigCallerSession ¶
type SigCallerSession struct { Contract *SigCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
SigCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type SigFilterer ¶
type SigFilterer struct {
// contains filtered or unexported fields
}
SigFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewSigFilterer ¶
func NewSigFilterer(address common.Address, filterer bind.ContractFilterer) (*SigFilterer, error)
NewSigFilterer creates a new log filterer instance of Sig, bound to a specific deployed contract.
type SigRaw ¶
type SigRaw struct {
Contract *Sig // Generic contract binding to access the raw methods on
}
SigRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*SigRaw) Call ¶
func (_Sig *SigRaw) 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 (*SigRaw) Transact ¶
func (_Sig *SigRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SigRaw) Transfer ¶
func (_Sig *SigRaw) 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 SigSession ¶
type SigSession struct { Contract *Sig // 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 }
SigSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type SigTransactor ¶
type SigTransactor struct {
// contains filtered or unexported fields
}
SigTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewSigTransactor ¶
func NewSigTransactor(address common.Address, transactor bind.ContractTransactor) (*SigTransactor, error)
NewSigTransactor creates a new write-only instance of Sig, bound to a specific deployed contract.
type SigTransactorRaw ¶
type SigTransactorRaw struct {
Contract *SigTransactor // Generic write-only contract binding to access the raw methods on
}
SigTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*SigTransactorRaw) Transact ¶
func (_Sig *SigTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SigTransactorRaw) Transfer ¶
func (_Sig *SigTransactorRaw) 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 SigTransactorSession ¶
type SigTransactorSession struct { Contract *SigTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
SigTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.