Documentation ¶
Index ¶
- Constants
- Variables
- type Oracle
- type OracleCaller
- func (_Oracle *OracleCaller) BridgeRegistry(opts *bind.CallOpts) (common.Address, error)
- func (_Oracle *OracleCaller) CheckBridgeUnlock(opts *bind.CallOpts, _unlockID *big.Int) (bool, *big.Int, *big.Int, error)
- func (_Oracle *OracleCaller) ConsensusThreshold(opts *bind.CallOpts) (*big.Int, error)
- func (_Oracle *OracleCaller) EthereumBridge(opts *bind.CallOpts) (common.Address, error)
- func (_Oracle *OracleCaller) HasMadeClaim(opts *bind.CallOpts, arg0 *big.Int, arg1 common.Address) (bool, error)
- func (_Oracle *OracleCaller) ORACLEREVISION(opts *bind.CallOpts) (*big.Int, error)
- func (_Oracle *OracleCaller) Operator(opts *bind.CallOpts) (common.Address, error)
- func (_Oracle *OracleCaller) OracleClaimValidators(opts *bind.CallOpts, arg0 *big.Int, arg1 *big.Int) (common.Address, error)
- func (_Oracle *OracleCaller) Valset(opts *bind.CallOpts) (common.Address, error)
- type OracleCallerRaw
- type OracleCallerSession
- func (_Oracle *OracleCallerSession) BridgeRegistry() (common.Address, error)
- func (_Oracle *OracleCallerSession) CheckBridgeUnlock(_unlockID *big.Int) (bool, *big.Int, *big.Int, error)
- func (_Oracle *OracleCallerSession) ConsensusThreshold() (*big.Int, error)
- func (_Oracle *OracleCallerSession) EthereumBridge() (common.Address, error)
- func (_Oracle *OracleCallerSession) HasMadeClaim(arg0 *big.Int, arg1 common.Address) (bool, error)
- func (_Oracle *OracleCallerSession) ORACLEREVISION() (*big.Int, error)
- func (_Oracle *OracleCallerSession) Operator() (common.Address, error)
- func (_Oracle *OracleCallerSession) OracleClaimValidators(arg0 *big.Int, arg1 *big.Int) (common.Address, error)
- func (_Oracle *OracleCallerSession) Valset() (common.Address, error)
- type OracleEthLogNewOracleClaim
- type OracleEthLogNewOracleClaimIterator
- type OracleEthLogUnlockProcessed
- type OracleEthLogUnlockProcessedIterator
- type OracleFilterer
- func (_Oracle *OracleFilterer) FilterEthLogNewOracleClaim(opts *bind.FilterOpts) (*OracleEthLogNewOracleClaimIterator, error)
- func (_Oracle *OracleFilterer) FilterEthLogUnlockProcessed(opts *bind.FilterOpts) (*OracleEthLogUnlockProcessedIterator, error)
- func (_Oracle *OracleFilterer) ParseEthLogNewOracleClaim(log types.Log) (*OracleEthLogNewOracleClaim, error)
- func (_Oracle *OracleFilterer) ParseEthLogUnlockProcessed(log types.Log) (*OracleEthLogUnlockProcessed, error)
- func (_Oracle *OracleFilterer) WatchEthLogNewOracleClaim(opts *bind.WatchOpts, sink chan<- *OracleEthLogNewOracleClaim) (event.Subscription, error)
- func (_Oracle *OracleFilterer) WatchEthLogUnlockProcessed(opts *bind.WatchOpts, sink chan<- *OracleEthLogUnlockProcessed) (event.Subscription, error)
- 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) BridgeRegistry() (common.Address, error)
- func (_Oracle *OracleSession) CheckBridgeUnlock(_unlockID *big.Int) (bool, *big.Int, *big.Int, error)
- func (_Oracle *OracleSession) ConsensusThreshold() (*big.Int, error)
- func (_Oracle *OracleSession) EthereumBridge() (common.Address, error)
- func (_Oracle *OracleSession) HasMadeClaim(arg0 *big.Int, arg1 common.Address) (bool, error)
- func (_Oracle *OracleSession) Initialize(_bridgeRegistry common.Address, _consensusThreshold *big.Int) (*types.Transaction, error)
- func (_Oracle *OracleSession) NewOracleClaim(_unlockID *big.Int, _message [32]byte, _signature []byte) (*types.Transaction, error)
- func (_Oracle *OracleSession) ORACLEREVISION() (*big.Int, error)
- func (_Oracle *OracleSession) Operator() (common.Address, error)
- func (_Oracle *OracleSession) OracleClaimValidators(arg0 *big.Int, arg1 *big.Int) (common.Address, error)
- func (_Oracle *OracleSession) ProcessBridgeUnlock(_unlockID *big.Int) (*types.Transaction, error)
- func (_Oracle *OracleSession) Valset() (common.Address, error)
- type OracleTransactor
- func (_Oracle *OracleTransactor) Initialize(opts *bind.TransactOpts, _bridgeRegistry common.Address, ...) (*types.Transaction, error)
- func (_Oracle *OracleTransactor) NewOracleClaim(opts *bind.TransactOpts, _unlockID *big.Int, _message [32]byte, ...) (*types.Transaction, error)
- func (_Oracle *OracleTransactor) ProcessBridgeUnlock(opts *bind.TransactOpts, _unlockID *big.Int) (*types.Transaction, error)
- type OracleTransactorRaw
- type OracleTransactorSession
- func (_Oracle *OracleTransactorSession) Initialize(_bridgeRegistry common.Address, _consensusThreshold *big.Int) (*types.Transaction, error)
- func (_Oracle *OracleTransactorSession) NewOracleClaim(_unlockID *big.Int, _message [32]byte, _signature []byte) (*types.Transaction, error)
- func (_Oracle *OracleTransactorSession) ProcessBridgeUnlock(_unlockID *big.Int) (*types.Transaction, error)
Constants ¶
const OracleABI = "" /* 4263-byte string literal not displayed */
OracleABI is the input ABI used to generate the binding from.
Variables ¶
var OracleBin = "" /* 15398-byte string literal not displayed */
OracleBin is the compiled bytecode used for deploying new contracts.
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) BridgeRegistry ¶
BridgeRegistry is a free data retrieval call binding the contract method 0x316be171.
Solidity: function bridgeRegistry() view returns(address)
func (*OracleCaller) CheckBridgeUnlock ¶
func (_Oracle *OracleCaller) CheckBridgeUnlock(opts *bind.CallOpts, _unlockID *big.Int) (bool, *big.Int, *big.Int, error)
CheckBridgeUnlock is a free data retrieval call binding the contract method 0x5ecab647.
Solidity: function checkBridgeUnlock(uint256 _unlockID) view returns(bool, uint256, uint256)
func (*OracleCaller) ConsensusThreshold ¶
ConsensusThreshold is a free data retrieval call binding the contract method 0xf9b0b5b9.
Solidity: function consensusThreshold() view returns(uint256)
func (*OracleCaller) EthereumBridge ¶
EthereumBridge is a free data retrieval call binding the contract method 0x1cf86a63.
Solidity: function ethereumBridge() view returns(address)
func (*OracleCaller) HasMadeClaim ¶
func (_Oracle *OracleCaller) HasMadeClaim(opts *bind.CallOpts, arg0 *big.Int, arg1 common.Address) (bool, error)
HasMadeClaim is a free data retrieval call binding the contract method 0xa219763e.
Solidity: function hasMadeClaim(uint256 , address ) view returns(bool)
func (*OracleCaller) ORACLEREVISION ¶
ORACLEREVISION is a free data retrieval call binding the contract method 0x996f5144.
Solidity: function ORACLE_REVISION() view returns(uint256)
func (*OracleCaller) Operator ¶
Operator is a free data retrieval call binding the contract method 0x570ca735.
Solidity: function operator() view returns(address)
func (*OracleCaller) OracleClaimValidators ¶
func (_Oracle *OracleCaller) OracleClaimValidators(opts *bind.CallOpts, arg0 *big.Int, arg1 *big.Int) (common.Address, error)
OracleClaimValidators is a free data retrieval call binding the contract method 0x36e41341.
Solidity: function oracleClaimValidators(uint256 , uint256 ) view returns(address)
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) BridgeRegistry ¶
func (_Oracle *OracleCallerSession) BridgeRegistry() (common.Address, error)
BridgeRegistry is a free data retrieval call binding the contract method 0x316be171.
Solidity: function bridgeRegistry() view returns(address)
func (*OracleCallerSession) CheckBridgeUnlock ¶
func (_Oracle *OracleCallerSession) CheckBridgeUnlock(_unlockID *big.Int) (bool, *big.Int, *big.Int, error)
CheckBridgeUnlock is a free data retrieval call binding the contract method 0x5ecab647.
Solidity: function checkBridgeUnlock(uint256 _unlockID) view returns(bool, uint256, uint256)
func (*OracleCallerSession) ConsensusThreshold ¶
func (_Oracle *OracleCallerSession) ConsensusThreshold() (*big.Int, error)
ConsensusThreshold is a free data retrieval call binding the contract method 0xf9b0b5b9.
Solidity: function consensusThreshold() view returns(uint256)
func (*OracleCallerSession) EthereumBridge ¶
func (_Oracle *OracleCallerSession) EthereumBridge() (common.Address, error)
EthereumBridge is a free data retrieval call binding the contract method 0x1cf86a63.
Solidity: function ethereumBridge() view returns(address)
func (*OracleCallerSession) HasMadeClaim ¶
HasMadeClaim is a free data retrieval call binding the contract method 0xa219763e.
Solidity: function hasMadeClaim(uint256 , address ) view returns(bool)
func (*OracleCallerSession) ORACLEREVISION ¶
func (_Oracle *OracleCallerSession) ORACLEREVISION() (*big.Int, error)
ORACLEREVISION is a free data retrieval call binding the contract method 0x996f5144.
Solidity: function ORACLE_REVISION() view returns(uint256)
func (*OracleCallerSession) Operator ¶
func (_Oracle *OracleCallerSession) Operator() (common.Address, error)
Operator is a free data retrieval call binding the contract method 0x570ca735.
Solidity: function operator() view returns(address)
func (*OracleCallerSession) OracleClaimValidators ¶
func (_Oracle *OracleCallerSession) OracleClaimValidators(arg0 *big.Int, arg1 *big.Int) (common.Address, error)
OracleClaimValidators is a free data retrieval call binding the contract method 0x36e41341.
Solidity: function oracleClaimValidators(uint256 , uint256 ) view returns(address)
type OracleEthLogNewOracleClaim ¶
type OracleEthLogNewOracleClaim struct { UnlockID *big.Int Message [32]byte ValidatorAddress common.Address Signature []byte Raw types.Log // Blockchain specific contextual infos }
OracleEthLogNewOracleClaim represents a EthLogNewOracleClaim event raised by the Oracle contract.
type OracleEthLogNewOracleClaimIterator ¶
type OracleEthLogNewOracleClaimIterator struct { Event *OracleEthLogNewOracleClaim // Event containing the contract specifics and raw log // contains filtered or unexported fields }
OracleEthLogNewOracleClaimIterator is returned from FilterEthLogNewOracleClaim and is used to iterate over the raw logs and unpacked data for EthLogNewOracleClaim events raised by the Oracle contract.
func (*OracleEthLogNewOracleClaimIterator) Close ¶
func (it *OracleEthLogNewOracleClaimIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OracleEthLogNewOracleClaimIterator) Error ¶
func (it *OracleEthLogNewOracleClaimIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OracleEthLogNewOracleClaimIterator) Next ¶
func (it *OracleEthLogNewOracleClaimIterator) 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 OracleEthLogUnlockProcessed ¶
type OracleEthLogUnlockProcessed struct { UnlockID *big.Int ProphecyPowerCurrent *big.Int ProphecyPowerThreshold *big.Int Submitter common.Address Raw types.Log // Blockchain specific contextual infos }
OracleEthLogUnlockProcessed represents a EthLogUnlockProcessed event raised by the Oracle contract.
type OracleEthLogUnlockProcessedIterator ¶
type OracleEthLogUnlockProcessedIterator struct { Event *OracleEthLogUnlockProcessed // Event containing the contract specifics and raw log // contains filtered or unexported fields }
OracleEthLogUnlockProcessedIterator is returned from FilterEthLogUnlockProcessed and is used to iterate over the raw logs and unpacked data for EthLogUnlockProcessed events raised by the Oracle contract.
func (*OracleEthLogUnlockProcessedIterator) Close ¶
func (it *OracleEthLogUnlockProcessedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OracleEthLogUnlockProcessedIterator) Error ¶
func (it *OracleEthLogUnlockProcessedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OracleEthLogUnlockProcessedIterator) Next ¶
func (it *OracleEthLogUnlockProcessedIterator) 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 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.
func (*OracleFilterer) FilterEthLogNewOracleClaim ¶
func (_Oracle *OracleFilterer) FilterEthLogNewOracleClaim(opts *bind.FilterOpts) (*OracleEthLogNewOracleClaimIterator, error)
FilterEthLogNewOracleClaim is a free log retrieval operation binding the contract event 0x2044e3f2f4a0e17625f1a884d866d6cad0cc709957cdac54c4218bd39af180c4.
Solidity: event EthLogNewOracleClaim(uint256 _unlockID, bytes32 _message, address _validatorAddress, bytes _signature)
func (*OracleFilterer) FilterEthLogUnlockProcessed ¶
func (_Oracle *OracleFilterer) FilterEthLogUnlockProcessed(opts *bind.FilterOpts) (*OracleEthLogUnlockProcessedIterator, error)
FilterEthLogUnlockProcessed is a free log retrieval operation binding the contract event 0x49d4d330587ca24c6c2c18500b1e3d931dea6d8011a7fd0b3404f4efa3ce91bb.
Solidity: event EthLogUnlockProcessed(uint256 _unlockID, uint256 _prophecyPowerCurrent, uint256 _prophecyPowerThreshold, address _submitter)
func (*OracleFilterer) ParseEthLogNewOracleClaim ¶
func (_Oracle *OracleFilterer) ParseEthLogNewOracleClaim(log types.Log) (*OracleEthLogNewOracleClaim, error)
ParseEthLogNewOracleClaim is a log parse operation binding the contract event 0x2044e3f2f4a0e17625f1a884d866d6cad0cc709957cdac54c4218bd39af180c4.
Solidity: event EthLogNewOracleClaim(uint256 _unlockID, bytes32 _message, address _validatorAddress, bytes _signature)
func (*OracleFilterer) ParseEthLogUnlockProcessed ¶
func (_Oracle *OracleFilterer) ParseEthLogUnlockProcessed(log types.Log) (*OracleEthLogUnlockProcessed, error)
ParseEthLogUnlockProcessed is a log parse operation binding the contract event 0x49d4d330587ca24c6c2c18500b1e3d931dea6d8011a7fd0b3404f4efa3ce91bb.
Solidity: event EthLogUnlockProcessed(uint256 _unlockID, uint256 _prophecyPowerCurrent, uint256 _prophecyPowerThreshold, address _submitter)
func (*OracleFilterer) WatchEthLogNewOracleClaim ¶
func (_Oracle *OracleFilterer) WatchEthLogNewOracleClaim(opts *bind.WatchOpts, sink chan<- *OracleEthLogNewOracleClaim) (event.Subscription, error)
WatchEthLogNewOracleClaim is a free log subscription operation binding the contract event 0x2044e3f2f4a0e17625f1a884d866d6cad0cc709957cdac54c4218bd39af180c4.
Solidity: event EthLogNewOracleClaim(uint256 _unlockID, bytes32 _message, address _validatorAddress, bytes _signature)
func (*OracleFilterer) WatchEthLogUnlockProcessed ¶
func (_Oracle *OracleFilterer) WatchEthLogUnlockProcessed(opts *bind.WatchOpts, sink chan<- *OracleEthLogUnlockProcessed) (event.Subscription, error)
WatchEthLogUnlockProcessed is a free log subscription operation binding the contract event 0x49d4d330587ca24c6c2c18500b1e3d931dea6d8011a7fd0b3404f4efa3ce91bb.
Solidity: event EthLogUnlockProcessed(uint256 _unlockID, uint256 _prophecyPowerCurrent, uint256 _prophecyPowerThreshold, address _submitter)
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) BridgeRegistry ¶
func (_Oracle *OracleSession) BridgeRegistry() (common.Address, error)
BridgeRegistry is a free data retrieval call binding the contract method 0x316be171.
Solidity: function bridgeRegistry() view returns(address)
func (*OracleSession) CheckBridgeUnlock ¶
func (_Oracle *OracleSession) CheckBridgeUnlock(_unlockID *big.Int) (bool, *big.Int, *big.Int, error)
CheckBridgeUnlock is a free data retrieval call binding the contract method 0x5ecab647.
Solidity: function checkBridgeUnlock(uint256 _unlockID) view returns(bool, uint256, uint256)
func (*OracleSession) ConsensusThreshold ¶
func (_Oracle *OracleSession) ConsensusThreshold() (*big.Int, error)
ConsensusThreshold is a free data retrieval call binding the contract method 0xf9b0b5b9.
Solidity: function consensusThreshold() view returns(uint256)
func (*OracleSession) EthereumBridge ¶
func (_Oracle *OracleSession) EthereumBridge() (common.Address, error)
EthereumBridge is a free data retrieval call binding the contract method 0x1cf86a63.
Solidity: function ethereumBridge() view returns(address)
func (*OracleSession) HasMadeClaim ¶
HasMadeClaim is a free data retrieval call binding the contract method 0xa219763e.
Solidity: function hasMadeClaim(uint256 , address ) view returns(bool)
func (*OracleSession) Initialize ¶
func (_Oracle *OracleSession) Initialize(_bridgeRegistry common.Address, _consensusThreshold *big.Int) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xcd6dc687.
Solidity: function initialize(address _bridgeRegistry, uint256 _consensusThreshold) returns()
func (*OracleSession) NewOracleClaim ¶
func (_Oracle *OracleSession) NewOracleClaim(_unlockID *big.Int, _message [32]byte, _signature []byte) (*types.Transaction, error)
NewOracleClaim is a paid mutator transaction binding the contract method 0x568b3c4f.
Solidity: function newOracleClaim(uint256 _unlockID, bytes32 _message, bytes _signature) returns()
func (*OracleSession) ORACLEREVISION ¶
func (_Oracle *OracleSession) ORACLEREVISION() (*big.Int, error)
ORACLEREVISION is a free data retrieval call binding the contract method 0x996f5144.
Solidity: function ORACLE_REVISION() view returns(uint256)
func (*OracleSession) Operator ¶
func (_Oracle *OracleSession) Operator() (common.Address, error)
Operator is a free data retrieval call binding the contract method 0x570ca735.
Solidity: function operator() view returns(address)
func (*OracleSession) OracleClaimValidators ¶
func (_Oracle *OracleSession) OracleClaimValidators(arg0 *big.Int, arg1 *big.Int) (common.Address, error)
OracleClaimValidators is a free data retrieval call binding the contract method 0x36e41341.
Solidity: function oracleClaimValidators(uint256 , uint256 ) view returns(address)
func (*OracleSession) ProcessBridgeUnlock ¶
func (_Oracle *OracleSession) ProcessBridgeUnlock(_unlockID *big.Int) (*types.Transaction, error)
ProcessBridgeUnlock is a paid mutator transaction binding the contract method 0x49f7c797.
Solidity: function processBridgeUnlock(uint256 _unlockID) returns()
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) Initialize ¶
func (_Oracle *OracleTransactor) Initialize(opts *bind.TransactOpts, _bridgeRegistry common.Address, _consensusThreshold *big.Int) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xcd6dc687.
Solidity: function initialize(address _bridgeRegistry, uint256 _consensusThreshold) returns()
func (*OracleTransactor) NewOracleClaim ¶
func (_Oracle *OracleTransactor) NewOracleClaim(opts *bind.TransactOpts, _unlockID *big.Int, _message [32]byte, _signature []byte) (*types.Transaction, error)
NewOracleClaim is a paid mutator transaction binding the contract method 0x568b3c4f.
Solidity: function newOracleClaim(uint256 _unlockID, bytes32 _message, bytes _signature) returns()
func (*OracleTransactor) ProcessBridgeUnlock ¶
func (_Oracle *OracleTransactor) ProcessBridgeUnlock(opts *bind.TransactOpts, _unlockID *big.Int) (*types.Transaction, error)
ProcessBridgeUnlock is a paid mutator transaction binding the contract method 0x49f7c797.
Solidity: function processBridgeUnlock(uint256 _unlockID) returns()
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) Initialize ¶
func (_Oracle *OracleTransactorSession) Initialize(_bridgeRegistry common.Address, _consensusThreshold *big.Int) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xcd6dc687.
Solidity: function initialize(address _bridgeRegistry, uint256 _consensusThreshold) returns()
func (*OracleTransactorSession) NewOracleClaim ¶
func (_Oracle *OracleTransactorSession) NewOracleClaim(_unlockID *big.Int, _message [32]byte, _signature []byte) (*types.Transaction, error)
NewOracleClaim is a paid mutator transaction binding the contract method 0x568b3c4f.
Solidity: function newOracleClaim(uint256 _unlockID, bytes32 _message, bytes _signature) returns()
func (*OracleTransactorSession) ProcessBridgeUnlock ¶
func (_Oracle *OracleTransactorSession) ProcessBridgeUnlock(_unlockID *big.Int) (*types.Transaction, error)
ProcessBridgeUnlock is a paid mutator transaction binding the contract method 0x49f7c797.
Solidity: function processBridgeUnlock(uint256 _unlockID) returns()