Documentation ¶
Index ¶
- Constants
- Variables
- type EthereumBridge
- type EthereumBridgeCaller
- func (_EthereumBridge *EthereumBridgeCaller) BridgeBank(opts *bind.CallOpts) (common.Address, error)
- func (_EthereumBridge *EthereumBridgeCaller) BridgeRegistry(opts *bind.CallOpts) (common.Address, error)
- func (_EthereumBridge *EthereumBridgeCaller) HARMONYBRIDGEREVISION(opts *bind.CallOpts) (*big.Int, error)
- func (_EthereumBridge *EthereumBridgeCaller) IsUnlockClaimActive(opts *bind.CallOpts, _unlockID *big.Int) (bool, error)
- func (_EthereumBridge *EthereumBridgeCaller) IsUnlockClaimValidatorActive(opts *bind.CallOpts, _unlockID *big.Int) (bool, error)
- func (_EthereumBridge *EthereumBridgeCaller) Operator(opts *bind.CallOpts) (common.Address, error)
- func (_EthereumBridge *EthereumBridgeCaller) Oracle(opts *bind.CallOpts) (common.Address, error)
- func (_EthereumBridge *EthereumBridgeCaller) UnlockClaimCount(opts *bind.CallOpts) (*big.Int, error)
- func (_EthereumBridge *EthereumBridgeCaller) UnlockClaims(opts *bind.CallOpts, arg0 *big.Int) (struct{ ... }, error)
- func (_EthereumBridge *EthereumBridgeCaller) Valset(opts *bind.CallOpts) (common.Address, error)
- type EthereumBridgeCallerRaw
- type EthereumBridgeCallerSession
- func (_EthereumBridge *EthereumBridgeCallerSession) BridgeBank() (common.Address, error)
- func (_EthereumBridge *EthereumBridgeCallerSession) BridgeRegistry() (common.Address, error)
- func (_EthereumBridge *EthereumBridgeCallerSession) HARMONYBRIDGEREVISION() (*big.Int, error)
- func (_EthereumBridge *EthereumBridgeCallerSession) IsUnlockClaimActive(_unlockID *big.Int) (bool, error)
- func (_EthereumBridge *EthereumBridgeCallerSession) IsUnlockClaimValidatorActive(_unlockID *big.Int) (bool, error)
- func (_EthereumBridge *EthereumBridgeCallerSession) Operator() (common.Address, error)
- func (_EthereumBridge *EthereumBridgeCallerSession) Oracle() (common.Address, error)
- func (_EthereumBridge *EthereumBridgeCallerSession) UnlockClaimCount() (*big.Int, error)
- func (_EthereumBridge *EthereumBridgeCallerSession) UnlockClaims(arg0 *big.Int) (struct{ ... }, error)
- func (_EthereumBridge *EthereumBridgeCallerSession) Valset() (common.Address, error)
- type EthereumBridgeFilterer
- func (_EthereumBridge *EthereumBridgeFilterer) FilterHmyLogNewUnlockClaim(opts *bind.FilterOpts) (*EthereumBridgeHmyLogNewUnlockClaimIterator, error)
- func (_EthereumBridge *EthereumBridgeFilterer) FilterHmyLogUnlockCompleted(opts *bind.FilterOpts) (*EthereumBridgeHmyLogUnlockCompletedIterator, error)
- func (_EthereumBridge *EthereumBridgeFilterer) ParseHmyLogNewUnlockClaim(log types.Log) (*EthereumBridgeHmyLogNewUnlockClaim, error)
- func (_EthereumBridge *EthereumBridgeFilterer) ParseHmyLogUnlockCompleted(log types.Log) (*EthereumBridgeHmyLogUnlockCompleted, error)
- func (_EthereumBridge *EthereumBridgeFilterer) WatchHmyLogNewUnlockClaim(opts *bind.WatchOpts, sink chan<- *EthereumBridgeHmyLogNewUnlockClaim) (event.Subscription, error)
- func (_EthereumBridge *EthereumBridgeFilterer) WatchHmyLogUnlockCompleted(opts *bind.WatchOpts, sink chan<- *EthereumBridgeHmyLogUnlockCompleted) (event.Subscription, error)
- type EthereumBridgeHmyLogNewUnlockClaim
- type EthereumBridgeHmyLogNewUnlockClaimIterator
- type EthereumBridgeHmyLogUnlockCompleted
- type EthereumBridgeHmyLogUnlockCompletedIterator
- type EthereumBridgeRaw
- func (_EthereumBridge *EthereumBridgeRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_EthereumBridge *EthereumBridgeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_EthereumBridge *EthereumBridgeRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type EthereumBridgeSession
- func (_EthereumBridge *EthereumBridgeSession) BridgeBank() (common.Address, error)
- func (_EthereumBridge *EthereumBridgeSession) BridgeRegistry() (common.Address, error)
- func (_EthereumBridge *EthereumBridgeSession) CompleteUnlockClaim(_unlockID *big.Int) (*types.Transaction, error)
- func (_EthereumBridge *EthereumBridgeSession) HARMONYBRIDGEREVISION() (*big.Int, error)
- func (_EthereumBridge *EthereumBridgeSession) Initialize(_bridgeRegistry common.Address) (*types.Transaction, error)
- func (_EthereumBridge *EthereumBridgeSession) IsUnlockClaimActive(_unlockID *big.Int) (bool, error)
- func (_EthereumBridge *EthereumBridgeSession) IsUnlockClaimValidatorActive(_unlockID *big.Int) (bool, error)
- func (_EthereumBridge *EthereumBridgeSession) NewUnlockClaim(_ethereumSender common.Address, _harmonyReceiver common.Address, ...) (*types.Transaction, error)
- func (_EthereumBridge *EthereumBridgeSession) Operator() (common.Address, error)
- func (_EthereumBridge *EthereumBridgeSession) Oracle() (common.Address, error)
- func (_EthereumBridge *EthereumBridgeSession) UnlockClaimCount() (*big.Int, error)
- func (_EthereumBridge *EthereumBridgeSession) UnlockClaims(arg0 *big.Int) (struct{ ... }, error)
- func (_EthereumBridge *EthereumBridgeSession) Valset() (common.Address, error)
- type EthereumBridgeTransactor
- func (_EthereumBridge *EthereumBridgeTransactor) CompleteUnlockClaim(opts *bind.TransactOpts, _unlockID *big.Int) (*types.Transaction, error)
- func (_EthereumBridge *EthereumBridgeTransactor) Initialize(opts *bind.TransactOpts, _bridgeRegistry common.Address) (*types.Transaction, error)
- func (_EthereumBridge *EthereumBridgeTransactor) NewUnlockClaim(opts *bind.TransactOpts, _ethereumSender common.Address, ...) (*types.Transaction, error)
- type EthereumBridgeTransactorRaw
- type EthereumBridgeTransactorSession
- func (_EthereumBridge *EthereumBridgeTransactorSession) CompleteUnlockClaim(_unlockID *big.Int) (*types.Transaction, error)
- func (_EthereumBridge *EthereumBridgeTransactorSession) Initialize(_bridgeRegistry common.Address) (*types.Transaction, error)
- func (_EthereumBridge *EthereumBridgeTransactorSession) NewUnlockClaim(_ethereumSender common.Address, _harmonyReceiver common.Address, ...) (*types.Transaction, error)
Constants ¶
const EthereumBridgeABI = "" /* 4555-byte string literal not displayed */
EthereumBridgeABI is the input ABI used to generate the binding from.
Variables ¶
var EthereumBridgeBin = "" /* 14882-byte string literal not displayed */
EthereumBridgeBin is the compiled bytecode used for deploying new contracts.
Functions ¶
This section is empty.
Types ¶
type EthereumBridge ¶
type EthereumBridge struct { EthereumBridgeCaller // Read-only binding to the contract EthereumBridgeTransactor // Write-only binding to the contract EthereumBridgeFilterer // Log filterer for contract events }
EthereumBridge is an auto generated Go binding around an Ethereum contract.
func DeployEthereumBridge ¶
func DeployEthereumBridge(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *EthereumBridge, error)
DeployEthereumBridge deploys a new Ethereum contract, binding an instance of EthereumBridge to it.
func NewEthereumBridge ¶
func NewEthereumBridge(address common.Address, backend bind.ContractBackend) (*EthereumBridge, error)
NewEthereumBridge creates a new instance of EthereumBridge, bound to a specific deployed contract.
type EthereumBridgeCaller ¶
type EthereumBridgeCaller struct {
// contains filtered or unexported fields
}
EthereumBridgeCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewEthereumBridgeCaller ¶
func NewEthereumBridgeCaller(address common.Address, caller bind.ContractCaller) (*EthereumBridgeCaller, error)
NewEthereumBridgeCaller creates a new read-only instance of EthereumBridge, bound to a specific deployed contract.
func (*EthereumBridgeCaller) BridgeBank ¶
func (_EthereumBridge *EthereumBridgeCaller) BridgeBank(opts *bind.CallOpts) (common.Address, error)
BridgeBank is a free data retrieval call binding the contract method 0x0e41f373.
Solidity: function bridgeBank() view returns(address)
func (*EthereumBridgeCaller) BridgeRegistry ¶
func (_EthereumBridge *EthereumBridgeCaller) BridgeRegistry(opts *bind.CallOpts) (common.Address, error)
BridgeRegistry is a free data retrieval call binding the contract method 0x316be171.
Solidity: function bridgeRegistry() view returns(address)
func (*EthereumBridgeCaller) HARMONYBRIDGEREVISION ¶
func (_EthereumBridge *EthereumBridgeCaller) HARMONYBRIDGEREVISION(opts *bind.CallOpts) (*big.Int, error)
HARMONYBRIDGEREVISION is a free data retrieval call binding the contract method 0xb1c51a80.
Solidity: function HARMONYBRIDGE_REVISION() view returns(uint256)
func (*EthereumBridgeCaller) IsUnlockClaimActive ¶
func (_EthereumBridge *EthereumBridgeCaller) IsUnlockClaimActive(opts *bind.CallOpts, _unlockID *big.Int) (bool, error)
IsUnlockClaimActive is a free data retrieval call binding the contract method 0x1a86e377.
Solidity: function isUnlockClaimActive(uint256 _unlockID) view returns(bool)
func (*EthereumBridgeCaller) IsUnlockClaimValidatorActive ¶
func (_EthereumBridge *EthereumBridgeCaller) IsUnlockClaimValidatorActive(opts *bind.CallOpts, _unlockID *big.Int) (bool, error)
IsUnlockClaimValidatorActive is a free data retrieval call binding the contract method 0xcf93b56c.
Solidity: function isUnlockClaimValidatorActive(uint256 _unlockID) view returns(bool)
func (*EthereumBridgeCaller) Operator ¶
Operator is a free data retrieval call binding the contract method 0x570ca735.
Solidity: function operator() view returns(address)
func (*EthereumBridgeCaller) Oracle ¶
Oracle is a free data retrieval call binding the contract method 0x7dc0d1d0.
Solidity: function oracle() view returns(address)
func (*EthereumBridgeCaller) UnlockClaimCount ¶
func (_EthereumBridge *EthereumBridgeCaller) UnlockClaimCount(opts *bind.CallOpts) (*big.Int, error)
UnlockClaimCount is a free data retrieval call binding the contract method 0xb1493ce0.
Solidity: function unlockClaimCount() view returns(uint256)
func (*EthereumBridgeCaller) UnlockClaims ¶
func (_EthereumBridge *EthereumBridgeCaller) UnlockClaims(opts *bind.CallOpts, arg0 *big.Int) (struct { EthereumSender common.Address HarmonyReceiver common.Address OriginalValidator common.Address Token common.Address Amount *big.Int Status uint8 }, error)
UnlockClaims is a free data retrieval call binding the contract method 0x7c5d7590.
Solidity: function unlockClaims(uint256 ) view returns(address ethereumSender, address harmonyReceiver, address originalValidator, address token, uint256 amount, uint8 status)
type EthereumBridgeCallerRaw ¶
type EthereumBridgeCallerRaw struct {
Contract *EthereumBridgeCaller // Generic read-only contract binding to access the raw methods on
}
EthereumBridgeCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*EthereumBridgeCallerRaw) Call ¶
func (_EthereumBridge *EthereumBridgeCallerRaw) 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 EthereumBridgeCallerSession ¶
type EthereumBridgeCallerSession struct { Contract *EthereumBridgeCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
EthereumBridgeCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*EthereumBridgeCallerSession) BridgeBank ¶
func (_EthereumBridge *EthereumBridgeCallerSession) BridgeBank() (common.Address, error)
BridgeBank is a free data retrieval call binding the contract method 0x0e41f373.
Solidity: function bridgeBank() view returns(address)
func (*EthereumBridgeCallerSession) BridgeRegistry ¶
func (_EthereumBridge *EthereumBridgeCallerSession) BridgeRegistry() (common.Address, error)
BridgeRegistry is a free data retrieval call binding the contract method 0x316be171.
Solidity: function bridgeRegistry() view returns(address)
func (*EthereumBridgeCallerSession) HARMONYBRIDGEREVISION ¶
func (_EthereumBridge *EthereumBridgeCallerSession) HARMONYBRIDGEREVISION() (*big.Int, error)
HARMONYBRIDGEREVISION is a free data retrieval call binding the contract method 0xb1c51a80.
Solidity: function HARMONYBRIDGE_REVISION() view returns(uint256)
func (*EthereumBridgeCallerSession) IsUnlockClaimActive ¶
func (_EthereumBridge *EthereumBridgeCallerSession) IsUnlockClaimActive(_unlockID *big.Int) (bool, error)
IsUnlockClaimActive is a free data retrieval call binding the contract method 0x1a86e377.
Solidity: function isUnlockClaimActive(uint256 _unlockID) view returns(bool)
func (*EthereumBridgeCallerSession) IsUnlockClaimValidatorActive ¶
func (_EthereumBridge *EthereumBridgeCallerSession) IsUnlockClaimValidatorActive(_unlockID *big.Int) (bool, error)
IsUnlockClaimValidatorActive is a free data retrieval call binding the contract method 0xcf93b56c.
Solidity: function isUnlockClaimValidatorActive(uint256 _unlockID) view returns(bool)
func (*EthereumBridgeCallerSession) Operator ¶
func (_EthereumBridge *EthereumBridgeCallerSession) Operator() (common.Address, error)
Operator is a free data retrieval call binding the contract method 0x570ca735.
Solidity: function operator() view returns(address)
func (*EthereumBridgeCallerSession) Oracle ¶
func (_EthereumBridge *EthereumBridgeCallerSession) Oracle() (common.Address, error)
Oracle is a free data retrieval call binding the contract method 0x7dc0d1d0.
Solidity: function oracle() view returns(address)
func (*EthereumBridgeCallerSession) UnlockClaimCount ¶
func (_EthereumBridge *EthereumBridgeCallerSession) UnlockClaimCount() (*big.Int, error)
UnlockClaimCount is a free data retrieval call binding the contract method 0xb1493ce0.
Solidity: function unlockClaimCount() view returns(uint256)
func (*EthereumBridgeCallerSession) UnlockClaims ¶
func (_EthereumBridge *EthereumBridgeCallerSession) UnlockClaims(arg0 *big.Int) (struct { EthereumSender common.Address HarmonyReceiver common.Address OriginalValidator common.Address Token common.Address Amount *big.Int Status uint8 }, error)
UnlockClaims is a free data retrieval call binding the contract method 0x7c5d7590.
Solidity: function unlockClaims(uint256 ) view returns(address ethereumSender, address harmonyReceiver, address originalValidator, address token, uint256 amount, uint8 status)
type EthereumBridgeFilterer ¶
type EthereumBridgeFilterer struct {
// contains filtered or unexported fields
}
EthereumBridgeFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewEthereumBridgeFilterer ¶
func NewEthereumBridgeFilterer(address common.Address, filterer bind.ContractFilterer) (*EthereumBridgeFilterer, error)
NewEthereumBridgeFilterer creates a new log filterer instance of EthereumBridge, bound to a specific deployed contract.
func (*EthereumBridgeFilterer) FilterHmyLogNewUnlockClaim ¶
func (_EthereumBridge *EthereumBridgeFilterer) FilterHmyLogNewUnlockClaim(opts *bind.FilterOpts) (*EthereumBridgeHmyLogNewUnlockClaimIterator, error)
FilterHmyLogNewUnlockClaim is a free log retrieval operation binding the contract event 0xaeac38f4f561543d773d127aadc54cc1c83684be65b0ecf15dcc0232fadf1449.
Solidity: event HmyLogNewUnlockClaim(uint256 _unlockID, address _ethereumSender, address _harmonyReceiver, address _validatorAddress, address _tokenAddress, uint256 _amount)
func (*EthereumBridgeFilterer) FilterHmyLogUnlockCompleted ¶
func (_EthereumBridge *EthereumBridgeFilterer) FilterHmyLogUnlockCompleted(opts *bind.FilterOpts) (*EthereumBridgeHmyLogUnlockCompletedIterator, error)
FilterHmyLogUnlockCompleted is a free log retrieval operation binding the contract event 0xace8053805be17e29b4a9ca915b3a6d15949a53b5733a1fb027be2bdff393cfb.
Solidity: event HmyLogUnlockCompleted(uint256 _unlockID)
func (*EthereumBridgeFilterer) ParseHmyLogNewUnlockClaim ¶
func (_EthereumBridge *EthereumBridgeFilterer) ParseHmyLogNewUnlockClaim(log types.Log) (*EthereumBridgeHmyLogNewUnlockClaim, error)
ParseHmyLogNewUnlockClaim is a log parse operation binding the contract event 0xaeac38f4f561543d773d127aadc54cc1c83684be65b0ecf15dcc0232fadf1449.
Solidity: event HmyLogNewUnlockClaim(uint256 _unlockID, address _ethereumSender, address _harmonyReceiver, address _validatorAddress, address _tokenAddress, uint256 _amount)
func (*EthereumBridgeFilterer) ParseHmyLogUnlockCompleted ¶
func (_EthereumBridge *EthereumBridgeFilterer) ParseHmyLogUnlockCompleted(log types.Log) (*EthereumBridgeHmyLogUnlockCompleted, error)
ParseHmyLogUnlockCompleted is a log parse operation binding the contract event 0xace8053805be17e29b4a9ca915b3a6d15949a53b5733a1fb027be2bdff393cfb.
Solidity: event HmyLogUnlockCompleted(uint256 _unlockID)
func (*EthereumBridgeFilterer) WatchHmyLogNewUnlockClaim ¶
func (_EthereumBridge *EthereumBridgeFilterer) WatchHmyLogNewUnlockClaim(opts *bind.WatchOpts, sink chan<- *EthereumBridgeHmyLogNewUnlockClaim) (event.Subscription, error)
WatchHmyLogNewUnlockClaim is a free log subscription operation binding the contract event 0xaeac38f4f561543d773d127aadc54cc1c83684be65b0ecf15dcc0232fadf1449.
Solidity: event HmyLogNewUnlockClaim(uint256 _unlockID, address _ethereumSender, address _harmonyReceiver, address _validatorAddress, address _tokenAddress, uint256 _amount)
func (*EthereumBridgeFilterer) WatchHmyLogUnlockCompleted ¶
func (_EthereumBridge *EthereumBridgeFilterer) WatchHmyLogUnlockCompleted(opts *bind.WatchOpts, sink chan<- *EthereumBridgeHmyLogUnlockCompleted) (event.Subscription, error)
WatchHmyLogUnlockCompleted is a free log subscription operation binding the contract event 0xace8053805be17e29b4a9ca915b3a6d15949a53b5733a1fb027be2bdff393cfb.
Solidity: event HmyLogUnlockCompleted(uint256 _unlockID)
type EthereumBridgeHmyLogNewUnlockClaim ¶
type EthereumBridgeHmyLogNewUnlockClaim struct { UnlockID *big.Int EthereumSender common.Address HarmonyReceiver common.Address ValidatorAddress common.Address TokenAddress common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
EthereumBridgeHmyLogNewUnlockClaim represents a HmyLogNewUnlockClaim event raised by the EthereumBridge contract.
type EthereumBridgeHmyLogNewUnlockClaimIterator ¶
type EthereumBridgeHmyLogNewUnlockClaimIterator struct { Event *EthereumBridgeHmyLogNewUnlockClaim // Event containing the contract specifics and raw log // contains filtered or unexported fields }
EthereumBridgeHmyLogNewUnlockClaimIterator is returned from FilterHmyLogNewUnlockClaim and is used to iterate over the raw logs and unpacked data for HmyLogNewUnlockClaim events raised by the EthereumBridge contract.
func (*EthereumBridgeHmyLogNewUnlockClaimIterator) Close ¶
func (it *EthereumBridgeHmyLogNewUnlockClaimIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*EthereumBridgeHmyLogNewUnlockClaimIterator) Error ¶
func (it *EthereumBridgeHmyLogNewUnlockClaimIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*EthereumBridgeHmyLogNewUnlockClaimIterator) Next ¶
func (it *EthereumBridgeHmyLogNewUnlockClaimIterator) 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 EthereumBridgeHmyLogUnlockCompleted ¶
type EthereumBridgeHmyLogUnlockCompleted struct { UnlockID *big.Int Raw types.Log // Blockchain specific contextual infos }
EthereumBridgeHmyLogUnlockCompleted represents a HmyLogUnlockCompleted event raised by the EthereumBridge contract.
type EthereumBridgeHmyLogUnlockCompletedIterator ¶
type EthereumBridgeHmyLogUnlockCompletedIterator struct { Event *EthereumBridgeHmyLogUnlockCompleted // Event containing the contract specifics and raw log // contains filtered or unexported fields }
EthereumBridgeHmyLogUnlockCompletedIterator is returned from FilterHmyLogUnlockCompleted and is used to iterate over the raw logs and unpacked data for HmyLogUnlockCompleted events raised by the EthereumBridge contract.
func (*EthereumBridgeHmyLogUnlockCompletedIterator) Close ¶
func (it *EthereumBridgeHmyLogUnlockCompletedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*EthereumBridgeHmyLogUnlockCompletedIterator) Error ¶
func (it *EthereumBridgeHmyLogUnlockCompletedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*EthereumBridgeHmyLogUnlockCompletedIterator) Next ¶
func (it *EthereumBridgeHmyLogUnlockCompletedIterator) 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 EthereumBridgeRaw ¶
type EthereumBridgeRaw struct {
Contract *EthereumBridge // Generic contract binding to access the raw methods on
}
EthereumBridgeRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*EthereumBridgeRaw) Call ¶
func (_EthereumBridge *EthereumBridgeRaw) 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 (*EthereumBridgeRaw) Transact ¶
func (_EthereumBridge *EthereumBridgeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*EthereumBridgeRaw) Transfer ¶
func (_EthereumBridge *EthereumBridgeRaw) 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 EthereumBridgeSession ¶
type EthereumBridgeSession struct { Contract *EthereumBridge // 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 }
EthereumBridgeSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*EthereumBridgeSession) BridgeBank ¶
func (_EthereumBridge *EthereumBridgeSession) BridgeBank() (common.Address, error)
BridgeBank is a free data retrieval call binding the contract method 0x0e41f373.
Solidity: function bridgeBank() view returns(address)
func (*EthereumBridgeSession) BridgeRegistry ¶
func (_EthereumBridge *EthereumBridgeSession) BridgeRegistry() (common.Address, error)
BridgeRegistry is a free data retrieval call binding the contract method 0x316be171.
Solidity: function bridgeRegistry() view returns(address)
func (*EthereumBridgeSession) CompleteUnlockClaim ¶
func (_EthereumBridge *EthereumBridgeSession) CompleteUnlockClaim(_unlockID *big.Int) (*types.Transaction, error)
CompleteUnlockClaim is a paid mutator transaction binding the contract method 0x9e67206d.
Solidity: function completeUnlockClaim(uint256 _unlockID) returns()
func (*EthereumBridgeSession) HARMONYBRIDGEREVISION ¶
func (_EthereumBridge *EthereumBridgeSession) HARMONYBRIDGEREVISION() (*big.Int, error)
HARMONYBRIDGEREVISION is a free data retrieval call binding the contract method 0xb1c51a80.
Solidity: function HARMONYBRIDGE_REVISION() view returns(uint256)
func (*EthereumBridgeSession) Initialize ¶
func (_EthereumBridge *EthereumBridgeSession) Initialize(_bridgeRegistry common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xc4d66de8.
Solidity: function initialize(address _bridgeRegistry) returns()
func (*EthereumBridgeSession) IsUnlockClaimActive ¶
func (_EthereumBridge *EthereumBridgeSession) IsUnlockClaimActive(_unlockID *big.Int) (bool, error)
IsUnlockClaimActive is a free data retrieval call binding the contract method 0x1a86e377.
Solidity: function isUnlockClaimActive(uint256 _unlockID) view returns(bool)
func (*EthereumBridgeSession) IsUnlockClaimValidatorActive ¶
func (_EthereumBridge *EthereumBridgeSession) IsUnlockClaimValidatorActive(_unlockID *big.Int) (bool, error)
IsUnlockClaimValidatorActive is a free data retrieval call binding the contract method 0xcf93b56c.
Solidity: function isUnlockClaimValidatorActive(uint256 _unlockID) view returns(bool)
func (*EthereumBridgeSession) NewUnlockClaim ¶
func (_EthereumBridge *EthereumBridgeSession) NewUnlockClaim(_ethereumSender common.Address, _harmonyReceiver common.Address, _token common.Address, _amount *big.Int) (*types.Transaction, error)
NewUnlockClaim is a paid mutator transaction binding the contract method 0x60cf6648.
Solidity: function newUnlockClaim(address _ethereumSender, address _harmonyReceiver, address _token, uint256 _amount) returns()
func (*EthereumBridgeSession) Operator ¶
func (_EthereumBridge *EthereumBridgeSession) Operator() (common.Address, error)
Operator is a free data retrieval call binding the contract method 0x570ca735.
Solidity: function operator() view returns(address)
func (*EthereumBridgeSession) Oracle ¶
func (_EthereumBridge *EthereumBridgeSession) Oracle() (common.Address, error)
Oracle is a free data retrieval call binding the contract method 0x7dc0d1d0.
Solidity: function oracle() view returns(address)
func (*EthereumBridgeSession) UnlockClaimCount ¶
func (_EthereumBridge *EthereumBridgeSession) UnlockClaimCount() (*big.Int, error)
UnlockClaimCount is a free data retrieval call binding the contract method 0xb1493ce0.
Solidity: function unlockClaimCount() view returns(uint256)
func (*EthereumBridgeSession) UnlockClaims ¶
func (_EthereumBridge *EthereumBridgeSession) UnlockClaims(arg0 *big.Int) (struct { EthereumSender common.Address HarmonyReceiver common.Address OriginalValidator common.Address Token common.Address Amount *big.Int Status uint8 }, error)
UnlockClaims is a free data retrieval call binding the contract method 0x7c5d7590.
Solidity: function unlockClaims(uint256 ) view returns(address ethereumSender, address harmonyReceiver, address originalValidator, address token, uint256 amount, uint8 status)
type EthereumBridgeTransactor ¶
type EthereumBridgeTransactor struct {
// contains filtered or unexported fields
}
EthereumBridgeTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewEthereumBridgeTransactor ¶
func NewEthereumBridgeTransactor(address common.Address, transactor bind.ContractTransactor) (*EthereumBridgeTransactor, error)
NewEthereumBridgeTransactor creates a new write-only instance of EthereumBridge, bound to a specific deployed contract.
func (*EthereumBridgeTransactor) CompleteUnlockClaim ¶
func (_EthereumBridge *EthereumBridgeTransactor) CompleteUnlockClaim(opts *bind.TransactOpts, _unlockID *big.Int) (*types.Transaction, error)
CompleteUnlockClaim is a paid mutator transaction binding the contract method 0x9e67206d.
Solidity: function completeUnlockClaim(uint256 _unlockID) returns()
func (*EthereumBridgeTransactor) Initialize ¶
func (_EthereumBridge *EthereumBridgeTransactor) Initialize(opts *bind.TransactOpts, _bridgeRegistry common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xc4d66de8.
Solidity: function initialize(address _bridgeRegistry) returns()
func (*EthereumBridgeTransactor) NewUnlockClaim ¶
func (_EthereumBridge *EthereumBridgeTransactor) NewUnlockClaim(opts *bind.TransactOpts, _ethereumSender common.Address, _harmonyReceiver common.Address, _token common.Address, _amount *big.Int) (*types.Transaction, error)
NewUnlockClaim is a paid mutator transaction binding the contract method 0x60cf6648.
Solidity: function newUnlockClaim(address _ethereumSender, address _harmonyReceiver, address _token, uint256 _amount) returns()
type EthereumBridgeTransactorRaw ¶
type EthereumBridgeTransactorRaw struct {
Contract *EthereumBridgeTransactor // Generic write-only contract binding to access the raw methods on
}
EthereumBridgeTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*EthereumBridgeTransactorRaw) Transact ¶
func (_EthereumBridge *EthereumBridgeTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*EthereumBridgeTransactorRaw) Transfer ¶
func (_EthereumBridge *EthereumBridgeTransactorRaw) 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 EthereumBridgeTransactorSession ¶
type EthereumBridgeTransactorSession struct { Contract *EthereumBridgeTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
EthereumBridgeTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*EthereumBridgeTransactorSession) CompleteUnlockClaim ¶
func (_EthereumBridge *EthereumBridgeTransactorSession) CompleteUnlockClaim(_unlockID *big.Int) (*types.Transaction, error)
CompleteUnlockClaim is a paid mutator transaction binding the contract method 0x9e67206d.
Solidity: function completeUnlockClaim(uint256 _unlockID) returns()
func (*EthereumBridgeTransactorSession) Initialize ¶
func (_EthereumBridge *EthereumBridgeTransactorSession) Initialize(_bridgeRegistry common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xc4d66de8.
Solidity: function initialize(address _bridgeRegistry) returns()
func (*EthereumBridgeTransactorSession) NewUnlockClaim ¶
func (_EthereumBridge *EthereumBridgeTransactorSession) NewUnlockClaim(_ethereumSender common.Address, _harmonyReceiver common.Address, _token common.Address, _amount *big.Int) (*types.Transaction, error)
NewUnlockClaim is a paid mutator transaction binding the contract method 0x60cf6648.
Solidity: function newUnlockClaim(address _ethereumSender, address _harmonyReceiver, address _token, uint256 _amount) returns()