Documentation ¶
Index ¶
- Constants
- type BridgeBank
- type BridgeBankCaller
- func (_BridgeBank *BridgeBankCaller) BridgeTokenCount(opts *bind.CallOpts) (*big.Int, error)
- func (_BridgeBank *BridgeBankCaller) CosmosBridge(opts *bind.CallOpts) (common.Address, error)
- func (_BridgeBank *BridgeBankCaller) GetBridgeToken(opts *bind.CallOpts, _symbol string) (common.Address, error)
- func (_BridgeBank *BridgeBankCaller) GetCosmosDepositStatus(opts *bind.CallOpts, _id [32]byte) (bool, error)
- func (_BridgeBank *BridgeBankCaller) GetLockedFunds(opts *bind.CallOpts, _symbol string) (*big.Int, error)
- func (_BridgeBank *BridgeBankCaller) GetLockedTokenAddress(opts *bind.CallOpts, _symbol string) (common.Address, error)
- func (_BridgeBank *BridgeBankCaller) LockBurnNonce(opts *bind.CallOpts) (*big.Int, error)
- func (_BridgeBank *BridgeBankCaller) LockedFunds(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_BridgeBank *BridgeBankCaller) LockedTokenList(opts *bind.CallOpts, arg0 string) (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) ViewCosmosDeposit(opts *bind.CallOpts, _id [32]byte) ([]byte, common.Address, common.Address, *big.Int, error)
- type BridgeBankCallerRaw
- type BridgeBankCallerSession
- func (_BridgeBank *BridgeBankCallerSession) BridgeTokenCount() (*big.Int, error)
- func (_BridgeBank *BridgeBankCallerSession) CosmosBridge() (common.Address, error)
- func (_BridgeBank *BridgeBankCallerSession) GetBridgeToken(_symbol string) (common.Address, error)
- func (_BridgeBank *BridgeBankCallerSession) GetCosmosDepositStatus(_id [32]byte) (bool, error)
- func (_BridgeBank *BridgeBankCallerSession) GetLockedFunds(_symbol string) (*big.Int, error)
- func (_BridgeBank *BridgeBankCallerSession) GetLockedTokenAddress(_symbol string) (common.Address, error)
- func (_BridgeBank *BridgeBankCallerSession) LockBurnNonce() (*big.Int, error)
- func (_BridgeBank *BridgeBankCallerSession) LockedFunds(arg0 common.Address) (*big.Int, error)
- func (_BridgeBank *BridgeBankCallerSession) LockedTokenList(arg0 string) (common.Address, error)
- func (_BridgeBank *BridgeBankCallerSession) Operator() (common.Address, error)
- func (_BridgeBank *BridgeBankCallerSession) Oracle() (common.Address, error)
- func (_BridgeBank *BridgeBankCallerSession) ViewCosmosDeposit(_id [32]byte) ([]byte, common.Address, common.Address, *big.Int, error)
- type BridgeBankFilterer
- func (_BridgeBank *BridgeBankFilterer) FilterLogBridgeTokenMint(opts *bind.FilterOpts) (*BridgeBankLogBridgeTokenMintIterator, error)
- func (_BridgeBank *BridgeBankFilterer) FilterLogBurn(opts *bind.FilterOpts) (*BridgeBankLogBurnIterator, error)
- func (_BridgeBank *BridgeBankFilterer) FilterLogLock(opts *bind.FilterOpts) (*BridgeBankLogLockIterator, error)
- func (_BridgeBank *BridgeBankFilterer) FilterLogNewBridgeToken(opts *bind.FilterOpts) (*BridgeBankLogNewBridgeTokenIterator, error)
- func (_BridgeBank *BridgeBankFilterer) FilterLogUnlock(opts *bind.FilterOpts) (*BridgeBankLogUnlockIterator, error)
- func (_BridgeBank *BridgeBankFilterer) WatchLogBridgeTokenMint(opts *bind.WatchOpts, sink chan<- *BridgeBankLogBridgeTokenMint) (event.Subscription, error)
- func (_BridgeBank *BridgeBankFilterer) WatchLogBurn(opts *bind.WatchOpts, sink chan<- *BridgeBankLogBurn) (event.Subscription, error)
- func (_BridgeBank *BridgeBankFilterer) WatchLogLock(opts *bind.WatchOpts, sink chan<- *BridgeBankLogLock) (event.Subscription, error)
- func (_BridgeBank *BridgeBankFilterer) WatchLogNewBridgeToken(opts *bind.WatchOpts, sink chan<- *BridgeBankLogNewBridgeToken) (event.Subscription, error)
- func (_BridgeBank *BridgeBankFilterer) WatchLogUnlock(opts *bind.WatchOpts, sink chan<- *BridgeBankLogUnlock) (event.Subscription, error)
- type BridgeBankLogBridgeTokenMint
- type BridgeBankLogBridgeTokenMintIterator
- type BridgeBankLogBurn
- type BridgeBankLogBurnIterator
- type BridgeBankLogLock
- type BridgeBankLogLockIterator
- type BridgeBankLogNewBridgeToken
- type BridgeBankLogNewBridgeTokenIterator
- type BridgeBankLogUnlock
- type BridgeBankLogUnlockIterator
- 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) BridgeTokenCount() (*big.Int, error)
- func (_BridgeBank *BridgeBankSession) Burn(_recipient []byte, _token common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_BridgeBank *BridgeBankSession) CosmosBridge() (common.Address, error)
- func (_BridgeBank *BridgeBankSession) CreateNewBridgeToken(_symbol string) (*types.Transaction, error)
- func (_BridgeBank *BridgeBankSession) GetBridgeToken(_symbol string) (common.Address, error)
- func (_BridgeBank *BridgeBankSession) GetCosmosDepositStatus(_id [32]byte) (bool, error)
- func (_BridgeBank *BridgeBankSession) GetLockedFunds(_symbol string) (*big.Int, error)
- func (_BridgeBank *BridgeBankSession) GetLockedTokenAddress(_symbol string) (common.Address, error)
- func (_BridgeBank *BridgeBankSession) Lock(_recipient []byte, _token common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_BridgeBank *BridgeBankSession) LockBurnNonce() (*big.Int, error)
- func (_BridgeBank *BridgeBankSession) LockedFunds(arg0 common.Address) (*big.Int, error)
- func (_BridgeBank *BridgeBankSession) LockedTokenList(arg0 string) (common.Address, error)
- func (_BridgeBank *BridgeBankSession) MintBridgeTokens(_cosmosSender []byte, _intendedRecipient common.Address, ...) (*types.Transaction, error)
- func (_BridgeBank *BridgeBankSession) Operator() (common.Address, error)
- func (_BridgeBank *BridgeBankSession) Oracle() (common.Address, error)
- func (_BridgeBank *BridgeBankSession) Unlock(_recipient common.Address, _symbol string, _amount *big.Int) (*types.Transaction, error)
- func (_BridgeBank *BridgeBankSession) ViewCosmosDeposit(_id [32]byte) ([]byte, common.Address, common.Address, *big.Int, error)
- type BridgeBankTransactor
- func (_BridgeBank *BridgeBankTransactor) Burn(opts *bind.TransactOpts, _recipient []byte, _token common.Address, ...) (*types.Transaction, error)
- func (_BridgeBank *BridgeBankTransactor) CreateNewBridgeToken(opts *bind.TransactOpts, _symbol string) (*types.Transaction, error)
- func (_BridgeBank *BridgeBankTransactor) Lock(opts *bind.TransactOpts, _recipient []byte, _token common.Address, ...) (*types.Transaction, error)
- func (_BridgeBank *BridgeBankTransactor) MintBridgeTokens(opts *bind.TransactOpts, _cosmosSender []byte, ...) (*types.Transaction, error)
- func (_BridgeBank *BridgeBankTransactor) Unlock(opts *bind.TransactOpts, _recipient common.Address, _symbol string, ...) (*types.Transaction, error)
- type BridgeBankTransactorRaw
- type BridgeBankTransactorSession
- func (_BridgeBank *BridgeBankTransactorSession) Burn(_recipient []byte, _token common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_BridgeBank *BridgeBankTransactorSession) CreateNewBridgeToken(_symbol string) (*types.Transaction, error)
- func (_BridgeBank *BridgeBankTransactorSession) Lock(_recipient []byte, _token common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_BridgeBank *BridgeBankTransactorSession) MintBridgeTokens(_cosmosSender []byte, _intendedRecipient common.Address, ...) (*types.Transaction, error)
- func (_BridgeBank *BridgeBankTransactorSession) Unlock(_recipient common.Address, _symbol string, _amount *big.Int) (*types.Transaction, error)
Constants ¶
const BridgeBankABI = "" /* 6085-byte string literal not displayed */
BridgeBankABI is the input ABI used to generate the binding from.
const BridgeBankBin = `` /* 43700-byte string literal not displayed */
BridgeBankBin is the compiled bytecode used for deploying new contracts.
Variables ¶
This section is empty.
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, _operatorAddress common.Address, _oracleAddress common.Address, _cosmosBridgeAddress common.Address) (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) BridgeTokenCount ¶
BridgeTokenCount is a free data retrieval call binding the contract method 0x328470ab.
Solidity: function bridgeTokenCount() constant returns(uint256)
func (*BridgeBankCaller) CosmosBridge ¶
CosmosBridge is a free data retrieval call binding the contract method 0xb0e9ef71.
Solidity: function cosmosBridge() constant returns(address)
func (*BridgeBankCaller) GetBridgeToken ¶
func (_BridgeBank *BridgeBankCaller) GetBridgeToken(opts *bind.CallOpts, _symbol string) (common.Address, error)
GetBridgeToken is a free data retrieval call binding the contract method 0xebb73ca9.
Solidity: function getBridgeToken(string _symbol) constant returns(address)
func (*BridgeBankCaller) GetCosmosDepositStatus ¶
func (_BridgeBank *BridgeBankCaller) GetCosmosDepositStatus(opts *bind.CallOpts, _id [32]byte) (bool, error)
GetCosmosDepositStatus is a free data retrieval call binding the contract method 0xe06064f4.
Solidity: function getCosmosDepositStatus(bytes32 _id) constant returns(bool)
func (*BridgeBankCaller) GetLockedFunds ¶
func (_BridgeBank *BridgeBankCaller) GetLockedFunds(opts *bind.CallOpts, _symbol string) (*big.Int, error)
GetLockedFunds is a free data retrieval call binding the contract method 0x5acba655.
Solidity: function getLockedFunds(string _symbol) constant returns(uint256)
func (*BridgeBankCaller) GetLockedTokenAddress ¶
func (_BridgeBank *BridgeBankCaller) GetLockedTokenAddress(opts *bind.CallOpts, _symbol string) (common.Address, error)
GetLockedTokenAddress is a free data retrieval call binding the contract method 0x0a1f9b66.
Solidity: function getLockedTokenAddress(string _symbol) constant returns(address)
func (*BridgeBankCaller) LockBurnNonce ¶
LockBurnNonce is a free data retrieval call binding the contract method 0x1deed3bb.
Solidity: function lockBurnNonce() constant returns(uint256)
func (*BridgeBankCaller) LockedFunds ¶
func (_BridgeBank *BridgeBankCaller) LockedFunds(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
LockedFunds is a free data retrieval call binding the contract method 0xb86247d7.
Solidity: function lockedFunds(address ) constant returns(uint256)
func (*BridgeBankCaller) LockedTokenList ¶
func (_BridgeBank *BridgeBankCaller) LockedTokenList(opts *bind.CallOpts, arg0 string) (common.Address, error)
LockedTokenList is a free data retrieval call binding the contract method 0xf24a590a.
Solidity: function lockedTokenList(string ) constant returns(address)
func (*BridgeBankCaller) Operator ¶
Operator is a free data retrieval call binding the contract method 0x570ca735.
Solidity: function operator() constant returns(address)
func (*BridgeBankCaller) Oracle ¶
Oracle is a free data retrieval call binding the contract method 0x7dc0d1d0.
Solidity: function oracle() constant returns(address)
func (*BridgeBankCaller) ViewCosmosDeposit ¶
func (_BridgeBank *BridgeBankCaller) ViewCosmosDeposit(opts *bind.CallOpts, _id [32]byte) ([]byte, common.Address, common.Address, *big.Int, error)
ViewCosmosDeposit is a free data retrieval call binding the contract method 0x2852a414.
Solidity: function viewCosmosDeposit(bytes32 _id) constant returns(bytes, address, address, uint256)
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) BridgeTokenCount ¶
func (_BridgeBank *BridgeBankCallerSession) BridgeTokenCount() (*big.Int, error)
BridgeTokenCount is a free data retrieval call binding the contract method 0x328470ab.
Solidity: function bridgeTokenCount() constant returns(uint256)
func (*BridgeBankCallerSession) CosmosBridge ¶
func (_BridgeBank *BridgeBankCallerSession) CosmosBridge() (common.Address, error)
CosmosBridge is a free data retrieval call binding the contract method 0xb0e9ef71.
Solidity: function cosmosBridge() constant returns(address)
func (*BridgeBankCallerSession) GetBridgeToken ¶
func (_BridgeBank *BridgeBankCallerSession) GetBridgeToken(_symbol string) (common.Address, error)
GetBridgeToken is a free data retrieval call binding the contract method 0xebb73ca9.
Solidity: function getBridgeToken(string _symbol) constant returns(address)
func (*BridgeBankCallerSession) GetCosmosDepositStatus ¶
func (_BridgeBank *BridgeBankCallerSession) GetCosmosDepositStatus(_id [32]byte) (bool, error)
GetCosmosDepositStatus is a free data retrieval call binding the contract method 0xe06064f4.
Solidity: function getCosmosDepositStatus(bytes32 _id) constant returns(bool)
func (*BridgeBankCallerSession) GetLockedFunds ¶
func (_BridgeBank *BridgeBankCallerSession) GetLockedFunds(_symbol string) (*big.Int, error)
GetLockedFunds is a free data retrieval call binding the contract method 0x5acba655.
Solidity: function getLockedFunds(string _symbol) constant returns(uint256)
func (*BridgeBankCallerSession) GetLockedTokenAddress ¶
func (_BridgeBank *BridgeBankCallerSession) GetLockedTokenAddress(_symbol string) (common.Address, error)
GetLockedTokenAddress is a free data retrieval call binding the contract method 0x0a1f9b66.
Solidity: function getLockedTokenAddress(string _symbol) constant returns(address)
func (*BridgeBankCallerSession) LockBurnNonce ¶
func (_BridgeBank *BridgeBankCallerSession) LockBurnNonce() (*big.Int, error)
LockBurnNonce is a free data retrieval call binding the contract method 0x1deed3bb.
Solidity: function lockBurnNonce() constant returns(uint256)
func (*BridgeBankCallerSession) LockedFunds ¶
LockedFunds is a free data retrieval call binding the contract method 0xb86247d7.
Solidity: function lockedFunds(address ) constant returns(uint256)
func (*BridgeBankCallerSession) LockedTokenList ¶
func (_BridgeBank *BridgeBankCallerSession) LockedTokenList(arg0 string) (common.Address, error)
LockedTokenList is a free data retrieval call binding the contract method 0xf24a590a.
Solidity: function lockedTokenList(string ) constant 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() constant 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() constant returns(address)
func (*BridgeBankCallerSession) ViewCosmosDeposit ¶
func (_BridgeBank *BridgeBankCallerSession) ViewCosmosDeposit(_id [32]byte) ([]byte, common.Address, common.Address, *big.Int, error)
ViewCosmosDeposit is a free data retrieval call binding the contract method 0x2852a414.
Solidity: function viewCosmosDeposit(bytes32 _id) constant returns(bytes, address, address, uint256)
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) FilterLogBridgeTokenMint ¶
func (_BridgeBank *BridgeBankFilterer) FilterLogBridgeTokenMint(opts *bind.FilterOpts) (*BridgeBankLogBridgeTokenMintIterator, error)
FilterLogBridgeTokenMint is a free log retrieval operation binding the contract event 0x262f97360779b7c2bb05fd24ef49f22d51435f78d3abd1ab35c323b22064cd4d.
Solidity: event LogBridgeTokenMint(address _token, string _symbol, uint256 _amount, address _beneficiary)
func (*BridgeBankFilterer) FilterLogBurn ¶
func (_BridgeBank *BridgeBankFilterer) FilterLogBurn(opts *bind.FilterOpts) (*BridgeBankLogBurnIterator, error)
FilterLogBurn is a free log retrieval operation binding the contract event 0xcff57df3b42f67919a9300d211bb7fe56104ca34949da91116a8f82ff51bb777.
Solidity: event LogBurn(address _from, bytes _to, address _token, string _symbol, uint256 _value, uint256 _nonce)
func (*BridgeBankFilterer) FilterLogLock ¶
func (_BridgeBank *BridgeBankFilterer) FilterLogLock(opts *bind.FilterOpts) (*BridgeBankLogLockIterator, error)
FilterLogLock is a free log retrieval operation binding the contract event 0x374449c83a37309524754bbdfc5b8306d3694b5d14609b8fbb1b50cc5c0319a7.
Solidity: event LogLock(address _from, bytes _to, address _token, string _symbol, uint256 _value, uint256 _nonce)
func (*BridgeBankFilterer) FilterLogNewBridgeToken ¶
func (_BridgeBank *BridgeBankFilterer) FilterLogNewBridgeToken(opts *bind.FilterOpts) (*BridgeBankLogNewBridgeTokenIterator, error)
FilterLogNewBridgeToken is a free log retrieval operation binding the contract event 0x0ec4ab372af15f8db6003eb14d91402a44b20dff79fbac33b4ee0df68fafe9c0.
Solidity: event LogNewBridgeToken(address _token, string _symbol)
func (*BridgeBankFilterer) FilterLogUnlock ¶
func (_BridgeBank *BridgeBankFilterer) FilterLogUnlock(opts *bind.FilterOpts) (*BridgeBankLogUnlockIterator, error)
FilterLogUnlock is a free log retrieval operation binding the contract event 0x802cd873de701272ec903860b690986bd460b5bcd57e30ac1fdfdeece10528ac.
Solidity: event LogUnlock(address _to, address _token, string _symbol, uint256 _value)
func (*BridgeBankFilterer) WatchLogBridgeTokenMint ¶
func (_BridgeBank *BridgeBankFilterer) WatchLogBridgeTokenMint(opts *bind.WatchOpts, sink chan<- *BridgeBankLogBridgeTokenMint) (event.Subscription, error)
WatchLogBridgeTokenMint is a free log subscription operation binding the contract event 0x262f97360779b7c2bb05fd24ef49f22d51435f78d3abd1ab35c323b22064cd4d.
Solidity: event LogBridgeTokenMint(address _token, string _symbol, uint256 _amount, address _beneficiary)
func (*BridgeBankFilterer) WatchLogBurn ¶
func (_BridgeBank *BridgeBankFilterer) WatchLogBurn(opts *bind.WatchOpts, sink chan<- *BridgeBankLogBurn) (event.Subscription, error)
WatchLogBurn is a free log subscription operation binding the contract event 0xcff57df3b42f67919a9300d211bb7fe56104ca34949da91116a8f82ff51bb777.
Solidity: event LogBurn(address _from, bytes _to, address _token, string _symbol, uint256 _value, uint256 _nonce)
func (*BridgeBankFilterer) WatchLogLock ¶
func (_BridgeBank *BridgeBankFilterer) WatchLogLock(opts *bind.WatchOpts, sink chan<- *BridgeBankLogLock) (event.Subscription, error)
WatchLogLock is a free log subscription operation binding the contract event 0x374449c83a37309524754bbdfc5b8306d3694b5d14609b8fbb1b50cc5c0319a7.
Solidity: event LogLock(address _from, bytes _to, address _token, string _symbol, uint256 _value, uint256 _nonce)
func (*BridgeBankFilterer) WatchLogNewBridgeToken ¶
func (_BridgeBank *BridgeBankFilterer) WatchLogNewBridgeToken(opts *bind.WatchOpts, sink chan<- *BridgeBankLogNewBridgeToken) (event.Subscription, error)
WatchLogNewBridgeToken is a free log subscription operation binding the contract event 0x0ec4ab372af15f8db6003eb14d91402a44b20dff79fbac33b4ee0df68fafe9c0.
Solidity: event LogNewBridgeToken(address _token, string _symbol)
func (*BridgeBankFilterer) WatchLogUnlock ¶
func (_BridgeBank *BridgeBankFilterer) WatchLogUnlock(opts *bind.WatchOpts, sink chan<- *BridgeBankLogUnlock) (event.Subscription, error)
WatchLogUnlock is a free log subscription operation binding the contract event 0x802cd873de701272ec903860b690986bd460b5bcd57e30ac1fdfdeece10528ac.
Solidity: event LogUnlock(address _to, address _token, string _symbol, uint256 _value)
type BridgeBankLogBridgeTokenMint ¶
type BridgeBankLogBridgeTokenMint struct { Token common.Address Symbol string Amount *big.Int Beneficiary common.Address Raw types.Log // Blockchain specific contextual infos }
BridgeBankLogBridgeTokenMint represents a LogBridgeTokenMint event raised by the BridgeBank contract.
type BridgeBankLogBridgeTokenMintIterator ¶
type BridgeBankLogBridgeTokenMintIterator struct { Event *BridgeBankLogBridgeTokenMint // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BridgeBankLogBridgeTokenMintIterator is returned from FilterLogBridgeTokenMint and is used to iterate over the raw logs and unpacked data for LogBridgeTokenMint events raised by the BridgeBank contract.
func (*BridgeBankLogBridgeTokenMintIterator) Close ¶
func (it *BridgeBankLogBridgeTokenMintIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BridgeBankLogBridgeTokenMintIterator) Error ¶
func (it *BridgeBankLogBridgeTokenMintIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BridgeBankLogBridgeTokenMintIterator) Next ¶
func (it *BridgeBankLogBridgeTokenMintIterator) 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 BridgeBankLogBurn ¶
type BridgeBankLogBurn struct { From common.Address To []byte Token common.Address Symbol string Value *big.Int Nonce *big.Int Raw types.Log // Blockchain specific contextual infos }
BridgeBankLogBurn represents a LogBurn event raised by the BridgeBank contract.
type BridgeBankLogBurnIterator ¶
type BridgeBankLogBurnIterator struct { Event *BridgeBankLogBurn // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BridgeBankLogBurnIterator is returned from FilterLogBurn and is used to iterate over the raw logs and unpacked data for LogBurn events raised by the BridgeBank contract.
func (*BridgeBankLogBurnIterator) Close ¶
func (it *BridgeBankLogBurnIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BridgeBankLogBurnIterator) Error ¶
func (it *BridgeBankLogBurnIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BridgeBankLogBurnIterator) Next ¶
func (it *BridgeBankLogBurnIterator) 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 BridgeBankLogLock ¶
type BridgeBankLogLock struct { From common.Address To []byte Token common.Address Symbol string Value *big.Int Nonce *big.Int Raw types.Log // Blockchain specific contextual infos }
BridgeBankLogLock represents a LogLock event raised by the BridgeBank contract.
type BridgeBankLogLockIterator ¶
type BridgeBankLogLockIterator struct { Event *BridgeBankLogLock // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BridgeBankLogLockIterator is returned from FilterLogLock and is used to iterate over the raw logs and unpacked data for LogLock events raised by the BridgeBank contract.
func (*BridgeBankLogLockIterator) Close ¶
func (it *BridgeBankLogLockIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BridgeBankLogLockIterator) Error ¶
func (it *BridgeBankLogLockIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BridgeBankLogLockIterator) Next ¶
func (it *BridgeBankLogLockIterator) 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 BridgeBankLogNewBridgeToken ¶
type BridgeBankLogNewBridgeToken struct { Token common.Address Symbol string Raw types.Log // Blockchain specific contextual infos }
BridgeBankLogNewBridgeToken represents a LogNewBridgeToken event raised by the BridgeBank contract.
type BridgeBankLogNewBridgeTokenIterator ¶
type BridgeBankLogNewBridgeTokenIterator struct { Event *BridgeBankLogNewBridgeToken // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BridgeBankLogNewBridgeTokenIterator is returned from FilterLogNewBridgeToken and is used to iterate over the raw logs and unpacked data for LogNewBridgeToken events raised by the BridgeBank contract.
func (*BridgeBankLogNewBridgeTokenIterator) Close ¶
func (it *BridgeBankLogNewBridgeTokenIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BridgeBankLogNewBridgeTokenIterator) Error ¶
func (it *BridgeBankLogNewBridgeTokenIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BridgeBankLogNewBridgeTokenIterator) Next ¶
func (it *BridgeBankLogNewBridgeTokenIterator) 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 BridgeBankLogUnlock ¶
type BridgeBankLogUnlock struct { To common.Address Token common.Address Symbol string Value *big.Int Raw types.Log // Blockchain specific contextual infos }
BridgeBankLogUnlock represents a LogUnlock event raised by the BridgeBank contract.
type BridgeBankLogUnlockIterator ¶
type BridgeBankLogUnlockIterator struct { Event *BridgeBankLogUnlock // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BridgeBankLogUnlockIterator is returned from FilterLogUnlock and is used to iterate over the raw logs and unpacked data for LogUnlock events raised by the BridgeBank contract.
func (*BridgeBankLogUnlockIterator) Close ¶
func (it *BridgeBankLogUnlockIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BridgeBankLogUnlockIterator) Error ¶
func (it *BridgeBankLogUnlockIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BridgeBankLogUnlockIterator) Next ¶
func (it *BridgeBankLogUnlockIterator) 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) BridgeTokenCount ¶
func (_BridgeBank *BridgeBankSession) BridgeTokenCount() (*big.Int, error)
BridgeTokenCount is a free data retrieval call binding the contract method 0x328470ab.
Solidity: function bridgeTokenCount() constant returns(uint256)
func (*BridgeBankSession) Burn ¶
func (_BridgeBank *BridgeBankSession) Burn(_recipient []byte, _token common.Address, _amount *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0xdc9ae17d.
Solidity: function burn(bytes _recipient, address _token, uint256 _amount) returns()
func (*BridgeBankSession) CosmosBridge ¶
func (_BridgeBank *BridgeBankSession) CosmosBridge() (common.Address, error)
CosmosBridge is a free data retrieval call binding the contract method 0xb0e9ef71.
Solidity: function cosmosBridge() constant returns(address)
func (*BridgeBankSession) CreateNewBridgeToken ¶
func (_BridgeBank *BridgeBankSession) CreateNewBridgeToken(_symbol string) (*types.Transaction, error)
CreateNewBridgeToken is a paid mutator transaction binding the contract method 0x50b06e4d.
Solidity: function createNewBridgeToken(string _symbol) returns(address)
func (*BridgeBankSession) GetBridgeToken ¶
func (_BridgeBank *BridgeBankSession) GetBridgeToken(_symbol string) (common.Address, error)
GetBridgeToken is a free data retrieval call binding the contract method 0xebb73ca9.
Solidity: function getBridgeToken(string _symbol) constant returns(address)
func (*BridgeBankSession) GetCosmosDepositStatus ¶
func (_BridgeBank *BridgeBankSession) GetCosmosDepositStatus(_id [32]byte) (bool, error)
GetCosmosDepositStatus is a free data retrieval call binding the contract method 0xe06064f4.
Solidity: function getCosmosDepositStatus(bytes32 _id) constant returns(bool)
func (*BridgeBankSession) GetLockedFunds ¶
func (_BridgeBank *BridgeBankSession) GetLockedFunds(_symbol string) (*big.Int, error)
GetLockedFunds is a free data retrieval call binding the contract method 0x5acba655.
Solidity: function getLockedFunds(string _symbol) constant returns(uint256)
func (*BridgeBankSession) GetLockedTokenAddress ¶
func (_BridgeBank *BridgeBankSession) GetLockedTokenAddress(_symbol string) (common.Address, error)
GetLockedTokenAddress is a free data retrieval call binding the contract method 0x0a1f9b66.
Solidity: function getLockedTokenAddress(string _symbol) constant returns(address)
func (*BridgeBankSession) Lock ¶
func (_BridgeBank *BridgeBankSession) Lock(_recipient []byte, _token common.Address, _amount *big.Int) (*types.Transaction, error)
Lock is a paid mutator transaction binding the contract method 0x9df2a385.
Solidity: function lock(bytes _recipient, address _token, uint256 _amount) returns()
func (*BridgeBankSession) LockBurnNonce ¶
func (_BridgeBank *BridgeBankSession) LockBurnNonce() (*big.Int, error)
LockBurnNonce is a free data retrieval call binding the contract method 0x1deed3bb.
Solidity: function lockBurnNonce() constant returns(uint256)
func (*BridgeBankSession) LockedFunds ¶
LockedFunds is a free data retrieval call binding the contract method 0xb86247d7.
Solidity: function lockedFunds(address ) constant returns(uint256)
func (*BridgeBankSession) LockedTokenList ¶
func (_BridgeBank *BridgeBankSession) LockedTokenList(arg0 string) (common.Address, error)
LockedTokenList is a free data retrieval call binding the contract method 0xf24a590a.
Solidity: function lockedTokenList(string ) constant returns(address)
func (*BridgeBankSession) MintBridgeTokens ¶
func (_BridgeBank *BridgeBankSession) MintBridgeTokens(_cosmosSender []byte, _intendedRecipient common.Address, _bridgeTokenAddress common.Address, _symbol string, _amount *big.Int) (*types.Transaction, error)
MintBridgeTokens is a paid mutator transaction binding the contract method 0xcdf68c41.
Solidity: function mintBridgeTokens(bytes _cosmosSender, address _intendedRecipient, address _bridgeTokenAddress, string _symbol, uint256 _amount) returns()
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() constant 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() constant returns(address)
func (*BridgeBankSession) Unlock ¶
func (_BridgeBank *BridgeBankSession) Unlock(_recipient common.Address, _symbol string, _amount *big.Int) (*types.Transaction, error)
Unlock is a paid mutator transaction binding the contract method 0xe05988a4.
Solidity: function unlock(address _recipient, string _symbol, uint256 _amount) returns()
func (*BridgeBankSession) ViewCosmosDeposit ¶
func (_BridgeBank *BridgeBankSession) ViewCosmosDeposit(_id [32]byte) ([]byte, common.Address, common.Address, *big.Int, error)
ViewCosmosDeposit is a free data retrieval call binding the contract method 0x2852a414.
Solidity: function viewCosmosDeposit(bytes32 _id) constant returns(bytes, address, address, uint256)
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) Burn ¶
func (_BridgeBank *BridgeBankTransactor) Burn(opts *bind.TransactOpts, _recipient []byte, _token common.Address, _amount *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0xdc9ae17d.
Solidity: function burn(bytes _recipient, address _token, uint256 _amount) returns()
func (*BridgeBankTransactor) CreateNewBridgeToken ¶
func (_BridgeBank *BridgeBankTransactor) CreateNewBridgeToken(opts *bind.TransactOpts, _symbol string) (*types.Transaction, error)
CreateNewBridgeToken is a paid mutator transaction binding the contract method 0x50b06e4d.
Solidity: function createNewBridgeToken(string _symbol) returns(address)
func (*BridgeBankTransactor) Lock ¶
func (_BridgeBank *BridgeBankTransactor) Lock(opts *bind.TransactOpts, _recipient []byte, _token common.Address, _amount *big.Int) (*types.Transaction, error)
Lock is a paid mutator transaction binding the contract method 0x9df2a385.
Solidity: function lock(bytes _recipient, address _token, uint256 _amount) returns()
func (*BridgeBankTransactor) MintBridgeTokens ¶
func (_BridgeBank *BridgeBankTransactor) MintBridgeTokens(opts *bind.TransactOpts, _cosmosSender []byte, _intendedRecipient common.Address, _bridgeTokenAddress common.Address, _symbol string, _amount *big.Int) (*types.Transaction, error)
MintBridgeTokens is a paid mutator transaction binding the contract method 0xcdf68c41.
Solidity: function mintBridgeTokens(bytes _cosmosSender, address _intendedRecipient, address _bridgeTokenAddress, string _symbol, uint256 _amount) returns()
func (*BridgeBankTransactor) Unlock ¶
func (_BridgeBank *BridgeBankTransactor) Unlock(opts *bind.TransactOpts, _recipient common.Address, _symbol string, _amount *big.Int) (*types.Transaction, error)
Unlock is a paid mutator transaction binding the contract method 0xe05988a4.
Solidity: function unlock(address _recipient, string _symbol, uint256 _amount) 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) Burn ¶
func (_BridgeBank *BridgeBankTransactorSession) Burn(_recipient []byte, _token common.Address, _amount *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0xdc9ae17d.
Solidity: function burn(bytes _recipient, address _token, uint256 _amount) returns()
func (*BridgeBankTransactorSession) CreateNewBridgeToken ¶
func (_BridgeBank *BridgeBankTransactorSession) CreateNewBridgeToken(_symbol string) (*types.Transaction, error)
CreateNewBridgeToken is a paid mutator transaction binding the contract method 0x50b06e4d.
Solidity: function createNewBridgeToken(string _symbol) returns(address)
func (*BridgeBankTransactorSession) Lock ¶
func (_BridgeBank *BridgeBankTransactorSession) Lock(_recipient []byte, _token common.Address, _amount *big.Int) (*types.Transaction, error)
Lock is a paid mutator transaction binding the contract method 0x9df2a385.
Solidity: function lock(bytes _recipient, address _token, uint256 _amount) returns()
func (*BridgeBankTransactorSession) MintBridgeTokens ¶
func (_BridgeBank *BridgeBankTransactorSession) MintBridgeTokens(_cosmosSender []byte, _intendedRecipient common.Address, _bridgeTokenAddress common.Address, _symbol string, _amount *big.Int) (*types.Transaction, error)
MintBridgeTokens is a paid mutator transaction binding the contract method 0xcdf68c41.
Solidity: function mintBridgeTokens(bytes _cosmosSender, address _intendedRecipient, address _bridgeTokenAddress, string _symbol, uint256 _amount) returns()
func (*BridgeBankTransactorSession) Unlock ¶
func (_BridgeBank *BridgeBankTransactorSession) Unlock(_recipient common.Address, _symbol string, _amount *big.Int) (*types.Transaction, error)
Unlock is a paid mutator transaction binding the contract method 0xe05988a4.
Solidity: function unlock(address _recipient, string _symbol, uint256 _amount) returns()