Documentation ¶
Index ¶
- Variables
- type Authorizable
- type AuthorizableAuthorizersTransferred
- type AuthorizableAuthorizersTransferredIterator
- type AuthorizableCaller
- type AuthorizableCallerRaw
- type AuthorizableCallerSession
- type AuthorizableFilterer
- func (_Authorizable *AuthorizableFilterer) FilterAuthorizersTransferred(opts *bind.FilterOpts, previousAuthorizers []common.Address, ...) (*AuthorizableAuthorizersTransferredIterator, error)
- func (_Authorizable *AuthorizableFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*AuthorizableOwnershipTransferredIterator, error)
- func (_Authorizable *AuthorizableFilterer) ParseAuthorizersTransferred(log types.Log) (*AuthorizableAuthorizersTransferred, error)
- func (_Authorizable *AuthorizableFilterer) ParseOwnershipTransferred(log types.Log) (*AuthorizableOwnershipTransferred, error)
- func (_Authorizable *AuthorizableFilterer) WatchAuthorizersTransferred(opts *bind.WatchOpts, sink chan<- *AuthorizableAuthorizersTransferred, ...) (event.Subscription, error)
- func (_Authorizable *AuthorizableFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *AuthorizableOwnershipTransferred, ...) (event.Subscription, error)
- type AuthorizableOwnershipTransferred
- type AuthorizableOwnershipTransferredIterator
- type AuthorizableRaw
- func (_Authorizable *AuthorizableRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Authorizable *AuthorizableRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Authorizable *AuthorizableRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type AuthorizableSession
- func (_Authorizable *AuthorizableSession) Authorizers() (common.Address, error)
- func (_Authorizable *AuthorizableSession) Owner() (common.Address, error)
- func (_Authorizable *AuthorizableSession) RenounceOwnership() (*types.Transaction, error)
- func (_Authorizable *AuthorizableSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type AuthorizableTransactor
- type AuthorizableTransactorRaw
- type AuthorizableTransactorSession
- type Bridge
- type BridgeAuthorizersTransferred
- type BridgeAuthorizersTransferredIterator
- type BridgeBurned
- type BridgeBurnedIterator
- type BridgeCaller
- func (_Bridge *BridgeCaller) Authorizers(opts *bind.CallOpts) (common.Address, error)
- func (_Bridge *BridgeCaller) Balance(opts *bind.CallOpts) (*big.Int, error)
- func (_Bridge *BridgeCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_Bridge *BridgeCaller) Token(opts *bind.CallOpts) (common.Address, error)
- type BridgeCallerRaw
- type BridgeCallerSession
- type BridgeFilterer
- func (_Bridge *BridgeFilterer) FilterAuthorizersTransferred(opts *bind.FilterOpts, previousAuthorizers []common.Address, ...) (*BridgeAuthorizersTransferredIterator, error)
- func (_Bridge *BridgeFilterer) FilterBurned(opts *bind.FilterOpts, from []common.Address, clientId [][]byte, ...) (*BridgeBurnedIterator, error)
- func (_Bridge *BridgeFilterer) FilterMinted(opts *bind.FilterOpts, to []common.Address) (*BridgeMintedIterator, error)
- func (_Bridge *BridgeFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*BridgeOwnershipTransferredIterator, error)
- func (_Bridge *BridgeFilterer) ParseAuthorizersTransferred(log types.Log) (*BridgeAuthorizersTransferred, error)
- func (_Bridge *BridgeFilterer) ParseBurned(log types.Log) (*BridgeBurned, error)
- func (_Bridge *BridgeFilterer) ParseMinted(log types.Log) (*BridgeMinted, error)
- func (_Bridge *BridgeFilterer) ParseOwnershipTransferred(log types.Log) (*BridgeOwnershipTransferred, error)
- func (_Bridge *BridgeFilterer) WatchAuthorizersTransferred(opts *bind.WatchOpts, sink chan<- *BridgeAuthorizersTransferred, ...) (event.Subscription, error)
- func (_Bridge *BridgeFilterer) WatchBurned(opts *bind.WatchOpts, sink chan<- *BridgeBurned, from []common.Address, ...) (event.Subscription, error)
- func (_Bridge *BridgeFilterer) WatchMinted(opts *bind.WatchOpts, sink chan<- *BridgeMinted, to []common.Address) (event.Subscription, error)
- func (_Bridge *BridgeFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *BridgeOwnershipTransferred, ...) (event.Subscription, error)
- type BridgeMinted
- type BridgeMintedIterator
- type BridgeOwnershipTransferred
- type BridgeOwnershipTransferredIterator
- type BridgeRaw
- func (_Bridge *BridgeRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Bridge *BridgeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Bridge *BridgeRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type BridgeSession
- func (_Bridge *BridgeSession) Authorizers() (common.Address, error)
- func (_Bridge *BridgeSession) Balance() (*big.Int, error)
- func (_Bridge *BridgeSession) Burn(_amount *big.Int, _clientId []byte) (*types.Transaction, error)
- func (_Bridge *BridgeSession) IsAuthorizationValid(_amount *big.Int, _txid []byte, _nonce *big.Int, signature []byte) (*types.Transaction, error)
- func (_Bridge *BridgeSession) Mint(_amount *big.Int, _txid []byte, _nonce *big.Int, signatures []byte) (*types.Transaction, error)
- func (_Bridge *BridgeSession) MintFor(_for common.Address, _amount *big.Int, _txid []byte, _nonce *big.Int, ...) (*types.Transaction, error)
- func (_Bridge *BridgeSession) Owner() (common.Address, error)
- func (_Bridge *BridgeSession) RenounceOwnership() (*types.Transaction, error)
- func (_Bridge *BridgeSession) RescueFunds(tokenToRescue common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Bridge *BridgeSession) Token() (common.Address, error)
- func (_Bridge *BridgeSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type BridgeTransactor
- func (_Bridge *BridgeTransactor) Burn(opts *bind.TransactOpts, _amount *big.Int, _clientId []byte) (*types.Transaction, error)
- func (_Bridge *BridgeTransactor) IsAuthorizationValid(opts *bind.TransactOpts, _amount *big.Int, _txid []byte, _nonce *big.Int, ...) (*types.Transaction, error)
- func (_Bridge *BridgeTransactor) Mint(opts *bind.TransactOpts, _amount *big.Int, _txid []byte, _nonce *big.Int, ...) (*types.Transaction, error)
- func (_Bridge *BridgeTransactor) MintFor(opts *bind.TransactOpts, _for common.Address, _amount *big.Int, _txid []byte, ...) (*types.Transaction, error)
- func (_Bridge *BridgeTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Bridge *BridgeTransactor) RescueFunds(opts *bind.TransactOpts, tokenToRescue common.Address, to common.Address, ...) (*types.Transaction, error)
- func (_Bridge *BridgeTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- type BridgeTransactorRaw
- type BridgeTransactorSession
- func (_Bridge *BridgeTransactorSession) Burn(_amount *big.Int, _clientId []byte) (*types.Transaction, error)
- func (_Bridge *BridgeTransactorSession) IsAuthorizationValid(_amount *big.Int, _txid []byte, _nonce *big.Int, signature []byte) (*types.Transaction, error)
- func (_Bridge *BridgeTransactorSession) Mint(_amount *big.Int, _txid []byte, _nonce *big.Int, signatures []byte) (*types.Transaction, error)
- func (_Bridge *BridgeTransactorSession) MintFor(_for common.Address, _amount *big.Int, _txid []byte, _nonce *big.Int, ...) (*types.Transaction, error)
- func (_Bridge *BridgeTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_Bridge *BridgeTransactorSession) RescueFunds(tokenToRescue common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Bridge *BridgeTransactorSession) TransferOwnership(newOwner 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 IAuthorizers
- type IAuthorizersCaller
- type IAuthorizersCallerRaw
- type IAuthorizersCallerSession
- type IAuthorizersFilterer
- type IAuthorizersRaw
- func (_IAuthorizers *IAuthorizersRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_IAuthorizers *IAuthorizersRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_IAuthorizers *IAuthorizersRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type IAuthorizersSession
- type IAuthorizersTransactor
- func (_IAuthorizers *IAuthorizersTransactor) Authorize(opts *bind.TransactOpts, message [32]byte, signatures []byte) (*types.Transaction, error)
- func (_IAuthorizers *IAuthorizersTransactor) Message(opts *bind.TransactOpts, _to common.Address, _amount *big.Int, _txid []byte, ...) (*types.Transaction, error)
- type IAuthorizersTransactorRaw
- type IAuthorizersTransactorSession
- type IBridge
- type IBridgeBurned
- type IBridgeBurnedIterator
- type IBridgeCaller
- type IBridgeCallerRaw
- type IBridgeCallerSession
- type IBridgeFilterer
- func (_IBridge *IBridgeFilterer) FilterBurned(opts *bind.FilterOpts, from []common.Address, clientId [][]byte, ...) (*IBridgeBurnedIterator, error)
- func (_IBridge *IBridgeFilterer) FilterMinted(opts *bind.FilterOpts, to []common.Address) (*IBridgeMintedIterator, error)
- func (_IBridge *IBridgeFilterer) ParseBurned(log types.Log) (*IBridgeBurned, error)
- func (_IBridge *IBridgeFilterer) ParseMinted(log types.Log) (*IBridgeMinted, error)
- func (_IBridge *IBridgeFilterer) WatchBurned(opts *bind.WatchOpts, sink chan<- *IBridgeBurned, from []common.Address, ...) (event.Subscription, error)
- func (_IBridge *IBridgeFilterer) WatchMinted(opts *bind.WatchOpts, sink chan<- *IBridgeMinted, to []common.Address) (event.Subscription, error)
- type IBridgeMinted
- type IBridgeMintedIterator
- type IBridgeRaw
- func (_IBridge *IBridgeRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_IBridge *IBridgeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_IBridge *IBridgeRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type IBridgeSession
- type IBridgeTransactor
- type IBridgeTransactorRaw
- type IBridgeTransactorSession
- 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 Ownable
- type OwnableCaller
- type OwnableCallerRaw
- type OwnableCallerSession
- type OwnableFilterer
- func (_Ownable *OwnableFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*OwnableOwnershipTransferredIterator, error)
- func (_Ownable *OwnableFilterer) ParseOwnershipTransferred(log types.Log) (*OwnableOwnershipTransferred, error)
- func (_Ownable *OwnableFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *OwnableOwnershipTransferred, ...) (event.Subscription, error)
- type OwnableOwnershipTransferred
- type OwnableOwnershipTransferredIterator
- type OwnableRaw
- func (_Ownable *OwnableRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Ownable *OwnableRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Ownable *OwnableRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type OwnableSession
- type OwnableTransactor
- type OwnableTransactorRaw
- type OwnableTransactorSession
- type TokenPool
- type TokenPoolCaller
- type TokenPoolCallerRaw
- type TokenPoolCallerSession
- type TokenPoolFilterer
- func (_TokenPool *TokenPoolFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*TokenPoolOwnershipTransferredIterator, error)
- func (_TokenPool *TokenPoolFilterer) ParseOwnershipTransferred(log types.Log) (*TokenPoolOwnershipTransferred, error)
- func (_TokenPool *TokenPoolFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *TokenPoolOwnershipTransferred, ...) (event.Subscription, error)
- type TokenPoolOwnershipTransferred
- type TokenPoolOwnershipTransferredIterator
- type TokenPoolRaw
- func (_TokenPool *TokenPoolRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_TokenPool *TokenPoolRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_TokenPool *TokenPoolRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type TokenPoolSession
- func (_TokenPool *TokenPoolSession) Balance() (*big.Int, error)
- func (_TokenPool *TokenPoolSession) Owner() (common.Address, error)
- func (_TokenPool *TokenPoolSession) RenounceOwnership() (*types.Transaction, error)
- func (_TokenPool *TokenPoolSession) RescueFunds(tokenToRescue common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_TokenPool *TokenPoolSession) Token() (common.Address, error)
- func (_TokenPool *TokenPoolSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type TokenPoolTransactor
- func (_TokenPool *TokenPoolTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_TokenPool *TokenPoolTransactor) RescueFunds(opts *bind.TransactOpts, tokenToRescue common.Address, to common.Address, ...) (*types.Transaction, error)
- func (_TokenPool *TokenPoolTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- type TokenPoolTransactorRaw
- type TokenPoolTransactorSession
- func (_TokenPool *TokenPoolTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_TokenPool *TokenPoolTransactorSession) RescueFunds(tokenToRescue common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_TokenPool *TokenPoolTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
Constants ¶
This section is empty.
Variables ¶
var AuthorizableABI = AuthorizableMetaData.ABI
AuthorizableABI is the input ABI used to generate the binding from. Deprecated: Use AuthorizableMetaData.ABI instead.
var AuthorizableFuncSigs = AuthorizableMetaData.Sigs
Deprecated: Use AuthorizableMetaData.Sigs instead. AuthorizableFuncSigs maps the 4-byte function signature to its string representation.
var AuthorizableMetaData = &bind.MetaData{ ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousAuthorizers\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newAuthorizers\",\"type\":\"address\"}],\"name\":\"AuthorizersTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"authorizers\",\"outputs\":[{\"internalType\":\"contractIAuthorizers\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]", Sigs: map[string]string{ "56741b2c": "authorizers()", "8da5cb5b": "owner()", "715018a6": "renounceOwnership()", "f2fde38b": "transferOwnership(address)", }, }
AuthorizableMetaData contains all meta data concerning the Authorizable contract.
var BridgeABI = BridgeMetaData.ABI
BridgeABI is the input ABI used to generate the binding from. Deprecated: Use BridgeMetaData.ABI instead.
var BridgeBin = BridgeMetaData.Bin
BridgeBin is the compiled bytecode used for deploying new contracts. Deprecated: Use BridgeMetaData.Bin instead.
var BridgeFuncSigs = BridgeMetaData.Sigs
Deprecated: Use BridgeMetaData.Sigs instead. BridgeFuncSigs maps the 4-byte function signature to its string representation.
var BridgeMetaData = &bind.MetaData{ ABI: "[{\"inputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"contractIAuthorizers\",\"name\":\"_authorizers\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousAuthorizers\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newAuthorizers\",\"type\":\"address\"}],\"name\":\"AuthorizersTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"bytes\",\"name\":\"clientId\",\"type\":\"bytes\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"}],\"name\":\"Burned\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"txid\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"}],\"name\":\"Minted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"authorizers\",\"outputs\":[{\"internalType\":\"contractIAuthorizers\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"balance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_clientId\",\"type\":\"bytes\"}],\"name\":\"burn\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_txid\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"_nonce\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"name\":\"isAuthorizationValid\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_txid\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"_nonce\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"signatures\",\"type\":\"bytes\"}],\"name\":\"mint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_for\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_txid\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"_nonce\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"signatures\",\"type\":\"bytes\"}],\"name\":\"mintFor\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenToRescue\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"rescueFunds\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"token\",\"outputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]", Sigs: map[string]string{ "56741b2c": "authorizers()", "b69ef8a8": "balance()", "fe9d9303": "burn(uint256,bytes)", "408a12e6": "isAuthorizationValid(uint256,bytes,uint256,bytes)", "4d02be9f": "mint(uint256,bytes,uint256,bytes)", "d44a8430": "mintFor(address,uint256,bytes,uint256,bytes)", "8da5cb5b": "owner()", "715018a6": "renounceOwnership()", "6ccae054": "rescueFunds(address,address,uint256)", "fc0c546a": "token()", "f2fde38b": "transferOwnership(address)", }, Bin: "0x6080604052600060035534801561001557600080fd5b506040516112af3803806112af833981016040819052610034916100f2565b600080546001600160a01b03191633908117825560405183928592918291907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600180546001600160a01b039283166001600160a01b0319918216179091556002805492841692909116821790556040516000907fc44d874e85f1c5b65d10c0c33020d49211b91e9f2704457f2ef269e5fb7a6b5d908290a350505061012c565b6001600160a01b03811681146100ef57600080fd5b50565b6000806040838503121561010557600080fd5b8251610110816100da565b6020840151909250610121816100da565b809150509250929050565b6111748061013b6000396000f3fe608060405234801561001057600080fd5b50600436106100a95760003560e01c80638da5cb5b116100715780638da5cb5b1461012b578063b69ef8a81461013c578063d44a843014610152578063f2fde38b14610165578063fc0c546a14610178578063fe9d93031461018b57600080fd5b8063408a12e6146100ae5780634d02be9f146100d657806356741b2c146100eb5780636ccae05414610110578063715018a614610123575b600080fd5b6100c16100bc366004610d4f565b61019e565b60405190151581526020015b60405180910390f35b6100e96100e4366004610d4f565b610251565b005b6002546001600160a01b03165b6040516001600160a01b0390911681526020016100cd565b6100c161011e366004610dea565b610395565b6100e96104c3565b6000546001600160a01b03166100f8565b610144610537565b6040519081526020016100cd565b6100e9610160366004610e2b565b6105b8565b6100e9610173366004610ec1565b6106f8565b6001546100f8906001600160a01b031681565b6100e9610199366004610ee5565b6107e2565b6000806101b36002546001600160a01b031690565b6001600160a01b031663f4fd62e3338a8a8a8a6040518663ffffffff1660e01b81526004016101e6959493929190610f5a565b602060405180830381600087803b15801561020057600080fd5b505af1158015610214573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102389190610f94565b9050610245818585610828565b98975050505050505050565b60008381526004602052604090205460ff16156102aa5760405162461bcd60e51b8152602060048201526012602482015271139bdb98d948185b1c9958591e481d5cd95960721b60448201526064015b60405180910390fd5b60006102be6002546001600160a01b031690565b6001600160a01b031663f4fd62e333898989896040518663ffffffff1660e01b81526004016102f1959493929190610f5a565b602060405180830381600087803b15801561030b57600080fd5b505af115801561031f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103439190610f94565b905061038c338888888080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152508a9250879150899050886108e0565b50505050505050565b600080546001600160a01b031633146103c05760405162461bcd60e51b81526004016102a190610fad565b6001546001600160a01b03858116911614156104395760405162461bcd60e51b815260206004820152603260248201527f546f6b656e506f6f6c3a2043616e6e6f7420636c61696d20746f6b656e2068656044820152711b1908189e481d1a194818dbdb9d1c9858dd60721b60648201526084016102a1565b60405163a9059cbb60e01b81526001600160a01b0384811660048301526024820184905285169063a9059cbb90604401602060405180830381600087803b15801561048357600080fd5b505af1158015610497573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104bb9190610fe2565b949350505050565b6000546001600160a01b031633146104ed5760405162461bcd60e51b81526004016102a190610fad565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6001546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a082319060240160206040518083038186803b15801561057b57600080fd5b505afa15801561058f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b39190610f94565b905090565b60008381526004602052604090205460ff161561060c5760405162461bcd60e51b8152602060048201526012602482015271139bdb98d948185b1c9958591e481d5cd95960721b60448201526064016102a1565b60006106206002546001600160a01b031690565b6001600160a01b031663f4fd62e389898989896040518663ffffffff1660e01b8152600401610653959493929190610f5a565b602060405180830381600087803b15801561066d57600080fd5b505af1158015610681573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106a59190610f94565b90506106ee888888888080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152508a9250879150899050886108e0565b5050505050505050565b6000546001600160a01b031633146107225760405162461bcd60e51b81526004016102a190610fad565b6001600160a01b0381166107875760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016102a1565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b610823338484848080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250610b3f92505050565b505050565b6002546040516314b5dc0b60e11b81526000918591859185916001600160a01b039091169063296bb8169061086590869086908690600401611004565b602060405180830381600087803b15801561087f57600080fd5b505af1158015610893573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108b79190610fe2565b6108d35760405162461bcd60e51b81526004016102a190611027565b5060019695505050505050565b6002546040516314b5dc0b60e11b81528491849184916001600160a01b03169063296bb8169061091890869086908690600401611004565b602060405180830381600087803b15801561093257600080fd5b505af1158015610946573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061096a9190610fe2565b6109865760405162461bcd60e51b81526004016102a190611027565b306001600160a01b031663fc0c546a6040518163ffffffff1660e01b815260040160206040518083038186803b1580156109bf57600080fd5b505afa1580156109d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109f7919061106d565b60405163a9059cbb60e01b81526001600160a01b038c81166004830152602482018c9052919091169063a9059cbb90604401602060405180830381600087803b158015610a4357600080fd5b505af1158015610a57573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a7b9190610fe2565b610ad35760405162461bcd60e51b815260206004820152602360248201527f4272696467653a207472616e73666572206f7574206f6620706f6f6c206661696044820152621b195960ea1b60648201526084016102a1565b60008781526004602052604090819020805460ff19166001179055516001600160a01b038b16907fe04478a4154dc31a079fa36b9ee1af057f492a47c1524ac67f2ea4c214c3de9290610b2b908c908c908c906110ba565b60405180910390a250505050505050505050565b306001600160a01b031663fc0c546a6040518163ffffffff1660e01b815260040160206040518083038186803b158015610b7857600080fd5b505afa158015610b8c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bb0919061106d565b6040516323b872dd60e01b81526001600160a01b0385811660048301523060248301526044820185905291909116906323b872dd90606401602060405180830381600087803b158015610c0257600080fd5b505af1158015610c16573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c3a9190610fe2565b610c955760405162461bcd60e51b815260206004820152602660248201527f4272696467653a207472616e7366657220696e746f206275726e20706f6f6c2060448201526519985a5b195960d21b60648201526084016102a1565b600354610ca39060016110fc565b6003819055604051610cb6908390611122565b6040518091039020846001600160a01b03167f2b1155a5de2441854f3781130b980daa499b3412053ee40fcde076774bb12df285604051610cf991815260200190565b60405180910390a4505050565b60008083601f840112610d1857600080fd5b50813567ffffffffffffffff811115610d3057600080fd5b602083019150836020828501011115610d4857600080fd5b9250929050565b60008060008060008060808789031215610d6857600080fd5b86359550602087013567ffffffffffffffff80821115610d8757600080fd5b610d938a838b01610d06565b9097509550604089013594506060890135915080821115610db357600080fd5b50610dc089828a01610d06565b979a9699509497509295939492505050565b6001600160a01b0381168114610de757600080fd5b50565b600080600060608486031215610dff57600080fd5b8335610e0a81610dd2565b92506020840135610e1a81610dd2565b929592945050506040919091013590565b600080600080600080600060a0888a031215610e4657600080fd5b8735610e5181610dd2565b965060208801359550604088013567ffffffffffffffff80821115610e7557600080fd5b610e818b838c01610d06565b909750955060608a0135945060808a0135915080821115610ea157600080fd5b50610eae8a828b01610d06565b989b979a50959850939692959293505050565b600060208284031215610ed357600080fd5b8135610ede81610dd2565b9392505050565b600080600060408486031215610efa57600080fd5b83359250602084013567ffffffffffffffff811115610f1857600080fd5b610f2486828701610d06565b9497909650939450505050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b60018060a01b0386168152846020820152608060408201526000610f82608083018587610f31565b90508260608301529695505050505050565b600060208284031215610fa657600080fd5b5051919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600060208284031215610ff457600080fd5b81518015158114610ede57600080fd5b83815260406020820152600061101e604083018486610f31565b95945050505050565b60208082526026908201527f417574686f72697a6572733a207369676e617475726573206e6f7420617574686040820152651bdc9a5e995960d21b606082015260800190565b60006020828403121561107f57600080fd5b8151610ede81610dd2565b60005b838110156110a557818101518382015260200161108d565b838111156110b4576000848401525b50505050565b83815260606020820152600083518060608401526110df81608085016020880161108a565b604083019390935250601f91909101601f19160160800192915050565b6000821982111561111d57634e487b7160e01b600052601160045260246000fd5b500190565b6000825161113481846020870161108a565b919091019291505056fea2646970667358221220b552b7380e61d622d53ca633a6557f71c075ff38b34d9a7f8dc4e58fb3248e4f64736f6c63430008090033", }
BridgeMetaData contains all meta data concerning the Bridge contract.
var ContextABI = ContextMetaData.ABI
ContextABI is the input ABI used to generate the binding from. Deprecated: Use ContextMetaData.ABI instead.
var ContextMetaData = &bind.MetaData{
ABI: "[]",
}
ContextMetaData contains all meta data concerning the Context contract.
var IAuthorizersABI = IAuthorizersMetaData.ABI
IAuthorizersABI is the input ABI used to generate the binding from. Deprecated: Use IAuthorizersMetaData.ABI instead.
var IAuthorizersFuncSigs = IAuthorizersMetaData.Sigs
Deprecated: Use IAuthorizersMetaData.Sigs instead. IAuthorizersFuncSigs maps the 4-byte function signature to its string representation.
var IAuthorizersMetaData = &bind.MetaData{ ABI: "[{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"message\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"signatures\",\"type\":\"bytes\"}],\"name\":\"authorize\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_txid\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"_nonce\",\"type\":\"uint256\"}],\"name\":\"message\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]", Sigs: map[string]string{ "296bb816": "authorize(bytes32,bytes)", "f4fd62e3": "message(address,uint256,bytes,uint256)", }, }
IAuthorizersMetaData contains all meta data concerning the IAuthorizers contract.
var IBridgeABI = IBridgeMetaData.ABI
IBridgeABI is the input ABI used to generate the binding from. Deprecated: Use IBridgeMetaData.ABI instead.
var IBridgeFuncSigs = IBridgeMetaData.Sigs
Deprecated: Use IBridgeMetaData.Sigs instead. IBridgeFuncSigs maps the 4-byte function signature to its string representation.
var IBridgeMetaData = &bind.MetaData{ ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"bytes\",\"name\":\"clientId\",\"type\":\"bytes\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"}],\"name\":\"Burned\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"txid\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"}],\"name\":\"Minted\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_clientId\",\"type\":\"bytes\"}],\"name\":\"burn\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_txid\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"_nonce\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"signatures\",\"type\":\"bytes\"}],\"name\":\"mint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]", Sigs: map[string]string{ "fe9d9303": "burn(uint256,bytes)", "4d02be9f": "mint(uint256,bytes,uint256,bytes)", }, }
IBridgeMetaData contains all meta data concerning the IBridge contract.
var IERC20ABI = IERC20MetaData.ABI
IERC20ABI is the input ABI used to generate the binding from. Deprecated: Use IERC20MetaData.ABI instead.
var IERC20FuncSigs = IERC20MetaData.Sigs
Deprecated: Use IERC20MetaData.Sigs instead. IERC20FuncSigs maps the 4-byte function signature to its string representation.
var IERC20MetaData = &bind.MetaData{ ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]", Sigs: 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)", }, }
IERC20MetaData contains all meta data concerning the IERC20 contract.
var OwnableABI = OwnableMetaData.ABI
OwnableABI is the input ABI used to generate the binding from. Deprecated: Use OwnableMetaData.ABI instead.
var OwnableFuncSigs = OwnableMetaData.Sigs
Deprecated: Use OwnableMetaData.Sigs instead. OwnableFuncSigs maps the 4-byte function signature to its string representation.
var OwnableMetaData = &bind.MetaData{ ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]", Sigs: map[string]string{ "8da5cb5b": "owner()", "715018a6": "renounceOwnership()", "f2fde38b": "transferOwnership(address)", }, }
OwnableMetaData contains all meta data concerning the Ownable contract.
var TokenPoolABI = TokenPoolMetaData.ABI
TokenPoolABI is the input ABI used to generate the binding from. Deprecated: Use TokenPoolMetaData.ABI instead.
var TokenPoolBin = TokenPoolMetaData.Bin
TokenPoolBin is the compiled bytecode used for deploying new contracts. Deprecated: Use TokenPoolMetaData.Bin instead.
var TokenPoolFuncSigs = TokenPoolMetaData.Sigs
Deprecated: Use TokenPoolMetaData.Sigs instead. TokenPoolFuncSigs maps the 4-byte function signature to its string representation.
var TokenPoolMetaData = &bind.MetaData{ ABI: "[{\"inputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"_token\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"balance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenToRescue\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"rescueFunds\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"token\",\"outputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]", Sigs: map[string]string{ "b69ef8a8": "balance()", "8da5cb5b": "owner()", "715018a6": "renounceOwnership()", "6ccae054": "rescueFunds(address,address,uint256)", "fc0c546a": "token()", "f2fde38b": "transferOwnership(address)", }, Bin: "0x608060405234801561001057600080fd5b5060405161060438038061060483398101604081905261002f91610095565b600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600180546001600160a01b0319166001600160a01b03929092169190911790556100c5565b6000602082840312156100a757600080fd5b81516001600160a01b03811681146100be57600080fd5b9392505050565b610530806100d46000396000f3fe608060405234801561001057600080fd5b50600436106100625760003560e01c80636ccae05414610067578063715018a61461008f5780638da5cb5b14610099578063b69ef8a8146100be578063f2fde38b146100d4578063fc0c546a146100e7575b600080fd5b61007a61007536600461042c565b6100fa565b60405190151581526020015b60405180910390f35b610097610231565b005b6000546001600160a01b03165b6040516001600160a01b039091168152602001610086565b6100c66102a5565b604051908152602001610086565b6100976100e2366004610468565b610326565b6001546100a6906001600160a01b031681565b600080546001600160a01b0316331461012e5760405162461bcd60e51b81526004016101259061048a565b60405180910390fd5b6001546001600160a01b03858116911614156101a75760405162461bcd60e51b815260206004820152603260248201527f546f6b656e506f6f6c3a2043616e6e6f7420636c61696d20746f6b656e2068656044820152711b1908189e481d1a194818dbdb9d1c9858dd60721b6064820152608401610125565b60405163a9059cbb60e01b81526001600160a01b0384811660048301526024820184905285169063a9059cbb90604401602060405180830381600087803b1580156101f157600080fd5b505af1158015610205573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061022991906104bf565b949350505050565b6000546001600160a01b0316331461025b5760405162461bcd60e51b81526004016101259061048a565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6001546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a082319060240160206040518083038186803b1580156102e957600080fd5b505afa1580156102fd573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061032191906104e1565b905090565b6000546001600160a01b031633146103505760405162461bcd60e51b81526004016101259061048a565b6001600160a01b0381166103b55760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610125565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b80356001600160a01b038116811461042757600080fd5b919050565b60008060006060848603121561044157600080fd5b61044a84610410565b925061045860208501610410565b9150604084013590509250925092565b60006020828403121561047a57600080fd5b61048382610410565b9392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000602082840312156104d157600080fd5b8151801515811461048357600080fd5b6000602082840312156104f357600080fd5b505191905056fea2646970667358221220c6b2cdbdf1df2f88753f576d0fbc0a1d04edc2ac0942542f7d998300f8a4568d64736f6c63430008090033", }
TokenPoolMetaData contains all meta data concerning the TokenPool contract.
Functions ¶
This section is empty.
Types ¶
type Authorizable ¶
type Authorizable struct { AuthorizableCaller // Read-only binding to the contract AuthorizableTransactor // Write-only binding to the contract AuthorizableFilterer // Log filterer for contract events }
Authorizable is an auto generated Go binding around an Ethereum contract.
func NewAuthorizable ¶
func NewAuthorizable(address common.Address, backend bind.ContractBackend) (*Authorizable, error)
NewAuthorizable creates a new instance of Authorizable, bound to a specific deployed contract.
type AuthorizableAuthorizersTransferred ¶
type AuthorizableAuthorizersTransferred struct { PreviousAuthorizers common.Address NewAuthorizers common.Address Raw types.Log // Blockchain specific contextual infos }
AuthorizableAuthorizersTransferred represents a AuthorizersTransferred event raised by the Authorizable contract.
type AuthorizableAuthorizersTransferredIterator ¶
type AuthorizableAuthorizersTransferredIterator struct { Event *AuthorizableAuthorizersTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AuthorizableAuthorizersTransferredIterator is returned from FilterAuthorizersTransferred and is used to iterate over the raw logs and unpacked data for AuthorizersTransferred events raised by the Authorizable contract.
func (*AuthorizableAuthorizersTransferredIterator) Close ¶
func (it *AuthorizableAuthorizersTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AuthorizableAuthorizersTransferredIterator) Error ¶
func (it *AuthorizableAuthorizersTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AuthorizableAuthorizersTransferredIterator) Next ¶
func (it *AuthorizableAuthorizersTransferredIterator) 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 AuthorizableCaller ¶
type AuthorizableCaller struct {
// contains filtered or unexported fields
}
AuthorizableCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewAuthorizableCaller ¶
func NewAuthorizableCaller(address common.Address, caller bind.ContractCaller) (*AuthorizableCaller, error)
NewAuthorizableCaller creates a new read-only instance of Authorizable, bound to a specific deployed contract.
func (*AuthorizableCaller) Authorizers ¶
Authorizers is a free data retrieval call binding the contract method 0x56741b2c.
Solidity: function authorizers() view returns(address)
type AuthorizableCallerRaw ¶
type AuthorizableCallerRaw struct {
Contract *AuthorizableCaller // Generic read-only contract binding to access the raw methods on
}
AuthorizableCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*AuthorizableCallerRaw) Call ¶
func (_Authorizable *AuthorizableCallerRaw) 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 AuthorizableCallerSession ¶
type AuthorizableCallerSession struct { Contract *AuthorizableCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
AuthorizableCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*AuthorizableCallerSession) Authorizers ¶
func (_Authorizable *AuthorizableCallerSession) Authorizers() (common.Address, error)
Authorizers is a free data retrieval call binding the contract method 0x56741b2c.
Solidity: function authorizers() view returns(address)
type AuthorizableFilterer ¶
type AuthorizableFilterer struct {
// contains filtered or unexported fields
}
AuthorizableFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewAuthorizableFilterer ¶
func NewAuthorizableFilterer(address common.Address, filterer bind.ContractFilterer) (*AuthorizableFilterer, error)
NewAuthorizableFilterer creates a new log filterer instance of Authorizable, bound to a specific deployed contract.
func (*AuthorizableFilterer) FilterAuthorizersTransferred ¶
func (_Authorizable *AuthorizableFilterer) FilterAuthorizersTransferred(opts *bind.FilterOpts, previousAuthorizers []common.Address, newAuthorizers []common.Address) (*AuthorizableAuthorizersTransferredIterator, error)
FilterAuthorizersTransferred is a free log retrieval operation binding the contract event 0xc44d874e85f1c5b65d10c0c33020d49211b91e9f2704457f2ef269e5fb7a6b5d.
Solidity: event AuthorizersTransferred(address indexed previousAuthorizers, address indexed newAuthorizers)
func (*AuthorizableFilterer) FilterOwnershipTransferred ¶
func (_Authorizable *AuthorizableFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*AuthorizableOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*AuthorizableFilterer) ParseAuthorizersTransferred ¶
func (_Authorizable *AuthorizableFilterer) ParseAuthorizersTransferred(log types.Log) (*AuthorizableAuthorizersTransferred, error)
ParseAuthorizersTransferred is a log parse operation binding the contract event 0xc44d874e85f1c5b65d10c0c33020d49211b91e9f2704457f2ef269e5fb7a6b5d.
Solidity: event AuthorizersTransferred(address indexed previousAuthorizers, address indexed newAuthorizers)
func (*AuthorizableFilterer) ParseOwnershipTransferred ¶
func (_Authorizable *AuthorizableFilterer) ParseOwnershipTransferred(log types.Log) (*AuthorizableOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*AuthorizableFilterer) WatchAuthorizersTransferred ¶
func (_Authorizable *AuthorizableFilterer) WatchAuthorizersTransferred(opts *bind.WatchOpts, sink chan<- *AuthorizableAuthorizersTransferred, previousAuthorizers []common.Address, newAuthorizers []common.Address) (event.Subscription, error)
WatchAuthorizersTransferred is a free log subscription operation binding the contract event 0xc44d874e85f1c5b65d10c0c33020d49211b91e9f2704457f2ef269e5fb7a6b5d.
Solidity: event AuthorizersTransferred(address indexed previousAuthorizers, address indexed newAuthorizers)
func (*AuthorizableFilterer) WatchOwnershipTransferred ¶
func (_Authorizable *AuthorizableFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *AuthorizableOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
type AuthorizableOwnershipTransferred ¶
type AuthorizableOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
AuthorizableOwnershipTransferred represents a OwnershipTransferred event raised by the Authorizable contract.
type AuthorizableOwnershipTransferredIterator ¶
type AuthorizableOwnershipTransferredIterator struct { Event *AuthorizableOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AuthorizableOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Authorizable contract.
func (*AuthorizableOwnershipTransferredIterator) Close ¶
func (it *AuthorizableOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AuthorizableOwnershipTransferredIterator) Error ¶
func (it *AuthorizableOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AuthorizableOwnershipTransferredIterator) Next ¶
func (it *AuthorizableOwnershipTransferredIterator) 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 AuthorizableRaw ¶
type AuthorizableRaw struct {
Contract *Authorizable // Generic contract binding to access the raw methods on
}
AuthorizableRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*AuthorizableRaw) Call ¶
func (_Authorizable *AuthorizableRaw) 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 (*AuthorizableRaw) Transact ¶
func (_Authorizable *AuthorizableRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*AuthorizableRaw) Transfer ¶
func (_Authorizable *AuthorizableRaw) 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 AuthorizableSession ¶
type AuthorizableSession struct { Contract *Authorizable // 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 }
AuthorizableSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*AuthorizableSession) Authorizers ¶
func (_Authorizable *AuthorizableSession) Authorizers() (common.Address, error)
Authorizers is a free data retrieval call binding the contract method 0x56741b2c.
Solidity: function authorizers() view returns(address)
func (*AuthorizableSession) Owner ¶
func (_Authorizable *AuthorizableSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*AuthorizableSession) RenounceOwnership ¶
func (_Authorizable *AuthorizableSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*AuthorizableSession) TransferOwnership ¶
func (_Authorizable *AuthorizableSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type AuthorizableTransactor ¶
type AuthorizableTransactor struct {
// contains filtered or unexported fields
}
AuthorizableTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewAuthorizableTransactor ¶
func NewAuthorizableTransactor(address common.Address, transactor bind.ContractTransactor) (*AuthorizableTransactor, error)
NewAuthorizableTransactor creates a new write-only instance of Authorizable, bound to a specific deployed contract.
func (*AuthorizableTransactor) RenounceOwnership ¶
func (_Authorizable *AuthorizableTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*AuthorizableTransactor) TransferOwnership ¶
func (_Authorizable *AuthorizableTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type AuthorizableTransactorRaw ¶
type AuthorizableTransactorRaw struct {
Contract *AuthorizableTransactor // Generic write-only contract binding to access the raw methods on
}
AuthorizableTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*AuthorizableTransactorRaw) Transact ¶
func (_Authorizable *AuthorizableTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*AuthorizableTransactorRaw) Transfer ¶
func (_Authorizable *AuthorizableTransactorRaw) 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 AuthorizableTransactorSession ¶
type AuthorizableTransactorSession struct { Contract *AuthorizableTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
AuthorizableTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*AuthorizableTransactorSession) RenounceOwnership ¶
func (_Authorizable *AuthorizableTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*AuthorizableTransactorSession) TransferOwnership ¶
func (_Authorizable *AuthorizableTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type Bridge ¶
type Bridge struct { BridgeCaller // Read-only binding to the contract BridgeTransactor // Write-only binding to the contract BridgeFilterer // Log filterer for contract events }
Bridge is an auto generated Go binding around an Ethereum contract.
func DeployBridge ¶
func DeployBridge(auth *bind.TransactOpts, backend bind.ContractBackend, _token common.Address, _authorizers common.Address) (common.Address, *types.Transaction, *Bridge, error)
DeployBridge deploys a new Ethereum contract, binding an instance of Bridge to it.
type BridgeAuthorizersTransferred ¶
type BridgeAuthorizersTransferred struct { PreviousAuthorizers common.Address NewAuthorizers common.Address Raw types.Log // Blockchain specific contextual infos }
BridgeAuthorizersTransferred represents a AuthorizersTransferred event raised by the Bridge contract.
type BridgeAuthorizersTransferredIterator ¶
type BridgeAuthorizersTransferredIterator struct { Event *BridgeAuthorizersTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BridgeAuthorizersTransferredIterator is returned from FilterAuthorizersTransferred and is used to iterate over the raw logs and unpacked data for AuthorizersTransferred events raised by the Bridge contract.
func (*BridgeAuthorizersTransferredIterator) Close ¶
func (it *BridgeAuthorizersTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BridgeAuthorizersTransferredIterator) Error ¶
func (it *BridgeAuthorizersTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BridgeAuthorizersTransferredIterator) Next ¶
func (it *BridgeAuthorizersTransferredIterator) 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 BridgeBurned ¶
type BridgeBurned struct { From common.Address Amount *big.Int ClientId common.Hash Nonce *big.Int Raw types.Log // Blockchain specific contextual infos }
BridgeBurned represents a Burned event raised by the Bridge contract.
type BridgeBurnedIterator ¶
type BridgeBurnedIterator struct { Event *BridgeBurned // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BridgeBurnedIterator is returned from FilterBurned and is used to iterate over the raw logs and unpacked data for Burned events raised by the Bridge contract.
func (*BridgeBurnedIterator) Close ¶
func (it *BridgeBurnedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BridgeBurnedIterator) Error ¶
func (it *BridgeBurnedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BridgeBurnedIterator) Next ¶
func (it *BridgeBurnedIterator) 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 BridgeCaller ¶
type BridgeCaller struct {
// contains filtered or unexported fields
}
BridgeCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewBridgeCaller ¶
func NewBridgeCaller(address common.Address, caller bind.ContractCaller) (*BridgeCaller, error)
NewBridgeCaller creates a new read-only instance of Bridge, bound to a specific deployed contract.
func (*BridgeCaller) Authorizers ¶
Authorizers is a free data retrieval call binding the contract method 0x56741b2c.
Solidity: function authorizers() view returns(address)
func (*BridgeCaller) Balance ¶
Balance is a free data retrieval call binding the contract method 0xb69ef8a8.
Solidity: function balance() view returns(uint256)
type BridgeCallerRaw ¶
type BridgeCallerRaw struct {
Contract *BridgeCaller // Generic read-only contract binding to access the raw methods on
}
BridgeCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*BridgeCallerRaw) Call ¶
func (_Bridge *BridgeCallerRaw) 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 BridgeCallerSession ¶
type BridgeCallerSession struct { Contract *BridgeCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
BridgeCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*BridgeCallerSession) Authorizers ¶
func (_Bridge *BridgeCallerSession) Authorizers() (common.Address, error)
Authorizers is a free data retrieval call binding the contract method 0x56741b2c.
Solidity: function authorizers() view returns(address)
func (*BridgeCallerSession) Balance ¶
func (_Bridge *BridgeCallerSession) Balance() (*big.Int, error)
Balance is a free data retrieval call binding the contract method 0xb69ef8a8.
Solidity: function balance() view returns(uint256)
type BridgeFilterer ¶
type BridgeFilterer struct {
// contains filtered or unexported fields
}
BridgeFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewBridgeFilterer ¶
func NewBridgeFilterer(address common.Address, filterer bind.ContractFilterer) (*BridgeFilterer, error)
NewBridgeFilterer creates a new log filterer instance of Bridge, bound to a specific deployed contract.
func (*BridgeFilterer) FilterAuthorizersTransferred ¶
func (_Bridge *BridgeFilterer) FilterAuthorizersTransferred(opts *bind.FilterOpts, previousAuthorizers []common.Address, newAuthorizers []common.Address) (*BridgeAuthorizersTransferredIterator, error)
FilterAuthorizersTransferred is a free log retrieval operation binding the contract event 0xc44d874e85f1c5b65d10c0c33020d49211b91e9f2704457f2ef269e5fb7a6b5d.
Solidity: event AuthorizersTransferred(address indexed previousAuthorizers, address indexed newAuthorizers)
func (*BridgeFilterer) FilterBurned ¶
func (_Bridge *BridgeFilterer) FilterBurned(opts *bind.FilterOpts, from []common.Address, clientId [][]byte, nonce []*big.Int) (*BridgeBurnedIterator, error)
FilterBurned is a free log retrieval operation binding the contract event 0x2b1155a5de2441854f3781130b980daa499b3412053ee40fcde076774bb12df2.
Solidity: event Burned(address indexed from, uint256 amount, bytes indexed clientId, uint256 indexed nonce)
func (*BridgeFilterer) FilterMinted ¶
func (_Bridge *BridgeFilterer) FilterMinted(opts *bind.FilterOpts, to []common.Address) (*BridgeMintedIterator, error)
FilterMinted is a free log retrieval operation binding the contract event 0xe04478a4154dc31a079fa36b9ee1af057f492a47c1524ac67f2ea4c214c3de92.
Solidity: event Minted(address indexed to, uint256 amount, bytes txid, uint256 nonce)
func (*BridgeFilterer) FilterOwnershipTransferred ¶
func (_Bridge *BridgeFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*BridgeOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*BridgeFilterer) ParseAuthorizersTransferred ¶
func (_Bridge *BridgeFilterer) ParseAuthorizersTransferred(log types.Log) (*BridgeAuthorizersTransferred, error)
ParseAuthorizersTransferred is a log parse operation binding the contract event 0xc44d874e85f1c5b65d10c0c33020d49211b91e9f2704457f2ef269e5fb7a6b5d.
Solidity: event AuthorizersTransferred(address indexed previousAuthorizers, address indexed newAuthorizers)
func (*BridgeFilterer) ParseBurned ¶
func (_Bridge *BridgeFilterer) ParseBurned(log types.Log) (*BridgeBurned, error)
ParseBurned is a log parse operation binding the contract event 0x2b1155a5de2441854f3781130b980daa499b3412053ee40fcde076774bb12df2.
Solidity: event Burned(address indexed from, uint256 amount, bytes indexed clientId, uint256 indexed nonce)
func (*BridgeFilterer) ParseMinted ¶
func (_Bridge *BridgeFilterer) ParseMinted(log types.Log) (*BridgeMinted, error)
ParseMinted is a log parse operation binding the contract event 0xe04478a4154dc31a079fa36b9ee1af057f492a47c1524ac67f2ea4c214c3de92.
Solidity: event Minted(address indexed to, uint256 amount, bytes txid, uint256 nonce)
func (*BridgeFilterer) ParseOwnershipTransferred ¶
func (_Bridge *BridgeFilterer) ParseOwnershipTransferred(log types.Log) (*BridgeOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*BridgeFilterer) WatchAuthorizersTransferred ¶
func (_Bridge *BridgeFilterer) WatchAuthorizersTransferred(opts *bind.WatchOpts, sink chan<- *BridgeAuthorizersTransferred, previousAuthorizers []common.Address, newAuthorizers []common.Address) (event.Subscription, error)
WatchAuthorizersTransferred is a free log subscription operation binding the contract event 0xc44d874e85f1c5b65d10c0c33020d49211b91e9f2704457f2ef269e5fb7a6b5d.
Solidity: event AuthorizersTransferred(address indexed previousAuthorizers, address indexed newAuthorizers)
func (*BridgeFilterer) WatchBurned ¶
func (_Bridge *BridgeFilterer) WatchBurned(opts *bind.WatchOpts, sink chan<- *BridgeBurned, from []common.Address, clientId [][]byte, nonce []*big.Int) (event.Subscription, error)
WatchBurned is a free log subscription operation binding the contract event 0x2b1155a5de2441854f3781130b980daa499b3412053ee40fcde076774bb12df2.
Solidity: event Burned(address indexed from, uint256 amount, bytes indexed clientId, uint256 indexed nonce)
func (*BridgeFilterer) WatchMinted ¶
func (_Bridge *BridgeFilterer) WatchMinted(opts *bind.WatchOpts, sink chan<- *BridgeMinted, to []common.Address) (event.Subscription, error)
WatchMinted is a free log subscription operation binding the contract event 0xe04478a4154dc31a079fa36b9ee1af057f492a47c1524ac67f2ea4c214c3de92.
Solidity: event Minted(address indexed to, uint256 amount, bytes txid, uint256 nonce)
func (*BridgeFilterer) WatchOwnershipTransferred ¶
func (_Bridge *BridgeFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *BridgeOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
type BridgeMinted ¶
type BridgeMinted struct { To common.Address Amount *big.Int Txid []byte Nonce *big.Int Raw types.Log // Blockchain specific contextual infos }
BridgeMinted represents a Minted event raised by the Bridge contract.
type BridgeMintedIterator ¶
type BridgeMintedIterator struct { Event *BridgeMinted // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BridgeMintedIterator is returned from FilterMinted and is used to iterate over the raw logs and unpacked data for Minted events raised by the Bridge contract.
func (*BridgeMintedIterator) Close ¶
func (it *BridgeMintedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BridgeMintedIterator) Error ¶
func (it *BridgeMintedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BridgeMintedIterator) Next ¶
func (it *BridgeMintedIterator) 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 BridgeOwnershipTransferred ¶
type BridgeOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
BridgeOwnershipTransferred represents a OwnershipTransferred event raised by the Bridge contract.
type BridgeOwnershipTransferredIterator ¶
type BridgeOwnershipTransferredIterator struct { Event *BridgeOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BridgeOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Bridge contract.
func (*BridgeOwnershipTransferredIterator) Close ¶
func (it *BridgeOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BridgeOwnershipTransferredIterator) Error ¶
func (it *BridgeOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BridgeOwnershipTransferredIterator) Next ¶
func (it *BridgeOwnershipTransferredIterator) 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 BridgeRaw ¶
type BridgeRaw struct {
Contract *Bridge // Generic contract binding to access the raw methods on
}
BridgeRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*BridgeRaw) Call ¶
func (_Bridge *BridgeRaw) 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 (*BridgeRaw) Transact ¶
func (_Bridge *BridgeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BridgeRaw) Transfer ¶
func (_Bridge *BridgeRaw) 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 BridgeSession ¶
type BridgeSession struct { Contract *Bridge // 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 }
BridgeSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*BridgeSession) Authorizers ¶
func (_Bridge *BridgeSession) Authorizers() (common.Address, error)
Authorizers is a free data retrieval call binding the contract method 0x56741b2c.
Solidity: function authorizers() view returns(address)
func (*BridgeSession) Balance ¶
func (_Bridge *BridgeSession) Balance() (*big.Int, error)
Balance is a free data retrieval call binding the contract method 0xb69ef8a8.
Solidity: function balance() view returns(uint256)
func (*BridgeSession) Burn ¶
func (_Bridge *BridgeSession) Burn(_amount *big.Int, _clientId []byte) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0xfe9d9303.
Solidity: function burn(uint256 _amount, bytes _clientId) returns()
func (*BridgeSession) IsAuthorizationValid ¶
func (_Bridge *BridgeSession) IsAuthorizationValid(_amount *big.Int, _txid []byte, _nonce *big.Int, signature []byte) (*types.Transaction, error)
IsAuthorizationValid is a paid mutator transaction binding the contract method 0x408a12e6.
Solidity: function isAuthorizationValid(uint256 _amount, bytes _txid, uint256 _nonce, bytes signature) returns(bool)
func (*BridgeSession) Mint ¶
func (_Bridge *BridgeSession) Mint(_amount *big.Int, _txid []byte, _nonce *big.Int, signatures []byte) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x4d02be9f.
Solidity: function mint(uint256 _amount, bytes _txid, uint256 _nonce, bytes signatures) returns()
func (*BridgeSession) MintFor ¶
func (_Bridge *BridgeSession) MintFor(_for common.Address, _amount *big.Int, _txid []byte, _nonce *big.Int, signatures []byte) (*types.Transaction, error)
MintFor is a paid mutator transaction binding the contract method 0xd44a8430.
Solidity: function mintFor(address _for, uint256 _amount, bytes _txid, uint256 _nonce, bytes signatures) returns()
func (*BridgeSession) Owner ¶
func (_Bridge *BridgeSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*BridgeSession) RenounceOwnership ¶
func (_Bridge *BridgeSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*BridgeSession) RescueFunds ¶
func (_Bridge *BridgeSession) RescueFunds(tokenToRescue common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
RescueFunds is a paid mutator transaction binding the contract method 0x6ccae054.
Solidity: function rescueFunds(address tokenToRescue, address to, uint256 amount) returns(bool)
func (*BridgeSession) Token ¶
func (_Bridge *BridgeSession) Token() (common.Address, error)
Token is a free data retrieval call binding the contract method 0xfc0c546a.
Solidity: function token() view returns(address)
func (*BridgeSession) TransferOwnership ¶
func (_Bridge *BridgeSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type BridgeTransactor ¶
type BridgeTransactor struct {
// contains filtered or unexported fields
}
BridgeTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewBridgeTransactor ¶
func NewBridgeTransactor(address common.Address, transactor bind.ContractTransactor) (*BridgeTransactor, error)
NewBridgeTransactor creates a new write-only instance of Bridge, bound to a specific deployed contract.
func (*BridgeTransactor) Burn ¶
func (_Bridge *BridgeTransactor) Burn(opts *bind.TransactOpts, _amount *big.Int, _clientId []byte) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0xfe9d9303.
Solidity: function burn(uint256 _amount, bytes _clientId) returns()
func (*BridgeTransactor) IsAuthorizationValid ¶
func (_Bridge *BridgeTransactor) IsAuthorizationValid(opts *bind.TransactOpts, _amount *big.Int, _txid []byte, _nonce *big.Int, signature []byte) (*types.Transaction, error)
IsAuthorizationValid is a paid mutator transaction binding the contract method 0x408a12e6.
Solidity: function isAuthorizationValid(uint256 _amount, bytes _txid, uint256 _nonce, bytes signature) returns(bool)
func (*BridgeTransactor) Mint ¶
func (_Bridge *BridgeTransactor) Mint(opts *bind.TransactOpts, _amount *big.Int, _txid []byte, _nonce *big.Int, signatures []byte) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x4d02be9f.
Solidity: function mint(uint256 _amount, bytes _txid, uint256 _nonce, bytes signatures) returns()
func (*BridgeTransactor) MintFor ¶
func (_Bridge *BridgeTransactor) MintFor(opts *bind.TransactOpts, _for common.Address, _amount *big.Int, _txid []byte, _nonce *big.Int, signatures []byte) (*types.Transaction, error)
MintFor is a paid mutator transaction binding the contract method 0xd44a8430.
Solidity: function mintFor(address _for, uint256 _amount, bytes _txid, uint256 _nonce, bytes signatures) returns()
func (*BridgeTransactor) RenounceOwnership ¶
func (_Bridge *BridgeTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*BridgeTransactor) RescueFunds ¶
func (_Bridge *BridgeTransactor) RescueFunds(opts *bind.TransactOpts, tokenToRescue common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
RescueFunds is a paid mutator transaction binding the contract method 0x6ccae054.
Solidity: function rescueFunds(address tokenToRescue, address to, uint256 amount) returns(bool)
func (*BridgeTransactor) TransferOwnership ¶
func (_Bridge *BridgeTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type BridgeTransactorRaw ¶
type BridgeTransactorRaw struct {
Contract *BridgeTransactor // Generic write-only contract binding to access the raw methods on
}
BridgeTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*BridgeTransactorRaw) Transact ¶
func (_Bridge *BridgeTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BridgeTransactorRaw) Transfer ¶
func (_Bridge *BridgeTransactorRaw) 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 BridgeTransactorSession ¶
type BridgeTransactorSession struct { Contract *BridgeTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
BridgeTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*BridgeTransactorSession) Burn ¶
func (_Bridge *BridgeTransactorSession) Burn(_amount *big.Int, _clientId []byte) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0xfe9d9303.
Solidity: function burn(uint256 _amount, bytes _clientId) returns()
func (*BridgeTransactorSession) IsAuthorizationValid ¶
func (_Bridge *BridgeTransactorSession) IsAuthorizationValid(_amount *big.Int, _txid []byte, _nonce *big.Int, signature []byte) (*types.Transaction, error)
IsAuthorizationValid is a paid mutator transaction binding the contract method 0x408a12e6.
Solidity: function isAuthorizationValid(uint256 _amount, bytes _txid, uint256 _nonce, bytes signature) returns(bool)
func (*BridgeTransactorSession) Mint ¶
func (_Bridge *BridgeTransactorSession) Mint(_amount *big.Int, _txid []byte, _nonce *big.Int, signatures []byte) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x4d02be9f.
Solidity: function mint(uint256 _amount, bytes _txid, uint256 _nonce, bytes signatures) returns()
func (*BridgeTransactorSession) MintFor ¶
func (_Bridge *BridgeTransactorSession) MintFor(_for common.Address, _amount *big.Int, _txid []byte, _nonce *big.Int, signatures []byte) (*types.Transaction, error)
MintFor is a paid mutator transaction binding the contract method 0xd44a8430.
Solidity: function mintFor(address _for, uint256 _amount, bytes _txid, uint256 _nonce, bytes signatures) returns()
func (*BridgeTransactorSession) RenounceOwnership ¶
func (_Bridge *BridgeTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*BridgeTransactorSession) RescueFunds ¶
func (_Bridge *BridgeTransactorSession) RescueFunds(tokenToRescue common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
RescueFunds is a paid mutator transaction binding the contract method 0x6ccae054.
Solidity: function rescueFunds(address tokenToRescue, address to, uint256 amount) returns(bool)
func (*BridgeTransactorSession) TransferOwnership ¶
func (_Bridge *BridgeTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type Context ¶
type Context struct { ContextCaller // Read-only binding to the contract ContextTransactor // Write-only binding to the contract ContextFilterer // Log filterer for contract events }
Context is an auto generated Go binding around an Ethereum contract.
func NewContext ¶
NewContext creates a new instance of Context, bound to a specific deployed contract.
type ContextCaller ¶
type ContextCaller struct {
// contains filtered or unexported fields
}
ContextCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewContextCaller ¶
func NewContextCaller(address common.Address, caller bind.ContractCaller) (*ContextCaller, error)
NewContextCaller creates a new read-only instance of Context, bound to a specific deployed contract.
type ContextCallerRaw ¶
type ContextCallerRaw struct {
Contract *ContextCaller // Generic read-only contract binding to access the raw methods on
}
ContextCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ContextCallerRaw) Call ¶
func (_Context *ContextCallerRaw) 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 ContextCallerSession ¶
type ContextCallerSession struct { Contract *ContextCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ContextCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type ContextFilterer ¶
type ContextFilterer struct {
// contains filtered or unexported fields
}
ContextFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewContextFilterer ¶
func NewContextFilterer(address common.Address, filterer bind.ContractFilterer) (*ContextFilterer, error)
NewContextFilterer creates a new log filterer instance of Context, bound to a specific deployed contract.
type ContextRaw ¶
type ContextRaw struct {
Contract *Context // Generic contract binding to access the raw methods on
}
ContextRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ContextRaw) Call ¶
func (_Context *ContextRaw) 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 (*ContextRaw) Transact ¶
func (_Context *ContextRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ContextRaw) Transfer ¶
func (_Context *ContextRaw) 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 ContextSession ¶
type ContextSession struct { Contract *Context // 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 }
ContextSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type ContextTransactor ¶
type ContextTransactor struct {
// contains filtered or unexported fields
}
ContextTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewContextTransactor ¶
func NewContextTransactor(address common.Address, transactor bind.ContractTransactor) (*ContextTransactor, error)
NewContextTransactor creates a new write-only instance of Context, bound to a specific deployed contract.
type ContextTransactorRaw ¶
type ContextTransactorRaw struct {
Contract *ContextTransactor // Generic write-only contract binding to access the raw methods on
}
ContextTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ContextTransactorRaw) Transact ¶
func (_Context *ContextTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ContextTransactorRaw) Transfer ¶
func (_Context *ContextTransactorRaw) 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 ContextTransactorSession ¶
type ContextTransactorSession struct { Contract *ContextTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ContextTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type IAuthorizers ¶
type IAuthorizers struct { IAuthorizersCaller // Read-only binding to the contract IAuthorizersTransactor // Write-only binding to the contract IAuthorizersFilterer // Log filterer for contract events }
IAuthorizers is an auto generated Go binding around an Ethereum contract.
func NewIAuthorizers ¶
func NewIAuthorizers(address common.Address, backend bind.ContractBackend) (*IAuthorizers, error)
NewIAuthorizers creates a new instance of IAuthorizers, bound to a specific deployed contract.
type IAuthorizersCaller ¶
type IAuthorizersCaller struct {
// contains filtered or unexported fields
}
IAuthorizersCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewIAuthorizersCaller ¶
func NewIAuthorizersCaller(address common.Address, caller bind.ContractCaller) (*IAuthorizersCaller, error)
NewIAuthorizersCaller creates a new read-only instance of IAuthorizers, bound to a specific deployed contract.
type IAuthorizersCallerRaw ¶
type IAuthorizersCallerRaw struct {
Contract *IAuthorizersCaller // Generic read-only contract binding to access the raw methods on
}
IAuthorizersCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*IAuthorizersCallerRaw) Call ¶
func (_IAuthorizers *IAuthorizersCallerRaw) 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 IAuthorizersCallerSession ¶
type IAuthorizersCallerSession struct { Contract *IAuthorizersCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
IAuthorizersCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type IAuthorizersFilterer ¶
type IAuthorizersFilterer struct {
// contains filtered or unexported fields
}
IAuthorizersFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewIAuthorizersFilterer ¶
func NewIAuthorizersFilterer(address common.Address, filterer bind.ContractFilterer) (*IAuthorizersFilterer, error)
NewIAuthorizersFilterer creates a new log filterer instance of IAuthorizers, bound to a specific deployed contract.
type IAuthorizersRaw ¶
type IAuthorizersRaw struct {
Contract *IAuthorizers // Generic contract binding to access the raw methods on
}
IAuthorizersRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*IAuthorizersRaw) Call ¶
func (_IAuthorizers *IAuthorizersRaw) 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 (*IAuthorizersRaw) Transact ¶
func (_IAuthorizers *IAuthorizersRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IAuthorizersRaw) Transfer ¶
func (_IAuthorizers *IAuthorizersRaw) 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 IAuthorizersSession ¶
type IAuthorizersSession struct { Contract *IAuthorizers // 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 }
IAuthorizersSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*IAuthorizersSession) Authorize ¶
func (_IAuthorizers *IAuthorizersSession) Authorize(message [32]byte, signatures []byte) (*types.Transaction, error)
Authorize is a paid mutator transaction binding the contract method 0x296bb816.
Solidity: function authorize(bytes32 message, bytes signatures) returns(bool)
func (*IAuthorizersSession) Message ¶
func (_IAuthorizers *IAuthorizersSession) Message(_to common.Address, _amount *big.Int, _txid []byte, _nonce *big.Int) (*types.Transaction, error)
Message is a paid mutator transaction binding the contract method 0xf4fd62e3.
Solidity: function message(address _to, uint256 _amount, bytes _txid, uint256 _nonce) returns(bytes32)
type IAuthorizersTransactor ¶
type IAuthorizersTransactor struct {
// contains filtered or unexported fields
}
IAuthorizersTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewIAuthorizersTransactor ¶
func NewIAuthorizersTransactor(address common.Address, transactor bind.ContractTransactor) (*IAuthorizersTransactor, error)
NewIAuthorizersTransactor creates a new write-only instance of IAuthorizers, bound to a specific deployed contract.
func (*IAuthorizersTransactor) Authorize ¶
func (_IAuthorizers *IAuthorizersTransactor) Authorize(opts *bind.TransactOpts, message [32]byte, signatures []byte) (*types.Transaction, error)
Authorize is a paid mutator transaction binding the contract method 0x296bb816.
Solidity: function authorize(bytes32 message, bytes signatures) returns(bool)
func (*IAuthorizersTransactor) Message ¶
func (_IAuthorizers *IAuthorizersTransactor) Message(opts *bind.TransactOpts, _to common.Address, _amount *big.Int, _txid []byte, _nonce *big.Int) (*types.Transaction, error)
Message is a paid mutator transaction binding the contract method 0xf4fd62e3.
Solidity: function message(address _to, uint256 _amount, bytes _txid, uint256 _nonce) returns(bytes32)
type IAuthorizersTransactorRaw ¶
type IAuthorizersTransactorRaw struct {
Contract *IAuthorizersTransactor // Generic write-only contract binding to access the raw methods on
}
IAuthorizersTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*IAuthorizersTransactorRaw) Transact ¶
func (_IAuthorizers *IAuthorizersTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IAuthorizersTransactorRaw) Transfer ¶
func (_IAuthorizers *IAuthorizersTransactorRaw) 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 IAuthorizersTransactorSession ¶
type IAuthorizersTransactorSession struct { Contract *IAuthorizersTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
IAuthorizersTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*IAuthorizersTransactorSession) Authorize ¶
func (_IAuthorizers *IAuthorizersTransactorSession) Authorize(message [32]byte, signatures []byte) (*types.Transaction, error)
Authorize is a paid mutator transaction binding the contract method 0x296bb816.
Solidity: function authorize(bytes32 message, bytes signatures) returns(bool)
func (*IAuthorizersTransactorSession) Message ¶
func (_IAuthorizers *IAuthorizersTransactorSession) Message(_to common.Address, _amount *big.Int, _txid []byte, _nonce *big.Int) (*types.Transaction, error)
Message is a paid mutator transaction binding the contract method 0xf4fd62e3.
Solidity: function message(address _to, uint256 _amount, bytes _txid, uint256 _nonce) returns(bytes32)
type IBridge ¶
type IBridge struct { IBridgeCaller // Read-only binding to the contract IBridgeTransactor // Write-only binding to the contract IBridgeFilterer // Log filterer for contract events }
IBridge is an auto generated Go binding around an Ethereum contract.
func NewIBridge ¶
NewIBridge creates a new instance of IBridge, bound to a specific deployed contract.
type IBridgeBurned ¶
type IBridgeBurned struct { From common.Address Amount *big.Int ClientId common.Hash Nonce *big.Int Raw types.Log // Blockchain specific contextual infos }
IBridgeBurned represents a Burned event raised by the IBridge contract.
type IBridgeBurnedIterator ¶
type IBridgeBurnedIterator struct { Event *IBridgeBurned // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IBridgeBurnedIterator is returned from FilterBurned and is used to iterate over the raw logs and unpacked data for Burned events raised by the IBridge contract.
func (*IBridgeBurnedIterator) Close ¶
func (it *IBridgeBurnedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IBridgeBurnedIterator) Error ¶
func (it *IBridgeBurnedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IBridgeBurnedIterator) Next ¶
func (it *IBridgeBurnedIterator) 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 IBridgeCaller ¶
type IBridgeCaller struct {
// contains filtered or unexported fields
}
IBridgeCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewIBridgeCaller ¶
func NewIBridgeCaller(address common.Address, caller bind.ContractCaller) (*IBridgeCaller, error)
NewIBridgeCaller creates a new read-only instance of IBridge, bound to a specific deployed contract.
type IBridgeCallerRaw ¶
type IBridgeCallerRaw struct {
Contract *IBridgeCaller // Generic read-only contract binding to access the raw methods on
}
IBridgeCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*IBridgeCallerRaw) Call ¶
func (_IBridge *IBridgeCallerRaw) 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 IBridgeCallerSession ¶
type IBridgeCallerSession struct { Contract *IBridgeCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
IBridgeCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type IBridgeFilterer ¶
type IBridgeFilterer struct {
// contains filtered or unexported fields
}
IBridgeFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewIBridgeFilterer ¶
func NewIBridgeFilterer(address common.Address, filterer bind.ContractFilterer) (*IBridgeFilterer, error)
NewIBridgeFilterer creates a new log filterer instance of IBridge, bound to a specific deployed contract.
func (*IBridgeFilterer) FilterBurned ¶
func (_IBridge *IBridgeFilterer) FilterBurned(opts *bind.FilterOpts, from []common.Address, clientId [][]byte, nonce []*big.Int) (*IBridgeBurnedIterator, error)
FilterBurned is a free log retrieval operation binding the contract event 0x2b1155a5de2441854f3781130b980daa499b3412053ee40fcde076774bb12df2.
Solidity: event Burned(address indexed from, uint256 amount, bytes indexed clientId, uint256 indexed nonce)
func (*IBridgeFilterer) FilterMinted ¶
func (_IBridge *IBridgeFilterer) FilterMinted(opts *bind.FilterOpts, to []common.Address) (*IBridgeMintedIterator, error)
FilterMinted is a free log retrieval operation binding the contract event 0xe04478a4154dc31a079fa36b9ee1af057f492a47c1524ac67f2ea4c214c3de92.
Solidity: event Minted(address indexed to, uint256 amount, bytes txid, uint256 nonce)
func (*IBridgeFilterer) ParseBurned ¶
func (_IBridge *IBridgeFilterer) ParseBurned(log types.Log) (*IBridgeBurned, error)
ParseBurned is a log parse operation binding the contract event 0x2b1155a5de2441854f3781130b980daa499b3412053ee40fcde076774bb12df2.
Solidity: event Burned(address indexed from, uint256 amount, bytes indexed clientId, uint256 indexed nonce)
func (*IBridgeFilterer) ParseMinted ¶
func (_IBridge *IBridgeFilterer) ParseMinted(log types.Log) (*IBridgeMinted, error)
ParseMinted is a log parse operation binding the contract event 0xe04478a4154dc31a079fa36b9ee1af057f492a47c1524ac67f2ea4c214c3de92.
Solidity: event Minted(address indexed to, uint256 amount, bytes txid, uint256 nonce)
func (*IBridgeFilterer) WatchBurned ¶
func (_IBridge *IBridgeFilterer) WatchBurned(opts *bind.WatchOpts, sink chan<- *IBridgeBurned, from []common.Address, clientId [][]byte, nonce []*big.Int) (event.Subscription, error)
WatchBurned is a free log subscription operation binding the contract event 0x2b1155a5de2441854f3781130b980daa499b3412053ee40fcde076774bb12df2.
Solidity: event Burned(address indexed from, uint256 amount, bytes indexed clientId, uint256 indexed nonce)
func (*IBridgeFilterer) WatchMinted ¶
func (_IBridge *IBridgeFilterer) WatchMinted(opts *bind.WatchOpts, sink chan<- *IBridgeMinted, to []common.Address) (event.Subscription, error)
WatchMinted is a free log subscription operation binding the contract event 0xe04478a4154dc31a079fa36b9ee1af057f492a47c1524ac67f2ea4c214c3de92.
Solidity: event Minted(address indexed to, uint256 amount, bytes txid, uint256 nonce)
type IBridgeMinted ¶
type IBridgeMinted struct { To common.Address Amount *big.Int Txid []byte Nonce *big.Int Raw types.Log // Blockchain specific contextual infos }
IBridgeMinted represents a Minted event raised by the IBridge contract.
type IBridgeMintedIterator ¶
type IBridgeMintedIterator struct { Event *IBridgeMinted // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IBridgeMintedIterator is returned from FilterMinted and is used to iterate over the raw logs and unpacked data for Minted events raised by the IBridge contract.
func (*IBridgeMintedIterator) Close ¶
func (it *IBridgeMintedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IBridgeMintedIterator) Error ¶
func (it *IBridgeMintedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IBridgeMintedIterator) Next ¶
func (it *IBridgeMintedIterator) 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 IBridgeRaw ¶
type IBridgeRaw struct {
Contract *IBridge // Generic contract binding to access the raw methods on
}
IBridgeRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*IBridgeRaw) Call ¶
func (_IBridge *IBridgeRaw) 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 (*IBridgeRaw) Transact ¶
func (_IBridge *IBridgeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IBridgeRaw) Transfer ¶
func (_IBridge *IBridgeRaw) 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 IBridgeSession ¶
type IBridgeSession struct { Contract *IBridge // 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 }
IBridgeSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*IBridgeSession) Burn ¶
func (_IBridge *IBridgeSession) Burn(_amount *big.Int, _clientId []byte) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0xfe9d9303.
Solidity: function burn(uint256 _amount, bytes _clientId) returns()
func (*IBridgeSession) Mint ¶
func (_IBridge *IBridgeSession) Mint(_amount *big.Int, _txid []byte, _nonce *big.Int, signatures []byte) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x4d02be9f.
Solidity: function mint(uint256 _amount, bytes _txid, uint256 _nonce, bytes signatures) returns()
type IBridgeTransactor ¶
type IBridgeTransactor struct {
// contains filtered or unexported fields
}
IBridgeTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewIBridgeTransactor ¶
func NewIBridgeTransactor(address common.Address, transactor bind.ContractTransactor) (*IBridgeTransactor, error)
NewIBridgeTransactor creates a new write-only instance of IBridge, bound to a specific deployed contract.
func (*IBridgeTransactor) Burn ¶
func (_IBridge *IBridgeTransactor) Burn(opts *bind.TransactOpts, _amount *big.Int, _clientId []byte) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0xfe9d9303.
Solidity: function burn(uint256 _amount, bytes _clientId) returns()
func (*IBridgeTransactor) Mint ¶
func (_IBridge *IBridgeTransactor) Mint(opts *bind.TransactOpts, _amount *big.Int, _txid []byte, _nonce *big.Int, signatures []byte) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x4d02be9f.
Solidity: function mint(uint256 _amount, bytes _txid, uint256 _nonce, bytes signatures) returns()
type IBridgeTransactorRaw ¶
type IBridgeTransactorRaw struct {
Contract *IBridgeTransactor // Generic write-only contract binding to access the raw methods on
}
IBridgeTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*IBridgeTransactorRaw) Transact ¶
func (_IBridge *IBridgeTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IBridgeTransactorRaw) Transfer ¶
func (_IBridge *IBridgeTransactorRaw) 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 IBridgeTransactorSession ¶
type IBridgeTransactorSession struct { Contract *IBridgeTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
IBridgeTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*IBridgeTransactorSession) Burn ¶
func (_IBridge *IBridgeTransactorSession) Burn(_amount *big.Int, _clientId []byte) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0xfe9d9303.
Solidity: function burn(uint256 _amount, bytes _clientId) returns()
func (*IBridgeTransactorSession) Mint ¶
func (_IBridge *IBridgeTransactorSession) Mint(_amount *big.Int, _txid []byte, _nonce *big.Int, signatures []byte) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x4d02be9f.
Solidity: function mint(uint256 _amount, bytes _txid, uint256 _nonce, bytes signatures) returns()
type IERC20 ¶
type IERC20 struct { IERC20Caller // Read-only binding to the contract IERC20Transactor // Write-only binding to the contract IERC20Filterer // Log filterer for contract events }
IERC20 is an auto generated Go binding around an Ethereum contract.
type IERC20Approval ¶
type IERC20Approval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
IERC20Approval represents a Approval event raised by the IERC20 contract.
type IERC20ApprovalIterator ¶
type IERC20ApprovalIterator struct { Event *IERC20Approval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IERC20ApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the IERC20 contract.
func (*IERC20ApprovalIterator) Close ¶
func (it *IERC20ApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IERC20ApprovalIterator) Error ¶
func (it *IERC20ApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IERC20ApprovalIterator) Next ¶
func (it *IERC20ApprovalIterator) 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 IERC20Caller ¶
type IERC20Caller struct {
// contains filtered or unexported fields
}
IERC20Caller is an auto generated read-only Go binding around an Ethereum contract.
func NewIERC20Caller ¶
func NewIERC20Caller(address common.Address, caller bind.ContractCaller) (*IERC20Caller, error)
NewIERC20Caller creates a new read-only instance of IERC20, bound to a specific deployed contract.
func (*IERC20Caller) Allowance ¶
func (_IERC20 *IERC20Caller) 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 (*IERC20Caller) BalanceOf ¶
func (_IERC20 *IERC20Caller) 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 (*IERC20Caller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type IERC20CallerRaw ¶
type IERC20CallerRaw struct {
Contract *IERC20Caller // Generic read-only contract binding to access the raw methods on
}
IERC20CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*IERC20CallerRaw) Call ¶
func (_IERC20 *IERC20CallerRaw) 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 IERC20CallerSession ¶
type IERC20CallerSession struct { Contract *IERC20Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
IERC20CallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*IERC20CallerSession) Allowance ¶
func (_IERC20 *IERC20CallerSession) 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 (*IERC20CallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*IERC20CallerSession) TotalSupply ¶
func (_IERC20 *IERC20CallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type IERC20Filterer ¶
type IERC20Filterer struct {
// contains filtered or unexported fields
}
IERC20Filterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewIERC20Filterer ¶
func NewIERC20Filterer(address common.Address, filterer bind.ContractFilterer) (*IERC20Filterer, error)
NewIERC20Filterer creates a new log filterer instance of IERC20, bound to a specific deployed contract.
func (*IERC20Filterer) FilterApproval ¶
func (_IERC20 *IERC20Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*IERC20ApprovalIterator, 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 (*IERC20Filterer) FilterTransfer ¶
func (_IERC20 *IERC20Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*IERC20TransferIterator, 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 (*IERC20Filterer) ParseApproval ¶
func (_IERC20 *IERC20Filterer) ParseApproval(log types.Log) (*IERC20Approval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*IERC20Filterer) ParseTransfer ¶
func (_IERC20 *IERC20Filterer) ParseTransfer(log types.Log) (*IERC20Transfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*IERC20Filterer) WatchApproval ¶
func (_IERC20 *IERC20Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *IERC20Approval, 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 (*IERC20Filterer) WatchTransfer ¶
func (_IERC20 *IERC20Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *IERC20Transfer, 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 IERC20Raw ¶
type IERC20Raw struct {
Contract *IERC20 // Generic contract binding to access the raw methods on
}
IERC20Raw is an auto generated low-level Go binding around an Ethereum contract.
func (*IERC20Raw) Call ¶
func (_IERC20 *IERC20Raw) 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 (*IERC20Raw) Transact ¶
func (_IERC20 *IERC20Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IERC20Raw) Transfer ¶
func (_IERC20 *IERC20Raw) 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 IERC20Session ¶
type IERC20Session struct { Contract *IERC20 // 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 }
IERC20Session is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*IERC20Session) Allowance ¶
func (_IERC20 *IERC20Session) 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 (*IERC20Session) Approve ¶
func (_IERC20 *IERC20Session) 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 (*IERC20Session) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*IERC20Session) TotalSupply ¶
func (_IERC20 *IERC20Session) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*IERC20Session) Transfer ¶
func (_IERC20 *IERC20Session) 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 (*IERC20Session) TransferFrom ¶
func (_IERC20 *IERC20Session) 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 IERC20Transactor ¶
type IERC20Transactor struct {
// contains filtered or unexported fields
}
IERC20Transactor is an auto generated write-only Go binding around an Ethereum contract.
func NewIERC20Transactor ¶
func NewIERC20Transactor(address common.Address, transactor bind.ContractTransactor) (*IERC20Transactor, error)
NewIERC20Transactor creates a new write-only instance of IERC20, bound to a specific deployed contract.
func (*IERC20Transactor) Approve ¶
func (_IERC20 *IERC20Transactor) 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 (*IERC20Transactor) Transfer ¶
func (_IERC20 *IERC20Transactor) 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 (*IERC20Transactor) TransferFrom ¶
func (_IERC20 *IERC20Transactor) 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 IERC20TransactorRaw ¶
type IERC20TransactorRaw struct {
Contract *IERC20Transactor // Generic write-only contract binding to access the raw methods on
}
IERC20TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*IERC20TransactorRaw) Transact ¶
func (_IERC20 *IERC20TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IERC20TransactorRaw) Transfer ¶
func (_IERC20 *IERC20TransactorRaw) 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 IERC20TransactorSession ¶
type IERC20TransactorSession struct { Contract *IERC20Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
IERC20TransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*IERC20TransactorSession) Approve ¶
func (_IERC20 *IERC20TransactorSession) 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 (*IERC20TransactorSession) Transfer ¶
func (_IERC20 *IERC20TransactorSession) 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 (*IERC20TransactorSession) TransferFrom ¶
func (_IERC20 *IERC20TransactorSession) 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 IERC20Transfer ¶
type IERC20Transfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
IERC20Transfer represents a Transfer event raised by the IERC20 contract.
type IERC20TransferIterator ¶
type IERC20TransferIterator struct { Event *IERC20Transfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IERC20TransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the IERC20 contract.
func (*IERC20TransferIterator) Close ¶
func (it *IERC20TransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IERC20TransferIterator) Error ¶
func (it *IERC20TransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IERC20TransferIterator) Next ¶
func (it *IERC20TransferIterator) 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 Ownable ¶
type Ownable struct { OwnableCaller // Read-only binding to the contract OwnableTransactor // Write-only binding to the contract OwnableFilterer // Log filterer for contract events }
Ownable is an auto generated Go binding around an Ethereum contract.
func NewOwnable ¶
NewOwnable creates a new instance of Ownable, bound to a specific deployed contract.
type OwnableCaller ¶
type OwnableCaller struct {
// contains filtered or unexported fields
}
OwnableCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewOwnableCaller ¶
func NewOwnableCaller(address common.Address, caller bind.ContractCaller) (*OwnableCaller, error)
NewOwnableCaller creates a new read-only instance of Ownable, bound to a specific deployed contract.
type OwnableCallerRaw ¶
type OwnableCallerRaw struct {
Contract *OwnableCaller // Generic read-only contract binding to access the raw methods on
}
OwnableCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*OwnableCallerRaw) Call ¶
func (_Ownable *OwnableCallerRaw) 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 OwnableCallerSession ¶
type OwnableCallerSession struct { Contract *OwnableCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
OwnableCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type OwnableFilterer ¶
type OwnableFilterer struct {
// contains filtered or unexported fields
}
OwnableFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewOwnableFilterer ¶
func NewOwnableFilterer(address common.Address, filterer bind.ContractFilterer) (*OwnableFilterer, error)
NewOwnableFilterer creates a new log filterer instance of Ownable, bound to a specific deployed contract.
func (*OwnableFilterer) FilterOwnershipTransferred ¶
func (_Ownable *OwnableFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*OwnableOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*OwnableFilterer) ParseOwnershipTransferred ¶
func (_Ownable *OwnableFilterer) ParseOwnershipTransferred(log types.Log) (*OwnableOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*OwnableFilterer) WatchOwnershipTransferred ¶
func (_Ownable *OwnableFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *OwnableOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
type OwnableOwnershipTransferred ¶
type OwnableOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
OwnableOwnershipTransferred represents a OwnershipTransferred event raised by the Ownable contract.
type OwnableOwnershipTransferredIterator ¶
type OwnableOwnershipTransferredIterator struct { Event *OwnableOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
OwnableOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Ownable contract.
func (*OwnableOwnershipTransferredIterator) Close ¶
func (it *OwnableOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*OwnableOwnershipTransferredIterator) Error ¶
func (it *OwnableOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*OwnableOwnershipTransferredIterator) Next ¶
func (it *OwnableOwnershipTransferredIterator) 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 OwnableRaw ¶
type OwnableRaw struct {
Contract *Ownable // Generic contract binding to access the raw methods on
}
OwnableRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*OwnableRaw) Call ¶
func (_Ownable *OwnableRaw) 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 (*OwnableRaw) Transact ¶
func (_Ownable *OwnableRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*OwnableRaw) Transfer ¶
func (_Ownable *OwnableRaw) 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 OwnableSession ¶
type OwnableSession struct { Contract *Ownable // 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 }
OwnableSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*OwnableSession) Owner ¶
func (_Ownable *OwnableSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*OwnableSession) RenounceOwnership ¶
func (_Ownable *OwnableSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*OwnableSession) TransferOwnership ¶
func (_Ownable *OwnableSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type OwnableTransactor ¶
type OwnableTransactor struct {
// contains filtered or unexported fields
}
OwnableTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewOwnableTransactor ¶
func NewOwnableTransactor(address common.Address, transactor bind.ContractTransactor) (*OwnableTransactor, error)
NewOwnableTransactor creates a new write-only instance of Ownable, bound to a specific deployed contract.
func (*OwnableTransactor) RenounceOwnership ¶
func (_Ownable *OwnableTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*OwnableTransactor) TransferOwnership ¶
func (_Ownable *OwnableTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type OwnableTransactorRaw ¶
type OwnableTransactorRaw struct {
Contract *OwnableTransactor // Generic write-only contract binding to access the raw methods on
}
OwnableTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*OwnableTransactorRaw) Transact ¶
func (_Ownable *OwnableTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*OwnableTransactorRaw) Transfer ¶
func (_Ownable *OwnableTransactorRaw) 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 OwnableTransactorSession ¶
type OwnableTransactorSession struct { Contract *OwnableTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
OwnableTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*OwnableTransactorSession) RenounceOwnership ¶
func (_Ownable *OwnableTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*OwnableTransactorSession) TransferOwnership ¶
func (_Ownable *OwnableTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type TokenPool ¶
type TokenPool struct { TokenPoolCaller // Read-only binding to the contract TokenPoolTransactor // Write-only binding to the contract TokenPoolFilterer // Log filterer for contract events }
TokenPool is an auto generated Go binding around an Ethereum contract.
func DeployTokenPool ¶
func DeployTokenPool(auth *bind.TransactOpts, backend bind.ContractBackend, _token common.Address) (common.Address, *types.Transaction, *TokenPool, error)
DeployTokenPool deploys a new Ethereum contract, binding an instance of TokenPool to it.
func NewTokenPool ¶
NewTokenPool creates a new instance of TokenPool, bound to a specific deployed contract.
type TokenPoolCaller ¶
type TokenPoolCaller struct {
// contains filtered or unexported fields
}
TokenPoolCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewTokenPoolCaller ¶
func NewTokenPoolCaller(address common.Address, caller bind.ContractCaller) (*TokenPoolCaller, error)
NewTokenPoolCaller creates a new read-only instance of TokenPool, bound to a specific deployed contract.
func (*TokenPoolCaller) Balance ¶
Balance is a free data retrieval call binding the contract method 0xb69ef8a8.
Solidity: function balance() view returns(uint256)
type TokenPoolCallerRaw ¶
type TokenPoolCallerRaw struct {
Contract *TokenPoolCaller // Generic read-only contract binding to access the raw methods on
}
TokenPoolCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*TokenPoolCallerRaw) Call ¶
func (_TokenPool *TokenPoolCallerRaw) 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 TokenPoolCallerSession ¶
type TokenPoolCallerSession struct { Contract *TokenPoolCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
TokenPoolCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*TokenPoolCallerSession) Balance ¶
func (_TokenPool *TokenPoolCallerSession) Balance() (*big.Int, error)
Balance is a free data retrieval call binding the contract method 0xb69ef8a8.
Solidity: function balance() view returns(uint256)
type TokenPoolFilterer ¶
type TokenPoolFilterer struct {
// contains filtered or unexported fields
}
TokenPoolFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewTokenPoolFilterer ¶
func NewTokenPoolFilterer(address common.Address, filterer bind.ContractFilterer) (*TokenPoolFilterer, error)
NewTokenPoolFilterer creates a new log filterer instance of TokenPool, bound to a specific deployed contract.
func (*TokenPoolFilterer) FilterOwnershipTransferred ¶
func (_TokenPool *TokenPoolFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*TokenPoolOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*TokenPoolFilterer) ParseOwnershipTransferred ¶
func (_TokenPool *TokenPoolFilterer) ParseOwnershipTransferred(log types.Log) (*TokenPoolOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*TokenPoolFilterer) WatchOwnershipTransferred ¶
func (_TokenPool *TokenPoolFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *TokenPoolOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
type TokenPoolOwnershipTransferred ¶
type TokenPoolOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
TokenPoolOwnershipTransferred represents a OwnershipTransferred event raised by the TokenPool contract.
type TokenPoolOwnershipTransferredIterator ¶
type TokenPoolOwnershipTransferredIterator struct { Event *TokenPoolOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TokenPoolOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the TokenPool contract.
func (*TokenPoolOwnershipTransferredIterator) Close ¶
func (it *TokenPoolOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TokenPoolOwnershipTransferredIterator) Error ¶
func (it *TokenPoolOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TokenPoolOwnershipTransferredIterator) Next ¶
func (it *TokenPoolOwnershipTransferredIterator) 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 TokenPoolRaw ¶
type TokenPoolRaw struct {
Contract *TokenPool // Generic contract binding to access the raw methods on
}
TokenPoolRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*TokenPoolRaw) Call ¶
func (_TokenPool *TokenPoolRaw) 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 (*TokenPoolRaw) Transact ¶
func (_TokenPool *TokenPoolRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*TokenPoolRaw) Transfer ¶
func (_TokenPool *TokenPoolRaw) 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 TokenPoolSession ¶
type TokenPoolSession struct { Contract *TokenPool // 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 }
TokenPoolSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*TokenPoolSession) Balance ¶
func (_TokenPool *TokenPoolSession) Balance() (*big.Int, error)
Balance is a free data retrieval call binding the contract method 0xb69ef8a8.
Solidity: function balance() view returns(uint256)
func (*TokenPoolSession) Owner ¶
func (_TokenPool *TokenPoolSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*TokenPoolSession) RenounceOwnership ¶
func (_TokenPool *TokenPoolSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*TokenPoolSession) RescueFunds ¶
func (_TokenPool *TokenPoolSession) RescueFunds(tokenToRescue common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
RescueFunds is a paid mutator transaction binding the contract method 0x6ccae054.
Solidity: function rescueFunds(address tokenToRescue, address to, uint256 amount) returns(bool)
func (*TokenPoolSession) Token ¶
func (_TokenPool *TokenPoolSession) Token() (common.Address, error)
Token is a free data retrieval call binding the contract method 0xfc0c546a.
Solidity: function token() view returns(address)
func (*TokenPoolSession) TransferOwnership ¶
func (_TokenPool *TokenPoolSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type TokenPoolTransactor ¶
type TokenPoolTransactor struct {
// contains filtered or unexported fields
}
TokenPoolTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewTokenPoolTransactor ¶
func NewTokenPoolTransactor(address common.Address, transactor bind.ContractTransactor) (*TokenPoolTransactor, error)
NewTokenPoolTransactor creates a new write-only instance of TokenPool, bound to a specific deployed contract.
func (*TokenPoolTransactor) RenounceOwnership ¶
func (_TokenPool *TokenPoolTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*TokenPoolTransactor) RescueFunds ¶
func (_TokenPool *TokenPoolTransactor) RescueFunds(opts *bind.TransactOpts, tokenToRescue common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
RescueFunds is a paid mutator transaction binding the contract method 0x6ccae054.
Solidity: function rescueFunds(address tokenToRescue, address to, uint256 amount) returns(bool)
func (*TokenPoolTransactor) TransferOwnership ¶
func (_TokenPool *TokenPoolTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type TokenPoolTransactorRaw ¶
type TokenPoolTransactorRaw struct {
Contract *TokenPoolTransactor // Generic write-only contract binding to access the raw methods on
}
TokenPoolTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*TokenPoolTransactorRaw) Transact ¶
func (_TokenPool *TokenPoolTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*TokenPoolTransactorRaw) Transfer ¶
func (_TokenPool *TokenPoolTransactorRaw) 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 TokenPoolTransactorSession ¶
type TokenPoolTransactorSession struct { Contract *TokenPoolTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
TokenPoolTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*TokenPoolTransactorSession) RenounceOwnership ¶
func (_TokenPool *TokenPoolTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*TokenPoolTransactorSession) RescueFunds ¶
func (_TokenPool *TokenPoolTransactorSession) RescueFunds(tokenToRescue common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
RescueFunds is a paid mutator transaction binding the contract method 0x6ccae054.
Solidity: function rescueFunds(address tokenToRescue, address to, uint256 amount) returns(bool)
func (*TokenPoolTransactorSession) TransferOwnership ¶
func (_TokenPool *TokenPoolTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()