Documentation
¶
Index ¶
- Constants
- Variables
- func Byte32ToString(bytes [32]byte) string
- func DeployAccessControlContract(ctx sdk.Context, evmKeeper EvmKeeper, ...) error
- func DeployBridgeFeeContract(ctx sdk.Context, evmKeeper EvmKeeper, bridgeDenoms []BridgeDenoms, ...) error
- func DeployProxy(ctx sdk.Context, evmKeeper EvmKeeper, logicABI abi.ABI, logicBin []byte, ...) error
- func EmitEvent(evm *vm.EVM, address common.Address, data []byte, topics []common.Hash)
- func IsEmptyHash(hash common.Hash) bool
- func IsZeroEthAddress(address common.Address) bool
- func MustABIJson(str string) abi.ABI
- func MustDecodeHex(str string) []byte
- func MustStrToByte32(str string) [32]byte
- func PackBridgeCallCheckpoint(gravityID, methodName [32]byte, nonce *big.Int, ...) ([]byte, error)
- func PackOnBridgeCall(sender, receiver common.Address, tokens []common.Address, amounts []*big.Int, ...) ([]byte, error)
- func PackOnRevert(nonce *big.Int, cause []byte) ([]byte, error)
- func PackOracleSetCheckpoint(gravityID, methodName [32]byte, nonce *big.Int, ...) ([]byte, error)
- func PackRetErrV2(err error) ([]byte, error)
- func PackSubmitBatchCheckpoint(gravityID, methodName [32]byte, amounts []*big.Int, ...) ([]byte, error)
- func StrToByte32(s string) ([32]byte, error)
- func UnpackRevertError(abi abi.ABI, ret []byte) (string, error)
- func ValidateEthereumAddress(address string) error
- type AccessControl
- type AccessControlCaller
- func (_AccessControl *AccessControlCaller) DEFAULTADMINROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_AccessControl *AccessControlCaller) GetRoleAdmin(opts *bind.CallOpts, role [32]byte) ([32]byte, error)
- func (_AccessControl *AccessControlCaller) HasRole(opts *bind.CallOpts, role [32]byte, account common.Address) (bool, error)
- func (_AccessControl *AccessControlCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
- type AccessControlCallerRaw
- type AccessControlCallerSession
- func (_AccessControl *AccessControlCallerSession) DEFAULTADMINROLE() ([32]byte, error)
- func (_AccessControl *AccessControlCallerSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
- func (_AccessControl *AccessControlCallerSession) HasRole(role [32]byte, account common.Address) (bool, error)
- func (_AccessControl *AccessControlCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- type AccessControlFilterer
- func (_AccessControl *AccessControlFilterer) FilterInitialized(opts *bind.FilterOpts) (*AccessControlInitializedIterator, error)
- func (_AccessControl *AccessControlFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, ...) (*AccessControlRoleAdminChangedIterator, error)
- func (_AccessControl *AccessControlFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, ...) (*AccessControlRoleGrantedIterator, error)
- func (_AccessControl *AccessControlFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, ...) (*AccessControlRoleRevokedIterator, error)
- func (_AccessControl *AccessControlFilterer) ParseInitialized(log types.Log) (*AccessControlInitialized, error)
- func (_AccessControl *AccessControlFilterer) ParseRoleAdminChanged(log types.Log) (*AccessControlRoleAdminChanged, error)
- func (_AccessControl *AccessControlFilterer) ParseRoleGranted(log types.Log) (*AccessControlRoleGranted, error)
- func (_AccessControl *AccessControlFilterer) ParseRoleRevoked(log types.Log) (*AccessControlRoleRevoked, error)
- func (_AccessControl *AccessControlFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *AccessControlInitialized) (event.Subscription, error)
- func (_AccessControl *AccessControlFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *AccessControlRoleAdminChanged, ...) (event.Subscription, error)
- func (_AccessControl *AccessControlFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *AccessControlRoleGranted, role [][32]byte, ...) (event.Subscription, error)
- func (_AccessControl *AccessControlFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *AccessControlRoleRevoked, role [][32]byte, ...) (event.Subscription, error)
- type AccessControlInitialized
- type AccessControlInitializedIterator
- type AccessControlKeeper
- func (k AccessControlKeeper) GrantRole(ctx context.Context, role common.Hash, account common.Address) (*types.MsgEthereumTxResponse, error)
- func (k AccessControlKeeper) HasRole(ctx context.Context, role common.Hash, account common.Address) (bool, error)
- func (k AccessControlKeeper) Initialize(ctx context.Context, admin common.Address) (*types.MsgEthereumTxResponse, error)
- type AccessControlRaw
- func (_AccessControl *AccessControlRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_AccessControl *AccessControlRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_AccessControl *AccessControlRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type AccessControlRoleAdminChanged
- type AccessControlRoleAdminChangedIterator
- type AccessControlRoleGranted
- type AccessControlRoleGrantedIterator
- type AccessControlRoleRevoked
- type AccessControlRoleRevokedIterator
- type AccessControlSession
- func (_AccessControl *AccessControlSession) DEFAULTADMINROLE() ([32]byte, error)
- func (_AccessControl *AccessControlSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
- func (_AccessControl *AccessControlSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_AccessControl *AccessControlSession) HasRole(role [32]byte, account common.Address) (bool, error)
- func (_AccessControl *AccessControlSession) Initialize(_admin common.Address) (*types.Transaction, error)
- func (_AccessControl *AccessControlSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_AccessControl *AccessControlSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_AccessControl *AccessControlSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- type AccessControlTransactor
- func (_AccessControl *AccessControlTransactor) GrantRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- func (_AccessControl *AccessControlTransactor) Initialize(opts *bind.TransactOpts, _admin common.Address) (*types.Transaction, error)
- func (_AccessControl *AccessControlTransactor) RenounceRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- func (_AccessControl *AccessControlTransactor) RevokeRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- type AccessControlTransactorRaw
- type AccessControlTransactorSession
- func (_AccessControl *AccessControlTransactorSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_AccessControl *AccessControlTransactorSession) Initialize(_admin common.Address) (*types.Transaction, error)
- func (_AccessControl *AccessControlTransactorSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_AccessControl *AccessControlTransactorSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
- type AccountKeeper
- type AllowanceSharesArgs
- type ApproveSharesArgs
- type BankPrecompileKeeper
- func (k BankPrecompileKeeper) TransferFromAccountToModule(ctx context.Context, from common.Address, args TransferFromAccountToModuleArgs) (*evmtypes.MsgEthereumTxResponse, error)
- func (k BankPrecompileKeeper) TransferFromModuleToAccount(ctx context.Context, from common.Address, args TransferFromModuleToAccountArgs) (*evmtypes.MsgEthereumTxResponse, error)
- type BridgeCallArgs
- type BridgeCoinAmountArgs
- type BridgeDenoms
- type BridgeFeeOracle
- type BridgeFeeOracleAdminChanged
- type BridgeFeeOracleAdminChangedIterator
- type BridgeFeeOracleBeaconUpgraded
- type BridgeFeeOracleBeaconUpgradedIterator
- type BridgeFeeOracleCaller
- func (_BridgeFeeOracle *BridgeFeeOracleCaller) CrosschainContract(opts *bind.CallOpts) (common.Address, error)
- func (_BridgeFeeOracle *BridgeFeeOracleCaller) DEFAULTADMINROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_BridgeFeeOracle *BridgeFeeOracleCaller) DefaultOracle(opts *bind.CallOpts) (common.Address, error)
- func (_BridgeFeeOracle *BridgeFeeOracleCaller) GetOracleList(opts *bind.CallOpts, _chainName [32]byte) ([]common.Address, error)
- func (_BridgeFeeOracle *BridgeFeeOracleCaller) GetRoleAdmin(opts *bind.CallOpts, role [32]byte) ([32]byte, error)
- func (_BridgeFeeOracle *BridgeFeeOracleCaller) HasRole(opts *bind.CallOpts, role [32]byte, account common.Address) (bool, error)
- func (_BridgeFeeOracle *BridgeFeeOracleCaller) OWNERROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_BridgeFeeOracle *BridgeFeeOracleCaller) OracleStatus(opts *bind.CallOpts, arg0 [32]byte, arg1 common.Address) (struct{ ... }, error)
- func (_BridgeFeeOracle *BridgeFeeOracleCaller) ProxiableUUID(opts *bind.CallOpts) ([32]byte, error)
- func (_BridgeFeeOracle *BridgeFeeOracleCaller) QUOTEROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_BridgeFeeOracle *BridgeFeeOracleCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
- func (_BridgeFeeOracle *BridgeFeeOracleCaller) UPGRADEROLE(opts *bind.CallOpts) ([32]byte, error)
- type BridgeFeeOracleCallerRaw
- type BridgeFeeOracleCallerSession
- func (_BridgeFeeOracle *BridgeFeeOracleCallerSession) CrosschainContract() (common.Address, error)
- func (_BridgeFeeOracle *BridgeFeeOracleCallerSession) DEFAULTADMINROLE() ([32]byte, error)
- func (_BridgeFeeOracle *BridgeFeeOracleCallerSession) DefaultOracle() (common.Address, error)
- func (_BridgeFeeOracle *BridgeFeeOracleCallerSession) GetOracleList(_chainName [32]byte) ([]common.Address, error)
- func (_BridgeFeeOracle *BridgeFeeOracleCallerSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
- func (_BridgeFeeOracle *BridgeFeeOracleCallerSession) HasRole(role [32]byte, account common.Address) (bool, error)
- func (_BridgeFeeOracle *BridgeFeeOracleCallerSession) OWNERROLE() ([32]byte, error)
- func (_BridgeFeeOracle *BridgeFeeOracleCallerSession) OracleStatus(arg0 [32]byte, arg1 common.Address) (struct{ ... }, error)
- func (_BridgeFeeOracle *BridgeFeeOracleCallerSession) ProxiableUUID() ([32]byte, error)
- func (_BridgeFeeOracle *BridgeFeeOracleCallerSession) QUOTEROLE() ([32]byte, error)
- func (_BridgeFeeOracle *BridgeFeeOracleCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_BridgeFeeOracle *BridgeFeeOracleCallerSession) UPGRADEROLE() ([32]byte, error)
- type BridgeFeeOracleFilterer
- func (_BridgeFeeOracle *BridgeFeeOracleFilterer) FilterAdminChanged(opts *bind.FilterOpts) (*BridgeFeeOracleAdminChangedIterator, error)
- func (_BridgeFeeOracle *BridgeFeeOracleFilterer) FilterBeaconUpgraded(opts *bind.FilterOpts, beacon []common.Address) (*BridgeFeeOracleBeaconUpgradedIterator, error)
- func (_BridgeFeeOracle *BridgeFeeOracleFilterer) FilterInitialized(opts *bind.FilterOpts) (*BridgeFeeOracleInitializedIterator, error)
- func (_BridgeFeeOracle *BridgeFeeOracleFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, ...) (*BridgeFeeOracleRoleAdminChangedIterator, error)
- func (_BridgeFeeOracle *BridgeFeeOracleFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, ...) (*BridgeFeeOracleRoleGrantedIterator, error)
- func (_BridgeFeeOracle *BridgeFeeOracleFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, ...) (*BridgeFeeOracleRoleRevokedIterator, error)
- func (_BridgeFeeOracle *BridgeFeeOracleFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*BridgeFeeOracleUpgradedIterator, error)
- func (_BridgeFeeOracle *BridgeFeeOracleFilterer) ParseAdminChanged(log types.Log) (*BridgeFeeOracleAdminChanged, error)
- func (_BridgeFeeOracle *BridgeFeeOracleFilterer) ParseBeaconUpgraded(log types.Log) (*BridgeFeeOracleBeaconUpgraded, error)
- func (_BridgeFeeOracle *BridgeFeeOracleFilterer) ParseInitialized(log types.Log) (*BridgeFeeOracleInitialized, error)
- func (_BridgeFeeOracle *BridgeFeeOracleFilterer) ParseRoleAdminChanged(log types.Log) (*BridgeFeeOracleRoleAdminChanged, error)
- func (_BridgeFeeOracle *BridgeFeeOracleFilterer) ParseRoleGranted(log types.Log) (*BridgeFeeOracleRoleGranted, error)
- func (_BridgeFeeOracle *BridgeFeeOracleFilterer) ParseRoleRevoked(log types.Log) (*BridgeFeeOracleRoleRevoked, error)
- func (_BridgeFeeOracle *BridgeFeeOracleFilterer) ParseUpgraded(log types.Log) (*BridgeFeeOracleUpgraded, error)
- func (_BridgeFeeOracle *BridgeFeeOracleFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *BridgeFeeOracleAdminChanged) (event.Subscription, error)
- func (_BridgeFeeOracle *BridgeFeeOracleFilterer) WatchBeaconUpgraded(opts *bind.WatchOpts, sink chan<- *BridgeFeeOracleBeaconUpgraded, ...) (event.Subscription, error)
- func (_BridgeFeeOracle *BridgeFeeOracleFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *BridgeFeeOracleInitialized) (event.Subscription, error)
- func (_BridgeFeeOracle *BridgeFeeOracleFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *BridgeFeeOracleRoleAdminChanged, ...) (event.Subscription, error)
- func (_BridgeFeeOracle *BridgeFeeOracleFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *BridgeFeeOracleRoleGranted, role [][32]byte, ...) (event.Subscription, error)
- func (_BridgeFeeOracle *BridgeFeeOracleFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *BridgeFeeOracleRoleRevoked, role [][32]byte, ...) (event.Subscription, error)
- func (_BridgeFeeOracle *BridgeFeeOracleFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *BridgeFeeOracleUpgraded, ...) (event.Subscription, error)
- type BridgeFeeOracleInitialized
- type BridgeFeeOracleInitializedIterator
- type BridgeFeeOracleKeeper
- func (k BridgeFeeOracleKeeper) DefaultOracle(ctx context.Context) (common.Address, error)
- func (k BridgeFeeOracleKeeper) GetOracleList(ctx context.Context, chainName common.Hash) ([]common.Address, error)
- func (k BridgeFeeOracleKeeper) GetOwnerRole(ctx context.Context) (common.Hash, error)
- func (k BridgeFeeOracleKeeper) GetQuoteRole(ctx context.Context) (common.Hash, error)
- func (k BridgeFeeOracleKeeper) GetUpgradeRole(ctx context.Context) (common.Hash, error)
- func (k BridgeFeeOracleKeeper) GrantRole(ctx context.Context, role common.Hash, account common.Address) (*types.MsgEthereumTxResponse, error)
- func (k BridgeFeeOracleKeeper) Initialize(ctx context.Context) (*types.MsgEthereumTxResponse, error)
- func (k BridgeFeeOracleKeeper) SetDefaultOracle(ctx context.Context, oracle common.Address) (*types.MsgEthereumTxResponse, error)
- type BridgeFeeOracleRaw
- func (_BridgeFeeOracle *BridgeFeeOracleRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_BridgeFeeOracle *BridgeFeeOracleRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_BridgeFeeOracle *BridgeFeeOracleRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type BridgeFeeOracleRoleAdminChanged
- type BridgeFeeOracleRoleAdminChangedIterator
- type BridgeFeeOracleRoleGranted
- type BridgeFeeOracleRoleGrantedIterator
- type BridgeFeeOracleRoleRevoked
- type BridgeFeeOracleRoleRevokedIterator
- type BridgeFeeOracleSession
- func (_BridgeFeeOracle *BridgeFeeOracleSession) ActiveOracle(_chainName [32]byte, _oracle common.Address) (*types.Transaction, error)
- func (_BridgeFeeOracle *BridgeFeeOracleSession) BlackOracle(_chainName [32]byte, _oracle common.Address) (*types.Transaction, error)
- func (_BridgeFeeOracle *BridgeFeeOracleSession) CrosschainContract() (common.Address, error)
- func (_BridgeFeeOracle *BridgeFeeOracleSession) DEFAULTADMINROLE() ([32]byte, error)
- func (_BridgeFeeOracle *BridgeFeeOracleSession) DefaultOracle() (common.Address, error)
- func (_BridgeFeeOracle *BridgeFeeOracleSession) GetOracleList(_chainName [32]byte) ([]common.Address, error)
- func (_BridgeFeeOracle *BridgeFeeOracleSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
- func (_BridgeFeeOracle *BridgeFeeOracleSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_BridgeFeeOracle *BridgeFeeOracleSession) HasRole(role [32]byte, account common.Address) (bool, error)
- func (_BridgeFeeOracle *BridgeFeeOracleSession) Initialize(_crosschain common.Address) (*types.Transaction, error)
- func (_BridgeFeeOracle *BridgeFeeOracleSession) IsOnline(_chainName [32]byte, _oracle common.Address) (*types.Transaction, error)
- func (_BridgeFeeOracle *BridgeFeeOracleSession) OWNERROLE() ([32]byte, error)
- func (_BridgeFeeOracle *BridgeFeeOracleSession) OracleStatus(arg0 [32]byte, arg1 common.Address) (struct{ ... }, error)
- func (_BridgeFeeOracle *BridgeFeeOracleSession) ProxiableUUID() ([32]byte, error)
- func (_BridgeFeeOracle *BridgeFeeOracleSession) QUOTEROLE() ([32]byte, error)
- func (_BridgeFeeOracle *BridgeFeeOracleSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_BridgeFeeOracle *BridgeFeeOracleSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_BridgeFeeOracle *BridgeFeeOracleSession) SetDefaultOracle(_defaultOracle common.Address) (*types.Transaction, error)
- func (_BridgeFeeOracle *BridgeFeeOracleSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_BridgeFeeOracle *BridgeFeeOracleSession) UPGRADEROLE() ([32]byte, error)
- func (_BridgeFeeOracle *BridgeFeeOracleSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)
- func (_BridgeFeeOracle *BridgeFeeOracleSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)
- type BridgeFeeOracleTransactor
- func (_BridgeFeeOracle *BridgeFeeOracleTransactor) ActiveOracle(opts *bind.TransactOpts, _chainName [32]byte, _oracle common.Address) (*types.Transaction, error)
- func (_BridgeFeeOracle *BridgeFeeOracleTransactor) BlackOracle(opts *bind.TransactOpts, _chainName [32]byte, _oracle common.Address) (*types.Transaction, error)
- func (_BridgeFeeOracle *BridgeFeeOracleTransactor) GrantRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- func (_BridgeFeeOracle *BridgeFeeOracleTransactor) Initialize(opts *bind.TransactOpts, _crosschain common.Address) (*types.Transaction, error)
- func (_BridgeFeeOracle *BridgeFeeOracleTransactor) IsOnline(opts *bind.TransactOpts, _chainName [32]byte, _oracle common.Address) (*types.Transaction, error)
- func (_BridgeFeeOracle *BridgeFeeOracleTransactor) RenounceRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- func (_BridgeFeeOracle *BridgeFeeOracleTransactor) RevokeRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- func (_BridgeFeeOracle *BridgeFeeOracleTransactor) SetDefaultOracle(opts *bind.TransactOpts, _defaultOracle common.Address) (*types.Transaction, error)
- func (_BridgeFeeOracle *BridgeFeeOracleTransactor) UpgradeTo(opts *bind.TransactOpts, newImplementation common.Address) (*types.Transaction, error)
- func (_BridgeFeeOracle *BridgeFeeOracleTransactor) UpgradeToAndCall(opts *bind.TransactOpts, newImplementation common.Address, data []byte) (*types.Transaction, error)
- type BridgeFeeOracleTransactorRaw
- type BridgeFeeOracleTransactorSession
- func (_BridgeFeeOracle *BridgeFeeOracleTransactorSession) ActiveOracle(_chainName [32]byte, _oracle common.Address) (*types.Transaction, error)
- func (_BridgeFeeOracle *BridgeFeeOracleTransactorSession) BlackOracle(_chainName [32]byte, _oracle common.Address) (*types.Transaction, error)
- func (_BridgeFeeOracle *BridgeFeeOracleTransactorSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_BridgeFeeOracle *BridgeFeeOracleTransactorSession) Initialize(_crosschain common.Address) (*types.Transaction, error)
- func (_BridgeFeeOracle *BridgeFeeOracleTransactorSession) IsOnline(_chainName [32]byte, _oracle common.Address) (*types.Transaction, error)
- func (_BridgeFeeOracle *BridgeFeeOracleTransactorSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_BridgeFeeOracle *BridgeFeeOracleTransactorSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_BridgeFeeOracle *BridgeFeeOracleTransactorSession) SetDefaultOracle(_defaultOracle common.Address) (*types.Transaction, error)
- func (_BridgeFeeOracle *BridgeFeeOracleTransactorSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)
- func (_BridgeFeeOracle *BridgeFeeOracleTransactorSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)
- type BridgeFeeOracleUpgraded
- type BridgeFeeOracleUpgradedIterator
- type BridgeFeeQuote
- type BridgeFeeQuoteAdminChanged
- type BridgeFeeQuoteAdminChangedIterator
- type BridgeFeeQuoteBeaconUpgraded
- type BridgeFeeQuoteBeaconUpgradedIterator
- type BridgeFeeQuoteCaller
- func (_BridgeFeeQuote *BridgeFeeQuoteCaller) DEFAULTADMINROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteCaller) GetChainNames(opts *bind.CallOpts) ([][32]byte, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteCaller) GetDefaultOracleQuote(opts *bind.CallOpts, _chainName [32]byte, _token [32]byte) ([]IBridgeFeeQuoteQuoteInfo, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteCaller) GetQuoteById(opts *bind.CallOpts, _id *big.Int) (IBridgeFeeQuoteQuoteInfo, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteCaller) GetQuoteByIndex(opts *bind.CallOpts, _chainName [32]byte, _token [32]byte, ...) (IBridgeFeeQuoteQuoteInfo, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteCaller) GetQuotesByToken(opts *bind.CallOpts, _chainName [32]byte, _token [32]byte) ([]IBridgeFeeQuoteQuoteInfo, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteCaller) GetRoleAdmin(opts *bind.CallOpts, role [32]byte) ([32]byte, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteCaller) GetTokens(opts *bind.CallOpts, _chainName [32]byte) ([][32]byte, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteCaller) HasRole(opts *bind.CallOpts, role [32]byte, account common.Address) (bool, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteCaller) MaxQuoteCap(opts *bind.CallOpts) (uint8, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteCaller) OWNERROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteCaller) OracleContract(opts *bind.CallOpts) (common.Address, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteCaller) ProxiableUUID(opts *bind.CallOpts) ([32]byte, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteCaller) QuoteNonce(opts *bind.CallOpts) (*big.Int, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteCaller) UPGRADEROLE(opts *bind.CallOpts) ([32]byte, error)
- type BridgeFeeQuoteCallerRaw
- type BridgeFeeQuoteCallerSession
- func (_BridgeFeeQuote *BridgeFeeQuoteCallerSession) DEFAULTADMINROLE() ([32]byte, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteCallerSession) GetChainNames() ([][32]byte, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteCallerSession) GetDefaultOracleQuote(_chainName [32]byte, _token [32]byte) ([]IBridgeFeeQuoteQuoteInfo, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteCallerSession) GetQuoteById(_id *big.Int) (IBridgeFeeQuoteQuoteInfo, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteCallerSession) GetQuoteByIndex(_chainName [32]byte, _token [32]byte, _oracle common.Address, _cap uint8) (IBridgeFeeQuoteQuoteInfo, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteCallerSession) GetQuotesByToken(_chainName [32]byte, _token [32]byte) ([]IBridgeFeeQuoteQuoteInfo, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteCallerSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteCallerSession) GetTokens(_chainName [32]byte) ([][32]byte, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteCallerSession) HasRole(role [32]byte, account common.Address) (bool, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteCallerSession) MaxQuoteCap() (uint8, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteCallerSession) OWNERROLE() ([32]byte, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteCallerSession) OracleContract() (common.Address, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteCallerSession) ProxiableUUID() ([32]byte, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteCallerSession) QuoteNonce() (*big.Int, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteCallerSession) UPGRADEROLE() ([32]byte, error)
- type BridgeFeeQuoteFilterer
- func (_BridgeFeeQuote *BridgeFeeQuoteFilterer) FilterAdminChanged(opts *bind.FilterOpts) (*BridgeFeeQuoteAdminChangedIterator, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteFilterer) FilterBeaconUpgraded(opts *bind.FilterOpts, beacon []common.Address) (*BridgeFeeQuoteBeaconUpgradedIterator, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteFilterer) FilterInitialized(opts *bind.FilterOpts) (*BridgeFeeQuoteInitializedIterator, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteFilterer) FilterNewQuote(opts *bind.FilterOpts, id []*big.Int, chainName [][32]byte, ...) (*BridgeFeeQuoteNewQuoteIterator, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, ...) (*BridgeFeeQuoteRoleAdminChangedIterator, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, ...) (*BridgeFeeQuoteRoleGrantedIterator, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, ...) (*BridgeFeeQuoteRoleRevokedIterator, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*BridgeFeeQuoteUpgradedIterator, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteFilterer) ParseAdminChanged(log types.Log) (*BridgeFeeQuoteAdminChanged, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteFilterer) ParseBeaconUpgraded(log types.Log) (*BridgeFeeQuoteBeaconUpgraded, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteFilterer) ParseInitialized(log types.Log) (*BridgeFeeQuoteInitialized, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteFilterer) ParseNewQuote(log types.Log) (*BridgeFeeQuoteNewQuote, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteFilterer) ParseRoleAdminChanged(log types.Log) (*BridgeFeeQuoteRoleAdminChanged, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteFilterer) ParseRoleGranted(log types.Log) (*BridgeFeeQuoteRoleGranted, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteFilterer) ParseRoleRevoked(log types.Log) (*BridgeFeeQuoteRoleRevoked, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteFilterer) ParseUpgraded(log types.Log) (*BridgeFeeQuoteUpgraded, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *BridgeFeeQuoteAdminChanged) (event.Subscription, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteFilterer) WatchBeaconUpgraded(opts *bind.WatchOpts, sink chan<- *BridgeFeeQuoteBeaconUpgraded, ...) (event.Subscription, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *BridgeFeeQuoteInitialized) (event.Subscription, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteFilterer) WatchNewQuote(opts *bind.WatchOpts, sink chan<- *BridgeFeeQuoteNewQuote, id []*big.Int, ...) (event.Subscription, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *BridgeFeeQuoteRoleAdminChanged, ...) (event.Subscription, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *BridgeFeeQuoteRoleGranted, role [][32]byte, ...) (event.Subscription, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *BridgeFeeQuoteRoleRevoked, role [][32]byte, ...) (event.Subscription, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *BridgeFeeQuoteUpgraded, ...) (event.Subscription, error)
- type BridgeFeeQuoteInitialized
- type BridgeFeeQuoteInitializedIterator
- type BridgeFeeQuoteKeeper
- func (k BridgeFeeQuoteKeeper) AddToken(ctx context.Context, chainName common.Hash, tokenNames []common.Hash) (*types.MsgEthereumTxResponse, error)
- func (k BridgeFeeQuoteKeeper) GetChainNames(ctx context.Context) ([]common.Hash, error)
- func (k BridgeFeeQuoteKeeper) GetDefaultOracleQuote(ctx context.Context, chainName, tokenName common.Hash) ([]IBridgeFeeQuoteQuoteInfo, error)
- func (k BridgeFeeQuoteKeeper) GetOwnerRole(ctx context.Context) (common.Hash, error)
- func (k BridgeFeeQuoteKeeper) GetQuoteById(ctx context.Context, id *big.Int) (IBridgeFeeQuoteQuoteInfo, error)
- func (k BridgeFeeQuoteKeeper) GetQuoteNonce(ctx context.Context) (*big.Int, error)
- func (k BridgeFeeQuoteKeeper) GetTokens(ctx context.Context, chainName common.Hash) ([]common.Hash, error)
- func (k BridgeFeeQuoteKeeper) GetUpgradeRole(ctx context.Context) (common.Hash, error)
- func (k BridgeFeeQuoteKeeper) GrantRole(ctx context.Context, role common.Hash, account common.Address) (*types.MsgEthereumTxResponse, error)
- func (k BridgeFeeQuoteKeeper) Initialize(ctx context.Context, oracle common.Address, maxQuoteCap uint8) (*types.MsgEthereumTxResponse, error)
- func (k BridgeFeeQuoteKeeper) Quote(ctx context.Context, from common.Address, inputs []IBridgeFeeQuoteQuoteInput) (*types.MsgEthereumTxResponse, error)
- func (k BridgeFeeQuoteKeeper) RegisterChain(ctx context.Context, chainName common.Hash, tokenNames ...common.Hash) (*types.MsgEthereumTxResponse, error)
- func (k BridgeFeeQuoteKeeper) UpgradeTo(ctx context.Context, newLogic common.Address) (*types.MsgEthereumTxResponse, error)
- func (k BridgeFeeQuoteKeeper) UpgradeToAndCall(ctx context.Context, newLogic common.Address, data []byte) (*types.MsgEthereumTxResponse, error)
- type BridgeFeeQuoteNewQuote
- type BridgeFeeQuoteNewQuoteIterator
- type BridgeFeeQuoteRaw
- func (_BridgeFeeQuote *BridgeFeeQuoteRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_BridgeFeeQuote *BridgeFeeQuoteRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type BridgeFeeQuoteRoleAdminChanged
- type BridgeFeeQuoteRoleAdminChangedIterator
- type BridgeFeeQuoteRoleGranted
- type BridgeFeeQuoteRoleGrantedIterator
- type BridgeFeeQuoteRoleRevoked
- type BridgeFeeQuoteRoleRevokedIterator
- type BridgeFeeQuoteSession
- func (_BridgeFeeQuote *BridgeFeeQuoteSession) AddToken(_chainName [32]byte, _tokens [][32]byte) (*types.Transaction, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteSession) DEFAULTADMINROLE() ([32]byte, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteSession) GetChainNames() ([][32]byte, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteSession) GetDefaultOracleQuote(_chainName [32]byte, _token [32]byte) ([]IBridgeFeeQuoteQuoteInfo, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteSession) GetQuoteById(_id *big.Int) (IBridgeFeeQuoteQuoteInfo, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteSession) GetQuoteByIndex(_chainName [32]byte, _token [32]byte, _oracle common.Address, _cap uint8) (IBridgeFeeQuoteQuoteInfo, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteSession) GetQuotesByToken(_chainName [32]byte, _token [32]byte) ([]IBridgeFeeQuoteQuoteInfo, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteSession) GetTokens(_chainName [32]byte) ([][32]byte, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteSession) HasRole(role [32]byte, account common.Address) (bool, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteSession) Initialize(_oracle common.Address, _maxQuoteCap uint8) (*types.Transaction, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteSession) MaxQuoteCap() (uint8, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteSession) OWNERROLE() ([32]byte, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteSession) OracleContract() (common.Address, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteSession) ProxiableUUID() ([32]byte, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteSession) Quote(_inputs []IBridgeFeeQuoteQuoteInput) (*types.Transaction, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteSession) QuoteNonce() (*big.Int, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteSession) Receive() (*types.Transaction, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteSession) RegisterChain(_chainName [32]byte, _tokens [][32]byte) (*types.Transaction, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteSession) RemoveToken(_chainName [32]byte, _tokens [][32]byte) (*types.Transaction, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteSession) UPGRADEROLE() ([32]byte, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)
- type BridgeFeeQuoteTransactor
- func (_BridgeFeeQuote *BridgeFeeQuoteTransactor) AddToken(opts *bind.TransactOpts, _chainName [32]byte, _tokens [][32]byte) (*types.Transaction, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteTransactor) GrantRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteTransactor) Initialize(opts *bind.TransactOpts, _oracle common.Address, _maxQuoteCap uint8) (*types.Transaction, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteTransactor) Quote(opts *bind.TransactOpts, _inputs []IBridgeFeeQuoteQuoteInput) (*types.Transaction, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteTransactor) RegisterChain(opts *bind.TransactOpts, _chainName [32]byte, _tokens [][32]byte) (*types.Transaction, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteTransactor) RemoveToken(opts *bind.TransactOpts, _chainName [32]byte, _tokens [][32]byte) (*types.Transaction, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteTransactor) RenounceRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteTransactor) RevokeRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteTransactor) UpgradeTo(opts *bind.TransactOpts, newImplementation common.Address) (*types.Transaction, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteTransactor) UpgradeToAndCall(opts *bind.TransactOpts, newImplementation common.Address, data []byte) (*types.Transaction, error)
- type BridgeFeeQuoteTransactorRaw
- type BridgeFeeQuoteTransactorSession
- func (_BridgeFeeQuote *BridgeFeeQuoteTransactorSession) AddToken(_chainName [32]byte, _tokens [][32]byte) (*types.Transaction, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteTransactorSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteTransactorSession) Initialize(_oracle common.Address, _maxQuoteCap uint8) (*types.Transaction, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteTransactorSession) Quote(_inputs []IBridgeFeeQuoteQuoteInput) (*types.Transaction, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteTransactorSession) Receive() (*types.Transaction, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteTransactorSession) RegisterChain(_chainName [32]byte, _tokens [][32]byte) (*types.Transaction, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteTransactorSession) RemoveToken(_chainName [32]byte, _tokens [][32]byte) (*types.Transaction, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteTransactorSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteTransactorSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteTransactorSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)
- func (_BridgeFeeQuote *BridgeFeeQuoteTransactorSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)
- type BridgeFeeQuoteUpgraded
- type BridgeFeeQuoteUpgradedIterator
- type BridgeProxy
- type BridgeProxyAdminChanged
- type BridgeProxyAdminChangedIterator
- type BridgeProxyBeaconUpgraded
- type BridgeProxyBeaconUpgradedIterator
- type BridgeProxyCaller
- type BridgeProxyCallerRaw
- type BridgeProxyCallerSession
- type BridgeProxyFilterer
- func (_BridgeProxy *BridgeProxyFilterer) FilterAdminChanged(opts *bind.FilterOpts) (*BridgeProxyAdminChangedIterator, error)
- func (_BridgeProxy *BridgeProxyFilterer) FilterBeaconUpgraded(opts *bind.FilterOpts, beacon []common.Address) (*BridgeProxyBeaconUpgradedIterator, error)
- func (_BridgeProxy *BridgeProxyFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*BridgeProxyUpgradedIterator, error)
- func (_BridgeProxy *BridgeProxyFilterer) ParseAdminChanged(log types.Log) (*BridgeProxyAdminChanged, error)
- func (_BridgeProxy *BridgeProxyFilterer) ParseBeaconUpgraded(log types.Log) (*BridgeProxyBeaconUpgraded, error)
- func (_BridgeProxy *BridgeProxyFilterer) ParseUpgraded(log types.Log) (*BridgeProxyUpgraded, error)
- func (_BridgeProxy *BridgeProxyFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *BridgeProxyAdminChanged) (event.Subscription, error)
- func (_BridgeProxy *BridgeProxyFilterer) WatchBeaconUpgraded(opts *bind.WatchOpts, sink chan<- *BridgeProxyBeaconUpgraded, ...) (event.Subscription, error)
- func (_BridgeProxy *BridgeProxyFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *BridgeProxyUpgraded, ...) (event.Subscription, error)
- type BridgeProxyRaw
- func (_BridgeProxy *BridgeProxyRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_BridgeProxy *BridgeProxyRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_BridgeProxy *BridgeProxyRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type BridgeProxySession
- type BridgeProxyTransactor
- func (_BridgeProxy *BridgeProxyTransactor) Fallback(opts *bind.TransactOpts, calldata []byte) (*types.Transaction, error)
- func (_BridgeProxy *BridgeProxyTransactor) Init(opts *bind.TransactOpts, _logic common.Address) (*types.Transaction, error)
- func (_BridgeProxy *BridgeProxyTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
- type BridgeProxyTransactorRaw
- type BridgeProxyTransactorSession
- type BridgeProxyUpgraded
- type BridgeProxyUpgradedIterator
- type Caller
- type Contract
- type CrosschainArgsdeprecated
- type CrosschainPrecompileKeeper
- func (k CrosschainPrecompileKeeper) BridgeCall(ctx context.Context, value *big.Int, from common.Address, args BridgeCallArgs) (*evmtypes.MsgEthereumTxResponse, *big.Int, error)
- func (k CrosschainPrecompileKeeper) BridgeCoinAmount(ctx context.Context, args BridgeCoinAmountArgs) (*big.Int, error)
- func (k CrosschainPrecompileKeeper) Crosschain(ctx context.Context, value *big.Int, from common.Address, args CrosschainArgs) (*evmtypes.MsgEthereumTxResponse, error)
- func (k CrosschainPrecompileKeeper) ExecuteClaim(ctx context.Context, from common.Address, args ExecuteClaimArgs) (*evmtypes.MsgEthereumTxResponse, error)
- func (k CrosschainPrecompileKeeper) GetERC20Token(ctx context.Context, args GetERC20TokenArgs) (common.Address, bool, error)
- func (k CrosschainPrecompileKeeper) HasOracle(ctx context.Context, args HasOracleArgs) (bool, error)
- func (k CrosschainPrecompileKeeper) IsOracleOnline(ctx context.Context, args IsOracleOnlineArgs) (bool, error)
- type DelegateV2Args
- type DelegationArgs
- type DelegationRewardsArgs
- type ERC1967Proxy
- type ERC1967ProxyAdminChanged
- type ERC1967ProxyAdminChangedIterator
- type ERC1967ProxyBeaconUpgraded
- type ERC1967ProxyBeaconUpgradedIterator
- type ERC1967ProxyCaller
- type ERC1967ProxyCallerRaw
- type ERC1967ProxyCallerSession
- type ERC1967ProxyFilterer
- func (_ERC1967Proxy *ERC1967ProxyFilterer) FilterAdminChanged(opts *bind.FilterOpts) (*ERC1967ProxyAdminChangedIterator, error)
- func (_ERC1967Proxy *ERC1967ProxyFilterer) FilterBeaconUpgraded(opts *bind.FilterOpts, beacon []common.Address) (*ERC1967ProxyBeaconUpgradedIterator, error)
- func (_ERC1967Proxy *ERC1967ProxyFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*ERC1967ProxyUpgradedIterator, error)
- func (_ERC1967Proxy *ERC1967ProxyFilterer) ParseAdminChanged(log types.Log) (*ERC1967ProxyAdminChanged, error)
- func (_ERC1967Proxy *ERC1967ProxyFilterer) ParseBeaconUpgraded(log types.Log) (*ERC1967ProxyBeaconUpgraded, error)
- func (_ERC1967Proxy *ERC1967ProxyFilterer) ParseUpgraded(log types.Log) (*ERC1967ProxyUpgraded, error)
- func (_ERC1967Proxy *ERC1967ProxyFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *ERC1967ProxyAdminChanged) (event.Subscription, error)
- func (_ERC1967Proxy *ERC1967ProxyFilterer) WatchBeaconUpgraded(opts *bind.WatchOpts, sink chan<- *ERC1967ProxyBeaconUpgraded, ...) (event.Subscription, error)
- func (_ERC1967Proxy *ERC1967ProxyFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *ERC1967ProxyUpgraded, ...) (event.Subscription, error)
- type ERC1967ProxyRaw
- func (_ERC1967Proxy *ERC1967ProxyRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_ERC1967Proxy *ERC1967ProxyRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ERC1967Proxy *ERC1967ProxyRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ERC1967ProxySession
- type ERC1967ProxyTransactor
- type ERC1967ProxyTransactorRaw
- type ERC1967ProxyTransactorSession
- type ERC1967ProxyUpgraded
- type ERC1967ProxyUpgradedIterator
- type ERC20TokenKeeper
- func (k ERC20TokenKeeper) Allowance(ctx context.Context, contractAddr, owner, spender common.Address) (*big.Int, error)
- func (k ERC20TokenKeeper) Approve(ctx context.Context, contractAddr, from, spender common.Address, ...) (*types.MsgEthereumTxResponse, error)
- func (k ERC20TokenKeeper) BalanceOf(ctx context.Context, contractAddr, addr common.Address) (*big.Int, error)
- func (k ERC20TokenKeeper) Burn(ctx context.Context, contractAddr, from common.Address, amount *big.Int) (*types.MsgEthereumTxResponse, error)
- func (k ERC20TokenKeeper) BurnFrom(ctx context.Context, contractAddr, from, account common.Address, ...) (*types.MsgEthereumTxResponse, error)
- func (k ERC20TokenKeeper) Decimals(ctx context.Context, contractAddr common.Address) (uint8, error)
- func (k ERC20TokenKeeper) Deposit(ctx context.Context, contractAddr, from common.Address, amount *big.Int) (*types.MsgEthereumTxResponse, error)
- func (k ERC20TokenKeeper) Mint(ctx context.Context, contractAddr, from, receiver common.Address, ...) (*types.MsgEthereumTxResponse, error)
- func (k ERC20TokenKeeper) Name(ctx context.Context, contractAddr common.Address) (string, error)
- func (k ERC20TokenKeeper) Owner(ctx context.Context, contractAddr common.Address) (common.Address, error)
- func (k ERC20TokenKeeper) Symbol(ctx context.Context, contractAddr common.Address) (string, error)
- func (k ERC20TokenKeeper) TotalSupply(ctx context.Context, contractAddr common.Address) (*big.Int, error)
- func (k ERC20TokenKeeper) Transfer(ctx context.Context, contractAddr, from, receiver common.Address, ...) (*types.MsgEthereumTxResponse, error)
- func (k ERC20TokenKeeper) TransferFrom(ctx context.Context, contractAddr, from, sender, receiver common.Address, ...) (*types.MsgEthereumTxResponse, error)
- func (k ERC20TokenKeeper) TransferOwnership(ctx context.Context, contractAddr, owner, newOwner common.Address) (*types.MsgEthereumTxResponse, error)
- func (k ERC20TokenKeeper) Withdraw(ctx context.Context, contractAddr, from, receiver common.Address, ...) (*types.MsgEthereumTxResponse, error)
- func (k ERC20TokenKeeper) WithdrawToSelf(ctx context.Context, contractAddr, from common.Address, amount *big.Int) (*types.MsgEthereumTxResponse, error)
- type ERC20Upgradable
- type ERC20UpgradableAdminChanged
- type ERC20UpgradableAdminChangedIterator
- type ERC20UpgradableApproval
- type ERC20UpgradableApprovalIterator
- type ERC20UpgradableBeaconUpgraded
- type ERC20UpgradableBeaconUpgradedIterator
- type ERC20UpgradableCaller
- func (_ERC20Upgradable *ERC20UpgradableCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
- func (_ERC20Upgradable *ERC20UpgradableCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)
- func (_ERC20Upgradable *ERC20UpgradableCaller) Decimals(opts *bind.CallOpts) (uint8, error)
- func (_ERC20Upgradable *ERC20UpgradableCaller) Name(opts *bind.CallOpts) (string, error)
- func (_ERC20Upgradable *ERC20UpgradableCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_ERC20Upgradable *ERC20UpgradableCaller) ProxiableUUID(opts *bind.CallOpts) ([32]byte, error)
- func (_ERC20Upgradable *ERC20UpgradableCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_ERC20Upgradable *ERC20UpgradableCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type ERC20UpgradableCallerRaw
- type ERC20UpgradableCallerSession
- func (_ERC20Upgradable *ERC20UpgradableCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_ERC20Upgradable *ERC20UpgradableCallerSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_ERC20Upgradable *ERC20UpgradableCallerSession) Decimals() (uint8, error)
- func (_ERC20Upgradable *ERC20UpgradableCallerSession) Name() (string, error)
- func (_ERC20Upgradable *ERC20UpgradableCallerSession) Owner() (common.Address, error)
- func (_ERC20Upgradable *ERC20UpgradableCallerSession) ProxiableUUID() ([32]byte, error)
- func (_ERC20Upgradable *ERC20UpgradableCallerSession) Symbol() (string, error)
- func (_ERC20Upgradable *ERC20UpgradableCallerSession) TotalSupply() (*big.Int, error)
- type ERC20UpgradableFilterer
- func (_ERC20Upgradable *ERC20UpgradableFilterer) FilterAdminChanged(opts *bind.FilterOpts) (*ERC20UpgradableAdminChangedIterator, error)
- func (_ERC20Upgradable *ERC20UpgradableFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*ERC20UpgradableApprovalIterator, error)
- func (_ERC20Upgradable *ERC20UpgradableFilterer) FilterBeaconUpgraded(opts *bind.FilterOpts, beacon []common.Address) (*ERC20UpgradableBeaconUpgradedIterator, error)
- func (_ERC20Upgradable *ERC20UpgradableFilterer) FilterInitialized(opts *bind.FilterOpts) (*ERC20UpgradableInitializedIterator, error)
- func (_ERC20Upgradable *ERC20UpgradableFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*ERC20UpgradableOwnershipTransferredIterator, error)
- func (_ERC20Upgradable *ERC20UpgradableFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ERC20UpgradableTransferIterator, error)
- func (_ERC20Upgradable *ERC20UpgradableFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*ERC20UpgradableUpgradedIterator, error)
- func (_ERC20Upgradable *ERC20UpgradableFilterer) ParseAdminChanged(log types.Log) (*ERC20UpgradableAdminChanged, error)
- func (_ERC20Upgradable *ERC20UpgradableFilterer) ParseApproval(log types.Log) (*ERC20UpgradableApproval, error)
- func (_ERC20Upgradable *ERC20UpgradableFilterer) ParseBeaconUpgraded(log types.Log) (*ERC20UpgradableBeaconUpgraded, error)
- func (_ERC20Upgradable *ERC20UpgradableFilterer) ParseInitialized(log types.Log) (*ERC20UpgradableInitialized, error)
- func (_ERC20Upgradable *ERC20UpgradableFilterer) ParseOwnershipTransferred(log types.Log) (*ERC20UpgradableOwnershipTransferred, error)
- func (_ERC20Upgradable *ERC20UpgradableFilterer) ParseTransfer(log types.Log) (*ERC20UpgradableTransfer, error)
- func (_ERC20Upgradable *ERC20UpgradableFilterer) ParseUpgraded(log types.Log) (*ERC20UpgradableUpgraded, error)
- func (_ERC20Upgradable *ERC20UpgradableFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *ERC20UpgradableAdminChanged) (event.Subscription, error)
- func (_ERC20Upgradable *ERC20UpgradableFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC20UpgradableApproval, ...) (event.Subscription, error)
- func (_ERC20Upgradable *ERC20UpgradableFilterer) WatchBeaconUpgraded(opts *bind.WatchOpts, sink chan<- *ERC20UpgradableBeaconUpgraded, ...) (event.Subscription, error)
- func (_ERC20Upgradable *ERC20UpgradableFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *ERC20UpgradableInitialized) (event.Subscription, error)
- func (_ERC20Upgradable *ERC20UpgradableFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ERC20UpgradableOwnershipTransferred, ...) (event.Subscription, error)
- func (_ERC20Upgradable *ERC20UpgradableFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC20UpgradableTransfer, ...) (event.Subscription, error)
- func (_ERC20Upgradable *ERC20UpgradableFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *ERC20UpgradableUpgraded, ...) (event.Subscription, error)
- type ERC20UpgradableInitialized
- type ERC20UpgradableInitializedIterator
- type ERC20UpgradableOwnershipTransferred
- type ERC20UpgradableOwnershipTransferredIterator
- type ERC20UpgradableRaw
- func (_ERC20Upgradable *ERC20UpgradableRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_ERC20Upgradable *ERC20UpgradableRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ERC20Upgradable *ERC20UpgradableRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ERC20UpgradableSession
- func (_ERC20Upgradable *ERC20UpgradableSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_ERC20Upgradable *ERC20UpgradableSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20Upgradable *ERC20UpgradableSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_ERC20Upgradable *ERC20UpgradableSession) Burn(amount *big.Int) (*types.Transaction, error)
- func (_ERC20Upgradable *ERC20UpgradableSession) Burn0(account common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20Upgradable *ERC20UpgradableSession) BurnFrom(account common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20Upgradable *ERC20UpgradableSession) Decimals() (uint8, error)
- func (_ERC20Upgradable *ERC20UpgradableSession) Initialize(name_ string, symbol_ string, decimals_ uint8, module_ common.Address) (*types.Transaction, error)
- func (_ERC20Upgradable *ERC20UpgradableSession) Mint(account common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20Upgradable *ERC20UpgradableSession) Name() (string, error)
- func (_ERC20Upgradable *ERC20UpgradableSession) Owner() (common.Address, error)
- func (_ERC20Upgradable *ERC20UpgradableSession) ProxiableUUID() ([32]byte, error)
- func (_ERC20Upgradable *ERC20UpgradableSession) RenounceOwnership() (*types.Transaction, error)
- func (_ERC20Upgradable *ERC20UpgradableSession) Symbol() (string, error)
- func (_ERC20Upgradable *ERC20UpgradableSession) TotalSupply() (*big.Int, error)
- func (_ERC20Upgradable *ERC20UpgradableSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20Upgradable *ERC20UpgradableSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20Upgradable *ERC20UpgradableSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_ERC20Upgradable *ERC20UpgradableSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)
- func (_ERC20Upgradable *ERC20UpgradableSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)
- type ERC20UpgradableTransactor
- func (_ERC20Upgradable *ERC20UpgradableTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20Upgradable *ERC20UpgradableTransactor) Burn(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
- func (_ERC20Upgradable *ERC20UpgradableTransactor) Burn0(opts *bind.TransactOpts, account common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20Upgradable *ERC20UpgradableTransactor) BurnFrom(opts *bind.TransactOpts, account common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20Upgradable *ERC20UpgradableTransactor) Initialize(opts *bind.TransactOpts, name_ string, symbol_ string, decimals_ uint8, ...) (*types.Transaction, error)
- func (_ERC20Upgradable *ERC20UpgradableTransactor) Mint(opts *bind.TransactOpts, account common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20Upgradable *ERC20UpgradableTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_ERC20Upgradable *ERC20UpgradableTransactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20Upgradable *ERC20UpgradableTransactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, ...) (*types.Transaction, error)
- func (_ERC20Upgradable *ERC20UpgradableTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_ERC20Upgradable *ERC20UpgradableTransactor) UpgradeTo(opts *bind.TransactOpts, newImplementation common.Address) (*types.Transaction, error)
- func (_ERC20Upgradable *ERC20UpgradableTransactor) UpgradeToAndCall(opts *bind.TransactOpts, newImplementation common.Address, data []byte) (*types.Transaction, error)
- type ERC20UpgradableTransactorRaw
- type ERC20UpgradableTransactorSession
- func (_ERC20Upgradable *ERC20UpgradableTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20Upgradable *ERC20UpgradableTransactorSession) Burn(amount *big.Int) (*types.Transaction, error)
- func (_ERC20Upgradable *ERC20UpgradableTransactorSession) Burn0(account common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20Upgradable *ERC20UpgradableTransactorSession) BurnFrom(account common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20Upgradable *ERC20UpgradableTransactorSession) Initialize(name_ string, symbol_ string, decimals_ uint8, module_ common.Address) (*types.Transaction, error)
- func (_ERC20Upgradable *ERC20UpgradableTransactorSession) Mint(account common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20Upgradable *ERC20UpgradableTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_ERC20Upgradable *ERC20UpgradableTransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20Upgradable *ERC20UpgradableTransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20Upgradable *ERC20UpgradableTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_ERC20Upgradable *ERC20UpgradableTransactorSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)
- func (_ERC20Upgradable *ERC20UpgradableTransactorSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)
- type ERC20UpgradableTransfer
- type ERC20UpgradableTransferIterator
- type ERC20UpgradableUpgraded
- type ERC20UpgradableUpgradedIterator
- type EvmKeeper
- type ExecuteClaimArgs
- type FxBridgeBaseBridgeCallData
- type FxBridgeBaseBridgeToken
- type FxBridgeBaseOracleSignatures
- type FxBridgeBaseTokenStatus
- type GetERC20TokenArgs
- type HasOracleArgs
- type IBank
- type IBankCaller
- type IBankCallerRaw
- type IBankCallerSession
- type IBankFilterer
- type IBankRaw
- func (_IBank *IBankRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_IBank *IBankRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_IBank *IBankRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type IBankSession
- func (_IBank *IBankSession) TransferFromAccountToModule(_account common.Address, _module string, _token common.Address, ...) (*types.Transaction, error)
- func (_IBank *IBankSession) TransferFromModuleToAccount(_module string, _account common.Address, _token common.Address, ...) (*types.Transaction, error)
- type IBankTransactor
- func (_IBank *IBankTransactor) TransferFromAccountToModule(opts *bind.TransactOpts, _account common.Address, _module string, ...) (*types.Transaction, error)
- func (_IBank *IBankTransactor) TransferFromModuleToAccount(opts *bind.TransactOpts, _module string, _account common.Address, ...) (*types.Transaction, error)
- type IBankTransactorRaw
- type IBankTransactorSession
- func (_IBank *IBankTransactorSession) TransferFromAccountToModule(_account common.Address, _module string, _token common.Address, ...) (*types.Transaction, error)
- func (_IBank *IBankTransactorSession) TransferFromModuleToAccount(_module string, _account common.Address, _token common.Address, ...) (*types.Transaction, error)
- type IBridgeCallContext
- type IBridgeCallContextCaller
- type IBridgeCallContextCallerRaw
- type IBridgeCallContextCallerSession
- type IBridgeCallContextFilterer
- type IBridgeCallContextRaw
- func (_IBridgeCallContext *IBridgeCallContextRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_IBridgeCallContext *IBridgeCallContextRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_IBridgeCallContext *IBridgeCallContextRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type IBridgeCallContextSession
- type IBridgeCallContextTransactor
- func (_IBridgeCallContext *IBridgeCallContextTransactor) OnBridgeCall(opts *bind.TransactOpts, _sender common.Address, _refund common.Address, ...) (*types.Transaction, error)
- func (_IBridgeCallContext *IBridgeCallContextTransactor) OnRevert(opts *bind.TransactOpts, nonce *big.Int, _msg []byte) (*types.Transaction, error)
- type IBridgeCallContextTransactorRaw
- type IBridgeCallContextTransactorSession
- func (_IBridgeCallContext *IBridgeCallContextTransactorSession) OnBridgeCall(_sender common.Address, _refund common.Address, _tokens []common.Address, ...) (*types.Transaction, error)
- func (_IBridgeCallContext *IBridgeCallContextTransactorSession) OnRevert(nonce *big.Int, _msg []byte) (*types.Transaction, error)
- type IBridgeFeeQuoteQuoteInfo
- type IBridgeFeeQuoteQuoteInput
- type ICrosschain
- type ICrosschainBridgeCallEvent
- type ICrosschainBridgeCallEventIterator
- type ICrosschainCaller
- func (_ICrosschain *ICrosschainCaller) BridgeCoinAmount(opts *bind.CallOpts, _token common.Address, _target [32]byte) (*big.Int, error)
- func (_ICrosschain *ICrosschainCaller) GetERC20Token(opts *bind.CallOpts, _denom [32]byte) (struct{ ... }, error)
- func (_ICrosschain *ICrosschainCaller) HasOracle(opts *bind.CallOpts, _chain [32]byte, _externalAddress common.Address) (bool, error)
- func (_ICrosschain *ICrosschainCaller) IsOracleOnline(opts *bind.CallOpts, _chain [32]byte, _externalAddress common.Address) (bool, error)
- type ICrosschainCallerRaw
- type ICrosschainCallerSession
- func (_ICrosschain *ICrosschainCallerSession) BridgeCoinAmount(_token common.Address, _target [32]byte) (*big.Int, error)
- func (_ICrosschain *ICrosschainCallerSession) GetERC20Token(_denom [32]byte) (struct{ ... }, error)
- func (_ICrosschain *ICrosschainCallerSession) HasOracle(_chain [32]byte, _externalAddress common.Address) (bool, error)
- func (_ICrosschain *ICrosschainCallerSession) IsOracleOnline(_chain [32]byte, _externalAddress common.Address) (bool, error)
- type ICrosschainCrossChain
- type ICrosschainCrossChainIterator
- type ICrosschainExecuteClaimEvent
- type ICrosschainExecuteClaimEventIterator
- type ICrosschainFilterer
- func (_ICrosschain *ICrosschainFilterer) FilterBridgeCallEvent(opts *bind.FilterOpts, _sender []common.Address, _refund []common.Address, ...) (*ICrosschainBridgeCallEventIterator, error)
- func (_ICrosschain *ICrosschainFilterer) FilterCrossChain(opts *bind.FilterOpts, sender []common.Address, token []common.Address) (*ICrosschainCrossChainIterator, error)
- func (_ICrosschain *ICrosschainFilterer) FilterExecuteClaimEvent(opts *bind.FilterOpts, _sender []common.Address) (*ICrosschainExecuteClaimEventIterator, error)
- func (_ICrosschain *ICrosschainFilterer) ParseBridgeCallEvent(log types.Log) (*ICrosschainBridgeCallEvent, error)
- func (_ICrosschain *ICrosschainFilterer) ParseCrossChain(log types.Log) (*ICrosschainCrossChain, error)
- func (_ICrosschain *ICrosschainFilterer) ParseExecuteClaimEvent(log types.Log) (*ICrosschainExecuteClaimEvent, error)
- func (_ICrosschain *ICrosschainFilterer) WatchBridgeCallEvent(opts *bind.WatchOpts, sink chan<- *ICrosschainBridgeCallEvent, ...) (event.Subscription, error)
- func (_ICrosschain *ICrosschainFilterer) WatchCrossChain(opts *bind.WatchOpts, sink chan<- *ICrosschainCrossChain, ...) (event.Subscription, error)
- func (_ICrosschain *ICrosschainFilterer) WatchExecuteClaimEvent(opts *bind.WatchOpts, sink chan<- *ICrosschainExecuteClaimEvent, ...) (event.Subscription, error)
- type ICrosschainRaw
- func (_ICrosschain *ICrosschainRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_ICrosschain *ICrosschainRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ICrosschain *ICrosschainRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ICrosschainSession
- func (_ICrosschain *ICrosschainSession) BridgeCall(_dstChain string, _refund common.Address, _tokens []common.Address, ...) (*types.Transaction, error)
- func (_ICrosschain *ICrosschainSession) BridgeCoinAmount(_token common.Address, _target [32]byte) (*big.Int, error)
- func (_ICrosschain *ICrosschainSession) CrossChain(_token common.Address, _receipt string, _amount *big.Int, _fee *big.Int, ...) (*types.Transaction, error)
- func (_ICrosschain *ICrosschainSession) ExecuteClaim(_chain string, _eventNonce *big.Int) (*types.Transaction, error)
- func (_ICrosschain *ICrosschainSession) GetERC20Token(_denom [32]byte) (struct{ ... }, error)
- func (_ICrosschain *ICrosschainSession) HasOracle(_chain [32]byte, _externalAddress common.Address) (bool, error)
- func (_ICrosschain *ICrosschainSession) IsOracleOnline(_chain [32]byte, _externalAddress common.Address) (bool, error)
- type ICrosschainTransactor
- func (_ICrosschain *ICrosschainTransactor) BridgeCall(opts *bind.TransactOpts, _dstChain string, _refund common.Address, ...) (*types.Transaction, error)
- func (_ICrosschain *ICrosschainTransactor) CrossChain(opts *bind.TransactOpts, _token common.Address, _receipt string, ...) (*types.Transaction, error)
- func (_ICrosschain *ICrosschainTransactor) ExecuteClaim(opts *bind.TransactOpts, _chain string, _eventNonce *big.Int) (*types.Transaction, error)
- type ICrosschainTransactorRaw
- type ICrosschainTransactorSession
- func (_ICrosschain *ICrosschainTransactorSession) BridgeCall(_dstChain string, _refund common.Address, _tokens []common.Address, ...) (*types.Transaction, error)
- func (_ICrosschain *ICrosschainTransactorSession) CrossChain(_token common.Address, _receipt string, _amount *big.Int, _fee *big.Int, ...) (*types.Transaction, error)
- func (_ICrosschain *ICrosschainTransactorSession) ExecuteClaim(_chain string, _eventNonce *big.Int) (*types.Transaction, error)
- type IError
- type IErrorCaller
- type IErrorCallerRaw
- type IErrorCallerSession
- type IErrorFilterer
- type IErrorRaw
- func (_IError *IErrorRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_IError *IErrorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_IError *IErrorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type IErrorSession
- type IErrorTransactor
- type IErrorTransactorRaw
- type IErrorTransactorSession
- type IFxBridgeLogic
- type IFxBridgeLogicAddBridgeTokenEvent
- type IFxBridgeLogicAddBridgeTokenEventIterator
- type IFxBridgeLogicBridgeCallEvent
- type IFxBridgeLogicBridgeCallEventIterator
- type IFxBridgeLogicCaller
- func (_IFxBridgeLogic *IFxBridgeLogicCaller) BridgeCallCheckpoint(opts *bind.CallOpts, _fxbridgeId [32]byte, _methodName [32]byte, ...) ([32]byte, error)
- func (_IFxBridgeLogic *IFxBridgeLogicCaller) BridgeTokens(opts *bind.CallOpts, _index *big.Int) (common.Address, error)
- func (_IFxBridgeLogic *IFxBridgeLogicCaller) CheckAssetStatus(opts *bind.CallOpts, _tokenAddr common.Address) (bool, error)
- func (_IFxBridgeLogic *IFxBridgeLogicCaller) ConvertDecimals(opts *bind.CallOpts, _erc20Address common.Address) (uint8, error)
- func (_IFxBridgeLogic *IFxBridgeLogicCaller) GetBridgeTokenList(opts *bind.CallOpts) ([]FxBridgeBaseBridgeToken, error)
- func (_IFxBridgeLogic *IFxBridgeLogicCaller) GetTokenStatus(opts *bind.CallOpts, _tokenAddr common.Address) (FxBridgeBaseTokenStatus, error)
- func (_IFxBridgeLogic *IFxBridgeLogicCaller) LastBatchNonce(opts *bind.CallOpts, _erc20Address common.Address) (*big.Int, error)
- func (_IFxBridgeLogic *IFxBridgeLogicCaller) OracleSetCheckpoint(opts *bind.CallOpts, _fxbridgeId [32]byte, _methodName [32]byte, ...) ([32]byte, error)
- func (_IFxBridgeLogic *IFxBridgeLogicCaller) StateFxBridgeId(opts *bind.CallOpts) ([32]byte, error)
- func (_IFxBridgeLogic *IFxBridgeLogicCaller) StateLastBatchNonces(opts *bind.CallOpts, _erc20Address common.Address) (*big.Int, error)
- func (_IFxBridgeLogic *IFxBridgeLogicCaller) StateLastBridgeCallNonces(opts *bind.CallOpts, _index *big.Int) (bool, error)
- func (_IFxBridgeLogic *IFxBridgeLogicCaller) StateLastEventNonce(opts *bind.CallOpts) (*big.Int, error)
- func (_IFxBridgeLogic *IFxBridgeLogicCaller) StateLastOracleSetCheckpoint(opts *bind.CallOpts) ([32]byte, error)
- func (_IFxBridgeLogic *IFxBridgeLogicCaller) StateLastOracleSetNonce(opts *bind.CallOpts) (*big.Int, error)
- func (_IFxBridgeLogic *IFxBridgeLogicCaller) StatePowerThreshold(opts *bind.CallOpts) (*big.Int, error)
- func (_IFxBridgeLogic *IFxBridgeLogicCaller) SubmitBatchCheckpoint(opts *bind.CallOpts, _fxbridgeId [32]byte, _methodName [32]byte, ...) ([32]byte, error)
- func (_IFxBridgeLogic *IFxBridgeLogicCaller) Version(opts *bind.CallOpts) (string, error)
- type IFxBridgeLogicCallerRaw
- type IFxBridgeLogicCallerSession
- func (_IFxBridgeLogic *IFxBridgeLogicCallerSession) BridgeCallCheckpoint(_fxbridgeId [32]byte, _methodName [32]byte, _nonce *big.Int, ...) ([32]byte, error)
- func (_IFxBridgeLogic *IFxBridgeLogicCallerSession) BridgeTokens(_index *big.Int) (common.Address, error)
- func (_IFxBridgeLogic *IFxBridgeLogicCallerSession) CheckAssetStatus(_tokenAddr common.Address) (bool, error)
- func (_IFxBridgeLogic *IFxBridgeLogicCallerSession) ConvertDecimals(_erc20Address common.Address) (uint8, error)
- func (_IFxBridgeLogic *IFxBridgeLogicCallerSession) GetBridgeTokenList() ([]FxBridgeBaseBridgeToken, error)
- func (_IFxBridgeLogic *IFxBridgeLogicCallerSession) GetTokenStatus(_tokenAddr common.Address) (FxBridgeBaseTokenStatus, error)
- func (_IFxBridgeLogic *IFxBridgeLogicCallerSession) LastBatchNonce(_erc20Address common.Address) (*big.Int, error)
- func (_IFxBridgeLogic *IFxBridgeLogicCallerSession) OracleSetCheckpoint(_fxbridgeId [32]byte, _methodName [32]byte, _oracleSetNonce *big.Int, ...) ([32]byte, error)
- func (_IFxBridgeLogic *IFxBridgeLogicCallerSession) StateFxBridgeId() ([32]byte, error)
- func (_IFxBridgeLogic *IFxBridgeLogicCallerSession) StateLastBatchNonces(_erc20Address common.Address) (*big.Int, error)
- func (_IFxBridgeLogic *IFxBridgeLogicCallerSession) StateLastBridgeCallNonces(_index *big.Int) (bool, error)
- func (_IFxBridgeLogic *IFxBridgeLogicCallerSession) StateLastEventNonce() (*big.Int, error)
- func (_IFxBridgeLogic *IFxBridgeLogicCallerSession) StateLastOracleSetCheckpoint() ([32]byte, error)
- func (_IFxBridgeLogic *IFxBridgeLogicCallerSession) StateLastOracleSetNonce() (*big.Int, error)
- func (_IFxBridgeLogic *IFxBridgeLogicCallerSession) StatePowerThreshold() (*big.Int, error)
- func (_IFxBridgeLogic *IFxBridgeLogicCallerSession) SubmitBatchCheckpoint(_fxbridgeId [32]byte, _methodName [32]byte, _amounts []*big.Int, ...) ([32]byte, error)
- func (_IFxBridgeLogic *IFxBridgeLogicCallerSession) Version() (string, error)
- type IFxBridgeLogicFilterer
- func (_IFxBridgeLogic *IFxBridgeLogicFilterer) FilterAddBridgeTokenEvent(opts *bind.FilterOpts, _tokenContract []common.Address) (*IFxBridgeLogicAddBridgeTokenEventIterator, error)
- func (_IFxBridgeLogic *IFxBridgeLogicFilterer) FilterBridgeCallEvent(opts *bind.FilterOpts, _sender []common.Address, _refund []common.Address, ...) (*IFxBridgeLogicBridgeCallEventIterator, error)
- func (_IFxBridgeLogic *IFxBridgeLogicFilterer) FilterOracleSetUpdatedEvent(opts *bind.FilterOpts, _newOracleSetNonce []*big.Int) (*IFxBridgeLogicOracleSetUpdatedEventIterator, error)
- func (_IFxBridgeLogic *IFxBridgeLogicFilterer) FilterSendToFxEvent(opts *bind.FilterOpts, _tokenContract []common.Address, ...) (*IFxBridgeLogicSendToFxEventIterator, error)
- func (_IFxBridgeLogic *IFxBridgeLogicFilterer) FilterSubmitBridgeCallEvent(opts *bind.FilterOpts, _txOrigin []common.Address) (*IFxBridgeLogicSubmitBridgeCallEventIterator, error)
- func (_IFxBridgeLogic *IFxBridgeLogicFilterer) FilterTransactionBatchExecutedEvent(opts *bind.FilterOpts, _batchNonce []*big.Int, _token []common.Address) (*IFxBridgeLogicTransactionBatchExecutedEventIterator, error)
- func (_IFxBridgeLogic *IFxBridgeLogicFilterer) FilterTransferOwnerEvent(opts *bind.FilterOpts) (*IFxBridgeLogicTransferOwnerEventIterator, error)
- func (_IFxBridgeLogic *IFxBridgeLogicFilterer) ParseAddBridgeTokenEvent(log types.Log) (*IFxBridgeLogicAddBridgeTokenEvent, error)
- func (_IFxBridgeLogic *IFxBridgeLogicFilterer) ParseBridgeCallEvent(log types.Log) (*IFxBridgeLogicBridgeCallEvent, error)
- func (_IFxBridgeLogic *IFxBridgeLogicFilterer) ParseOracleSetUpdatedEvent(log types.Log) (*IFxBridgeLogicOracleSetUpdatedEvent, error)
- func (_IFxBridgeLogic *IFxBridgeLogicFilterer) ParseSendToFxEvent(log types.Log) (*IFxBridgeLogicSendToFxEvent, error)
- func (_IFxBridgeLogic *IFxBridgeLogicFilterer) ParseSubmitBridgeCallEvent(log types.Log) (*IFxBridgeLogicSubmitBridgeCallEvent, error)
- func (_IFxBridgeLogic *IFxBridgeLogicFilterer) ParseTransactionBatchExecutedEvent(log types.Log) (*IFxBridgeLogicTransactionBatchExecutedEvent, error)
- func (_IFxBridgeLogic *IFxBridgeLogicFilterer) ParseTransferOwnerEvent(log types.Log) (*IFxBridgeLogicTransferOwnerEvent, error)
- func (_IFxBridgeLogic *IFxBridgeLogicFilterer) WatchAddBridgeTokenEvent(opts *bind.WatchOpts, sink chan<- *IFxBridgeLogicAddBridgeTokenEvent, ...) (event.Subscription, error)
- func (_IFxBridgeLogic *IFxBridgeLogicFilterer) WatchBridgeCallEvent(opts *bind.WatchOpts, sink chan<- *IFxBridgeLogicBridgeCallEvent, ...) (event.Subscription, error)
- func (_IFxBridgeLogic *IFxBridgeLogicFilterer) WatchOracleSetUpdatedEvent(opts *bind.WatchOpts, sink chan<- *IFxBridgeLogicOracleSetUpdatedEvent, ...) (event.Subscription, error)
- func (_IFxBridgeLogic *IFxBridgeLogicFilterer) WatchSendToFxEvent(opts *bind.WatchOpts, sink chan<- *IFxBridgeLogicSendToFxEvent, ...) (event.Subscription, error)
- func (_IFxBridgeLogic *IFxBridgeLogicFilterer) WatchSubmitBridgeCallEvent(opts *bind.WatchOpts, sink chan<- *IFxBridgeLogicSubmitBridgeCallEvent, ...) (event.Subscription, error)
- func (_IFxBridgeLogic *IFxBridgeLogicFilterer) WatchTransactionBatchExecutedEvent(opts *bind.WatchOpts, sink chan<- *IFxBridgeLogicTransactionBatchExecutedEvent, ...) (event.Subscription, error)
- func (_IFxBridgeLogic *IFxBridgeLogicFilterer) WatchTransferOwnerEvent(opts *bind.WatchOpts, sink chan<- *IFxBridgeLogicTransferOwnerEvent) (event.Subscription, error)
- type IFxBridgeLogicOracleSetUpdatedEvent
- type IFxBridgeLogicOracleSetUpdatedEventIterator
- type IFxBridgeLogicRaw
- func (_IFxBridgeLogic *IFxBridgeLogicRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_IFxBridgeLogic *IFxBridgeLogicRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_IFxBridgeLogic *IFxBridgeLogicRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type IFxBridgeLogicSendToFxEvent
- type IFxBridgeLogicSendToFxEventIterator
- type IFxBridgeLogicSession
- func (_IFxBridgeLogic *IFxBridgeLogicSession) ActiveBridgeToken(_tokenAddr common.Address) (*types.Transaction, error)
- func (_IFxBridgeLogic *IFxBridgeLogicSession) AddBridgeToken(_tokenAddr common.Address, _memo [32]byte, _isOriginated bool) (*types.Transaction, error)
- func (_IFxBridgeLogic *IFxBridgeLogicSession) BridgeCall(_dstChain string, _refund common.Address, _tokens []common.Address, ...) (*types.Transaction, error)
- func (_IFxBridgeLogic *IFxBridgeLogicSession) BridgeCallCheckpoint(_fxbridgeId [32]byte, _methodName [32]byte, _nonce *big.Int, ...) ([32]byte, error)
- func (_IFxBridgeLogic *IFxBridgeLogicSession) BridgeTokens(_index *big.Int) (common.Address, error)
- func (_IFxBridgeLogic *IFxBridgeLogicSession) CheckAssetStatus(_tokenAddr common.Address) (bool, error)
- func (_IFxBridgeLogic *IFxBridgeLogicSession) ConvertDecimals(_erc20Address common.Address) (uint8, error)
- func (_IFxBridgeLogic *IFxBridgeLogicSession) GetBridgeTokenList() ([]FxBridgeBaseBridgeToken, error)
- func (_IFxBridgeLogic *IFxBridgeLogicSession) GetTokenStatus(_tokenAddr common.Address) (FxBridgeBaseTokenStatus, error)
- func (_IFxBridgeLogic *IFxBridgeLogicSession) LastBatchNonce(_erc20Address common.Address) (*big.Int, error)
- func (_IFxBridgeLogic *IFxBridgeLogicSession) OracleSetCheckpoint(_fxbridgeId [32]byte, _methodName [32]byte, _oracleSetNonce *big.Int, ...) ([32]byte, error)
- func (_IFxBridgeLogic *IFxBridgeLogicSession) Pause() (*types.Transaction, error)
- func (_IFxBridgeLogic *IFxBridgeLogicSession) PauseBridgeToken(_tokenAddr common.Address) (*types.Transaction, error)
- func (_IFxBridgeLogic *IFxBridgeLogicSession) SendToFx(_tokenContract common.Address, _destination [32]byte, _targetIBC [32]byte, ...) (*types.Transaction, error)
- func (_IFxBridgeLogic *IFxBridgeLogicSession) StateFxBridgeId() ([32]byte, error)
- func (_IFxBridgeLogic *IFxBridgeLogicSession) StateLastBatchNonces(_erc20Address common.Address) (*big.Int, error)
- func (_IFxBridgeLogic *IFxBridgeLogicSession) StateLastBridgeCallNonces(_index *big.Int) (bool, error)
- func (_IFxBridgeLogic *IFxBridgeLogicSession) StateLastEventNonce() (*big.Int, error)
- func (_IFxBridgeLogic *IFxBridgeLogicSession) StateLastOracleSetCheckpoint() ([32]byte, error)
- func (_IFxBridgeLogic *IFxBridgeLogicSession) StateLastOracleSetNonce() (*big.Int, error)
- func (_IFxBridgeLogic *IFxBridgeLogicSession) StatePowerThreshold() (*big.Int, error)
- func (_IFxBridgeLogic *IFxBridgeLogicSession) SubmitBatch(_currentOracles []common.Address, _currentPowers []*big.Int, _v []uint8, ...) (*types.Transaction, error)
- func (_IFxBridgeLogic *IFxBridgeLogicSession) SubmitBatchCheckpoint(_fxbridgeId [32]byte, _methodName [32]byte, _amounts []*big.Int, ...) ([32]byte, error)
- func (_IFxBridgeLogic *IFxBridgeLogicSession) SubmitBridgeCall(_curOracleSigns FxBridgeBaseOracleSignatures, _nonceArray [2]*big.Int, ...) (*types.Transaction, error)
- func (_IFxBridgeLogic *IFxBridgeLogicSession) TransferOwner(_token common.Address, _newOwner common.Address) (*types.Transaction, error)
- func (_IFxBridgeLogic *IFxBridgeLogicSession) Unpause() (*types.Transaction, error)
- func (_IFxBridgeLogic *IFxBridgeLogicSession) UpdateOracleSet(_newOracles []common.Address, _newPowers []*big.Int, ...) (*types.Transaction, error)
- func (_IFxBridgeLogic *IFxBridgeLogicSession) Version() (string, error)
- type IFxBridgeLogicSubmitBridgeCallEvent
- type IFxBridgeLogicSubmitBridgeCallEventIterator
- type IFxBridgeLogicTransactionBatchExecutedEvent
- type IFxBridgeLogicTransactionBatchExecutedEventIterator
- type IFxBridgeLogicTransactor
- func (_IFxBridgeLogic *IFxBridgeLogicTransactor) ActiveBridgeToken(opts *bind.TransactOpts, _tokenAddr common.Address) (*types.Transaction, error)
- func (_IFxBridgeLogic *IFxBridgeLogicTransactor) AddBridgeToken(opts *bind.TransactOpts, _tokenAddr common.Address, _memo [32]byte, ...) (*types.Transaction, error)
- func (_IFxBridgeLogic *IFxBridgeLogicTransactor) BridgeCall(opts *bind.TransactOpts, _dstChain string, _refund common.Address, ...) (*types.Transaction, error)
- func (_IFxBridgeLogic *IFxBridgeLogicTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_IFxBridgeLogic *IFxBridgeLogicTransactor) PauseBridgeToken(opts *bind.TransactOpts, _tokenAddr common.Address) (*types.Transaction, error)
- func (_IFxBridgeLogic *IFxBridgeLogicTransactor) SendToFx(opts *bind.TransactOpts, _tokenContract common.Address, _destination [32]byte, ...) (*types.Transaction, error)
- func (_IFxBridgeLogic *IFxBridgeLogicTransactor) SubmitBatch(opts *bind.TransactOpts, _currentOracles []common.Address, ...) (*types.Transaction, error)
- func (_IFxBridgeLogic *IFxBridgeLogicTransactor) SubmitBridgeCall(opts *bind.TransactOpts, _curOracleSigns FxBridgeBaseOracleSignatures, ...) (*types.Transaction, error)
- func (_IFxBridgeLogic *IFxBridgeLogicTransactor) TransferOwner(opts *bind.TransactOpts, _token common.Address, _newOwner common.Address) (*types.Transaction, error)
- func (_IFxBridgeLogic *IFxBridgeLogicTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_IFxBridgeLogic *IFxBridgeLogicTransactor) UpdateOracleSet(opts *bind.TransactOpts, _newOracles []common.Address, _newPowers []*big.Int, ...) (*types.Transaction, error)
- type IFxBridgeLogicTransactorRaw
- type IFxBridgeLogicTransactorSession
- func (_IFxBridgeLogic *IFxBridgeLogicTransactorSession) ActiveBridgeToken(_tokenAddr common.Address) (*types.Transaction, error)
- func (_IFxBridgeLogic *IFxBridgeLogicTransactorSession) AddBridgeToken(_tokenAddr common.Address, _memo [32]byte, _isOriginated bool) (*types.Transaction, error)
- func (_IFxBridgeLogic *IFxBridgeLogicTransactorSession) BridgeCall(_dstChain string, _refund common.Address, _tokens []common.Address, ...) (*types.Transaction, error)
- func (_IFxBridgeLogic *IFxBridgeLogicTransactorSession) Pause() (*types.Transaction, error)
- func (_IFxBridgeLogic *IFxBridgeLogicTransactorSession) PauseBridgeToken(_tokenAddr common.Address) (*types.Transaction, error)
- func (_IFxBridgeLogic *IFxBridgeLogicTransactorSession) SendToFx(_tokenContract common.Address, _destination [32]byte, _targetIBC [32]byte, ...) (*types.Transaction, error)
- func (_IFxBridgeLogic *IFxBridgeLogicTransactorSession) SubmitBatch(_currentOracles []common.Address, _currentPowers []*big.Int, _v []uint8, ...) (*types.Transaction, error)
- func (_IFxBridgeLogic *IFxBridgeLogicTransactorSession) SubmitBridgeCall(_curOracleSigns FxBridgeBaseOracleSignatures, _nonceArray [2]*big.Int, ...) (*types.Transaction, error)
- func (_IFxBridgeLogic *IFxBridgeLogicTransactorSession) TransferOwner(_token common.Address, _newOwner common.Address) (*types.Transaction, error)
- func (_IFxBridgeLogic *IFxBridgeLogicTransactorSession) Unpause() (*types.Transaction, error)
- func (_IFxBridgeLogic *IFxBridgeLogicTransactorSession) UpdateOracleSet(_newOracles []common.Address, _newPowers []*big.Int, ...) (*types.Transaction, error)
- type IFxBridgeLogicTransferOwnerEvent
- type IFxBridgeLogicTransferOwnerEventIterator
- type IStaking
- type IStakingApproveShares
- type IStakingApproveSharesIterator
- type IStakingCaller
- func (_IStaking *IStakingCaller) AllowanceShares(opts *bind.CallOpts, _val string, _owner common.Address, ...) (*big.Int, error)
- func (_IStaking *IStakingCaller) Delegation(opts *bind.CallOpts, _val string, _del common.Address) (struct{ ... }, error)
- func (_IStaking *IStakingCaller) DelegationRewards(opts *bind.CallOpts, _val string, _del common.Address) (*big.Int, error)
- func (_IStaking *IStakingCaller) SlashingInfo(opts *bind.CallOpts, _val string) (struct{ ... }, error)
- func (_IStaking *IStakingCaller) ValidatorList(opts *bind.CallOpts, _sortBy uint8) ([]string, error)
- type IStakingCallerRaw
- type IStakingCallerSession
- func (_IStaking *IStakingCallerSession) AllowanceShares(_val string, _owner common.Address, _spender common.Address) (*big.Int, error)
- func (_IStaking *IStakingCallerSession) Delegation(_val string, _del common.Address) (struct{ ... }, error)
- func (_IStaking *IStakingCallerSession) DelegationRewards(_val string, _del common.Address) (*big.Int, error)
- func (_IStaking *IStakingCallerSession) SlashingInfo(_val string) (struct{ ... }, error)
- func (_IStaking *IStakingCallerSession) ValidatorList(_sortBy uint8) ([]string, error)
- type IStakingDelegateV2
- type IStakingDelegateV2Iterator
- type IStakingFilterer
- func (_IStaking *IStakingFilterer) FilterApproveShares(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*IStakingApproveSharesIterator, error)
- func (_IStaking *IStakingFilterer) FilterDelegateV2(opts *bind.FilterOpts, delegator []common.Address) (*IStakingDelegateV2Iterator, error)
- func (_IStaking *IStakingFilterer) FilterRedelegateV2(opts *bind.FilterOpts, sender []common.Address) (*IStakingRedelegateV2Iterator, error)
- func (_IStaking *IStakingFilterer) FilterTransferShares(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*IStakingTransferSharesIterator, error)
- func (_IStaking *IStakingFilterer) FilterUndelegateV2(opts *bind.FilterOpts, sender []common.Address) (*IStakingUndelegateV2Iterator, error)
- func (_IStaking *IStakingFilterer) FilterWithdraw(opts *bind.FilterOpts, sender []common.Address) (*IStakingWithdrawIterator, error)
- func (_IStaking *IStakingFilterer) ParseApproveShares(log types.Log) (*IStakingApproveShares, error)
- func (_IStaking *IStakingFilterer) ParseDelegateV2(log types.Log) (*IStakingDelegateV2, error)
- func (_IStaking *IStakingFilterer) ParseRedelegateV2(log types.Log) (*IStakingRedelegateV2, error)
- func (_IStaking *IStakingFilterer) ParseTransferShares(log types.Log) (*IStakingTransferShares, error)
- func (_IStaking *IStakingFilterer) ParseUndelegateV2(log types.Log) (*IStakingUndelegateV2, error)
- func (_IStaking *IStakingFilterer) ParseWithdraw(log types.Log) (*IStakingWithdraw, error)
- func (_IStaking *IStakingFilterer) WatchApproveShares(opts *bind.WatchOpts, sink chan<- *IStakingApproveShares, ...) (event.Subscription, error)
- func (_IStaking *IStakingFilterer) WatchDelegateV2(opts *bind.WatchOpts, sink chan<- *IStakingDelegateV2, ...) (event.Subscription, error)
- func (_IStaking *IStakingFilterer) WatchRedelegateV2(opts *bind.WatchOpts, sink chan<- *IStakingRedelegateV2, ...) (event.Subscription, error)
- func (_IStaking *IStakingFilterer) WatchTransferShares(opts *bind.WatchOpts, sink chan<- *IStakingTransferShares, ...) (event.Subscription, error)
- func (_IStaking *IStakingFilterer) WatchUndelegateV2(opts *bind.WatchOpts, sink chan<- *IStakingUndelegateV2, ...) (event.Subscription, error)
- func (_IStaking *IStakingFilterer) WatchWithdraw(opts *bind.WatchOpts, sink chan<- *IStakingWithdraw, sender []common.Address) (event.Subscription, error)
- type IStakingRaw
- func (_IStaking *IStakingRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_IStaking *IStakingRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_IStaking *IStakingRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type IStakingRedelegateV2
- type IStakingRedelegateV2Iterator
- type IStakingSession
- func (_IStaking *IStakingSession) AllowanceShares(_val string, _owner common.Address, _spender common.Address) (*big.Int, error)
- func (_IStaking *IStakingSession) ApproveShares(_val string, _spender common.Address, _shares *big.Int) (*types.Transaction, error)
- func (_IStaking *IStakingSession) DelegateV2(_val string, _amount *big.Int) (*types.Transaction, error)
- func (_IStaking *IStakingSession) Delegation(_val string, _del common.Address) (struct{ ... }, error)
- func (_IStaking *IStakingSession) DelegationRewards(_val string, _del common.Address) (*big.Int, error)
- func (_IStaking *IStakingSession) RedelegateV2(_valSrc string, _valDst string, _amount *big.Int) (*types.Transaction, error)
- func (_IStaking *IStakingSession) SlashingInfo(_val string) (struct{ ... }, error)
- func (_IStaking *IStakingSession) TransferFromShares(_val string, _from common.Address, _to common.Address, _shares *big.Int) (*types.Transaction, error)
- func (_IStaking *IStakingSession) TransferShares(_val string, _to common.Address, _shares *big.Int) (*types.Transaction, error)
- func (_IStaking *IStakingSession) UndelegateV2(_val string, _amount *big.Int) (*types.Transaction, error)
- func (_IStaking *IStakingSession) ValidatorList(_sortBy uint8) ([]string, error)
- func (_IStaking *IStakingSession) Withdraw(_val string) (*types.Transaction, error)
- type IStakingTransactor
- func (_IStaking *IStakingTransactor) ApproveShares(opts *bind.TransactOpts, _val string, _spender common.Address, ...) (*types.Transaction, error)
- func (_IStaking *IStakingTransactor) DelegateV2(opts *bind.TransactOpts, _val string, _amount *big.Int) (*types.Transaction, error)
- func (_IStaking *IStakingTransactor) RedelegateV2(opts *bind.TransactOpts, _valSrc string, _valDst string, _amount *big.Int) (*types.Transaction, error)
- func (_IStaking *IStakingTransactor) TransferFromShares(opts *bind.TransactOpts, _val string, _from common.Address, _to common.Address, ...) (*types.Transaction, error)
- func (_IStaking *IStakingTransactor) TransferShares(opts *bind.TransactOpts, _val string, _to common.Address, _shares *big.Int) (*types.Transaction, error)
- func (_IStaking *IStakingTransactor) UndelegateV2(opts *bind.TransactOpts, _val string, _amount *big.Int) (*types.Transaction, error)
- func (_IStaking *IStakingTransactor) Withdraw(opts *bind.TransactOpts, _val string) (*types.Transaction, error)
- type IStakingTransactorRaw
- type IStakingTransactorSession
- func (_IStaking *IStakingTransactorSession) ApproveShares(_val string, _spender common.Address, _shares *big.Int) (*types.Transaction, error)
- func (_IStaking *IStakingTransactorSession) DelegateV2(_val string, _amount *big.Int) (*types.Transaction, error)
- func (_IStaking *IStakingTransactorSession) RedelegateV2(_valSrc string, _valDst string, _amount *big.Int) (*types.Transaction, error)
- func (_IStaking *IStakingTransactorSession) TransferFromShares(_val string, _from common.Address, _to common.Address, _shares *big.Int) (*types.Transaction, error)
- func (_IStaking *IStakingTransactorSession) TransferShares(_val string, _to common.Address, _shares *big.Int) (*types.Transaction, error)
- func (_IStaking *IStakingTransactorSession) UndelegateV2(_val string, _amount *big.Int) (*types.Transaction, error)
- func (_IStaking *IStakingTransactorSession) Withdraw(_val string) (*types.Transaction, error)
- type IStakingTransferShares
- type IStakingTransferSharesIterator
- type IStakingUndelegateV2
- type IStakingUndelegateV2Iterator
- type IStakingWithdraw
- type IStakingWithdrawIterator
- type IsOracleOnlineArgs
- type PrecompileMethod
- type RedelegateV2Args
- type SlashingInfoArgs
- type StakingPrecompileKeeper
- func (k StakingPrecompileKeeper) AllowanceShares(ctx context.Context, args AllowanceSharesArgs) (*big.Int, error)
- func (k StakingPrecompileKeeper) ApproveShares(ctx context.Context, from common.Address, args ApproveSharesArgs) (*evmtypes.MsgEthereumTxResponse, error)
- func (k StakingPrecompileKeeper) DelegateV2(ctx context.Context, from common.Address, args DelegateV2Args) (*evmtypes.MsgEthereumTxResponse, error)
- func (k StakingPrecompileKeeper) Delegation(ctx context.Context, args DelegationArgs) (*big.Int, *big.Int, error)
- func (k StakingPrecompileKeeper) DelegationRewards(ctx context.Context, args DelegationRewardsArgs) (*big.Int, error)
- func (k StakingPrecompileKeeper) RedelegateV2(ctx context.Context, from common.Address, args RedelegateV2Args) (*evmtypes.MsgEthereumTxResponse, error)
- func (k StakingPrecompileKeeper) SlashingInfo(ctx context.Context, args SlashingInfoArgs) (bool, *big.Int, error)
- func (k StakingPrecompileKeeper) TransferFromShares(ctx context.Context, from common.Address, args TransferFromSharesArgs) (*evmtypes.MsgEthereumTxResponse, *TransferFromSharesRet, error)
- func (k StakingPrecompileKeeper) TransferShares(ctx context.Context, from common.Address, args TransferSharesArgs) (*evmtypes.MsgEthereumTxResponse, *TransferSharesRet, error)
- func (k StakingPrecompileKeeper) UndelegateV2(ctx context.Context, from common.Address, args UndelegateV2Args) (*evmtypes.MsgEthereumTxResponse, error)
- func (k StakingPrecompileKeeper) ValidatorList(ctx context.Context, args ValidatorListArgs) ([]string, error)
- func (k StakingPrecompileKeeper) WithContractAddr(c common.Address) StakingPrecompileKeeper
- func (k StakingPrecompileKeeper) Withdraw(ctx context.Context, from common.Address, args WithdrawArgs) (*evmtypes.MsgEthereumTxResponse, *big.Int, error)
- type TransferFromAccountToModuleArgs
- type TransferFromModuleToAccountArgs
- type TransferFromSharesArgs
- type TransferFromSharesRet
- type TransferSharesArgs
- type TransferSharesRet
- type UndelegateV2Args
- type ValidatorListArgs
- type ValidatorSortBy
- type WarpTokenUpgradable
- type WarpTokenUpgradableAdminChanged
- type WarpTokenUpgradableAdminChangedIterator
- type WarpTokenUpgradableApproval
- type WarpTokenUpgradableApprovalIterator
- type WarpTokenUpgradableBeaconUpgraded
- type WarpTokenUpgradableBeaconUpgradedIterator
- type WarpTokenUpgradableCaller
- func (_WarpTokenUpgradable *WarpTokenUpgradableCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableCaller) Decimals(opts *bind.CallOpts) (uint8, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableCaller) Module(opts *bind.CallOpts) (common.Address, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableCaller) Name(opts *bind.CallOpts) (string, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableCaller) ProxiableUUID(opts *bind.CallOpts) ([32]byte, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type WarpTokenUpgradableCallerRaw
- type WarpTokenUpgradableCallerSession
- func (_WarpTokenUpgradable *WarpTokenUpgradableCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableCallerSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableCallerSession) Decimals() (uint8, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableCallerSession) Module() (common.Address, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableCallerSession) Name() (string, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableCallerSession) Owner() (common.Address, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableCallerSession) ProxiableUUID() ([32]byte, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableCallerSession) Symbol() (string, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableCallerSession) TotalSupply() (*big.Int, error)
- type WarpTokenUpgradableDeposit
- type WarpTokenUpgradableDepositIterator
- type WarpTokenUpgradableFilterer
- func (_WarpTokenUpgradable *WarpTokenUpgradableFilterer) FilterAdminChanged(opts *bind.FilterOpts) (*WarpTokenUpgradableAdminChangedIterator, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*WarpTokenUpgradableApprovalIterator, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableFilterer) FilterBeaconUpgraded(opts *bind.FilterOpts, beacon []common.Address) (*WarpTokenUpgradableBeaconUpgradedIterator, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableFilterer) FilterDeposit(opts *bind.FilterOpts, from []common.Address) (*WarpTokenUpgradableDepositIterator, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableFilterer) FilterInitialized(opts *bind.FilterOpts) (*WarpTokenUpgradableInitializedIterator, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*WarpTokenUpgradableOwnershipTransferredIterator, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*WarpTokenUpgradableTransferIterator, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*WarpTokenUpgradableUpgradedIterator, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableFilterer) FilterWithdraw(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*WarpTokenUpgradableWithdrawIterator, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableFilterer) FilterWithdraw0(opts *bind.FilterOpts, from []common.Address) (*WarpTokenUpgradableWithdraw0Iterator, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableFilterer) ParseAdminChanged(log types.Log) (*WarpTokenUpgradableAdminChanged, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableFilterer) ParseApproval(log types.Log) (*WarpTokenUpgradableApproval, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableFilterer) ParseBeaconUpgraded(log types.Log) (*WarpTokenUpgradableBeaconUpgraded, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableFilterer) ParseDeposit(log types.Log) (*WarpTokenUpgradableDeposit, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableFilterer) ParseInitialized(log types.Log) (*WarpTokenUpgradableInitialized, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableFilterer) ParseOwnershipTransferred(log types.Log) (*WarpTokenUpgradableOwnershipTransferred, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableFilterer) ParseTransfer(log types.Log) (*WarpTokenUpgradableTransfer, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableFilterer) ParseUpgraded(log types.Log) (*WarpTokenUpgradableUpgraded, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableFilterer) ParseWithdraw(log types.Log) (*WarpTokenUpgradableWithdraw, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableFilterer) ParseWithdraw0(log types.Log) (*WarpTokenUpgradableWithdraw0, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *WarpTokenUpgradableAdminChanged) (event.Subscription, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *WarpTokenUpgradableApproval, ...) (event.Subscription, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableFilterer) WatchBeaconUpgraded(opts *bind.WatchOpts, sink chan<- *WarpTokenUpgradableBeaconUpgraded, ...) (event.Subscription, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableFilterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *WarpTokenUpgradableDeposit, ...) (event.Subscription, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *WarpTokenUpgradableInitialized) (event.Subscription, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *WarpTokenUpgradableOwnershipTransferred, ...) (event.Subscription, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *WarpTokenUpgradableTransfer, ...) (event.Subscription, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *WarpTokenUpgradableUpgraded, ...) (event.Subscription, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableFilterer) WatchWithdraw(opts *bind.WatchOpts, sink chan<- *WarpTokenUpgradableWithdraw, ...) (event.Subscription, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableFilterer) WatchWithdraw0(opts *bind.WatchOpts, sink chan<- *WarpTokenUpgradableWithdraw0, ...) (event.Subscription, error)
- type WarpTokenUpgradableInitialized
- type WarpTokenUpgradableInitializedIterator
- type WarpTokenUpgradableOwnershipTransferred
- type WarpTokenUpgradableOwnershipTransferredIterator
- type WarpTokenUpgradableRaw
- func (_WarpTokenUpgradable *WarpTokenUpgradableRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_WarpTokenUpgradable *WarpTokenUpgradableRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type WarpTokenUpgradableSession
- func (_WarpTokenUpgradable *WarpTokenUpgradableSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableSession) Burn(amount *big.Int) (*types.Transaction, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableSession) Burn0(account common.Address, amount *big.Int) (*types.Transaction, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableSession) BurnFrom(account common.Address, amount *big.Int) (*types.Transaction, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableSession) Decimals() (uint8, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableSession) Deposit() (*types.Transaction, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableSession) Fallback(calldata []byte) (*types.Transaction, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableSession) Initialize(name_ string, symbol_ string, decimals_ uint8, module_ common.Address) (*types.Transaction, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableSession) Mint(account common.Address, amount *big.Int) (*types.Transaction, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableSession) Module() (common.Address, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableSession) Name() (string, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableSession) Owner() (common.Address, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableSession) ProxiableUUID() ([32]byte, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableSession) Receive() (*types.Transaction, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableSession) RenounceOwnership() (*types.Transaction, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableSession) Symbol() (string, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableSession) TotalSupply() (*big.Int, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableSession) Withdraw(value *big.Int) (*types.Transaction, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableSession) Withdraw0(to common.Address, value *big.Int) (*types.Transaction, error)
- type WarpTokenUpgradableTransactor
- func (_WarpTokenUpgradable *WarpTokenUpgradableTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableTransactor) Burn(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableTransactor) Burn0(opts *bind.TransactOpts, account common.Address, amount *big.Int) (*types.Transaction, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableTransactor) BurnFrom(opts *bind.TransactOpts, account common.Address, amount *big.Int) (*types.Transaction, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableTransactor) Deposit(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableTransactor) Fallback(opts *bind.TransactOpts, calldata []byte) (*types.Transaction, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableTransactor) Initialize(opts *bind.TransactOpts, name_ string, symbol_ string, decimals_ uint8, ...) (*types.Transaction, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableTransactor) Mint(opts *bind.TransactOpts, account common.Address, amount *big.Int) (*types.Transaction, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableTransactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableTransactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, ...) (*types.Transaction, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableTransactor) UpgradeTo(opts *bind.TransactOpts, newImplementation common.Address) (*types.Transaction, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableTransactor) UpgradeToAndCall(opts *bind.TransactOpts, newImplementation common.Address, data []byte) (*types.Transaction, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableTransactor) Withdraw(opts *bind.TransactOpts, value *big.Int) (*types.Transaction, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableTransactor) Withdraw0(opts *bind.TransactOpts, to common.Address, value *big.Int) (*types.Transaction, error)
- type WarpTokenUpgradableTransactorRaw
- type WarpTokenUpgradableTransactorSession
- func (_WarpTokenUpgradable *WarpTokenUpgradableTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableTransactorSession) Burn(amount *big.Int) (*types.Transaction, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableTransactorSession) Burn0(account common.Address, amount *big.Int) (*types.Transaction, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableTransactorSession) BurnFrom(account common.Address, amount *big.Int) (*types.Transaction, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableTransactorSession) Deposit() (*types.Transaction, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableTransactorSession) Fallback(calldata []byte) (*types.Transaction, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableTransactorSession) Initialize(name_ string, symbol_ string, decimals_ uint8, module_ common.Address) (*types.Transaction, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableTransactorSession) Mint(account common.Address, amount *big.Int) (*types.Transaction, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableTransactorSession) Receive() (*types.Transaction, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableTransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableTransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableTransactorSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableTransactorSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableTransactorSession) Withdraw(value *big.Int) (*types.Transaction, error)
- func (_WarpTokenUpgradable *WarpTokenUpgradableTransactorSession) Withdraw0(to common.Address, value *big.Int) (*types.Transaction, error)
- type WarpTokenUpgradableTransfer
- type WarpTokenUpgradableTransferIterator
- type WarpTokenUpgradableUpgraded
- type WarpTokenUpgradableUpgradedIterator
- type WarpTokenUpgradableWithdraw
- type WarpTokenUpgradableWithdraw0
- type WarpTokenUpgradableWithdraw0Iterator
- type WarpTokenUpgradableWithdrawIterator
- type WithdrawArgs
Constants ¶
const ( ERC20LogicAddress = "0x0000000000000000000000000000000000001001" WPUNDIAILogicAddress = "0x0000000000000000000000000000000000001002" StakingAddress = "0x0000000000000000000000000000000000001003" CrosschainAddress = "0x0000000000000000000000000000000000001004" BridgeFeeAddress = "0x0000000000000000000000000000000000001005" BridgeFeeOracleAddress = "0x0000000000000000000000000000000000001006" BankAddress = "0x0000000000000000000000000000000000001007" AccessControlAddress = "0x0000000000000000000000000000000000001008" )
const DefaultGasCap uint64 = 30000000
const DefaultMaxQuoteCap = 3
const EthereumContractAddressLen = 42
EthereumContractAddressLen is the length of contract address strings
const TransferModuleRole = "0x4845f2571489e4ee59e15b11b74598e4330ef896ebb57513ebdbdb3b260a4671"
TransferModuleRole is keccak256("TRANSFER_MODULE_ROLE")
Variables ¶
var AccessControlABI = AccessControlMetaData.ABI
AccessControlABI is the input ABI used to generate the binding from. Deprecated: Use AccessControlMetaData.ABI instead.
var AccessControlBin = AccessControlMetaData.Bin
AccessControlBin is the compiled bytecode used for deploying new contracts. Deprecated: Use AccessControlMetaData.Bin instead.
var AccessControlMetaData = &bind.MetaData{
ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"previousAdminRole\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"newAdminRole\",\"type\":\"bytes32\"}],\"name\":\"RoleAdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleGranted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleRevoked\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DEFAULT_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleAdmin\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"grantRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"hasRole\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_admin\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"renounceRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"revokeRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
Bin: "0x608060405234801561001057600080fd5b50610958806100206000396000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c806391d148541161005b57806391d148541461010e578063a217fddf14610121578063c4d66de814610129578063d547741f1461013c57600080fd5b806301ffc9a71461008d578063248a9ca3146100b55780632f2ff15d146100e657806336568abe146100fb575b600080fd5b6100a061009b366004610714565b61014f565b60405190151581526020015b60405180910390f35b6100d86100c336600461073e565b60009081526065602052604090206001015490565b6040519081526020016100ac565b6100f96100f4366004610773565b610186565b005b6100f9610109366004610773565b6101b0565b6100a061011c366004610773565b610233565b6100d8600081565b6100f961013736600461079f565b61025e565b6100f961014a366004610773565b61037a565b60006001600160e01b03198216637965db0b60e01b148061018057506301ffc9a760e01b6001600160e01b03198316145b92915050565b6000828152606560205260409020600101546101a18161039f565b6101ab83836103ac565b505050565b6001600160a01b03811633146102255760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b61022f8282610432565b5050565b60009182526065602090815260408084206001600160a01b0393909316845291905290205460ff1690565b600054610100900460ff161580801561027e5750600054600160ff909116105b806102985750303b158015610298575060005460ff166001145b6102fb5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840161021c565b6000805460ff19166001179055801561031e576000805461ff0019166101001790555b610326610499565b6103316000836103ac565b801561022f576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15050565b6000828152606560205260409020600101546103958161039f565b6101ab8383610432565b6103a98133610506565b50565b6103b68282610233565b61022f5760008281526065602090815260408083206001600160a01b03851684529091529020805460ff191660011790556103ee3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b61043c8282610233565b1561022f5760008281526065602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b600054610100900460ff166105045760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b606482015260840161021c565b565b6105108282610233565b61022f5761051d8161055f565b610528836020610571565b6040516020016105399291906107ea565b60408051601f198184030181529082905262461bcd60e51b825261021c9160040161085f565b60606101806001600160a01b03831660145b606060006105808360026108a8565b61058b9060026108c7565b67ffffffffffffffff8111156105a3576105a36108df565b6040519080825280601f01601f1916602001820160405280156105cd576020820181803683370190505b509050600360fc1b816000815181106105e8576105e86108f5565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110610617576106176108f5565b60200101906001600160f81b031916908160001a905350600061063b8460026108a8565b6106469060016108c7565b90505b60018111156106be576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061067a5761067a6108f5565b1a60f81b828281518110610690576106906108f5565b60200101906001600160f81b031916908160001a90535060049490941c936106b78161090b565b9050610649565b50831561070d5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604482015260640161021c565b9392505050565b60006020828403121561072657600080fd5b81356001600160e01b03198116811461070d57600080fd5b60006020828403121561075057600080fd5b5035919050565b80356001600160a01b038116811461076e57600080fd5b919050565b6000806040838503121561078657600080fd5b8235915061079660208401610757565b90509250929050565b6000602082840312156107b157600080fd5b61070d82610757565b60005b838110156107d55781810151838201526020016107bd565b838111156107e4576000848401525b50505050565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516108228160178501602088016107ba565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516108538160288401602088016107ba565b01602801949350505050565b602081526000825180602084015261087e8160408501602087016107ba565b601f01601f19169190910160400192915050565b634e487b7160e01b600052601160045260246000fd5b60008160001904831182151516156108c2576108c2610892565b500290565b600082198211156108da576108da610892565b500190565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b60008161091a5761091a610892565b50600019019056fea2646970667358221220052f7cd23b61e698ef1e01713ce9b6cc9db2227280b163d7133dc4e196bf0df964736f6c634300080a0033",
}
AccessControlMetaData contains all meta data concerning the AccessControl contract.
var BridgeFeeOracleABI = BridgeFeeOracleMetaData.ABI
BridgeFeeOracleABI is the input ABI used to generate the binding from. Deprecated: Use BridgeFeeOracleMetaData.ABI instead.
var BridgeFeeOracleBin = BridgeFeeOracleMetaData.Bin
BridgeFeeOracleBin is the compiled bytecode used for deploying new contracts. Deprecated: Use BridgeFeeOracleMetaData.Bin instead.
var BridgeFeeOracleMetaData = &bind.MetaData{
ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"previousAdmin\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newAdmin\",\"type\":\"address\"}],\"name\":\"AdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"beacon\",\"type\":\"address\"}],\"name\":\"BeaconUpgraded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"previousAdminRole\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"newAdminRole\",\"type\":\"bytes32\"}],\"name\":\"RoleAdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleGranted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleRevoked\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"Upgraded\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DEFAULT_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"OWNER_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"QUOTE_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"UPGRADE_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_chainName\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"_oracle\",\"type\":\"address\"}],\"name\":\"activeOracle\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_chainName\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"_oracle\",\"type\":\"address\"}],\"name\":\"blackOracle\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"crosschainContract\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"defaultOracle\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_chainName\",\"type\":\"bytes32\"}],\"name\":\"getOracleList\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleAdmin\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"grantRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"hasRole\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_crosschain\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_chainName\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"_oracle\",\"type\":\"address\"}],\"name\":\"isOnline\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"oracleStatus\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"isBlack\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"isActive\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"proxiableUUID\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"renounceRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"revokeRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_defaultOracle\",\"type\":\"address\"}],\"name\":\"setDefaultOracle\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newImplementation\",\"type\":\"address\"}],\"name\":\"upgradeTo\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newImplementation\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"upgradeToAndCall\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"}]",
Bin: "0x60a06040523060805234801561001457600080fd5b50608051611cd361004c60003960008181610673015281816106b3015281816107530152818161079301526108220152611cd36000f3fe6080604052600436106101355760003560e01c806380dce169116100ab578063b908afa81161006f578063b908afa8146103c1578063c44014d2146103f5578063c4d66de814610415578063d547741f14610435578063e58378bb14610455578063ec331b2b1461047757600080fd5b806380dce169146102d757806391d1485414610310578063a217fddf14610330578063af51ef1014610345578063b338123c146103a157600080fd5b80633659cfe6116100fd5780633659cfe61461020f5780634f1ef2861461022f57806352d1902d146102425780635bca74db146102575780635cbb51791461028a57806361166581146102aa57600080fd5b806301ffc9a71461013a5780632237bdad1461016f578063248a9ca3146101915780632f2ff15d146101cf57806336568abe146101ef575b600080fd5b34801561014657600080fd5b5061015a6101553660046117b6565b610498565b60405190151581526020015b60405180910390f35b34801561017b57600080fd5b5061018f61018a3660046117fc565b6104cf565b005b34801561019d57600080fd5b506101c16101ac366004611828565b600090815260c9602052604090206001015490565b604051908152602001610166565b3480156101db57600080fd5b5061018f6101ea3660046117fc565b6105c0565b3480156101fb57600080fd5b5061018f61020a3660046117fc565b6105e5565b34801561021b57600080fd5b5061018f61022a366004611841565b610668565b61018f61023d366004611872565b610748565b34801561024e57600080fd5b506101c1610815565b34801561026357600080fd5b506101c17e0caaa0e08f624de190c2474175cd13784c8c75bbdd1b63ae5fab5540967b3c81565b34801561029657600080fd5b5061018f6102a53660046117fc565b6108c8565b3480156102b657600080fd5b506102ca6102c5366004611828565b61098b565b6040516101669190611934565b3480156102e357600080fd5b5061012e546102f8906001600160a01b031681565b6040516001600160a01b039091168152602001610166565b34801561031c57600080fd5b5061015a61032b3660046117fc565b6109a6565b34801561033c57600080fd5b506101c1600081565b34801561035157600080fd5b5061038a6103603660046117fc565b61013060209081526000928352604080842090915290825290205460ff8082169161010090041682565b604080519215158352901515602083015201610166565b3480156103ad57600080fd5b5061015a6103bc3660046117fc565b6109d1565b3480156103cd57600080fd5b506101c17f88aa719609f728b0c5e7fb8dd3608d5c25d497efbb3b9dd64e9251ebba10150881565b34801561040157600080fd5b5061018f610410366004611841565b610c3b565b34801561042157600080fd5b5061018f610430366004611841565b610c77565b34801561044157600080fd5b5061018f6104503660046117fc565b610e01565b34801561046157600080fd5b506101c1600080516020611c3783398151915281565b34801561048357600080fd5b5061012d546102f8906001600160a01b031681565b60006001600160e01b03198216637965db0b60e01b14806104c957506301ffc9a760e01b6001600160e01b03198316145b92915050565b600080516020611c378339815191526104e781610e26565b6000838152610130602090815260408083206001600160a01b038616845290915290205460ff161561051857505050565b6000838152610130602090815260408083206001600160a01b0386168452909152902054610100900460ff161561058c576000838152610130602090815260408083206001600160a01b03861684528252808320805461ff001916905585835261012f909152902061058a9083610e30565b505b6000838152610130602090815260408083206001600160a01b03861684529091529020805460ff191660011790555b505050565b600082815260c960205260409020600101546105db81610e26565b6105bb8383610e4c565b6001600160a01b038116331461065a5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b6106648282610ed2565b5050565b306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614156106b15760405162461bcd60e51b815260040161065190611981565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166106fa600080516020611c57833981519152546001600160a01b031690565b6001600160a01b0316146107205760405162461bcd60e51b8152600401610651906119cd565b61072981610f39565b6040805160008082526020820190925261074591839190610f63565b50565b306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614156107915760405162461bcd60e51b815260040161065190611981565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166107da600080516020611c57833981519152546001600160a01b031690565b6001600160a01b0316146108005760405162461bcd60e51b8152600401610651906119cd565b61080982610f39565b61066482826001610f63565b6000306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146108b55760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c60448201527f6c6564207468726f7567682064656c656761746563616c6c00000000000000006064820152608401610651565b50600080516020611c5783398151915290565b600080516020611c378339815191526108e081610e26565b6000838152610130602090815260408083206001600160a01b0386168452909152902054610100900460ff161561091657505050565b60408051808201825260008082526001602080840191825287835261013081528483206001600160a01b0388168452815284832093518454925161ffff1990931690151561ff00191617610100921515929092029190911790925585815261012f9091522061098590836110ce565b50505050565b600081815261012f602052604090206060906104c9906110e3565b600091825260c9602090815260408084206001600160a01b0393909316845291905290205460ff1690565b60007e0caaa0e08f624de190c2474175cd13784c8c75bbdd1b63ae5fab5540967b3c6109fc81610e26565b610a046110f0565b6000848152610130602090815260408083206001600160a01b0387168452909152902054610100900460ff1615610a3e5760019150610c2a565b6000848152610130602090815260408083206001600160a01b038716845290915290205460ff1615610a735760009150610c2a565b61012e546001600160a01b0384811691161415610ad9576000848152610130602090815260408083206001600160a01b03871684528252808320805461ff00191661010017905586835261012f9091529020610acf90846110ce565b5060019150610c2a565b61012d5460405163a5df387560e01b8152600481018690526001600160a01b0385811660248301529091169063a5df387590604401602060405180830381865afa158015610b2b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b4f9190611a19565b610b5c5760009150610c2a565b61012d5460405163d5147e6d60e01b8152600481018690526001600160a01b0385811660248301529091169063d5147e6d90604401602060405180830381865afa158015610bae573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bd29190611a19565b610bdf5760009150610c2a565b6000848152610130602090815260408083206001600160a01b03871684528252808320805461ff00191661010017905586835261012f9091529020610c2490846110ce565b50600191505b610c34600160fb55565b5092915050565b600080516020611c37833981519152610c5381610e26565b5061012e80546001600160a01b0319166001600160a01b0392909216919091179055565b600054610100900460ff1615808015610c975750600054600160ff909116105b80610cb15750303b158015610cb1575060005460ff166001145b610d145760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610651565b6000805460ff191660011790558015610d37576000805461ff0019166101001790555b61012d80546001600160a01b0319166001600160a01b038416179055610d5b611151565b610d63611151565b610d6b61117a565b610d76600033610e4c565b610da07f88aa719609f728b0c5e7fb8dd3608d5c25d497efbb3b9dd64e9251ebba10150833610e4c565b610db8600080516020611c3783398151915233610e4c565b8015610664576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15050565b600082815260c96020526040902060010154610e1c81610e26565b6105bb8383610ed2565b61074581336111a9565b6000610e45836001600160a01b038416611202565b9392505050565b610e5682826109a6565b61066457600082815260c9602090815260408083206001600160a01b03851684529091529020805460ff19166001179055610e8e3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b610edc82826109a6565b1561066457600082815260c9602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b7f88aa719609f728b0c5e7fb8dd3608d5c25d497efbb3b9dd64e9251ebba10150861066481610e26565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff1615610f96576105bb836112f5565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610ff0575060408051601f3d908101601f19168201909252610fed91810190611a3b565b60015b6110535760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b6064820152608401610651565b600080516020611c5783398151915281146110c25760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b6064820152608401610651565b506105bb838383611391565b6000610e45836001600160a01b0384166113b6565b60606000610e4583611405565b600260fb5414156111435760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610651565b600260fb55565b600160fb55565b600054610100900460ff166111785760405162461bcd60e51b815260040161065190611a54565b565b600054610100900460ff166111a15760405162461bcd60e51b815260040161065190611a54565b611178611461565b6111b382826109a6565b610664576111c081611488565b6111cb83602061149a565b6040516020016111dc929190611acb565b60408051601f198184030181529082905262461bcd60e51b825261065191600401611b40565b600081815260018301602052604081205480156112eb576000611226600183611b89565b855490915060009061123a90600190611b89565b905081811461129f57600086600001828154811061125a5761125a611ba0565b906000526020600020015490508087600001848154811061127d5761127d611ba0565b6000918252602080832090910192909255918252600188019052604090208390555b85548690806112b0576112b0611bb6565b6001900381819060005260206000200160009055905585600101600086815260200190815260200160002060009055600193505050506104c9565b60009150506104c9565b6001600160a01b0381163b6113625760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b6064820152608401610651565b600080516020611c5783398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b61139a83611636565b6000825111806113a75750805b156105bb576109858383611676565b60008181526001830160205260408120546113fd575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556104c9565b5060006104c9565b60608160000180548060200260200160405190810160405280929190818152602001828054801561145557602002820191906000526020600020905b815481526020019060010190808311611441575b50505050509050919050565b600054610100900460ff1661114a5760405162461bcd60e51b815260040161065190611a54565b60606104c96001600160a01b03831660145b606060006114a9836002611bcc565b6114b4906002611beb565b67ffffffffffffffff8111156114cc576114cc61185c565b6040519080825280601f01601f1916602001820160405280156114f6576020820181803683370190505b509050600360fc1b8160008151811061151157611511611ba0565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061154057611540611ba0565b60200101906001600160f81b031916908160001a9053506000611564846002611bcc565b61156f906001611beb565b90505b60018111156115e7576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106115a3576115a3611ba0565b1a60f81b8282815181106115b9576115b9611ba0565b60200101906001600160f81b031916908160001a90535060049490941c936115e081611c03565b9050611572565b508315610e455760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610651565b61163f816112f5565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b6060610e458383604051806060016040528060278152602001611c77602791396060600080856001600160a01b0316856040516116b39190611c1a565b600060405180830381855af49150503d80600081146116ee576040519150601f19603f3d011682016040523d82523d6000602084013e6116f3565b606091505b50915091506117048683838761170e565b9695505050505050565b6060831561177a578251611773576001600160a01b0385163b6117735760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610651565b5081611784565b611784838361178c565b949350505050565b81511561179c5781518083602001fd5b8060405162461bcd60e51b81526004016106519190611b40565b6000602082840312156117c857600080fd5b81356001600160e01b031981168114610e4557600080fd5b80356001600160a01b03811681146117f757600080fd5b919050565b6000806040838503121561180f57600080fd5b8235915061181f602084016117e0565b90509250929050565b60006020828403121561183a57600080fd5b5035919050565b60006020828403121561185357600080fd5b610e45826117e0565b634e487b7160e01b600052604160045260246000fd5b6000806040838503121561188557600080fd5b61188e836117e0565b9150602083013567ffffffffffffffff808211156118ab57600080fd5b818501915085601f8301126118bf57600080fd5b8135818111156118d1576118d161185c565b604051601f8201601f19908116603f011681019083821181831017156118f9576118f961185c565b8160405282815288602084870101111561191257600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b6020808252825182820181905260009190848201906040850190845b818110156119755783516001600160a01b031683529284019291840191600101611950565b50909695505050505050565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b6163746976652070726f787960a01b606082015260800190565b600060208284031215611a2b57600080fd5b81518015158114610e4557600080fd5b600060208284031215611a4d57600080fd5b5051919050565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b60005b83811015611aba578181015183820152602001611aa2565b838111156109855750506000910152565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351611b03816017850160208801611a9f565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351611b34816028840160208801611a9f565b01602801949350505050565b6020815260008251806020840152611b5f816040850160208701611a9f565b601f01601f19169190910160400192915050565b634e487b7160e01b600052601160045260246000fd5b600082821015611b9b57611b9b611b73565b500390565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b6000816000190483118215151615611be657611be6611b73565b500290565b60008219821115611bfe57611bfe611b73565b500190565b600081611c1257611c12611b73565b506000190190565b60008251611c2c818460208701611a9f565b919091019291505056feb19546dff01e856fb3f010c267a7b1c60363cf8a4664e21cc89c26224620214e360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a26469706673582212206f17648a0d38033c075a548e14c2cc01d172ec8dffdc49059c072955a8c184b964736f6c634300080a0033",
}
BridgeFeeOracleMetaData contains all meta data concerning the BridgeFeeOracle contract.
var BridgeFeeQuoteABI = BridgeFeeQuoteMetaData.ABI
BridgeFeeQuoteABI is the input ABI used to generate the binding from. Deprecated: Use BridgeFeeQuoteMetaData.ABI instead.
var BridgeFeeQuoteBin = BridgeFeeQuoteMetaData.Bin
BridgeFeeQuoteBin is the compiled bytecode used for deploying new contracts. Deprecated: Use BridgeFeeQuoteMetaData.Bin instead.
var BridgeFeeQuoteMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[],\"name\":\"ChainNameAlreadyExists\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ChainNameInvalid\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OracleInvalid\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"QuoteCapInvalid\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"QuoteIdInvalid\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TokenNameAlreadyExists\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TokenNameInvalid\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"previousAdmin\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newAdmin\",\"type\":\"address\"}],\"name\":\"AdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"beacon\",\"type\":\"address\"}],\"name\":\"BeaconUpgraded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"chainName\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"tokenName\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"oracle\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"fee\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"gasLimit\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"expiry\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"cap\",\"type\":\"uint8\"}],\"name\":\"NewQuote\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"previousAdminRole\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"newAdminRole\",\"type\":\"bytes32\"}],\"name\":\"RoleAdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleGranted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleRevoked\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"Upgraded\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DEFAULT_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"OWNER_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"UPGRADE_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_chainName\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"_tokens\",\"type\":\"bytes32[]\"}],\"name\":\"addToken\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getChainNames\",\"outputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"\",\"type\":\"bytes32[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_chainName\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"_token\",\"type\":\"bytes32\"}],\"name\":\"getDefaultOracleQuote\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"chainName\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"tokenName\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"oracle\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint64\",\"name\":\"gasLimit\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"expiry\",\"type\":\"uint64\"}],\"internalType\":\"structIBridgeFeeQuote.QuoteInfo[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_id\",\"type\":\"uint256\"}],\"name\":\"getQuoteById\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"chainName\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"tokenName\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"oracle\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint64\",\"name\":\"gasLimit\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"expiry\",\"type\":\"uint64\"}],\"internalType\":\"structIBridgeFeeQuote.QuoteInfo\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_chainName\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"_token\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"_oracle\",\"type\":\"address\"},{\"internalType\":\"uint8\",\"name\":\"_cap\",\"type\":\"uint8\"}],\"name\":\"getQuoteByIndex\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"chainName\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"tokenName\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"oracle\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint64\",\"name\":\"gasLimit\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"expiry\",\"type\":\"uint64\"}],\"internalType\":\"structIBridgeFeeQuote.QuoteInfo\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_chainName\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"_token\",\"type\":\"bytes32\"}],\"name\":\"getQuotesByToken\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"chainName\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"tokenName\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"oracle\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint64\",\"name\":\"gasLimit\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"expiry\",\"type\":\"uint64\"}],\"internalType\":\"structIBridgeFeeQuote.QuoteInfo[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleAdmin\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_chainName\",\"type\":\"bytes32\"}],\"name\":\"getTokens\",\"outputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"\",\"type\":\"bytes32[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"grantRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"hasRole\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_oracle\",\"type\":\"address\"},{\"internalType\":\"uint8\",\"name\":\"_maxQuoteCap\",\"type\":\"uint8\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"maxQuoteCap\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"oracleContract\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"proxiableUUID\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint8\",\"name\":\"cap\",\"type\":\"uint8\"},{\"internalType\":\"uint64\",\"name\":\"gasLimit\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"expiry\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"chainName\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"tokenName\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"internalType\":\"structIBridgeFeeQuote.QuoteInput[]\",\"name\":\"_inputs\",\"type\":\"tuple[]\"}],\"name\":\"quote\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"quoteNonce\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_chainName\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"_tokens\",\"type\":\"bytes32[]\"}],\"name\":\"registerChain\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_chainName\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"_tokens\",\"type\":\"bytes32[]\"}],\"name\":\"removeToken\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"renounceRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"revokeRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newImplementation\",\"type\":\"address\"}],\"name\":\"upgradeTo\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newImplementation\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"upgradeToAndCall\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]",
Bin: "0x60a06040523060805234801561001457600080fd5b50608051612c3461004c60003960008181610ba801528181610be801528181610ddc01528181610e1c0152610eab0152612c346000f3fe6080604052600436106101855760003560e01c8063943b24b2116100d1578063d547741f1161008a578063e58378bb11610064578063e58378bb146104bf578063ecbbc033146104e1578063f808443514610501578063fdb336f71461052157600080fd5b8063d547741f14610452578063e14f186414610472578063e47a543f1461049f57600080fd5b8063943b24b214610370578063a217fddf14610390578063a8541c17146103a5578063b908afa8146103c5578063bece7532146103f9578063cd87db921461043257600080fd5b80633659cfe61161013e5780634f1ef286116101185780634f1ef286146102fb57806352d1902d1461030e5780637b81dad71461032357806391d148541461035057600080fd5b80633659cfe61461028e57806336cbd832146102ae57806341fa04a8146102db57600080fd5b8063013fcc3d1461019157806301ffc9a7146101c7578063248a9ca3146101f75780632c189169146102355780632f2ff15d1461024c57806336568abe1461026e57600080fd5b3661018c57005b600080fd5b34801561019d57600080fd5b506101b16101ac36600461237b565b610536565b6040516101be91906123ef565b60405180910390f35b3480156101d357600080fd5b506101e76101e2366004612433565b610abb565b60405190151581526020016101be565b34801561020357600080fd5b5061022761021236600461245d565b600090815260c9602052604090206001015490565b6040519081526020016101be565b34801561024157600080fd5b5061022761012e5481565b34801561025857600080fd5b5061026c61026736600461248b565b610af0565b005b34801561027a57600080fd5b5061026c61028936600461248b565b610b1a565b34801561029a57600080fd5b5061026c6102a93660046124bb565b610b9d565b3480156102ba57600080fd5b506102ce6102c93660046124ee565b610c7d565b6040516101be919061258f565b3480156102e757600080fd5b506101e76102f636600461259d565b610d0a565b61026c610309366004612661565b610dd1565b34801561031a57600080fd5b50610227610e9e565b34801561032f57600080fd5b5061012d5461033e9060ff1681565b60405160ff90911681526020016101be565b34801561035c57600080fd5b506101e761036b36600461248b565b610f51565b34801561037c57600080fd5b5061026c61038b366004612708565b610f7c565b34801561039c57600080fd5b50610227600081565b3480156103b157600080fd5b506102ce6103c036600461245d565b61111d565b3480156103d157600080fd5b506102277f88aa719609f728b0c5e7fb8dd3608d5c25d497efbb3b9dd64e9251ebba10150881565b34801561040557600080fd5b5061012f5461041a906001600160a01b031681565b6040516001600160a01b0390911681526020016101be565b34801561043e57600080fd5b506101e761044d36600461259d565b611251565b34801561045e57600080fd5b5061026c61046d36600461248b565b611326565b34801561047e57600080fd5b5061049261048d36600461273d565b61134b565b6040516101be919061275f565b3480156104ab57600080fd5b506104926104ba36600461273d565b611537565b3480156104cb57600080fd5b50610227600080516020612b9883398151915281565b3480156104ed57600080fd5b506101b16104fc36600461245d565b6116d5565b34801561050d57600080fd5b506101e761051c36600461259d565b6116f0565b34801561052d57600080fd5b506101b1611798565b60606105406117aa565b6000826001600160401b0381111561055a5761055a61261b565b604051908082528060200260200182016040528015610583578160200160208202803683370190505b50905060005b83811015610aa8576105b18585838181106105a6576105a66127a1565b905060c00201611804565b5061012f546001600160a01b031663b338123c8686848181106105d6576105d66127a1565b6040516001600160e01b031960e086901b168152606060c09092029390930101356004830152503360248201526044016020604051808303816000875af1158015610625573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061064991906127b7565b61066657604051635a10f29160e11b815260040160405180910390fd5b60006106d186868481811061067d5761067d6127a1565b905060c0020160600135878785818110610699576106996127a1565b905060c0020160800135338989878181106106b6576106b66127a1565b6106cc92602060c09092020190810191506127d9565b6118ad565b60008181526101346020526040902054909150801561072d5760008181526101336020908152604080832080546001600160801b03191681556001810184905560020183905561012e5485845261013490925290912055610825565b6040518060a0016040528061012e548152602001888886818110610753576107536127a1565b905060c00201606001358152602001888886818110610774576107746127a1565b905060c00201608001358152602001336001600160a01b031681526020018888868181106107a4576107a46127a1565b6107ba92602060c09092020190810191506127d9565b60ff9081169091526000848152610134602090815260409182902084518155908401516001820155908301516002820155606083015160039091018054608090940151909216600160a01b026001600160a81b03199093166001600160a01b03909116179190911790555b6040518060800160405280888886818110610842576108426127a1565b905060c00201604001602081019061085a91906127f4565b6001600160401b0316815260200188888681811061087a5761087a6127a1565b905060c00201602001602081019061089291906127f4565b6001600160401b031681526020018888868181106108b2576108b26127a1565b60a060c0909102929092019190910135825250602090810184905261012e80546000908152610133835260409081902084518154948601516001600160401b03908116600160401b026001600160801b03199096169116179390931783558301516001830155606090920151600290910155548451859085908110610939576109396127a1565b602002602001018181525050868684818110610957576109576127a1565b905060c0020160800135878785818110610973576109736127a1565b905060c002016060013561012e547faaa59a21a73d2d9728095280eca494951b3d50f06502210d9ab16a1ff3a7bc58338b8b898181106109b5576109b56127a1565b905060c0020160a001358c8c8a8181106109d1576109d16127a1565b905060c0020160200160208101906109e991906127f4565b8d8d8b8181106109fb576109fb6127a1565b905060c002016040016020810190610a1391906127f4565b8e8e8c818110610a2557610a256127a1565b610a3b92602060c09092020190810191506127d9565b604080516001600160a01b0396909616865260208601949094526001600160401b03928316858501529116606084015260ff166080830152519081900360a00190a461012e8054906000610a8e83612833565b919050555050508080610aa090612833565b915050610589565b509050610ab5600160fb55565b92915050565b60006001600160e01b03198216637965db0b60e01b1480610ab557506301ffc9a760e01b6001600160e01b0319831614610ab5565b600082815260c96020526040902060010154610b0b81611918565b610b158383611922565b505050565b6001600160a01b0381163314610b8f5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b610b9982826119a8565b5050565b306001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161415610be65760405162461bcd60e51b8152600401610b869061284e565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316610c2f600080516020612bb8833981519152546001600160a01b031690565b6001600160a01b031614610c555760405162461bcd60e51b8152600401610b869061289a565b610c5e81611a0f565b60408051600080825260208201909252610c7a91839190611a39565b50565b610c8561233f565b8484610c9361013083611ba4565b610caf5760405162b9a46560e61b815260040160405180910390fd5b600082815261013260205260409020610cc89082611ba4565b610ce557604051637557bb2f60e11b815260040160405180910390fd5b6000610cf3888888886118ad565b9050610cfe81611bbf565b98975050505050505050565b6000600080516020612b98833981519152610d2481611918565b60005b83811015610dc557610d62858583818110610d4457610d446127a1565b60008a81526101326020908152604090912093910201359050611ba4565b610d7f57604051637557bb2f60e11b815260040160405180910390fd5b610db2858583818110610d9457610d946127a1565b60008a81526101326020908152604090912093910201359050611cbd565b5080610dbd81612833565b915050610d27565b50600195945050505050565b306001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161415610e1a5760405162461bcd60e51b8152600401610b869061284e565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316610e63600080516020612bb8833981519152546001600160a01b031690565b6001600160a01b031614610e895760405162461bcd60e51b8152600401610b869061289a565b610e9282611a0f565b610b9982826001611a39565b6000306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614610f3e5760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c60448201527f6c6564207468726f7567682064656c656761746563616c6c00000000000000006064820152608401610b86565b50600080516020612bb883398151915290565b600091825260c9602090815260408084206001600160a01b0393909316845291905290205460ff1690565b600054610100900460ff1615808015610f9c5750600054600160ff909116105b80610fb65750303b158015610fb6575060005460ff166001145b6110195760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610b86565b6000805460ff19166001179055801561103c576000805461ff0019166101001790555b61012f80546001600160a01b0319166001600160a01b03851617905561012d805460ff191660ff8416179055600161012e55611076611cc9565b61107e611cc9565b611086611cf2565b611091600033611922565b6110bb7f88aa719609f728b0c5e7fb8dd3608d5c25d497efbb3b9dd64e9251ebba10150833611922565b6110d3600080516020612b9883398151915233611922565b8015610b15576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a1505050565b61112561233f565b60008281526101336020908152604080832081516080808201845282546001600160401b038082168452600160401b9091041682860152600180840154838601526002938401546060808501829052908852610134875296859020855160a08101875281548152918101549682019690965292850154938301939093526003909301546001600160a01b03811694820194909452600160a01b90930460ff1690830152908315806111d7575080518414155b156111f557604051631ddc470760e31b815260040160405180910390fd5b6040805160e0810182529485526020828101518187015282820151868301526060928301516001600160a01b03169286019290925282015160808501528101516001600160401b0390811660a085015290511660c08301525090565b6000600080516020612b9883398151915261126b81611918565b61127761013086611ba4565b1561129557604051630bb9107160e11b815260040160405180910390fd5b6112a161013086611d21565b5060005b83811015610dc5576112c2858583818110610d4457610d446127a1565b156112e057604051634234cba560e01b815260040160405180910390fd5b6113138585838181106112f5576112f56127a1565b60008a81526101326020908152604090912093910201359050611d21565b508061131e81612833565b9150506112a5565b600082815260c9602052604090206001015461134181611918565b610b1583836119a8565b6060828261135b61013083611ba4565b6113775760405162b9a46560e61b815260040160405180910390fd5b6000828152610132602052604090206113909082611ba4565b6113ad57604051637557bb2f60e11b815260040160405180910390fd5b61012f54604051636116658160e01b8152600481018790526000916001600160a01b031690636116658190602401600060405180830381865afa1580156113f8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261142091908101906128e6565b61012d5481519192506000916114399160ff169061298b565b90506000816001600160401b038111156114555761145561261b565b60405190808252806020026020018201604052801561148e57816020015b61147b61233f565b8152602001906001900390816114735790505b5090506000805b84518110156115295760005b61012d5460ff9081169082161015611516576114d88b8b8885815181106114ca576114ca6127a1565b602002602001015184610c7d565b8484815181106114ea576114ea6127a1565b6020026020010181905250828061150090612833565b935050808061150e906129aa565b9150506114a1565b508061152181612833565b915050611495565b509098975050505050505050565b6060828261154761013083611ba4565b6115635760405162b9a46560e61b815260040160405180910390fd5b60008281526101326020526040902061157c9082611ba4565b61159957604051637557bb2f60e11b815260040160405180910390fd5b61012f54604080516380dce16960e01b815290516000926001600160a01b0316916380dce1699160048083019260209291908290030181865afa1580156115e4573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061160891906129ca565b61012d5490915060009060ff166001600160401b0381111561162c5761162c61261b565b60405190808252806020026020018201604052801561166557816020015b61165261233f565b81526020019060019003908161164a5790505b50905060005b61012d5460ff90811690821610156116ca57600061168b898986856118ad565b905061169681611bbf565b838360ff16815181106116ab576116ab6127a1565b60200260200101819052505080806116c2906129aa565b91505061166b565b509695505050505050565b600081815261013260205260409020606090610ab590611d2d565b6000600080516020612b9883398151915261170a81611918565b61171661013086611ba4565b6117325760405162b9a46560e61b815260040160405180910390fd5b60005b83811015610dc557611752858583818110610d4457610d446127a1565b1561177057604051634234cba560e01b815260040160405180910390fd5b6117858585838181106112f5576112f56127a1565b508061179081612833565b915050611735565b60606117a5610130611d2d565b905090565b600260fb5414156117fd5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610b86565b600260fb55565b60006060820135608083013561181c61013083611ba4565b6118385760405162b9a46560e61b815260040160405180910390fd5b6000828152610132602052604090206118519082611ba4565b61186e57604051637557bb2f60e11b815260040160405180910390fd5b61012d5460ff1661188260208601866127d9565b60ff16106118a35760405163c54fa96960e01b815260040160405180910390fd5b5060019392505050565b6040805160208101869052908101849052606083811b6bffffffffffffffffffffffff19169082015260f882901b6001600160f81b03191660748201526000906075016040516020818303038152906040528051906020012090505b949350505050565b600160fb55565b610c7a8133611d3a565b61192c8282610f51565b610b9957600082815260c9602090815260408083206001600160a01b03851684529091529020805460ff191660011790556119643390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6119b28282610f51565b15610b9957600082815260c9602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b7f88aa719609f728b0c5e7fb8dd3608d5c25d497efbb3b9dd64e9251ebba101508610b9981611918565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff1615611a6c57610b1583611d93565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015611ac6575060408051601f3d908101601f19168201909252611ac3918101906129e7565b60015b611b295760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b6064820152608401610b86565b600080516020612bb88339815191528114611b985760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b6064820152608401610b86565b50610b15838383611e2f565b600081815260018301602052604081205415155b9392505050565b611bc761233f565b50600090815261013460209081526040808320815160a0808201845282548083526001808501548488019081526002808701548689019081526003909701546001600160a01b038082166060808a01918252600160a01b90930460ff166080808b0191909152968d526101338c529b8a90208a518088018c5281546001600160401b038082168352600160401b9091048116828f0190815297830154828e019081529290950154818501528b5160e081018d5299518a5294519b89019b909b529751988701989098529851909516958401959095529451948201949094529151841692820192909252905190911660c082015290565b6000611bb88383611e5a565b600054610100900460ff16611cf05760405162461bcd60e51b8152600401610b8690612a00565b565b600054610100900460ff16611d195760405162461bcd60e51b8152600401610b8690612a00565b611cf0611f4d565b6000611bb88383611f74565b60606000611bb883611fc3565b611d448282610f51565b610b9957611d518161201f565b611d5c836020612031565b604051602001611d6d929190612a77565b60408051601f198184030181529082905262461bcd60e51b8252610b8691600401612aec565b6001600160a01b0381163b611e005760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b6064820152608401610b86565b600080516020612bb883398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b611e38836121cc565b600082511180611e455750805b15610b1557611e54838361220c565b50505050565b60008181526001830160205260408120548015611f43576000611e7e600183612b1f565b8554909150600090611e9290600190612b1f565b9050818114611ef7576000866000018281548110611eb257611eb26127a1565b9060005260206000200154905080876000018481548110611ed557611ed56127a1565b6000918252602080832090910192909255918252600188019052604090208390555b8554869080611f0857611f08612b36565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610ab5565b6000915050610ab5565b600054610100900460ff166119115760405162461bcd60e51b8152600401610b8690612a00565b6000818152600183016020526040812054611fbb57508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610ab5565b506000610ab5565b60608160000180548060200260200160405190810160405280929190818152602001828054801561201357602002820191906000526020600020905b815481526020019060010190808311611fff575b50505050509050919050565b6060610ab56001600160a01b03831660145b6060600061204083600261298b565b61204b906002612b4c565b6001600160401b038111156120625761206261261b565b6040519080825280601f01601f19166020018201604052801561208c576020820181803683370190505b509050600360fc1b816000815181106120a7576120a76127a1565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106120d6576120d66127a1565b60200101906001600160f81b031916908160001a90535060006120fa84600261298b565b612105906001612b4c565b90505b600181111561217d576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110612139576121396127a1565b1a60f81b82828151811061214f5761214f6127a1565b60200101906001600160f81b031916908160001a90535060049490941c9361217681612b64565b9050612108565b508315611bb85760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610b86565b6121d581611d93565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b6060611bb88383604051806060016040528060278152602001612bd8602791396060600080856001600160a01b0316856040516122499190612b7b565b600060405180830381855af49150503d8060008114612284576040519150601f19603f3d011682016040523d82523d6000602084013e612289565b606091505b509150915061229a868383876122a4565b9695505050505050565b60608315612310578251612309576001600160a01b0385163b6123095760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610b86565b5081611909565b61190983838151156123255781518083602001fd5b8060405162461bcd60e51b8152600401610b869190612aec565b6040805160e081018252600080825260208201819052918101829052606081018290526080810182905260a0810182905260c081019190915290565b6000806020838503121561238e57600080fd5b82356001600160401b03808211156123a557600080fd5b818501915085601f8301126123b957600080fd5b8135818111156123c857600080fd5b86602060c0830285010111156123dd57600080fd5b60209290920196919550909350505050565b6020808252825182820181905260009190848201906040850190845b818110156124275783518352928401929184019160010161240b565b50909695505050505050565b60006020828403121561244557600080fd5b81356001600160e01b031981168114611bb857600080fd5b60006020828403121561246f57600080fd5b5035919050565b6001600160a01b0381168114610c7a57600080fd5b6000806040838503121561249e57600080fd5b8235915060208301356124b081612476565b809150509250929050565b6000602082840312156124cd57600080fd5b8135611bb881612476565b803560ff811681146124e957600080fd5b919050565b6000806000806080858703121561250457600080fd5b8435935060208501359250604085013561251d81612476565b915061252b606086016124d8565b905092959194509250565b8051825260208082015190830152604080820151908301526060808201516001600160a01b0316908301526080808201519083015260a0808201516001600160401b039081169184019190915260c09182015116910152565b60e08101610ab58284612536565b6000806000604084860312156125b257600080fd5b8335925060208401356001600160401b03808211156125d057600080fd5b818601915086601f8301126125e457600080fd5b8135818111156125f357600080fd5b8760208260051b850101111561260857600080fd5b6020830194508093505050509250925092565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b03811182821017156126595761265961261b565b604052919050565b6000806040838503121561267457600080fd5b823561267f81612476565b91506020838101356001600160401b038082111561269c57600080fd5b818601915086601f8301126126b057600080fd5b8135818111156126c2576126c261261b565b6126d4601f8201601f19168501612631565b915080825287848285010111156126ea57600080fd5b80848401858401376000848284010152508093505050509250929050565b6000806040838503121561271b57600080fd5b823561272681612476565b9150612734602084016124d8565b90509250929050565b6000806040838503121561275057600080fd5b50508035926020909101359150565b6020808252825182820181905260009190848201906040850190845b818110156124275761278e838551612536565b9284019260e0929092019160010161277b565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156127c957600080fd5b81518015158114611bb857600080fd5b6000602082840312156127eb57600080fd5b611bb8826124d8565b60006020828403121561280657600080fd5b81356001600160401b0381168114611bb857600080fd5b634e487b7160e01b600052601160045260246000fd5b60006000198214156128475761284761281d565b5060010190565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b6163746976652070726f787960a01b606082015260800190565b600060208083850312156128f957600080fd5b82516001600160401b038082111561291057600080fd5b818501915085601f83011261292457600080fd5b8151818111156129365761293661261b565b8060051b9150612947848301612631565b818152918301840191848101908884111561296157600080fd5b938501935b83851015610cfe578451925061297b83612476565b8282529385019390850190612966565b60008160001904831182151516156129a5576129a561281d565b500290565b600060ff821660ff8114156129c1576129c161281d565b60010192915050565b6000602082840312156129dc57600080fd5b8151611bb881612476565b6000602082840312156129f957600080fd5b5051919050565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b60005b83811015612a66578181015183820152602001612a4e565b83811115611e545750506000910152565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351612aaf816017850160208801612a4b565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351612ae0816028840160208801612a4b565b01602801949350505050565b6020815260008251806020840152612b0b816040850160208701612a4b565b601f01601f19169190910160400192915050565b600082821015612b3157612b3161281d565b500390565b634e487b7160e01b600052603160045260246000fd5b60008219821115612b5f57612b5f61281d565b500190565b600081612b7357612b7361281d565b506000190190565b60008251612b8d818460208701612a4b565b919091019291505056feb19546dff01e856fb3f010c267a7b1c60363cf8a4664e21cc89c26224620214e360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a2646970667358221220e2c3192e7ecdb1c0a8ef9aad634cf7b097a13b46296972ed60288332591b19cf64736f6c634300080a0033",
}
BridgeFeeQuoteMetaData contains all meta data concerning the BridgeFeeQuote contract.
var BridgeProxyABI = BridgeProxyMetaData.ABI
BridgeProxyABI is the input ABI used to generate the binding from. Deprecated: Use BridgeProxyMetaData.ABI instead.
var BridgeProxyBin = BridgeProxyMetaData.Bin
BridgeProxyBin is the compiled bytecode used for deploying new contracts. Deprecated: Use BridgeProxyMetaData.Bin instead.
var BridgeProxyMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[],\"name\":\"AlreadyInitialized\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"previousAdmin\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newAdmin\",\"type\":\"address\"}],\"name\":\"AdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"beacon\",\"type\":\"address\"}],\"name\":\"BeaconUpgraded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"Upgraded\",\"type\":\"event\"},{\"stateMutability\":\"payable\",\"type\":\"fallback\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_logic\",\"type\":\"address\"}],\"name\":\"init\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]",
Bin: "0x608060405234801561001057600080fd5b50610284806100206000396000f3fe6080604052600436106100225760003560e01c806319ab453c1461003957610031565b366100315761002f610059565b005b61002f610059565b34801561004557600080fd5b5061002f61005436600461021e565b61006b565b6100696100646100d0565b610108565b565b600061009e7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b6001600160a01b0316146100c45760405162dc149f60e41b815260040160405180910390fd5b6100cd8161012c565b50565b60006101037f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b905090565b3660008037600080366000845af43d6000803e808015610127573d6000f35b3d6000fd5b6101358161016c565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b6001600160a01b0381163b6101dd5760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b606482015260840160405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80546001600160a01b0319166001600160a01b0392909216919091179055565b60006020828403121561023057600080fd5b81356001600160a01b038116811461024757600080fd5b939250505056fea2646970667358221220f5fd2c6b493d2d8c8fccb10ef0e5ed3a7f4f1914bae22833db4f76dbce6da4fe64736f6c634300080a0033",
}
BridgeProxyMetaData contains all meta data concerning the BridgeProxy contract.
var ERC1967ProxyABI = ERC1967ProxyMetaData.ABI
ERC1967ProxyABI is the input ABI used to generate the binding from. Deprecated: Use ERC1967ProxyMetaData.ABI instead.
var ERC1967ProxyBin = ERC1967ProxyMetaData.Bin
ERC1967ProxyBin is the compiled bytecode used for deploying new contracts. Deprecated: Use ERC1967ProxyMetaData.Bin instead.
var ERC1967ProxyMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_logic\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"}],\"stateMutability\":\"payable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"previousAdmin\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newAdmin\",\"type\":\"address\"}],\"name\":\"AdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"beacon\",\"type\":\"address\"}],\"name\":\"BeaconUpgraded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"Upgraded\",\"type\":\"event\"},{\"stateMutability\":\"payable\",\"type\":\"fallback\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]",
Bin: "0x60806040526040516107353803806107358339810160408190526100229161031e565b61002e82826000610035565b505061043b565b61003e8361006b565b60008251118061004b5750805b156100665761006483836100ab60201b6100291760201c565b505b505050565b610074816100d7565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b60606100d0838360405180606001604052806027815260200161070e602791396101a9565b9392505050565b6100ea8161022260201b6100551760201c565b6101515760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b60648201526084015b60405180910390fd5b806101887f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b61023160201b6100641760201c565b80546001600160a01b0319166001600160a01b039290921691909117905550565b6060600080856001600160a01b0316856040516101c691906103ec565b600060405180830381855af49150503d8060008114610201576040519150601f19603f3d011682016040523d82523d6000602084013e610206565b606091505b50909250905061021886838387610234565b9695505050505050565b6001600160a01b03163b151590565b90565b606083156102a0578251610299576001600160a01b0385163b6102995760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610148565b50816102aa565b6102aa83836102b2565b949350505050565b8151156102c25781518083602001fd5b8060405162461bcd60e51b81526004016101489190610408565b634e487b7160e01b600052604160045260246000fd5b60005b8381101561030d5781810151838201526020016102f5565b838111156100645750506000910152565b6000806040838503121561033157600080fd5b82516001600160a01b038116811461034857600080fd5b60208401519092506001600160401b038082111561036557600080fd5b818501915085601f83011261037957600080fd5b81518181111561038b5761038b6102dc565b604051601f8201601f19908116603f011681019083821181831017156103b3576103b36102dc565b816040528281528860208487010111156103cc57600080fd5b6103dd8360208301602088016102f2565b80955050505050509250929050565b600082516103fe8184602087016102f2565b9190910192915050565b60208152600082518060208401526104278160408501602087016102f2565b601f01601f19169190910160400192915050565b6102c48061044a6000396000f3fe60806040523661001357610011610017565b005b6100115b610027610022610067565b61009f565b565b606061004e8383604051806060016040528060278152602001610268602791396100c3565b9392505050565b6001600160a01b03163b151590565b90565b600061009a7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b905090565b3660008037600080366000845af43d6000803e8080156100be573d6000f35b3d6000fd5b6060600080856001600160a01b0316856040516100e09190610218565b600060405180830381855af49150503d806000811461011b576040519150601f19603f3d011682016040523d82523d6000602084013e610120565b606091505b50915091506101318683838761013b565b9695505050505050565b606083156101ac5782516101a5576001600160a01b0385163b6101a55760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064015b60405180910390fd5b50816101b6565b6101b683836101be565b949350505050565b8151156101ce5781518083602001fd5b8060405162461bcd60e51b815260040161019c9190610234565b60005b838110156102035781810151838201526020016101eb565b83811115610212576000848401525b50505050565b6000825161022a8184602087016101e8565b9190910192915050565b60208152600082518060208401526102538160408501602087016101e8565b601f01601f1916919091016040019291505056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a2646970667358221220475ced644e06a248756d0e037350d1462b7729c2c9d4d3d195ec7463a01673af64736f6c634300080a0033416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564",
}
ERC1967ProxyMetaData contains all meta data concerning the ERC1967Proxy contract.
var ERC20UpgradableABI = ERC20UpgradableMetaData.ABI
ERC20UpgradableABI is the input ABI used to generate the binding from. Deprecated: Use ERC20UpgradableMetaData.ABI instead.
var ERC20UpgradableBin = ERC20UpgradableMetaData.Bin
ERC20UpgradableBin is the compiled bytecode used for deploying new contracts. Deprecated: Use ERC20UpgradableMetaData.Bin instead.
var ERC20UpgradableMetaData = &bind.MetaData{
ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"previousAdmin\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newAdmin\",\"type\":\"address\"}],\"name\":\"AdminChanged\",\"type\":\"event\"},{\"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\":\"beacon\",\"type\":\"address\"}],\"name\":\"BeaconUpgraded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"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\"},{\"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\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"Upgraded\",\"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\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"burn\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"burn\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"burnFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"name_\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"symbol_\",\"type\":\"string\"},{\"internalType\":\"uint8\",\"name\":\"decimals_\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"module_\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"proxiableUUID\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"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\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newImplementation\",\"type\":\"address\"}],\"name\":\"upgradeTo\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newImplementation\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"upgradeToAndCall\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"}]",
Bin: "0x60a060405261100160805234801561001657600080fd5b5060805161191461004e600039600081816104ef01528181610538015281816105f80152818161063801526106c701526119146000f3fe60806040526004361061011f5760003560e01c806370a08231116100a05780639dc29fac116100645780639dc29fac14610312578063a9059cbb14610332578063dd62ed3e14610352578063de7ea79d14610398578063f2fde38b146103b857600080fd5b806370a082311461026a578063715018a6146102a057806379cc6790146102b55780638da5cb5b146102d557806395d89b41146102fd57600080fd5b80633659cfe6116100e75780633659cfe6146101e057806340c10f191461020257806342966c68146102225780634f1ef2861461024257806352d1902d1461025557600080fd5b806306fdde0314610124578063095ea7b31461014f57806318160ddd1461017f57806323b872dd1461019e578063313ce567146101be575b600080fd5b34801561013057600080fd5b506101396103d8565b6040516101469190611448565b60405180910390f35b34801561015b57600080fd5b5061016f61016a366004611497565b61046a565b6040519015158152602001610146565b34801561018b57600080fd5b5060cc545b604051908152602001610146565b3480156101aa57600080fd5b5061016f6101b93660046114c1565b6104c0565b3480156101ca57600080fd5b5060cb5460405160ff9091168152602001610146565b3480156101ec57600080fd5b506102006101fb3660046114fd565b6104e4565b005b34801561020e57600080fd5b5061020061021d366004611497565b6105cd565b34801561022e57600080fd5b5061020061023d366004611518565b6105e3565b6102006102503660046115bd565b6105ed565b34801561026157600080fd5b506101906106ba565b34801561027657600080fd5b506101906102853660046114fd565b6001600160a01b0316600090815260cd602052604090205490565b3480156102ac57600080fd5b5061020061076d565b3480156102c157600080fd5b506102006102d0366004611497565b610781565b3480156102e157600080fd5b506097546040516001600160a01b039091168152602001610146565b34801561030957600080fd5b50610139610796565b34801561031e57600080fd5b5061020061032d366004611497565b6107a5565b34801561033e57600080fd5b5061016f61034d366004611497565b6107ad565b34801561035e57600080fd5b5061019061036d36600461161f565b6001600160a01b03918216600090815260ce6020908152604080832093909416825291909152205490565b3480156103a457600080fd5b506102006103b3366004611672565b6107c3565b3480156103c457600080fd5b506102006103d33660046114fd565b610932565b606060c980546103e7906116ff565b80601f0160208091040260200160405190810160405280929190818152602001828054610413906116ff565b80156104605780601f1061043557610100808354040283529160200191610460565b820191906000526020600020905b81548152906001019060200180831161044357829003601f168201915b5050505050905090565b60006104773384846109a8565b6040518281526001600160a01b0384169033907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259060200160405180910390a350600192915050565b6000336104ce858285610a2a565b6104d9858585610abc565b506001949350505050565b306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614156105365760405162461bcd60e51b815260040161052d9061173a565b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031661057f600080516020611898833981519152546001600160a01b031690565b6001600160a01b0316146105a55760405162461bcd60e51b815260040161052d90611786565b6105ae81610c6b565b604080516000808252602082019092526105ca91839190610c73565b50565b6105d5610de3565b6105df8282610e3d565b5050565b6105ca3382610f1c565b306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614156106365760405162461bcd60e51b815260040161052d9061173a565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031661067f600080516020611898833981519152546001600160a01b031690565b6001600160a01b0316146106a55760405162461bcd60e51b815260040161052d90611786565b6106ae82610c6b565b6105df82826001610c73565b6000306001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161461075a5760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c60448201527f6c6564207468726f7567682064656c656761746563616c6c0000000000000000606482015260840161052d565b5060008051602061189883398151915290565b610775610de3565b61077f600061105e565b565b61078c823383610a2a565b6105df8282610f1c565b606060ca80546103e7906116ff565b61078c610de3565b60006107ba338484610abc565b50600192915050565b600054610100900460ff16158080156107e35750600054600160ff909116105b806107fd5750303b1580156107fd575060005460ff166001145b6108605760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840161052d565b6000805460ff191660011790558015610883576000805461ff0019166101001790555b84516108969060c9906020880190611383565b5083516108aa9060ca906020870190611383565b5060cb805460ff191660ff851617905560cf80546001600160a01b0319166001600160a01b0384161790556108dd6110b0565b6108e56110df565b801561092b576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050505050565b61093a610de3565b6001600160a01b03811661099f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161052d565b6105ca8161105e565b6001600160a01b0383166109fe5760405162461bcd60e51b815260206004820152601d60248201527f617070726f76652066726f6d20746865207a65726f2061646472657373000000604482015260640161052d565b6001600160a01b03928316600090815260ce602090815260408083209490951682529290925291902055565b6001600160a01b03808416600090815260ce60209081526040808320938616835292905220546000198114610ab65781811015610aa95760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161052d565b610ab684848484036109a8565b50505050565b6001600160a01b038316610b125760405162461bcd60e51b815260206004820152601e60248201527f7472616e736665722066726f6d20746865207a65726f20616464726573730000604482015260640161052d565b6001600160a01b038216610b685760405162461bcd60e51b815260206004820152601c60248201527f7472616e7366657220746f20746865207a65726f206164647265737300000000604482015260640161052d565b6001600160a01b038316600090815260cd602052604090205481811015610bd15760405162461bcd60e51b815260206004820152601f60248201527f7472616e7366657220616d6f756e7420657863656564732062616c616e636500604482015260640161052d565b610bdb82826117e8565b6001600160a01b03808616600090815260cd60205260408082209390935590851681529081208054849290610c119084906117ff565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610c5d91815260200190565b60405180910390a350505050565b6105ca610de3565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff1615610cab57610ca683611106565b505050565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610d05575060408051601f3d908101601f19168201909252610d0291810190611817565b60015b610d685760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b606482015260840161052d565b6000805160206118988339815191528114610dd75760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b606482015260840161052d565b50610ca68383836111a2565b6097546001600160a01b0316331461077f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161052d565b6001600160a01b038216610e935760405162461bcd60e51b815260206004820152601860248201527f6d696e7420746f20746865207a65726f20616464726573730000000000000000604482015260640161052d565b8060cc6000828254610ea591906117ff565b90915550506001600160a01b038216600090815260cd602052604081208054839290610ed29084906117ff565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b038216610f725760405162461bcd60e51b815260206004820152601a60248201527f6275726e2066726f6d20746865207a65726f2061646472657373000000000000604482015260640161052d565b6001600160a01b038216600090815260cd602052604090205481811015610fdb5760405162461bcd60e51b815260206004820152601b60248201527f6275726e20616d6f756e7420657863656564732062616c616e63650000000000604482015260640161052d565b610fe582826117e8565b6001600160a01b038416600090815260cd602052604081209190915560cc80548492906110139084906117e8565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b609780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600054610100900460ff166110d75760405162461bcd60e51b815260040161052d90611830565b61077f6111c7565b600054610100900460ff1661077f5760405162461bcd60e51b815260040161052d90611830565b6001600160a01b0381163b6111735760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b606482015260840161052d565b60008051602061189883398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b6111ab836111f7565b6000825111806111b85750805b15610ca657610ab68383611237565b600054610100900460ff166111ee5760405162461bcd60e51b815260040161052d90611830565b61077f3361105e565b61120081611106565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b606061125c83836040518060600160405280602781526020016118b860279139611263565b9392505050565b6060600080856001600160a01b031685604051611280919061187b565b600060405180830381855af49150503d80600081146112bb576040519150601f19603f3d011682016040523d82523d6000602084013e6112c0565b606091505b50915091506112d1868383876112db565b9695505050505050565b60608315611347578251611340576001600160a01b0385163b6113405760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161052d565b5081611351565b6113518383611359565b949350505050565b8151156113695781518083602001fd5b8060405162461bcd60e51b815260040161052d9190611448565b82805461138f906116ff565b90600052602060002090601f0160209004810192826113b157600085556113f7565b82601f106113ca57805160ff19168380011785556113f7565b828001600101855582156113f7579182015b828111156113f75782518255916020019190600101906113dc565b50611403929150611407565b5090565b5b808211156114035760008155600101611408565b60005b8381101561143757818101518382015260200161141f565b83811115610ab65750506000910152565b602081526000825180602084015261146781604085016020870161141c565b601f01601f19169190910160400192915050565b80356001600160a01b038116811461149257600080fd5b919050565b600080604083850312156114aa57600080fd5b6114b38361147b565b946020939093013593505050565b6000806000606084860312156114d657600080fd5b6114df8461147b565b92506114ed6020850161147b565b9150604084013590509250925092565b60006020828403121561150f57600080fd5b61125c8261147b565b60006020828403121561152a57600080fd5b5035919050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561156257611562611531565b604051601f8501601f19908116603f0116810190828211818310171561158a5761158a611531565b816040528093508581528686860111156115a357600080fd5b858560208301376000602087830101525050509392505050565b600080604083850312156115d057600080fd5b6115d98361147b565b9150602083013567ffffffffffffffff8111156115f557600080fd5b8301601f8101851361160657600080fd5b61161585823560208401611547565b9150509250929050565b6000806040838503121561163257600080fd5b61163b8361147b565b91506116496020840161147b565b90509250929050565b600082601f83011261166357600080fd5b61125c83833560208501611547565b6000806000806080858703121561168857600080fd5b843567ffffffffffffffff808211156116a057600080fd5b6116ac88838901611652565b955060208701359150808211156116c257600080fd5b506116cf87828801611652565b935050604085013560ff811681146116e657600080fd5b91506116f46060860161147b565b905092959194509250565b600181811c9082168061171357607f821691505b6020821081141561173457634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b6163746976652070726f787960a01b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b6000828210156117fa576117fa6117d2565b500390565b60008219821115611812576118126117d2565b500190565b60006020828403121561182957600080fd5b5051919050565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b6000825161188d81846020870161141c565b919091019291505056fe360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a26469706673582212207d16f75d563e9ff3a3d12a47c196b0e2726b12d3b5790c5820241066679d31a464736f6c634300080a0033",
}
ERC20UpgradableMetaData contains all meta data concerning the ERC20Upgradable contract.
var IBankABI = IBankMetaData.ABI
IBankABI is the input ABI used to generate the binding from. Deprecated: Use IBankMetaData.ABI instead.
var IBankMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_account\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"_module\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"transferFromAccountToModule\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"_result\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_module\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"_account\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"transferFromModuleToAccount\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"_result\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
IBankMetaData contains all meta data concerning the IBank contract.
var IBridgeCallContextABI = IBridgeCallContextMetaData.ABI
IBridgeCallContextABI is the input ABI used to generate the binding from. Deprecated: Use IBridgeCallContextMetaData.ABI instead.
var IBridgeCallContextMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_refund\",\"type\":\"address\"},{\"internalType\":\"address[]\",\"name\":\"_tokens\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_amounts\",\"type\":\"uint256[]\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"_memo\",\"type\":\"bytes\"}],\"name\":\"onBridgeCall\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_msg\",\"type\":\"bytes\"}],\"name\":\"onRevert\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
IBridgeCallContextMetaData contains all meta data concerning the IBridgeCallContext contract.
var ICrosschainABI = ICrosschainMetaData.ABI
ICrosschainABI is the input ABI used to generate the binding from. Deprecated: Use ICrosschainMetaData.ABI instead.
var ICrosschainMetaData = &bind.MetaData{
ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_sender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_refund\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"_txOrigin\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_eventNonce\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"_dstChain\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"address[]\",\"name\":\"_tokens\",\"type\":\"address[]\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"_amounts\",\"type\":\"uint256[]\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_quoteId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_gasLimit\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"_memo\",\"type\":\"bytes\"}],\"name\":\"BridgeCallEvent\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"denom\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"receipt\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"fee\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"target\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"memo\",\"type\":\"string\"}],\"name\":\"CrossChain\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_eventNonce\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"_chain\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"_errReason\",\"type\":\"string\"}],\"name\":\"ExecuteClaimEvent\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_dstChain\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"_refund\",\"type\":\"address\"},{\"internalType\":\"address[]\",\"name\":\"_tokens\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_amounts\",\"type\":\"uint256[]\"},{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"_quoteId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_gasLimit\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_memo\",\"type\":\"bytes\"}],\"name\":\"bridgeCall\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"_eventNonce\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"_target\",\"type\":\"bytes32\"}],\"name\":\"bridgeCoinAmount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"_receipt\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_fee\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"_target\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"_memo\",\"type\":\"string\"}],\"name\":\"crossChain\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"_result\",\"type\":\"bool\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_chain\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"_eventNonce\",\"type\":\"uint256\"}],\"name\":\"executeClaim\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"_result\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_denom\",\"type\":\"bytes32\"}],\"name\":\"getERC20Token\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"_enable\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_chain\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"_externalAddress\",\"type\":\"address\"}],\"name\":\"hasOracle\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"_result\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_chain\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"_externalAddress\",\"type\":\"address\"}],\"name\":\"isOracleOnline\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"_result\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}
ICrosschainMetaData contains all meta data concerning the ICrosschain contract.
var IErrorABI = IErrorMetaData.ABI
IErrorABI is the input ABI used to generate the binding from. Deprecated: Use IErrorMetaData.ABI instead.
var IErrorMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"Error\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
IErrorMetaData contains all meta data concerning the IError contract.
var IFxBridgeLogicABI = IFxBridgeLogicMetaData.ABI
IFxBridgeLogicABI is the input ABI used to generate the binding from. Deprecated: Use IFxBridgeLogicMetaData.ABI instead.
var IFxBridgeLogicMetaData = &bind.MetaData{
ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_tokenContract\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"_name\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"_symbol\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"_decimals\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_eventNonce\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"_memo\",\"type\":\"bytes32\"}],\"name\":\"AddBridgeTokenEvent\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_sender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_refund\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"_txOrigin\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_eventNonce\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"_dstChain\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"address[]\",\"name\":\"_tokens\",\"type\":\"address[]\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"_amounts\",\"type\":\"uint256[]\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_quoteId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_gasLimit\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"_memo\",\"type\":\"bytes\"}],\"name\":\"BridgeCallEvent\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"_newOracleSetNonce\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_eventNonce\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address[]\",\"name\":\"_oracles\",\"type\":\"address[]\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"_powers\",\"type\":\"uint256[]\"}],\"name\":\"OracleSetUpdatedEvent\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_tokenContract\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_sender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"_destination\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"_targetIBC\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_eventNonce\",\"type\":\"uint256\"}],\"name\":\"SendToFxEvent\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_txOrigin\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_nonce\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_eventNonce\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"_success\",\"type\":\"bool\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"_cause\",\"type\":\"bytes\"}],\"name\":\"SubmitBridgeCallEvent\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"_batchNonce\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_eventNonce\",\"type\":\"uint256\"}],\"name\":\"TransactionBatchExecutedEvent\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"_newOwner\",\"type\":\"address\"}],\"name\":\"TransferOwnerEvent\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_tokenAddr\",\"type\":\"address\"}],\"name\":\"activeBridgeToken\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_tokenAddr\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"_memo\",\"type\":\"bytes32\"},{\"internalType\":\"bool\",\"name\":\"_isOriginated\",\"type\":\"bool\"}],\"name\":\"addBridgeToken\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_dstChain\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"_refund\",\"type\":\"address\"},{\"internalType\":\"address[]\",\"name\":\"_tokens\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_amounts\",\"type\":\"uint256[]\"},{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"_quoteId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_gasLimit\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_memo\",\"type\":\"bytes\"}],\"name\":\"bridgeCall\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"_eventNonce\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_fxbridgeId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"_methodName\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"_nonce\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"refund\",\"type\":\"address\"},{\"internalType\":\"address[]\",\"name\":\"tokens\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"memo\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"timeout\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"gasLimit\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"eventNonce\",\"type\":\"uint256\"}],\"internalType\":\"structFxBridgeBase.BridgeCallData\",\"name\":\"_input\",\"type\":\"tuple\"}],\"name\":\"bridgeCallCheckpoint\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_index\",\"type\":\"uint256\"}],\"name\":\"bridgeTokens\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_tokenAddr\",\"type\":\"address\"}],\"name\":\"checkAssetStatus\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_erc20Address\",\"type\":\"address\"}],\"name\":\"convert_decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getBridgeTokenList\",\"outputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"symbol\",\"type\":\"string\"},{\"internalType\":\"uint8\",\"name\":\"decimals\",\"type\":\"uint8\"}],\"internalType\":\"structFxBridgeBase.BridgeToken[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_tokenAddr\",\"type\":\"address\"}],\"name\":\"getTokenStatus\",\"outputs\":[{\"components\":[{\"internalType\":\"bool\",\"name\":\"isOriginated\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"isActive\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"isExist\",\"type\":\"bool\"}],\"internalType\":\"structFxBridgeBase.TokenStatus\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_erc20Address\",\"type\":\"address\"}],\"name\":\"lastBatchNonce\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_fxbridgeId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"_methodName\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"_oracleSetNonce\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"_oracles\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_powers\",\"type\":\"uint256[]\"}],\"name\":\"oracleSetCheckpoint\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_tokenAddr\",\"type\":\"address\"}],\"name\":\"pauseBridgeToken\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_tokenContract\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"_destination\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"_targetIBC\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"sendToFx\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"state_fxBridgeId\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_erc20Address\",\"type\":\"address\"}],\"name\":\"state_lastBatchNonces\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_index\",\"type\":\"uint256\"}],\"name\":\"state_lastBridgeCallNonces\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"state_lastEventNonce\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"state_lastOracleSetCheckpoint\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"state_lastOracleSetNonce\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"state_powerThreshold\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"_currentOracles\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_currentPowers\",\"type\":\"uint256[]\"},{\"internalType\":\"uint8[]\",\"name\":\"_v\",\"type\":\"uint8[]\"},{\"internalType\":\"bytes32[]\",\"name\":\"_r\",\"type\":\"bytes32[]\"},{\"internalType\":\"bytes32[]\",\"name\":\"_s\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_amounts\",\"type\":\"uint256[]\"},{\"internalType\":\"address[]\",\"name\":\"_destinations\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_fees\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[2]\",\"name\":\"_nonceArray\",\"type\":\"uint256[2]\"},{\"internalType\":\"address\",\"name\":\"_tokenContract\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_batchTimeout\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_feeReceive\",\"type\":\"address\"}],\"name\":\"submitBatch\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_fxbridgeId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"_methodName\",\"type\":\"bytes32\"},{\"internalType\":\"uint256[]\",\"name\":\"_amounts\",\"type\":\"uint256[]\"},{\"internalType\":\"address[]\",\"name\":\"_destinations\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_fees\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256\",\"name\":\"_batchNonce\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_tokenContract\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_batchTimeout\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_feeReceive\",\"type\":\"address\"}],\"name\":\"submitBatchCheckpoint\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address[]\",\"name\":\"oracles\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"powers\",\"type\":\"uint256[]\"},{\"internalType\":\"bytes32[]\",\"name\":\"r\",\"type\":\"bytes32[]\"},{\"internalType\":\"bytes32[]\",\"name\":\"s\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint8[]\",\"name\":\"v\",\"type\":\"uint8[]\"}],\"internalType\":\"structFxBridgeBase.OracleSignatures\",\"name\":\"_curOracleSigns\",\"type\":\"tuple\"},{\"internalType\":\"uint256[2]\",\"name\":\"_nonceArray\",\"type\":\"uint256[2]\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"refund\",\"type\":\"address\"},{\"internalType\":\"address[]\",\"name\":\"tokens\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"memo\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"timeout\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"gasLimit\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"eventNonce\",\"type\":\"uint256\"}],\"internalType\":\"structFxBridgeBase.BridgeCallData\",\"name\":\"_input\",\"type\":\"tuple\"}],\"name\":\"submitBridgeCall\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_newOwner\",\"type\":\"address\"}],\"name\":\"transferOwner\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unpause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"_newOracles\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_newPowers\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256\",\"name\":\"_newOracleSetNonce\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"_currentOracles\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_currentPowers\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256\",\"name\":\"_currentOracleSetNonce\",\"type\":\"uint256\"},{\"internalType\":\"uint8[]\",\"name\":\"_v\",\"type\":\"uint8[]\"},{\"internalType\":\"bytes32[]\",\"name\":\"_r\",\"type\":\"bytes32[]\"},{\"internalType\":\"bytes32[]\",\"name\":\"_s\",\"type\":\"bytes32[]\"}],\"name\":\"updateOracleSet\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}
IFxBridgeLogicMetaData contains all meta data concerning the IFxBridgeLogic contract.
var IStakingABI = IStakingMetaData.ABI
IStakingABI is the input ABI used to generate the binding from. Deprecated: Use IStakingMetaData.ABI instead.
var IStakingMetaData = &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\":\"string\",\"name\":\"validator\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"}],\"name\":\"ApproveShares\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"delegator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"validator\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"DelegateV2\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"valSrc\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"valDst\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"completionTime\",\"type\":\"uint256\"}],\"name\":\"RedelegateV2\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"validator\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"token\",\"type\":\"uint256\"}],\"name\":\"TransferShares\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"validator\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"completionTime\",\"type\":\"uint256\"}],\"name\":\"UndelegateV2\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"validator\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"reward\",\"type\":\"uint256\"}],\"name\":\"Withdraw\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_val\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_spender\",\"type\":\"address\"}],\"name\":\"allowanceShares\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"_shares\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_val\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"_spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_shares\",\"type\":\"uint256\"}],\"name\":\"approveShares\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"_result\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_val\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"delegateV2\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"_result\",\"type\":\"bool\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_val\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"_del\",\"type\":\"address\"}],\"name\":\"delegation\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"_shares\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_delegateAmount\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_val\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"_del\",\"type\":\"address\"}],\"name\":\"delegationRewards\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"_reward\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_valSrc\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_valDst\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"redelegateV2\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"_result\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_val\",\"type\":\"string\"}],\"name\":\"slashingInfo\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"_jailed\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"_missed\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_val\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"_from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_shares\",\"type\":\"uint256\"}],\"name\":\"transferFromShares\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"_token\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_reward\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_val\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_shares\",\"type\":\"uint256\"}],\"name\":\"transferShares\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"_token\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_reward\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_val\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"undelegateV2\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"_result\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"enumIStaking.ValidatorSortBy\",\"name\":\"_sortBy\",\"type\":\"uint8\"}],\"name\":\"validatorList\",\"outputs\":[{\"internalType\":\"string[]\",\"name\":\"\",\"type\":\"string[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_val\",\"type\":\"string\"}],\"name\":\"withdraw\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"_reward\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
IStakingMetaData contains all meta data concerning the IStaking contract.
var WarpTokenUpgradableABI = WarpTokenUpgradableMetaData.ABI
WarpTokenUpgradableABI is the input ABI used to generate the binding from. Deprecated: Use WarpTokenUpgradableMetaData.ABI instead.
var WarpTokenUpgradableBin = WarpTokenUpgradableMetaData.Bin
WarpTokenUpgradableBin is the compiled bytecode used for deploying new contracts. Deprecated: Use WarpTokenUpgradableMetaData.Bin instead.
var WarpTokenUpgradableMetaData = &bind.MetaData{
ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"previousAdmin\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newAdmin\",\"type\":\"address\"}],\"name\":\"AdminChanged\",\"type\":\"event\"},{\"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\":\"beacon\",\"type\":\"address\"}],\"name\":\"BeaconUpgraded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Deposit\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"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\"},{\"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\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"Upgraded\",\"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\":\"Withdraw\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Withdraw\",\"type\":\"event\"},{\"stateMutability\":\"payable\",\"type\":\"fallback\"},{\"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\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"burn\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"burn\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"burnFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"deposit\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"name_\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"symbol_\",\"type\":\"string\"},{\"internalType\":\"uint8\",\"name\":\"decimals_\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"module_\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"module\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"proxiableUUID\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"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\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newImplementation\",\"type\":\"address\"}],\"name\":\"upgradeTo\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newImplementation\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"upgradeToAndCall\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"addresspayable\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]",
Bin: "0x60a060405261100260805234801561001657600080fd5b50608051611af761004e6000396000818161064901528181610692015281816107510152818161079101526108200152611af76000f3fe60806040526004361061014f5760003560e01c8063715018a6116100b6578063b86d52981161006f578063b86d5298146103bc578063d0e30db01461015e578063dd62ed3e146103da578063de7ea79d14610420578063f2fde38b14610440578063f3fef3a3146104605761015e565b8063715018a61461030057806379cc6790146103155780638da5cb5b1461033557806395d89b41146103675780639dc29fac1461037c578063a9059cbb1461039c5761015e565b80633659cfe6116101085780633659cfe61461024257806340c10f191461026257806342966c68146102825780634f1ef286146102a257806352d1902d146102b557806370a08231146102ca5761015e565b806306fdde0314610166578063095ea7b31461019157806318160ddd146101c157806323b872dd146101e05780632e1a7d4d14610200578063313ce567146102205761015e565b3661015e5761015c610480565b005b61015c610480565b34801561017257600080fd5b5061017b6104c1565b604051610188919061161f565b60405180910390f35b34801561019d57600080fd5b506101b16101ac366004611667565b610553565b6040519015158152602001610188565b3480156101cd57600080fd5b5060cc545b604051908152602001610188565b3480156101ec57600080fd5b506101b16101fb366004611693565b6105a9565b34801561020c57600080fd5b5061015c61021b3660046116d4565b6105cd565b34801561022c57600080fd5b5060cb5460405160ff9091168152602001610188565b34801561024e57600080fd5b5061015c61025d3660046116ed565b61063e565b34801561026e57600080fd5b5061015c61027d366004611667565b610727565b34801561028e57600080fd5b5061015c61029d3660046116d4565b61073d565b61015c6102b0366004611796565b610746565b3480156102c157600080fd5b506101d2610813565b3480156102d657600080fd5b506101d26102e53660046116ed565b6001600160a01b0316600090815260cd602052604090205490565b34801561030c57600080fd5b5061015c6108c6565b34801561032157600080fd5b5061015c610330366004611667565b6108da565b34801561034157600080fd5b506097546001600160a01b03165b6040516001600160a01b039091168152602001610188565b34801561037357600080fd5b5061017b6108ef565b34801561038857600080fd5b5061015c610397366004611667565b6108fe565b3480156103a857600080fd5b506101b16103b7366004611667565b610906565b3480156103c857600080fd5b5060cf546001600160a01b031661034f565b3480156103e657600080fd5b506101d26103f53660046117fa565b6001600160a01b03918216600090815260ce6020908152604080832093909416825291909152205490565b34801561042c57600080fd5b5061015c61043b366004611853565b61091c565b34801561044c57600080fd5b5061015c61045b3660046116ed565b610a8b565b34801561046c57600080fd5b5061015c61047b366004611667565b610b01565b61048a3334610b86565b60405134815233907fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c9060200160405180910390a2565b606060c980546104d0906118e2565b80601f01602080910402602001604051908101604052809291908181526020018280546104fc906118e2565b80156105495780601f1061051e57610100808354040283529160200191610549565b820191906000526020600020905b81548152906001019060200180831161052c57829003601f168201915b5050505050905090565b6000610560338484610c5e565b6040518281526001600160a01b0384169033907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259060200160405180910390a350600192915050565b6000336105b7858285610ce0565b6105c2858585610d72565b506001949350505050565b6105d8335b82610f21565b604051339082156108fc029083906000818181858888f19350505050158015610605573d6000803e3d6000fd5b5060405181815233907f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a94243649060200160405180910390a250565b306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614156106905760405162461bcd60e51b81526004016106879061191d565b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166106d9600080516020611a7b833981519152546001600160a01b031690565b6001600160a01b0316146106ff5760405162461bcd60e51b815260040161068790611969565b61070881611063565b604080516000808252602082019092526107249183919061106b565b50565b61072f6111db565b6107398282610b86565b5050565b610724336105d2565b306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016141561078f5760405162461bcd60e51b81526004016106879061191d565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166107d8600080516020611a7b833981519152546001600160a01b031690565b6001600160a01b0316146107fe5760405162461bcd60e51b815260040161068790611969565b61080782611063565b6107398282600161106b565b6000306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146108b35760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c60448201527f6c6564207468726f7567682064656c656761746563616c6c00000000000000006064820152608401610687565b50600080516020611a7b83398151915290565b6108ce6111db565b6108d86000611235565b565b6108e5823383610ce0565b6107398282610f21565b606060ca80546104d0906118e2565b6108e56111db565b6000610913338484610d72565b50600192915050565b600054610100900460ff161580801561093c5750600054600160ff909116105b806109565750303b158015610956575060005460ff166001145b6109b95760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610687565b6000805460ff1916600117905580156109dc576000805461ff0019166101001790555b84516109ef9060c990602088019061155a565b508351610a039060ca90602087019061155a565b5060cb805460ff191660ff851617905560cf80546001600160a01b0319166001600160a01b038416179055610a36611287565b610a3e6112b6565b8015610a84576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050505050565b610a936111db565b6001600160a01b038116610af85760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610687565b61072481611235565b610b0a336105d2565b6040516001600160a01b0383169082156108fc029083906000818181858888f19350505050158015610b40573d6000803e3d6000fd5b506040518181526001600160a01b0383169033907f9b1bfa7fa9ee420a16e124f794c35ac9f90472acc99140eb2f6447c714cad8eb906020015b60405180910390a35050565b6001600160a01b038216610bdc5760405162461bcd60e51b815260206004820152601860248201527f6d696e7420746f20746865207a65726f206164647265737300000000000000006044820152606401610687565b8060cc6000828254610bee91906119cb565b90915550506001600160a01b038216600090815260cd602052604081208054839290610c1b9084906119cb565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610b7a565b6001600160a01b038316610cb45760405162461bcd60e51b815260206004820152601d60248201527f617070726f76652066726f6d20746865207a65726f20616464726573730000006044820152606401610687565b6001600160a01b03928316600090815260ce602090815260408083209490951682529290925291902055565b6001600160a01b03808416600090815260ce60209081526040808320938616835292905220546000198114610d6c5781811015610d5f5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610687565b610d6c8484848403610c5e565b50505050565b6001600160a01b038316610dc85760405162461bcd60e51b815260206004820152601e60248201527f7472616e736665722066726f6d20746865207a65726f206164647265737300006044820152606401610687565b6001600160a01b038216610e1e5760405162461bcd60e51b815260206004820152601c60248201527f7472616e7366657220746f20746865207a65726f2061646472657373000000006044820152606401610687565b6001600160a01b038316600090815260cd602052604090205481811015610e875760405162461bcd60e51b815260206004820152601f60248201527f7472616e7366657220616d6f756e7420657863656564732062616c616e6365006044820152606401610687565b610e9182826119e3565b6001600160a01b03808616600090815260cd60205260408082209390935590851681529081208054849290610ec79084906119cb565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610f1391815260200190565b60405180910390a350505050565b6001600160a01b038216610f775760405162461bcd60e51b815260206004820152601a60248201527f6275726e2066726f6d20746865207a65726f20616464726573730000000000006044820152606401610687565b6001600160a01b038216600090815260cd602052604090205481811015610fe05760405162461bcd60e51b815260206004820152601b60248201527f6275726e20616d6f756e7420657863656564732062616c616e636500000000006044820152606401610687565b610fea82826119e3565b6001600160a01b038416600090815260cd602052604081209190915560cc80548492906110189084906119e3565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b6107246111db565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff16156110a35761109e836112dd565b505050565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa9250505080156110fd575060408051601f3d908101601f191682019092526110fa918101906119fa565b60015b6111605760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b6064820152608401610687565b600080516020611a7b83398151915281146111cf5760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b6064820152608401610687565b5061109e838383611379565b6097546001600160a01b031633146108d85760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610687565b609780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600054610100900460ff166112ae5760405162461bcd60e51b815260040161068790611a13565b6108d861139e565b600054610100900460ff166108d85760405162461bcd60e51b815260040161068790611a13565b6001600160a01b0381163b61134a5760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b6064820152608401610687565b600080516020611a7b83398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b611382836113ce565b60008251118061138f5750805b1561109e57610d6c838361140e565b600054610100900460ff166113c55760405162461bcd60e51b815260040161068790611a13565b6108d833611235565b6113d7816112dd565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b60606114338383604051806060016040528060278152602001611a9b6027913961143a565b9392505050565b6060600080856001600160a01b0316856040516114579190611a5e565b600060405180830381855af49150503d8060008114611492576040519150601f19603f3d011682016040523d82523d6000602084013e611497565b606091505b50915091506114a8868383876114b2565b9695505050505050565b6060831561151e578251611517576001600160a01b0385163b6115175760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610687565b5081611528565b6115288383611530565b949350505050565b8151156115405781518083602001fd5b8060405162461bcd60e51b8152600401610687919061161f565b828054611566906118e2565b90600052602060002090601f01602090048101928261158857600085556115ce565b82601f106115a157805160ff19168380011785556115ce565b828001600101855582156115ce579182015b828111156115ce5782518255916020019190600101906115b3565b506115da9291506115de565b5090565b5b808211156115da57600081556001016115df565b60005b8381101561160e5781810151838201526020016115f6565b83811115610d6c5750506000910152565b602081526000825180602084015261163e8160408501602087016115f3565b601f01601f19169190910160400192915050565b6001600160a01b038116811461072457600080fd5b6000806040838503121561167a57600080fd5b823561168581611652565b946020939093013593505050565b6000806000606084860312156116a857600080fd5b83356116b381611652565b925060208401356116c381611652565b929592945050506040919091013590565b6000602082840312156116e657600080fd5b5035919050565b6000602082840312156116ff57600080fd5b813561143381611652565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561173b5761173b61170a565b604051601f8501601f19908116603f011681019082821181831017156117635761176361170a565b8160405280935085815286868601111561177c57600080fd5b858560208301376000602087830101525050509392505050565b600080604083850312156117a957600080fd5b82356117b481611652565b9150602083013567ffffffffffffffff8111156117d057600080fd5b8301601f810185136117e157600080fd5b6117f085823560208401611720565b9150509250929050565b6000806040838503121561180d57600080fd5b823561181881611652565b9150602083013561182881611652565b809150509250929050565b600082601f83011261184457600080fd5b61143383833560208501611720565b6000806000806080858703121561186957600080fd5b843567ffffffffffffffff8082111561188157600080fd5b61188d88838901611833565b955060208701359150808211156118a357600080fd5b506118b087828801611833565b935050604085013560ff811681146118c757600080fd5b915060608501356118d781611652565b939692955090935050565b600181811c908216806118f657607f821691505b6020821081141561191757634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b6163746976652070726f787960a01b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b600082198211156119de576119de6119b5565b500190565b6000828210156119f5576119f56119b5565b500390565b600060208284031215611a0c57600080fd5b5051919050565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b60008251611a708184602087016115f3565b919091019291505056fe360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a264697066735822122028fec7582786fbf176e212f9db246ec5eff003a785551a5f26e94f7f1e8e3e3864736f6c634300080a0033",
}
WarpTokenUpgradableMetaData contains all meta data concerning the WarpTokenUpgradable contract.
Functions ¶
func Byte32ToString ¶
func DeployBridgeFeeContract ¶
func DeployProxy ¶
func IsEmptyHash ¶
IsEmptyHash returns true if the hash corresponds to an empty ethereum hex hash.
func IsZeroEthAddress ¶
IsZeroEthAddress returns true if the address corresponds to an empty ethereum address.
func MustABIJson ¶
func MustDecodeHex ¶
func MustStrToByte32 ¶
func PackOnBridgeCall ¶
func PackOracleSetCheckpoint ¶
func PackRetErrV2 ¶
func StrToByte32 ¶
func ValidateEthereumAddress ¶
ValidateEthereumAddress validates the ethereum address strings
Types ¶
type AccessControl ¶
type AccessControl struct { AccessControlCaller // Read-only binding to the contract AccessControlTransactor // Write-only binding to the contract AccessControlFilterer // Log filterer for contract events }
AccessControl is an auto generated Go binding around an Ethereum contract.
func DeployAccessControl ¶
func DeployAccessControl(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *AccessControl, error)
DeployAccessControl deploys a new Ethereum contract, binding an instance of AccessControl to it.
func NewAccessControl ¶
func NewAccessControl(address common.Address, backend bind.ContractBackend) (*AccessControl, error)
NewAccessControl creates a new instance of AccessControl, bound to a specific deployed contract.
type AccessControlCaller ¶
type AccessControlCaller struct {
// contains filtered or unexported fields
}
AccessControlCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewAccessControlCaller ¶
func NewAccessControlCaller(address common.Address, caller bind.ContractCaller) (*AccessControlCaller, error)
NewAccessControlCaller creates a new read-only instance of AccessControl, bound to a specific deployed contract.
func (*AccessControlCaller) DEFAULTADMINROLE ¶
func (_AccessControl *AccessControlCaller) DEFAULTADMINROLE(opts *bind.CallOpts) ([32]byte, error)
DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.
Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)
func (*AccessControlCaller) GetRoleAdmin ¶
func (_AccessControl *AccessControlCaller) GetRoleAdmin(opts *bind.CallOpts, role [32]byte) ([32]byte, error)
GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.
Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)
func (*AccessControlCaller) HasRole ¶
func (_AccessControl *AccessControlCaller) HasRole(opts *bind.CallOpts, role [32]byte, account common.Address) (bool, error)
HasRole is a free data retrieval call binding the contract method 0x91d14854.
Solidity: function hasRole(bytes32 role, address account) view returns(bool)
func (*AccessControlCaller) SupportsInterface ¶
func (_AccessControl *AccessControlCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
type AccessControlCallerRaw ¶
type AccessControlCallerRaw struct {
Contract *AccessControlCaller // Generic read-only contract binding to access the raw methods on
}
AccessControlCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*AccessControlCallerRaw) Call ¶
func (_AccessControl *AccessControlCallerRaw) 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 AccessControlCallerSession ¶
type AccessControlCallerSession struct { Contract *AccessControlCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
AccessControlCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*AccessControlCallerSession) DEFAULTADMINROLE ¶
func (_AccessControl *AccessControlCallerSession) DEFAULTADMINROLE() ([32]byte, error)
DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.
Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)
func (*AccessControlCallerSession) GetRoleAdmin ¶
func (_AccessControl *AccessControlCallerSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.
Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)
func (*AccessControlCallerSession) HasRole ¶
func (_AccessControl *AccessControlCallerSession) HasRole(role [32]byte, account common.Address) (bool, error)
HasRole is a free data retrieval call binding the contract method 0x91d14854.
Solidity: function hasRole(bytes32 role, address account) view returns(bool)
func (*AccessControlCallerSession) SupportsInterface ¶
func (_AccessControl *AccessControlCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
type AccessControlFilterer ¶
type AccessControlFilterer struct {
// contains filtered or unexported fields
}
AccessControlFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewAccessControlFilterer ¶
func NewAccessControlFilterer(address common.Address, filterer bind.ContractFilterer) (*AccessControlFilterer, error)
NewAccessControlFilterer creates a new log filterer instance of AccessControl, bound to a specific deployed contract.
func (*AccessControlFilterer) FilterInitialized ¶
func (_AccessControl *AccessControlFilterer) FilterInitialized(opts *bind.FilterOpts) (*AccessControlInitializedIterator, error)
FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*AccessControlFilterer) FilterRoleAdminChanged ¶
func (_AccessControl *AccessControlFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (*AccessControlRoleAdminChangedIterator, error)
FilterRoleAdminChanged is a free log retrieval operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.
Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
func (*AccessControlFilterer) FilterRoleGranted ¶
func (_AccessControl *AccessControlFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*AccessControlRoleGrantedIterator, error)
FilterRoleGranted is a free log retrieval operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.
Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
func (*AccessControlFilterer) FilterRoleRevoked ¶
func (_AccessControl *AccessControlFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*AccessControlRoleRevokedIterator, error)
FilterRoleRevoked is a free log retrieval operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.
Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
func (*AccessControlFilterer) ParseInitialized ¶
func (_AccessControl *AccessControlFilterer) ParseInitialized(log types.Log) (*AccessControlInitialized, error)
ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*AccessControlFilterer) ParseRoleAdminChanged ¶
func (_AccessControl *AccessControlFilterer) ParseRoleAdminChanged(log types.Log) (*AccessControlRoleAdminChanged, error)
ParseRoleAdminChanged is a log parse operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.
Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
func (*AccessControlFilterer) ParseRoleGranted ¶
func (_AccessControl *AccessControlFilterer) ParseRoleGranted(log types.Log) (*AccessControlRoleGranted, error)
ParseRoleGranted is a log parse operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.
Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
func (*AccessControlFilterer) ParseRoleRevoked ¶
func (_AccessControl *AccessControlFilterer) ParseRoleRevoked(log types.Log) (*AccessControlRoleRevoked, error)
ParseRoleRevoked is a log parse operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.
Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
func (*AccessControlFilterer) WatchInitialized ¶
func (_AccessControl *AccessControlFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *AccessControlInitialized) (event.Subscription, error)
WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*AccessControlFilterer) WatchRoleAdminChanged ¶
func (_AccessControl *AccessControlFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *AccessControlRoleAdminChanged, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (event.Subscription, error)
WatchRoleAdminChanged is a free log subscription operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.
Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
func (*AccessControlFilterer) WatchRoleGranted ¶
func (_AccessControl *AccessControlFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *AccessControlRoleGranted, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)
WatchRoleGranted is a free log subscription operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.
Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
func (*AccessControlFilterer) WatchRoleRevoked ¶
func (_AccessControl *AccessControlFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *AccessControlRoleRevoked, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)
WatchRoleRevoked is a free log subscription operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.
Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
type AccessControlInitialized ¶
type AccessControlInitialized struct { Version uint8 Raw types.Log // Blockchain specific contextual infos }
AccessControlInitialized represents a Initialized event raised by the AccessControl contract.
type AccessControlInitializedIterator ¶
type AccessControlInitializedIterator struct { Event *AccessControlInitialized // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AccessControlInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the AccessControl contract.
func (*AccessControlInitializedIterator) Close ¶
func (it *AccessControlInitializedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AccessControlInitializedIterator) Error ¶
func (it *AccessControlInitializedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AccessControlInitializedIterator) Next ¶
func (it *AccessControlInitializedIterator) 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 AccessControlKeeper ¶
type AccessControlKeeper struct { Caller // contains filtered or unexported fields }
func NewAccessControlKeeper ¶
func NewAccessControlKeeper(caller Caller, contract string) AccessControlKeeper
func (AccessControlKeeper) GrantRole ¶
func (k AccessControlKeeper) GrantRole(ctx context.Context, role common.Hash, account common.Address) (*types.MsgEthereumTxResponse, error)
func (AccessControlKeeper) Initialize ¶
func (k AccessControlKeeper) Initialize(ctx context.Context, admin common.Address) (*types.MsgEthereumTxResponse, error)
type AccessControlRaw ¶
type AccessControlRaw struct {
Contract *AccessControl // Generic contract binding to access the raw methods on
}
AccessControlRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*AccessControlRaw) Call ¶
func (_AccessControl *AccessControlRaw) 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 (*AccessControlRaw) Transact ¶
func (_AccessControl *AccessControlRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*AccessControlRaw) Transfer ¶
func (_AccessControl *AccessControlRaw) 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 AccessControlRoleAdminChanged ¶
type AccessControlRoleAdminChanged struct { Role [32]byte PreviousAdminRole [32]byte NewAdminRole [32]byte Raw types.Log // Blockchain specific contextual infos }
AccessControlRoleAdminChanged represents a RoleAdminChanged event raised by the AccessControl contract.
type AccessControlRoleAdminChangedIterator ¶
type AccessControlRoleAdminChangedIterator struct { Event *AccessControlRoleAdminChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AccessControlRoleAdminChangedIterator is returned from FilterRoleAdminChanged and is used to iterate over the raw logs and unpacked data for RoleAdminChanged events raised by the AccessControl contract.
func (*AccessControlRoleAdminChangedIterator) Close ¶
func (it *AccessControlRoleAdminChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AccessControlRoleAdminChangedIterator) Error ¶
func (it *AccessControlRoleAdminChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AccessControlRoleAdminChangedIterator) Next ¶
func (it *AccessControlRoleAdminChangedIterator) 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 AccessControlRoleGranted ¶
type AccessControlRoleGranted struct { Role [32]byte Account common.Address Sender common.Address Raw types.Log // Blockchain specific contextual infos }
AccessControlRoleGranted represents a RoleGranted event raised by the AccessControl contract.
type AccessControlRoleGrantedIterator ¶
type AccessControlRoleGrantedIterator struct { Event *AccessControlRoleGranted // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AccessControlRoleGrantedIterator is returned from FilterRoleGranted and is used to iterate over the raw logs and unpacked data for RoleGranted events raised by the AccessControl contract.
func (*AccessControlRoleGrantedIterator) Close ¶
func (it *AccessControlRoleGrantedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AccessControlRoleGrantedIterator) Error ¶
func (it *AccessControlRoleGrantedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AccessControlRoleGrantedIterator) Next ¶
func (it *AccessControlRoleGrantedIterator) 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 AccessControlRoleRevoked ¶
type AccessControlRoleRevoked struct { Role [32]byte Account common.Address Sender common.Address Raw types.Log // Blockchain specific contextual infos }
AccessControlRoleRevoked represents a RoleRevoked event raised by the AccessControl contract.
type AccessControlRoleRevokedIterator ¶
type AccessControlRoleRevokedIterator struct { Event *AccessControlRoleRevoked // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AccessControlRoleRevokedIterator is returned from FilterRoleRevoked and is used to iterate over the raw logs and unpacked data for RoleRevoked events raised by the AccessControl contract.
func (*AccessControlRoleRevokedIterator) Close ¶
func (it *AccessControlRoleRevokedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AccessControlRoleRevokedIterator) Error ¶
func (it *AccessControlRoleRevokedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AccessControlRoleRevokedIterator) Next ¶
func (it *AccessControlRoleRevokedIterator) 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 AccessControlSession ¶
type AccessControlSession struct { Contract *AccessControl // 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 }
AccessControlSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*AccessControlSession) DEFAULTADMINROLE ¶
func (_AccessControl *AccessControlSession) DEFAULTADMINROLE() ([32]byte, error)
DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.
Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)
func (*AccessControlSession) GetRoleAdmin ¶
func (_AccessControl *AccessControlSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.
Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)
func (*AccessControlSession) GrantRole ¶
func (_AccessControl *AccessControlSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.
Solidity: function grantRole(bytes32 role, address account) returns()
func (*AccessControlSession) HasRole ¶
func (_AccessControl *AccessControlSession) HasRole(role [32]byte, account common.Address) (bool, error)
HasRole is a free data retrieval call binding the contract method 0x91d14854.
Solidity: function hasRole(bytes32 role, address account) view returns(bool)
func (*AccessControlSession) Initialize ¶
func (_AccessControl *AccessControlSession) Initialize(_admin common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xc4d66de8.
Solidity: function initialize(address _admin) returns()
func (*AccessControlSession) RenounceRole ¶
func (_AccessControl *AccessControlSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)
RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.
Solidity: function renounceRole(bytes32 role, address account) returns()
func (*AccessControlSession) RevokeRole ¶
func (_AccessControl *AccessControlSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.
Solidity: function revokeRole(bytes32 role, address account) returns()
func (*AccessControlSession) SupportsInterface ¶
func (_AccessControl *AccessControlSession) SupportsInterface(interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
type AccessControlTransactor ¶
type AccessControlTransactor struct {
// contains filtered or unexported fields
}
AccessControlTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewAccessControlTransactor ¶
func NewAccessControlTransactor(address common.Address, transactor bind.ContractTransactor) (*AccessControlTransactor, error)
NewAccessControlTransactor creates a new write-only instance of AccessControl, bound to a specific deployed contract.
func (*AccessControlTransactor) GrantRole ¶
func (_AccessControl *AccessControlTransactor) GrantRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.
Solidity: function grantRole(bytes32 role, address account) returns()
func (*AccessControlTransactor) Initialize ¶
func (_AccessControl *AccessControlTransactor) Initialize(opts *bind.TransactOpts, _admin common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xc4d66de8.
Solidity: function initialize(address _admin) returns()
func (*AccessControlTransactor) RenounceRole ¶
func (_AccessControl *AccessControlTransactor) RenounceRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.
Solidity: function renounceRole(bytes32 role, address account) returns()
func (*AccessControlTransactor) RevokeRole ¶
func (_AccessControl *AccessControlTransactor) RevokeRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.
Solidity: function revokeRole(bytes32 role, address account) returns()
type AccessControlTransactorRaw ¶
type AccessControlTransactorRaw struct {
Contract *AccessControlTransactor // Generic write-only contract binding to access the raw methods on
}
AccessControlTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*AccessControlTransactorRaw) Transact ¶
func (_AccessControl *AccessControlTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*AccessControlTransactorRaw) Transfer ¶
func (_AccessControl *AccessControlTransactorRaw) 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 AccessControlTransactorSession ¶
type AccessControlTransactorSession struct { Contract *AccessControlTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
AccessControlTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*AccessControlTransactorSession) GrantRole ¶
func (_AccessControl *AccessControlTransactorSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.
Solidity: function grantRole(bytes32 role, address account) returns()
func (*AccessControlTransactorSession) Initialize ¶
func (_AccessControl *AccessControlTransactorSession) Initialize(_admin common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xc4d66de8.
Solidity: function initialize(address _admin) returns()
func (*AccessControlTransactorSession) RenounceRole ¶
func (_AccessControl *AccessControlTransactorSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)
RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.
Solidity: function renounceRole(bytes32 role, address account) returns()
func (*AccessControlTransactorSession) RevokeRole ¶
func (_AccessControl *AccessControlTransactorSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.
Solidity: function revokeRole(bytes32 role, address account) returns()
type AccountKeeper ¶
type AccountKeeper interface {
GetModuleAddress(moduleName string) sdk.AccAddress
}
type AllowanceSharesArgs ¶
type AllowanceSharesArgs struct {}
func (*AllowanceSharesArgs) GetValidator ¶
func (args *AllowanceSharesArgs) GetValidator() sdk.ValAddress
GetValidator returns the validator address, caller must ensure the validator address is valid
func (*AllowanceSharesArgs) Validate ¶
func (args *AllowanceSharesArgs) Validate() error
Validate validates the args
type ApproveSharesArgs ¶
type ApproveSharesArgs struct {}
func (*ApproveSharesArgs) GetValidator ¶
func (args *ApproveSharesArgs) GetValidator() sdk.ValAddress
GetValidator returns the validator address, caller must ensure the validator address is valid
func (*ApproveSharesArgs) Validate ¶
func (args *ApproveSharesArgs) Validate() error
Validate validates the args
type BankPrecompileKeeper ¶
type BankPrecompileKeeper struct { Caller // contains filtered or unexported fields }
func NewBankPrecompileKeeper ¶
func NewBankPrecompileKeeper(caller Caller, contractAddr common.Address) BankPrecompileKeeper
func (BankPrecompileKeeper) TransferFromAccountToModule ¶
func (k BankPrecompileKeeper) TransferFromAccountToModule(ctx context.Context, from common.Address, args TransferFromAccountToModuleArgs) (*evmtypes.MsgEthereumTxResponse, error)
func (BankPrecompileKeeper) TransferFromModuleToAccount ¶
func (k BankPrecompileKeeper) TransferFromModuleToAccount(ctx context.Context, from common.Address, args TransferFromModuleToAccountArgs) (*evmtypes.MsgEthereumTxResponse, error)
type BridgeCallArgs ¶
type BridgeCallArgs struct { DstChain string `abi:"_dstChain"` Refund common.Address `abi:"_refund"` Tokens []common.Address `abi:"_tokens"` Amounts []*big.Int `abi:"_amounts"` To common.Address `abi:"_to"` Data []byte `abi:"_data"` QuoteId *big.Int `abi:"_quoteId"` GasLimit *big.Int `abi:"_gasLimit"` Memo []byte `abi:"_memo"` }
func (*BridgeCallArgs) Validate ¶
func (args *BridgeCallArgs) Validate() error
type BridgeCoinAmountArgs ¶
type BridgeCoinAmountArgs struct { Token common.Address `abi:"_token"` Target [32]byte `abi:"_target"` }
func (*BridgeCoinAmountArgs) Validate ¶
func (args *BridgeCoinAmountArgs) Validate() error
type BridgeFeeOracle ¶
type BridgeFeeOracle struct { BridgeFeeOracleCaller // Read-only binding to the contract BridgeFeeOracleTransactor // Write-only binding to the contract BridgeFeeOracleFilterer // Log filterer for contract events }
BridgeFeeOracle is an auto generated Go binding around an Ethereum contract.
func DeployBridgeFeeOracle ¶
func DeployBridgeFeeOracle(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *BridgeFeeOracle, error)
DeployBridgeFeeOracle deploys a new Ethereum contract, binding an instance of BridgeFeeOracle to it.
func NewBridgeFeeOracle ¶
func NewBridgeFeeOracle(address common.Address, backend bind.ContractBackend) (*BridgeFeeOracle, error)
NewBridgeFeeOracle creates a new instance of BridgeFeeOracle, bound to a specific deployed contract.
type BridgeFeeOracleAdminChanged ¶
type BridgeFeeOracleAdminChanged struct { PreviousAdmin common.Address NewAdmin common.Address Raw types.Log // Blockchain specific contextual infos }
BridgeFeeOracleAdminChanged represents a AdminChanged event raised by the BridgeFeeOracle contract.
type BridgeFeeOracleAdminChangedIterator ¶
type BridgeFeeOracleAdminChangedIterator struct { Event *BridgeFeeOracleAdminChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BridgeFeeOracleAdminChangedIterator is returned from FilterAdminChanged and is used to iterate over the raw logs and unpacked data for AdminChanged events raised by the BridgeFeeOracle contract.
func (*BridgeFeeOracleAdminChangedIterator) Close ¶
func (it *BridgeFeeOracleAdminChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BridgeFeeOracleAdminChangedIterator) Error ¶
func (it *BridgeFeeOracleAdminChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BridgeFeeOracleAdminChangedIterator) Next ¶
func (it *BridgeFeeOracleAdminChangedIterator) 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 BridgeFeeOracleBeaconUpgraded ¶
type BridgeFeeOracleBeaconUpgraded struct { Beacon common.Address Raw types.Log // Blockchain specific contextual infos }
BridgeFeeOracleBeaconUpgraded represents a BeaconUpgraded event raised by the BridgeFeeOracle contract.
type BridgeFeeOracleBeaconUpgradedIterator ¶
type BridgeFeeOracleBeaconUpgradedIterator struct { Event *BridgeFeeOracleBeaconUpgraded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BridgeFeeOracleBeaconUpgradedIterator is returned from FilterBeaconUpgraded and is used to iterate over the raw logs and unpacked data for BeaconUpgraded events raised by the BridgeFeeOracle contract.
func (*BridgeFeeOracleBeaconUpgradedIterator) Close ¶
func (it *BridgeFeeOracleBeaconUpgradedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BridgeFeeOracleBeaconUpgradedIterator) Error ¶
func (it *BridgeFeeOracleBeaconUpgradedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BridgeFeeOracleBeaconUpgradedIterator) Next ¶
func (it *BridgeFeeOracleBeaconUpgradedIterator) 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 BridgeFeeOracleCaller ¶
type BridgeFeeOracleCaller struct {
// contains filtered or unexported fields
}
BridgeFeeOracleCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewBridgeFeeOracleCaller ¶
func NewBridgeFeeOracleCaller(address common.Address, caller bind.ContractCaller) (*BridgeFeeOracleCaller, error)
NewBridgeFeeOracleCaller creates a new read-only instance of BridgeFeeOracle, bound to a specific deployed contract.
func (*BridgeFeeOracleCaller) CrosschainContract ¶
func (_BridgeFeeOracle *BridgeFeeOracleCaller) CrosschainContract(opts *bind.CallOpts) (common.Address, error)
CrosschainContract is a free data retrieval call binding the contract method 0xec331b2b.
Solidity: function crosschainContract() view returns(address)
func (*BridgeFeeOracleCaller) DEFAULTADMINROLE ¶
func (_BridgeFeeOracle *BridgeFeeOracleCaller) DEFAULTADMINROLE(opts *bind.CallOpts) ([32]byte, error)
DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.
Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)
func (*BridgeFeeOracleCaller) DefaultOracle ¶
func (_BridgeFeeOracle *BridgeFeeOracleCaller) DefaultOracle(opts *bind.CallOpts) (common.Address, error)
DefaultOracle is a free data retrieval call binding the contract method 0x80dce169.
Solidity: function defaultOracle() view returns(address)
func (*BridgeFeeOracleCaller) GetOracleList ¶
func (_BridgeFeeOracle *BridgeFeeOracleCaller) GetOracleList(opts *bind.CallOpts, _chainName [32]byte) ([]common.Address, error)
GetOracleList is a free data retrieval call binding the contract method 0x61166581.
Solidity: function getOracleList(bytes32 _chainName) view returns(address[])
func (*BridgeFeeOracleCaller) GetRoleAdmin ¶
func (_BridgeFeeOracle *BridgeFeeOracleCaller) GetRoleAdmin(opts *bind.CallOpts, role [32]byte) ([32]byte, error)
GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.
Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)
func (*BridgeFeeOracleCaller) HasRole ¶
func (_BridgeFeeOracle *BridgeFeeOracleCaller) HasRole(opts *bind.CallOpts, role [32]byte, account common.Address) (bool, error)
HasRole is a free data retrieval call binding the contract method 0x91d14854.
Solidity: function hasRole(bytes32 role, address account) view returns(bool)
func (*BridgeFeeOracleCaller) OWNERROLE ¶
func (_BridgeFeeOracle *BridgeFeeOracleCaller) OWNERROLE(opts *bind.CallOpts) ([32]byte, error)
OWNERROLE is a free data retrieval call binding the contract method 0xe58378bb.
Solidity: function OWNER_ROLE() view returns(bytes32)
func (*BridgeFeeOracleCaller) OracleStatus ¶
func (_BridgeFeeOracle *BridgeFeeOracleCaller) OracleStatus(opts *bind.CallOpts, arg0 [32]byte, arg1 common.Address) (struct { IsBlack bool IsActive bool }, error)
OracleStatus is a free data retrieval call binding the contract method 0xaf51ef10.
Solidity: function oracleStatus(bytes32 , address ) view returns(bool isBlack, bool isActive)
func (*BridgeFeeOracleCaller) ProxiableUUID ¶
func (_BridgeFeeOracle *BridgeFeeOracleCaller) ProxiableUUID(opts *bind.CallOpts) ([32]byte, error)
ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.
Solidity: function proxiableUUID() view returns(bytes32)
func (*BridgeFeeOracleCaller) QUOTEROLE ¶
func (_BridgeFeeOracle *BridgeFeeOracleCaller) QUOTEROLE(opts *bind.CallOpts) ([32]byte, error)
QUOTEROLE is a free data retrieval call binding the contract method 0x5bca74db.
Solidity: function QUOTE_ROLE() view returns(bytes32)
func (*BridgeFeeOracleCaller) SupportsInterface ¶
func (_BridgeFeeOracle *BridgeFeeOracleCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
func (*BridgeFeeOracleCaller) UPGRADEROLE ¶
func (_BridgeFeeOracle *BridgeFeeOracleCaller) UPGRADEROLE(opts *bind.CallOpts) ([32]byte, error)
UPGRADEROLE is a free data retrieval call binding the contract method 0xb908afa8.
Solidity: function UPGRADE_ROLE() view returns(bytes32)
type BridgeFeeOracleCallerRaw ¶
type BridgeFeeOracleCallerRaw struct {
Contract *BridgeFeeOracleCaller // Generic read-only contract binding to access the raw methods on
}
BridgeFeeOracleCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*BridgeFeeOracleCallerRaw) Call ¶
func (_BridgeFeeOracle *BridgeFeeOracleCallerRaw) 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 BridgeFeeOracleCallerSession ¶
type BridgeFeeOracleCallerSession struct { Contract *BridgeFeeOracleCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
BridgeFeeOracleCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*BridgeFeeOracleCallerSession) CrosschainContract ¶
func (_BridgeFeeOracle *BridgeFeeOracleCallerSession) CrosschainContract() (common.Address, error)
CrosschainContract is a free data retrieval call binding the contract method 0xec331b2b.
Solidity: function crosschainContract() view returns(address)
func (*BridgeFeeOracleCallerSession) DEFAULTADMINROLE ¶
func (_BridgeFeeOracle *BridgeFeeOracleCallerSession) DEFAULTADMINROLE() ([32]byte, error)
DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.
Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)
func (*BridgeFeeOracleCallerSession) DefaultOracle ¶
func (_BridgeFeeOracle *BridgeFeeOracleCallerSession) DefaultOracle() (common.Address, error)
DefaultOracle is a free data retrieval call binding the contract method 0x80dce169.
Solidity: function defaultOracle() view returns(address)
func (*BridgeFeeOracleCallerSession) GetOracleList ¶
func (_BridgeFeeOracle *BridgeFeeOracleCallerSession) GetOracleList(_chainName [32]byte) ([]common.Address, error)
GetOracleList is a free data retrieval call binding the contract method 0x61166581.
Solidity: function getOracleList(bytes32 _chainName) view returns(address[])
func (*BridgeFeeOracleCallerSession) GetRoleAdmin ¶
func (_BridgeFeeOracle *BridgeFeeOracleCallerSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.
Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)
func (*BridgeFeeOracleCallerSession) HasRole ¶
func (_BridgeFeeOracle *BridgeFeeOracleCallerSession) HasRole(role [32]byte, account common.Address) (bool, error)
HasRole is a free data retrieval call binding the contract method 0x91d14854.
Solidity: function hasRole(bytes32 role, address account) view returns(bool)
func (*BridgeFeeOracleCallerSession) OWNERROLE ¶
func (_BridgeFeeOracle *BridgeFeeOracleCallerSession) OWNERROLE() ([32]byte, error)
OWNERROLE is a free data retrieval call binding the contract method 0xe58378bb.
Solidity: function OWNER_ROLE() view returns(bytes32)
func (*BridgeFeeOracleCallerSession) OracleStatus ¶
func (_BridgeFeeOracle *BridgeFeeOracleCallerSession) OracleStatus(arg0 [32]byte, arg1 common.Address) (struct { IsBlack bool IsActive bool }, error)
OracleStatus is a free data retrieval call binding the contract method 0xaf51ef10.
Solidity: function oracleStatus(bytes32 , address ) view returns(bool isBlack, bool isActive)
func (*BridgeFeeOracleCallerSession) ProxiableUUID ¶
func (_BridgeFeeOracle *BridgeFeeOracleCallerSession) ProxiableUUID() ([32]byte, error)
ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.
Solidity: function proxiableUUID() view returns(bytes32)
func (*BridgeFeeOracleCallerSession) QUOTEROLE ¶
func (_BridgeFeeOracle *BridgeFeeOracleCallerSession) QUOTEROLE() ([32]byte, error)
QUOTEROLE is a free data retrieval call binding the contract method 0x5bca74db.
Solidity: function QUOTE_ROLE() view returns(bytes32)
func (*BridgeFeeOracleCallerSession) SupportsInterface ¶
func (_BridgeFeeOracle *BridgeFeeOracleCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
func (*BridgeFeeOracleCallerSession) UPGRADEROLE ¶
func (_BridgeFeeOracle *BridgeFeeOracleCallerSession) UPGRADEROLE() ([32]byte, error)
UPGRADEROLE is a free data retrieval call binding the contract method 0xb908afa8.
Solidity: function UPGRADE_ROLE() view returns(bytes32)
type BridgeFeeOracleFilterer ¶
type BridgeFeeOracleFilterer struct {
// contains filtered or unexported fields
}
BridgeFeeOracleFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewBridgeFeeOracleFilterer ¶
func NewBridgeFeeOracleFilterer(address common.Address, filterer bind.ContractFilterer) (*BridgeFeeOracleFilterer, error)
NewBridgeFeeOracleFilterer creates a new log filterer instance of BridgeFeeOracle, bound to a specific deployed contract.
func (*BridgeFeeOracleFilterer) FilterAdminChanged ¶
func (_BridgeFeeOracle *BridgeFeeOracleFilterer) FilterAdminChanged(opts *bind.FilterOpts) (*BridgeFeeOracleAdminChangedIterator, error)
FilterAdminChanged is a free log retrieval operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
Solidity: event AdminChanged(address previousAdmin, address newAdmin)
func (*BridgeFeeOracleFilterer) FilterBeaconUpgraded ¶
func (_BridgeFeeOracle *BridgeFeeOracleFilterer) FilterBeaconUpgraded(opts *bind.FilterOpts, beacon []common.Address) (*BridgeFeeOracleBeaconUpgradedIterator, error)
FilterBeaconUpgraded is a free log retrieval operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.
Solidity: event BeaconUpgraded(address indexed beacon)
func (*BridgeFeeOracleFilterer) FilterInitialized ¶
func (_BridgeFeeOracle *BridgeFeeOracleFilterer) FilterInitialized(opts *bind.FilterOpts) (*BridgeFeeOracleInitializedIterator, error)
FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*BridgeFeeOracleFilterer) FilterRoleAdminChanged ¶
func (_BridgeFeeOracle *BridgeFeeOracleFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (*BridgeFeeOracleRoleAdminChangedIterator, error)
FilterRoleAdminChanged is a free log retrieval operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.
Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
func (*BridgeFeeOracleFilterer) FilterRoleGranted ¶
func (_BridgeFeeOracle *BridgeFeeOracleFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*BridgeFeeOracleRoleGrantedIterator, error)
FilterRoleGranted is a free log retrieval operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.
Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
func (*BridgeFeeOracleFilterer) FilterRoleRevoked ¶
func (_BridgeFeeOracle *BridgeFeeOracleFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*BridgeFeeOracleRoleRevokedIterator, error)
FilterRoleRevoked is a free log retrieval operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.
Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
func (*BridgeFeeOracleFilterer) FilterUpgraded ¶
func (_BridgeFeeOracle *BridgeFeeOracleFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*BridgeFeeOracleUpgradedIterator, error)
FilterUpgraded is a free log retrieval operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
Solidity: event Upgraded(address indexed implementation)
func (*BridgeFeeOracleFilterer) ParseAdminChanged ¶
func (_BridgeFeeOracle *BridgeFeeOracleFilterer) ParseAdminChanged(log types.Log) (*BridgeFeeOracleAdminChanged, error)
ParseAdminChanged is a log parse operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
Solidity: event AdminChanged(address previousAdmin, address newAdmin)
func (*BridgeFeeOracleFilterer) ParseBeaconUpgraded ¶
func (_BridgeFeeOracle *BridgeFeeOracleFilterer) ParseBeaconUpgraded(log types.Log) (*BridgeFeeOracleBeaconUpgraded, error)
ParseBeaconUpgraded is a log parse operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.
Solidity: event BeaconUpgraded(address indexed beacon)
func (*BridgeFeeOracleFilterer) ParseInitialized ¶
func (_BridgeFeeOracle *BridgeFeeOracleFilterer) ParseInitialized(log types.Log) (*BridgeFeeOracleInitialized, error)
ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*BridgeFeeOracleFilterer) ParseRoleAdminChanged ¶
func (_BridgeFeeOracle *BridgeFeeOracleFilterer) ParseRoleAdminChanged(log types.Log) (*BridgeFeeOracleRoleAdminChanged, error)
ParseRoleAdminChanged is a log parse operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.
Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
func (*BridgeFeeOracleFilterer) ParseRoleGranted ¶
func (_BridgeFeeOracle *BridgeFeeOracleFilterer) ParseRoleGranted(log types.Log) (*BridgeFeeOracleRoleGranted, error)
ParseRoleGranted is a log parse operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.
Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
func (*BridgeFeeOracleFilterer) ParseRoleRevoked ¶
func (_BridgeFeeOracle *BridgeFeeOracleFilterer) ParseRoleRevoked(log types.Log) (*BridgeFeeOracleRoleRevoked, error)
ParseRoleRevoked is a log parse operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.
Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
func (*BridgeFeeOracleFilterer) ParseUpgraded ¶
func (_BridgeFeeOracle *BridgeFeeOracleFilterer) ParseUpgraded(log types.Log) (*BridgeFeeOracleUpgraded, error)
ParseUpgraded is a log parse operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
Solidity: event Upgraded(address indexed implementation)
func (*BridgeFeeOracleFilterer) WatchAdminChanged ¶
func (_BridgeFeeOracle *BridgeFeeOracleFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *BridgeFeeOracleAdminChanged) (event.Subscription, error)
WatchAdminChanged is a free log subscription operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
Solidity: event AdminChanged(address previousAdmin, address newAdmin)
func (*BridgeFeeOracleFilterer) WatchBeaconUpgraded ¶
func (_BridgeFeeOracle *BridgeFeeOracleFilterer) WatchBeaconUpgraded(opts *bind.WatchOpts, sink chan<- *BridgeFeeOracleBeaconUpgraded, beacon []common.Address) (event.Subscription, error)
WatchBeaconUpgraded is a free log subscription operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.
Solidity: event BeaconUpgraded(address indexed beacon)
func (*BridgeFeeOracleFilterer) WatchInitialized ¶
func (_BridgeFeeOracle *BridgeFeeOracleFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *BridgeFeeOracleInitialized) (event.Subscription, error)
WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*BridgeFeeOracleFilterer) WatchRoleAdminChanged ¶
func (_BridgeFeeOracle *BridgeFeeOracleFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *BridgeFeeOracleRoleAdminChanged, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (event.Subscription, error)
WatchRoleAdminChanged is a free log subscription operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.
Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
func (*BridgeFeeOracleFilterer) WatchRoleGranted ¶
func (_BridgeFeeOracle *BridgeFeeOracleFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *BridgeFeeOracleRoleGranted, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)
WatchRoleGranted is a free log subscription operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.
Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
func (*BridgeFeeOracleFilterer) WatchRoleRevoked ¶
func (_BridgeFeeOracle *BridgeFeeOracleFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *BridgeFeeOracleRoleRevoked, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)
WatchRoleRevoked is a free log subscription operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.
Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
func (*BridgeFeeOracleFilterer) WatchUpgraded ¶
func (_BridgeFeeOracle *BridgeFeeOracleFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *BridgeFeeOracleUpgraded, implementation []common.Address) (event.Subscription, error)
WatchUpgraded is a free log subscription operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
Solidity: event Upgraded(address indexed implementation)
type BridgeFeeOracleInitialized ¶
type BridgeFeeOracleInitialized struct { Version uint8 Raw types.Log // Blockchain specific contextual infos }
BridgeFeeOracleInitialized represents a Initialized event raised by the BridgeFeeOracle contract.
type BridgeFeeOracleInitializedIterator ¶
type BridgeFeeOracleInitializedIterator struct { Event *BridgeFeeOracleInitialized // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BridgeFeeOracleInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the BridgeFeeOracle contract.
func (*BridgeFeeOracleInitializedIterator) Close ¶
func (it *BridgeFeeOracleInitializedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BridgeFeeOracleInitializedIterator) Error ¶
func (it *BridgeFeeOracleInitializedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BridgeFeeOracleInitializedIterator) Next ¶
func (it *BridgeFeeOracleInitializedIterator) 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 BridgeFeeOracleKeeper ¶
type BridgeFeeOracleKeeper struct { Caller // contains filtered or unexported fields }
func NewBridgeFeeOracleKeeper ¶
func NewBridgeFeeOracleKeeper(caller Caller, contract ...string) BridgeFeeOracleKeeper
func (BridgeFeeOracleKeeper) DefaultOracle ¶
func (BridgeFeeOracleKeeper) GetOracleList ¶
func (BridgeFeeOracleKeeper) GetOwnerRole ¶
func (BridgeFeeOracleKeeper) GetQuoteRole ¶
func (BridgeFeeOracleKeeper) GetUpgradeRole ¶
func (BridgeFeeOracleKeeper) GrantRole ¶
func (k BridgeFeeOracleKeeper) GrantRole(ctx context.Context, role common.Hash, account common.Address) (*types.MsgEthereumTxResponse, error)
func (BridgeFeeOracleKeeper) Initialize ¶
func (k BridgeFeeOracleKeeper) Initialize(ctx context.Context) (*types.MsgEthereumTxResponse, error)
func (BridgeFeeOracleKeeper) SetDefaultOracle ¶
func (k BridgeFeeOracleKeeper) SetDefaultOracle(ctx context.Context, oracle common.Address) (*types.MsgEthereumTxResponse, error)
type BridgeFeeOracleRaw ¶
type BridgeFeeOracleRaw struct {
Contract *BridgeFeeOracle // Generic contract binding to access the raw methods on
}
BridgeFeeOracleRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*BridgeFeeOracleRaw) Call ¶
func (_BridgeFeeOracle *BridgeFeeOracleRaw) 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 (*BridgeFeeOracleRaw) Transact ¶
func (_BridgeFeeOracle *BridgeFeeOracleRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BridgeFeeOracleRaw) Transfer ¶
func (_BridgeFeeOracle *BridgeFeeOracleRaw) 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 BridgeFeeOracleRoleAdminChanged ¶
type BridgeFeeOracleRoleAdminChanged struct { Role [32]byte PreviousAdminRole [32]byte NewAdminRole [32]byte Raw types.Log // Blockchain specific contextual infos }
BridgeFeeOracleRoleAdminChanged represents a RoleAdminChanged event raised by the BridgeFeeOracle contract.
type BridgeFeeOracleRoleAdminChangedIterator ¶
type BridgeFeeOracleRoleAdminChangedIterator struct { Event *BridgeFeeOracleRoleAdminChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BridgeFeeOracleRoleAdminChangedIterator is returned from FilterRoleAdminChanged and is used to iterate over the raw logs and unpacked data for RoleAdminChanged events raised by the BridgeFeeOracle contract.
func (*BridgeFeeOracleRoleAdminChangedIterator) Close ¶
func (it *BridgeFeeOracleRoleAdminChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BridgeFeeOracleRoleAdminChangedIterator) Error ¶
func (it *BridgeFeeOracleRoleAdminChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BridgeFeeOracleRoleAdminChangedIterator) Next ¶
func (it *BridgeFeeOracleRoleAdminChangedIterator) 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 BridgeFeeOracleRoleGranted ¶
type BridgeFeeOracleRoleGranted struct { Role [32]byte Account common.Address Sender common.Address Raw types.Log // Blockchain specific contextual infos }
BridgeFeeOracleRoleGranted represents a RoleGranted event raised by the BridgeFeeOracle contract.
type BridgeFeeOracleRoleGrantedIterator ¶
type BridgeFeeOracleRoleGrantedIterator struct { Event *BridgeFeeOracleRoleGranted // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BridgeFeeOracleRoleGrantedIterator is returned from FilterRoleGranted and is used to iterate over the raw logs and unpacked data for RoleGranted events raised by the BridgeFeeOracle contract.
func (*BridgeFeeOracleRoleGrantedIterator) Close ¶
func (it *BridgeFeeOracleRoleGrantedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BridgeFeeOracleRoleGrantedIterator) Error ¶
func (it *BridgeFeeOracleRoleGrantedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BridgeFeeOracleRoleGrantedIterator) Next ¶
func (it *BridgeFeeOracleRoleGrantedIterator) 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 BridgeFeeOracleRoleRevoked ¶
type BridgeFeeOracleRoleRevoked struct { Role [32]byte Account common.Address Sender common.Address Raw types.Log // Blockchain specific contextual infos }
BridgeFeeOracleRoleRevoked represents a RoleRevoked event raised by the BridgeFeeOracle contract.
type BridgeFeeOracleRoleRevokedIterator ¶
type BridgeFeeOracleRoleRevokedIterator struct { Event *BridgeFeeOracleRoleRevoked // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BridgeFeeOracleRoleRevokedIterator is returned from FilterRoleRevoked and is used to iterate over the raw logs and unpacked data for RoleRevoked events raised by the BridgeFeeOracle contract.
func (*BridgeFeeOracleRoleRevokedIterator) Close ¶
func (it *BridgeFeeOracleRoleRevokedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BridgeFeeOracleRoleRevokedIterator) Error ¶
func (it *BridgeFeeOracleRoleRevokedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BridgeFeeOracleRoleRevokedIterator) Next ¶
func (it *BridgeFeeOracleRoleRevokedIterator) 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 BridgeFeeOracleSession ¶
type BridgeFeeOracleSession struct { Contract *BridgeFeeOracle // 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 }
BridgeFeeOracleSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*BridgeFeeOracleSession) ActiveOracle ¶
func (_BridgeFeeOracle *BridgeFeeOracleSession) ActiveOracle(_chainName [32]byte, _oracle common.Address) (*types.Transaction, error)
ActiveOracle is a paid mutator transaction binding the contract method 0x5cbb5179.
Solidity: function activeOracle(bytes32 _chainName, address _oracle) returns()
func (*BridgeFeeOracleSession) BlackOracle ¶
func (_BridgeFeeOracle *BridgeFeeOracleSession) BlackOracle(_chainName [32]byte, _oracle common.Address) (*types.Transaction, error)
BlackOracle is a paid mutator transaction binding the contract method 0x2237bdad.
Solidity: function blackOracle(bytes32 _chainName, address _oracle) returns()
func (*BridgeFeeOracleSession) CrosschainContract ¶
func (_BridgeFeeOracle *BridgeFeeOracleSession) CrosschainContract() (common.Address, error)
CrosschainContract is a free data retrieval call binding the contract method 0xec331b2b.
Solidity: function crosschainContract() view returns(address)
func (*BridgeFeeOracleSession) DEFAULTADMINROLE ¶
func (_BridgeFeeOracle *BridgeFeeOracleSession) DEFAULTADMINROLE() ([32]byte, error)
DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.
Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)
func (*BridgeFeeOracleSession) DefaultOracle ¶
func (_BridgeFeeOracle *BridgeFeeOracleSession) DefaultOracle() (common.Address, error)
DefaultOracle is a free data retrieval call binding the contract method 0x80dce169.
Solidity: function defaultOracle() view returns(address)
func (*BridgeFeeOracleSession) GetOracleList ¶
func (_BridgeFeeOracle *BridgeFeeOracleSession) GetOracleList(_chainName [32]byte) ([]common.Address, error)
GetOracleList is a free data retrieval call binding the contract method 0x61166581.
Solidity: function getOracleList(bytes32 _chainName) view returns(address[])
func (*BridgeFeeOracleSession) GetRoleAdmin ¶
func (_BridgeFeeOracle *BridgeFeeOracleSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.
Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)
func (*BridgeFeeOracleSession) GrantRole ¶
func (_BridgeFeeOracle *BridgeFeeOracleSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.
Solidity: function grantRole(bytes32 role, address account) returns()
func (*BridgeFeeOracleSession) HasRole ¶
func (_BridgeFeeOracle *BridgeFeeOracleSession) HasRole(role [32]byte, account common.Address) (bool, error)
HasRole is a free data retrieval call binding the contract method 0x91d14854.
Solidity: function hasRole(bytes32 role, address account) view returns(bool)
func (*BridgeFeeOracleSession) Initialize ¶
func (_BridgeFeeOracle *BridgeFeeOracleSession) Initialize(_crosschain common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xc4d66de8.
Solidity: function initialize(address _crosschain) returns()
func (*BridgeFeeOracleSession) IsOnline ¶
func (_BridgeFeeOracle *BridgeFeeOracleSession) IsOnline(_chainName [32]byte, _oracle common.Address) (*types.Transaction, error)
IsOnline is a paid mutator transaction binding the contract method 0xb338123c.
Solidity: function isOnline(bytes32 _chainName, address _oracle) returns(bool)
func (*BridgeFeeOracleSession) OWNERROLE ¶
func (_BridgeFeeOracle *BridgeFeeOracleSession) OWNERROLE() ([32]byte, error)
OWNERROLE is a free data retrieval call binding the contract method 0xe58378bb.
Solidity: function OWNER_ROLE() view returns(bytes32)
func (*BridgeFeeOracleSession) OracleStatus ¶
func (_BridgeFeeOracle *BridgeFeeOracleSession) OracleStatus(arg0 [32]byte, arg1 common.Address) (struct { IsBlack bool IsActive bool }, error)
OracleStatus is a free data retrieval call binding the contract method 0xaf51ef10.
Solidity: function oracleStatus(bytes32 , address ) view returns(bool isBlack, bool isActive)
func (*BridgeFeeOracleSession) ProxiableUUID ¶
func (_BridgeFeeOracle *BridgeFeeOracleSession) ProxiableUUID() ([32]byte, error)
ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.
Solidity: function proxiableUUID() view returns(bytes32)
func (*BridgeFeeOracleSession) QUOTEROLE ¶
func (_BridgeFeeOracle *BridgeFeeOracleSession) QUOTEROLE() ([32]byte, error)
QUOTEROLE is a free data retrieval call binding the contract method 0x5bca74db.
Solidity: function QUOTE_ROLE() view returns(bytes32)
func (*BridgeFeeOracleSession) RenounceRole ¶
func (_BridgeFeeOracle *BridgeFeeOracleSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)
RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.
Solidity: function renounceRole(bytes32 role, address account) returns()
func (*BridgeFeeOracleSession) RevokeRole ¶
func (_BridgeFeeOracle *BridgeFeeOracleSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.
Solidity: function revokeRole(bytes32 role, address account) returns()
func (*BridgeFeeOracleSession) SetDefaultOracle ¶
func (_BridgeFeeOracle *BridgeFeeOracleSession) SetDefaultOracle(_defaultOracle common.Address) (*types.Transaction, error)
SetDefaultOracle is a paid mutator transaction binding the contract method 0xc44014d2.
Solidity: function setDefaultOracle(address _defaultOracle) returns()
func (*BridgeFeeOracleSession) SupportsInterface ¶
func (_BridgeFeeOracle *BridgeFeeOracleSession) SupportsInterface(interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
func (*BridgeFeeOracleSession) UPGRADEROLE ¶
func (_BridgeFeeOracle *BridgeFeeOracleSession) UPGRADEROLE() ([32]byte, error)
UPGRADEROLE is a free data retrieval call binding the contract method 0xb908afa8.
Solidity: function UPGRADE_ROLE() view returns(bytes32)
func (*BridgeFeeOracleSession) UpgradeTo ¶
func (_BridgeFeeOracle *BridgeFeeOracleSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)
UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.
Solidity: function upgradeTo(address newImplementation) returns()
func (*BridgeFeeOracleSession) UpgradeToAndCall ¶
func (_BridgeFeeOracle *BridgeFeeOracleSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)
UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.
Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()
type BridgeFeeOracleTransactor ¶
type BridgeFeeOracleTransactor struct {
// contains filtered or unexported fields
}
BridgeFeeOracleTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewBridgeFeeOracleTransactor ¶
func NewBridgeFeeOracleTransactor(address common.Address, transactor bind.ContractTransactor) (*BridgeFeeOracleTransactor, error)
NewBridgeFeeOracleTransactor creates a new write-only instance of BridgeFeeOracle, bound to a specific deployed contract.
func (*BridgeFeeOracleTransactor) ActiveOracle ¶
func (_BridgeFeeOracle *BridgeFeeOracleTransactor) ActiveOracle(opts *bind.TransactOpts, _chainName [32]byte, _oracle common.Address) (*types.Transaction, error)
ActiveOracle is a paid mutator transaction binding the contract method 0x5cbb5179.
Solidity: function activeOracle(bytes32 _chainName, address _oracle) returns()
func (*BridgeFeeOracleTransactor) BlackOracle ¶
func (_BridgeFeeOracle *BridgeFeeOracleTransactor) BlackOracle(opts *bind.TransactOpts, _chainName [32]byte, _oracle common.Address) (*types.Transaction, error)
BlackOracle is a paid mutator transaction binding the contract method 0x2237bdad.
Solidity: function blackOracle(bytes32 _chainName, address _oracle) returns()
func (*BridgeFeeOracleTransactor) GrantRole ¶
func (_BridgeFeeOracle *BridgeFeeOracleTransactor) GrantRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.
Solidity: function grantRole(bytes32 role, address account) returns()
func (*BridgeFeeOracleTransactor) Initialize ¶
func (_BridgeFeeOracle *BridgeFeeOracleTransactor) Initialize(opts *bind.TransactOpts, _crosschain common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xc4d66de8.
Solidity: function initialize(address _crosschain) returns()
func (*BridgeFeeOracleTransactor) IsOnline ¶
func (_BridgeFeeOracle *BridgeFeeOracleTransactor) IsOnline(opts *bind.TransactOpts, _chainName [32]byte, _oracle common.Address) (*types.Transaction, error)
IsOnline is a paid mutator transaction binding the contract method 0xb338123c.
Solidity: function isOnline(bytes32 _chainName, address _oracle) returns(bool)
func (*BridgeFeeOracleTransactor) RenounceRole ¶
func (_BridgeFeeOracle *BridgeFeeOracleTransactor) RenounceRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.
Solidity: function renounceRole(bytes32 role, address account) returns()
func (*BridgeFeeOracleTransactor) RevokeRole ¶
func (_BridgeFeeOracle *BridgeFeeOracleTransactor) RevokeRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.
Solidity: function revokeRole(bytes32 role, address account) returns()
func (*BridgeFeeOracleTransactor) SetDefaultOracle ¶
func (_BridgeFeeOracle *BridgeFeeOracleTransactor) SetDefaultOracle(opts *bind.TransactOpts, _defaultOracle common.Address) (*types.Transaction, error)
SetDefaultOracle is a paid mutator transaction binding the contract method 0xc44014d2.
Solidity: function setDefaultOracle(address _defaultOracle) returns()
func (*BridgeFeeOracleTransactor) UpgradeTo ¶
func (_BridgeFeeOracle *BridgeFeeOracleTransactor) UpgradeTo(opts *bind.TransactOpts, newImplementation common.Address) (*types.Transaction, error)
UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.
Solidity: function upgradeTo(address newImplementation) returns()
func (*BridgeFeeOracleTransactor) UpgradeToAndCall ¶
func (_BridgeFeeOracle *BridgeFeeOracleTransactor) UpgradeToAndCall(opts *bind.TransactOpts, newImplementation common.Address, data []byte) (*types.Transaction, error)
UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.
Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()
type BridgeFeeOracleTransactorRaw ¶
type BridgeFeeOracleTransactorRaw struct {
Contract *BridgeFeeOracleTransactor // Generic write-only contract binding to access the raw methods on
}
BridgeFeeOracleTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*BridgeFeeOracleTransactorRaw) Transact ¶
func (_BridgeFeeOracle *BridgeFeeOracleTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BridgeFeeOracleTransactorRaw) Transfer ¶
func (_BridgeFeeOracle *BridgeFeeOracleTransactorRaw) 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 BridgeFeeOracleTransactorSession ¶
type BridgeFeeOracleTransactorSession struct { Contract *BridgeFeeOracleTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
BridgeFeeOracleTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*BridgeFeeOracleTransactorSession) ActiveOracle ¶
func (_BridgeFeeOracle *BridgeFeeOracleTransactorSession) ActiveOracle(_chainName [32]byte, _oracle common.Address) (*types.Transaction, error)
ActiveOracle is a paid mutator transaction binding the contract method 0x5cbb5179.
Solidity: function activeOracle(bytes32 _chainName, address _oracle) returns()
func (*BridgeFeeOracleTransactorSession) BlackOracle ¶
func (_BridgeFeeOracle *BridgeFeeOracleTransactorSession) BlackOracle(_chainName [32]byte, _oracle common.Address) (*types.Transaction, error)
BlackOracle is a paid mutator transaction binding the contract method 0x2237bdad.
Solidity: function blackOracle(bytes32 _chainName, address _oracle) returns()
func (*BridgeFeeOracleTransactorSession) GrantRole ¶
func (_BridgeFeeOracle *BridgeFeeOracleTransactorSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.
Solidity: function grantRole(bytes32 role, address account) returns()
func (*BridgeFeeOracleTransactorSession) Initialize ¶
func (_BridgeFeeOracle *BridgeFeeOracleTransactorSession) Initialize(_crosschain common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xc4d66de8.
Solidity: function initialize(address _crosschain) returns()
func (*BridgeFeeOracleTransactorSession) IsOnline ¶
func (_BridgeFeeOracle *BridgeFeeOracleTransactorSession) IsOnline(_chainName [32]byte, _oracle common.Address) (*types.Transaction, error)
IsOnline is a paid mutator transaction binding the contract method 0xb338123c.
Solidity: function isOnline(bytes32 _chainName, address _oracle) returns(bool)
func (*BridgeFeeOracleTransactorSession) RenounceRole ¶
func (_BridgeFeeOracle *BridgeFeeOracleTransactorSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)
RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.
Solidity: function renounceRole(bytes32 role, address account) returns()
func (*BridgeFeeOracleTransactorSession) RevokeRole ¶
func (_BridgeFeeOracle *BridgeFeeOracleTransactorSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.
Solidity: function revokeRole(bytes32 role, address account) returns()
func (*BridgeFeeOracleTransactorSession) SetDefaultOracle ¶
func (_BridgeFeeOracle *BridgeFeeOracleTransactorSession) SetDefaultOracle(_defaultOracle common.Address) (*types.Transaction, error)
SetDefaultOracle is a paid mutator transaction binding the contract method 0xc44014d2.
Solidity: function setDefaultOracle(address _defaultOracle) returns()
func (*BridgeFeeOracleTransactorSession) UpgradeTo ¶
func (_BridgeFeeOracle *BridgeFeeOracleTransactorSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)
UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.
Solidity: function upgradeTo(address newImplementation) returns()
func (*BridgeFeeOracleTransactorSession) UpgradeToAndCall ¶
func (_BridgeFeeOracle *BridgeFeeOracleTransactorSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)
UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.
Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()
type BridgeFeeOracleUpgraded ¶
type BridgeFeeOracleUpgraded struct { Implementation common.Address Raw types.Log // Blockchain specific contextual infos }
BridgeFeeOracleUpgraded represents a Upgraded event raised by the BridgeFeeOracle contract.
type BridgeFeeOracleUpgradedIterator ¶
type BridgeFeeOracleUpgradedIterator struct { Event *BridgeFeeOracleUpgraded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BridgeFeeOracleUpgradedIterator is returned from FilterUpgraded and is used to iterate over the raw logs and unpacked data for Upgraded events raised by the BridgeFeeOracle contract.
func (*BridgeFeeOracleUpgradedIterator) Close ¶
func (it *BridgeFeeOracleUpgradedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BridgeFeeOracleUpgradedIterator) Error ¶
func (it *BridgeFeeOracleUpgradedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BridgeFeeOracleUpgradedIterator) Next ¶
func (it *BridgeFeeOracleUpgradedIterator) 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 BridgeFeeQuote ¶
type BridgeFeeQuote struct { BridgeFeeQuoteCaller // Read-only binding to the contract BridgeFeeQuoteTransactor // Write-only binding to the contract BridgeFeeQuoteFilterer // Log filterer for contract events }
BridgeFeeQuote is an auto generated Go binding around an Ethereum contract.
func DeployBridgeFeeQuote ¶
func DeployBridgeFeeQuote(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *BridgeFeeQuote, error)
DeployBridgeFeeQuote deploys a new Ethereum contract, binding an instance of BridgeFeeQuote to it.
func NewBridgeFeeQuote ¶
func NewBridgeFeeQuote(address common.Address, backend bind.ContractBackend) (*BridgeFeeQuote, error)
NewBridgeFeeQuote creates a new instance of BridgeFeeQuote, bound to a specific deployed contract.
type BridgeFeeQuoteAdminChanged ¶
type BridgeFeeQuoteAdminChanged struct { PreviousAdmin common.Address NewAdmin common.Address Raw types.Log // Blockchain specific contextual infos }
BridgeFeeQuoteAdminChanged represents a AdminChanged event raised by the BridgeFeeQuote contract.
type BridgeFeeQuoteAdminChangedIterator ¶
type BridgeFeeQuoteAdminChangedIterator struct { Event *BridgeFeeQuoteAdminChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BridgeFeeQuoteAdminChangedIterator is returned from FilterAdminChanged and is used to iterate over the raw logs and unpacked data for AdminChanged events raised by the BridgeFeeQuote contract.
func (*BridgeFeeQuoteAdminChangedIterator) Close ¶
func (it *BridgeFeeQuoteAdminChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BridgeFeeQuoteAdminChangedIterator) Error ¶
func (it *BridgeFeeQuoteAdminChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BridgeFeeQuoteAdminChangedIterator) Next ¶
func (it *BridgeFeeQuoteAdminChangedIterator) 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 BridgeFeeQuoteBeaconUpgraded ¶
type BridgeFeeQuoteBeaconUpgraded struct { Beacon common.Address Raw types.Log // Blockchain specific contextual infos }
BridgeFeeQuoteBeaconUpgraded represents a BeaconUpgraded event raised by the BridgeFeeQuote contract.
type BridgeFeeQuoteBeaconUpgradedIterator ¶
type BridgeFeeQuoteBeaconUpgradedIterator struct { Event *BridgeFeeQuoteBeaconUpgraded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BridgeFeeQuoteBeaconUpgradedIterator is returned from FilterBeaconUpgraded and is used to iterate over the raw logs and unpacked data for BeaconUpgraded events raised by the BridgeFeeQuote contract.
func (*BridgeFeeQuoteBeaconUpgradedIterator) Close ¶
func (it *BridgeFeeQuoteBeaconUpgradedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BridgeFeeQuoteBeaconUpgradedIterator) Error ¶
func (it *BridgeFeeQuoteBeaconUpgradedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BridgeFeeQuoteBeaconUpgradedIterator) Next ¶
func (it *BridgeFeeQuoteBeaconUpgradedIterator) 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 BridgeFeeQuoteCaller ¶
type BridgeFeeQuoteCaller struct {
// contains filtered or unexported fields
}
BridgeFeeQuoteCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewBridgeFeeQuoteCaller ¶
func NewBridgeFeeQuoteCaller(address common.Address, caller bind.ContractCaller) (*BridgeFeeQuoteCaller, error)
NewBridgeFeeQuoteCaller creates a new read-only instance of BridgeFeeQuote, bound to a specific deployed contract.
func (*BridgeFeeQuoteCaller) DEFAULTADMINROLE ¶
func (_BridgeFeeQuote *BridgeFeeQuoteCaller) DEFAULTADMINROLE(opts *bind.CallOpts) ([32]byte, error)
DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.
Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)
func (*BridgeFeeQuoteCaller) GetChainNames ¶
func (_BridgeFeeQuote *BridgeFeeQuoteCaller) GetChainNames(opts *bind.CallOpts) ([][32]byte, error)
GetChainNames is a free data retrieval call binding the contract method 0xfdb336f7.
Solidity: function getChainNames() view returns(bytes32[])
func (*BridgeFeeQuoteCaller) GetDefaultOracleQuote ¶
func (_BridgeFeeQuote *BridgeFeeQuoteCaller) GetDefaultOracleQuote(opts *bind.CallOpts, _chainName [32]byte, _token [32]byte) ([]IBridgeFeeQuoteQuoteInfo, error)
GetDefaultOracleQuote is a free data retrieval call binding the contract method 0xe47a543f.
Solidity: function getDefaultOracleQuote(bytes32 _chainName, bytes32 _token) view returns((uint256,bytes32,bytes32,address,uint256,uint64,uint64)[])
func (*BridgeFeeQuoteCaller) GetQuoteById ¶
func (_BridgeFeeQuote *BridgeFeeQuoteCaller) GetQuoteById(opts *bind.CallOpts, _id *big.Int) (IBridgeFeeQuoteQuoteInfo, error)
GetQuoteById is a free data retrieval call binding the contract method 0xa8541c17.
Solidity: function getQuoteById(uint256 _id) view returns((uint256,bytes32,bytes32,address,uint256,uint64,uint64))
func (*BridgeFeeQuoteCaller) GetQuoteByIndex ¶
func (_BridgeFeeQuote *BridgeFeeQuoteCaller) GetQuoteByIndex(opts *bind.CallOpts, _chainName [32]byte, _token [32]byte, _oracle common.Address, _cap uint8) (IBridgeFeeQuoteQuoteInfo, error)
GetQuoteByIndex is a free data retrieval call binding the contract method 0x36cbd832.
Solidity: function getQuoteByIndex(bytes32 _chainName, bytes32 _token, address _oracle, uint8 _cap) view returns((uint256,bytes32,bytes32,address,uint256,uint64,uint64))
func (*BridgeFeeQuoteCaller) GetQuotesByToken ¶
func (_BridgeFeeQuote *BridgeFeeQuoteCaller) GetQuotesByToken(opts *bind.CallOpts, _chainName [32]byte, _token [32]byte) ([]IBridgeFeeQuoteQuoteInfo, error)
GetQuotesByToken is a free data retrieval call binding the contract method 0xe14f1864.
Solidity: function getQuotesByToken(bytes32 _chainName, bytes32 _token) view returns((uint256,bytes32,bytes32,address,uint256,uint64,uint64)[])
func (*BridgeFeeQuoteCaller) GetRoleAdmin ¶
func (_BridgeFeeQuote *BridgeFeeQuoteCaller) GetRoleAdmin(opts *bind.CallOpts, role [32]byte) ([32]byte, error)
GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.
Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)
func (*BridgeFeeQuoteCaller) GetTokens ¶
func (_BridgeFeeQuote *BridgeFeeQuoteCaller) GetTokens(opts *bind.CallOpts, _chainName [32]byte) ([][32]byte, error)
GetTokens is a free data retrieval call binding the contract method 0xecbbc033.
Solidity: function getTokens(bytes32 _chainName) view returns(bytes32[])
func (*BridgeFeeQuoteCaller) HasRole ¶
func (_BridgeFeeQuote *BridgeFeeQuoteCaller) HasRole(opts *bind.CallOpts, role [32]byte, account common.Address) (bool, error)
HasRole is a free data retrieval call binding the contract method 0x91d14854.
Solidity: function hasRole(bytes32 role, address account) view returns(bool)
func (*BridgeFeeQuoteCaller) MaxQuoteCap ¶
func (_BridgeFeeQuote *BridgeFeeQuoteCaller) MaxQuoteCap(opts *bind.CallOpts) (uint8, error)
MaxQuoteCap is a free data retrieval call binding the contract method 0x7b81dad7.
Solidity: function maxQuoteCap() view returns(uint8)
func (*BridgeFeeQuoteCaller) OWNERROLE ¶
func (_BridgeFeeQuote *BridgeFeeQuoteCaller) OWNERROLE(opts *bind.CallOpts) ([32]byte, error)
OWNERROLE is a free data retrieval call binding the contract method 0xe58378bb.
Solidity: function OWNER_ROLE() view returns(bytes32)
func (*BridgeFeeQuoteCaller) OracleContract ¶
func (_BridgeFeeQuote *BridgeFeeQuoteCaller) OracleContract(opts *bind.CallOpts) (common.Address, error)
OracleContract is a free data retrieval call binding the contract method 0xbece7532.
Solidity: function oracleContract() view returns(address)
func (*BridgeFeeQuoteCaller) ProxiableUUID ¶
func (_BridgeFeeQuote *BridgeFeeQuoteCaller) ProxiableUUID(opts *bind.CallOpts) ([32]byte, error)
ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.
Solidity: function proxiableUUID() view returns(bytes32)
func (*BridgeFeeQuoteCaller) QuoteNonce ¶
QuoteNonce is a free data retrieval call binding the contract method 0x2c189169.
Solidity: function quoteNonce() view returns(uint256)
func (*BridgeFeeQuoteCaller) SupportsInterface ¶
func (_BridgeFeeQuote *BridgeFeeQuoteCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
func (*BridgeFeeQuoteCaller) UPGRADEROLE ¶
func (_BridgeFeeQuote *BridgeFeeQuoteCaller) UPGRADEROLE(opts *bind.CallOpts) ([32]byte, error)
UPGRADEROLE is a free data retrieval call binding the contract method 0xb908afa8.
Solidity: function UPGRADE_ROLE() view returns(bytes32)
type BridgeFeeQuoteCallerRaw ¶
type BridgeFeeQuoteCallerRaw struct {
Contract *BridgeFeeQuoteCaller // Generic read-only contract binding to access the raw methods on
}
BridgeFeeQuoteCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*BridgeFeeQuoteCallerRaw) Call ¶
func (_BridgeFeeQuote *BridgeFeeQuoteCallerRaw) 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 BridgeFeeQuoteCallerSession ¶
type BridgeFeeQuoteCallerSession struct { Contract *BridgeFeeQuoteCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
BridgeFeeQuoteCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*BridgeFeeQuoteCallerSession) DEFAULTADMINROLE ¶
func (_BridgeFeeQuote *BridgeFeeQuoteCallerSession) DEFAULTADMINROLE() ([32]byte, error)
DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.
Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)
func (*BridgeFeeQuoteCallerSession) GetChainNames ¶
func (_BridgeFeeQuote *BridgeFeeQuoteCallerSession) GetChainNames() ([][32]byte, error)
GetChainNames is a free data retrieval call binding the contract method 0xfdb336f7.
Solidity: function getChainNames() view returns(bytes32[])
func (*BridgeFeeQuoteCallerSession) GetDefaultOracleQuote ¶
func (_BridgeFeeQuote *BridgeFeeQuoteCallerSession) GetDefaultOracleQuote(_chainName [32]byte, _token [32]byte) ([]IBridgeFeeQuoteQuoteInfo, error)
GetDefaultOracleQuote is a free data retrieval call binding the contract method 0xe47a543f.
Solidity: function getDefaultOracleQuote(bytes32 _chainName, bytes32 _token) view returns((uint256,bytes32,bytes32,address,uint256,uint64,uint64)[])
func (*BridgeFeeQuoteCallerSession) GetQuoteById ¶
func (_BridgeFeeQuote *BridgeFeeQuoteCallerSession) GetQuoteById(_id *big.Int) (IBridgeFeeQuoteQuoteInfo, error)
GetQuoteById is a free data retrieval call binding the contract method 0xa8541c17.
Solidity: function getQuoteById(uint256 _id) view returns((uint256,bytes32,bytes32,address,uint256,uint64,uint64))
func (*BridgeFeeQuoteCallerSession) GetQuoteByIndex ¶
func (_BridgeFeeQuote *BridgeFeeQuoteCallerSession) GetQuoteByIndex(_chainName [32]byte, _token [32]byte, _oracle common.Address, _cap uint8) (IBridgeFeeQuoteQuoteInfo, error)
GetQuoteByIndex is a free data retrieval call binding the contract method 0x36cbd832.
Solidity: function getQuoteByIndex(bytes32 _chainName, bytes32 _token, address _oracle, uint8 _cap) view returns((uint256,bytes32,bytes32,address,uint256,uint64,uint64))
func (*BridgeFeeQuoteCallerSession) GetQuotesByToken ¶
func (_BridgeFeeQuote *BridgeFeeQuoteCallerSession) GetQuotesByToken(_chainName [32]byte, _token [32]byte) ([]IBridgeFeeQuoteQuoteInfo, error)
GetQuotesByToken is a free data retrieval call binding the contract method 0xe14f1864.
Solidity: function getQuotesByToken(bytes32 _chainName, bytes32 _token) view returns((uint256,bytes32,bytes32,address,uint256,uint64,uint64)[])
func (*BridgeFeeQuoteCallerSession) GetRoleAdmin ¶
func (_BridgeFeeQuote *BridgeFeeQuoteCallerSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.
Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)
func (*BridgeFeeQuoteCallerSession) GetTokens ¶
func (_BridgeFeeQuote *BridgeFeeQuoteCallerSession) GetTokens(_chainName [32]byte) ([][32]byte, error)
GetTokens is a free data retrieval call binding the contract method 0xecbbc033.
Solidity: function getTokens(bytes32 _chainName) view returns(bytes32[])
func (*BridgeFeeQuoteCallerSession) HasRole ¶
func (_BridgeFeeQuote *BridgeFeeQuoteCallerSession) HasRole(role [32]byte, account common.Address) (bool, error)
HasRole is a free data retrieval call binding the contract method 0x91d14854.
Solidity: function hasRole(bytes32 role, address account) view returns(bool)
func (*BridgeFeeQuoteCallerSession) MaxQuoteCap ¶
func (_BridgeFeeQuote *BridgeFeeQuoteCallerSession) MaxQuoteCap() (uint8, error)
MaxQuoteCap is a free data retrieval call binding the contract method 0x7b81dad7.
Solidity: function maxQuoteCap() view returns(uint8)
func (*BridgeFeeQuoteCallerSession) OWNERROLE ¶
func (_BridgeFeeQuote *BridgeFeeQuoteCallerSession) OWNERROLE() ([32]byte, error)
OWNERROLE is a free data retrieval call binding the contract method 0xe58378bb.
Solidity: function OWNER_ROLE() view returns(bytes32)
func (*BridgeFeeQuoteCallerSession) OracleContract ¶
func (_BridgeFeeQuote *BridgeFeeQuoteCallerSession) OracleContract() (common.Address, error)
OracleContract is a free data retrieval call binding the contract method 0xbece7532.
Solidity: function oracleContract() view returns(address)
func (*BridgeFeeQuoteCallerSession) ProxiableUUID ¶
func (_BridgeFeeQuote *BridgeFeeQuoteCallerSession) ProxiableUUID() ([32]byte, error)
ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.
Solidity: function proxiableUUID() view returns(bytes32)
func (*BridgeFeeQuoteCallerSession) QuoteNonce ¶
func (_BridgeFeeQuote *BridgeFeeQuoteCallerSession) QuoteNonce() (*big.Int, error)
QuoteNonce is a free data retrieval call binding the contract method 0x2c189169.
Solidity: function quoteNonce() view returns(uint256)
func (*BridgeFeeQuoteCallerSession) SupportsInterface ¶
func (_BridgeFeeQuote *BridgeFeeQuoteCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
func (*BridgeFeeQuoteCallerSession) UPGRADEROLE ¶
func (_BridgeFeeQuote *BridgeFeeQuoteCallerSession) UPGRADEROLE() ([32]byte, error)
UPGRADEROLE is a free data retrieval call binding the contract method 0xb908afa8.
Solidity: function UPGRADE_ROLE() view returns(bytes32)
type BridgeFeeQuoteFilterer ¶
type BridgeFeeQuoteFilterer struct {
// contains filtered or unexported fields
}
BridgeFeeQuoteFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewBridgeFeeQuoteFilterer ¶
func NewBridgeFeeQuoteFilterer(address common.Address, filterer bind.ContractFilterer) (*BridgeFeeQuoteFilterer, error)
NewBridgeFeeQuoteFilterer creates a new log filterer instance of BridgeFeeQuote, bound to a specific deployed contract.
func (*BridgeFeeQuoteFilterer) FilterAdminChanged ¶
func (_BridgeFeeQuote *BridgeFeeQuoteFilterer) FilterAdminChanged(opts *bind.FilterOpts) (*BridgeFeeQuoteAdminChangedIterator, error)
FilterAdminChanged is a free log retrieval operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
Solidity: event AdminChanged(address previousAdmin, address newAdmin)
func (*BridgeFeeQuoteFilterer) FilterBeaconUpgraded ¶
func (_BridgeFeeQuote *BridgeFeeQuoteFilterer) FilterBeaconUpgraded(opts *bind.FilterOpts, beacon []common.Address) (*BridgeFeeQuoteBeaconUpgradedIterator, error)
FilterBeaconUpgraded is a free log retrieval operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.
Solidity: event BeaconUpgraded(address indexed beacon)
func (*BridgeFeeQuoteFilterer) FilterInitialized ¶
func (_BridgeFeeQuote *BridgeFeeQuoteFilterer) FilterInitialized(opts *bind.FilterOpts) (*BridgeFeeQuoteInitializedIterator, error)
FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*BridgeFeeQuoteFilterer) FilterNewQuote ¶
func (_BridgeFeeQuote *BridgeFeeQuoteFilterer) FilterNewQuote(opts *bind.FilterOpts, id []*big.Int, chainName [][32]byte, tokenName [][32]byte) (*BridgeFeeQuoteNewQuoteIterator, error)
FilterNewQuote is a free log retrieval operation binding the contract event 0xaaa59a21a73d2d9728095280eca494951b3d50f06502210d9ab16a1ff3a7bc58.
Solidity: event NewQuote(uint256 indexed id, bytes32 indexed chainName, bytes32 indexed tokenName, address oracle, uint256 fee, uint256 gasLimit, uint256 expiry, uint8 cap)
func (*BridgeFeeQuoteFilterer) FilterRoleAdminChanged ¶
func (_BridgeFeeQuote *BridgeFeeQuoteFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (*BridgeFeeQuoteRoleAdminChangedIterator, error)
FilterRoleAdminChanged is a free log retrieval operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.
Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
func (*BridgeFeeQuoteFilterer) FilterRoleGranted ¶
func (_BridgeFeeQuote *BridgeFeeQuoteFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*BridgeFeeQuoteRoleGrantedIterator, error)
FilterRoleGranted is a free log retrieval operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.
Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
func (*BridgeFeeQuoteFilterer) FilterRoleRevoked ¶
func (_BridgeFeeQuote *BridgeFeeQuoteFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*BridgeFeeQuoteRoleRevokedIterator, error)
FilterRoleRevoked is a free log retrieval operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.
Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
func (*BridgeFeeQuoteFilterer) FilterUpgraded ¶
func (_BridgeFeeQuote *BridgeFeeQuoteFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*BridgeFeeQuoteUpgradedIterator, error)
FilterUpgraded is a free log retrieval operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
Solidity: event Upgraded(address indexed implementation)
func (*BridgeFeeQuoteFilterer) ParseAdminChanged ¶
func (_BridgeFeeQuote *BridgeFeeQuoteFilterer) ParseAdminChanged(log types.Log) (*BridgeFeeQuoteAdminChanged, error)
ParseAdminChanged is a log parse operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
Solidity: event AdminChanged(address previousAdmin, address newAdmin)
func (*BridgeFeeQuoteFilterer) ParseBeaconUpgraded ¶
func (_BridgeFeeQuote *BridgeFeeQuoteFilterer) ParseBeaconUpgraded(log types.Log) (*BridgeFeeQuoteBeaconUpgraded, error)
ParseBeaconUpgraded is a log parse operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.
Solidity: event BeaconUpgraded(address indexed beacon)
func (*BridgeFeeQuoteFilterer) ParseInitialized ¶
func (_BridgeFeeQuote *BridgeFeeQuoteFilterer) ParseInitialized(log types.Log) (*BridgeFeeQuoteInitialized, error)
ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*BridgeFeeQuoteFilterer) ParseNewQuote ¶
func (_BridgeFeeQuote *BridgeFeeQuoteFilterer) ParseNewQuote(log types.Log) (*BridgeFeeQuoteNewQuote, error)
ParseNewQuote is a log parse operation binding the contract event 0xaaa59a21a73d2d9728095280eca494951b3d50f06502210d9ab16a1ff3a7bc58.
Solidity: event NewQuote(uint256 indexed id, bytes32 indexed chainName, bytes32 indexed tokenName, address oracle, uint256 fee, uint256 gasLimit, uint256 expiry, uint8 cap)
func (*BridgeFeeQuoteFilterer) ParseRoleAdminChanged ¶
func (_BridgeFeeQuote *BridgeFeeQuoteFilterer) ParseRoleAdminChanged(log types.Log) (*BridgeFeeQuoteRoleAdminChanged, error)
ParseRoleAdminChanged is a log parse operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.
Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
func (*BridgeFeeQuoteFilterer) ParseRoleGranted ¶
func (_BridgeFeeQuote *BridgeFeeQuoteFilterer) ParseRoleGranted(log types.Log) (*BridgeFeeQuoteRoleGranted, error)
ParseRoleGranted is a log parse operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.
Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
func (*BridgeFeeQuoteFilterer) ParseRoleRevoked ¶
func (_BridgeFeeQuote *BridgeFeeQuoteFilterer) ParseRoleRevoked(log types.Log) (*BridgeFeeQuoteRoleRevoked, error)
ParseRoleRevoked is a log parse operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.
Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
func (*BridgeFeeQuoteFilterer) ParseUpgraded ¶
func (_BridgeFeeQuote *BridgeFeeQuoteFilterer) ParseUpgraded(log types.Log) (*BridgeFeeQuoteUpgraded, error)
ParseUpgraded is a log parse operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
Solidity: event Upgraded(address indexed implementation)
func (*BridgeFeeQuoteFilterer) WatchAdminChanged ¶
func (_BridgeFeeQuote *BridgeFeeQuoteFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *BridgeFeeQuoteAdminChanged) (event.Subscription, error)
WatchAdminChanged is a free log subscription operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
Solidity: event AdminChanged(address previousAdmin, address newAdmin)
func (*BridgeFeeQuoteFilterer) WatchBeaconUpgraded ¶
func (_BridgeFeeQuote *BridgeFeeQuoteFilterer) WatchBeaconUpgraded(opts *bind.WatchOpts, sink chan<- *BridgeFeeQuoteBeaconUpgraded, beacon []common.Address) (event.Subscription, error)
WatchBeaconUpgraded is a free log subscription operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.
Solidity: event BeaconUpgraded(address indexed beacon)
func (*BridgeFeeQuoteFilterer) WatchInitialized ¶
func (_BridgeFeeQuote *BridgeFeeQuoteFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *BridgeFeeQuoteInitialized) (event.Subscription, error)
WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*BridgeFeeQuoteFilterer) WatchNewQuote ¶
func (_BridgeFeeQuote *BridgeFeeQuoteFilterer) WatchNewQuote(opts *bind.WatchOpts, sink chan<- *BridgeFeeQuoteNewQuote, id []*big.Int, chainName [][32]byte, tokenName [][32]byte) (event.Subscription, error)
WatchNewQuote is a free log subscription operation binding the contract event 0xaaa59a21a73d2d9728095280eca494951b3d50f06502210d9ab16a1ff3a7bc58.
Solidity: event NewQuote(uint256 indexed id, bytes32 indexed chainName, bytes32 indexed tokenName, address oracle, uint256 fee, uint256 gasLimit, uint256 expiry, uint8 cap)
func (*BridgeFeeQuoteFilterer) WatchRoleAdminChanged ¶
func (_BridgeFeeQuote *BridgeFeeQuoteFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *BridgeFeeQuoteRoleAdminChanged, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (event.Subscription, error)
WatchRoleAdminChanged is a free log subscription operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.
Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
func (*BridgeFeeQuoteFilterer) WatchRoleGranted ¶
func (_BridgeFeeQuote *BridgeFeeQuoteFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *BridgeFeeQuoteRoleGranted, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)
WatchRoleGranted is a free log subscription operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.
Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
func (*BridgeFeeQuoteFilterer) WatchRoleRevoked ¶
func (_BridgeFeeQuote *BridgeFeeQuoteFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *BridgeFeeQuoteRoleRevoked, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)
WatchRoleRevoked is a free log subscription operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.
Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
func (*BridgeFeeQuoteFilterer) WatchUpgraded ¶
func (_BridgeFeeQuote *BridgeFeeQuoteFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *BridgeFeeQuoteUpgraded, implementation []common.Address) (event.Subscription, error)
WatchUpgraded is a free log subscription operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
Solidity: event Upgraded(address indexed implementation)
type BridgeFeeQuoteInitialized ¶
type BridgeFeeQuoteInitialized struct { Version uint8 Raw types.Log // Blockchain specific contextual infos }
BridgeFeeQuoteInitialized represents a Initialized event raised by the BridgeFeeQuote contract.
type BridgeFeeQuoteInitializedIterator ¶
type BridgeFeeQuoteInitializedIterator struct { Event *BridgeFeeQuoteInitialized // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BridgeFeeQuoteInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the BridgeFeeQuote contract.
func (*BridgeFeeQuoteInitializedIterator) Close ¶
func (it *BridgeFeeQuoteInitializedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BridgeFeeQuoteInitializedIterator) Error ¶
func (it *BridgeFeeQuoteInitializedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BridgeFeeQuoteInitializedIterator) Next ¶
func (it *BridgeFeeQuoteInitializedIterator) 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 BridgeFeeQuoteKeeper ¶
type BridgeFeeQuoteKeeper struct { Caller // contains filtered or unexported fields }
func NewBridgeFeeQuoteKeeper ¶
func NewBridgeFeeQuoteKeeper(caller Caller, contract ...string) BridgeFeeQuoteKeeper
func (BridgeFeeQuoteKeeper) AddToken ¶
func (k BridgeFeeQuoteKeeper) AddToken(ctx context.Context, chainName common.Hash, tokenNames []common.Hash) (*types.MsgEthereumTxResponse, error)
func (BridgeFeeQuoteKeeper) GetChainNames ¶
func (BridgeFeeQuoteKeeper) GetDefaultOracleQuote ¶
func (k BridgeFeeQuoteKeeper) GetDefaultOracleQuote(ctx context.Context, chainName, tokenName common.Hash) ([]IBridgeFeeQuoteQuoteInfo, error)
func (BridgeFeeQuoteKeeper) GetOwnerRole ¶
func (BridgeFeeQuoteKeeper) GetQuoteById ¶
func (k BridgeFeeQuoteKeeper) GetQuoteById(ctx context.Context, id *big.Int) (IBridgeFeeQuoteQuoteInfo, error)
func (BridgeFeeQuoteKeeper) GetQuoteNonce ¶
func (BridgeFeeQuoteKeeper) GetUpgradeRole ¶
func (BridgeFeeQuoteKeeper) GrantRole ¶
func (k BridgeFeeQuoteKeeper) GrantRole(ctx context.Context, role common.Hash, account common.Address) (*types.MsgEthereumTxResponse, error)
func (BridgeFeeQuoteKeeper) Initialize ¶
func (k BridgeFeeQuoteKeeper) Initialize(ctx context.Context, oracle common.Address, maxQuoteCap uint8) (*types.MsgEthereumTxResponse, error)
func (BridgeFeeQuoteKeeper) Quote ¶
func (k BridgeFeeQuoteKeeper) Quote(ctx context.Context, from common.Address, inputs []IBridgeFeeQuoteQuoteInput) (*types.MsgEthereumTxResponse, error)
func (BridgeFeeQuoteKeeper) RegisterChain ¶
func (k BridgeFeeQuoteKeeper) RegisterChain(ctx context.Context, chainName common.Hash, tokenNames ...common.Hash) (*types.MsgEthereumTxResponse, error)
func (BridgeFeeQuoteKeeper) UpgradeTo ¶
func (k BridgeFeeQuoteKeeper) UpgradeTo(ctx context.Context, newLogic common.Address) (*types.MsgEthereumTxResponse, error)
func (BridgeFeeQuoteKeeper) UpgradeToAndCall ¶
func (k BridgeFeeQuoteKeeper) UpgradeToAndCall(ctx context.Context, newLogic common.Address, data []byte) (*types.MsgEthereumTxResponse, error)
type BridgeFeeQuoteNewQuote ¶
type BridgeFeeQuoteNewQuote struct { Id *big.Int ChainName [32]byte TokenName [32]byte Oracle common.Address Fee *big.Int GasLimit *big.Int Expiry *big.Int Cap uint8 Raw types.Log // Blockchain specific contextual infos }
BridgeFeeQuoteNewQuote represents a NewQuote event raised by the BridgeFeeQuote contract.
type BridgeFeeQuoteNewQuoteIterator ¶
type BridgeFeeQuoteNewQuoteIterator struct { Event *BridgeFeeQuoteNewQuote // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BridgeFeeQuoteNewQuoteIterator is returned from FilterNewQuote and is used to iterate over the raw logs and unpacked data for NewQuote events raised by the BridgeFeeQuote contract.
func (*BridgeFeeQuoteNewQuoteIterator) Close ¶
func (it *BridgeFeeQuoteNewQuoteIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BridgeFeeQuoteNewQuoteIterator) Error ¶
func (it *BridgeFeeQuoteNewQuoteIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BridgeFeeQuoteNewQuoteIterator) Next ¶
func (it *BridgeFeeQuoteNewQuoteIterator) 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 BridgeFeeQuoteRaw ¶
type BridgeFeeQuoteRaw struct {
Contract *BridgeFeeQuote // Generic contract binding to access the raw methods on
}
BridgeFeeQuoteRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*BridgeFeeQuoteRaw) Call ¶
func (_BridgeFeeQuote *BridgeFeeQuoteRaw) 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 (*BridgeFeeQuoteRaw) Transact ¶
func (_BridgeFeeQuote *BridgeFeeQuoteRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BridgeFeeQuoteRaw) Transfer ¶
func (_BridgeFeeQuote *BridgeFeeQuoteRaw) 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 BridgeFeeQuoteRoleAdminChanged ¶
type BridgeFeeQuoteRoleAdminChanged struct { Role [32]byte PreviousAdminRole [32]byte NewAdminRole [32]byte Raw types.Log // Blockchain specific contextual infos }
BridgeFeeQuoteRoleAdminChanged represents a RoleAdminChanged event raised by the BridgeFeeQuote contract.
type BridgeFeeQuoteRoleAdminChangedIterator ¶
type BridgeFeeQuoteRoleAdminChangedIterator struct { Event *BridgeFeeQuoteRoleAdminChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BridgeFeeQuoteRoleAdminChangedIterator is returned from FilterRoleAdminChanged and is used to iterate over the raw logs and unpacked data for RoleAdminChanged events raised by the BridgeFeeQuote contract.
func (*BridgeFeeQuoteRoleAdminChangedIterator) Close ¶
func (it *BridgeFeeQuoteRoleAdminChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BridgeFeeQuoteRoleAdminChangedIterator) Error ¶
func (it *BridgeFeeQuoteRoleAdminChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BridgeFeeQuoteRoleAdminChangedIterator) Next ¶
func (it *BridgeFeeQuoteRoleAdminChangedIterator) 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 BridgeFeeQuoteRoleGranted ¶
type BridgeFeeQuoteRoleGranted struct { Role [32]byte Account common.Address Sender common.Address Raw types.Log // Blockchain specific contextual infos }
BridgeFeeQuoteRoleGranted represents a RoleGranted event raised by the BridgeFeeQuote contract.
type BridgeFeeQuoteRoleGrantedIterator ¶
type BridgeFeeQuoteRoleGrantedIterator struct { Event *BridgeFeeQuoteRoleGranted // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BridgeFeeQuoteRoleGrantedIterator is returned from FilterRoleGranted and is used to iterate over the raw logs and unpacked data for RoleGranted events raised by the BridgeFeeQuote contract.
func (*BridgeFeeQuoteRoleGrantedIterator) Close ¶
func (it *BridgeFeeQuoteRoleGrantedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BridgeFeeQuoteRoleGrantedIterator) Error ¶
func (it *BridgeFeeQuoteRoleGrantedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BridgeFeeQuoteRoleGrantedIterator) Next ¶
func (it *BridgeFeeQuoteRoleGrantedIterator) 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 BridgeFeeQuoteRoleRevoked ¶
type BridgeFeeQuoteRoleRevoked struct { Role [32]byte Account common.Address Sender common.Address Raw types.Log // Blockchain specific contextual infos }
BridgeFeeQuoteRoleRevoked represents a RoleRevoked event raised by the BridgeFeeQuote contract.
type BridgeFeeQuoteRoleRevokedIterator ¶
type BridgeFeeQuoteRoleRevokedIterator struct { Event *BridgeFeeQuoteRoleRevoked // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BridgeFeeQuoteRoleRevokedIterator is returned from FilterRoleRevoked and is used to iterate over the raw logs and unpacked data for RoleRevoked events raised by the BridgeFeeQuote contract.
func (*BridgeFeeQuoteRoleRevokedIterator) Close ¶
func (it *BridgeFeeQuoteRoleRevokedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BridgeFeeQuoteRoleRevokedIterator) Error ¶
func (it *BridgeFeeQuoteRoleRevokedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BridgeFeeQuoteRoleRevokedIterator) Next ¶
func (it *BridgeFeeQuoteRoleRevokedIterator) 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 BridgeFeeQuoteSession ¶
type BridgeFeeQuoteSession struct { Contract *BridgeFeeQuote // 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 }
BridgeFeeQuoteSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*BridgeFeeQuoteSession) AddToken ¶
func (_BridgeFeeQuote *BridgeFeeQuoteSession) AddToken(_chainName [32]byte, _tokens [][32]byte) (*types.Transaction, error)
AddToken is a paid mutator transaction binding the contract method 0xf8084435.
Solidity: function addToken(bytes32 _chainName, bytes32[] _tokens) returns(bool)
func (*BridgeFeeQuoteSession) DEFAULTADMINROLE ¶
func (_BridgeFeeQuote *BridgeFeeQuoteSession) DEFAULTADMINROLE() ([32]byte, error)
DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.
Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)
func (*BridgeFeeQuoteSession) GetChainNames ¶
func (_BridgeFeeQuote *BridgeFeeQuoteSession) GetChainNames() ([][32]byte, error)
GetChainNames is a free data retrieval call binding the contract method 0xfdb336f7.
Solidity: function getChainNames() view returns(bytes32[])
func (*BridgeFeeQuoteSession) GetDefaultOracleQuote ¶
func (_BridgeFeeQuote *BridgeFeeQuoteSession) GetDefaultOracleQuote(_chainName [32]byte, _token [32]byte) ([]IBridgeFeeQuoteQuoteInfo, error)
GetDefaultOracleQuote is a free data retrieval call binding the contract method 0xe47a543f.
Solidity: function getDefaultOracleQuote(bytes32 _chainName, bytes32 _token) view returns((uint256,bytes32,bytes32,address,uint256,uint64,uint64)[])
func (*BridgeFeeQuoteSession) GetQuoteById ¶
func (_BridgeFeeQuote *BridgeFeeQuoteSession) GetQuoteById(_id *big.Int) (IBridgeFeeQuoteQuoteInfo, error)
GetQuoteById is a free data retrieval call binding the contract method 0xa8541c17.
Solidity: function getQuoteById(uint256 _id) view returns((uint256,bytes32,bytes32,address,uint256,uint64,uint64))
func (*BridgeFeeQuoteSession) GetQuoteByIndex ¶
func (_BridgeFeeQuote *BridgeFeeQuoteSession) GetQuoteByIndex(_chainName [32]byte, _token [32]byte, _oracle common.Address, _cap uint8) (IBridgeFeeQuoteQuoteInfo, error)
GetQuoteByIndex is a free data retrieval call binding the contract method 0x36cbd832.
Solidity: function getQuoteByIndex(bytes32 _chainName, bytes32 _token, address _oracle, uint8 _cap) view returns((uint256,bytes32,bytes32,address,uint256,uint64,uint64))
func (*BridgeFeeQuoteSession) GetQuotesByToken ¶
func (_BridgeFeeQuote *BridgeFeeQuoteSession) GetQuotesByToken(_chainName [32]byte, _token [32]byte) ([]IBridgeFeeQuoteQuoteInfo, error)
GetQuotesByToken is a free data retrieval call binding the contract method 0xe14f1864.
Solidity: function getQuotesByToken(bytes32 _chainName, bytes32 _token) view returns((uint256,bytes32,bytes32,address,uint256,uint64,uint64)[])
func (*BridgeFeeQuoteSession) GetRoleAdmin ¶
func (_BridgeFeeQuote *BridgeFeeQuoteSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.
Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)
func (*BridgeFeeQuoteSession) GetTokens ¶
func (_BridgeFeeQuote *BridgeFeeQuoteSession) GetTokens(_chainName [32]byte) ([][32]byte, error)
GetTokens is a free data retrieval call binding the contract method 0xecbbc033.
Solidity: function getTokens(bytes32 _chainName) view returns(bytes32[])
func (*BridgeFeeQuoteSession) GrantRole ¶
func (_BridgeFeeQuote *BridgeFeeQuoteSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.
Solidity: function grantRole(bytes32 role, address account) returns()
func (*BridgeFeeQuoteSession) HasRole ¶
func (_BridgeFeeQuote *BridgeFeeQuoteSession) HasRole(role [32]byte, account common.Address) (bool, error)
HasRole is a free data retrieval call binding the contract method 0x91d14854.
Solidity: function hasRole(bytes32 role, address account) view returns(bool)
func (*BridgeFeeQuoteSession) Initialize ¶
func (_BridgeFeeQuote *BridgeFeeQuoteSession) Initialize(_oracle common.Address, _maxQuoteCap uint8) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x943b24b2.
Solidity: function initialize(address _oracle, uint8 _maxQuoteCap) returns()
func (*BridgeFeeQuoteSession) MaxQuoteCap ¶
func (_BridgeFeeQuote *BridgeFeeQuoteSession) MaxQuoteCap() (uint8, error)
MaxQuoteCap is a free data retrieval call binding the contract method 0x7b81dad7.
Solidity: function maxQuoteCap() view returns(uint8)
func (*BridgeFeeQuoteSession) OWNERROLE ¶
func (_BridgeFeeQuote *BridgeFeeQuoteSession) OWNERROLE() ([32]byte, error)
OWNERROLE is a free data retrieval call binding the contract method 0xe58378bb.
Solidity: function OWNER_ROLE() view returns(bytes32)
func (*BridgeFeeQuoteSession) OracleContract ¶
func (_BridgeFeeQuote *BridgeFeeQuoteSession) OracleContract() (common.Address, error)
OracleContract is a free data retrieval call binding the contract method 0xbece7532.
Solidity: function oracleContract() view returns(address)
func (*BridgeFeeQuoteSession) ProxiableUUID ¶
func (_BridgeFeeQuote *BridgeFeeQuoteSession) ProxiableUUID() ([32]byte, error)
ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.
Solidity: function proxiableUUID() view returns(bytes32)
func (*BridgeFeeQuoteSession) Quote ¶
func (_BridgeFeeQuote *BridgeFeeQuoteSession) Quote(_inputs []IBridgeFeeQuoteQuoteInput) (*types.Transaction, error)
Quote is a paid mutator transaction binding the contract method 0x013fcc3d.
Solidity: function quote((uint8,uint64,uint64,bytes32,bytes32,uint256)[] _inputs) returns(uint256[])
func (*BridgeFeeQuoteSession) QuoteNonce ¶
func (_BridgeFeeQuote *BridgeFeeQuoteSession) QuoteNonce() (*big.Int, error)
QuoteNonce is a free data retrieval call binding the contract method 0x2c189169.
Solidity: function quoteNonce() view returns(uint256)
func (*BridgeFeeQuoteSession) Receive ¶
func (_BridgeFeeQuote *BridgeFeeQuoteSession) Receive() (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*BridgeFeeQuoteSession) RegisterChain ¶
func (_BridgeFeeQuote *BridgeFeeQuoteSession) RegisterChain(_chainName [32]byte, _tokens [][32]byte) (*types.Transaction, error)
RegisterChain is a paid mutator transaction binding the contract method 0xcd87db92.
Solidity: function registerChain(bytes32 _chainName, bytes32[] _tokens) returns(bool)
func (*BridgeFeeQuoteSession) RemoveToken ¶
func (_BridgeFeeQuote *BridgeFeeQuoteSession) RemoveToken(_chainName [32]byte, _tokens [][32]byte) (*types.Transaction, error)
RemoveToken is a paid mutator transaction binding the contract method 0x41fa04a8.
Solidity: function removeToken(bytes32 _chainName, bytes32[] _tokens) returns(bool)
func (*BridgeFeeQuoteSession) RenounceRole ¶
func (_BridgeFeeQuote *BridgeFeeQuoteSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)
RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.
Solidity: function renounceRole(bytes32 role, address account) returns()
func (*BridgeFeeQuoteSession) RevokeRole ¶
func (_BridgeFeeQuote *BridgeFeeQuoteSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.
Solidity: function revokeRole(bytes32 role, address account) returns()
func (*BridgeFeeQuoteSession) SupportsInterface ¶
func (_BridgeFeeQuote *BridgeFeeQuoteSession) SupportsInterface(interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
func (*BridgeFeeQuoteSession) UPGRADEROLE ¶
func (_BridgeFeeQuote *BridgeFeeQuoteSession) UPGRADEROLE() ([32]byte, error)
UPGRADEROLE is a free data retrieval call binding the contract method 0xb908afa8.
Solidity: function UPGRADE_ROLE() view returns(bytes32)
func (*BridgeFeeQuoteSession) UpgradeTo ¶
func (_BridgeFeeQuote *BridgeFeeQuoteSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)
UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.
Solidity: function upgradeTo(address newImplementation) returns()
func (*BridgeFeeQuoteSession) UpgradeToAndCall ¶
func (_BridgeFeeQuote *BridgeFeeQuoteSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)
UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.
Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()
type BridgeFeeQuoteTransactor ¶
type BridgeFeeQuoteTransactor struct {
// contains filtered or unexported fields
}
BridgeFeeQuoteTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewBridgeFeeQuoteTransactor ¶
func NewBridgeFeeQuoteTransactor(address common.Address, transactor bind.ContractTransactor) (*BridgeFeeQuoteTransactor, error)
NewBridgeFeeQuoteTransactor creates a new write-only instance of BridgeFeeQuote, bound to a specific deployed contract.
func (*BridgeFeeQuoteTransactor) AddToken ¶
func (_BridgeFeeQuote *BridgeFeeQuoteTransactor) AddToken(opts *bind.TransactOpts, _chainName [32]byte, _tokens [][32]byte) (*types.Transaction, error)
AddToken is a paid mutator transaction binding the contract method 0xf8084435.
Solidity: function addToken(bytes32 _chainName, bytes32[] _tokens) returns(bool)
func (*BridgeFeeQuoteTransactor) GrantRole ¶
func (_BridgeFeeQuote *BridgeFeeQuoteTransactor) GrantRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.
Solidity: function grantRole(bytes32 role, address account) returns()
func (*BridgeFeeQuoteTransactor) Initialize ¶
func (_BridgeFeeQuote *BridgeFeeQuoteTransactor) Initialize(opts *bind.TransactOpts, _oracle common.Address, _maxQuoteCap uint8) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x943b24b2.
Solidity: function initialize(address _oracle, uint8 _maxQuoteCap) returns()
func (*BridgeFeeQuoteTransactor) Quote ¶
func (_BridgeFeeQuote *BridgeFeeQuoteTransactor) Quote(opts *bind.TransactOpts, _inputs []IBridgeFeeQuoteQuoteInput) (*types.Transaction, error)
Quote is a paid mutator transaction binding the contract method 0x013fcc3d.
Solidity: function quote((uint8,uint64,uint64,bytes32,bytes32,uint256)[] _inputs) returns(uint256[])
func (*BridgeFeeQuoteTransactor) Receive ¶
func (_BridgeFeeQuote *BridgeFeeQuoteTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*BridgeFeeQuoteTransactor) RegisterChain ¶
func (_BridgeFeeQuote *BridgeFeeQuoteTransactor) RegisterChain(opts *bind.TransactOpts, _chainName [32]byte, _tokens [][32]byte) (*types.Transaction, error)
RegisterChain is a paid mutator transaction binding the contract method 0xcd87db92.
Solidity: function registerChain(bytes32 _chainName, bytes32[] _tokens) returns(bool)
func (*BridgeFeeQuoteTransactor) RemoveToken ¶
func (_BridgeFeeQuote *BridgeFeeQuoteTransactor) RemoveToken(opts *bind.TransactOpts, _chainName [32]byte, _tokens [][32]byte) (*types.Transaction, error)
RemoveToken is a paid mutator transaction binding the contract method 0x41fa04a8.
Solidity: function removeToken(bytes32 _chainName, bytes32[] _tokens) returns(bool)
func (*BridgeFeeQuoteTransactor) RenounceRole ¶
func (_BridgeFeeQuote *BridgeFeeQuoteTransactor) RenounceRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.
Solidity: function renounceRole(bytes32 role, address account) returns()
func (*BridgeFeeQuoteTransactor) RevokeRole ¶
func (_BridgeFeeQuote *BridgeFeeQuoteTransactor) RevokeRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.
Solidity: function revokeRole(bytes32 role, address account) returns()
func (*BridgeFeeQuoteTransactor) UpgradeTo ¶
func (_BridgeFeeQuote *BridgeFeeQuoteTransactor) UpgradeTo(opts *bind.TransactOpts, newImplementation common.Address) (*types.Transaction, error)
UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.
Solidity: function upgradeTo(address newImplementation) returns()
func (*BridgeFeeQuoteTransactor) UpgradeToAndCall ¶
func (_BridgeFeeQuote *BridgeFeeQuoteTransactor) UpgradeToAndCall(opts *bind.TransactOpts, newImplementation common.Address, data []byte) (*types.Transaction, error)
UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.
Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()
type BridgeFeeQuoteTransactorRaw ¶
type BridgeFeeQuoteTransactorRaw struct {
Contract *BridgeFeeQuoteTransactor // Generic write-only contract binding to access the raw methods on
}
BridgeFeeQuoteTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*BridgeFeeQuoteTransactorRaw) Transact ¶
func (_BridgeFeeQuote *BridgeFeeQuoteTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BridgeFeeQuoteTransactorRaw) Transfer ¶
func (_BridgeFeeQuote *BridgeFeeQuoteTransactorRaw) 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 BridgeFeeQuoteTransactorSession ¶
type BridgeFeeQuoteTransactorSession struct { Contract *BridgeFeeQuoteTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
BridgeFeeQuoteTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*BridgeFeeQuoteTransactorSession) AddToken ¶
func (_BridgeFeeQuote *BridgeFeeQuoteTransactorSession) AddToken(_chainName [32]byte, _tokens [][32]byte) (*types.Transaction, error)
AddToken is a paid mutator transaction binding the contract method 0xf8084435.
Solidity: function addToken(bytes32 _chainName, bytes32[] _tokens) returns(bool)
func (*BridgeFeeQuoteTransactorSession) GrantRole ¶
func (_BridgeFeeQuote *BridgeFeeQuoteTransactorSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.
Solidity: function grantRole(bytes32 role, address account) returns()
func (*BridgeFeeQuoteTransactorSession) Initialize ¶
func (_BridgeFeeQuote *BridgeFeeQuoteTransactorSession) Initialize(_oracle common.Address, _maxQuoteCap uint8) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x943b24b2.
Solidity: function initialize(address _oracle, uint8 _maxQuoteCap) returns()
func (*BridgeFeeQuoteTransactorSession) Quote ¶
func (_BridgeFeeQuote *BridgeFeeQuoteTransactorSession) Quote(_inputs []IBridgeFeeQuoteQuoteInput) (*types.Transaction, error)
Quote is a paid mutator transaction binding the contract method 0x013fcc3d.
Solidity: function quote((uint8,uint64,uint64,bytes32,bytes32,uint256)[] _inputs) returns(uint256[])
func (*BridgeFeeQuoteTransactorSession) Receive ¶
func (_BridgeFeeQuote *BridgeFeeQuoteTransactorSession) Receive() (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*BridgeFeeQuoteTransactorSession) RegisterChain ¶
func (_BridgeFeeQuote *BridgeFeeQuoteTransactorSession) RegisterChain(_chainName [32]byte, _tokens [][32]byte) (*types.Transaction, error)
RegisterChain is a paid mutator transaction binding the contract method 0xcd87db92.
Solidity: function registerChain(bytes32 _chainName, bytes32[] _tokens) returns(bool)
func (*BridgeFeeQuoteTransactorSession) RemoveToken ¶
func (_BridgeFeeQuote *BridgeFeeQuoteTransactorSession) RemoveToken(_chainName [32]byte, _tokens [][32]byte) (*types.Transaction, error)
RemoveToken is a paid mutator transaction binding the contract method 0x41fa04a8.
Solidity: function removeToken(bytes32 _chainName, bytes32[] _tokens) returns(bool)
func (*BridgeFeeQuoteTransactorSession) RenounceRole ¶
func (_BridgeFeeQuote *BridgeFeeQuoteTransactorSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)
RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.
Solidity: function renounceRole(bytes32 role, address account) returns()
func (*BridgeFeeQuoteTransactorSession) RevokeRole ¶
func (_BridgeFeeQuote *BridgeFeeQuoteTransactorSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.
Solidity: function revokeRole(bytes32 role, address account) returns()
func (*BridgeFeeQuoteTransactorSession) UpgradeTo ¶
func (_BridgeFeeQuote *BridgeFeeQuoteTransactorSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)
UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.
Solidity: function upgradeTo(address newImplementation) returns()
func (*BridgeFeeQuoteTransactorSession) UpgradeToAndCall ¶
func (_BridgeFeeQuote *BridgeFeeQuoteTransactorSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)
UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.
Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()
type BridgeFeeQuoteUpgraded ¶
type BridgeFeeQuoteUpgraded struct { Implementation common.Address Raw types.Log // Blockchain specific contextual infos }
BridgeFeeQuoteUpgraded represents a Upgraded event raised by the BridgeFeeQuote contract.
type BridgeFeeQuoteUpgradedIterator ¶
type BridgeFeeQuoteUpgradedIterator struct { Event *BridgeFeeQuoteUpgraded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BridgeFeeQuoteUpgradedIterator is returned from FilterUpgraded and is used to iterate over the raw logs and unpacked data for Upgraded events raised by the BridgeFeeQuote contract.
func (*BridgeFeeQuoteUpgradedIterator) Close ¶
func (it *BridgeFeeQuoteUpgradedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BridgeFeeQuoteUpgradedIterator) Error ¶
func (it *BridgeFeeQuoteUpgradedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BridgeFeeQuoteUpgradedIterator) Next ¶
func (it *BridgeFeeQuoteUpgradedIterator) 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 BridgeProxy ¶
type BridgeProxy struct { BridgeProxyCaller // Read-only binding to the contract BridgeProxyTransactor // Write-only binding to the contract BridgeProxyFilterer // Log filterer for contract events }
BridgeProxy is an auto generated Go binding around an Ethereum contract.
func DeployBridgeProxy ¶
func DeployBridgeProxy(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *BridgeProxy, error)
DeployBridgeProxy deploys a new Ethereum contract, binding an instance of BridgeProxy to it.
func NewBridgeProxy ¶
func NewBridgeProxy(address common.Address, backend bind.ContractBackend) (*BridgeProxy, error)
NewBridgeProxy creates a new instance of BridgeProxy, bound to a specific deployed contract.
type BridgeProxyAdminChanged ¶
type BridgeProxyAdminChanged struct { PreviousAdmin common.Address NewAdmin common.Address Raw types.Log // Blockchain specific contextual infos }
BridgeProxyAdminChanged represents a AdminChanged event raised by the BridgeProxy contract.
type BridgeProxyAdminChangedIterator ¶
type BridgeProxyAdminChangedIterator struct { Event *BridgeProxyAdminChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BridgeProxyAdminChangedIterator is returned from FilterAdminChanged and is used to iterate over the raw logs and unpacked data for AdminChanged events raised by the BridgeProxy contract.
func (*BridgeProxyAdminChangedIterator) Close ¶
func (it *BridgeProxyAdminChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BridgeProxyAdminChangedIterator) Error ¶
func (it *BridgeProxyAdminChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BridgeProxyAdminChangedIterator) Next ¶
func (it *BridgeProxyAdminChangedIterator) 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 BridgeProxyBeaconUpgraded ¶
type BridgeProxyBeaconUpgraded struct { Beacon common.Address Raw types.Log // Blockchain specific contextual infos }
BridgeProxyBeaconUpgraded represents a BeaconUpgraded event raised by the BridgeProxy contract.
type BridgeProxyBeaconUpgradedIterator ¶
type BridgeProxyBeaconUpgradedIterator struct { Event *BridgeProxyBeaconUpgraded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BridgeProxyBeaconUpgradedIterator is returned from FilterBeaconUpgraded and is used to iterate over the raw logs and unpacked data for BeaconUpgraded events raised by the BridgeProxy contract.
func (*BridgeProxyBeaconUpgradedIterator) Close ¶
func (it *BridgeProxyBeaconUpgradedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BridgeProxyBeaconUpgradedIterator) Error ¶
func (it *BridgeProxyBeaconUpgradedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BridgeProxyBeaconUpgradedIterator) Next ¶
func (it *BridgeProxyBeaconUpgradedIterator) 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 BridgeProxyCaller ¶
type BridgeProxyCaller struct {
// contains filtered or unexported fields
}
BridgeProxyCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewBridgeProxyCaller ¶
func NewBridgeProxyCaller(address common.Address, caller bind.ContractCaller) (*BridgeProxyCaller, error)
NewBridgeProxyCaller creates a new read-only instance of BridgeProxy, bound to a specific deployed contract.
type BridgeProxyCallerRaw ¶
type BridgeProxyCallerRaw struct {
Contract *BridgeProxyCaller // Generic read-only contract binding to access the raw methods on
}
BridgeProxyCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*BridgeProxyCallerRaw) Call ¶
func (_BridgeProxy *BridgeProxyCallerRaw) 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 BridgeProxyCallerSession ¶
type BridgeProxyCallerSession struct { Contract *BridgeProxyCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
BridgeProxyCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type BridgeProxyFilterer ¶
type BridgeProxyFilterer struct {
// contains filtered or unexported fields
}
BridgeProxyFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewBridgeProxyFilterer ¶
func NewBridgeProxyFilterer(address common.Address, filterer bind.ContractFilterer) (*BridgeProxyFilterer, error)
NewBridgeProxyFilterer creates a new log filterer instance of BridgeProxy, bound to a specific deployed contract.
func (*BridgeProxyFilterer) FilterAdminChanged ¶
func (_BridgeProxy *BridgeProxyFilterer) FilterAdminChanged(opts *bind.FilterOpts) (*BridgeProxyAdminChangedIterator, error)
FilterAdminChanged is a free log retrieval operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
Solidity: event AdminChanged(address previousAdmin, address newAdmin)
func (*BridgeProxyFilterer) FilterBeaconUpgraded ¶
func (_BridgeProxy *BridgeProxyFilterer) FilterBeaconUpgraded(opts *bind.FilterOpts, beacon []common.Address) (*BridgeProxyBeaconUpgradedIterator, error)
FilterBeaconUpgraded is a free log retrieval operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.
Solidity: event BeaconUpgraded(address indexed beacon)
func (*BridgeProxyFilterer) FilterUpgraded ¶
func (_BridgeProxy *BridgeProxyFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*BridgeProxyUpgradedIterator, error)
FilterUpgraded is a free log retrieval operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
Solidity: event Upgraded(address indexed implementation)
func (*BridgeProxyFilterer) ParseAdminChanged ¶
func (_BridgeProxy *BridgeProxyFilterer) ParseAdminChanged(log types.Log) (*BridgeProxyAdminChanged, error)
ParseAdminChanged is a log parse operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
Solidity: event AdminChanged(address previousAdmin, address newAdmin)
func (*BridgeProxyFilterer) ParseBeaconUpgraded ¶
func (_BridgeProxy *BridgeProxyFilterer) ParseBeaconUpgraded(log types.Log) (*BridgeProxyBeaconUpgraded, error)
ParseBeaconUpgraded is a log parse operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.
Solidity: event BeaconUpgraded(address indexed beacon)
func (*BridgeProxyFilterer) ParseUpgraded ¶
func (_BridgeProxy *BridgeProxyFilterer) ParseUpgraded(log types.Log) (*BridgeProxyUpgraded, error)
ParseUpgraded is a log parse operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
Solidity: event Upgraded(address indexed implementation)
func (*BridgeProxyFilterer) WatchAdminChanged ¶
func (_BridgeProxy *BridgeProxyFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *BridgeProxyAdminChanged) (event.Subscription, error)
WatchAdminChanged is a free log subscription operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
Solidity: event AdminChanged(address previousAdmin, address newAdmin)
func (*BridgeProxyFilterer) WatchBeaconUpgraded ¶
func (_BridgeProxy *BridgeProxyFilterer) WatchBeaconUpgraded(opts *bind.WatchOpts, sink chan<- *BridgeProxyBeaconUpgraded, beacon []common.Address) (event.Subscription, error)
WatchBeaconUpgraded is a free log subscription operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.
Solidity: event BeaconUpgraded(address indexed beacon)
func (*BridgeProxyFilterer) WatchUpgraded ¶
func (_BridgeProxy *BridgeProxyFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *BridgeProxyUpgraded, implementation []common.Address) (event.Subscription, error)
WatchUpgraded is a free log subscription operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
Solidity: event Upgraded(address indexed implementation)
type BridgeProxyRaw ¶
type BridgeProxyRaw struct {
Contract *BridgeProxy // Generic contract binding to access the raw methods on
}
BridgeProxyRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*BridgeProxyRaw) Call ¶
func (_BridgeProxy *BridgeProxyRaw) 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 (*BridgeProxyRaw) Transact ¶
func (_BridgeProxy *BridgeProxyRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BridgeProxyRaw) Transfer ¶
func (_BridgeProxy *BridgeProxyRaw) 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 BridgeProxySession ¶
type BridgeProxySession struct { Contract *BridgeProxy // 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 }
BridgeProxySession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*BridgeProxySession) Fallback ¶
func (_BridgeProxy *BridgeProxySession) Fallback(calldata []byte) (*types.Transaction, error)
Fallback is a paid mutator transaction binding the contract fallback function.
Solidity: fallback() payable returns()
func (*BridgeProxySession) Init ¶
func (_BridgeProxy *BridgeProxySession) Init(_logic common.Address) (*types.Transaction, error)
Init is a paid mutator transaction binding the contract method 0x19ab453c.
Solidity: function init(address _logic) returns()
func (*BridgeProxySession) Receive ¶
func (_BridgeProxy *BridgeProxySession) Receive() (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
type BridgeProxyTransactor ¶
type BridgeProxyTransactor struct {
// contains filtered or unexported fields
}
BridgeProxyTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewBridgeProxyTransactor ¶
func NewBridgeProxyTransactor(address common.Address, transactor bind.ContractTransactor) (*BridgeProxyTransactor, error)
NewBridgeProxyTransactor creates a new write-only instance of BridgeProxy, bound to a specific deployed contract.
func (*BridgeProxyTransactor) Fallback ¶
func (_BridgeProxy *BridgeProxyTransactor) Fallback(opts *bind.TransactOpts, calldata []byte) (*types.Transaction, error)
Fallback is a paid mutator transaction binding the contract fallback function.
Solidity: fallback() payable returns()
func (*BridgeProxyTransactor) Init ¶
func (_BridgeProxy *BridgeProxyTransactor) Init(opts *bind.TransactOpts, _logic common.Address) (*types.Transaction, error)
Init is a paid mutator transaction binding the contract method 0x19ab453c.
Solidity: function init(address _logic) returns()
func (*BridgeProxyTransactor) Receive ¶
func (_BridgeProxy *BridgeProxyTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
type BridgeProxyTransactorRaw ¶
type BridgeProxyTransactorRaw struct {
Contract *BridgeProxyTransactor // Generic write-only contract binding to access the raw methods on
}
BridgeProxyTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*BridgeProxyTransactorRaw) Transact ¶
func (_BridgeProxy *BridgeProxyTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BridgeProxyTransactorRaw) Transfer ¶
func (_BridgeProxy *BridgeProxyTransactorRaw) 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 BridgeProxyTransactorSession ¶
type BridgeProxyTransactorSession struct { Contract *BridgeProxyTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
BridgeProxyTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*BridgeProxyTransactorSession) Fallback ¶
func (_BridgeProxy *BridgeProxyTransactorSession) Fallback(calldata []byte) (*types.Transaction, error)
Fallback is a paid mutator transaction binding the contract fallback function.
Solidity: fallback() payable returns()
func (*BridgeProxyTransactorSession) Init ¶
func (_BridgeProxy *BridgeProxyTransactorSession) Init(_logic common.Address) (*types.Transaction, error)
Init is a paid mutator transaction binding the contract method 0x19ab453c.
Solidity: function init(address _logic) returns()
func (*BridgeProxyTransactorSession) Receive ¶
func (_BridgeProxy *BridgeProxyTransactorSession) Receive() (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
type BridgeProxyUpgraded ¶
type BridgeProxyUpgraded struct { Implementation common.Address Raw types.Log // Blockchain specific contextual infos }
BridgeProxyUpgraded represents a Upgraded event raised by the BridgeProxy contract.
type BridgeProxyUpgradedIterator ¶
type BridgeProxyUpgradedIterator struct { Event *BridgeProxyUpgraded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BridgeProxyUpgradedIterator is returned from FilterUpgraded and is used to iterate over the raw logs and unpacked data for Upgraded events raised by the BridgeProxy contract.
func (*BridgeProxyUpgradedIterator) Close ¶
func (it *BridgeProxyUpgradedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BridgeProxyUpgradedIterator) Error ¶
func (it *BridgeProxyUpgradedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BridgeProxyUpgradedIterator) Next ¶
func (it *BridgeProxyUpgradedIterator) 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 Caller ¶
type Caller interface { QueryContract(ctx context.Context, from, contract common.Address, abi abi.ABI, method string, res interface{}, args ...interface{}) error ApplyContract(ctx context.Context, from, contract common.Address, value *big.Int, abi abi.ABI, method string, args ...interface{}) (*evmtypes.MsgEthereumTxResponse, error) ExecuteEVM(ctx sdk.Context, from common.Address, contract *common.Address, value *big.Int, gasLimit uint64, data []byte) (*evmtypes.MsgEthereumTxResponse, error) }
type Contract ¶
func GetAccessControl ¶
func GetAccessControl() Contract
func GetBridgeFeeOracle ¶
func GetBridgeFeeOracle() Contract
func GetBridgeFeeQuote ¶
func GetBridgeFeeQuote() Contract
func GetBridgeProxy ¶
func GetBridgeProxy() Contract
func GetERC1967Proxy ¶
func GetERC1967Proxy() Contract
func GetWPUNDIAI ¶
func GetWPUNDIAI() Contract
type CrosschainArgs
deprecated
type CrosschainArgs struct { Token common.Address `abi:"_token"` Receipt string `abi:"_receipt"` Amount *big.Int `abi:"_amount"` Fee *big.Int `abi:"_fee"` Target [32]byte `abi:"_target"` Memo string `abi:"_memo"` }
Deprecated: After the upgrade to v8
func (*CrosschainArgs) Validate ¶
func (args *CrosschainArgs) Validate() error
type CrosschainPrecompileKeeper ¶
type CrosschainPrecompileKeeper struct { Caller // contains filtered or unexported fields }
func NewCrosschainPrecompileKeeper ¶
func NewCrosschainPrecompileKeeper(caller Caller, contractAddr common.Address) CrosschainPrecompileKeeper
func (CrosschainPrecompileKeeper) BridgeCall ¶
func (k CrosschainPrecompileKeeper) BridgeCall(ctx context.Context, value *big.Int, from common.Address, args BridgeCallArgs) (*evmtypes.MsgEthereumTxResponse, *big.Int, error)
func (CrosschainPrecompileKeeper) BridgeCoinAmount ¶
func (k CrosschainPrecompileKeeper) BridgeCoinAmount(ctx context.Context, args BridgeCoinAmountArgs) (*big.Int, error)
func (CrosschainPrecompileKeeper) Crosschain ¶
func (k CrosschainPrecompileKeeper) Crosschain(ctx context.Context, value *big.Int, from common.Address, args CrosschainArgs) (*evmtypes.MsgEthereumTxResponse, error)
func (CrosschainPrecompileKeeper) ExecuteClaim ¶
func (k CrosschainPrecompileKeeper) ExecuteClaim(ctx context.Context, from common.Address, args ExecuteClaimArgs) (*evmtypes.MsgEthereumTxResponse, error)
func (CrosschainPrecompileKeeper) GetERC20Token ¶
func (k CrosschainPrecompileKeeper) GetERC20Token(ctx context.Context, args GetERC20TokenArgs) (common.Address, bool, error)
func (CrosschainPrecompileKeeper) HasOracle ¶
func (k CrosschainPrecompileKeeper) HasOracle(ctx context.Context, args HasOracleArgs) (bool, error)
func (CrosschainPrecompileKeeper) IsOracleOnline ¶
func (k CrosschainPrecompileKeeper) IsOracleOnline(ctx context.Context, args IsOracleOnlineArgs) (bool, error)
type DelegateV2Args ¶
func (*DelegateV2Args) GetValidator ¶
func (args *DelegateV2Args) GetValidator() sdk.ValAddress
GetValidator returns the validator address, caller must ensure the validator address is valid
func (*DelegateV2Args) Validate ¶
func (args *DelegateV2Args) Validate() error
Validate validates the args
type DelegationArgs ¶
func (*DelegationArgs) GetValidator ¶
func (args *DelegationArgs) GetValidator() sdk.ValAddress
GetValidator returns the validator address, caller must ensure the validator address is valid
func (*DelegationArgs) Validate ¶
func (args *DelegationArgs) Validate() error
Validate validates the args
type DelegationRewardsArgs ¶
type DelegationRewardsArgs struct { Validator string `abi:"_val"` Delegator common.Address `abi:"_del"` }
func (*DelegationRewardsArgs) GetValidator ¶
func (args *DelegationRewardsArgs) GetValidator() sdk.ValAddress
GetValidator returns the validator address, caller must ensure the validator address is valid
func (*DelegationRewardsArgs) Validate ¶
func (args *DelegationRewardsArgs) Validate() error
Validate validates the args
type ERC1967Proxy ¶
type ERC1967Proxy struct { ERC1967ProxyCaller // Read-only binding to the contract ERC1967ProxyTransactor // Write-only binding to the contract ERC1967ProxyFilterer // Log filterer for contract events }
ERC1967Proxy is an auto generated Go binding around an Ethereum contract.
func DeployERC1967Proxy ¶
func DeployERC1967Proxy(auth *bind.TransactOpts, backend bind.ContractBackend, _logic common.Address, _data []byte) (common.Address, *types.Transaction, *ERC1967Proxy, error)
DeployERC1967Proxy deploys a new Ethereum contract, binding an instance of ERC1967Proxy to it.
func NewERC1967Proxy ¶
func NewERC1967Proxy(address common.Address, backend bind.ContractBackend) (*ERC1967Proxy, error)
NewERC1967Proxy creates a new instance of ERC1967Proxy, bound to a specific deployed contract.
type ERC1967ProxyAdminChanged ¶
type ERC1967ProxyAdminChanged struct { PreviousAdmin common.Address NewAdmin common.Address Raw types.Log // Blockchain specific contextual infos }
ERC1967ProxyAdminChanged represents a AdminChanged event raised by the ERC1967Proxy contract.
type ERC1967ProxyAdminChangedIterator ¶
type ERC1967ProxyAdminChangedIterator struct { Event *ERC1967ProxyAdminChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC1967ProxyAdminChangedIterator is returned from FilterAdminChanged and is used to iterate over the raw logs and unpacked data for AdminChanged events raised by the ERC1967Proxy contract.
func (*ERC1967ProxyAdminChangedIterator) Close ¶
func (it *ERC1967ProxyAdminChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC1967ProxyAdminChangedIterator) Error ¶
func (it *ERC1967ProxyAdminChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC1967ProxyAdminChangedIterator) Next ¶
func (it *ERC1967ProxyAdminChangedIterator) 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 ERC1967ProxyBeaconUpgraded ¶
type ERC1967ProxyBeaconUpgraded struct { Beacon common.Address Raw types.Log // Blockchain specific contextual infos }
ERC1967ProxyBeaconUpgraded represents a BeaconUpgraded event raised by the ERC1967Proxy contract.
type ERC1967ProxyBeaconUpgradedIterator ¶
type ERC1967ProxyBeaconUpgradedIterator struct { Event *ERC1967ProxyBeaconUpgraded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC1967ProxyBeaconUpgradedIterator is returned from FilterBeaconUpgraded and is used to iterate over the raw logs and unpacked data for BeaconUpgraded events raised by the ERC1967Proxy contract.
func (*ERC1967ProxyBeaconUpgradedIterator) Close ¶
func (it *ERC1967ProxyBeaconUpgradedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC1967ProxyBeaconUpgradedIterator) Error ¶
func (it *ERC1967ProxyBeaconUpgradedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC1967ProxyBeaconUpgradedIterator) Next ¶
func (it *ERC1967ProxyBeaconUpgradedIterator) 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 ERC1967ProxyCaller ¶
type ERC1967ProxyCaller struct {
// contains filtered or unexported fields
}
ERC1967ProxyCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewERC1967ProxyCaller ¶
func NewERC1967ProxyCaller(address common.Address, caller bind.ContractCaller) (*ERC1967ProxyCaller, error)
NewERC1967ProxyCaller creates a new read-only instance of ERC1967Proxy, bound to a specific deployed contract.
type ERC1967ProxyCallerRaw ¶
type ERC1967ProxyCallerRaw struct {
Contract *ERC1967ProxyCaller // Generic read-only contract binding to access the raw methods on
}
ERC1967ProxyCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ERC1967ProxyCallerRaw) Call ¶
func (_ERC1967Proxy *ERC1967ProxyCallerRaw) 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 ERC1967ProxyCallerSession ¶
type ERC1967ProxyCallerSession struct { Contract *ERC1967ProxyCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ERC1967ProxyCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type ERC1967ProxyFilterer ¶
type ERC1967ProxyFilterer struct {
// contains filtered or unexported fields
}
ERC1967ProxyFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewERC1967ProxyFilterer ¶
func NewERC1967ProxyFilterer(address common.Address, filterer bind.ContractFilterer) (*ERC1967ProxyFilterer, error)
NewERC1967ProxyFilterer creates a new log filterer instance of ERC1967Proxy, bound to a specific deployed contract.
func (*ERC1967ProxyFilterer) FilterAdminChanged ¶
func (_ERC1967Proxy *ERC1967ProxyFilterer) FilterAdminChanged(opts *bind.FilterOpts) (*ERC1967ProxyAdminChangedIterator, error)
FilterAdminChanged is a free log retrieval operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
Solidity: event AdminChanged(address previousAdmin, address newAdmin)
func (*ERC1967ProxyFilterer) FilterBeaconUpgraded ¶
func (_ERC1967Proxy *ERC1967ProxyFilterer) FilterBeaconUpgraded(opts *bind.FilterOpts, beacon []common.Address) (*ERC1967ProxyBeaconUpgradedIterator, error)
FilterBeaconUpgraded is a free log retrieval operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.
Solidity: event BeaconUpgraded(address indexed beacon)
func (*ERC1967ProxyFilterer) FilterUpgraded ¶
func (_ERC1967Proxy *ERC1967ProxyFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*ERC1967ProxyUpgradedIterator, error)
FilterUpgraded is a free log retrieval operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
Solidity: event Upgraded(address indexed implementation)
func (*ERC1967ProxyFilterer) ParseAdminChanged ¶
func (_ERC1967Proxy *ERC1967ProxyFilterer) ParseAdminChanged(log types.Log) (*ERC1967ProxyAdminChanged, error)
ParseAdminChanged is a log parse operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
Solidity: event AdminChanged(address previousAdmin, address newAdmin)
func (*ERC1967ProxyFilterer) ParseBeaconUpgraded ¶
func (_ERC1967Proxy *ERC1967ProxyFilterer) ParseBeaconUpgraded(log types.Log) (*ERC1967ProxyBeaconUpgraded, error)
ParseBeaconUpgraded is a log parse operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.
Solidity: event BeaconUpgraded(address indexed beacon)
func (*ERC1967ProxyFilterer) ParseUpgraded ¶
func (_ERC1967Proxy *ERC1967ProxyFilterer) ParseUpgraded(log types.Log) (*ERC1967ProxyUpgraded, error)
ParseUpgraded is a log parse operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
Solidity: event Upgraded(address indexed implementation)
func (*ERC1967ProxyFilterer) WatchAdminChanged ¶
func (_ERC1967Proxy *ERC1967ProxyFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *ERC1967ProxyAdminChanged) (event.Subscription, error)
WatchAdminChanged is a free log subscription operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
Solidity: event AdminChanged(address previousAdmin, address newAdmin)
func (*ERC1967ProxyFilterer) WatchBeaconUpgraded ¶
func (_ERC1967Proxy *ERC1967ProxyFilterer) WatchBeaconUpgraded(opts *bind.WatchOpts, sink chan<- *ERC1967ProxyBeaconUpgraded, beacon []common.Address) (event.Subscription, error)
WatchBeaconUpgraded is a free log subscription operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.
Solidity: event BeaconUpgraded(address indexed beacon)
func (*ERC1967ProxyFilterer) WatchUpgraded ¶
func (_ERC1967Proxy *ERC1967ProxyFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *ERC1967ProxyUpgraded, implementation []common.Address) (event.Subscription, error)
WatchUpgraded is a free log subscription operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
Solidity: event Upgraded(address indexed implementation)
type ERC1967ProxyRaw ¶
type ERC1967ProxyRaw struct {
Contract *ERC1967Proxy // Generic contract binding to access the raw methods on
}
ERC1967ProxyRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ERC1967ProxyRaw) Call ¶
func (_ERC1967Proxy *ERC1967ProxyRaw) 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 (*ERC1967ProxyRaw) Transact ¶
func (_ERC1967Proxy *ERC1967ProxyRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ERC1967ProxyRaw) Transfer ¶
func (_ERC1967Proxy *ERC1967ProxyRaw) 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 ERC1967ProxySession ¶
type ERC1967ProxySession struct { Contract *ERC1967Proxy // 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 }
ERC1967ProxySession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ERC1967ProxySession) Fallback ¶
func (_ERC1967Proxy *ERC1967ProxySession) Fallback(calldata []byte) (*types.Transaction, error)
Fallback is a paid mutator transaction binding the contract fallback function.
Solidity: fallback() payable returns()
func (*ERC1967ProxySession) Receive ¶
func (_ERC1967Proxy *ERC1967ProxySession) Receive() (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
type ERC1967ProxyTransactor ¶
type ERC1967ProxyTransactor struct {
// contains filtered or unexported fields
}
ERC1967ProxyTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewERC1967ProxyTransactor ¶
func NewERC1967ProxyTransactor(address common.Address, transactor bind.ContractTransactor) (*ERC1967ProxyTransactor, error)
NewERC1967ProxyTransactor creates a new write-only instance of ERC1967Proxy, bound to a specific deployed contract.
func (*ERC1967ProxyTransactor) Fallback ¶
func (_ERC1967Proxy *ERC1967ProxyTransactor) Fallback(opts *bind.TransactOpts, calldata []byte) (*types.Transaction, error)
Fallback is a paid mutator transaction binding the contract fallback function.
Solidity: fallback() payable returns()
func (*ERC1967ProxyTransactor) Receive ¶
func (_ERC1967Proxy *ERC1967ProxyTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
type ERC1967ProxyTransactorRaw ¶
type ERC1967ProxyTransactorRaw struct {
Contract *ERC1967ProxyTransactor // Generic write-only contract binding to access the raw methods on
}
ERC1967ProxyTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ERC1967ProxyTransactorRaw) Transact ¶
func (_ERC1967Proxy *ERC1967ProxyTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ERC1967ProxyTransactorRaw) Transfer ¶
func (_ERC1967Proxy *ERC1967ProxyTransactorRaw) 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 ERC1967ProxyTransactorSession ¶
type ERC1967ProxyTransactorSession struct { Contract *ERC1967ProxyTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ERC1967ProxyTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ERC1967ProxyTransactorSession) Fallback ¶
func (_ERC1967Proxy *ERC1967ProxyTransactorSession) Fallback(calldata []byte) (*types.Transaction, error)
Fallback is a paid mutator transaction binding the contract fallback function.
Solidity: fallback() payable returns()
func (*ERC1967ProxyTransactorSession) Receive ¶
func (_ERC1967Proxy *ERC1967ProxyTransactorSession) Receive() (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
type ERC1967ProxyUpgraded ¶
type ERC1967ProxyUpgraded struct { Implementation common.Address Raw types.Log // Blockchain specific contextual infos }
ERC1967ProxyUpgraded represents a Upgraded event raised by the ERC1967Proxy contract.
type ERC1967ProxyUpgradedIterator ¶
type ERC1967ProxyUpgradedIterator struct { Event *ERC1967ProxyUpgraded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC1967ProxyUpgradedIterator is returned from FilterUpgraded and is used to iterate over the raw logs and unpacked data for Upgraded events raised by the ERC1967Proxy contract.
func (*ERC1967ProxyUpgradedIterator) Close ¶
func (it *ERC1967ProxyUpgradedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC1967ProxyUpgradedIterator) Error ¶
func (it *ERC1967ProxyUpgradedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC1967ProxyUpgradedIterator) Next ¶
func (it *ERC1967ProxyUpgradedIterator) 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 ERC20TokenKeeper ¶
type ERC20TokenKeeper struct { Caller // contains filtered or unexported fields }
func NewERC20TokenKeeper ¶
func NewERC20TokenKeeper(caller Caller) ERC20TokenKeeper
func (ERC20TokenKeeper) Approve ¶
func (k ERC20TokenKeeper) Approve(ctx context.Context, contractAddr, from, spender common.Address, amount *big.Int) (*types.MsgEthereumTxResponse, error)
func (ERC20TokenKeeper) Burn ¶
func (k ERC20TokenKeeper) Burn(ctx context.Context, contractAddr, from common.Address, amount *big.Int) (*types.MsgEthereumTxResponse, error)
func (ERC20TokenKeeper) BurnFrom ¶
func (k ERC20TokenKeeper) BurnFrom(ctx context.Context, contractAddr, from, account common.Address, amount *big.Int) (*types.MsgEthereumTxResponse, error)
func (ERC20TokenKeeper) Deposit ¶
func (k ERC20TokenKeeper) Deposit(ctx context.Context, contractAddr, from common.Address, amount *big.Int) (*types.MsgEthereumTxResponse, error)
func (ERC20TokenKeeper) Mint ¶
func (k ERC20TokenKeeper) Mint(ctx context.Context, contractAddr, from, receiver common.Address, amount *big.Int) (*types.MsgEthereumTxResponse, error)
func (ERC20TokenKeeper) TotalSupply ¶
func (ERC20TokenKeeper) Transfer ¶
func (k ERC20TokenKeeper) Transfer(ctx context.Context, contractAddr, from, receiver common.Address, amount *big.Int) (*types.MsgEthereumTxResponse, error)
func (ERC20TokenKeeper) TransferFrom ¶
func (k ERC20TokenKeeper) TransferFrom(ctx context.Context, contractAddr, from, sender, receiver common.Address, amount *big.Int) (*types.MsgEthereumTxResponse, error)
func (ERC20TokenKeeper) TransferOwnership ¶
func (k ERC20TokenKeeper) TransferOwnership(ctx context.Context, contractAddr, owner, newOwner common.Address) (*types.MsgEthereumTxResponse, error)
func (ERC20TokenKeeper) Withdraw ¶
func (k ERC20TokenKeeper) Withdraw(ctx context.Context, contractAddr, from, receiver common.Address, amount *big.Int) (*types.MsgEthereumTxResponse, error)
func (ERC20TokenKeeper) WithdrawToSelf ¶
func (k ERC20TokenKeeper) WithdrawToSelf(ctx context.Context, contractAddr, from common.Address, amount *big.Int) (*types.MsgEthereumTxResponse, error)
type ERC20Upgradable ¶
type ERC20Upgradable struct { ERC20UpgradableCaller // Read-only binding to the contract ERC20UpgradableTransactor // Write-only binding to the contract ERC20UpgradableFilterer // Log filterer for contract events }
ERC20Upgradable is an auto generated Go binding around an Ethereum contract.
func DeployERC20Upgradable ¶
func DeployERC20Upgradable(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *ERC20Upgradable, error)
DeployERC20Upgradable deploys a new Ethereum contract, binding an instance of ERC20Upgradable to it.
func NewERC20Upgradable ¶
func NewERC20Upgradable(address common.Address, backend bind.ContractBackend) (*ERC20Upgradable, error)
NewERC20Upgradable creates a new instance of ERC20Upgradable, bound to a specific deployed contract.
type ERC20UpgradableAdminChanged ¶
type ERC20UpgradableAdminChanged struct { PreviousAdmin common.Address NewAdmin common.Address Raw types.Log // Blockchain specific contextual infos }
ERC20UpgradableAdminChanged represents a AdminChanged event raised by the ERC20Upgradable contract.
type ERC20UpgradableAdminChangedIterator ¶
type ERC20UpgradableAdminChangedIterator struct { Event *ERC20UpgradableAdminChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC20UpgradableAdminChangedIterator is returned from FilterAdminChanged and is used to iterate over the raw logs and unpacked data for AdminChanged events raised by the ERC20Upgradable contract.
func (*ERC20UpgradableAdminChangedIterator) Close ¶
func (it *ERC20UpgradableAdminChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC20UpgradableAdminChangedIterator) Error ¶
func (it *ERC20UpgradableAdminChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC20UpgradableAdminChangedIterator) Next ¶
func (it *ERC20UpgradableAdminChangedIterator) 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 ERC20UpgradableApproval ¶
type ERC20UpgradableApproval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
ERC20UpgradableApproval represents a Approval event raised by the ERC20Upgradable contract.
type ERC20UpgradableApprovalIterator ¶
type ERC20UpgradableApprovalIterator struct { Event *ERC20UpgradableApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC20UpgradableApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the ERC20Upgradable contract.
func (*ERC20UpgradableApprovalIterator) Close ¶
func (it *ERC20UpgradableApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC20UpgradableApprovalIterator) Error ¶
func (it *ERC20UpgradableApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC20UpgradableApprovalIterator) Next ¶
func (it *ERC20UpgradableApprovalIterator) 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 ERC20UpgradableBeaconUpgraded ¶
type ERC20UpgradableBeaconUpgraded struct { Beacon common.Address Raw types.Log // Blockchain specific contextual infos }
ERC20UpgradableBeaconUpgraded represents a BeaconUpgraded event raised by the ERC20Upgradable contract.
type ERC20UpgradableBeaconUpgradedIterator ¶
type ERC20UpgradableBeaconUpgradedIterator struct { Event *ERC20UpgradableBeaconUpgraded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC20UpgradableBeaconUpgradedIterator is returned from FilterBeaconUpgraded and is used to iterate over the raw logs and unpacked data for BeaconUpgraded events raised by the ERC20Upgradable contract.
func (*ERC20UpgradableBeaconUpgradedIterator) Close ¶
func (it *ERC20UpgradableBeaconUpgradedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC20UpgradableBeaconUpgradedIterator) Error ¶
func (it *ERC20UpgradableBeaconUpgradedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC20UpgradableBeaconUpgradedIterator) Next ¶
func (it *ERC20UpgradableBeaconUpgradedIterator) 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 ERC20UpgradableCaller ¶
type ERC20UpgradableCaller struct {
// contains filtered or unexported fields
}
ERC20UpgradableCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewERC20UpgradableCaller ¶
func NewERC20UpgradableCaller(address common.Address, caller bind.ContractCaller) (*ERC20UpgradableCaller, error)
NewERC20UpgradableCaller creates a new read-only instance of ERC20Upgradable, bound to a specific deployed contract.
func (*ERC20UpgradableCaller) Allowance ¶
func (_ERC20Upgradable *ERC20UpgradableCaller) 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 (*ERC20UpgradableCaller) BalanceOf ¶
func (_ERC20Upgradable *ERC20UpgradableCaller) 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 (*ERC20UpgradableCaller) Decimals ¶
func (_ERC20Upgradable *ERC20UpgradableCaller) Decimals(opts *bind.CallOpts) (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*ERC20UpgradableCaller) Name ¶
func (_ERC20Upgradable *ERC20UpgradableCaller) Name(opts *bind.CallOpts) (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*ERC20UpgradableCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*ERC20UpgradableCaller) ProxiableUUID ¶
func (_ERC20Upgradable *ERC20UpgradableCaller) ProxiableUUID(opts *bind.CallOpts) ([32]byte, error)
ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.
Solidity: function proxiableUUID() view returns(bytes32)
func (*ERC20UpgradableCaller) Symbol ¶
func (_ERC20Upgradable *ERC20UpgradableCaller) Symbol(opts *bind.CallOpts) (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*ERC20UpgradableCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type ERC20UpgradableCallerRaw ¶
type ERC20UpgradableCallerRaw struct {
Contract *ERC20UpgradableCaller // Generic read-only contract binding to access the raw methods on
}
ERC20UpgradableCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ERC20UpgradableCallerRaw) Call ¶
func (_ERC20Upgradable *ERC20UpgradableCallerRaw) 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 ERC20UpgradableCallerSession ¶
type ERC20UpgradableCallerSession struct { Contract *ERC20UpgradableCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ERC20UpgradableCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ERC20UpgradableCallerSession) Allowance ¶
func (_ERC20Upgradable *ERC20UpgradableCallerSession) 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 (*ERC20UpgradableCallerSession) BalanceOf ¶
func (_ERC20Upgradable *ERC20UpgradableCallerSession) BalanceOf(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 (*ERC20UpgradableCallerSession) Decimals ¶
func (_ERC20Upgradable *ERC20UpgradableCallerSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*ERC20UpgradableCallerSession) Name ¶
func (_ERC20Upgradable *ERC20UpgradableCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*ERC20UpgradableCallerSession) Owner ¶
func (_ERC20Upgradable *ERC20UpgradableCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*ERC20UpgradableCallerSession) ProxiableUUID ¶
func (_ERC20Upgradable *ERC20UpgradableCallerSession) ProxiableUUID() ([32]byte, error)
ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.
Solidity: function proxiableUUID() view returns(bytes32)
func (*ERC20UpgradableCallerSession) Symbol ¶
func (_ERC20Upgradable *ERC20UpgradableCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*ERC20UpgradableCallerSession) TotalSupply ¶
func (_ERC20Upgradable *ERC20UpgradableCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type ERC20UpgradableFilterer ¶
type ERC20UpgradableFilterer struct {
// contains filtered or unexported fields
}
ERC20UpgradableFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewERC20UpgradableFilterer ¶
func NewERC20UpgradableFilterer(address common.Address, filterer bind.ContractFilterer) (*ERC20UpgradableFilterer, error)
NewERC20UpgradableFilterer creates a new log filterer instance of ERC20Upgradable, bound to a specific deployed contract.
func (*ERC20UpgradableFilterer) FilterAdminChanged ¶
func (_ERC20Upgradable *ERC20UpgradableFilterer) FilterAdminChanged(opts *bind.FilterOpts) (*ERC20UpgradableAdminChangedIterator, error)
FilterAdminChanged is a free log retrieval operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
Solidity: event AdminChanged(address previousAdmin, address newAdmin)
func (*ERC20UpgradableFilterer) FilterApproval ¶
func (_ERC20Upgradable *ERC20UpgradableFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*ERC20UpgradableApprovalIterator, 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 (*ERC20UpgradableFilterer) FilterBeaconUpgraded ¶
func (_ERC20Upgradable *ERC20UpgradableFilterer) FilterBeaconUpgraded(opts *bind.FilterOpts, beacon []common.Address) (*ERC20UpgradableBeaconUpgradedIterator, error)
FilterBeaconUpgraded is a free log retrieval operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.
Solidity: event BeaconUpgraded(address indexed beacon)
func (*ERC20UpgradableFilterer) FilterInitialized ¶
func (_ERC20Upgradable *ERC20UpgradableFilterer) FilterInitialized(opts *bind.FilterOpts) (*ERC20UpgradableInitializedIterator, error)
FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*ERC20UpgradableFilterer) FilterOwnershipTransferred ¶
func (_ERC20Upgradable *ERC20UpgradableFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*ERC20UpgradableOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*ERC20UpgradableFilterer) FilterTransfer ¶
func (_ERC20Upgradable *ERC20UpgradableFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ERC20UpgradableTransferIterator, 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 (*ERC20UpgradableFilterer) FilterUpgraded ¶
func (_ERC20Upgradable *ERC20UpgradableFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*ERC20UpgradableUpgradedIterator, error)
FilterUpgraded is a free log retrieval operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
Solidity: event Upgraded(address indexed implementation)
func (*ERC20UpgradableFilterer) ParseAdminChanged ¶
func (_ERC20Upgradable *ERC20UpgradableFilterer) ParseAdminChanged(log types.Log) (*ERC20UpgradableAdminChanged, error)
ParseAdminChanged is a log parse operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
Solidity: event AdminChanged(address previousAdmin, address newAdmin)
func (*ERC20UpgradableFilterer) ParseApproval ¶
func (_ERC20Upgradable *ERC20UpgradableFilterer) ParseApproval(log types.Log) (*ERC20UpgradableApproval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*ERC20UpgradableFilterer) ParseBeaconUpgraded ¶
func (_ERC20Upgradable *ERC20UpgradableFilterer) ParseBeaconUpgraded(log types.Log) (*ERC20UpgradableBeaconUpgraded, error)
ParseBeaconUpgraded is a log parse operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.
Solidity: event BeaconUpgraded(address indexed beacon)
func (*ERC20UpgradableFilterer) ParseInitialized ¶
func (_ERC20Upgradable *ERC20UpgradableFilterer) ParseInitialized(log types.Log) (*ERC20UpgradableInitialized, error)
ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*ERC20UpgradableFilterer) ParseOwnershipTransferred ¶
func (_ERC20Upgradable *ERC20UpgradableFilterer) ParseOwnershipTransferred(log types.Log) (*ERC20UpgradableOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*ERC20UpgradableFilterer) ParseTransfer ¶
func (_ERC20Upgradable *ERC20UpgradableFilterer) ParseTransfer(log types.Log) (*ERC20UpgradableTransfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*ERC20UpgradableFilterer) ParseUpgraded ¶
func (_ERC20Upgradable *ERC20UpgradableFilterer) ParseUpgraded(log types.Log) (*ERC20UpgradableUpgraded, error)
ParseUpgraded is a log parse operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
Solidity: event Upgraded(address indexed implementation)
func (*ERC20UpgradableFilterer) WatchAdminChanged ¶
func (_ERC20Upgradable *ERC20UpgradableFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *ERC20UpgradableAdminChanged) (event.Subscription, error)
WatchAdminChanged is a free log subscription operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
Solidity: event AdminChanged(address previousAdmin, address newAdmin)
func (*ERC20UpgradableFilterer) WatchApproval ¶
func (_ERC20Upgradable *ERC20UpgradableFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC20UpgradableApproval, 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 (*ERC20UpgradableFilterer) WatchBeaconUpgraded ¶
func (_ERC20Upgradable *ERC20UpgradableFilterer) WatchBeaconUpgraded(opts *bind.WatchOpts, sink chan<- *ERC20UpgradableBeaconUpgraded, beacon []common.Address) (event.Subscription, error)
WatchBeaconUpgraded is a free log subscription operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.
Solidity: event BeaconUpgraded(address indexed beacon)
func (*ERC20UpgradableFilterer) WatchInitialized ¶
func (_ERC20Upgradable *ERC20UpgradableFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *ERC20UpgradableInitialized) (event.Subscription, error)
WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*ERC20UpgradableFilterer) WatchOwnershipTransferred ¶
func (_ERC20Upgradable *ERC20UpgradableFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ERC20UpgradableOwnershipTransferred, 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)
func (*ERC20UpgradableFilterer) WatchTransfer ¶
func (_ERC20Upgradable *ERC20UpgradableFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC20UpgradableTransfer, 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)
func (*ERC20UpgradableFilterer) WatchUpgraded ¶
func (_ERC20Upgradable *ERC20UpgradableFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *ERC20UpgradableUpgraded, implementation []common.Address) (event.Subscription, error)
WatchUpgraded is a free log subscription operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
Solidity: event Upgraded(address indexed implementation)
type ERC20UpgradableInitialized ¶
type ERC20UpgradableInitialized struct { Version uint8 Raw types.Log // Blockchain specific contextual infos }
ERC20UpgradableInitialized represents a Initialized event raised by the ERC20Upgradable contract.
type ERC20UpgradableInitializedIterator ¶
type ERC20UpgradableInitializedIterator struct { Event *ERC20UpgradableInitialized // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC20UpgradableInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the ERC20Upgradable contract.
func (*ERC20UpgradableInitializedIterator) Close ¶
func (it *ERC20UpgradableInitializedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC20UpgradableInitializedIterator) Error ¶
func (it *ERC20UpgradableInitializedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC20UpgradableInitializedIterator) Next ¶
func (it *ERC20UpgradableInitializedIterator) 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 ERC20UpgradableOwnershipTransferred ¶
type ERC20UpgradableOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
ERC20UpgradableOwnershipTransferred represents a OwnershipTransferred event raised by the ERC20Upgradable contract.
type ERC20UpgradableOwnershipTransferredIterator ¶
type ERC20UpgradableOwnershipTransferredIterator struct { Event *ERC20UpgradableOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC20UpgradableOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the ERC20Upgradable contract.
func (*ERC20UpgradableOwnershipTransferredIterator) Close ¶
func (it *ERC20UpgradableOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC20UpgradableOwnershipTransferredIterator) Error ¶
func (it *ERC20UpgradableOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC20UpgradableOwnershipTransferredIterator) Next ¶
func (it *ERC20UpgradableOwnershipTransferredIterator) 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 ERC20UpgradableRaw ¶
type ERC20UpgradableRaw struct {
Contract *ERC20Upgradable // Generic contract binding to access the raw methods on
}
ERC20UpgradableRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ERC20UpgradableRaw) Call ¶
func (_ERC20Upgradable *ERC20UpgradableRaw) 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 (*ERC20UpgradableRaw) Transact ¶
func (_ERC20Upgradable *ERC20UpgradableRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ERC20UpgradableRaw) Transfer ¶
func (_ERC20Upgradable *ERC20UpgradableRaw) 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 ERC20UpgradableSession ¶
type ERC20UpgradableSession struct { Contract *ERC20Upgradable // 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 }
ERC20UpgradableSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ERC20UpgradableSession) Allowance ¶
func (_ERC20Upgradable *ERC20UpgradableSession) 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 (*ERC20UpgradableSession) Approve ¶
func (_ERC20Upgradable *ERC20UpgradableSession) 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 (*ERC20UpgradableSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*ERC20UpgradableSession) Burn ¶
func (_ERC20Upgradable *ERC20UpgradableSession) Burn(amount *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x42966c68.
Solidity: function burn(uint256 amount) returns()
func (*ERC20UpgradableSession) Burn0 ¶
func (_ERC20Upgradable *ERC20UpgradableSession) Burn0(account common.Address, amount *big.Int) (*types.Transaction, error)
Burn0 is a paid mutator transaction binding the contract method 0x9dc29fac.
Solidity: function burn(address account, uint256 amount) returns()
func (*ERC20UpgradableSession) BurnFrom ¶
func (_ERC20Upgradable *ERC20UpgradableSession) BurnFrom(account common.Address, amount *big.Int) (*types.Transaction, error)
BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.
Solidity: function burnFrom(address account, uint256 amount) returns()
func (*ERC20UpgradableSession) Decimals ¶
func (_ERC20Upgradable *ERC20UpgradableSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*ERC20UpgradableSession) Initialize ¶
func (_ERC20Upgradable *ERC20UpgradableSession) Initialize(name_ string, symbol_ string, decimals_ uint8, module_ common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xde7ea79d.
Solidity: function initialize(string name_, string symbol_, uint8 decimals_, address module_) returns()
func (*ERC20UpgradableSession) Mint ¶
func (_ERC20Upgradable *ERC20UpgradableSession) Mint(account common.Address, amount *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address account, uint256 amount) returns()
func (*ERC20UpgradableSession) Name ¶
func (_ERC20Upgradable *ERC20UpgradableSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*ERC20UpgradableSession) Owner ¶
func (_ERC20Upgradable *ERC20UpgradableSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*ERC20UpgradableSession) ProxiableUUID ¶
func (_ERC20Upgradable *ERC20UpgradableSession) ProxiableUUID() ([32]byte, error)
ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.
Solidity: function proxiableUUID() view returns(bytes32)
func (*ERC20UpgradableSession) RenounceOwnership ¶
func (_ERC20Upgradable *ERC20UpgradableSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*ERC20UpgradableSession) Symbol ¶
func (_ERC20Upgradable *ERC20UpgradableSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*ERC20UpgradableSession) TotalSupply ¶
func (_ERC20Upgradable *ERC20UpgradableSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*ERC20UpgradableSession) Transfer ¶
func (_ERC20Upgradable *ERC20UpgradableSession) 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 (*ERC20UpgradableSession) TransferFrom ¶
func (_ERC20Upgradable *ERC20UpgradableSession) 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)
func (*ERC20UpgradableSession) TransferOwnership ¶
func (_ERC20Upgradable *ERC20UpgradableSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*ERC20UpgradableSession) UpgradeTo ¶
func (_ERC20Upgradable *ERC20UpgradableSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)
UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.
Solidity: function upgradeTo(address newImplementation) returns()
func (*ERC20UpgradableSession) UpgradeToAndCall ¶
func (_ERC20Upgradable *ERC20UpgradableSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)
UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.
Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()
type ERC20UpgradableTransactor ¶
type ERC20UpgradableTransactor struct {
// contains filtered or unexported fields
}
ERC20UpgradableTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewERC20UpgradableTransactor ¶
func NewERC20UpgradableTransactor(address common.Address, transactor bind.ContractTransactor) (*ERC20UpgradableTransactor, error)
NewERC20UpgradableTransactor creates a new write-only instance of ERC20Upgradable, bound to a specific deployed contract.
func (*ERC20UpgradableTransactor) Approve ¶
func (_ERC20Upgradable *ERC20UpgradableTransactor) 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 (*ERC20UpgradableTransactor) Burn ¶
func (_ERC20Upgradable *ERC20UpgradableTransactor) Burn(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x42966c68.
Solidity: function burn(uint256 amount) returns()
func (*ERC20UpgradableTransactor) Burn0 ¶
func (_ERC20Upgradable *ERC20UpgradableTransactor) Burn0(opts *bind.TransactOpts, account common.Address, amount *big.Int) (*types.Transaction, error)
Burn0 is a paid mutator transaction binding the contract method 0x9dc29fac.
Solidity: function burn(address account, uint256 amount) returns()
func (*ERC20UpgradableTransactor) BurnFrom ¶
func (_ERC20Upgradable *ERC20UpgradableTransactor) BurnFrom(opts *bind.TransactOpts, account common.Address, amount *big.Int) (*types.Transaction, error)
BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.
Solidity: function burnFrom(address account, uint256 amount) returns()
func (*ERC20UpgradableTransactor) Initialize ¶
func (_ERC20Upgradable *ERC20UpgradableTransactor) Initialize(opts *bind.TransactOpts, name_ string, symbol_ string, decimals_ uint8, module_ common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xde7ea79d.
Solidity: function initialize(string name_, string symbol_, uint8 decimals_, address module_) returns()
func (*ERC20UpgradableTransactor) Mint ¶
func (_ERC20Upgradable *ERC20UpgradableTransactor) Mint(opts *bind.TransactOpts, account common.Address, amount *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address account, uint256 amount) returns()
func (*ERC20UpgradableTransactor) RenounceOwnership ¶
func (_ERC20Upgradable *ERC20UpgradableTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*ERC20UpgradableTransactor) Transfer ¶
func (_ERC20Upgradable *ERC20UpgradableTransactor) 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 (*ERC20UpgradableTransactor) TransferFrom ¶
func (_ERC20Upgradable *ERC20UpgradableTransactor) 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)
func (*ERC20UpgradableTransactor) TransferOwnership ¶
func (_ERC20Upgradable *ERC20UpgradableTransactor) 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()
func (*ERC20UpgradableTransactor) UpgradeTo ¶
func (_ERC20Upgradable *ERC20UpgradableTransactor) UpgradeTo(opts *bind.TransactOpts, newImplementation common.Address) (*types.Transaction, error)
UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.
Solidity: function upgradeTo(address newImplementation) returns()
func (*ERC20UpgradableTransactor) UpgradeToAndCall ¶
func (_ERC20Upgradable *ERC20UpgradableTransactor) UpgradeToAndCall(opts *bind.TransactOpts, newImplementation common.Address, data []byte) (*types.Transaction, error)
UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.
Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()
type ERC20UpgradableTransactorRaw ¶
type ERC20UpgradableTransactorRaw struct {
Contract *ERC20UpgradableTransactor // Generic write-only contract binding to access the raw methods on
}
ERC20UpgradableTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ERC20UpgradableTransactorRaw) Transact ¶
func (_ERC20Upgradable *ERC20UpgradableTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ERC20UpgradableTransactorRaw) Transfer ¶
func (_ERC20Upgradable *ERC20UpgradableTransactorRaw) 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 ERC20UpgradableTransactorSession ¶
type ERC20UpgradableTransactorSession struct { Contract *ERC20UpgradableTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ERC20UpgradableTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ERC20UpgradableTransactorSession) Approve ¶
func (_ERC20Upgradable *ERC20UpgradableTransactorSession) 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 (*ERC20UpgradableTransactorSession) Burn ¶
func (_ERC20Upgradable *ERC20UpgradableTransactorSession) Burn(amount *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x42966c68.
Solidity: function burn(uint256 amount) returns()
func (*ERC20UpgradableTransactorSession) Burn0 ¶
func (_ERC20Upgradable *ERC20UpgradableTransactorSession) Burn0(account common.Address, amount *big.Int) (*types.Transaction, error)
Burn0 is a paid mutator transaction binding the contract method 0x9dc29fac.
Solidity: function burn(address account, uint256 amount) returns()
func (*ERC20UpgradableTransactorSession) BurnFrom ¶
func (_ERC20Upgradable *ERC20UpgradableTransactorSession) BurnFrom(account common.Address, amount *big.Int) (*types.Transaction, error)
BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.
Solidity: function burnFrom(address account, uint256 amount) returns()
func (*ERC20UpgradableTransactorSession) Initialize ¶
func (_ERC20Upgradable *ERC20UpgradableTransactorSession) Initialize(name_ string, symbol_ string, decimals_ uint8, module_ common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xde7ea79d.
Solidity: function initialize(string name_, string symbol_, uint8 decimals_, address module_) returns()
func (*ERC20UpgradableTransactorSession) Mint ¶
func (_ERC20Upgradable *ERC20UpgradableTransactorSession) Mint(account common.Address, amount *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address account, uint256 amount) returns()
func (*ERC20UpgradableTransactorSession) RenounceOwnership ¶
func (_ERC20Upgradable *ERC20UpgradableTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*ERC20UpgradableTransactorSession) Transfer ¶
func (_ERC20Upgradable *ERC20UpgradableTransactorSession) 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 (*ERC20UpgradableTransactorSession) TransferFrom ¶
func (_ERC20Upgradable *ERC20UpgradableTransactorSession) 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)
func (*ERC20UpgradableTransactorSession) TransferOwnership ¶
func (_ERC20Upgradable *ERC20UpgradableTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*ERC20UpgradableTransactorSession) UpgradeTo ¶
func (_ERC20Upgradable *ERC20UpgradableTransactorSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)
UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.
Solidity: function upgradeTo(address newImplementation) returns()
func (*ERC20UpgradableTransactorSession) UpgradeToAndCall ¶
func (_ERC20Upgradable *ERC20UpgradableTransactorSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)
UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.
Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()
type ERC20UpgradableTransfer ¶
type ERC20UpgradableTransfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
ERC20UpgradableTransfer represents a Transfer event raised by the ERC20Upgradable contract.
type ERC20UpgradableTransferIterator ¶
type ERC20UpgradableTransferIterator struct { Event *ERC20UpgradableTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC20UpgradableTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the ERC20Upgradable contract.
func (*ERC20UpgradableTransferIterator) Close ¶
func (it *ERC20UpgradableTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC20UpgradableTransferIterator) Error ¶
func (it *ERC20UpgradableTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC20UpgradableTransferIterator) Next ¶
func (it *ERC20UpgradableTransferIterator) 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 ERC20UpgradableUpgraded ¶
type ERC20UpgradableUpgraded struct { Implementation common.Address Raw types.Log // Blockchain specific contextual infos }
ERC20UpgradableUpgraded represents a Upgraded event raised by the ERC20Upgradable contract.
type ERC20UpgradableUpgradedIterator ¶
type ERC20UpgradableUpgradedIterator struct { Event *ERC20UpgradableUpgraded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC20UpgradableUpgradedIterator is returned from FilterUpgraded and is used to iterate over the raw logs and unpacked data for Upgraded events raised by the ERC20Upgradable contract.
func (*ERC20UpgradableUpgradedIterator) Close ¶
func (it *ERC20UpgradableUpgradedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC20UpgradableUpgradedIterator) Error ¶
func (it *ERC20UpgradableUpgradedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC20UpgradableUpgradedIterator) Next ¶
func (it *ERC20UpgradableUpgradedIterator) 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 EvmKeeper ¶
type EvmKeeper interface { DeployContract(ctx sdk.Context, from common.Address, abi abi.ABI, bin []byte, args ...interface{}) (common.Address, error) CreateContractWithCode(ctx sdk.Context, address common.Address, code []byte) error ApplyContract(ctx context.Context, from, contract common.Address, value *big.Int, abi abi.ABI, method string, constructorData ...interface{}) (*evmtypes.MsgEthereumTxResponse, error) QueryContract(ctx context.Context, from, contract common.Address, abi abi.ABI, method string, res interface{}, args ...interface{}) error ExecuteEVM(ctx sdk.Context, from common.Address, contract *common.Address, value *big.Int, gasLimit uint64, data []byte) (*evmtypes.MsgEthereumTxResponse, error) }
type ExecuteClaimArgs ¶
type ExecuteClaimArgs struct { Chain string `abi:"_chain"` EventNonce *big.Int `abi:"_eventNonce"` }
func (*ExecuteClaimArgs) Validate ¶
func (args *ExecuteClaimArgs) Validate() error
type FxBridgeBaseBridgeCallData ¶
type FxBridgeBaseBridgeCallData struct { Sender common.Address Refund common.Address Tokens []common.Address Amounts []*big.Int To common.Address Data []byte Memo []byte Timeout *big.Int GasLimit *big.Int EventNonce *big.Int }
FxBridgeBaseBridgeCallData is an auto generated low-level Go binding around an user-defined struct.
type FxBridgeBaseBridgeToken ¶
type FxBridgeBaseBridgeToken struct { Addr common.Address Name string Symbol string Decimals uint8 }
FxBridgeBaseBridgeToken is an auto generated low-level Go binding around an user-defined struct.
type FxBridgeBaseOracleSignatures ¶
type FxBridgeBaseOracleSignatures struct { Oracles []common.Address Powers []*big.Int R [][32]byte S [][32]byte V []uint8 }
FxBridgeBaseOracleSignatures is an auto generated low-level Go binding around an user-defined struct.
type FxBridgeBaseTokenStatus ¶
FxBridgeBaseTokenStatus is an auto generated low-level Go binding around an user-defined struct.
type GetERC20TokenArgs ¶
func (*GetERC20TokenArgs) Validate ¶
func (args *GetERC20TokenArgs) Validate() error
type HasOracleArgs ¶
type HasOracleArgs struct { Chain common.Hash `abi:"_chain"` ExternalAddress common.Address `abi:"_externalAddress"` }
func (*HasOracleArgs) Validate ¶
func (args *HasOracleArgs) Validate() error
type IBank ¶
type IBank struct { IBankCaller // Read-only binding to the contract IBankTransactor // Write-only binding to the contract IBankFilterer // Log filterer for contract events }
IBank is an auto generated Go binding around an Ethereum contract.
type IBankCaller ¶
type IBankCaller struct {
// contains filtered or unexported fields
}
IBankCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewIBankCaller ¶
func NewIBankCaller(address common.Address, caller bind.ContractCaller) (*IBankCaller, error)
NewIBankCaller creates a new read-only instance of IBank, bound to a specific deployed contract.
type IBankCallerRaw ¶
type IBankCallerRaw struct {
Contract *IBankCaller // Generic read-only contract binding to access the raw methods on
}
IBankCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*IBankCallerRaw) Call ¶
func (_IBank *IBankCallerRaw) 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 IBankCallerSession ¶
type IBankCallerSession struct { Contract *IBankCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
IBankCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type IBankFilterer ¶
type IBankFilterer struct {
// contains filtered or unexported fields
}
IBankFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewIBankFilterer ¶
func NewIBankFilterer(address common.Address, filterer bind.ContractFilterer) (*IBankFilterer, error)
NewIBankFilterer creates a new log filterer instance of IBank, bound to a specific deployed contract.
type IBankRaw ¶
type IBankRaw struct {
Contract *IBank // Generic contract binding to access the raw methods on
}
IBankRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*IBankRaw) Call ¶
func (_IBank *IBankRaw) 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 (*IBankRaw) Transact ¶
func (_IBank *IBankRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IBankRaw) Transfer ¶
func (_IBank *IBankRaw) 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 IBankSession ¶
type IBankSession struct { Contract *IBank // 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 }
IBankSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*IBankSession) TransferFromAccountToModule ¶
func (_IBank *IBankSession) TransferFromAccountToModule(_account common.Address, _module string, _token common.Address, _amount *big.Int) (*types.Transaction, error)
TransferFromAccountToModule is a paid mutator transaction binding the contract method 0xa25389ab.
Solidity: function transferFromAccountToModule(address _account, string _module, address _token, uint256 _amount) returns(bool _result)
func (*IBankSession) TransferFromModuleToAccount ¶
func (_IBank *IBankSession) TransferFromModuleToAccount(_module string, _account common.Address, _token common.Address, _amount *big.Int) (*types.Transaction, error)
TransferFromModuleToAccount is a paid mutator transaction binding the contract method 0x2fe263d0.
Solidity: function transferFromModuleToAccount(string _module, address _account, address _token, uint256 _amount) returns(bool _result)
type IBankTransactor ¶
type IBankTransactor struct {
// contains filtered or unexported fields
}
IBankTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewIBankTransactor ¶
func NewIBankTransactor(address common.Address, transactor bind.ContractTransactor) (*IBankTransactor, error)
NewIBankTransactor creates a new write-only instance of IBank, bound to a specific deployed contract.
func (*IBankTransactor) TransferFromAccountToModule ¶
func (_IBank *IBankTransactor) TransferFromAccountToModule(opts *bind.TransactOpts, _account common.Address, _module string, _token common.Address, _amount *big.Int) (*types.Transaction, error)
TransferFromAccountToModule is a paid mutator transaction binding the contract method 0xa25389ab.
Solidity: function transferFromAccountToModule(address _account, string _module, address _token, uint256 _amount) returns(bool _result)
func (*IBankTransactor) TransferFromModuleToAccount ¶
func (_IBank *IBankTransactor) TransferFromModuleToAccount(opts *bind.TransactOpts, _module string, _account common.Address, _token common.Address, _amount *big.Int) (*types.Transaction, error)
TransferFromModuleToAccount is a paid mutator transaction binding the contract method 0x2fe263d0.
Solidity: function transferFromModuleToAccount(string _module, address _account, address _token, uint256 _amount) returns(bool _result)
type IBankTransactorRaw ¶
type IBankTransactorRaw struct {
Contract *IBankTransactor // Generic write-only contract binding to access the raw methods on
}
IBankTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*IBankTransactorRaw) Transact ¶
func (_IBank *IBankTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IBankTransactorRaw) Transfer ¶
func (_IBank *IBankTransactorRaw) 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 IBankTransactorSession ¶
type IBankTransactorSession struct { Contract *IBankTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
IBankTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*IBankTransactorSession) TransferFromAccountToModule ¶
func (_IBank *IBankTransactorSession) TransferFromAccountToModule(_account common.Address, _module string, _token common.Address, _amount *big.Int) (*types.Transaction, error)
TransferFromAccountToModule is a paid mutator transaction binding the contract method 0xa25389ab.
Solidity: function transferFromAccountToModule(address _account, string _module, address _token, uint256 _amount) returns(bool _result)
func (*IBankTransactorSession) TransferFromModuleToAccount ¶
func (_IBank *IBankTransactorSession) TransferFromModuleToAccount(_module string, _account common.Address, _token common.Address, _amount *big.Int) (*types.Transaction, error)
TransferFromModuleToAccount is a paid mutator transaction binding the contract method 0x2fe263d0.
Solidity: function transferFromModuleToAccount(string _module, address _account, address _token, uint256 _amount) returns(bool _result)
type IBridgeCallContext ¶
type IBridgeCallContext struct { IBridgeCallContextCaller // Read-only binding to the contract IBridgeCallContextTransactor // Write-only binding to the contract IBridgeCallContextFilterer // Log filterer for contract events }
IBridgeCallContext is an auto generated Go binding around an Ethereum contract.
func NewIBridgeCallContext ¶
func NewIBridgeCallContext(address common.Address, backend bind.ContractBackend) (*IBridgeCallContext, error)
NewIBridgeCallContext creates a new instance of IBridgeCallContext, bound to a specific deployed contract.
type IBridgeCallContextCaller ¶
type IBridgeCallContextCaller struct {
// contains filtered or unexported fields
}
IBridgeCallContextCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewIBridgeCallContextCaller ¶
func NewIBridgeCallContextCaller(address common.Address, caller bind.ContractCaller) (*IBridgeCallContextCaller, error)
NewIBridgeCallContextCaller creates a new read-only instance of IBridgeCallContext, bound to a specific deployed contract.
type IBridgeCallContextCallerRaw ¶
type IBridgeCallContextCallerRaw struct {
Contract *IBridgeCallContextCaller // Generic read-only contract binding to access the raw methods on
}
IBridgeCallContextCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*IBridgeCallContextCallerRaw) Call ¶
func (_IBridgeCallContext *IBridgeCallContextCallerRaw) 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 IBridgeCallContextCallerSession ¶
type IBridgeCallContextCallerSession struct { Contract *IBridgeCallContextCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
IBridgeCallContextCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type IBridgeCallContextFilterer ¶
type IBridgeCallContextFilterer struct {
// contains filtered or unexported fields
}
IBridgeCallContextFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewIBridgeCallContextFilterer ¶
func NewIBridgeCallContextFilterer(address common.Address, filterer bind.ContractFilterer) (*IBridgeCallContextFilterer, error)
NewIBridgeCallContextFilterer creates a new log filterer instance of IBridgeCallContext, bound to a specific deployed contract.
type IBridgeCallContextRaw ¶
type IBridgeCallContextRaw struct {
Contract *IBridgeCallContext // Generic contract binding to access the raw methods on
}
IBridgeCallContextRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*IBridgeCallContextRaw) Call ¶
func (_IBridgeCallContext *IBridgeCallContextRaw) 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 (*IBridgeCallContextRaw) Transact ¶
func (_IBridgeCallContext *IBridgeCallContextRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IBridgeCallContextRaw) Transfer ¶
func (_IBridgeCallContext *IBridgeCallContextRaw) 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 IBridgeCallContextSession ¶
type IBridgeCallContextSession struct { Contract *IBridgeCallContext // 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 }
IBridgeCallContextSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*IBridgeCallContextSession) OnBridgeCall ¶
func (_IBridgeCallContext *IBridgeCallContextSession) OnBridgeCall(_sender common.Address, _refund common.Address, _tokens []common.Address, _amounts []*big.Int, _data []byte, _memo []byte) (*types.Transaction, error)
OnBridgeCall is a paid mutator transaction binding the contract method 0x57ffc092.
Solidity: function onBridgeCall(address _sender, address _refund, address[] _tokens, uint256[] _amounts, bytes _data, bytes _memo) returns()
func (*IBridgeCallContextSession) OnRevert ¶
func (_IBridgeCallContext *IBridgeCallContextSession) OnRevert(nonce *big.Int, _msg []byte) (*types.Transaction, error)
OnRevert is a paid mutator transaction binding the contract method 0x32e1e16e.
Solidity: function onRevert(uint256 nonce, bytes _msg) returns()
type IBridgeCallContextTransactor ¶
type IBridgeCallContextTransactor struct {
// contains filtered or unexported fields
}
IBridgeCallContextTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewIBridgeCallContextTransactor ¶
func NewIBridgeCallContextTransactor(address common.Address, transactor bind.ContractTransactor) (*IBridgeCallContextTransactor, error)
NewIBridgeCallContextTransactor creates a new write-only instance of IBridgeCallContext, bound to a specific deployed contract.
func (*IBridgeCallContextTransactor) OnBridgeCall ¶
func (_IBridgeCallContext *IBridgeCallContextTransactor) OnBridgeCall(opts *bind.TransactOpts, _sender common.Address, _refund common.Address, _tokens []common.Address, _amounts []*big.Int, _data []byte, _memo []byte) (*types.Transaction, error)
OnBridgeCall is a paid mutator transaction binding the contract method 0x57ffc092.
Solidity: function onBridgeCall(address _sender, address _refund, address[] _tokens, uint256[] _amounts, bytes _data, bytes _memo) returns()
func (*IBridgeCallContextTransactor) OnRevert ¶
func (_IBridgeCallContext *IBridgeCallContextTransactor) OnRevert(opts *bind.TransactOpts, nonce *big.Int, _msg []byte) (*types.Transaction, error)
OnRevert is a paid mutator transaction binding the contract method 0x32e1e16e.
Solidity: function onRevert(uint256 nonce, bytes _msg) returns()
type IBridgeCallContextTransactorRaw ¶
type IBridgeCallContextTransactorRaw struct {
Contract *IBridgeCallContextTransactor // Generic write-only contract binding to access the raw methods on
}
IBridgeCallContextTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*IBridgeCallContextTransactorRaw) Transact ¶
func (_IBridgeCallContext *IBridgeCallContextTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IBridgeCallContextTransactorRaw) Transfer ¶
func (_IBridgeCallContext *IBridgeCallContextTransactorRaw) 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 IBridgeCallContextTransactorSession ¶
type IBridgeCallContextTransactorSession struct { Contract *IBridgeCallContextTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
IBridgeCallContextTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*IBridgeCallContextTransactorSession) OnBridgeCall ¶
func (_IBridgeCallContext *IBridgeCallContextTransactorSession) OnBridgeCall(_sender common.Address, _refund common.Address, _tokens []common.Address, _amounts []*big.Int, _data []byte, _memo []byte) (*types.Transaction, error)
OnBridgeCall is a paid mutator transaction binding the contract method 0x57ffc092.
Solidity: function onBridgeCall(address _sender, address _refund, address[] _tokens, uint256[] _amounts, bytes _data, bytes _memo) returns()
func (*IBridgeCallContextTransactorSession) OnRevert ¶
func (_IBridgeCallContext *IBridgeCallContextTransactorSession) OnRevert(nonce *big.Int, _msg []byte) (*types.Transaction, error)
OnRevert is a paid mutator transaction binding the contract method 0x32e1e16e.
Solidity: function onRevert(uint256 nonce, bytes _msg) returns()
type IBridgeFeeQuoteQuoteInfo ¶
type IBridgeFeeQuoteQuoteInfo struct { Id *big.Int ChainName [32]byte TokenName [32]byte Oracle common.Address Amount *big.Int GasLimit uint64 Expiry uint64 }
IBridgeFeeQuoteQuoteInfo is an auto generated low-level Go binding around an user-defined struct.
func (IBridgeFeeQuoteQuoteInfo) GetChainName ¶
func (i IBridgeFeeQuoteQuoteInfo) GetChainName() string
func (IBridgeFeeQuoteQuoteInfo) GetTokenName ¶
func (i IBridgeFeeQuoteQuoteInfo) GetTokenName() string
type IBridgeFeeQuoteQuoteInput ¶
type IBridgeFeeQuoteQuoteInput struct { Cap uint8 GasLimit uint64 Expiry uint64 ChainName [32]byte TokenName [32]byte Amount *big.Int }
IBridgeFeeQuoteQuoteInput is an auto generated low-level Go binding around an user-defined struct.
type ICrosschain ¶
type ICrosschain struct { ICrosschainCaller // Read-only binding to the contract ICrosschainTransactor // Write-only binding to the contract ICrosschainFilterer // Log filterer for contract events }
ICrosschain is an auto generated Go binding around an Ethereum contract.
func NewICrosschain ¶
func NewICrosschain(address common.Address, backend bind.ContractBackend) (*ICrosschain, error)
NewICrosschain creates a new instance of ICrosschain, bound to a specific deployed contract.
type ICrosschainBridgeCallEvent ¶
type ICrosschainBridgeCallEvent struct { Sender common.Address Refund common.Address To common.Address TxOrigin common.Address EventNonce *big.Int DstChain string Tokens []common.Address Amounts []*big.Int Data []byte QuoteId *big.Int GasLimit *big.Int Memo []byte Raw types.Log // Blockchain specific contextual infos }
ICrosschainBridgeCallEvent represents a BridgeCallEvent event raised by the ICrosschain contract.
type ICrosschainBridgeCallEventIterator ¶
type ICrosschainBridgeCallEventIterator struct { Event *ICrosschainBridgeCallEvent // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ICrosschainBridgeCallEventIterator is returned from FilterBridgeCallEvent and is used to iterate over the raw logs and unpacked data for BridgeCallEvent events raised by the ICrosschain contract.
func (*ICrosschainBridgeCallEventIterator) Close ¶
func (it *ICrosschainBridgeCallEventIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ICrosschainBridgeCallEventIterator) Error ¶
func (it *ICrosschainBridgeCallEventIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ICrosschainBridgeCallEventIterator) Next ¶
func (it *ICrosschainBridgeCallEventIterator) 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 ICrosschainCaller ¶
type ICrosschainCaller struct {
// contains filtered or unexported fields
}
ICrosschainCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewICrosschainCaller ¶
func NewICrosschainCaller(address common.Address, caller bind.ContractCaller) (*ICrosschainCaller, error)
NewICrosschainCaller creates a new read-only instance of ICrosschain, bound to a specific deployed contract.
func (*ICrosschainCaller) BridgeCoinAmount ¶
func (_ICrosschain *ICrosschainCaller) BridgeCoinAmount(opts *bind.CallOpts, _token common.Address, _target [32]byte) (*big.Int, error)
BridgeCoinAmount is a free data retrieval call binding the contract method 0x8fefb765.
Solidity: function bridgeCoinAmount(address _token, bytes32 _target) view returns(uint256 _amount)
func (*ICrosschainCaller) GetERC20Token ¶
func (_ICrosschain *ICrosschainCaller) GetERC20Token(opts *bind.CallOpts, _denom [32]byte) (struct { Token common.Address Enable bool }, error)
GetERC20Token is a free data retrieval call binding the contract method 0xe8e1f205.
Solidity: function getERC20Token(bytes32 _denom) view returns(address _token, bool _enable)
func (*ICrosschainCaller) HasOracle ¶
func (_ICrosschain *ICrosschainCaller) HasOracle(opts *bind.CallOpts, _chain [32]byte, _externalAddress common.Address) (bool, error)
HasOracle is a free data retrieval call binding the contract method 0xa5df3875.
Solidity: function hasOracle(bytes32 _chain, address _externalAddress) view returns(bool _result)
func (*ICrosschainCaller) IsOracleOnline ¶
func (_ICrosschain *ICrosschainCaller) IsOracleOnline(opts *bind.CallOpts, _chain [32]byte, _externalAddress common.Address) (bool, error)
IsOracleOnline is a free data retrieval call binding the contract method 0xd5147e6d.
Solidity: function isOracleOnline(bytes32 _chain, address _externalAddress) view returns(bool _result)
type ICrosschainCallerRaw ¶
type ICrosschainCallerRaw struct {
Contract *ICrosschainCaller // Generic read-only contract binding to access the raw methods on
}
ICrosschainCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ICrosschainCallerRaw) Call ¶
func (_ICrosschain *ICrosschainCallerRaw) 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 ICrosschainCallerSession ¶
type ICrosschainCallerSession struct { Contract *ICrosschainCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ICrosschainCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ICrosschainCallerSession) BridgeCoinAmount ¶
func (_ICrosschain *ICrosschainCallerSession) BridgeCoinAmount(_token common.Address, _target [32]byte) (*big.Int, error)
BridgeCoinAmount is a free data retrieval call binding the contract method 0x8fefb765.
Solidity: function bridgeCoinAmount(address _token, bytes32 _target) view returns(uint256 _amount)
func (*ICrosschainCallerSession) GetERC20Token ¶
func (_ICrosschain *ICrosschainCallerSession) GetERC20Token(_denom [32]byte) (struct { Token common.Address Enable bool }, error)
GetERC20Token is a free data retrieval call binding the contract method 0xe8e1f205.
Solidity: function getERC20Token(bytes32 _denom) view returns(address _token, bool _enable)
func (*ICrosschainCallerSession) HasOracle ¶
func (_ICrosschain *ICrosschainCallerSession) HasOracle(_chain [32]byte, _externalAddress common.Address) (bool, error)
HasOracle is a free data retrieval call binding the contract method 0xa5df3875.
Solidity: function hasOracle(bytes32 _chain, address _externalAddress) view returns(bool _result)
func (*ICrosschainCallerSession) IsOracleOnline ¶
func (_ICrosschain *ICrosschainCallerSession) IsOracleOnline(_chain [32]byte, _externalAddress common.Address) (bool, error)
IsOracleOnline is a free data retrieval call binding the contract method 0xd5147e6d.
Solidity: function isOracleOnline(bytes32 _chain, address _externalAddress) view returns(bool _result)
type ICrosschainCrossChain ¶
type ICrosschainCrossChain struct { Sender common.Address Token common.Address Denom string Receipt string Amount *big.Int Fee *big.Int Target [32]byte Memo string Raw types.Log // Blockchain specific contextual infos }
ICrosschainCrossChain represents a CrossChain event raised by the ICrosschain contract.
type ICrosschainCrossChainIterator ¶
type ICrosschainCrossChainIterator struct { Event *ICrosschainCrossChain // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ICrosschainCrossChainIterator is returned from FilterCrossChain and is used to iterate over the raw logs and unpacked data for CrossChain events raised by the ICrosschain contract.
func (*ICrosschainCrossChainIterator) Close ¶
func (it *ICrosschainCrossChainIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ICrosschainCrossChainIterator) Error ¶
func (it *ICrosschainCrossChainIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ICrosschainCrossChainIterator) Next ¶
func (it *ICrosschainCrossChainIterator) 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 ICrosschainExecuteClaimEvent ¶
type ICrosschainExecuteClaimEvent struct { Sender common.Address EventNonce *big.Int Chain string ErrReason string Raw types.Log // Blockchain specific contextual infos }
ICrosschainExecuteClaimEvent represents a ExecuteClaimEvent event raised by the ICrosschain contract.
type ICrosschainExecuteClaimEventIterator ¶
type ICrosschainExecuteClaimEventIterator struct { Event *ICrosschainExecuteClaimEvent // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ICrosschainExecuteClaimEventIterator is returned from FilterExecuteClaimEvent and is used to iterate over the raw logs and unpacked data for ExecuteClaimEvent events raised by the ICrosschain contract.
func (*ICrosschainExecuteClaimEventIterator) Close ¶
func (it *ICrosschainExecuteClaimEventIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ICrosschainExecuteClaimEventIterator) Error ¶
func (it *ICrosschainExecuteClaimEventIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ICrosschainExecuteClaimEventIterator) Next ¶
func (it *ICrosschainExecuteClaimEventIterator) 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 ICrosschainFilterer ¶
type ICrosschainFilterer struct {
// contains filtered or unexported fields
}
ICrosschainFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewICrosschainFilterer ¶
func NewICrosschainFilterer(address common.Address, filterer bind.ContractFilterer) (*ICrosschainFilterer, error)
NewICrosschainFilterer creates a new log filterer instance of ICrosschain, bound to a specific deployed contract.
func (*ICrosschainFilterer) FilterBridgeCallEvent ¶
func (_ICrosschain *ICrosschainFilterer) FilterBridgeCallEvent(opts *bind.FilterOpts, _sender []common.Address, _refund []common.Address, _to []common.Address) (*ICrosschainBridgeCallEventIterator, error)
FilterBridgeCallEvent is a free log retrieval operation binding the contract event 0xcaa0e5b7ba998f542b3804184a5d30836451c57f6d1f031c466272e188f4a70f.
Solidity: event BridgeCallEvent(address indexed _sender, address indexed _refund, address indexed _to, address _txOrigin, uint256 _eventNonce, string _dstChain, address[] _tokens, uint256[] _amounts, bytes _data, uint256 _quoteId, uint256 _gasLimit, bytes _memo)
func (*ICrosschainFilterer) FilterCrossChain ¶
func (_ICrosschain *ICrosschainFilterer) FilterCrossChain(opts *bind.FilterOpts, sender []common.Address, token []common.Address) (*ICrosschainCrossChainIterator, error)
FilterCrossChain is a free log retrieval operation binding the contract event 0xb783df819ac99ca709650d67d9237a00b553c6ef941dceabeed6f4bc990d31ba.
Solidity: event CrossChain(address indexed sender, address indexed token, string denom, string receipt, uint256 amount, uint256 fee, bytes32 target, string memo)
func (*ICrosschainFilterer) FilterExecuteClaimEvent ¶
func (_ICrosschain *ICrosschainFilterer) FilterExecuteClaimEvent(opts *bind.FilterOpts, _sender []common.Address) (*ICrosschainExecuteClaimEventIterator, error)
FilterExecuteClaimEvent is a free log retrieval operation binding the contract event 0x67ddf3796d30bb96cc50ccd9d322ab53317f5c6cac5860f3137894ee70ed0053.
Solidity: event ExecuteClaimEvent(address indexed _sender, uint256 _eventNonce, string _chain, string _errReason)
func (*ICrosschainFilterer) ParseBridgeCallEvent ¶
func (_ICrosschain *ICrosschainFilterer) ParseBridgeCallEvent(log types.Log) (*ICrosschainBridgeCallEvent, error)
ParseBridgeCallEvent is a log parse operation binding the contract event 0xcaa0e5b7ba998f542b3804184a5d30836451c57f6d1f031c466272e188f4a70f.
Solidity: event BridgeCallEvent(address indexed _sender, address indexed _refund, address indexed _to, address _txOrigin, uint256 _eventNonce, string _dstChain, address[] _tokens, uint256[] _amounts, bytes _data, uint256 _quoteId, uint256 _gasLimit, bytes _memo)
func (*ICrosschainFilterer) ParseCrossChain ¶
func (_ICrosschain *ICrosschainFilterer) ParseCrossChain(log types.Log) (*ICrosschainCrossChain, error)
ParseCrossChain is a log parse operation binding the contract event 0xb783df819ac99ca709650d67d9237a00b553c6ef941dceabeed6f4bc990d31ba.
Solidity: event CrossChain(address indexed sender, address indexed token, string denom, string receipt, uint256 amount, uint256 fee, bytes32 target, string memo)
func (*ICrosschainFilterer) ParseExecuteClaimEvent ¶
func (_ICrosschain *ICrosschainFilterer) ParseExecuteClaimEvent(log types.Log) (*ICrosschainExecuteClaimEvent, error)
ParseExecuteClaimEvent is a log parse operation binding the contract event 0x67ddf3796d30bb96cc50ccd9d322ab53317f5c6cac5860f3137894ee70ed0053.
Solidity: event ExecuteClaimEvent(address indexed _sender, uint256 _eventNonce, string _chain, string _errReason)
func (*ICrosschainFilterer) WatchBridgeCallEvent ¶
func (_ICrosschain *ICrosschainFilterer) WatchBridgeCallEvent(opts *bind.WatchOpts, sink chan<- *ICrosschainBridgeCallEvent, _sender []common.Address, _refund []common.Address, _to []common.Address) (event.Subscription, error)
WatchBridgeCallEvent is a free log subscription operation binding the contract event 0xcaa0e5b7ba998f542b3804184a5d30836451c57f6d1f031c466272e188f4a70f.
Solidity: event BridgeCallEvent(address indexed _sender, address indexed _refund, address indexed _to, address _txOrigin, uint256 _eventNonce, string _dstChain, address[] _tokens, uint256[] _amounts, bytes _data, uint256 _quoteId, uint256 _gasLimit, bytes _memo)
func (*ICrosschainFilterer) WatchCrossChain ¶
func (_ICrosschain *ICrosschainFilterer) WatchCrossChain(opts *bind.WatchOpts, sink chan<- *ICrosschainCrossChain, sender []common.Address, token []common.Address) (event.Subscription, error)
WatchCrossChain is a free log subscription operation binding the contract event 0xb783df819ac99ca709650d67d9237a00b553c6ef941dceabeed6f4bc990d31ba.
Solidity: event CrossChain(address indexed sender, address indexed token, string denom, string receipt, uint256 amount, uint256 fee, bytes32 target, string memo)
func (*ICrosschainFilterer) WatchExecuteClaimEvent ¶
func (_ICrosschain *ICrosschainFilterer) WatchExecuteClaimEvent(opts *bind.WatchOpts, sink chan<- *ICrosschainExecuteClaimEvent, _sender []common.Address) (event.Subscription, error)
WatchExecuteClaimEvent is a free log subscription operation binding the contract event 0x67ddf3796d30bb96cc50ccd9d322ab53317f5c6cac5860f3137894ee70ed0053.
Solidity: event ExecuteClaimEvent(address indexed _sender, uint256 _eventNonce, string _chain, string _errReason)
type ICrosschainRaw ¶
type ICrosschainRaw struct {
Contract *ICrosschain // Generic contract binding to access the raw methods on
}
ICrosschainRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ICrosschainRaw) Call ¶
func (_ICrosschain *ICrosschainRaw) 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 (*ICrosschainRaw) Transact ¶
func (_ICrosschain *ICrosschainRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ICrosschainRaw) Transfer ¶
func (_ICrosschain *ICrosschainRaw) 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 ICrosschainSession ¶
type ICrosschainSession struct { Contract *ICrosschain // 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 }
ICrosschainSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ICrosschainSession) BridgeCall ¶
func (_ICrosschain *ICrosschainSession) BridgeCall(_dstChain string, _refund common.Address, _tokens []common.Address, _amounts []*big.Int, _to common.Address, _data []byte, _quoteId *big.Int, _gasLimit *big.Int, _memo []byte) (*types.Transaction, error)
BridgeCall is a paid mutator transaction binding the contract method 0xe6d69ede.
Solidity: function bridgeCall(string _dstChain, address _refund, address[] _tokens, uint256[] _amounts, address _to, bytes _data, uint256 _quoteId, uint256 _gasLimit, bytes _memo) payable returns(uint256 _eventNonce)
func (*ICrosschainSession) BridgeCoinAmount ¶
func (_ICrosschain *ICrosschainSession) BridgeCoinAmount(_token common.Address, _target [32]byte) (*big.Int, error)
BridgeCoinAmount is a free data retrieval call binding the contract method 0x8fefb765.
Solidity: function bridgeCoinAmount(address _token, bytes32 _target) view returns(uint256 _amount)
func (*ICrosschainSession) CrossChain ¶
func (_ICrosschain *ICrosschainSession) CrossChain(_token common.Address, _receipt string, _amount *big.Int, _fee *big.Int, _target [32]byte, _memo string) (*types.Transaction, error)
CrossChain is a paid mutator transaction binding the contract method 0x160d7c73.
Solidity: function crossChain(address _token, string _receipt, uint256 _amount, uint256 _fee, bytes32 _target, string _memo) payable returns(bool _result)
func (*ICrosschainSession) ExecuteClaim ¶
func (_ICrosschain *ICrosschainSession) ExecuteClaim(_chain string, _eventNonce *big.Int) (*types.Transaction, error)
ExecuteClaim is a paid mutator transaction binding the contract method 0x4ac3bdc3.
Solidity: function executeClaim(string _chain, uint256 _eventNonce) returns(bool _result)
func (*ICrosschainSession) GetERC20Token ¶
func (_ICrosschain *ICrosschainSession) GetERC20Token(_denom [32]byte) (struct { Token common.Address Enable bool }, error)
GetERC20Token is a free data retrieval call binding the contract method 0xe8e1f205.
Solidity: function getERC20Token(bytes32 _denom) view returns(address _token, bool _enable)
func (*ICrosschainSession) HasOracle ¶
func (_ICrosschain *ICrosschainSession) HasOracle(_chain [32]byte, _externalAddress common.Address) (bool, error)
HasOracle is a free data retrieval call binding the contract method 0xa5df3875.
Solidity: function hasOracle(bytes32 _chain, address _externalAddress) view returns(bool _result)
func (*ICrosschainSession) IsOracleOnline ¶
func (_ICrosschain *ICrosschainSession) IsOracleOnline(_chain [32]byte, _externalAddress common.Address) (bool, error)
IsOracleOnline is a free data retrieval call binding the contract method 0xd5147e6d.
Solidity: function isOracleOnline(bytes32 _chain, address _externalAddress) view returns(bool _result)
type ICrosschainTransactor ¶
type ICrosschainTransactor struct {
// contains filtered or unexported fields
}
ICrosschainTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewICrosschainTransactor ¶
func NewICrosschainTransactor(address common.Address, transactor bind.ContractTransactor) (*ICrosschainTransactor, error)
NewICrosschainTransactor creates a new write-only instance of ICrosschain, bound to a specific deployed contract.
func (*ICrosschainTransactor) BridgeCall ¶
func (_ICrosschain *ICrosschainTransactor) BridgeCall(opts *bind.TransactOpts, _dstChain string, _refund common.Address, _tokens []common.Address, _amounts []*big.Int, _to common.Address, _data []byte, _quoteId *big.Int, _gasLimit *big.Int, _memo []byte) (*types.Transaction, error)
BridgeCall is a paid mutator transaction binding the contract method 0xe6d69ede.
Solidity: function bridgeCall(string _dstChain, address _refund, address[] _tokens, uint256[] _amounts, address _to, bytes _data, uint256 _quoteId, uint256 _gasLimit, bytes _memo) payable returns(uint256 _eventNonce)
func (*ICrosschainTransactor) CrossChain ¶
func (_ICrosschain *ICrosschainTransactor) CrossChain(opts *bind.TransactOpts, _token common.Address, _receipt string, _amount *big.Int, _fee *big.Int, _target [32]byte, _memo string) (*types.Transaction, error)
CrossChain is a paid mutator transaction binding the contract method 0x160d7c73.
Solidity: function crossChain(address _token, string _receipt, uint256 _amount, uint256 _fee, bytes32 _target, string _memo) payable returns(bool _result)
func (*ICrosschainTransactor) ExecuteClaim ¶
func (_ICrosschain *ICrosschainTransactor) ExecuteClaim(opts *bind.TransactOpts, _chain string, _eventNonce *big.Int) (*types.Transaction, error)
ExecuteClaim is a paid mutator transaction binding the contract method 0x4ac3bdc3.
Solidity: function executeClaim(string _chain, uint256 _eventNonce) returns(bool _result)
type ICrosschainTransactorRaw ¶
type ICrosschainTransactorRaw struct {
Contract *ICrosschainTransactor // Generic write-only contract binding to access the raw methods on
}
ICrosschainTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ICrosschainTransactorRaw) Transact ¶
func (_ICrosschain *ICrosschainTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ICrosschainTransactorRaw) Transfer ¶
func (_ICrosschain *ICrosschainTransactorRaw) 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 ICrosschainTransactorSession ¶
type ICrosschainTransactorSession struct { Contract *ICrosschainTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ICrosschainTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ICrosschainTransactorSession) BridgeCall ¶
func (_ICrosschain *ICrosschainTransactorSession) BridgeCall(_dstChain string, _refund common.Address, _tokens []common.Address, _amounts []*big.Int, _to common.Address, _data []byte, _quoteId *big.Int, _gasLimit *big.Int, _memo []byte) (*types.Transaction, error)
BridgeCall is a paid mutator transaction binding the contract method 0xe6d69ede.
Solidity: function bridgeCall(string _dstChain, address _refund, address[] _tokens, uint256[] _amounts, address _to, bytes _data, uint256 _quoteId, uint256 _gasLimit, bytes _memo) payable returns(uint256 _eventNonce)
func (*ICrosschainTransactorSession) CrossChain ¶
func (_ICrosschain *ICrosschainTransactorSession) CrossChain(_token common.Address, _receipt string, _amount *big.Int, _fee *big.Int, _target [32]byte, _memo string) (*types.Transaction, error)
CrossChain is a paid mutator transaction binding the contract method 0x160d7c73.
Solidity: function crossChain(address _token, string _receipt, uint256 _amount, uint256 _fee, bytes32 _target, string _memo) payable returns(bool _result)
func (*ICrosschainTransactorSession) ExecuteClaim ¶
func (_ICrosschain *ICrosschainTransactorSession) ExecuteClaim(_chain string, _eventNonce *big.Int) (*types.Transaction, error)
ExecuteClaim is a paid mutator transaction binding the contract method 0x4ac3bdc3.
Solidity: function executeClaim(string _chain, uint256 _eventNonce) returns(bool _result)
type IError ¶
type IError struct { IErrorCaller // Read-only binding to the contract IErrorTransactor // Write-only binding to the contract IErrorFilterer // Log filterer for contract events }
IError is an auto generated Go binding around an Ethereum contract.
type IErrorCaller ¶
type IErrorCaller struct {
// contains filtered or unexported fields
}
IErrorCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewIErrorCaller ¶
func NewIErrorCaller(address common.Address, caller bind.ContractCaller) (*IErrorCaller, error)
NewIErrorCaller creates a new read-only instance of IError, bound to a specific deployed contract.
type IErrorCallerRaw ¶
type IErrorCallerRaw struct {
Contract *IErrorCaller // Generic read-only contract binding to access the raw methods on
}
IErrorCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*IErrorCallerRaw) Call ¶
func (_IError *IErrorCallerRaw) 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 IErrorCallerSession ¶
type IErrorCallerSession struct { Contract *IErrorCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
IErrorCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type IErrorFilterer ¶
type IErrorFilterer struct {
// contains filtered or unexported fields
}
IErrorFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewIErrorFilterer ¶
func NewIErrorFilterer(address common.Address, filterer bind.ContractFilterer) (*IErrorFilterer, error)
NewIErrorFilterer creates a new log filterer instance of IError, bound to a specific deployed contract.
type IErrorRaw ¶
type IErrorRaw struct {
Contract *IError // Generic contract binding to access the raw methods on
}
IErrorRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*IErrorRaw) Call ¶
func (_IError *IErrorRaw) 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 (*IErrorRaw) Transact ¶
func (_IError *IErrorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IErrorRaw) Transfer ¶
func (_IError *IErrorRaw) 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 IErrorSession ¶
type IErrorSession struct { Contract *IError // 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 }
IErrorSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*IErrorSession) Error ¶
func (_IError *IErrorSession) Error(arg0 string) (*types.Transaction, error)
Error is a paid mutator transaction binding the contract method 0x08c379a0.
Solidity: function Error(string ) returns()
type IErrorTransactor ¶
type IErrorTransactor struct {
// contains filtered or unexported fields
}
IErrorTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewIErrorTransactor ¶
func NewIErrorTransactor(address common.Address, transactor bind.ContractTransactor) (*IErrorTransactor, error)
NewIErrorTransactor creates a new write-only instance of IError, bound to a specific deployed contract.
func (*IErrorTransactor) Error ¶
func (_IError *IErrorTransactor) Error(opts *bind.TransactOpts, arg0 string) (*types.Transaction, error)
Error is a paid mutator transaction binding the contract method 0x08c379a0.
Solidity: function Error(string ) returns()
type IErrorTransactorRaw ¶
type IErrorTransactorRaw struct {
Contract *IErrorTransactor // Generic write-only contract binding to access the raw methods on
}
IErrorTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*IErrorTransactorRaw) Transact ¶
func (_IError *IErrorTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IErrorTransactorRaw) Transfer ¶
func (_IError *IErrorTransactorRaw) 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 IErrorTransactorSession ¶
type IErrorTransactorSession struct { Contract *IErrorTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
IErrorTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*IErrorTransactorSession) Error ¶
func (_IError *IErrorTransactorSession) Error(arg0 string) (*types.Transaction, error)
Error is a paid mutator transaction binding the contract method 0x08c379a0.
Solidity: function Error(string ) returns()
type IFxBridgeLogic ¶
type IFxBridgeLogic struct { IFxBridgeLogicCaller // Read-only binding to the contract IFxBridgeLogicTransactor // Write-only binding to the contract IFxBridgeLogicFilterer // Log filterer for contract events }
IFxBridgeLogic is an auto generated Go binding around an Ethereum contract.
func NewIFxBridgeLogic ¶
func NewIFxBridgeLogic(address common.Address, backend bind.ContractBackend) (*IFxBridgeLogic, error)
NewIFxBridgeLogic creates a new instance of IFxBridgeLogic, bound to a specific deployed contract.
type IFxBridgeLogicAddBridgeTokenEvent ¶
type IFxBridgeLogicAddBridgeTokenEvent struct { TokenContract common.Address Name string Symbol string Decimals uint8 EventNonce *big.Int Memo [32]byte Raw types.Log // Blockchain specific contextual infos }
IFxBridgeLogicAddBridgeTokenEvent represents a AddBridgeTokenEvent event raised by the IFxBridgeLogic contract.
type IFxBridgeLogicAddBridgeTokenEventIterator ¶
type IFxBridgeLogicAddBridgeTokenEventIterator struct { Event *IFxBridgeLogicAddBridgeTokenEvent // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IFxBridgeLogicAddBridgeTokenEventIterator is returned from FilterAddBridgeTokenEvent and is used to iterate over the raw logs and unpacked data for AddBridgeTokenEvent events raised by the IFxBridgeLogic contract.
func (*IFxBridgeLogicAddBridgeTokenEventIterator) Close ¶
func (it *IFxBridgeLogicAddBridgeTokenEventIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IFxBridgeLogicAddBridgeTokenEventIterator) Error ¶
func (it *IFxBridgeLogicAddBridgeTokenEventIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IFxBridgeLogicAddBridgeTokenEventIterator) Next ¶
func (it *IFxBridgeLogicAddBridgeTokenEventIterator) 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 IFxBridgeLogicBridgeCallEvent ¶
type IFxBridgeLogicBridgeCallEvent struct { Sender common.Address Refund common.Address To common.Address TxOrigin common.Address EventNonce *big.Int DstChain string Tokens []common.Address Amounts []*big.Int Data []byte QuoteId *big.Int GasLimit *big.Int Memo []byte Raw types.Log // Blockchain specific contextual infos }
IFxBridgeLogicBridgeCallEvent represents a BridgeCallEvent event raised by the IFxBridgeLogic contract.
type IFxBridgeLogicBridgeCallEventIterator ¶
type IFxBridgeLogicBridgeCallEventIterator struct { Event *IFxBridgeLogicBridgeCallEvent // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IFxBridgeLogicBridgeCallEventIterator is returned from FilterBridgeCallEvent and is used to iterate over the raw logs and unpacked data for BridgeCallEvent events raised by the IFxBridgeLogic contract.
func (*IFxBridgeLogicBridgeCallEventIterator) Close ¶
func (it *IFxBridgeLogicBridgeCallEventIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IFxBridgeLogicBridgeCallEventIterator) Error ¶
func (it *IFxBridgeLogicBridgeCallEventIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IFxBridgeLogicBridgeCallEventIterator) Next ¶
func (it *IFxBridgeLogicBridgeCallEventIterator) 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 IFxBridgeLogicCaller ¶
type IFxBridgeLogicCaller struct {
// contains filtered or unexported fields
}
IFxBridgeLogicCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewIFxBridgeLogicCaller ¶
func NewIFxBridgeLogicCaller(address common.Address, caller bind.ContractCaller) (*IFxBridgeLogicCaller, error)
NewIFxBridgeLogicCaller creates a new read-only instance of IFxBridgeLogic, bound to a specific deployed contract.
func (*IFxBridgeLogicCaller) BridgeCallCheckpoint ¶
func (_IFxBridgeLogic *IFxBridgeLogicCaller) BridgeCallCheckpoint(opts *bind.CallOpts, _fxbridgeId [32]byte, _methodName [32]byte, _nonce *big.Int, _input FxBridgeBaseBridgeCallData) ([32]byte, error)
BridgeCallCheckpoint is a free data retrieval call binding the contract method 0x1cb8b55b.
Solidity: function bridgeCallCheckpoint(bytes32 _fxbridgeId, bytes32 _methodName, uint256 _nonce, (address,address,address[],uint256[],address,bytes,bytes,uint256,uint256,uint256) _input) pure returns(bytes32)
func (*IFxBridgeLogicCaller) BridgeTokens ¶
func (_IFxBridgeLogic *IFxBridgeLogicCaller) BridgeTokens(opts *bind.CallOpts, _index *big.Int) (common.Address, error)
BridgeTokens is a free data retrieval call binding the contract method 0x70e5a898.
Solidity: function bridgeTokens(uint256 _index) view returns(address)
func (*IFxBridgeLogicCaller) CheckAssetStatus ¶
func (_IFxBridgeLogic *IFxBridgeLogicCaller) CheckAssetStatus(opts *bind.CallOpts, _tokenAddr common.Address) (bool, error)
CheckAssetStatus is a free data retrieval call binding the contract method 0x474d561c.
Solidity: function checkAssetStatus(address _tokenAddr) view returns(bool)
func (*IFxBridgeLogicCaller) ConvertDecimals ¶
func (_IFxBridgeLogic *IFxBridgeLogicCaller) ConvertDecimals(opts *bind.CallOpts, _erc20Address common.Address) (uint8, error)
ConvertDecimals is a free data retrieval call binding the contract method 0x7d9a8ea6.
Solidity: function convert_decimals(address _erc20Address) view returns(uint8)
func (*IFxBridgeLogicCaller) GetBridgeTokenList ¶
func (_IFxBridgeLogic *IFxBridgeLogicCaller) GetBridgeTokenList(opts *bind.CallOpts) ([]FxBridgeBaseBridgeToken, error)
GetBridgeTokenList is a free data retrieval call binding the contract method 0x283040b4.
Solidity: function getBridgeTokenList() view returns((address,string,string,uint8)[])
func (*IFxBridgeLogicCaller) GetTokenStatus ¶
func (_IFxBridgeLogic *IFxBridgeLogicCaller) GetTokenStatus(opts *bind.CallOpts, _tokenAddr common.Address) (FxBridgeBaseTokenStatus, error)
GetTokenStatus is a free data retrieval call binding the contract method 0xa3ff31b5.
Solidity: function getTokenStatus(address _tokenAddr) view returns((bool,bool,bool))
func (*IFxBridgeLogicCaller) LastBatchNonce ¶
func (_IFxBridgeLogic *IFxBridgeLogicCaller) LastBatchNonce(opts *bind.CallOpts, _erc20Address common.Address) (*big.Int, error)
LastBatchNonce is a free data retrieval call binding the contract method 0x011b2174.
Solidity: function lastBatchNonce(address _erc20Address) view returns(uint256)
func (*IFxBridgeLogicCaller) OracleSetCheckpoint ¶
func (_IFxBridgeLogic *IFxBridgeLogicCaller) OracleSetCheckpoint(opts *bind.CallOpts, _fxbridgeId [32]byte, _methodName [32]byte, _oracleSetNonce *big.Int, _oracles []common.Address, _powers []*big.Int) ([32]byte, error)
OracleSetCheckpoint is a free data retrieval call binding the contract method 0xa955665f.
Solidity: function oracleSetCheckpoint(bytes32 _fxbridgeId, bytes32 _methodName, uint256 _oracleSetNonce, address[] _oracles, uint256[] _powers) pure returns(bytes32)
func (*IFxBridgeLogicCaller) StateFxBridgeId ¶
func (_IFxBridgeLogic *IFxBridgeLogicCaller) StateFxBridgeId(opts *bind.CallOpts) ([32]byte, error)
StateFxBridgeId is a free data retrieval call binding the contract method 0xf92367fd.
Solidity: function state_fxBridgeId() view returns(bytes32)
func (*IFxBridgeLogicCaller) StateLastBatchNonces ¶
func (_IFxBridgeLogic *IFxBridgeLogicCaller) StateLastBatchNonces(opts *bind.CallOpts, _erc20Address common.Address) (*big.Int, error)
StateLastBatchNonces is a free data retrieval call binding the contract method 0xdf97174b.
Solidity: function state_lastBatchNonces(address _erc20Address) view returns(uint256)
func (*IFxBridgeLogicCaller) StateLastBridgeCallNonces ¶
func (_IFxBridgeLogic *IFxBridgeLogicCaller) StateLastBridgeCallNonces(opts *bind.CallOpts, _index *big.Int) (bool, error)
StateLastBridgeCallNonces is a free data retrieval call binding the contract method 0xed51dacf.
Solidity: function state_lastBridgeCallNonces(uint256 _index) view returns(bool)
func (*IFxBridgeLogicCaller) StateLastEventNonce ¶
func (_IFxBridgeLogic *IFxBridgeLogicCaller) StateLastEventNonce(opts *bind.CallOpts) (*big.Int, error)
StateLastEventNonce is a free data retrieval call binding the contract method 0x73b20547.
Solidity: function state_lastEventNonce() view returns(uint256)
func (*IFxBridgeLogicCaller) StateLastOracleSetCheckpoint ¶
func (_IFxBridgeLogic *IFxBridgeLogicCaller) StateLastOracleSetCheckpoint(opts *bind.CallOpts) ([32]byte, error)
StateLastOracleSetCheckpoint is a free data retrieval call binding the contract method 0x70a0eb94.
Solidity: function state_lastOracleSetCheckpoint() view returns(bytes32)
func (*IFxBridgeLogicCaller) StateLastOracleSetNonce ¶
func (_IFxBridgeLogic *IFxBridgeLogicCaller) StateLastOracleSetNonce(opts *bind.CallOpts) (*big.Int, error)
StateLastOracleSetNonce is a free data retrieval call binding the contract method 0xbb83bf96.
Solidity: function state_lastOracleSetNonce() view returns(uint256)
func (*IFxBridgeLogicCaller) StatePowerThreshold ¶
func (_IFxBridgeLogic *IFxBridgeLogicCaller) StatePowerThreshold(opts *bind.CallOpts) (*big.Int, error)
StatePowerThreshold is a free data retrieval call binding the contract method 0xe5a2b5d2.
Solidity: function state_powerThreshold() view returns(uint256)
func (*IFxBridgeLogicCaller) SubmitBatchCheckpoint ¶
func (_IFxBridgeLogic *IFxBridgeLogicCaller) SubmitBatchCheckpoint(opts *bind.CallOpts, _fxbridgeId [32]byte, _methodName [32]byte, _amounts []*big.Int, _destinations []common.Address, _fees []*big.Int, _batchNonce *big.Int, _tokenContract common.Address, _batchTimeout *big.Int, _feeReceive common.Address) ([32]byte, error)
SubmitBatchCheckpoint is a free data retrieval call binding the contract method 0x3d1e51f9.
Solidity: function submitBatchCheckpoint(bytes32 _fxbridgeId, bytes32 _methodName, uint256[] _amounts, address[] _destinations, uint256[] _fees, uint256 _batchNonce, address _tokenContract, uint256 _batchTimeout, address _feeReceive) pure returns(bytes32)
type IFxBridgeLogicCallerRaw ¶
type IFxBridgeLogicCallerRaw struct {
Contract *IFxBridgeLogicCaller // Generic read-only contract binding to access the raw methods on
}
IFxBridgeLogicCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*IFxBridgeLogicCallerRaw) Call ¶
func (_IFxBridgeLogic *IFxBridgeLogicCallerRaw) 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 IFxBridgeLogicCallerSession ¶
type IFxBridgeLogicCallerSession struct { Contract *IFxBridgeLogicCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
IFxBridgeLogicCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*IFxBridgeLogicCallerSession) BridgeCallCheckpoint ¶
func (_IFxBridgeLogic *IFxBridgeLogicCallerSession) BridgeCallCheckpoint(_fxbridgeId [32]byte, _methodName [32]byte, _nonce *big.Int, _input FxBridgeBaseBridgeCallData) ([32]byte, error)
BridgeCallCheckpoint is a free data retrieval call binding the contract method 0x1cb8b55b.
Solidity: function bridgeCallCheckpoint(bytes32 _fxbridgeId, bytes32 _methodName, uint256 _nonce, (address,address,address[],uint256[],address,bytes,bytes,uint256,uint256,uint256) _input) pure returns(bytes32)
func (*IFxBridgeLogicCallerSession) BridgeTokens ¶
func (_IFxBridgeLogic *IFxBridgeLogicCallerSession) BridgeTokens(_index *big.Int) (common.Address, error)
BridgeTokens is a free data retrieval call binding the contract method 0x70e5a898.
Solidity: function bridgeTokens(uint256 _index) view returns(address)
func (*IFxBridgeLogicCallerSession) CheckAssetStatus ¶
func (_IFxBridgeLogic *IFxBridgeLogicCallerSession) CheckAssetStatus(_tokenAddr common.Address) (bool, error)
CheckAssetStatus is a free data retrieval call binding the contract method 0x474d561c.
Solidity: function checkAssetStatus(address _tokenAddr) view returns(bool)
func (*IFxBridgeLogicCallerSession) ConvertDecimals ¶
func (_IFxBridgeLogic *IFxBridgeLogicCallerSession) ConvertDecimals(_erc20Address common.Address) (uint8, error)
ConvertDecimals is a free data retrieval call binding the contract method 0x7d9a8ea6.
Solidity: function convert_decimals(address _erc20Address) view returns(uint8)
func (*IFxBridgeLogicCallerSession) GetBridgeTokenList ¶
func (_IFxBridgeLogic *IFxBridgeLogicCallerSession) GetBridgeTokenList() ([]FxBridgeBaseBridgeToken, error)
GetBridgeTokenList is a free data retrieval call binding the contract method 0x283040b4.
Solidity: function getBridgeTokenList() view returns((address,string,string,uint8)[])
func (*IFxBridgeLogicCallerSession) GetTokenStatus ¶
func (_IFxBridgeLogic *IFxBridgeLogicCallerSession) GetTokenStatus(_tokenAddr common.Address) (FxBridgeBaseTokenStatus, error)
GetTokenStatus is a free data retrieval call binding the contract method 0xa3ff31b5.
Solidity: function getTokenStatus(address _tokenAddr) view returns((bool,bool,bool))
func (*IFxBridgeLogicCallerSession) LastBatchNonce ¶
func (_IFxBridgeLogic *IFxBridgeLogicCallerSession) LastBatchNonce(_erc20Address common.Address) (*big.Int, error)
LastBatchNonce is a free data retrieval call binding the contract method 0x011b2174.
Solidity: function lastBatchNonce(address _erc20Address) view returns(uint256)
func (*IFxBridgeLogicCallerSession) OracleSetCheckpoint ¶
func (_IFxBridgeLogic *IFxBridgeLogicCallerSession) OracleSetCheckpoint(_fxbridgeId [32]byte, _methodName [32]byte, _oracleSetNonce *big.Int, _oracles []common.Address, _powers []*big.Int) ([32]byte, error)
OracleSetCheckpoint is a free data retrieval call binding the contract method 0xa955665f.
Solidity: function oracleSetCheckpoint(bytes32 _fxbridgeId, bytes32 _methodName, uint256 _oracleSetNonce, address[] _oracles, uint256[] _powers) pure returns(bytes32)
func (*IFxBridgeLogicCallerSession) StateFxBridgeId ¶
func (_IFxBridgeLogic *IFxBridgeLogicCallerSession) StateFxBridgeId() ([32]byte, error)
StateFxBridgeId is a free data retrieval call binding the contract method 0xf92367fd.
Solidity: function state_fxBridgeId() view returns(bytes32)
func (*IFxBridgeLogicCallerSession) StateLastBatchNonces ¶
func (_IFxBridgeLogic *IFxBridgeLogicCallerSession) StateLastBatchNonces(_erc20Address common.Address) (*big.Int, error)
StateLastBatchNonces is a free data retrieval call binding the contract method 0xdf97174b.
Solidity: function state_lastBatchNonces(address _erc20Address) view returns(uint256)
func (*IFxBridgeLogicCallerSession) StateLastBridgeCallNonces ¶
func (_IFxBridgeLogic *IFxBridgeLogicCallerSession) StateLastBridgeCallNonces(_index *big.Int) (bool, error)
StateLastBridgeCallNonces is a free data retrieval call binding the contract method 0xed51dacf.
Solidity: function state_lastBridgeCallNonces(uint256 _index) view returns(bool)
func (*IFxBridgeLogicCallerSession) StateLastEventNonce ¶
func (_IFxBridgeLogic *IFxBridgeLogicCallerSession) StateLastEventNonce() (*big.Int, error)
StateLastEventNonce is a free data retrieval call binding the contract method 0x73b20547.
Solidity: function state_lastEventNonce() view returns(uint256)
func (*IFxBridgeLogicCallerSession) StateLastOracleSetCheckpoint ¶
func (_IFxBridgeLogic *IFxBridgeLogicCallerSession) StateLastOracleSetCheckpoint() ([32]byte, error)
StateLastOracleSetCheckpoint is a free data retrieval call binding the contract method 0x70a0eb94.
Solidity: function state_lastOracleSetCheckpoint() view returns(bytes32)
func (*IFxBridgeLogicCallerSession) StateLastOracleSetNonce ¶
func (_IFxBridgeLogic *IFxBridgeLogicCallerSession) StateLastOracleSetNonce() (*big.Int, error)
StateLastOracleSetNonce is a free data retrieval call binding the contract method 0xbb83bf96.
Solidity: function state_lastOracleSetNonce() view returns(uint256)
func (*IFxBridgeLogicCallerSession) StatePowerThreshold ¶
func (_IFxBridgeLogic *IFxBridgeLogicCallerSession) StatePowerThreshold() (*big.Int, error)
StatePowerThreshold is a free data retrieval call binding the contract method 0xe5a2b5d2.
Solidity: function state_powerThreshold() view returns(uint256)
func (*IFxBridgeLogicCallerSession) SubmitBatchCheckpoint ¶
func (_IFxBridgeLogic *IFxBridgeLogicCallerSession) SubmitBatchCheckpoint(_fxbridgeId [32]byte, _methodName [32]byte, _amounts []*big.Int, _destinations []common.Address, _fees []*big.Int, _batchNonce *big.Int, _tokenContract common.Address, _batchTimeout *big.Int, _feeReceive common.Address) ([32]byte, error)
SubmitBatchCheckpoint is a free data retrieval call binding the contract method 0x3d1e51f9.
Solidity: function submitBatchCheckpoint(bytes32 _fxbridgeId, bytes32 _methodName, uint256[] _amounts, address[] _destinations, uint256[] _fees, uint256 _batchNonce, address _tokenContract, uint256 _batchTimeout, address _feeReceive) pure returns(bytes32)
func (*IFxBridgeLogicCallerSession) Version ¶
func (_IFxBridgeLogic *IFxBridgeLogicCallerSession) Version() (string, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() view returns(string)
type IFxBridgeLogicFilterer ¶
type IFxBridgeLogicFilterer struct {
// contains filtered or unexported fields
}
IFxBridgeLogicFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewIFxBridgeLogicFilterer ¶
func NewIFxBridgeLogicFilterer(address common.Address, filterer bind.ContractFilterer) (*IFxBridgeLogicFilterer, error)
NewIFxBridgeLogicFilterer creates a new log filterer instance of IFxBridgeLogic, bound to a specific deployed contract.
func (*IFxBridgeLogicFilterer) FilterAddBridgeTokenEvent ¶
func (_IFxBridgeLogic *IFxBridgeLogicFilterer) FilterAddBridgeTokenEvent(opts *bind.FilterOpts, _tokenContract []common.Address) (*IFxBridgeLogicAddBridgeTokenEventIterator, error)
FilterAddBridgeTokenEvent is a free log retrieval operation binding the contract event 0x2da8f37eaabc4d44ba4fcc438e404bbed3344322280d6c67497e9c668c87ec0f.
Solidity: event AddBridgeTokenEvent(address indexed _tokenContract, string _name, string _symbol, uint8 _decimals, uint256 _eventNonce, bytes32 _memo)
func (*IFxBridgeLogicFilterer) FilterBridgeCallEvent ¶
func (_IFxBridgeLogic *IFxBridgeLogicFilterer) FilterBridgeCallEvent(opts *bind.FilterOpts, _sender []common.Address, _refund []common.Address, _to []common.Address) (*IFxBridgeLogicBridgeCallEventIterator, error)
FilterBridgeCallEvent is a free log retrieval operation binding the contract event 0xcaa0e5b7ba998f542b3804184a5d30836451c57f6d1f031c466272e188f4a70f.
Solidity: event BridgeCallEvent(address indexed _sender, address indexed _refund, address indexed _to, address _txOrigin, uint256 _eventNonce, string _dstChain, address[] _tokens, uint256[] _amounts, bytes _data, uint256 _quoteId, uint256 _gasLimit, bytes _memo)
func (*IFxBridgeLogicFilterer) FilterOracleSetUpdatedEvent ¶
func (_IFxBridgeLogic *IFxBridgeLogicFilterer) FilterOracleSetUpdatedEvent(opts *bind.FilterOpts, _newOracleSetNonce []*big.Int) (*IFxBridgeLogicOracleSetUpdatedEventIterator, error)
FilterOracleSetUpdatedEvent is a free log retrieval operation binding the contract event 0x36c6022aad02313069de85ca9645431c7dd5e8e7a21685586461c4b25e2374b3.
Solidity: event OracleSetUpdatedEvent(uint256 indexed _newOracleSetNonce, uint256 _eventNonce, address[] _oracles, uint256[] _powers)
func (*IFxBridgeLogicFilterer) FilterSendToFxEvent ¶
func (_IFxBridgeLogic *IFxBridgeLogicFilterer) FilterSendToFxEvent(opts *bind.FilterOpts, _tokenContract []common.Address, _sender []common.Address, _destination [][32]byte) (*IFxBridgeLogicSendToFxEventIterator, error)
FilterSendToFxEvent is a free log retrieval operation binding the contract event 0x034c5b22dd525a50d0a6b15549df0a6ac83b833a6c3da57ea16890832c72507c.
Solidity: event SendToFxEvent(address indexed _tokenContract, address indexed _sender, bytes32 indexed _destination, bytes32 _targetIBC, uint256 _amount, uint256 _eventNonce)
func (*IFxBridgeLogicFilterer) FilterSubmitBridgeCallEvent ¶
func (_IFxBridgeLogic *IFxBridgeLogicFilterer) FilterSubmitBridgeCallEvent(opts *bind.FilterOpts, _txOrigin []common.Address) (*IFxBridgeLogicSubmitBridgeCallEventIterator, error)
FilterSubmitBridgeCallEvent is a free log retrieval operation binding the contract event 0xa274e2655558a3663f90b9ff4d5409974a0e79ba5f0fb41ec4d582d58ba70580.
Solidity: event SubmitBridgeCallEvent(address indexed _txOrigin, uint256 _nonce, uint256 _eventNonce, bool _success, bytes _cause)
func (*IFxBridgeLogicFilterer) FilterTransactionBatchExecutedEvent ¶
func (_IFxBridgeLogic *IFxBridgeLogicFilterer) FilterTransactionBatchExecutedEvent(opts *bind.FilterOpts, _batchNonce []*big.Int, _token []common.Address) (*IFxBridgeLogicTransactionBatchExecutedEventIterator, error)
FilterTransactionBatchExecutedEvent is a free log retrieval operation binding the contract event 0x02c7e81975f8edb86e2a0c038b7b86a49c744236abf0f6177ff5afc6986ab708.
Solidity: event TransactionBatchExecutedEvent(uint256 indexed _batchNonce, address indexed _token, uint256 _eventNonce)
func (*IFxBridgeLogicFilterer) FilterTransferOwnerEvent ¶
func (_IFxBridgeLogic *IFxBridgeLogicFilterer) FilterTransferOwnerEvent(opts *bind.FilterOpts) (*IFxBridgeLogicTransferOwnerEventIterator, error)
FilterTransferOwnerEvent is a free log retrieval operation binding the contract event 0xb0f1bf050fff9d249d22389b0f2673295260c8deca341a2755d95318f9fbc699.
Solidity: event TransferOwnerEvent(address _token, address _newOwner)
func (*IFxBridgeLogicFilterer) ParseAddBridgeTokenEvent ¶
func (_IFxBridgeLogic *IFxBridgeLogicFilterer) ParseAddBridgeTokenEvent(log types.Log) (*IFxBridgeLogicAddBridgeTokenEvent, error)
ParseAddBridgeTokenEvent is a log parse operation binding the contract event 0x2da8f37eaabc4d44ba4fcc438e404bbed3344322280d6c67497e9c668c87ec0f.
Solidity: event AddBridgeTokenEvent(address indexed _tokenContract, string _name, string _symbol, uint8 _decimals, uint256 _eventNonce, bytes32 _memo)
func (*IFxBridgeLogicFilterer) ParseBridgeCallEvent ¶
func (_IFxBridgeLogic *IFxBridgeLogicFilterer) ParseBridgeCallEvent(log types.Log) (*IFxBridgeLogicBridgeCallEvent, error)
ParseBridgeCallEvent is a log parse operation binding the contract event 0xcaa0e5b7ba998f542b3804184a5d30836451c57f6d1f031c466272e188f4a70f.
Solidity: event BridgeCallEvent(address indexed _sender, address indexed _refund, address indexed _to, address _txOrigin, uint256 _eventNonce, string _dstChain, address[] _tokens, uint256[] _amounts, bytes _data, uint256 _quoteId, uint256 _gasLimit, bytes _memo)
func (*IFxBridgeLogicFilterer) ParseOracleSetUpdatedEvent ¶
func (_IFxBridgeLogic *IFxBridgeLogicFilterer) ParseOracleSetUpdatedEvent(log types.Log) (*IFxBridgeLogicOracleSetUpdatedEvent, error)
ParseOracleSetUpdatedEvent is a log parse operation binding the contract event 0x36c6022aad02313069de85ca9645431c7dd5e8e7a21685586461c4b25e2374b3.
Solidity: event OracleSetUpdatedEvent(uint256 indexed _newOracleSetNonce, uint256 _eventNonce, address[] _oracles, uint256[] _powers)
func (*IFxBridgeLogicFilterer) ParseSendToFxEvent ¶
func (_IFxBridgeLogic *IFxBridgeLogicFilterer) ParseSendToFxEvent(log types.Log) (*IFxBridgeLogicSendToFxEvent, error)
ParseSendToFxEvent is a log parse operation binding the contract event 0x034c5b22dd525a50d0a6b15549df0a6ac83b833a6c3da57ea16890832c72507c.
Solidity: event SendToFxEvent(address indexed _tokenContract, address indexed _sender, bytes32 indexed _destination, bytes32 _targetIBC, uint256 _amount, uint256 _eventNonce)
func (*IFxBridgeLogicFilterer) ParseSubmitBridgeCallEvent ¶
func (_IFxBridgeLogic *IFxBridgeLogicFilterer) ParseSubmitBridgeCallEvent(log types.Log) (*IFxBridgeLogicSubmitBridgeCallEvent, error)
ParseSubmitBridgeCallEvent is a log parse operation binding the contract event 0xa274e2655558a3663f90b9ff4d5409974a0e79ba5f0fb41ec4d582d58ba70580.
Solidity: event SubmitBridgeCallEvent(address indexed _txOrigin, uint256 _nonce, uint256 _eventNonce, bool _success, bytes _cause)
func (*IFxBridgeLogicFilterer) ParseTransactionBatchExecutedEvent ¶
func (_IFxBridgeLogic *IFxBridgeLogicFilterer) ParseTransactionBatchExecutedEvent(log types.Log) (*IFxBridgeLogicTransactionBatchExecutedEvent, error)
ParseTransactionBatchExecutedEvent is a log parse operation binding the contract event 0x02c7e81975f8edb86e2a0c038b7b86a49c744236abf0f6177ff5afc6986ab708.
Solidity: event TransactionBatchExecutedEvent(uint256 indexed _batchNonce, address indexed _token, uint256 _eventNonce)
func (*IFxBridgeLogicFilterer) ParseTransferOwnerEvent ¶
func (_IFxBridgeLogic *IFxBridgeLogicFilterer) ParseTransferOwnerEvent(log types.Log) (*IFxBridgeLogicTransferOwnerEvent, error)
ParseTransferOwnerEvent is a log parse operation binding the contract event 0xb0f1bf050fff9d249d22389b0f2673295260c8deca341a2755d95318f9fbc699.
Solidity: event TransferOwnerEvent(address _token, address _newOwner)
func (*IFxBridgeLogicFilterer) WatchAddBridgeTokenEvent ¶
func (_IFxBridgeLogic *IFxBridgeLogicFilterer) WatchAddBridgeTokenEvent(opts *bind.WatchOpts, sink chan<- *IFxBridgeLogicAddBridgeTokenEvent, _tokenContract []common.Address) (event.Subscription, error)
WatchAddBridgeTokenEvent is a free log subscription operation binding the contract event 0x2da8f37eaabc4d44ba4fcc438e404bbed3344322280d6c67497e9c668c87ec0f.
Solidity: event AddBridgeTokenEvent(address indexed _tokenContract, string _name, string _symbol, uint8 _decimals, uint256 _eventNonce, bytes32 _memo)
func (*IFxBridgeLogicFilterer) WatchBridgeCallEvent ¶
func (_IFxBridgeLogic *IFxBridgeLogicFilterer) WatchBridgeCallEvent(opts *bind.WatchOpts, sink chan<- *IFxBridgeLogicBridgeCallEvent, _sender []common.Address, _refund []common.Address, _to []common.Address) (event.Subscription, error)
WatchBridgeCallEvent is a free log subscription operation binding the contract event 0xcaa0e5b7ba998f542b3804184a5d30836451c57f6d1f031c466272e188f4a70f.
Solidity: event BridgeCallEvent(address indexed _sender, address indexed _refund, address indexed _to, address _txOrigin, uint256 _eventNonce, string _dstChain, address[] _tokens, uint256[] _amounts, bytes _data, uint256 _quoteId, uint256 _gasLimit, bytes _memo)
func (*IFxBridgeLogicFilterer) WatchOracleSetUpdatedEvent ¶
func (_IFxBridgeLogic *IFxBridgeLogicFilterer) WatchOracleSetUpdatedEvent(opts *bind.WatchOpts, sink chan<- *IFxBridgeLogicOracleSetUpdatedEvent, _newOracleSetNonce []*big.Int) (event.Subscription, error)
WatchOracleSetUpdatedEvent is a free log subscription operation binding the contract event 0x36c6022aad02313069de85ca9645431c7dd5e8e7a21685586461c4b25e2374b3.
Solidity: event OracleSetUpdatedEvent(uint256 indexed _newOracleSetNonce, uint256 _eventNonce, address[] _oracles, uint256[] _powers)
func (*IFxBridgeLogicFilterer) WatchSendToFxEvent ¶
func (_IFxBridgeLogic *IFxBridgeLogicFilterer) WatchSendToFxEvent(opts *bind.WatchOpts, sink chan<- *IFxBridgeLogicSendToFxEvent, _tokenContract []common.Address, _sender []common.Address, _destination [][32]byte) (event.Subscription, error)
WatchSendToFxEvent is a free log subscription operation binding the contract event 0x034c5b22dd525a50d0a6b15549df0a6ac83b833a6c3da57ea16890832c72507c.
Solidity: event SendToFxEvent(address indexed _tokenContract, address indexed _sender, bytes32 indexed _destination, bytes32 _targetIBC, uint256 _amount, uint256 _eventNonce)
func (*IFxBridgeLogicFilterer) WatchSubmitBridgeCallEvent ¶
func (_IFxBridgeLogic *IFxBridgeLogicFilterer) WatchSubmitBridgeCallEvent(opts *bind.WatchOpts, sink chan<- *IFxBridgeLogicSubmitBridgeCallEvent, _txOrigin []common.Address) (event.Subscription, error)
WatchSubmitBridgeCallEvent is a free log subscription operation binding the contract event 0xa274e2655558a3663f90b9ff4d5409974a0e79ba5f0fb41ec4d582d58ba70580.
Solidity: event SubmitBridgeCallEvent(address indexed _txOrigin, uint256 _nonce, uint256 _eventNonce, bool _success, bytes _cause)
func (*IFxBridgeLogicFilterer) WatchTransactionBatchExecutedEvent ¶
func (_IFxBridgeLogic *IFxBridgeLogicFilterer) WatchTransactionBatchExecutedEvent(opts *bind.WatchOpts, sink chan<- *IFxBridgeLogicTransactionBatchExecutedEvent, _batchNonce []*big.Int, _token []common.Address) (event.Subscription, error)
WatchTransactionBatchExecutedEvent is a free log subscription operation binding the contract event 0x02c7e81975f8edb86e2a0c038b7b86a49c744236abf0f6177ff5afc6986ab708.
Solidity: event TransactionBatchExecutedEvent(uint256 indexed _batchNonce, address indexed _token, uint256 _eventNonce)
func (*IFxBridgeLogicFilterer) WatchTransferOwnerEvent ¶
func (_IFxBridgeLogic *IFxBridgeLogicFilterer) WatchTransferOwnerEvent(opts *bind.WatchOpts, sink chan<- *IFxBridgeLogicTransferOwnerEvent) (event.Subscription, error)
WatchTransferOwnerEvent is a free log subscription operation binding the contract event 0xb0f1bf050fff9d249d22389b0f2673295260c8deca341a2755d95318f9fbc699.
Solidity: event TransferOwnerEvent(address _token, address _newOwner)
type IFxBridgeLogicOracleSetUpdatedEvent ¶
type IFxBridgeLogicOracleSetUpdatedEvent struct { NewOracleSetNonce *big.Int EventNonce *big.Int Oracles []common.Address Powers []*big.Int Raw types.Log // Blockchain specific contextual infos }
IFxBridgeLogicOracleSetUpdatedEvent represents a OracleSetUpdatedEvent event raised by the IFxBridgeLogic contract.
type IFxBridgeLogicOracleSetUpdatedEventIterator ¶
type IFxBridgeLogicOracleSetUpdatedEventIterator struct { Event *IFxBridgeLogicOracleSetUpdatedEvent // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IFxBridgeLogicOracleSetUpdatedEventIterator is returned from FilterOracleSetUpdatedEvent and is used to iterate over the raw logs and unpacked data for OracleSetUpdatedEvent events raised by the IFxBridgeLogic contract.
func (*IFxBridgeLogicOracleSetUpdatedEventIterator) Close ¶
func (it *IFxBridgeLogicOracleSetUpdatedEventIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IFxBridgeLogicOracleSetUpdatedEventIterator) Error ¶
func (it *IFxBridgeLogicOracleSetUpdatedEventIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IFxBridgeLogicOracleSetUpdatedEventIterator) Next ¶
func (it *IFxBridgeLogicOracleSetUpdatedEventIterator) 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 IFxBridgeLogicRaw ¶
type IFxBridgeLogicRaw struct {
Contract *IFxBridgeLogic // Generic contract binding to access the raw methods on
}
IFxBridgeLogicRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*IFxBridgeLogicRaw) Call ¶
func (_IFxBridgeLogic *IFxBridgeLogicRaw) 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 (*IFxBridgeLogicRaw) Transact ¶
func (_IFxBridgeLogic *IFxBridgeLogicRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IFxBridgeLogicRaw) Transfer ¶
func (_IFxBridgeLogic *IFxBridgeLogicRaw) 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 IFxBridgeLogicSendToFxEvent ¶
type IFxBridgeLogicSendToFxEvent struct { TokenContract common.Address Sender common.Address Destination [32]byte TargetIBC [32]byte Amount *big.Int EventNonce *big.Int Raw types.Log // Blockchain specific contextual infos }
IFxBridgeLogicSendToFxEvent represents a SendToFxEvent event raised by the IFxBridgeLogic contract.
type IFxBridgeLogicSendToFxEventIterator ¶
type IFxBridgeLogicSendToFxEventIterator struct { Event *IFxBridgeLogicSendToFxEvent // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IFxBridgeLogicSendToFxEventIterator is returned from FilterSendToFxEvent and is used to iterate over the raw logs and unpacked data for SendToFxEvent events raised by the IFxBridgeLogic contract.
func (*IFxBridgeLogicSendToFxEventIterator) Close ¶
func (it *IFxBridgeLogicSendToFxEventIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IFxBridgeLogicSendToFxEventIterator) Error ¶
func (it *IFxBridgeLogicSendToFxEventIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IFxBridgeLogicSendToFxEventIterator) Next ¶
func (it *IFxBridgeLogicSendToFxEventIterator) 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 IFxBridgeLogicSession ¶
type IFxBridgeLogicSession struct { Contract *IFxBridgeLogic // 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 }
IFxBridgeLogicSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*IFxBridgeLogicSession) ActiveBridgeToken ¶
func (_IFxBridgeLogic *IFxBridgeLogicSession) ActiveBridgeToken(_tokenAddr common.Address) (*types.Transaction, error)
ActiveBridgeToken is a paid mutator transaction binding the contract method 0xdde65aea.
Solidity: function activeBridgeToken(address _tokenAddr) returns(bool)
func (*IFxBridgeLogicSession) AddBridgeToken ¶
func (_IFxBridgeLogic *IFxBridgeLogicSession) AddBridgeToken(_tokenAddr common.Address, _memo [32]byte, _isOriginated bool) (*types.Transaction, error)
AddBridgeToken is a paid mutator transaction binding the contract method 0xf1099f61.
Solidity: function addBridgeToken(address _tokenAddr, bytes32 _memo, bool _isOriginated) returns(bool)
func (*IFxBridgeLogicSession) BridgeCall ¶
func (_IFxBridgeLogic *IFxBridgeLogicSession) BridgeCall(_dstChain string, _refund common.Address, _tokens []common.Address, _amounts []*big.Int, _to common.Address, _data []byte, _quoteId *big.Int, _gasLimit *big.Int, _memo []byte) (*types.Transaction, error)
BridgeCall is a paid mutator transaction binding the contract method 0xe6d69ede.
Solidity: function bridgeCall(string _dstChain, address _refund, address[] _tokens, uint256[] _amounts, address _to, bytes _data, uint256 _quoteId, uint256 _gasLimit, bytes _memo) payable returns(uint256 _eventNonce)
func (*IFxBridgeLogicSession) BridgeCallCheckpoint ¶
func (_IFxBridgeLogic *IFxBridgeLogicSession) BridgeCallCheckpoint(_fxbridgeId [32]byte, _methodName [32]byte, _nonce *big.Int, _input FxBridgeBaseBridgeCallData) ([32]byte, error)
BridgeCallCheckpoint is a free data retrieval call binding the contract method 0x1cb8b55b.
Solidity: function bridgeCallCheckpoint(bytes32 _fxbridgeId, bytes32 _methodName, uint256 _nonce, (address,address,address[],uint256[],address,bytes,bytes,uint256,uint256,uint256) _input) pure returns(bytes32)
func (*IFxBridgeLogicSession) BridgeTokens ¶
BridgeTokens is a free data retrieval call binding the contract method 0x70e5a898.
Solidity: function bridgeTokens(uint256 _index) view returns(address)
func (*IFxBridgeLogicSession) CheckAssetStatus ¶
func (_IFxBridgeLogic *IFxBridgeLogicSession) CheckAssetStatus(_tokenAddr common.Address) (bool, error)
CheckAssetStatus is a free data retrieval call binding the contract method 0x474d561c.
Solidity: function checkAssetStatus(address _tokenAddr) view returns(bool)
func (*IFxBridgeLogicSession) ConvertDecimals ¶
func (_IFxBridgeLogic *IFxBridgeLogicSession) ConvertDecimals(_erc20Address common.Address) (uint8, error)
ConvertDecimals is a free data retrieval call binding the contract method 0x7d9a8ea6.
Solidity: function convert_decimals(address _erc20Address) view returns(uint8)
func (*IFxBridgeLogicSession) GetBridgeTokenList ¶
func (_IFxBridgeLogic *IFxBridgeLogicSession) GetBridgeTokenList() ([]FxBridgeBaseBridgeToken, error)
GetBridgeTokenList is a free data retrieval call binding the contract method 0x283040b4.
Solidity: function getBridgeTokenList() view returns((address,string,string,uint8)[])
func (*IFxBridgeLogicSession) GetTokenStatus ¶
func (_IFxBridgeLogic *IFxBridgeLogicSession) GetTokenStatus(_tokenAddr common.Address) (FxBridgeBaseTokenStatus, error)
GetTokenStatus is a free data retrieval call binding the contract method 0xa3ff31b5.
Solidity: function getTokenStatus(address _tokenAddr) view returns((bool,bool,bool))
func (*IFxBridgeLogicSession) LastBatchNonce ¶
func (_IFxBridgeLogic *IFxBridgeLogicSession) LastBatchNonce(_erc20Address common.Address) (*big.Int, error)
LastBatchNonce is a free data retrieval call binding the contract method 0x011b2174.
Solidity: function lastBatchNonce(address _erc20Address) view returns(uint256)
func (*IFxBridgeLogicSession) OracleSetCheckpoint ¶
func (_IFxBridgeLogic *IFxBridgeLogicSession) OracleSetCheckpoint(_fxbridgeId [32]byte, _methodName [32]byte, _oracleSetNonce *big.Int, _oracles []common.Address, _powers []*big.Int) ([32]byte, error)
OracleSetCheckpoint is a free data retrieval call binding the contract method 0xa955665f.
Solidity: function oracleSetCheckpoint(bytes32 _fxbridgeId, bytes32 _methodName, uint256 _oracleSetNonce, address[] _oracles, uint256[] _powers) pure returns(bytes32)
func (*IFxBridgeLogicSession) Pause ¶
func (_IFxBridgeLogic *IFxBridgeLogicSession) Pause() (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*IFxBridgeLogicSession) PauseBridgeToken ¶
func (_IFxBridgeLogic *IFxBridgeLogicSession) PauseBridgeToken(_tokenAddr common.Address) (*types.Transaction, error)
PauseBridgeToken is a paid mutator transaction binding the contract method 0xa36a4ab0.
Solidity: function pauseBridgeToken(address _tokenAddr) returns(bool)
func (*IFxBridgeLogicSession) SendToFx ¶
func (_IFxBridgeLogic *IFxBridgeLogicSession) SendToFx(_tokenContract common.Address, _destination [32]byte, _targetIBC [32]byte, _amount *big.Int) (*types.Transaction, error)
SendToFx is a paid mutator transaction binding the contract method 0x6189d107.
Solidity: function sendToFx(address _tokenContract, bytes32 _destination, bytes32 _targetIBC, uint256 _amount) returns()
func (*IFxBridgeLogicSession) StateFxBridgeId ¶
func (_IFxBridgeLogic *IFxBridgeLogicSession) StateFxBridgeId() ([32]byte, error)
StateFxBridgeId is a free data retrieval call binding the contract method 0xf92367fd.
Solidity: function state_fxBridgeId() view returns(bytes32)
func (*IFxBridgeLogicSession) StateLastBatchNonces ¶
func (_IFxBridgeLogic *IFxBridgeLogicSession) StateLastBatchNonces(_erc20Address common.Address) (*big.Int, error)
StateLastBatchNonces is a free data retrieval call binding the contract method 0xdf97174b.
Solidity: function state_lastBatchNonces(address _erc20Address) view returns(uint256)
func (*IFxBridgeLogicSession) StateLastBridgeCallNonces ¶
func (_IFxBridgeLogic *IFxBridgeLogicSession) StateLastBridgeCallNonces(_index *big.Int) (bool, error)
StateLastBridgeCallNonces is a free data retrieval call binding the contract method 0xed51dacf.
Solidity: function state_lastBridgeCallNonces(uint256 _index) view returns(bool)
func (*IFxBridgeLogicSession) StateLastEventNonce ¶
func (_IFxBridgeLogic *IFxBridgeLogicSession) StateLastEventNonce() (*big.Int, error)
StateLastEventNonce is a free data retrieval call binding the contract method 0x73b20547.
Solidity: function state_lastEventNonce() view returns(uint256)
func (*IFxBridgeLogicSession) StateLastOracleSetCheckpoint ¶
func (_IFxBridgeLogic *IFxBridgeLogicSession) StateLastOracleSetCheckpoint() ([32]byte, error)
StateLastOracleSetCheckpoint is a free data retrieval call binding the contract method 0x70a0eb94.
Solidity: function state_lastOracleSetCheckpoint() view returns(bytes32)
func (*IFxBridgeLogicSession) StateLastOracleSetNonce ¶
func (_IFxBridgeLogic *IFxBridgeLogicSession) StateLastOracleSetNonce() (*big.Int, error)
StateLastOracleSetNonce is a free data retrieval call binding the contract method 0xbb83bf96.
Solidity: function state_lastOracleSetNonce() view returns(uint256)
func (*IFxBridgeLogicSession) StatePowerThreshold ¶
func (_IFxBridgeLogic *IFxBridgeLogicSession) StatePowerThreshold() (*big.Int, error)
StatePowerThreshold is a free data retrieval call binding the contract method 0xe5a2b5d2.
Solidity: function state_powerThreshold() view returns(uint256)
func (*IFxBridgeLogicSession) SubmitBatch ¶
func (_IFxBridgeLogic *IFxBridgeLogicSession) SubmitBatch(_currentOracles []common.Address, _currentPowers []*big.Int, _v []uint8, _r [][32]byte, _s [][32]byte, _amounts []*big.Int, _destinations []common.Address, _fees []*big.Int, _nonceArray [2]*big.Int, _tokenContract common.Address, _batchTimeout *big.Int, _feeReceive common.Address) (*types.Transaction, error)
SubmitBatch is a paid mutator transaction binding the contract method 0x332caa1f.
Solidity: function submitBatch(address[] _currentOracles, uint256[] _currentPowers, uint8[] _v, bytes32[] _r, bytes32[] _s, uint256[] _amounts, address[] _destinations, uint256[] _fees, uint256[2] _nonceArray, address _tokenContract, uint256 _batchTimeout, address _feeReceive) returns()
func (*IFxBridgeLogicSession) SubmitBatchCheckpoint ¶
func (_IFxBridgeLogic *IFxBridgeLogicSession) SubmitBatchCheckpoint(_fxbridgeId [32]byte, _methodName [32]byte, _amounts []*big.Int, _destinations []common.Address, _fees []*big.Int, _batchNonce *big.Int, _tokenContract common.Address, _batchTimeout *big.Int, _feeReceive common.Address) ([32]byte, error)
SubmitBatchCheckpoint is a free data retrieval call binding the contract method 0x3d1e51f9.
Solidity: function submitBatchCheckpoint(bytes32 _fxbridgeId, bytes32 _methodName, uint256[] _amounts, address[] _destinations, uint256[] _fees, uint256 _batchNonce, address _tokenContract, uint256 _batchTimeout, address _feeReceive) pure returns(bytes32)
func (*IFxBridgeLogicSession) SubmitBridgeCall ¶
func (_IFxBridgeLogic *IFxBridgeLogicSession) SubmitBridgeCall(_curOracleSigns FxBridgeBaseOracleSignatures, _nonceArray [2]*big.Int, _input FxBridgeBaseBridgeCallData) (*types.Transaction, error)
SubmitBridgeCall is a paid mutator transaction binding the contract method 0x9a5aa044.
Solidity: function submitBridgeCall((address[],uint256[],bytes32[],bytes32[],uint8[]) _curOracleSigns, uint256[2] _nonceArray, (address,address,address[],uint256[],address,bytes,bytes,uint256,uint256,uint256) _input) returns()
func (*IFxBridgeLogicSession) TransferOwner ¶
func (_IFxBridgeLogic *IFxBridgeLogicSession) TransferOwner(_token common.Address, _newOwner common.Address) (*types.Transaction, error)
TransferOwner is a paid mutator transaction binding the contract method 0x31678cf6.
Solidity: function transferOwner(address _token, address _newOwner) returns(bool)
func (*IFxBridgeLogicSession) Unpause ¶
func (_IFxBridgeLogic *IFxBridgeLogicSession) Unpause() (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
func (*IFxBridgeLogicSession) UpdateOracleSet ¶
func (_IFxBridgeLogic *IFxBridgeLogicSession) UpdateOracleSet(_newOracles []common.Address, _newPowers []*big.Int, _newOracleSetNonce *big.Int, _currentOracles []common.Address, _currentPowers []*big.Int, _currentOracleSetNonce *big.Int, _v []uint8, _r [][32]byte, _s [][32]byte) (*types.Transaction, error)
UpdateOracleSet is a paid mutator transaction binding the contract method 0x3a08e299.
Solidity: function updateOracleSet(address[] _newOracles, uint256[] _newPowers, uint256 _newOracleSetNonce, address[] _currentOracles, uint256[] _currentPowers, uint256 _currentOracleSetNonce, uint8[] _v, bytes32[] _r, bytes32[] _s) returns()
func (*IFxBridgeLogicSession) Version ¶
func (_IFxBridgeLogic *IFxBridgeLogicSession) Version() (string, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() view returns(string)
type IFxBridgeLogicSubmitBridgeCallEvent ¶
type IFxBridgeLogicSubmitBridgeCallEvent struct { TxOrigin common.Address Nonce *big.Int EventNonce *big.Int Success bool Cause []byte Raw types.Log // Blockchain specific contextual infos }
IFxBridgeLogicSubmitBridgeCallEvent represents a SubmitBridgeCallEvent event raised by the IFxBridgeLogic contract.
type IFxBridgeLogicSubmitBridgeCallEventIterator ¶
type IFxBridgeLogicSubmitBridgeCallEventIterator struct { Event *IFxBridgeLogicSubmitBridgeCallEvent // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IFxBridgeLogicSubmitBridgeCallEventIterator is returned from FilterSubmitBridgeCallEvent and is used to iterate over the raw logs and unpacked data for SubmitBridgeCallEvent events raised by the IFxBridgeLogic contract.
func (*IFxBridgeLogicSubmitBridgeCallEventIterator) Close ¶
func (it *IFxBridgeLogicSubmitBridgeCallEventIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IFxBridgeLogicSubmitBridgeCallEventIterator) Error ¶
func (it *IFxBridgeLogicSubmitBridgeCallEventIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IFxBridgeLogicSubmitBridgeCallEventIterator) Next ¶
func (it *IFxBridgeLogicSubmitBridgeCallEventIterator) 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 IFxBridgeLogicTransactionBatchExecutedEvent ¶
type IFxBridgeLogicTransactionBatchExecutedEvent struct { BatchNonce *big.Int Token common.Address EventNonce *big.Int Raw types.Log // Blockchain specific contextual infos }
IFxBridgeLogicTransactionBatchExecutedEvent represents a TransactionBatchExecutedEvent event raised by the IFxBridgeLogic contract.
type IFxBridgeLogicTransactionBatchExecutedEventIterator ¶
type IFxBridgeLogicTransactionBatchExecutedEventIterator struct { Event *IFxBridgeLogicTransactionBatchExecutedEvent // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IFxBridgeLogicTransactionBatchExecutedEventIterator is returned from FilterTransactionBatchExecutedEvent and is used to iterate over the raw logs and unpacked data for TransactionBatchExecutedEvent events raised by the IFxBridgeLogic contract.
func (*IFxBridgeLogicTransactionBatchExecutedEventIterator) Close ¶
func (it *IFxBridgeLogicTransactionBatchExecutedEventIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IFxBridgeLogicTransactionBatchExecutedEventIterator) Error ¶
func (it *IFxBridgeLogicTransactionBatchExecutedEventIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IFxBridgeLogicTransactionBatchExecutedEventIterator) Next ¶
func (it *IFxBridgeLogicTransactionBatchExecutedEventIterator) 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 IFxBridgeLogicTransactor ¶
type IFxBridgeLogicTransactor struct {
// contains filtered or unexported fields
}
IFxBridgeLogicTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewIFxBridgeLogicTransactor ¶
func NewIFxBridgeLogicTransactor(address common.Address, transactor bind.ContractTransactor) (*IFxBridgeLogicTransactor, error)
NewIFxBridgeLogicTransactor creates a new write-only instance of IFxBridgeLogic, bound to a specific deployed contract.
func (*IFxBridgeLogicTransactor) ActiveBridgeToken ¶
func (_IFxBridgeLogic *IFxBridgeLogicTransactor) ActiveBridgeToken(opts *bind.TransactOpts, _tokenAddr common.Address) (*types.Transaction, error)
ActiveBridgeToken is a paid mutator transaction binding the contract method 0xdde65aea.
Solidity: function activeBridgeToken(address _tokenAddr) returns(bool)
func (*IFxBridgeLogicTransactor) AddBridgeToken ¶
func (_IFxBridgeLogic *IFxBridgeLogicTransactor) AddBridgeToken(opts *bind.TransactOpts, _tokenAddr common.Address, _memo [32]byte, _isOriginated bool) (*types.Transaction, error)
AddBridgeToken is a paid mutator transaction binding the contract method 0xf1099f61.
Solidity: function addBridgeToken(address _tokenAddr, bytes32 _memo, bool _isOriginated) returns(bool)
func (*IFxBridgeLogicTransactor) BridgeCall ¶
func (_IFxBridgeLogic *IFxBridgeLogicTransactor) BridgeCall(opts *bind.TransactOpts, _dstChain string, _refund common.Address, _tokens []common.Address, _amounts []*big.Int, _to common.Address, _data []byte, _quoteId *big.Int, _gasLimit *big.Int, _memo []byte) (*types.Transaction, error)
BridgeCall is a paid mutator transaction binding the contract method 0xe6d69ede.
Solidity: function bridgeCall(string _dstChain, address _refund, address[] _tokens, uint256[] _amounts, address _to, bytes _data, uint256 _quoteId, uint256 _gasLimit, bytes _memo) payable returns(uint256 _eventNonce)
func (*IFxBridgeLogicTransactor) Pause ¶
func (_IFxBridgeLogic *IFxBridgeLogicTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*IFxBridgeLogicTransactor) PauseBridgeToken ¶
func (_IFxBridgeLogic *IFxBridgeLogicTransactor) PauseBridgeToken(opts *bind.TransactOpts, _tokenAddr common.Address) (*types.Transaction, error)
PauseBridgeToken is a paid mutator transaction binding the contract method 0xa36a4ab0.
Solidity: function pauseBridgeToken(address _tokenAddr) returns(bool)
func (*IFxBridgeLogicTransactor) SendToFx ¶
func (_IFxBridgeLogic *IFxBridgeLogicTransactor) SendToFx(opts *bind.TransactOpts, _tokenContract common.Address, _destination [32]byte, _targetIBC [32]byte, _amount *big.Int) (*types.Transaction, error)
SendToFx is a paid mutator transaction binding the contract method 0x6189d107.
Solidity: function sendToFx(address _tokenContract, bytes32 _destination, bytes32 _targetIBC, uint256 _amount) returns()
func (*IFxBridgeLogicTransactor) SubmitBatch ¶
func (_IFxBridgeLogic *IFxBridgeLogicTransactor) SubmitBatch(opts *bind.TransactOpts, _currentOracles []common.Address, _currentPowers []*big.Int, _v []uint8, _r [][32]byte, _s [][32]byte, _amounts []*big.Int, _destinations []common.Address, _fees []*big.Int, _nonceArray [2]*big.Int, _tokenContract common.Address, _batchTimeout *big.Int, _feeReceive common.Address) (*types.Transaction, error)
SubmitBatch is a paid mutator transaction binding the contract method 0x332caa1f.
Solidity: function submitBatch(address[] _currentOracles, uint256[] _currentPowers, uint8[] _v, bytes32[] _r, bytes32[] _s, uint256[] _amounts, address[] _destinations, uint256[] _fees, uint256[2] _nonceArray, address _tokenContract, uint256 _batchTimeout, address _feeReceive) returns()
func (*IFxBridgeLogicTransactor) SubmitBridgeCall ¶
func (_IFxBridgeLogic *IFxBridgeLogicTransactor) SubmitBridgeCall(opts *bind.TransactOpts, _curOracleSigns FxBridgeBaseOracleSignatures, _nonceArray [2]*big.Int, _input FxBridgeBaseBridgeCallData) (*types.Transaction, error)
SubmitBridgeCall is a paid mutator transaction binding the contract method 0x9a5aa044.
Solidity: function submitBridgeCall((address[],uint256[],bytes32[],bytes32[],uint8[]) _curOracleSigns, uint256[2] _nonceArray, (address,address,address[],uint256[],address,bytes,bytes,uint256,uint256,uint256) _input) returns()
func (*IFxBridgeLogicTransactor) TransferOwner ¶
func (_IFxBridgeLogic *IFxBridgeLogicTransactor) TransferOwner(opts *bind.TransactOpts, _token common.Address, _newOwner common.Address) (*types.Transaction, error)
TransferOwner is a paid mutator transaction binding the contract method 0x31678cf6.
Solidity: function transferOwner(address _token, address _newOwner) returns(bool)
func (*IFxBridgeLogicTransactor) Unpause ¶
func (_IFxBridgeLogic *IFxBridgeLogicTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
func (*IFxBridgeLogicTransactor) UpdateOracleSet ¶
func (_IFxBridgeLogic *IFxBridgeLogicTransactor) UpdateOracleSet(opts *bind.TransactOpts, _newOracles []common.Address, _newPowers []*big.Int, _newOracleSetNonce *big.Int, _currentOracles []common.Address, _currentPowers []*big.Int, _currentOracleSetNonce *big.Int, _v []uint8, _r [][32]byte, _s [][32]byte) (*types.Transaction, error)
UpdateOracleSet is a paid mutator transaction binding the contract method 0x3a08e299.
Solidity: function updateOracleSet(address[] _newOracles, uint256[] _newPowers, uint256 _newOracleSetNonce, address[] _currentOracles, uint256[] _currentPowers, uint256 _currentOracleSetNonce, uint8[] _v, bytes32[] _r, bytes32[] _s) returns()
type IFxBridgeLogicTransactorRaw ¶
type IFxBridgeLogicTransactorRaw struct {
Contract *IFxBridgeLogicTransactor // Generic write-only contract binding to access the raw methods on
}
IFxBridgeLogicTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*IFxBridgeLogicTransactorRaw) Transact ¶
func (_IFxBridgeLogic *IFxBridgeLogicTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IFxBridgeLogicTransactorRaw) Transfer ¶
func (_IFxBridgeLogic *IFxBridgeLogicTransactorRaw) 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 IFxBridgeLogicTransactorSession ¶
type IFxBridgeLogicTransactorSession struct { Contract *IFxBridgeLogicTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
IFxBridgeLogicTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*IFxBridgeLogicTransactorSession) ActiveBridgeToken ¶
func (_IFxBridgeLogic *IFxBridgeLogicTransactorSession) ActiveBridgeToken(_tokenAddr common.Address) (*types.Transaction, error)
ActiveBridgeToken is a paid mutator transaction binding the contract method 0xdde65aea.
Solidity: function activeBridgeToken(address _tokenAddr) returns(bool)
func (*IFxBridgeLogicTransactorSession) AddBridgeToken ¶
func (_IFxBridgeLogic *IFxBridgeLogicTransactorSession) AddBridgeToken(_tokenAddr common.Address, _memo [32]byte, _isOriginated bool) (*types.Transaction, error)
AddBridgeToken is a paid mutator transaction binding the contract method 0xf1099f61.
Solidity: function addBridgeToken(address _tokenAddr, bytes32 _memo, bool _isOriginated) returns(bool)
func (*IFxBridgeLogicTransactorSession) BridgeCall ¶
func (_IFxBridgeLogic *IFxBridgeLogicTransactorSession) BridgeCall(_dstChain string, _refund common.Address, _tokens []common.Address, _amounts []*big.Int, _to common.Address, _data []byte, _quoteId *big.Int, _gasLimit *big.Int, _memo []byte) (*types.Transaction, error)
BridgeCall is a paid mutator transaction binding the contract method 0xe6d69ede.
Solidity: function bridgeCall(string _dstChain, address _refund, address[] _tokens, uint256[] _amounts, address _to, bytes _data, uint256 _quoteId, uint256 _gasLimit, bytes _memo) payable returns(uint256 _eventNonce)
func (*IFxBridgeLogicTransactorSession) Pause ¶
func (_IFxBridgeLogic *IFxBridgeLogicTransactorSession) Pause() (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*IFxBridgeLogicTransactorSession) PauseBridgeToken ¶
func (_IFxBridgeLogic *IFxBridgeLogicTransactorSession) PauseBridgeToken(_tokenAddr common.Address) (*types.Transaction, error)
PauseBridgeToken is a paid mutator transaction binding the contract method 0xa36a4ab0.
Solidity: function pauseBridgeToken(address _tokenAddr) returns(bool)
func (*IFxBridgeLogicTransactorSession) SendToFx ¶
func (_IFxBridgeLogic *IFxBridgeLogicTransactorSession) SendToFx(_tokenContract common.Address, _destination [32]byte, _targetIBC [32]byte, _amount *big.Int) (*types.Transaction, error)
SendToFx is a paid mutator transaction binding the contract method 0x6189d107.
Solidity: function sendToFx(address _tokenContract, bytes32 _destination, bytes32 _targetIBC, uint256 _amount) returns()
func (*IFxBridgeLogicTransactorSession) SubmitBatch ¶
func (_IFxBridgeLogic *IFxBridgeLogicTransactorSession) SubmitBatch(_currentOracles []common.Address, _currentPowers []*big.Int, _v []uint8, _r [][32]byte, _s [][32]byte, _amounts []*big.Int, _destinations []common.Address, _fees []*big.Int, _nonceArray [2]*big.Int, _tokenContract common.Address, _batchTimeout *big.Int, _feeReceive common.Address) (*types.Transaction, error)
SubmitBatch is a paid mutator transaction binding the contract method 0x332caa1f.
Solidity: function submitBatch(address[] _currentOracles, uint256[] _currentPowers, uint8[] _v, bytes32[] _r, bytes32[] _s, uint256[] _amounts, address[] _destinations, uint256[] _fees, uint256[2] _nonceArray, address _tokenContract, uint256 _batchTimeout, address _feeReceive) returns()
func (*IFxBridgeLogicTransactorSession) SubmitBridgeCall ¶
func (_IFxBridgeLogic *IFxBridgeLogicTransactorSession) SubmitBridgeCall(_curOracleSigns FxBridgeBaseOracleSignatures, _nonceArray [2]*big.Int, _input FxBridgeBaseBridgeCallData) (*types.Transaction, error)
SubmitBridgeCall is a paid mutator transaction binding the contract method 0x9a5aa044.
Solidity: function submitBridgeCall((address[],uint256[],bytes32[],bytes32[],uint8[]) _curOracleSigns, uint256[2] _nonceArray, (address,address,address[],uint256[],address,bytes,bytes,uint256,uint256,uint256) _input) returns()
func (*IFxBridgeLogicTransactorSession) TransferOwner ¶
func (_IFxBridgeLogic *IFxBridgeLogicTransactorSession) TransferOwner(_token common.Address, _newOwner common.Address) (*types.Transaction, error)
TransferOwner is a paid mutator transaction binding the contract method 0x31678cf6.
Solidity: function transferOwner(address _token, address _newOwner) returns(bool)
func (*IFxBridgeLogicTransactorSession) Unpause ¶
func (_IFxBridgeLogic *IFxBridgeLogicTransactorSession) Unpause() (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
func (*IFxBridgeLogicTransactorSession) UpdateOracleSet ¶
func (_IFxBridgeLogic *IFxBridgeLogicTransactorSession) UpdateOracleSet(_newOracles []common.Address, _newPowers []*big.Int, _newOracleSetNonce *big.Int, _currentOracles []common.Address, _currentPowers []*big.Int, _currentOracleSetNonce *big.Int, _v []uint8, _r [][32]byte, _s [][32]byte) (*types.Transaction, error)
UpdateOracleSet is a paid mutator transaction binding the contract method 0x3a08e299.
Solidity: function updateOracleSet(address[] _newOracles, uint256[] _newPowers, uint256 _newOracleSetNonce, address[] _currentOracles, uint256[] _currentPowers, uint256 _currentOracleSetNonce, uint8[] _v, bytes32[] _r, bytes32[] _s) returns()
type IFxBridgeLogicTransferOwnerEvent ¶
type IFxBridgeLogicTransferOwnerEvent struct { Token common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
IFxBridgeLogicTransferOwnerEvent represents a TransferOwnerEvent event raised by the IFxBridgeLogic contract.
type IFxBridgeLogicTransferOwnerEventIterator ¶
type IFxBridgeLogicTransferOwnerEventIterator struct { Event *IFxBridgeLogicTransferOwnerEvent // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IFxBridgeLogicTransferOwnerEventIterator is returned from FilterTransferOwnerEvent and is used to iterate over the raw logs and unpacked data for TransferOwnerEvent events raised by the IFxBridgeLogic contract.
func (*IFxBridgeLogicTransferOwnerEventIterator) Close ¶
func (it *IFxBridgeLogicTransferOwnerEventIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IFxBridgeLogicTransferOwnerEventIterator) Error ¶
func (it *IFxBridgeLogicTransferOwnerEventIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IFxBridgeLogicTransferOwnerEventIterator) Next ¶
func (it *IFxBridgeLogicTransferOwnerEventIterator) 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 IStaking ¶
type IStaking struct { IStakingCaller // Read-only binding to the contract IStakingTransactor // Write-only binding to the contract IStakingFilterer // Log filterer for contract events }
IStaking is an auto generated Go binding around an Ethereum contract.
func NewIStaking ¶
NewIStaking creates a new instance of IStaking, bound to a specific deployed contract.
type IStakingApproveShares ¶
type IStakingApproveShares struct {}
IStakingApproveShares represents a ApproveShares event raised by the IStaking contract.
type IStakingApproveSharesIterator ¶
type IStakingApproveSharesIterator struct { // contains filtered or unexported fields }
IStakingApproveSharesIterator is returned from FilterApproveShares and is used to iterate over the raw logs and unpacked data for ApproveShares events raised by the IStaking contract.
func (*IStakingApproveSharesIterator) Close ¶
func (it *IStakingApproveSharesIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IStakingApproveSharesIterator) Error ¶
func (it *IStakingApproveSharesIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IStakingApproveSharesIterator) Next ¶
func (it *IStakingApproveSharesIterator) 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 IStakingCaller ¶
type IStakingCaller struct {
// contains filtered or unexported fields
}
IStakingCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewIStakingCaller ¶
func NewIStakingCaller(address common.Address, caller bind.ContractCaller) (*IStakingCaller, error)
NewIStakingCaller creates a new read-only instance of IStaking, bound to a specific deployed contract.
func (*IStakingCaller) AllowanceShares ¶
func (_IStaking *IStakingCaller) AllowanceShares(opts *bind.CallOpts, _val string, _owner common.Address, _spender common.Address) (*big.Int, error)
AllowanceShares is a free data retrieval call binding the contract method 0x7b625c0f.
Solidity: function allowanceShares(string _val, address _owner, address _spender) view returns(uint256 _shares)
func (*IStakingCaller) Delegation ¶
func (_IStaking *IStakingCaller) Delegation(opts *bind.CallOpts, _val string, _del common.Address) (struct { Shares *big.Int DelegateAmount *big.Int }, error)
Delegation is a free data retrieval call binding the contract method 0xd5c498eb.
Solidity: function delegation(string _val, address _del) view returns(uint256 _shares, uint256 _delegateAmount)
func (*IStakingCaller) DelegationRewards ¶
func (_IStaking *IStakingCaller) DelegationRewards(opts *bind.CallOpts, _val string, _del common.Address) (*big.Int, error)
DelegationRewards is a free data retrieval call binding the contract method 0x51af513a.
Solidity: function delegationRewards(string _val, address _del) view returns(uint256 _reward)
func (*IStakingCaller) SlashingInfo ¶
func (_IStaking *IStakingCaller) SlashingInfo(opts *bind.CallOpts, _val string) (struct { Jailed bool Missed *big.Int }, error)
SlashingInfo is a free data retrieval call binding the contract method 0x4e94633a.
Solidity: function slashingInfo(string _val) view returns(bool _jailed, uint256 _missed)
func (*IStakingCaller) ValidatorList ¶
func (_IStaking *IStakingCaller) ValidatorList(opts *bind.CallOpts, _sortBy uint8) ([]string, error)
ValidatorList is a free data retrieval call binding the contract method 0x029c0a51.
Solidity: function validatorList(uint8 _sortBy) view returns(string[])
type IStakingCallerRaw ¶
type IStakingCallerRaw struct {
Contract *IStakingCaller // Generic read-only contract binding to access the raw methods on
}
IStakingCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*IStakingCallerRaw) Call ¶
func (_IStaking *IStakingCallerRaw) 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 IStakingCallerSession ¶
type IStakingCallerSession struct { Contract *IStakingCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
IStakingCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*IStakingCallerSession) AllowanceShares ¶
func (_IStaking *IStakingCallerSession) AllowanceShares(_val string, _owner common.Address, _spender common.Address) (*big.Int, error)
AllowanceShares is a free data retrieval call binding the contract method 0x7b625c0f.
Solidity: function allowanceShares(string _val, address _owner, address _spender) view returns(uint256 _shares)
func (*IStakingCallerSession) Delegation ¶
func (_IStaking *IStakingCallerSession) Delegation(_val string, _del common.Address) (struct { Shares *big.Int DelegateAmount *big.Int }, error)
Delegation is a free data retrieval call binding the contract method 0xd5c498eb.
Solidity: function delegation(string _val, address _del) view returns(uint256 _shares, uint256 _delegateAmount)
func (*IStakingCallerSession) DelegationRewards ¶
func (_IStaking *IStakingCallerSession) DelegationRewards(_val string, _del common.Address) (*big.Int, error)
DelegationRewards is a free data retrieval call binding the contract method 0x51af513a.
Solidity: function delegationRewards(string _val, address _del) view returns(uint256 _reward)
func (*IStakingCallerSession) SlashingInfo ¶
func (_IStaking *IStakingCallerSession) SlashingInfo(_val string) (struct { Jailed bool Missed *big.Int }, error)
SlashingInfo is a free data retrieval call binding the contract method 0x4e94633a.
Solidity: function slashingInfo(string _val) view returns(bool _jailed, uint256 _missed)
func (*IStakingCallerSession) ValidatorList ¶
func (_IStaking *IStakingCallerSession) ValidatorList(_sortBy uint8) ([]string, error)
ValidatorList is a free data retrieval call binding the contract method 0x029c0a51.
Solidity: function validatorList(uint8 _sortBy) view returns(string[])
type IStakingDelegateV2 ¶
type IStakingDelegateV2 struct { Delegator common.Address Validator string Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
IStakingDelegateV2 represents a DelegateV2 event raised by the IStaking contract.
type IStakingDelegateV2Iterator ¶
type IStakingDelegateV2Iterator struct { Event *IStakingDelegateV2 // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IStakingDelegateV2Iterator is returned from FilterDelegateV2 and is used to iterate over the raw logs and unpacked data for DelegateV2 events raised by the IStaking contract.
func (*IStakingDelegateV2Iterator) Close ¶
func (it *IStakingDelegateV2Iterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IStakingDelegateV2Iterator) Error ¶
func (it *IStakingDelegateV2Iterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IStakingDelegateV2Iterator) Next ¶
func (it *IStakingDelegateV2Iterator) 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 IStakingFilterer ¶
type IStakingFilterer struct {
// contains filtered or unexported fields
}
IStakingFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewIStakingFilterer ¶
func NewIStakingFilterer(address common.Address, filterer bind.ContractFilterer) (*IStakingFilterer, error)
NewIStakingFilterer creates a new log filterer instance of IStaking, bound to a specific deployed contract.
func (*IStakingFilterer) FilterApproveShares ¶
func (_IStaking *IStakingFilterer) FilterApproveShares(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*IStakingApproveSharesIterator, error)
FilterApproveShares is a free log retrieval operation binding the contract event 0xbd99ef1c86c593a90a79f794ca07759c5a04cf54bf800cfb77bb0b9fdb9bc04a.
Solidity: event ApproveShares(address indexed owner, address indexed spender, string validator, uint256 shares)
func (*IStakingFilterer) FilterDelegateV2 ¶
func (_IStaking *IStakingFilterer) FilterDelegateV2(opts *bind.FilterOpts, delegator []common.Address) (*IStakingDelegateV2Iterator, error)
FilterDelegateV2 is a free log retrieval operation binding the contract event 0x330852c9460e583c049d932477c038fca307363fa8c1083a332905a68b821f10.
Solidity: event DelegateV2(address indexed delegator, string validator, uint256 amount)
func (*IStakingFilterer) FilterRedelegateV2 ¶
func (_IStaking *IStakingFilterer) FilterRedelegateV2(opts *bind.FilterOpts, sender []common.Address) (*IStakingRedelegateV2Iterator, error)
FilterRedelegateV2 is a free log retrieval operation binding the contract event 0xdcf3a72a725100ce405b1ea62706114bec51d16536bf2cf868772ca440fe0da9.
Solidity: event RedelegateV2(address indexed sender, string valSrc, string valDst, uint256 amount, uint256 completionTime)
func (*IStakingFilterer) FilterTransferShares ¶
func (_IStaking *IStakingFilterer) FilterTransferShares(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*IStakingTransferSharesIterator, error)
FilterTransferShares is a free log retrieval operation binding the contract event 0x77a2ac7846d05ab9937faf9bf901529bef4b499a2939e632f99b3fab92448344.
Solidity: event TransferShares(address indexed from, address indexed to, string validator, uint256 shares, uint256 token)
func (*IStakingFilterer) FilterUndelegateV2 ¶
func (_IStaking *IStakingFilterer) FilterUndelegateV2(opts *bind.FilterOpts, sender []common.Address) (*IStakingUndelegateV2Iterator, error)
FilterUndelegateV2 is a free log retrieval operation binding the contract event 0x4d3e71c3e3ff90f64b7095a17eb6b6cdd1ca0f0563102ef30415f73cb64b866f.
Solidity: event UndelegateV2(address indexed sender, string validator, uint256 amount, uint256 completionTime)
func (*IStakingFilterer) FilterWithdraw ¶
func (_IStaking *IStakingFilterer) FilterWithdraw(opts *bind.FilterOpts, sender []common.Address) (*IStakingWithdrawIterator, error)
FilterWithdraw is a free log retrieval operation binding the contract event 0x901c03da5d88eb3d62ab4617e7b7d17d86db16356823a7971127d5181a842fef.
Solidity: event Withdraw(address indexed sender, string validator, uint256 reward)
func (*IStakingFilterer) ParseApproveShares ¶
func (_IStaking *IStakingFilterer) ParseApproveShares(log types.Log) (*IStakingApproveShares, error)
ParseApproveShares is a log parse operation binding the contract event 0xbd99ef1c86c593a90a79f794ca07759c5a04cf54bf800cfb77bb0b9fdb9bc04a.
Solidity: event ApproveShares(address indexed owner, address indexed spender, string validator, uint256 shares)
func (*IStakingFilterer) ParseDelegateV2 ¶
func (_IStaking *IStakingFilterer) ParseDelegateV2(log types.Log) (*IStakingDelegateV2, error)
ParseDelegateV2 is a log parse operation binding the contract event 0x330852c9460e583c049d932477c038fca307363fa8c1083a332905a68b821f10.
Solidity: event DelegateV2(address indexed delegator, string validator, uint256 amount)
func (*IStakingFilterer) ParseRedelegateV2 ¶
func (_IStaking *IStakingFilterer) ParseRedelegateV2(log types.Log) (*IStakingRedelegateV2, error)
ParseRedelegateV2 is a log parse operation binding the contract event 0xdcf3a72a725100ce405b1ea62706114bec51d16536bf2cf868772ca440fe0da9.
Solidity: event RedelegateV2(address indexed sender, string valSrc, string valDst, uint256 amount, uint256 completionTime)
func (*IStakingFilterer) ParseTransferShares ¶
func (_IStaking *IStakingFilterer) ParseTransferShares(log types.Log) (*IStakingTransferShares, error)
ParseTransferShares is a log parse operation binding the contract event 0x77a2ac7846d05ab9937faf9bf901529bef4b499a2939e632f99b3fab92448344.
Solidity: event TransferShares(address indexed from, address indexed to, string validator, uint256 shares, uint256 token)
func (*IStakingFilterer) ParseUndelegateV2 ¶
func (_IStaking *IStakingFilterer) ParseUndelegateV2(log types.Log) (*IStakingUndelegateV2, error)
ParseUndelegateV2 is a log parse operation binding the contract event 0x4d3e71c3e3ff90f64b7095a17eb6b6cdd1ca0f0563102ef30415f73cb64b866f.
Solidity: event UndelegateV2(address indexed sender, string validator, uint256 amount, uint256 completionTime)
func (*IStakingFilterer) ParseWithdraw ¶
func (_IStaking *IStakingFilterer) ParseWithdraw(log types.Log) (*IStakingWithdraw, error)
ParseWithdraw is a log parse operation binding the contract event 0x901c03da5d88eb3d62ab4617e7b7d17d86db16356823a7971127d5181a842fef.
Solidity: event Withdraw(address indexed sender, string validator, uint256 reward)
func (*IStakingFilterer) WatchApproveShares ¶
func (_IStaking *IStakingFilterer) WatchApproveShares(opts *bind.WatchOpts, sink chan<- *IStakingApproveShares, owner []common.Address, spender []common.Address) (event.Subscription, error)
WatchApproveShares is a free log subscription operation binding the contract event 0xbd99ef1c86c593a90a79f794ca07759c5a04cf54bf800cfb77bb0b9fdb9bc04a.
Solidity: event ApproveShares(address indexed owner, address indexed spender, string validator, uint256 shares)
func (*IStakingFilterer) WatchDelegateV2 ¶
func (_IStaking *IStakingFilterer) WatchDelegateV2(opts *bind.WatchOpts, sink chan<- *IStakingDelegateV2, delegator []common.Address) (event.Subscription, error)
WatchDelegateV2 is a free log subscription operation binding the contract event 0x330852c9460e583c049d932477c038fca307363fa8c1083a332905a68b821f10.
Solidity: event DelegateV2(address indexed delegator, string validator, uint256 amount)
func (*IStakingFilterer) WatchRedelegateV2 ¶
func (_IStaking *IStakingFilterer) WatchRedelegateV2(opts *bind.WatchOpts, sink chan<- *IStakingRedelegateV2, sender []common.Address) (event.Subscription, error)
WatchRedelegateV2 is a free log subscription operation binding the contract event 0xdcf3a72a725100ce405b1ea62706114bec51d16536bf2cf868772ca440fe0da9.
Solidity: event RedelegateV2(address indexed sender, string valSrc, string valDst, uint256 amount, uint256 completionTime)
func (*IStakingFilterer) WatchTransferShares ¶
func (_IStaking *IStakingFilterer) WatchTransferShares(opts *bind.WatchOpts, sink chan<- *IStakingTransferShares, from []common.Address, to []common.Address) (event.Subscription, error)
WatchTransferShares is a free log subscription operation binding the contract event 0x77a2ac7846d05ab9937faf9bf901529bef4b499a2939e632f99b3fab92448344.
Solidity: event TransferShares(address indexed from, address indexed to, string validator, uint256 shares, uint256 token)
func (*IStakingFilterer) WatchUndelegateV2 ¶
func (_IStaking *IStakingFilterer) WatchUndelegateV2(opts *bind.WatchOpts, sink chan<- *IStakingUndelegateV2, sender []common.Address) (event.Subscription, error)
WatchUndelegateV2 is a free log subscription operation binding the contract event 0x4d3e71c3e3ff90f64b7095a17eb6b6cdd1ca0f0563102ef30415f73cb64b866f.
Solidity: event UndelegateV2(address indexed sender, string validator, uint256 amount, uint256 completionTime)
func (*IStakingFilterer) WatchWithdraw ¶
func (_IStaking *IStakingFilterer) WatchWithdraw(opts *bind.WatchOpts, sink chan<- *IStakingWithdraw, sender []common.Address) (event.Subscription, error)
WatchWithdraw is a free log subscription operation binding the contract event 0x901c03da5d88eb3d62ab4617e7b7d17d86db16356823a7971127d5181a842fef.
Solidity: event Withdraw(address indexed sender, string validator, uint256 reward)
type IStakingRaw ¶
type IStakingRaw struct {
Contract *IStaking // Generic contract binding to access the raw methods on
}
IStakingRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*IStakingRaw) Call ¶
func (_IStaking *IStakingRaw) 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 (*IStakingRaw) Transact ¶
func (_IStaking *IStakingRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IStakingRaw) Transfer ¶
func (_IStaking *IStakingRaw) 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 IStakingRedelegateV2 ¶
type IStakingRedelegateV2 struct { Sender common.Address ValSrc string ValDst string Amount *big.Int CompletionTime *big.Int Raw types.Log // Blockchain specific contextual infos }
IStakingRedelegateV2 represents a RedelegateV2 event raised by the IStaking contract.
type IStakingRedelegateV2Iterator ¶
type IStakingRedelegateV2Iterator struct { Event *IStakingRedelegateV2 // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IStakingRedelegateV2Iterator is returned from FilterRedelegateV2 and is used to iterate over the raw logs and unpacked data for RedelegateV2 events raised by the IStaking contract.
func (*IStakingRedelegateV2Iterator) Close ¶
func (it *IStakingRedelegateV2Iterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IStakingRedelegateV2Iterator) Error ¶
func (it *IStakingRedelegateV2Iterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IStakingRedelegateV2Iterator) Next ¶
func (it *IStakingRedelegateV2Iterator) 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 IStakingSession ¶
type IStakingSession struct { Contract *IStaking // 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 }
IStakingSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*IStakingSession) AllowanceShares ¶
func (_IStaking *IStakingSession) AllowanceShares(_val string, _owner common.Address, _spender common.Address) (*big.Int, error)
AllowanceShares is a free data retrieval call binding the contract method 0x7b625c0f.
Solidity: function allowanceShares(string _val, address _owner, address _spender) view returns(uint256 _shares)
func (*IStakingSession) ApproveShares ¶
func (_IStaking *IStakingSession) ApproveShares(_val string, _spender common.Address, _shares *big.Int) (*types.Transaction, error)
ApproveShares is a paid mutator transaction binding the contract method 0x49da433e.
Solidity: function approveShares(string _val, address _spender, uint256 _shares) returns(bool _result)
func (*IStakingSession) DelegateV2 ¶
func (_IStaking *IStakingSession) DelegateV2(_val string, _amount *big.Int) (*types.Transaction, error)
DelegateV2 is a paid mutator transaction binding the contract method 0x6d788035.
Solidity: function delegateV2(string _val, uint256 _amount) payable returns(bool _result)
func (*IStakingSession) Delegation ¶
func (_IStaking *IStakingSession) Delegation(_val string, _del common.Address) (struct { Shares *big.Int DelegateAmount *big.Int }, error)
Delegation is a free data retrieval call binding the contract method 0xd5c498eb.
Solidity: function delegation(string _val, address _del) view returns(uint256 _shares, uint256 _delegateAmount)
func (*IStakingSession) DelegationRewards ¶
func (_IStaking *IStakingSession) DelegationRewards(_val string, _del common.Address) (*big.Int, error)
DelegationRewards is a free data retrieval call binding the contract method 0x51af513a.
Solidity: function delegationRewards(string _val, address _del) view returns(uint256 _reward)
func (*IStakingSession) RedelegateV2 ¶
func (_IStaking *IStakingSession) RedelegateV2(_valSrc string, _valDst string, _amount *big.Int) (*types.Transaction, error)
RedelegateV2 is a paid mutator transaction binding the contract method 0xee226c66.
Solidity: function redelegateV2(string _valSrc, string _valDst, uint256 _amount) returns(bool _result)
func (*IStakingSession) SlashingInfo ¶
func (_IStaking *IStakingSession) SlashingInfo(_val string) (struct { Jailed bool Missed *big.Int }, error)
SlashingInfo is a free data retrieval call binding the contract method 0x4e94633a.
Solidity: function slashingInfo(string _val) view returns(bool _jailed, uint256 _missed)
func (*IStakingSession) TransferFromShares ¶
func (_IStaking *IStakingSession) TransferFromShares(_val string, _from common.Address, _to common.Address, _shares *big.Int) (*types.Transaction, error)
TransferFromShares is a paid mutator transaction binding the contract method 0xdc6ffc7d.
Solidity: function transferFromShares(string _val, address _from, address _to, uint256 _shares) returns(uint256 _token, uint256 _reward)
func (*IStakingSession) TransferShares ¶
func (_IStaking *IStakingSession) TransferShares(_val string, _to common.Address, _shares *big.Int) (*types.Transaction, error)
TransferShares is a paid mutator transaction binding the contract method 0x161298c1.
Solidity: function transferShares(string _val, address _to, uint256 _shares) returns(uint256 _token, uint256 _reward)
func (*IStakingSession) UndelegateV2 ¶
func (_IStaking *IStakingSession) UndelegateV2(_val string, _amount *big.Int) (*types.Transaction, error)
UndelegateV2 is a paid mutator transaction binding the contract method 0xde2b3451.
Solidity: function undelegateV2(string _val, uint256 _amount) returns(bool _result)
func (*IStakingSession) ValidatorList ¶
func (_IStaking *IStakingSession) ValidatorList(_sortBy uint8) ([]string, error)
ValidatorList is a free data retrieval call binding the contract method 0x029c0a51.
Solidity: function validatorList(uint8 _sortBy) view returns(string[])
func (*IStakingSession) Withdraw ¶
func (_IStaking *IStakingSession) Withdraw(_val string) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x31fb67c2.
Solidity: function withdraw(string _val) returns(uint256 _reward)
type IStakingTransactor ¶
type IStakingTransactor struct {
// contains filtered or unexported fields
}
IStakingTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewIStakingTransactor ¶
func NewIStakingTransactor(address common.Address, transactor bind.ContractTransactor) (*IStakingTransactor, error)
NewIStakingTransactor creates a new write-only instance of IStaking, bound to a specific deployed contract.
func (*IStakingTransactor) ApproveShares ¶
func (_IStaking *IStakingTransactor) ApproveShares(opts *bind.TransactOpts, _val string, _spender common.Address, _shares *big.Int) (*types.Transaction, error)
ApproveShares is a paid mutator transaction binding the contract method 0x49da433e.
Solidity: function approveShares(string _val, address _spender, uint256 _shares) returns(bool _result)
func (*IStakingTransactor) DelegateV2 ¶
func (_IStaking *IStakingTransactor) DelegateV2(opts *bind.TransactOpts, _val string, _amount *big.Int) (*types.Transaction, error)
DelegateV2 is a paid mutator transaction binding the contract method 0x6d788035.
Solidity: function delegateV2(string _val, uint256 _amount) payable returns(bool _result)
func (*IStakingTransactor) RedelegateV2 ¶
func (_IStaking *IStakingTransactor) RedelegateV2(opts *bind.TransactOpts, _valSrc string, _valDst string, _amount *big.Int) (*types.Transaction, error)
RedelegateV2 is a paid mutator transaction binding the contract method 0xee226c66.
Solidity: function redelegateV2(string _valSrc, string _valDst, uint256 _amount) returns(bool _result)
func (*IStakingTransactor) TransferFromShares ¶
func (_IStaking *IStakingTransactor) TransferFromShares(opts *bind.TransactOpts, _val string, _from common.Address, _to common.Address, _shares *big.Int) (*types.Transaction, error)
TransferFromShares is a paid mutator transaction binding the contract method 0xdc6ffc7d.
Solidity: function transferFromShares(string _val, address _from, address _to, uint256 _shares) returns(uint256 _token, uint256 _reward)
func (*IStakingTransactor) TransferShares ¶
func (_IStaking *IStakingTransactor) TransferShares(opts *bind.TransactOpts, _val string, _to common.Address, _shares *big.Int) (*types.Transaction, error)
TransferShares is a paid mutator transaction binding the contract method 0x161298c1.
Solidity: function transferShares(string _val, address _to, uint256 _shares) returns(uint256 _token, uint256 _reward)
func (*IStakingTransactor) UndelegateV2 ¶
func (_IStaking *IStakingTransactor) UndelegateV2(opts *bind.TransactOpts, _val string, _amount *big.Int) (*types.Transaction, error)
UndelegateV2 is a paid mutator transaction binding the contract method 0xde2b3451.
Solidity: function undelegateV2(string _val, uint256 _amount) returns(bool _result)
func (*IStakingTransactor) Withdraw ¶
func (_IStaking *IStakingTransactor) Withdraw(opts *bind.TransactOpts, _val string) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x31fb67c2.
Solidity: function withdraw(string _val) returns(uint256 _reward)
type IStakingTransactorRaw ¶
type IStakingTransactorRaw struct {
Contract *IStakingTransactor // Generic write-only contract binding to access the raw methods on
}
IStakingTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*IStakingTransactorRaw) Transact ¶
func (_IStaking *IStakingTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IStakingTransactorRaw) Transfer ¶
func (_IStaking *IStakingTransactorRaw) 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 IStakingTransactorSession ¶
type IStakingTransactorSession struct { Contract *IStakingTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
IStakingTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*IStakingTransactorSession) ApproveShares ¶
func (_IStaking *IStakingTransactorSession) ApproveShares(_val string, _spender common.Address, _shares *big.Int) (*types.Transaction, error)
ApproveShares is a paid mutator transaction binding the contract method 0x49da433e.
Solidity: function approveShares(string _val, address _spender, uint256 _shares) returns(bool _result)
func (*IStakingTransactorSession) DelegateV2 ¶
func (_IStaking *IStakingTransactorSession) DelegateV2(_val string, _amount *big.Int) (*types.Transaction, error)
DelegateV2 is a paid mutator transaction binding the contract method 0x6d788035.
Solidity: function delegateV2(string _val, uint256 _amount) payable returns(bool _result)
func (*IStakingTransactorSession) RedelegateV2 ¶
func (_IStaking *IStakingTransactorSession) RedelegateV2(_valSrc string, _valDst string, _amount *big.Int) (*types.Transaction, error)
RedelegateV2 is a paid mutator transaction binding the contract method 0xee226c66.
Solidity: function redelegateV2(string _valSrc, string _valDst, uint256 _amount) returns(bool _result)
func (*IStakingTransactorSession) TransferFromShares ¶
func (_IStaking *IStakingTransactorSession) TransferFromShares(_val string, _from common.Address, _to common.Address, _shares *big.Int) (*types.Transaction, error)
TransferFromShares is a paid mutator transaction binding the contract method 0xdc6ffc7d.
Solidity: function transferFromShares(string _val, address _from, address _to, uint256 _shares) returns(uint256 _token, uint256 _reward)
func (*IStakingTransactorSession) TransferShares ¶
func (_IStaking *IStakingTransactorSession) TransferShares(_val string, _to common.Address, _shares *big.Int) (*types.Transaction, error)
TransferShares is a paid mutator transaction binding the contract method 0x161298c1.
Solidity: function transferShares(string _val, address _to, uint256 _shares) returns(uint256 _token, uint256 _reward)
func (*IStakingTransactorSession) UndelegateV2 ¶
func (_IStaking *IStakingTransactorSession) UndelegateV2(_val string, _amount *big.Int) (*types.Transaction, error)
UndelegateV2 is a paid mutator transaction binding the contract method 0xde2b3451.
Solidity: function undelegateV2(string _val, uint256 _amount) returns(bool _result)
func (*IStakingTransactorSession) Withdraw ¶
func (_IStaking *IStakingTransactorSession) Withdraw(_val string) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x31fb67c2.
Solidity: function withdraw(string _val) returns(uint256 _reward)
type IStakingTransferShares ¶
type IStakingTransferShares struct {}
IStakingTransferShares represents a TransferShares event raised by the IStaking contract.
type IStakingTransferSharesIterator ¶
type IStakingTransferSharesIterator struct { // contains filtered or unexported fields }
IStakingTransferSharesIterator is returned from FilterTransferShares and is used to iterate over the raw logs and unpacked data for TransferShares events raised by the IStaking contract.
func (*IStakingTransferSharesIterator) Close ¶
func (it *IStakingTransferSharesIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IStakingTransferSharesIterator) Error ¶
func (it *IStakingTransferSharesIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IStakingTransferSharesIterator) Next ¶
func (it *IStakingTransferSharesIterator) 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 IStakingUndelegateV2 ¶
type IStakingUndelegateV2 struct { Sender common.Address Validator string Amount *big.Int CompletionTime *big.Int Raw types.Log // Blockchain specific contextual infos }
IStakingUndelegateV2 represents a UndelegateV2 event raised by the IStaking contract.
type IStakingUndelegateV2Iterator ¶
type IStakingUndelegateV2Iterator struct { Event *IStakingUndelegateV2 // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IStakingUndelegateV2Iterator is returned from FilterUndelegateV2 and is used to iterate over the raw logs and unpacked data for UndelegateV2 events raised by the IStaking contract.
func (*IStakingUndelegateV2Iterator) Close ¶
func (it *IStakingUndelegateV2Iterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IStakingUndelegateV2Iterator) Error ¶
func (it *IStakingUndelegateV2Iterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IStakingUndelegateV2Iterator) Next ¶
func (it *IStakingUndelegateV2Iterator) 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 IStakingWithdraw ¶
type IStakingWithdraw struct { Sender common.Address Validator string Reward *big.Int Raw types.Log // Blockchain specific contextual infos }
IStakingWithdraw represents a Withdraw event raised by the IStaking contract.
type IStakingWithdrawIterator ¶
type IStakingWithdrawIterator struct { Event *IStakingWithdraw // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IStakingWithdrawIterator is returned from FilterWithdraw and is used to iterate over the raw logs and unpacked data for Withdraw events raised by the IStaking contract.
func (*IStakingWithdrawIterator) Close ¶
func (it *IStakingWithdrawIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IStakingWithdrawIterator) Error ¶
func (it *IStakingWithdrawIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IStakingWithdrawIterator) Next ¶
func (it *IStakingWithdrawIterator) 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 IsOracleOnlineArgs ¶
type IsOracleOnlineArgs struct { Chain common.Hash `abi:"_chain"` ExternalAddress common.Address `abi:"_externalAddress"` }
func (*IsOracleOnlineArgs) Validate ¶
func (args *IsOracleOnlineArgs) Validate() error
type PrecompileMethod ¶
type RedelegateV2Args ¶
type RedelegateV2Args struct { ValidatorSrc string `abi:"_valSrc"` ValidatorDst string `abi:"_valDst"` Amount *big.Int `abi:"_amount"` }
func (*RedelegateV2Args) GetValidatorDst ¶
func (args *RedelegateV2Args) GetValidatorDst() sdk.ValAddress
GetValidatorDst returns the validator dest address, caller must ensure the validator address is valid
func (*RedelegateV2Args) GetValidatorSrc ¶
func (args *RedelegateV2Args) GetValidatorSrc() sdk.ValAddress
GetValidatorSrc returns the validator src address, caller must ensure the validator address is valid
func (*RedelegateV2Args) Validate ¶
func (args *RedelegateV2Args) Validate() error
Validate validates the args
type SlashingInfoArgs ¶
type SlashingInfoArgs struct {
Validator string `abi:"_val"`
}
func (*SlashingInfoArgs) GetValidator ¶
func (args *SlashingInfoArgs) GetValidator() sdk.ValAddress
GetValidator returns the validator address, caller must ensure the validator address is valid
func (*SlashingInfoArgs) Validate ¶
func (args *SlashingInfoArgs) Validate() error
Validate validates the args
type StakingPrecompileKeeper ¶
type StakingPrecompileKeeper struct { Caller // contains filtered or unexported fields }
func NewStakingPrecompileKeeper ¶
func NewStakingPrecompileKeeper(caller Caller, contractAddr common.Address) StakingPrecompileKeeper
func (StakingPrecompileKeeper) AllowanceShares ¶
func (k StakingPrecompileKeeper) AllowanceShares(ctx context.Context, args AllowanceSharesArgs) (*big.Int, error)
func (StakingPrecompileKeeper) ApproveShares ¶
func (k StakingPrecompileKeeper) ApproveShares(ctx context.Context, from common.Address, args ApproveSharesArgs) (*evmtypes.MsgEthereumTxResponse, error)
func (StakingPrecompileKeeper) DelegateV2 ¶
func (k StakingPrecompileKeeper) DelegateV2(ctx context.Context, from common.Address, args DelegateV2Args) (*evmtypes.MsgEthereumTxResponse, error)
func (StakingPrecompileKeeper) Delegation ¶
func (k StakingPrecompileKeeper) Delegation(ctx context.Context, args DelegationArgs) (*big.Int, *big.Int, error)
func (StakingPrecompileKeeper) DelegationRewards ¶
func (k StakingPrecompileKeeper) DelegationRewards(ctx context.Context, args DelegationRewardsArgs) (*big.Int, error)
func (StakingPrecompileKeeper) RedelegateV2 ¶
func (k StakingPrecompileKeeper) RedelegateV2(ctx context.Context, from common.Address, args RedelegateV2Args) (*evmtypes.MsgEthereumTxResponse, error)
func (StakingPrecompileKeeper) SlashingInfo ¶
func (k StakingPrecompileKeeper) SlashingInfo(ctx context.Context, args SlashingInfoArgs) (bool, *big.Int, error)
func (StakingPrecompileKeeper) TransferFromShares ¶
func (k StakingPrecompileKeeper) TransferFromShares(ctx context.Context, from common.Address, args TransferFromSharesArgs) (*evmtypes.MsgEthereumTxResponse, *TransferFromSharesRet, error)
func (StakingPrecompileKeeper) TransferShares ¶
func (k StakingPrecompileKeeper) TransferShares(ctx context.Context, from common.Address, args TransferSharesArgs) (*evmtypes.MsgEthereumTxResponse, *TransferSharesRet, error)
func (StakingPrecompileKeeper) UndelegateV2 ¶
func (k StakingPrecompileKeeper) UndelegateV2(ctx context.Context, from common.Address, args UndelegateV2Args) (*evmtypes.MsgEthereumTxResponse, error)
func (StakingPrecompileKeeper) ValidatorList ¶
func (k StakingPrecompileKeeper) ValidatorList(ctx context.Context, args ValidatorListArgs) ([]string, error)
func (StakingPrecompileKeeper) WithContractAddr ¶
func (k StakingPrecompileKeeper) WithContractAddr(c common.Address) StakingPrecompileKeeper
func (StakingPrecompileKeeper) Withdraw ¶
func (k StakingPrecompileKeeper) Withdraw(ctx context.Context, from common.Address, args WithdrawArgs) (*evmtypes.MsgEthereumTxResponse, *big.Int, error)
type TransferFromAccountToModuleArgs ¶
type TransferFromAccountToModuleArgs struct { Account common.Address `abi:"_account"` Module string `abi:"_module"` Token common.Address `abi:"_token"` Amount *big.Int `abi:"_amount"` }
func (*TransferFromAccountToModuleArgs) Validate ¶
func (args *TransferFromAccountToModuleArgs) Validate() error
type TransferFromModuleToAccountArgs ¶
type TransferFromModuleToAccountArgs struct { Module string `abi:"_module"` Account common.Address `abi:"_account"` Token common.Address `abi:"_token"` Amount *big.Int `abi:"_amount"` }
func (*TransferFromModuleToAccountArgs) Validate ¶
func (args *TransferFromModuleToAccountArgs) Validate() error
type TransferFromSharesArgs ¶
type TransferFromSharesArgs struct {}
func (*TransferFromSharesArgs) GetValidator ¶
func (args *TransferFromSharesArgs) GetValidator() sdk.ValAddress
GetValidator returns the validator address, caller must ensure the validator address is valid
func (*TransferFromSharesArgs) Validate ¶
func (args *TransferFromSharesArgs) Validate() error
Validate validates the args
type TransferFromSharesRet ¶
type TransferFromSharesRet struct {}
type TransferSharesArgs ¶
type TransferSharesArgs struct {}
func (*TransferSharesArgs) GetValidator ¶
func (args *TransferSharesArgs) GetValidator() sdk.ValAddress
GetValidator returns the validator address, caller must ensure the validator address is valid
func (*TransferSharesArgs) Validate ¶
func (args *TransferSharesArgs) Validate() error
Validate validates the args
type TransferSharesRet ¶
type TransferSharesRet struct {}
type UndelegateV2Args ¶
func (*UndelegateV2Args) GetValidator ¶
func (args *UndelegateV2Args) GetValidator() sdk.ValAddress
GetValidator returns the validator address, caller must ensure the validator address is valid
func (*UndelegateV2Args) Validate ¶
func (args *UndelegateV2Args) Validate() error
Validate validates the args
type ValidatorListArgs ¶
type ValidatorListArgs struct {
SortBy uint8 `abi:"_val"`
}
func (*ValidatorListArgs) GetSortBy ¶
func (args *ValidatorListArgs) GetSortBy() ValidatorSortBy
func (*ValidatorListArgs) Validate ¶
func (args *ValidatorListArgs) Validate() error
Validate validates the args
type ValidatorSortBy ¶
type ValidatorSortBy uint8
const ( ValidatorSortByPower ValidatorSortBy = iota ValidatorSortByMissed )
type WarpTokenUpgradable ¶
type WarpTokenUpgradable struct { WarpTokenUpgradableCaller // Read-only binding to the contract WarpTokenUpgradableTransactor // Write-only binding to the contract WarpTokenUpgradableFilterer // Log filterer for contract events }
WarpTokenUpgradable is an auto generated Go binding around an Ethereum contract.
func DeployWarpTokenUpgradable ¶
func DeployWarpTokenUpgradable(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *WarpTokenUpgradable, error)
DeployWarpTokenUpgradable deploys a new Ethereum contract, binding an instance of WarpTokenUpgradable to it.
func NewWarpTokenUpgradable ¶
func NewWarpTokenUpgradable(address common.Address, backend bind.ContractBackend) (*WarpTokenUpgradable, error)
NewWarpTokenUpgradable creates a new instance of WarpTokenUpgradable, bound to a specific deployed contract.
type WarpTokenUpgradableAdminChanged ¶
type WarpTokenUpgradableAdminChanged struct { PreviousAdmin common.Address NewAdmin common.Address Raw types.Log // Blockchain specific contextual infos }
WarpTokenUpgradableAdminChanged represents a AdminChanged event raised by the WarpTokenUpgradable contract.
type WarpTokenUpgradableAdminChangedIterator ¶
type WarpTokenUpgradableAdminChangedIterator struct { Event *WarpTokenUpgradableAdminChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
WarpTokenUpgradableAdminChangedIterator is returned from FilterAdminChanged and is used to iterate over the raw logs and unpacked data for AdminChanged events raised by the WarpTokenUpgradable contract.
func (*WarpTokenUpgradableAdminChangedIterator) Close ¶
func (it *WarpTokenUpgradableAdminChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*WarpTokenUpgradableAdminChangedIterator) Error ¶
func (it *WarpTokenUpgradableAdminChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*WarpTokenUpgradableAdminChangedIterator) Next ¶
func (it *WarpTokenUpgradableAdminChangedIterator) 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 WarpTokenUpgradableApproval ¶
type WarpTokenUpgradableApproval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
WarpTokenUpgradableApproval represents a Approval event raised by the WarpTokenUpgradable contract.
type WarpTokenUpgradableApprovalIterator ¶
type WarpTokenUpgradableApprovalIterator struct { Event *WarpTokenUpgradableApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
WarpTokenUpgradableApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the WarpTokenUpgradable contract.
func (*WarpTokenUpgradableApprovalIterator) Close ¶
func (it *WarpTokenUpgradableApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*WarpTokenUpgradableApprovalIterator) Error ¶
func (it *WarpTokenUpgradableApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*WarpTokenUpgradableApprovalIterator) Next ¶
func (it *WarpTokenUpgradableApprovalIterator) 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 WarpTokenUpgradableBeaconUpgraded ¶
type WarpTokenUpgradableBeaconUpgraded struct { Beacon common.Address Raw types.Log // Blockchain specific contextual infos }
WarpTokenUpgradableBeaconUpgraded represents a BeaconUpgraded event raised by the WarpTokenUpgradable contract.
type WarpTokenUpgradableBeaconUpgradedIterator ¶
type WarpTokenUpgradableBeaconUpgradedIterator struct { Event *WarpTokenUpgradableBeaconUpgraded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
WarpTokenUpgradableBeaconUpgradedIterator is returned from FilterBeaconUpgraded and is used to iterate over the raw logs and unpacked data for BeaconUpgraded events raised by the WarpTokenUpgradable contract.
func (*WarpTokenUpgradableBeaconUpgradedIterator) Close ¶
func (it *WarpTokenUpgradableBeaconUpgradedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*WarpTokenUpgradableBeaconUpgradedIterator) Error ¶
func (it *WarpTokenUpgradableBeaconUpgradedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*WarpTokenUpgradableBeaconUpgradedIterator) Next ¶
func (it *WarpTokenUpgradableBeaconUpgradedIterator) 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 WarpTokenUpgradableCaller ¶
type WarpTokenUpgradableCaller struct {
// contains filtered or unexported fields
}
WarpTokenUpgradableCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewWarpTokenUpgradableCaller ¶
func NewWarpTokenUpgradableCaller(address common.Address, caller bind.ContractCaller) (*WarpTokenUpgradableCaller, error)
NewWarpTokenUpgradableCaller creates a new read-only instance of WarpTokenUpgradable, bound to a specific deployed contract.
func (*WarpTokenUpgradableCaller) Allowance ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableCaller) 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 (*WarpTokenUpgradableCaller) BalanceOf ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableCaller) 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 (*WarpTokenUpgradableCaller) Decimals ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableCaller) Decimals(opts *bind.CallOpts) (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*WarpTokenUpgradableCaller) Module ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableCaller) Module(opts *bind.CallOpts) (common.Address, error)
Module is a free data retrieval call binding the contract method 0xb86d5298.
Solidity: function module() view returns(address)
func (*WarpTokenUpgradableCaller) Name ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableCaller) Name(opts *bind.CallOpts) (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*WarpTokenUpgradableCaller) Owner ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableCaller) Owner(opts *bind.CallOpts) (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*WarpTokenUpgradableCaller) ProxiableUUID ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableCaller) ProxiableUUID(opts *bind.CallOpts) ([32]byte, error)
ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.
Solidity: function proxiableUUID() view returns(bytes32)
func (*WarpTokenUpgradableCaller) Symbol ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableCaller) Symbol(opts *bind.CallOpts) (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*WarpTokenUpgradableCaller) TotalSupply ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type WarpTokenUpgradableCallerRaw ¶
type WarpTokenUpgradableCallerRaw struct {
Contract *WarpTokenUpgradableCaller // Generic read-only contract binding to access the raw methods on
}
WarpTokenUpgradableCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*WarpTokenUpgradableCallerRaw) Call ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableCallerRaw) 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 WarpTokenUpgradableCallerSession ¶
type WarpTokenUpgradableCallerSession struct { Contract *WarpTokenUpgradableCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
WarpTokenUpgradableCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*WarpTokenUpgradableCallerSession) Allowance ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableCallerSession) 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 (*WarpTokenUpgradableCallerSession) BalanceOf ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableCallerSession) BalanceOf(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 (*WarpTokenUpgradableCallerSession) Decimals ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableCallerSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*WarpTokenUpgradableCallerSession) Module ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableCallerSession) Module() (common.Address, error)
Module is a free data retrieval call binding the contract method 0xb86d5298.
Solidity: function module() view returns(address)
func (*WarpTokenUpgradableCallerSession) Name ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*WarpTokenUpgradableCallerSession) Owner ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*WarpTokenUpgradableCallerSession) ProxiableUUID ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableCallerSession) ProxiableUUID() ([32]byte, error)
ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.
Solidity: function proxiableUUID() view returns(bytes32)
func (*WarpTokenUpgradableCallerSession) Symbol ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*WarpTokenUpgradableCallerSession) TotalSupply ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type WarpTokenUpgradableDeposit ¶
type WarpTokenUpgradableDeposit struct { From common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
WarpTokenUpgradableDeposit represents a Deposit event raised by the WarpTokenUpgradable contract.
type WarpTokenUpgradableDepositIterator ¶
type WarpTokenUpgradableDepositIterator struct { Event *WarpTokenUpgradableDeposit // Event containing the contract specifics and raw log // contains filtered or unexported fields }
WarpTokenUpgradableDepositIterator is returned from FilterDeposit and is used to iterate over the raw logs and unpacked data for Deposit events raised by the WarpTokenUpgradable contract.
func (*WarpTokenUpgradableDepositIterator) Close ¶
func (it *WarpTokenUpgradableDepositIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*WarpTokenUpgradableDepositIterator) Error ¶
func (it *WarpTokenUpgradableDepositIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*WarpTokenUpgradableDepositIterator) Next ¶
func (it *WarpTokenUpgradableDepositIterator) 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 WarpTokenUpgradableFilterer ¶
type WarpTokenUpgradableFilterer struct {
// contains filtered or unexported fields
}
WarpTokenUpgradableFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewWarpTokenUpgradableFilterer ¶
func NewWarpTokenUpgradableFilterer(address common.Address, filterer bind.ContractFilterer) (*WarpTokenUpgradableFilterer, error)
NewWarpTokenUpgradableFilterer creates a new log filterer instance of WarpTokenUpgradable, bound to a specific deployed contract.
func (*WarpTokenUpgradableFilterer) FilterAdminChanged ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableFilterer) FilterAdminChanged(opts *bind.FilterOpts) (*WarpTokenUpgradableAdminChangedIterator, error)
FilterAdminChanged is a free log retrieval operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
Solidity: event AdminChanged(address previousAdmin, address newAdmin)
func (*WarpTokenUpgradableFilterer) FilterApproval ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*WarpTokenUpgradableApprovalIterator, 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 (*WarpTokenUpgradableFilterer) FilterBeaconUpgraded ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableFilterer) FilterBeaconUpgraded(opts *bind.FilterOpts, beacon []common.Address) (*WarpTokenUpgradableBeaconUpgradedIterator, error)
FilterBeaconUpgraded is a free log retrieval operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.
Solidity: event BeaconUpgraded(address indexed beacon)
func (*WarpTokenUpgradableFilterer) FilterDeposit ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableFilterer) FilterDeposit(opts *bind.FilterOpts, from []common.Address) (*WarpTokenUpgradableDepositIterator, error)
FilterDeposit is a free log retrieval operation binding the contract event 0xe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c.
Solidity: event Deposit(address indexed from, uint256 value)
func (*WarpTokenUpgradableFilterer) FilterInitialized ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableFilterer) FilterInitialized(opts *bind.FilterOpts) (*WarpTokenUpgradableInitializedIterator, error)
FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*WarpTokenUpgradableFilterer) FilterOwnershipTransferred ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*WarpTokenUpgradableOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*WarpTokenUpgradableFilterer) FilterTransfer ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*WarpTokenUpgradableTransferIterator, 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 (*WarpTokenUpgradableFilterer) FilterUpgraded ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*WarpTokenUpgradableUpgradedIterator, error)
FilterUpgraded is a free log retrieval operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
Solidity: event Upgraded(address indexed implementation)
func (*WarpTokenUpgradableFilterer) FilterWithdraw ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableFilterer) FilterWithdraw(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*WarpTokenUpgradableWithdrawIterator, error)
FilterWithdraw is a free log retrieval operation binding the contract event 0x9b1bfa7fa9ee420a16e124f794c35ac9f90472acc99140eb2f6447c714cad8eb.
Solidity: event Withdraw(address indexed from, address indexed to, uint256 value)
func (*WarpTokenUpgradableFilterer) FilterWithdraw0 ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableFilterer) FilterWithdraw0(opts *bind.FilterOpts, from []common.Address) (*WarpTokenUpgradableWithdraw0Iterator, error)
FilterWithdraw0 is a free log retrieval operation binding the contract event 0x884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364.
Solidity: event Withdraw(address indexed from, uint256 value)
func (*WarpTokenUpgradableFilterer) ParseAdminChanged ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableFilterer) ParseAdminChanged(log types.Log) (*WarpTokenUpgradableAdminChanged, error)
ParseAdminChanged is a log parse operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
Solidity: event AdminChanged(address previousAdmin, address newAdmin)
func (*WarpTokenUpgradableFilterer) ParseApproval ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableFilterer) ParseApproval(log types.Log) (*WarpTokenUpgradableApproval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*WarpTokenUpgradableFilterer) ParseBeaconUpgraded ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableFilterer) ParseBeaconUpgraded(log types.Log) (*WarpTokenUpgradableBeaconUpgraded, error)
ParseBeaconUpgraded is a log parse operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.
Solidity: event BeaconUpgraded(address indexed beacon)
func (*WarpTokenUpgradableFilterer) ParseDeposit ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableFilterer) ParseDeposit(log types.Log) (*WarpTokenUpgradableDeposit, error)
ParseDeposit is a log parse operation binding the contract event 0xe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c.
Solidity: event Deposit(address indexed from, uint256 value)
func (*WarpTokenUpgradableFilterer) ParseInitialized ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableFilterer) ParseInitialized(log types.Log) (*WarpTokenUpgradableInitialized, error)
ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*WarpTokenUpgradableFilterer) ParseOwnershipTransferred ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableFilterer) ParseOwnershipTransferred(log types.Log) (*WarpTokenUpgradableOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*WarpTokenUpgradableFilterer) ParseTransfer ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableFilterer) ParseTransfer(log types.Log) (*WarpTokenUpgradableTransfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*WarpTokenUpgradableFilterer) ParseUpgraded ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableFilterer) ParseUpgraded(log types.Log) (*WarpTokenUpgradableUpgraded, error)
ParseUpgraded is a log parse operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
Solidity: event Upgraded(address indexed implementation)
func (*WarpTokenUpgradableFilterer) ParseWithdraw ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableFilterer) ParseWithdraw(log types.Log) (*WarpTokenUpgradableWithdraw, error)
ParseWithdraw is a log parse operation binding the contract event 0x9b1bfa7fa9ee420a16e124f794c35ac9f90472acc99140eb2f6447c714cad8eb.
Solidity: event Withdraw(address indexed from, address indexed to, uint256 value)
func (*WarpTokenUpgradableFilterer) ParseWithdraw0 ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableFilterer) ParseWithdraw0(log types.Log) (*WarpTokenUpgradableWithdraw0, error)
ParseWithdraw0 is a log parse operation binding the contract event 0x884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364.
Solidity: event Withdraw(address indexed from, uint256 value)
func (*WarpTokenUpgradableFilterer) WatchAdminChanged ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *WarpTokenUpgradableAdminChanged) (event.Subscription, error)
WatchAdminChanged is a free log subscription operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
Solidity: event AdminChanged(address previousAdmin, address newAdmin)
func (*WarpTokenUpgradableFilterer) WatchApproval ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *WarpTokenUpgradableApproval, 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 (*WarpTokenUpgradableFilterer) WatchBeaconUpgraded ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableFilterer) WatchBeaconUpgraded(opts *bind.WatchOpts, sink chan<- *WarpTokenUpgradableBeaconUpgraded, beacon []common.Address) (event.Subscription, error)
WatchBeaconUpgraded is a free log subscription operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.
Solidity: event BeaconUpgraded(address indexed beacon)
func (*WarpTokenUpgradableFilterer) WatchDeposit ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableFilterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *WarpTokenUpgradableDeposit, from []common.Address) (event.Subscription, error)
WatchDeposit is a free log subscription operation binding the contract event 0xe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c.
Solidity: event Deposit(address indexed from, uint256 value)
func (*WarpTokenUpgradableFilterer) WatchInitialized ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *WarpTokenUpgradableInitialized) (event.Subscription, error)
WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*WarpTokenUpgradableFilterer) WatchOwnershipTransferred ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *WarpTokenUpgradableOwnershipTransferred, 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)
func (*WarpTokenUpgradableFilterer) WatchTransfer ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *WarpTokenUpgradableTransfer, 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)
func (*WarpTokenUpgradableFilterer) WatchUpgraded ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *WarpTokenUpgradableUpgraded, implementation []common.Address) (event.Subscription, error)
WatchUpgraded is a free log subscription operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
Solidity: event Upgraded(address indexed implementation)
func (*WarpTokenUpgradableFilterer) WatchWithdraw ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableFilterer) WatchWithdraw(opts *bind.WatchOpts, sink chan<- *WarpTokenUpgradableWithdraw, from []common.Address, to []common.Address) (event.Subscription, error)
WatchWithdraw is a free log subscription operation binding the contract event 0x9b1bfa7fa9ee420a16e124f794c35ac9f90472acc99140eb2f6447c714cad8eb.
Solidity: event Withdraw(address indexed from, address indexed to, uint256 value)
func (*WarpTokenUpgradableFilterer) WatchWithdraw0 ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableFilterer) WatchWithdraw0(opts *bind.WatchOpts, sink chan<- *WarpTokenUpgradableWithdraw0, from []common.Address) (event.Subscription, error)
WatchWithdraw0 is a free log subscription operation binding the contract event 0x884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364.
Solidity: event Withdraw(address indexed from, uint256 value)
type WarpTokenUpgradableInitialized ¶
type WarpTokenUpgradableInitialized struct { Version uint8 Raw types.Log // Blockchain specific contextual infos }
WarpTokenUpgradableInitialized represents a Initialized event raised by the WarpTokenUpgradable contract.
type WarpTokenUpgradableInitializedIterator ¶
type WarpTokenUpgradableInitializedIterator struct { Event *WarpTokenUpgradableInitialized // Event containing the contract specifics and raw log // contains filtered or unexported fields }
WarpTokenUpgradableInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the WarpTokenUpgradable contract.
func (*WarpTokenUpgradableInitializedIterator) Close ¶
func (it *WarpTokenUpgradableInitializedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*WarpTokenUpgradableInitializedIterator) Error ¶
func (it *WarpTokenUpgradableInitializedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*WarpTokenUpgradableInitializedIterator) Next ¶
func (it *WarpTokenUpgradableInitializedIterator) 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 WarpTokenUpgradableOwnershipTransferred ¶
type WarpTokenUpgradableOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
WarpTokenUpgradableOwnershipTransferred represents a OwnershipTransferred event raised by the WarpTokenUpgradable contract.
type WarpTokenUpgradableOwnershipTransferredIterator ¶
type WarpTokenUpgradableOwnershipTransferredIterator struct { Event *WarpTokenUpgradableOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
WarpTokenUpgradableOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the WarpTokenUpgradable contract.
func (*WarpTokenUpgradableOwnershipTransferredIterator) Close ¶
func (it *WarpTokenUpgradableOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*WarpTokenUpgradableOwnershipTransferredIterator) Error ¶
func (it *WarpTokenUpgradableOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*WarpTokenUpgradableOwnershipTransferredIterator) Next ¶
func (it *WarpTokenUpgradableOwnershipTransferredIterator) 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 WarpTokenUpgradableRaw ¶
type WarpTokenUpgradableRaw struct {
Contract *WarpTokenUpgradable // Generic contract binding to access the raw methods on
}
WarpTokenUpgradableRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*WarpTokenUpgradableRaw) Call ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableRaw) 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 (*WarpTokenUpgradableRaw) Transact ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*WarpTokenUpgradableRaw) Transfer ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableRaw) 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 WarpTokenUpgradableSession ¶
type WarpTokenUpgradableSession struct { Contract *WarpTokenUpgradable // 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 }
WarpTokenUpgradableSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*WarpTokenUpgradableSession) Allowance ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableSession) 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 (*WarpTokenUpgradableSession) Approve ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableSession) 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 (*WarpTokenUpgradableSession) BalanceOf ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableSession) BalanceOf(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 (*WarpTokenUpgradableSession) Burn ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableSession) Burn(amount *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x42966c68.
Solidity: function burn(uint256 amount) returns()
func (*WarpTokenUpgradableSession) Burn0 ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableSession) Burn0(account common.Address, amount *big.Int) (*types.Transaction, error)
Burn0 is a paid mutator transaction binding the contract method 0x9dc29fac.
Solidity: function burn(address account, uint256 amount) returns()
func (*WarpTokenUpgradableSession) BurnFrom ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableSession) BurnFrom(account common.Address, amount *big.Int) (*types.Transaction, error)
BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.
Solidity: function burnFrom(address account, uint256 amount) returns()
func (*WarpTokenUpgradableSession) Decimals ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*WarpTokenUpgradableSession) Deposit ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableSession) Deposit() (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0xd0e30db0.
Solidity: function deposit() payable returns()
func (*WarpTokenUpgradableSession) Fallback ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableSession) Fallback(calldata []byte) (*types.Transaction, error)
Fallback is a paid mutator transaction binding the contract fallback function.
Solidity: fallback() payable returns()
func (*WarpTokenUpgradableSession) Initialize ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableSession) Initialize(name_ string, symbol_ string, decimals_ uint8, module_ common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xde7ea79d.
Solidity: function initialize(string name_, string symbol_, uint8 decimals_, address module_) returns()
func (*WarpTokenUpgradableSession) Mint ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableSession) Mint(account common.Address, amount *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address account, uint256 amount) returns()
func (*WarpTokenUpgradableSession) Module ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableSession) Module() (common.Address, error)
Module is a free data retrieval call binding the contract method 0xb86d5298.
Solidity: function module() view returns(address)
func (*WarpTokenUpgradableSession) Name ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*WarpTokenUpgradableSession) Owner ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*WarpTokenUpgradableSession) ProxiableUUID ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableSession) ProxiableUUID() ([32]byte, error)
ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.
Solidity: function proxiableUUID() view returns(bytes32)
func (*WarpTokenUpgradableSession) Receive ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableSession) Receive() (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*WarpTokenUpgradableSession) RenounceOwnership ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*WarpTokenUpgradableSession) Symbol ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*WarpTokenUpgradableSession) TotalSupply ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*WarpTokenUpgradableSession) Transfer ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableSession) 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 (*WarpTokenUpgradableSession) TransferFrom ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableSession) 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)
func (*WarpTokenUpgradableSession) TransferOwnership ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*WarpTokenUpgradableSession) UpgradeTo ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)
UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.
Solidity: function upgradeTo(address newImplementation) returns()
func (*WarpTokenUpgradableSession) UpgradeToAndCall ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)
UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.
Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()
func (*WarpTokenUpgradableSession) Withdraw ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableSession) Withdraw(value *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.
Solidity: function withdraw(uint256 value) returns()
func (*WarpTokenUpgradableSession) Withdraw0 ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableSession) Withdraw0(to common.Address, value *big.Int) (*types.Transaction, error)
Withdraw0 is a paid mutator transaction binding the contract method 0xf3fef3a3.
Solidity: function withdraw(address to, uint256 value) returns()
type WarpTokenUpgradableTransactor ¶
type WarpTokenUpgradableTransactor struct {
// contains filtered or unexported fields
}
WarpTokenUpgradableTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewWarpTokenUpgradableTransactor ¶
func NewWarpTokenUpgradableTransactor(address common.Address, transactor bind.ContractTransactor) (*WarpTokenUpgradableTransactor, error)
NewWarpTokenUpgradableTransactor creates a new write-only instance of WarpTokenUpgradable, bound to a specific deployed contract.
func (*WarpTokenUpgradableTransactor) Approve ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableTransactor) 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 (*WarpTokenUpgradableTransactor) Burn ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableTransactor) Burn(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x42966c68.
Solidity: function burn(uint256 amount) returns()
func (*WarpTokenUpgradableTransactor) Burn0 ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableTransactor) Burn0(opts *bind.TransactOpts, account common.Address, amount *big.Int) (*types.Transaction, error)
Burn0 is a paid mutator transaction binding the contract method 0x9dc29fac.
Solidity: function burn(address account, uint256 amount) returns()
func (*WarpTokenUpgradableTransactor) BurnFrom ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableTransactor) BurnFrom(opts *bind.TransactOpts, account common.Address, amount *big.Int) (*types.Transaction, error)
BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.
Solidity: function burnFrom(address account, uint256 amount) returns()
func (*WarpTokenUpgradableTransactor) Deposit ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableTransactor) Deposit(opts *bind.TransactOpts) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0xd0e30db0.
Solidity: function deposit() payable returns()
func (*WarpTokenUpgradableTransactor) Fallback ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableTransactor) Fallback(opts *bind.TransactOpts, calldata []byte) (*types.Transaction, error)
Fallback is a paid mutator transaction binding the contract fallback function.
Solidity: fallback() payable returns()
func (*WarpTokenUpgradableTransactor) Initialize ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableTransactor) Initialize(opts *bind.TransactOpts, name_ string, symbol_ string, decimals_ uint8, module_ common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xde7ea79d.
Solidity: function initialize(string name_, string symbol_, uint8 decimals_, address module_) returns()
func (*WarpTokenUpgradableTransactor) Mint ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableTransactor) Mint(opts *bind.TransactOpts, account common.Address, amount *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address account, uint256 amount) returns()
func (*WarpTokenUpgradableTransactor) Receive ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*WarpTokenUpgradableTransactor) RenounceOwnership ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*WarpTokenUpgradableTransactor) Transfer ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableTransactor) 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 (*WarpTokenUpgradableTransactor) TransferFrom ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableTransactor) 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)
func (*WarpTokenUpgradableTransactor) TransferOwnership ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableTransactor) 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()
func (*WarpTokenUpgradableTransactor) UpgradeTo ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableTransactor) UpgradeTo(opts *bind.TransactOpts, newImplementation common.Address) (*types.Transaction, error)
UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.
Solidity: function upgradeTo(address newImplementation) returns()
func (*WarpTokenUpgradableTransactor) UpgradeToAndCall ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableTransactor) UpgradeToAndCall(opts *bind.TransactOpts, newImplementation common.Address, data []byte) (*types.Transaction, error)
UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.
Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()
func (*WarpTokenUpgradableTransactor) Withdraw ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableTransactor) Withdraw(opts *bind.TransactOpts, value *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.
Solidity: function withdraw(uint256 value) returns()
func (*WarpTokenUpgradableTransactor) Withdraw0 ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableTransactor) Withdraw0(opts *bind.TransactOpts, to common.Address, value *big.Int) (*types.Transaction, error)
Withdraw0 is a paid mutator transaction binding the contract method 0xf3fef3a3.
Solidity: function withdraw(address to, uint256 value) returns()
type WarpTokenUpgradableTransactorRaw ¶
type WarpTokenUpgradableTransactorRaw struct {
Contract *WarpTokenUpgradableTransactor // Generic write-only contract binding to access the raw methods on
}
WarpTokenUpgradableTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*WarpTokenUpgradableTransactorRaw) Transact ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*WarpTokenUpgradableTransactorRaw) Transfer ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableTransactorRaw) 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 WarpTokenUpgradableTransactorSession ¶
type WarpTokenUpgradableTransactorSession struct { Contract *WarpTokenUpgradableTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
WarpTokenUpgradableTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*WarpTokenUpgradableTransactorSession) Approve ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableTransactorSession) 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 (*WarpTokenUpgradableTransactorSession) Burn ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableTransactorSession) Burn(amount *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x42966c68.
Solidity: function burn(uint256 amount) returns()
func (*WarpTokenUpgradableTransactorSession) Burn0 ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableTransactorSession) Burn0(account common.Address, amount *big.Int) (*types.Transaction, error)
Burn0 is a paid mutator transaction binding the contract method 0x9dc29fac.
Solidity: function burn(address account, uint256 amount) returns()
func (*WarpTokenUpgradableTransactorSession) BurnFrom ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableTransactorSession) BurnFrom(account common.Address, amount *big.Int) (*types.Transaction, error)
BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.
Solidity: function burnFrom(address account, uint256 amount) returns()
func (*WarpTokenUpgradableTransactorSession) Deposit ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableTransactorSession) Deposit() (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0xd0e30db0.
Solidity: function deposit() payable returns()
func (*WarpTokenUpgradableTransactorSession) Fallback ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableTransactorSession) Fallback(calldata []byte) (*types.Transaction, error)
Fallback is a paid mutator transaction binding the contract fallback function.
Solidity: fallback() payable returns()
func (*WarpTokenUpgradableTransactorSession) Initialize ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableTransactorSession) Initialize(name_ string, symbol_ string, decimals_ uint8, module_ common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xde7ea79d.
Solidity: function initialize(string name_, string symbol_, uint8 decimals_, address module_) returns()
func (*WarpTokenUpgradableTransactorSession) Mint ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableTransactorSession) Mint(account common.Address, amount *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address account, uint256 amount) returns()
func (*WarpTokenUpgradableTransactorSession) Receive ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableTransactorSession) Receive() (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*WarpTokenUpgradableTransactorSession) RenounceOwnership ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*WarpTokenUpgradableTransactorSession) Transfer ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableTransactorSession) 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 (*WarpTokenUpgradableTransactorSession) TransferFrom ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableTransactorSession) 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)
func (*WarpTokenUpgradableTransactorSession) TransferOwnership ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*WarpTokenUpgradableTransactorSession) UpgradeTo ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableTransactorSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)
UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.
Solidity: function upgradeTo(address newImplementation) returns()
func (*WarpTokenUpgradableTransactorSession) UpgradeToAndCall ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableTransactorSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)
UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.
Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()
func (*WarpTokenUpgradableTransactorSession) Withdraw ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableTransactorSession) Withdraw(value *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.
Solidity: function withdraw(uint256 value) returns()
func (*WarpTokenUpgradableTransactorSession) Withdraw0 ¶
func (_WarpTokenUpgradable *WarpTokenUpgradableTransactorSession) Withdraw0(to common.Address, value *big.Int) (*types.Transaction, error)
Withdraw0 is a paid mutator transaction binding the contract method 0xf3fef3a3.
Solidity: function withdraw(address to, uint256 value) returns()
type WarpTokenUpgradableTransfer ¶
type WarpTokenUpgradableTransfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
WarpTokenUpgradableTransfer represents a Transfer event raised by the WarpTokenUpgradable contract.
type WarpTokenUpgradableTransferIterator ¶
type WarpTokenUpgradableTransferIterator struct { Event *WarpTokenUpgradableTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
WarpTokenUpgradableTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the WarpTokenUpgradable contract.
func (*WarpTokenUpgradableTransferIterator) Close ¶
func (it *WarpTokenUpgradableTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*WarpTokenUpgradableTransferIterator) Error ¶
func (it *WarpTokenUpgradableTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*WarpTokenUpgradableTransferIterator) Next ¶
func (it *WarpTokenUpgradableTransferIterator) 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 WarpTokenUpgradableUpgraded ¶
type WarpTokenUpgradableUpgraded struct { Implementation common.Address Raw types.Log // Blockchain specific contextual infos }
WarpTokenUpgradableUpgraded represents a Upgraded event raised by the WarpTokenUpgradable contract.
type WarpTokenUpgradableUpgradedIterator ¶
type WarpTokenUpgradableUpgradedIterator struct { Event *WarpTokenUpgradableUpgraded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
WarpTokenUpgradableUpgradedIterator is returned from FilterUpgraded and is used to iterate over the raw logs and unpacked data for Upgraded events raised by the WarpTokenUpgradable contract.
func (*WarpTokenUpgradableUpgradedIterator) Close ¶
func (it *WarpTokenUpgradableUpgradedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*WarpTokenUpgradableUpgradedIterator) Error ¶
func (it *WarpTokenUpgradableUpgradedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*WarpTokenUpgradableUpgradedIterator) Next ¶
func (it *WarpTokenUpgradableUpgradedIterator) 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 WarpTokenUpgradableWithdraw ¶
type WarpTokenUpgradableWithdraw struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
WarpTokenUpgradableWithdraw represents a Withdraw event raised by the WarpTokenUpgradable contract.
type WarpTokenUpgradableWithdraw0 ¶
type WarpTokenUpgradableWithdraw0 struct { From common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
WarpTokenUpgradableWithdraw0 represents a Withdraw0 event raised by the WarpTokenUpgradable contract.
type WarpTokenUpgradableWithdraw0Iterator ¶
type WarpTokenUpgradableWithdraw0Iterator struct { Event *WarpTokenUpgradableWithdraw0 // Event containing the contract specifics and raw log // contains filtered or unexported fields }
WarpTokenUpgradableWithdraw0Iterator is returned from FilterWithdraw0 and is used to iterate over the raw logs and unpacked data for Withdraw0 events raised by the WarpTokenUpgradable contract.
func (*WarpTokenUpgradableWithdraw0Iterator) Close ¶
func (it *WarpTokenUpgradableWithdraw0Iterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*WarpTokenUpgradableWithdraw0Iterator) Error ¶
func (it *WarpTokenUpgradableWithdraw0Iterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*WarpTokenUpgradableWithdraw0Iterator) Next ¶
func (it *WarpTokenUpgradableWithdraw0Iterator) 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 WarpTokenUpgradableWithdrawIterator ¶
type WarpTokenUpgradableWithdrawIterator struct { Event *WarpTokenUpgradableWithdraw // Event containing the contract specifics and raw log // contains filtered or unexported fields }
WarpTokenUpgradableWithdrawIterator is returned from FilterWithdraw and is used to iterate over the raw logs and unpacked data for Withdraw events raised by the WarpTokenUpgradable contract.
func (*WarpTokenUpgradableWithdrawIterator) Close ¶
func (it *WarpTokenUpgradableWithdrawIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*WarpTokenUpgradableWithdrawIterator) Error ¶
func (it *WarpTokenUpgradableWithdrawIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*WarpTokenUpgradableWithdrawIterator) Next ¶
func (it *WarpTokenUpgradableWithdrawIterator) 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 WithdrawArgs ¶
type WithdrawArgs struct {
Validator string `abi:"_val"`
}
func (*WithdrawArgs) GetValidator ¶
func (args *WithdrawArgs) GetValidator() sdk.ValAddress
GetValidator returns the validator address, caller must ensure the validator address is valid
func (*WithdrawArgs) Validate ¶
func (args *WithdrawArgs) Validate() error
Validate validates the args
Source Files
¶
- access_control.go
- access_control.sol.go
- address.go
- bank.go
- bank_precompile.go
- bridge_fee.go
- bridge_fee_oracle.go
- bridge_fee_oracle.sol.go
- bridge_fee_quote.go
- bridge_fee_quote.sol.go
- bridge_proxy.sol.go
- byte32.go
- contract.go
- crosschain.go
- crosschain_precompile.go
- erc1967proxy.sol.go
- erc20_token.go
- erc20upgradable.sol.go
- ibank.sol.go
- ibridge_call_context.sol.go
- icrosschain.sol.go
- ierror.sol.go
- ifx_bridge_logic.sol.go
- interface.go
- istaking.sol.go
- precompile.go
- quote.go
- staking.go
- staking_precompile.go
- warp_token_upgradable.sol.go