Documentation
¶
Index ¶
- Constants
- Variables
- type BridgeBank
- type BridgeBankCaller
- func (_BridgeBank *BridgeBankCaller) BridgeTokenCount(opts *bind.CallOpts) (*big.Int, error)
- func (_BridgeBank *BridgeBankCaller) BridgeTokenCreated(opts *bind.CallOpts, arg0 [32]byte) (bool, error)
- func (_BridgeBank *BridgeBankCaller) BridgeTokenWhitelist(opts *bind.CallOpts, arg0 common.Address) (bool, error)
- func (_BridgeBank *BridgeBankCaller) Chain33Bridge(opts *bind.CallOpts) (common.Address, error)
- func (_BridgeBank *BridgeBankCaller) GetChain33DepositStatus(opts *bind.CallOpts, _id [32]byte) (bool, error)
- func (_BridgeBank *BridgeBankCaller) GetToken2address(opts *bind.CallOpts, _symbol string) (common.Address, error)
- func (_BridgeBank *BridgeBankCaller) HasBridgeTokenCreated(opts *bind.CallOpts, _symbol string) (bool, error)
- func (_BridgeBank *BridgeBankCaller) LockNonce(opts *bind.CallOpts) (*big.Int, error)
- func (_BridgeBank *BridgeBankCaller) LockedFunds(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_BridgeBank *BridgeBankCaller) Operator(opts *bind.CallOpts) (common.Address, error)
- func (_BridgeBank *BridgeBankCaller) Oracle(opts *bind.CallOpts) (common.Address, error)
- func (_BridgeBank *BridgeBankCaller) Token2address(opts *bind.CallOpts, arg0 [32]byte) (common.Address, error)
- func (_BridgeBank *BridgeBankCaller) ViewChain33Deposit(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) BridgeTokenCreated(arg0 [32]byte) (bool, error)
- func (_BridgeBank *BridgeBankCallerSession) BridgeTokenWhitelist(arg0 common.Address) (bool, error)
- func (_BridgeBank *BridgeBankCallerSession) Chain33Bridge() (common.Address, error)
- func (_BridgeBank *BridgeBankCallerSession) GetChain33DepositStatus(_id [32]byte) (bool, error)
- func (_BridgeBank *BridgeBankCallerSession) GetToken2address(_symbol string) (common.Address, error)
- func (_BridgeBank *BridgeBankCallerSession) HasBridgeTokenCreated(_symbol string) (bool, error)
- func (_BridgeBank *BridgeBankCallerSession) LockNonce() (*big.Int, error)
- func (_BridgeBank *BridgeBankCallerSession) LockedFunds(arg0 common.Address) (*big.Int, error)
- func (_BridgeBank *BridgeBankCallerSession) Operator() (common.Address, error)
- func (_BridgeBank *BridgeBankCallerSession) Oracle() (common.Address, error)
- func (_BridgeBank *BridgeBankCallerSession) Token2address(arg0 [32]byte) (common.Address, error)
- func (_BridgeBank *BridgeBankCallerSession) ViewChain33Deposit(_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) FilterLogChain33TokenBurn(opts *bind.FilterOpts) (*BridgeBankLogChain33TokenBurnIterator, 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) ParseLogBridgeTokenMint(log types.Log) (*BridgeBankLogBridgeTokenMint, error)
- func (_BridgeBank *BridgeBankFilterer) ParseLogChain33TokenBurn(log types.Log) (*BridgeBankLogChain33TokenBurn, error)
- func (_BridgeBank *BridgeBankFilterer) ParseLogLock(log types.Log) (*BridgeBankLogLock, error)
- func (_BridgeBank *BridgeBankFilterer) ParseLogNewBridgeToken(log types.Log) (*BridgeBankLogNewBridgeToken, error)
- func (_BridgeBank *BridgeBankFilterer) ParseLogUnlock(log types.Log) (*BridgeBankLogUnlock, error)
- func (_BridgeBank *BridgeBankFilterer) WatchLogBridgeTokenMint(opts *bind.WatchOpts, sink chan<- *BridgeBankLogBridgeTokenMint) (event.Subscription, error)
- func (_BridgeBank *BridgeBankFilterer) WatchLogChain33TokenBurn(opts *bind.WatchOpts, sink chan<- *BridgeBankLogChain33TokenBurn) (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 BridgeBankLogChain33TokenBurn
- type BridgeBankLogChain33TokenBurnIterator
- 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, ...) 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) BridgeTokenCreated(arg0 [32]byte) (bool, error)
- func (_BridgeBank *BridgeBankSession) BridgeTokenWhitelist(arg0 common.Address) (bool, error)
- func (_BridgeBank *BridgeBankSession) BurnBridgeTokens(_chain33Receiver []byte, _chain33TokenAddress common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_BridgeBank *BridgeBankSession) Chain33Bridge() (common.Address, error)
- func (_BridgeBank *BridgeBankSession) CreateNewBridgeToken(_symbol string) (*types.Transaction, error)
- func (_BridgeBank *BridgeBankSession) Fallback(calldata []byte) (*types.Transaction, error)
- func (_BridgeBank *BridgeBankSession) GetChain33DepositStatus(_id [32]byte) (bool, error)
- func (_BridgeBank *BridgeBankSession) GetToken2address(_symbol string) (common.Address, error)
- func (_BridgeBank *BridgeBankSession) HasBridgeTokenCreated(_symbol string) (bool, error)
- func (_BridgeBank *BridgeBankSession) Lock(_recipient []byte, _token common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_BridgeBank *BridgeBankSession) LockNonce() (*big.Int, error)
- func (_BridgeBank *BridgeBankSession) LockedFunds(arg0 common.Address) (*big.Int, error)
- func (_BridgeBank *BridgeBankSession) MintBridgeTokens(_chain33Sender []byte, _intendedRecipient common.Address, ...) (*types.Transaction, error)
- func (_BridgeBank *BridgeBankSession) Operator() (common.Address, error)
- func (_BridgeBank *BridgeBankSession) Oracle() (common.Address, error)
- func (_BridgeBank *BridgeBankSession) Token2address(arg0 [32]byte) (common.Address, error)
- func (_BridgeBank *BridgeBankSession) Unlock(_recipient common.Address, _token common.Address, _symbol string, ...) (*types.Transaction, error)
- func (_BridgeBank *BridgeBankSession) ViewChain33Deposit(_id [32]byte) ([]byte, common.Address, common.Address, *big.Int, error)
- type BridgeBankTransactor
- func (_BridgeBank *BridgeBankTransactor) BurnBridgeTokens(opts *bind.TransactOpts, _chain33Receiver []byte, ...) (*types.Transaction, error)
- func (_BridgeBank *BridgeBankTransactor) CreateNewBridgeToken(opts *bind.TransactOpts, _symbol string) (*types.Transaction, error)
- func (_BridgeBank *BridgeBankTransactor) Fallback(opts *bind.TransactOpts, calldata []byte) (*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, _chain33Sender []byte, ...) (*types.Transaction, error)
- func (_BridgeBank *BridgeBankTransactor) Unlock(opts *bind.TransactOpts, _recipient common.Address, _token common.Address, ...) (*types.Transaction, error)
- type BridgeBankTransactorRaw
- type BridgeBankTransactorSession
- func (_BridgeBank *BridgeBankTransactorSession) BurnBridgeTokens(_chain33Receiver []byte, _chain33TokenAddress common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_BridgeBank *BridgeBankTransactorSession) CreateNewBridgeToken(_symbol string) (*types.Transaction, error)
- func (_BridgeBank *BridgeBankTransactorSession) Fallback(calldata []byte) (*types.Transaction, error)
- func (_BridgeBank *BridgeBankTransactorSession) Lock(_recipient []byte, _token common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_BridgeBank *BridgeBankTransactorSession) MintBridgeTokens(_chain33Sender []byte, _intendedRecipient common.Address, ...) (*types.Transaction, error)
- func (_BridgeBank *BridgeBankTransactorSession) Unlock(_recipient common.Address, _token common.Address, _symbol string, ...) (*types.Transaction, error)
- type BridgeRegistry
- type BridgeRegistryCaller
- func (_BridgeRegistry *BridgeRegistryCaller) BridgeBank(opts *bind.CallOpts) (common.Address, error)
- func (_BridgeRegistry *BridgeRegistryCaller) Chain33Bridge(opts *bind.CallOpts) (common.Address, error)
- func (_BridgeRegistry *BridgeRegistryCaller) DeployHeight(opts *bind.CallOpts) (*big.Int, error)
- func (_BridgeRegistry *BridgeRegistryCaller) Oracle(opts *bind.CallOpts) (common.Address, error)
- func (_BridgeRegistry *BridgeRegistryCaller) Valset(opts *bind.CallOpts) (common.Address, error)
- type BridgeRegistryCallerRaw
- type BridgeRegistryCallerSession
- func (_BridgeRegistry *BridgeRegistryCallerSession) BridgeBank() (common.Address, error)
- func (_BridgeRegistry *BridgeRegistryCallerSession) Chain33Bridge() (common.Address, error)
- func (_BridgeRegistry *BridgeRegistryCallerSession) DeployHeight() (*big.Int, error)
- func (_BridgeRegistry *BridgeRegistryCallerSession) Oracle() (common.Address, error)
- func (_BridgeRegistry *BridgeRegistryCallerSession) Valset() (common.Address, error)
- type BridgeRegistryFilterer
- func (_BridgeRegistry *BridgeRegistryFilterer) FilterLogContractsRegistered(opts *bind.FilterOpts) (*BridgeRegistryLogContractsRegisteredIterator, error)
- func (_BridgeRegistry *BridgeRegistryFilterer) ParseLogContractsRegistered(log types.Log) (*BridgeRegistryLogContractsRegistered, error)
- func (_BridgeRegistry *BridgeRegistryFilterer) WatchLogContractsRegistered(opts *bind.WatchOpts, sink chan<- *BridgeRegistryLogContractsRegistered) (event.Subscription, error)
- type BridgeRegistryLogContractsRegistered
- type BridgeRegistryLogContractsRegisteredIterator
- type BridgeRegistryRaw
- func (_BridgeRegistry *BridgeRegistryRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_BridgeRegistry *BridgeRegistryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_BridgeRegistry *BridgeRegistryRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type BridgeRegistrySession
- func (_BridgeRegistry *BridgeRegistrySession) BridgeBank() (common.Address, error)
- func (_BridgeRegistry *BridgeRegistrySession) Chain33Bridge() (common.Address, error)
- func (_BridgeRegistry *BridgeRegistrySession) DeployHeight() (*big.Int, error)
- func (_BridgeRegistry *BridgeRegistrySession) Oracle() (common.Address, error)
- func (_BridgeRegistry *BridgeRegistrySession) Valset() (common.Address, error)
- type BridgeRegistryTransactor
- type BridgeRegistryTransactorRaw
- type BridgeRegistryTransactorSession
- type BridgeToken
- type BridgeTokenApproval
- type BridgeTokenApprovalIterator
- type BridgeTokenCaller
- func (_BridgeToken *BridgeTokenCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
- func (_BridgeToken *BridgeTokenCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)
- func (_BridgeToken *BridgeTokenCaller) Decimals(opts *bind.CallOpts) (uint8, error)
- func (_BridgeToken *BridgeTokenCaller) IsMinter(opts *bind.CallOpts, account common.Address) (bool, error)
- func (_BridgeToken *BridgeTokenCaller) Name(opts *bind.CallOpts) (string, error)
- func (_BridgeToken *BridgeTokenCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_BridgeToken *BridgeTokenCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type BridgeTokenCallerRaw
- type BridgeTokenCallerSession
- func (_BridgeToken *BridgeTokenCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_BridgeToken *BridgeTokenCallerSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_BridgeToken *BridgeTokenCallerSession) Decimals() (uint8, error)
- func (_BridgeToken *BridgeTokenCallerSession) IsMinter(account common.Address) (bool, error)
- func (_BridgeToken *BridgeTokenCallerSession) Name() (string, error)
- func (_BridgeToken *BridgeTokenCallerSession) Symbol() (string, error)
- func (_BridgeToken *BridgeTokenCallerSession) TotalSupply() (*big.Int, error)
- type BridgeTokenFilterer
- func (_BridgeToken *BridgeTokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*BridgeTokenApprovalIterator, error)
- func (_BridgeToken *BridgeTokenFilterer) FilterMinterAdded(opts *bind.FilterOpts, account []common.Address) (*BridgeTokenMinterAddedIterator, error)
- func (_BridgeToken *BridgeTokenFilterer) FilterMinterRemoved(opts *bind.FilterOpts, account []common.Address) (*BridgeTokenMinterRemovedIterator, error)
- func (_BridgeToken *BridgeTokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*BridgeTokenTransferIterator, error)
- func (_BridgeToken *BridgeTokenFilterer) ParseApproval(log types.Log) (*BridgeTokenApproval, error)
- func (_BridgeToken *BridgeTokenFilterer) ParseMinterAdded(log types.Log) (*BridgeTokenMinterAdded, error)
- func (_BridgeToken *BridgeTokenFilterer) ParseMinterRemoved(log types.Log) (*BridgeTokenMinterRemoved, error)
- func (_BridgeToken *BridgeTokenFilterer) ParseTransfer(log types.Log) (*BridgeTokenTransfer, error)
- func (_BridgeToken *BridgeTokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *BridgeTokenApproval, owner []common.Address, ...) (event.Subscription, error)
- func (_BridgeToken *BridgeTokenFilterer) WatchMinterAdded(opts *bind.WatchOpts, sink chan<- *BridgeTokenMinterAdded, ...) (event.Subscription, error)
- func (_BridgeToken *BridgeTokenFilterer) WatchMinterRemoved(opts *bind.WatchOpts, sink chan<- *BridgeTokenMinterRemoved, ...) (event.Subscription, error)
- func (_BridgeToken *BridgeTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *BridgeTokenTransfer, from []common.Address, ...) (event.Subscription, error)
- type BridgeTokenMinterAdded
- type BridgeTokenMinterAddedIterator
- type BridgeTokenMinterRemoved
- type BridgeTokenMinterRemovedIterator
- type BridgeTokenRaw
- func (_BridgeToken *BridgeTokenRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_BridgeToken *BridgeTokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_BridgeToken *BridgeTokenRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type BridgeTokenSession
- func (_BridgeToken *BridgeTokenSession) AddMinter(account common.Address) (*types.Transaction, error)
- func (_BridgeToken *BridgeTokenSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_BridgeToken *BridgeTokenSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_BridgeToken *BridgeTokenSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_BridgeToken *BridgeTokenSession) Burn(amount *big.Int) (*types.Transaction, error)
- func (_BridgeToken *BridgeTokenSession) BurnFrom(account common.Address, amount *big.Int) (*types.Transaction, error)
- func (_BridgeToken *BridgeTokenSession) Decimals() (uint8, error)
- func (_BridgeToken *BridgeTokenSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_BridgeToken *BridgeTokenSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_BridgeToken *BridgeTokenSession) IsMinter(account common.Address) (bool, error)
- func (_BridgeToken *BridgeTokenSession) Mint(account common.Address, amount *big.Int) (*types.Transaction, error)
- func (_BridgeToken *BridgeTokenSession) Name() (string, error)
- func (_BridgeToken *BridgeTokenSession) RenounceMinter() (*types.Transaction, error)
- func (_BridgeToken *BridgeTokenSession) Symbol() (string, error)
- func (_BridgeToken *BridgeTokenSession) TotalSupply() (*big.Int, error)
- func (_BridgeToken *BridgeTokenSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_BridgeToken *BridgeTokenSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- type BridgeTokenTransactor
- func (_BridgeToken *BridgeTokenTransactor) AddMinter(opts *bind.TransactOpts, account common.Address) (*types.Transaction, error)
- func (_BridgeToken *BridgeTokenTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_BridgeToken *BridgeTokenTransactor) Burn(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
- func (_BridgeToken *BridgeTokenTransactor) BurnFrom(opts *bind.TransactOpts, account common.Address, amount *big.Int) (*types.Transaction, error)
- func (_BridgeToken *BridgeTokenTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_BridgeToken *BridgeTokenTransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_BridgeToken *BridgeTokenTransactor) Mint(opts *bind.TransactOpts, account common.Address, amount *big.Int) (*types.Transaction, error)
- func (_BridgeToken *BridgeTokenTransactor) RenounceMinter(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_BridgeToken *BridgeTokenTransactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_BridgeToken *BridgeTokenTransactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, ...) (*types.Transaction, error)
- type BridgeTokenTransactorRaw
- type BridgeTokenTransactorSession
- func (_BridgeToken *BridgeTokenTransactorSession) AddMinter(account common.Address) (*types.Transaction, error)
- func (_BridgeToken *BridgeTokenTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_BridgeToken *BridgeTokenTransactorSession) Burn(amount *big.Int) (*types.Transaction, error)
- func (_BridgeToken *BridgeTokenTransactorSession) BurnFrom(account common.Address, amount *big.Int) (*types.Transaction, error)
- func (_BridgeToken *BridgeTokenTransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_BridgeToken *BridgeTokenTransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_BridgeToken *BridgeTokenTransactorSession) Mint(account common.Address, amount *big.Int) (*types.Transaction, error)
- func (_BridgeToken *BridgeTokenTransactorSession) RenounceMinter() (*types.Transaction, error)
- func (_BridgeToken *BridgeTokenTransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_BridgeToken *BridgeTokenTransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- type BridgeTokenTransfer
- type BridgeTokenTransferIterator
- type Chain33Bank
- type Chain33BankCaller
- func (_Chain33Bank *Chain33BankCaller) BridgeTokenCount(opts *bind.CallOpts) (*big.Int, error)
- func (_Chain33Bank *Chain33BankCaller) BridgeTokenCreated(opts *bind.CallOpts, arg0 [32]byte) (bool, error)
- func (_Chain33Bank *Chain33BankCaller) BridgeTokenWhitelist(opts *bind.CallOpts, arg0 common.Address) (bool, error)
- func (_Chain33Bank *Chain33BankCaller) GetToken2address(opts *bind.CallOpts, _symbol string) (common.Address, error)
- func (_Chain33Bank *Chain33BankCaller) HasBridgeTokenCreated(opts *bind.CallOpts, _symbol string) (bool, error)
- func (_Chain33Bank *Chain33BankCaller) Token2address(opts *bind.CallOpts, arg0 [32]byte) (common.Address, error)
- type Chain33BankCallerRaw
- type Chain33BankCallerSession
- func (_Chain33Bank *Chain33BankCallerSession) BridgeTokenCount() (*big.Int, error)
- func (_Chain33Bank *Chain33BankCallerSession) BridgeTokenCreated(arg0 [32]byte) (bool, error)
- func (_Chain33Bank *Chain33BankCallerSession) BridgeTokenWhitelist(arg0 common.Address) (bool, error)
- func (_Chain33Bank *Chain33BankCallerSession) GetToken2address(_symbol string) (common.Address, error)
- func (_Chain33Bank *Chain33BankCallerSession) HasBridgeTokenCreated(_symbol string) (bool, error)
- func (_Chain33Bank *Chain33BankCallerSession) Token2address(arg0 [32]byte) (common.Address, error)
- type Chain33BankFilterer
- func (_Chain33Bank *Chain33BankFilterer) FilterLogBridgeTokenMint(opts *bind.FilterOpts) (*Chain33BankLogBridgeTokenMintIterator, error)
- func (_Chain33Bank *Chain33BankFilterer) FilterLogChain33TokenBurn(opts *bind.FilterOpts) (*Chain33BankLogChain33TokenBurnIterator, error)
- func (_Chain33Bank *Chain33BankFilterer) FilterLogNewBridgeToken(opts *bind.FilterOpts) (*Chain33BankLogNewBridgeTokenIterator, error)
- func (_Chain33Bank *Chain33BankFilterer) ParseLogBridgeTokenMint(log types.Log) (*Chain33BankLogBridgeTokenMint, error)
- func (_Chain33Bank *Chain33BankFilterer) ParseLogChain33TokenBurn(log types.Log) (*Chain33BankLogChain33TokenBurn, error)
- func (_Chain33Bank *Chain33BankFilterer) ParseLogNewBridgeToken(log types.Log) (*Chain33BankLogNewBridgeToken, error)
- func (_Chain33Bank *Chain33BankFilterer) WatchLogBridgeTokenMint(opts *bind.WatchOpts, sink chan<- *Chain33BankLogBridgeTokenMint) (event.Subscription, error)
- func (_Chain33Bank *Chain33BankFilterer) WatchLogChain33TokenBurn(opts *bind.WatchOpts, sink chan<- *Chain33BankLogChain33TokenBurn) (event.Subscription, error)
- func (_Chain33Bank *Chain33BankFilterer) WatchLogNewBridgeToken(opts *bind.WatchOpts, sink chan<- *Chain33BankLogNewBridgeToken) (event.Subscription, error)
- type Chain33BankLogBridgeTokenMint
- type Chain33BankLogBridgeTokenMintIterator
- type Chain33BankLogChain33TokenBurn
- type Chain33BankLogChain33TokenBurnIterator
- type Chain33BankLogNewBridgeToken
- type Chain33BankLogNewBridgeTokenIterator
- type Chain33BankRaw
- func (_Chain33Bank *Chain33BankRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Chain33Bank *Chain33BankRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Chain33Bank *Chain33BankRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type Chain33BankSession
- func (_Chain33Bank *Chain33BankSession) BridgeTokenCount() (*big.Int, error)
- func (_Chain33Bank *Chain33BankSession) BridgeTokenCreated(arg0 [32]byte) (bool, error)
- func (_Chain33Bank *Chain33BankSession) BridgeTokenWhitelist(arg0 common.Address) (bool, error)
- func (_Chain33Bank *Chain33BankSession) GetToken2address(_symbol string) (common.Address, error)
- func (_Chain33Bank *Chain33BankSession) HasBridgeTokenCreated(_symbol string) (bool, error)
- func (_Chain33Bank *Chain33BankSession) Token2address(arg0 [32]byte) (common.Address, error)
- type Chain33BankTransactor
- type Chain33BankTransactorRaw
- type Chain33BankTransactorSession
- type Chain33Bridge
- type Chain33BridgeCaller
- func (_Chain33Bridge *Chain33BridgeCaller) BridgeBank(opts *bind.CallOpts) (common.Address, error)
- func (_Chain33Bridge *Chain33BridgeCaller) HasBridgeBank(opts *bind.CallOpts) (bool, error)
- func (_Chain33Bridge *Chain33BridgeCaller) HasOracle(opts *bind.CallOpts) (bool, error)
- func (_Chain33Bridge *Chain33BridgeCaller) IsProphecyClaimActive(opts *bind.CallOpts, _claimID [32]byte) (bool, error)
- func (_Chain33Bridge *Chain33BridgeCaller) IsProphecyClaimValidatorActive(opts *bind.CallOpts, _claimID [32]byte) (bool, error)
- func (_Chain33Bridge *Chain33BridgeCaller) IsValidClaimType(opts *bind.CallOpts, _claimType uint8) (bool, error)
- func (_Chain33Bridge *Chain33BridgeCaller) Operator(opts *bind.CallOpts) (common.Address, error)
- func (_Chain33Bridge *Chain33BridgeCaller) Oracle(opts *bind.CallOpts) (common.Address, error)
- func (_Chain33Bridge *Chain33BridgeCaller) ProphecyClaimCount(opts *bind.CallOpts) (*big.Int, error)
- func (_Chain33Bridge *Chain33BridgeCaller) ProphecyClaims(opts *bind.CallOpts, arg0 [32]byte) (struct{ ... }, error)
- func (_Chain33Bridge *Chain33BridgeCaller) Valset(opts *bind.CallOpts) (common.Address, error)
- type Chain33BridgeCallerRaw
- type Chain33BridgeCallerSession
- func (_Chain33Bridge *Chain33BridgeCallerSession) BridgeBank() (common.Address, error)
- func (_Chain33Bridge *Chain33BridgeCallerSession) HasBridgeBank() (bool, error)
- func (_Chain33Bridge *Chain33BridgeCallerSession) HasOracle() (bool, error)
- func (_Chain33Bridge *Chain33BridgeCallerSession) IsProphecyClaimActive(_claimID [32]byte) (bool, error)
- func (_Chain33Bridge *Chain33BridgeCallerSession) IsProphecyClaimValidatorActive(_claimID [32]byte) (bool, error)
- func (_Chain33Bridge *Chain33BridgeCallerSession) IsValidClaimType(_claimType uint8) (bool, error)
- func (_Chain33Bridge *Chain33BridgeCallerSession) Operator() (common.Address, error)
- func (_Chain33Bridge *Chain33BridgeCallerSession) Oracle() (common.Address, error)
- func (_Chain33Bridge *Chain33BridgeCallerSession) ProphecyClaimCount() (*big.Int, error)
- func (_Chain33Bridge *Chain33BridgeCallerSession) ProphecyClaims(arg0 [32]byte) (struct{ ... }, error)
- func (_Chain33Bridge *Chain33BridgeCallerSession) Valset() (common.Address, error)
- type Chain33BridgeFilterer
- func (_Chain33Bridge *Chain33BridgeFilterer) FilterLogBridgeBankSet(opts *bind.FilterOpts) (*Chain33BridgeLogBridgeBankSetIterator, error)
- func (_Chain33Bridge *Chain33BridgeFilterer) FilterLogNewProphecyClaim(opts *bind.FilterOpts) (*Chain33BridgeLogNewProphecyClaimIterator, error)
- func (_Chain33Bridge *Chain33BridgeFilterer) FilterLogOracleSet(opts *bind.FilterOpts) (*Chain33BridgeLogOracleSetIterator, error)
- func (_Chain33Bridge *Chain33BridgeFilterer) FilterLogProphecyCompleted(opts *bind.FilterOpts) (*Chain33BridgeLogProphecyCompletedIterator, error)
- func (_Chain33Bridge *Chain33BridgeFilterer) ParseLogBridgeBankSet(log types.Log) (*Chain33BridgeLogBridgeBankSet, error)
- func (_Chain33Bridge *Chain33BridgeFilterer) ParseLogNewProphecyClaim(log types.Log) (*Chain33BridgeLogNewProphecyClaim, error)
- func (_Chain33Bridge *Chain33BridgeFilterer) ParseLogOracleSet(log types.Log) (*Chain33BridgeLogOracleSet, error)
- func (_Chain33Bridge *Chain33BridgeFilterer) ParseLogProphecyCompleted(log types.Log) (*Chain33BridgeLogProphecyCompleted, error)
- func (_Chain33Bridge *Chain33BridgeFilterer) WatchLogBridgeBankSet(opts *bind.WatchOpts, sink chan<- *Chain33BridgeLogBridgeBankSet) (event.Subscription, error)
- func (_Chain33Bridge *Chain33BridgeFilterer) WatchLogNewProphecyClaim(opts *bind.WatchOpts, sink chan<- *Chain33BridgeLogNewProphecyClaim) (event.Subscription, error)
- func (_Chain33Bridge *Chain33BridgeFilterer) WatchLogOracleSet(opts *bind.WatchOpts, sink chan<- *Chain33BridgeLogOracleSet) (event.Subscription, error)
- func (_Chain33Bridge *Chain33BridgeFilterer) WatchLogProphecyCompleted(opts *bind.WatchOpts, sink chan<- *Chain33BridgeLogProphecyCompleted) (event.Subscription, error)
- type Chain33BridgeLogBridgeBankSet
- type Chain33BridgeLogBridgeBankSetIterator
- type Chain33BridgeLogNewProphecyClaim
- type Chain33BridgeLogNewProphecyClaimIterator
- type Chain33BridgeLogOracleSet
- type Chain33BridgeLogOracleSetIterator
- type Chain33BridgeLogProphecyCompleted
- type Chain33BridgeLogProphecyCompletedIterator
- type Chain33BridgeRaw
- func (_Chain33Bridge *Chain33BridgeRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Chain33Bridge *Chain33BridgeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Chain33Bridge *Chain33BridgeRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type Chain33BridgeSession
- func (_Chain33Bridge *Chain33BridgeSession) BridgeBank() (common.Address, error)
- func (_Chain33Bridge *Chain33BridgeSession) CompleteClaim(_claimID [32]byte) (*types.Transaction, error)
- func (_Chain33Bridge *Chain33BridgeSession) HasBridgeBank() (bool, error)
- func (_Chain33Bridge *Chain33BridgeSession) HasOracle() (bool, error)
- func (_Chain33Bridge *Chain33BridgeSession) IsProphecyClaimActive(_claimID [32]byte) (bool, error)
- func (_Chain33Bridge *Chain33BridgeSession) IsProphecyClaimValidatorActive(_claimID [32]byte) (bool, error)
- func (_Chain33Bridge *Chain33BridgeSession) IsValidClaimType(_claimType uint8) (bool, error)
- func (_Chain33Bridge *Chain33BridgeSession) Operator() (common.Address, error)
- func (_Chain33Bridge *Chain33BridgeSession) Oracle() (common.Address, error)
- func (_Chain33Bridge *Chain33BridgeSession) ProphecyClaimCount() (*big.Int, error)
- func (_Chain33Bridge *Chain33BridgeSession) ProphecyClaims(arg0 [32]byte) (struct{ ... }, error)
- func (_Chain33Bridge *Chain33BridgeSession) SetBridgeBank(_bridgeBank common.Address) (*types.Transaction, error)
- func (_Chain33Bridge *Chain33BridgeSession) SetNewProphecyClaim(_claimID [32]byte, _claimType uint8, _chain33Sender []byte, ...) (*types.Transaction, error)
- func (_Chain33Bridge *Chain33BridgeSession) SetOracle(_oracle common.Address) (*types.Transaction, error)
- func (_Chain33Bridge *Chain33BridgeSession) Valset() (common.Address, error)
- type Chain33BridgeTransactor
- func (_Chain33Bridge *Chain33BridgeTransactor) CompleteClaim(opts *bind.TransactOpts, _claimID [32]byte) (*types.Transaction, error)
- func (_Chain33Bridge *Chain33BridgeTransactor) SetBridgeBank(opts *bind.TransactOpts, _bridgeBank common.Address) (*types.Transaction, error)
- func (_Chain33Bridge *Chain33BridgeTransactor) SetNewProphecyClaim(opts *bind.TransactOpts, _claimID [32]byte, _claimType uint8, ...) (*types.Transaction, error)
- func (_Chain33Bridge *Chain33BridgeTransactor) SetOracle(opts *bind.TransactOpts, _oracle common.Address) (*types.Transaction, error)
- type Chain33BridgeTransactorRaw
- type Chain33BridgeTransactorSession
- func (_Chain33Bridge *Chain33BridgeTransactorSession) CompleteClaim(_claimID [32]byte) (*types.Transaction, error)
- func (_Chain33Bridge *Chain33BridgeTransactorSession) SetBridgeBank(_bridgeBank common.Address) (*types.Transaction, error)
- func (_Chain33Bridge *Chain33BridgeTransactorSession) SetNewProphecyClaim(_claimID [32]byte, _claimType uint8, _chain33Sender []byte, ...) (*types.Transaction, error)
- func (_Chain33Bridge *Chain33BridgeTransactorSession) SetOracle(_oracle common.Address) (*types.Transaction, error)
- type Context
- type ContextCaller
- type ContextCallerRaw
- type ContextCallerSession
- type ContextFilterer
- type ContextRaw
- func (_Context *ContextRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Context *ContextRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Context *ContextRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ContextSession
- type ContextTransactor
- type ContextTransactorRaw
- type ContextTransactorSession
- type ECDSA
- type ECDSACaller
- type ECDSACallerRaw
- type ECDSACallerSession
- type ECDSAFilterer
- type ECDSARaw
- func (_ECDSA *ECDSARaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_ECDSA *ECDSARaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ECDSA *ECDSARaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ECDSASession
- type ECDSATransactor
- type ECDSATransactorRaw
- type ECDSATransactorSession
- type ERC20
- type ERC20Approval
- type ERC20ApprovalIterator
- type ERC20Burnable
- type ERC20BurnableApproval
- type ERC20BurnableApprovalIterator
- type ERC20BurnableCaller
- func (_ERC20Burnable *ERC20BurnableCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
- func (_ERC20Burnable *ERC20BurnableCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)
- func (_ERC20Burnable *ERC20BurnableCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type ERC20BurnableCallerRaw
- type ERC20BurnableCallerSession
- func (_ERC20Burnable *ERC20BurnableCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_ERC20Burnable *ERC20BurnableCallerSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_ERC20Burnable *ERC20BurnableCallerSession) TotalSupply() (*big.Int, error)
- type ERC20BurnableFilterer
- func (_ERC20Burnable *ERC20BurnableFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*ERC20BurnableApprovalIterator, error)
- func (_ERC20Burnable *ERC20BurnableFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ERC20BurnableTransferIterator, error)
- func (_ERC20Burnable *ERC20BurnableFilterer) ParseApproval(log types.Log) (*ERC20BurnableApproval, error)
- func (_ERC20Burnable *ERC20BurnableFilterer) ParseTransfer(log types.Log) (*ERC20BurnableTransfer, error)
- func (_ERC20Burnable *ERC20BurnableFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC20BurnableApproval, ...) (event.Subscription, error)
- func (_ERC20Burnable *ERC20BurnableFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC20BurnableTransfer, ...) (event.Subscription, error)
- type ERC20BurnableRaw
- func (_ERC20Burnable *ERC20BurnableRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_ERC20Burnable *ERC20BurnableRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ERC20Burnable *ERC20BurnableRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ERC20BurnableSession
- func (_ERC20Burnable *ERC20BurnableSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_ERC20Burnable *ERC20BurnableSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20Burnable *ERC20BurnableSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_ERC20Burnable *ERC20BurnableSession) Burn(amount *big.Int) (*types.Transaction, error)
- func (_ERC20Burnable *ERC20BurnableSession) BurnFrom(account common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20Burnable *ERC20BurnableSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_ERC20Burnable *ERC20BurnableSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_ERC20Burnable *ERC20BurnableSession) TotalSupply() (*big.Int, error)
- func (_ERC20Burnable *ERC20BurnableSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20Burnable *ERC20BurnableSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- type ERC20BurnableTransactor
- func (_ERC20Burnable *ERC20BurnableTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20Burnable *ERC20BurnableTransactor) Burn(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
- func (_ERC20Burnable *ERC20BurnableTransactor) BurnFrom(opts *bind.TransactOpts, account common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20Burnable *ERC20BurnableTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_ERC20Burnable *ERC20BurnableTransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_ERC20Burnable *ERC20BurnableTransactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20Burnable *ERC20BurnableTransactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, ...) (*types.Transaction, error)
- type ERC20BurnableTransactorRaw
- type ERC20BurnableTransactorSession
- func (_ERC20Burnable *ERC20BurnableTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20Burnable *ERC20BurnableTransactorSession) Burn(amount *big.Int) (*types.Transaction, error)
- func (_ERC20Burnable *ERC20BurnableTransactorSession) BurnFrom(account common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20Burnable *ERC20BurnableTransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_ERC20Burnable *ERC20BurnableTransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_ERC20Burnable *ERC20BurnableTransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20Burnable *ERC20BurnableTransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- type ERC20BurnableTransfer
- type ERC20BurnableTransferIterator
- type ERC20Caller
- type ERC20CallerRaw
- type ERC20CallerSession
- type ERC20Detailed
- type ERC20DetailedApproval
- type ERC20DetailedApprovalIterator
- type ERC20DetailedCaller
- func (_ERC20Detailed *ERC20DetailedCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
- func (_ERC20Detailed *ERC20DetailedCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)
- func (_ERC20Detailed *ERC20DetailedCaller) Decimals(opts *bind.CallOpts) (uint8, error)
- func (_ERC20Detailed *ERC20DetailedCaller) Name(opts *bind.CallOpts) (string, error)
- func (_ERC20Detailed *ERC20DetailedCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_ERC20Detailed *ERC20DetailedCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type ERC20DetailedCallerRaw
- type ERC20DetailedCallerSession
- func (_ERC20Detailed *ERC20DetailedCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_ERC20Detailed *ERC20DetailedCallerSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_ERC20Detailed *ERC20DetailedCallerSession) Decimals() (uint8, error)
- func (_ERC20Detailed *ERC20DetailedCallerSession) Name() (string, error)
- func (_ERC20Detailed *ERC20DetailedCallerSession) Symbol() (string, error)
- func (_ERC20Detailed *ERC20DetailedCallerSession) TotalSupply() (*big.Int, error)
- type ERC20DetailedFilterer
- func (_ERC20Detailed *ERC20DetailedFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*ERC20DetailedApprovalIterator, error)
- func (_ERC20Detailed *ERC20DetailedFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ERC20DetailedTransferIterator, error)
- func (_ERC20Detailed *ERC20DetailedFilterer) ParseApproval(log types.Log) (*ERC20DetailedApproval, error)
- func (_ERC20Detailed *ERC20DetailedFilterer) ParseTransfer(log types.Log) (*ERC20DetailedTransfer, error)
- func (_ERC20Detailed *ERC20DetailedFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC20DetailedApproval, ...) (event.Subscription, error)
- func (_ERC20Detailed *ERC20DetailedFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC20DetailedTransfer, ...) (event.Subscription, error)
- type ERC20DetailedRaw
- func (_ERC20Detailed *ERC20DetailedRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_ERC20Detailed *ERC20DetailedRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ERC20Detailed *ERC20DetailedRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ERC20DetailedSession
- func (_ERC20Detailed *ERC20DetailedSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_ERC20Detailed *ERC20DetailedSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20Detailed *ERC20DetailedSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_ERC20Detailed *ERC20DetailedSession) Decimals() (uint8, error)
- func (_ERC20Detailed *ERC20DetailedSession) Name() (string, error)
- func (_ERC20Detailed *ERC20DetailedSession) Symbol() (string, error)
- func (_ERC20Detailed *ERC20DetailedSession) TotalSupply() (*big.Int, error)
- func (_ERC20Detailed *ERC20DetailedSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20Detailed *ERC20DetailedSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- type ERC20DetailedTransactor
- func (_ERC20Detailed *ERC20DetailedTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20Detailed *ERC20DetailedTransactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20Detailed *ERC20DetailedTransactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, ...) (*types.Transaction, error)
- type ERC20DetailedTransactorRaw
- type ERC20DetailedTransactorSession
- func (_ERC20Detailed *ERC20DetailedTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20Detailed *ERC20DetailedTransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20Detailed *ERC20DetailedTransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- type ERC20DetailedTransfer
- type ERC20DetailedTransferIterator
- type ERC20Filterer
- func (_ERC20 *ERC20Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*ERC20ApprovalIterator, error)
- func (_ERC20 *ERC20Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ERC20TransferIterator, error)
- func (_ERC20 *ERC20Filterer) ParseApproval(log types.Log) (*ERC20Approval, error)
- func (_ERC20 *ERC20Filterer) ParseTransfer(log types.Log) (*ERC20Transfer, error)
- func (_ERC20 *ERC20Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC20Approval, owner []common.Address, ...) (event.Subscription, error)
- func (_ERC20 *ERC20Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC20Transfer, from []common.Address, ...) (event.Subscription, error)
- type ERC20Mintable
- type ERC20MintableApproval
- type ERC20MintableApprovalIterator
- type ERC20MintableCaller
- func (_ERC20Mintable *ERC20MintableCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
- func (_ERC20Mintable *ERC20MintableCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)
- func (_ERC20Mintable *ERC20MintableCaller) IsMinter(opts *bind.CallOpts, account common.Address) (bool, error)
- func (_ERC20Mintable *ERC20MintableCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type ERC20MintableCallerRaw
- type ERC20MintableCallerSession
- func (_ERC20Mintable *ERC20MintableCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_ERC20Mintable *ERC20MintableCallerSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_ERC20Mintable *ERC20MintableCallerSession) IsMinter(account common.Address) (bool, error)
- func (_ERC20Mintable *ERC20MintableCallerSession) TotalSupply() (*big.Int, error)
- type ERC20MintableFilterer
- func (_ERC20Mintable *ERC20MintableFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*ERC20MintableApprovalIterator, error)
- func (_ERC20Mintable *ERC20MintableFilterer) FilterMinterAdded(opts *bind.FilterOpts, account []common.Address) (*ERC20MintableMinterAddedIterator, error)
- func (_ERC20Mintable *ERC20MintableFilterer) FilterMinterRemoved(opts *bind.FilterOpts, account []common.Address) (*ERC20MintableMinterRemovedIterator, error)
- func (_ERC20Mintable *ERC20MintableFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ERC20MintableTransferIterator, error)
- func (_ERC20Mintable *ERC20MintableFilterer) ParseApproval(log types.Log) (*ERC20MintableApproval, error)
- func (_ERC20Mintable *ERC20MintableFilterer) ParseMinterAdded(log types.Log) (*ERC20MintableMinterAdded, error)
- func (_ERC20Mintable *ERC20MintableFilterer) ParseMinterRemoved(log types.Log) (*ERC20MintableMinterRemoved, error)
- func (_ERC20Mintable *ERC20MintableFilterer) ParseTransfer(log types.Log) (*ERC20MintableTransfer, error)
- func (_ERC20Mintable *ERC20MintableFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC20MintableApproval, ...) (event.Subscription, error)
- func (_ERC20Mintable *ERC20MintableFilterer) WatchMinterAdded(opts *bind.WatchOpts, sink chan<- *ERC20MintableMinterAdded, ...) (event.Subscription, error)
- func (_ERC20Mintable *ERC20MintableFilterer) WatchMinterRemoved(opts *bind.WatchOpts, sink chan<- *ERC20MintableMinterRemoved, ...) (event.Subscription, error)
- func (_ERC20Mintable *ERC20MintableFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC20MintableTransfer, ...) (event.Subscription, error)
- type ERC20MintableMinterAdded
- type ERC20MintableMinterAddedIterator
- type ERC20MintableMinterRemoved
- type ERC20MintableMinterRemovedIterator
- type ERC20MintableRaw
- func (_ERC20Mintable *ERC20MintableRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_ERC20Mintable *ERC20MintableRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ERC20Mintable *ERC20MintableRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ERC20MintableSession
- func (_ERC20Mintable *ERC20MintableSession) AddMinter(account common.Address) (*types.Transaction, error)
- func (_ERC20Mintable *ERC20MintableSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_ERC20Mintable *ERC20MintableSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20Mintable *ERC20MintableSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_ERC20Mintable *ERC20MintableSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_ERC20Mintable *ERC20MintableSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_ERC20Mintable *ERC20MintableSession) IsMinter(account common.Address) (bool, error)
- func (_ERC20Mintable *ERC20MintableSession) Mint(account common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20Mintable *ERC20MintableSession) RenounceMinter() (*types.Transaction, error)
- func (_ERC20Mintable *ERC20MintableSession) TotalSupply() (*big.Int, error)
- func (_ERC20Mintable *ERC20MintableSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20Mintable *ERC20MintableSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- type ERC20MintableTransactor
- func (_ERC20Mintable *ERC20MintableTransactor) AddMinter(opts *bind.TransactOpts, account common.Address) (*types.Transaction, error)
- func (_ERC20Mintable *ERC20MintableTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20Mintable *ERC20MintableTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_ERC20Mintable *ERC20MintableTransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_ERC20Mintable *ERC20MintableTransactor) Mint(opts *bind.TransactOpts, account common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20Mintable *ERC20MintableTransactor) RenounceMinter(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_ERC20Mintable *ERC20MintableTransactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20Mintable *ERC20MintableTransactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, ...) (*types.Transaction, error)
- type ERC20MintableTransactorRaw
- type ERC20MintableTransactorSession
- func (_ERC20Mintable *ERC20MintableTransactorSession) AddMinter(account common.Address) (*types.Transaction, error)
- func (_ERC20Mintable *ERC20MintableTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20Mintable *ERC20MintableTransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_ERC20Mintable *ERC20MintableTransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_ERC20Mintable *ERC20MintableTransactorSession) Mint(account common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20Mintable *ERC20MintableTransactorSession) RenounceMinter() (*types.Transaction, error)
- func (_ERC20Mintable *ERC20MintableTransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20Mintable *ERC20MintableTransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- type ERC20MintableTransfer
- type ERC20MintableTransferIterator
- type ERC20Raw
- func (_ERC20 *ERC20Raw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_ERC20 *ERC20Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ERC20 *ERC20Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ERC20Session
- func (_ERC20 *ERC20Session) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_ERC20 *ERC20Session) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20 *ERC20Session) BalanceOf(account common.Address) (*big.Int, error)
- func (_ERC20 *ERC20Session) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_ERC20 *ERC20Session) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_ERC20 *ERC20Session) TotalSupply() (*big.Int, error)
- func (_ERC20 *ERC20Session) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20 *ERC20Session) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- type ERC20Transactor
- func (_ERC20 *ERC20Transactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20 *ERC20Transactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_ERC20 *ERC20Transactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_ERC20 *ERC20Transactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20 *ERC20Transactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, ...) (*types.Transaction, error)
- type ERC20TransactorRaw
- type ERC20TransactorSession
- func (_ERC20 *ERC20TransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20 *ERC20TransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_ERC20 *ERC20TransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_ERC20 *ERC20TransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20 *ERC20TransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- type ERC20Transfer
- type ERC20TransferIterator
- type EthereumBank
- type EthereumBankCaller
- type EthereumBankCallerRaw
- type EthereumBankCallerSession
- type EthereumBankFilterer
- func (_EthereumBank *EthereumBankFilterer) FilterLogLock(opts *bind.FilterOpts) (*EthereumBankLogLockIterator, error)
- func (_EthereumBank *EthereumBankFilterer) FilterLogUnlock(opts *bind.FilterOpts) (*EthereumBankLogUnlockIterator, error)
- func (_EthereumBank *EthereumBankFilterer) ParseLogLock(log types.Log) (*EthereumBankLogLock, error)
- func (_EthereumBank *EthereumBankFilterer) ParseLogUnlock(log types.Log) (*EthereumBankLogUnlock, error)
- func (_EthereumBank *EthereumBankFilterer) WatchLogLock(opts *bind.WatchOpts, sink chan<- *EthereumBankLogLock) (event.Subscription, error)
- func (_EthereumBank *EthereumBankFilterer) WatchLogUnlock(opts *bind.WatchOpts, sink chan<- *EthereumBankLogUnlock) (event.Subscription, error)
- type EthereumBankLogLock
- type EthereumBankLogLockIterator
- type EthereumBankLogUnlock
- type EthereumBankLogUnlockIterator
- type EthereumBankRaw
- func (_EthereumBank *EthereumBankRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_EthereumBank *EthereumBankRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_EthereumBank *EthereumBankRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type EthereumBankSession
- type EthereumBankTransactor
- type EthereumBankTransactorRaw
- type EthereumBankTransactorSession
- type IERC20
- type IERC20Approval
- type IERC20ApprovalIterator
- type IERC20Caller
- func (_IERC20 *IERC20Caller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
- func (_IERC20 *IERC20Caller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)
- func (_IERC20 *IERC20Caller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type IERC20CallerRaw
- type IERC20CallerSession
- type IERC20Filterer
- func (_IERC20 *IERC20Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*IERC20ApprovalIterator, error)
- func (_IERC20 *IERC20Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*IERC20TransferIterator, error)
- func (_IERC20 *IERC20Filterer) ParseApproval(log types.Log) (*IERC20Approval, error)
- func (_IERC20 *IERC20Filterer) ParseTransfer(log types.Log) (*IERC20Transfer, error)
- func (_IERC20 *IERC20Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *IERC20Approval, owner []common.Address, ...) (event.Subscription, error)
- func (_IERC20 *IERC20Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *IERC20Transfer, from []common.Address, ...) (event.Subscription, error)
- type IERC20Raw
- func (_IERC20 *IERC20Raw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_IERC20 *IERC20Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_IERC20 *IERC20Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type IERC20Session
- func (_IERC20 *IERC20Session) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_IERC20 *IERC20Session) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_IERC20 *IERC20Session) BalanceOf(account common.Address) (*big.Int, error)
- func (_IERC20 *IERC20Session) TotalSupply() (*big.Int, error)
- func (_IERC20 *IERC20Session) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_IERC20 *IERC20Session) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- type IERC20Transactor
- func (_IERC20 *IERC20Transactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_IERC20 *IERC20Transactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_IERC20 *IERC20Transactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, ...) (*types.Transaction, error)
- type IERC20TransactorRaw
- type IERC20TransactorSession
- func (_IERC20 *IERC20TransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_IERC20 *IERC20TransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_IERC20 *IERC20TransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- type IERC20Transfer
- type IERC20TransferIterator
- type MinterRole
- type MinterRoleCaller
- type MinterRoleCallerRaw
- type MinterRoleCallerSession
- type MinterRoleFilterer
- func (_MinterRole *MinterRoleFilterer) FilterMinterAdded(opts *bind.FilterOpts, account []common.Address) (*MinterRoleMinterAddedIterator, error)
- func (_MinterRole *MinterRoleFilterer) FilterMinterRemoved(opts *bind.FilterOpts, account []common.Address) (*MinterRoleMinterRemovedIterator, error)
- func (_MinterRole *MinterRoleFilterer) ParseMinterAdded(log types.Log) (*MinterRoleMinterAdded, error)
- func (_MinterRole *MinterRoleFilterer) ParseMinterRemoved(log types.Log) (*MinterRoleMinterRemoved, error)
- func (_MinterRole *MinterRoleFilterer) WatchMinterAdded(opts *bind.WatchOpts, sink chan<- *MinterRoleMinterAdded, ...) (event.Subscription, error)
- func (_MinterRole *MinterRoleFilterer) WatchMinterRemoved(opts *bind.WatchOpts, sink chan<- *MinterRoleMinterRemoved, ...) (event.Subscription, error)
- type MinterRoleMinterAdded
- type MinterRoleMinterAddedIterator
- type MinterRoleMinterRemoved
- type MinterRoleMinterRemovedIterator
- type MinterRoleRaw
- func (_MinterRole *MinterRoleRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_MinterRole *MinterRoleRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_MinterRole *MinterRoleRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type MinterRoleSession
- type MinterRoleTransactor
- type MinterRoleTransactorRaw
- type MinterRoleTransactorSession
- type Oracle
- type OracleCaller
- func (_Oracle *OracleCaller) Chain33Bridge(opts *bind.CallOpts) (common.Address, error)
- func (_Oracle *OracleCaller) CheckBridgeProphecy(opts *bind.CallOpts, _claimID [32]byte) (bool, *big.Int, *big.Int, error)
- func (_Oracle *OracleCaller) HasMadeClaim(opts *bind.CallOpts, arg0 [32]byte, arg1 common.Address) (bool, error)
- func (_Oracle *OracleCaller) Operator(opts *bind.CallOpts) (common.Address, error)
- func (_Oracle *OracleCaller) OracleClaimValidators(opts *bind.CallOpts, arg0 [32]byte, arg1 *big.Int) (common.Address, error)
- func (_Oracle *OracleCaller) Valset(opts *bind.CallOpts) (common.Address, error)
- type OracleCallerRaw
- type OracleCallerSession
- func (_Oracle *OracleCallerSession) Chain33Bridge() (common.Address, error)
- func (_Oracle *OracleCallerSession) CheckBridgeProphecy(_claimID [32]byte) (bool, *big.Int, *big.Int, error)
- func (_Oracle *OracleCallerSession) HasMadeClaim(arg0 [32]byte, arg1 common.Address) (bool, error)
- func (_Oracle *OracleCallerSession) Operator() (common.Address, error)
- func (_Oracle *OracleCallerSession) OracleClaimValidators(arg0 [32]byte, arg1 *big.Int) (common.Address, error)
- func (_Oracle *OracleCallerSession) Valset() (common.Address, error)
- type OracleFilterer
- func (_Oracle *OracleFilterer) FilterLogNewOracleClaim(opts *bind.FilterOpts) (*OracleLogNewOracleClaimIterator, error)
- func (_Oracle *OracleFilterer) FilterLogProphecyProcessed(opts *bind.FilterOpts) (*OracleLogProphecyProcessedIterator, error)
- func (_Oracle *OracleFilterer) ParseLogNewOracleClaim(log types.Log) (*OracleLogNewOracleClaim, error)
- func (_Oracle *OracleFilterer) ParseLogProphecyProcessed(log types.Log) (*OracleLogProphecyProcessed, error)
- func (_Oracle *OracleFilterer) WatchLogNewOracleClaim(opts *bind.WatchOpts, sink chan<- *OracleLogNewOracleClaim) (event.Subscription, error)
- func (_Oracle *OracleFilterer) WatchLogProphecyProcessed(opts *bind.WatchOpts, sink chan<- *OracleLogProphecyProcessed) (event.Subscription, error)
- type OracleLogNewOracleClaim
- type OracleLogNewOracleClaimIterator
- type OracleLogProphecyProcessed
- type OracleLogProphecyProcessedIterator
- type OracleRaw
- func (_Oracle *OracleRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Oracle *OracleRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Oracle *OracleRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type OracleSession
- func (_Oracle *OracleSession) Chain33Bridge() (common.Address, error)
- func (_Oracle *OracleSession) CheckBridgeProphecy(_claimID [32]byte) (bool, *big.Int, *big.Int, error)
- func (_Oracle *OracleSession) HasMadeClaim(arg0 [32]byte, arg1 common.Address) (bool, error)
- func (_Oracle *OracleSession) NewOracleClaim(_claimType uint8, _chain33Sender []byte, _ethereumReceiver common.Address, ...) (*types.Transaction, error)
- func (_Oracle *OracleSession) Operator() (common.Address, error)
- func (_Oracle *OracleSession) OracleClaimValidators(arg0 [32]byte, arg1 *big.Int) (common.Address, error)
- func (_Oracle *OracleSession) Valset() (common.Address, error)
- type OracleTransactor
- type OracleTransactorRaw
- type OracleTransactorSession
- type Roles
- type RolesCaller
- type RolesCallerRaw
- type RolesCallerSession
- type RolesFilterer
- type RolesRaw
- func (_Roles *RolesRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Roles *RolesRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Roles *RolesRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type RolesSession
- type RolesTransactor
- type RolesTransactorRaw
- type RolesTransactorSession
- type SafeMath
- type SafeMathCaller
- type SafeMathCallerRaw
- type SafeMathCallerSession
- type SafeMathFilterer
- type SafeMathRaw
- func (_SafeMath *SafeMathRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_SafeMath *SafeMathRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_SafeMath *SafeMathRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type SafeMathSession
- type SafeMathTransactor
- type SafeMathTransactorRaw
- type SafeMathTransactorSession
- type Valset
- type ValsetCaller
- func (_Valset *ValsetCaller) CurrentValsetVersion(opts *bind.CallOpts) (*big.Int, error)
- func (_Valset *ValsetCaller) DebugEthMessageHash(opts *bind.CallOpts, hash [32]byte) ([32]byte, error)
- func (_Valset *ValsetCaller) DebugPacked(opts *bind.CallOpts, hash [32]byte) ([]byte, error)
- func (_Valset *ValsetCaller) GetValidatorPower(opts *bind.CallOpts, _validatorAddress common.Address) (*big.Int, error)
- func (_Valset *ValsetCaller) IsActiveValidator(opts *bind.CallOpts, _validatorAddress common.Address) (bool, error)
- func (_Valset *ValsetCaller) Operator(opts *bind.CallOpts) (common.Address, error)
- func (_Valset *ValsetCaller) Powers(opts *bind.CallOpts, arg0 [32]byte) (*big.Int, error)
- func (_Valset *ValsetCaller) Recover(opts *bind.CallOpts, _message [32]byte, _signature []byte) (common.Address, error)
- func (_Valset *ValsetCaller) TotalPower(opts *bind.CallOpts) (*big.Int, error)
- func (_Valset *ValsetCaller) ValidatorCount(opts *bind.CallOpts) (*big.Int, error)
- func (_Valset *ValsetCaller) Validators(opts *bind.CallOpts, arg0 [32]byte) (bool, error)
- type ValsetCallerRaw
- type ValsetCallerSession
- func (_Valset *ValsetCallerSession) CurrentValsetVersion() (*big.Int, error)
- func (_Valset *ValsetCallerSession) DebugEthMessageHash(hash [32]byte) ([32]byte, error)
- func (_Valset *ValsetCallerSession) DebugPacked(hash [32]byte) ([]byte, error)
- func (_Valset *ValsetCallerSession) GetValidatorPower(_validatorAddress common.Address) (*big.Int, error)
- func (_Valset *ValsetCallerSession) IsActiveValidator(_validatorAddress common.Address) (bool, error)
- func (_Valset *ValsetCallerSession) Operator() (common.Address, error)
- func (_Valset *ValsetCallerSession) Powers(arg0 [32]byte) (*big.Int, error)
- func (_Valset *ValsetCallerSession) Recover(_message [32]byte, _signature []byte) (common.Address, error)
- func (_Valset *ValsetCallerSession) TotalPower() (*big.Int, error)
- func (_Valset *ValsetCallerSession) ValidatorCount() (*big.Int, error)
- func (_Valset *ValsetCallerSession) Validators(arg0 [32]byte) (bool, error)
- type ValsetFilterer
- func (_Valset *ValsetFilterer) FilterLogValidatorAdded(opts *bind.FilterOpts) (*ValsetLogValidatorAddedIterator, error)
- func (_Valset *ValsetFilterer) FilterLogValidatorPowerUpdated(opts *bind.FilterOpts) (*ValsetLogValidatorPowerUpdatedIterator, error)
- func (_Valset *ValsetFilterer) FilterLogValidatorRemoved(opts *bind.FilterOpts) (*ValsetLogValidatorRemovedIterator, error)
- func (_Valset *ValsetFilterer) FilterLogValsetReset(opts *bind.FilterOpts) (*ValsetLogValsetResetIterator, error)
- func (_Valset *ValsetFilterer) FilterLogValsetUpdated(opts *bind.FilterOpts) (*ValsetLogValsetUpdatedIterator, error)
- func (_Valset *ValsetFilterer) ParseLogValidatorAdded(log types.Log) (*ValsetLogValidatorAdded, error)
- func (_Valset *ValsetFilterer) ParseLogValidatorPowerUpdated(log types.Log) (*ValsetLogValidatorPowerUpdated, error)
- func (_Valset *ValsetFilterer) ParseLogValidatorRemoved(log types.Log) (*ValsetLogValidatorRemoved, error)
- func (_Valset *ValsetFilterer) ParseLogValsetReset(log types.Log) (*ValsetLogValsetReset, error)
- func (_Valset *ValsetFilterer) ParseLogValsetUpdated(log types.Log) (*ValsetLogValsetUpdated, error)
- func (_Valset *ValsetFilterer) WatchLogValidatorAdded(opts *bind.WatchOpts, sink chan<- *ValsetLogValidatorAdded) (event.Subscription, error)
- func (_Valset *ValsetFilterer) WatchLogValidatorPowerUpdated(opts *bind.WatchOpts, sink chan<- *ValsetLogValidatorPowerUpdated) (event.Subscription, error)
- func (_Valset *ValsetFilterer) WatchLogValidatorRemoved(opts *bind.WatchOpts, sink chan<- *ValsetLogValidatorRemoved) (event.Subscription, error)
- func (_Valset *ValsetFilterer) WatchLogValsetReset(opts *bind.WatchOpts, sink chan<- *ValsetLogValsetReset) (event.Subscription, error)
- func (_Valset *ValsetFilterer) WatchLogValsetUpdated(opts *bind.WatchOpts, sink chan<- *ValsetLogValsetUpdated) (event.Subscription, error)
- type ValsetLogValidatorAdded
- type ValsetLogValidatorAddedIterator
- type ValsetLogValidatorPowerUpdated
- type ValsetLogValidatorPowerUpdatedIterator
- type ValsetLogValidatorRemoved
- type ValsetLogValidatorRemovedIterator
- type ValsetLogValsetReset
- type ValsetLogValsetResetIterator
- type ValsetLogValsetUpdated
- type ValsetLogValsetUpdatedIterator
- type ValsetRaw
- func (_Valset *ValsetRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Valset *ValsetRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Valset *ValsetRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ValsetSession
- func (_Valset *ValsetSession) AddValidator(_validatorAddress common.Address, _validatorPower *big.Int) (*types.Transaction, error)
- func (_Valset *ValsetSession) CurrentValsetVersion() (*big.Int, error)
- func (_Valset *ValsetSession) DebugEthMessageHash(hash [32]byte) ([32]byte, error)
- func (_Valset *ValsetSession) DebugPacked(hash [32]byte) ([]byte, error)
- func (_Valset *ValsetSession) GetValidatorPower(_validatorAddress common.Address) (*big.Int, error)
- func (_Valset *ValsetSession) IsActiveValidator(_validatorAddress common.Address) (bool, error)
- func (_Valset *ValsetSession) Operator() (common.Address, error)
- func (_Valset *ValsetSession) Powers(arg0 [32]byte) (*big.Int, error)
- func (_Valset *ValsetSession) Recover(_message [32]byte, _signature []byte) (common.Address, error)
- func (_Valset *ValsetSession) RecoverGas(_valsetVersion *big.Int, _validatorAddress common.Address) (*types.Transaction, error)
- func (_Valset *ValsetSession) RemoveValidator(_validatorAddress common.Address) (*types.Transaction, error)
- func (_Valset *ValsetSession) TotalPower() (*big.Int, error)
- func (_Valset *ValsetSession) UpdateValidatorPower(_validatorAddress common.Address, _newValidatorPower *big.Int) (*types.Transaction, error)
- func (_Valset *ValsetSession) UpdateValset(_validators []common.Address, _powers []*big.Int) (*types.Transaction, error)
- func (_Valset *ValsetSession) ValidatorCount() (*big.Int, error)
- func (_Valset *ValsetSession) Validators(arg0 [32]byte) (bool, error)
- type ValsetTransactor
- func (_Valset *ValsetTransactor) AddValidator(opts *bind.TransactOpts, _validatorAddress common.Address, ...) (*types.Transaction, error)
- func (_Valset *ValsetTransactor) RecoverGas(opts *bind.TransactOpts, _valsetVersion *big.Int, ...) (*types.Transaction, error)
- func (_Valset *ValsetTransactor) RemoveValidator(opts *bind.TransactOpts, _validatorAddress common.Address) (*types.Transaction, error)
- func (_Valset *ValsetTransactor) UpdateValidatorPower(opts *bind.TransactOpts, _validatorAddress common.Address, ...) (*types.Transaction, error)
- func (_Valset *ValsetTransactor) UpdateValset(opts *bind.TransactOpts, _validators []common.Address, _powers []*big.Int) (*types.Transaction, error)
- type ValsetTransactorRaw
- type ValsetTransactorSession
- func (_Valset *ValsetTransactorSession) AddValidator(_validatorAddress common.Address, _validatorPower *big.Int) (*types.Transaction, error)
- func (_Valset *ValsetTransactorSession) RecoverGas(_valsetVersion *big.Int, _validatorAddress common.Address) (*types.Transaction, error)
- func (_Valset *ValsetTransactorSession) RemoveValidator(_validatorAddress common.Address) (*types.Transaction, error)
- func (_Valset *ValsetTransactorSession) UpdateValidatorPower(_validatorAddress common.Address, _newValidatorPower *big.Int) (*types.Transaction, error)
- func (_Valset *ValsetTransactorSession) UpdateValset(_validators []common.Address, _powers []*big.Int) (*types.Transaction, error)
Constants ¶
const BridgeBankABI = "" /* 8328-byte string literal not displayed */
BridgeBankABI is the input ABI used to generate the binding from.
const BridgeRegistryABI = "" /* 1894-byte string literal not displayed */
BridgeRegistryABI is the input ABI used to generate the binding from.
const BridgeTokenABI = "" /* 5976-byte string literal not displayed */
BridgeTokenABI is the input ABI used to generate the binding from.
const Chain33BankABI = "" /* 3051-byte string literal not displayed */
Chain33BankABI is the input ABI used to generate the binding from.
const Chain33BridgeABI = "" /* 6383-byte string literal not displayed */
Chain33BridgeABI is the input ABI used to generate the binding from.
const ContextABI = "[{\"inputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"}]"
ContextABI is the input ABI used to generate the binding from.
const ECDSAABI = "[]"
ECDSAABI is the input ABI used to generate the binding from.
const ERC20ABI = "" /* 3376-byte string literal not displayed */
ERC20ABI is the input ABI used to generate the binding from.
const ERC20BurnableABI = "" /* 3881-byte string literal not displayed */
ERC20BurnableABI is the input ABI used to generate the binding from.
const ERC20DetailedABI = "" /* 3547-byte string literal not displayed */
ERC20DetailedABI is the input ABI used to generate the binding from.
const ERC20MintableABI = "" /* 4706-byte string literal not displayed */
ERC20MintableABI is the input ABI used to generate the binding from.
const EthereumBankABI = "" /* 1613-byte string literal not displayed */
EthereumBankABI is the input ABI used to generate the binding from.
const IERC20ABI = "" /* 2645-byte string literal not displayed */
IERC20ABI is the input ABI used to generate the binding from.
const MinterRoleABI = "" /* 1079-byte string literal not displayed */
MinterRoleABI is the input ABI used to generate the binding from.
const OracleABI = "" /* 3682-byte string literal not displayed */
OracleABI is the input ABI used to generate the binding from.
const RolesABI = "[]"
RolesABI is the input ABI used to generate the binding from.
const SafeMathABI = "[]"
SafeMathABI is the input ABI used to generate the binding from.
const ValsetABI = "" /* 7167-byte string literal not displayed */
ValsetABI is the input ABI used to generate the binding from.
Variables ¶
var BridgeBankBin = "" /* 31528-byte string literal not displayed */
BridgeBankBin is the compiled bytecode used for deploying new contracts.
var BridgeBankFuncSigs = map[string]string{
"328470ab": "bridgeTokenCount()",
"59bf3a33": "bridgeTokenCreated(bytes32)",
"3f4d5681": "bridgeTokenWhitelist(address)",
"d84af266": "burnBridgeTokens(bytes,address,uint256)",
"eb355352": "chain33Bridge()",
"50b06e4d": "createNewBridgeToken(string)",
"7ac2e3b4": "getChain33DepositStatus(bytes32)",
"70e2a8d9": "getToken2address(string)",
"efea27ab": "hasBridgeTokenCreated(string)",
"9df2a385": "lock(bytes,address,uint256)",
"b5a9096e": "lockNonce()",
"b86247d7": "lockedFunds(address)",
"cdf68c41": "mintBridgeTokens(bytes,address,address,string,uint256)",
"570ca735": "operator()",
"7dc0d1d0": "oracle()",
"85f0bdc7": "token2address(bytes32)",
"2f89c91c": "unlock(address,address,string,uint256)",
"4bdccd26": "viewChain33Deposit(bytes32)",
}
BridgeBankFuncSigs maps the 4-byte function signature to its string representation.
var BridgeRegistryBin = "" /* 1080-byte string literal not displayed */
BridgeRegistryBin is the compiled bytecode used for deploying new contracts.
var BridgeRegistryFuncSigs = map[string]string{
"0e41f373": "bridgeBank()",
"eb355352": "chain33Bridge()",
"53d953b5": "deployHeight()",
"7dc0d1d0": "oracle()",
"7f54af0c": "valset()",
}
BridgeRegistryFuncSigs maps the 4-byte function signature to its string representation.
var BridgeTokenBin = "" /* 10676-byte string literal not displayed */
BridgeTokenBin is the compiled bytecode used for deploying new contracts.
var BridgeTokenFuncSigs = map[string]string{
"983b2d56": "addMinter(address)",
"dd62ed3e": "allowance(address,address)",
"095ea7b3": "approve(address,uint256)",
"70a08231": "balanceOf(address)",
"42966c68": "burn(uint256)",
"79cc6790": "burnFrom(address,uint256)",
"313ce567": "decimals()",
"a457c2d7": "decreaseAllowance(address,uint256)",
"39509351": "increaseAllowance(address,uint256)",
"aa271e1a": "isMinter(address)",
"40c10f19": "mint(address,uint256)",
"06fdde03": "name()",
"98650275": "renounceMinter()",
"95d89b41": "symbol()",
"18160ddd": "totalSupply()",
"a9059cbb": "transfer(address,uint256)",
"23b872dd": "transferFrom(address,address,uint256)",
}
BridgeTokenFuncSigs maps the 4-byte function signature to its string representation.
var Chain33BankBin = "" /* 2308-byte string literal not displayed */
Chain33BankBin is the compiled bytecode used for deploying new contracts.
var Chain33BankFuncSigs = map[string]string{
"328470ab": "bridgeTokenCount()",
"59bf3a33": "bridgeTokenCreated(bytes32)",
"3f4d5681": "bridgeTokenWhitelist(address)",
"70e2a8d9": "getToken2address(string)",
"efea27ab": "hasBridgeTokenCreated(string)",
"85f0bdc7": "token2address(bytes32)",
}
Chain33BankFuncSigs maps the 4-byte function signature to its string representation.
var Chain33BridgeBin = "" /* 12686-byte string literal not displayed */
Chain33BridgeBin is the compiled bytecode used for deploying new contracts.
var Chain33BridgeFuncSigs = map[string]string{
"0e41f373": "bridgeBank()",
"48164a6f": "completeClaim(bytes32)",
"69294a4e": "hasBridgeBank()",
"fb7831f2": "hasOracle()",
"aa760bc2": "isProphecyClaimActive(bytes32)",
"6536be5a": "isProphecyClaimValidatorActive(bytes32)",
"f16e609a": "isValidClaimType(uint8)",
"570ca735": "operator()",
"7dc0d1d0": "oracle()",
"8ea5352d": "prophecyClaimCount()",
"b47010f6": "prophecyClaims(bytes32)",
"814c92c3": "setBridgeBank(address)",
"74c9c3e2": "setNewProphecyClaim(bytes32,uint8,bytes,address,address,address,string,uint256)",
"7adbf973": "setOracle(address)",
"7f54af0c": "valset()",
}
Chain33BridgeFuncSigs maps the 4-byte function signature to its string representation.
var ECDSABin = "" /* 242-byte string literal not displayed */
ECDSABin is the compiled bytecode used for deploying new contracts.
var ERC20Bin = "" /* 4254-byte string literal not displayed */
ERC20Bin is the compiled bytecode used for deploying new contracts.
var ERC20BurnableBin = "" /* 5526-byte string literal not displayed */
ERC20BurnableBin is the compiled bytecode used for deploying new contracts.
var ERC20BurnableFuncSigs = map[string]string{
"dd62ed3e": "allowance(address,address)",
"095ea7b3": "approve(address,uint256)",
"70a08231": "balanceOf(address)",
"42966c68": "burn(uint256)",
"79cc6790": "burnFrom(address,uint256)",
"a457c2d7": "decreaseAllowance(address,uint256)",
"39509351": "increaseAllowance(address,uint256)",
"18160ddd": "totalSupply()",
"a9059cbb": "transfer(address,uint256)",
"23b872dd": "transferFrom(address,address,uint256)",
}
ERC20BurnableFuncSigs maps the 4-byte function signature to its string representation.
var ERC20DetailedFuncSigs = map[string]string{
"dd62ed3e": "allowance(address,address)",
"095ea7b3": "approve(address,uint256)",
"70a08231": "balanceOf(address)",
"313ce567": "decimals()",
"06fdde03": "name()",
"95d89b41": "symbol()",
"18160ddd": "totalSupply()",
"a9059cbb": "transfer(address,uint256)",
"23b872dd": "transferFrom(address,address,uint256)",
}
ERC20DetailedFuncSigs maps the 4-byte function signature to its string representation.
var ERC20FuncSigs = map[string]string{
"dd62ed3e": "allowance(address,address)",
"095ea7b3": "approve(address,uint256)",
"70a08231": "balanceOf(address)",
"a457c2d7": "decreaseAllowance(address,uint256)",
"39509351": "increaseAllowance(address,uint256)",
"18160ddd": "totalSupply()",
"a9059cbb": "transfer(address,uint256)",
"23b872dd": "transferFrom(address,address,uint256)",
}
ERC20FuncSigs maps the 4-byte function signature to its string representation.
var ERC20MintableBin = "" /* 7488-byte string literal not displayed */
ERC20MintableBin is the compiled bytecode used for deploying new contracts.
var ERC20MintableFuncSigs = map[string]string{
"983b2d56": "addMinter(address)",
"dd62ed3e": "allowance(address,address)",
"095ea7b3": "approve(address,uint256)",
"70a08231": "balanceOf(address)",
"a457c2d7": "decreaseAllowance(address,uint256)",
"39509351": "increaseAllowance(address,uint256)",
"aa271e1a": "isMinter(address)",
"40c10f19": "mint(address,uint256)",
"98650275": "renounceMinter()",
"18160ddd": "totalSupply()",
"a9059cbb": "transfer(address,uint256)",
"23b872dd": "transferFrom(address,address,uint256)",
}
ERC20MintableFuncSigs maps the 4-byte function signature to its string representation.
var EthereumBankBin = "" /* 454-byte string literal not displayed */
EthereumBankBin is the compiled bytecode used for deploying new contracts.
var EthereumBankFuncSigs = map[string]string{
"b5a9096e": "lockNonce()",
"b86247d7": "lockedFunds(address)",
}
EthereumBankFuncSigs maps the 4-byte function signature to its string representation.
var IERC20FuncSigs = map[string]string{
"dd62ed3e": "allowance(address,address)",
"095ea7b3": "approve(address,uint256)",
"70a08231": "balanceOf(address)",
"18160ddd": "totalSupply()",
"a9059cbb": "transfer(address,uint256)",
"23b872dd": "transferFrom(address,address,uint256)",
}
IERC20FuncSigs maps the 4-byte function signature to its string representation.
var MinterRoleFuncSigs = map[string]string{
"983b2d56": "addMinter(address)",
"aa271e1a": "isMinter(address)",
"98650275": "renounceMinter()",
}
MinterRoleFuncSigs maps the 4-byte function signature to its string representation.
var OracleBin = "" /* 8882-byte string literal not displayed */
OracleBin is the compiled bytecode used for deploying new contracts.
var OracleFuncSigs = map[string]string{
"eb355352": "chain33Bridge()",
"e83def43": "checkBridgeProphecy(bytes32)",
"dff11660": "hasMadeClaim(bytes32,address)",
"6894dc6f": "newOracleClaim(uint8,bytes,address,address,string,uint256,bytes32,bytes)",
"570ca735": "operator()",
"8350549f": "oracleClaimValidators(bytes32,uint256)",
"7f54af0c": "valset()",
}
OracleFuncSigs maps the 4-byte function signature to its string representation.
var RolesBin = "" /* 242-byte string literal not displayed */
RolesBin is the compiled bytecode used for deploying new contracts.
var SafeMathBin = "" /* 242-byte string literal not displayed */
SafeMathBin is the compiled bytecode used for deploying new contracts.
var ValsetBin = "" /* 11192-byte string literal not displayed */
ValsetBin is the compiled bytecode used for deploying new contracts.
var ValsetFuncSigs = map[string]string{
"fa210896": "Debug_Packed(bytes32)",
"61bb63f3": "Debug_ethMessageHash(bytes32)",
"fc6c1f02": "addValidator(address,uint256)",
"8d56c37d": "currentValsetVersion()",
"473691a4": "getValidatorPower(address)",
"40550a1c": "isActiveValidator(address)",
"570ca735": "operator()",
"b872c523": "powers(bytes32)",
"19045a25": "recover(bytes32,bytes)",
"b5672be3": "recoverGas(uint256,address)",
"40a141ff": "removeValidator(address)",
"db3ad22c": "totalPower()",
"2e75293b": "updateValidatorPower(address,uint256)",
"788cf92f": "updateValset(address[],uint256[])",
"0f43a677": "validatorCount()",
"9bdafcb3": "validators(bytes32)",
}
ValsetFuncSigs maps the 4-byte function signature to its string representation.
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, _chain33BridgeAddress 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() view returns(uint256)
func (*BridgeBankCaller) BridgeTokenCreated ¶
func (_BridgeBank *BridgeBankCaller) BridgeTokenCreated(opts *bind.CallOpts, arg0 [32]byte) (bool, error)
BridgeTokenCreated is a free data retrieval call binding the contract method 0x59bf3a33.
Solidity: function bridgeTokenCreated(bytes32 ) view returns(bool)
func (*BridgeBankCaller) BridgeTokenWhitelist ¶
func (_BridgeBank *BridgeBankCaller) BridgeTokenWhitelist(opts *bind.CallOpts, arg0 common.Address) (bool, error)
BridgeTokenWhitelist is a free data retrieval call binding the contract method 0x3f4d5681.
Solidity: function bridgeTokenWhitelist(address ) view returns(bool)
func (*BridgeBankCaller) Chain33Bridge ¶
Chain33Bridge is a free data retrieval call binding the contract method 0xeb355352.
Solidity: function chain33Bridge() view returns(address)
func (*BridgeBankCaller) GetChain33DepositStatus ¶
func (_BridgeBank *BridgeBankCaller) GetChain33DepositStatus(opts *bind.CallOpts, _id [32]byte) (bool, error)
GetChain33DepositStatus is a free data retrieval call binding the contract method 0x7ac2e3b4.
Solidity: function getChain33DepositStatus(bytes32 _id) view returns(bool)
func (*BridgeBankCaller) GetToken2address ¶
func (_BridgeBank *BridgeBankCaller) GetToken2address(opts *bind.CallOpts, _symbol string) (common.Address, error)
GetToken2address is a free data retrieval call binding the contract method 0x70e2a8d9.
Solidity: function getToken2address(string _symbol) view returns(address)
func (*BridgeBankCaller) HasBridgeTokenCreated ¶
func (_BridgeBank *BridgeBankCaller) HasBridgeTokenCreated(opts *bind.CallOpts, _symbol string) (bool, error)
HasBridgeTokenCreated is a free data retrieval call binding the contract method 0xefea27ab.
Solidity: function hasBridgeTokenCreated(string _symbol) 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) 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) 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) Token2address ¶
func (_BridgeBank *BridgeBankCaller) Token2address(opts *bind.CallOpts, arg0 [32]byte) (common.Address, error)
Token2address is a free data retrieval call binding the contract method 0x85f0bdc7.
Solidity: function token2address(bytes32 ) view returns(address)
func (*BridgeBankCaller) ViewChain33Deposit ¶
func (_BridgeBank *BridgeBankCaller) ViewChain33Deposit(opts *bind.CallOpts, _id [32]byte) ([]byte, common.Address, common.Address, *big.Int, error)
ViewChain33Deposit is a free data retrieval call binding the contract method 0x4bdccd26.
Solidity: function viewChain33Deposit(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) BridgeTokenCreated ¶
func (_BridgeBank *BridgeBankCallerSession) BridgeTokenCreated(arg0 [32]byte) (bool, error)
BridgeTokenCreated is a free data retrieval call binding the contract method 0x59bf3a33.
Solidity: function bridgeTokenCreated(bytes32 ) view returns(bool)
func (*BridgeBankCallerSession) BridgeTokenWhitelist ¶
func (_BridgeBank *BridgeBankCallerSession) BridgeTokenWhitelist(arg0 common.Address) (bool, error)
BridgeTokenWhitelist is a free data retrieval call binding the contract method 0x3f4d5681.
Solidity: function bridgeTokenWhitelist(address ) view returns(bool)
func (*BridgeBankCallerSession) Chain33Bridge ¶
func (_BridgeBank *BridgeBankCallerSession) Chain33Bridge() (common.Address, error)
Chain33Bridge is a free data retrieval call binding the contract method 0xeb355352.
Solidity: function chain33Bridge() view returns(address)
func (*BridgeBankCallerSession) GetChain33DepositStatus ¶
func (_BridgeBank *BridgeBankCallerSession) GetChain33DepositStatus(_id [32]byte) (bool, error)
GetChain33DepositStatus is a free data retrieval call binding the contract method 0x7ac2e3b4.
Solidity: function getChain33DepositStatus(bytes32 _id) view returns(bool)
func (*BridgeBankCallerSession) GetToken2address ¶
func (_BridgeBank *BridgeBankCallerSession) GetToken2address(_symbol string) (common.Address, error)
GetToken2address is a free data retrieval call binding the contract method 0x70e2a8d9.
Solidity: function getToken2address(string _symbol) view returns(address)
func (*BridgeBankCallerSession) HasBridgeTokenCreated ¶
func (_BridgeBank *BridgeBankCallerSession) HasBridgeTokenCreated(_symbol string) (bool, error)
HasBridgeTokenCreated is a free data retrieval call binding the contract method 0xefea27ab.
Solidity: function hasBridgeTokenCreated(string _symbol) 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) LockedFunds ¶
LockedFunds is a free data retrieval call binding the contract method 0xb86247d7.
Solidity: function lockedFunds(address ) view returns(uint256)
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) Token2address ¶
func (_BridgeBank *BridgeBankCallerSession) Token2address(arg0 [32]byte) (common.Address, error)
Token2address is a free data retrieval call binding the contract method 0x85f0bdc7.
Solidity: function token2address(bytes32 ) view returns(address)
func (*BridgeBankCallerSession) ViewChain33Deposit ¶
func (_BridgeBank *BridgeBankCallerSession) ViewChain33Deposit(_id [32]byte) ([]byte, common.Address, common.Address, *big.Int, error)
ViewChain33Deposit is a free data retrieval call binding the contract method 0x4bdccd26.
Solidity: function viewChain33Deposit(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) FilterLogChain33TokenBurn ¶
func (_BridgeBank *BridgeBankFilterer) FilterLogChain33TokenBurn(opts *bind.FilterOpts) (*BridgeBankLogChain33TokenBurnIterator, error)
FilterLogChain33TokenBurn is a free log retrieval operation binding the contract event 0xf7e78bea01efd9af9e755494a4eeba0f075264743fbd104d2742b141927695d2.
Solidity: event LogChain33TokenBurn(address _token, string _symbol, uint256 _amount, address _ownerFrom, bytes _chain33Receiver, 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) 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) ParseLogChain33TokenBurn ¶
func (_BridgeBank *BridgeBankFilterer) ParseLogChain33TokenBurn(log types.Log) (*BridgeBankLogChain33TokenBurn, error)
ParseLogChain33TokenBurn is a log parse operation binding the contract event 0xf7e78bea01efd9af9e755494a4eeba0f075264743fbd104d2742b141927695d2.
Solidity: event LogChain33TokenBurn(address _token, string _symbol, uint256 _amount, address _ownerFrom, bytes _chain33Receiver, 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) 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) WatchLogChain33TokenBurn ¶
func (_BridgeBank *BridgeBankFilterer) WatchLogChain33TokenBurn(opts *bind.WatchOpts, sink chan<- *BridgeBankLogChain33TokenBurn) (event.Subscription, error)
WatchLogChain33TokenBurn is a free log subscription operation binding the contract event 0xf7e78bea01efd9af9e755494a4eeba0f075264743fbd104d2742b141927695d2.
Solidity: event LogChain33TokenBurn(address _token, string _symbol, uint256 _amount, address _ownerFrom, bytes _chain33Receiver, 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 BridgeBankLogChain33TokenBurn ¶
type BridgeBankLogChain33TokenBurn struct { Token common.Address Symbol string Amount *big.Int OwnerFrom common.Address Chain33Receiver []byte Nonce *big.Int Raw types.Log // Blockchain specific contextual infos }
BridgeBankLogChain33TokenBurn represents a LogChain33TokenBurn event raised by the BridgeBank contract.
type BridgeBankLogChain33TokenBurnIterator ¶
type BridgeBankLogChain33TokenBurnIterator struct { Event *BridgeBankLogChain33TokenBurn // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BridgeBankLogChain33TokenBurnIterator is returned from FilterLogChain33TokenBurn and is used to iterate over the raw logs and unpacked data for LogChain33TokenBurn events raised by the BridgeBank contract.
func (*BridgeBankLogChain33TokenBurnIterator) Close ¶
func (it *BridgeBankLogChain33TokenBurnIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BridgeBankLogChain33TokenBurnIterator) Error ¶
func (it *BridgeBankLogChain33TokenBurnIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BridgeBankLogChain33TokenBurnIterator) Next ¶
func (it *BridgeBankLogChain33TokenBurnIterator) 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() view returns(uint256)
func (*BridgeBankSession) BridgeTokenCreated ¶
func (_BridgeBank *BridgeBankSession) BridgeTokenCreated(arg0 [32]byte) (bool, error)
BridgeTokenCreated is a free data retrieval call binding the contract method 0x59bf3a33.
Solidity: function bridgeTokenCreated(bytes32 ) view returns(bool)
func (*BridgeBankSession) BridgeTokenWhitelist ¶
func (_BridgeBank *BridgeBankSession) BridgeTokenWhitelist(arg0 common.Address) (bool, error)
BridgeTokenWhitelist is a free data retrieval call binding the contract method 0x3f4d5681.
Solidity: function bridgeTokenWhitelist(address ) view returns(bool)
func (*BridgeBankSession) BurnBridgeTokens ¶
func (_BridgeBank *BridgeBankSession) BurnBridgeTokens(_chain33Receiver []byte, _chain33TokenAddress common.Address, _amount *big.Int) (*types.Transaction, error)
BurnBridgeTokens is a paid mutator transaction binding the contract method 0xd84af266.
Solidity: function burnBridgeTokens(bytes _chain33Receiver, address _chain33TokenAddress, uint256 _amount) returns()
func (*BridgeBankSession) Chain33Bridge ¶
func (_BridgeBank *BridgeBankSession) Chain33Bridge() (common.Address, error)
Chain33Bridge is a free data retrieval call binding the contract method 0xeb355352.
Solidity: function chain33Bridge() view 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) Fallback ¶ added in v1.65.3
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) GetChain33DepositStatus ¶
func (_BridgeBank *BridgeBankSession) GetChain33DepositStatus(_id [32]byte) (bool, error)
GetChain33DepositStatus is a free data retrieval call binding the contract method 0x7ac2e3b4.
Solidity: function getChain33DepositStatus(bytes32 _id) view returns(bool)
func (*BridgeBankSession) GetToken2address ¶
func (_BridgeBank *BridgeBankSession) GetToken2address(_symbol string) (common.Address, error)
GetToken2address is a free data retrieval call binding the contract method 0x70e2a8d9.
Solidity: function getToken2address(string _symbol) view returns(address)
func (*BridgeBankSession) HasBridgeTokenCreated ¶
func (_BridgeBank *BridgeBankSession) HasBridgeTokenCreated(_symbol string) (bool, error)
HasBridgeTokenCreated is a free data retrieval call binding the contract method 0xefea27ab.
Solidity: function hasBridgeTokenCreated(string _symbol) view returns(bool)
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) 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) LockedFunds ¶
LockedFunds is a free data retrieval call binding the contract method 0xb86247d7.
Solidity: function lockedFunds(address ) view returns(uint256)
func (*BridgeBankSession) MintBridgeTokens ¶
func (_BridgeBank *BridgeBankSession) MintBridgeTokens(_chain33Sender []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 _chain33Sender, 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) Token2address ¶
func (_BridgeBank *BridgeBankSession) Token2address(arg0 [32]byte) (common.Address, error)
Token2address is a free data retrieval call binding the contract method 0x85f0bdc7.
Solidity: function token2address(bytes32 ) view returns(address)
func (*BridgeBankSession) Unlock ¶
func (_BridgeBank *BridgeBankSession) Unlock(_recipient common.Address, _token common.Address, _symbol string, _amount *big.Int) (*types.Transaction, error)
Unlock is a paid mutator transaction binding the contract method 0x2f89c91c.
Solidity: function unlock(address _recipient, address _token, string _symbol, uint256 _amount) returns()
func (*BridgeBankSession) ViewChain33Deposit ¶
func (_BridgeBank *BridgeBankSession) ViewChain33Deposit(_id [32]byte) ([]byte, common.Address, common.Address, *big.Int, error)
ViewChain33Deposit is a free data retrieval call binding the contract method 0x4bdccd26.
Solidity: function viewChain33Deposit(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) BurnBridgeTokens ¶
func (_BridgeBank *BridgeBankTransactor) BurnBridgeTokens(opts *bind.TransactOpts, _chain33Receiver []byte, _chain33TokenAddress common.Address, _amount *big.Int) (*types.Transaction, error)
BurnBridgeTokens is a paid mutator transaction binding the contract method 0xd84af266.
Solidity: function burnBridgeTokens(bytes _chain33Receiver, address _chain33TokenAddress, 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) Fallback ¶ added in v1.65.3
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) 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, _chain33Sender []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 _chain33Sender, address _intendedRecipient, address _bridgeTokenAddress, string _symbol, uint256 _amount) returns()
func (*BridgeBankTransactor) Unlock ¶
func (_BridgeBank *BridgeBankTransactor) Unlock(opts *bind.TransactOpts, _recipient common.Address, _token common.Address, _symbol string, _amount *big.Int) (*types.Transaction, error)
Unlock is a paid mutator transaction binding the contract method 0x2f89c91c.
Solidity: function unlock(address _recipient, address _token, 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) BurnBridgeTokens ¶
func (_BridgeBank *BridgeBankTransactorSession) BurnBridgeTokens(_chain33Receiver []byte, _chain33TokenAddress common.Address, _amount *big.Int) (*types.Transaction, error)
BurnBridgeTokens is a paid mutator transaction binding the contract method 0xd84af266.
Solidity: function burnBridgeTokens(bytes _chain33Receiver, address _chain33TokenAddress, 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) Fallback ¶ added in v1.65.3
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) 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(_chain33Sender []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 _chain33Sender, address _intendedRecipient, address _bridgeTokenAddress, string _symbol, uint256 _amount) returns()
func (*BridgeBankTransactorSession) Unlock ¶
func (_BridgeBank *BridgeBankTransactorSession) Unlock(_recipient common.Address, _token common.Address, _symbol string, _amount *big.Int) (*types.Transaction, error)
Unlock is a paid mutator transaction binding the contract method 0x2f89c91c.
Solidity: function unlock(address _recipient, address _token, string _symbol, uint256 _amount) returns()
type BridgeRegistry ¶
type BridgeRegistry struct { BridgeRegistryCaller // Read-only binding to the contract BridgeRegistryTransactor // Write-only binding to the contract BridgeRegistryFilterer // Log filterer for contract events }
BridgeRegistry is an auto generated Go binding around an Ethereum contract.
func DeployBridgeRegistry ¶
func DeployBridgeRegistry(auth *bind.TransactOpts, backend bind.ContractBackend, _chain33Bridge common.Address, _bridgeBank common.Address, _oracle common.Address, _valset common.Address) (common.Address, *types.Transaction, *BridgeRegistry, error)
DeployBridgeRegistry deploys a new Ethereum contract, binding an instance of BridgeRegistry to it.
func NewBridgeRegistry ¶
func NewBridgeRegistry(address common.Address, backend bind.ContractBackend) (*BridgeRegistry, error)
NewBridgeRegistry creates a new instance of BridgeRegistry, bound to a specific deployed contract.
type BridgeRegistryCaller ¶
type BridgeRegistryCaller struct {
// contains filtered or unexported fields
}
BridgeRegistryCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewBridgeRegistryCaller ¶
func NewBridgeRegistryCaller(address common.Address, caller bind.ContractCaller) (*BridgeRegistryCaller, error)
NewBridgeRegistryCaller creates a new read-only instance of BridgeRegistry, bound to a specific deployed contract.
func (*BridgeRegistryCaller) BridgeBank ¶
func (_BridgeRegistry *BridgeRegistryCaller) BridgeBank(opts *bind.CallOpts) (common.Address, error)
BridgeBank is a free data retrieval call binding the contract method 0x0e41f373.
Solidity: function bridgeBank() view returns(address)
func (*BridgeRegistryCaller) Chain33Bridge ¶
func (_BridgeRegistry *BridgeRegistryCaller) Chain33Bridge(opts *bind.CallOpts) (common.Address, error)
Chain33Bridge is a free data retrieval call binding the contract method 0xeb355352.
Solidity: function chain33Bridge() view returns(address)
func (*BridgeRegistryCaller) DeployHeight ¶
DeployHeight is a free data retrieval call binding the contract method 0x53d953b5.
Solidity: function deployHeight() view returns(uint256)
type BridgeRegistryCallerRaw ¶
type BridgeRegistryCallerRaw struct {
Contract *BridgeRegistryCaller // Generic read-only contract binding to access the raw methods on
}
BridgeRegistryCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*BridgeRegistryCallerRaw) Call ¶
func (_BridgeRegistry *BridgeRegistryCallerRaw) 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 BridgeRegistryCallerSession ¶
type BridgeRegistryCallerSession struct { Contract *BridgeRegistryCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
BridgeRegistryCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*BridgeRegistryCallerSession) BridgeBank ¶
func (_BridgeRegistry *BridgeRegistryCallerSession) BridgeBank() (common.Address, error)
BridgeBank is a free data retrieval call binding the contract method 0x0e41f373.
Solidity: function bridgeBank() view returns(address)
func (*BridgeRegistryCallerSession) Chain33Bridge ¶
func (_BridgeRegistry *BridgeRegistryCallerSession) Chain33Bridge() (common.Address, error)
Chain33Bridge is a free data retrieval call binding the contract method 0xeb355352.
Solidity: function chain33Bridge() view returns(address)
func (*BridgeRegistryCallerSession) DeployHeight ¶
func (_BridgeRegistry *BridgeRegistryCallerSession) DeployHeight() (*big.Int, error)
DeployHeight is a free data retrieval call binding the contract method 0x53d953b5.
Solidity: function deployHeight() view returns(uint256)
type BridgeRegistryFilterer ¶
type BridgeRegistryFilterer struct {
// contains filtered or unexported fields
}
BridgeRegistryFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewBridgeRegistryFilterer ¶
func NewBridgeRegistryFilterer(address common.Address, filterer bind.ContractFilterer) (*BridgeRegistryFilterer, error)
NewBridgeRegistryFilterer creates a new log filterer instance of BridgeRegistry, bound to a specific deployed contract.
func (*BridgeRegistryFilterer) FilterLogContractsRegistered ¶
func (_BridgeRegistry *BridgeRegistryFilterer) FilterLogContractsRegistered(opts *bind.FilterOpts) (*BridgeRegistryLogContractsRegisteredIterator, error)
FilterLogContractsRegistered is a free log retrieval operation binding the contract event 0x039b733f31259b106f1d278c726870d5b28c7db22957d63df8dbaa70bd3a032a.
Solidity: event LogContractsRegistered(address _chain33Bridge, address _bridgeBank, address _oracle, address _valset)
func (*BridgeRegistryFilterer) ParseLogContractsRegistered ¶
func (_BridgeRegistry *BridgeRegistryFilterer) ParseLogContractsRegistered(log types.Log) (*BridgeRegistryLogContractsRegistered, error)
ParseLogContractsRegistered is a log parse operation binding the contract event 0x039b733f31259b106f1d278c726870d5b28c7db22957d63df8dbaa70bd3a032a.
Solidity: event LogContractsRegistered(address _chain33Bridge, address _bridgeBank, address _oracle, address _valset)
func (*BridgeRegistryFilterer) WatchLogContractsRegistered ¶
func (_BridgeRegistry *BridgeRegistryFilterer) WatchLogContractsRegistered(opts *bind.WatchOpts, sink chan<- *BridgeRegistryLogContractsRegistered) (event.Subscription, error)
WatchLogContractsRegistered is a free log subscription operation binding the contract event 0x039b733f31259b106f1d278c726870d5b28c7db22957d63df8dbaa70bd3a032a.
Solidity: event LogContractsRegistered(address _chain33Bridge, address _bridgeBank, address _oracle, address _valset)
type BridgeRegistryLogContractsRegistered ¶
type BridgeRegistryLogContractsRegistered struct { Chain33Bridge common.Address BridgeBank common.Address Oracle common.Address Valset common.Address Raw types.Log // Blockchain specific contextual infos }
BridgeRegistryLogContractsRegistered represents a LogContractsRegistered event raised by the BridgeRegistry contract.
type BridgeRegistryLogContractsRegisteredIterator ¶
type BridgeRegistryLogContractsRegisteredIterator struct { Event *BridgeRegistryLogContractsRegistered // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BridgeRegistryLogContractsRegisteredIterator is returned from FilterLogContractsRegistered and is used to iterate over the raw logs and unpacked data for LogContractsRegistered events raised by the BridgeRegistry contract.
func (*BridgeRegistryLogContractsRegisteredIterator) Close ¶
func (it *BridgeRegistryLogContractsRegisteredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BridgeRegistryLogContractsRegisteredIterator) Error ¶
func (it *BridgeRegistryLogContractsRegisteredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BridgeRegistryLogContractsRegisteredIterator) Next ¶
func (it *BridgeRegistryLogContractsRegisteredIterator) 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 BridgeRegistryRaw ¶
type BridgeRegistryRaw struct {
Contract *BridgeRegistry // Generic contract binding to access the raw methods on
}
BridgeRegistryRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*BridgeRegistryRaw) Call ¶
func (_BridgeRegistry *BridgeRegistryRaw) 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 (*BridgeRegistryRaw) Transact ¶
func (_BridgeRegistry *BridgeRegistryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BridgeRegistryRaw) Transfer ¶
func (_BridgeRegistry *BridgeRegistryRaw) 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 BridgeRegistrySession ¶
type BridgeRegistrySession struct { Contract *BridgeRegistry // 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 }
BridgeRegistrySession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*BridgeRegistrySession) BridgeBank ¶
func (_BridgeRegistry *BridgeRegistrySession) BridgeBank() (common.Address, error)
BridgeBank is a free data retrieval call binding the contract method 0x0e41f373.
Solidity: function bridgeBank() view returns(address)
func (*BridgeRegistrySession) Chain33Bridge ¶
func (_BridgeRegistry *BridgeRegistrySession) Chain33Bridge() (common.Address, error)
Chain33Bridge is a free data retrieval call binding the contract method 0xeb355352.
Solidity: function chain33Bridge() view returns(address)
func (*BridgeRegistrySession) DeployHeight ¶
func (_BridgeRegistry *BridgeRegistrySession) DeployHeight() (*big.Int, error)
DeployHeight is a free data retrieval call binding the contract method 0x53d953b5.
Solidity: function deployHeight() view returns(uint256)
type BridgeRegistryTransactor ¶
type BridgeRegistryTransactor struct {
// contains filtered or unexported fields
}
BridgeRegistryTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewBridgeRegistryTransactor ¶
func NewBridgeRegistryTransactor(address common.Address, transactor bind.ContractTransactor) (*BridgeRegistryTransactor, error)
NewBridgeRegistryTransactor creates a new write-only instance of BridgeRegistry, bound to a specific deployed contract.
type BridgeRegistryTransactorRaw ¶
type BridgeRegistryTransactorRaw struct {
Contract *BridgeRegistryTransactor // Generic write-only contract binding to access the raw methods on
}
BridgeRegistryTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*BridgeRegistryTransactorRaw) Transact ¶
func (_BridgeRegistry *BridgeRegistryTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BridgeRegistryTransactorRaw) Transfer ¶
func (_BridgeRegistry *BridgeRegistryTransactorRaw) 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 BridgeRegistryTransactorSession ¶
type BridgeRegistryTransactorSession struct { Contract *BridgeRegistryTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
BridgeRegistryTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type BridgeToken ¶
type BridgeToken struct { BridgeTokenCaller // Read-only binding to the contract BridgeTokenTransactor // Write-only binding to the contract BridgeTokenFilterer // Log filterer for contract events }
BridgeToken is an auto generated Go binding around an Ethereum contract.
func DeployBridgeToken ¶
func DeployBridgeToken(auth *bind.TransactOpts, backend bind.ContractBackend, _symbol string) (common.Address, *types.Transaction, *BridgeToken, error)
DeployBridgeToken deploys a new Ethereum contract, binding an instance of BridgeToken to it.
func NewBridgeToken ¶
func NewBridgeToken(address common.Address, backend bind.ContractBackend) (*BridgeToken, error)
NewBridgeToken creates a new instance of BridgeToken, bound to a specific deployed contract.
type BridgeTokenApproval ¶
type BridgeTokenApproval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
BridgeTokenApproval represents a Approval event raised by the BridgeToken contract.
type BridgeTokenApprovalIterator ¶
type BridgeTokenApprovalIterator struct { Event *BridgeTokenApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BridgeTokenApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the BridgeToken contract.
func (*BridgeTokenApprovalIterator) Close ¶
func (it *BridgeTokenApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BridgeTokenApprovalIterator) Error ¶
func (it *BridgeTokenApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BridgeTokenApprovalIterator) Next ¶
func (it *BridgeTokenApprovalIterator) 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 BridgeTokenCaller ¶
type BridgeTokenCaller struct {
// contains filtered or unexported fields
}
BridgeTokenCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewBridgeTokenCaller ¶
func NewBridgeTokenCaller(address common.Address, caller bind.ContractCaller) (*BridgeTokenCaller, error)
NewBridgeTokenCaller creates a new read-only instance of BridgeToken, bound to a specific deployed contract.
func (*BridgeTokenCaller) Allowance ¶
func (_BridgeToken *BridgeTokenCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address owner, address spender) view returns(uint256)
func (*BridgeTokenCaller) BalanceOf ¶
func (_BridgeToken *BridgeTokenCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*BridgeTokenCaller) Decimals ¶
func (_BridgeToken *BridgeTokenCaller) Decimals(opts *bind.CallOpts) (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*BridgeTokenCaller) IsMinter ¶
func (_BridgeToken *BridgeTokenCaller) IsMinter(opts *bind.CallOpts, account common.Address) (bool, error)
IsMinter is a free data retrieval call binding the contract method 0xaa271e1a.
Solidity: function isMinter(address account) view returns(bool)
func (*BridgeTokenCaller) Name ¶
func (_BridgeToken *BridgeTokenCaller) Name(opts *bind.CallOpts) (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*BridgeTokenCaller) Symbol ¶
func (_BridgeToken *BridgeTokenCaller) Symbol(opts *bind.CallOpts) (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*BridgeTokenCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type BridgeTokenCallerRaw ¶
type BridgeTokenCallerRaw struct {
Contract *BridgeTokenCaller // Generic read-only contract binding to access the raw methods on
}
BridgeTokenCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*BridgeTokenCallerRaw) Call ¶
func (_BridgeToken *BridgeTokenCallerRaw) 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 BridgeTokenCallerSession ¶
type BridgeTokenCallerSession struct { Contract *BridgeTokenCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
BridgeTokenCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*BridgeTokenCallerSession) Allowance ¶
func (_BridgeToken *BridgeTokenCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address owner, address spender) view returns(uint256)
func (*BridgeTokenCallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*BridgeTokenCallerSession) Decimals ¶
func (_BridgeToken *BridgeTokenCallerSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*BridgeTokenCallerSession) IsMinter ¶
func (_BridgeToken *BridgeTokenCallerSession) IsMinter(account common.Address) (bool, error)
IsMinter is a free data retrieval call binding the contract method 0xaa271e1a.
Solidity: function isMinter(address account) view returns(bool)
func (*BridgeTokenCallerSession) Name ¶
func (_BridgeToken *BridgeTokenCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*BridgeTokenCallerSession) Symbol ¶
func (_BridgeToken *BridgeTokenCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*BridgeTokenCallerSession) TotalSupply ¶
func (_BridgeToken *BridgeTokenCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type BridgeTokenFilterer ¶
type BridgeTokenFilterer struct {
// contains filtered or unexported fields
}
BridgeTokenFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewBridgeTokenFilterer ¶
func NewBridgeTokenFilterer(address common.Address, filterer bind.ContractFilterer) (*BridgeTokenFilterer, error)
NewBridgeTokenFilterer creates a new log filterer instance of BridgeToken, bound to a specific deployed contract.
func (*BridgeTokenFilterer) FilterApproval ¶
func (_BridgeToken *BridgeTokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*BridgeTokenApprovalIterator, error)
FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*BridgeTokenFilterer) FilterMinterAdded ¶
func (_BridgeToken *BridgeTokenFilterer) FilterMinterAdded(opts *bind.FilterOpts, account []common.Address) (*BridgeTokenMinterAddedIterator, error)
FilterMinterAdded is a free log retrieval operation binding the contract event 0x6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f6.
Solidity: event MinterAdded(address indexed account)
func (*BridgeTokenFilterer) FilterMinterRemoved ¶
func (_BridgeToken *BridgeTokenFilterer) FilterMinterRemoved(opts *bind.FilterOpts, account []common.Address) (*BridgeTokenMinterRemovedIterator, error)
FilterMinterRemoved is a free log retrieval operation binding the contract event 0xe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb66692.
Solidity: event MinterRemoved(address indexed account)
func (*BridgeTokenFilterer) FilterTransfer ¶
func (_BridgeToken *BridgeTokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*BridgeTokenTransferIterator, error)
FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*BridgeTokenFilterer) ParseApproval ¶
func (_BridgeToken *BridgeTokenFilterer) ParseApproval(log types.Log) (*BridgeTokenApproval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*BridgeTokenFilterer) ParseMinterAdded ¶
func (_BridgeToken *BridgeTokenFilterer) ParseMinterAdded(log types.Log) (*BridgeTokenMinterAdded, error)
ParseMinterAdded is a log parse operation binding the contract event 0x6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f6.
Solidity: event MinterAdded(address indexed account)
func (*BridgeTokenFilterer) ParseMinterRemoved ¶
func (_BridgeToken *BridgeTokenFilterer) ParseMinterRemoved(log types.Log) (*BridgeTokenMinterRemoved, error)
ParseMinterRemoved is a log parse operation binding the contract event 0xe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb66692.
Solidity: event MinterRemoved(address indexed account)
func (*BridgeTokenFilterer) ParseTransfer ¶
func (_BridgeToken *BridgeTokenFilterer) ParseTransfer(log types.Log) (*BridgeTokenTransfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*BridgeTokenFilterer) WatchApproval ¶
func (_BridgeToken *BridgeTokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *BridgeTokenApproval, owner []common.Address, spender []common.Address) (event.Subscription, error)
WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*BridgeTokenFilterer) WatchMinterAdded ¶
func (_BridgeToken *BridgeTokenFilterer) WatchMinterAdded(opts *bind.WatchOpts, sink chan<- *BridgeTokenMinterAdded, account []common.Address) (event.Subscription, error)
WatchMinterAdded is a free log subscription operation binding the contract event 0x6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f6.
Solidity: event MinterAdded(address indexed account)
func (*BridgeTokenFilterer) WatchMinterRemoved ¶
func (_BridgeToken *BridgeTokenFilterer) WatchMinterRemoved(opts *bind.WatchOpts, sink chan<- *BridgeTokenMinterRemoved, account []common.Address) (event.Subscription, error)
WatchMinterRemoved is a free log subscription operation binding the contract event 0xe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb66692.
Solidity: event MinterRemoved(address indexed account)
func (*BridgeTokenFilterer) WatchTransfer ¶
func (_BridgeToken *BridgeTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *BridgeTokenTransfer, from []common.Address, to []common.Address) (event.Subscription, error)
WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
type BridgeTokenMinterAdded ¶
type BridgeTokenMinterAdded struct { Account common.Address Raw types.Log // Blockchain specific contextual infos }
BridgeTokenMinterAdded represents a MinterAdded event raised by the BridgeToken contract.
type BridgeTokenMinterAddedIterator ¶
type BridgeTokenMinterAddedIterator struct { Event *BridgeTokenMinterAdded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BridgeTokenMinterAddedIterator is returned from FilterMinterAdded and is used to iterate over the raw logs and unpacked data for MinterAdded events raised by the BridgeToken contract.
func (*BridgeTokenMinterAddedIterator) Close ¶
func (it *BridgeTokenMinterAddedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BridgeTokenMinterAddedIterator) Error ¶
func (it *BridgeTokenMinterAddedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BridgeTokenMinterAddedIterator) Next ¶
func (it *BridgeTokenMinterAddedIterator) 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 BridgeTokenMinterRemoved ¶
type BridgeTokenMinterRemoved struct { Account common.Address Raw types.Log // Blockchain specific contextual infos }
BridgeTokenMinterRemoved represents a MinterRemoved event raised by the BridgeToken contract.
type BridgeTokenMinterRemovedIterator ¶
type BridgeTokenMinterRemovedIterator struct { Event *BridgeTokenMinterRemoved // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BridgeTokenMinterRemovedIterator is returned from FilterMinterRemoved and is used to iterate over the raw logs and unpacked data for MinterRemoved events raised by the BridgeToken contract.
func (*BridgeTokenMinterRemovedIterator) Close ¶
func (it *BridgeTokenMinterRemovedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BridgeTokenMinterRemovedIterator) Error ¶
func (it *BridgeTokenMinterRemovedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BridgeTokenMinterRemovedIterator) Next ¶
func (it *BridgeTokenMinterRemovedIterator) 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 BridgeTokenRaw ¶
type BridgeTokenRaw struct {
Contract *BridgeToken // Generic contract binding to access the raw methods on
}
BridgeTokenRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*BridgeTokenRaw) Call ¶
func (_BridgeToken *BridgeTokenRaw) 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 (*BridgeTokenRaw) Transact ¶
func (_BridgeToken *BridgeTokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BridgeTokenRaw) Transfer ¶
func (_BridgeToken *BridgeTokenRaw) 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 BridgeTokenSession ¶
type BridgeTokenSession struct { Contract *BridgeToken // 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 }
BridgeTokenSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*BridgeTokenSession) AddMinter ¶
func (_BridgeToken *BridgeTokenSession) AddMinter(account common.Address) (*types.Transaction, error)
AddMinter is a paid mutator transaction binding the contract method 0x983b2d56.
Solidity: function addMinter(address account) returns()
func (*BridgeTokenSession) Allowance ¶
func (_BridgeToken *BridgeTokenSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address owner, address spender) view returns(uint256)
func (*BridgeTokenSession) Approve ¶
func (_BridgeToken *BridgeTokenSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 amount) returns(bool)
func (*BridgeTokenSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*BridgeTokenSession) Burn ¶
func (_BridgeToken *BridgeTokenSession) Burn(amount *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x42966c68.
Solidity: function burn(uint256 amount) returns()
func (*BridgeTokenSession) BurnFrom ¶
func (_BridgeToken *BridgeTokenSession) BurnFrom(account common.Address, amount *big.Int) (*types.Transaction, error)
BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.
Solidity: function burnFrom(address account, uint256 amount) returns()
func (*BridgeTokenSession) Decimals ¶
func (_BridgeToken *BridgeTokenSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*BridgeTokenSession) DecreaseAllowance ¶
func (_BridgeToken *BridgeTokenSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.
Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)
func (*BridgeTokenSession) IncreaseAllowance ¶
func (_BridgeToken *BridgeTokenSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.
Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)
func (*BridgeTokenSession) IsMinter ¶
func (_BridgeToken *BridgeTokenSession) IsMinter(account common.Address) (bool, error)
IsMinter is a free data retrieval call binding the contract method 0xaa271e1a.
Solidity: function isMinter(address account) view returns(bool)
func (*BridgeTokenSession) Mint ¶
func (_BridgeToken *BridgeTokenSession) Mint(account common.Address, amount *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address account, uint256 amount) returns(bool)
func (*BridgeTokenSession) Name ¶
func (_BridgeToken *BridgeTokenSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*BridgeTokenSession) RenounceMinter ¶
func (_BridgeToken *BridgeTokenSession) RenounceMinter() (*types.Transaction, error)
RenounceMinter is a paid mutator transaction binding the contract method 0x98650275.
Solidity: function renounceMinter() returns()
func (*BridgeTokenSession) Symbol ¶
func (_BridgeToken *BridgeTokenSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*BridgeTokenSession) TotalSupply ¶
func (_BridgeToken *BridgeTokenSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*BridgeTokenSession) Transfer ¶
func (_BridgeToken *BridgeTokenSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address recipient, uint256 amount) returns(bool)
func (*BridgeTokenSession) TransferFrom ¶
func (_BridgeToken *BridgeTokenSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)
type BridgeTokenTransactor ¶
type BridgeTokenTransactor struct {
// contains filtered or unexported fields
}
BridgeTokenTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewBridgeTokenTransactor ¶
func NewBridgeTokenTransactor(address common.Address, transactor bind.ContractTransactor) (*BridgeTokenTransactor, error)
NewBridgeTokenTransactor creates a new write-only instance of BridgeToken, bound to a specific deployed contract.
func (*BridgeTokenTransactor) AddMinter ¶
func (_BridgeToken *BridgeTokenTransactor) AddMinter(opts *bind.TransactOpts, account common.Address) (*types.Transaction, error)
AddMinter is a paid mutator transaction binding the contract method 0x983b2d56.
Solidity: function addMinter(address account) returns()
func (*BridgeTokenTransactor) Approve ¶
func (_BridgeToken *BridgeTokenTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 amount) returns(bool)
func (*BridgeTokenTransactor) Burn ¶
func (_BridgeToken *BridgeTokenTransactor) Burn(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x42966c68.
Solidity: function burn(uint256 amount) returns()
func (*BridgeTokenTransactor) BurnFrom ¶
func (_BridgeToken *BridgeTokenTransactor) BurnFrom(opts *bind.TransactOpts, account common.Address, amount *big.Int) (*types.Transaction, error)
BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.
Solidity: function burnFrom(address account, uint256 amount) returns()
func (*BridgeTokenTransactor) DecreaseAllowance ¶
func (_BridgeToken *BridgeTokenTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.
Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)
func (*BridgeTokenTransactor) IncreaseAllowance ¶
func (_BridgeToken *BridgeTokenTransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)
IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.
Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)
func (*BridgeTokenTransactor) Mint ¶
func (_BridgeToken *BridgeTokenTransactor) Mint(opts *bind.TransactOpts, account common.Address, amount *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address account, uint256 amount) returns(bool)
func (*BridgeTokenTransactor) RenounceMinter ¶
func (_BridgeToken *BridgeTokenTransactor) RenounceMinter(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceMinter is a paid mutator transaction binding the contract method 0x98650275.
Solidity: function renounceMinter() returns()
func (*BridgeTokenTransactor) Transfer ¶
func (_BridgeToken *BridgeTokenTransactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address recipient, uint256 amount) returns(bool)
func (*BridgeTokenTransactor) TransferFrom ¶
func (_BridgeToken *BridgeTokenTransactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)
type BridgeTokenTransactorRaw ¶
type BridgeTokenTransactorRaw struct {
Contract *BridgeTokenTransactor // Generic write-only contract binding to access the raw methods on
}
BridgeTokenTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*BridgeTokenTransactorRaw) Transact ¶
func (_BridgeToken *BridgeTokenTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BridgeTokenTransactorRaw) Transfer ¶
func (_BridgeToken *BridgeTokenTransactorRaw) 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 BridgeTokenTransactorSession ¶
type BridgeTokenTransactorSession struct { Contract *BridgeTokenTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
BridgeTokenTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*BridgeTokenTransactorSession) AddMinter ¶
func (_BridgeToken *BridgeTokenTransactorSession) AddMinter(account common.Address) (*types.Transaction, error)
AddMinter is a paid mutator transaction binding the contract method 0x983b2d56.
Solidity: function addMinter(address account) returns()
func (*BridgeTokenTransactorSession) Approve ¶
func (_BridgeToken *BridgeTokenTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 amount) returns(bool)
func (*BridgeTokenTransactorSession) Burn ¶
func (_BridgeToken *BridgeTokenTransactorSession) Burn(amount *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x42966c68.
Solidity: function burn(uint256 amount) returns()
func (*BridgeTokenTransactorSession) BurnFrom ¶
func (_BridgeToken *BridgeTokenTransactorSession) BurnFrom(account common.Address, amount *big.Int) (*types.Transaction, error)
BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.
Solidity: function burnFrom(address account, uint256 amount) returns()
func (*BridgeTokenTransactorSession) DecreaseAllowance ¶
func (_BridgeToken *BridgeTokenTransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.
Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)
func (*BridgeTokenTransactorSession) IncreaseAllowance ¶
func (_BridgeToken *BridgeTokenTransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.
Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)
func (*BridgeTokenTransactorSession) Mint ¶
func (_BridgeToken *BridgeTokenTransactorSession) Mint(account common.Address, amount *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address account, uint256 amount) returns(bool)
func (*BridgeTokenTransactorSession) RenounceMinter ¶
func (_BridgeToken *BridgeTokenTransactorSession) RenounceMinter() (*types.Transaction, error)
RenounceMinter is a paid mutator transaction binding the contract method 0x98650275.
Solidity: function renounceMinter() returns()
func (*BridgeTokenTransactorSession) Transfer ¶
func (_BridgeToken *BridgeTokenTransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address recipient, uint256 amount) returns(bool)
func (*BridgeTokenTransactorSession) TransferFrom ¶
func (_BridgeToken *BridgeTokenTransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)
type BridgeTokenTransfer ¶
type BridgeTokenTransfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
BridgeTokenTransfer represents a Transfer event raised by the BridgeToken contract.
type BridgeTokenTransferIterator ¶
type BridgeTokenTransferIterator struct { Event *BridgeTokenTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BridgeTokenTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the BridgeToken contract.
func (*BridgeTokenTransferIterator) Close ¶
func (it *BridgeTokenTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BridgeTokenTransferIterator) Error ¶
func (it *BridgeTokenTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BridgeTokenTransferIterator) Next ¶
func (it *BridgeTokenTransferIterator) 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 Chain33Bank ¶
type Chain33Bank struct { Chain33BankCaller // Read-only binding to the contract Chain33BankTransactor // Write-only binding to the contract Chain33BankFilterer // Log filterer for contract events }
Chain33Bank is an auto generated Go binding around an Ethereum contract.
func DeployChain33Bank ¶
func DeployChain33Bank(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Chain33Bank, error)
DeployChain33Bank deploys a new Ethereum contract, binding an instance of Chain33Bank to it.
func NewChain33Bank ¶
func NewChain33Bank(address common.Address, backend bind.ContractBackend) (*Chain33Bank, error)
NewChain33Bank creates a new instance of Chain33Bank, bound to a specific deployed contract.
type Chain33BankCaller ¶
type Chain33BankCaller struct {
// contains filtered or unexported fields
}
Chain33BankCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewChain33BankCaller ¶
func NewChain33BankCaller(address common.Address, caller bind.ContractCaller) (*Chain33BankCaller, error)
NewChain33BankCaller creates a new read-only instance of Chain33Bank, bound to a specific deployed contract.
func (*Chain33BankCaller) BridgeTokenCount ¶
BridgeTokenCount is a free data retrieval call binding the contract method 0x328470ab.
Solidity: function bridgeTokenCount() view returns(uint256)
func (*Chain33BankCaller) BridgeTokenCreated ¶
func (_Chain33Bank *Chain33BankCaller) BridgeTokenCreated(opts *bind.CallOpts, arg0 [32]byte) (bool, error)
BridgeTokenCreated is a free data retrieval call binding the contract method 0x59bf3a33.
Solidity: function bridgeTokenCreated(bytes32 ) view returns(bool)
func (*Chain33BankCaller) BridgeTokenWhitelist ¶
func (_Chain33Bank *Chain33BankCaller) BridgeTokenWhitelist(opts *bind.CallOpts, arg0 common.Address) (bool, error)
BridgeTokenWhitelist is a free data retrieval call binding the contract method 0x3f4d5681.
Solidity: function bridgeTokenWhitelist(address ) view returns(bool)
func (*Chain33BankCaller) GetToken2address ¶
func (_Chain33Bank *Chain33BankCaller) GetToken2address(opts *bind.CallOpts, _symbol string) (common.Address, error)
GetToken2address is a free data retrieval call binding the contract method 0x70e2a8d9.
Solidity: function getToken2address(string _symbol) view returns(address)
func (*Chain33BankCaller) HasBridgeTokenCreated ¶
func (_Chain33Bank *Chain33BankCaller) HasBridgeTokenCreated(opts *bind.CallOpts, _symbol string) (bool, error)
HasBridgeTokenCreated is a free data retrieval call binding the contract method 0xefea27ab.
Solidity: function hasBridgeTokenCreated(string _symbol) view returns(bool)
func (*Chain33BankCaller) Token2address ¶
func (_Chain33Bank *Chain33BankCaller) Token2address(opts *bind.CallOpts, arg0 [32]byte) (common.Address, error)
Token2address is a free data retrieval call binding the contract method 0x85f0bdc7.
Solidity: function token2address(bytes32 ) view returns(address)
type Chain33BankCallerRaw ¶
type Chain33BankCallerRaw struct {
Contract *Chain33BankCaller // Generic read-only contract binding to access the raw methods on
}
Chain33BankCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*Chain33BankCallerRaw) Call ¶
func (_Chain33Bank *Chain33BankCallerRaw) 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 Chain33BankCallerSession ¶
type Chain33BankCallerSession struct { Contract *Chain33BankCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
Chain33BankCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*Chain33BankCallerSession) BridgeTokenCount ¶
func (_Chain33Bank *Chain33BankCallerSession) BridgeTokenCount() (*big.Int, error)
BridgeTokenCount is a free data retrieval call binding the contract method 0x328470ab.
Solidity: function bridgeTokenCount() view returns(uint256)
func (*Chain33BankCallerSession) BridgeTokenCreated ¶
func (_Chain33Bank *Chain33BankCallerSession) BridgeTokenCreated(arg0 [32]byte) (bool, error)
BridgeTokenCreated is a free data retrieval call binding the contract method 0x59bf3a33.
Solidity: function bridgeTokenCreated(bytes32 ) view returns(bool)
func (*Chain33BankCallerSession) BridgeTokenWhitelist ¶
func (_Chain33Bank *Chain33BankCallerSession) BridgeTokenWhitelist(arg0 common.Address) (bool, error)
BridgeTokenWhitelist is a free data retrieval call binding the contract method 0x3f4d5681.
Solidity: function bridgeTokenWhitelist(address ) view returns(bool)
func (*Chain33BankCallerSession) GetToken2address ¶
func (_Chain33Bank *Chain33BankCallerSession) GetToken2address(_symbol string) (common.Address, error)
GetToken2address is a free data retrieval call binding the contract method 0x70e2a8d9.
Solidity: function getToken2address(string _symbol) view returns(address)
func (*Chain33BankCallerSession) HasBridgeTokenCreated ¶
func (_Chain33Bank *Chain33BankCallerSession) HasBridgeTokenCreated(_symbol string) (bool, error)
HasBridgeTokenCreated is a free data retrieval call binding the contract method 0xefea27ab.
Solidity: function hasBridgeTokenCreated(string _symbol) view returns(bool)
func (*Chain33BankCallerSession) Token2address ¶
func (_Chain33Bank *Chain33BankCallerSession) Token2address(arg0 [32]byte) (common.Address, error)
Token2address is a free data retrieval call binding the contract method 0x85f0bdc7.
Solidity: function token2address(bytes32 ) view returns(address)
type Chain33BankFilterer ¶
type Chain33BankFilterer struct {
// contains filtered or unexported fields
}
Chain33BankFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewChain33BankFilterer ¶
func NewChain33BankFilterer(address common.Address, filterer bind.ContractFilterer) (*Chain33BankFilterer, error)
NewChain33BankFilterer creates a new log filterer instance of Chain33Bank, bound to a specific deployed contract.
func (*Chain33BankFilterer) FilterLogBridgeTokenMint ¶
func (_Chain33Bank *Chain33BankFilterer) FilterLogBridgeTokenMint(opts *bind.FilterOpts) (*Chain33BankLogBridgeTokenMintIterator, 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 (*Chain33BankFilterer) FilterLogChain33TokenBurn ¶
func (_Chain33Bank *Chain33BankFilterer) FilterLogChain33TokenBurn(opts *bind.FilterOpts) (*Chain33BankLogChain33TokenBurnIterator, error)
FilterLogChain33TokenBurn is a free log retrieval operation binding the contract event 0xf7e78bea01efd9af9e755494a4eeba0f075264743fbd104d2742b141927695d2.
Solidity: event LogChain33TokenBurn(address _token, string _symbol, uint256 _amount, address _ownerFrom, bytes _chain33Receiver, uint256 _nonce)
func (*Chain33BankFilterer) FilterLogNewBridgeToken ¶
func (_Chain33Bank *Chain33BankFilterer) FilterLogNewBridgeToken(opts *bind.FilterOpts) (*Chain33BankLogNewBridgeTokenIterator, error)
FilterLogNewBridgeToken is a free log retrieval operation binding the contract event 0x0ec4ab372af15f8db6003eb14d91402a44b20dff79fbac33b4ee0df68fafe9c0.
Solidity: event LogNewBridgeToken(address _token, string _symbol)
func (*Chain33BankFilterer) ParseLogBridgeTokenMint ¶
func (_Chain33Bank *Chain33BankFilterer) ParseLogBridgeTokenMint(log types.Log) (*Chain33BankLogBridgeTokenMint, error)
ParseLogBridgeTokenMint is a log parse operation binding the contract event 0x262f97360779b7c2bb05fd24ef49f22d51435f78d3abd1ab35c323b22064cd4d.
Solidity: event LogBridgeTokenMint(address _token, string _symbol, uint256 _amount, address _beneficiary)
func (*Chain33BankFilterer) ParseLogChain33TokenBurn ¶
func (_Chain33Bank *Chain33BankFilterer) ParseLogChain33TokenBurn(log types.Log) (*Chain33BankLogChain33TokenBurn, error)
ParseLogChain33TokenBurn is a log parse operation binding the contract event 0xf7e78bea01efd9af9e755494a4eeba0f075264743fbd104d2742b141927695d2.
Solidity: event LogChain33TokenBurn(address _token, string _symbol, uint256 _amount, address _ownerFrom, bytes _chain33Receiver, uint256 _nonce)
func (*Chain33BankFilterer) ParseLogNewBridgeToken ¶
func (_Chain33Bank *Chain33BankFilterer) ParseLogNewBridgeToken(log types.Log) (*Chain33BankLogNewBridgeToken, error)
ParseLogNewBridgeToken is a log parse operation binding the contract event 0x0ec4ab372af15f8db6003eb14d91402a44b20dff79fbac33b4ee0df68fafe9c0.
Solidity: event LogNewBridgeToken(address _token, string _symbol)
func (*Chain33BankFilterer) WatchLogBridgeTokenMint ¶
func (_Chain33Bank *Chain33BankFilterer) WatchLogBridgeTokenMint(opts *bind.WatchOpts, sink chan<- *Chain33BankLogBridgeTokenMint) (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 (*Chain33BankFilterer) WatchLogChain33TokenBurn ¶
func (_Chain33Bank *Chain33BankFilterer) WatchLogChain33TokenBurn(opts *bind.WatchOpts, sink chan<- *Chain33BankLogChain33TokenBurn) (event.Subscription, error)
WatchLogChain33TokenBurn is a free log subscription operation binding the contract event 0xf7e78bea01efd9af9e755494a4eeba0f075264743fbd104d2742b141927695d2.
Solidity: event LogChain33TokenBurn(address _token, string _symbol, uint256 _amount, address _ownerFrom, bytes _chain33Receiver, uint256 _nonce)
func (*Chain33BankFilterer) WatchLogNewBridgeToken ¶
func (_Chain33Bank *Chain33BankFilterer) WatchLogNewBridgeToken(opts *bind.WatchOpts, sink chan<- *Chain33BankLogNewBridgeToken) (event.Subscription, error)
WatchLogNewBridgeToken is a free log subscription operation binding the contract event 0x0ec4ab372af15f8db6003eb14d91402a44b20dff79fbac33b4ee0df68fafe9c0.
Solidity: event LogNewBridgeToken(address _token, string _symbol)
type Chain33BankLogBridgeTokenMint ¶
type Chain33BankLogBridgeTokenMint struct { Token common.Address Symbol string Amount *big.Int Beneficiary common.Address Raw types.Log // Blockchain specific contextual infos }
Chain33BankLogBridgeTokenMint represents a LogBridgeTokenMint event raised by the Chain33Bank contract.
type Chain33BankLogBridgeTokenMintIterator ¶
type Chain33BankLogBridgeTokenMintIterator struct { Event *Chain33BankLogBridgeTokenMint // Event containing the contract specifics and raw log // contains filtered or unexported fields }
Chain33BankLogBridgeTokenMintIterator is returned from FilterLogBridgeTokenMint and is used to iterate over the raw logs and unpacked data for LogBridgeTokenMint events raised by the Chain33Bank contract.
func (*Chain33BankLogBridgeTokenMintIterator) Close ¶
func (it *Chain33BankLogBridgeTokenMintIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*Chain33BankLogBridgeTokenMintIterator) Error ¶
func (it *Chain33BankLogBridgeTokenMintIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*Chain33BankLogBridgeTokenMintIterator) Next ¶
func (it *Chain33BankLogBridgeTokenMintIterator) 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 Chain33BankLogChain33TokenBurn ¶
type Chain33BankLogChain33TokenBurn struct { Token common.Address Symbol string Amount *big.Int OwnerFrom common.Address Chain33Receiver []byte Nonce *big.Int Raw types.Log // Blockchain specific contextual infos }
Chain33BankLogChain33TokenBurn represents a LogChain33TokenBurn event raised by the Chain33Bank contract.
type Chain33BankLogChain33TokenBurnIterator ¶
type Chain33BankLogChain33TokenBurnIterator struct { Event *Chain33BankLogChain33TokenBurn // Event containing the contract specifics and raw log // contains filtered or unexported fields }
Chain33BankLogChain33TokenBurnIterator is returned from FilterLogChain33TokenBurn and is used to iterate over the raw logs and unpacked data for LogChain33TokenBurn events raised by the Chain33Bank contract.
func (*Chain33BankLogChain33TokenBurnIterator) Close ¶
func (it *Chain33BankLogChain33TokenBurnIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*Chain33BankLogChain33TokenBurnIterator) Error ¶
func (it *Chain33BankLogChain33TokenBurnIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*Chain33BankLogChain33TokenBurnIterator) Next ¶
func (it *Chain33BankLogChain33TokenBurnIterator) 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 Chain33BankLogNewBridgeToken ¶
type Chain33BankLogNewBridgeToken struct { Token common.Address Symbol string Raw types.Log // Blockchain specific contextual infos }
Chain33BankLogNewBridgeToken represents a LogNewBridgeToken event raised by the Chain33Bank contract.
type Chain33BankLogNewBridgeTokenIterator ¶
type Chain33BankLogNewBridgeTokenIterator struct { Event *Chain33BankLogNewBridgeToken // Event containing the contract specifics and raw log // contains filtered or unexported fields }
Chain33BankLogNewBridgeTokenIterator is returned from FilterLogNewBridgeToken and is used to iterate over the raw logs and unpacked data for LogNewBridgeToken events raised by the Chain33Bank contract.
func (*Chain33BankLogNewBridgeTokenIterator) Close ¶
func (it *Chain33BankLogNewBridgeTokenIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*Chain33BankLogNewBridgeTokenIterator) Error ¶
func (it *Chain33BankLogNewBridgeTokenIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*Chain33BankLogNewBridgeTokenIterator) Next ¶
func (it *Chain33BankLogNewBridgeTokenIterator) 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 Chain33BankRaw ¶
type Chain33BankRaw struct {
Contract *Chain33Bank // Generic contract binding to access the raw methods on
}
Chain33BankRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*Chain33BankRaw) Call ¶
func (_Chain33Bank *Chain33BankRaw) 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 (*Chain33BankRaw) Transact ¶
func (_Chain33Bank *Chain33BankRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*Chain33BankRaw) Transfer ¶
func (_Chain33Bank *Chain33BankRaw) 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 Chain33BankSession ¶
type Chain33BankSession struct { Contract *Chain33Bank // 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 }
Chain33BankSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*Chain33BankSession) BridgeTokenCount ¶
func (_Chain33Bank *Chain33BankSession) BridgeTokenCount() (*big.Int, error)
BridgeTokenCount is a free data retrieval call binding the contract method 0x328470ab.
Solidity: function bridgeTokenCount() view returns(uint256)
func (*Chain33BankSession) BridgeTokenCreated ¶
func (_Chain33Bank *Chain33BankSession) BridgeTokenCreated(arg0 [32]byte) (bool, error)
BridgeTokenCreated is a free data retrieval call binding the contract method 0x59bf3a33.
Solidity: function bridgeTokenCreated(bytes32 ) view returns(bool)
func (*Chain33BankSession) BridgeTokenWhitelist ¶
func (_Chain33Bank *Chain33BankSession) BridgeTokenWhitelist(arg0 common.Address) (bool, error)
BridgeTokenWhitelist is a free data retrieval call binding the contract method 0x3f4d5681.
Solidity: function bridgeTokenWhitelist(address ) view returns(bool)
func (*Chain33BankSession) GetToken2address ¶
func (_Chain33Bank *Chain33BankSession) GetToken2address(_symbol string) (common.Address, error)
GetToken2address is a free data retrieval call binding the contract method 0x70e2a8d9.
Solidity: function getToken2address(string _symbol) view returns(address)
func (*Chain33BankSession) HasBridgeTokenCreated ¶
func (_Chain33Bank *Chain33BankSession) HasBridgeTokenCreated(_symbol string) (bool, error)
HasBridgeTokenCreated is a free data retrieval call binding the contract method 0xefea27ab.
Solidity: function hasBridgeTokenCreated(string _symbol) view returns(bool)
func (*Chain33BankSession) Token2address ¶
func (_Chain33Bank *Chain33BankSession) Token2address(arg0 [32]byte) (common.Address, error)
Token2address is a free data retrieval call binding the contract method 0x85f0bdc7.
Solidity: function token2address(bytes32 ) view returns(address)
type Chain33BankTransactor ¶
type Chain33BankTransactor struct {
// contains filtered or unexported fields
}
Chain33BankTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewChain33BankTransactor ¶
func NewChain33BankTransactor(address common.Address, transactor bind.ContractTransactor) (*Chain33BankTransactor, error)
NewChain33BankTransactor creates a new write-only instance of Chain33Bank, bound to a specific deployed contract.
type Chain33BankTransactorRaw ¶
type Chain33BankTransactorRaw struct {
Contract *Chain33BankTransactor // Generic write-only contract binding to access the raw methods on
}
Chain33BankTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*Chain33BankTransactorRaw) Transact ¶
func (_Chain33Bank *Chain33BankTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*Chain33BankTransactorRaw) Transfer ¶
func (_Chain33Bank *Chain33BankTransactorRaw) 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 Chain33BankTransactorSession ¶
type Chain33BankTransactorSession struct { Contract *Chain33BankTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
Chain33BankTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type Chain33Bridge ¶
type Chain33Bridge struct { Chain33BridgeCaller // Read-only binding to the contract Chain33BridgeTransactor // Write-only binding to the contract Chain33BridgeFilterer // Log filterer for contract events }
Chain33Bridge is an auto generated Go binding around an Ethereum contract.
func DeployChain33Bridge ¶
func DeployChain33Bridge(auth *bind.TransactOpts, backend bind.ContractBackend, _operator common.Address, _valset common.Address) (common.Address, *types.Transaction, *Chain33Bridge, error)
DeployChain33Bridge deploys a new Ethereum contract, binding an instance of Chain33Bridge to it.
func NewChain33Bridge ¶
func NewChain33Bridge(address common.Address, backend bind.ContractBackend) (*Chain33Bridge, error)
NewChain33Bridge creates a new instance of Chain33Bridge, bound to a specific deployed contract.
type Chain33BridgeCaller ¶
type Chain33BridgeCaller struct {
// contains filtered or unexported fields
}
Chain33BridgeCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewChain33BridgeCaller ¶
func NewChain33BridgeCaller(address common.Address, caller bind.ContractCaller) (*Chain33BridgeCaller, error)
NewChain33BridgeCaller creates a new read-only instance of Chain33Bridge, bound to a specific deployed contract.
func (*Chain33BridgeCaller) BridgeBank ¶
BridgeBank is a free data retrieval call binding the contract method 0x0e41f373.
Solidity: function bridgeBank() view returns(address)
func (*Chain33BridgeCaller) HasBridgeBank ¶
func (_Chain33Bridge *Chain33BridgeCaller) HasBridgeBank(opts *bind.CallOpts) (bool, error)
HasBridgeBank is a free data retrieval call binding the contract method 0x69294a4e.
Solidity: function hasBridgeBank() view returns(bool)
func (*Chain33BridgeCaller) HasOracle ¶
func (_Chain33Bridge *Chain33BridgeCaller) HasOracle(opts *bind.CallOpts) (bool, error)
HasOracle is a free data retrieval call binding the contract method 0xfb7831f2.
Solidity: function hasOracle() view returns(bool)
func (*Chain33BridgeCaller) IsProphecyClaimActive ¶
func (_Chain33Bridge *Chain33BridgeCaller) IsProphecyClaimActive(opts *bind.CallOpts, _claimID [32]byte) (bool, error)
IsProphecyClaimActive is a free data retrieval call binding the contract method 0xaa760bc2.
Solidity: function isProphecyClaimActive(bytes32 _claimID) view returns(bool)
func (*Chain33BridgeCaller) IsProphecyClaimValidatorActive ¶
func (_Chain33Bridge *Chain33BridgeCaller) IsProphecyClaimValidatorActive(opts *bind.CallOpts, _claimID [32]byte) (bool, error)
IsProphecyClaimValidatorActive is a free data retrieval call binding the contract method 0x6536be5a.
Solidity: function isProphecyClaimValidatorActive(bytes32 _claimID) view returns(bool)
func (*Chain33BridgeCaller) IsValidClaimType ¶
func (_Chain33Bridge *Chain33BridgeCaller) IsValidClaimType(opts *bind.CallOpts, _claimType uint8) (bool, error)
IsValidClaimType is a free data retrieval call binding the contract method 0xf16e609a.
Solidity: function isValidClaimType(uint8 _claimType) pure returns(bool)
func (*Chain33BridgeCaller) Operator ¶
Operator is a free data retrieval call binding the contract method 0x570ca735.
Solidity: function operator() view returns(address)
func (*Chain33BridgeCaller) Oracle ¶
Oracle is a free data retrieval call binding the contract method 0x7dc0d1d0.
Solidity: function oracle() view returns(address)
func (*Chain33BridgeCaller) ProphecyClaimCount ¶
func (_Chain33Bridge *Chain33BridgeCaller) ProphecyClaimCount(opts *bind.CallOpts) (*big.Int, error)
ProphecyClaimCount is a free data retrieval call binding the contract method 0x8ea5352d.
Solidity: function prophecyClaimCount() view returns(uint256)
func (*Chain33BridgeCaller) ProphecyClaims ¶
func (_Chain33Bridge *Chain33BridgeCaller) ProphecyClaims(opts *bind.CallOpts, arg0 [32]byte) (struct { ClaimType uint8 Chain33Sender []byte EthereumReceiver common.Address OriginalValidator common.Address TokenAddress common.Address Symbol string Amount *big.Int Status uint8 }, error)
ProphecyClaims is a free data retrieval call binding the contract method 0xb47010f6.
Solidity: function prophecyClaims(bytes32 ) view returns(uint8 claimType, bytes chain33Sender, address ethereumReceiver, address originalValidator, address tokenAddress, string symbol, uint256 amount, uint8 status)
type Chain33BridgeCallerRaw ¶
type Chain33BridgeCallerRaw struct {
Contract *Chain33BridgeCaller // Generic read-only contract binding to access the raw methods on
}
Chain33BridgeCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*Chain33BridgeCallerRaw) Call ¶
func (_Chain33Bridge *Chain33BridgeCallerRaw) 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 Chain33BridgeCallerSession ¶
type Chain33BridgeCallerSession struct { Contract *Chain33BridgeCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
Chain33BridgeCallerSession is an auto generated read-only Go bindi