Documentation ¶
Index ¶
- Constants
- Variables
- type HarmonyBridge
- type HarmonyBridgeCaller
- func (_HarmonyBridge *HarmonyBridgeCaller) BridgeBank(opts *bind.CallOpts) (common.Address, error)
- func (_HarmonyBridge *HarmonyBridgeCaller) BridgeRegistry(opts *bind.CallOpts) (common.Address, error)
- func (_HarmonyBridge *HarmonyBridgeCaller) HARMONYBRIDGEREVISION(opts *bind.CallOpts) (*big.Int, error)
- func (_HarmonyBridge *HarmonyBridgeCaller) IsUnlockClaimActive(opts *bind.CallOpts, _unlockID *big.Int) (bool, error)
- func (_HarmonyBridge *HarmonyBridgeCaller) IsUnlockClaimValidatorActive(opts *bind.CallOpts, _unlockID *big.Int) (bool, error)
- func (_HarmonyBridge *HarmonyBridgeCaller) Operator(opts *bind.CallOpts) (common.Address, error)
- func (_HarmonyBridge *HarmonyBridgeCaller) Oracle(opts *bind.CallOpts) (common.Address, error)
- func (_HarmonyBridge *HarmonyBridgeCaller) UnlockClaimCount(opts *bind.CallOpts) (*big.Int, error)
- func (_HarmonyBridge *HarmonyBridgeCaller) UnlockClaims(opts *bind.CallOpts, arg0 *big.Int) (struct{ ... }, error)
- func (_HarmonyBridge *HarmonyBridgeCaller) Valset(opts *bind.CallOpts) (common.Address, error)
- type HarmonyBridgeCallerRaw
- type HarmonyBridgeCallerSession
- func (_HarmonyBridge *HarmonyBridgeCallerSession) BridgeBank() (common.Address, error)
- func (_HarmonyBridge *HarmonyBridgeCallerSession) BridgeRegistry() (common.Address, error)
- func (_HarmonyBridge *HarmonyBridgeCallerSession) HARMONYBRIDGEREVISION() (*big.Int, error)
- func (_HarmonyBridge *HarmonyBridgeCallerSession) IsUnlockClaimActive(_unlockID *big.Int) (bool, error)
- func (_HarmonyBridge *HarmonyBridgeCallerSession) IsUnlockClaimValidatorActive(_unlockID *big.Int) (bool, error)
- func (_HarmonyBridge *HarmonyBridgeCallerSession) Operator() (common.Address, error)
- func (_HarmonyBridge *HarmonyBridgeCallerSession) Oracle() (common.Address, error)
- func (_HarmonyBridge *HarmonyBridgeCallerSession) UnlockClaimCount() (*big.Int, error)
- func (_HarmonyBridge *HarmonyBridgeCallerSession) UnlockClaims(arg0 *big.Int) (struct{ ... }, error)
- func (_HarmonyBridge *HarmonyBridgeCallerSession) Valset() (common.Address, error)
- type HarmonyBridgeEthLogNewUnlockClaim
- type HarmonyBridgeEthLogNewUnlockClaimIterator
- type HarmonyBridgeEthLogUnlockCompleted
- type HarmonyBridgeEthLogUnlockCompletedIterator
- type HarmonyBridgeFilterer
- func (_HarmonyBridge *HarmonyBridgeFilterer) FilterEthLogNewUnlockClaim(opts *bind.FilterOpts) (*HarmonyBridgeEthLogNewUnlockClaimIterator, error)
- func (_HarmonyBridge *HarmonyBridgeFilterer) FilterEthLogUnlockCompleted(opts *bind.FilterOpts) (*HarmonyBridgeEthLogUnlockCompletedIterator, error)
- func (_HarmonyBridge *HarmonyBridgeFilterer) ParseEthLogNewUnlockClaim(log types.Log) (*HarmonyBridgeEthLogNewUnlockClaim, error)
- func (_HarmonyBridge *HarmonyBridgeFilterer) ParseEthLogUnlockCompleted(log types.Log) (*HarmonyBridgeEthLogUnlockCompleted, error)
- func (_HarmonyBridge *HarmonyBridgeFilterer) WatchEthLogNewUnlockClaim(opts *bind.WatchOpts, sink chan<- *HarmonyBridgeEthLogNewUnlockClaim) (event.Subscription, error)
- func (_HarmonyBridge *HarmonyBridgeFilterer) WatchEthLogUnlockCompleted(opts *bind.WatchOpts, sink chan<- *HarmonyBridgeEthLogUnlockCompleted) (event.Subscription, error)
- type HarmonyBridgeRaw
- func (_HarmonyBridge *HarmonyBridgeRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_HarmonyBridge *HarmonyBridgeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_HarmonyBridge *HarmonyBridgeRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type HarmonyBridgeSession
- func (_HarmonyBridge *HarmonyBridgeSession) BridgeBank() (common.Address, error)
- func (_HarmonyBridge *HarmonyBridgeSession) BridgeRegistry() (common.Address, error)
- func (_HarmonyBridge *HarmonyBridgeSession) CompleteUnlockClaim(_unlockID *big.Int) (*types.Transaction, error)
- func (_HarmonyBridge *HarmonyBridgeSession) HARMONYBRIDGEREVISION() (*big.Int, error)
- func (_HarmonyBridge *HarmonyBridgeSession) Initialize(_bridgeRegistry common.Address) (*types.Transaction, error)
- func (_HarmonyBridge *HarmonyBridgeSession) IsUnlockClaimActive(_unlockID *big.Int) (bool, error)
- func (_HarmonyBridge *HarmonyBridgeSession) IsUnlockClaimValidatorActive(_unlockID *big.Int) (bool, error)
- func (_HarmonyBridge *HarmonyBridgeSession) NewUnlockClaim(_harmonySender common.Address, _ethereumReceiver common.Address, ...) (*types.Transaction, error)
- func (_HarmonyBridge *HarmonyBridgeSession) Operator() (common.Address, error)
- func (_HarmonyBridge *HarmonyBridgeSession) Oracle() (common.Address, error)
- func (_HarmonyBridge *HarmonyBridgeSession) UnlockClaimCount() (*big.Int, error)
- func (_HarmonyBridge *HarmonyBridgeSession) UnlockClaims(arg0 *big.Int) (struct{ ... }, error)
- func (_HarmonyBridge *HarmonyBridgeSession) Valset() (common.Address, error)
- type HarmonyBridgeTransactor
- func (_HarmonyBridge *HarmonyBridgeTransactor) CompleteUnlockClaim(opts *bind.TransactOpts, _unlockID *big.Int) (*types.Transaction, error)
- func (_HarmonyBridge *HarmonyBridgeTransactor) Initialize(opts *bind.TransactOpts, _bridgeRegistry common.Address) (*types.Transaction, error)
- func (_HarmonyBridge *HarmonyBridgeTransactor) NewUnlockClaim(opts *bind.TransactOpts, _harmonySender common.Address, ...) (*types.Transaction, error)
- type HarmonyBridgeTransactorRaw
- type HarmonyBridgeTransactorSession
- func (_HarmonyBridge *HarmonyBridgeTransactorSession) CompleteUnlockClaim(_unlockID *big.Int) (*types.Transaction, error)
- func (_HarmonyBridge *HarmonyBridgeTransactorSession) Initialize(_bridgeRegistry common.Address) (*types.Transaction, error)
- func (_HarmonyBridge *HarmonyBridgeTransactorSession) NewUnlockClaim(_harmonySender common.Address, _ethereumReceiver common.Address, ...) (*types.Transaction, error)
Constants ¶
const HarmonyBridgeABI = "" /* 4554-byte string literal not displayed */
HarmonyBridgeABI is the input ABI used to generate the binding from.
Variables ¶
var HarmonyBridgeBin = "" /* 14882-byte string literal not displayed */
HarmonyBridgeBin is the compiled bytecode used for deploying new contracts.
Functions ¶
This section is empty.
Types ¶
type HarmonyBridge ¶
type HarmonyBridge struct { HarmonyBridgeCaller // Read-only binding to the contract HarmonyBridgeTransactor // Write-only binding to the contract HarmonyBridgeFilterer // Log filterer for contract events }
HarmonyBridge is an auto generated Go binding around an Ethereum contract.
func DeployHarmonyBridge ¶
func DeployHarmonyBridge(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *HarmonyBridge, error)
DeployHarmonyBridge deploys a new Ethereum contract, binding an instance of HarmonyBridge to it.
func NewHarmonyBridge ¶
func NewHarmonyBridge(address common.Address, backend bind.ContractBackend) (*HarmonyBridge, error)
NewHarmonyBridge creates a new instance of HarmonyBridge, bound to a specific deployed contract.
type HarmonyBridgeCaller ¶
type HarmonyBridgeCaller struct {
// contains filtered or unexported fields
}
HarmonyBridgeCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewHarmonyBridgeCaller ¶
func NewHarmonyBridgeCaller(address common.Address, caller bind.ContractCaller) (*HarmonyBridgeCaller, error)
NewHarmonyBridgeCaller creates a new read-only instance of HarmonyBridge, bound to a specific deployed contract.
func (*HarmonyBridgeCaller) BridgeBank ¶
BridgeBank is a free data retrieval call binding the contract method 0x0e41f373.
Solidity: function bridgeBank() view returns(address)
func (*HarmonyBridgeCaller) BridgeRegistry ¶
func (_HarmonyBridge *HarmonyBridgeCaller) 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 (*HarmonyBridgeCaller) HARMONYBRIDGEREVISION ¶
func (_HarmonyBridge *HarmonyBridgeCaller) 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 (*HarmonyBridgeCaller) IsUnlockClaimActive ¶
func (_HarmonyBridge *HarmonyBridgeCaller) 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 (*HarmonyBridgeCaller) IsUnlockClaimValidatorActive ¶
func (_HarmonyBridge *HarmonyBridgeCaller) 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 (*HarmonyBridgeCaller) Operator ¶
Operator is a free data retrieval call binding the contract method 0x570ca735.
Solidity: function operator() view returns(address)
func (*HarmonyBridgeCaller) Oracle ¶
Oracle is a free data retrieval call binding the contract method 0x7dc0d1d0.
Solidity: function oracle() view returns(address)
func (*HarmonyBridgeCaller) UnlockClaimCount ¶
UnlockClaimCount is a free data retrieval call binding the contract method 0xb1493ce0.
Solidity: function unlockClaimCount() view returns(uint256)
func (*HarmonyBridgeCaller) UnlockClaims ¶
func (_HarmonyBridge *HarmonyBridgeCaller) UnlockClaims(opts *bind.CallOpts, arg0 *big.Int) (struct { HarmonySender common.Address EthereumReceiver 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 harmonySender, address ethereumReceiver, address originalValidator, address token, uint256 amount, uint8 status)
type HarmonyBridgeCallerRaw ¶
type HarmonyBridgeCallerRaw struct {
Contract *HarmonyBridgeCaller // Generic read-only contract binding to access the raw methods on
}
HarmonyBridgeCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*HarmonyBridgeCallerRaw) Call ¶
func (_HarmonyBridge *HarmonyBridgeCallerRaw) 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 HarmonyBridgeCallerSession ¶
type HarmonyBridgeCallerSession struct { Contract *HarmonyBridgeCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
HarmonyBridgeCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*HarmonyBridgeCallerSession) BridgeBank ¶
func (_HarmonyBridge *HarmonyBridgeCallerSession) BridgeBank() (common.Address, error)
BridgeBank is a free data retrieval call binding the contract method 0x0e41f373.
Solidity: function bridgeBank() view returns(address)
func (*HarmonyBridgeCallerSession) BridgeRegistry ¶
func (_HarmonyBridge *HarmonyBridgeCallerSession) BridgeRegistry() (common.Address, error)
BridgeRegistry is a free data retrieval call binding the contract method 0x316be171.
Solidity: function bridgeRegistry() view returns(address)
func (*HarmonyBridgeCallerSession) HARMONYBRIDGEREVISION ¶
func (_HarmonyBridge *HarmonyBridgeCallerSession) HARMONYBRIDGEREVISION() (*big.Int, error)
HARMONYBRIDGEREVISION is a free data retrieval call binding the contract method 0xb1c51a80.
Solidity: function HARMONYBRIDGE_REVISION() view returns(uint256)
func (*HarmonyBridgeCallerSession) IsUnlockClaimActive ¶
func (_HarmonyBridge *HarmonyBridgeCallerSession) 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 (*HarmonyBridgeCallerSession) IsUnlockClaimValidatorActive ¶
func (_HarmonyBridge *HarmonyBridgeCallerSession) 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 (*HarmonyBridgeCallerSession) Operator ¶
func (_HarmonyBridge *HarmonyBridgeCallerSession) Operator() (common.Address, error)
Operator is a free data retrieval call binding the contract method 0x570ca735.
Solidity: function operator() view returns(address)
func (*HarmonyBridgeCallerSession) Oracle ¶
func (_HarmonyBridge *HarmonyBridgeCallerSession) Oracle() (common.Address, error)
Oracle is a free data retrieval call binding the contract method 0x7dc0d1d0.
Solidity: function oracle() view returns(address)
func (*HarmonyBridgeCallerSession) UnlockClaimCount ¶
func (_HarmonyBridge *HarmonyBridgeCallerSession) UnlockClaimCount() (*big.Int, error)
UnlockClaimCount is a free data retrieval call binding the contract method 0xb1493ce0.
Solidity: function unlockClaimCount() view returns(uint256)
func (*HarmonyBridgeCallerSession) UnlockClaims ¶
func (_HarmonyBridge *HarmonyBridgeCallerSession) UnlockClaims(arg0 *big.Int) (struct { HarmonySender common.Address EthereumReceiver 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 harmonySender, address ethereumReceiver, address originalValidator, address token, uint256 amount, uint8 status)
type HarmonyBridgeEthLogNewUnlockClaim ¶
type HarmonyBridgeEthLogNewUnlockClaim struct { UnlockID *big.Int HarmonySender common.Address EthereumReceiver common.Address ValidatorAddress common.Address TokenAddress common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
HarmonyBridgeEthLogNewUnlockClaim represents a EthLogNewUnlockClaim event raised by the HarmonyBridge contract.
type HarmonyBridgeEthLogNewUnlockClaimIterator ¶
type HarmonyBridgeEthLogNewUnlockClaimIterator struct { Event *HarmonyBridgeEthLogNewUnlockClaim // Event containing the contract specifics and raw log // contains filtered or unexported fields }
HarmonyBridgeEthLogNewUnlockClaimIterator is returned from FilterEthLogNewUnlockClaim and is used to iterate over the raw logs and unpacked data for EthLogNewUnlockClaim events raised by the HarmonyBridge contract.
func (*HarmonyBridgeEthLogNewUnlockClaimIterator) Close ¶
func (it *HarmonyBridgeEthLogNewUnlockClaimIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*HarmonyBridgeEthLogNewUnlockClaimIterator) Error ¶
func (it *HarmonyBridgeEthLogNewUnlockClaimIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*HarmonyBridgeEthLogNewUnlockClaimIterator) Next ¶
func (it *HarmonyBridgeEthLogNewUnlockClaimIterator) 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 HarmonyBridgeEthLogUnlockCompleted ¶
type HarmonyBridgeEthLogUnlockCompleted struct { UnlockID *big.Int Raw types.Log // Blockchain specific contextual infos }
HarmonyBridgeEthLogUnlockCompleted represents a EthLogUnlockCompleted event raised by the HarmonyBridge contract.
type HarmonyBridgeEthLogUnlockCompletedIterator ¶
type HarmonyBridgeEthLogUnlockCompletedIterator struct { Event *HarmonyBridgeEthLogUnlockCompleted // Event containing the contract specifics and raw log // contains filtered or unexported fields }
HarmonyBridgeEthLogUnlockCompletedIterator is returned from FilterEthLogUnlockCompleted and is used to iterate over the raw logs and unpacked data for EthLogUnlockCompleted events raised by the HarmonyBridge contract.
func (*HarmonyBridgeEthLogUnlockCompletedIterator) Close ¶
func (it *HarmonyBridgeEthLogUnlockCompletedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*HarmonyBridgeEthLogUnlockCompletedIterator) Error ¶
func (it *HarmonyBridgeEthLogUnlockCompletedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*HarmonyBridgeEthLogUnlockCompletedIterator) Next ¶
func (it *HarmonyBridgeEthLogUnlockCompletedIterator) 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 HarmonyBridgeFilterer ¶
type HarmonyBridgeFilterer struct {
// contains filtered or unexported fields
}
HarmonyBridgeFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewHarmonyBridgeFilterer ¶
func NewHarmonyBridgeFilterer(address common.Address, filterer bind.ContractFilterer) (*HarmonyBridgeFilterer, error)
NewHarmonyBridgeFilterer creates a new log filterer instance of HarmonyBridge, bound to a specific deployed contract.
func (*HarmonyBridgeFilterer) FilterEthLogNewUnlockClaim ¶
func (_HarmonyBridge *HarmonyBridgeFilterer) FilterEthLogNewUnlockClaim(opts *bind.FilterOpts) (*HarmonyBridgeEthLogNewUnlockClaimIterator, error)
FilterEthLogNewUnlockClaim is a free log retrieval operation binding the contract event 0x4389bb697e92204e405d58c4811114444ca51e675f1258844e426ce971bf4c56.
Solidity: event EthLogNewUnlockClaim(uint256 _unlockID, address _harmonySender, address _ethereumReceiver, address _validatorAddress, address _tokenAddress, uint256 _amount)
func (*HarmonyBridgeFilterer) FilterEthLogUnlockCompleted ¶
func (_HarmonyBridge *HarmonyBridgeFilterer) FilterEthLogUnlockCompleted(opts *bind.FilterOpts) (*HarmonyBridgeEthLogUnlockCompletedIterator, error)
FilterEthLogUnlockCompleted is a free log retrieval operation binding the contract event 0x56bad42424f5c90e6bfd5e97f55f32bec9a642653ef665d2febfaa6b69e765dc.
Solidity: event EthLogUnlockCompleted(uint256 _unlockID)
func (*HarmonyBridgeFilterer) ParseEthLogNewUnlockClaim ¶
func (_HarmonyBridge *HarmonyBridgeFilterer) ParseEthLogNewUnlockClaim(log types.Log) (*HarmonyBridgeEthLogNewUnlockClaim, error)
ParseEthLogNewUnlockClaim is a log parse operation binding the contract event 0x4389bb697e92204e405d58c4811114444ca51e675f1258844e426ce971bf4c56.
Solidity: event EthLogNewUnlockClaim(uint256 _unlockID, address _harmonySender, address _ethereumReceiver, address _validatorAddress, address _tokenAddress, uint256 _amount)
func (*HarmonyBridgeFilterer) ParseEthLogUnlockCompleted ¶
func (_HarmonyBridge *HarmonyBridgeFilterer) ParseEthLogUnlockCompleted(log types.Log) (*HarmonyBridgeEthLogUnlockCompleted, error)
ParseEthLogUnlockCompleted is a log parse operation binding the contract event 0x56bad42424f5c90e6bfd5e97f55f32bec9a642653ef665d2febfaa6b69e765dc.
Solidity: event EthLogUnlockCompleted(uint256 _unlockID)
func (*HarmonyBridgeFilterer) WatchEthLogNewUnlockClaim ¶
func (_HarmonyBridge *HarmonyBridgeFilterer) WatchEthLogNewUnlockClaim(opts *bind.WatchOpts, sink chan<- *HarmonyBridgeEthLogNewUnlockClaim) (event.Subscription, error)
WatchEthLogNewUnlockClaim is a free log subscription operation binding the contract event 0x4389bb697e92204e405d58c4811114444ca51e675f1258844e426ce971bf4c56.
Solidity: event EthLogNewUnlockClaim(uint256 _unlockID, address _harmonySender, address _ethereumReceiver, address _validatorAddress, address _tokenAddress, uint256 _amount)
func (*HarmonyBridgeFilterer) WatchEthLogUnlockCompleted ¶
func (_HarmonyBridge *HarmonyBridgeFilterer) WatchEthLogUnlockCompleted(opts *bind.WatchOpts, sink chan<- *HarmonyBridgeEthLogUnlockCompleted) (event.Subscription, error)
WatchEthLogUnlockCompleted is a free log subscription operation binding the contract event 0x56bad42424f5c90e6bfd5e97f55f32bec9a642653ef665d2febfaa6b69e765dc.
Solidity: event EthLogUnlockCompleted(uint256 _unlockID)
type HarmonyBridgeRaw ¶
type HarmonyBridgeRaw struct {
Contract *HarmonyBridge // Generic contract binding to access the raw methods on
}
HarmonyBridgeRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*HarmonyBridgeRaw) Call ¶
func (_HarmonyBridge *HarmonyBridgeRaw) 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 (*HarmonyBridgeRaw) Transact ¶
func (_HarmonyBridge *HarmonyBridgeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*HarmonyBridgeRaw) Transfer ¶
func (_HarmonyBridge *HarmonyBridgeRaw) 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 HarmonyBridgeSession ¶
type HarmonyBridgeSession struct { Contract *HarmonyBridge // 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 }
HarmonyBridgeSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*HarmonyBridgeSession) BridgeBank ¶
func (_HarmonyBridge *HarmonyBridgeSession) BridgeBank() (common.Address, error)
BridgeBank is a free data retrieval call binding the contract method 0x0e41f373.
Solidity: function bridgeBank() view returns(address)
func (*HarmonyBridgeSession) BridgeRegistry ¶
func (_HarmonyBridge *HarmonyBridgeSession) BridgeRegistry() (common.Address, error)
BridgeRegistry is a free data retrieval call binding the contract method 0x316be171.
Solidity: function bridgeRegistry() view returns(address)
func (*HarmonyBridgeSession) CompleteUnlockClaim ¶
func (_HarmonyBridge *HarmonyBridgeSession) 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 (*HarmonyBridgeSession) HARMONYBRIDGEREVISION ¶
func (_HarmonyBridge *HarmonyBridgeSession) HARMONYBRIDGEREVISION() (*big.Int, error)
HARMONYBRIDGEREVISION is a free data retrieval call binding the contract method 0xb1c51a80.
Solidity: function HARMONYBRIDGE_REVISION() view returns(uint256)
func (*HarmonyBridgeSession) Initialize ¶
func (_HarmonyBridge *HarmonyBridgeSession) 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 (*HarmonyBridgeSession) IsUnlockClaimActive ¶
func (_HarmonyBridge *HarmonyBridgeSession) 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 (*HarmonyBridgeSession) IsUnlockClaimValidatorActive ¶
func (_HarmonyBridge *HarmonyBridgeSession) 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 (*HarmonyBridgeSession) NewUnlockClaim ¶
func (_HarmonyBridge *HarmonyBridgeSession) NewUnlockClaim(_harmonySender common.Address, _ethereumReceiver 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 _harmonySender, address _ethereumReceiver, address _token, uint256 _amount) returns()
func (*HarmonyBridgeSession) Operator ¶
func (_HarmonyBridge *HarmonyBridgeSession) Operator() (common.Address, error)
Operator is a free data retrieval call binding the contract method 0x570ca735.
Solidity: function operator() view returns(address)
func (*HarmonyBridgeSession) Oracle ¶
func (_HarmonyBridge *HarmonyBridgeSession) Oracle() (common.Address, error)
Oracle is a free data retrieval call binding the contract method 0x7dc0d1d0.
Solidity: function oracle() view returns(address)
func (*HarmonyBridgeSession) UnlockClaimCount ¶
func (_HarmonyBridge *HarmonyBridgeSession) UnlockClaimCount() (*big.Int, error)
UnlockClaimCount is a free data retrieval call binding the contract method 0xb1493ce0.
Solidity: function unlockClaimCount() view returns(uint256)
func (*HarmonyBridgeSession) UnlockClaims ¶
func (_HarmonyBridge *HarmonyBridgeSession) UnlockClaims(arg0 *big.Int) (struct { HarmonySender common.Address EthereumReceiver 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 harmonySender, address ethereumReceiver, address originalValidator, address token, uint256 amount, uint8 status)
type HarmonyBridgeTransactor ¶
type HarmonyBridgeTransactor struct {
// contains filtered or unexported fields
}
HarmonyBridgeTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewHarmonyBridgeTransactor ¶
func NewHarmonyBridgeTransactor(address common.Address, transactor bind.ContractTransactor) (*HarmonyBridgeTransactor, error)
NewHarmonyBridgeTransactor creates a new write-only instance of HarmonyBridge, bound to a specific deployed contract.
func (*HarmonyBridgeTransactor) CompleteUnlockClaim ¶
func (_HarmonyBridge *HarmonyBridgeTransactor) 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 (*HarmonyBridgeTransactor) Initialize ¶
func (_HarmonyBridge *HarmonyBridgeTransactor) 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 (*HarmonyBridgeTransactor) NewUnlockClaim ¶
func (_HarmonyBridge *HarmonyBridgeTransactor) NewUnlockClaim(opts *bind.TransactOpts, _harmonySender common.Address, _ethereumReceiver 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 _harmonySender, address _ethereumReceiver, address _token, uint256 _amount) returns()
type HarmonyBridgeTransactorRaw ¶
type HarmonyBridgeTransactorRaw struct {
Contract *HarmonyBridgeTransactor // Generic write-only contract binding to access the raw methods on
}
HarmonyBridgeTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*HarmonyBridgeTransactorRaw) Transact ¶
func (_HarmonyBridge *HarmonyBridgeTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*HarmonyBridgeTransactorRaw) Transfer ¶
func (_HarmonyBridge *HarmonyBridgeTransactorRaw) 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 HarmonyBridgeTransactorSession ¶
type HarmonyBridgeTransactorSession struct { Contract *HarmonyBridgeTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
HarmonyBridgeTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*HarmonyBridgeTransactorSession) CompleteUnlockClaim ¶
func (_HarmonyBridge *HarmonyBridgeTransactorSession) 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 (*HarmonyBridgeTransactorSession) Initialize ¶
func (_HarmonyBridge *HarmonyBridgeTransactorSession) 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 (*HarmonyBridgeTransactorSession) NewUnlockClaim ¶
func (_HarmonyBridge *HarmonyBridgeTransactorSession) NewUnlockClaim(_harmonySender common.Address, _ethereumReceiver 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 _harmonySender, address _ethereumReceiver, address _token, uint256 _amount) returns()