Documentation ¶
Index ¶
- Constants
- type Oracle
- type OracleCaller
- func (_Oracle *OracleCaller) Boss(opts *bind.CallOpts) (common.Address, error)
- func (_Oracle *OracleCaller) Count(opts *bind.CallOpts) (*big.Int, error)
- func (_Oracle *OracleCaller) IndexOf(opts *bind.CallOpts, idx *big.Int) (common.Address, bool, error)
- func (_Oracle *OracleCaller) IsSigner(opts *bind.CallOpts, signer common.Address) (bool, error)
- func (_Oracle *OracleCaller) TotalEnabledNodes(opts *bind.CallOpts) (*big.Int, error)
- type OracleCallerRaw
- type OracleCallerSession
- func (_Oracle *OracleCallerSession) Boss() (common.Address, error)
- func (_Oracle *OracleCallerSession) Count() (*big.Int, error)
- func (_Oracle *OracleCallerSession) IndexOf(idx *big.Int) (common.Address, bool, error)
- func (_Oracle *OracleCallerSession) IsSigner(signer common.Address) (bool, error)
- func (_Oracle *OracleCallerSession) TotalEnabledNodes() (*big.Int, error)
- type OracleFilterer
- type OracleRaw
- func (_Oracle *OracleRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_Oracle *OracleRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Oracle *OracleRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type OracleSession
- func (_Oracle *OracleSession) AddSigner(signer common.Address) (*types.Transaction, error)
- func (_Oracle *OracleSession) Boss() (common.Address, error)
- func (_Oracle *OracleSession) Count() (*big.Int, error)
- func (_Oracle *OracleSession) DisableSigner(signer common.Address) (*types.Transaction, error)
- func (_Oracle *OracleSession) IndexOf(idx *big.Int) (common.Address, bool, error)
- func (_Oracle *OracleSession) IsSigner(signer common.Address) (bool, error)
- func (_Oracle *OracleSession) TotalEnabledNodes() (*big.Int, error)
- type OracleTransactor
- type OracleTransactorRaw
- type OracleTransactorSession
- type Sink
- type SinkCaller
- type SinkCallerRaw
- type SinkCallerSession
- type SinkFilterer
- func (_Sink *SinkFilterer) FilterSignflowAdded(opts *bind.FilterOpts) (*SinkSignflowAddedIterator, error)
- func (_Sink *SinkFilterer) FilterSignflowDisabled(opts *bind.FilterOpts) (*SinkSignflowDisabledIterator, error)
- func (_Sink *SinkFilterer) FilterSignflowEnabled(opts *bind.FilterOpts) (*SinkSignflowEnabledIterator, error)
- func (_Sink *SinkFilterer) FilterWithdrawApplied(opts *bind.FilterOpts, hash [][32]byte, txHash [][32]byte) (*SinkWithdrawAppliedIterator, error)
- func (_Sink *SinkFilterer) WatchSignflowAdded(opts *bind.WatchOpts, sink chan<- *SinkSignflowAdded) (event.Subscription, error)
- func (_Sink *SinkFilterer) WatchSignflowDisabled(opts *bind.WatchOpts, sink chan<- *SinkSignflowDisabled) (event.Subscription, error)
- func (_Sink *SinkFilterer) WatchSignflowEnabled(opts *bind.WatchOpts, sink chan<- *SinkSignflowEnabled) (event.Subscription, error)
- func (_Sink *SinkFilterer) WatchWithdrawApplied(opts *bind.WatchOpts, sink chan<- *SinkWithdrawApplied, hash [][32]byte, ...) (event.Subscription, error)
- type SinkRaw
- func (_Sink *SinkRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_Sink *SinkRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Sink *SinkRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type SinkSession
- func (_Sink *SinkSession) AddHash(hash [32]byte) (*types.Transaction, error)
- func (_Sink *SinkSession) Approve(txHash [32]byte, amount *big.Int, fee *big.Int, recipient common.Address, ...) (*types.Transaction, error)
- func (_Sink *SinkSession) Available(hash [32]byte) ([32]byte, bool, error)
- func (_Sink *SinkSession) ChangeOracle(newOracle common.Address) (*types.Transaction, error)
- func (_Sink *SinkSession) Disable(hash [32]byte) (*types.Transaction, error)
- func (_Sink *SinkSession) Enable(hash [32]byte) (*types.Transaction, error)
- func (_Sink *SinkSession) TxExists(hash [32]byte, txHash [32]byte) (bool, error)
- type SinkSignflowAdded
- type SinkSignflowAddedIterator
- type SinkSignflowDisabled
- type SinkSignflowDisabledIterator
- type SinkSignflowEnabled
- type SinkSignflowEnabledIterator
- type SinkTransactor
- func (_Sink *SinkTransactor) AddHash(opts *bind.TransactOpts, hash [32]byte) (*types.Transaction, error)
- func (_Sink *SinkTransactor) Approve(opts *bind.TransactOpts, txHash [32]byte, amount *big.Int, fee *big.Int, ...) (*types.Transaction, error)
- func (_Sink *SinkTransactor) ChangeOracle(opts *bind.TransactOpts, newOracle common.Address) (*types.Transaction, error)
- func (_Sink *SinkTransactor) Disable(opts *bind.TransactOpts, hash [32]byte) (*types.Transaction, error)
- func (_Sink *SinkTransactor) Enable(opts *bind.TransactOpts, hash [32]byte) (*types.Transaction, error)
- type SinkTransactorRaw
- type SinkTransactorSession
- func (_Sink *SinkTransactorSession) AddHash(hash [32]byte) (*types.Transaction, error)
- func (_Sink *SinkTransactorSession) Approve(txHash [32]byte, amount *big.Int, fee *big.Int, recipient common.Address, ...) (*types.Transaction, error)
- func (_Sink *SinkTransactorSession) ChangeOracle(newOracle common.Address) (*types.Transaction, error)
- func (_Sink *SinkTransactorSession) Disable(hash [32]byte) (*types.Transaction, error)
- func (_Sink *SinkTransactorSession) Enable(hash [32]byte) (*types.Transaction, error)
- type SinkWithdrawApplied
- type SinkWithdrawAppliedIterator
Constants ¶
const OracleABI = "" /* 1505-byte string literal not displayed */
OracleABI is the input ABI used to generate the binding from.
const OracleBin = `` /* 3016-byte string literal not displayed */
OracleBin is the compiled bytecode used for deploying new contracts.
const SinkABI = "" /* 3073-byte string literal not displayed */
SinkABI is the input ABI used to generate the binding from.
const SinkBin = `` /* 13122-byte string literal not displayed */
SinkBin is the compiled bytecode used for deploying new contracts.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Oracle ¶
type Oracle struct { OracleCaller // Read-only binding to the contract OracleTransactor // Write-only binding to the contract OracleFilterer // Log filterer for contract events }
Oracle is an auto generated Go binding around an Ethereum contract.
func DeployOracle ¶
func DeployOracle(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Oracle, error)
DeployOracle deploys a new Ethereum contract, binding an instance of Oracle to it.
type OracleCaller ¶
type OracleCaller struct {
// contains filtered or unexported fields
}
OracleCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewOracleCaller ¶
func NewOracleCaller(address common.Address, caller bind.ContractCaller) (*OracleCaller, error)
NewOracleCaller creates a new read-only instance of Oracle, bound to a specific deployed contract.
func (*OracleCaller) Boss ¶
Boss is a free data retrieval call binding the contract method 0xc772af39.
Solidity: function boss() constant returns(address)
func (*OracleCaller) Count ¶
Count is a free data retrieval call binding the contract method 0x06661abd.
Solidity: function count() constant returns(uint256)
func (*OracleCaller) IndexOf ¶
func (_Oracle *OracleCaller) IndexOf(opts *bind.CallOpts, idx *big.Int) (common.Address, bool, error)
IndexOf is a free data retrieval call binding the contract method 0x91ac7e65.
Solidity: function indexOf(idx uint256) constant returns(address, bool)
func (*OracleCaller) IsSigner ¶
IsSigner is a free data retrieval call binding the contract method 0x7df73e27.
Solidity: function isSigner(signer address) constant returns(bool)
func (*OracleCaller) TotalEnabledNodes ¶
TotalEnabledNodes is a free data retrieval call binding the contract method 0x0921953e.
Solidity: function totalEnabledNodes() constant returns(uint256)
type OracleCallerRaw ¶
type OracleCallerRaw struct {
Contract *OracleCaller // Generic read-only contract binding to access the raw methods on
}
OracleCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*OracleCallerRaw) Call ¶
func (_Oracle *OracleCallerRaw) 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 OracleCallerSession ¶
type OracleCallerSession struct { Contract *OracleCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
OracleCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*OracleCallerSession) Boss ¶
func (_Oracle *OracleCallerSession) Boss() (common.Address, error)
Boss is a free data retrieval call binding the contract method 0xc772af39.
Solidity: function boss() constant returns(address)
func (*OracleCallerSession) Count ¶
func (_Oracle *OracleCallerSession) Count() (*big.Int, error)
Count is a free data retrieval call binding the contract method 0x06661abd.
Solidity: function count() constant returns(uint256)
func (*OracleCallerSession) IndexOf ¶
IndexOf is a free data retrieval call binding the contract method 0x91ac7e65.
Solidity: function indexOf(idx uint256) constant returns(address, bool)
func (*OracleCallerSession) IsSigner ¶
func (_Oracle *OracleCallerSession) IsSigner(signer common.Address) (bool, error)
IsSigner is a free data retrieval call binding the contract method 0x7df73e27.
Solidity: function isSigner(signer address) constant returns(bool)
func (*OracleCallerSession) TotalEnabledNodes ¶
func (_Oracle *OracleCallerSession) TotalEnabledNodes() (*big.Int, error)
TotalEnabledNodes is a free data retrieval call binding the contract method 0x0921953e.
Solidity: function totalEnabledNodes() constant returns(uint256)
type OracleFilterer ¶
type OracleFilterer struct {
// contains filtered or unexported fields
}
OracleFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewOracleFilterer ¶
func NewOracleFilterer(address common.Address, filterer bind.ContractFilterer) (*OracleFilterer, error)
NewOracleFilterer creates a new log filterer instance of Oracle, bound to a specific deployed contract.
type OracleRaw ¶
type OracleRaw struct {
Contract *Oracle // Generic contract binding to access the raw methods on
}
OracleRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*OracleRaw) Call ¶
func (_Oracle *OracleRaw) 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 (*OracleRaw) Transact ¶
func (_Oracle *OracleRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*OracleRaw) Transfer ¶
func (_Oracle *OracleRaw) 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 OracleSession ¶
type OracleSession struct { Contract *Oracle // 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 }
OracleSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*OracleSession) AddSigner ¶
func (_Oracle *OracleSession) AddSigner(signer common.Address) (*types.Transaction, error)
AddSigner is a paid mutator transaction binding the contract method 0xeb12d61e.
Solidity: function addSigner(signer address) returns()
func (*OracleSession) Boss ¶
func (_Oracle *OracleSession) Boss() (common.Address, error)
Boss is a free data retrieval call binding the contract method 0xc772af39.
Solidity: function boss() constant returns(address)
func (*OracleSession) Count ¶
func (_Oracle *OracleSession) Count() (*big.Int, error)
Count is a free data retrieval call binding the contract method 0x06661abd.
Solidity: function count() constant returns(uint256)
func (*OracleSession) DisableSigner ¶
func (_Oracle *OracleSession) DisableSigner(signer common.Address) (*types.Transaction, error)
DisableSigner is a paid mutator transaction binding the contract method 0x27086336.
Solidity: function disableSigner(signer address) returns(bool)
func (*OracleSession) IndexOf ¶
IndexOf is a free data retrieval call binding the contract method 0x91ac7e65.
Solidity: function indexOf(idx uint256) constant returns(address, bool)
func (*OracleSession) IsSigner ¶
func (_Oracle *OracleSession) IsSigner(signer common.Address) (bool, error)
IsSigner is a free data retrieval call binding the contract method 0x7df73e27.
Solidity: function isSigner(signer address) constant returns(bool)
func (*OracleSession) TotalEnabledNodes ¶
func (_Oracle *OracleSession) TotalEnabledNodes() (*big.Int, error)
TotalEnabledNodes is a free data retrieval call binding the contract method 0x0921953e.
Solidity: function totalEnabledNodes() constant returns(uint256)
type OracleTransactor ¶
type OracleTransactor struct {
// contains filtered or unexported fields
}
OracleTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewOracleTransactor ¶
func NewOracleTransactor(address common.Address, transactor bind.ContractTransactor) (*OracleTransactor, error)
NewOracleTransactor creates a new write-only instance of Oracle, bound to a specific deployed contract.
func (*OracleTransactor) AddSigner ¶
func (_Oracle *OracleTransactor) AddSigner(opts *bind.TransactOpts, signer common.Address) (*types.Transaction, error)
AddSigner is a paid mutator transaction binding the contract method 0xeb12d61e.
Solidity: function addSigner(signer address) returns()
func (*OracleTransactor) DisableSigner ¶
func (_Oracle *OracleTransactor) DisableSigner(opts *bind.TransactOpts, signer common.Address) (*types.Transaction, error)
DisableSigner is a paid mutator transaction binding the contract method 0x27086336.
Solidity: function disableSigner(signer address) returns(bool)
type OracleTransactorRaw ¶
type OracleTransactorRaw struct {
Contract *OracleTransactor // Generic write-only contract binding to access the raw methods on
}
OracleTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*OracleTransactorRaw) Transact ¶
func (_Oracle *OracleTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*OracleTransactorRaw) Transfer ¶
func (_Oracle *OracleTransactorRaw) 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 OracleTransactorSession ¶
type OracleTransactorSession struct { Contract *OracleTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
OracleTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*OracleTransactorSession) AddSigner ¶
func (_Oracle *OracleTransactorSession) AddSigner(signer common.Address) (*types.Transaction, error)
AddSigner is a paid mutator transaction binding the contract method 0xeb12d61e.
Solidity: function addSigner(signer address) returns()
func (*OracleTransactorSession) DisableSigner ¶
func (_Oracle *OracleTransactorSession) DisableSigner(signer common.Address) (*types.Transaction, error)
DisableSigner is a paid mutator transaction binding the contract method 0x27086336.
Solidity: function disableSigner(signer address) returns(bool)
type Sink ¶
type Sink struct { SinkCaller // Read-only binding to the contract SinkTransactor // Write-only binding to the contract SinkFilterer // Log filterer for contract events }
Sink is an auto generated Go binding around an Ethereum contract.
func DeploySink ¶
func DeploySink(auth *bind.TransactOpts, backend bind.ContractBackend, ref common.Address) (common.Address, *types.Transaction, *Sink, error)
DeploySink deploys a new Ethereum contract, binding an instance of Sink to it.
type SinkCaller ¶
type SinkCaller struct {
// contains filtered or unexported fields
}
SinkCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewSinkCaller ¶
func NewSinkCaller(address common.Address, caller bind.ContractCaller) (*SinkCaller, error)
NewSinkCaller creates a new read-only instance of Sink, bound to a specific deployed contract.
type SinkCallerRaw ¶
type SinkCallerRaw struct {
Contract *SinkCaller // Generic read-only contract binding to access the raw methods on
}
SinkCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*SinkCallerRaw) Call ¶
func (_Sink *SinkCallerRaw) 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 SinkCallerSession ¶
type SinkCallerSession struct { Contract *SinkCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
SinkCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type SinkFilterer ¶
type SinkFilterer struct {
// contains filtered or unexported fields
}
SinkFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewSinkFilterer ¶
func NewSinkFilterer(address common.Address, filterer bind.ContractFilterer) (*SinkFilterer, error)
NewSinkFilterer creates a new log filterer instance of Sink, bound to a specific deployed contract.
func (*SinkFilterer) FilterSignflowAdded ¶
func (_Sink *SinkFilterer) FilterSignflowAdded(opts *bind.FilterOpts) (*SinkSignflowAddedIterator, error)
FilterSignflowAdded is a free log retrieval operation binding the contract event 0x9f3f4c1672a4880364b07219cd9428dbc8a88774f53b12b98fae406c5a30ee5c.
Solidity: event SignflowAdded(hash bytes32, lastConfirmed address)
func (*SinkFilterer) FilterSignflowDisabled ¶
func (_Sink *SinkFilterer) FilterSignflowDisabled(opts *bind.FilterOpts) (*SinkSignflowDisabledIterator, error)
FilterSignflowDisabled is a free log retrieval operation binding the contract event 0x484f49c7a40838d935f9cd616461fad6033bb6f7fa4491fbc72941d77671f09f.
Solidity: event SignflowDisabled(hash bytes32, lastConfirmed address)
func (*SinkFilterer) FilterSignflowEnabled ¶
func (_Sink *SinkFilterer) FilterSignflowEnabled(opts *bind.FilterOpts) (*SinkSignflowEnabledIterator, error)
FilterSignflowEnabled is a free log retrieval operation binding the contract event 0x50177799234754a6d6af99e5ab43b5679c202f4058d342099bfb35acdfa1a867.
Solidity: event SignflowEnabled(hash bytes32, lastConfirmed address)
func (*SinkFilterer) FilterWithdrawApplied ¶
func (_Sink *SinkFilterer) FilterWithdrawApplied(opts *bind.FilterOpts, hash [][32]byte, txHash [][32]byte) (*SinkWithdrawAppliedIterator, error)
FilterWithdrawApplied is a free log retrieval operation binding the contract event 0x7f508fd15756f38a4426383f9ef243dfccdfdff0a528e755b113ef8bef2c5c2e.
Solidity: event WithdrawApplied(hash indexed bytes32, txHash indexed bytes32, amount uint256, fee uint256, recipient address, category uint256, lastConfirmed address)
func (*SinkFilterer) WatchSignflowAdded ¶
func (_Sink *SinkFilterer) WatchSignflowAdded(opts *bind.WatchOpts, sink chan<- *SinkSignflowAdded) (event.Subscription, error)
WatchSignflowAdded is a free log subscription operation binding the contract event 0x9f3f4c1672a4880364b07219cd9428dbc8a88774f53b12b98fae406c5a30ee5c.
Solidity: event SignflowAdded(hash bytes32, lastConfirmed address)
func (*SinkFilterer) WatchSignflowDisabled ¶
func (_Sink *SinkFilterer) WatchSignflowDisabled(opts *bind.WatchOpts, sink chan<- *SinkSignflowDisabled) (event.Subscription, error)
WatchSignflowDisabled is a free log subscription operation binding the contract event 0x484f49c7a40838d935f9cd616461fad6033bb6f7fa4491fbc72941d77671f09f.
Solidity: event SignflowDisabled(hash bytes32, lastConfirmed address)
func (*SinkFilterer) WatchSignflowEnabled ¶
func (_Sink *SinkFilterer) WatchSignflowEnabled(opts *bind.WatchOpts, sink chan<- *SinkSignflowEnabled) (event.Subscription, error)
WatchSignflowEnabled is a free log subscription operation binding the contract event 0x50177799234754a6d6af99e5ab43b5679c202f4058d342099bfb35acdfa1a867.
Solidity: event SignflowEnabled(hash bytes32, lastConfirmed address)
func (*SinkFilterer) WatchWithdrawApplied ¶
func (_Sink *SinkFilterer) WatchWithdrawApplied(opts *bind.WatchOpts, sink chan<- *SinkWithdrawApplied, hash [][32]byte, txHash [][32]byte) (event.Subscription, error)
WatchWithdrawApplied is a free log subscription operation binding the contract event 0x7f508fd15756f38a4426383f9ef243dfccdfdff0a528e755b113ef8bef2c5c2e.
Solidity: event WithdrawApplied(hash indexed bytes32, txHash indexed bytes32, amount uint256, fee uint256, recipient address, category uint256, lastConfirmed address)
type SinkRaw ¶
type SinkRaw struct {
Contract *Sink // Generic contract binding to access the raw methods on
}
SinkRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*SinkRaw) Call ¶
func (_Sink *SinkRaw) 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 (*SinkRaw) Transact ¶
func (_Sink *SinkRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SinkRaw) Transfer ¶
func (_Sink *SinkRaw) 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 SinkSession ¶
type SinkSession struct { Contract *Sink // 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 }
SinkSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*SinkSession) AddHash ¶
func (_Sink *SinkSession) AddHash(hash [32]byte) (*types.Transaction, error)
AddHash is a paid mutator transaction binding the contract method 0x43e08ad1.
Solidity: function addHash(hash bytes32) returns(bool)
func (*SinkSession) Approve ¶
func (_Sink *SinkSession) Approve(txHash [32]byte, amount *big.Int, fee *big.Int, recipient common.Address, hash [32]byte, category *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0xca5031ab.
Solidity: function approve(txHash bytes32, amount uint256, fee uint256, recipient address, hash bytes32, category uint256) returns(bool)
func (*SinkSession) Available ¶
func (_Sink *SinkSession) Available(hash [32]byte) ([32]byte, bool, error)
Available is a free data retrieval call binding the contract method 0x6932854f.
Solidity: function available(hash bytes32) constant returns(bytes32, bool)
func (*SinkSession) ChangeOracle ¶
func (_Sink *SinkSession) ChangeOracle(newOracle common.Address) (*types.Transaction, error)
ChangeOracle is a paid mutator transaction binding the contract method 0x47c421b5.
Solidity: function changeOracle(newOracle address) returns()
func (*SinkSession) Disable ¶
func (_Sink *SinkSession) Disable(hash [32]byte) (*types.Transaction, error)
Disable is a paid mutator transaction binding the contract method 0xcf751d81.
Solidity: function disable(hash bytes32) returns(bool)
func (*SinkSession) Enable ¶
func (_Sink *SinkSession) Enable(hash [32]byte) (*types.Transaction, error)
Enable is a paid mutator transaction binding the contract method 0x1059171e.
Solidity: function enable(hash bytes32) returns(bool)
type SinkSignflowAdded ¶
type SinkSignflowAdded struct { Hash [32]byte LastConfirmed common.Address Raw types.Log // Blockchain specific contextual infos }
SinkSignflowAdded represents a SignflowAdded event raised by the Sink contract.
type SinkSignflowAddedIterator ¶
type SinkSignflowAddedIterator struct { Event *SinkSignflowAdded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SinkSignflowAddedIterator is returned from FilterSignflowAdded and is used to iterate over the raw logs and unpacked data for SignflowAdded events raised by the Sink contract.
func (*SinkSignflowAddedIterator) Close ¶
func (it *SinkSignflowAddedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SinkSignflowAddedIterator) Error ¶
func (it *SinkSignflowAddedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SinkSignflowAddedIterator) Next ¶
func (it *SinkSignflowAddedIterator) 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 SinkSignflowDisabled ¶
type SinkSignflowDisabled struct { Hash [32]byte LastConfirmed common.Address Raw types.Log // Blockchain specific contextual infos }
SinkSignflowDisabled represents a SignflowDisabled event raised by the Sink contract.
type SinkSignflowDisabledIterator ¶
type SinkSignflowDisabledIterator struct { Event *SinkSignflowDisabled // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SinkSignflowDisabledIterator is returned from FilterSignflowDisabled and is used to iterate over the raw logs and unpacked data for SignflowDisabled events raised by the Sink contract.
func (*SinkSignflowDisabledIterator) Close ¶
func (it *SinkSignflowDisabledIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SinkSignflowDisabledIterator) Error ¶
func (it *SinkSignflowDisabledIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SinkSignflowDisabledIterator) Next ¶
func (it *SinkSignflowDisabledIterator) 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 SinkSignflowEnabled ¶
type SinkSignflowEnabled struct { Hash [32]byte LastConfirmed common.Address Raw types.Log // Blockchain specific contextual infos }
SinkSignflowEnabled represents a SignflowEnabled event raised by the Sink contract.
type SinkSignflowEnabledIterator ¶
type SinkSignflowEnabledIterator struct { Event *SinkSignflowEnabled // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SinkSignflowEnabledIterator is returned from FilterSignflowEnabled and is used to iterate over the raw logs and unpacked data for SignflowEnabled events raised by the Sink contract.
func (*SinkSignflowEnabledIterator) Close ¶
func (it *SinkSignflowEnabledIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SinkSignflowEnabledIterator) Error ¶
func (it *SinkSignflowEnabledIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SinkSignflowEnabledIterator) Next ¶
func (it *SinkSignflowEnabledIterator) 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 SinkTransactor ¶
type SinkTransactor struct {
// contains filtered or unexported fields
}
SinkTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewSinkTransactor ¶
func NewSinkTransactor(address common.Address, transactor bind.ContractTransactor) (*SinkTransactor, error)
NewSinkTransactor creates a new write-only instance of Sink, bound to a specific deployed contract.
func (*SinkTransactor) AddHash ¶
func (_Sink *SinkTransactor) AddHash(opts *bind.TransactOpts, hash [32]byte) (*types.Transaction, error)
AddHash is a paid mutator transaction binding the contract method 0x43e08ad1.
Solidity: function addHash(hash bytes32) returns(bool)
func (*SinkTransactor) Approve ¶
func (_Sink *SinkTransactor) Approve(opts *bind.TransactOpts, txHash [32]byte, amount *big.Int, fee *big.Int, recipient common.Address, hash [32]byte, category *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0xca5031ab.
Solidity: function approve(txHash bytes32, amount uint256, fee uint256, recipient address, hash bytes32, category uint256) returns(bool)
func (*SinkTransactor) ChangeOracle ¶
func (_Sink *SinkTransactor) ChangeOracle(opts *bind.TransactOpts, newOracle common.Address) (*types.Transaction, error)
ChangeOracle is a paid mutator transaction binding the contract method 0x47c421b5.
Solidity: function changeOracle(newOracle address) returns()
func (*SinkTransactor) Disable ¶
func (_Sink *SinkTransactor) Disable(opts *bind.TransactOpts, hash [32]byte) (*types.Transaction, error)
Disable is a paid mutator transaction binding the contract method 0xcf751d81.
Solidity: function disable(hash bytes32) returns(bool)
func (*SinkTransactor) Enable ¶
func (_Sink *SinkTransactor) Enable(opts *bind.TransactOpts, hash [32]byte) (*types.Transaction, error)
Enable is a paid mutator transaction binding the contract method 0x1059171e.
Solidity: function enable(hash bytes32) returns(bool)
type SinkTransactorRaw ¶
type SinkTransactorRaw struct {
Contract *SinkTransactor // Generic write-only contract binding to access the raw methods on
}
SinkTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*SinkTransactorRaw) Transact ¶
func (_Sink *SinkTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SinkTransactorRaw) Transfer ¶
func (_Sink *SinkTransactorRaw) 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 SinkTransactorSession ¶
type SinkTransactorSession struct { Contract *SinkTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
SinkTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*SinkTransactorSession) AddHash ¶
func (_Sink *SinkTransactorSession) AddHash(hash [32]byte) (*types.Transaction, error)
AddHash is a paid mutator transaction binding the contract method 0x43e08ad1.
Solidity: function addHash(hash bytes32) returns(bool)
func (*SinkTransactorSession) Approve ¶
func (_Sink *SinkTransactorSession) Approve(txHash [32]byte, amount *big.Int, fee *big.Int, recipient common.Address, hash [32]byte, category *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0xca5031ab.
Solidity: function approve(txHash bytes32, amount uint256, fee uint256, recipient address, hash bytes32, category uint256) returns(bool)
func (*SinkTransactorSession) ChangeOracle ¶
func (_Sink *SinkTransactorSession) ChangeOracle(newOracle common.Address) (*types.Transaction, error)
ChangeOracle is a paid mutator transaction binding the contract method 0x47c421b5.
Solidity: function changeOracle(newOracle address) returns()
func (*SinkTransactorSession) Disable ¶
func (_Sink *SinkTransactorSession) Disable(hash [32]byte) (*types.Transaction, error)
Disable is a paid mutator transaction binding the contract method 0xcf751d81.
Solidity: function disable(hash bytes32) returns(bool)
func (*SinkTransactorSession) Enable ¶
func (_Sink *SinkTransactorSession) Enable(hash [32]byte) (*types.Transaction, error)
Enable is a paid mutator transaction binding the contract method 0x1059171e.
Solidity: function enable(hash bytes32) returns(bool)
type SinkWithdrawApplied ¶
type SinkWithdrawApplied struct { Hash [32]byte TxHash [32]byte Amount *big.Int Fee *big.Int Recipient common.Address Category *big.Int LastConfirmed common.Address Raw types.Log // Blockchain specific contextual infos }
SinkWithdrawApplied represents a WithdrawApplied event raised by the Sink contract.
type SinkWithdrawAppliedIterator ¶
type SinkWithdrawAppliedIterator struct { Event *SinkWithdrawApplied // Event containing the contract specifics and raw log // contains filtered or unexported fields }
SinkWithdrawAppliedIterator is returned from FilterWithdrawApplied and is used to iterate over the raw logs and unpacked data for WithdrawApplied events raised by the Sink contract.
func (*SinkWithdrawAppliedIterator) Close ¶
func (it *SinkWithdrawAppliedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*SinkWithdrawAppliedIterator) Error ¶
func (it *SinkWithdrawAppliedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*SinkWithdrawAppliedIterator) Next ¶
func (it *SinkWithdrawAppliedIterator) 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.