Documentation ¶
Overview ¶
Code generated by synapse abigen DO NOT EDIT.
Index ¶
- Variables
- 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) 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) 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) 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 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) RenounceRole(role [32]byte, callerConfirmation 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) RenounceRole(opts *bind.TransactOpts, role [32]byte, callerConfirmation 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) RenounceRole(role [32]byte, callerConfirmation common.Address) (*types.Transaction, error)
- func (_AccessControl *AccessControlTransactorSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
- type Address
- type AddressCaller
- type AddressCallerRaw
- type AddressCallerSession
- type AddressFilterer
- type AddressRaw
- func (_Address *AddressRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Address *AddressRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Address *AddressRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type AddressSession
- type AddressTransactor
- type AddressTransactorRaw
- type AddressTransactorSession
- type Admin
- type AdminCaller
- func (_Admin *AdminCaller) ChainGasAmount(opts *bind.CallOpts) (*big.Int, error)
- func (_Admin *AdminCaller) DEFAULTADMINROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_Admin *AdminCaller) FEEBPS(opts *bind.CallOpts) (*big.Int, error)
- func (_Admin *AdminCaller) FEERATEMAX(opts *bind.CallOpts) (*big.Int, error)
- func (_Admin *AdminCaller) GOVERNORROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_Admin *AdminCaller) GUARDROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_Admin *AdminCaller) GetRoleAdmin(opts *bind.CallOpts, role [32]byte) ([32]byte, error)
- func (_Admin *AdminCaller) HasRole(opts *bind.CallOpts, role [32]byte, account common.Address) (bool, error)
- func (_Admin *AdminCaller) ProtocolFeeRate(opts *bind.CallOpts) (*big.Int, error)
- func (_Admin *AdminCaller) ProtocolFees(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_Admin *AdminCaller) RELAYERROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_Admin *AdminCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
- type AdminCallerRaw
- type AdminCallerSession
- func (_Admin *AdminCallerSession) ChainGasAmount() (*big.Int, error)
- func (_Admin *AdminCallerSession) DEFAULTADMINROLE() ([32]byte, error)
- func (_Admin *AdminCallerSession) FEEBPS() (*big.Int, error)
- func (_Admin *AdminCallerSession) FEERATEMAX() (*big.Int, error)
- func (_Admin *AdminCallerSession) GOVERNORROLE() ([32]byte, error)
- func (_Admin *AdminCallerSession) GUARDROLE() ([32]byte, error)
- func (_Admin *AdminCallerSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
- func (_Admin *AdminCallerSession) HasRole(role [32]byte, account common.Address) (bool, error)
- func (_Admin *AdminCallerSession) ProtocolFeeRate() (*big.Int, error)
- func (_Admin *AdminCallerSession) ProtocolFees(arg0 common.Address) (*big.Int, error)
- func (_Admin *AdminCallerSession) RELAYERROLE() ([32]byte, error)
- func (_Admin *AdminCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- type AdminChainGasAmountUpdated
- type AdminChainGasAmountUpdatedIterator
- type AdminFeeRateUpdated
- type AdminFeeRateUpdatedIterator
- type AdminFeesSwept
- type AdminFeesSweptIterator
- type AdminFilterer
- func (_Admin *AdminFilterer) FilterChainGasAmountUpdated(opts *bind.FilterOpts) (*AdminChainGasAmountUpdatedIterator, error)
- func (_Admin *AdminFilterer) FilterFeeRateUpdated(opts *bind.FilterOpts) (*AdminFeeRateUpdatedIterator, error)
- func (_Admin *AdminFilterer) FilterFeesSwept(opts *bind.FilterOpts) (*AdminFeesSweptIterator, error)
- func (_Admin *AdminFilterer) FilterGovernorAdded(opts *bind.FilterOpts) (*AdminGovernorAddedIterator, error)
- func (_Admin *AdminFilterer) FilterGovernorRemoved(opts *bind.FilterOpts) (*AdminGovernorRemovedIterator, error)
- func (_Admin *AdminFilterer) FilterGuardAdded(opts *bind.FilterOpts) (*AdminGuardAddedIterator, error)
- func (_Admin *AdminFilterer) FilterGuardRemoved(opts *bind.FilterOpts) (*AdminGuardRemovedIterator, error)
- func (_Admin *AdminFilterer) FilterRelayerAdded(opts *bind.FilterOpts) (*AdminRelayerAddedIterator, error)
- func (_Admin *AdminFilterer) FilterRelayerRemoved(opts *bind.FilterOpts) (*AdminRelayerRemovedIterator, error)
- func (_Admin *AdminFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, ...) (*AdminRoleAdminChangedIterator, error)
- func (_Admin *AdminFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, ...) (*AdminRoleGrantedIterator, error)
- func (_Admin *AdminFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, ...) (*AdminRoleRevokedIterator, error)
- func (_Admin *AdminFilterer) ParseChainGasAmountUpdated(log types.Log) (*AdminChainGasAmountUpdated, error)
- func (_Admin *AdminFilterer) ParseFeeRateUpdated(log types.Log) (*AdminFeeRateUpdated, error)
- func (_Admin *AdminFilterer) ParseFeesSwept(log types.Log) (*AdminFeesSwept, error)
- func (_Admin *AdminFilterer) ParseGovernorAdded(log types.Log) (*AdminGovernorAdded, error)
- func (_Admin *AdminFilterer) ParseGovernorRemoved(log types.Log) (*AdminGovernorRemoved, error)
- func (_Admin *AdminFilterer) ParseGuardAdded(log types.Log) (*AdminGuardAdded, error)
- func (_Admin *AdminFilterer) ParseGuardRemoved(log types.Log) (*AdminGuardRemoved, error)
- func (_Admin *AdminFilterer) ParseRelayerAdded(log types.Log) (*AdminRelayerAdded, error)
- func (_Admin *AdminFilterer) ParseRelayerRemoved(log types.Log) (*AdminRelayerRemoved, error)
- func (_Admin *AdminFilterer) ParseRoleAdminChanged(log types.Log) (*AdminRoleAdminChanged, error)
- func (_Admin *AdminFilterer) ParseRoleGranted(log types.Log) (*AdminRoleGranted, error)
- func (_Admin *AdminFilterer) ParseRoleRevoked(log types.Log) (*AdminRoleRevoked, error)
- func (_Admin *AdminFilterer) WatchChainGasAmountUpdated(opts *bind.WatchOpts, sink chan<- *AdminChainGasAmountUpdated) (event.Subscription, error)
- func (_Admin *AdminFilterer) WatchFeeRateUpdated(opts *bind.WatchOpts, sink chan<- *AdminFeeRateUpdated) (event.Subscription, error)
- func (_Admin *AdminFilterer) WatchFeesSwept(opts *bind.WatchOpts, sink chan<- *AdminFeesSwept) (event.Subscription, error)
- func (_Admin *AdminFilterer) WatchGovernorAdded(opts *bind.WatchOpts, sink chan<- *AdminGovernorAdded) (event.Subscription, error)
- func (_Admin *AdminFilterer) WatchGovernorRemoved(opts *bind.WatchOpts, sink chan<- *AdminGovernorRemoved) (event.Subscription, error)
- func (_Admin *AdminFilterer) WatchGuardAdded(opts *bind.WatchOpts, sink chan<- *AdminGuardAdded) (event.Subscription, error)
- func (_Admin *AdminFilterer) WatchGuardRemoved(opts *bind.WatchOpts, sink chan<- *AdminGuardRemoved) (event.Subscription, error)
- func (_Admin *AdminFilterer) WatchRelayerAdded(opts *bind.WatchOpts, sink chan<- *AdminRelayerAdded) (event.Subscription, error)
- func (_Admin *AdminFilterer) WatchRelayerRemoved(opts *bind.WatchOpts, sink chan<- *AdminRelayerRemoved) (event.Subscription, error)
- func (_Admin *AdminFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *AdminRoleAdminChanged, role [][32]byte, ...) (event.Subscription, error)
- func (_Admin *AdminFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *AdminRoleGranted, role [][32]byte, ...) (event.Subscription, error)
- func (_Admin *AdminFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *AdminRoleRevoked, role [][32]byte, ...) (event.Subscription, error)
- type AdminGovernorAdded
- type AdminGovernorAddedIterator
- type AdminGovernorRemoved
- type AdminGovernorRemovedIterator
- type AdminGuardAdded
- type AdminGuardAddedIterator
- type AdminGuardRemoved
- type AdminGuardRemovedIterator
- type AdminRaw
- func (_Admin *AdminRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Admin *AdminRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Admin *AdminRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type AdminRelayerAdded
- type AdminRelayerAddedIterator
- type AdminRelayerRemoved
- type AdminRelayerRemovedIterator
- type AdminRoleAdminChanged
- type AdminRoleAdminChangedIterator
- type AdminRoleGranted
- type AdminRoleGrantedIterator
- type AdminRoleRevoked
- type AdminRoleRevokedIterator
- type AdminSession
- func (_Admin *AdminSession) AddGovernor(_governor common.Address) (*types.Transaction, error)
- func (_Admin *AdminSession) AddGuard(_guard common.Address) (*types.Transaction, error)
- func (_Admin *AdminSession) AddRelayer(_relayer common.Address) (*types.Transaction, error)
- func (_Admin *AdminSession) ChainGasAmount() (*big.Int, error)
- func (_Admin *AdminSession) DEFAULTADMINROLE() ([32]byte, error)
- func (_Admin *AdminSession) FEEBPS() (*big.Int, error)
- func (_Admin *AdminSession) FEERATEMAX() (*big.Int, error)
- func (_Admin *AdminSession) GOVERNORROLE() ([32]byte, error)
- func (_Admin *AdminSession) GUARDROLE() ([32]byte, error)
- func (_Admin *AdminSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
- func (_Admin *AdminSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Admin *AdminSession) HasRole(role [32]byte, account common.Address) (bool, error)
- func (_Admin *AdminSession) ProtocolFeeRate() (*big.Int, error)
- func (_Admin *AdminSession) ProtocolFees(arg0 common.Address) (*big.Int, error)
- func (_Admin *AdminSession) RELAYERROLE() ([32]byte, error)
- func (_Admin *AdminSession) RemoveGovernor(_governor common.Address) (*types.Transaction, error)
- func (_Admin *AdminSession) RemoveGuard(_guard common.Address) (*types.Transaction, error)
- func (_Admin *AdminSession) RemoveRelayer(_relayer common.Address) (*types.Transaction, error)
- func (_Admin *AdminSession) RenounceRole(role [32]byte, callerConfirmation common.Address) (*types.Transaction, error)
- func (_Admin *AdminSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Admin *AdminSession) SetChainGasAmount(newChainGasAmount *big.Int) (*types.Transaction, error)
- func (_Admin *AdminSession) SetProtocolFeeRate(newFeeRate *big.Int) (*types.Transaction, error)
- func (_Admin *AdminSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_Admin *AdminSession) SweepProtocolFees(token common.Address, recipient common.Address) (*types.Transaction, error)
- type AdminTransactor
- func (_Admin *AdminTransactor) AddGovernor(opts *bind.TransactOpts, _governor common.Address) (*types.Transaction, error)
- func (_Admin *AdminTransactor) AddGuard(opts *bind.TransactOpts, _guard common.Address) (*types.Transaction, error)
- func (_Admin *AdminTransactor) AddRelayer(opts *bind.TransactOpts, _relayer common.Address) (*types.Transaction, error)
- func (_Admin *AdminTransactor) GrantRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Admin *AdminTransactor) RemoveGovernor(opts *bind.TransactOpts, _governor common.Address) (*types.Transaction, error)
- func (_Admin *AdminTransactor) RemoveGuard(opts *bind.TransactOpts, _guard common.Address) (*types.Transaction, error)
- func (_Admin *AdminTransactor) RemoveRelayer(opts *bind.TransactOpts, _relayer common.Address) (*types.Transaction, error)
- func (_Admin *AdminTransactor) RenounceRole(opts *bind.TransactOpts, role [32]byte, callerConfirmation common.Address) (*types.Transaction, error)
- func (_Admin *AdminTransactor) RevokeRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Admin *AdminTransactor) SetChainGasAmount(opts *bind.TransactOpts, newChainGasAmount *big.Int) (*types.Transaction, error)
- func (_Admin *AdminTransactor) SetProtocolFeeRate(opts *bind.TransactOpts, newFeeRate *big.Int) (*types.Transaction, error)
- func (_Admin *AdminTransactor) SweepProtocolFees(opts *bind.TransactOpts, token common.Address, recipient common.Address) (*types.Transaction, error)
- type AdminTransactorRaw
- type AdminTransactorSession
- func (_Admin *AdminTransactorSession) AddGovernor(_governor common.Address) (*types.Transaction, error)
- func (_Admin *AdminTransactorSession) AddGuard(_guard common.Address) (*types.Transaction, error)
- func (_Admin *AdminTransactorSession) AddRelayer(_relayer common.Address) (*types.Transaction, error)
- func (_Admin *AdminTransactorSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Admin *AdminTransactorSession) RemoveGovernor(_governor common.Address) (*types.Transaction, error)
- func (_Admin *AdminTransactorSession) RemoveGuard(_guard common.Address) (*types.Transaction, error)
- func (_Admin *AdminTransactorSession) RemoveRelayer(_relayer common.Address) (*types.Transaction, error)
- func (_Admin *AdminTransactorSession) RenounceRole(role [32]byte, callerConfirmation common.Address) (*types.Transaction, error)
- func (_Admin *AdminTransactorSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Admin *AdminTransactorSession) SetChainGasAmount(newChainGasAmount *big.Int) (*types.Transaction, error)
- func (_Admin *AdminTransactorSession) SetProtocolFeeRate(newFeeRate *big.Int) (*types.Transaction, error)
- func (_Admin *AdminTransactorSession) SweepProtocolFees(token common.Address, recipient common.Address) (*types.Transaction, error)
- type BridgeStatus
- type Context
- type ContextCaller
- type ContextCallerRaw
- type ContextCallerSession
- type ContextFilterer
- type ContextRaw
- func (_Context *ContextRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Context *ContextRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Context *ContextRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ContextSession
- type ContextTransactor
- type ContextTransactorRaw
- type ContextTransactorSession
- type ERC165
- type ERC165Caller
- type ERC165CallerRaw
- type ERC165CallerSession
- type ERC165Filterer
- type ERC165Raw
- func (_ERC165 *ERC165Raw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_ERC165 *ERC165Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ERC165 *ERC165Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ERC165Session
- type ERC165Transactor
- type ERC165TransactorRaw
- type ERC165TransactorSession
- type EventType
- type FastBridge
- type FastBridgeBridgeDepositClaimed
- type FastBridgeBridgeDepositClaimedIterator
- type FastBridgeBridgeDepositRefunded
- type FastBridgeBridgeDepositRefundedIterator
- type FastBridgeBridgeProofDisputed
- type FastBridgeBridgeProofDisputedIterator
- type FastBridgeBridgeProofProvided
- type FastBridgeBridgeProofProvidedIterator
- type FastBridgeBridgeRelayed
- type FastBridgeBridgeRelayedIterator
- type FastBridgeBridgeRequested
- type FastBridgeBridgeRequestedIterator
- type FastBridgeCaller
- func (_FastBridge *FastBridgeCaller) BridgeProofs(opts *bind.CallOpts, arg0 [32]byte) (struct{ ... }, error)
- func (_FastBridge *FastBridgeCaller) BridgeRelays(opts *bind.CallOpts, arg0 [32]byte) (bool, error)
- func (_FastBridge *FastBridgeCaller) BridgeStatuses(opts *bind.CallOpts, arg0 [32]byte) (uint8, error)
- func (_FastBridge *FastBridgeCaller) CanClaim(opts *bind.CallOpts, transactionId [32]byte, relayer common.Address) (bool, error)
- func (_FastBridge *FastBridgeCaller) ChainGasAmount(opts *bind.CallOpts) (*big.Int, error)
- func (_FastBridge *FastBridgeCaller) DEFAULTADMINROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_FastBridge *FastBridgeCaller) DISPUTEPERIOD(opts *bind.CallOpts) (*big.Int, error)
- func (_FastBridge *FastBridgeCaller) DeployBlock(opts *bind.CallOpts) (*big.Int, error)
- func (_FastBridge *FastBridgeCaller) FEEBPS(opts *bind.CallOpts) (*big.Int, error)
- func (_FastBridge *FastBridgeCaller) FEERATEMAX(opts *bind.CallOpts) (*big.Int, error)
- func (_FastBridge *FastBridgeCaller) GOVERNORROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_FastBridge *FastBridgeCaller) GUARDROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_FastBridge *FastBridgeCaller) GetBridgeTransaction(opts *bind.CallOpts, request []byte) (IFastBridgeBridgeTransaction, error)
- func (_FastBridge *FastBridgeCaller) GetRoleAdmin(opts *bind.CallOpts, role [32]byte) ([32]byte, error)
- func (_FastBridge *FastBridgeCaller) HasRole(opts *bind.CallOpts, role [32]byte, account common.Address) (bool, error)
- func (_FastBridge *FastBridgeCaller) MINDEADLINEPERIOD(opts *bind.CallOpts) (*big.Int, error)
- func (_FastBridge *FastBridgeCaller) Nonce(opts *bind.CallOpts) (*big.Int, error)
- func (_FastBridge *FastBridgeCaller) ProtocolFeeRate(opts *bind.CallOpts) (*big.Int, error)
- func (_FastBridge *FastBridgeCaller) ProtocolFees(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_FastBridge *FastBridgeCaller) RELAYERROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_FastBridge *FastBridgeCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
- type FastBridgeCallerRaw
- type FastBridgeCallerSession
- func (_FastBridge *FastBridgeCallerSession) BridgeProofs(arg0 [32]byte) (struct{ ... }, error)
- func (_FastBridge *FastBridgeCallerSession) BridgeRelays(arg0 [32]byte) (bool, error)
- func (_FastBridge *FastBridgeCallerSession) BridgeStatuses(arg0 [32]byte) (uint8, error)
- func (_FastBridge *FastBridgeCallerSession) CanClaim(transactionId [32]byte, relayer common.Address) (bool, error)
- func (_FastBridge *FastBridgeCallerSession) ChainGasAmount() (*big.Int, error)
- func (_FastBridge *FastBridgeCallerSession) DEFAULTADMINROLE() ([32]byte, error)
- func (_FastBridge *FastBridgeCallerSession) DISPUTEPERIOD() (*big.Int, error)
- func (_FastBridge *FastBridgeCallerSession) DeployBlock() (*big.Int, error)
- func (_FastBridge *FastBridgeCallerSession) FEEBPS() (*big.Int, error)
- func (_FastBridge *FastBridgeCallerSession) FEERATEMAX() (*big.Int, error)
- func (_FastBridge *FastBridgeCallerSession) GOVERNORROLE() ([32]byte, error)
- func (_FastBridge *FastBridgeCallerSession) GUARDROLE() ([32]byte, error)
- func (_FastBridge *FastBridgeCallerSession) GetBridgeTransaction(request []byte) (IFastBridgeBridgeTransaction, error)
- func (_FastBridge *FastBridgeCallerSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
- func (_FastBridge *FastBridgeCallerSession) HasRole(role [32]byte, account common.Address) (bool, error)
- func (_FastBridge *FastBridgeCallerSession) MINDEADLINEPERIOD() (*big.Int, error)
- func (_FastBridge *FastBridgeCallerSession) Nonce() (*big.Int, error)
- func (_FastBridge *FastBridgeCallerSession) ProtocolFeeRate() (*big.Int, error)
- func (_FastBridge *FastBridgeCallerSession) ProtocolFees(arg0 common.Address) (*big.Int, error)
- func (_FastBridge *FastBridgeCallerSession) RELAYERROLE() ([32]byte, error)
- func (_FastBridge *FastBridgeCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- type FastBridgeChainGasAmountUpdated
- type FastBridgeChainGasAmountUpdatedIterator
- type FastBridgeFeeRateUpdated
- type FastBridgeFeeRateUpdatedIterator
- type FastBridgeFeesSwept
- type FastBridgeFeesSweptIterator
- type FastBridgeFilterer
- func (_FastBridge *FastBridgeFilterer) FilterBridgeDepositClaimed(opts *bind.FilterOpts) (*FastBridgeBridgeDepositClaimedIterator, error)
- func (_FastBridge *FastBridgeFilterer) FilterBridgeDepositRefunded(opts *bind.FilterOpts) (*FastBridgeBridgeDepositRefundedIterator, error)
- func (_FastBridge *FastBridgeFilterer) FilterBridgeProofDisputed(opts *bind.FilterOpts) (*FastBridgeBridgeProofDisputedIterator, error)
- func (_FastBridge *FastBridgeFilterer) FilterBridgeProofProvided(opts *bind.FilterOpts) (*FastBridgeBridgeProofProvidedIterator, error)
- func (_FastBridge *FastBridgeFilterer) FilterBridgeRelayed(opts *bind.FilterOpts) (*FastBridgeBridgeRelayedIterator, error)
- func (_FastBridge *FastBridgeFilterer) FilterBridgeRequested(opts *bind.FilterOpts) (*FastBridgeBridgeRequestedIterator, error)
- func (_FastBridge *FastBridgeFilterer) FilterChainGasAmountUpdated(opts *bind.FilterOpts) (*FastBridgeChainGasAmountUpdatedIterator, error)
- func (_FastBridge *FastBridgeFilterer) FilterFeeRateUpdated(opts *bind.FilterOpts) (*FastBridgeFeeRateUpdatedIterator, error)
- func (_FastBridge *FastBridgeFilterer) FilterFeesSwept(opts *bind.FilterOpts) (*FastBridgeFeesSweptIterator, error)
- func (_FastBridge *FastBridgeFilterer) FilterGovernorAdded(opts *bind.FilterOpts) (*FastBridgeGovernorAddedIterator, error)
- func (_FastBridge *FastBridgeFilterer) FilterGovernorRemoved(opts *bind.FilterOpts) (*FastBridgeGovernorRemovedIterator, error)
- func (_FastBridge *FastBridgeFilterer) FilterGuardAdded(opts *bind.FilterOpts) (*FastBridgeGuardAddedIterator, error)
- func (_FastBridge *FastBridgeFilterer) FilterGuardRemoved(opts *bind.FilterOpts) (*FastBridgeGuardRemovedIterator, error)
- func (_FastBridge *FastBridgeFilterer) FilterRelayerAdded(opts *bind.FilterOpts) (*FastBridgeRelayerAddedIterator, error)
- func (_FastBridge *FastBridgeFilterer) FilterRelayerRemoved(opts *bind.FilterOpts) (*FastBridgeRelayerRemovedIterator, error)
- func (_FastBridge *FastBridgeFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, ...) (*FastBridgeRoleAdminChangedIterator, error)
- func (_FastBridge *FastBridgeFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, ...) (*FastBridgeRoleGrantedIterator, error)
- func (_FastBridge *FastBridgeFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, ...) (*FastBridgeRoleRevokedIterator, error)
- func (_FastBridge *FastBridgeFilterer) ParseBridgeDepositClaimed(log types.Log) (*FastBridgeBridgeDepositClaimed, error)
- func (_FastBridge *FastBridgeFilterer) ParseBridgeDepositRefunded(log types.Log) (*FastBridgeBridgeDepositRefunded, error)
- func (_FastBridge *FastBridgeFilterer) ParseBridgeProofDisputed(log types.Log) (*FastBridgeBridgeProofDisputed, error)
- func (_FastBridge *FastBridgeFilterer) ParseBridgeProofProvided(log types.Log) (*FastBridgeBridgeProofProvided, error)
- func (_FastBridge *FastBridgeFilterer) ParseBridgeRelayed(log types.Log) (*FastBridgeBridgeRelayed, error)
- func (_FastBridge *FastBridgeFilterer) ParseBridgeRequested(log types.Log) (*FastBridgeBridgeRequested, error)
- func (_FastBridge *FastBridgeFilterer) ParseChainGasAmountUpdated(log types.Log) (*FastBridgeChainGasAmountUpdated, error)
- func (_FastBridge *FastBridgeFilterer) ParseFeeRateUpdated(log types.Log) (*FastBridgeFeeRateUpdated, error)
- func (_FastBridge *FastBridgeFilterer) ParseFeesSwept(log types.Log) (*FastBridgeFeesSwept, error)
- func (_FastBridge *FastBridgeFilterer) ParseGovernorAdded(log types.Log) (*FastBridgeGovernorAdded, error)
- func (_FastBridge *FastBridgeFilterer) ParseGovernorRemoved(log types.Log) (*FastBridgeGovernorRemoved, error)
- func (_FastBridge *FastBridgeFilterer) ParseGuardAdded(log types.Log) (*FastBridgeGuardAdded, error)
- func (_FastBridge *FastBridgeFilterer) ParseGuardRemoved(log types.Log) (*FastBridgeGuardRemoved, error)
- func (_FastBridge *FastBridgeFilterer) ParseRelayerAdded(log types.Log) (*FastBridgeRelayerAdded, error)
- func (_FastBridge *FastBridgeFilterer) ParseRelayerRemoved(log types.Log) (*FastBridgeRelayerRemoved, error)
- func (_FastBridge *FastBridgeFilterer) ParseRoleAdminChanged(log types.Log) (*FastBridgeRoleAdminChanged, error)
- func (_FastBridge *FastBridgeFilterer) ParseRoleGranted(log types.Log) (*FastBridgeRoleGranted, error)
- func (_FastBridge *FastBridgeFilterer) ParseRoleRevoked(log types.Log) (*FastBridgeRoleRevoked, error)
- func (_FastBridge *FastBridgeFilterer) WatchBridgeDepositClaimed(opts *bind.WatchOpts, sink chan<- *FastBridgeBridgeDepositClaimed) (event.Subscription, error)
- func (_FastBridge *FastBridgeFilterer) WatchBridgeDepositRefunded(opts *bind.WatchOpts, sink chan<- *FastBridgeBridgeDepositRefunded) (event.Subscription, error)
- func (_FastBridge *FastBridgeFilterer) WatchBridgeProofDisputed(opts *bind.WatchOpts, sink chan<- *FastBridgeBridgeProofDisputed) (event.Subscription, error)
- func (_FastBridge *FastBridgeFilterer) WatchBridgeProofProvided(opts *bind.WatchOpts, sink chan<- *FastBridgeBridgeProofProvided) (event.Subscription, error)
- func (_FastBridge *FastBridgeFilterer) WatchBridgeRelayed(opts *bind.WatchOpts, sink chan<- *FastBridgeBridgeRelayed) (event.Subscription, error)
- func (_FastBridge *FastBridgeFilterer) WatchBridgeRequested(opts *bind.WatchOpts, sink chan<- *FastBridgeBridgeRequested) (event.Subscription, error)
- func (_FastBridge *FastBridgeFilterer) WatchChainGasAmountUpdated(opts *bind.WatchOpts, sink chan<- *FastBridgeChainGasAmountUpdated) (event.Subscription, error)
- func (_FastBridge *FastBridgeFilterer) WatchFeeRateUpdated(opts *bind.WatchOpts, sink chan<- *FastBridgeFeeRateUpdated) (event.Subscription, error)
- func (_FastBridge *FastBridgeFilterer) WatchFeesSwept(opts *bind.WatchOpts, sink chan<- *FastBridgeFeesSwept) (event.Subscription, error)
- func (_FastBridge *FastBridgeFilterer) WatchGovernorAdded(opts *bind.WatchOpts, sink chan<- *FastBridgeGovernorAdded) (event.Subscription, error)
- func (_FastBridge *FastBridgeFilterer) WatchGovernorRemoved(opts *bind.WatchOpts, sink chan<- *FastBridgeGovernorRemoved) (event.Subscription, error)
- func (_FastBridge *FastBridgeFilterer) WatchGuardAdded(opts *bind.WatchOpts, sink chan<- *FastBridgeGuardAdded) (event.Subscription, error)
- func (_FastBridge *FastBridgeFilterer) WatchGuardRemoved(opts *bind.WatchOpts, sink chan<- *FastBridgeGuardRemoved) (event.Subscription, error)
- func (_FastBridge *FastBridgeFilterer) WatchRelayerAdded(opts *bind.WatchOpts, sink chan<- *FastBridgeRelayerAdded) (event.Subscription, error)
- func (_FastBridge *FastBridgeFilterer) WatchRelayerRemoved(opts *bind.WatchOpts, sink chan<- *FastBridgeRelayerRemoved) (event.Subscription, error)
- func (_FastBridge *FastBridgeFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *FastBridgeRoleAdminChanged, role [][32]byte, ...) (event.Subscription, error)
- func (_FastBridge *FastBridgeFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *FastBridgeRoleGranted, role [][32]byte, ...) (event.Subscription, error)
- func (_FastBridge *FastBridgeFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *FastBridgeRoleRevoked, role [][32]byte, ...) (event.Subscription, error)
- type FastBridgeGovernorAdded
- type FastBridgeGovernorAddedIterator
- type FastBridgeGovernorRemoved
- type FastBridgeGovernorRemovedIterator
- type FastBridgeGuardAdded
- type FastBridgeGuardAddedIterator
- type FastBridgeGuardRemoved
- type FastBridgeGuardRemovedIterator
- type FastBridgeRaw
- func (_FastBridge *FastBridgeRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_FastBridge *FastBridgeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_FastBridge *FastBridgeRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type FastBridgeRef
- type FastBridgeRelayerAdded
- type FastBridgeRelayerAddedIterator
- type FastBridgeRelayerRemoved
- type FastBridgeRelayerRemovedIterator
- type FastBridgeRoleAdminChanged
- type FastBridgeRoleAdminChangedIterator
- type FastBridgeRoleGranted
- type FastBridgeRoleGrantedIterator
- type FastBridgeRoleRevoked
- type FastBridgeRoleRevokedIterator
- type FastBridgeSession
- func (_FastBridge *FastBridgeSession) AddGovernor(_governor common.Address) (*types.Transaction, error)
- func (_FastBridge *FastBridgeSession) AddGuard(_guard common.Address) (*types.Transaction, error)
- func (_FastBridge *FastBridgeSession) AddRelayer(_relayer common.Address) (*types.Transaction, error)
- func (_FastBridge *FastBridgeSession) Bridge(params IFastBridgeBridgeParams) (*types.Transaction, error)
- func (_FastBridge *FastBridgeSession) BridgeProofs(arg0 [32]byte) (struct{ ... }, error)
- func (_FastBridge *FastBridgeSession) BridgeRelays(arg0 [32]byte) (bool, error)
- func (_FastBridge *FastBridgeSession) BridgeStatuses(arg0 [32]byte) (uint8, error)
- func (_FastBridge *FastBridgeSession) CanClaim(transactionId [32]byte, relayer common.Address) (bool, error)
- func (_FastBridge *FastBridgeSession) ChainGasAmount() (*big.Int, error)
- func (_FastBridge *FastBridgeSession) Claim(request []byte, to common.Address) (*types.Transaction, error)
- func (_FastBridge *FastBridgeSession) DEFAULTADMINROLE() ([32]byte, error)
- func (_FastBridge *FastBridgeSession) DISPUTEPERIOD() (*big.Int, error)
- func (_FastBridge *FastBridgeSession) DeployBlock() (*big.Int, error)
- func (_FastBridge *FastBridgeSession) Dispute(transactionId [32]byte) (*types.Transaction, error)
- func (_FastBridge *FastBridgeSession) FEEBPS() (*big.Int, error)
- func (_FastBridge *FastBridgeSession) FEERATEMAX() (*big.Int, error)
- func (_FastBridge *FastBridgeSession) GOVERNORROLE() ([32]byte, error)
- func (_FastBridge *FastBridgeSession) GUARDROLE() ([32]byte, error)
- func (_FastBridge *FastBridgeSession) GetBridgeTransaction(request []byte) (IFastBridgeBridgeTransaction, error)
- func (_FastBridge *FastBridgeSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
- func (_FastBridge *FastBridgeSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_FastBridge *FastBridgeSession) HasRole(role [32]byte, account common.Address) (bool, error)
- func (_FastBridge *FastBridgeSession) MINDEADLINEPERIOD() (*big.Int, error)
- func (_FastBridge *FastBridgeSession) Nonce() (*big.Int, error)
- func (_FastBridge *FastBridgeSession) ProtocolFeeRate() (*big.Int, error)
- func (_FastBridge *FastBridgeSession) ProtocolFees(arg0 common.Address) (*big.Int, error)
- func (_FastBridge *FastBridgeSession) Prove(request []byte, destTxHash [32]byte) (*types.Transaction, error)
- func (_FastBridge *FastBridgeSession) RELAYERROLE() ([32]byte, error)
- func (_FastBridge *FastBridgeSession) Refund(request []byte, to common.Address) (*types.Transaction, error)
- func (_FastBridge *FastBridgeSession) Relay(request []byte) (*types.Transaction, error)
- func (_FastBridge *FastBridgeSession) RemoveGovernor(_governor common.Address) (*types.Transaction, error)
- func (_FastBridge *FastBridgeSession) RemoveGuard(_guard common.Address) (*types.Transaction, error)
- func (_FastBridge *FastBridgeSession) RemoveRelayer(_relayer common.Address) (*types.Transaction, error)
- func (_FastBridge *FastBridgeSession) RenounceRole(role [32]byte, callerConfirmation common.Address) (*types.Transaction, error)
- func (_FastBridge *FastBridgeSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_FastBridge *FastBridgeSession) SetChainGasAmount(newChainGasAmount *big.Int) (*types.Transaction, error)
- func (_FastBridge *FastBridgeSession) SetProtocolFeeRate(newFeeRate *big.Int) (*types.Transaction, error)
- func (_FastBridge *FastBridgeSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_FastBridge *FastBridgeSession) SweepProtocolFees(token common.Address, recipient common.Address) (*types.Transaction, error)
- type FastBridgeTransactor
- func (_FastBridge *FastBridgeTransactor) AddGovernor(opts *bind.TransactOpts, _governor common.Address) (*types.Transaction, error)
- func (_FastBridge *FastBridgeTransactor) AddGuard(opts *bind.TransactOpts, _guard common.Address) (*types.Transaction, error)
- func (_FastBridge *FastBridgeTransactor) AddRelayer(opts *bind.TransactOpts, _relayer common.Address) (*types.Transaction, error)
- func (_FastBridge *FastBridgeTransactor) Bridge(opts *bind.TransactOpts, params IFastBridgeBridgeParams) (*types.Transaction, error)
- func (_FastBridge *FastBridgeTransactor) Claim(opts *bind.TransactOpts, request []byte, to common.Address) (*types.Transaction, error)
- func (_FastBridge *FastBridgeTransactor) Dispute(opts *bind.TransactOpts, transactionId [32]byte) (*types.Transaction, error)
- func (_FastBridge *FastBridgeTransactor) GrantRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- func (_FastBridge *FastBridgeTransactor) Prove(opts *bind.TransactOpts, request []byte, destTxHash [32]byte) (*types.Transaction, error)
- func (_FastBridge *FastBridgeTransactor) Refund(opts *bind.TransactOpts, request []byte, to common.Address) (*types.Transaction, error)
- func (_FastBridge *FastBridgeTransactor) Relay(opts *bind.TransactOpts, request []byte) (*types.Transaction, error)
- func (_FastBridge *FastBridgeTransactor) RemoveGovernor(opts *bind.TransactOpts, _governor common.Address) (*types.Transaction, error)
- func (_FastBridge *FastBridgeTransactor) RemoveGuard(opts *bind.TransactOpts, _guard common.Address) (*types.Transaction, error)
- func (_FastBridge *FastBridgeTransactor) RemoveRelayer(opts *bind.TransactOpts, _relayer common.Address) (*types.Transaction, error)
- func (_FastBridge *FastBridgeTransactor) RenounceRole(opts *bind.TransactOpts, role [32]byte, callerConfirmation common.Address) (*types.Transaction, error)
- func (_FastBridge *FastBridgeTransactor) RevokeRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- func (_FastBridge *FastBridgeTransactor) SetChainGasAmount(opts *bind.TransactOpts, newChainGasAmount *big.Int) (*types.Transaction, error)
- func (_FastBridge *FastBridgeTransactor) SetProtocolFeeRate(opts *bind.TransactOpts, newFeeRate *big.Int) (*types.Transaction, error)
- func (_FastBridge *FastBridgeTransactor) SweepProtocolFees(opts *bind.TransactOpts, token common.Address, recipient common.Address) (*types.Transaction, error)
- type FastBridgeTransactorRaw
- type FastBridgeTransactorSession
- func (_FastBridge *FastBridgeTransactorSession) AddGovernor(_governor common.Address) (*types.Transaction, error)
- func (_FastBridge *FastBridgeTransactorSession) AddGuard(_guard common.Address) (*types.Transaction, error)
- func (_FastBridge *FastBridgeTransactorSession) AddRelayer(_relayer common.Address) (*types.Transaction, error)
- func (_FastBridge *FastBridgeTransactorSession) Bridge(params IFastBridgeBridgeParams) (*types.Transaction, error)
- func (_FastBridge *FastBridgeTransactorSession) Claim(request []byte, to common.Address) (*types.Transaction, error)
- func (_FastBridge *FastBridgeTransactorSession) Dispute(transactionId [32]byte) (*types.Transaction, error)
- func (_FastBridge *FastBridgeTransactorSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_FastBridge *FastBridgeTransactorSession) Prove(request []byte, destTxHash [32]byte) (*types.Transaction, error)
- func (_FastBridge *FastBridgeTransactorSession) Refund(request []byte, to common.Address) (*types.Transaction, error)
- func (_FastBridge *FastBridgeTransactorSession) Relay(request []byte) (*types.Transaction, error)
- func (_FastBridge *FastBridgeTransactorSession) RemoveGovernor(_governor common.Address) (*types.Transaction, error)
- func (_FastBridge *FastBridgeTransactorSession) RemoveGuard(_guard common.Address) (*types.Transaction, error)
- func (_FastBridge *FastBridgeTransactorSession) RemoveRelayer(_relayer common.Address) (*types.Transaction, error)
- func (_FastBridge *FastBridgeTransactorSession) RenounceRole(role [32]byte, callerConfirmation common.Address) (*types.Transaction, error)
- func (_FastBridge *FastBridgeTransactorSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_FastBridge *FastBridgeTransactorSession) SetChainGasAmount(newChainGasAmount *big.Int) (*types.Transaction, error)
- func (_FastBridge *FastBridgeTransactorSession) SetProtocolFeeRate(newFeeRate *big.Int) (*types.Transaction, error)
- func (_FastBridge *FastBridgeTransactorSession) SweepProtocolFees(token common.Address, recipient common.Address) (*types.Transaction, error)
- type IAccessControl
- type IAccessControlCaller
- type IAccessControlCallerRaw
- type IAccessControlCallerSession
- type IAccessControlFilterer
- func (_IAccessControl *IAccessControlFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, ...) (*IAccessControlRoleAdminChangedIterator, error)
- func (_IAccessControl *IAccessControlFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, ...) (*IAccessControlRoleGrantedIterator, error)
- func (_IAccessControl *IAccessControlFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, ...) (*IAccessControlRoleRevokedIterator, error)
- func (_IAccessControl *IAccessControlFilterer) ParseRoleAdminChanged(log types.Log) (*IAccessControlRoleAdminChanged, error)
- func (_IAccessControl *IAccessControlFilterer) ParseRoleGranted(log types.Log) (*IAccessControlRoleGranted, error)
- func (_IAccessControl *IAccessControlFilterer) ParseRoleRevoked(log types.Log) (*IAccessControlRoleRevoked, error)
- func (_IAccessControl *IAccessControlFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *IAccessControlRoleAdminChanged, ...) (event.Subscription, error)
- func (_IAccessControl *IAccessControlFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *IAccessControlRoleGranted, role [][32]byte, ...) (event.Subscription, error)
- func (_IAccessControl *IAccessControlFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *IAccessControlRoleRevoked, role [][32]byte, ...) (event.Subscription, error)
- type IAccessControlRaw
- func (_IAccessControl *IAccessControlRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_IAccessControl *IAccessControlRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_IAccessControl *IAccessControlRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type IAccessControlRoleAdminChanged
- type IAccessControlRoleAdminChangedIterator
- type IAccessControlRoleGranted
- type IAccessControlRoleGrantedIterator
- type IAccessControlRoleRevoked
- type IAccessControlRoleRevokedIterator
- type IAccessControlSession
- func (_IAccessControl *IAccessControlSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
- func (_IAccessControl *IAccessControlSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_IAccessControl *IAccessControlSession) HasRole(role [32]byte, account common.Address) (bool, error)
- func (_IAccessControl *IAccessControlSession) RenounceRole(role [32]byte, callerConfirmation common.Address) (*types.Transaction, error)
- func (_IAccessControl *IAccessControlSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
- type IAccessControlTransactor
- func (_IAccessControl *IAccessControlTransactor) GrantRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- func (_IAccessControl *IAccessControlTransactor) RenounceRole(opts *bind.TransactOpts, role [32]byte, callerConfirmation common.Address) (*types.Transaction, error)
- func (_IAccessControl *IAccessControlTransactor) RevokeRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- type IAccessControlTransactorRaw
- type IAccessControlTransactorSession
- func (_IAccessControl *IAccessControlTransactorSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_IAccessControl *IAccessControlTransactorSession) RenounceRole(role [32]byte, callerConfirmation common.Address) (*types.Transaction, error)
- func (_IAccessControl *IAccessControlTransactorSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
- type IAdmin
- type IAdminCaller
- type IAdminCallerRaw
- type IAdminCallerSession
- type IAdminChainGasAmountUpdated
- type IAdminChainGasAmountUpdatedIterator
- type IAdminFeeRateUpdated
- type IAdminFeeRateUpdatedIterator
- type IAdminFeesSwept
- type IAdminFeesSweptIterator
- type IAdminFilterer
- func (_IAdmin *IAdminFilterer) FilterChainGasAmountUpdated(opts *bind.FilterOpts) (*IAdminChainGasAmountUpdatedIterator, error)
- func (_IAdmin *IAdminFilterer) FilterFeeRateUpdated(opts *bind.FilterOpts) (*IAdminFeeRateUpdatedIterator, error)
- func (_IAdmin *IAdminFilterer) FilterFeesSwept(opts *bind.FilterOpts) (*IAdminFeesSweptIterator, error)
- func (_IAdmin *IAdminFilterer) FilterGovernorAdded(opts *bind.FilterOpts) (*IAdminGovernorAddedIterator, error)
- func (_IAdmin *IAdminFilterer) FilterGovernorRemoved(opts *bind.FilterOpts) (*IAdminGovernorRemovedIterator, error)
- func (_IAdmin *IAdminFilterer) FilterGuardAdded(opts *bind.FilterOpts) (*IAdminGuardAddedIterator, error)
- func (_IAdmin *IAdminFilterer) FilterGuardRemoved(opts *bind.FilterOpts) (*IAdminGuardRemovedIterator, error)
- func (_IAdmin *IAdminFilterer) FilterRelayerAdded(opts *bind.FilterOpts) (*IAdminRelayerAddedIterator, error)
- func (_IAdmin *IAdminFilterer) FilterRelayerRemoved(opts *bind.FilterOpts) (*IAdminRelayerRemovedIterator, error)
- func (_IAdmin *IAdminFilterer) ParseChainGasAmountUpdated(log types.Log) (*IAdminChainGasAmountUpdated, error)
- func (_IAdmin *IAdminFilterer) ParseFeeRateUpdated(log types.Log) (*IAdminFeeRateUpdated, error)
- func (_IAdmin *IAdminFilterer) ParseFeesSwept(log types.Log) (*IAdminFeesSwept, error)
- func (_IAdmin *IAdminFilterer) ParseGovernorAdded(log types.Log) (*IAdminGovernorAdded, error)
- func (_IAdmin *IAdminFilterer) ParseGovernorRemoved(log types.Log) (*IAdminGovernorRemoved, error)
- func (_IAdmin *IAdminFilterer) ParseGuardAdded(log types.Log) (*IAdminGuardAdded, error)
- func (_IAdmin *IAdminFilterer) ParseGuardRemoved(log types.Log) (*IAdminGuardRemoved, error)
- func (_IAdmin *IAdminFilterer) ParseRelayerAdded(log types.Log) (*IAdminRelayerAdded, error)
- func (_IAdmin *IAdminFilterer) ParseRelayerRemoved(log types.Log) (*IAdminRelayerRemoved, error)
- func (_IAdmin *IAdminFilterer) WatchChainGasAmountUpdated(opts *bind.WatchOpts, sink chan<- *IAdminChainGasAmountUpdated) (event.Subscription, error)
- func (_IAdmin *IAdminFilterer) WatchFeeRateUpdated(opts *bind.WatchOpts, sink chan<- *IAdminFeeRateUpdated) (event.Subscription, error)
- func (_IAdmin *IAdminFilterer) WatchFeesSwept(opts *bind.WatchOpts, sink chan<- *IAdminFeesSwept) (event.Subscription, error)
- func (_IAdmin *IAdminFilterer) WatchGovernorAdded(opts *bind.WatchOpts, sink chan<- *IAdminGovernorAdded) (event.Subscription, error)
- func (_IAdmin *IAdminFilterer) WatchGovernorRemoved(opts *bind.WatchOpts, sink chan<- *IAdminGovernorRemoved) (event.Subscription, error)
- func (_IAdmin *IAdminFilterer) WatchGuardAdded(opts *bind.WatchOpts, sink chan<- *IAdminGuardAdded) (event.Subscription, error)
- func (_IAdmin *IAdminFilterer) WatchGuardRemoved(opts *bind.WatchOpts, sink chan<- *IAdminGuardRemoved) (event.Subscription, error)
- func (_IAdmin *IAdminFilterer) WatchRelayerAdded(opts *bind.WatchOpts, sink chan<- *IAdminRelayerAdded) (event.Subscription, error)
- func (_IAdmin *IAdminFilterer) WatchRelayerRemoved(opts *bind.WatchOpts, sink chan<- *IAdminRelayerRemoved) (event.Subscription, error)
- type IAdminGovernorAdded
- type IAdminGovernorAddedIterator
- type IAdminGovernorRemoved
- type IAdminGovernorRemovedIterator
- type IAdminGuardAdded
- type IAdminGuardAddedIterator
- type IAdminGuardRemoved
- type IAdminGuardRemovedIterator
- type IAdminRaw
- func (_IAdmin *IAdminRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_IAdmin *IAdminRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_IAdmin *IAdminRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type IAdminRelayerAdded
- type IAdminRelayerAddedIterator
- type IAdminRelayerRemoved
- type IAdminRelayerRemovedIterator
- type IAdminSession
- func (_IAdmin *IAdminSession) AddGovernor(_governor common.Address) (*types.Transaction, error)
- func (_IAdmin *IAdminSession) AddGuard(_guard common.Address) (*types.Transaction, error)
- func (_IAdmin *IAdminSession) AddRelayer(_relayer common.Address) (*types.Transaction, error)
- func (_IAdmin *IAdminSession) RemoveGovernor(_governor common.Address) (*types.Transaction, error)
- func (_IAdmin *IAdminSession) RemoveGuard(_guard common.Address) (*types.Transaction, error)
- func (_IAdmin *IAdminSession) RemoveRelayer(_relayer common.Address) (*types.Transaction, error)
- func (_IAdmin *IAdminSession) SetChainGasAmount(newChainGasAmount *big.Int) (*types.Transaction, error)
- func (_IAdmin *IAdminSession) SetProtocolFeeRate(newFeeRate *big.Int) (*types.Transaction, error)
- func (_IAdmin *IAdminSession) SweepProtocolFees(token common.Address, recipient common.Address) (*types.Transaction, error)
- type IAdminTransactor
- func (_IAdmin *IAdminTransactor) AddGovernor(opts *bind.TransactOpts, _governor common.Address) (*types.Transaction, error)
- func (_IAdmin *IAdminTransactor) AddGuard(opts *bind.TransactOpts, _guard common.Address) (*types.Transaction, error)
- func (_IAdmin *IAdminTransactor) AddRelayer(opts *bind.TransactOpts, _relayer common.Address) (*types.Transaction, error)
- func (_IAdmin *IAdminTransactor) RemoveGovernor(opts *bind.TransactOpts, _governor common.Address) (*types.Transaction, error)
- func (_IAdmin *IAdminTransactor) RemoveGuard(opts *bind.TransactOpts, _guard common.Address) (*types.Transaction, error)
- func (_IAdmin *IAdminTransactor) RemoveRelayer(opts *bind.TransactOpts, _relayer common.Address) (*types.Transaction, error)
- func (_IAdmin *IAdminTransactor) SetChainGasAmount(opts *bind.TransactOpts, newChainGasAmount *big.Int) (*types.Transaction, error)
- func (_IAdmin *IAdminTransactor) SetProtocolFeeRate(opts *bind.TransactOpts, newFeeRate *big.Int) (*types.Transaction, error)
- func (_IAdmin *IAdminTransactor) SweepProtocolFees(opts *bind.TransactOpts, token common.Address, recipient common.Address) (*types.Transaction, error)
- type IAdminTransactorRaw
- type IAdminTransactorSession
- func (_IAdmin *IAdminTransactorSession) AddGovernor(_governor common.Address) (*types.Transaction, error)
- func (_IAdmin *IAdminTransactorSession) AddGuard(_guard common.Address) (*types.Transaction, error)
- func (_IAdmin *IAdminTransactorSession) AddRelayer(_relayer common.Address) (*types.Transaction, error)
- func (_IAdmin *IAdminTransactorSession) RemoveGovernor(_governor common.Address) (*types.Transaction, error)
- func (_IAdmin *IAdminTransactorSession) RemoveGuard(_guard common.Address) (*types.Transaction, error)
- func (_IAdmin *IAdminTransactorSession) RemoveRelayer(_relayer common.Address) (*types.Transaction, error)
- func (_IAdmin *IAdminTransactorSession) SetChainGasAmount(newChainGasAmount *big.Int) (*types.Transaction, error)
- func (_IAdmin *IAdminTransactorSession) SetProtocolFeeRate(newFeeRate *big.Int) (*types.Transaction, error)
- func (_IAdmin *IAdminTransactorSession) SweepProtocolFees(token common.Address, recipient common.Address) (*types.Transaction, error)
- type IERC165
- type IERC165Caller
- type IERC165CallerRaw
- type IERC165CallerSession
- type IERC165Filterer
- type IERC165Raw
- func (_IERC165 *IERC165Raw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_IERC165 *IERC165Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_IERC165 *IERC165Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type IERC165Session
- type IERC165Transactor
- type IERC165TransactorRaw
- type IERC165TransactorSession
- type IERC20
- type IERC20Approval
- type IERC20ApprovalIterator
- type IERC20Caller
- func (_IERC20 *IERC20Caller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
- func (_IERC20 *IERC20Caller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)
- func (_IERC20 *IERC20Caller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type IERC20CallerRaw
- type IERC20CallerSession
- type IERC20Filterer
- func (_IERC20 *IERC20Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*IERC20ApprovalIterator, error)
- func (_IERC20 *IERC20Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*IERC20TransferIterator, error)
- func (_IERC20 *IERC20Filterer) ParseApproval(log types.Log) (*IERC20Approval, error)
- func (_IERC20 *IERC20Filterer) ParseTransfer(log types.Log) (*IERC20Transfer, error)
- func (_IERC20 *IERC20Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *IERC20Approval, owner []common.Address, ...) (event.Subscription, error)
- func (_IERC20 *IERC20Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *IERC20Transfer, from []common.Address, ...) (event.Subscription, error)
- type IERC20Permit
- type IERC20PermitCaller
- type IERC20PermitCallerRaw
- type IERC20PermitCallerSession
- type IERC20PermitFilterer
- type IERC20PermitRaw
- func (_IERC20Permit *IERC20PermitRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_IERC20Permit *IERC20PermitRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_IERC20Permit *IERC20PermitRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type IERC20PermitSession
- func (_IERC20Permit *IERC20PermitSession) DOMAINSEPARATOR() ([32]byte, error)
- func (_IERC20Permit *IERC20PermitSession) Nonces(owner common.Address) (*big.Int, error)
- func (_IERC20Permit *IERC20PermitSession) Permit(owner common.Address, spender common.Address, value *big.Int, ...) (*types.Transaction, error)
- type IERC20PermitTransactor
- type IERC20PermitTransactorRaw
- type IERC20PermitTransactorSession
- type IERC20Raw
- func (_IERC20 *IERC20Raw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_IERC20 *IERC20Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_IERC20 *IERC20Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type IERC20Session
- func (_IERC20 *IERC20Session) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_IERC20 *IERC20Session) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)
- func (_IERC20 *IERC20Session) BalanceOf(account common.Address) (*big.Int, error)
- func (_IERC20 *IERC20Session) TotalSupply() (*big.Int, error)
- func (_IERC20 *IERC20Session) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)
- func (_IERC20 *IERC20Session) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)
- type IERC20Transactor
- func (_IERC20 *IERC20Transactor) Approve(opts *bind.TransactOpts, spender common.Address, value *big.Int) (*types.Transaction, error)
- func (_IERC20 *IERC20Transactor) Transfer(opts *bind.TransactOpts, to common.Address, value *big.Int) (*types.Transaction, error)
- func (_IERC20 *IERC20Transactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- type IERC20TransactorRaw
- type IERC20TransactorSession
- func (_IERC20 *IERC20TransactorSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)
- func (_IERC20 *IERC20TransactorSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)
- func (_IERC20 *IERC20TransactorSession) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)
- type IERC20Transfer
- type IERC20TransferIterator
- type IFastBridge
- type IFastBridgeBridgeDepositClaimed
- type IFastBridgeBridgeDepositClaimedIterator
- type IFastBridgeBridgeDepositRefunded
- type IFastBridgeBridgeDepositRefundedIterator
- type IFastBridgeBridgeParams
- type IFastBridgeBridgeProofDisputed
- type IFastBridgeBridgeProofDisputedIterator
- type IFastBridgeBridgeProofProvided
- type IFastBridgeBridgeProofProvidedIterator
- type IFastBridgeBridgeRelayed
- type IFastBridgeBridgeRelayedIterator
- type IFastBridgeBridgeRequested
- type IFastBridgeBridgeRequestedIterator
- type IFastBridgeBridgeTransaction
- type IFastBridgeCaller
- type IFastBridgeCallerRaw
- type IFastBridgeCallerSession
- type IFastBridgeFilterer
- func (_IFastBridge *IFastBridgeFilterer) FilterBridgeDepositClaimed(opts *bind.FilterOpts) (*IFastBridgeBridgeDepositClaimedIterator, error)
- func (_IFastBridge *IFastBridgeFilterer) FilterBridgeDepositRefunded(opts *bind.FilterOpts) (*IFastBridgeBridgeDepositRefundedIterator, error)
- func (_IFastBridge *IFastBridgeFilterer) FilterBridgeProofDisputed(opts *bind.FilterOpts) (*IFastBridgeBridgeProofDisputedIterator, error)
- func (_IFastBridge *IFastBridgeFilterer) FilterBridgeProofProvided(opts *bind.FilterOpts) (*IFastBridgeBridgeProofProvidedIterator, error)
- func (_IFastBridge *IFastBridgeFilterer) FilterBridgeRelayed(opts *bind.FilterOpts) (*IFastBridgeBridgeRelayedIterator, error)
- func (_IFastBridge *IFastBridgeFilterer) FilterBridgeRequested(opts *bind.FilterOpts) (*IFastBridgeBridgeRequestedIterator, error)
- func (_IFastBridge *IFastBridgeFilterer) ParseBridgeDepositClaimed(log types.Log) (*IFastBridgeBridgeDepositClaimed, error)
- func (_IFastBridge *IFastBridgeFilterer) ParseBridgeDepositRefunded(log types.Log) (*IFastBridgeBridgeDepositRefunded, error)
- func (_IFastBridge *IFastBridgeFilterer) ParseBridgeProofDisputed(log types.Log) (*IFastBridgeBridgeProofDisputed, error)
- func (_IFastBridge *IFastBridgeFilterer) ParseBridgeProofProvided(log types.Log) (*IFastBridgeBridgeProofProvided, error)
- func (_IFastBridge *IFastBridgeFilterer) ParseBridgeRelayed(log types.Log) (*IFastBridgeBridgeRelayed, error)
- func (_IFastBridge *IFastBridgeFilterer) ParseBridgeRequested(log types.Log) (*IFastBridgeBridgeRequested, error)
- func (_IFastBridge *IFastBridgeFilterer) WatchBridgeDepositClaimed(opts *bind.WatchOpts, sink chan<- *IFastBridgeBridgeDepositClaimed) (event.Subscription, error)
- func (_IFastBridge *IFastBridgeFilterer) WatchBridgeDepositRefunded(opts *bind.WatchOpts, sink chan<- *IFastBridgeBridgeDepositRefunded) (event.Subscription, error)
- func (_IFastBridge *IFastBridgeFilterer) WatchBridgeProofDisputed(opts *bind.WatchOpts, sink chan<- *IFastBridgeBridgeProofDisputed) (event.Subscription, error)
- func (_IFastBridge *IFastBridgeFilterer) WatchBridgeProofProvided(opts *bind.WatchOpts, sink chan<- *IFastBridgeBridgeProofProvided) (event.Subscription, error)
- func (_IFastBridge *IFastBridgeFilterer) WatchBridgeRelayed(opts *bind.WatchOpts, sink chan<- *IFastBridgeBridgeRelayed) (event.Subscription, error)
- func (_IFastBridge *IFastBridgeFilterer) WatchBridgeRequested(opts *bind.WatchOpts, sink chan<- *IFastBridgeBridgeRequested) (event.Subscription, error)
- type IFastBridgeRaw
- func (_IFastBridge *IFastBridgeRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_IFastBridge *IFastBridgeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_IFastBridge *IFastBridgeRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type IFastBridgeSession
- func (_IFastBridge *IFastBridgeSession) Bridge(params IFastBridgeBridgeParams) (*types.Transaction, error)
- func (_IFastBridge *IFastBridgeSession) CanClaim(transactionId [32]byte, relayer common.Address) (bool, error)
- func (_IFastBridge *IFastBridgeSession) Claim(request []byte, to common.Address) (*types.Transaction, error)
- func (_IFastBridge *IFastBridgeSession) Dispute(transactionId [32]byte) (*types.Transaction, error)
- func (_IFastBridge *IFastBridgeSession) GetBridgeTransaction(request []byte) (IFastBridgeBridgeTransaction, error)
- func (_IFastBridge *IFastBridgeSession) Prove(request []byte, destTxHash [32]byte) (*types.Transaction, error)
- func (_IFastBridge *IFastBridgeSession) Refund(request []byte, to common.Address) (*types.Transaction, error)
- func (_IFastBridge *IFastBridgeSession) Relay(request []byte) (*types.Transaction, error)
- type IFastBridgeTransactor
- func (_IFastBridge *IFastBridgeTransactor) Bridge(opts *bind.TransactOpts, params IFastBridgeBridgeParams) (*types.Transaction, error)
- func (_IFastBridge *IFastBridgeTransactor) Claim(opts *bind.TransactOpts, request []byte, to common.Address) (*types.Transaction, error)
- func (_IFastBridge *IFastBridgeTransactor) Dispute(opts *bind.TransactOpts, transactionId [32]byte) (*types.Transaction, error)
- func (_IFastBridge *IFastBridgeTransactor) Prove(opts *bind.TransactOpts, request []byte, destTxHash [32]byte) (*types.Transaction, error)
- func (_IFastBridge *IFastBridgeTransactor) Refund(opts *bind.TransactOpts, request []byte, to common.Address) (*types.Transaction, error)
- func (_IFastBridge *IFastBridgeTransactor) Relay(opts *bind.TransactOpts, request []byte) (*types.Transaction, error)
- type IFastBridgeTransactorRaw
- type IFastBridgeTransactorSession
- func (_IFastBridge *IFastBridgeTransactorSession) Bridge(params IFastBridgeBridgeParams) (*types.Transaction, error)
- func (_IFastBridge *IFastBridgeTransactorSession) Claim(request []byte, to common.Address) (*types.Transaction, error)
- func (_IFastBridge *IFastBridgeTransactorSession) Dispute(transactionId [32]byte) (*types.Transaction, error)
- func (_IFastBridge *IFastBridgeTransactorSession) Prove(request []byte, destTxHash [32]byte) (*types.Transaction, error)
- func (_IFastBridge *IFastBridgeTransactorSession) Refund(request []byte, to common.Address) (*types.Transaction, error)
- func (_IFastBridge *IFastBridgeTransactorSession) Relay(request []byte) (*types.Transaction, error)
- type Parser
- type SafeERC20
- type SafeERC20Caller
- type SafeERC20CallerRaw
- type SafeERC20CallerSession
- type SafeERC20Filterer
- type SafeERC20Raw
- func (_SafeERC20 *SafeERC20Raw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_SafeERC20 *SafeERC20Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_SafeERC20 *SafeERC20Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type SafeERC20Session
- type SafeERC20Transactor
- type SafeERC20TransactorRaw
- type SafeERC20TransactorSession
- type UniversalTokenLib
- type UniversalTokenLibCaller
- type UniversalTokenLibCallerRaw
- type UniversalTokenLibCallerSession
- type UniversalTokenLibFilterer
- type UniversalTokenLibRaw
- func (_UniversalTokenLib *UniversalTokenLibRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_UniversalTokenLib *UniversalTokenLibRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_UniversalTokenLib *UniversalTokenLibRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type UniversalTokenLibSession
- type UniversalTokenLibTransactor
- type UniversalTokenLibTransactorRaw
- type UniversalTokenLibTransactorSession
Constants ¶
This section is empty.
Variables ¶
var ( // BridgeRequestedTopic is the event topic for a bridge request. BridgeRequestedTopic common.Hash // BridgeRelayedTopic is the topic emitted by a bridge relay. BridgeRelayedTopic common.Hash // BridgeProofProvidedTopic is the topic emitted by a bridge relay. BridgeProofProvidedTopic common.Hash // BridgeDepositClaimedTopic is the topic emitted by a bridge relay. BridgeDepositClaimedTopic common.Hash )
TODO: consider not exporting to avoid accidental mutation.
var AccessControlABI = AccessControlMetaData.ABI
AccessControlABI is the input ABI used to generate the binding from. Deprecated: Use AccessControlMetaData.ABI instead.
var AccessControlFuncSigs = AccessControlMetaData.Sigs
Deprecated: Use AccessControlMetaData.Sigs instead. AccessControlFuncSigs maps the 4-byte function signature to its string representation.
var AccessControlMetaData = &bind.MetaData{ ABI: "[{\"inputs\":[],\"name\":\"AccessControlBadConfirmation\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"neededRole\",\"type\":\"bytes32\"}],\"name\":\"AccessControlUnauthorizedAccount\",\"type\":\"error\"},{\"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\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"callerConfirmation\",\"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\"}]", Sigs: map[string]string{ "a217fddf": "DEFAULT_ADMIN_ROLE()", "248a9ca3": "getRoleAdmin(bytes32)", "2f2ff15d": "grantRole(bytes32,address)", "91d14854": "hasRole(bytes32,address)", "36568abe": "renounceRole(bytes32,address)", "d547741f": "revokeRole(bytes32,address)", "01ffc9a7": "supportsInterface(bytes4)", }, }
AccessControlMetaData contains all meta data concerning the AccessControl contract.
var AddressABI = AddressMetaData.ABI
AddressABI is the input ABI used to generate the binding from. Deprecated: Use AddressMetaData.ABI instead.
var AddressBin = AddressMetaData.Bin
AddressBin is the compiled bytecode used for deploying new contracts. Deprecated: Use AddressMetaData.Bin instead.
var AddressMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"}],\"name\":\"AddressEmptyCode\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"AddressInsufficientBalance\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FailedInnerCall\",\"type\":\"error\"}]",
Bin: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212206bd9c88b1672c17fc18ac4f8fa964cd4c66a5295b0d23aca472fa87d7958978864736f6c63430008140033",
}
AddressMetaData contains all meta data concerning the Address contract.
var AdminABI = AdminMetaData.ABI
AdminABI is the input ABI used to generate the binding from. Deprecated: Use AdminMetaData.ABI instead.
var AdminBin = AdminMetaData.Bin
AdminBin is the compiled bytecode used for deploying new contracts. Deprecated: Use AdminMetaData.Bin instead.
var AdminFuncSigs = AdminMetaData.Sigs
Deprecated: Use AdminMetaData.Sigs instead. AdminFuncSigs maps the 4-byte function signature to its string representation.
var AdminMetaData = &bind.MetaData{ ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"AccessControlBadConfirmation\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"neededRole\",\"type\":\"bytes32\"}],\"name\":\"AccessControlUnauthorizedAccount\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"}],\"name\":\"AddressEmptyCode\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"AddressInsufficientBalance\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FailedInnerCall\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"SafeERC20FailedOperation\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"oldChainGasAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newChainGasAmount\",\"type\":\"uint256\"}],\"name\":\"ChainGasAmountUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"oldFeeRate\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newFeeRate\",\"type\":\"uint256\"}],\"name\":\"FeeRateUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"FeesSwept\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"governor\",\"type\":\"address\"}],\"name\":\"GovernorAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"governor\",\"type\":\"address\"}],\"name\":\"GovernorRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"guard\",\"type\":\"address\"}],\"name\":\"GuardAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"guard\",\"type\":\"address\"}],\"name\":\"GuardRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"relayer\",\"type\":\"address\"}],\"name\":\"RelayerAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"relayer\",\"type\":\"address\"}],\"name\":\"RelayerRemoved\",\"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\":[],\"name\":\"FEE_BPS\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"FEE_RATE_MAX\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"GOVERNOR_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"GUARD_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"RELAYER_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_governor\",\"type\":\"address\"}],\"name\":\"addGovernor\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_guard\",\"type\":\"address\"}],\"name\":\"addGuard\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_relayer\",\"type\":\"address\"}],\"name\":\"addRelayer\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"chainGasAmount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"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\":[],\"name\":\"protocolFeeRate\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"protocolFees\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_governor\",\"type\":\"address\"}],\"name\":\"removeGovernor\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_guard\",\"type\":\"address\"}],\"name\":\"removeGuard\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_relayer\",\"type\":\"address\"}],\"name\":\"removeRelayer\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"callerConfirmation\",\"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\":\"uint256\",\"name\":\"newChainGasAmount\",\"type\":\"uint256\"}],\"name\":\"setChainGasAmount\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newFeeRate\",\"type\":\"uint256\"}],\"name\":\"setProtocolFeeRate\",\"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\":\"token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"}],\"name\":\"sweepProtocolFees\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]", Sigs: map[string]string{ "a217fddf": "DEFAULT_ADMIN_ROLE()", "bf333f2c": "FEE_BPS()", "0f5f6ed7": "FEE_RATE_MAX()", "ccc57490": "GOVERNOR_ROLE()", "03ed0ee5": "GUARD_ROLE()", "926d7d7f": "RELAYER_ROLE()", "3c4a25d0": "addGovernor(address)", "6913a63c": "addGuard(address)", "dd39f00d": "addRelayer(address)", "e00a83e0": "chainGasAmount()", "248a9ca3": "getRoleAdmin(bytes32)", "2f2ff15d": "grantRole(bytes32,address)", "91d14854": "hasRole(bytes32,address)", "58f85880": "protocolFeeRate()", "dcf844a7": "protocolFees(address)", "eecdac88": "removeGovernor(address)", "b6235016": "removeGuard(address)", "60f0a5ac": "removeRelayer(address)", "36568abe": "renounceRole(bytes32,address)", "d547741f": "revokeRole(bytes32,address)", "b250fe6b": "setChainGasAmount(uint256)", "b13aa2d6": "setProtocolFeeRate(uint256)", "01ffc9a7": "supportsInterface(bytes4)", "06f333f2": "sweepProtocolFees(address,address)", }, Bin: "0x608060405234801561001057600080fd5b50604051620015c2380380620015c2833981016040819052610031916100ef565b61003c600082610043565b505061011f565b6000828152602081815260408083206001600160a01b038516845290915281205460ff166100e5576000838152602081815260408083206001600160a01b03861684529091529020805460ff1916600117905561009d3390565b6001600160a01b0316826001600160a01b0316847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45060016100e9565b5060005b92915050565b60006020828403121561010157600080fd5b81516001600160a01b038116811461011857600080fd5b9392505050565b611493806200012f6000396000f3fe608060405234801561001057600080fd5b50600436106101985760003560e01c8063926d7d7f116100e3578063ccc574901161008c578063dd39f00d11610066578063dd39f00d146103b3578063e00a83e0146103c6578063eecdac88146103cf57600080fd5b8063ccc5749014610359578063d547741f14610380578063dcf844a71461039357600080fd5b8063b250fe6b116100bd578063b250fe6b14610329578063b62350161461033c578063bf333f2c1461034f57600080fd5b8063926d7d7f146102e7578063a217fddf1461030e578063b13aa2d61461031657600080fd5b806336568abe1161014557806360f0a5ac1161011f57806360f0a5ac1461027d5780636913a63c1461029057806391d14854146102a357600080fd5b806336568abe1461024e5780633c4a25d01461026157806358f858801461027457600080fd5b80630f5f6ed7116101765780630f5f6ed71461020f578063248a9ca3146102185780632f2ff15d1461023b57600080fd5b806301ffc9a71461019d57806303ed0ee5146101c557806306f333f2146101fa575b600080fd5b6101b06101ab366004611317565b6103e2565b60405190151581526020015b60405180910390f35b6101ec7f043c983c49d46f0e102151eaf8085d4a2e6571d5df2d47b013f39bddfd4a639d81565b6040519081526020016101bc565b61020d610208366004611382565b61047b565b005b6101ec61271081565b6101ec6102263660046113b5565b60009081526020819052604090206001015490565b61020d6102493660046113ce565b6105da565b61020d61025c3660046113ce565b610605565b61020d61026f3660046113f1565b610663565b6101ec60015481565b61020d61028b3660046113f1565b610716565b61020d61029e3660046113f1565b6107c2565b6101b06102b13660046113ce565b60009182526020828152604080842073ffffffffffffffffffffffffffffffffffffffff93909316845291905290205460ff1690565b6101ec7fe2b7fb3b832174769106daebcfd6d1970523240dda11281102db9363b83b0dc481565b6101ec600081565b61020d6103243660046113b5565b61086e565b61020d6103373660046113b5565b6109b8565b61020d61034a3660046113f1565b610a8e565b6101ec620f424081565b6101ec7f7935bd0ae54bc31f548c14dba4d37c5c64b3f8ca900cb468fb8abd54d5894f5581565b61020d61038e3660046113ce565b610b3a565b6101ec6103a13660046113f1565b60026020526000908152604090205481565b61020d6103c13660046113f1565b610b5f565b6101ec60035481565b61020d6103dd3660046113f1565b610c0b565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f7965db0b00000000000000000000000000000000000000000000000000000000148061047557507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b3360009081527f6f3b488caa0dc03e5f3d9fd6a25fa8755afcfd62ccffb6e436c696bfa6b866de602052604090205460ff16610518576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f43616c6c6572206973206e6f74206120676f7665726e6f72000000000000000060448201526064015b60405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff82166000908152600260205260408120549081900361054b57505050565b73ffffffffffffffffffffffffffffffffffffffff831660008181526002602052604081205561057c908383610cb7565b6040805173ffffffffffffffffffffffffffffffffffffffff8086168252841660208201529081018290527f244e51bc38c1452fa8aaf487bcb4bca36c2baa3a5fbdb776b1eabd8dc6d277cd9060600160405180910390a1505b5050565b6000828152602081905260409020600101546105f581610e01565b6105ff8383610e0e565b50505050565b73ffffffffffffffffffffffffffffffffffffffff81163314610654576040517f6697b23200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61065e8282610f0a565b505050565b3360009081527fad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5602052604090205460ff1661069e57600080fd5b6106c87f7935bd0ae54bc31f548c14dba4d37c5c64b3f8ca900cb468fb8abd54d5894f5582610e0e565b5060405173ffffffffffffffffffffffffffffffffffffffff821681527fdc5a48d79e2e147530ff63ecdbed5a5a66adb9d5cf339384d5d076da197c40b5906020015b60405180910390a150565b3360009081527fad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5602052604090205460ff1661075157600080fd5b61077b7fe2b7fb3b832174769106daebcfd6d1970523240dda11281102db9363b83b0dc482610f0a565b5060405173ffffffffffffffffffffffffffffffffffffffff821681527f10e1f7ce9fd7d1b90a66d13a2ab3cb8dd7f29f3f8d520b143b063ccfbab6906b9060200161070b565b3360009081527fad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5602052604090205460ff166107fd57600080fd5b6108277f043c983c49d46f0e102151eaf8085d4a2e6571d5df2d47b013f39bddfd4a639d82610e0e565b5060405173ffffffffffffffffffffffffffffffffffffffff821681527f93405f05cd04f0d1bd875f2de00f1f3890484ffd0589248953bdfd29ba7f2f599060200161070b565b3360009081527f6f3b488caa0dc03e5f3d9fd6a25fa8755afcfd62ccffb6e436c696bfa6b866de602052604090205460ff16610906576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f43616c6c6572206973206e6f74206120676f7665726e6f720000000000000000604482015260640161050f565b612710811115610972576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f6e657746656552617465203e206d617800000000000000000000000000000000604482015260640161050f565b600180549082905560408051828152602081018490527f14914da2bf76024616fbe1859783fcd4dbddcb179b1f3a854949fbf920dcb95791015b60405180910390a15050565b3360009081527f6f3b488caa0dc03e5f3d9fd6a25fa8755afcfd62ccffb6e436c696bfa6b866de602052604090205460ff16610a50576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f43616c6c6572206973206e6f74206120676f7665726e6f720000000000000000604482015260640161050f565b600380549082905560408051828152602081018490527f5cf09b12f3f56b4c564d51b25b40360af6d795198adb61ae0806a36c294323fa91016109ac565b3360009081527fad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5602052604090205460ff16610ac957600080fd5b610af37f043c983c49d46f0e102151eaf8085d4a2e6571d5df2d47b013f39bddfd4a639d82610f0a565b5060405173ffffffffffffffffffffffffffffffffffffffff821681527f59926e0a78d12238b668b31c8e3f6ece235a59a00ede111d883e255b68c4d0489060200161070b565b600082815260208190526040902060010154610b5581610e01565b6105ff8383610f0a565b3360009081527fad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5602052604090205460ff16610b9a57600080fd5b610bc47fe2b7fb3b832174769106daebcfd6d1970523240dda11281102db9363b83b0dc482610e0e565b5060405173ffffffffffffffffffffffffffffffffffffffff821681527f03580ee9f53a62b7cb409a2cb56f9be87747dd15017afc5cef6eef321e4fb2c59060200161070b565b3360009081527fad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5602052604090205460ff16610c4657600080fd5b610c707f7935bd0ae54bc31f548c14dba4d37c5c64b3f8ca900cb468fb8abd54d5894f5582610f0a565b5060405173ffffffffffffffffffffffffffffffffffffffff821681527f1ebe834e73d60a5fec822c1e1727d34bc79f2ad977ed504581cc1822fe20fb5b9060200161070b565b3073ffffffffffffffffffffffffffffffffffffffff831603610cd957505050565b7fffffffffffffffffffffffff111111111111111111111111111111111111111273ffffffffffffffffffffffffffffffffffffffff841601610de05760008273ffffffffffffffffffffffffffffffffffffffff168260405160006040518083038185875af1925050503d8060008114610d70576040519150601f19603f3d011682016040523d82523d6000602084013e610d75565b606091505b50509050806105ff576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f455448207472616e73666572206661696c656400000000000000000000000000604482015260640161050f565b61065e73ffffffffffffffffffffffffffffffffffffffff84168383610fc5565b610e0b8133611052565b50565b60008281526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8516845290915281205460ff16610f025760008381526020818152604080832073ffffffffffffffffffffffffffffffffffffffff86168452909152902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055610ea03390565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a4506001610475565b506000610475565b60008281526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8516845290915281205460ff1615610f025760008381526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8616808552925280832080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016905551339286917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a4506001610475565b6040805173ffffffffffffffffffffffffffffffffffffffff8416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb0000000000000000000000000000000000000000000000000000000017905261065e9084906110d8565b60008281526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8516845290915290205460ff166105d6576040517fe2517d3f00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff821660048201526024810183905260440161050f565b60006110fa73ffffffffffffffffffffffffffffffffffffffff84168361116e565b9050805160001415801561111f57508080602001905181019061111d919061140c565b155b1561065e576040517f5274afe700000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8416600482015260240161050f565b606061117c83836000611183565b9392505050565b6060814710156111c1576040517fcd78605900000000000000000000000000000000000000000000000000000000815230600482015260240161050f565b6000808573ffffffffffffffffffffffffffffffffffffffff1684866040516111ea919061142e565b60006040518083038185875af1925050503d8060008114611227576040519150601f19603f3d011682016040523d82523d6000602084013e61122c565b606091505b509150915061123c868383611246565b9695505050505050565b60608261125b57611256826112d5565b61117c565b815115801561127f575073ffffffffffffffffffffffffffffffffffffffff84163b155b156112ce576040517f9996b31500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8516600482015260240161050f565b508061117c565b8051156112e55780518082602001fd5b6040517f1425ea4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006020828403121561132957600080fd5b81357fffffffff000000000000000000000000000000000000000000000000000000008116811461117c57600080fd5b803573ffffffffffffffffffffffffffffffffffffffff8116811461137d57600080fd5b919050565b6000806040838503121561139557600080fd5b61139e83611359565b91506113ac60208401611359565b90509250929050565b6000602082840312156113c757600080fd5b5035919050565b600080604083850312156113e157600080fd5b823591506113ac60208401611359565b60006020828403121561140357600080fd5b61117c82611359565b60006020828403121561141e57600080fd5b8151801515811461117c57600080fd5b6000825160005b8181101561144f5760208186018101518583015201611435565b50600092019182525091905056fea2646970667358221220016ad413c253782c7ba6cda12474e5a8619fe23b2626e39f95ca70248e00227164736f6c63430008140033", }
AdminMetaData contains all meta data concerning the Admin contract.
var ContextABI = ContextMetaData.ABI
ContextABI is the input ABI used to generate the binding from. Deprecated: Use ContextMetaData.ABI instead.
var ContextMetaData = &bind.MetaData{
ABI: "[]",
}
ContextMetaData contains all meta data concerning the Context contract.
var Contracts map[string]*compiler.Contract
Contracts are unmarshalled on start
var ERC165ABI = ERC165MetaData.ABI
ERC165ABI is the input ABI used to generate the binding from. Deprecated: Use ERC165MetaData.ABI instead.
var ERC165FuncSigs = ERC165MetaData.Sigs
Deprecated: Use ERC165MetaData.Sigs instead. ERC165FuncSigs maps the 4-byte function signature to its string representation.
var ERC165MetaData = &bind.MetaData{ ABI: "[{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]", Sigs: map[string]string{ "01ffc9a7": "supportsInterface(bytes4)", }, }
ERC165MetaData contains all meta data concerning the ERC165 contract.
var FastBridgeABI = FastBridgeMetaData.ABI
FastBridgeABI is the input ABI used to generate the binding from. Deprecated: Use FastBridgeMetaData.ABI instead.
var FastBridgeBin = FastBridgeMetaData.Bin
FastBridgeBin is the compiled bytecode used for deploying new contracts. Deprecated: Use FastBridgeMetaData.Bin instead.
var FastBridgeFuncSigs = FastBridgeMetaData.Sigs
Deprecated: Use FastBridgeMetaData.Sigs instead. FastBridgeFuncSigs maps the 4-byte function signature to its string representation.
var FastBridgeMetaData = &bind.MetaData{ ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"AccessControlBadConfirmation\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"neededRole\",\"type\":\"bytes32\"}],\"name\":\"AccessControlUnauthorizedAccount\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"}],\"name\":\"AddressEmptyCode\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"AddressInsufficientBalance\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AmountIncorrect\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ChainIncorrect\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"DeadlineExceeded\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"DeadlineNotExceeded\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"DeadlineTooShort\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"DisputePeriodNotPassed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"DisputePeriodPassed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FailedInnerCall\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"MsgValueIncorrect\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"SafeERC20FailedOperation\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"SenderIncorrect\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"StatusIncorrect\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TokenNotContract\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TransactionRelayed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ZeroAddress\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"transactionId\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"relayer\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"BridgeDepositClaimed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"transactionId\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"BridgeDepositRefunded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"transactionId\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"relayer\",\"type\":\"address\"}],\"name\":\"BridgeProofDisputed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"transactionId\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"relayer\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"transactionHash\",\"type\":\"bytes32\"}],\"name\":\"BridgeProofProvided\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"transactionId\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"relayer\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"chainGasAmount\",\"type\":\"uint256\"}],\"name\":\"BridgeRelayed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"transactionId\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"request\",\"type\":\"bytes\"}],\"name\":\"BridgeRequested\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"oldChainGasAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newChainGasAmount\",\"type\":\"uint256\"}],\"name\":\"ChainGasAmountUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"oldFeeRate\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newFeeRate\",\"type\":\"uint256\"}],\"name\":\"FeeRateUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"FeesSwept\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"governor\",\"type\":\"address\"}],\"name\":\"GovernorAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"governor\",\"type\":\"address\"}],\"name\":\"GovernorRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"guard\",\"type\":\"address\"}],\"name\":\"GuardAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"guard\",\"type\":\"address\"}],\"name\":\"GuardRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"relayer\",\"type\":\"address\"}],\"name\":\"RelayerAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"relayer\",\"type\":\"address\"}],\"name\":\"RelayerRemoved\",\"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\":[],\"name\":\"DISPUTE_PERIOD\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"FEE_BPS\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"FEE_RATE_MAX\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"GOVERNOR_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"GUARD_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MIN_DEADLINE_PERIOD\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"RELAYER_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_governor\",\"type\":\"address\"}],\"name\":\"addGovernor\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_guard\",\"type\":\"address\"}],\"name\":\"addGuard\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_relayer\",\"type\":\"address\"}],\"name\":\"addRelayer\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint32\",\"name\":\"dstChainId\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"originToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"destToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"originAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"destAmount\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"sendChainGas\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"internalType\":\"structIFastBridge.BridgeParams\",\"name\":\"params\",\"type\":\"tuple\"}],\"name\":\"bridge\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"bridgeProofs\",\"outputs\":[{\"internalType\":\"uint96\",\"name\":\"timestamp\",\"type\":\"uint96\"},{\"internalType\":\"address\",\"name\":\"relayer\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"bridgeRelays\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"bridgeStatuses\",\"outputs\":[{\"internalType\":\"enumFastBridge.BridgeStatus\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"transactionId\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"relayer\",\"type\":\"address\"}],\"name\":\"canClaim\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"chainGasAmount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"request\",\"type\":\"bytes\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"claim\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"deployBlock\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"transactionId\",\"type\":\"bytes32\"}],\"name\":\"dispute\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"request\",\"type\":\"bytes\"}],\"name\":\"getBridgeTransaction\",\"outputs\":[{\"components\":[{\"internalType\":\"uint32\",\"name\":\"originChainId\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"destChainId\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"originSender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"destRecipient\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"originToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"destToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"originAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"destAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"originFeeAmount\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"sendChainGas\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"}],\"internalType\":\"structIFastBridge.BridgeTransaction\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"pure\",\"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\":[],\"name\":\"nonce\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"protocolFeeRate\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"protocolFees\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"request\",\"type\":\"bytes\"},{\"internalType\":\"bytes32\",\"name\":\"destTxHash\",\"type\":\"bytes32\"}],\"name\":\"prove\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"request\",\"type\":\"bytes\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"refund\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"request\",\"type\":\"bytes\"}],\"name\":\"relay\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_governor\",\"type\":\"address\"}],\"name\":\"removeGovernor\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_guard\",\"type\":\"address\"}],\"name\":\"removeGuard\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_relayer\",\"type\":\"address\"}],\"name\":\"removeRelayer\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"callerConfirmation\",\"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\":\"uint256\",\"name\":\"newChainGasAmount\",\"type\":\"uint256\"}],\"name\":\"setChainGasAmount\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newFeeRate\",\"type\":\"uint256\"}],\"name\":\"setProtocolFeeRate\",\"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\":\"token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"}],\"name\":\"sweepProtocolFees\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]", Sigs: map[string]string{ "a217fddf": "DEFAULT_ADMIN_ROLE()", "a5bbe22b": "DISPUTE_PERIOD()", "bf333f2c": "FEE_BPS()", "0f5f6ed7": "FEE_RATE_MAX()", "ccc57490": "GOVERNOR_ROLE()", "03ed0ee5": "GUARD_ROLE()", "820688d5": "MIN_DEADLINE_PERIOD()", "926d7d7f": "RELAYER_ROLE()", "3c4a25d0": "addGovernor(address)", "6913a63c": "addGuard(address)", "dd39f00d": "addRelayer(address)", "45851694": "bridge((uint32,address,address,address,address,uint256,uint256,bool,uint256))", "91ad5039": "bridgeProofs(bytes32)", "8379a24f": "bridgeRelays(bytes32)", "051287bc": "bridgeStatuses(bytes32)", "aa9641ab": "canClaim(bytes32,address)", "e00a83e0": "chainGasAmount()", "41fcb612": "claim(bytes,address)", "a3ec191a": "deployBlock()", "add98c70": "dispute(bytes32)", "ac11fb1a": "getBridgeTransaction(bytes)", "248a9ca3": "getRoleAdmin(bytes32)", "2f2ff15d": "grantRole(bytes32,address)", "91d14854": "hasRole(bytes32,address)", "affed0e0": "nonce()", "58f85880": "protocolFeeRate()", "dcf844a7": "protocolFees(address)", "886d36ff": "prove(bytes,bytes32)", "ef059bd3": "refund(bytes,address)", "8f0d6f17": "relay(bytes)", "eecdac88": "removeGovernor(address)", "b6235016": "removeGuard(address)", "60f0a5ac": "removeRelayer(address)", "36568abe": "renounceRole(bytes32,address)", "d547741f": "revokeRole(bytes32,address)", "b250fe6b": "setChainGasAmount(uint256)", "b13aa2d6": "setProtocolFeeRate(uint256)", "01ffc9a7": "supportsInterface(bytes4)", "06f333f2": "sweepProtocolFees(address,address)", }, Bin: "0x60a06040523480156200001157600080fd5b506040516200306b3803806200306b8339810160408190526200003491620000fe565b80620000426000826200004f565b5050436080525062000130565b6000828152602081815260408083206001600160a01b038516845290915281205460ff16620000f4576000838152602081815260408083206001600160a01b03861684529091529020805460ff19166001179055620000ab3390565b6001600160a01b0316826001600160a01b0316847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a4506001620000f8565b5060005b92915050565b6000602082840312156200011157600080fd5b81516001600160a01b03811681146200012957600080fd5b9392505050565b608051612f1f6200014c60003960006106440152612f1f6000f3fe6080604052600436106102a05760003560e01c806391d148541161016e578063b250fe6b116100cb578063dcf844a71161007f578063e00a83e011610064578063e00a83e014610801578063eecdac8814610817578063ef059bd31461083757600080fd5b8063dcf844a7146107b4578063dd39f00d146107e157600080fd5b8063bf333f2c116100b0578063bf333f2c14610749578063ccc5749014610760578063d547741f1461079457600080fd5b8063b250fe6b14610709578063b62350161461072957600080fd5b8063aa9641ab11610122578063add98c7011610107578063add98c70146106b3578063affed0e0146106d3578063b13aa2d6146106e957600080fd5b8063aa9641ab14610666578063ac11fb1a1461068657600080fd5b8063a217fddf11610153578063a217fddf1461061d578063a3ec191a14610632578063a5bbe22b146104aa57600080fd5b806391d14854146105a5578063926d7d7f146105e957600080fd5b806341fcb6121161021c578063820688d5116101d0578063886d36ff116101b5578063886d36ff146104f05780638f0d6f171461051057806391ad50391461052357600080fd5b8063820688d5146104aa5780638379a24f146104c057600080fd5b806358f858801161020157806358f858801461045457806360f0a5ac1461046a5780636913a63c1461048a57600080fd5b806341fcb61214610421578063458516941461044157600080fd5b80630f5f6ed7116102735780632f2ff15d116102585780632f2ff15d146103c157806336568abe146103e15780633c4a25d01461040157600080fd5b80630f5f6ed71461037b578063248a9ca31461039157600080fd5b806301ffc9a7146102a557806303ed0ee5146102da578063051287bc1461031c57806306f333f214610359575b600080fd5b3480156102b157600080fd5b506102c56102c0366004612724565b610857565b60405190151581526020015b60405180910390f35b3480156102e657600080fd5b5061030e7f043c983c49d46f0e102151eaf8085d4a2e6571d5df2d47b013f39bddfd4a639d81565b6040519081526020016102d1565b34801561032857600080fd5b5061034c610337366004612766565b60046020526000908152604090205460ff1681565b6040516102d191906127ae565b34801561036557600080fd5b50610379610374366004612814565b6108f0565b005b34801561038757600080fd5b5061030e61271081565b34801561039d57600080fd5b5061030e6103ac366004612766565b60009081526020819052604090206001015490565b3480156103cd57600080fd5b506103796103dc36600461284d565b610a28565b3480156103ed57600080fd5b506103796103fc36600461284d565b610a53565b34801561040d57600080fd5b5061037961041c366004612872565b610aa4565b34801561042d57600080fd5b5061037961043c3660046129b7565b610b4a565b61037961044f366004612a34565b610e03565b34801561046057600080fd5b5061030e60015481565b34801561047657600080fd5b50610379610485366004612872565b6110e8565b34801561049657600080fd5b506103796104a5366004612872565b611187565b3480156104b657600080fd5b5061030e61070881565b3480156104cc57600080fd5b506102c56104db366004612766565b60066020526000908152604090205460ff1681565b3480156104fc57600080fd5b5061037961050b366004612ad7565b611226565b61037961051e366004612b1c565b611421565b34801561052f57600080fd5b5061057961053e366004612766565b6005602052600090815260409020546bffffffffffffffffffffffff8116906c0100000000000000000000000090046001600160a01b031682565b604080516bffffffffffffffffffffffff90931683526001600160a01b039091166020830152016102d1565b3480156105b157600080fd5b506102c56105c036600461284d565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b3480156105f557600080fd5b5061030e7fe2b7fb3b832174769106daebcfd6d1970523240dda11281102db9363b83b0dc481565b34801561062957600080fd5b5061030e600081565b34801561063e57600080fd5b5061030e7f000000000000000000000000000000000000000000000000000000000000000081565b34801561067257600080fd5b506102c561068136600461284d565b611678565b34801561069257600080fd5b506106a66106a1366004612b1c565b61177d565b6040516102d19190612b59565b3480156106bf57600080fd5b506103796106ce366004612766565b6117f0565b3480156106df57600080fd5b5061030e60075481565b3480156106f557600080fd5b50610379610704366004612766565b6119d1565b34801561071557600080fd5b50610379610724366004612766565b611b1b565b34801561073557600080fd5b50610379610744366004612872565b611bf1565b34801561075557600080fd5b5061030e620f424081565b34801561076c57600080fd5b5061030e7f7935bd0ae54bc31f548c14dba4d37c5c64b3f8ca900cb468fb8abd54d5894f5581565b3480156107a057600080fd5b506103796107af36600461284d565b611c90565b3480156107c057600080fd5b5061030e6107cf366004612872565b60026020526000908152604090205481565b3480156107ed57600080fd5b506103796107fc366004612872565b611cb5565b34801561080d57600080fd5b5061030e60035481565b34801561082357600080fd5b50610379610832366004612872565b611d54565b34801561084357600080fd5b506103796108523660046129b7565b611df3565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f7965db0b0000000000000000000000000000000000000000000000000000000014806108ea57507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b3360009081527f6f3b488caa0dc03e5f3d9fd6a25fa8755afcfd62ccffb6e436c696bfa6b866de602052604090205460ff1661098d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f43616c6c6572206973206e6f74206120676f7665726e6f72000000000000000060448201526064015b60405180910390fd5b6001600160a01b038216600090815260026020526040812054908190036109b357505050565b6001600160a01b0383166000818152600260205260408120556109d7908383611f90565b604080516001600160a01b038086168252841660208201529081018290527f244e51bc38c1452fa8aaf487bcb4bca36c2baa3a5fbdb776b1eabd8dc6d277cd9060600160405180910390a1505b5050565b600082815260208190526040902060010154610a43816120a6565b610a4d83836120b3565b50505050565b6001600160a01b0381163314610a95576040517f6697b23200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610a9f828261215d565b505050565b3360009081527fad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5602052604090205460ff16610adf57600080fd5b610b097f7935bd0ae54bc31f548c14dba4d37c5c64b3f8ca900cb468fb8abd54d5894f55826120b3565b506040516001600160a01b03821681527fdc5a48d79e2e147530ff63ecdbed5a5a66adb9d5cf339384d5d076da197c40b5906020015b60405180910390a150565b3360009081527ffaf93c3d007e112089dc8351e013e6685ef67703975d0224b26fc45941d4f1f5602052604090205460ff16610be2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f43616c6c6572206973206e6f7420612072656c617965720000000000000000006044820152606401610984565b815160208301206000610bf48461177d565b9050600260008381526004602081905260409091205460ff1690811115610c1d57610c1d61277f565b14610c54576040517f4145817200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000828152600560209081526040918290208251808401909352546bffffffffffffffffffffffff811683526c0100000000000000000000000090046001600160a01b03169082018190523314610cd7576040517f4af43a9000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80516107089042036bffffffffffffffffffffffff1611610d24576040517f1992d0bd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000838152600460205260409020805460ff1916600317905561010082015115610d805761010082015160808301516001600160a01b031660009081526002602052604081208054909190610d7a908490612c6e565b90915550505b608082015160c0830151610d9e6001600160a01b0383168783611f90565b604080518681523360208201526001600160a01b03808916928201929092529083166060820152608081018290527f582211c35a2139ac3bbaac74663c6a1f56c6cbb658b41fe11fd45a82074ac6789060a0015b60405180910390a150505050505050565b46816000015163ffffffff1603610e46576040517f7029fdf900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60a08101511580610e59575060c0810151155b15610e90576040517fe38820c800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60608101516001600160a01b03161580610eb5575060808101516001600160a01b0316155b15610eec576040517fd92e233d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610ef861070842612c6e565b8161010001511015610f36576040517f04b7fcc800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000610f4b3083606001518460a001516121e0565b90506000806001541115610f7857620f424060015483610f6b9190612c81565b610f759190612c98565b90505b610f828183612cd3565b915060006040518061018001604052804663ffffffff168152602001856000015163ffffffff16815260200185602001516001600160a01b0316815260200185604001516001600160a01b0316815260200185606001516001600160a01b0316815260200185608001516001600160a01b031681526020018481526020018560c0015181526020018381526020018560e001511515815260200185610100015181526020016007600081548092919061103a90612ce6565b9091555090526040516110509190602001612b59565b604080518083037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0018152828252805160208083019190912060008181526004835293909320805460ff1916600117905587015190935090917f2a8233b619c9d479346e133f609855c0a94d89fbcfa62f846a9f0cfdd1198ccf916110d9918491908690612d42565b60405180910390a15050505050565b3360009081527fad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5602052604090205460ff1661112357600080fd5b61114d7fe2b7fb3b832174769106daebcfd6d1970523240dda11281102db9363b83b0dc48261215d565b506040516001600160a01b03821681527f10e1f7ce9fd7d1b90a66d13a2ab3cb8dd7f29f3f8d520b143b063ccfbab6906b90602001610b3f565b3360009081527fad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5602052604090205460ff166111c257600080fd5b6111ec7f043c983c49d46f0e102151eaf8085d4a2e6571d5df2d47b013f39bddfd4a639d826120b3565b506040516001600160a01b03821681527f93405f05cd04f0d1bd875f2de00f1f3890484ffd0589248953bdfd29ba7f2f5990602001610b3f565b3360009081527ffaf93c3d007e112089dc8351e013e6685ef67703975d0224b26fc45941d4f1f5602052604090205460ff166112be576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f43616c6c6572206973206e6f7420612072656c617965720000000000000000006044820152606401610984565b8151602083012060006112d08461177d565b9050806101400151421115611311576040517f559895a300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600160008381526004602081905260409091205460ff16908111156113385761133861277f565b1461136f576040517f4145817200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000828152600460209081526040808320805460ff19166002179055805180820182526bffffffffffffffffffffffff4281168252338285018181528887526005865295849020925195516001600160a01b03166c0100000000000000000000000002959091169490941790558051858152918201929092529081018490527f4ac8af8a2cd87193d64dfc7a3b8d9923b714ec528b18725d080aa1299be0c5e49060600160405180910390a150505050565b3360009081527ffaf93c3d007e112089dc8351e013e6685ef67703975d0224b26fc45941d4f1f5602052604090205460ff166114b9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f43616c6c6572206973206e6f7420612072656c617965720000000000000000006044820152606401610984565b8051602082012060006114cb8361177d565b90504663ffffffff16816020015163ffffffff1614611516576040517f7029fdf900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008281526006602052604090205460ff161561155f576040517fbef7bb7d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000828152600660205260409020805460ff19166001179055606081015160a082015160e08301516003546101208501516115a8575060006115a28484846121e0565b50611619565b7fffffffffffffffffffffffff11111111111111111111111111111111111111126001600160a01b038416016115ec576115a284846115e78486612c6e565b6121e0565b6115f78484846121e0565b506116178473eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee836121e0565b505b604080518781523360208201526001600160a01b038087169282019290925290841660608201526080810183905260a081018290527ff5d0e166883753ed3b66d60c893dda5f6760044b7bba1317907a9385c6620f9b9060c001610df2565b6000600260008481526004602081905260409091205460ff16908111156116a1576116a161277f565b146116d8576040517f4145817200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000838152600560209081526040918290208251808401909352546bffffffffffffffffffffffff811683526001600160a01b036c01000000000000000000000000909104811691830182905284161461175e576040517f4af43a9000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80516107089042036bffffffffffffffffffffffff1611949350505050565b604080516101808101825260008082526020808301829052928201819052606082018190526080820181905260a0820181905260c0820181905260e08201819052610100820181905261012082018190526101408201819052610160820152825190916108ea9184018101908401612dcb565b3360009081527f92bf2f06c618f6add65571bf52eb90d22c9b52fd65028daa87260b82998b30bd602052604090205460ff16611888576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f43616c6c6572206973206e6f74206120677561726400000000000000000000006044820152606401610984565b600260008281526004602081905260409091205460ff16908111156118af576118af61277f565b146118e6576040517f4145817200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000818152600560209081526040918290208251808401909352546bffffffffffffffffffffffff8082168085526c010000000000000000000000009092046001600160a01b03169390920192909252610708914203161115611975576040517f3e908aac00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000818152600460209081526040808320805460ff191660011790556005825280832092909255815183815233918101919091527f0695cf1d39b3055dcd0fe02d8b47eaf0d5a13e1996de925de59d0ef9b7f7fad49101610b3f565b3360009081527f6f3b488caa0dc03e5f3d9fd6a25fa8755afcfd62ccffb6e436c696bfa6b866de602052604090205460ff16611a69576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f43616c6c6572206973206e6f74206120676f7665726e6f7200000000000000006044820152606401610984565b612710811115611ad5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f6e657746656552617465203e206d6178000000000000000000000000000000006044820152606401610984565b600180549082905560408051828152602081018490527f14914da2bf76024616fbe1859783fcd4dbddcb179b1f3a854949fbf920dcb95791015b60405180910390a15050565b3360009081527f6f3b488caa0dc03e5f3d9fd6a25fa8755afcfd62ccffb6e436c696bfa6b866de602052604090205460ff16611bb3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f43616c6c6572206973206e6f74206120676f7665726e6f7200000000000000006044820152606401610984565b600380549082905560408051828152602081018490527f5cf09b12f3f56b4c564d51b25b40360af6d795198adb61ae0806a36c294323fa9101611b0f565b3360009081527fad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5602052604090205460ff16611c2c57600080fd5b611c567f043c983c49d46f0e102151eaf8085d4a2e6571d5df2d47b013f39bddfd4a639d8261215d565b506040516001600160a01b03821681527f59926e0a78d12238b668b31c8e3f6ece235a59a00ede111d883e255b68c4d04890602001610b3f565b600082815260208190526040902060010154611cab816120a6565b610a4d838361215d565b3360009081527fad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5602052604090205460ff16611cf057600080fd5b611d1a7fe2b7fb3b832174769106daebcfd6d1970523240dda11281102db9363b83b0dc4826120b3565b506040516001600160a01b03821681527f03580ee9f53a62b7cb409a2cb56f9be87747dd15017afc5cef6eef321e4fb2c590602001610b3f565b3360009081527fad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5602052604090205460ff16611d8f57600080fd5b611db97f7935bd0ae54bc31f548c14dba4d37c5c64b3f8ca900cb468fb8abd54d5894f558261215d565b506040516001600160a01b03821681527f1ebe834e73d60a5fec822c1e1727d34bc79f2ad977ed504581cc1822fe20fb5b90602001610b3f565b815160208301206000611e058461177d565b60408101519091506001600160a01b03163314611e4e576040517f4af43a9000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8061014001514211611e8c576040517fe15ff9ea00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600160008381526004602081905260409091205460ff1690811115611eb357611eb361277f565b14611eea576040517f4145817200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008281526004602081905260408220805460ff19169091179055608082015161010083015160c0840151919291611f229190612c6e565b9050611f386001600160a01b0383168683611f90565b604080518581526001600160a01b0387811660208301528416818301526060810183905290517fb4c55c0c9bc613519b920e88748090150b890a875d307f21bea7d4fb2e8bc9589181900360800190a1505050505050565b306001600160a01b03831603611fa557505050565b7fffffffffffffffffffffffff11111111111111111111111111111111111111126001600160a01b03841601612092576000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114612022576040519150601f19603f3d011682016040523d82523d6000602084013e612027565b606091505b5050905080610a4d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f455448207472616e73666572206661696c6564000000000000000000000000006044820152606401610984565b610a9f6001600160a01b03841683836123b0565b6120b08133612424565b50565b6000828152602081815260408083206001600160a01b038516845290915281205460ff16612155576000838152602081815260408083206001600160a01b03861684529091529020805460ff1916600117905561210d3390565b6001600160a01b0316826001600160a01b0316847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45060016108ea565b5060006108ea565b6000828152602081815260408083206001600160a01b038516845290915281205460ff1615612155576000838152602081815260408083206001600160a01b0386168085529252808320805460ff1916905551339286917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45060016108ea565b60006001600160a01b03831673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee1461234957612218836001600160a01b0316612490565b6040517f70a082310000000000000000000000000000000000000000000000000000000081526001600160a01b0385811660048301528416906370a0823190602401602060405180830381865afa158015612277573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061229b9190612e97565b90506122b26001600160a01b038416338685612536565b6040517f70a082310000000000000000000000000000000000000000000000000000000081526001600160a01b0385811660048301528291908516906370a0823190602401602060405180830381865afa158015612314573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123389190612e97565b6123429190612cd3565b90506123a9565b348214612382576040517f81de0bf300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b03841630146123a6576123a66001600160a01b0384168584611f90565b50345b9392505050565b6040516001600160a01b03838116602483015260448201839052610a9f91859182169063a9059cbb906064015b604051602081830303815290604052915060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505061256f565b6000828152602081815260408083206001600160a01b038516845290915290205460ff16610a24576040517fe2517d3f0000000000000000000000000000000000000000000000000000000081526001600160a01b038216600482015260248101839052604401610984565b7fffffffffffffffffffffffff11111111111111111111111111111111111111126001600160a01b038216016124f2576040517f7f523fe800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806001600160a01b03163b6000036120b0576040517f7f523fe800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040516001600160a01b038481166024830152838116604483015260648201839052610a4d9186918216906323b872dd906084016123dd565b60006125846001600160a01b038416836125eb565b905080516000141580156125a95750808060200190518101906125a79190612eb0565b155b15610a9f576040517f5274afe70000000000000000000000000000000000000000000000000000000081526001600160a01b0384166004820152602401610984565b60606123a98383600084600080856001600160a01b031684866040516126119190612ecd565b60006040518083038185875af1925050503d806000811461264e576040519150601f19603f3d011682016040523d82523d6000602084013e612653565b606091505b509150915061266386838361266d565b9695505050505050565b6060826126825761267d826126e2565b6123a9565b815115801561269957506001600160a01b0384163b155b156126db576040517f9996b3150000000000000000000000000000000000000000000000000000000081526001600160a01b0385166004820152602401610984565b50806123a9565b8051156126f25780518082602001fd5b6040517f1425ea4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006020828403121561273657600080fd5b81357fffffffff00000000000000000000000000000000000000000000000000000000811681146123a957600080fd5b60006020828403121561277857600080fd5b5035919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60208101600583106127e9577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b91905290565b6001600160a01b03811681146120b057600080fd5b803561280f816127ef565b919050565b6000806040838503121561282757600080fd5b8235612832816127ef565b91506020830135612842816127ef565b809150509250929050565b6000806040838503121561286057600080fd5b823591506020830135612842816127ef565b60006020828403121561288457600080fd5b81356123a9816127ef565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051610120810167ffffffffffffffff811182821017156128e2576128e261288f565b60405290565b604051610180810167ffffffffffffffff811182821017156128e2576128e261288f565b600082601f83011261291d57600080fd5b813567ffffffffffffffff808211156129385761293861288f565b604051601f83017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f0116810190828211818310171561297e5761297e61288f565b8160405283815286602085880101111561299757600080fd5b836020870160208301376000602085830101528094505050505092915050565b600080604083850312156129ca57600080fd5b823567ffffffffffffffff8111156129e157600080fd5b6129ed8582860161290c565b9250506020830135612842816127ef565b63ffffffff811681146120b057600080fd5b803561280f816129fe565b80151581146120b057600080fd5b803561280f81612a1b565b60006101208284031215612a4757600080fd5b612a4f6128be565b612a5883612a10565b8152612a6660208401612804565b6020820152612a7760408401612804565b6040820152612a8860608401612804565b6060820152612a9960808401612804565b608082015260a083013560a082015260c083013560c0820152612abe60e08401612a29565b60e0820152610100928301359281019290925250919050565b60008060408385031215612aea57600080fd5b823567ffffffffffffffff811115612b0157600080fd5b612b0d8582860161290c565b95602094909401359450505050565b600060208284031215612b2e57600080fd5b813567ffffffffffffffff811115612b4557600080fd5b612b518482850161290c565b949350505050565b815163ffffffff16815261018081016020830151612b7f602084018263ffffffff169052565b506040830151612b9a60408401826001600160a01b03169052565b506060830151612bb560608401826001600160a01b03169052565b506080830151612bd060808401826001600160a01b03169052565b5060a0830151612beb60a08401826001600160a01b03169052565b5060c083015160c083015260e083015160e083015261010080840151818401525061012080840151612c208285018215159052565b5050610140838101519083015261016092830151929091019190915290565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b808201808211156108ea576108ea612c3f565b80820281158282048414176108ea576108ea612c3f565b600082612cce577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b818103818111156108ea576108ea612c3f565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203612d1757612d17612c3f565b5060010190565b60005b83811015612d39578181015183820152602001612d21565b50506000910152565b8381526001600160a01b03831660208201526060604082015260008251806060840152612d76816080850160208701612d1e565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01691909101608001949350505050565b805161280f816129fe565b805161280f816127ef565b805161280f81612a1b565b60006101808284031215612dde57600080fd5b612de66128e8565b612def83612daa565b8152612dfd60208401612daa565b6020820152612e0e60408401612db5565b6040820152612e1f60608401612db5565b6060820152612e3060808401612db5565b6080820152612e4160a08401612db5565b60a082015260c083015160c082015260e083015160e0820152610100808401518183015250610120612e74818501612dc0565b908201526101408381015190820152610160928301519281019290925250919050565b600060208284031215612ea957600080fd5b5051919050565b600060208284031215612ec257600080fd5b81516123a981612a1b565b60008251612edf818460208701612d1e565b919091019291505056fea264697066735822122005dedfa87719610d17e62506c2e4a5300df6b1f8fe1635d7fb4006f6179e0ec264736f6c63430008140033", }
FastBridgeMetaData contains all meta data concerning the FastBridge contract.
var IAccessControlABI = IAccessControlMetaData.ABI
IAccessControlABI is the input ABI used to generate the binding from. Deprecated: Use IAccessControlMetaData.ABI instead.
var IAccessControlFuncSigs = IAccessControlMetaData.Sigs
Deprecated: Use IAccessControlMetaData.Sigs instead. IAccessControlFuncSigs maps the 4-byte function signature to its string representation.
var IAccessControlMetaData = &bind.MetaData{ ABI: "[{\"inputs\":[],\"name\":\"AccessControlBadConfirmation\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"neededRole\",\"type\":\"bytes32\"}],\"name\":\"AccessControlUnauthorizedAccount\",\"type\":\"error\"},{\"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\":[{\"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\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"callerConfirmation\",\"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\"}]", Sigs: map[string]string{ "248a9ca3": "getRoleAdmin(bytes32)", "2f2ff15d": "grantRole(bytes32,address)", "91d14854": "hasRole(bytes32,address)", "36568abe": "renounceRole(bytes32,address)", "d547741f": "revokeRole(bytes32,address)", }, }
IAccessControlMetaData contains all meta data concerning the IAccessControl contract.
var IAdminABI = IAdminMetaData.ABI
IAdminABI is the input ABI used to generate the binding from. Deprecated: Use IAdminMetaData.ABI instead.
var IAdminFuncSigs = IAdminMetaData.Sigs
Deprecated: Use IAdminMetaData.Sigs instead. IAdminFuncSigs maps the 4-byte function signature to its string representation.
var IAdminMetaData = &bind.MetaData{ ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"oldChainGasAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newChainGasAmount\",\"type\":\"uint256\"}],\"name\":\"ChainGasAmountUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"oldFeeRate\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newFeeRate\",\"type\":\"uint256\"}],\"name\":\"FeeRateUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"FeesSwept\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"governor\",\"type\":\"address\"}],\"name\":\"GovernorAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"governor\",\"type\":\"address\"}],\"name\":\"GovernorRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"guard\",\"type\":\"address\"}],\"name\":\"GuardAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"guard\",\"type\":\"address\"}],\"name\":\"GuardRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"relayer\",\"type\":\"address\"}],\"name\":\"RelayerAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"relayer\",\"type\":\"address\"}],\"name\":\"RelayerRemoved\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_governor\",\"type\":\"address\"}],\"name\":\"addGovernor\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_guard\",\"type\":\"address\"}],\"name\":\"addGuard\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_relayer\",\"type\":\"address\"}],\"name\":\"addRelayer\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_governor\",\"type\":\"address\"}],\"name\":\"removeGovernor\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_guard\",\"type\":\"address\"}],\"name\":\"removeGuard\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_relayer\",\"type\":\"address\"}],\"name\":\"removeRelayer\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newChainGasAmount\",\"type\":\"uint256\"}],\"name\":\"setChainGasAmount\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newFeeRate\",\"type\":\"uint256\"}],\"name\":\"setProtocolFeeRate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"}],\"name\":\"sweepProtocolFees\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]", Sigs: map[string]string{ "3c4a25d0": "addGovernor(address)", "6913a63c": "addGuard(address)", "dd39f00d": "addRelayer(address)", "eecdac88": "removeGovernor(address)", "b6235016": "removeGuard(address)", "60f0a5ac": "removeRelayer(address)", "b250fe6b": "setChainGasAmount(uint256)", "b13aa2d6": "setProtocolFeeRate(uint256)", "06f333f2": "sweepProtocolFees(address,address)", }, }
IAdminMetaData contains all meta data concerning the IAdmin contract.
var IERC165ABI = IERC165MetaData.ABI
IERC165ABI is the input ABI used to generate the binding from. Deprecated: Use IERC165MetaData.ABI instead.
var IERC165FuncSigs = IERC165MetaData.Sigs
Deprecated: Use IERC165MetaData.Sigs instead. IERC165FuncSigs maps the 4-byte function signature to its string representation.
var IERC165MetaData = &bind.MetaData{ ABI: "[{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]", Sigs: map[string]string{ "01ffc9a7": "supportsInterface(bytes4)", }, }
IERC165MetaData contains all meta data concerning the IERC165 contract.
var IERC20ABI = IERC20MetaData.ABI
IERC20ABI is the input ABI used to generate the binding from. Deprecated: Use IERC20MetaData.ABI instead.
var IERC20FuncSigs = IERC20MetaData.Sigs
Deprecated: Use IERC20MetaData.Sigs instead. IERC20FuncSigs maps the 4-byte function signature to its string representation.
var IERC20MetaData = &bind.MetaData{ ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]", Sigs: map[string]string{ "dd62ed3e": "allowance(address,address)", "095ea7b3": "approve(address,uint256)", "70a08231": "balanceOf(address)", "18160ddd": "totalSupply()", "a9059cbb": "transfer(address,uint256)", "23b872dd": "transferFrom(address,address,uint256)", }, }
IERC20MetaData contains all meta data concerning the IERC20 contract.
var IERC20PermitABI = IERC20PermitMetaData.ABI
IERC20PermitABI is the input ABI used to generate the binding from. Deprecated: Use IERC20PermitMetaData.ABI instead.
var IERC20PermitFuncSigs = IERC20PermitMetaData.Sigs
Deprecated: Use IERC20PermitMetaData.Sigs instead. IERC20PermitFuncSigs maps the 4-byte function signature to its string representation.
var IERC20PermitMetaData = &bind.MetaData{ ABI: "[{\"inputs\":[],\"name\":\"DOMAIN_SEPARATOR\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"nonces\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"permit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]", Sigs: map[string]string{ "3644e515": "DOMAIN_SEPARATOR()", "7ecebe00": "nonces(address)", "d505accf": "permit(address,address,uint256,uint256,uint8,bytes32,bytes32)", }, }
IERC20PermitMetaData contains all meta data concerning the IERC20Permit contract.
var IFastBridgeABI = IFastBridgeMetaData.ABI
IFastBridgeABI is the input ABI used to generate the binding from. Deprecated: Use IFastBridgeMetaData.ABI instead.
var IFastBridgeFuncSigs = IFastBridgeMetaData.Sigs
Deprecated: Use IFastBridgeMetaData.Sigs instead. IFastBridgeFuncSigs maps the 4-byte function signature to its string representation.
var IFastBridgeMetaData = &bind.MetaData{ ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"transactionId\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"relayer\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"BridgeDepositClaimed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"transactionId\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"BridgeDepositRefunded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"transactionId\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"relayer\",\"type\":\"address\"}],\"name\":\"BridgeProofDisputed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"transactionId\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"relayer\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"transactionHash\",\"type\":\"bytes32\"}],\"name\":\"BridgeProofProvided\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"transactionId\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"relayer\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"chainGasAmount\",\"type\":\"uint256\"}],\"name\":\"BridgeRelayed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"transactionId\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"request\",\"type\":\"bytes\"}],\"name\":\"BridgeRequested\",\"type\":\"event\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint32\",\"name\":\"dstChainId\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"originToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"destToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"originAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"destAmount\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"sendChainGas\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"internalType\":\"structIFastBridge.BridgeParams\",\"name\":\"params\",\"type\":\"tuple\"}],\"name\":\"bridge\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"transactionId\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"relayer\",\"type\":\"address\"}],\"name\":\"canClaim\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"request\",\"type\":\"bytes\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"claim\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"transactionId\",\"type\":\"bytes32\"}],\"name\":\"dispute\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"request\",\"type\":\"bytes\"}],\"name\":\"getBridgeTransaction\",\"outputs\":[{\"components\":[{\"internalType\":\"uint32\",\"name\":\"originChainId\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"destChainId\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"originSender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"destRecipient\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"originToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"destToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"originAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"destAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"originFeeAmount\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"sendChainGas\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"}],\"internalType\":\"structIFastBridge.BridgeTransaction\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"request\",\"type\":\"bytes\"},{\"internalType\":\"bytes32\",\"name\":\"destTxHash\",\"type\":\"bytes32\"}],\"name\":\"prove\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"request\",\"type\":\"bytes\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"refund\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"request\",\"type\":\"bytes\"}],\"name\":\"relay\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"}]", Sigs: map[string]string{ "45851694": "bridge((uint32,address,address,address,address,uint256,uint256,bool,uint256))", "aa9641ab": "canClaim(bytes32,address)", "41fcb612": "claim(bytes,address)", "add98c70": "dispute(bytes32)", "ac11fb1a": "getBridgeTransaction(bytes)", "886d36ff": "prove(bytes,bytes32)", "ef059bd3": "refund(bytes,address)", "8f0d6f17": "relay(bytes)", }, }
IFastBridgeMetaData contains all meta data concerning the IFastBridge contract.
var SafeERC20ABI = SafeERC20MetaData.ABI
SafeERC20ABI is the input ABI used to generate the binding from. Deprecated: Use SafeERC20MetaData.ABI instead.
var SafeERC20Bin = SafeERC20MetaData.Bin
SafeERC20Bin is the compiled bytecode used for deploying new contracts. Deprecated: Use SafeERC20MetaData.Bin instead.
var SafeERC20MetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"currentAllowance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"requestedDecrease\",\"type\":\"uint256\"}],\"name\":\"SafeERC20FailedDecreaseAllowance\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"SafeERC20FailedOperation\",\"type\":\"error\"}]",
Bin: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122029bfe5ae1e489113a3df1c4d07bc29e458d7e74bf08992dfac9077241953d3a464736f6c63430008140033",
}
SafeERC20MetaData contains all meta data concerning the SafeERC20 contract.
var UniversalTokenLibABI = UniversalTokenLibMetaData.ABI
UniversalTokenLibABI is the input ABI used to generate the binding from. Deprecated: Use UniversalTokenLibMetaData.ABI instead.
var UniversalTokenLibBin = UniversalTokenLibMetaData.Bin
UniversalTokenLibBin is the compiled bytecode used for deploying new contracts. Deprecated: Use UniversalTokenLibMetaData.Bin instead.
var UniversalTokenLibMetaData = &bind.MetaData{
ABI: "[]",
Bin: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212202356b549819f893c0fc90720e876a84ff5865cde7eaa2e31f91127f79c8fd11e64736f6c63430008140033",
}
UniversalTokenLibMetaData contains all meta data concerning the UniversalTokenLib contract.
Functions ¶
This section is empty.
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 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) 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) 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) 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 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) RenounceRole ¶
func (_AccessControl *AccessControlSession) RenounceRole(role [32]byte, callerConfirmation common.Address) (*types.Transaction, error)
RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.
Solidity: function renounceRole(bytes32 role, address callerConfirmation) 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) RenounceRole ¶
func (_AccessControl *AccessControlTransactor) RenounceRole(opts *bind.TransactOpts, role [32]byte, callerConfirmation common.Address) (*types.Transaction, error)
RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.
Solidity: function renounceRole(bytes32 role, address callerConfirmation) 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) RenounceRole ¶
func (_AccessControl *AccessControlTransactorSession) RenounceRole(role [32]byte, callerConfirmation common.Address) (*types.Transaction, error)
RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.
Solidity: function renounceRole(bytes32 role, address callerConfirmation) 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 Address ¶
type Address struct { AddressCaller // Read-only binding to the contract AddressTransactor // Write-only binding to the contract AddressFilterer // Log filterer for contract events }
Address is an auto generated Go binding around an Ethereum contract.
func DeployAddress ¶
func DeployAddress(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Address, error)
DeployAddress deploys a new Ethereum contract, binding an instance of Address to it.
func NewAddress ¶
NewAddress creates a new instance of Address, bound to a specific deployed contract.
type AddressCaller ¶
type AddressCaller struct {
// contains filtered or unexported fields
}
AddressCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewAddressCaller ¶
func NewAddressCaller(address common.Address, caller bind.ContractCaller) (*AddressCaller, error)
NewAddressCaller creates a new read-only instance of Address, bound to a specific deployed contract.
type AddressCallerRaw ¶
type AddressCallerRaw struct {
Contract *AddressCaller // Generic read-only contract binding to access the raw methods on
}
AddressCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*AddressCallerRaw) Call ¶
func (_Address *AddressCallerRaw) 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 AddressCallerSession ¶
type AddressCallerSession struct { Contract *AddressCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
AddressCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type AddressFilterer ¶
type AddressFilterer struct {
// contains filtered or unexported fields
}
AddressFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewAddressFilterer ¶
func NewAddressFilterer(address common.Address, filterer bind.ContractFilterer) (*AddressFilterer, error)
NewAddressFilterer creates a new log filterer instance of Address, bound to a specific deployed contract.
type AddressRaw ¶
type AddressRaw struct {
Contract *Address // Generic contract binding to access the raw methods on
}
AddressRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*AddressRaw) Call ¶
func (_Address *AddressRaw) 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 (*AddressRaw) Transact ¶
func (_Address *AddressRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*AddressRaw) Transfer ¶
func (_Address *AddressRaw) 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 AddressSession ¶
type AddressSession struct { Contract *Address // 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 }
AddressSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type AddressTransactor ¶
type AddressTransactor struct {
// contains filtered or unexported fields
}
AddressTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewAddressTransactor ¶
func NewAddressTransactor(address common.Address, transactor bind.ContractTransactor) (*AddressTransactor, error)
NewAddressTransactor creates a new write-only instance of Address, bound to a specific deployed contract.
type AddressTransactorRaw ¶
type AddressTransactorRaw struct {
Contract *AddressTransactor // Generic write-only contract binding to access the raw methods on
}
AddressTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*AddressTransactorRaw) Transact ¶
func (_Address *AddressTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*AddressTransactorRaw) Transfer ¶
func (_Address *AddressTransactorRaw) 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 AddressTransactorSession ¶
type AddressTransactorSession struct { Contract *AddressTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
AddressTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type Admin ¶
type Admin struct { AdminCaller // Read-only binding to the contract AdminTransactor // Write-only binding to the contract AdminFilterer // Log filterer for contract events }
Admin is an auto generated Go binding around an Ethereum contract.
func DeployAdmin ¶
func DeployAdmin(auth *bind.TransactOpts, backend bind.ContractBackend, _owner common.Address) (common.Address, *types.Transaction, *Admin, error)
DeployAdmin deploys a new Ethereum contract, binding an instance of Admin to it.
type AdminCaller ¶
type AdminCaller struct {
// contains filtered or unexported fields
}
AdminCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewAdminCaller ¶
func NewAdminCaller(address common.Address, caller bind.ContractCaller) (*AdminCaller, error)
NewAdminCaller creates a new read-only instance of Admin, bound to a specific deployed contract.
func (*AdminCaller) ChainGasAmount ¶
ChainGasAmount is a free data retrieval call binding the contract method 0xe00a83e0.
Solidity: function chainGasAmount() view returns(uint256)
func (*AdminCaller) DEFAULTADMINROLE ¶
func (_Admin *AdminCaller) 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 (*AdminCaller) FEEBPS ¶
FEEBPS is a free data retrieval call binding the contract method 0xbf333f2c.
Solidity: function FEE_BPS() view returns(uint256)
func (*AdminCaller) FEERATEMAX ¶
FEERATEMAX is a free data retrieval call binding the contract method 0x0f5f6ed7.
Solidity: function FEE_RATE_MAX() view returns(uint256)
func (*AdminCaller) GOVERNORROLE ¶
func (_Admin *AdminCaller) GOVERNORROLE(opts *bind.CallOpts) ([32]byte, error)
GOVERNORROLE is a free data retrieval call binding the contract method 0xccc57490.
Solidity: function GOVERNOR_ROLE() view returns(bytes32)
func (*AdminCaller) GUARDROLE ¶
func (_Admin *AdminCaller) GUARDROLE(opts *bind.CallOpts) ([32]byte, error)
GUARDROLE is a free data retrieval call binding the contract method 0x03ed0ee5.
Solidity: function GUARD_ROLE() view returns(bytes32)
func (*AdminCaller) GetRoleAdmin ¶
GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.
Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)
func (*AdminCaller) HasRole ¶
func (_Admin *AdminCaller) 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 (*AdminCaller) ProtocolFeeRate ¶
ProtocolFeeRate is a free data retrieval call binding the contract method 0x58f85880.
Solidity: function protocolFeeRate() view returns(uint256)
func (*AdminCaller) ProtocolFees ¶
ProtocolFees is a free data retrieval call binding the contract method 0xdcf844a7.
Solidity: function protocolFees(address ) view returns(uint256)
func (*AdminCaller) RELAYERROLE ¶
func (_Admin *AdminCaller) RELAYERROLE(opts *bind.CallOpts) ([32]byte, error)
RELAYERROLE is a free data retrieval call binding the contract method 0x926d7d7f.
Solidity: function RELAYER_ROLE() view returns(bytes32)
func (*AdminCaller) SupportsInterface ¶
func (_Admin *AdminCaller) 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 AdminCallerRaw ¶
type AdminCallerRaw struct {
Contract *AdminCaller // Generic read-only contract binding to access the raw methods on
}
AdminCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*AdminCallerRaw) Call ¶
func (_Admin *AdminCallerRaw) 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 AdminCallerSession ¶
type AdminCallerSession struct { Contract *AdminCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
AdminCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*AdminCallerSession) ChainGasAmount ¶
func (_Admin *AdminCallerSession) ChainGasAmount() (*big.Int, error)
ChainGasAmount is a free data retrieval call binding the contract method 0xe00a83e0.
Solidity: function chainGasAmount() view returns(uint256)
func (*AdminCallerSession) DEFAULTADMINROLE ¶
func (_Admin *AdminCallerSession) 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 (*AdminCallerSession) FEEBPS ¶
func (_Admin *AdminCallerSession) FEEBPS() (*big.Int, error)
FEEBPS is a free data retrieval call binding the contract method 0xbf333f2c.
Solidity: function FEE_BPS() view returns(uint256)
func (*AdminCallerSession) FEERATEMAX ¶
func (_Admin *AdminCallerSession) FEERATEMAX() (*big.Int, error)
FEERATEMAX is a free data retrieval call binding the contract method 0x0f5f6ed7.
Solidity: function FEE_RATE_MAX() view returns(uint256)
func (*AdminCallerSession) GOVERNORROLE ¶
func (_Admin *AdminCallerSession) GOVERNORROLE() ([32]byte, error)
GOVERNORROLE is a free data retrieval call binding the contract method 0xccc57490.
Solidity: function GOVERNOR_ROLE() view returns(bytes32)
func (*AdminCallerSession) GUARDROLE ¶
func (_Admin *AdminCallerSession) GUARDROLE() ([32]byte, error)
GUARDROLE is a free data retrieval call binding the contract method 0x03ed0ee5.
Solidity: function GUARD_ROLE() view returns(bytes32)
func (*AdminCallerSession) GetRoleAdmin ¶
func (_Admin *AdminCallerSession) 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 (*AdminCallerSession) HasRole ¶
HasRole is a free data retrieval call binding the contract method 0x91d14854.
Solidity: function hasRole(bytes32 role, address account) view returns(bool)
func (*AdminCallerSession) ProtocolFeeRate ¶
func (_Admin *AdminCallerSession) ProtocolFeeRate() (*big.Int, error)
ProtocolFeeRate is a free data retrieval call binding the contract method 0x58f85880.
Solidity: function protocolFeeRate() view returns(uint256)
func (*AdminCallerSession) ProtocolFees ¶
ProtocolFees is a free data retrieval call binding the contract method 0xdcf844a7.
Solidity: function protocolFees(address ) view returns(uint256)
func (*AdminCallerSession) RELAYERROLE ¶
func (_Admin *AdminCallerSession) RELAYERROLE() ([32]byte, error)
RELAYERROLE is a free data retrieval call binding the contract method 0x926d7d7f.
Solidity: function RELAYER_ROLE() view returns(bytes32)
func (*AdminCallerSession) SupportsInterface ¶
func (_Admin *AdminCallerSession) 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 AdminChainGasAmountUpdated ¶
type AdminChainGasAmountUpdated struct { OldChainGasAmount *big.Int NewChainGasAmount *big.Int Raw types.Log // Blockchain specific contextual infos }
AdminChainGasAmountUpdated represents a ChainGasAmountUpdated event raised by the Admin contract.
type AdminChainGasAmountUpdatedIterator ¶
type AdminChainGasAmountUpdatedIterator struct { Event *AdminChainGasAmountUpdated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AdminChainGasAmountUpdatedIterator is returned from FilterChainGasAmountUpdated and is used to iterate over the raw logs and unpacked data for ChainGasAmountUpdated events raised by the Admin contract.
func (*AdminChainGasAmountUpdatedIterator) Close ¶
func (it *AdminChainGasAmountUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AdminChainGasAmountUpdatedIterator) Error ¶
func (it *AdminChainGasAmountUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AdminChainGasAmountUpdatedIterator) Next ¶
func (it *AdminChainGasAmountUpdatedIterator) 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 AdminFeeRateUpdated ¶
type AdminFeeRateUpdated struct { OldFeeRate *big.Int NewFeeRate *big.Int Raw types.Log // Blockchain specific contextual infos }
AdminFeeRateUpdated represents a FeeRateUpdated event raised by the Admin contract.
type AdminFeeRateUpdatedIterator ¶
type AdminFeeRateUpdatedIterator struct { Event *AdminFeeRateUpdated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AdminFeeRateUpdatedIterator is returned from FilterFeeRateUpdated and is used to iterate over the raw logs and unpacked data for FeeRateUpdated events raised by the Admin contract.
func (*AdminFeeRateUpdatedIterator) Close ¶
func (it *AdminFeeRateUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AdminFeeRateUpdatedIterator) Error ¶
func (it *AdminFeeRateUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AdminFeeRateUpdatedIterator) Next ¶
func (it *AdminFeeRateUpdatedIterator) 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 AdminFeesSwept ¶
type AdminFeesSwept struct { Token common.Address Recipient common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
AdminFeesSwept represents a FeesSwept event raised by the Admin contract.
type AdminFeesSweptIterator ¶
type AdminFeesSweptIterator struct { Event *AdminFeesSwept // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AdminFeesSweptIterator is returned from FilterFeesSwept and is used to iterate over the raw logs and unpacked data for FeesSwept events raised by the Admin contract.
func (*AdminFeesSweptIterator) Close ¶
func (it *AdminFeesSweptIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AdminFeesSweptIterator) Error ¶
func (it *AdminFeesSweptIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AdminFeesSweptIterator) Next ¶
func (it *AdminFeesSweptIterator) 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 AdminFilterer ¶
type AdminFilterer struct {
// contains filtered or unexported fields
}
AdminFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewAdminFilterer ¶
func NewAdminFilterer(address common.Address, filterer bind.ContractFilterer) (*AdminFilterer, error)
NewAdminFilterer creates a new log filterer instance of Admin, bound to a specific deployed contract.
func (*AdminFilterer) FilterChainGasAmountUpdated ¶
func (_Admin *AdminFilterer) FilterChainGasAmountUpdated(opts *bind.FilterOpts) (*AdminChainGasAmountUpdatedIterator, error)
FilterChainGasAmountUpdated is a free log retrieval operation binding the contract event 0x5cf09b12f3f56b4c564d51b25b40360af6d795198adb61ae0806a36c294323fa.
Solidity: event ChainGasAmountUpdated(uint256 oldChainGasAmount, uint256 newChainGasAmount)
func (*AdminFilterer) FilterFeeRateUpdated ¶
func (_Admin *AdminFilterer) FilterFeeRateUpdated(opts *bind.FilterOpts) (*AdminFeeRateUpdatedIterator, error)
FilterFeeRateUpdated is a free log retrieval operation binding the contract event 0x14914da2bf76024616fbe1859783fcd4dbddcb179b1f3a854949fbf920dcb957.
Solidity: event FeeRateUpdated(uint256 oldFeeRate, uint256 newFeeRate)
func (*AdminFilterer) FilterFeesSwept ¶
func (_Admin *AdminFilterer) FilterFeesSwept(opts *bind.FilterOpts) (*AdminFeesSweptIterator, error)
FilterFeesSwept is a free log retrieval operation binding the contract event 0x244e51bc38c1452fa8aaf487bcb4bca36c2baa3a5fbdb776b1eabd8dc6d277cd.
Solidity: event FeesSwept(address token, address recipient, uint256 amount)
func (*AdminFilterer) FilterGovernorAdded ¶
func (_Admin *AdminFilterer) FilterGovernorAdded(opts *bind.FilterOpts) (*AdminGovernorAddedIterator, error)
FilterGovernorAdded is a free log retrieval operation binding the contract event 0xdc5a48d79e2e147530ff63ecdbed5a5a66adb9d5cf339384d5d076da197c40b5.
Solidity: event GovernorAdded(address governor)
func (*AdminFilterer) FilterGovernorRemoved ¶
func (_Admin *AdminFilterer) FilterGovernorRemoved(opts *bind.FilterOpts) (*AdminGovernorRemovedIterator, error)
FilterGovernorRemoved is a free log retrieval operation binding the contract event 0x1ebe834e73d60a5fec822c1e1727d34bc79f2ad977ed504581cc1822fe20fb5b.
Solidity: event GovernorRemoved(address governor)
func (*AdminFilterer) FilterGuardAdded ¶
func (_Admin *AdminFilterer) FilterGuardAdded(opts *bind.FilterOpts) (*AdminGuardAddedIterator, error)
FilterGuardAdded is a free log retrieval operation binding the contract event 0x93405f05cd04f0d1bd875f2de00f1f3890484ffd0589248953bdfd29ba7f2f59.
Solidity: event GuardAdded(address guard)
func (*AdminFilterer) FilterGuardRemoved ¶
func (_Admin *AdminFilterer) FilterGuardRemoved(opts *bind.FilterOpts) (*AdminGuardRemovedIterator, error)
FilterGuardRemoved is a free log retrieval operation binding the contract event 0x59926e0a78d12238b668b31c8e3f6ece235a59a00ede111d883e255b68c4d048.
Solidity: event GuardRemoved(address guard)
func (*AdminFilterer) FilterRelayerAdded ¶
func (_Admin *AdminFilterer) FilterRelayerAdded(opts *bind.FilterOpts) (*AdminRelayerAddedIterator, error)
FilterRelayerAdded is a free log retrieval operation binding the contract event 0x03580ee9f53a62b7cb409a2cb56f9be87747dd15017afc5cef6eef321e4fb2c5.
Solidity: event RelayerAdded(address relayer)
func (*AdminFilterer) FilterRelayerRemoved ¶
func (_Admin *AdminFilterer) FilterRelayerRemoved(opts *bind.FilterOpts) (*AdminRelayerRemovedIterator, error)
FilterRelayerRemoved is a free log retrieval operation binding the contract event 0x10e1f7ce9fd7d1b90a66d13a2ab3cb8dd7f29f3f8d520b143b063ccfbab6906b.
Solidity: event RelayerRemoved(address relayer)
func (*AdminFilterer) FilterRoleAdminChanged ¶
func (_Admin *AdminFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (*AdminRoleAdminChangedIterator, 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 (*AdminFilterer) FilterRoleGranted ¶
func (_Admin *AdminFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*AdminRoleGrantedIterator, 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 (*AdminFilterer) FilterRoleRevoked ¶
func (_Admin *AdminFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*AdminRoleRevokedIterator, 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 (*AdminFilterer) ParseChainGasAmountUpdated ¶
func (_Admin *AdminFilterer) ParseChainGasAmountUpdated(log types.Log) (*AdminChainGasAmountUpdated, error)
ParseChainGasAmountUpdated is a log parse operation binding the contract event 0x5cf09b12f3f56b4c564d51b25b40360af6d795198adb61ae0806a36c294323fa.
Solidity: event ChainGasAmountUpdated(uint256 oldChainGasAmount, uint256 newChainGasAmount)
func (*AdminFilterer) ParseFeeRateUpdated ¶
func (_Admin *AdminFilterer) ParseFeeRateUpdated(log types.Log) (*AdminFeeRateUpdated, error)
ParseFeeRateUpdated is a log parse operation binding the contract event 0x14914da2bf76024616fbe1859783fcd4dbddcb179b1f3a854949fbf920dcb957.
Solidity: event FeeRateUpdated(uint256 oldFeeRate, uint256 newFeeRate)
func (*AdminFilterer) ParseFeesSwept ¶
func (_Admin *AdminFilterer) ParseFeesSwept(log types.Log) (*AdminFeesSwept, error)
ParseFeesSwept is a log parse operation binding the contract event 0x244e51bc38c1452fa8aaf487bcb4bca36c2baa3a5fbdb776b1eabd8dc6d277cd.
Solidity: event FeesSwept(address token, address recipient, uint256 amount)
func (*AdminFilterer) ParseGovernorAdded ¶
func (_Admin *AdminFilterer) ParseGovernorAdded(log types.Log) (*AdminGovernorAdded, error)
ParseGovernorAdded is a log parse operation binding the contract event 0xdc5a48d79e2e147530ff63ecdbed5a5a66adb9d5cf339384d5d076da197c40b5.
Solidity: event GovernorAdded(address governor)
func (*AdminFilterer) ParseGovernorRemoved ¶
func (_Admin *AdminFilterer) ParseGovernorRemoved(log types.Log) (*AdminGovernorRemoved, error)
ParseGovernorRemoved is a log parse operation binding the contract event 0x1ebe834e73d60a5fec822c1e1727d34bc79f2ad977ed504581cc1822fe20fb5b.
Solidity: event GovernorRemoved(address governor)
func (*AdminFilterer) ParseGuardAdded ¶
func (_Admin *AdminFilterer) ParseGuardAdded(log types.Log) (*AdminGuardAdded, error)
ParseGuardAdded is a log parse operation binding the contract event 0x93405f05cd04f0d1bd875f2de00f1f3890484ffd0589248953bdfd29ba7f2f59.
Solidity: event GuardAdded(address guard)
func (*AdminFilterer) ParseGuardRemoved ¶
func (_Admin *AdminFilterer) ParseGuardRemoved(log types.Log) (*AdminGuardRemoved, error)
ParseGuardRemoved is a log parse operation binding the contract event 0x59926e0a78d12238b668b31c8e3f6ece235a59a00ede111d883e255b68c4d048.
Solidity: event GuardRemoved(address guard)
func (*AdminFilterer) ParseRelayerAdded ¶
func (_Admin *AdminFilterer) ParseRelayerAdded(log types.Log) (*AdminRelayerAdded, error)
ParseRelayerAdded is a log parse operation binding the contract event 0x03580ee9f53a62b7cb409a2cb56f9be87747dd15017afc5cef6eef321e4fb2c5.
Solidity: event RelayerAdded(address relayer)
func (*AdminFilterer) ParseRelayerRemoved ¶
func (_Admin *AdminFilterer) ParseRelayerRemoved(log types.Log) (*AdminRelayerRemoved, error)
ParseRelayerRemoved is a log parse operation binding the contract event 0x10e1f7ce9fd7d1b90a66d13a2ab3cb8dd7f29f3f8d520b143b063ccfbab6906b.
Solidity: event RelayerRemoved(address relayer)
func (*AdminFilterer) ParseRoleAdminChanged ¶
func (_Admin *AdminFilterer) ParseRoleAdminChanged(log types.Log) (*AdminRoleAdminChanged, 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 (*AdminFilterer) ParseRoleGranted ¶
func (_Admin *AdminFilterer) ParseRoleGranted(log types.Log) (*AdminRoleGranted, 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 (*AdminFilterer) ParseRoleRevoked ¶
func (_Admin *AdminFilterer) ParseRoleRevoked(log types.Log) (*AdminRoleRevoked, 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 (*AdminFilterer) WatchChainGasAmountUpdated ¶
func (_Admin *AdminFilterer) WatchChainGasAmountUpdated(opts *bind.WatchOpts, sink chan<- *AdminChainGasAmountUpdated) (event.Subscription, error)
WatchChainGasAmountUpdated is a free log subscription operation binding the contract event 0x5cf09b12f3f56b4c564d51b25b40360af6d795198adb61ae0806a36c294323fa.
Solidity: event ChainGasAmountUpdated(uint256 oldChainGasAmount, uint256 newChainGasAmount)
func (*AdminFilterer) WatchFeeRateUpdated ¶
func (_Admin *AdminFilterer) WatchFeeRateUpdated(opts *bind.WatchOpts, sink chan<- *AdminFeeRateUpdated) (event.Subscription, error)
WatchFeeRateUpdated is a free log subscription operation binding the contract event 0x14914da2bf76024616fbe1859783fcd4dbddcb179b1f3a854949fbf920dcb957.
Solidity: event FeeRateUpdated(uint256 oldFeeRate, uint256 newFeeRate)
func (*AdminFilterer) WatchFeesSwept ¶
func (_Admin *AdminFilterer) WatchFeesSwept(opts *bind.WatchOpts, sink chan<- *AdminFeesSwept) (event.Subscription, error)
WatchFeesSwept is a free log subscription operation binding the contract event 0x244e51bc38c1452fa8aaf487bcb4bca36c2baa3a5fbdb776b1eabd8dc6d277cd.
Solidity: event FeesSwept(address token, address recipient, uint256 amount)
func (*AdminFilterer) WatchGovernorAdded ¶
func (_Admin *AdminFilterer) WatchGovernorAdded(opts *bind.WatchOpts, sink chan<- *AdminGovernorAdded) (event.Subscription, error)
WatchGovernorAdded is a free log subscription operation binding the contract event 0xdc5a48d79e2e147530ff63ecdbed5a5a66adb9d5cf339384d5d076da197c40b5.
Solidity: event GovernorAdded(address governor)
func (*AdminFilterer) WatchGovernorRemoved ¶
func (_Admin *AdminFilterer) WatchGovernorRemoved(opts *bind.WatchOpts, sink chan<- *AdminGovernorRemoved) (event.Subscription, error)
WatchGovernorRemoved is a free log subscription operation binding the contract event 0x1ebe834e73d60a5fec822c1e1727d34bc79f2ad977ed504581cc1822fe20fb5b.
Solidity: event GovernorRemoved(address governor)
func (*AdminFilterer) WatchGuardAdded ¶
func (_Admin *AdminFilterer) WatchGuardAdded(opts *bind.WatchOpts, sink chan<- *AdminGuardAdded) (event.Subscription, error)
WatchGuardAdded is a free log subscription operation binding the contract event 0x93405f05cd04f0d1bd875f2de00f1f3890484ffd0589248953bdfd29ba7f2f59.
Solidity: event GuardAdded(address guard)
func (*AdminFilterer) WatchGuardRemoved ¶
func (_Admin *AdminFilterer) WatchGuardRemoved(opts *bind.WatchOpts, sink chan<- *AdminGuardRemoved) (event.Subscription, error)
WatchGuardRemoved is a free log subscription operation binding the contract event 0x59926e0a78d12238b668b31c8e3f6ece235a59a00ede111d883e255b68c4d048.
Solidity: event GuardRemoved(address guard)
func (*AdminFilterer) WatchRelayerAdded ¶
func (_Admin *AdminFilterer) WatchRelayerAdded(opts *bind.WatchOpts, sink chan<- *AdminRelayerAdded) (event.Subscription, error)
WatchRelayerAdded is a free log subscription operation binding the contract event 0x03580ee9f53a62b7cb409a2cb56f9be87747dd15017afc5cef6eef321e4fb2c5.
Solidity: event RelayerAdded(address relayer)
func (*AdminFilterer) WatchRelayerRemoved ¶
func (_Admin *AdminFilterer) WatchRelayerRemoved(opts *bind.WatchOpts, sink chan<- *AdminRelayerRemoved) (event.Subscription, error)
WatchRelayerRemoved is a free log subscription operation binding the contract event 0x10e1f7ce9fd7d1b90a66d13a2ab3cb8dd7f29f3f8d520b143b063ccfbab6906b.
Solidity: event RelayerRemoved(address relayer)
func (*AdminFilterer) WatchRoleAdminChanged ¶
func (_Admin *AdminFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *AdminRoleAdminChanged, 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 (*AdminFilterer) WatchRoleGranted ¶
func (_Admin *AdminFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *AdminRoleGranted, 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 (*AdminFilterer) WatchRoleRevoked ¶
func (_Admin *AdminFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *AdminRoleRevoked, 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 AdminGovernorAdded ¶
type AdminGovernorAdded struct { Governor common.Address Raw types.Log // Blockchain specific contextual infos }
AdminGovernorAdded represents a GovernorAdded event raised by the Admin contract.
type AdminGovernorAddedIterator ¶
type AdminGovernorAddedIterator struct { Event *AdminGovernorAdded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AdminGovernorAddedIterator is returned from FilterGovernorAdded and is used to iterate over the raw logs and unpacked data for GovernorAdded events raised by the Admin contract.
func (*AdminGovernorAddedIterator) Close ¶
func (it *AdminGovernorAddedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AdminGovernorAddedIterator) Error ¶
func (it *AdminGovernorAddedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AdminGovernorAddedIterator) Next ¶
func (it *AdminGovernorAddedIterator) 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 AdminGovernorRemoved ¶
type AdminGovernorRemoved struct { Governor common.Address Raw types.Log // Blockchain specific contextual infos }
AdminGovernorRemoved represents a GovernorRemoved event raised by the Admin contract.
type AdminGovernorRemovedIterator ¶
type AdminGovernorRemovedIterator struct { Event *AdminGovernorRemoved // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AdminGovernorRemovedIterator is returned from FilterGovernorRemoved and is used to iterate over the raw logs and unpacked data for GovernorRemoved events raised by the Admin contract.
func (*AdminGovernorRemovedIterator) Close ¶
func (it *AdminGovernorRemovedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AdminGovernorRemovedIterator) Error ¶
func (it *AdminGovernorRemovedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AdminGovernorRemovedIterator) Next ¶
func (it *AdminGovernorRemovedIterator) 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 AdminGuardAdded ¶
type AdminGuardAdded struct { Guard common.Address Raw types.Log // Blockchain specific contextual infos }
AdminGuardAdded represents a GuardAdded event raised by the Admin contract.
type AdminGuardAddedIterator ¶
type AdminGuardAddedIterator struct { Event *AdminGuardAdded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AdminGuardAddedIterator is returned from FilterGuardAdded and is used to iterate over the raw logs and unpacked data for GuardAdded events raised by the Admin contract.
func (*AdminGuardAddedIterator) Close ¶
func (it *AdminGuardAddedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AdminGuardAddedIterator) Error ¶
func (it *AdminGuardAddedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AdminGuardAddedIterator) Next ¶
func (it *AdminGuardAddedIterator) 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 AdminGuardRemoved ¶
type AdminGuardRemoved struct { Guard common.Address Raw types.Log // Blockchain specific contextual infos }
AdminGuardRemoved represents a GuardRemoved event raised by the Admin contract.
type AdminGuardRemovedIterator ¶
type AdminGuardRemovedIterator struct { Event *AdminGuardRemoved // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AdminGuardRemovedIterator is returned from FilterGuardRemoved and is used to iterate over the raw logs and unpacked data for GuardRemoved events raised by the Admin contract.
func (*AdminGuardRemovedIterator) Close ¶
func (it *AdminGuardRemovedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AdminGuardRemovedIterator) Error ¶
func (it *AdminGuardRemovedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AdminGuardRemovedIterator) Next ¶
func (it *AdminGuardRemovedIterator) 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 AdminRaw ¶
type AdminRaw struct {
Contract *Admin // Generic contract binding to access the raw methods on
}
AdminRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*AdminRaw) Call ¶
func (_Admin *AdminRaw) 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 (*AdminRaw) Transact ¶
func (_Admin *AdminRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*AdminRaw) Transfer ¶
func (_Admin *AdminRaw) 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 AdminRelayerAdded ¶
type AdminRelayerAdded struct { Relayer common.Address Raw types.Log // Blockchain specific contextual infos }
AdminRelayerAdded represents a RelayerAdded event raised by the Admin contract.
type AdminRelayerAddedIterator ¶
type AdminRelayerAddedIterator struct { Event *AdminRelayerAdded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AdminRelayerAddedIterator is returned from FilterRelayerAdded and is used to iterate over the raw logs and unpacked data for RelayerAdded events raised by the Admin contract.
func (*AdminRelayerAddedIterator) Close ¶
func (it *AdminRelayerAddedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AdminRelayerAddedIterator) Error ¶
func (it *AdminRelayerAddedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AdminRelayerAddedIterator) Next ¶
func (it *AdminRelayerAddedIterator) 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 AdminRelayerRemoved ¶
type AdminRelayerRemoved struct { Relayer common.Address Raw types.Log // Blockchain specific contextual infos }
AdminRelayerRemoved represents a RelayerRemoved event raised by the Admin contract.
type AdminRelayerRemovedIterator ¶
type AdminRelayerRemovedIterator struct { Event *AdminRelayerRemoved // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AdminRelayerRemovedIterator is returned from FilterRelayerRemoved and is used to iterate over the raw logs and unpacked data for RelayerRemoved events raised by the Admin contract.
func (*AdminRelayerRemovedIterator) Close ¶
func (it *AdminRelayerRemovedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AdminRelayerRemovedIterator) Error ¶
func (it *AdminRelayerRemovedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AdminRelayerRemovedIterator) Next ¶
func (it *AdminRelayerRemovedIterator) 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 AdminRoleAdminChanged ¶
type AdminRoleAdminChanged struct { Role [32]byte PreviousAdminRole [32]byte NewAdminRole [32]byte Raw types.Log // Blockchain specific contextual infos }
AdminRoleAdminChanged represents a RoleAdminChanged event raised by the Admin contract.
type AdminRoleAdminChangedIterator ¶
type AdminRoleAdminChangedIterator struct { Event *AdminRoleAdminChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AdminRoleAdminChangedIterator is returned from FilterRoleAdminChanged and is used to iterate over the raw logs and unpacked data for RoleAdminChanged events raised by the Admin contract.
func (*AdminRoleAdminChangedIterator) Close ¶
func (it *AdminRoleAdminChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AdminRoleAdminChangedIterator) Error ¶
func (it *AdminRoleAdminChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AdminRoleAdminChangedIterator) Next ¶
func (it *AdminRoleAdminChangedIterator) 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 AdminRoleGranted ¶
type AdminRoleGranted struct { Role [32]byte Account common.Address Sender common.Address Raw types.Log // Blockchain specific contextual infos }
AdminRoleGranted represents a RoleGranted event raised by the Admin contract.
type AdminRoleGrantedIterator ¶
type AdminRoleGrantedIterator struct { Event *AdminRoleGranted // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AdminRoleGrantedIterator is returned from FilterRoleGranted and is used to iterate over the raw logs and unpacked data for RoleGranted events raised by the Admin contract.
func (*AdminRoleGrantedIterator) Close ¶
func (it *AdminRoleGrantedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AdminRoleGrantedIterator) Error ¶
func (it *AdminRoleGrantedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AdminRoleGrantedIterator) Next ¶
func (it *AdminRoleGrantedIterator) 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 AdminRoleRevoked ¶
type AdminRoleRevoked struct { Role [32]byte Account common.Address Sender common.Address Raw types.Log // Blockchain specific contextual infos }
AdminRoleRevoked represents a RoleRevoked event raised by the Admin contract.
type AdminRoleRevokedIterator ¶
type AdminRoleRevokedIterator struct { Event *AdminRoleRevoked // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AdminRoleRevokedIterator is returned from FilterRoleRevoked and is used to iterate over the raw logs and unpacked data for RoleRevoked events raised by the Admin contract.
func (*AdminRoleRevokedIterator) Close ¶
func (it *AdminRoleRevokedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AdminRoleRevokedIterator) Error ¶
func (it *AdminRoleRevokedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AdminRoleRevokedIterator) Next ¶
func (it *AdminRoleRevokedIterator) 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 AdminSession ¶
type AdminSession struct { Contract *Admin // 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 }
AdminSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*AdminSession) AddGovernor ¶
func (_Admin *AdminSession) AddGovernor(_governor common.Address) (*types.Transaction, error)
AddGovernor is a paid mutator transaction binding the contract method 0x3c4a25d0.
Solidity: function addGovernor(address _governor) returns()
func (*AdminSession) AddGuard ¶
func (_Admin *AdminSession) AddGuard(_guard common.Address) (*types.Transaction, error)
AddGuard is a paid mutator transaction binding the contract method 0x6913a63c.
Solidity: function addGuard(address _guard) returns()
func (*AdminSession) AddRelayer ¶
func (_Admin *AdminSession) AddRelayer(_relayer common.Address) (*types.Transaction, error)
AddRelayer is a paid mutator transaction binding the contract method 0xdd39f00d.
Solidity: function addRelayer(address _relayer) returns()
func (*AdminSession) ChainGasAmount ¶
func (_Admin *AdminSession) ChainGasAmount() (*big.Int, error)
ChainGasAmount is a free data retrieval call binding the contract method 0xe00a83e0.
Solidity: function chainGasAmount() view returns(uint256)
func (*AdminSession) DEFAULTADMINROLE ¶
func (_Admin *AdminSession) 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 (*AdminSession) FEEBPS ¶
func (_Admin *AdminSession) FEEBPS() (*big.Int, error)
FEEBPS is a free data retrieval call binding the contract method 0xbf333f2c.
Solidity: function FEE_BPS() view returns(uint256)
func (*AdminSession) FEERATEMAX ¶
func (_Admin *AdminSession) FEERATEMAX() (*big.Int, error)
FEERATEMAX is a free data retrieval call binding the contract method 0x0f5f6ed7.
Solidity: function FEE_RATE_MAX() view returns(uint256)
func (*AdminSession) GOVERNORROLE ¶
func (_Admin *AdminSession) GOVERNORROLE() ([32]byte, error)
GOVERNORROLE is a free data retrieval call binding the contract method 0xccc57490.
Solidity: function GOVERNOR_ROLE() view returns(bytes32)
func (*AdminSession) GUARDROLE ¶
func (_Admin *AdminSession) GUARDROLE() ([32]byte, error)
GUARDROLE is a free data retrieval call binding the contract method 0x03ed0ee5.
Solidity: function GUARD_ROLE() view returns(bytes32)
func (*AdminSession) GetRoleAdmin ¶
func (_Admin *AdminSession) 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 (*AdminSession) GrantRole ¶
func (_Admin *AdminSession) 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 (*AdminSession) HasRole ¶
HasRole is a free data retrieval call binding the contract method 0x91d14854.
Solidity: function hasRole(bytes32 role, address account) view returns(bool)
func (*AdminSession) ProtocolFeeRate ¶
func (_Admin *AdminSession) ProtocolFeeRate() (*big.Int, error)
ProtocolFeeRate is a free data retrieval call binding the contract method 0x58f85880.
Solidity: function protocolFeeRate() view returns(uint256)
func (*AdminSession) ProtocolFees ¶
ProtocolFees is a free data retrieval call binding the contract method 0xdcf844a7.
Solidity: function protocolFees(address ) view returns(uint256)
func (*AdminSession) RELAYERROLE ¶
func (_Admin *AdminSession) RELAYERROLE() ([32]byte, error)
RELAYERROLE is a free data retrieval call binding the contract method 0x926d7d7f.
Solidity: function RELAYER_ROLE() view returns(bytes32)
func (*AdminSession) RemoveGovernor ¶
func (_Admin *AdminSession) RemoveGovernor(_governor common.Address) (*types.Transaction, error)
RemoveGovernor is a paid mutator transaction binding the contract method 0xeecdac88.
Solidity: function removeGovernor(address _governor) returns()
func (*AdminSession) RemoveGuard ¶
func (_Admin *AdminSession) RemoveGuard(_guard common.Address) (*types.Transaction, error)
RemoveGuard is a paid mutator transaction binding the contract method 0xb6235016.
Solidity: function removeGuard(address _guard) returns()
func (*AdminSession) RemoveRelayer ¶
func (_Admin *AdminSession) RemoveRelayer(_relayer common.Address) (*types.Transaction, error)
RemoveRelayer is a paid mutator transaction binding the contract method 0x60f0a5ac.
Solidity: function removeRelayer(address _relayer) returns()
func (*AdminSession) RenounceRole ¶
func (_Admin *AdminSession) RenounceRole(role [32]byte, callerConfirmation common.Address) (*types.Transaction, error)
RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.
Solidity: function renounceRole(bytes32 role, address callerConfirmation) returns()
func (*AdminSession) RevokeRole ¶
func (_Admin *AdminSession) 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 (*AdminSession) SetChainGasAmount ¶
func (_Admin *AdminSession) SetChainGasAmount(newChainGasAmount *big.Int) (*types.Transaction, error)
SetChainGasAmount is a paid mutator transaction binding the contract method 0xb250fe6b.
Solidity: function setChainGasAmount(uint256 newChainGasAmount) returns()
func (*AdminSession) SetProtocolFeeRate ¶
func (_Admin *AdminSession) SetProtocolFeeRate(newFeeRate *big.Int) (*types.Transaction, error)
SetProtocolFeeRate is a paid mutator transaction binding the contract method 0xb13aa2d6.
Solidity: function setProtocolFeeRate(uint256 newFeeRate) returns()
func (*AdminSession) SupportsInterface ¶
func (_Admin *AdminSession) 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 (*AdminSession) SweepProtocolFees ¶
func (_Admin *AdminSession) SweepProtocolFees(token common.Address, recipient common.Address) (*types.Transaction, error)
SweepProtocolFees is a paid mutator transaction binding the contract method 0x06f333f2.
Solidity: function sweepProtocolFees(address token, address recipient) returns()
type AdminTransactor ¶
type AdminTransactor struct {
// contains filtered or unexported fields
}
AdminTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewAdminTransactor ¶
func NewAdminTransactor(address common.Address, transactor bind.ContractTransactor) (*AdminTransactor, error)
NewAdminTransactor creates a new write-only instance of Admin, bound to a specific deployed contract.
func (*AdminTransactor) AddGovernor ¶
func (_Admin *AdminTransactor) AddGovernor(opts *bind.TransactOpts, _governor common.Address) (*types.Transaction, error)
AddGovernor is a paid mutator transaction binding the contract method 0x3c4a25d0.
Solidity: function addGovernor(address _governor) returns()
func (*AdminTransactor) AddGuard ¶
func (_Admin *AdminTransactor) AddGuard(opts *bind.TransactOpts, _guard common.Address) (*types.Transaction, error)
AddGuard is a paid mutator transaction binding the contract method 0x6913a63c.
Solidity: function addGuard(address _guard) returns()
func (*AdminTransactor) AddRelayer ¶
func (_Admin *AdminTransactor) AddRelayer(opts *bind.TransactOpts, _relayer common.Address) (*types.Transaction, error)
AddRelayer is a paid mutator transaction binding the contract method 0xdd39f00d.
Solidity: function addRelayer(address _relayer) returns()
func (*AdminTransactor) GrantRole ¶
func (_Admin *AdminTransactor) 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 (*AdminTransactor) RemoveGovernor ¶
func (_Admin *AdminTransactor) RemoveGovernor(opts *bind.TransactOpts, _governor common.Address) (*types.Transaction, error)
RemoveGovernor is a paid mutator transaction binding the contract method 0xeecdac88.
Solidity: function removeGovernor(address _governor) returns()
func (*AdminTransactor) RemoveGuard ¶
func (_Admin *AdminTransactor) RemoveGuard(opts *bind.TransactOpts, _guard common.Address) (*types.Transaction, error)
RemoveGuard is a paid mutator transaction binding the contract method 0xb6235016.
Solidity: function removeGuard(address _guard) returns()
func (*AdminTransactor) RemoveRelayer ¶
func (_Admin *AdminTransactor) RemoveRelayer(opts *bind.TransactOpts, _relayer common.Address) (*types.Transaction, error)
RemoveRelayer is a paid mutator transaction binding the contract method 0x60f0a5ac.
Solidity: function removeRelayer(address _relayer) returns()
func (*AdminTransactor) RenounceRole ¶
func (_Admin *AdminTransactor) RenounceRole(opts *bind.TransactOpts, role [32]byte, callerConfirmation common.Address) (*types.Transaction, error)
RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.
Solidity: function renounceRole(bytes32 role, address callerConfirmation) returns()
func (*AdminTransactor) RevokeRole ¶
func (_Admin *AdminTransactor) 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 (*AdminTransactor) SetChainGasAmount ¶
func (_Admin *AdminTransactor) SetChainGasAmount(opts *bind.TransactOpts, newChainGasAmount *big.Int) (*types.Transaction, error)
SetChainGasAmount is a paid mutator transaction binding the contract method 0xb250fe6b.
Solidity: function setChainGasAmount(uint256 newChainGasAmount) returns()
func (*AdminTransactor) SetProtocolFeeRate ¶
func (_Admin *AdminTransactor) SetProtocolFeeRate(opts *bind.TransactOpts, newFeeRate *big.Int) (*types.Transaction, error)
SetProtocolFeeRate is a paid mutator transaction binding the contract method 0xb13aa2d6.
Solidity: function setProtocolFeeRate(uint256 newFeeRate) returns()
func (*AdminTransactor) SweepProtocolFees ¶
func (_Admin *AdminTransactor) SweepProtocolFees(opts *bind.TransactOpts, token common.Address, recipient common.Address) (*types.Transaction, error)
SweepProtocolFees is a paid mutator transaction binding the contract method 0x06f333f2.
Solidity: function sweepProtocolFees(address token, address recipient) returns()
type AdminTransactorRaw ¶
type AdminTransactorRaw struct {
Contract *AdminTransactor // Generic write-only contract binding to access the raw methods on
}
AdminTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*AdminTransactorRaw) Transact ¶
func (_Admin *AdminTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*AdminTransactorRaw) Transfer ¶
func (_Admin *AdminTransactorRaw) 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 AdminTransactorSession ¶
type AdminTransactorSession struct { Contract *AdminTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
AdminTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*AdminTransactorSession) AddGovernor ¶
func (_Admin *AdminTransactorSession) AddGovernor(_governor common.Address) (*types.Transaction, error)
AddGovernor is a paid mutator transaction binding the contract method 0x3c4a25d0.
Solidity: function addGovernor(address _governor) returns()
func (*AdminTransactorSession) AddGuard ¶
func (_Admin *AdminTransactorSession) AddGuard(_guard common.Address) (*types.Transaction, error)
AddGuard is a paid mutator transaction binding the contract method 0x6913a63c.
Solidity: function addGuard(address _guard) returns()
func (*AdminTransactorSession) AddRelayer ¶
func (_Admin *AdminTransactorSession) AddRelayer(_relayer common.Address) (*types.Transaction, error)
AddRelayer is a paid mutator transaction binding the contract method 0xdd39f00d.
Solidity: function addRelayer(address _relayer) returns()
func (*AdminTransactorSession) GrantRole ¶
func (_Admin *AdminTransactorSession) 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 (*AdminTransactorSession) RemoveGovernor ¶
func (_Admin *AdminTransactorSession) RemoveGovernor(_governor common.Address) (*types.Transaction, error)
RemoveGovernor is a paid mutator transaction binding the contract method 0xeecdac88.
Solidity: function removeGovernor(address _governor) returns()
func (*AdminTransactorSession) RemoveGuard ¶
func (_Admin *AdminTransactorSession) RemoveGuard(_guard common.Address) (*types.Transaction, error)
RemoveGuard is a paid mutator transaction binding the contract method 0xb6235016.
Solidity: function removeGuard(address _guard) returns()
func (*AdminTransactorSession) RemoveRelayer ¶
func (_Admin *AdminTransactorSession) RemoveRelayer(_relayer common.Address) (*types.Transaction, error)
RemoveRelayer is a paid mutator transaction binding the contract method 0x60f0a5ac.
Solidity: function removeRelayer(address _relayer) returns()
func (*AdminTransactorSession) RenounceRole ¶
func (_Admin *AdminTransactorSession) RenounceRole(role [32]byte, callerConfirmation common.Address) (*types.Transaction, error)
RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.
Solidity: function renounceRole(bytes32 role, address callerConfirmation) returns()
func (*AdminTransactorSession) RevokeRole ¶
func (_Admin *AdminTransactorSession) 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 (*AdminTransactorSession) SetChainGasAmount ¶
func (_Admin *AdminTransactorSession) SetChainGasAmount(newChainGasAmount *big.Int) (*types.Transaction, error)
SetChainGasAmount is a paid mutator transaction binding the contract method 0xb250fe6b.
Solidity: function setChainGasAmount(uint256 newChainGasAmount) returns()
func (*AdminTransactorSession) SetProtocolFeeRate ¶
func (_Admin *AdminTransactorSession) SetProtocolFeeRate(newFeeRate *big.Int) (*types.Transaction, error)
SetProtocolFeeRate is a paid mutator transaction binding the contract method 0xb13aa2d6.
Solidity: function setProtocolFeeRate(uint256 newFeeRate) returns()
func (*AdminTransactorSession) SweepProtocolFees ¶
func (_Admin *AdminTransactorSession) SweepProtocolFees(token common.Address, recipient common.Address) (*types.Transaction, error)
SweepProtocolFees is a paid mutator transaction binding the contract method 0x06f333f2.
Solidity: function sweepProtocolFees(address token, address recipient) returns()
type BridgeStatus ¶
type BridgeStatus uint8
BridgeStatus is an enum for the on-chain status of a request
const ( // NULL is the default value for a bridge status. NULL BridgeStatus = 0 // NULL // REQUESTED is the status for a request that has been made. REQUESTED BridgeStatus = 1 // REQUESTED // RelayerProved is the status for a request that has been proved by a relayer. RelayerProved BridgeStatus = 2 // RELAYER_PROVED // RelayerClaimed is the status for a request that has been claimed by a relayer. RelayerClaimed BridgeStatus = 3 // RELAYER_CLAIMED // REFUNDED is the status for a request that has been refunded. REFUNDED BridgeStatus = 4 // REFUNDED )
DO NOT USE IOTA! These are meant to reflect on chain statuses.
func (BridgeStatus) Int ¶
func (b BridgeStatus) Int() uint8
Int returns the int value of the bridge status.
func (BridgeStatus) String ¶
func (i BridgeStatus) String() string
type Context ¶
type Context struct { ContextCaller // Read-only binding to the contract ContextTransactor // Write-only binding to the contract ContextFilterer // Log filterer for contract events }
Context is an auto generated Go binding around an Ethereum contract.
func NewContext ¶
NewContext creates a new instance of Context, bound to a specific deployed contract.
type ContextCaller ¶
type ContextCaller struct {
// contains filtered or unexported fields
}
ContextCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewContextCaller ¶
func NewContextCaller(address common.Address, caller bind.ContractCaller) (*ContextCaller, error)
NewContextCaller creates a new read-only instance of Context, bound to a specific deployed contract.
type ContextCallerRaw ¶
type ContextCallerRaw struct {
Contract *ContextCaller // Generic read-only contract binding to access the raw methods on
}
ContextCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ContextCallerRaw) Call ¶
func (_Context *ContextCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
type ContextCallerSession ¶
type ContextCallerSession struct { Contract *ContextCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ContextCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type ContextFilterer ¶
type ContextFilterer struct {
// contains filtered or unexported fields
}
ContextFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewContextFilterer ¶
func NewContextFilterer(address common.Address, filterer bind.ContractFilterer) (*ContextFilterer, error)
NewContextFilterer creates a new log filterer instance of Context, bound to a specific deployed contract.
type ContextRaw ¶
type ContextRaw struct {
Contract *Context // Generic contract binding to access the raw methods on
}
ContextRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ContextRaw) Call ¶
func (_Context *ContextRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
func (*ContextRaw) Transact ¶
func (_Context *ContextRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ContextRaw) Transfer ¶
func (_Context *ContextRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type ContextSession ¶
type ContextSession struct { Contract *Context // Generic contract binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ContextSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type ContextTransactor ¶
type ContextTransactor struct {
// contains filtered or unexported fields
}
ContextTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewContextTransactor ¶
func NewContextTransactor(address common.Address, transactor bind.ContractTransactor) (*ContextTransactor, error)
NewContextTransactor creates a new write-only instance of Context, bound to a specific deployed contract.
type ContextTransactorRaw ¶
type ContextTransactorRaw struct {
Contract *ContextTransactor // Generic write-only contract binding to access the raw methods on
}
ContextTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ContextTransactorRaw) Transact ¶
func (_Context *ContextTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ContextTransactorRaw) Transfer ¶
func (_Context *ContextTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type ContextTransactorSession ¶
type ContextTransactorSession struct { Contract *ContextTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ContextTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type ERC165 ¶
type ERC165 struct { ERC165Caller // Read-only binding to the contract ERC165Transactor // Write-only binding to the contract ERC165Filterer // Log filterer for contract events }
ERC165 is an auto generated Go binding around an Ethereum contract.
type ERC165Caller ¶
type ERC165Caller struct {
// contains filtered or unexported fields
}
ERC165Caller is an auto generated read-only Go binding around an Ethereum contract.
func NewERC165Caller ¶
func NewERC165Caller(address common.Address, caller bind.ContractCaller) (*ERC165Caller, error)
NewERC165Caller creates a new read-only instance of ERC165, bound to a specific deployed contract.
func (*ERC165Caller) SupportsInterface ¶
func (_ERC165 *ERC165Caller) 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 ERC165CallerRaw ¶
type ERC165CallerRaw struct {
Contract *ERC165Caller // Generic read-only contract binding to access the raw methods on
}
ERC165CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ERC165CallerRaw) Call ¶
func (_ERC165 *ERC165CallerRaw) 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 ERC165CallerSession ¶
type ERC165CallerSession struct { Contract *ERC165Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ERC165CallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ERC165CallerSession) SupportsInterface ¶
func (_ERC165 *ERC165CallerSession) 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 ERC165Filterer ¶
type ERC165Filterer struct {
// contains filtered or unexported fields
}
ERC165Filterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewERC165Filterer ¶
func NewERC165Filterer(address common.Address, filterer bind.ContractFilterer) (*ERC165Filterer, error)
NewERC165Filterer creates a new log filterer instance of ERC165, bound to a specific deployed contract.
type ERC165Raw ¶
type ERC165Raw struct {
Contract *ERC165 // Generic contract binding to access the raw methods on
}
ERC165Raw is an auto generated low-level Go binding around an Ethereum contract.
func (*ERC165Raw) Call ¶
func (_ERC165 *ERC165Raw) 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 (*ERC165Raw) Transact ¶
func (_ERC165 *ERC165Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ERC165Raw) Transfer ¶
func (_ERC165 *ERC165Raw) 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 ERC165Session ¶
type ERC165Session struct { Contract *ERC165 // 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 }
ERC165Session is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ERC165Session) SupportsInterface ¶
func (_ERC165 *ERC165Session) 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 ERC165Transactor ¶
type ERC165Transactor struct {
// contains filtered or unexported fields
}
ERC165Transactor is an auto generated write-only Go binding around an Ethereum contract.
func NewERC165Transactor ¶
func NewERC165Transactor(address common.Address, transactor bind.ContractTransactor) (*ERC165Transactor, error)
NewERC165Transactor creates a new write-only instance of ERC165, bound to a specific deployed contract.
type ERC165TransactorRaw ¶
type ERC165TransactorRaw struct {
Contract *ERC165Transactor // Generic write-only contract binding to access the raw methods on
}
ERC165TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ERC165TransactorRaw) Transact ¶
func (_ERC165 *ERC165TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ERC165TransactorRaw) Transfer ¶
func (_ERC165 *ERC165TransactorRaw) 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 ERC165TransactorSession ¶
type ERC165TransactorSession struct { Contract *ERC165Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ERC165TransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type EventType ¶
type EventType uint
EventType is the type of the bridge watcher
const ( // BridgeRequestedEvent is the event type for the BridgeRequested event. BridgeRequestedEvent EventType = iota + 1 // BridgeRelayedEvent is the event type for the BridgeRelayed event. BridgeRelayedEvent // BridgeProofProvidedEvent is the event type for the BridgeProofProvided event. BridgeProofProvidedEvent // BridgeDepositClaimedEvent is the event type for the BridgeDepositClaimed event. BridgeDepositClaimedEvent )
type FastBridge ¶
type FastBridge struct { FastBridgeCaller // Read-only binding to the contract FastBridgeTransactor // Write-only binding to the contract FastBridgeFilterer // Log filterer for contract events }
FastBridge is an auto generated Go binding around an Ethereum contract.
func DeployFastBridge ¶
func DeployFastBridge(auth *bind.TransactOpts, backend bind.ContractBackend, _owner common.Address) (common.Address, *types.Transaction, *FastBridge, error)
DeployFastBridge deploys a new Ethereum contract, binding an instance of FastBridge to it.
func NewFastBridge ¶
func NewFastBridge(address common.Address, backend bind.ContractBackend) (*FastBridge, error)
NewFastBridge creates a new instance of FastBridge, bound to a specific deployed contract.
type FastBridgeBridgeDepositClaimed ¶
type FastBridgeBridgeDepositClaimed struct { TransactionId [32]byte Relayer common.Address To common.Address Token common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
FastBridgeBridgeDepositClaimed represents a BridgeDepositClaimed event raised by the FastBridge contract.
type FastBridgeBridgeDepositClaimedIterator ¶
type FastBridgeBridgeDepositClaimedIterator struct { Event *FastBridgeBridgeDepositClaimed // Event containing the contract specifics and raw log // contains filtered or unexported fields }
FastBridgeBridgeDepositClaimedIterator is returned from FilterBridgeDepositClaimed and is used to iterate over the raw logs and unpacked data for BridgeDepositClaimed events raised by the FastBridge contract.
func (*FastBridgeBridgeDepositClaimedIterator) Close ¶
func (it *FastBridgeBridgeDepositClaimedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*FastBridgeBridgeDepositClaimedIterator) Error ¶
func (it *FastBridgeBridgeDepositClaimedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*FastBridgeBridgeDepositClaimedIterator) Next ¶
func (it *FastBridgeBridgeDepositClaimedIterator) 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 FastBridgeBridgeDepositRefunded ¶
type FastBridgeBridgeDepositRefunded struct { TransactionId [32]byte To common.Address Token common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
FastBridgeBridgeDepositRefunded represents a BridgeDepositRefunded event raised by the FastBridge contract.
type FastBridgeBridgeDepositRefundedIterator ¶
type FastBridgeBridgeDepositRefundedIterator struct { Event *FastBridgeBridgeDepositRefunded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
FastBridgeBridgeDepositRefundedIterator is returned from FilterBridgeDepositRefunded and is used to iterate over the raw logs and unpacked data for BridgeDepositRefunded events raised by the FastBridge contract.
func (*FastBridgeBridgeDepositRefundedIterator) Close ¶
func (it *FastBridgeBridgeDepositRefundedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*FastBridgeBridgeDepositRefundedIterator) Error ¶
func (it *FastBridgeBridgeDepositRefundedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*FastBridgeBridgeDepositRefundedIterator) Next ¶
func (it *FastBridgeBridgeDepositRefundedIterator) 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 FastBridgeBridgeProofDisputed ¶
type FastBridgeBridgeProofDisputed struct { TransactionId [32]byte Relayer common.Address Raw types.Log // Blockchain specific contextual infos }
FastBridgeBridgeProofDisputed represents a BridgeProofDisputed event raised by the FastBridge contract.
type FastBridgeBridgeProofDisputedIterator ¶
type FastBridgeBridgeProofDisputedIterator struct { Event *FastBridgeBridgeProofDisputed // Event containing the contract specifics and raw log // contains filtered or unexported fields }
FastBridgeBridgeProofDisputedIterator is returned from FilterBridgeProofDisputed and is used to iterate over the raw logs and unpacked data for BridgeProofDisputed events raised by the FastBridge contract.
func (*FastBridgeBridgeProofDisputedIterator) Close ¶
func (it *FastBridgeBridgeProofDisputedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*FastBridgeBridgeProofDisputedIterator) Error ¶
func (it *FastBridgeBridgeProofDisputedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*FastBridgeBridgeProofDisputedIterator) Next ¶
func (it *FastBridgeBridgeProofDisputedIterator) 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 FastBridgeBridgeProofProvided ¶
type FastBridgeBridgeProofProvided struct { TransactionId [32]byte Relayer common.Address TransactionHash [32]byte Raw types.Log // Blockchain specific contextual infos }
FastBridgeBridgeProofProvided represents a BridgeProofProvided event raised by the FastBridge contract.
type FastBridgeBridgeProofProvidedIterator ¶
type FastBridgeBridgeProofProvidedIterator struct { Event *FastBridgeBridgeProofProvided // Event containing the contract specifics and raw log // contains filtered or unexported fields }
FastBridgeBridgeProofProvidedIterator is returned from FilterBridgeProofProvided and is used to iterate over the raw logs and unpacked data for BridgeProofProvided events raised by the FastBridge contract.
func (*FastBridgeBridgeProofProvidedIterator) Close ¶
func (it *FastBridgeBridgeProofProvidedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*FastBridgeBridgeProofProvidedIterator) Error ¶
func (it *FastBridgeBridgeProofProvidedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*FastBridgeBridgeProofProvidedIterator) Next ¶
func (it *FastBridgeBridgeProofProvidedIterator) 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 FastBridgeBridgeRelayed ¶
type FastBridgeBridgeRelayed struct { TransactionId [32]byte Relayer common.Address To common.Address Token common.Address Amount *big.Int ChainGasAmount *big.Int Raw types.Log // Blockchain specific contextual infos }
FastBridgeBridgeRelayed represents a BridgeRelayed event raised by the FastBridge contract.
type FastBridgeBridgeRelayedIterator ¶
type FastBridgeBridgeRelayedIterator struct { Event *FastBridgeBridgeRelayed // Event containing the contract specifics and raw log // contains filtered or unexported fields }
FastBridgeBridgeRelayedIterator is returned from FilterBridgeRelayed and is used to iterate over the raw logs and unpacked data for BridgeRelayed events raised by the FastBridge contract.
func (*FastBridgeBridgeRelayedIterator) Close ¶
func (it *FastBridgeBridgeRelayedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*FastBridgeBridgeRelayedIterator) Error ¶
func (it *FastBridgeBridgeRelayedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*FastBridgeBridgeRelayedIterator) Next ¶
func (it *FastBridgeBridgeRelayedIterator) 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 FastBridgeBridgeRequested ¶
type FastBridgeBridgeRequested struct { TransactionId [32]byte Sender common.Address Request []byte Raw types.Log // Blockchain specific contextual infos }
FastBridgeBridgeRequested represents a BridgeRequested event raised by the FastBridge contract.
type FastBridgeBridgeRequestedIterator ¶
type FastBridgeBridgeRequestedIterator struct { Event *FastBridgeBridgeRequested // Event containing the contract specifics and raw log // contains filtered or unexported fields }
FastBridgeBridgeRequestedIterator is returned from FilterBridgeRequested and is used to iterate over the raw logs and unpacked data for BridgeRequested events raised by the FastBridge contract.
func (*FastBridgeBridgeRequestedIterator) Close ¶
func (it *FastBridgeBridgeRequestedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*FastBridgeBridgeRequestedIterator) Error ¶
func (it *FastBridgeBridgeRequestedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*FastBridgeBridgeRequestedIterator) Next ¶
func (it *FastBridgeBridgeRequestedIterator) 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 FastBridgeCaller ¶
type FastBridgeCaller struct {
// contains filtered or unexported fields
}
FastBridgeCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewFastBridgeCaller ¶
func NewFastBridgeCaller(address common.Address, caller bind.ContractCaller) (*FastBridgeCaller, error)
NewFastBridgeCaller creates a new read-only instance of FastBridge, bound to a specific deployed contract.
func (*FastBridgeCaller) BridgeProofs ¶
func (_FastBridge *FastBridgeCaller) BridgeProofs(opts *bind.CallOpts, arg0 [32]byte) (struct { Timestamp *big.Int Relayer common.Address }, error)
BridgeProofs is a free data retrieval call binding the contract method 0x91ad5039.
Solidity: function bridgeProofs(bytes32 ) view returns(uint96 timestamp, address relayer)
func (*FastBridgeCaller) BridgeRelays ¶
BridgeRelays is a free data retrieval call binding the contract method 0x8379a24f.
Solidity: function bridgeRelays(bytes32 ) view returns(bool)
func (*FastBridgeCaller) BridgeStatuses ¶
func (_FastBridge *FastBridgeCaller) BridgeStatuses(opts *bind.CallOpts, arg0 [32]byte) (uint8, error)
BridgeStatuses is a free data retrieval call binding the contract method 0x051287bc.
Solidity: function bridgeStatuses(bytes32 ) view returns(uint8)
func (*FastBridgeCaller) CanClaim ¶
func (_FastBridge *FastBridgeCaller) CanClaim(opts *bind.CallOpts, transactionId [32]byte, relayer common.Address) (bool, error)
CanClaim is a free data retrieval call binding the contract method 0xaa9641ab.
Solidity: function canClaim(bytes32 transactionId, address relayer) view returns(bool)
func (*FastBridgeCaller) ChainGasAmount ¶
ChainGasAmount is a free data retrieval call binding the contract method 0xe00a83e0.
Solidity: function chainGasAmount() view returns(uint256)
func (*FastBridgeCaller) DEFAULTADMINROLE ¶
func (_FastBridge *FastBridgeCaller) 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 (*FastBridgeCaller) DISPUTEPERIOD ¶
DISPUTEPERIOD is a free data retrieval call binding the contract method 0xa5bbe22b.
Solidity: function DISPUTE_PERIOD() view returns(uint256)
func (*FastBridgeCaller) DeployBlock ¶
DeployBlock is a free data retrieval call binding the contract method 0xa3ec191a.
Solidity: function deployBlock() view returns(uint256)
func (*FastBridgeCaller) FEEBPS ¶
FEEBPS is a free data retrieval call binding the contract method 0xbf333f2c.
Solidity: function FEE_BPS() view returns(uint256)
func (*FastBridgeCaller) FEERATEMAX ¶
FEERATEMAX is a free data retrieval call binding the contract method 0x0f5f6ed7.
Solidity: function FEE_RATE_MAX() view returns(uint256)
func (*FastBridgeCaller) GOVERNORROLE ¶
func (_FastBridge *FastBridgeCaller) GOVERNORROLE(opts *bind.CallOpts) ([32]byte, error)
GOVERNORROLE is a free data retrieval call binding the contract method 0xccc57490.
Solidity: function GOVERNOR_ROLE() view returns(bytes32)
func (*FastBridgeCaller) GUARDROLE ¶
func (_FastBridge *FastBridgeCaller) GUARDROLE(opts *bind.CallOpts) ([32]byte, error)
GUARDROLE is a free data retrieval call binding the contract method 0x03ed0ee5.
Solidity: function GUARD_ROLE() view returns(bytes32)
func (*FastBridgeCaller) GetBridgeTransaction ¶
func (_FastBridge *FastBridgeCaller) GetBridgeTransaction(opts *bind.CallOpts, request []byte) (IFastBridgeBridgeTransaction, error)
GetBridgeTransaction is a free data retrieval call binding the contract method 0xac11fb1a.
Solidity: function getBridgeTransaction(bytes request) pure returns((uint32,uint32,address,address,address,address,uint256,uint256,uint256,bool,uint256,uint256))
func (*FastBridgeCaller) GetRoleAdmin ¶
func (_FastBridge *FastBridgeCaller) 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 (*FastBridgeCaller) HasRole ¶
func (_FastBridge *FastBridgeCaller) 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 (*FastBridgeCaller) MINDEADLINEPERIOD ¶
MINDEADLINEPERIOD is a free data retrieval call binding the contract method 0x820688d5.
Solidity: function MIN_DEADLINE_PERIOD() view returns(uint256)
func (*FastBridgeCaller) Nonce ¶
Nonce is a free data retrieval call binding the contract method 0xaffed0e0.
Solidity: function nonce() view returns(uint256)
func (*FastBridgeCaller) ProtocolFeeRate ¶
ProtocolFeeRate is a free data retrieval call binding the contract method 0x58f85880.
Solidity: function protocolFeeRate() view returns(uint256)
func (*FastBridgeCaller) ProtocolFees ¶
func (_FastBridge *FastBridgeCaller) ProtocolFees(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
ProtocolFees is a free data retrieval call binding the contract method 0xdcf844a7.
Solidity: function protocolFees(address ) view returns(uint256)
func (*FastBridgeCaller) RELAYERROLE ¶
func (_FastBridge *FastBridgeCaller) RELAYERROLE(opts *bind.CallOpts) ([32]byte, error)
RELAYERROLE is a free data retrieval call binding the contract method 0x926d7d7f.
Solidity: function RELAYER_ROLE() view returns(bytes32)
func (*FastBridgeCaller) SupportsInterface ¶
func (_FastBridge *FastBridgeCaller) 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 FastBridgeCallerRaw ¶
type FastBridgeCallerRaw struct {
Contract *FastBridgeCaller // Generic read-only contract binding to access the raw methods on
}
FastBridgeCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*FastBridgeCallerRaw) Call ¶
func (_FastBridge *FastBridgeCallerRaw) 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 FastBridgeCallerSession ¶
type FastBridgeCallerSession struct { Contract *FastBridgeCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
FastBridgeCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*FastBridgeCallerSession) BridgeProofs ¶
func (_FastBridge *FastBridgeCallerSession) BridgeProofs(arg0 [32]byte) (struct { Timestamp *big.Int Relayer common.Address }, error)
BridgeProofs is a free data retrieval call binding the contract method 0x91ad5039.
Solidity: function bridgeProofs(bytes32 ) view returns(uint96 timestamp, address relayer)
func (*FastBridgeCallerSession) BridgeRelays ¶
func (_FastBridge *FastBridgeCallerSession) BridgeRelays(arg0 [32]byte) (bool, error)
BridgeRelays is a free data retrieval call binding the contract method 0x8379a24f.
Solidity: function bridgeRelays(bytes32 ) view returns(bool)
func (*FastBridgeCallerSession) BridgeStatuses ¶
func (_FastBridge *FastBridgeCallerSession) BridgeStatuses(arg0 [32]byte) (uint8, error)
BridgeStatuses is a free data retrieval call binding the contract method 0x051287bc.
Solidity: function bridgeStatuses(bytes32 ) view returns(uint8)
func (*FastBridgeCallerSession) CanClaim ¶
func (_FastBridge *FastBridgeCallerSession) CanClaim(transactionId [32]byte, relayer common.Address) (bool, error)
CanClaim is a free data retrieval call binding the contract method 0xaa9641ab.
Solidity: function canClaim(bytes32 transactionId, address relayer) view returns(bool)
func (*FastBridgeCallerSession) ChainGasAmount ¶
func (_FastBridge *FastBridgeCallerSession) ChainGasAmount() (*big.Int, error)
ChainGasAmount is a free data retrieval call binding the contract method 0xe00a83e0.
Solidity: function chainGasAmount() view returns(uint256)
func (*FastBridgeCallerSession) DEFAULTADMINROLE ¶
func (_FastBridge *FastBridgeCallerSession) 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 (*FastBridgeCallerSession) DISPUTEPERIOD ¶
func (_FastBridge *FastBridgeCallerSession) DISPUTEPERIOD() (*big.Int, error)
DISPUTEPERIOD is a free data retrieval call binding the contract method 0xa5bbe22b.
Solidity: function DISPUTE_PERIOD() view returns(uint256)
func (*FastBridgeCallerSession) DeployBlock ¶
func (_FastBridge *FastBridgeCallerSession) DeployBlock() (*big.Int, error)
DeployBlock is a free data retrieval call binding the contract method 0xa3ec191a.
Solidity: function deployBlock() view returns(uint256)
func (*FastBridgeCallerSession) FEEBPS ¶
func (_FastBridge *FastBridgeCallerSession) FEEBPS() (*big.Int, error)
FEEBPS is a free data retrieval call binding the contract method 0xbf333f2c.
Solidity: function FEE_BPS() view returns(uint256)
func (*FastBridgeCallerSession) FEERATEMAX ¶
func (_FastBridge *FastBridgeCallerSession) FEERATEMAX() (*big.Int, error)
FEERATEMAX is a free data retrieval call binding the contract method 0x0f5f6ed7.
Solidity: function FEE_RATE_MAX() view returns(uint256)
func (*FastBridgeCallerSession) GOVERNORROLE ¶
func (_FastBridge *FastBridgeCallerSession) GOVERNORROLE() ([32]byte, error)
GOVERNORROLE is a free data retrieval call binding the contract method 0xccc57490.
Solidity: function GOVERNOR_ROLE() view returns(bytes32)
func (*FastBridgeCallerSession) GUARDROLE ¶
func (_FastBridge *FastBridgeCallerSession) GUARDROLE() ([32]byte, error)
GUARDROLE is a free data retrieval call binding the contract method 0x03ed0ee5.
Solidity: function GUARD_ROLE() view returns(bytes32)
func (*FastBridgeCallerSession) GetBridgeTransaction ¶
func (_FastBridge *FastBridgeCallerSession) GetBridgeTransaction(request []byte) (IFastBridgeBridgeTransaction, error)
GetBridgeTransaction is a free data retrieval call binding the contract method 0xac11fb1a.
Solidity: function getBridgeTransaction(bytes request) pure returns((uint32,uint32,address,address,address,address,uint256,uint256,uint256,bool,uint256,uint256))
func (*FastBridgeCallerSession) GetRoleAdmin ¶
func (_FastBridge *FastBridgeCallerSession) 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 (*FastBridgeCallerSession) HasRole ¶
func (_FastBridge *FastBridgeCallerSession) 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 (*FastBridgeCallerSession) MINDEADLINEPERIOD ¶
func (_FastBridge *FastBridgeCallerSession) MINDEADLINEPERIOD() (*big.Int, error)
MINDEADLINEPERIOD is a free data retrieval call binding the contract method 0x820688d5.
Solidity: function MIN_DEADLINE_PERIOD() view returns(uint256)
func (*FastBridgeCallerSession) Nonce ¶
func (_FastBridge *FastBridgeCallerSession) Nonce() (*big.Int, error)
Nonce is a free data retrieval call binding the contract method 0xaffed0e0.
Solidity: function nonce() view returns(uint256)
func (*FastBridgeCallerSession) ProtocolFeeRate ¶
func (_FastBridge *FastBridgeCallerSession) ProtocolFeeRate() (*big.Int, error)
ProtocolFeeRate is a free data retrieval call binding the contract method 0x58f85880.
Solidity: function protocolFeeRate() view returns(uint256)
func (*FastBridgeCallerSession) ProtocolFees ¶
ProtocolFees is a free data retrieval call binding the contract method 0xdcf844a7.
Solidity: function protocolFees(address ) view returns(uint256)
func (*FastBridgeCallerSession) RELAYERROLE ¶
func (_FastBridge *FastBridgeCallerSession) RELAYERROLE() ([32]byte, error)
RELAYERROLE is a free data retrieval call binding the contract method 0x926d7d7f.
Solidity: function RELAYER_ROLE() view returns(bytes32)
func (*FastBridgeCallerSession) SupportsInterface ¶
func (_FastBridge *FastBridgeCallerSession) 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 FastBridgeChainGasAmountUpdated ¶
type FastBridgeChainGasAmountUpdated struct { OldChainGasAmount *big.Int NewChainGasAmount *big.Int Raw types.Log // Blockchain specific contextual infos }
FastBridgeChainGasAmountUpdated represents a ChainGasAmountUpdated event raised by the FastBridge contract.
type FastBridgeChainGasAmountUpdatedIterator ¶
type FastBridgeChainGasAmountUpdatedIterator struct { Event *FastBridgeChainGasAmountUpdated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
FastBridgeChainGasAmountUpdatedIterator is returned from FilterChainGasAmountUpdated and is used to iterate over the raw logs and unpacked data for ChainGasAmountUpdated events raised by the FastBridge contract.
func (*FastBridgeChainGasAmountUpdatedIterator) Close ¶
func (it *FastBridgeChainGasAmountUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*FastBridgeChainGasAmountUpdatedIterator) Error ¶
func (it *FastBridgeChainGasAmountUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*FastBridgeChainGasAmountUpdatedIterator) Next ¶
func (it *FastBridgeChainGasAmountUpdatedIterator) 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 FastBridgeFeeRateUpdated ¶
type FastBridgeFeeRateUpdated struct { OldFeeRate *big.Int NewFeeRate *big.Int Raw types.Log // Blockchain specific contextual infos }
FastBridgeFeeRateUpdated represents a FeeRateUpdated event raised by the FastBridge contract.
type FastBridgeFeeRateUpdatedIterator ¶
type FastBridgeFeeRateUpdatedIterator struct { Event *FastBridgeFeeRateUpdated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
FastBridgeFeeRateUpdatedIterator is returned from FilterFeeRateUpdated and is used to iterate over the raw logs and unpacked data for FeeRateUpdated events raised by the FastBridge contract.
func (*FastBridgeFeeRateUpdatedIterator) Close ¶
func (it *FastBridgeFeeRateUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*FastBridgeFeeRateUpdatedIterator) Error ¶
func (it *FastBridgeFeeRateUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*FastBridgeFeeRateUpdatedIterator) Next ¶
func (it *FastBridgeFeeRateUpdatedIterator) 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 FastBridgeFeesSwept ¶
type FastBridgeFeesSwept struct { Token common.Address Recipient common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
FastBridgeFeesSwept represents a FeesSwept event raised by the FastBridge contract.
type FastBridgeFeesSweptIterator ¶
type FastBridgeFeesSweptIterator struct { Event *FastBridgeFeesSwept // Event containing the contract specifics and raw log // contains filtered or unexported fields }
FastBridgeFeesSweptIterator is returned from FilterFeesSwept and is used to iterate over the raw logs and unpacked data for FeesSwept events raised by the FastBridge contract.
func (*FastBridgeFeesSweptIterator) Close ¶
func (it *FastBridgeFeesSweptIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*FastBridgeFeesSweptIterator) Error ¶
func (it *FastBridgeFeesSweptIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*FastBridgeFeesSweptIterator) Next ¶
func (it *FastBridgeFeesSweptIterator) 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 FastBridgeFilterer ¶
type FastBridgeFilterer struct {
// contains filtered or unexported fields
}
FastBridgeFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewFastBridgeFilterer ¶
func NewFastBridgeFilterer(address common.Address, filterer bind.ContractFilterer) (*FastBridgeFilterer, error)
NewFastBridgeFilterer creates a new log filterer instance of FastBridge, bound to a specific deployed contract.
func (*FastBridgeFilterer) FilterBridgeDepositClaimed ¶
func (_FastBridge *FastBridgeFilterer) FilterBridgeDepositClaimed(opts *bind.FilterOpts) (*FastBridgeBridgeDepositClaimedIterator, error)
FilterBridgeDepositClaimed is a free log retrieval operation binding the contract event 0x582211c35a2139ac3bbaac74663c6a1f56c6cbb658b41fe11fd45a82074ac678.
Solidity: event BridgeDepositClaimed(bytes32 transactionId, address relayer, address to, address token, uint256 amount)
func (*FastBridgeFilterer) FilterBridgeDepositRefunded ¶
func (_FastBridge *FastBridgeFilterer) FilterBridgeDepositRefunded(opts *bind.FilterOpts) (*FastBridgeBridgeDepositRefundedIterator, error)
FilterBridgeDepositRefunded is a free log retrieval operation binding the contract event 0xb4c55c0c9bc613519b920e88748090150b890a875d307f21bea7d4fb2e8bc958.
Solidity: event BridgeDepositRefunded(bytes32 transactionId, address to, address token, uint256 amount)
func (*FastBridgeFilterer) FilterBridgeProofDisputed ¶
func (_FastBridge *FastBridgeFilterer) FilterBridgeProofDisputed(opts *bind.FilterOpts) (*FastBridgeBridgeProofDisputedIterator, error)
FilterBridgeProofDisputed is a free log retrieval operation binding the contract event 0x0695cf1d39b3055dcd0fe02d8b47eaf0d5a13e1996de925de59d0ef9b7f7fad4.
Solidity: event BridgeProofDisputed(bytes32 transactionId, address relayer)
func (*FastBridgeFilterer) FilterBridgeProofProvided ¶
func (_FastBridge *FastBridgeFilterer) FilterBridgeProofProvided(opts *bind.FilterOpts) (*FastBridgeBridgeProofProvidedIterator, error)
FilterBridgeProofProvided is a free log retrieval operation binding the contract event 0x4ac8af8a2cd87193d64dfc7a3b8d9923b714ec528b18725d080aa1299be0c5e4.
Solidity: event BridgeProofProvided(bytes32 transactionId, address relayer, bytes32 transactionHash)
func (*FastBridgeFilterer) FilterBridgeRelayed ¶
func (_FastBridge *FastBridgeFilterer) FilterBridgeRelayed(opts *bind.FilterOpts) (*FastBridgeBridgeRelayedIterator, error)
FilterBridgeRelayed is a free log retrieval operation binding the contract event 0xf5d0e166883753ed3b66d60c893dda5f6760044b7bba1317907a9385c6620f9b.
Solidity: event BridgeRelayed(bytes32 transactionId, address relayer, address to, address token, uint256 amount, uint256 chainGasAmount)
func (*FastBridgeFilterer) FilterBridgeRequested ¶
func (_FastBridge *FastBridgeFilterer) FilterBridgeRequested(opts *bind.FilterOpts) (*FastBridgeBridgeRequestedIterator, error)
FilterBridgeRequested is a free log retrieval operation binding the contract event 0x2a8233b619c9d479346e133f609855c0a94d89fbcfa62f846a9f0cfdd1198ccf.
Solidity: event BridgeRequested(bytes32 transactionId, address sender, bytes request)
func (*FastBridgeFilterer) FilterChainGasAmountUpdated ¶
func (_FastBridge *FastBridgeFilterer) FilterChainGasAmountUpdated(opts *bind.FilterOpts) (*FastBridgeChainGasAmountUpdatedIterator, error)
FilterChainGasAmountUpdated is a free log retrieval operation binding the contract event 0x5cf09b12f3f56b4c564d51b25b40360af6d795198adb61ae0806a36c294323fa.
Solidity: event ChainGasAmountUpdated(uint256 oldChainGasAmount, uint256 newChainGasAmount)
func (*FastBridgeFilterer) FilterFeeRateUpdated ¶
func (_FastBridge *FastBridgeFilterer) FilterFeeRateUpdated(opts *bind.FilterOpts) (*FastBridgeFeeRateUpdatedIterator, error)
FilterFeeRateUpdated is a free log retrieval operation binding the contract event 0x14914da2bf76024616fbe1859783fcd4dbddcb179b1f3a854949fbf920dcb957.
Solidity: event FeeRateUpdated(uint256 oldFeeRate, uint256 newFeeRate)
func (*FastBridgeFilterer) FilterFeesSwept ¶
func (_FastBridge *FastBridgeFilterer) FilterFeesSwept(opts *bind.FilterOpts) (*FastBridgeFeesSweptIterator, error)
FilterFeesSwept is a free log retrieval operation binding the contract event 0x244e51bc38c1452fa8aaf487bcb4bca36c2baa3a5fbdb776b1eabd8dc6d277cd.
Solidity: event FeesSwept(address token, address recipient, uint256 amount)
func (*FastBridgeFilterer) FilterGovernorAdded ¶
func (_FastBridge *FastBridgeFilterer) FilterGovernorAdded(opts *bind.FilterOpts) (*FastBridgeGovernorAddedIterator, error)
FilterGovernorAdded is a free log retrieval operation binding the contract event 0xdc5a48d79e2e147530ff63ecdbed5a5a66adb9d5cf339384d5d076da197c40b5.
Solidity: event GovernorAdded(address governor)
func (*FastBridgeFilterer) FilterGovernorRemoved ¶
func (_FastBridge *FastBridgeFilterer) FilterGovernorRemoved(opts *bind.FilterOpts) (*FastBridgeGovernorRemovedIterator, error)
FilterGovernorRemoved is a free log retrieval operation binding the contract event 0x1ebe834e73d60a5fec822c1e1727d34bc79f2ad977ed504581cc1822fe20fb5b.
Solidity: event GovernorRemoved(address governor)
func (*FastBridgeFilterer) FilterGuardAdded ¶
func (_FastBridge *FastBridgeFilterer) FilterGuardAdded(opts *bind.FilterOpts) (*FastBridgeGuardAddedIterator, error)
FilterGuardAdded is a free log retrieval operation binding the contract event 0x93405f05cd04f0d1bd875f2de00f1f3890484ffd0589248953bdfd29ba7f2f59.
Solidity: event GuardAdded(address guard)
func (*FastBridgeFilterer) FilterGuardRemoved ¶
func (_FastBridge *FastBridgeFilterer) FilterGuardRemoved(opts *bind.FilterOpts) (*FastBridgeGuardRemovedIterator, error)
FilterGuardRemoved is a free log retrieval operation binding the contract event 0x59926e0a78d12238b668b31c8e3f6ece235a59a00ede111d883e255b68c4d048.
Solidity: event GuardRemoved(address guard)
func (*FastBridgeFilterer) FilterRelayerAdded ¶
func (_FastBridge *FastBridgeFilterer) FilterRelayerAdded(opts *bind.FilterOpts) (*FastBridgeRelayerAddedIterator, error)
FilterRelayerAdded is a free log retrieval operation binding the contract event 0x03580ee9f53a62b7cb409a2cb56f9be87747dd15017afc5cef6eef321e4fb2c5.
Solidity: event RelayerAdded(address relayer)
func (*FastBridgeFilterer) FilterRelayerRemoved ¶
func (_FastBridge *FastBridgeFilterer) FilterRelayerRemoved(opts *bind.FilterOpts) (*FastBridgeRelayerRemovedIterator, error)
FilterRelayerRemoved is a free log retrieval operation binding the contract event 0x10e1f7ce9fd7d1b90a66d13a2ab3cb8dd7f29f3f8d520b143b063ccfbab6906b.
Solidity: event RelayerRemoved(address relayer)
func (*FastBridgeFilterer) FilterRoleAdminChanged ¶
func (_FastBridge *FastBridgeFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (*FastBridgeRoleAdminChangedIterator, 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 (*FastBridgeFilterer) FilterRoleGranted ¶
func (_FastBridge *FastBridgeFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*FastBridgeRoleGrantedIterator, 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 (*FastBridgeFilterer) FilterRoleRevoked ¶
func (_FastBridge *FastBridgeFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*FastBridgeRoleRevokedIterator, 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 (*FastBridgeFilterer) ParseBridgeDepositClaimed ¶
func (_FastBridge *FastBridgeFilterer) ParseBridgeDepositClaimed(log types.Log) (*FastBridgeBridgeDepositClaimed, error)
ParseBridgeDepositClaimed is a log parse operation binding the contract event 0x582211c35a2139ac3bbaac74663c6a1f56c6cbb658b41fe11fd45a82074ac678.
Solidity: event BridgeDepositClaimed(bytes32 transactionId, address relayer, address to, address token, uint256 amount)
func (*FastBridgeFilterer) ParseBridgeDepositRefunded ¶
func (_FastBridge *FastBridgeFilterer) ParseBridgeDepositRefunded(log types.Log) (*FastBridgeBridgeDepositRefunded, error)
ParseBridgeDepositRefunded is a log parse operation binding the contract event 0xb4c55c0c9bc613519b920e88748090150b890a875d307f21bea7d4fb2e8bc958.
Solidity: event BridgeDepositRefunded(bytes32 transactionId, address to, address token, uint256 amount)
func (*FastBridgeFilterer) ParseBridgeProofDisputed ¶
func (_FastBridge *FastBridgeFilterer) ParseBridgeProofDisputed(log types.Log) (*FastBridgeBridgeProofDisputed, error)
ParseBridgeProofDisputed is a log parse operation binding the contract event 0x0695cf1d39b3055dcd0fe02d8b47eaf0d5a13e1996de925de59d0ef9b7f7fad4.
Solidity: event BridgeProofDisputed(bytes32 transactionId, address relayer)
func (*FastBridgeFilterer) ParseBridgeProofProvided ¶
func (_FastBridge *FastBridgeFilterer) ParseBridgeProofProvided(log types.Log) (*FastBridgeBridgeProofProvided, error)
ParseBridgeProofProvided is a log parse operation binding the contract event 0x4ac8af8a2cd87193d64dfc7a3b8d9923b714ec528b18725d080aa1299be0c5e4.
Solidity: event BridgeProofProvided(bytes32 transactionId, address relayer, bytes32 transactionHash)
func (*FastBridgeFilterer) ParseBridgeRelayed ¶
func (_FastBridge *FastBridgeFilterer) ParseBridgeRelayed(log types.Log) (*FastBridgeBridgeRelayed, error)
ParseBridgeRelayed is a log parse operation binding the contract event 0xf5d0e166883753ed3b66d60c893dda5f6760044b7bba1317907a9385c6620f9b.
Solidity: event BridgeRelayed(bytes32 transactionId, address relayer, address to, address token, uint256 amount, uint256 chainGasAmount)
func (*FastBridgeFilterer) ParseBridgeRequested ¶
func (_FastBridge *FastBridgeFilterer) ParseBridgeRequested(log types.Log) (*FastBridgeBridgeRequested, error)
ParseBridgeRequested is a log parse operation binding the contract event 0x2a8233b619c9d479346e133f609855c0a94d89fbcfa62f846a9f0cfdd1198ccf.
Solidity: event BridgeRequested(bytes32 transactionId, address sender, bytes request)
func (*FastBridgeFilterer) ParseChainGasAmountUpdated ¶
func (_FastBridge *FastBridgeFilterer) ParseChainGasAmountUpdated(log types.Log) (*FastBridgeChainGasAmountUpdated, error)
ParseChainGasAmountUpdated is a log parse operation binding the contract event 0x5cf09b12f3f56b4c564d51b25b40360af6d795198adb61ae0806a36c294323fa.
Solidity: event ChainGasAmountUpdated(uint256 oldChainGasAmount, uint256 newChainGasAmount)
func (*FastBridgeFilterer) ParseFeeRateUpdated ¶
func (_FastBridge *FastBridgeFilterer) ParseFeeRateUpdated(log types.Log) (*FastBridgeFeeRateUpdated, error)
ParseFeeRateUpdated is a log parse operation binding the contract event 0x14914da2bf76024616fbe1859783fcd4dbddcb179b1f3a854949fbf920dcb957.
Solidity: event FeeRateUpdated(uint256 oldFeeRate, uint256 newFeeRate)
func (*FastBridgeFilterer) ParseFeesSwept ¶
func (_FastBridge *FastBridgeFilterer) ParseFeesSwept(log types.Log) (*FastBridgeFeesSwept, error)
ParseFeesSwept is a log parse operation binding the contract event 0x244e51bc38c1452fa8aaf487bcb4bca36c2baa3a5fbdb776b1eabd8dc6d277cd.
Solidity: event FeesSwept(address token, address recipient, uint256 amount)
func (*FastBridgeFilterer) ParseGovernorAdded ¶
func (_FastBridge *FastBridgeFilterer) ParseGovernorAdded(log types.Log) (*FastBridgeGovernorAdded, error)
ParseGovernorAdded is a log parse operation binding the contract event 0xdc5a48d79e2e147530ff63ecdbed5a5a66adb9d5cf339384d5d076da197c40b5.
Solidity: event GovernorAdded(address governor)
func (*FastBridgeFilterer) ParseGovernorRemoved ¶
func (_FastBridge *FastBridgeFilterer) ParseGovernorRemoved(log types.Log) (*FastBridgeGovernorRemoved, error)
ParseGovernorRemoved is a log parse operation binding the contract event 0x1ebe834e73d60a5fec822c1e1727d34bc79f2ad977ed504581cc1822fe20fb5b.
Solidity: event GovernorRemoved(address governor)
func (*FastBridgeFilterer) ParseGuardAdded ¶
func (_FastBridge *FastBridgeFilterer) ParseGuardAdded(log types.Log) (*FastBridgeGuardAdded, error)
ParseGuardAdded is a log parse operation binding the contract event 0x93405f05cd04f0d1bd875f2de00f1f3890484ffd0589248953bdfd29ba7f2f59.
Solidity: event GuardAdded(address guard)
func (*FastBridgeFilterer) ParseGuardRemoved ¶
func (_FastBridge *FastBridgeFilterer) ParseGuardRemoved(log types.Log) (*FastBridgeGuardRemoved, error)
ParseGuardRemoved is a log parse operation binding the contract event 0x59926e0a78d12238b668b31c8e3f6ece235a59a00ede111d883e255b68c4d048.
Solidity: event GuardRemoved(address guard)
func (*FastBridgeFilterer) ParseRelayerAdded ¶
func (_FastBridge *FastBridgeFilterer) ParseRelayerAdded(log types.Log) (*FastBridgeRelayerAdded, error)
ParseRelayerAdded is a log parse operation binding the contract event 0x03580ee9f53a62b7cb409a2cb56f9be87747dd15017afc5cef6eef321e4fb2c5.
Solidity: event RelayerAdded(address relayer)
func (*FastBridgeFilterer) ParseRelayerRemoved ¶
func (_FastBridge *FastBridgeFilterer) ParseRelayerRemoved(log types.Log) (*FastBridgeRelayerRemoved, error)
ParseRelayerRemoved is a log parse operation binding the contract event 0x10e1f7ce9fd7d1b90a66d13a2ab3cb8dd7f29f3f8d520b143b063ccfbab6906b.
Solidity: event RelayerRemoved(address relayer)
func (*FastBridgeFilterer) ParseRoleAdminChanged ¶
func (_FastBridge *FastBridgeFilterer) ParseRoleAdminChanged(log types.Log) (*FastBridgeRoleAdminChanged, 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 (*FastBridgeFilterer) ParseRoleGranted ¶
func (_FastBridge *FastBridgeFilterer) ParseRoleGranted(log types.Log) (*FastBridgeRoleGranted, 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 (*FastBridgeFilterer) ParseRoleRevoked ¶
func (_FastBridge *FastBridgeFilterer) ParseRoleRevoked(log types.Log) (*FastBridgeRoleRevoked, 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 (*FastBridgeFilterer) WatchBridgeDepositClaimed ¶
func (_FastBridge *FastBridgeFilterer) WatchBridgeDepositClaimed(opts *bind.WatchOpts, sink chan<- *FastBridgeBridgeDepositClaimed) (event.Subscription, error)
WatchBridgeDepositClaimed is a free log subscription operation binding the contract event 0x582211c35a2139ac3bbaac74663c6a1f56c6cbb658b41fe11fd45a82074ac678.
Solidity: event BridgeDepositClaimed(bytes32 transactionId, address relayer, address to, address token, uint256 amount)
func (*FastBridgeFilterer) WatchBridgeDepositRefunded ¶
func (_FastBridge *FastBridgeFilterer) WatchBridgeDepositRefunded(opts *bind.WatchOpts, sink chan<- *FastBridgeBridgeDepositRefunded) (event.Subscription, error)
WatchBridgeDepositRefunded is a free log subscription operation binding the contract event 0xb4c55c0c9bc613519b920e88748090150b890a875d307f21bea7d4fb2e8bc958.
Solidity: event BridgeDepositRefunded(bytes32 transactionId, address to, address token, uint256 amount)
func (*FastBridgeFilterer) WatchBridgeProofDisputed ¶
func (_FastBridge *FastBridgeFilterer) WatchBridgeProofDisputed(opts *bind.WatchOpts, sink chan<- *FastBridgeBridgeProofDisputed) (event.Subscription, error)
WatchBridgeProofDisputed is a free log subscription operation binding the contract event 0x0695cf1d39b3055dcd0fe02d8b47eaf0d5a13e1996de925de59d0ef9b7f7fad4.
Solidity: event BridgeProofDisputed(bytes32 transactionId, address relayer)
func (*FastBridgeFilterer) WatchBridgeProofProvided ¶
func (_FastBridge *FastBridgeFilterer) WatchBridgeProofProvided(opts *bind.WatchOpts, sink chan<- *FastBridgeBridgeProofProvided) (event.Subscription, error)
WatchBridgeProofProvided is a free log subscription operation binding the contract event 0x4ac8af8a2cd87193d64dfc7a3b8d9923b714ec528b18725d080aa1299be0c5e4.
Solidity: event BridgeProofProvided(bytes32 transactionId, address relayer, bytes32 transactionHash)
func (*FastBridgeFilterer) WatchBridgeRelayed ¶
func (_FastBridge *FastBridgeFilterer) WatchBridgeRelayed(opts *bind.WatchOpts, sink chan<- *FastBridgeBridgeRelayed) (event.Subscription, error)
WatchBridgeRelayed is a free log subscription operation binding the contract event 0xf5d0e166883753ed3b66d60c893dda5f6760044b7bba1317907a9385c6620f9b.
Solidity: event BridgeRelayed(bytes32 transactionId, address relayer, address to, address token, uint256 amount, uint256 chainGasAmount)
func (*FastBridgeFilterer) WatchBridgeRequested ¶
func (_FastBridge *FastBridgeFilterer) WatchBridgeRequested(opts *bind.WatchOpts, sink chan<- *FastBridgeBridgeRequested) (event.Subscription, error)
WatchBridgeRequested is a free log subscription operation binding the contract event 0x2a8233b619c9d479346e133f609855c0a94d89fbcfa62f846a9f0cfdd1198ccf.
Solidity: event BridgeRequested(bytes32 transactionId, address sender, bytes request)
func (*FastBridgeFilterer) WatchChainGasAmountUpdated ¶
func (_FastBridge *FastBridgeFilterer) WatchChainGasAmountUpdated(opts *bind.WatchOpts, sink chan<- *FastBridgeChainGasAmountUpdated) (event.Subscription, error)
WatchChainGasAmountUpdated is a free log subscription operation binding the contract event 0x5cf09b12f3f56b4c564d51b25b40360af6d795198adb61ae0806a36c294323fa.
Solidity: event ChainGasAmountUpdated(uint256 oldChainGasAmount, uint256 newChainGasAmount)
func (*FastBridgeFilterer) WatchFeeRateUpdated ¶
func (_FastBridge *FastBridgeFilterer) WatchFeeRateUpdated(opts *bind.WatchOpts, sink chan<- *FastBridgeFeeRateUpdated) (event.Subscription, error)
WatchFeeRateUpdated is a free log subscription operation binding the contract event 0x14914da2bf76024616fbe1859783fcd4dbddcb179b1f3a854949fbf920dcb957.
Solidity: event FeeRateUpdated(uint256 oldFeeRate, uint256 newFeeRate)
func (*FastBridgeFilterer) WatchFeesSwept ¶
func (_FastBridge *FastBridgeFilterer) WatchFeesSwept(opts *bind.WatchOpts, sink chan<- *FastBridgeFeesSwept) (event.Subscription, error)
WatchFeesSwept is a free log subscription operation binding the contract event 0x244e51bc38c1452fa8aaf487bcb4bca36c2baa3a5fbdb776b1eabd8dc6d277cd.
Solidity: event FeesSwept(address token, address recipient, uint256 amount)
func (*FastBridgeFilterer) WatchGovernorAdded ¶
func (_FastBridge *FastBridgeFilterer) WatchGovernorAdded(opts *bind.WatchOpts, sink chan<- *FastBridgeGovernorAdded) (event.Subscription, error)
WatchGovernorAdded is a free log subscription operation binding the contract event 0xdc5a48d79e2e147530ff63ecdbed5a5a66adb9d5cf339384d5d076da197c40b5.
Solidity: event GovernorAdded(address governor)
func (*FastBridgeFilterer) WatchGovernorRemoved ¶
func (_FastBridge *FastBridgeFilterer) WatchGovernorRemoved(opts *bind.WatchOpts, sink chan<- *FastBridgeGovernorRemoved) (event.Subscription, error)
WatchGovernorRemoved is a free log subscription operation binding the contract event 0x1ebe834e73d60a5fec822c1e1727d34bc79f2ad977ed504581cc1822fe20fb5b.
Solidity: event GovernorRemoved(address governor)
func (*FastBridgeFilterer) WatchGuardAdded ¶
func (_FastBridge *FastBridgeFilterer) WatchGuardAdded(opts *bind.WatchOpts, sink chan<- *FastBridgeGuardAdded) (event.Subscription, error)
WatchGuardAdded is a free log subscription operation binding the contract event 0x93405f05cd04f0d1bd875f2de00f1f3890484ffd0589248953bdfd29ba7f2f59.
Solidity: event GuardAdded(address guard)
func (*FastBridgeFilterer) WatchGuardRemoved ¶
func (_FastBridge *FastBridgeFilterer) WatchGuardRemoved(opts *bind.WatchOpts, sink chan<- *FastBridgeGuardRemoved) (event.Subscription, error)
WatchGuardRemoved is a free log subscription operation binding the contract event 0x59926e0a78d12238b668b31c8e3f6ece235a59a00ede111d883e255b68c4d048.
Solidity: event GuardRemoved(address guard)
func (*FastBridgeFilterer) WatchRelayerAdded ¶
func (_FastBridge *FastBridgeFilterer) WatchRelayerAdded(opts *bind.WatchOpts, sink chan<- *FastBridgeRelayerAdded) (event.Subscription, error)
WatchRelayerAdded is a free log subscription operation binding the contract event 0x03580ee9f53a62b7cb409a2cb56f9be87747dd15017afc5cef6eef321e4fb2c5.
Solidity: event RelayerAdded(address relayer)
func (*FastBridgeFilterer) WatchRelayerRemoved ¶
func (_FastBridge *FastBridgeFilterer) WatchRelayerRemoved(opts *bind.WatchOpts, sink chan<- *FastBridgeRelayerRemoved) (event.Subscription, error)
WatchRelayerRemoved is a free log subscription operation binding the contract event 0x10e1f7ce9fd7d1b90a66d13a2ab3cb8dd7f29f3f8d520b143b063ccfbab6906b.
Solidity: event RelayerRemoved(address relayer)
func (*FastBridgeFilterer) WatchRoleAdminChanged ¶
func (_FastBridge *FastBridgeFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *FastBridgeRoleAdminChanged, 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 (*FastBridgeFilterer) WatchRoleGranted ¶
func (_FastBridge *FastBridgeFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *FastBridgeRoleGranted, 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 (*FastBridgeFilterer) WatchRoleRevoked ¶
func (_FastBridge *FastBridgeFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *FastBridgeRoleRevoked, 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 FastBridgeGovernorAdded ¶
type FastBridgeGovernorAdded struct { Governor common.Address Raw types.Log // Blockchain specific contextual infos }
FastBridgeGovernorAdded represents a GovernorAdded event raised by the FastBridge contract.
type FastBridgeGovernorAddedIterator ¶
type FastBridgeGovernorAddedIterator struct { Event *FastBridgeGovernorAdded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
FastBridgeGovernorAddedIterator is returned from FilterGovernorAdded and is used to iterate over the raw logs and unpacked data for GovernorAdded events raised by the FastBridge contract.
func (*FastBridgeGovernorAddedIterator) Close ¶
func (it *FastBridgeGovernorAddedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*FastBridgeGovernorAddedIterator) Error ¶
func (it *FastBridgeGovernorAddedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*FastBridgeGovernorAddedIterator) Next ¶
func (it *FastBridgeGovernorAddedIterator) 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 FastBridgeGovernorRemoved ¶
type FastBridgeGovernorRemoved struct { Governor common.Address Raw types.Log // Blockchain specific contextual infos }
FastBridgeGovernorRemoved represents a GovernorRemoved event raised by the FastBridge contract.
type FastBridgeGovernorRemovedIterator ¶
type FastBridgeGovernorRemovedIterator struct { Event *FastBridgeGovernorRemoved // Event containing the contract specifics and raw log // contains filtered or unexported fields }
FastBridgeGovernorRemovedIterator is returned from FilterGovernorRemoved and is used to iterate over the raw logs and unpacked data for GovernorRemoved events raised by the FastBridge contract.
func (*FastBridgeGovernorRemovedIterator) Close ¶
func (it *FastBridgeGovernorRemovedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*FastBridgeGovernorRemovedIterator) Error ¶
func (it *FastBridgeGovernorRemovedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*FastBridgeGovernorRemovedIterator) Next ¶
func (it *FastBridgeGovernorRemovedIterator) 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 FastBridgeGuardAdded ¶
type FastBridgeGuardAdded struct { Guard common.Address Raw types.Log // Blockchain specific contextual infos }
FastBridgeGuardAdded represents a GuardAdded event raised by the FastBridge contract.
type FastBridgeGuardAddedIterator ¶
type FastBridgeGuardAddedIterator struct { Event *FastBridgeGuardAdded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
FastBridgeGuardAddedIterator is returned from FilterGuardAdded and is used to iterate over the raw logs and unpacked data for GuardAdded events raised by the FastBridge contract.
func (*FastBridgeGuardAddedIterator) Close ¶
func (it *FastBridgeGuardAddedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*FastBridgeGuardAddedIterator) Error ¶
func (it *FastBridgeGuardAddedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*FastBridgeGuardAddedIterator) Next ¶
func (it *FastBridgeGuardAddedIterator) 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 FastBridgeGuardRemoved ¶
type FastBridgeGuardRemoved struct { Guard common.Address Raw types.Log // Blockchain specific contextual infos }
FastBridgeGuardRemoved represents a GuardRemoved event raised by the FastBridge contract.
type FastBridgeGuardRemovedIterator ¶
type FastBridgeGuardRemovedIterator struct { Event *FastBridgeGuardRemoved // Event containing the contract specifics and raw log // contains filtered or unexported fields }
FastBridgeGuardRemovedIterator is returned from FilterGuardRemoved and is used to iterate over the raw logs and unpacked data for GuardRemoved events raised by the FastBridge contract.
func (*FastBridgeGuardRemovedIterator) Close ¶
func (it *FastBridgeGuardRemovedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*FastBridgeGuardRemovedIterator) Error ¶
func (it *FastBridgeGuardRemovedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*FastBridgeGuardRemovedIterator) Next ¶
func (it *FastBridgeGuardRemovedIterator) 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 FastBridgeRaw ¶
type FastBridgeRaw struct {
Contract *FastBridge // Generic contract binding to access the raw methods on
}
FastBridgeRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*FastBridgeRaw) Call ¶
func (_FastBridge *FastBridgeRaw) 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 (*FastBridgeRaw) Transact ¶
func (_FastBridge *FastBridgeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*FastBridgeRaw) Transfer ¶
func (_FastBridge *FastBridgeRaw) 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 FastBridgeRef ¶
type FastBridgeRef struct { *FastBridge // contains filtered or unexported fields }
FastBridgeRef is a bound fast bridge contract that returns the address of the contract.
func NewFastBridgeRef ¶
func NewFastBridgeRef(address common.Address, backend bind.ContractBackend) (*FastBridgeRef, error)
NewFastBridgeRef creates a new fast bridge contract witha ref.
func (*FastBridgeRef) Address ¶
func (f *FastBridgeRef) Address() common.Address
Address gets the ocntract address.
type FastBridgeRelayerAdded ¶
type FastBridgeRelayerAdded struct { Relayer common.Address Raw types.Log // Blockchain specific contextual infos }
FastBridgeRelayerAdded represents a RelayerAdded event raised by the FastBridge contract.
type FastBridgeRelayerAddedIterator ¶
type FastBridgeRelayerAddedIterator struct { Event *FastBridgeRelayerAdded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
FastBridgeRelayerAddedIterator is returned from FilterRelayerAdded and is used to iterate over the raw logs and unpacked data for RelayerAdded events raised by the FastBridge contract.
func (*FastBridgeRelayerAddedIterator) Close ¶
func (it *FastBridgeRelayerAddedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*FastBridgeRelayerAddedIterator) Error ¶
func (it *FastBridgeRelayerAddedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*FastBridgeRelayerAddedIterator) Next ¶
func (it *FastBridgeRelayerAddedIterator) 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 FastBridgeRelayerRemoved ¶
type FastBridgeRelayerRemoved struct { Relayer common.Address Raw types.Log // Blockchain specific contextual infos }
FastBridgeRelayerRemoved represents a RelayerRemoved event raised by the FastBridge contract.
type FastBridgeRelayerRemovedIterator ¶
type FastBridgeRelayerRemovedIterator struct { Event *FastBridgeRelayerRemoved // Event containing the contract specifics and raw log // contains filtered or unexported fields }
FastBridgeRelayerRemovedIterator is returned from FilterRelayerRemoved and is used to iterate over the raw logs and unpacked data for RelayerRemoved events raised by the FastBridge contract.
func (*FastBridgeRelayerRemovedIterator) Close ¶
func (it *FastBridgeRelayerRemovedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*FastBridgeRelayerRemovedIterator) Error ¶
func (it *FastBridgeRelayerRemovedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*FastBridgeRelayerRemovedIterator) Next ¶
func (it *FastBridgeRelayerRemovedIterator) 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 FastBridgeRoleAdminChanged ¶
type FastBridgeRoleAdminChanged struct { Role [32]byte PreviousAdminRole [32]byte NewAdminRole [32]byte Raw types.Log // Blockchain specific contextual infos }
FastBridgeRoleAdminChanged represents a RoleAdminChanged event raised by the FastBridge contract.
type FastBridgeRoleAdminChangedIterator ¶
type FastBridgeRoleAdminChangedIterator struct { Event *FastBridgeRoleAdminChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
FastBridgeRoleAdminChangedIterator is returned from FilterRoleAdminChanged and is used to iterate over the raw logs and unpacked data for RoleAdminChanged events raised by the FastBridge contract.
func (*FastBridgeRoleAdminChangedIterator) Close ¶
func (it *FastBridgeRoleAdminChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*FastBridgeRoleAdminChangedIterator) Error ¶
func (it *FastBridgeRoleAdminChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*FastBridgeRoleAdminChangedIterator) Next ¶
func (it *FastBridgeRoleAdminChangedIterator) 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 FastBridgeRoleGranted ¶
type FastBridgeRoleGranted struct { Role [32]byte Account common.Address Sender common.Address Raw types.Log // Blockchain specific contextual infos }
FastBridgeRoleGranted represents a RoleGranted event raised by the FastBridge contract.
type FastBridgeRoleGrantedIterator ¶
type FastBridgeRoleGrantedIterator struct { Event *FastBridgeRoleGranted // Event containing the contract specifics and raw log // contains filtered or unexported fields }
FastBridgeRoleGrantedIterator is returned from FilterRoleGranted and is used to iterate over the raw logs and unpacked data for RoleGranted events raised by the FastBridge contract.
func (*FastBridgeRoleGrantedIterator) Close ¶
func (it *FastBridgeRoleGrantedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*FastBridgeRoleGrantedIterator) Error ¶
func (it *FastBridgeRoleGrantedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*FastBridgeRoleGrantedIterator) Next ¶
func (it *FastBridgeRoleGrantedIterator) 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 FastBridgeRoleRevoked ¶
type FastBridgeRoleRevoked struct { Role [32]byte Account common.Address Sender common.Address Raw types.Log // Blockchain specific contextual infos }
FastBridgeRoleRevoked represents a RoleRevoked event raised by the FastBridge contract.
type FastBridgeRoleRevokedIterator ¶
type FastBridgeRoleRevokedIterator struct { Event *FastBridgeRoleRevoked // Event containing the contract specifics and raw log // contains filtered or unexported fields }
FastBridgeRoleRevokedIterator is returned from FilterRoleRevoked and is used to iterate over the raw logs and unpacked data for RoleRevoked events raised by the FastBridge contract.
func (*FastBridgeRoleRevokedIterator) Close ¶
func (it *FastBridgeRoleRevokedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*FastBridgeRoleRevokedIterator) Error ¶
func (it *FastBridgeRoleRevokedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*FastBridgeRoleRevokedIterator) Next ¶
func (it *FastBridgeRoleRevokedIterator) 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 FastBridgeSession ¶
type FastBridgeSession struct { Contract *FastBridge // 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 }
FastBridgeSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*FastBridgeSession) AddGovernor ¶
func (_FastBridge *FastBridgeSession) AddGovernor(_governor common.Address) (*types.Transaction, error)
AddGovernor is a paid mutator transaction binding the contract method 0x3c4a25d0.
Solidity: function addGovernor(address _governor) returns()
func (*FastBridgeSession) AddGuard ¶
func (_FastBridge *FastBridgeSession) AddGuard(_guard common.Address) (*types.Transaction, error)
AddGuard is a paid mutator transaction binding the contract method 0x6913a63c.
Solidity: function addGuard(address _guard) returns()
func (*FastBridgeSession) AddRelayer ¶
func (_FastBridge *FastBridgeSession) AddRelayer(_relayer common.Address) (*types.Transaction, error)
AddRelayer is a paid mutator transaction binding the contract method 0xdd39f00d.
Solidity: function addRelayer(address _relayer) returns()
func (*FastBridgeSession) Bridge ¶
func (_FastBridge *FastBridgeSession) Bridge(params IFastBridgeBridgeParams) (*types.Transaction, error)
Bridge is a paid mutator transaction binding the contract method 0x45851694.
Solidity: function bridge((uint32,address,address,address,address,uint256,uint256,bool,uint256) params) payable returns()
func (*FastBridgeSession) BridgeProofs ¶
func (_FastBridge *FastBridgeSession) BridgeProofs(arg0 [32]byte) (struct { Timestamp *big.Int Relayer common.Address }, error)
BridgeProofs is a free data retrieval call binding the contract method 0x91ad5039.
Solidity: function bridgeProofs(bytes32 ) view returns(uint96 timestamp, address relayer)
func (*FastBridgeSession) BridgeRelays ¶
func (_FastBridge *FastBridgeSession) BridgeRelays(arg0 [32]byte) (bool, error)
BridgeRelays is a free data retrieval call binding the contract method 0x8379a24f.
Solidity: function bridgeRelays(bytes32 ) view returns(bool)
func (*FastBridgeSession) BridgeStatuses ¶
func (_FastBridge *FastBridgeSession) BridgeStatuses(arg0 [32]byte) (uint8, error)
BridgeStatuses is a free data retrieval call binding the contract method 0x051287bc.
Solidity: function bridgeStatuses(bytes32 ) view returns(uint8)
func (*FastBridgeSession) CanClaim ¶
func (_FastBridge *FastBridgeSession) CanClaim(transactionId [32]byte, relayer common.Address) (bool, error)
CanClaim is a free data retrieval call binding the contract method 0xaa9641ab.
Solidity: function canClaim(bytes32 transactionId, address relayer) view returns(bool)
func (*FastBridgeSession) ChainGasAmount ¶
func (_FastBridge *FastBridgeSession) ChainGasAmount() (*big.Int, error)
ChainGasAmount is a free data retrieval call binding the contract method 0xe00a83e0.
Solidity: function chainGasAmount() view returns(uint256)
func (*FastBridgeSession) Claim ¶
func (_FastBridge *FastBridgeSession) Claim(request []byte, to common.Address) (*types.Transaction, error)
Claim is a paid mutator transaction binding the contract method 0x41fcb612.
Solidity: function claim(bytes request, address to) returns()
func (*FastBridgeSession) DEFAULTADMINROLE ¶
func (_FastBridge *FastBridgeSession) 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 (*FastBridgeSession) DISPUTEPERIOD ¶
func (_FastBridge *FastBridgeSession) DISPUTEPERIOD() (*big.Int, error)
DISPUTEPERIOD is a free data retrieval call binding the contract method 0xa5bbe22b.
Solidity: function DISPUTE_PERIOD() view returns(uint256)
func (*FastBridgeSession) DeployBlock ¶
func (_FastBridge *FastBridgeSession) DeployBlock() (*big.Int, error)
DeployBlock is a free data retrieval call binding the contract method 0xa3ec191a.
Solidity: function deployBlock() view returns(uint256)
func (*FastBridgeSession) Dispute ¶
func (_FastBridge *FastBridgeSession) Dispute(transactionId [32]byte) (*types.Transaction, error)
Dispute is a paid mutator transaction binding the contract method 0xadd98c70.
Solidity: function dispute(bytes32 transactionId) returns()
func (*FastBridgeSession) FEEBPS ¶
func (_FastBridge *FastBridgeSession) FEEBPS() (*big.Int, error)
FEEBPS is a free data retrieval call binding the contract method 0xbf333f2c.
Solidity: function FEE_BPS() view returns(uint256)
func (*FastBridgeSession) FEERATEMAX ¶
func (_FastBridge *FastBridgeSession) FEERATEMAX() (*big.Int, error)
FEERATEMAX is a free data retrieval call binding the contract method 0x0f5f6ed7.
Solidity: function FEE_RATE_MAX() view returns(uint256)
func (*FastBridgeSession) GOVERNORROLE ¶
func (_FastBridge *FastBridgeSession) GOVERNORROLE() ([32]byte, error)
GOVERNORROLE is a free data retrieval call binding the contract method 0xccc57490.
Solidity: function GOVERNOR_ROLE() view returns(bytes32)
func (*FastBridgeSession) GUARDROLE ¶
func (_FastBridge *FastBridgeSession) GUARDROLE() ([32]byte, error)
GUARDROLE is a free data retrieval call binding the contract method 0x03ed0ee5.
Solidity: function GUARD_ROLE() view returns(bytes32)
func (*FastBridgeSession) GetBridgeTransaction ¶
func (_FastBridge *FastBridgeSession) GetBridgeTransaction(request []byte) (IFastBridgeBridgeTransaction, error)
GetBridgeTransaction is a free data retrieval call binding the contract method 0xac11fb1a.
Solidity: function getBridgeTransaction(bytes request) pure returns((uint32,uint32,address,address,address,address,uint256,uint256,uint256,bool,uint256,uint256))
func (*FastBridgeSession) GetRoleAdmin ¶
func (_FastBridge *FastBridgeSession) 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 (*FastBridgeSession) GrantRole ¶
func (_FastBridge *FastBridgeSession) 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 (*FastBridgeSession) HasRole ¶
HasRole is a free data retrieval call binding the contract method 0x91d14854.
Solidity: function hasRole(bytes32 role, address account) view returns(bool)
func (*FastBridgeSession) MINDEADLINEPERIOD ¶
func (_FastBridge *FastBridgeSession) MINDEADLINEPERIOD() (*big.Int, error)
MINDEADLINEPERIOD is a free data retrieval call binding the contract method 0x820688d5.
Solidity: function MIN_DEADLINE_PERIOD() view returns(uint256)
func (*FastBridgeSession) Nonce ¶
func (_FastBridge *FastBridgeSession) Nonce() (*big.Int, error)
Nonce is a free data retrieval call binding the contract method 0xaffed0e0.
Solidity: function nonce() view returns(uint256)
func (*FastBridgeSession) ProtocolFeeRate ¶
func (_FastBridge *FastBridgeSession) ProtocolFeeRate() (*big.Int, error)
ProtocolFeeRate is a free data retrieval call binding the contract method 0x58f85880.
Solidity: function protocolFeeRate() view returns(uint256)
func (*FastBridgeSession) ProtocolFees ¶
ProtocolFees is a free data retrieval call binding the contract method 0xdcf844a7.
Solidity: function protocolFees(address ) view returns(uint256)
func (*FastBridgeSession) Prove ¶
func (_FastBridge *FastBridgeSession) Prove(request []byte, destTxHash [32]byte) (*types.Transaction, error)
Prove is a paid mutator transaction binding the contract method 0x886d36ff.
Solidity: function prove(bytes request, bytes32 destTxHash) returns()
func (*FastBridgeSession) RELAYERROLE ¶
func (_FastBridge *FastBridgeSession) RELAYERROLE() ([32]byte, error)
RELAYERROLE is a free data retrieval call binding the contract method 0x926d7d7f.
Solidity: function RELAYER_ROLE() view returns(bytes32)
func (*FastBridgeSession) Refund ¶
func (_FastBridge *FastBridgeSession) Refund(request []byte, to common.Address) (*types.Transaction, error)
Refund is a paid mutator transaction binding the contract method 0xef059bd3.
Solidity: function refund(bytes request, address to) returns()
func (*FastBridgeSession) Relay ¶
func (_FastBridge *FastBridgeSession) Relay(request []byte) (*types.Transaction, error)
Relay is a paid mutator transaction binding the contract method 0x8f0d6f17.
Solidity: function relay(bytes request) payable returns()
func (*FastBridgeSession) RemoveGovernor ¶
func (_FastBridge *FastBridgeSession) RemoveGovernor(_governor common.Address) (*types.Transaction, error)
RemoveGovernor is a paid mutator transaction binding the contract method 0xeecdac88.
Solidity: function removeGovernor(address _governor) returns()
func (*FastBridgeSession) RemoveGuard ¶
func (_FastBridge *FastBridgeSession) RemoveGuard(_guard common.Address) (*types.Transaction, error)
RemoveGuard is a paid mutator transaction binding the contract method 0xb6235016.
Solidity: function removeGuard(address _guard) returns()
func (*FastBridgeSession) RemoveRelayer ¶
func (_FastBridge *FastBridgeSession) RemoveRelayer(_relayer common.Address) (*types.Transaction, error)
RemoveRelayer is a paid mutator transaction binding the contract method 0x60f0a5ac.
Solidity: function removeRelayer(address _relayer) returns()
func (*FastBridgeSession) RenounceRole ¶
func (_FastBridge *FastBridgeSession) RenounceRole(role [32]byte, callerConfirmation common.Address) (*types.Transaction, error)
RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.
Solidity: function renounceRole(bytes32 role, address callerConfirmation) returns()
func (*FastBridgeSession) RevokeRole ¶
func (_FastBridge *FastBridgeSession) 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 (*FastBridgeSession) SetChainGasAmount ¶
func (_FastBridge *FastBridgeSession) SetChainGasAmount(newChainGasAmount *big.Int) (*types.Transaction, error)
SetChainGasAmount is a paid mutator transaction binding the contract method 0xb250fe6b.
Solidity: function setChainGasAmount(uint256 newChainGasAmount) returns()
func (*FastBridgeSession) SetProtocolFeeRate ¶
func (_FastBridge *FastBridgeSession) SetProtocolFeeRate(newFeeRate *big.Int) (*types.Transaction, error)
SetProtocolFeeRate is a paid mutator transaction binding the contract method 0xb13aa2d6.
Solidity: function setProtocolFeeRate(uint256 newFeeRate) returns()
func (*FastBridgeSession) SupportsInterface ¶
func (_FastBridge *FastBridgeSession) 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 (*FastBridgeSession) SweepProtocolFees ¶
func (_FastBridge *FastBridgeSession) SweepProtocolFees(token common.Address, recipient common.Address) (*types.Transaction, error)
SweepProtocolFees is a paid mutator transaction binding the contract method 0x06f333f2.
Solidity: function sweepProtocolFees(address token, address recipient) returns()
type FastBridgeTransactor ¶
type FastBridgeTransactor struct {
// contains filtered or unexported fields
}
FastBridgeTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewFastBridgeTransactor ¶
func NewFastBridgeTransactor(address common.Address, transactor bind.ContractTransactor) (*FastBridgeTransactor, error)
NewFastBridgeTransactor creates a new write-only instance of FastBridge, bound to a specific deployed contract.
func (*FastBridgeTransactor) AddGovernor ¶
func (_FastBridge *FastBridgeTransactor) AddGovernor(opts *bind.TransactOpts, _governor common.Address) (*types.Transaction, error)
AddGovernor is a paid mutator transaction binding the contract method 0x3c4a25d0.
Solidity: function addGovernor(address _governor) returns()
func (*FastBridgeTransactor) AddGuard ¶
func (_FastBridge *FastBridgeTransactor) AddGuard(opts *bind.TransactOpts, _guard common.Address) (*types.Transaction, error)
AddGuard is a paid mutator transaction binding the contract method 0x6913a63c.
Solidity: function addGuard(address _guard) returns()
func (*FastBridgeTransactor) AddRelayer ¶
func (_FastBridge *FastBridgeTransactor) AddRelayer(opts *bind.TransactOpts, _relayer common.Address) (*types.Transaction, error)
AddRelayer is a paid mutator transaction binding the contract method 0xdd39f00d.
Solidity: function addRelayer(address _relayer) returns()
func (*FastBridgeTransactor) Bridge ¶
func (_FastBridge *FastBridgeTransactor) Bridge(opts *bind.TransactOpts, params IFastBridgeBridgeParams) (*types.Transaction, error)
Bridge is a paid mutator transaction binding the contract method 0x45851694.
Solidity: function bridge((uint32,address,address,address,address,uint256,uint256,bool,uint256) params) payable returns()
func (*FastBridgeTransactor) Claim ¶
func (_FastBridge *FastBridgeTransactor) Claim(opts *bind.TransactOpts, request []byte, to common.Address) (*types.Transaction, error)
Claim is a paid mutator transaction binding the contract method 0x41fcb612.
Solidity: function claim(bytes request, address to) returns()
func (*FastBridgeTransactor) Dispute ¶
func (_FastBridge *FastBridgeTransactor) Dispute(opts *bind.TransactOpts, transactionId [32]byte) (*types.Transaction, error)
Dispute is a paid mutator transaction binding the contract method 0xadd98c70.
Solidity: function dispute(bytes32 transactionId) returns()
func (*FastBridgeTransactor) GrantRole ¶
func (_FastBridge *FastBridgeTransactor) 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 (*FastBridgeTransactor) Prove ¶
func (_FastBridge *FastBridgeTransactor) Prove(opts *bind.TransactOpts, request []byte, destTxHash [32]byte) (*types.Transaction, error)
Prove is a paid mutator transaction binding the contract method 0x886d36ff.
Solidity: function prove(bytes request, bytes32 destTxHash) returns()
func (*FastBridgeTransactor) Refund ¶
func (_FastBridge *FastBridgeTransactor) Refund(opts *bind.TransactOpts, request []byte, to common.Address) (*types.Transaction, error)
Refund is a paid mutator transaction binding the contract method 0xef059bd3.
Solidity: function refund(bytes request, address to) returns()
func (*FastBridgeTransactor) Relay ¶
func (_FastBridge *FastBridgeTransactor) Relay(opts *bind.TransactOpts, request []byte) (*types.Transaction, error)
Relay is a paid mutator transaction binding the contract method 0x8f0d6f17.
Solidity: function relay(bytes request) payable returns()
func (*FastBridgeTransactor) RemoveGovernor ¶
func (_FastBridge *FastBridgeTransactor) RemoveGovernor(opts *bind.TransactOpts, _governor common.Address) (*types.Transaction, error)
RemoveGovernor is a paid mutator transaction binding the contract method 0xeecdac88.
Solidity: function removeGovernor(address _governor) returns()
func (*FastBridgeTransactor) RemoveGuard ¶
func (_FastBridge *FastBridgeTransactor) RemoveGuard(opts *bind.TransactOpts, _guard common.Address) (*types.Transaction, error)
RemoveGuard is a paid mutator transaction binding the contract method 0xb6235016.
Solidity: function removeGuard(address _guard) returns()
func (*FastBridgeTransactor) RemoveRelayer ¶
func (_FastBridge *FastBridgeTransactor) RemoveRelayer(opts *bind.TransactOpts, _relayer common.Address) (*types.Transaction, error)
RemoveRelayer is a paid mutator transaction binding the contract method 0x60f0a5ac.
Solidity: function removeRelayer(address _relayer) returns()
func (*FastBridgeTransactor) RenounceRole ¶
func (_FastBridge *FastBridgeTransactor) RenounceRole(opts *bind.TransactOpts, role [32]byte, callerConfirmation common.Address) (*types.Transaction, error)
RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.
Solidity: function renounceRole(bytes32 role, address callerConfirmation) returns()
func (*FastBridgeTransactor) RevokeRole ¶
func (_FastBridge *FastBridgeTransactor) 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 (*FastBridgeTransactor) SetChainGasAmount ¶
func (_FastBridge *FastBridgeTransactor) SetChainGasAmount(opts *bind.TransactOpts, newChainGasAmount *big.Int) (*types.Transaction, error)
SetChainGasAmount is a paid mutator transaction binding the contract method 0xb250fe6b.
Solidity: function setChainGasAmount(uint256 newChainGasAmount) returns()
func (*FastBridgeTransactor) SetProtocolFeeRate ¶
func (_FastBridge *FastBridgeTransactor) SetProtocolFeeRate(opts *bind.TransactOpts, newFeeRate *big.Int) (*types.Transaction, error)
SetProtocolFeeRate is a paid mutator transaction binding the contract method 0xb13aa2d6.
Solidity: function setProtocolFeeRate(uint256 newFeeRate) returns()
func (*FastBridgeTransactor) SweepProtocolFees ¶
func (_FastBridge *FastBridgeTransactor) SweepProtocolFees(opts *bind.TransactOpts, token common.Address, recipient common.Address) (*types.Transaction, error)
SweepProtocolFees is a paid mutator transaction binding the contract method 0x06f333f2.
Solidity: function sweepProtocolFees(address token, address recipient) returns()
type FastBridgeTransactorRaw ¶
type FastBridgeTransactorRaw struct {
Contract *FastBridgeTransactor // Generic write-only contract binding to access the raw methods on
}
FastBridgeTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*FastBridgeTransactorRaw) Transact ¶
func (_FastBridge *FastBridgeTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*FastBridgeTransactorRaw) Transfer ¶
func (_FastBridge *FastBridgeTransactorRaw) 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 FastBridgeTransactorSession ¶
type FastBridgeTransactorSession struct { Contract *FastBridgeTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
FastBridgeTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*FastBridgeTransactorSession) AddGovernor ¶
func (_FastBridge *FastBridgeTransactorSession) AddGovernor(_governor common.Address) (*types.Transaction, error)
AddGovernor is a paid mutator transaction binding the contract method 0x3c4a25d0.
Solidity: function addGovernor(address _governor) returns()
func (*FastBridgeTransactorSession) AddGuard ¶
func (_FastBridge *FastBridgeTransactorSession) AddGuard(_guard common.Address) (*types.Transaction, error)
AddGuard is a paid mutator transaction binding the contract method 0x6913a63c.
Solidity: function addGuard(address _guard) returns()
func (*FastBridgeTransactorSession) AddRelayer ¶
func (_FastBridge *FastBridgeTransactorSession) AddRelayer(_relayer common.Address) (*types.Transaction, error)
AddRelayer is a paid mutator transaction binding the contract method 0xdd39f00d.
Solidity: function addRelayer(address _relayer) returns()
func (*FastBridgeTransactorSession) Bridge ¶
func (_FastBridge *FastBridgeTransactorSession) Bridge(params IFastBridgeBridgeParams) (*types.Transaction, error)
Bridge is a paid mutator transaction binding the contract method 0x45851694.
Solidity: function bridge((uint32,address,address,address,address,uint256,uint256,bool,uint256) params) payable returns()
func (*FastBridgeTransactorSession) Claim ¶
func (_FastBridge *FastBridgeTransactorSession) Claim(request []byte, to common.Address) (*types.Transaction, error)
Claim is a paid mutator transaction binding the contract method 0x41fcb612.
Solidity: function claim(bytes request, address to) returns()
func (*FastBridgeTransactorSession) Dispute ¶
func (_FastBridge *FastBridgeTransactorSession) Dispute(transactionId [32]byte) (*types.Transaction, error)
Dispute is a paid mutator transaction binding the contract method 0xadd98c70.
Solidity: function dispute(bytes32 transactionId) returns()
func (*FastBridgeTransactorSession) GrantRole ¶
func (_FastBridge *FastBridgeTransactorSession) 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 (*FastBridgeTransactorSession) Prove ¶
func (_FastBridge *FastBridgeTransactorSession) Prove(request []byte, destTxHash [32]byte) (*types.Transaction, error)
Prove is a paid mutator transaction binding the contract method 0x886d36ff.
Solidity: function prove(bytes request, bytes32 destTxHash) returns()
func (*FastBridgeTransactorSession) Refund ¶
func (_FastBridge *FastBridgeTransactorSession) Refund(request []byte, to common.Address) (*types.Transaction, error)
Refund is a paid mutator transaction binding the contract method 0xef059bd3.
Solidity: function refund(bytes request, address to) returns()
func (*FastBridgeTransactorSession) Relay ¶
func (_FastBridge *FastBridgeTransactorSession) Relay(request []byte) (*types.Transaction, error)
Relay is a paid mutator transaction binding the contract method 0x8f0d6f17.
Solidity: function relay(bytes request) payable returns()
func (*FastBridgeTransactorSession) RemoveGovernor ¶
func (_FastBridge *FastBridgeTransactorSession) RemoveGovernor(_governor common.Address) (*types.Transaction, error)
RemoveGovernor is a paid mutator transaction binding the contract method 0xeecdac88.
Solidity: function removeGovernor(address _governor) returns()
func (*FastBridgeTransactorSession) RemoveGuard ¶
func (_FastBridge *FastBridgeTransactorSession) RemoveGuard(_guard common.Address) (*types.Transaction, error)
RemoveGuard is a paid mutator transaction binding the contract method 0xb6235016.
Solidity: function removeGuard(address _guard) returns()
func (*FastBridgeTransactorSession) RemoveRelayer ¶
func (_FastBridge *FastBridgeTransactorSession) RemoveRelayer(_relayer common.Address) (*types.Transaction, error)
RemoveRelayer is a paid mutator transaction binding the contract method 0x60f0a5ac.
Solidity: function removeRelayer(address _relayer) returns()
func (*FastBridgeTransactorSession) RenounceRole ¶
func (_FastBridge *FastBridgeTransactorSession) RenounceRole(role [32]byte, callerConfirmation common.Address) (*types.Transaction, error)
RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.
Solidity: function renounceRole(bytes32 role, address callerConfirmation) returns()
func (*FastBridgeTransactorSession) RevokeRole ¶
func (_FastBridge *FastBridgeTransactorSession) 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 (*FastBridgeTransactorSession) SetChainGasAmount ¶
func (_FastBridge *FastBridgeTransactorSession) SetChainGasAmount(newChainGasAmount *big.Int) (*types.Transaction, error)
SetChainGasAmount is a paid mutator transaction binding the contract method 0xb250fe6b.
Solidity: function setChainGasAmount(uint256 newChainGasAmount) returns()
func (*FastBridgeTransactorSession) SetProtocolFeeRate ¶
func (_FastBridge *FastBridgeTransactorSession) SetProtocolFeeRate(newFeeRate *big.Int) (*types.Transaction, error)
SetProtocolFeeRate is a paid mutator transaction binding the contract method 0xb13aa2d6.
Solidity: function setProtocolFeeRate(uint256 newFeeRate) returns()
func (*FastBridgeTransactorSession) SweepProtocolFees ¶
func (_FastBridge *FastBridgeTransactorSession) SweepProtocolFees(token common.Address, recipient common.Address) (*types.Transaction, error)
SweepProtocolFees is a paid mutator transaction binding the contract method 0x06f333f2.
Solidity: function sweepProtocolFees(address token, address recipient) returns()
type IAccessControl ¶
type IAccessControl struct { IAccessControlCaller // Read-only binding to the contract IAccessControlTransactor // Write-only binding to the contract IAccessControlFilterer // Log filterer for contract events }
IAccessControl is an auto generated Go binding around an Ethereum contract.
func NewIAccessControl ¶
func NewIAccessControl(address common.Address, backend bind.ContractBackend) (*IAccessControl, error)
NewIAccessControl creates a new instance of IAccessControl, bound to a specific deployed contract.
type IAccessControlCaller ¶
type IAccessControlCaller struct {
// contains filtered or unexported fields
}
IAccessControlCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewIAccessControlCaller ¶
func NewIAccessControlCaller(address common.Address, caller bind.ContractCaller) (*IAccessControlCaller, error)
NewIAccessControlCaller creates a new read-only instance of IAccessControl, bound to a specific deployed contract.
func (*IAccessControlCaller) GetRoleAdmin ¶
func (_IAccessControl *IAccessControlCaller) 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 (*IAccessControlCaller) HasRole ¶
func (_IAccessControl *IAccessControlCaller) 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)
type IAccessControlCallerRaw ¶
type IAccessControlCallerRaw struct {
Contract *IAccessControlCaller // Generic read-only contract binding to access the raw methods on
}
IAccessControlCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*IAccessControlCallerRaw) Call ¶
func (_IAccessControl *IAccessControlCallerRaw) 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 IAccessControlCallerSession ¶
type IAccessControlCallerSession struct { Contract *IAccessControlCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
IAccessControlCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*IAccessControlCallerSession) GetRoleAdmin ¶
func (_IAccessControl *IAccessControlCallerSession) 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 (*IAccessControlCallerSession) HasRole ¶
func (_IAccessControl *IAccessControlCallerSession) 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)
type IAccessControlFilterer ¶
type IAccessControlFilterer struct {
// contains filtered or unexported fields
}
IAccessControlFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewIAccessControlFilterer ¶
func NewIAccessControlFilterer(address common.Address, filterer bind.ContractFilterer) (*IAccessControlFilterer, error)
NewIAccessControlFilterer creates a new log filterer instance of IAccessControl, bound to a specific deployed contract.
func (*IAccessControlFilterer) FilterRoleAdminChanged ¶
func (_IAccessControl *IAccessControlFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (*IAccessControlRoleAdminChangedIterator, 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 (*IAccessControlFilterer) FilterRoleGranted ¶
func (_IAccessControl *IAccessControlFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*IAccessControlRoleGrantedIterator, 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 (*IAccessControlFilterer) FilterRoleRevoked ¶
func (_IAccessControl *IAccessControlFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*IAccessControlRoleRevokedIterator, 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 (*IAccessControlFilterer) ParseRoleAdminChanged ¶
func (_IAccessControl *IAccessControlFilterer) ParseRoleAdminChanged(log types.Log) (*IAccessControlRoleAdminChanged, 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 (*IAccessControlFilterer) ParseRoleGranted ¶
func (_IAccessControl *IAccessControlFilterer) ParseRoleGranted(log types.Log) (*IAccessControlRoleGranted, 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 (*IAccessControlFilterer) ParseRoleRevoked ¶
func (_IAccessControl *IAccessControlFilterer) ParseRoleRevoked(log types.Log) (*IAccessControlRoleRevoked, 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 (*IAccessControlFilterer) WatchRoleAdminChanged ¶
func (_IAccessControl *IAccessControlFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *IAccessControlRoleAdminChanged, 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 (*IAccessControlFilterer) WatchRoleGranted ¶
func (_IAccessControl *IAccessControlFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *IAccessControlRoleGranted, 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 (*IAccessControlFilterer) WatchRoleRevoked ¶
func (_IAccessControl *IAccessControlFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *IAccessControlRoleRevoked, 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 IAccessControlRaw ¶
type IAccessControlRaw struct {
Contract *IAccessControl // Generic contract binding to access the raw methods on
}
IAccessControlRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*IAccessControlRaw) Call ¶
func (_IAccessControl *IAccessControlRaw) 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 (*IAccessControlRaw) Transact ¶
func (_IAccessControl *IAccessControlRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IAccessControlRaw) Transfer ¶
func (_IAccessControl *IAccessControlRaw) 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 IAccessControlRoleAdminChanged ¶
type IAccessControlRoleAdminChanged struct { Role [32]byte PreviousAdminRole [32]byte NewAdminRole [32]byte Raw types.Log // Blockchain specific contextual infos }
IAccessControlRoleAdminChanged represents a RoleAdminChanged event raised by the IAccessControl contract.
type IAccessControlRoleAdminChangedIterator ¶
type IAccessControlRoleAdminChangedIterator struct { Event *IAccessControlRoleAdminChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IAccessControlRoleAdminChangedIterator is returned from FilterRoleAdminChanged and is used to iterate over the raw logs and unpacked data for RoleAdminChanged events raised by the IAccessControl contract.
func (*IAccessControlRoleAdminChangedIterator) Close ¶
func (it *IAccessControlRoleAdminChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IAccessControlRoleAdminChangedIterator) Error ¶
func (it *IAccessControlRoleAdminChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IAccessControlRoleAdminChangedIterator) Next ¶
func (it *IAccessControlRoleAdminChangedIterator) 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 IAccessControlRoleGranted ¶
type IAccessControlRoleGranted struct { Role [32]byte Account common.Address Sender common.Address Raw types.Log // Blockchain specific contextual infos }
IAccessControlRoleGranted represents a RoleGranted event raised by the IAccessControl contract.
type IAccessControlRoleGrantedIterator ¶
type IAccessControlRoleGrantedIterator struct { Event *IAccessControlRoleGranted // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IAccessControlRoleGrantedIterator is returned from FilterRoleGranted and is used to iterate over the raw logs and unpacked data for RoleGranted events raised by the IAccessControl contract.
func (*IAccessControlRoleGrantedIterator) Close ¶
func (it *IAccessControlRoleGrantedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IAccessControlRoleGrantedIterator) Error ¶
func (it *IAccessControlRoleGrantedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IAccessControlRoleGrantedIterator) Next ¶
func (it *IAccessControlRoleGrantedIterator) 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 IAccessControlRoleRevoked ¶
type IAccessControlRoleRevoked struct { Role [32]byte Account common.Address Sender common.Address Raw types.Log // Blockchain specific contextual infos }
IAccessControlRoleRevoked represents a RoleRevoked event raised by the IAccessControl contract.
type IAccessControlRoleRevokedIterator ¶
type IAccessControlRoleRevokedIterator struct { Event *IAccessControlRoleRevoked // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IAccessControlRoleRevokedIterator is returned from FilterRoleRevoked and is used to iterate over the raw logs and unpacked data for RoleRevoked events raised by the IAccessControl contract.
func (*IAccessControlRoleRevokedIterator) Close ¶
func (it *IAccessControlRoleRevokedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IAccessControlRoleRevokedIterator) Error ¶
func (it *IAccessControlRoleRevokedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IAccessControlRoleRevokedIterator) Next ¶
func (it *IAccessControlRoleRevokedIterator) 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 IAccessControlSession ¶
type IAccessControlSession struct { Contract *IAccessControl // 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 }
IAccessControlSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*IAccessControlSession) GetRoleAdmin ¶
func (_IAccessControl *IAccessControlSession) 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 (*IAccessControlSession) GrantRole ¶
func (_IAccessControl *IAccessControlSession) 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 (*IAccessControlSession) HasRole ¶
func (_IAccessControl *IAccessControlSession) 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 (*IAccessControlSession) RenounceRole ¶
func (_IAccessControl *IAccessControlSession) RenounceRole(role [32]byte, callerConfirmation common.Address) (*types.Transaction, error)
RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.
Solidity: function renounceRole(bytes32 role, address callerConfirmation) returns()
func (*IAccessControlSession) RevokeRole ¶
func (_IAccessControl *IAccessControlSession) 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 IAccessControlTransactor ¶
type IAccessControlTransactor struct {
// contains filtered or unexported fields
}
IAccessControlTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewIAccessControlTransactor ¶
func NewIAccessControlTransactor(address common.Address, transactor bind.ContractTransactor) (*IAccessControlTransactor, error)
NewIAccessControlTransactor creates a new write-only instance of IAccessControl, bound to a specific deployed contract.
func (*IAccessControlTransactor) GrantRole ¶
func (_IAccessControl *IAccessControlTransactor) 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 (*IAccessControlTransactor) RenounceRole ¶
func (_IAccessControl *IAccessControlTransactor) RenounceRole(opts *bind.TransactOpts, role [32]byte, callerConfirmation common.Address) (*types.Transaction, error)
RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.
Solidity: function renounceRole(bytes32 role, address callerConfirmation) returns()
func (*IAccessControlTransactor) RevokeRole ¶
func (_IAccessControl *IAccessControlTransactor) 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 IAccessControlTransactorRaw ¶
type IAccessControlTransactorRaw struct {
Contract *IAccessControlTransactor // Generic write-only contract binding to access the raw methods on
}
IAccessControlTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*IAccessControlTransactorRaw) Transact ¶
func (_IAccessControl *IAccessControlTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IAccessControlTransactorRaw) Transfer ¶
func (_IAccessControl *IAccessControlTransactorRaw) 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 IAccessControlTransactorSession ¶
type IAccessControlTransactorSession struct { Contract *IAccessControlTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
IAccessControlTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*IAccessControlTransactorSession) GrantRole ¶
func (_IAccessControl *IAccessControlTransactorSession) 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 (*IAccessControlTransactorSession) RenounceRole ¶
func (_IAccessControl *IAccessControlTransactorSession) RenounceRole(role [32]byte, callerConfirmation common.Address) (*types.Transaction, error)
RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.
Solidity: function renounceRole(bytes32 role, address callerConfirmation) returns()
func (*IAccessControlTransactorSession) RevokeRole ¶
func (_IAccessControl *IAccessControlTransactorSession) 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 IAdmin ¶
type IAdmin struct { IAdminCaller // Read-only binding to the contract IAdminTransactor // Write-only binding to the contract IAdminFilterer // Log filterer for contract events }
IAdmin is an auto generated Go binding around an Ethereum contract.
type IAdminCaller ¶
type IAdminCaller struct {
// contains filtered or unexported fields
}
IAdminCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewIAdminCaller ¶
func NewIAdminCaller(address common.Address, caller bind.ContractCaller) (*IAdminCaller, error)
NewIAdminCaller creates a new read-only instance of IAdmin, bound to a specific deployed contract.
type IAdminCallerRaw ¶
type IAdminCallerRaw struct {
Contract *IAdminCaller // Generic read-only contract binding to access the raw methods on
}
IAdminCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*IAdminCallerRaw) Call ¶
func (_IAdmin *IAdminCallerRaw) 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 IAdminCallerSession ¶
type IAdminCallerSession struct { Contract *IAdminCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
IAdminCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type IAdminChainGasAmountUpdated ¶
type IAdminChainGasAmountUpdated struct { OldChainGasAmount *big.Int NewChainGasAmount *big.Int Raw types.Log // Blockchain specific contextual infos }
IAdminChainGasAmountUpdated represents a ChainGasAmountUpdated event raised by the IAdmin contract.
type IAdminChainGasAmountUpdatedIterator ¶
type IAdminChainGasAmountUpdatedIterator struct { Event *IAdminChainGasAmountUpdated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IAdminChainGasAmountUpdatedIterator is returned from FilterChainGasAmountUpdated and is used to iterate over the raw logs and unpacked data for ChainGasAmountUpdated events raised by the IAdmin contract.
func (*IAdminChainGasAmountUpdatedIterator) Close ¶
func (it *IAdminChainGasAmountUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IAdminChainGasAmountUpdatedIterator) Error ¶
func (it *IAdminChainGasAmountUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IAdminChainGasAmountUpdatedIterator) Next ¶
func (it *IAdminChainGasAmountUpdatedIterator) 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 IAdminFeeRateUpdated ¶
type IAdminFeeRateUpdated struct { OldFeeRate *big.Int NewFeeRate *big.Int Raw types.Log // Blockchain specific contextual infos }
IAdminFeeRateUpdated represents a FeeRateUpdated event raised by the IAdmin contract.
type IAdminFeeRateUpdatedIterator ¶
type IAdminFeeRateUpdatedIterator struct { Event *IAdminFeeRateUpdated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IAdminFeeRateUpdatedIterator is returned from FilterFeeRateUpdated and is used to iterate over the raw logs and unpacked data for FeeRateUpdated events raised by the IAdmin contract.
func (*IAdminFeeRateUpdatedIterator) Close ¶
func (it *IAdminFeeRateUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IAdminFeeRateUpdatedIterator) Error ¶
func (it *IAdminFeeRateUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IAdminFeeRateUpdatedIterator) Next ¶
func (it *IAdminFeeRateUpdatedIterator) 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 IAdminFeesSwept ¶
type IAdminFeesSwept struct { Token common.Address Recipient common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
IAdminFeesSwept represents a FeesSwept event raised by the IAdmin contract.
type IAdminFeesSweptIterator ¶
type IAdminFeesSweptIterator struct { Event *IAdminFeesSwept // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IAdminFeesSweptIterator is returned from FilterFeesSwept and is used to iterate over the raw logs and unpacked data for FeesSwept events raised by the IAdmin contract.
func (*IAdminFeesSweptIterator) Close ¶
func (it *IAdminFeesSweptIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IAdminFeesSweptIterator) Error ¶
func (it *IAdminFeesSweptIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IAdminFeesSweptIterator) Next ¶
func (it *IAdminFeesSweptIterator) 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 IAdminFilterer ¶
type IAdminFilterer struct {
// contains filtered or unexported fields
}
IAdminFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewIAdminFilterer ¶
func NewIAdminFilterer(address common.Address, filterer bind.ContractFilterer) (*IAdminFilterer, error)
NewIAdminFilterer creates a new log filterer instance of IAdmin, bound to a specific deployed contract.
func (*IAdminFilterer) FilterChainGasAmountUpdated ¶
func (_IAdmin *IAdminFilterer) FilterChainGasAmountUpdated(opts *bind.FilterOpts) (*IAdminChainGasAmountUpdatedIterator, error)
FilterChainGasAmountUpdated is a free log retrieval operation binding the contract event 0x5cf09b12f3f56b4c564d51b25b40360af6d795198adb61ae0806a36c294323fa.
Solidity: event ChainGasAmountUpdated(uint256 oldChainGasAmount, uint256 newChainGasAmount)
func (*IAdminFilterer) FilterFeeRateUpdated ¶
func (_IAdmin *IAdminFilterer) FilterFeeRateUpdated(opts *bind.FilterOpts) (*IAdminFeeRateUpdatedIterator, error)
FilterFeeRateUpdated is a free log retrieval operation binding the contract event 0x14914da2bf76024616fbe1859783fcd4dbddcb179b1f3a854949fbf920dcb957.
Solidity: event FeeRateUpdated(uint256 oldFeeRate, uint256 newFeeRate)
func (*IAdminFilterer) FilterFeesSwept ¶
func (_IAdmin *IAdminFilterer) FilterFeesSwept(opts *bind.FilterOpts) (*IAdminFeesSweptIterator, error)
FilterFeesSwept is a free log retrieval operation binding the contract event 0x244e51bc38c1452fa8aaf487bcb4bca36c2baa3a5fbdb776b1eabd8dc6d277cd.
Solidity: event FeesSwept(address token, address recipient, uint256 amount)
func (*IAdminFilterer) FilterGovernorAdded ¶
func (_IAdmin *IAdminFilterer) FilterGovernorAdded(opts *bind.FilterOpts) (*IAdminGovernorAddedIterator, error)
FilterGovernorAdded is a free log retrieval operation binding the contract event 0xdc5a48d79e2e147530ff63ecdbed5a5a66adb9d5cf339384d5d076da197c40b5.
Solidity: event GovernorAdded(address governor)
func (*IAdminFilterer) FilterGovernorRemoved ¶
func (_IAdmin *IAdminFilterer) FilterGovernorRemoved(opts *bind.FilterOpts) (*IAdminGovernorRemovedIterator, error)
FilterGovernorRemoved is a free log retrieval operation binding the contract event 0x1ebe834e73d60a5fec822c1e1727d34bc79f2ad977ed504581cc1822fe20fb5b.
Solidity: event GovernorRemoved(address governor)
func (*IAdminFilterer) FilterGuardAdded ¶
func (_IAdmin *IAdminFilterer) FilterGuardAdded(opts *bind.FilterOpts) (*IAdminGuardAddedIterator, error)
FilterGuardAdded is a free log retrieval operation binding the contract event 0x93405f05cd04f0d1bd875f2de00f1f3890484ffd0589248953bdfd29ba7f2f59.
Solidity: event GuardAdded(address guard)
func (*IAdminFilterer) FilterGuardRemoved ¶
func (_IAdmin *IAdminFilterer) FilterGuardRemoved(opts *bind.FilterOpts) (*IAdminGuardRemovedIterator, error)
FilterGuardRemoved is a free log retrieval operation binding the contract event 0x59926e0a78d12238b668b31c8e3f6ece235a59a00ede111d883e255b68c4d048.
Solidity: event GuardRemoved(address guard)
func (*IAdminFilterer) FilterRelayerAdded ¶
func (_IAdmin *IAdminFilterer) FilterRelayerAdded(opts *bind.FilterOpts) (*IAdminRelayerAddedIterator, error)
FilterRelayerAdded is a free log retrieval operation binding the contract event 0x03580ee9f53a62b7cb409a2cb56f9be87747dd15017afc5cef6eef321e4fb2c5.
Solidity: event RelayerAdded(address relayer)
func (*IAdminFilterer) FilterRelayerRemoved ¶
func (_IAdmin *IAdminFilterer) FilterRelayerRemoved(opts *bind.FilterOpts) (*IAdminRelayerRemovedIterator, error)
FilterRelayerRemoved is a free log retrieval operation binding the contract event 0x10e1f7ce9fd7d1b90a66d13a2ab3cb8dd7f29f3f8d520b143b063ccfbab6906b.
Solidity: event RelayerRemoved(address relayer)
func (*IAdminFilterer) ParseChainGasAmountUpdated ¶
func (_IAdmin *IAdminFilterer) ParseChainGasAmountUpdated(log types.Log) (*IAdminChainGasAmountUpdated, error)
ParseChainGasAmountUpdated is a log parse operation binding the contract event 0x5cf09b12f3f56b4c564d51b25b40360af6d795198adb61ae0806a36c294323fa.
Solidity: event ChainGasAmountUpdated(uint256 oldChainGasAmount, uint256 newChainGasAmount)
func (*IAdminFilterer) ParseFeeRateUpdated ¶
func (_IAdmin *IAdminFilterer) ParseFeeRateUpdated(log types.Log) (*IAdminFeeRateUpdated, error)
ParseFeeRateUpdated is a log parse operation binding the contract event 0x14914da2bf76024616fbe1859783fcd4dbddcb179b1f3a854949fbf920dcb957.
Solidity: event FeeRateUpdated(uint256 oldFeeRate, uint256 newFeeRate)
func (*IAdminFilterer) ParseFeesSwept ¶
func (_IAdmin *IAdminFilterer) ParseFeesSwept(log types.Log) (*IAdminFeesSwept, error)
ParseFeesSwept is a log parse operation binding the contract event 0x244e51bc38c1452fa8aaf487bcb4bca36c2baa3a5fbdb776b1eabd8dc6d277cd.
Solidity: event FeesSwept(address token, address recipient, uint256 amount)
func (*IAdminFilterer) ParseGovernorAdded ¶
func (_IAdmin *IAdminFilterer) ParseGovernorAdded(log types.Log) (*IAdminGovernorAdded, error)
ParseGovernorAdded is a log parse operation binding the contract event 0xdc5a48d79e2e147530ff63ecdbed5a5a66adb9d5cf339384d5d076da197c40b5.
Solidity: event GovernorAdded(address governor)
func (*IAdminFilterer) ParseGovernorRemoved ¶
func (_IAdmin *IAdminFilterer) ParseGovernorRemoved(log types.Log) (*IAdminGovernorRemoved, error)
ParseGovernorRemoved is a log parse operation binding the contract event 0x1ebe834e73d60a5fec822c1e1727d34bc79f2ad977ed504581cc1822fe20fb5b.
Solidity: event GovernorRemoved(address governor)
func (*IAdminFilterer) ParseGuardAdded ¶
func (_IAdmin *IAdminFilterer) ParseGuardAdded(log types.Log) (*IAdminGuardAdded, error)
ParseGuardAdded is a log parse operation binding the contract event 0x93405f05cd04f0d1bd875f2de00f1f3890484ffd0589248953bdfd29ba7f2f59.
Solidity: event GuardAdded(address guard)
func (*IAdminFilterer) ParseGuardRemoved ¶
func (_IAdmin *IAdminFilterer) ParseGuardRemoved(log types.Log) (*IAdminGuardRemoved, error)
ParseGuardRemoved is a log parse operation binding the contract event 0x59926e0a78d12238b668b31c8e3f6ece235a59a00ede111d883e255b68c4d048.
Solidity: event GuardRemoved(address guard)
func (*IAdminFilterer) ParseRelayerAdded ¶
func (_IAdmin *IAdminFilterer) ParseRelayerAdded(log types.Log) (*IAdminRelayerAdded, error)
ParseRelayerAdded is a log parse operation binding the contract event 0x03580ee9f53a62b7cb409a2cb56f9be87747dd15017afc5cef6eef321e4fb2c5.
Solidity: event RelayerAdded(address relayer)
func (*IAdminFilterer) ParseRelayerRemoved ¶
func (_IAdmin *IAdminFilterer) ParseRelayerRemoved(log types.Log) (*IAdminRelayerRemoved, error)
ParseRelayerRemoved is a log parse operation binding the contract event 0x10e1f7ce9fd7d1b90a66d13a2ab3cb8dd7f29f3f8d520b143b063ccfbab6906b.
Solidity: event RelayerRemoved(address relayer)
func (*IAdminFilterer) WatchChainGasAmountUpdated ¶
func (_IAdmin *IAdminFilterer) WatchChainGasAmountUpdated(opts *bind.WatchOpts, sink chan<- *IAdminChainGasAmountUpdated) (event.Subscription, error)
WatchChainGasAmountUpdated is a free log subscription operation binding the contract event 0x5cf09b12f3f56b4c564d51b25b40360af6d795198adb61ae0806a36c294323fa.
Solidity: event ChainGasAmountUpdated(uint256 oldChainGasAmount, uint256 newChainGasAmount)
func (*IAdminFilterer) WatchFeeRateUpdated ¶
func (_IAdmin *IAdminFilterer) WatchFeeRateUpdated(opts *bind.WatchOpts, sink chan<- *IAdminFeeRateUpdated) (event.Subscription, error)
WatchFeeRateUpdated is a free log subscription operation binding the contract event 0x14914da2bf76024616fbe1859783fcd4dbddcb179b1f3a854949fbf920dcb957.
Solidity: event FeeRateUpdated(uint256 oldFeeRate, uint256 newFeeRate)
func (*IAdminFilterer) WatchFeesSwept ¶
func (_IAdmin *IAdminFilterer) WatchFeesSwept(opts *bind.WatchOpts, sink chan<- *IAdminFeesSwept) (event.Subscription, error)
WatchFeesSwept is a free log subscription operation binding the contract event 0x244e51bc38c1452fa8aaf487bcb4bca36c2baa3a5fbdb776b1eabd8dc6d277cd.
Solidity: event FeesSwept(address token, address recipient, uint256 amount)
func (*IAdminFilterer) WatchGovernorAdded ¶
func (_IAdmin *IAdminFilterer) WatchGovernorAdded(opts *bind.WatchOpts, sink chan<- *IAdminGovernorAdded) (event.Subscription, error)
WatchGovernorAdded is a free log subscription operation binding the contract event 0xdc5a48d79e2e147530ff63ecdbed5a5a66adb9d5cf339384d5d076da197c40b5.
Solidity: event GovernorAdded(address governor)
func (*IAdminFilterer) WatchGovernorRemoved ¶
func (_IAdmin *IAdminFilterer) WatchGovernorRemoved(opts *bind.WatchOpts, sink chan<- *IAdminGovernorRemoved) (event.Subscription, error)
WatchGovernorRemoved is a free log subscription operation binding the contract event 0x1ebe834e73d60a5fec822c1e1727d34bc79f2ad977ed504581cc1822fe20fb5b.
Solidity: event GovernorRemoved(address governor)
func (*IAdminFilterer) WatchGuardAdded ¶
func (_IAdmin *IAdminFilterer) WatchGuardAdded(opts *bind.WatchOpts, sink chan<- *IAdminGuardAdded) (event.Subscription, error)
WatchGuardAdded is a free log subscription operation binding the contract event 0x93405f05cd04f0d1bd875f2de00f1f3890484ffd0589248953bdfd29ba7f2f59.
Solidity: event GuardAdded(address guard)
func (*IAdminFilterer) WatchGuardRemoved ¶
func (_IAdmin *IAdminFilterer) WatchGuardRemoved(opts *bind.WatchOpts, sink chan<- *IAdminGuardRemoved) (event.Subscription, error)
WatchGuardRemoved is a free log subscription operation binding the contract event 0x59926e0a78d12238b668b31c8e3f6ece235a59a00ede111d883e255b68c4d048.
Solidity: event GuardRemoved(address guard)
func (*IAdminFilterer) WatchRelayerAdded ¶
func (_IAdmin *IAdminFilterer) WatchRelayerAdded(opts *bind.WatchOpts, sink chan<- *IAdminRelayerAdded) (event.Subscription, error)
WatchRelayerAdded is a free log subscription operation binding the contract event 0x03580ee9f53a62b7cb409a2cb56f9be87747dd15017afc5cef6eef321e4fb2c5.
Solidity: event RelayerAdded(address relayer)
func (*IAdminFilterer) WatchRelayerRemoved ¶
func (_IAdmin *IAdminFilterer) WatchRelayerRemoved(opts *bind.WatchOpts, sink chan<- *IAdminRelayerRemoved) (event.Subscription, error)
WatchRelayerRemoved is a free log subscription operation binding the contract event 0x10e1f7ce9fd7d1b90a66d13a2ab3cb8dd7f29f3f8d520b143b063ccfbab6906b.
Solidity: event RelayerRemoved(address relayer)
type IAdminGovernorAdded ¶
type IAdminGovernorAdded struct { Governor common.Address Raw types.Log // Blockchain specific contextual infos }
IAdminGovernorAdded represents a GovernorAdded event raised by the IAdmin contract.
type IAdminGovernorAddedIterator ¶
type IAdminGovernorAddedIterator struct { Event *IAdminGovernorAdded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IAdminGovernorAddedIterator is returned from FilterGovernorAdded and is used to iterate over the raw logs and unpacked data for GovernorAdded events raised by the IAdmin contract.
func (*IAdminGovernorAddedIterator) Close ¶
func (it *IAdminGovernorAddedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IAdminGovernorAddedIterator) Error ¶
func (it *IAdminGovernorAddedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IAdminGovernorAddedIterator) Next ¶
func (it *IAdminGovernorAddedIterator) 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 IAdminGovernorRemoved ¶
type IAdminGovernorRemoved struct { Governor common.Address Raw types.Log // Blockchain specific contextual infos }
IAdminGovernorRemoved represents a GovernorRemoved event raised by the IAdmin contract.
type IAdminGovernorRemovedIterator ¶
type IAdminGovernorRemovedIterator struct { Event *IAdminGovernorRemoved // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IAdminGovernorRemovedIterator is returned from FilterGovernorRemoved and is used to iterate over the raw logs and unpacked data for GovernorRemoved events raised by the IAdmin contract.
func (*IAdminGovernorRemovedIterator) Close ¶
func (it *IAdminGovernorRemovedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IAdminGovernorRemovedIterator) Error ¶
func (it *IAdminGovernorRemovedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IAdminGovernorRemovedIterator) Next ¶
func (it *IAdminGovernorRemovedIterator) 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 IAdminGuardAdded ¶
type IAdminGuardAdded struct { Guard common.Address Raw types.Log // Blockchain specific contextual infos }
IAdminGuardAdded represents a GuardAdded event raised by the IAdmin contract.
type IAdminGuardAddedIterator ¶
type IAdminGuardAddedIterator struct { Event *IAdminGuardAdded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IAdminGuardAddedIterator is returned from FilterGuardAdded and is used to iterate over the raw logs and unpacked data for GuardAdded events raised by the IAdmin contract.
func (*IAdminGuardAddedIterator) Close ¶
func (it *IAdminGuardAddedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IAdminGuardAddedIterator) Error ¶
func (it *IAdminGuardAddedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IAdminGuardAddedIterator) Next ¶
func (it *IAdminGuardAddedIterator) 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 IAdminGuardRemoved ¶
type IAdminGuardRemoved struct { Guard common.Address Raw types.Log // Blockchain specific contextual infos }
IAdminGuardRemoved represents a GuardRemoved event raised by the IAdmin contract.
type IAdminGuardRemovedIterator ¶
type IAdminGuardRemovedIterator struct { Event *IAdminGuardRemoved // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IAdminGuardRemovedIterator is returned from FilterGuardRemoved and is used to iterate over the raw logs and unpacked data for GuardRemoved events raised by the IAdmin contract.
func (*IAdminGuardRemovedIterator) Close ¶
func (it *IAdminGuardRemovedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IAdminGuardRemovedIterator) Error ¶
func (it *IAdminGuardRemovedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IAdminGuardRemovedIterator) Next ¶
func (it *IAdminGuardRemovedIterator) 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 IAdminRaw ¶
type IAdminRaw struct {
Contract *IAdmin // Generic contract binding to access the raw methods on
}
IAdminRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*IAdminRaw) Call ¶
func (_IAdmin *IAdminRaw) 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 (*IAdminRaw) Transact ¶
func (_IAdmin *IAdminRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IAdminRaw) Transfer ¶
func (_IAdmin *IAdminRaw) 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 IAdminRelayerAdded ¶
type IAdminRelayerAdded struct { Relayer common.Address Raw types.Log // Blockchain specific contextual infos }
IAdminRelayerAdded represents a RelayerAdded event raised by the IAdmin contract.
type IAdminRelayerAddedIterator ¶
type IAdminRelayerAddedIterator struct { Event *IAdminRelayerAdded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IAdminRelayerAddedIterator is returned from FilterRelayerAdded and is used to iterate over the raw logs and unpacked data for RelayerAdded events raised by the IAdmin contract.
func (*IAdminRelayerAddedIterator) Close ¶
func (it *IAdminRelayerAddedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IAdminRelayerAddedIterator) Error ¶
func (it *IAdminRelayerAddedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IAdminRelayerAddedIterator) Next ¶
func (it *IAdminRelayerAddedIterator) 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 IAdminRelayerRemoved ¶
type IAdminRelayerRemoved struct { Relayer common.Address Raw types.Log // Blockchain specific contextual infos }
IAdminRelayerRemoved represents a RelayerRemoved event raised by the IAdmin contract.
type IAdminRelayerRemovedIterator ¶
type IAdminRelayerRemovedIterator struct { Event *IAdminRelayerRemoved // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IAdminRelayerRemovedIterator is returned from FilterRelayerRemoved and is used to iterate over the raw logs and unpacked data for RelayerRemoved events raised by the IAdmin contract.
func (*IAdminRelayerRemovedIterator) Close ¶
func (it *IAdminRelayerRemovedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IAdminRelayerRemovedIterator) Error ¶
func (it *IAdminRelayerRemovedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IAdminRelayerRemovedIterator) Next ¶
func (it *IAdminRelayerRemovedIterator) 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 IAdminSession ¶
type IAdminSession struct { Contract *IAdmin // 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 }
IAdminSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*IAdminSession) AddGovernor ¶
func (_IAdmin *IAdminSession) AddGovernor(_governor common.Address) (*types.Transaction, error)
AddGovernor is a paid mutator transaction binding the contract method 0x3c4a25d0.
Solidity: function addGovernor(address _governor) returns()
func (*IAdminSession) AddGuard ¶
func (_IAdmin *IAdminSession) AddGuard(_guard common.Address) (*types.Transaction, error)
AddGuard is a paid mutator transaction binding the contract method 0x6913a63c.
Solidity: function addGuard(address _guard) returns()
func (*IAdminSession) AddRelayer ¶
func (_IAdmin *IAdminSession) AddRelayer(_relayer common.Address) (*types.Transaction, error)
AddRelayer is a paid mutator transaction binding the contract method 0xdd39f00d.
Solidity: function addRelayer(address _relayer) returns()
func (*IAdminSession) RemoveGovernor ¶
func (_IAdmin *IAdminSession) RemoveGovernor(_governor common.Address) (*types.Transaction, error)
RemoveGovernor is a paid mutator transaction binding the contract method 0xeecdac88.
Solidity: function removeGovernor(address _governor) returns()
func (*IAdminSession) RemoveGuard ¶
func (_IAdmin *IAdminSession) RemoveGuard(_guard common.Address) (*types.Transaction, error)
RemoveGuard is a paid mutator transaction binding the contract method 0xb6235016.
Solidity: function removeGuard(address _guard) returns()
func (*IAdminSession) RemoveRelayer ¶
func (_IAdmin *IAdminSession) RemoveRelayer(_relayer common.Address) (*types.Transaction, error)
RemoveRelayer is a paid mutator transaction binding the contract method 0x60f0a5ac.
Solidity: function removeRelayer(address _relayer) returns()
func (*IAdminSession) SetChainGasAmount ¶
func (_IAdmin *IAdminSession) SetChainGasAmount(newChainGasAmount *big.Int) (*types.Transaction, error)
SetChainGasAmount is a paid mutator transaction binding the contract method 0xb250fe6b.
Solidity: function setChainGasAmount(uint256 newChainGasAmount) returns()
func (*IAdminSession) SetProtocolFeeRate ¶
func (_IAdmin *IAdminSession) SetProtocolFeeRate(newFeeRate *big.Int) (*types.Transaction, error)
SetProtocolFeeRate is a paid mutator transaction binding the contract method 0xb13aa2d6.
Solidity: function setProtocolFeeRate(uint256 newFeeRate) returns()
func (*IAdminSession) SweepProtocolFees ¶
func (_IAdmin *IAdminSession) SweepProtocolFees(token common.Address, recipient common.Address) (*types.Transaction, error)
SweepProtocolFees is a paid mutator transaction binding the contract method 0x06f333f2.
Solidity: function sweepProtocolFees(address token, address recipient) returns()
type IAdminTransactor ¶
type IAdminTransactor struct {
// contains filtered or unexported fields
}
IAdminTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewIAdminTransactor ¶
func NewIAdminTransactor(address common.Address, transactor bind.ContractTransactor) (*IAdminTransactor, error)
NewIAdminTransactor creates a new write-only instance of IAdmin, bound to a specific deployed contract.
func (*IAdminTransactor) AddGovernor ¶
func (_IAdmin *IAdminTransactor) AddGovernor(opts *bind.TransactOpts, _governor common.Address) (*types.Transaction, error)
AddGovernor is a paid mutator transaction binding the contract method 0x3c4a25d0.
Solidity: function addGovernor(address _governor) returns()
func (*IAdminTransactor) AddGuard ¶
func (_IAdmin *IAdminTransactor) AddGuard(opts *bind.TransactOpts, _guard common.Address) (*types.Transaction, error)
AddGuard is a paid mutator transaction binding the contract method 0x6913a63c.
Solidity: function addGuard(address _guard) returns()
func (*IAdminTransactor) AddRelayer ¶
func (_IAdmin *IAdminTransactor) AddRelayer(opts *bind.TransactOpts, _relayer common.Address) (*types.Transaction, error)
AddRelayer is a paid mutator transaction binding the contract method 0xdd39f00d.
Solidity: function addRelayer(address _relayer) returns()
func (*IAdminTransactor) RemoveGovernor ¶
func (_IAdmin *IAdminTransactor) RemoveGovernor(opts *bind.TransactOpts, _governor common.Address) (*types.Transaction, error)
RemoveGovernor is a paid mutator transaction binding the contract method 0xeecdac88.
Solidity: function removeGovernor(address _governor) returns()
func (*IAdminTransactor) RemoveGuard ¶
func (_IAdmin *IAdminTransactor) RemoveGuard(opts *bind.TransactOpts, _guard common.Address) (*types.Transaction, error)
RemoveGuard is a paid mutator transaction binding the contract method 0xb6235016.
Solidity: function removeGuard(address _guard) returns()
func (*IAdminTransactor) RemoveRelayer ¶
func (_IAdmin *IAdminTransactor) RemoveRelayer(opts *bind.TransactOpts, _relayer common.Address) (*types.Transaction, error)
RemoveRelayer is a paid mutator transaction binding the contract method 0x60f0a5ac.
Solidity: function removeRelayer(address _relayer) returns()
func (*IAdminTransactor) SetChainGasAmount ¶
func (_IAdmin *IAdminTransactor) SetChainGasAmount(opts *bind.TransactOpts, newChainGasAmount *big.Int) (*types.Transaction, error)
SetChainGasAmount is a paid mutator transaction binding the contract method 0xb250fe6b.
Solidity: function setChainGasAmount(uint256 newChainGasAmount) returns()
func (*IAdminTransactor) SetProtocolFeeRate ¶
func (_IAdmin *IAdminTransactor) SetProtocolFeeRate(opts *bind.TransactOpts, newFeeRate *big.Int) (*types.Transaction, error)
SetProtocolFeeRate is a paid mutator transaction binding the contract method 0xb13aa2d6.
Solidity: function setProtocolFeeRate(uint256 newFeeRate) returns()
func (*IAdminTransactor) SweepProtocolFees ¶
func (_IAdmin *IAdminTransactor) SweepProtocolFees(opts *bind.TransactOpts, token common.Address, recipient common.Address) (*types.Transaction, error)
SweepProtocolFees is a paid mutator transaction binding the contract method 0x06f333f2.
Solidity: function sweepProtocolFees(address token, address recipient) returns()
type IAdminTransactorRaw ¶
type IAdminTransactorRaw struct {
Contract *IAdminTransactor // Generic write-only contract binding to access the raw methods on
}
IAdminTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*IAdminTransactorRaw) Transact ¶
func (_IAdmin *IAdminTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IAdminTransactorRaw) Transfer ¶
func (_IAdmin *IAdminTransactorRaw) 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 IAdminTransactorSession ¶
type IAdminTransactorSession struct { Contract *IAdminTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
IAdminTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*IAdminTransactorSession) AddGovernor ¶
func (_IAdmin *IAdminTransactorSession) AddGovernor(_governor common.Address) (*types.Transaction, error)
AddGovernor is a paid mutator transaction binding the contract method 0x3c4a25d0.
Solidity: function addGovernor(address _governor) returns()
func (*IAdminTransactorSession) AddGuard ¶
func (_IAdmin *IAdminTransactorSession) AddGuard(_guard common.Address) (*types.Transaction, error)
AddGuard is a paid mutator transaction binding the contract method 0x6913a63c.
Solidity: function addGuard(address _guard) returns()
func (*IAdminTransactorSession) AddRelayer ¶
func (_IAdmin *IAdminTransactorSession) AddRelayer(_relayer common.Address) (*types.Transaction, error)
AddRelayer is a paid mutator transaction binding the contract method 0xdd39f00d.
Solidity: function addRelayer(address _relayer) returns()
func (*IAdminTransactorSession) RemoveGovernor ¶
func (_IAdmin *IAdminTransactorSession) RemoveGovernor(_governor common.Address) (*types.Transaction, error)
RemoveGovernor is a paid mutator transaction binding the contract method 0xeecdac88.
Solidity: function removeGovernor(address _governor) returns()
func (*IAdminTransactorSession) RemoveGuard ¶
func (_IAdmin *IAdminTransactorSession) RemoveGuard(_guard common.Address) (*types.Transaction, error)
RemoveGuard is a paid mutator transaction binding the contract method 0xb6235016.
Solidity: function removeGuard(address _guard) returns()
func (*IAdminTransactorSession) RemoveRelayer ¶
func (_IAdmin *IAdminTransactorSession) RemoveRelayer(_relayer common.Address) (*types.Transaction, error)
RemoveRelayer is a paid mutator transaction binding the contract method 0x60f0a5ac.
Solidity: function removeRelayer(address _relayer) returns()
func (*IAdminTransactorSession) SetChainGasAmount ¶
func (_IAdmin *IAdminTransactorSession) SetChainGasAmount(newChainGasAmount *big.Int) (*types.Transaction, error)
SetChainGasAmount is a paid mutator transaction binding the contract method 0xb250fe6b.
Solidity: function setChainGasAmount(uint256 newChainGasAmount) returns()
func (*IAdminTransactorSession) SetProtocolFeeRate ¶
func (_IAdmin *IAdminTransactorSession) SetProtocolFeeRate(newFeeRate *big.Int) (*types.Transaction, error)
SetProtocolFeeRate is a paid mutator transaction binding the contract method 0xb13aa2d6.
Solidity: function setProtocolFeeRate(uint256 newFeeRate) returns()
func (*IAdminTransactorSession) SweepProtocolFees ¶
func (_IAdmin *IAdminTransactorSession) SweepProtocolFees(token common.Address, recipient common.Address) (*types.Transaction, error)
SweepProtocolFees is a paid mutator transaction binding the contract method 0x06f333f2.
Solidity: function sweepProtocolFees(address token, address recipient) returns()
type IERC165 ¶
type IERC165 struct { IERC165Caller // Read-only binding to the contract IERC165Transactor // Write-only binding to the contract IERC165Filterer // Log filterer for contract events }
IERC165 is an auto generated Go binding around an Ethereum contract.
func NewIERC165 ¶
NewIERC165 creates a new instance of IERC165, bound to a specific deployed contract.
type IERC165Caller ¶
type IERC165Caller struct {
// contains filtered or unexported fields
}
IERC165Caller is an auto generated read-only Go binding around an Ethereum contract.
func NewIERC165Caller ¶
func NewIERC165Caller(address common.Address, caller bind.ContractCaller) (*IERC165Caller, error)
NewIERC165Caller creates a new read-only instance of IERC165, bound to a specific deployed contract.
func (*IERC165Caller) SupportsInterface ¶
func (_IERC165 *IERC165Caller) 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 IERC165CallerRaw ¶
type IERC165CallerRaw struct {
Contract *IERC165Caller // Generic read-only contract binding to access the raw methods on
}
IERC165CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*IERC165CallerRaw) Call ¶
func (_IERC165 *IERC165CallerRaw) 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 IERC165CallerSession ¶
type IERC165CallerSession struct { Contract *IERC165Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
IERC165CallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*IERC165CallerSession) SupportsInterface ¶
func (_IERC165 *IERC165CallerSession) 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 IERC165Filterer ¶
type IERC165Filterer struct {
// contains filtered or unexported fields
}
IERC165Filterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewIERC165Filterer ¶
func NewIERC165Filterer(address common.Address, filterer bind.ContractFilterer) (*IERC165Filterer, error)
NewIERC165Filterer creates a new log filterer instance of IERC165, bound to a specific deployed contract.
type IERC165Raw ¶
type IERC165Raw struct {
Contract *IERC165 // Generic contract binding to access the raw methods on
}
IERC165Raw is an auto generated low-level Go binding around an Ethereum contract.
func (*IERC165Raw) Call ¶
func (_IERC165 *IERC165Raw) 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 (*IERC165Raw) Transact ¶
func (_IERC165 *IERC165Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IERC165Raw) Transfer ¶
func (_IERC165 *IERC165Raw) 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 IERC165Session ¶
type IERC165Session struct { Contract *IERC165 // 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 }
IERC165Session is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*IERC165Session) SupportsInterface ¶
func (_IERC165 *IERC165Session) 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 IERC165Transactor ¶
type IERC165Transactor struct {
// contains filtered or unexported fields
}
IERC165Transactor is an auto generated write-only Go binding around an Ethereum contract.
func NewIERC165Transactor ¶
func NewIERC165Transactor(address common.Address, transactor bind.ContractTransactor) (*IERC165Transactor, error)
NewIERC165Transactor creates a new write-only instance of IERC165, bound to a specific deployed contract.
type IERC165TransactorRaw ¶
type IERC165TransactorRaw struct {
Contract *IERC165Transactor // Generic write-only contract binding to access the raw methods on
}
IERC165TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*IERC165TransactorRaw) Transact ¶
func (_IERC165 *IERC165TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IERC165TransactorRaw) Transfer ¶
func (_IERC165 *IERC165TransactorRaw) 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 IERC165TransactorSession ¶
type IERC165TransactorSession struct { Contract *IERC165Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
IERC165TransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type IERC20 ¶
type IERC20 struct { IERC20Caller // Read-only binding to the contract IERC20Transactor // Write-only binding to the contract IERC20Filterer // Log filterer for contract events }
IERC20 is an auto generated Go binding around an Ethereum contract.
type IERC20Approval ¶
type IERC20Approval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
IERC20Approval represents a Approval event raised by the IERC20 contract.
type IERC20ApprovalIterator ¶
type IERC20ApprovalIterator struct { Event *IERC20Approval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IERC20ApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the IERC20 contract.
func (*IERC20ApprovalIterator) Close ¶
func (it *IERC20ApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IERC20ApprovalIterator) Error ¶
func (it *IERC20ApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IERC20ApprovalIterator) Next ¶
func (it *IERC20ApprovalIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type IERC20Caller ¶
type IERC20Caller struct {
// contains filtered or unexported fields
}
IERC20Caller is an auto generated read-only Go binding around an Ethereum contract.
func NewIERC20Caller ¶
func NewIERC20Caller(address common.Address, caller bind.ContractCaller) (*IERC20Caller, error)
NewIERC20Caller creates a new read-only instance of IERC20, bound to a specific deployed contract.
func (*IERC20Caller) Allowance ¶
func (_IERC20 *IERC20Caller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address owner, address spender) view returns(uint256)
func (*IERC20Caller) BalanceOf ¶
func (_IERC20 *IERC20Caller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*IERC20Caller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type IERC20CallerRaw ¶
type IERC20CallerRaw struct {
Contract *IERC20Caller // Generic read-only contract binding to access the raw methods on
}
IERC20CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*IERC20CallerRaw) Call ¶
func (_IERC20 *IERC20CallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
type IERC20CallerSession ¶
type IERC20CallerSession struct { Contract *IERC20Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
IERC20CallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*IERC20CallerSession) Allowance ¶
func (_IERC20 *IERC20CallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address owner, address spender) view returns(uint256)
func (*IERC20CallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*IERC20CallerSession) TotalSupply ¶
func (_IERC20 *IERC20CallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type IERC20Filterer ¶
type IERC20Filterer struct {
// contains filtered or unexported fields
}
IERC20Filterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewIERC20Filterer ¶
func NewIERC20Filterer(address common.Address, filterer bind.ContractFilterer) (*IERC20Filterer, error)
NewIERC20Filterer creates a new log filterer instance of IERC20, bound to a specific deployed contract.
func (*IERC20Filterer) FilterApproval ¶
func (_IERC20 *IERC20Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*IERC20ApprovalIterator, error)
FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*IERC20Filterer) FilterTransfer ¶
func (_IERC20 *IERC20Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*IERC20TransferIterator, error)
FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*IERC20Filterer) ParseApproval ¶
func (_IERC20 *IERC20Filterer) ParseApproval(log types.Log) (*IERC20Approval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*IERC20Filterer) ParseTransfer ¶
func (_IERC20 *IERC20Filterer) ParseTransfer(log types.Log) (*IERC20Transfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*IERC20Filterer) WatchApproval ¶
func (_IERC20 *IERC20Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *IERC20Approval, owner []common.Address, spender []common.Address) (event.Subscription, error)
WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*IERC20Filterer) WatchTransfer ¶
func (_IERC20 *IERC20Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *IERC20Transfer, from []common.Address, to []common.Address) (event.Subscription, error)
WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
type IERC20Permit ¶
type IERC20Permit struct { IERC20PermitCaller // Read-only binding to the contract IERC20PermitTransactor // Write-only binding to the contract IERC20PermitFilterer // Log filterer for contract events }
IERC20Permit is an auto generated Go binding around an Ethereum contract.
func NewIERC20Permit ¶
func NewIERC20Permit(address common.Address, backend bind.ContractBackend) (*IERC20Permit, error)
NewIERC20Permit creates a new instance of IERC20Permit, bound to a specific deployed contract.
type IERC20PermitCaller ¶
type IERC20PermitCaller struct {
// contains filtered or unexported fields
}
IERC20PermitCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewIERC20PermitCaller ¶
func NewIERC20PermitCaller(address common.Address, caller bind.ContractCaller) (*IERC20PermitCaller, error)
NewIERC20PermitCaller creates a new read-only instance of IERC20Permit, bound to a specific deployed contract.
func (*IERC20PermitCaller) DOMAINSEPARATOR ¶
func (_IERC20Permit *IERC20PermitCaller) DOMAINSEPARATOR(opts *bind.CallOpts) ([32]byte, error)
DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.
Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)
type IERC20PermitCallerRaw ¶
type IERC20PermitCallerRaw struct {
Contract *IERC20PermitCaller // Generic read-only contract binding to access the raw methods on
}
IERC20PermitCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*IERC20PermitCallerRaw) Call ¶
func (_IERC20Permit *IERC20PermitCallerRaw) 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 IERC20PermitCallerSession ¶
type IERC20PermitCallerSession struct { Contract *IERC20PermitCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
IERC20PermitCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*IERC20PermitCallerSession) DOMAINSEPARATOR ¶
func (_IERC20Permit *IERC20PermitCallerSession) DOMAINSEPARATOR() ([32]byte, error)
DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.
Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)
type IERC20PermitFilterer ¶
type IERC20PermitFilterer struct {
// contains filtered or unexported fields
}
IERC20PermitFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewIERC20PermitFilterer ¶
func NewIERC20PermitFilterer(address common.Address, filterer bind.ContractFilterer) (*IERC20PermitFilterer, error)
NewIERC20PermitFilterer creates a new log filterer instance of IERC20Permit, bound to a specific deployed contract.
type IERC20PermitRaw ¶
type IERC20PermitRaw struct {
Contract *IERC20Permit // Generic contract binding to access the raw methods on
}
IERC20PermitRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*IERC20PermitRaw) Call ¶
func (_IERC20Permit *IERC20PermitRaw) 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 (*IERC20PermitRaw) Transact ¶
func (_IERC20Permit *IERC20PermitRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IERC20PermitRaw) Transfer ¶
func (_IERC20Permit *IERC20PermitRaw) 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 IERC20PermitSession ¶
type IERC20PermitSession struct { Contract *IERC20Permit // 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 }
IERC20PermitSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*IERC20PermitSession) DOMAINSEPARATOR ¶
func (_IERC20Permit *IERC20PermitSession) DOMAINSEPARATOR() ([32]byte, error)
DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.
Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)
func (*IERC20PermitSession) Nonces ¶
Nonces is a free data retrieval call binding the contract method 0x7ecebe00.
Solidity: function nonces(address owner) view returns(uint256)
func (*IERC20PermitSession) Permit ¶
func (_IERC20Permit *IERC20PermitSession) Permit(owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
Permit is a paid mutator transaction binding the contract method 0xd505accf.
Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()
type IERC20PermitTransactor ¶
type IERC20PermitTransactor struct {
// contains filtered or unexported fields
}
IERC20PermitTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewIERC20PermitTransactor ¶
func NewIERC20PermitTransactor(address common.Address, transactor bind.ContractTransactor) (*IERC20PermitTransactor, error)
NewIERC20PermitTransactor creates a new write-only instance of IERC20Permit, bound to a specific deployed contract.
func (*IERC20PermitTransactor) Permit ¶
func (_IERC20Permit *IERC20PermitTransactor) Permit(opts *bind.TransactOpts, owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
Permit is a paid mutator transaction binding the contract method 0xd505accf.
Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()
type IERC20PermitTransactorRaw ¶
type IERC20PermitTransactorRaw struct {
Contract *IERC20PermitTransactor // Generic write-only contract binding to access the raw methods on
}
IERC20PermitTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*IERC20PermitTransactorRaw) Transact ¶
func (_IERC20Permit *IERC20PermitTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IERC20PermitTransactorRaw) Transfer ¶
func (_IERC20Permit *IERC20PermitTransactorRaw) 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 IERC20PermitTransactorSession ¶
type IERC20PermitTransactorSession struct { Contract *IERC20PermitTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
IERC20PermitTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*IERC20PermitTransactorSession) Permit ¶
func (_IERC20Permit *IERC20PermitTransactorSession) Permit(owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
Permit is a paid mutator transaction binding the contract method 0xd505accf.
Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()
type IERC20Raw ¶
type IERC20Raw struct {
Contract *IERC20 // Generic contract binding to access the raw methods on
}
IERC20Raw is an auto generated low-level Go binding around an Ethereum contract.
func (*IERC20Raw) Call ¶
func (_IERC20 *IERC20Raw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
func (*IERC20Raw) Transact ¶
func (_IERC20 *IERC20Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IERC20Raw) Transfer ¶
func (_IERC20 *IERC20Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type IERC20Session ¶
type IERC20Session struct { Contract *IERC20 // Generic contract binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
IERC20Session is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*IERC20Session) Allowance ¶
func (_IERC20 *IERC20Session) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address owner, address spender) view returns(uint256)
func (*IERC20Session) Approve ¶
func (_IERC20 *IERC20Session) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 value) returns(bool)
func (*IERC20Session) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*IERC20Session) TotalSupply ¶
func (_IERC20 *IERC20Session) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*IERC20Session) Transfer ¶
func (_IERC20 *IERC20Session) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 value) returns(bool)
func (*IERC20Session) TransferFrom ¶
func (_IERC20 *IERC20Session) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)
type IERC20Transactor ¶
type IERC20Transactor struct {
// contains filtered or unexported fields
}
IERC20Transactor is an auto generated write-only Go binding around an Ethereum contract.
func NewIERC20Transactor ¶
func NewIERC20Transactor(address common.Address, transactor bind.ContractTransactor) (*IERC20Transactor, error)
NewIERC20Transactor creates a new write-only instance of IERC20, bound to a specific deployed contract.
func (*IERC20Transactor) Approve ¶
func (_IERC20 *IERC20Transactor) Approve(opts *bind.TransactOpts, spender common.Address, value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 value) returns(bool)
func (*IERC20Transactor) Transfer ¶
func (_IERC20 *IERC20Transactor) Transfer(opts *bind.TransactOpts, to common.Address, value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 value) returns(bool)
func (*IERC20Transactor) TransferFrom ¶
func (_IERC20 *IERC20Transactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)
type IERC20TransactorRaw ¶
type IERC20TransactorRaw struct {
Contract *IERC20Transactor // Generic write-only contract binding to access the raw methods on
}
IERC20TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*IERC20TransactorRaw) Transact ¶
func (_IERC20 *IERC20TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IERC20TransactorRaw) Transfer ¶
func (_IERC20 *IERC20TransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type IERC20TransactorSession ¶
type IERC20TransactorSession struct { Contract *IERC20Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
IERC20TransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*IERC20TransactorSession) Approve ¶
func (_IERC20 *IERC20TransactorSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 value) returns(bool)
func (*IERC20TransactorSession) Transfer ¶
func (_IERC20 *IERC20TransactorSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 value) returns(bool)
func (*IERC20TransactorSession) TransferFrom ¶
func (_IERC20 *IERC20TransactorSession) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)
type IERC20Transfer ¶
type IERC20Transfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
IERC20Transfer represents a Transfer event raised by the IERC20 contract.
type IERC20TransferIterator ¶
type IERC20TransferIterator struct { Event *IERC20Transfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IERC20TransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the IERC20 contract.
func (*IERC20TransferIterator) Close ¶
func (it *IERC20TransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IERC20TransferIterator) Error ¶
func (it *IERC20TransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IERC20TransferIterator) Next ¶
func (it *IERC20TransferIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type IFastBridge ¶
type IFastBridge struct { IFastBridgeCaller // Read-only binding to the contract IFastBridgeTransactor // Write-only binding to the contract IFastBridgeFilterer // Log filterer for contract events }
IFastBridge is an auto generated Go binding around an Ethereum contract.
func NewIFastBridge ¶
func NewIFastBridge(address common.Address, backend bind.ContractBackend) (*IFastBridge, error)
NewIFastBridge creates a new instance of IFastBridge, bound to a specific deployed contract.
type IFastBridgeBridgeDepositClaimed ¶
type IFastBridgeBridgeDepositClaimed struct { TransactionId [32]byte Relayer common.Address To common.Address Token common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
IFastBridgeBridgeDepositClaimed represents a BridgeDepositClaimed event raised by the IFastBridge contract.
type IFastBridgeBridgeDepositClaimedIterator ¶
type IFastBridgeBridgeDepositClaimedIterator struct { Event *IFastBridgeBridgeDepositClaimed // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IFastBridgeBridgeDepositClaimedIterator is returned from FilterBridgeDepositClaimed and is used to iterate over the raw logs and unpacked data for BridgeDepositClaimed events raised by the IFastBridge contract.
func (*IFastBridgeBridgeDepositClaimedIterator) Close ¶
func (it *IFastBridgeBridgeDepositClaimedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IFastBridgeBridgeDepositClaimedIterator) Error ¶
func (it *IFastBridgeBridgeDepositClaimedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IFastBridgeBridgeDepositClaimedIterator) Next ¶
func (it *IFastBridgeBridgeDepositClaimedIterator) 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 IFastBridgeBridgeDepositRefunded ¶
type IFastBridgeBridgeDepositRefunded struct { TransactionId [32]byte To common.Address Token common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
IFastBridgeBridgeDepositRefunded represents a BridgeDepositRefunded event raised by the IFastBridge contract.
type IFastBridgeBridgeDepositRefundedIterator ¶
type IFastBridgeBridgeDepositRefundedIterator struct { Event *IFastBridgeBridgeDepositRefunded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IFastBridgeBridgeDepositRefundedIterator is returned from FilterBridgeDepositRefunded and is used to iterate over the raw logs and unpacked data for BridgeDepositRefunded events raised by the IFastBridge contract.
func (*IFastBridgeBridgeDepositRefundedIterator) Close ¶
func (it *IFastBridgeBridgeDepositRefundedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IFastBridgeBridgeDepositRefundedIterator) Error ¶
func (it *IFastBridgeBridgeDepositRefundedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IFastBridgeBridgeDepositRefundedIterator) Next ¶
func (it *IFastBridgeBridgeDepositRefundedIterator) 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 IFastBridgeBridgeParams ¶
type IFastBridgeBridgeParams struct { DstChainId uint32 Sender common.Address To common.Address OriginToken common.Address DestToken common.Address OriginAmount *big.Int DestAmount *big.Int SendChainGas bool Deadline *big.Int }
IFastBridgeBridgeParams is an auto generated low-level Go binding around an user-defined struct.
type IFastBridgeBridgeProofDisputed ¶
type IFastBridgeBridgeProofDisputed struct { TransactionId [32]byte Relayer common.Address Raw types.Log // Blockchain specific contextual infos }
IFastBridgeBridgeProofDisputed represents a BridgeProofDisputed event raised by the IFastBridge contract.
type IFastBridgeBridgeProofDisputedIterator ¶
type IFastBridgeBridgeProofDisputedIterator struct { Event *IFastBridgeBridgeProofDisputed // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IFastBridgeBridgeProofDisputedIterator is returned from FilterBridgeProofDisputed and is used to iterate over the raw logs and unpacked data for BridgeProofDisputed events raised by the IFastBridge contract.
func (*IFastBridgeBridgeProofDisputedIterator) Close ¶
func (it *IFastBridgeBridgeProofDisputedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IFastBridgeBridgeProofDisputedIterator) Error ¶
func (it *IFastBridgeBridgeProofDisputedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IFastBridgeBridgeProofDisputedIterator) Next ¶
func (it *IFastBridgeBridgeProofDisputedIterator) 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 IFastBridgeBridgeProofProvided ¶
type IFastBridgeBridgeProofProvided struct { TransactionId [32]byte Relayer common.Address TransactionHash [32]byte Raw types.Log // Blockchain specific contextual infos }
IFastBridgeBridgeProofProvided represents a BridgeProofProvided event raised by the IFastBridge contract.
type IFastBridgeBridgeProofProvidedIterator ¶
type IFastBridgeBridgeProofProvidedIterator struct { Event *IFastBridgeBridgeProofProvided // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IFastBridgeBridgeProofProvidedIterator is returned from FilterBridgeProofProvided and is used to iterate over the raw logs and unpacked data for BridgeProofProvided events raised by the IFastBridge contract.
func (*IFastBridgeBridgeProofProvidedIterator) Close ¶
func (it *IFastBridgeBridgeProofProvidedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IFastBridgeBridgeProofProvidedIterator) Error ¶
func (it *IFastBridgeBridgeProofProvidedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IFastBridgeBridgeProofProvidedIterator) Next ¶
func (it *IFastBridgeBridgeProofProvidedIterator) 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 IFastBridgeBridgeRelayed ¶
type IFastBridgeBridgeRelayed struct { TransactionId [32]byte Relayer common.Address To common.Address Token common.Address Amount *big.Int ChainGasAmount *big.Int Raw types.Log // Blockchain specific contextual infos }
IFastBridgeBridgeRelayed represents a BridgeRelayed event raised by the IFastBridge contract.
type IFastBridgeBridgeRelayedIterator ¶
type IFastBridgeBridgeRelayedIterator struct { Event *IFastBridgeBridgeRelayed // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IFastBridgeBridgeRelayedIterator is returned from FilterBridgeRelayed and is used to iterate over the raw logs and unpacked data for BridgeRelayed events raised by the IFastBridge contract.
func (*IFastBridgeBridgeRelayedIterator) Close ¶
func (it *IFastBridgeBridgeRelayedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IFastBridgeBridgeRelayedIterator) Error ¶
func (it *IFastBridgeBridgeRelayedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IFastBridgeBridgeRelayedIterator) Next ¶
func (it *IFastBridgeBridgeRelayedIterator) 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 IFastBridgeBridgeRequested ¶
type IFastBridgeBridgeRequested struct { TransactionId [32]byte Sender common.Address Request []byte Raw types.Log // Blockchain specific contextual infos }
IFastBridgeBridgeRequested represents a BridgeRequested event raised by the IFastBridge contract.
type IFastBridgeBridgeRequestedIterator ¶
type IFastBridgeBridgeRequestedIterator struct { Event *IFastBridgeBridgeRequested // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IFastBridgeBridgeRequestedIterator is returned from FilterBridgeRequested and is used to iterate over the raw logs and unpacked data for BridgeRequested events raised by the IFastBridge contract.
func (*IFastBridgeBridgeRequestedIterator) Close ¶
func (it *IFastBridgeBridgeRequestedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IFastBridgeBridgeRequestedIterator) Error ¶
func (it *IFastBridgeBridgeRequestedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IFastBridgeBridgeRequestedIterator) Next ¶
func (it *IFastBridgeBridgeRequestedIterator) 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 IFastBridgeBridgeTransaction ¶
type IFastBridgeBridgeTransaction struct { OriginChainId uint32 DestChainId uint32 OriginSender common.Address DestRecipient common.Address OriginToken common.Address DestToken common.Address OriginAmount *big.Int DestAmount *big.Int OriginFeeAmount *big.Int SendChainGas bool Deadline *big.Int Nonce *big.Int }
IFastBridgeBridgeTransaction is an auto generated low-level Go binding around an user-defined struct.
type IFastBridgeCaller ¶
type IFastBridgeCaller struct {
// contains filtered or unexported fields
}
IFastBridgeCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewIFastBridgeCaller ¶
func NewIFastBridgeCaller(address common.Address, caller bind.ContractCaller) (*IFastBridgeCaller, error)
NewIFastBridgeCaller creates a new read-only instance of IFastBridge, bound to a specific deployed contract.
func (*IFastBridgeCaller) CanClaim ¶
func (_IFastBridge *IFastBridgeCaller) CanClaim(opts *bind.CallOpts, transactionId [32]byte, relayer common.Address) (bool, error)
CanClaim is a free data retrieval call binding the contract method 0xaa9641ab.
Solidity: function canClaim(bytes32 transactionId, address relayer) view returns(bool)
func (*IFastBridgeCaller) GetBridgeTransaction ¶
func (_IFastBridge *IFastBridgeCaller) GetBridgeTransaction(opts *bind.CallOpts, request []byte) (IFastBridgeBridgeTransaction, error)
GetBridgeTransaction is a free data retrieval call binding the contract method 0xac11fb1a.
Solidity: function getBridgeTransaction(bytes request) pure returns((uint32,uint32,address,address,address,address,uint256,uint256,uint256,bool,uint256,uint256))
type IFastBridgeCallerRaw ¶
type IFastBridgeCallerRaw struct {
Contract *IFastBridgeCaller // Generic read-only contract binding to access the raw methods on
}
IFastBridgeCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*IFastBridgeCallerRaw) Call ¶
func (_IFastBridge *IFastBridgeCallerRaw) 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 IFastBridgeCallerSession ¶
type IFastBridgeCallerSession struct { Contract *IFastBridgeCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
IFastBridgeCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*IFastBridgeCallerSession) CanClaim ¶
func (_IFastBridge *IFastBridgeCallerSession) CanClaim(transactionId [32]byte, relayer common.Address) (bool, error)
CanClaim is a free data retrieval call binding the contract method 0xaa9641ab.
Solidity: function canClaim(bytes32 transactionId, address relayer) view returns(bool)
func (*IFastBridgeCallerSession) GetBridgeTransaction ¶
func (_IFastBridge *IFastBridgeCallerSession) GetBridgeTransaction(request []byte) (IFastBridgeBridgeTransaction, error)
GetBridgeTransaction is a free data retrieval call binding the contract method 0xac11fb1a.
Solidity: function getBridgeTransaction(bytes request) pure returns((uint32,uint32,address,address,address,address,uint256,uint256,uint256,bool,uint256,uint256))
type IFastBridgeFilterer ¶
type IFastBridgeFilterer struct {
// contains filtered or unexported fields
}
IFastBridgeFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewIFastBridgeFilterer ¶
func NewIFastBridgeFilterer(address common.Address, filterer bind.ContractFilterer) (*IFastBridgeFilterer, error)
NewIFastBridgeFilterer creates a new log filterer instance of IFastBridge, bound to a specific deployed contract.
func (*IFastBridgeFilterer) FilterBridgeDepositClaimed ¶
func (_IFastBridge *IFastBridgeFilterer) FilterBridgeDepositClaimed(opts *bind.FilterOpts) (*IFastBridgeBridgeDepositClaimedIterator, error)
FilterBridgeDepositClaimed is a free log retrieval operation binding the contract event 0x582211c35a2139ac3bbaac74663c6a1f56c6cbb658b41fe11fd45a82074ac678.
Solidity: event BridgeDepositClaimed(bytes32 transactionId, address relayer, address to, address token, uint256 amount)
func (*IFastBridgeFilterer) FilterBridgeDepositRefunded ¶
func (_IFastBridge *IFastBridgeFilterer) FilterBridgeDepositRefunded(opts *bind.FilterOpts) (*IFastBridgeBridgeDepositRefundedIterator, error)
FilterBridgeDepositRefunded is a free log retrieval operation binding the contract event 0xb4c55c0c9bc613519b920e88748090150b890a875d307f21bea7d4fb2e8bc958.
Solidity: event BridgeDepositRefunded(bytes32 transactionId, address to, address token, uint256 amount)
func (*IFastBridgeFilterer) FilterBridgeProofDisputed ¶
func (_IFastBridge *IFastBridgeFilterer) FilterBridgeProofDisputed(opts *bind.FilterOpts) (*IFastBridgeBridgeProofDisputedIterator, error)
FilterBridgeProofDisputed is a free log retrieval operation binding the contract event 0x0695cf1d39b3055dcd0fe02d8b47eaf0d5a13e1996de925de59d0ef9b7f7fad4.
Solidity: event BridgeProofDisputed(bytes32 transactionId, address relayer)
func (*IFastBridgeFilterer) FilterBridgeProofProvided ¶
func (_IFastBridge *IFastBridgeFilterer) FilterBridgeProofProvided(opts *bind.FilterOpts) (*IFastBridgeBridgeProofProvidedIterator, error)
FilterBridgeProofProvided is a free log retrieval operation binding the contract event 0x4ac8af8a2cd87193d64dfc7a3b8d9923b714ec528b18725d080aa1299be0c5e4.
Solidity: event BridgeProofProvided(bytes32 transactionId, address relayer, bytes32 transactionHash)
func (*IFastBridgeFilterer) FilterBridgeRelayed ¶
func (_IFastBridge *IFastBridgeFilterer) FilterBridgeRelayed(opts *bind.FilterOpts) (*IFastBridgeBridgeRelayedIterator, error)
FilterBridgeRelayed is a free log retrieval operation binding the contract event 0xf5d0e166883753ed3b66d60c893dda5f6760044b7bba1317907a9385c6620f9b.
Solidity: event BridgeRelayed(bytes32 transactionId, address relayer, address to, address token, uint256 amount, uint256 chainGasAmount)
func (*IFastBridgeFilterer) FilterBridgeRequested ¶
func (_IFastBridge *IFastBridgeFilterer) FilterBridgeRequested(opts *bind.FilterOpts) (*IFastBridgeBridgeRequestedIterator, error)
FilterBridgeRequested is a free log retrieval operation binding the contract event 0x2a8233b619c9d479346e133f609855c0a94d89fbcfa62f846a9f0cfdd1198ccf.
Solidity: event BridgeRequested(bytes32 transactionId, address sender, bytes request)
func (*IFastBridgeFilterer) ParseBridgeDepositClaimed ¶
func (_IFastBridge *IFastBridgeFilterer) ParseBridgeDepositClaimed(log types.Log) (*IFastBridgeBridgeDepositClaimed, error)
ParseBridgeDepositClaimed is a log parse operation binding the contract event 0x582211c35a2139ac3bbaac74663c6a1f56c6cbb658b41fe11fd45a82074ac678.
Solidity: event BridgeDepositClaimed(bytes32 transactionId, address relayer, address to, address token, uint256 amount)
func (*IFastBridgeFilterer) ParseBridgeDepositRefunded ¶
func (_IFastBridge *IFastBridgeFilterer) ParseBridgeDepositRefunded(log types.Log) (*IFastBridgeBridgeDepositRefunded, error)
ParseBridgeDepositRefunded is a log parse operation binding the contract event 0xb4c55c0c9bc613519b920e88748090150b890a875d307f21bea7d4fb2e8bc958.
Solidity: event BridgeDepositRefunded(bytes32 transactionId, address to, address token, uint256 amount)
func (*IFastBridgeFilterer) ParseBridgeProofDisputed ¶
func (_IFastBridge *IFastBridgeFilterer) ParseBridgeProofDisputed(log types.Log) (*IFastBridgeBridgeProofDisputed, error)
ParseBridgeProofDisputed is a log parse operation binding the contract event 0x0695cf1d39b3055dcd0fe02d8b47eaf0d5a13e1996de925de59d0ef9b7f7fad4.
Solidity: event BridgeProofDisputed(bytes32 transactionId, address relayer)
func (*IFastBridgeFilterer) ParseBridgeProofProvided ¶
func (_IFastBridge *IFastBridgeFilterer) ParseBridgeProofProvided(log types.Log) (*IFastBridgeBridgeProofProvided, error)
ParseBridgeProofProvided is a log parse operation binding the contract event 0x4ac8af8a2cd87193d64dfc7a3b8d9923b714ec528b18725d080aa1299be0c5e4.
Solidity: event BridgeProofProvided(bytes32 transactionId, address relayer, bytes32 transactionHash)
func (*IFastBridgeFilterer) ParseBridgeRelayed ¶
func (_IFastBridge *IFastBridgeFilterer) ParseBridgeRelayed(log types.Log) (*IFastBridgeBridgeRelayed, error)
ParseBridgeRelayed is a log parse operation binding the contract event 0xf5d0e166883753ed3b66d60c893dda5f6760044b7bba1317907a9385c6620f9b.
Solidity: event BridgeRelayed(bytes32 transactionId, address relayer, address to, address token, uint256 amount, uint256 chainGasAmount)
func (*IFastBridgeFilterer) ParseBridgeRequested ¶
func (_IFastBridge *IFastBridgeFilterer) ParseBridgeRequested(log types.Log) (*IFastBridgeBridgeRequested, error)
ParseBridgeRequested is a log parse operation binding the contract event 0x2a8233b619c9d479346e133f609855c0a94d89fbcfa62f846a9f0cfdd1198ccf.
Solidity: event BridgeRequested(bytes32 transactionId, address sender, bytes request)
func (*IFastBridgeFilterer) WatchBridgeDepositClaimed ¶
func (_IFastBridge *IFastBridgeFilterer) WatchBridgeDepositClaimed(opts *bind.WatchOpts, sink chan<- *IFastBridgeBridgeDepositClaimed) (event.Subscription, error)
WatchBridgeDepositClaimed is a free log subscription operation binding the contract event 0x582211c35a2139ac3bbaac74663c6a1f56c6cbb658b41fe11fd45a82074ac678.
Solidity: event BridgeDepositClaimed(bytes32 transactionId, address relayer, address to, address token, uint256 amount)
func (*IFastBridgeFilterer) WatchBridgeDepositRefunded ¶
func (_IFastBridge *IFastBridgeFilterer) WatchBridgeDepositRefunded(opts *bind.WatchOpts, sink chan<- *IFastBridgeBridgeDepositRefunded) (event.Subscription, error)
WatchBridgeDepositRefunded is a free log subscription operation binding the contract event 0xb4c55c0c9bc613519b920e88748090150b890a875d307f21bea7d4fb2e8bc958.
Solidity: event BridgeDepositRefunded(bytes32 transactionId, address to, address token, uint256 amount)
func (*IFastBridgeFilterer) WatchBridgeProofDisputed ¶
func (_IFastBridge *IFastBridgeFilterer) WatchBridgeProofDisputed(opts *bind.WatchOpts, sink chan<- *IFastBridgeBridgeProofDisputed) (event.Subscription, error)
WatchBridgeProofDisputed is a free log subscription operation binding the contract event 0x0695cf1d39b3055dcd0fe02d8b47eaf0d5a13e1996de925de59d0ef9b7f7fad4.
Solidity: event BridgeProofDisputed(bytes32 transactionId, address relayer)
func (*IFastBridgeFilterer) WatchBridgeProofProvided ¶
func (_IFastBridge *IFastBridgeFilterer) WatchBridgeProofProvided(opts *bind.WatchOpts, sink chan<- *IFastBridgeBridgeProofProvided) (event.Subscription, error)
WatchBridgeProofProvided is a free log subscription operation binding the contract event 0x4ac8af8a2cd87193d64dfc7a3b8d9923b714ec528b18725d080aa1299be0c5e4.
Solidity: event BridgeProofProvided(bytes32 transactionId, address relayer, bytes32 transactionHash)
func (*IFastBridgeFilterer) WatchBridgeRelayed ¶
func (_IFastBridge *IFastBridgeFilterer) WatchBridgeRelayed(opts *bind.WatchOpts, sink chan<- *IFastBridgeBridgeRelayed) (event.Subscription, error)
WatchBridgeRelayed is a free log subscription operation binding the contract event 0xf5d0e166883753ed3b66d60c893dda5f6760044b7bba1317907a9385c6620f9b.
Solidity: event BridgeRelayed(bytes32 transactionId, address relayer, address to, address token, uint256 amount, uint256 chainGasAmount)
func (*IFastBridgeFilterer) WatchBridgeRequested ¶
func (_IFastBridge *IFastBridgeFilterer) WatchBridgeRequested(opts *bind.WatchOpts, sink chan<- *IFastBridgeBridgeRequested) (event.Subscription, error)
WatchBridgeRequested is a free log subscription operation binding the contract event 0x2a8233b619c9d479346e133f609855c0a94d89fbcfa62f846a9f0cfdd1198ccf.
Solidity: event BridgeRequested(bytes32 transactionId, address sender, bytes request)
type IFastBridgeRaw ¶
type IFastBridgeRaw struct {
Contract *IFastBridge // Generic contract binding to access the raw methods on
}
IFastBridgeRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*IFastBridgeRaw) Call ¶
func (_IFastBridge *IFastBridgeRaw) 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 (*IFastBridgeRaw) Transact ¶
func (_IFastBridge *IFastBridgeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IFastBridgeRaw) Transfer ¶
func (_IFastBridge *IFastBridgeRaw) 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 IFastBridgeSession ¶
type IFastBridgeSession struct { Contract *IFastBridge // 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 }
IFastBridgeSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*IFastBridgeSession) Bridge ¶
func (_IFastBridge *IFastBridgeSession) Bridge(params IFastBridgeBridgeParams) (*types.Transaction, error)
Bridge is a paid mutator transaction binding the contract method 0x45851694.
Solidity: function bridge((uint32,address,address,address,address,uint256,uint256,bool,uint256) params) payable returns()
func (*IFastBridgeSession) CanClaim ¶
func (_IFastBridge *IFastBridgeSession) CanClaim(transactionId [32]byte, relayer common.Address) (bool, error)
CanClaim is a free data retrieval call binding the contract method 0xaa9641ab.
Solidity: function canClaim(bytes32 transactionId, address relayer) view returns(bool)
func (*IFastBridgeSession) Claim ¶
func (_IFastBridge *IFastBridgeSession) Claim(request []byte, to common.Address) (*types.Transaction, error)
Claim is a paid mutator transaction binding the contract method 0x41fcb612.
Solidity: function claim(bytes request, address to) returns()
func (*IFastBridgeSession) Dispute ¶
func (_IFastBridge *IFastBridgeSession) Dispute(transactionId [32]byte) (*types.Transaction, error)
Dispute is a paid mutator transaction binding the contract method 0xadd98c70.
Solidity: function dispute(bytes32 transactionId) returns()
func (*IFastBridgeSession) GetBridgeTransaction ¶
func (_IFastBridge *IFastBridgeSession) GetBridgeTransaction(request []byte) (IFastBridgeBridgeTransaction, error)
GetBridgeTransaction is a free data retrieval call binding the contract method 0xac11fb1a.
Solidity: function getBridgeTransaction(bytes request) pure returns((uint32,uint32,address,address,address,address,uint256,uint256,uint256,bool,uint256,uint256))
func (*IFastBridgeSession) Prove ¶
func (_IFastBridge *IFastBridgeSession) Prove(request []byte, destTxHash [32]byte) (*types.Transaction, error)
Prove is a paid mutator transaction binding the contract method 0x886d36ff.
Solidity: function prove(bytes request, bytes32 destTxHash) returns()
func (*IFastBridgeSession) Refund ¶
func (_IFastBridge *IFastBridgeSession) Refund(request []byte, to common.Address) (*types.Transaction, error)
Refund is a paid mutator transaction binding the contract method 0xef059bd3.
Solidity: function refund(bytes request, address to) returns()
func (*IFastBridgeSession) Relay ¶
func (_IFastBridge *IFastBridgeSession) Relay(request []byte) (*types.Transaction, error)
Relay is a paid mutator transaction binding the contract method 0x8f0d6f17.
Solidity: function relay(bytes request) payable returns()
type IFastBridgeTransactor ¶
type IFastBridgeTransactor struct {
// contains filtered or unexported fields
}
IFastBridgeTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewIFastBridgeTransactor ¶
func NewIFastBridgeTransactor(address common.Address, transactor bind.ContractTransactor) (*IFastBridgeTransactor, error)
NewIFastBridgeTransactor creates a new write-only instance of IFastBridge, bound to a specific deployed contract.
func (*IFastBridgeTransactor) Bridge ¶
func (_IFastBridge *IFastBridgeTransactor) Bridge(opts *bind.TransactOpts, params IFastBridgeBridgeParams) (*types.Transaction, error)
Bridge is a paid mutator transaction binding the contract method 0x45851694.
Solidity: function bridge((uint32,address,address,address,address,uint256,uint256,bool,uint256) params) payable returns()
func (*IFastBridgeTransactor) Claim ¶
func (_IFastBridge *IFastBridgeTransactor) Claim(opts *bind.TransactOpts, request []byte, to common.Address) (*types.Transaction, error)
Claim is a paid mutator transaction binding the contract method 0x41fcb612.
Solidity: function claim(bytes request, address to) returns()
func (*IFastBridgeTransactor) Dispute ¶
func (_IFastBridge *IFastBridgeTransactor) Dispute(opts *bind.TransactOpts, transactionId [32]byte) (*types.Transaction, error)
Dispute is a paid mutator transaction binding the contract method 0xadd98c70.
Solidity: function dispute(bytes32 transactionId) returns()
func (*IFastBridgeTransactor) Prove ¶
func (_IFastBridge *IFastBridgeTransactor) Prove(opts *bind.TransactOpts, request []byte, destTxHash [32]byte) (*types.Transaction, error)
Prove is a paid mutator transaction binding the contract method 0x886d36ff.
Solidity: function prove(bytes request, bytes32 destTxHash) returns()
func (*IFastBridgeTransactor) Refund ¶
func (_IFastBridge *IFastBridgeTransactor) Refund(opts *bind.TransactOpts, request []byte, to common.Address) (*types.Transaction, error)
Refund is a paid mutator transaction binding the contract method 0xef059bd3.
Solidity: function refund(bytes request, address to) returns()
func (*IFastBridgeTransactor) Relay ¶
func (_IFastBridge *IFastBridgeTransactor) Relay(opts *bind.TransactOpts, request []byte) (*types.Transaction, error)
Relay is a paid mutator transaction binding the contract method 0x8f0d6f17.
Solidity: function relay(bytes request) payable returns()
type IFastBridgeTransactorRaw ¶
type IFastBridgeTransactorRaw struct {
Contract *IFastBridgeTransactor // Generic write-only contract binding to access the raw methods on
}
IFastBridgeTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*IFastBridgeTransactorRaw) Transact ¶
func (_IFastBridge *IFastBridgeTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IFastBridgeTransactorRaw) Transfer ¶
func (_IFastBridge *IFastBridgeTransactorRaw) 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 IFastBridgeTransactorSession ¶
type IFastBridgeTransactorSession struct { Contract *IFastBridgeTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
IFastBridgeTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*IFastBridgeTransactorSession) Bridge ¶
func (_IFastBridge *IFastBridgeTransactorSession) Bridge(params IFastBridgeBridgeParams) (*types.Transaction, error)
Bridge is a paid mutator transaction binding the contract method 0x45851694.
Solidity: function bridge((uint32,address,address,address,address,uint256,uint256,bool,uint256) params) payable returns()
func (*IFastBridgeTransactorSession) Claim ¶
func (_IFastBridge *IFastBridgeTransactorSession) Claim(request []byte, to common.Address) (*types.Transaction, error)
Claim is a paid mutator transaction binding the contract method 0x41fcb612.
Solidity: function claim(bytes request, address to) returns()
func (*IFastBridgeTransactorSession) Dispute ¶
func (_IFastBridge *IFastBridgeTransactorSession) Dispute(transactionId [32]byte) (*types.Transaction, error)
Dispute is a paid mutator transaction binding the contract method 0xadd98c70.
Solidity: function dispute(bytes32 transactionId) returns()
func (*IFastBridgeTransactorSession) Prove ¶
func (_IFastBridge *IFastBridgeTransactorSession) Prove(request []byte, destTxHash [32]byte) (*types.Transaction, error)
Prove is a paid mutator transaction binding the contract method 0x886d36ff.
Solidity: function prove(bytes request, bytes32 destTxHash) returns()
func (*IFastBridgeTransactorSession) Refund ¶
func (_IFastBridge *IFastBridgeTransactorSession) Refund(request []byte, to common.Address) (*types.Transaction, error)
Refund is a paid mutator transaction binding the contract method 0xef059bd3.
Solidity: function refund(bytes request, address to) returns()
func (*IFastBridgeTransactorSession) Relay ¶
func (_IFastBridge *IFastBridgeTransactorSession) Relay(request []byte) (*types.Transaction, error)
Relay is a paid mutator transaction binding the contract method 0x8f0d6f17.
Solidity: function relay(bytes request) payable returns()
type Parser ¶
type Parser interface { // ParseEvent parses the event from the log. ParseEvent(log ethTypes.Log) (_ EventType, event interface{}, ok bool) }
Parser parses events from the fastbridge contracat.
type SafeERC20 ¶
type SafeERC20 struct { SafeERC20Caller // Read-only binding to the contract SafeERC20Transactor // Write-only binding to the contract SafeERC20Filterer // Log filterer for contract events }
SafeERC20 is an auto generated Go binding around an Ethereum contract.
func DeploySafeERC20 ¶
func DeploySafeERC20(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *SafeERC20, error)
DeploySafeERC20 deploys a new Ethereum contract, binding an instance of SafeERC20 to it.
func NewSafeERC20 ¶
NewSafeERC20 creates a new instance of SafeERC20, bound to a specific deployed contract.
type SafeERC20Caller ¶
type SafeERC20Caller struct {
// contains filtered or unexported fields
}
SafeERC20Caller is an auto generated read-only Go binding around an Ethereum contract.
func NewSafeERC20Caller ¶
func NewSafeERC20Caller(address common.Address, caller bind.ContractCaller) (*SafeERC20Caller, error)
NewSafeERC20Caller creates a new read-only instance of SafeERC20, bound to a specific deployed contract.
type SafeERC20CallerRaw ¶
type SafeERC20CallerRaw struct {
Contract *SafeERC20Caller // Generic read-only contract binding to access the raw methods on
}
SafeERC20CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*SafeERC20CallerRaw) Call ¶
func (_SafeERC20 *SafeERC20CallerRaw) 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 SafeERC20CallerSession ¶
type SafeERC20CallerSession struct { Contract *SafeERC20Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
SafeERC20CallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type SafeERC20Filterer ¶
type SafeERC20Filterer struct {
// contains filtered or unexported fields
}
SafeERC20Filterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewSafeERC20Filterer ¶
func NewSafeERC20Filterer(address common.Address, filterer bind.ContractFilterer) (*SafeERC20Filterer, error)
NewSafeERC20Filterer creates a new log filterer instance of SafeERC20, bound to a specific deployed contract.
type SafeERC20Raw ¶
type SafeERC20Raw struct {
Contract *SafeERC20 // Generic contract binding to access the raw methods on
}
SafeERC20Raw is an auto generated low-level Go binding around an Ethereum contract.
func (*SafeERC20Raw) Call ¶
func (_SafeERC20 *SafeERC20Raw) 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 (*SafeERC20Raw) Transact ¶
func (_SafeERC20 *SafeERC20Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SafeERC20Raw) Transfer ¶
func (_SafeERC20 *SafeERC20Raw) 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 SafeERC20Session ¶
type SafeERC20Session struct { Contract *SafeERC20 // 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 }
SafeERC20Session is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type SafeERC20Transactor ¶
type SafeERC20Transactor struct {
// contains filtered or unexported fields
}
SafeERC20Transactor is an auto generated write-only Go binding around an Ethereum contract.
func NewSafeERC20Transactor ¶
func NewSafeERC20Transactor(address common.Address, transactor bind.ContractTransactor) (*SafeERC20Transactor, error)
NewSafeERC20Transactor creates a new write-only instance of SafeERC20, bound to a specific deployed contract.
type SafeERC20TransactorRaw ¶
type SafeERC20TransactorRaw struct {
Contract *SafeERC20Transactor // Generic write-only contract binding to access the raw methods on
}
SafeERC20TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*SafeERC20TransactorRaw) Transact ¶
func (_SafeERC20 *SafeERC20TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SafeERC20TransactorRaw) Transfer ¶
func (_SafeERC20 *SafeERC20TransactorRaw) 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 SafeERC20TransactorSession ¶
type SafeERC20TransactorSession struct { Contract *SafeERC20Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
SafeERC20TransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type UniversalTokenLib ¶
type UniversalTokenLib struct { UniversalTokenLibCaller // Read-only binding to the contract UniversalTokenLibTransactor // Write-only binding to the contract UniversalTokenLibFilterer // Log filterer for contract events }
UniversalTokenLib is an auto generated Go binding around an Ethereum contract.
func DeployUniversalTokenLib ¶
func DeployUniversalTokenLib(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *UniversalTokenLib, error)
DeployUniversalTokenLib deploys a new Ethereum contract, binding an instance of UniversalTokenLib to it.
func NewUniversalTokenLib ¶
func NewUniversalTokenLib(address common.Address, backend bind.ContractBackend) (*UniversalTokenLib, error)
NewUniversalTokenLib creates a new instance of UniversalTokenLib, bound to a specific deployed contract.
type UniversalTokenLibCaller ¶
type UniversalTokenLibCaller struct {
// contains filtered or unexported fields
}
UniversalTokenLibCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewUniversalTokenLibCaller ¶
func NewUniversalTokenLibCaller(address common.Address, caller bind.ContractCaller) (*UniversalTokenLibCaller, error)
NewUniversalTokenLibCaller creates a new read-only instance of UniversalTokenLib, bound to a specific deployed contract.
type UniversalTokenLibCallerRaw ¶
type UniversalTokenLibCallerRaw struct {
Contract *UniversalTokenLibCaller // Generic read-only contract binding to access the raw methods on
}
UniversalTokenLibCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*UniversalTokenLibCallerRaw) Call ¶
func (_UniversalTokenLib *UniversalTokenLibCallerRaw) 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 UniversalTokenLibCallerSession ¶
type UniversalTokenLibCallerSession struct { Contract *UniversalTokenLibCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
UniversalTokenLibCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type UniversalTokenLibFilterer ¶
type UniversalTokenLibFilterer struct {
// contains filtered or unexported fields
}
UniversalTokenLibFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewUniversalTokenLibFilterer ¶
func NewUniversalTokenLibFilterer(address common.Address, filterer bind.ContractFilterer) (*UniversalTokenLibFilterer, error)
NewUniversalTokenLibFilterer creates a new log filterer instance of UniversalTokenLib, bound to a specific deployed contract.
type UniversalTokenLibRaw ¶
type UniversalTokenLibRaw struct {
Contract *UniversalTokenLib // Generic contract binding to access the raw methods on
}
UniversalTokenLibRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*UniversalTokenLibRaw) Call ¶
func (_UniversalTokenLib *UniversalTokenLibRaw) 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 (*UniversalTokenLibRaw) Transact ¶
func (_UniversalTokenLib *UniversalTokenLibRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*UniversalTokenLibRaw) Transfer ¶
func (_UniversalTokenLib *UniversalTokenLibRaw) 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 UniversalTokenLibSession ¶
type UniversalTokenLibSession struct { Contract *UniversalTokenLib // 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 }
UniversalTokenLibSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
type UniversalTokenLibTransactor ¶
type UniversalTokenLibTransactor struct {
// contains filtered or unexported fields
}
UniversalTokenLibTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewUniversalTokenLibTransactor ¶
func NewUniversalTokenLibTransactor(address common.Address, transactor bind.ContractTransactor) (*UniversalTokenLibTransactor, error)
NewUniversalTokenLibTransactor creates a new write-only instance of UniversalTokenLib, bound to a specific deployed contract.
type UniversalTokenLibTransactorRaw ¶
type UniversalTokenLibTransactorRaw struct {
Contract *UniversalTokenLibTransactor // Generic write-only contract binding to access the raw methods on
}
UniversalTokenLibTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*UniversalTokenLibTransactorRaw) Transact ¶
func (_UniversalTokenLib *UniversalTokenLibTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*UniversalTokenLibTransactorRaw) Transfer ¶
func (_UniversalTokenLib *UniversalTokenLibTransactorRaw) 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 UniversalTokenLibTransactorSession ¶
type UniversalTokenLibTransactorSession struct { Contract *UniversalTokenLibTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
UniversalTokenLibTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.