BridgeBank

package
v0.14.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 2, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const BridgeBankABI = "" /* 10369-byte string literal not displayed */

BridgeBankABI is the input ABI used to generate the binding from.

Variables

View Source
var BridgeBankBin = "" /* 54904-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) BridgeTokenCount

func (_BridgeBank *BridgeBankCaller) BridgeTokenCount(opts *bind.CallOpts) (*big.Int, error)

BridgeTokenCount is a free data retrieval call binding the contract method 0x328470ab.

Solidity: function bridgeTokenCount() view returns(uint256)

func (*BridgeBankCaller) CosmosBridge

func (_BridgeBank *BridgeBankCaller) CosmosBridge(opts *bind.CallOpts) (common.Address, error)

CosmosBridge is a free data retrieval call binding the contract method 0xb0e9ef71.

Solidity: function cosmosBridge() view returns(address)

func (*BridgeBankCaller) CosmosDepositNonce

func (_BridgeBank *BridgeBankCaller) CosmosDepositNonce(opts *bind.CallOpts) (*big.Int, error)

CosmosDepositNonce is a free data retrieval call binding the contract method 0x416d3227.

Solidity: function cosmosDepositNonce() view returns(uint256)

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) view 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) view returns(bool)

func (*BridgeBankCaller) GetCosmosTokenInWhiteList

func (_BridgeBank *BridgeBankCaller) GetCosmosTokenInWhiteList(opts *bind.CallOpts, _token common.Address) (bool, error)

GetCosmosTokenInWhiteList is a free data retrieval call binding the contract method 0x96e5c356.

Solidity: function getCosmosTokenInWhiteList(address _token) view 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) view 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) view returns(address)

func (*BridgeBankCaller) GetTokenInEthWhiteList

func (_BridgeBank *BridgeBankCaller) GetTokenInEthWhiteList(opts *bind.CallOpts, _token common.Address) (bool, error)

GetTokenInEthWhiteList is a free data retrieval call binding the contract method 0x7b38c6d4.

Solidity: function getTokenInEthWhiteList(address _token) view returns(bool)

func (*BridgeBankCaller) LockBurnNonce

func (_BridgeBank *BridgeBankCaller) LockBurnNonce(opts *bind.CallOpts) (*big.Int, error)

LockBurnNonce is a free data retrieval call binding the contract method 0x1deed3bb.

Solidity: function lockBurnNonce() view 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 ) view 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 ) view returns(address)

func (*BridgeBankCaller) Operator

func (_BridgeBank *BridgeBankCaller) Operator(opts *bind.CallOpts) (common.Address, error)

Operator is a free data retrieval call binding the contract method 0x570ca735.

Solidity: function operator() view returns(address)

func (*BridgeBankCaller) Oracle

func (_BridgeBank *BridgeBankCaller) Oracle(opts *bind.CallOpts) (common.Address, error)

Oracle is a free data retrieval call binding the contract method 0x7dc0d1d0.

Solidity: function oracle() view returns(address)

func (*BridgeBankCaller) Owner

func (_BridgeBank *BridgeBankCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*BridgeBankCaller) VerifySifPrefix

func (_BridgeBank *BridgeBankCaller) VerifySifPrefix(opts *bind.CallOpts, _sifAddress []byte) (bool, error)

VerifySifPrefix is a free data retrieval call binding the contract method 0xbe6b721e.

Solidity: function verifySifPrefix(bytes _sifAddress) pure returns(bool)

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) view 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() view 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() view returns(address)

func (*BridgeBankCallerSession) CosmosDepositNonce

func (_BridgeBank *BridgeBankCallerSession) CosmosDepositNonce() (*big.Int, error)

CosmosDepositNonce is a free data retrieval call binding the contract method 0x416d3227.

Solidity: function cosmosDepositNonce() view returns(uint256)

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) view 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) view returns(bool)

func (*BridgeBankCallerSession) GetCosmosTokenInWhiteList

func (_BridgeBank *BridgeBankCallerSession) GetCosmosTokenInWhiteList(_token common.Address) (bool, error)

GetCosmosTokenInWhiteList is a free data retrieval call binding the contract method 0x96e5c356.

Solidity: function getCosmosTokenInWhiteList(address _token) view 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) view 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) view returns(address)

func (*BridgeBankCallerSession) GetTokenInEthWhiteList

func (_BridgeBank *BridgeBankCallerSession) GetTokenInEthWhiteList(_token common.Address) (bool, error)

GetTokenInEthWhiteList is a free data retrieval call binding the contract method 0x7b38c6d4.

Solidity: function getTokenInEthWhiteList(address _token) view returns(bool)

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() view returns(uint256)

func (*BridgeBankCallerSession) LockedFunds

func (_BridgeBank *BridgeBankCallerSession) LockedFunds(arg0 common.Address) (*big.Int, error)

LockedFunds is a free data retrieval call binding the contract method 0xb86247d7.

Solidity: function lockedFunds(address ) view 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 ) 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) Owner

func (_BridgeBank *BridgeBankCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*BridgeBankCallerSession) VerifySifPrefix

func (_BridgeBank *BridgeBankCallerSession) VerifySifPrefix(_sifAddress []byte) (bool, error)

VerifySifPrefix is a free data retrieval call binding the contract method 0xbe6b721e.

Solidity: function verifySifPrefix(bytes _sifAddress) pure returns(bool)

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) view 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) FilterLogWhiteListUpdate

func (_BridgeBank *BridgeBankFilterer) FilterLogWhiteListUpdate(opts *bind.FilterOpts) (*BridgeBankLogWhiteListUpdateIterator, error)

FilterLogWhiteListUpdate is a free log retrieval operation binding the contract event 0xbabeec6613676f4972214f70ddf47c77eb8360e09b54278f21d6f999faf7c15c.

Solidity: event LogWhiteListUpdate(address _token, bool _value)

func (*BridgeBankFilterer) ParseLogBridgeTokenMint

func (_BridgeBank *BridgeBankFilterer) ParseLogBridgeTokenMint(log types.Log) (*BridgeBankLogBridgeTokenMint, error)

ParseLogBridgeTokenMint is a log parse operation binding the contract event 0x262f97360779b7c2bb05fd24ef49f22d51435f78d3abd1ab35c323b22064cd4d.

Solidity: event LogBridgeTokenMint(address _token, string _symbol, uint256 _amount, address _beneficiary)

func (*BridgeBankFilterer) ParseLogBurn

func (_BridgeBank *BridgeBankFilterer) ParseLogBurn(log types.Log) (*BridgeBankLogBurn, error)

ParseLogBurn is a log parse operation binding the contract event 0xcff57df3b42f67919a9300d211bb7fe56104ca34949da91116a8f82ff51bb777.

Solidity: event LogBurn(address _from, bytes _to, address _token, string _symbol, uint256 _value, uint256 _nonce)

func (*BridgeBankFilterer) ParseLogLock

func (_BridgeBank *BridgeBankFilterer) ParseLogLock(log types.Log) (*BridgeBankLogLock, error)

ParseLogLock is a log parse operation binding the contract event 0x374449c83a37309524754bbdfc5b8306d3694b5d14609b8fbb1b50cc5c0319a7.

Solidity: event LogLock(address _from, bytes _to, address _token, string _symbol, uint256 _value, uint256 _nonce)

func (*BridgeBankFilterer) ParseLogNewBridgeToken

func (_BridgeBank *BridgeBankFilterer) ParseLogNewBridgeToken(log types.Log) (*BridgeBankLogNewBridgeToken, error)

ParseLogNewBridgeToken is a log parse operation binding the contract event 0x0ec4ab372af15f8db6003eb14d91402a44b20dff79fbac33b4ee0df68fafe9c0.

Solidity: event LogNewBridgeToken(address _token, string _symbol)

func (*BridgeBankFilterer) ParseLogUnlock

func (_BridgeBank *BridgeBankFilterer) ParseLogUnlock(log types.Log) (*BridgeBankLogUnlock, error)

ParseLogUnlock is a log parse operation binding the contract event 0x802cd873de701272ec903860b690986bd460b5bcd57e30ac1fdfdeece10528ac.

Solidity: event LogUnlock(address _to, address _token, string _symbol, uint256 _value)

func (*BridgeBankFilterer) ParseLogWhiteListUpdate

func (_BridgeBank *BridgeBankFilterer) ParseLogWhiteListUpdate(log types.Log) (*BridgeBankLogWhiteListUpdate, error)

ParseLogWhiteListUpdate is a log parse operation binding the contract event 0xbabeec6613676f4972214f70ddf47c77eb8360e09b54278f21d6f999faf7c15c.

Solidity: event LogWhiteListUpdate(address _token, bool _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)

func (*BridgeBankFilterer) WatchLogWhiteListUpdate

func (_BridgeBank *BridgeBankFilterer) WatchLogWhiteListUpdate(opts *bind.WatchOpts, sink chan<- *BridgeBankLogWhiteListUpdate) (event.Subscription, error)

WatchLogWhiteListUpdate is a free log subscription operation binding the contract event 0xbabeec6613676f4972214f70ddf47c77eb8360e09b54278f21d6f999faf7c15c.

Solidity: event LogWhiteListUpdate(address _token, bool _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

Close terminates the iteration process, releasing any pending underlying resources.

func (*BridgeBankLogBridgeTokenMintIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BridgeBankLogBridgeTokenMintIterator) Next

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

Close terminates the iteration process, releasing any pending underlying resources.

func (*BridgeBankLogNewBridgeTokenIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BridgeBankLogNewBridgeTokenIterator) Next

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 BridgeBankLogWhiteListUpdate

type BridgeBankLogWhiteListUpdate struct {
	Token common.Address
	Value bool
	Raw   types.Log // Blockchain specific contextual infos
}

BridgeBankLogWhiteListUpdate represents a LogWhiteListUpdate event raised by the BridgeBank contract.

type BridgeBankLogWhiteListUpdateIterator

type BridgeBankLogWhiteListUpdateIterator struct {
	Event *BridgeBankLogWhiteListUpdate // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BridgeBankLogWhiteListUpdateIterator is returned from FilterLogWhiteListUpdate and is used to iterate over the raw logs and unpacked data for LogWhiteListUpdate events raised by the BridgeBank contract.

func (*BridgeBankLogWhiteListUpdateIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*BridgeBankLogWhiteListUpdateIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BridgeBankLogWhiteListUpdateIterator) Next

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) AddExistingBridgeToken

func (_BridgeBank *BridgeBankSession) AddExistingBridgeToken(_contractAddress common.Address) (*types.Transaction, error)

AddExistingBridgeToken is a paid mutator transaction binding the contract method 0xfcf9cf6e.

Solidity: function addExistingBridgeToken(address _contractAddress) returns(address)

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() view 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() view returns(address)

func (*BridgeBankSession) CosmosDepositNonce

func (_BridgeBank *BridgeBankSession) CosmosDepositNonce() (*big.Int, error)

CosmosDepositNonce is a free data retrieval call binding the contract method 0x416d3227.

Solidity: function cosmosDepositNonce() view returns(uint256)

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) view 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) view returns(bool)

func (*BridgeBankSession) GetCosmosTokenInWhiteList

func (_BridgeBank *BridgeBankSession) GetCosmosTokenInWhiteList(_token common.Address) (bool, error)

GetCosmosTokenInWhiteList is a free data retrieval call binding the contract method 0x96e5c356.

Solidity: function getCosmosTokenInWhiteList(address _token) view 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) view 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) view returns(address)

func (*BridgeBankSession) GetTokenInEthWhiteList

func (_BridgeBank *BridgeBankSession) GetTokenInEthWhiteList(_token common.Address) (bool, error)

GetTokenInEthWhiteList is a free data retrieval call binding the contract method 0x7b38c6d4.

Solidity: function getTokenInEthWhiteList(address _token) view returns(bool)

func (*BridgeBankSession) Initialize

func (_BridgeBank *BridgeBankSession) Initialize() (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x8129fc1c.

Solidity: function initialize() returns()

func (*BridgeBankSession) Initialize0

func (_BridgeBank *BridgeBankSession) Initialize0(_operatorAddress common.Address, _oracleAddress common.Address, _cosmosBridgeAddress common.Address, _owner common.Address) (*types.Transaction, error)

Initialize0 is a paid mutator transaction binding the contract method 0xf8c8765e.

Solidity: function initialize(address _operatorAddress, address _oracleAddress, address _cosmosBridgeAddress, address _owner) returns()

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) payable 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() view returns(uint256)

func (*BridgeBankSession) LockedFunds

func (_BridgeBank *BridgeBankSession) LockedFunds(arg0 common.Address) (*big.Int, error)

LockedFunds is a free data retrieval call binding the contract method 0xb86247d7.

Solidity: function lockedFunds(address ) view 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 ) view 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() 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) Owner

func (_BridgeBank *BridgeBankSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view 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) UpdateEthWhiteList

func (_BridgeBank *BridgeBankSession) UpdateEthWhiteList(_token common.Address, _inList bool) (*types.Transaction, error)

UpdateEthWhiteList is a paid mutator transaction binding the contract method 0xd185e1bb.

Solidity: function updateEthWhiteList(address _token, bool _inList) returns(bool)

func (*BridgeBankSession) VerifySifPrefix

func (_BridgeBank *BridgeBankSession) VerifySifPrefix(_sifAddress []byte) (bool, error)

VerifySifPrefix is a free data retrieval call binding the contract method 0xbe6b721e.

Solidity: function verifySifPrefix(bytes _sifAddress) pure returns(bool)

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) view 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) AddExistingBridgeToken

func (_BridgeBank *BridgeBankTransactor) AddExistingBridgeToken(opts *bind.TransactOpts, _contractAddress common.Address) (*types.Transaction, error)

AddExistingBridgeToken is a paid mutator transaction binding the contract method 0xfcf9cf6e.

Solidity: function addExistingBridgeToken(address _contractAddress) returns(address)

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) Initialize

func (_BridgeBank *BridgeBankTransactor) Initialize(opts *bind.TransactOpts) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x8129fc1c.

Solidity: function initialize() returns()

func (*BridgeBankTransactor) Initialize0

func (_BridgeBank *BridgeBankTransactor) Initialize0(opts *bind.TransactOpts, _operatorAddress common.Address, _oracleAddress common.Address, _cosmosBridgeAddress common.Address, _owner common.Address) (*types.Transaction, error)

Initialize0 is a paid mutator transaction binding the contract method 0xf8c8765e.

Solidity: function initialize(address _operatorAddress, address _oracleAddress, address _cosmosBridgeAddress, address _owner) returns()

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) payable 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()

func (*BridgeBankTransactor) UpdateEthWhiteList

func (_BridgeBank *BridgeBankTransactor) UpdateEthWhiteList(opts *bind.TransactOpts, _token common.Address, _inList bool) (*types.Transaction, error)

UpdateEthWhiteList is a paid mutator transaction binding the contract method 0xd185e1bb.

Solidity: function updateEthWhiteList(address _token, bool _inList) returns(bool)

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) AddExistingBridgeToken

func (_BridgeBank *BridgeBankTransactorSession) AddExistingBridgeToken(_contractAddress common.Address) (*types.Transaction, error)

AddExistingBridgeToken is a paid mutator transaction binding the contract method 0xfcf9cf6e.

Solidity: function addExistingBridgeToken(address _contractAddress) returns(address)

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) Initialize

func (_BridgeBank *BridgeBankTransactorSession) Initialize() (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x8129fc1c.

Solidity: function initialize() returns()

func (*BridgeBankTransactorSession) Initialize0

func (_BridgeBank *BridgeBankTransactorSession) Initialize0(_operatorAddress common.Address, _oracleAddress common.Address, _cosmosBridgeAddress common.Address, _owner common.Address) (*types.Transaction, error)

Initialize0 is a paid mutator transaction binding the contract method 0xf8c8765e.

Solidity: function initialize(address _operatorAddress, address _oracleAddress, address _cosmosBridgeAddress, address _owner) returns()

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) payable 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()

func (*BridgeBankTransactorSession) UpdateEthWhiteList

func (_BridgeBank *BridgeBankTransactorSession) UpdateEthWhiteList(_token common.Address, _inList bool) (*types.Transaction, error)

UpdateEthWhiteList is a paid mutator transaction binding the contract method 0xd185e1bb.

Solidity: function updateEthWhiteList(address _token, bool _inList) returns(bool)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL