Documentation ¶
Index ¶
- Constants
- Variables
- type BridgeBank
- type BridgeBankCaller
- func (_BridgeBank *BridgeBankCaller) BRIDGEBANKREVISION(opts *bind.CallOpts) (*big.Int, error)
- func (_BridgeBank *BridgeBankCaller) BandOracleInterface(opts *bind.CallOpts) (common.Address, error)
- func (_BridgeBank *BridgeBankCaller) BridgeRegistry(opts *bind.CallOpts) (common.Address, error)
- func (_BridgeBank *BridgeBankCaller) CheckUnlockable(opts *bind.CallOpts, _token common.Address, _amount *big.Int) (bool, error)
- func (_BridgeBank *BridgeBankCaller) ETHAddress(opts *bind.CallOpts) (common.Address, error)
- func (_BridgeBank *BridgeBankCaller) EthereumBridge(opts *bind.CallOpts) (common.Address, error)
- func (_BridgeBank *BridgeBankCaller) FeeDenominator(opts *bind.CallOpts) (*big.Int, error)
- func (_BridgeBank *BridgeBankCaller) FeeNumerator(opts *bind.CallOpts) (*big.Int, error)
- func (_BridgeBank *BridgeBankCaller) GetLockedFund(opts *bind.CallOpts, _harmonyToken common.Address) (*big.Int, error)
- func (_BridgeBank *BridgeBankCaller) GetTokenMappedAddress(opts *bind.CallOpts, _harmonyToken common.Address) (common.Address, error)
- func (_BridgeBank *BridgeBankCaller) GetTotalERC20Balance(opts *bind.CallOpts, _harmonyToken common.Address) (*big.Int, error)
- func (_BridgeBank *BridgeBankCaller) GetTotalONEBalance(opts *bind.CallOpts) (*big.Int, error)
- func (_BridgeBank *BridgeBankCaller) IsActiveToken(opts *bind.CallOpts, _harmonyToken common.Address) (bool, error)
- func (_BridgeBank *BridgeBankCaller) LockNonce(opts *bind.CallOpts) (*big.Int, error)
- func (_BridgeBank *BridgeBankCaller) ONEAddress(opts *bind.CallOpts) (common.Address, error)
- func (_BridgeBank *BridgeBankCaller) Operator(opts *bind.CallOpts) (common.Address, error)
- func (_BridgeBank *BridgeBankCaller) Oracle(opts *bind.CallOpts) (common.Address, error)
- func (_BridgeBank *BridgeBankCaller) SAFENUMBER(opts *bind.CallOpts) (*big.Int, error)
- func (_BridgeBank *BridgeBankCaller) TokensData(opts *bind.CallOpts, arg0 common.Address) (struct{ ... }, error)
- type BridgeBankCallerRaw
- type BridgeBankCallerSession
- func (_BridgeBank *BridgeBankCallerSession) BRIDGEBANKREVISION() (*big.Int, error)
- func (_BridgeBank *BridgeBankCallerSession) BandOracleInterface() (common.Address, error)
- func (_BridgeBank *BridgeBankCallerSession) BridgeRegistry() (common.Address, error)
- func (_BridgeBank *BridgeBankCallerSession) CheckUnlockable(_token common.Address, _amount *big.Int) (bool, error)
- func (_BridgeBank *BridgeBankCallerSession) ETHAddress() (common.Address, error)
- func (_BridgeBank *BridgeBankCallerSession) EthereumBridge() (common.Address, error)
- func (_BridgeBank *BridgeBankCallerSession) FeeDenominator() (*big.Int, error)
- func (_BridgeBank *BridgeBankCallerSession) FeeNumerator() (*big.Int, error)
- func (_BridgeBank *BridgeBankCallerSession) GetLockedFund(_harmonyToken common.Address) (*big.Int, error)
- func (_BridgeBank *BridgeBankCallerSession) GetTokenMappedAddress(_harmonyToken common.Address) (common.Address, error)
- func (_BridgeBank *BridgeBankCallerSession) GetTotalERC20Balance(_harmonyToken common.Address) (*big.Int, error)
- func (_BridgeBank *BridgeBankCallerSession) GetTotalONEBalance() (*big.Int, error)
- func (_BridgeBank *BridgeBankCallerSession) IsActiveToken(_harmonyToken common.Address) (bool, error)
- func (_BridgeBank *BridgeBankCallerSession) LockNonce() (*big.Int, error)
- func (_BridgeBank *BridgeBankCallerSession) ONEAddress() (common.Address, error)
- func (_BridgeBank *BridgeBankCallerSession) Operator() (common.Address, error)
- func (_BridgeBank *BridgeBankCallerSession) Oracle() (common.Address, error)
- func (_BridgeBank *BridgeBankCallerSession) SAFENUMBER() (*big.Int, error)
- func (_BridgeBank *BridgeBankCallerSession) TokensData(arg0 common.Address) (struct{ ... }, error)
- type BridgeBankFilterer
- func (_BridgeBank *BridgeBankFilterer) FilterHmyLogLock(opts *bind.FilterOpts) (*BridgeBankHmyLogLockIterator, error)
- func (_BridgeBank *BridgeBankFilterer) FilterHmyLogUnlock(opts *bind.FilterOpts) (*BridgeBankHmyLogUnlockIterator, error)
- func (_BridgeBank *BridgeBankFilterer) FilterHmyUpdateEthereumBridge(opts *bind.FilterOpts) (*BridgeBankHmyUpdateEthereumBridgeIterator, error)
- func (_BridgeBank *BridgeBankFilterer) FilterHmyUpdateFee(opts *bind.FilterOpts) (*BridgeBankHmyUpdateFeeIterator, error)
- func (_BridgeBank *BridgeBankFilterer) FilterHmyUpdateOracle(opts *bind.FilterOpts) (*BridgeBankHmyUpdateOracleIterator, error)
- func (_BridgeBank *BridgeBankFilterer) FilterHmyWithdrawERC20(opts *bind.FilterOpts) (*BridgeBankHmyWithdrawERC20Iterator, error)
- func (_BridgeBank *BridgeBankFilterer) FilterHmyWithdrawONE(opts *bind.FilterOpts) (*BridgeBankHmyWithdrawONEIterator, error)
- func (_BridgeBank *BridgeBankFilterer) ParseHmyLogLock(log types.Log) (*BridgeBankHmyLogLock, error)
- func (_BridgeBank *BridgeBankFilterer) ParseHmyLogUnlock(log types.Log) (*BridgeBankHmyLogUnlock, error)
- func (_BridgeBank *BridgeBankFilterer) ParseHmyUpdateEthereumBridge(log types.Log) (*BridgeBankHmyUpdateEthereumBridge, error)
- func (_BridgeBank *BridgeBankFilterer) ParseHmyUpdateFee(log types.Log) (*BridgeBankHmyUpdateFee, error)
- func (_BridgeBank *BridgeBankFilterer) ParseHmyUpdateOracle(log types.Log) (*BridgeBankHmyUpdateOracle, error)
- func (_BridgeBank *BridgeBankFilterer) ParseHmyWithdrawERC20(log types.Log) (*BridgeBankHmyWithdrawERC20, error)
- func (_BridgeBank *BridgeBankFilterer) ParseHmyWithdrawONE(log types.Log) (*BridgeBankHmyWithdrawONE, error)
- func (_BridgeBank *BridgeBankFilterer) WatchHmyLogLock(opts *bind.WatchOpts, sink chan<- *BridgeBankHmyLogLock) (event.Subscription, error)
- func (_BridgeBank *BridgeBankFilterer) WatchHmyLogUnlock(opts *bind.WatchOpts, sink chan<- *BridgeBankHmyLogUnlock) (event.Subscription, error)
- func (_BridgeBank *BridgeBankFilterer) WatchHmyUpdateEthereumBridge(opts *bind.WatchOpts, sink chan<- *BridgeBankHmyUpdateEthereumBridge) (event.Subscription, error)
- func (_BridgeBank *BridgeBankFilterer) WatchHmyUpdateFee(opts *bind.WatchOpts, sink chan<- *BridgeBankHmyUpdateFee) (event.Subscription, error)
- func (_BridgeBank *BridgeBankFilterer) WatchHmyUpdateOracle(opts *bind.WatchOpts, sink chan<- *BridgeBankHmyUpdateOracle) (event.Subscription, error)
- func (_BridgeBank *BridgeBankFilterer) WatchHmyWithdrawERC20(opts *bind.WatchOpts, sink chan<- *BridgeBankHmyWithdrawERC20) (event.Subscription, error)
- func (_BridgeBank *BridgeBankFilterer) WatchHmyWithdrawONE(opts *bind.WatchOpts, sink chan<- *BridgeBankHmyWithdrawONE) (event.Subscription, error)
- type BridgeBankHmyLogLock
- type BridgeBankHmyLogLockIterator
- type BridgeBankHmyLogUnlock
- type BridgeBankHmyLogUnlockIterator
- type BridgeBankHmyUpdateEthereumBridge
- type BridgeBankHmyUpdateEthereumBridgeIterator
- type BridgeBankHmyUpdateFee
- type BridgeBankHmyUpdateFeeIterator
- type BridgeBankHmyUpdateOracle
- type BridgeBankHmyUpdateOracleIterator
- type BridgeBankHmyWithdrawERC20
- type BridgeBankHmyWithdrawERC20Iterator
- type BridgeBankHmyWithdrawONE
- type BridgeBankHmyWithdrawONEIterator
- type BridgeBankRaw
- func (_BridgeBank *BridgeBankRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_BridgeBank *BridgeBankRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_BridgeBank *BridgeBankRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type BridgeBankSession
- func (_BridgeBank *BridgeBankSession) ActivateToken(_harmonyToken common.Address) (*types.Transaction, error)
- func (_BridgeBank *BridgeBankSession) AddToken(_harmonyToken common.Address, _harmonyTokenAmount *big.Int, ...) (*types.Transaction, error)
- func (_BridgeBank *BridgeBankSession) BRIDGEBANKREVISION() (*big.Int, error)
- func (_BridgeBank *BridgeBankSession) BandOracleInterface() (common.Address, error)
- func (_BridgeBank *BridgeBankSession) BridgeRegistry() (common.Address, error)
- func (_BridgeBank *BridgeBankSession) CheckUnlockable(_token common.Address, _amount *big.Int) (bool, error)
- func (_BridgeBank *BridgeBankSession) DeactivateToken(_harmonyToken common.Address) (*types.Transaction, error)
- func (_BridgeBank *BridgeBankSession) ETHAddress() (common.Address, error)
- func (_BridgeBank *BridgeBankSession) EthereumBridge() (common.Address, error)
- func (_BridgeBank *BridgeBankSession) Fallback(calldata []byte) (*types.Transaction, error)
- func (_BridgeBank *BridgeBankSession) FeeDenominator() (*big.Int, error)
- func (_BridgeBank *BridgeBankSession) FeeNumerator() (*big.Int, error)
- func (_BridgeBank *BridgeBankSession) GetLockedFund(_harmonyToken common.Address) (*big.Int, error)
- func (_BridgeBank *BridgeBankSession) GetTokenMappedAddress(_harmonyToken common.Address) (common.Address, error)
- func (_BridgeBank *BridgeBankSession) GetTotalERC20Balance(_harmonyToken common.Address) (*big.Int, error)
- func (_BridgeBank *BridgeBankSession) GetTotalONEBalance() (*big.Int, error)
- func (_BridgeBank *BridgeBankSession) Initialize(_bridgeRegistry common.Address, _bandOracleAddress common.Address, ...) (*types.Transaction, error)
- func (_BridgeBank *BridgeBankSession) IsActiveToken(_harmonyToken common.Address) (bool, error)
- func (_BridgeBank *BridgeBankSession) LockNonce() (*big.Int, error)
- func (_BridgeBank *BridgeBankSession) ONEAddress() (common.Address, error)
- func (_BridgeBank *BridgeBankSession) Operator() (common.Address, error)
- func (_BridgeBank *BridgeBankSession) Oracle() (common.Address, error)
- func (_BridgeBank *BridgeBankSession) SAFENUMBER() (*big.Int, error)
- func (_BridgeBank *BridgeBankSession) SwapONEForETH(_ethereumReceiver common.Address, _amountONE *big.Int) (*types.Transaction, error)
- func (_BridgeBank *BridgeBankSession) SwapONEForToken(_ethereumReceiver common.Address, _amountONE *big.Int, ...) (*types.Transaction, error)
- func (_BridgeBank *BridgeBankSession) SwapONEForWrappedONE(_ethereumReceiver common.Address, _amountONE *big.Int) (*types.Transaction, error)
- func (_BridgeBank *BridgeBankSession) SwapToken11(_ethereumReceiver common.Address, _harmonyToken common.Address, ...) (*types.Transaction, error)
- func (_BridgeBank *BridgeBankSession) SwapTokenForETH(_ethereumReceiver common.Address, _harmonyToken common.Address, ...) (*types.Transaction, error)
- func (_BridgeBank *BridgeBankSession) SwapTokenForToken(_ethereumReceiver common.Address, _harmonyToken common.Address, ...) (*types.Transaction, error)
- func (_BridgeBank *BridgeBankSession) SwapTokenForWONE(_ethereumReceiver common.Address, _harmonyToken common.Address, ...) (*types.Transaction, error)
- func (_BridgeBank *BridgeBankSession) TokensData(arg0 common.Address) (struct{ ... }, error)
- func (_BridgeBank *BridgeBankSession) UnlockERC20(_harmonyReceiver common.Address, _harmonyToken common.Address, ...) (*types.Transaction, error)
- func (_BridgeBank *BridgeBankSession) UnlockONE(_harmonyReceiver common.Address, _amountONE *big.Int) (*types.Transaction, error)
- func (_BridgeBank *BridgeBankSession) UpdateFee(_feeNumerator *big.Int, _feeDenominator *big.Int) (*types.Transaction, error)
- func (_BridgeBank *BridgeBankSession) UpdateHmyBridge(_ethereumBridge common.Address) (*types.Transaction, error)
- func (_BridgeBank *BridgeBankSession) UpdateOracle(_oracleAddress common.Address) (*types.Transaction, error)
- func (_BridgeBank *BridgeBankSession) WithdrawERC20(_harmonyToken common.Address, _harmonyReceiver common.Address, ...) (*types.Transaction, error)
- func (_BridgeBank *BridgeBankSession) WithdrawONE(_harmonyReceiver common.Address, _amountONE *big.Int) (*types.Transaction, error)
- type BridgeBankTransactor
- func (_BridgeBank *BridgeBankTransactor) ActivateToken(opts *bind.TransactOpts, _harmonyToken common.Address) (*types.Transaction, error)
- func (_BridgeBank *BridgeBankTransactor) AddToken(opts *bind.TransactOpts, _harmonyToken common.Address, ...) (*types.Transaction, error)
- func (_BridgeBank *BridgeBankTransactor) DeactivateToken(opts *bind.TransactOpts, _harmonyToken common.Address) (*types.Transaction, error)
- func (_BridgeBank *BridgeBankTransactor) Fallback(opts *bind.TransactOpts, calldata []byte) (*types.Transaction, error)
- func (_BridgeBank *BridgeBankTransactor) Initialize(opts *bind.TransactOpts, _bridgeRegistry common.Address, ...) (*types.Transaction, error)
- func (_BridgeBank *BridgeBankTransactor) SwapONEForETH(opts *bind.TransactOpts, _ethereumReceiver common.Address, _amountONE *big.Int) (*types.Transaction, error)
- func (_BridgeBank *BridgeBankTransactor) SwapONEForToken(opts *bind.TransactOpts, _ethereumReceiver common.Address, _amountONE *big.Int, ...) (*types.Transaction, error)
- func (_BridgeBank *BridgeBankTransactor) SwapONEForWrappedONE(opts *bind.TransactOpts, _ethereumReceiver common.Address, _amountONE *big.Int) (*types.Transaction, error)
- func (_BridgeBank *BridgeBankTransactor) SwapToken11(opts *bind.TransactOpts, _ethereumReceiver common.Address, ...) (*types.Transaction, error)
- func (_BridgeBank *BridgeBankTransactor) SwapTokenForETH(opts *bind.TransactOpts, _ethereumReceiver common.Address, ...) (*types.Transaction, error)
- func (_BridgeBank *BridgeBankTransactor) SwapTokenForToken(opts *bind.TransactOpts, _ethereumReceiver common.Address, ...) (*types.Transaction, error)
- func (_BridgeBank *BridgeBankTransactor) SwapTokenForWONE(opts *bind.TransactOpts, _ethereumReceiver common.Address, ...) (*types.Transaction, error)
- func (_BridgeBank *BridgeBankTransactor) UnlockERC20(opts *bind.TransactOpts, _harmonyReceiver common.Address, ...) (*types.Transaction, error)
- func (_BridgeBank *BridgeBankTransactor) UnlockONE(opts *bind.TransactOpts, _harmonyReceiver common.Address, _amountONE *big.Int) (*types.Transaction, error)
- func (_BridgeBank *BridgeBankTransactor) UpdateFee(opts *bind.TransactOpts, _feeNumerator *big.Int, _feeDenominator *big.Int) (*types.Transaction, error)
- func (_BridgeBank *BridgeBankTransactor) UpdateHmyBridge(opts *bind.TransactOpts, _ethereumBridge common.Address) (*types.Transaction, error)
- func (_BridgeBank *BridgeBankTransactor) UpdateOracle(opts *bind.TransactOpts, _oracleAddress common.Address) (*types.Transaction, error)
- func (_BridgeBank *BridgeBankTransactor) WithdrawERC20(opts *bind.TransactOpts, _harmonyToken common.Address, ...) (*types.Transaction, error)
- func (_BridgeBank *BridgeBankTransactor) WithdrawONE(opts *bind.TransactOpts, _harmonyReceiver common.Address, _amountONE *big.Int) (*types.Transaction, error)
- type BridgeBankTransactorRaw
- type BridgeBankTransactorSession
- func (_BridgeBank *BridgeBankTransactorSession) ActivateToken(_harmonyToken common.Address) (*types.Transaction, error)
- func (_BridgeBank *BridgeBankTransactorSession) AddToken(_harmonyToken common.Address, _harmonyTokenAmount *big.Int, ...) (*types.Transaction, error)
- func (_BridgeBank *BridgeBankTransactorSession) DeactivateToken(_harmonyToken common.Address) (*types.Transaction, error)
- func (_BridgeBank *BridgeBankTransactorSession) Fallback(calldata []byte) (*types.Transaction, error)
- func (_BridgeBank *BridgeBankTransactorSession) Initialize(_bridgeRegistry common.Address, _bandOracleAddress common.Address, ...) (*types.Transaction, error)
- func (_BridgeBank *BridgeBankTransactorSession) SwapONEForETH(_ethereumReceiver common.Address, _amountONE *big.Int) (*types.Transaction, error)
- func (_BridgeBank *BridgeBankTransactorSession) SwapONEForToken(_ethereumReceiver common.Address, _amountONE *big.Int, ...) (*types.Transaction, error)
- func (_BridgeBank *BridgeBankTransactorSession) SwapONEForWrappedONE(_ethereumReceiver common.Address, _amountONE *big.Int) (*types.Transaction, error)
- func (_BridgeBank *BridgeBankTransactorSession) SwapToken11(_ethereumReceiver common.Address, _harmonyToken common.Address, ...) (*types.Transaction, error)
- func (_BridgeBank *BridgeBankTransactorSession) SwapTokenForETH(_ethereumReceiver common.Address, _harmonyToken common.Address, ...) (*types.Transaction, error)
- func (_BridgeBank *BridgeBankTransactorSession) SwapTokenForToken(_ethereumReceiver common.Address, _harmonyToken common.Address, ...) (*types.Transaction, error)
- func (_BridgeBank *BridgeBankTransactorSession) SwapTokenForWONE(_ethereumReceiver common.Address, _harmonyToken common.Address, ...) (*types.Transaction, error)
- func (_BridgeBank *BridgeBankTransactorSession) UnlockERC20(_harmonyReceiver common.Address, _harmonyToken common.Address, ...) (*types.Transaction, error)
- func (_BridgeBank *BridgeBankTransactorSession) UnlockONE(_harmonyReceiver common.Address, _amountONE *big.Int) (*types.Transaction, error)
- func (_BridgeBank *BridgeBankTransactorSession) UpdateFee(_feeNumerator *big.Int, _feeDenominator *big.Int) (*types.Transaction, error)
- func (_BridgeBank *BridgeBankTransactorSession) UpdateHmyBridge(_ethereumBridge common.Address) (*types.Transaction, error)
- func (_BridgeBank *BridgeBankTransactorSession) UpdateOracle(_oracleAddress common.Address) (*types.Transaction, error)
- func (_BridgeBank *BridgeBankTransactorSession) WithdrawERC20(_harmonyToken common.Address, _harmonyReceiver common.Address, ...) (*types.Transaction, error)
- func (_BridgeBank *BridgeBankTransactorSession) WithdrawONE(_harmonyReceiver common.Address, _amountONE *big.Int) (*types.Transaction, error)
Constants ¶
const BridgeBankABI = "" /* 13303-byte string literal not displayed */
BridgeBankABI is the input ABI used to generate the binding from.
Variables ¶
var BridgeBankBin = "" /* 49400-byte string literal not displayed */
BridgeBankBin is the compiled bytecode used for deploying new contracts.
Functions ¶
This section is empty.
Types ¶
type BridgeBank ¶
type BridgeBank struct { BridgeBankCaller // Read-only binding to the contract BridgeBankTransactor // Write-only binding to the contract BridgeBankFilterer // Log filterer for contract events }
BridgeBank is an auto generated Go binding around an Ethereum contract.
func DeployBridgeBank ¶
func DeployBridgeBank(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *BridgeBank, error)
DeployBridgeBank deploys a new Ethereum contract, binding an instance of BridgeBank to it.
func NewBridgeBank ¶
func NewBridgeBank(address common.Address, backend bind.ContractBackend) (*BridgeBank, error)
NewBridgeBank creates a new instance of BridgeBank, bound to a specific deployed contract.
type BridgeBankCaller ¶
type BridgeBankCaller struct {
// contains filtered or unexported fields
}
BridgeBankCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewBridgeBankCaller ¶
func NewBridgeBankCaller(address common.Address, caller bind.ContractCaller) (*BridgeBankCaller, error)
NewBridgeBankCaller creates a new read-only instance of BridgeBank, bound to a specific deployed contract.
func (*BridgeBankCaller) BRIDGEBANKREVISION ¶
BRIDGEBANKREVISION is a free data retrieval call binding the contract method 0xf126be26.
Solidity: function BRIDGEBANK_REVISION() view returns(uint256)
func (*BridgeBankCaller) BandOracleInterface ¶
func (_BridgeBank *BridgeBankCaller) BandOracleInterface(opts *bind.CallOpts) (common.Address, error)
BandOracleInterface is a free data retrieval call binding the contract method 0xa1c1d3e2.
Solidity: function bandOracleInterface() view returns(address)
func (*BridgeBankCaller) BridgeRegistry ¶
BridgeRegistry is a free data retrieval call binding the contract method 0x316be171.
Solidity: function bridgeRegistry() view returns(address)
func (*BridgeBankCaller) CheckUnlockable ¶
func (_BridgeBank *BridgeBankCaller) CheckUnlockable(opts *bind.CallOpts, _token common.Address, _amount *big.Int) (bool, error)
CheckUnlockable is a free data retrieval call binding the contract method 0xb4bfd9a7.
Solidity: function checkUnlockable(address _token, uint256 _amount) view returns(bool)
func (*BridgeBankCaller) ETHAddress ¶
ETHAddress is a free data retrieval call binding the contract method 0xda228a9b.
Solidity: function ETHAddress() view returns(address)
func (*BridgeBankCaller) EthereumBridge ¶
EthereumBridge is a free data retrieval call binding the contract method 0x1cf86a63.
Solidity: function ethereumBridge() view returns(address)
func (*BridgeBankCaller) FeeDenominator ¶
FeeDenominator is a free data retrieval call binding the contract method 0x180b0d7e.
Solidity: function feeDenominator() view returns(uint256)
func (*BridgeBankCaller) FeeNumerator ¶
FeeNumerator is a free data retrieval call binding the contract method 0xe86dea4a.
Solidity: function feeNumerator() view returns(uint256)
func (*BridgeBankCaller) GetLockedFund ¶
func (_BridgeBank *BridgeBankCaller) GetLockedFund(opts *bind.CallOpts, _harmonyToken common.Address) (*big.Int, error)
GetLockedFund is a free data retrieval call binding the contract method 0xfd930c7d.
Solidity: function getLockedFund(address _harmonyToken) view returns(uint256)
func (*BridgeBankCaller) GetTokenMappedAddress ¶
func (_BridgeBank *BridgeBankCaller) GetTokenMappedAddress(opts *bind.CallOpts, _harmonyToken common.Address) (common.Address, error)
GetTokenMappedAddress is a free data retrieval call binding the contract method 0x722b1d23.
Solidity: function getTokenMappedAddress(address _harmonyToken) view returns(address)
func (*BridgeBankCaller) GetTotalERC20Balance ¶
func (_BridgeBank *BridgeBankCaller) GetTotalERC20Balance(opts *bind.CallOpts, _harmonyToken common.Address) (*big.Int, error)
GetTotalERC20Balance is a free data retrieval call binding the contract method 0xac4a875c.
Solidity: function getTotalERC20Balance(address _harmonyToken) view returns(uint256)
func (*BridgeBankCaller) GetTotalONEBalance ¶
GetTotalONEBalance is a free data retrieval call binding the contract method 0x0a71a74b.
Solidity: function getTotalONEBalance() view returns(uint256)
func (*BridgeBankCaller) IsActiveToken ¶
func (_BridgeBank *BridgeBankCaller) IsActiveToken(opts *bind.CallOpts, _harmonyToken common.Address) (bool, error)
IsActiveToken is a free data retrieval call binding the contract method 0x575c51c2.
Solidity: function isActiveToken(address _harmonyToken) view returns(bool)
func (*BridgeBankCaller) LockNonce ¶
LockNonce is a free data retrieval call binding the contract method 0xb5a9096e.
Solidity: function lockNonce() view returns(uint256)
func (*BridgeBankCaller) ONEAddress ¶
ONEAddress is a free data retrieval call binding the contract method 0x9d05974b.
Solidity: function ONEAddress() view returns(address)
func (*BridgeBankCaller) Operator ¶
Operator is a free data retrieval call binding the contract method 0x570ca735.
Solidity: function operator() view returns(address)
func (*BridgeBankCaller) Oracle ¶
Oracle is a free data retrieval call binding the contract method 0x7dc0d1d0.
Solidity: function oracle() view returns(address)
func (*BridgeBankCaller) SAFENUMBER ¶
SAFENUMBER is a free data retrieval call binding the contract method 0x204897ff.
Solidity: function SAFE_NUMBER() view returns(uint256)
func (*BridgeBankCaller) TokensData ¶
func (_BridgeBank *BridgeBankCaller) TokensData(opts *bind.CallOpts, arg0 common.Address) (struct { LockedFund *big.Int EthereumMappedToken common.Address IsActive bool }, error)
TokensData is a free data retrieval call binding the contract method 0xac66c6e0.
Solidity: function tokensData(address ) view returns(uint256 lockedFund, address ethereumMappedToken, bool isActive)
type BridgeBankCallerRaw ¶
type BridgeBankCallerRaw struct {
Contract *BridgeBankCaller // Generic read-only contract binding to access the raw methods on
}
BridgeBankCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*BridgeBankCallerRaw) Call ¶
func (_BridgeBank *BridgeBankCallerRaw) 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 BridgeBankCallerSession ¶
type BridgeBankCallerSession struct { Contract *BridgeBankCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
BridgeBankCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*BridgeBankCallerSession) BRIDGEBANKREVISION ¶
func (_BridgeBank *BridgeBankCallerSession) BRIDGEBANKREVISION() (*big.Int, error)
BRIDGEBANKREVISION is a free data retrieval call binding the contract method 0xf126be26.
Solidity: function BRIDGEBANK_REVISION() view returns(uint256)
func (*BridgeBankCallerSession) BandOracleInterface ¶
func (_BridgeBank *BridgeBankCallerSession) BandOracleInterface() (common.Address, error)
BandOracleInterface is a free data retrieval call binding the contract method 0xa1c1d3e2.
Solidity: function bandOracleInterface() view returns(address)
func (*BridgeBankCallerSession) BridgeRegistry ¶
func (_BridgeBank *BridgeBankCallerSession) BridgeRegistry() (common.Address, error)
BridgeRegistry is a free data retrieval call binding the contract method 0x316be171.
Solidity: function bridgeRegistry() view returns(address)
func (*BridgeBankCallerSession) CheckUnlockable ¶
func (_BridgeBank *BridgeBankCallerSession) CheckUnlockable(_token common.Address, _amount *big.Int) (bool, error)
CheckUnlockable is a free data retrieval call binding the contract method 0xb4bfd9a7.
Solidity: function checkUnlockable(address _token, uint256 _amount) view returns(bool)
func (*BridgeBankCallerSession) ETHAddress ¶
func (_BridgeBank *BridgeBankCallerSession) ETHAddress() (common.Address, error)
ETHAddress is a free data retrieval call binding the contract method 0xda228a9b.
Solidity: function ETHAddress() view returns(address)
func (*BridgeBankCallerSession) EthereumBridge ¶
func (_BridgeBank *BridgeBankCallerSession) EthereumBridge() (common.Address, error)
EthereumBridge is a free data retrieval call binding the contract method 0x1cf86a63.
Solidity: function ethereumBridge() view returns(address)
func (*BridgeBankCallerSession) FeeDenominator ¶
func (_BridgeBank *BridgeBankCallerSession) FeeDenominator() (*big.Int, error)
FeeDenominator is a free data retrieval call binding the contract method 0x180b0d7e.
Solidity: function feeDenominator() view returns(uint256)
func (*BridgeBankCallerSession) FeeNumerator ¶
func (_BridgeBank *BridgeBankCallerSession) FeeNumerator() (*big.Int, error)
FeeNumerator is a free data retrieval call binding the contract method 0xe86dea4a.
Solidity: function feeNumerator() view returns(uint256)
func (*BridgeBankCallerSession) GetLockedFund ¶
func (_BridgeBank *BridgeBankCallerSession) GetLockedFund(_harmonyToken common.Address) (*big.Int, error)
GetLockedFund is a free data retrieval call binding the contract method 0xfd930c7d.
Solidity: function getLockedFund(address _harmonyToken) view returns(uint256)
func (*BridgeBankCallerSession) GetTokenMappedAddress ¶
func (_BridgeBank *BridgeBankCallerSession) GetTokenMappedAddress(_harmonyToken common.Address) (common.Address, error)
GetTokenMappedAddress is a free data retrieval call binding the contract method 0x722b1d23.
Solidity: function getTokenMappedAddress(address _harmonyToken) view returns(address)
func (*BridgeBankCallerSession) GetTotalERC20Balance ¶
func (_BridgeBank *BridgeBankCallerSession) GetTotalERC20Balance(_harmonyToken common.Address) (*big.Int, error)
GetTotalERC20Balance is a free data retrieval call binding the contract method 0xac4a875c.
Solidity: function getTotalERC20Balance(address _harmonyToken) view returns(uint256)
func (*BridgeBankCallerSession) GetTotalONEBalance ¶
func (_BridgeBank *BridgeBankCallerSession) GetTotalONEBalance() (*big.Int, error)
GetTotalONEBalance is a free data retrieval call binding the contract method 0x0a71a74b.
Solidity: function getTotalONEBalance() view returns(uint256)
func (*BridgeBankCallerSession) IsActiveToken ¶
func (_BridgeBank *BridgeBankCallerSession) IsActiveToken(_harmonyToken common.Address) (bool, error)
IsActiveToken is a free data retrieval call binding the contract method 0x575c51c2.
Solidity: function isActiveToken(address _harmonyToken) view returns(bool)
func (*BridgeBankCallerSession) LockNonce ¶
func (_BridgeBank *BridgeBankCallerSession) LockNonce() (*big.Int, error)
LockNonce is a free data retrieval call binding the contract method 0xb5a9096e.
Solidity: function lockNonce() view returns(uint256)
func (*BridgeBankCallerSession) ONEAddress ¶
func (_BridgeBank *BridgeBankCallerSession) ONEAddress() (common.Address, error)
ONEAddress is a free data retrieval call binding the contract method 0x9d05974b.
Solidity: function ONEAddress() view returns(address)
func (*BridgeBankCallerSession) Operator ¶
func (_BridgeBank *BridgeBankCallerSession) Operator() (common.Address, error)
Operator is a free data retrieval call binding the contract method 0x570ca735.
Solidity: function operator() view returns(address)
func (*BridgeBankCallerSession) Oracle ¶
func (_BridgeBank *BridgeBankCallerSession) Oracle() (common.Address, error)
Oracle is a free data retrieval call binding the contract method 0x7dc0d1d0.
Solidity: function oracle() view returns(address)
func (*BridgeBankCallerSession) SAFENUMBER ¶
func (_BridgeBank *BridgeBankCallerSession) SAFENUMBER() (*big.Int, error)
SAFENUMBER is a free data retrieval call binding the contract method 0x204897ff.
Solidity: function SAFE_NUMBER() view returns(uint256)
func (*BridgeBankCallerSession) TokensData ¶
func (_BridgeBank *BridgeBankCallerSession) TokensData(arg0 common.Address) (struct { LockedFund *big.Int EthereumMappedToken common.Address IsActive bool }, error)
TokensData is a free data retrieval call binding the contract method 0xac66c6e0.
Solidity: function tokensData(address ) view returns(uint256 lockedFund, address ethereumMappedToken, bool isActive)
type BridgeBankFilterer ¶
type BridgeBankFilterer struct {
// contains filtered or unexported fields
}
BridgeBankFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewBridgeBankFilterer ¶
func NewBridgeBankFilterer(address common.Address, filterer bind.ContractFilterer) (*BridgeBankFilterer, error)
NewBridgeBankFilterer creates a new log filterer instance of BridgeBank, bound to a specific deployed contract.
func (*BridgeBankFilterer) FilterHmyLogLock ¶
func (_BridgeBank *BridgeBankFilterer) FilterHmyLogLock(opts *bind.FilterOpts) (*BridgeBankHmyLogLockIterator, error)
FilterHmyLogLock is a free log retrieval operation binding the contract event 0xc96ea772bdbfc9c55742ebc9bbe0d28bec1e4c02866c510c17ea178f7424bd59.
Solidity: event HmyLogLock(address _harmonySender, address _ethereumReceiver, address _harmonyToken, address _ethereumToken, uint256 _harmonyTokenAmount, uint256 _ethereumTokenAmount, uint256 _nonce)
func (*BridgeBankFilterer) FilterHmyLogUnlock ¶
func (_BridgeBank *BridgeBankFilterer) FilterHmyLogUnlock(opts *bind.FilterOpts) (*BridgeBankHmyLogUnlockIterator, error)
FilterHmyLogUnlock is a free log retrieval operation binding the contract event 0xffd748b3c62ce569a87c6f82cb83dcb53e4dbb2e51f13fb1106d62db46959e44.
Solidity: event HmyLogUnlock(address _to, address _token, uint256 _value)
func (*BridgeBankFilterer) FilterHmyUpdateEthereumBridge ¶
func (_BridgeBank *BridgeBankFilterer) FilterHmyUpdateEthereumBridge(opts *bind.FilterOpts) (*BridgeBankHmyUpdateEthereumBridgeIterator, error)
FilterHmyUpdateEthereumBridge is a free log retrieval operation binding the contract event 0xb343014bec486ed48f42e74b67d9208fc7bc2ae591844b81d33698e0460b1c65.
Solidity: event HmyUpdateEthereumBridge(address _newEthereumBridge)
func (*BridgeBankFilterer) FilterHmyUpdateFee ¶
func (_BridgeBank *BridgeBankFilterer) FilterHmyUpdateFee(opts *bind.FilterOpts) (*BridgeBankHmyUpdateFeeIterator, error)
FilterHmyUpdateFee is a free log retrieval operation binding the contract event 0xfbe5b658c60543110f4932eea0f384269457d9108d8e5eaef9e91454ed97ae46.
Solidity: event HmyUpdateFee(uint256 _feeNumerator, uint256 _feeDenominator)
func (*BridgeBankFilterer) FilterHmyUpdateOracle ¶
func (_BridgeBank *BridgeBankFilterer) FilterHmyUpdateOracle(opts *bind.FilterOpts) (*BridgeBankHmyUpdateOracleIterator, error)
FilterHmyUpdateOracle is a free log retrieval operation binding the contract event 0xe372e39b96140e811083233ea9596a9ae64bbbd4da1b56bbb88a4257b5699ce5.
Solidity: event HmyUpdateOracle(address _newOracle)
func (*BridgeBankFilterer) FilterHmyWithdrawERC20 ¶
func (_BridgeBank *BridgeBankFilterer) FilterHmyWithdrawERC20(opts *bind.FilterOpts) (*BridgeBankHmyWithdrawERC20Iterator, error)
FilterHmyWithdrawERC20 is a free log retrieval operation binding the contract event 0x26b9b38193ee7b7b01e370d117debbbe92e599b5c4ccea69f5c550840cf9489e.
Solidity: event HmyWithdrawERC20(address _token, address _receiver, uint256 _amount)
func (*BridgeBankFilterer) FilterHmyWithdrawONE ¶
func (_BridgeBank *BridgeBankFilterer) FilterHmyWithdrawONE(opts *bind.FilterOpts) (*BridgeBankHmyWithdrawONEIterator, error)
FilterHmyWithdrawONE is a free log retrieval operation binding the contract event 0x9cf9fa8598d0bf4588ecc192076dcf6cb28a0e8c20715597ba0b057fd61bf20e.
Solidity: event HmyWithdrawONE(address _receiver, uint256 _amount)
func (*BridgeBankFilterer) ParseHmyLogLock ¶
func (_BridgeBank *BridgeBankFilterer) ParseHmyLogLock(log types.Log) (*BridgeBankHmyLogLock, error)
ParseHmyLogLock is a log parse operation binding the contract event 0xc96ea772bdbfc9c55742ebc9bbe0d28bec1e4c02866c510c17ea178f7424bd59.
Solidity: event HmyLogLock(address _harmonySender, address _ethereumReceiver, address _harmonyToken, address _ethereumToken, uint256 _harmonyTokenAmount, uint256 _ethereumTokenAmount, uint256 _nonce)
func (*BridgeBankFilterer) ParseHmyLogUnlock ¶
func (_BridgeBank *BridgeBankFilterer) ParseHmyLogUnlock(log types.Log) (*BridgeBankHmyLogUnlock, error)
ParseHmyLogUnlock is a log parse operation binding the contract event 0xffd748b3c62ce569a87c6f82cb83dcb53e4dbb2e51f13fb1106d62db46959e44.
Solidity: event HmyLogUnlock(address _to, address _token, uint256 _value)
func (*BridgeBankFilterer) ParseHmyUpdateEthereumBridge ¶
func (_BridgeBank *BridgeBankFilterer) ParseHmyUpdateEthereumBridge(log types.Log) (*BridgeBankHmyUpdateEthereumBridge, error)
ParseHmyUpdateEthereumBridge is a log parse operation binding the contract event 0xb343014bec486ed48f42e74b67d9208fc7bc2ae591844b81d33698e0460b1c65.
Solidity: event HmyUpdateEthereumBridge(address _newEthereumBridge)
func (*BridgeBankFilterer) ParseHmyUpdateFee ¶
func (_BridgeBank *BridgeBankFilterer) ParseHmyUpdateFee(log types.Log) (*BridgeBankHmyUpdateFee, error)
ParseHmyUpdateFee is a log parse operation binding the contract event 0xfbe5b658c60543110f4932eea0f384269457d9108d8e5eaef9e91454ed97ae46.
Solidity: event HmyUpdateFee(uint256 _feeNumerator, uint256 _feeDenominator)
func (*BridgeBankFilterer) ParseHmyUpdateOracle ¶
func (_BridgeBank *BridgeBankFilterer) ParseHmyUpdateOracle(log types.Log) (*BridgeBankHmyUpdateOracle, error)
ParseHmyUpdateOracle is a log parse operation binding the contract event 0xe372e39b96140e811083233ea9596a9ae64bbbd4da1b56bbb88a4257b5699ce5.
Solidity: event HmyUpdateOracle(address _newOracle)
func (*BridgeBankFilterer) ParseHmyWithdrawERC20 ¶
func (_BridgeBank *BridgeBankFilterer) ParseHmyWithdrawERC20(log types.Log) (*BridgeBankHmyWithdrawERC20, error)
ParseHmyWithdrawERC20 is a log parse operation binding the contract event 0x26b9b38193ee7b7b01e370d117debbbe92e599b5c4ccea69f5c550840cf9489e.
Solidity: event HmyWithdrawERC20(address _token, address _receiver, uint256 _amount)
func (*BridgeBankFilterer) ParseHmyWithdrawONE ¶
func (_BridgeBank *BridgeBankFilterer) ParseHmyWithdrawONE(log types.Log) (*BridgeBankHmyWithdrawONE, error)
ParseHmyWithdrawONE is a log parse operation binding the contract event 0x9cf9fa8598d0bf4588ecc192076dcf6cb28a0e8c20715597ba0b057fd61bf20e.
Solidity: event HmyWithdrawONE(address _receiver, uint256 _amount)
func (*BridgeBankFilterer) WatchHmyLogLock ¶
func (_BridgeBank *BridgeBankFilterer) WatchHmyLogLock(opts *bind.WatchOpts, sink chan<- *BridgeBankHmyLogLock) (event.Subscription, error)
WatchHmyLogLock is a free log subscription operation binding the contract event 0xc96ea772bdbfc9c55742ebc9bbe0d28bec1e4c02866c510c17ea178f7424bd59.
Solidity: event HmyLogLock(address _harmonySender, address _ethereumReceiver, address _harmonyToken, address _ethereumToken, uint256 _harmonyTokenAmount, uint256 _ethereumTokenAmount, uint256 _nonce)
func (*BridgeBankFilterer) WatchHmyLogUnlock ¶
func (_BridgeBank *BridgeBankFilterer) WatchHmyLogUnlock(opts *bind.WatchOpts, sink chan<- *BridgeBankHmyLogUnlock) (event.Subscription, error)
WatchHmyLogUnlock is a free log subscription operation binding the contract event 0xffd748b3c62ce569a87c6f82cb83dcb53e4dbb2e51f13fb1106d62db46959e44.
Solidity: event HmyLogUnlock(address _to, address _token, uint256 _value)
func (*BridgeBankFilterer) WatchHmyUpdateEthereumBridge ¶
func (_BridgeBank *BridgeBankFilterer) WatchHmyUpdateEthereumBridge(opts *bind.WatchOpts, sink chan<- *BridgeBankHmyUpdateEthereumBridge) (event.Subscription, error)
WatchHmyUpdateEthereumBridge is a free log subscription operation binding the contract event 0xb343014bec486ed48f42e74b67d9208fc7bc2ae591844b81d33698e0460b1c65.
Solidity: event HmyUpdateEthereumBridge(address _newEthereumBridge)
func (*BridgeBankFilterer) WatchHmyUpdateFee ¶
func (_BridgeBank *BridgeBankFilterer) WatchHmyUpdateFee(opts *bind.WatchOpts, sink chan<- *BridgeBankHmyUpdateFee) (event.Subscription, error)
WatchHmyUpdateFee is a free log subscription operation binding the contract event 0xfbe5b658c60543110f4932eea0f384269457d9108d8e5eaef9e91454ed97ae46.
Solidity: event HmyUpdateFee(uint256 _feeNumerator, uint256 _feeDenominator)
func (*BridgeBankFilterer) WatchHmyUpdateOracle ¶
func (_BridgeBank *BridgeBankFilterer) WatchHmyUpdateOracle(opts *bind.WatchOpts, sink chan<- *BridgeBankHmyUpdateOracle) (event.Subscription, error)
WatchHmyUpdateOracle is a free log subscription operation binding the contract event 0xe372e39b96140e811083233ea9596a9ae64bbbd4da1b56bbb88a4257b5699ce5.
Solidity: event HmyUpdateOracle(address _newOracle)
func (*BridgeBankFilterer) WatchHmyWithdrawERC20 ¶
func (_BridgeBank *BridgeBankFilterer) WatchHmyWithdrawERC20(opts *bind.WatchOpts, sink chan<- *BridgeBankHmyWithdrawERC20) (event.Subscription, error)
WatchHmyWithdrawERC20 is a free log subscription operation binding the contract event 0x26b9b38193ee7b7b01e370d117debbbe92e599b5c4ccea69f5c550840cf9489e.
Solidity: event HmyWithdrawERC20(address _token, address _receiver, uint256 _amount)
func (*BridgeBankFilterer) WatchHmyWithdrawONE ¶
func (_BridgeBank *BridgeBankFilterer) WatchHmyWithdrawONE(opts *bind.WatchOpts, sink chan<- *BridgeBankHmyWithdrawONE) (event.Subscription, error)
WatchHmyWithdrawONE is a free log subscription operation binding the contract event 0x9cf9fa8598d0bf4588ecc192076dcf6cb28a0e8c20715597ba0b057fd61bf20e.
Solidity: event HmyWithdrawONE(address _receiver, uint256 _amount)
type BridgeBankHmyLogLock ¶
type BridgeBankHmyLogLock struct { HarmonySender common.Address EthereumReceiver common.Address HarmonyToken common.Address EthereumToken common.Address HarmonyTokenAmount *big.Int EthereumTokenAmount *big.Int Nonce *big.Int Raw types.Log // Blockchain specific contextual infos }
BridgeBankHmyLogLock represents a HmyLogLock event raised by the BridgeBank contract.
type BridgeBankHmyLogLockIterator ¶
type BridgeBankHmyLogLockIterator struct { Event *BridgeBankHmyLogLock // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BridgeBankHmyLogLockIterator is returned from FilterHmyLogLock and is used to iterate over the raw logs and unpacked data for HmyLogLock events raised by the BridgeBank contract.
func (*BridgeBankHmyLogLockIterator) Close ¶
func (it *BridgeBankHmyLogLockIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BridgeBankHmyLogLockIterator) Error ¶
func (it *BridgeBankHmyLogLockIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BridgeBankHmyLogLockIterator) Next ¶
func (it *BridgeBankHmyLogLockIterator) 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 BridgeBankHmyLogUnlock ¶
type BridgeBankHmyLogUnlock struct { To common.Address Token common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
BridgeBankHmyLogUnlock represents a HmyLogUnlock event raised by the BridgeBank contract.
type BridgeBankHmyLogUnlockIterator ¶
type BridgeBankHmyLogUnlockIterator struct { Event *BridgeBankHmyLogUnlock // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BridgeBankHmyLogUnlockIterator is returned from FilterHmyLogUnlock and is used to iterate over the raw logs and unpacked data for HmyLogUnlock events raised by the BridgeBank contract.
func (*BridgeBankHmyLogUnlockIterator) Close ¶
func (it *BridgeBankHmyLogUnlockIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BridgeBankHmyLogUnlockIterator) Error ¶
func (it *BridgeBankHmyLogUnlockIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BridgeBankHmyLogUnlockIterator) Next ¶
func (it *BridgeBankHmyLogUnlockIterator) 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 BridgeBankHmyUpdateEthereumBridge ¶
type BridgeBankHmyUpdateEthereumBridge struct { NewEthereumBridge common.Address Raw types.Log // Blockchain specific contextual infos }
BridgeBankHmyUpdateEthereumBridge represents a HmyUpdateEthereumBridge event raised by the BridgeBank contract.
type BridgeBankHmyUpdateEthereumBridgeIterator ¶
type BridgeBankHmyUpdateEthereumBridgeIterator struct { Event *BridgeBankHmyUpdateEthereumBridge // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BridgeBankHmyUpdateEthereumBridgeIterator is returned from FilterHmyUpdateEthereumBridge and is used to iterate over the raw logs and unpacked data for HmyUpdateEthereumBridge events raised by the BridgeBank contract.
func (*BridgeBankHmyUpdateEthereumBridgeIterator) Close ¶
func (it *BridgeBankHmyUpdateEthereumBridgeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BridgeBankHmyUpdateEthereumBridgeIterator) Error ¶
func (it *BridgeBankHmyUpdateEthereumBridgeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BridgeBankHmyUpdateEthereumBridgeIterator) Next ¶
func (it *BridgeBankHmyUpdateEthereumBridgeIterator) 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 BridgeBankHmyUpdateFee ¶
type BridgeBankHmyUpdateFee struct { FeeNumerator *big.Int FeeDenominator *big.Int Raw types.Log // Blockchain specific contextual infos }
BridgeBankHmyUpdateFee represents a HmyUpdateFee event raised by the BridgeBank contract.
type BridgeBankHmyUpdateFeeIterator ¶
type BridgeBankHmyUpdateFeeIterator struct { Event *BridgeBankHmyUpdateFee // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BridgeBankHmyUpdateFeeIterator is returned from FilterHmyUpdateFee and is used to iterate over the raw logs and unpacked data for HmyUpdateFee events raised by the BridgeBank contract.
func (*BridgeBankHmyUpdateFeeIterator) Close ¶
func (it *BridgeBankHmyUpdateFeeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BridgeBankHmyUpdateFeeIterator) Error ¶
func (it *BridgeBankHmyUpdateFeeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BridgeBankHmyUpdateFeeIterator) Next ¶
func (it *BridgeBankHmyUpdateFeeIterator) 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 BridgeBankHmyUpdateOracle ¶
type BridgeBankHmyUpdateOracle struct { NewOracle common.Address Raw types.Log // Blockchain specific contextual infos }
BridgeBankHmyUpdateOracle represents a HmyUpdateOracle event raised by the BridgeBank contract.
type BridgeBankHmyUpdateOracleIterator ¶
type BridgeBankHmyUpdateOracleIterator struct { Event *BridgeBankHmyUpdateOracle // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BridgeBankHmyUpdateOracleIterator is returned from FilterHmyUpdateOracle and is used to iterate over the raw logs and unpacked data for HmyUpdateOracle events raised by the BridgeBank contract.
func (*BridgeBankHmyUpdateOracleIterator) Close ¶
func (it *BridgeBankHmyUpdateOracleIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BridgeBankHmyUpdateOracleIterator) Error ¶
func (it *BridgeBankHmyUpdateOracleIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BridgeBankHmyUpdateOracleIterator) Next ¶
func (it *BridgeBankHmyUpdateOracleIterator) 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 BridgeBankHmyWithdrawERC20 ¶
type BridgeBankHmyWithdrawERC20 struct { Token common.Address Receiver common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
BridgeBankHmyWithdrawERC20 represents a HmyWithdrawERC20 event raised by the BridgeBank contract.
type BridgeBankHmyWithdrawERC20Iterator ¶
type BridgeBankHmyWithdrawERC20Iterator struct { Event *BridgeBankHmyWithdrawERC20 // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BridgeBankHmyWithdrawERC20Iterator is returned from FilterHmyWithdrawERC20 and is used to iterate over the raw logs and unpacked data for HmyWithdrawERC20 events raised by the BridgeBank contract.
func (*BridgeBankHmyWithdrawERC20Iterator) Close ¶
func (it *BridgeBankHmyWithdrawERC20Iterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BridgeBankHmyWithdrawERC20Iterator) Error ¶
func (it *BridgeBankHmyWithdrawERC20Iterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BridgeBankHmyWithdrawERC20Iterator) Next ¶
func (it *BridgeBankHmyWithdrawERC20Iterator) 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 BridgeBankHmyWithdrawONE ¶
type BridgeBankHmyWithdrawONE struct { Receiver common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
BridgeBankHmyWithdrawONE represents a HmyWithdrawONE event raised by the BridgeBank contract.
type BridgeBankHmyWithdrawONEIterator ¶
type BridgeBankHmyWithdrawONEIterator struct { Event *BridgeBankHmyWithdrawONE // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BridgeBankHmyWithdrawONEIterator is returned from FilterHmyWithdrawONE and is used to iterate over the raw logs and unpacked data for HmyWithdrawONE events raised by the BridgeBank contract.
func (*BridgeBankHmyWithdrawONEIterator) Close ¶
func (it *BridgeBankHmyWithdrawONEIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BridgeBankHmyWithdrawONEIterator) Error ¶
func (it *BridgeBankHmyWithdrawONEIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BridgeBankHmyWithdrawONEIterator) Next ¶
func (it *BridgeBankHmyWithdrawONEIterator) 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 BridgeBankRaw ¶
type BridgeBankRaw struct {
Contract *BridgeBank // Generic contract binding to access the raw methods on
}
BridgeBankRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*BridgeBankRaw) Call ¶
func (_BridgeBank *BridgeBankRaw) 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 (*BridgeBankRaw) Transact ¶
func (_BridgeBank *BridgeBankRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BridgeBankRaw) Transfer ¶
func (_BridgeBank *BridgeBankRaw) 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 BridgeBankSession ¶
type BridgeBankSession struct { Contract *BridgeBank // 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 }
BridgeBankSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*BridgeBankSession) ActivateToken ¶
func (_BridgeBank *BridgeBankSession) ActivateToken(_harmonyToken common.Address) (*types.Transaction, error)
ActivateToken is a paid mutator transaction binding the contract method 0x0d1ce2d2.
Solidity: function activateToken(address _harmonyToken) returns()
func (*BridgeBankSession) AddToken ¶
func (_BridgeBank *BridgeBankSession) AddToken(_harmonyToken common.Address, _harmonyTokenAmount *big.Int, _ethereumToken common.Address) (*types.Transaction, error)
AddToken is a paid mutator transaction binding the contract method 0xa766a392.
Solidity: function addToken(address _harmonyToken, uint256 _harmonyTokenAmount, address _ethereumToken) returns()
func (*BridgeBankSession) BRIDGEBANKREVISION ¶
func (_BridgeBank *BridgeBankSession) BRIDGEBANKREVISION() (*big.Int, error)
BRIDGEBANKREVISION is a free data retrieval call binding the contract method 0xf126be26.
Solidity: function BRIDGEBANK_REVISION() view returns(uint256)
func (*BridgeBankSession) BandOracleInterface ¶
func (_BridgeBank *BridgeBankSession) BandOracleInterface() (common.Address, error)
BandOracleInterface is a free data retrieval call binding the contract method 0xa1c1d3e2.
Solidity: function bandOracleInterface() view returns(address)
func (*BridgeBankSession) BridgeRegistry ¶
func (_BridgeBank *BridgeBankSession) BridgeRegistry() (common.Address, error)
BridgeRegistry is a free data retrieval call binding the contract method 0x316be171.
Solidity: function bridgeRegistry() view returns(address)
func (*BridgeBankSession) CheckUnlockable ¶
func (_BridgeBank *BridgeBankSession) CheckUnlockable(_token common.Address, _amount *big.Int) (bool, error)
CheckUnlockable is a free data retrieval call binding the contract method 0xb4bfd9a7.
Solidity: function checkUnlockable(address _token, uint256 _amount) view returns(bool)
func (*BridgeBankSession) DeactivateToken ¶
func (_BridgeBank *BridgeBankSession) DeactivateToken(_harmonyToken common.Address) (*types.Transaction, error)
DeactivateToken is a paid mutator transaction binding the contract method 0x68173bcf.
Solidity: function deactivateToken(address _harmonyToken) returns()
func (*BridgeBankSession) ETHAddress ¶
func (_BridgeBank *BridgeBankSession) ETHAddress() (common.Address, error)
ETHAddress is a free data retrieval call binding the contract method 0xda228a9b.
Solidity: function ETHAddress() view returns(address)
func (*BridgeBankSession) EthereumBridge ¶
func (_BridgeBank *BridgeBankSession) EthereumBridge() (common.Address, error)
EthereumBridge is a free data retrieval call binding the contract method 0x1cf86a63.
Solidity: function ethereumBridge() view returns(address)
func (*BridgeBankSession) Fallback ¶
func (_BridgeBank *BridgeBankSession) Fallback(calldata []byte) (*types.Transaction, error)
Fallback is a paid mutator transaction binding the contract fallback function.
Solidity: fallback() payable returns()
func (*BridgeBankSession) FeeDenominator ¶
func (_BridgeBank *BridgeBankSession) FeeDenominator() (*big.Int, error)
FeeDenominator is a free data retrieval call binding the contract method 0x180b0d7e.
Solidity: function feeDenominator() view returns(uint256)
func (*BridgeBankSession) FeeNumerator ¶
func (_BridgeBank *BridgeBankSession) FeeNumerator() (*big.Int, error)
FeeNumerator is a free data retrieval call binding the contract method 0xe86dea4a.
Solidity: function feeNumerator() view returns(uint256)
func (*BridgeBankSession) GetLockedFund ¶
GetLockedFund is a free data retrieval call binding the contract method 0xfd930c7d.
Solidity: function getLockedFund(address _harmonyToken) view returns(uint256)
func (*BridgeBankSession) GetTokenMappedAddress ¶
func (_BridgeBank *BridgeBankSession) GetTokenMappedAddress(_harmonyToken common.Address) (common.Address, error)
GetTokenMappedAddress is a free data retrieval call binding the contract method 0x722b1d23.
Solidity: function getTokenMappedAddress(address _harmonyToken) view returns(address)
func (*BridgeBankSession) GetTotalERC20Balance ¶
func (_BridgeBank *BridgeBankSession) GetTotalERC20Balance(_harmonyToken common.Address) (*big.Int, error)
GetTotalERC20Balance is a free data retrieval call binding the contract method 0xac4a875c.
Solidity: function getTotalERC20Balance(address _harmonyToken) view returns(uint256)
func (*BridgeBankSession) GetTotalONEBalance ¶
func (_BridgeBank *BridgeBankSession) GetTotalONEBalance() (*big.Int, error)
GetTotalONEBalance is a free data retrieval call binding the contract method 0x0a71a74b.
Solidity: function getTotalONEBalance() view returns(uint256)
func (*BridgeBankSession) Initialize ¶
func (_BridgeBank *BridgeBankSession) Initialize(_bridgeRegistry common.Address, _bandOracleAddress common.Address, _ethereumONE common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xc0c53b8b.
Solidity: function initialize(address _bridgeRegistry, address _bandOracleAddress, address _ethereumONE) payable returns()
func (*BridgeBankSession) IsActiveToken ¶
func (_BridgeBank *BridgeBankSession) IsActiveToken(_harmonyToken common.Address) (bool, error)
IsActiveToken is a free data retrieval call binding the contract method 0x575c51c2.
Solidity: function isActiveToken(address _harmonyToken) view returns(bool)
func (*BridgeBankSession) LockNonce ¶
func (_BridgeBank *BridgeBankSession) LockNonce() (*big.Int, error)
LockNonce is a free data retrieval call binding the contract method 0xb5a9096e.
Solidity: function lockNonce() view returns(uint256)
func (*BridgeBankSession) ONEAddress ¶
func (_BridgeBank *BridgeBankSession) ONEAddress() (common.Address, error)
ONEAddress is a free data retrieval call binding the contract method 0x9d05974b.
Solidity: function ONEAddress() view returns(address)
func (*BridgeBankSession) Operator ¶
func (_BridgeBank *BridgeBankSession) Operator() (common.Address, error)
Operator is a free data retrieval call binding the contract method 0x570ca735.
Solidity: function operator() view returns(address)
func (*BridgeBankSession) Oracle ¶
func (_BridgeBank *BridgeBankSession) Oracle() (common.Address, error)
Oracle is a free data retrieval call binding the contract method 0x7dc0d1d0.
Solidity: function oracle() view returns(address)
func (*BridgeBankSession) SAFENUMBER ¶
func (_BridgeBank *BridgeBankSession) SAFENUMBER() (*big.Int, error)
SAFENUMBER is a free data retrieval call binding the contract method 0x204897ff.
Solidity: function SAFE_NUMBER() view returns(uint256)
func (*BridgeBankSession) SwapONEForETH ¶
func (_BridgeBank *BridgeBankSession) SwapONEForETH(_ethereumReceiver common.Address, _amountONE *big.Int) (*types.Transaction, error)
SwapONEForETH is a paid mutator transaction binding the contract method 0xf81e9612.
Solidity: function swapONEForETH(address _ethereumReceiver, uint256 _amountONE) payable returns()
func (*BridgeBankSession) SwapONEForToken ¶
func (_BridgeBank *BridgeBankSession) SwapONEForToken(_ethereumReceiver common.Address, _amountONE *big.Int, _destToken common.Address) (*types.Transaction, error)
SwapONEForToken is a paid mutator transaction binding the contract method 0xd4df26d2.
Solidity: function swapONEForToken(address _ethereumReceiver, uint256 _amountONE, address _destToken) payable returns()
func (*BridgeBankSession) SwapONEForWrappedONE ¶
func (_BridgeBank *BridgeBankSession) SwapONEForWrappedONE(_ethereumReceiver common.Address, _amountONE *big.Int) (*types.Transaction, error)
SwapONEForWrappedONE is a paid mutator transaction binding the contract method 0x07e4150d.
Solidity: function swapONEForWrappedONE(address _ethereumReceiver, uint256 _amountONE) payable returns()
func (*BridgeBankSession) SwapToken11 ¶
func (_BridgeBank *BridgeBankSession) SwapToken11(_ethereumReceiver common.Address, _harmonyToken common.Address, _harmonyTokenAmount *big.Int) (*types.Transaction, error)
SwapToken11 is a paid mutator transaction binding the contract method 0xbb0a64db.
Solidity: function swapToken_1_1(address _ethereumReceiver, address _harmonyToken, uint256 _harmonyTokenAmount) returns()
func (*BridgeBankSession) SwapTokenForETH ¶
func (_BridgeBank *BridgeBankSession) SwapTokenForETH(_ethereumReceiver common.Address, _harmonyToken common.Address, _harmonyTokenAmount *big.Int) (*types.Transaction, error)
SwapTokenForETH is a paid mutator transaction binding the contract method 0x751c6305.
Solidity: function swapTokenForETH(address _ethereumReceiver, address _harmonyToken, uint256 _harmonyTokenAmount) returns()
func (*BridgeBankSession) SwapTokenForToken ¶
func (_BridgeBank *BridgeBankSession) SwapTokenForToken(_ethereumReceiver common.Address, _harmonyToken common.Address, _harmonyTokenAmount *big.Int, _destToken common.Address) (*types.Transaction, error)
SwapTokenForToken is a paid mutator transaction binding the contract method 0x9b92910c.
Solidity: function swapTokenForToken(address _ethereumReceiver, address _harmonyToken, uint256 _harmonyTokenAmount, address _destToken) returns()
func (*BridgeBankSession) SwapTokenForWONE ¶
func (_BridgeBank *BridgeBankSession) SwapTokenForWONE(_ethereumReceiver common.Address, _harmonyToken common.Address, _harmonyTokenAmount *big.Int) (*types.Transaction, error)
SwapTokenForWONE is a paid mutator transaction binding the contract method 0xe42f414d.
Solidity: function swapTokenForWONE(address _ethereumReceiver, address _harmonyToken, uint256 _harmonyTokenAmount) returns()
func (*BridgeBankSession) TokensData ¶
func (_BridgeBank *BridgeBankSession) TokensData(arg0 common.Address) (struct { LockedFund *big.Int EthereumMappedToken common.Address IsActive bool }, error)
TokensData is a free data retrieval call binding the contract method 0xac66c6e0.
Solidity: function tokensData(address ) view returns(uint256 lockedFund, address ethereumMappedToken, bool isActive)
func (*BridgeBankSession) UnlockERC20 ¶
func (_BridgeBank *BridgeBankSession) UnlockERC20(_harmonyReceiver common.Address, _harmonyToken common.Address, _harmonyTokenAmount *big.Int) (*types.Transaction, error)
UnlockERC20 is a paid mutator transaction binding the contract method 0x3c298e78.
Solidity: function unlockERC20(address _harmonyReceiver, address _harmonyToken, uint256 _harmonyTokenAmount) returns()
func (*BridgeBankSession) UnlockONE ¶
func (_BridgeBank *BridgeBankSession) UnlockONE(_harmonyReceiver common.Address, _amountONE *big.Int) (*types.Transaction, error)
UnlockONE is a paid mutator transaction binding the contract method 0x67c2c018.
Solidity: function unlockONE(address _harmonyReceiver, uint256 _amountONE) returns()
func (*BridgeBankSession) UpdateFee ¶
func (_BridgeBank *BridgeBankSession) UpdateFee(_feeNumerator *big.Int, _feeDenominator *big.Int) (*types.Transaction, error)
UpdateFee is a paid mutator transaction binding the contract method 0x2740c197.
Solidity: function updateFee(uint256 _feeNumerator, uint256 _feeDenominator) returns()
func (*BridgeBankSession) UpdateHmyBridge ¶
func (_BridgeBank *BridgeBankSession) UpdateHmyBridge(_ethereumBridge common.Address) (*types.Transaction, error)
UpdateHmyBridge is a paid mutator transaction binding the contract method 0x17877820.
Solidity: function updateHmyBridge(address _ethereumBridge) returns()
func (*BridgeBankSession) UpdateOracle ¶
func (_BridgeBank *BridgeBankSession) UpdateOracle(_oracleAddress common.Address) (*types.Transaction, error)
UpdateOracle is a paid mutator transaction binding the contract method 0x1cb44dfc.
Solidity: function updateOracle(address _oracleAddress) returns()
func (*BridgeBankSession) WithdrawERC20 ¶
func (_BridgeBank *BridgeBankSession) WithdrawERC20(_harmonyToken common.Address, _harmonyReceiver common.Address, _harmonyTokenAmount *big.Int) (*types.Transaction, error)
WithdrawERC20 is a paid mutator transaction binding the contract method 0x44004cc1.
Solidity: function withdrawERC20(address _harmonyToken, address _harmonyReceiver, uint256 _harmonyTokenAmount) returns()
func (*BridgeBankSession) WithdrawONE ¶
func (_BridgeBank *BridgeBankSession) WithdrawONE(_harmonyReceiver common.Address, _amountONE *big.Int) (*types.Transaction, error)
WithdrawONE is a paid mutator transaction binding the contract method 0x6082072e.
Solidity: function withdrawONE(address _harmonyReceiver, uint256 _amountONE) returns()
type BridgeBankTransactor ¶
type BridgeBankTransactor struct {
// contains filtered or unexported fields
}
BridgeBankTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewBridgeBankTransactor ¶
func NewBridgeBankTransactor(address common.Address, transactor bind.ContractTransactor) (*BridgeBankTransactor, error)
NewBridgeBankTransactor creates a new write-only instance of BridgeBank, bound to a specific deployed contract.
func (*BridgeBankTransactor) ActivateToken ¶
func (_BridgeBank *BridgeBankTransactor) ActivateToken(opts *bind.TransactOpts, _harmonyToken common.Address) (*types.Transaction, error)
ActivateToken is a paid mutator transaction binding the contract method 0x0d1ce2d2.
Solidity: function activateToken(address _harmonyToken) returns()
func (*BridgeBankTransactor) AddToken ¶
func (_BridgeBank *BridgeBankTransactor) AddToken(opts *bind.TransactOpts, _harmonyToken common.Address, _harmonyTokenAmount *big.Int, _ethereumToken common.Address) (*types.Transaction, error)
AddToken is a paid mutator transaction binding the contract method 0xa766a392.
Solidity: function addToken(address _harmonyToken, uint256 _harmonyTokenAmount, address _ethereumToken) returns()
func (*BridgeBankTransactor) DeactivateToken ¶
func (_BridgeBank *BridgeBankTransactor) DeactivateToken(opts *bind.TransactOpts, _harmonyToken common.Address) (*types.Transaction, error)
DeactivateToken is a paid mutator transaction binding the contract method 0x68173bcf.
Solidity: function deactivateToken(address _harmonyToken) returns()
func (*BridgeBankTransactor) Fallback ¶
func (_BridgeBank *BridgeBankTransactor) Fallback(opts *bind.TransactOpts, calldata []byte) (*types.Transaction, error)
Fallback is a paid mutator transaction binding the contract fallback function.
Solidity: fallback() payable returns()
func (*BridgeBankTransactor) Initialize ¶
func (_BridgeBank *BridgeBankTransactor) Initialize(opts *bind.TransactOpts, _bridgeRegistry common.Address, _bandOracleAddress common.Address, _ethereumONE common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xc0c53b8b.
Solidity: function initialize(address _bridgeRegistry, address _bandOracleAddress, address _ethereumONE) payable returns()
func (*BridgeBankTransactor) SwapONEForETH ¶
func (_BridgeBank *BridgeBankTransactor) SwapONEForETH(opts *bind.TransactOpts, _ethereumReceiver common.Address, _amountONE *big.Int) (*types.Transaction, error)
SwapONEForETH is a paid mutator transaction binding the contract method 0xf81e9612.
Solidity: function swapONEForETH(address _ethereumReceiver, uint256 _amountONE) payable returns()
func (*BridgeBankTransactor) SwapONEForToken ¶
func (_BridgeBank *BridgeBankTransactor) SwapONEForToken(opts *bind.TransactOpts, _ethereumReceiver common.Address, _amountONE *big.Int, _destToken common.Address) (*types.Transaction, error)
SwapONEForToken is a paid mutator transaction binding the contract method 0xd4df26d2.
Solidity: function swapONEForToken(address _ethereumReceiver, uint256 _amountONE, address _destToken) payable returns()
func (*BridgeBankTransactor) SwapONEForWrappedONE ¶
func (_BridgeBank *BridgeBankTransactor) SwapONEForWrappedONE(opts *bind.TransactOpts, _ethereumReceiver common.Address, _amountONE *big.Int) (*types.Transaction, error)
SwapONEForWrappedONE is a paid mutator transaction binding the contract method 0x07e4150d.
Solidity: function swapONEForWrappedONE(address _ethereumReceiver, uint256 _amountONE) payable returns()
func (*BridgeBankTransactor) SwapToken11 ¶
func (_BridgeBank *BridgeBankTransactor) SwapToken11(opts *bind.TransactOpts, _ethereumReceiver common.Address, _harmonyToken common.Address, _harmonyTokenAmount *big.Int) (*types.Transaction, error)
SwapToken11 is a paid mutator transaction binding the contract method 0xbb0a64db.
Solidity: function swapToken_1_1(address _ethereumReceiver, address _harmonyToken, uint256 _harmonyTokenAmount) returns()
func (*BridgeBankTransactor) SwapTokenForETH ¶
func (_BridgeBank *BridgeBankTransactor) SwapTokenForETH(opts *bind.TransactOpts, _ethereumReceiver common.Address, _harmonyToken common.Address, _harmonyTokenAmount *big.Int) (*types.Transaction, error)
SwapTokenForETH is a paid mutator transaction binding the contract method 0x751c6305.
Solidity: function swapTokenForETH(address _ethereumReceiver, address _harmonyToken, uint256 _harmonyTokenAmount) returns()
func (*BridgeBankTransactor) SwapTokenForToken ¶
func (_BridgeBank *BridgeBankTransactor) SwapTokenForToken(opts *bind.TransactOpts, _ethereumReceiver common.Address, _harmonyToken common.Address, _harmonyTokenAmount *big.Int, _destToken common.Address) (*types.Transaction, error)
SwapTokenForToken is a paid mutator transaction binding the contract method 0x9b92910c.
Solidity: function swapTokenForToken(address _ethereumReceiver, address _harmonyToken, uint256 _harmonyTokenAmount, address _destToken) returns()
func (*BridgeBankTransactor) SwapTokenForWONE ¶
func (_BridgeBank *BridgeBankTransactor) SwapTokenForWONE(opts *bind.TransactOpts, _ethereumReceiver common.Address, _harmonyToken common.Address, _harmonyTokenAmount *big.Int) (*types.Transaction, error)
SwapTokenForWONE is a paid mutator transaction binding the contract method 0xe42f414d.
Solidity: function swapTokenForWONE(address _ethereumReceiver, address _harmonyToken, uint256 _harmonyTokenAmount) returns()
func (*BridgeBankTransactor) UnlockERC20 ¶
func (_BridgeBank *BridgeBankTransactor) UnlockERC20(opts *bind.TransactOpts, _harmonyReceiver common.Address, _harmonyToken common.Address, _harmonyTokenAmount *big.Int) (*types.Transaction, error)
UnlockERC20 is a paid mutator transaction binding the contract method 0x3c298e78.
Solidity: function unlockERC20(address _harmonyReceiver, address _harmonyToken, uint256 _harmonyTokenAmount) returns()
func (*BridgeBankTransactor) UnlockONE ¶
func (_BridgeBank *BridgeBankTransactor) UnlockONE(opts *bind.TransactOpts, _harmonyReceiver common.Address, _amountONE *big.Int) (*types.Transaction, error)
UnlockONE is a paid mutator transaction binding the contract method 0x67c2c018.
Solidity: function unlockONE(address _harmonyReceiver, uint256 _amountONE) returns()
func (*BridgeBankTransactor) UpdateFee ¶
func (_BridgeBank *BridgeBankTransactor) UpdateFee(opts *bind.TransactOpts, _feeNumerator *big.Int, _feeDenominator *big.Int) (*types.Transaction, error)
UpdateFee is a paid mutator transaction binding the contract method 0x2740c197.
Solidity: function updateFee(uint256 _feeNumerator, uint256 _feeDenominator) returns()
func (*BridgeBankTransactor) UpdateHmyBridge ¶
func (_BridgeBank *BridgeBankTransactor) UpdateHmyBridge(opts *bind.TransactOpts, _ethereumBridge common.Address) (*types.Transaction, error)
UpdateHmyBridge is a paid mutator transaction binding the contract method 0x17877820.
Solidity: function updateHmyBridge(address _ethereumBridge) returns()
func (*BridgeBankTransactor) UpdateOracle ¶
func (_BridgeBank *BridgeBankTransactor) UpdateOracle(opts *bind.TransactOpts, _oracleAddress common.Address) (*types.Transaction, error)
UpdateOracle is a paid mutator transaction binding the contract method 0x1cb44dfc.
Solidity: function updateOracle(address _oracleAddress) returns()
func (*BridgeBankTransactor) WithdrawERC20 ¶
func (_BridgeBank *BridgeBankTransactor) WithdrawERC20(opts *bind.TransactOpts, _harmonyToken common.Address, _harmonyReceiver common.Address, _harmonyTokenAmount *big.Int) (*types.Transaction, error)
WithdrawERC20 is a paid mutator transaction binding the contract method 0x44004cc1.
Solidity: function withdrawERC20(address _harmonyToken, address _harmonyReceiver, uint256 _harmonyTokenAmount) returns()
func (*BridgeBankTransactor) WithdrawONE ¶
func (_BridgeBank *BridgeBankTransactor) WithdrawONE(opts *bind.TransactOpts, _harmonyReceiver common.Address, _amountONE *big.Int) (*types.Transaction, error)
WithdrawONE is a paid mutator transaction binding the contract method 0x6082072e.
Solidity: function withdrawONE(address _harmonyReceiver, uint256 _amountONE) returns()
type BridgeBankTransactorRaw ¶
type BridgeBankTransactorRaw struct {
Contract *BridgeBankTransactor // Generic write-only contract binding to access the raw methods on
}
BridgeBankTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*BridgeBankTransactorRaw) Transact ¶
func (_BridgeBank *BridgeBankTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BridgeBankTransactorRaw) Transfer ¶
func (_BridgeBank *BridgeBankTransactorRaw) 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 BridgeBankTransactorSession ¶
type BridgeBankTransactorSession struct { Contract *BridgeBankTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
BridgeBankTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*BridgeBankTransactorSession) ActivateToken ¶
func (_BridgeBank *BridgeBankTransactorSession) ActivateToken(_harmonyToken common.Address) (*types.Transaction, error)
ActivateToken is a paid mutator transaction binding the contract method 0x0d1ce2d2.
Solidity: function activateToken(address _harmonyToken) returns()
func (*BridgeBankTransactorSession) AddToken ¶
func (_BridgeBank *BridgeBankTransactorSession) AddToken(_harmonyToken common.Address, _harmonyTokenAmount *big.Int, _ethereumToken common.Address) (*types.Transaction, error)
AddToken is a paid mutator transaction binding the contract method 0xa766a392.
Solidity: function addToken(address _harmonyToken, uint256 _harmonyTokenAmount, address _ethereumToken) returns()
func (*BridgeBankTransactorSession) DeactivateToken ¶
func (_BridgeBank *BridgeBankTransactorSession) DeactivateToken(_harmonyToken common.Address) (*types.Transaction, error)
DeactivateToken is a paid mutator transaction binding the contract method 0x68173bcf.
Solidity: function deactivateToken(address _harmonyToken) returns()
func (*BridgeBankTransactorSession) Fallback ¶
func (_BridgeBank *BridgeBankTransactorSession) Fallback(calldata []byte) (*types.Transaction, error)
Fallback is a paid mutator transaction binding the contract fallback function.
Solidity: fallback() payable returns()
func (*BridgeBankTransactorSession) Initialize ¶
func (_BridgeBank *BridgeBankTransactorSession) Initialize(_bridgeRegistry common.Address, _bandOracleAddress common.Address, _ethereumONE common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xc0c53b8b.
Solidity: function initialize(address _bridgeRegistry, address _bandOracleAddress, address _ethereumONE) payable returns()
func (*BridgeBankTransactorSession) SwapONEForETH ¶
func (_BridgeBank *BridgeBankTransactorSession) SwapONEForETH(_ethereumReceiver common.Address, _amountONE *big.Int) (*types.Transaction, error)
SwapONEForETH is a paid mutator transaction binding the contract method 0xf81e9612.
Solidity: function swapONEForETH(address _ethereumReceiver, uint256 _amountONE) payable returns()
func (*BridgeBankTransactorSession) SwapONEForToken ¶
func (_BridgeBank *BridgeBankTransactorSession) SwapONEForToken(_ethereumReceiver common.Address, _amountONE *big.Int, _destToken common.Address) (*types.Transaction, error)
SwapONEForToken is a paid mutator transaction binding the contract method 0xd4df26d2.
Solidity: function swapONEForToken(address _ethereumReceiver, uint256 _amountONE, address _destToken) payable returns()
func (*BridgeBankTransactorSession) SwapONEForWrappedONE ¶
func (_BridgeBank *BridgeBankTransactorSession) SwapONEForWrappedONE(_ethereumReceiver common.Address, _amountONE *big.Int) (*types.Transaction, error)
SwapONEForWrappedONE is a paid mutator transaction binding the contract method 0x07e4150d.
Solidity: function swapONEForWrappedONE(address _ethereumReceiver, uint256 _amountONE) payable returns()
func (*BridgeBankTransactorSession) SwapToken11 ¶
func (_BridgeBank *BridgeBankTransactorSession) SwapToken11(_ethereumReceiver common.Address, _harmonyToken common.Address, _harmonyTokenAmount *big.Int) (*types.Transaction, error)
SwapToken11 is a paid mutator transaction binding the contract method 0xbb0a64db.
Solidity: function swapToken_1_1(address _ethereumReceiver, address _harmonyToken, uint256 _harmonyTokenAmount) returns()
func (*BridgeBankTransactorSession) SwapTokenForETH ¶
func (_BridgeBank *BridgeBankTransactorSession) SwapTokenForETH(_ethereumReceiver common.Address, _harmonyToken common.Address, _harmonyTokenAmount *big.Int) (*types.Transaction, error)
SwapTokenForETH is a paid mutator transaction binding the contract method 0x751c6305.
Solidity: function swapTokenForETH(address _ethereumReceiver, address _harmonyToken, uint256 _harmonyTokenAmount) returns()
func (*BridgeBankTransactorSession) SwapTokenForToken ¶
func (_BridgeBank *BridgeBankTransactorSession) SwapTokenForToken(_ethereumReceiver common.Address, _harmonyToken common.Address, _harmonyTokenAmount *big.Int, _destToken common.Address) (*types.Transaction, error)
SwapTokenForToken is a paid mutator transaction binding the contract method 0x9b92910c.
Solidity: function swapTokenForToken(address _ethereumReceiver, address _harmonyToken, uint256 _harmonyTokenAmount, address _destToken) returns()
func (*BridgeBankTransactorSession) SwapTokenForWONE ¶
func (_BridgeBank *BridgeBankTransactorSession) SwapTokenForWONE(_ethereumReceiver common.Address, _harmonyToken common.Address, _harmonyTokenAmount *big.Int) (*types.Transaction, error)
SwapTokenForWONE is a paid mutator transaction binding the contract method 0xe42f414d.
Solidity: function swapTokenForWONE(address _ethereumReceiver, address _harmonyToken, uint256 _harmonyTokenAmount) returns()
func (*BridgeBankTransactorSession) UnlockERC20 ¶
func (_BridgeBank *BridgeBankTransactorSession) UnlockERC20(_harmonyReceiver common.Address, _harmonyToken common.Address, _harmonyTokenAmount *big.Int) (*types.Transaction, error)
UnlockERC20 is a paid mutator transaction binding the contract method 0x3c298e78.
Solidity: function unlockERC20(address _harmonyReceiver, address _harmonyToken, uint256 _harmonyTokenAmount) returns()
func (*BridgeBankTransactorSession) UnlockONE ¶
func (_BridgeBank *BridgeBankTransactorSession) UnlockONE(_harmonyReceiver common.Address, _amountONE *big.Int) (*types.Transaction, error)
UnlockONE is a paid mutator transaction binding the contract method 0x67c2c018.
Solidity: function unlockONE(address _harmonyReceiver, uint256 _amountONE) returns()
func (*BridgeBankTransactorSession) UpdateFee ¶
func (_BridgeBank *BridgeBankTransactorSession) UpdateFee(_feeNumerator *big.Int, _feeDenominator *big.Int) (*types.Transaction, error)
UpdateFee is a paid mutator transaction binding the contract method 0x2740c197.
Solidity: function updateFee(uint256 _feeNumerator, uint256 _feeDenominator) returns()
func (*BridgeBankTransactorSession) UpdateHmyBridge ¶
func (_BridgeBank *BridgeBankTransactorSession) UpdateHmyBridge(_ethereumBridge common.Address) (*types.Transaction, error)
UpdateHmyBridge is a paid mutator transaction binding the contract method 0x17877820.
Solidity: function updateHmyBridge(address _ethereumBridge) returns()
func (*BridgeBankTransactorSession) UpdateOracle ¶
func (_BridgeBank *BridgeBankTransactorSession) UpdateOracle(_oracleAddress common.Address) (*types.Transaction, error)
UpdateOracle is a paid mutator transaction binding the contract method 0x1cb44dfc.
Solidity: function updateOracle(address _oracleAddress) returns()
func (*BridgeBankTransactorSession) WithdrawERC20 ¶
func (_BridgeBank *BridgeBankTransactorSession) WithdrawERC20(_harmonyToken common.Address, _harmonyReceiver common.Address, _harmonyTokenAmount *big.Int) (*types.Transaction, error)
WithdrawERC20 is a paid mutator transaction binding the contract method 0x44004cc1.
Solidity: function withdrawERC20(address _harmonyToken, address _harmonyReceiver, uint256 _harmonyTokenAmount) returns()
func (*BridgeBankTransactorSession) WithdrawONE ¶
func (_BridgeBank *BridgeBankTransactorSession) WithdrawONE(_harmonyReceiver common.Address, _amountONE *big.Int) (*types.Transaction, error)
WithdrawONE is a paid mutator transaction binding the contract method 0x6082072e.
Solidity: function withdrawONE(address _harmonyReceiver, uint256 _amountONE) returns()