Documentation ¶
Index ¶
- Variables
- type ERC20Vault
- type ERC20VaultAdminChanged
- type ERC20VaultAdminChangedIterator
- type ERC20VaultBeaconUpgraded
- type ERC20VaultBeaconUpgradedIterator
- type ERC20VaultBridgeTransferOp
- type ERC20VaultBridgedTokenChanged
- type ERC20VaultBridgedTokenChangedIterator
- type ERC20VaultBridgedTokenDeployed
- type ERC20VaultBridgedTokenDeployedIterator
- type ERC20VaultCaller
- func (_ERC20Vault *ERC20VaultCaller) AddressManager(opts *bind.CallOpts) (common.Address, error)
- func (_ERC20Vault *ERC20VaultCaller) BridgedToCanonical(opts *bind.CallOpts, btoken common.Address) (struct{ ... }, error)
- func (_ERC20Vault *ERC20VaultCaller) BtokenDenylist(opts *bind.CallOpts, btoken common.Address) (bool, error)
- func (_ERC20Vault *ERC20VaultCaller) CanonicalToBridged(opts *bind.CallOpts, chainId *big.Int, ctoken common.Address) (common.Address, error)
- func (_ERC20Vault *ERC20VaultCaller) Impl(opts *bind.CallOpts) (common.Address, error)
- func (_ERC20Vault *ERC20VaultCaller) InNonReentrant(opts *bind.CallOpts) (bool, error)
- func (_ERC20Vault *ERC20VaultCaller) LastMigrationStart(opts *bind.CallOpts, chainId *big.Int, ctoken common.Address) (*big.Int, error)
- func (_ERC20Vault *ERC20VaultCaller) LastUnpausedAt(opts *bind.CallOpts) (uint64, error)
- func (_ERC20Vault *ERC20VaultCaller) MINMIGRATIONDELAY(opts *bind.CallOpts) (*big.Int, error)
- func (_ERC20Vault *ERC20VaultCaller) Name(opts *bind.CallOpts) ([32]byte, error)
- func (_ERC20Vault *ERC20VaultCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_ERC20Vault *ERC20VaultCaller) Paused(opts *bind.CallOpts) (bool, error)
- func (_ERC20Vault *ERC20VaultCaller) PendingOwner(opts *bind.CallOpts) (common.Address, error)
- func (_ERC20Vault *ERC20VaultCaller) ProxiableUUID(opts *bind.CallOpts) ([32]byte, error)
- func (_ERC20Vault *ERC20VaultCaller) Resolve(opts *bind.CallOpts, _chainId uint64, _name [32]byte, _allowZeroAddress bool) (common.Address, error)
- func (_ERC20Vault *ERC20VaultCaller) Resolve0(opts *bind.CallOpts, _name [32]byte, _allowZeroAddress bool) (common.Address, error)
- func (_ERC20Vault *ERC20VaultCaller) SupportsInterface(opts *bind.CallOpts, _interfaceId [4]byte) (bool, error)
- type ERC20VaultCallerRaw
- type ERC20VaultCallerSession
- func (_ERC20Vault *ERC20VaultCallerSession) AddressManager() (common.Address, error)
- func (_ERC20Vault *ERC20VaultCallerSession) BridgedToCanonical(btoken common.Address) (struct{ ... }, error)
- func (_ERC20Vault *ERC20VaultCallerSession) BtokenDenylist(btoken common.Address) (bool, error)
- func (_ERC20Vault *ERC20VaultCallerSession) CanonicalToBridged(chainId *big.Int, ctoken common.Address) (common.Address, error)
- func (_ERC20Vault *ERC20VaultCallerSession) Impl() (common.Address, error)
- func (_ERC20Vault *ERC20VaultCallerSession) InNonReentrant() (bool, error)
- func (_ERC20Vault *ERC20VaultCallerSession) LastMigrationStart(chainId *big.Int, ctoken common.Address) (*big.Int, error)
- func (_ERC20Vault *ERC20VaultCallerSession) LastUnpausedAt() (uint64, error)
- func (_ERC20Vault *ERC20VaultCallerSession) MINMIGRATIONDELAY() (*big.Int, error)
- func (_ERC20Vault *ERC20VaultCallerSession) Name() ([32]byte, error)
- func (_ERC20Vault *ERC20VaultCallerSession) Owner() (common.Address, error)
- func (_ERC20Vault *ERC20VaultCallerSession) Paused() (bool, error)
- func (_ERC20Vault *ERC20VaultCallerSession) PendingOwner() (common.Address, error)
- func (_ERC20Vault *ERC20VaultCallerSession) ProxiableUUID() ([32]byte, error)
- func (_ERC20Vault *ERC20VaultCallerSession) Resolve(_chainId uint64, _name [32]byte, _allowZeroAddress bool) (common.Address, error)
- func (_ERC20Vault *ERC20VaultCallerSession) Resolve0(_name [32]byte, _allowZeroAddress bool) (common.Address, error)
- func (_ERC20Vault *ERC20VaultCallerSession) SupportsInterface(_interfaceId [4]byte) (bool, error)
- type ERC20VaultCanonicalERC20
- type ERC20VaultFilterer
- func (_ERC20Vault *ERC20VaultFilterer) FilterAdminChanged(opts *bind.FilterOpts) (*ERC20VaultAdminChangedIterator, error)
- func (_ERC20Vault *ERC20VaultFilterer) FilterBeaconUpgraded(opts *bind.FilterOpts, beacon []common.Address) (*ERC20VaultBeaconUpgradedIterator, error)
- func (_ERC20Vault *ERC20VaultFilterer) FilterBridgedTokenChanged(opts *bind.FilterOpts, srcChainId []*big.Int, ctoken []common.Address) (*ERC20VaultBridgedTokenChangedIterator, error)
- func (_ERC20Vault *ERC20VaultFilterer) FilterBridgedTokenDeployed(opts *bind.FilterOpts, srcChainId []*big.Int, ctoken []common.Address, ...) (*ERC20VaultBridgedTokenDeployedIterator, error)
- func (_ERC20Vault *ERC20VaultFilterer) FilterInitialized(opts *bind.FilterOpts) (*ERC20VaultInitializedIterator, error)
- func (_ERC20Vault *ERC20VaultFilterer) FilterOwnershipTransferStarted(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*ERC20VaultOwnershipTransferStartedIterator, error)
- func (_ERC20Vault *ERC20VaultFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*ERC20VaultOwnershipTransferredIterator, error)
- func (_ERC20Vault *ERC20VaultFilterer) FilterPaused(opts *bind.FilterOpts) (*ERC20VaultPausedIterator, error)
- func (_ERC20Vault *ERC20VaultFilterer) FilterTokenReceived(opts *bind.FilterOpts, msgHash [][32]byte, from []common.Address, ...) (*ERC20VaultTokenReceivedIterator, error)
- func (_ERC20Vault *ERC20VaultFilterer) FilterTokenReleased(opts *bind.FilterOpts, msgHash [][32]byte, from []common.Address) (*ERC20VaultTokenReleasedIterator, error)
- func (_ERC20Vault *ERC20VaultFilterer) FilterTokenSent(opts *bind.FilterOpts, msgHash [][32]byte, from []common.Address, ...) (*ERC20VaultTokenSentIterator, error)
- func (_ERC20Vault *ERC20VaultFilterer) FilterUnpaused(opts *bind.FilterOpts) (*ERC20VaultUnpausedIterator, error)
- func (_ERC20Vault *ERC20VaultFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*ERC20VaultUpgradedIterator, error)
- func (_ERC20Vault *ERC20VaultFilterer) ParseAdminChanged(log types.Log) (*ERC20VaultAdminChanged, error)
- func (_ERC20Vault *ERC20VaultFilterer) ParseBeaconUpgraded(log types.Log) (*ERC20VaultBeaconUpgraded, error)
- func (_ERC20Vault *ERC20VaultFilterer) ParseBridgedTokenChanged(log types.Log) (*ERC20VaultBridgedTokenChanged, error)
- func (_ERC20Vault *ERC20VaultFilterer) ParseBridgedTokenDeployed(log types.Log) (*ERC20VaultBridgedTokenDeployed, error)
- func (_ERC20Vault *ERC20VaultFilterer) ParseInitialized(log types.Log) (*ERC20VaultInitialized, error)
- func (_ERC20Vault *ERC20VaultFilterer) ParseOwnershipTransferStarted(log types.Log) (*ERC20VaultOwnershipTransferStarted, error)
- func (_ERC20Vault *ERC20VaultFilterer) ParseOwnershipTransferred(log types.Log) (*ERC20VaultOwnershipTransferred, error)
- func (_ERC20Vault *ERC20VaultFilterer) ParsePaused(log types.Log) (*ERC20VaultPaused, error)
- func (_ERC20Vault *ERC20VaultFilterer) ParseTokenReceived(log types.Log) (*ERC20VaultTokenReceived, error)
- func (_ERC20Vault *ERC20VaultFilterer) ParseTokenReleased(log types.Log) (*ERC20VaultTokenReleased, error)
- func (_ERC20Vault *ERC20VaultFilterer) ParseTokenSent(log types.Log) (*ERC20VaultTokenSent, error)
- func (_ERC20Vault *ERC20VaultFilterer) ParseUnpaused(log types.Log) (*ERC20VaultUnpaused, error)
- func (_ERC20Vault *ERC20VaultFilterer) ParseUpgraded(log types.Log) (*ERC20VaultUpgraded, error)
- func (_ERC20Vault *ERC20VaultFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *ERC20VaultAdminChanged) (event.Subscription, error)
- func (_ERC20Vault *ERC20VaultFilterer) WatchBeaconUpgraded(opts *bind.WatchOpts, sink chan<- *ERC20VaultBeaconUpgraded, ...) (event.Subscription, error)
- func (_ERC20Vault *ERC20VaultFilterer) WatchBridgedTokenChanged(opts *bind.WatchOpts, sink chan<- *ERC20VaultBridgedTokenChanged, ...) (event.Subscription, error)
- func (_ERC20Vault *ERC20VaultFilterer) WatchBridgedTokenDeployed(opts *bind.WatchOpts, sink chan<- *ERC20VaultBridgedTokenDeployed, ...) (event.Subscription, error)
- func (_ERC20Vault *ERC20VaultFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *ERC20VaultInitialized) (event.Subscription, error)
- func (_ERC20Vault *ERC20VaultFilterer) WatchOwnershipTransferStarted(opts *bind.WatchOpts, sink chan<- *ERC20VaultOwnershipTransferStarted, ...) (event.Subscription, error)
- func (_ERC20Vault *ERC20VaultFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ERC20VaultOwnershipTransferred, ...) (event.Subscription, error)
- func (_ERC20Vault *ERC20VaultFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *ERC20VaultPaused) (event.Subscription, error)
- func (_ERC20Vault *ERC20VaultFilterer) WatchTokenReceived(opts *bind.WatchOpts, sink chan<- *ERC20VaultTokenReceived, msgHash [][32]byte, ...) (event.Subscription, error)
- func (_ERC20Vault *ERC20VaultFilterer) WatchTokenReleased(opts *bind.WatchOpts, sink chan<- *ERC20VaultTokenReleased, msgHash [][32]byte, ...) (event.Subscription, error)
- func (_ERC20Vault *ERC20VaultFilterer) WatchTokenSent(opts *bind.WatchOpts, sink chan<- *ERC20VaultTokenSent, msgHash [][32]byte, ...) (event.Subscription, error)
- func (_ERC20Vault *ERC20VaultFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *ERC20VaultUnpaused) (event.Subscription, error)
- func (_ERC20Vault *ERC20VaultFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *ERC20VaultUpgraded, ...) (event.Subscription, error)
- type ERC20VaultInitialized
- type ERC20VaultInitializedIterator
- type ERC20VaultOwnershipTransferStarted
- type ERC20VaultOwnershipTransferStartedIterator
- type ERC20VaultOwnershipTransferred
- type ERC20VaultOwnershipTransferredIterator
- type ERC20VaultPaused
- type ERC20VaultPausedIterator
- type ERC20VaultRaw
- func (_ERC20Vault *ERC20VaultRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_ERC20Vault *ERC20VaultRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ERC20Vault *ERC20VaultRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ERC20VaultSession
- func (_ERC20Vault *ERC20VaultSession) AcceptOwnership() (*types.Transaction, error)
- func (_ERC20Vault *ERC20VaultSession) AddressManager() (common.Address, error)
- func (_ERC20Vault *ERC20VaultSession) BridgedToCanonical(btoken common.Address) (struct{ ... }, error)
- func (_ERC20Vault *ERC20VaultSession) BtokenDenylist(btoken common.Address) (bool, error)
- func (_ERC20Vault *ERC20VaultSession) CanonicalToBridged(chainId *big.Int, ctoken common.Address) (common.Address, error)
- func (_ERC20Vault *ERC20VaultSession) ChangeBridgedToken(_ctoken ERC20VaultCanonicalERC20, _btokenNew common.Address) (*types.Transaction, error)
- func (_ERC20Vault *ERC20VaultSession) Impl() (common.Address, error)
- func (_ERC20Vault *ERC20VaultSession) InNonReentrant() (bool, error)
- func (_ERC20Vault *ERC20VaultSession) Init(_owner common.Address, _addressManager common.Address) (*types.Transaction, error)
- func (_ERC20Vault *ERC20VaultSession) LastMigrationStart(chainId *big.Int, ctoken common.Address) (*big.Int, error)
- func (_ERC20Vault *ERC20VaultSession) LastUnpausedAt() (uint64, error)
- func (_ERC20Vault *ERC20VaultSession) MINMIGRATIONDELAY() (*big.Int, error)
- func (_ERC20Vault *ERC20VaultSession) Name() ([32]byte, error)
- func (_ERC20Vault *ERC20VaultSession) OnMessageInvocation(_data []byte) (*types.Transaction, error)
- func (_ERC20Vault *ERC20VaultSession) OnMessageRecalled(_message IBridgeMessage, _msgHash [32]byte) (*types.Transaction, error)
- func (_ERC20Vault *ERC20VaultSession) Owner() (common.Address, error)
- func (_ERC20Vault *ERC20VaultSession) Pause() (*types.Transaction, error)
- func (_ERC20Vault *ERC20VaultSession) Paused() (bool, error)
- func (_ERC20Vault *ERC20VaultSession) PendingOwner() (common.Address, error)
- func (_ERC20Vault *ERC20VaultSession) ProxiableUUID() ([32]byte, error)
- func (_ERC20Vault *ERC20VaultSession) RenounceOwnership() (*types.Transaction, error)
- func (_ERC20Vault *ERC20VaultSession) Resolve(_chainId uint64, _name [32]byte, _allowZeroAddress bool) (common.Address, error)
- func (_ERC20Vault *ERC20VaultSession) Resolve0(_name [32]byte, _allowZeroAddress bool) (common.Address, error)
- func (_ERC20Vault *ERC20VaultSession) SendToken(_op ERC20VaultBridgeTransferOp) (*types.Transaction, error)
- func (_ERC20Vault *ERC20VaultSession) SupportsInterface(_interfaceId [4]byte) (bool, error)
- func (_ERC20Vault *ERC20VaultSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_ERC20Vault *ERC20VaultSession) Unpause() (*types.Transaction, error)
- func (_ERC20Vault *ERC20VaultSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)
- func (_ERC20Vault *ERC20VaultSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)
- type ERC20VaultTokenReceived
- type ERC20VaultTokenReceivedIterator
- type ERC20VaultTokenReleased
- type ERC20VaultTokenReleasedIterator
- type ERC20VaultTokenSent
- type ERC20VaultTokenSentIterator
- type ERC20VaultTransactor
- func (_ERC20Vault *ERC20VaultTransactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_ERC20Vault *ERC20VaultTransactor) ChangeBridgedToken(opts *bind.TransactOpts, _ctoken ERC20VaultCanonicalERC20, ...) (*types.Transaction, error)
- func (_ERC20Vault *ERC20VaultTransactor) Init(opts *bind.TransactOpts, _owner common.Address, _addressManager common.Address) (*types.Transaction, error)
- func (_ERC20Vault *ERC20VaultTransactor) OnMessageInvocation(opts *bind.TransactOpts, _data []byte) (*types.Transaction, error)
- func (_ERC20Vault *ERC20VaultTransactor) OnMessageRecalled(opts *bind.TransactOpts, _message IBridgeMessage, _msgHash [32]byte) (*types.Transaction, error)
- func (_ERC20Vault *ERC20VaultTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_ERC20Vault *ERC20VaultTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_ERC20Vault *ERC20VaultTransactor) SendToken(opts *bind.TransactOpts, _op ERC20VaultBridgeTransferOp) (*types.Transaction, error)
- func (_ERC20Vault *ERC20VaultTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_ERC20Vault *ERC20VaultTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_ERC20Vault *ERC20VaultTransactor) UpgradeTo(opts *bind.TransactOpts, newImplementation common.Address) (*types.Transaction, error)
- func (_ERC20Vault *ERC20VaultTransactor) UpgradeToAndCall(opts *bind.TransactOpts, newImplementation common.Address, data []byte) (*types.Transaction, error)
- type ERC20VaultTransactorRaw
- type ERC20VaultTransactorSession
- func (_ERC20Vault *ERC20VaultTransactorSession) AcceptOwnership() (*types.Transaction, error)
- func (_ERC20Vault *ERC20VaultTransactorSession) ChangeBridgedToken(_ctoken ERC20VaultCanonicalERC20, _btokenNew common.Address) (*types.Transaction, error)
- func (_ERC20Vault *ERC20VaultTransactorSession) Init(_owner common.Address, _addressManager common.Address) (*types.Transaction, error)
- func (_ERC20Vault *ERC20VaultTransactorSession) OnMessageInvocation(_data []byte) (*types.Transaction, error)
- func (_ERC20Vault *ERC20VaultTransactorSession) OnMessageRecalled(_message IBridgeMessage, _msgHash [32]byte) (*types.Transaction, error)
- func (_ERC20Vault *ERC20VaultTransactorSession) Pause() (*types.Transaction, error)
- func (_ERC20Vault *ERC20VaultTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_ERC20Vault *ERC20VaultTransactorSession) SendToken(_op ERC20VaultBridgeTransferOp) (*types.Transaction, error)
- func (_ERC20Vault *ERC20VaultTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_ERC20Vault *ERC20VaultTransactorSession) Unpause() (*types.Transaction, error)
- func (_ERC20Vault *ERC20VaultTransactorSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)
- func (_ERC20Vault *ERC20VaultTransactorSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)
- type ERC20VaultUnpaused
- type ERC20VaultUnpausedIterator
- type ERC20VaultUpgraded
- type ERC20VaultUpgradedIterator
- type IBridgeMessage
Constants ¶
This section is empty.
Variables ¶
var ERC20VaultABI = ERC20VaultMetaData.ABI
ERC20VaultABI is the input ABI used to generate the binding from. Deprecated: Use ERC20VaultMetaData.ABI instead.
var ERC20VaultMetaData = &bind.MetaData{
ABI: "[{\"type\":\"function\",\"name\":\"MIN_MIGRATION_DELAY\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"acceptOwnership\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"addressManager\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"bridgedToCanonical\",\"inputs\":[{\"name\":\"btoken\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"chainId\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"addr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"decimals\",\"type\":\"uint8\",\"internalType\":\"uint8\"},{\"name\":\"symbol\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"name\",\"type\":\"string\",\"internalType\":\"string\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"btokenDenylist\",\"inputs\":[{\"name\":\"btoken\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"denied\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"canonicalToBridged\",\"inputs\":[{\"name\":\"chainId\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"ctoken\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"btoken\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"changeBridgedToken\",\"inputs\":[{\"name\":\"_ctoken\",\"type\":\"tuple\",\"internalType\":\"structERC20Vault.CanonicalERC20\",\"components\":[{\"name\":\"chainId\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"addr\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"decimals\",\"type\":\"uint8\",\"internalType\":\"uint8\"},{\"name\":\"symbol\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"name\",\"type\":\"string\",\"internalType\":\"string\"}]},{\"name\":\"_btokenNew\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"btokenOld_\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"impl\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"inNonReentrant\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"init\",\"inputs\":[{\"name\":\"_owner\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_addressManager\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"lastMigrationStart\",\"inputs\":[{\"name\":\"chainId\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"ctoken\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"timestamp\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"lastUnpausedAt\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint64\",\"internalType\":\"uint64\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"name\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"pure\"},{\"type\":\"function\",\"name\":\"onMessageInvocation\",\"inputs\":[{\"name\":\"_data\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"payable\"},{\"type\":\"function\",\"name\":\"onMessageRecalled\",\"inputs\":[{\"name\":\"_message\",\"type\":\"tuple\",\"internalType\":\"structIBridge.Message\",\"components\":[{\"name\":\"id\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"fee\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"gasLimit\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"from\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"srcChainId\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"srcOwner\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"destChainId\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"destOwner\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"to\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"value\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"data\",\"type\":\"bytes\",\"internalType\":\"bytes\"}]},{\"name\":\"_msgHash\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"outputs\":[],\"stateMutability\":\"payable\"},{\"type\":\"function\",\"name\":\"owner\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"pause\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"paused\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"pendingOwner\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"proxiableUUID\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"renounceOwnership\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"resolve\",\"inputs\":[{\"name\":\"_chainId\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"_name\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"_allowZeroAddress\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"addresspayable\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"resolve\",\"inputs\":[{\"name\":\"_name\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"_allowZeroAddress\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"addresspayable\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"sendToken\",\"inputs\":[{\"name\":\"_op\",\"type\":\"tuple\",\"internalType\":\"structERC20Vault.BridgeTransferOp\",\"components\":[{\"name\":\"destChainId\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"destOwner\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"to\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"fee\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"token\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"gasLimit\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]}],\"outputs\":[{\"name\":\"message_\",\"type\":\"tuple\",\"internalType\":\"structIBridge.Message\",\"components\":[{\"name\":\"id\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"fee\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"gasLimit\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"from\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"srcChainId\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"srcOwner\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"destChainId\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"destOwner\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"to\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"value\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"data\",\"type\":\"bytes\",\"internalType\":\"bytes\"}]}],\"stateMutability\":\"payable\"},{\"type\":\"function\",\"name\":\"supportsInterface\",\"inputs\":[{\"name\":\"_interfaceId\",\"type\":\"bytes4\",\"internalType\":\"bytes4\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"transferOwnership\",\"inputs\":[{\"name\":\"newOwner\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"unpause\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"upgradeTo\",\"inputs\":[{\"name\":\"newImplementation\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"upgradeToAndCall\",\"inputs\":[{\"name\":\"newImplementation\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"data\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"payable\"},{\"type\":\"event\",\"name\":\"AdminChanged\",\"inputs\":[{\"name\":\"previousAdmin\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"},{\"name\":\"newAdmin\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"BeaconUpgraded\",\"inputs\":[{\"name\":\"beacon\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"BridgedTokenChanged\",\"inputs\":[{\"name\":\"srcChainId\",\"type\":\"uint256\",\"indexed\":true,\"internalType\":\"uint256\"},{\"name\":\"ctoken\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"btokenOld\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"},{\"name\":\"btokenNew\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"},{\"name\":\"ctokenSymbol\",\"type\":\"string\",\"indexed\":false,\"internalType\":\"string\"},{\"name\":\"ctokenName\",\"type\":\"string\",\"indexed\":false,\"internalType\":\"string\"},{\"name\":\"ctokenDecimal\",\"type\":\"uint8\",\"indexed\":false,\"internalType\":\"uint8\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"BridgedTokenDeployed\",\"inputs\":[{\"name\":\"srcChainId\",\"type\":\"uint256\",\"indexed\":true,\"internalType\":\"uint256\"},{\"name\":\"ctoken\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"btoken\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"ctokenSymbol\",\"type\":\"string\",\"indexed\":false,\"internalType\":\"string\"},{\"name\":\"ctokenName\",\"type\":\"string\",\"indexed\":false,\"internalType\":\"string\"},{\"name\":\"ctokenDecimal\",\"type\":\"uint8\",\"indexed\":false,\"internalType\":\"uint8\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Initialized\",\"inputs\":[{\"name\":\"version\",\"type\":\"uint8\",\"indexed\":false,\"internalType\":\"uint8\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"OwnershipTransferStarted\",\"inputs\":[{\"name\":\"previousOwner\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"newOwner\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"OwnershipTransferred\",\"inputs\":[{\"name\":\"previousOwner\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"newOwner\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Paused\",\"inputs\":[{\"name\":\"account\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"TokenReceived\",\"inputs\":[{\"name\":\"msgHash\",\"type\":\"bytes32\",\"indexed\":true,\"internalType\":\"bytes32\"},{\"name\":\"from\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"to\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"srcChainId\",\"type\":\"uint64\",\"indexed\":false,\"internalType\":\"uint64\"},{\"name\":\"ctoken\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"},{\"name\":\"token\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"TokenReleased\",\"inputs\":[{\"name\":\"msgHash\",\"type\":\"bytes32\",\"indexed\":true,\"internalType\":\"bytes32\"},{\"name\":\"from\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"ctoken\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"},{\"name\":\"token\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"TokenSent\",\"inputs\":[{\"name\":\"msgHash\",\"type\":\"bytes32\",\"indexed\":true,\"internalType\":\"bytes32\"},{\"name\":\"from\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"to\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"canonicalChainId\",\"type\":\"uint64\",\"indexed\":false,\"internalType\":\"uint64\"},{\"name\":\"destChainId\",\"type\":\"uint64\",\"indexed\":false,\"internalType\":\"uint64\"},{\"name\":\"ctoken\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"},{\"name\":\"token\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Unpaused\",\"inputs\":[{\"name\":\"account\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Upgraded\",\"inputs\":[{\"name\":\"implementation\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"error\",\"name\":\"ETH_TRANSFER_FAILED\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"FUNC_NOT_IMPLEMENTED\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"INVALID_PAUSE_STATUS\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"REENTRANT_CALL\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"RESOLVER_DENIED\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"RESOLVER_INVALID_MANAGER\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"RESOLVER_UNEXPECTED_CHAINID\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"RESOLVER_ZERO_ADDR\",\"inputs\":[{\"name\":\"chainId\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"name\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}]},{\"type\":\"error\",\"name\":\"VAULT_BTOKEN_BLACKLISTED\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"VAULT_CTOKEN_MISMATCH\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"VAULT_INSUFFICIENT_FEE\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"VAULT_INVALID_AMOUNT\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"VAULT_INVALID_CTOKEN\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"VAULT_INVALID_NEW_BTOKEN\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"VAULT_INVALID_TOKEN\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"VAULT_INVALID_TO_ADDR\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"VAULT_LAST_MIGRATION_TOO_CLOSE\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"VAULT_PERMISSION_DENIED\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ZERO_ADDRESS\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ZERO_VALUE\",\"inputs\":[]}]",
}
ERC20VaultMetaData contains all meta data concerning the ERC20Vault contract.
Functions ¶
This section is empty.
Types ¶
type ERC20Vault ¶
type ERC20Vault struct { ERC20VaultCaller // Read-only binding to the contract ERC20VaultTransactor // Write-only binding to the contract ERC20VaultFilterer // Log filterer for contract events }
ERC20Vault is an auto generated Go binding around an Ethereum contract.
func NewERC20Vault ¶
func NewERC20Vault(address common.Address, backend bind.ContractBackend) (*ERC20Vault, error)
NewERC20Vault creates a new instance of ERC20Vault, bound to a specific deployed contract.
type ERC20VaultAdminChanged ¶
type ERC20VaultAdminChanged struct { PreviousAdmin common.Address NewAdmin common.Address Raw types.Log // Blockchain specific contextual infos }
ERC20VaultAdminChanged represents a AdminChanged event raised by the ERC20Vault contract.
type ERC20VaultAdminChangedIterator ¶
type ERC20VaultAdminChangedIterator struct { Event *ERC20VaultAdminChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC20VaultAdminChangedIterator is returned from FilterAdminChanged and is used to iterate over the raw logs and unpacked data for AdminChanged events raised by the ERC20Vault contract.
func (*ERC20VaultAdminChangedIterator) Close ¶
func (it *ERC20VaultAdminChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC20VaultAdminChangedIterator) Error ¶
func (it *ERC20VaultAdminChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC20VaultAdminChangedIterator) Next ¶
func (it *ERC20VaultAdminChangedIterator) 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 ERC20VaultBeaconUpgraded ¶
type ERC20VaultBeaconUpgraded struct { Beacon common.Address Raw types.Log // Blockchain specific contextual infos }
ERC20VaultBeaconUpgraded represents a BeaconUpgraded event raised by the ERC20Vault contract.
type ERC20VaultBeaconUpgradedIterator ¶
type ERC20VaultBeaconUpgradedIterator struct { Event *ERC20VaultBeaconUpgraded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC20VaultBeaconUpgradedIterator is returned from FilterBeaconUpgraded and is used to iterate over the raw logs and unpacked data for BeaconUpgraded events raised by the ERC20Vault contract.
func (*ERC20VaultBeaconUpgradedIterator) Close ¶
func (it *ERC20VaultBeaconUpgradedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC20VaultBeaconUpgradedIterator) Error ¶
func (it *ERC20VaultBeaconUpgradedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC20VaultBeaconUpgradedIterator) Next ¶
func (it *ERC20VaultBeaconUpgradedIterator) 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 ERC20VaultBridgeTransferOp ¶
type ERC20VaultBridgeTransferOp struct { DestChainId uint64 DestOwner common.Address To common.Address Fee uint64 Token common.Address GasLimit uint32 Amount *big.Int }
ERC20VaultBridgeTransferOp is an auto generated low-level Go binding around an user-defined struct.
type ERC20VaultBridgedTokenChanged ¶
type ERC20VaultBridgedTokenChanged struct { SrcChainId *big.Int Ctoken common.Address BtokenOld common.Address BtokenNew common.Address CtokenSymbol string CtokenName string CtokenDecimal uint8 Raw types.Log // Blockchain specific contextual infos }
ERC20VaultBridgedTokenChanged represents a BridgedTokenChanged event raised by the ERC20Vault contract.
type ERC20VaultBridgedTokenChangedIterator ¶
type ERC20VaultBridgedTokenChangedIterator struct { Event *ERC20VaultBridgedTokenChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC20VaultBridgedTokenChangedIterator is returned from FilterBridgedTokenChanged and is used to iterate over the raw logs and unpacked data for BridgedTokenChanged events raised by the ERC20Vault contract.
func (*ERC20VaultBridgedTokenChangedIterator) Close ¶
func (it *ERC20VaultBridgedTokenChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC20VaultBridgedTokenChangedIterator) Error ¶
func (it *ERC20VaultBridgedTokenChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC20VaultBridgedTokenChangedIterator) Next ¶
func (it *ERC20VaultBridgedTokenChangedIterator) 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 ERC20VaultBridgedTokenDeployed ¶
type ERC20VaultBridgedTokenDeployed struct { SrcChainId *big.Int Ctoken common.Address Btoken common.Address CtokenSymbol string CtokenName string CtokenDecimal uint8 Raw types.Log // Blockchain specific contextual infos }
ERC20VaultBridgedTokenDeployed represents a BridgedTokenDeployed event raised by the ERC20Vault contract.
type ERC20VaultBridgedTokenDeployedIterator ¶
type ERC20VaultBridgedTokenDeployedIterator struct { Event *ERC20VaultBridgedTokenDeployed // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC20VaultBridgedTokenDeployedIterator is returned from FilterBridgedTokenDeployed and is used to iterate over the raw logs and unpacked data for BridgedTokenDeployed events raised by the ERC20Vault contract.
func (*ERC20VaultBridgedTokenDeployedIterator) Close ¶
func (it *ERC20VaultBridgedTokenDeployedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC20VaultBridgedTokenDeployedIterator) Error ¶
func (it *ERC20VaultBridgedTokenDeployedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC20VaultBridgedTokenDeployedIterator) Next ¶
func (it *ERC20VaultBridgedTokenDeployedIterator) 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 ERC20VaultCaller ¶
type ERC20VaultCaller struct {
// contains filtered or unexported fields
}
ERC20VaultCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewERC20VaultCaller ¶
func NewERC20VaultCaller(address common.Address, caller bind.ContractCaller) (*ERC20VaultCaller, error)
NewERC20VaultCaller creates a new read-only instance of ERC20Vault, bound to a specific deployed contract.
func (*ERC20VaultCaller) AddressManager ¶
AddressManager is a free data retrieval call binding the contract method 0x3ab76e9f.
Solidity: function addressManager() view returns(address)
func (*ERC20VaultCaller) BridgedToCanonical ¶
func (_ERC20Vault *ERC20VaultCaller) BridgedToCanonical(opts *bind.CallOpts, btoken common.Address) (struct { ChainId uint64 Addr common.Address Decimals uint8 Symbol string Name string }, error)
BridgedToCanonical is a free data retrieval call binding the contract method 0x9aa8605c.
Solidity: function bridgedToCanonical(address btoken) view returns(uint64 chainId, address addr, uint8 decimals, string symbol, string name)
func (*ERC20VaultCaller) BtokenDenylist ¶
func (_ERC20Vault *ERC20VaultCaller) BtokenDenylist(opts *bind.CallOpts, btoken common.Address) (bool, error)
BtokenDenylist is a free data retrieval call binding the contract method 0x0e7eeb79.
Solidity: function btokenDenylist(address btoken) view returns(bool denied)
func (*ERC20VaultCaller) CanonicalToBridged ¶
func (_ERC20Vault *ERC20VaultCaller) CanonicalToBridged(opts *bind.CallOpts, chainId *big.Int, ctoken common.Address) (common.Address, error)
CanonicalToBridged is a free data retrieval call binding the contract method 0x67090ccf.
Solidity: function canonicalToBridged(uint256 chainId, address ctoken) view returns(address btoken)
func (*ERC20VaultCaller) Impl ¶
Impl is a free data retrieval call binding the contract method 0x8abf6077.
Solidity: function impl() view returns(address)
func (*ERC20VaultCaller) InNonReentrant ¶
func (_ERC20Vault *ERC20VaultCaller) InNonReentrant(opts *bind.CallOpts) (bool, error)
InNonReentrant is a free data retrieval call binding the contract method 0x3075db56.
Solidity: function inNonReentrant() view returns(bool)
func (*ERC20VaultCaller) LastMigrationStart ¶
func (_ERC20Vault *ERC20VaultCaller) LastMigrationStart(opts *bind.CallOpts, chainId *big.Int, ctoken common.Address) (*big.Int, error)
LastMigrationStart is a free data retrieval call binding the contract method 0x066fe7b4.
Solidity: function lastMigrationStart(uint256 chainId, address ctoken) view returns(uint256 timestamp)
func (*ERC20VaultCaller) LastUnpausedAt ¶
func (_ERC20Vault *ERC20VaultCaller) LastUnpausedAt(opts *bind.CallOpts) (uint64, error)
LastUnpausedAt is a free data retrieval call binding the contract method 0xe07baba6.
Solidity: function lastUnpausedAt() view returns(uint64)
func (*ERC20VaultCaller) MINMIGRATIONDELAY ¶
MINMIGRATIONDELAY is a free data retrieval call binding the contract method 0xd56ad7ac.
Solidity: function MIN_MIGRATION_DELAY() view returns(uint256)
func (*ERC20VaultCaller) Name ¶
func (_ERC20Vault *ERC20VaultCaller) Name(opts *bind.CallOpts) ([32]byte, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() pure returns(bytes32)
func (*ERC20VaultCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*ERC20VaultCaller) Paused ¶
func (_ERC20Vault *ERC20VaultCaller) Paused(opts *bind.CallOpts) (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*ERC20VaultCaller) PendingOwner ¶
PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.
Solidity: function pendingOwner() view returns(address)
func (*ERC20VaultCaller) ProxiableUUID ¶
func (_ERC20Vault *ERC20VaultCaller) ProxiableUUID(opts *bind.CallOpts) ([32]byte, error)
ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.
Solidity: function proxiableUUID() view returns(bytes32)
func (*ERC20VaultCaller) Resolve ¶
func (_ERC20Vault *ERC20VaultCaller) Resolve(opts *bind.CallOpts, _chainId uint64, _name [32]byte, _allowZeroAddress bool) (common.Address, error)
Resolve is a free data retrieval call binding the contract method 0x3eb6b8cf.
Solidity: function resolve(uint64 _chainId, bytes32 _name, bool _allowZeroAddress) view returns(address)
func (*ERC20VaultCaller) Resolve0 ¶
func (_ERC20Vault *ERC20VaultCaller) Resolve0(opts *bind.CallOpts, _name [32]byte, _allowZeroAddress bool) (common.Address, error)
Resolve0 is a free data retrieval call binding the contract method 0xa86f9d9e.
Solidity: function resolve(bytes32 _name, bool _allowZeroAddress) view returns(address)
func (*ERC20VaultCaller) SupportsInterface ¶
func (_ERC20Vault *ERC20VaultCaller) 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 ERC20VaultCallerRaw ¶
type ERC20VaultCallerRaw struct {
Contract *ERC20VaultCaller // Generic read-only contract binding to access the raw methods on
}
ERC20VaultCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ERC20VaultCallerRaw) Call ¶
func (_ERC20Vault *ERC20VaultCallerRaw) 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 ERC20VaultCallerSession ¶
type ERC20VaultCallerSession struct { Contract *ERC20VaultCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ERC20VaultCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ERC20VaultCallerSession) AddressManager ¶
func (_ERC20Vault *ERC20VaultCallerSession) AddressManager() (common.Address, error)
AddressManager is a free data retrieval call binding the contract method 0x3ab76e9f.
Solidity: function addressManager() view returns(address)
func (*ERC20VaultCallerSession) BridgedToCanonical ¶
func (_ERC20Vault *ERC20VaultCallerSession) BridgedToCanonical(btoken common.Address) (struct { ChainId uint64 Addr common.Address Decimals uint8 Symbol string Name string }, error)
BridgedToCanonical is a free data retrieval call binding the contract method 0x9aa8605c.
Solidity: function bridgedToCanonical(address btoken) view returns(uint64 chainId, address addr, uint8 decimals, string symbol, string name)
func (*ERC20VaultCallerSession) BtokenDenylist ¶
func (_ERC20Vault *ERC20VaultCallerSession) BtokenDenylist(btoken common.Address) (bool, error)
BtokenDenylist is a free data retrieval call binding the contract method 0x0e7eeb79.
Solidity: function btokenDenylist(address btoken) view returns(bool denied)
func (*ERC20VaultCallerSession) CanonicalToBridged ¶
func (_ERC20Vault *ERC20VaultCallerSession) CanonicalToBridged(chainId *big.Int, ctoken common.Address) (common.Address, error)
CanonicalToBridged is a free data retrieval call binding the contract method 0x67090ccf.
Solidity: function canonicalToBridged(uint256 chainId, address ctoken) view returns(address btoken)
func (*ERC20VaultCallerSession) Impl ¶
func (_ERC20Vault *ERC20VaultCallerSession) Impl() (common.Address, error)
Impl is a free data retrieval call binding the contract method 0x8abf6077.
Solidity: function impl() view returns(address)
func (*ERC20VaultCallerSession) InNonReentrant ¶
func (_ERC20Vault *ERC20VaultCallerSession) InNonReentrant() (bool, error)
InNonReentrant is a free data retrieval call binding the contract method 0x3075db56.
Solidity: function inNonReentrant() view returns(bool)
func (*ERC20VaultCallerSession) LastMigrationStart ¶
func (_ERC20Vault *ERC20VaultCallerSession) LastMigrationStart(chainId *big.Int, ctoken common.Address) (*big.Int, error)
LastMigrationStart is a free data retrieval call binding the contract method 0x066fe7b4.
Solidity: function lastMigrationStart(uint256 chainId, address ctoken) view returns(uint256 timestamp)
func (*ERC20VaultCallerSession) LastUnpausedAt ¶
func (_ERC20Vault *ERC20VaultCallerSession) LastUnpausedAt() (uint64, error)
LastUnpausedAt is a free data retrieval call binding the contract method 0xe07baba6.
Solidity: function lastUnpausedAt() view returns(uint64)
func (*ERC20VaultCallerSession) MINMIGRATIONDELAY ¶
func (_ERC20Vault *ERC20VaultCallerSession) MINMIGRATIONDELAY() (*big.Int, error)
MINMIGRATIONDELAY is a free data retrieval call binding the contract method 0xd56ad7ac.
Solidity: function MIN_MIGRATION_DELAY() view returns(uint256)
func (*ERC20VaultCallerSession) Name ¶
func (_ERC20Vault *ERC20VaultCallerSession) Name() ([32]byte, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() pure returns(bytes32)
func (*ERC20VaultCallerSession) Owner ¶
func (_ERC20Vault *ERC20VaultCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*ERC20VaultCallerSession) Paused ¶
func (_ERC20Vault *ERC20VaultCallerSession) Paused() (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*ERC20VaultCallerSession) PendingOwner ¶
func (_ERC20Vault *ERC20VaultCallerSession) PendingOwner() (common.Address, error)
PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.
Solidity: function pendingOwner() view returns(address)
func (*ERC20VaultCallerSession) ProxiableUUID ¶
func (_ERC20Vault *ERC20VaultCallerSession) ProxiableUUID() ([32]byte, error)
ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.
Solidity: function proxiableUUID() view returns(bytes32)
func (*ERC20VaultCallerSession) Resolve ¶
func (_ERC20Vault *ERC20VaultCallerSession) Resolve(_chainId uint64, _name [32]byte, _allowZeroAddress bool) (common.Address, error)
Resolve is a free data retrieval call binding the contract method 0x3eb6b8cf.
Solidity: function resolve(uint64 _chainId, bytes32 _name, bool _allowZeroAddress) view returns(address)
func (*ERC20VaultCallerSession) Resolve0 ¶
func (_ERC20Vault *ERC20VaultCallerSession) Resolve0(_name [32]byte, _allowZeroAddress bool) (common.Address, error)
Resolve0 is a free data retrieval call binding the contract method 0xa86f9d9e.
Solidity: function resolve(bytes32 _name, bool _allowZeroAddress) view returns(address)
func (*ERC20VaultCallerSession) SupportsInterface ¶
func (_ERC20Vault *ERC20VaultCallerSession) 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 ERC20VaultCanonicalERC20 ¶
type ERC20VaultCanonicalERC20 struct { ChainId uint64 Addr common.Address Decimals uint8 Symbol string Name string }
ERC20VaultCanonicalERC20 is an auto generated low-level Go binding around an user-defined struct.
type ERC20VaultFilterer ¶
type ERC20VaultFilterer struct {
// contains filtered or unexported fields
}
ERC20VaultFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewERC20VaultFilterer ¶
func NewERC20VaultFilterer(address common.Address, filterer bind.ContractFilterer) (*ERC20VaultFilterer, error)
NewERC20VaultFilterer creates a new log filterer instance of ERC20Vault, bound to a specific deployed contract.
func (*ERC20VaultFilterer) FilterAdminChanged ¶
func (_ERC20Vault *ERC20VaultFilterer) FilterAdminChanged(opts *bind.FilterOpts) (*ERC20VaultAdminChangedIterator, error)
FilterAdminChanged is a free log retrieval operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
Solidity: event AdminChanged(address previousAdmin, address newAdmin)
func (*ERC20VaultFilterer) FilterBeaconUpgraded ¶
func (_ERC20Vault *ERC20VaultFilterer) FilterBeaconUpgraded(opts *bind.FilterOpts, beacon []common.Address) (*ERC20VaultBeaconUpgradedIterator, error)
FilterBeaconUpgraded is a free log retrieval operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.
Solidity: event BeaconUpgraded(address indexed beacon)
func (*ERC20VaultFilterer) FilterBridgedTokenChanged ¶
func (_ERC20Vault *ERC20VaultFilterer) FilterBridgedTokenChanged(opts *bind.FilterOpts, srcChainId []*big.Int, ctoken []common.Address) (*ERC20VaultBridgedTokenChangedIterator, error)
FilterBridgedTokenChanged is a free log retrieval operation binding the contract event 0x031d68e1805917560c34a5f55a7dd91bef98f911190ed02cdbb53caedae6c39d.
Solidity: event BridgedTokenChanged(uint256 indexed srcChainId, address indexed ctoken, address btokenOld, address btokenNew, string ctokenSymbol, string ctokenName, uint8 ctokenDecimal)
func (*ERC20VaultFilterer) FilterBridgedTokenDeployed ¶
func (_ERC20Vault *ERC20VaultFilterer) FilterBridgedTokenDeployed(opts *bind.FilterOpts, srcChainId []*big.Int, ctoken []common.Address, btoken []common.Address) (*ERC20VaultBridgedTokenDeployedIterator, error)
FilterBridgedTokenDeployed is a free log retrieval operation binding the contract event 0xb6b427556e8cb0ebf9175da4bc48c64c4f56e44cfaf8c3ab5ebf8e2ea1309079.
Solidity: event BridgedTokenDeployed(uint256 indexed srcChainId, address indexed ctoken, address indexed btoken, string ctokenSymbol, string ctokenName, uint8 ctokenDecimal)
func (*ERC20VaultFilterer) FilterInitialized ¶
func (_ERC20Vault *ERC20VaultFilterer) FilterInitialized(opts *bind.FilterOpts) (*ERC20VaultInitializedIterator, error)
FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*ERC20VaultFilterer) FilterOwnershipTransferStarted ¶
func (_ERC20Vault *ERC20VaultFilterer) FilterOwnershipTransferStarted(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*ERC20VaultOwnershipTransferStartedIterator, error)
FilterOwnershipTransferStarted is a free log retrieval operation binding the contract event 0x38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700.
Solidity: event OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner)
func (*ERC20VaultFilterer) FilterOwnershipTransferred ¶
func (_ERC20Vault *ERC20VaultFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*ERC20VaultOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*ERC20VaultFilterer) FilterPaused ¶
func (_ERC20Vault *ERC20VaultFilterer) FilterPaused(opts *bind.FilterOpts) (*ERC20VaultPausedIterator, error)
FilterPaused is a free log retrieval operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
Solidity: event Paused(address account)
func (*ERC20VaultFilterer) FilterTokenReceived ¶
func (_ERC20Vault *ERC20VaultFilterer) FilterTokenReceived(opts *bind.FilterOpts, msgHash [][32]byte, from []common.Address, to []common.Address) (*ERC20VaultTokenReceivedIterator, error)
FilterTokenReceived is a free log retrieval operation binding the contract event 0x75a051823424fc80e92556c41cb0ad977ae1dcb09c68a9c38acab86b11a69f89.
Solidity: event TokenReceived(bytes32 indexed msgHash, address indexed from, address indexed to, uint64 srcChainId, address ctoken, address token, uint256 amount)
func (*ERC20VaultFilterer) FilterTokenReleased ¶
func (_ERC20Vault *ERC20VaultFilterer) FilterTokenReleased(opts *bind.FilterOpts, msgHash [][32]byte, from []common.Address) (*ERC20VaultTokenReleasedIterator, error)
FilterTokenReleased is a free log retrieval operation binding the contract event 0x3dea0f5955b148debf6212261e03bd80eaf8534bee43780452d16637dcc22dd5.
Solidity: event TokenReleased(bytes32 indexed msgHash, address indexed from, address ctoken, address token, uint256 amount)
func (*ERC20VaultFilterer) FilterTokenSent ¶
func (_ERC20Vault *ERC20VaultFilterer) FilterTokenSent(opts *bind.FilterOpts, msgHash [][32]byte, from []common.Address, to []common.Address) (*ERC20VaultTokenSentIterator, error)
FilterTokenSent is a free log retrieval operation binding the contract event 0x256f5c87f6ab8d238ac244067613227eb6e2cd65299121135d4f778e8581e03d.
Solidity: event TokenSent(bytes32 indexed msgHash, address indexed from, address indexed to, uint64 canonicalChainId, uint64 destChainId, address ctoken, address token, uint256 amount)
func (*ERC20VaultFilterer) FilterUnpaused ¶
func (_ERC20Vault *ERC20VaultFilterer) FilterUnpaused(opts *bind.FilterOpts) (*ERC20VaultUnpausedIterator, error)
FilterUnpaused is a free log retrieval operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
Solidity: event Unpaused(address account)
func (*ERC20VaultFilterer) FilterUpgraded ¶
func (_ERC20Vault *ERC20VaultFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*ERC20VaultUpgradedIterator, error)
FilterUpgraded is a free log retrieval operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
Solidity: event Upgraded(address indexed implementation)
func (*ERC20VaultFilterer) ParseAdminChanged ¶
func (_ERC20Vault *ERC20VaultFilterer) ParseAdminChanged(log types.Log) (*ERC20VaultAdminChanged, error)
ParseAdminChanged is a log parse operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
Solidity: event AdminChanged(address previousAdmin, address newAdmin)
func (*ERC20VaultFilterer) ParseBeaconUpgraded ¶
func (_ERC20Vault *ERC20VaultFilterer) ParseBeaconUpgraded(log types.Log) (*ERC20VaultBeaconUpgraded, error)
ParseBeaconUpgraded is a log parse operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.
Solidity: event BeaconUpgraded(address indexed beacon)
func (*ERC20VaultFilterer) ParseBridgedTokenChanged ¶
func (_ERC20Vault *ERC20VaultFilterer) ParseBridgedTokenChanged(log types.Log) (*ERC20VaultBridgedTokenChanged, error)
ParseBridgedTokenChanged is a log parse operation binding the contract event 0x031d68e1805917560c34a5f55a7dd91bef98f911190ed02cdbb53caedae6c39d.
Solidity: event BridgedTokenChanged(uint256 indexed srcChainId, address indexed ctoken, address btokenOld, address btokenNew, string ctokenSymbol, string ctokenName, uint8 ctokenDecimal)
func (*ERC20VaultFilterer) ParseBridgedTokenDeployed ¶
func (_ERC20Vault *ERC20VaultFilterer) ParseBridgedTokenDeployed(log types.Log) (*ERC20VaultBridgedTokenDeployed, error)
ParseBridgedTokenDeployed is a log parse operation binding the contract event 0xb6b427556e8cb0ebf9175da4bc48c64c4f56e44cfaf8c3ab5ebf8e2ea1309079.
Solidity: event BridgedTokenDeployed(uint256 indexed srcChainId, address indexed ctoken, address indexed btoken, string ctokenSymbol, string ctokenName, uint8 ctokenDecimal)
func (*ERC20VaultFilterer) ParseInitialized ¶
func (_ERC20Vault *ERC20VaultFilterer) ParseInitialized(log types.Log) (*ERC20VaultInitialized, error)
ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*ERC20VaultFilterer) ParseOwnershipTransferStarted ¶
func (_ERC20Vault *ERC20VaultFilterer) ParseOwnershipTransferStarted(log types.Log) (*ERC20VaultOwnershipTransferStarted, error)
ParseOwnershipTransferStarted is a log parse operation binding the contract event 0x38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700.
Solidity: event OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner)
func (*ERC20VaultFilterer) ParseOwnershipTransferred ¶
func (_ERC20Vault *ERC20VaultFilterer) ParseOwnershipTransferred(log types.Log) (*ERC20VaultOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*ERC20VaultFilterer) ParsePaused ¶
func (_ERC20Vault *ERC20VaultFilterer) ParsePaused(log types.Log) (*ERC20VaultPaused, error)
ParsePaused is a log parse operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
Solidity: event Paused(address account)
func (*ERC20VaultFilterer) ParseTokenReceived ¶
func (_ERC20Vault *ERC20VaultFilterer) ParseTokenReceived(log types.Log) (*ERC20VaultTokenReceived, error)
ParseTokenReceived is a log parse operation binding the contract event 0x75a051823424fc80e92556c41cb0ad977ae1dcb09c68a9c38acab86b11a69f89.
Solidity: event TokenReceived(bytes32 indexed msgHash, address indexed from, address indexed to, uint64 srcChainId, address ctoken, address token, uint256 amount)
func (*ERC20VaultFilterer) ParseTokenReleased ¶
func (_ERC20Vault *ERC20VaultFilterer) ParseTokenReleased(log types.Log) (*ERC20VaultTokenReleased, error)
ParseTokenReleased is a log parse operation binding the contract event 0x3dea0f5955b148debf6212261e03bd80eaf8534bee43780452d16637dcc22dd5.
Solidity: event TokenReleased(bytes32 indexed msgHash, address indexed from, address ctoken, address token, uint256 amount)
func (*ERC20VaultFilterer) ParseTokenSent ¶
func (_ERC20Vault *ERC20VaultFilterer) ParseTokenSent(log types.Log) (*ERC20VaultTokenSent, error)
ParseTokenSent is a log parse operation binding the contract event 0x256f5c87f6ab8d238ac244067613227eb6e2cd65299121135d4f778e8581e03d.
Solidity: event TokenSent(bytes32 indexed msgHash, address indexed from, address indexed to, uint64 canonicalChainId, uint64 destChainId, address ctoken, address token, uint256 amount)
func (*ERC20VaultFilterer) ParseUnpaused ¶
func (_ERC20Vault *ERC20VaultFilterer) ParseUnpaused(log types.Log) (*ERC20VaultUnpaused, error)
ParseUnpaused is a log parse operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
Solidity: event Unpaused(address account)
func (*ERC20VaultFilterer) ParseUpgraded ¶
func (_ERC20Vault *ERC20VaultFilterer) ParseUpgraded(log types.Log) (*ERC20VaultUpgraded, error)
ParseUpgraded is a log parse operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
Solidity: event Upgraded(address indexed implementation)
func (*ERC20VaultFilterer) WatchAdminChanged ¶
func (_ERC20Vault *ERC20VaultFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *ERC20VaultAdminChanged) (event.Subscription, error)
WatchAdminChanged is a free log subscription operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
Solidity: event AdminChanged(address previousAdmin, address newAdmin)
func (*ERC20VaultFilterer) WatchBeaconUpgraded ¶
func (_ERC20Vault *ERC20VaultFilterer) WatchBeaconUpgraded(opts *bind.WatchOpts, sink chan<- *ERC20VaultBeaconUpgraded, beacon []common.Address) (event.Subscription, error)
WatchBeaconUpgraded is a free log subscription operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.
Solidity: event BeaconUpgraded(address indexed beacon)
func (*ERC20VaultFilterer) WatchBridgedTokenChanged ¶
func (_ERC20Vault *ERC20VaultFilterer) WatchBridgedTokenChanged(opts *bind.WatchOpts, sink chan<- *ERC20VaultBridgedTokenChanged, srcChainId []*big.Int, ctoken []common.Address) (event.Subscription, error)
WatchBridgedTokenChanged is a free log subscription operation binding the contract event 0x031d68e1805917560c34a5f55a7dd91bef98f911190ed02cdbb53caedae6c39d.
Solidity: event BridgedTokenChanged(uint256 indexed srcChainId, address indexed ctoken, address btokenOld, address btokenNew, string ctokenSymbol, string ctokenName, uint8 ctokenDecimal)
func (*ERC20VaultFilterer) WatchBridgedTokenDeployed ¶
func (_ERC20Vault *ERC20VaultFilterer) WatchBridgedTokenDeployed(opts *bind.WatchOpts, sink chan<- *ERC20VaultBridgedTokenDeployed, srcChainId []*big.Int, ctoken []common.Address, btoken []common.Address) (event.Subscription, error)
WatchBridgedTokenDeployed is a free log subscription operation binding the contract event 0xb6b427556e8cb0ebf9175da4bc48c64c4f56e44cfaf8c3ab5ebf8e2ea1309079.
Solidity: event BridgedTokenDeployed(uint256 indexed srcChainId, address indexed ctoken, address indexed btoken, string ctokenSymbol, string ctokenName, uint8 ctokenDecimal)
func (*ERC20VaultFilterer) WatchInitialized ¶
func (_ERC20Vault *ERC20VaultFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *ERC20VaultInitialized) (event.Subscription, error)
WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*ERC20VaultFilterer) WatchOwnershipTransferStarted ¶
func (_ERC20Vault *ERC20VaultFilterer) WatchOwnershipTransferStarted(opts *bind.WatchOpts, sink chan<- *ERC20VaultOwnershipTransferStarted, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferStarted is a free log subscription operation binding the contract event 0x38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700.
Solidity: event OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner)
func (*ERC20VaultFilterer) WatchOwnershipTransferred ¶
func (_ERC20Vault *ERC20VaultFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ERC20VaultOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*ERC20VaultFilterer) WatchPaused ¶
func (_ERC20Vault *ERC20VaultFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *ERC20VaultPaused) (event.Subscription, error)
WatchPaused is a free log subscription operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
Solidity: event Paused(address account)
func (*ERC20VaultFilterer) WatchTokenReceived ¶
func (_ERC20Vault *ERC20VaultFilterer) WatchTokenReceived(opts *bind.WatchOpts, sink chan<- *ERC20VaultTokenReceived, msgHash [][32]byte, from []common.Address, to []common.Address) (event.Subscription, error)
WatchTokenReceived is a free log subscription operation binding the contract event 0x75a051823424fc80e92556c41cb0ad977ae1dcb09c68a9c38acab86b11a69f89.
Solidity: event TokenReceived(bytes32 indexed msgHash, address indexed from, address indexed to, uint64 srcChainId, address ctoken, address token, uint256 amount)
func (*ERC20VaultFilterer) WatchTokenReleased ¶
func (_ERC20Vault *ERC20VaultFilterer) WatchTokenReleased(opts *bind.WatchOpts, sink chan<- *ERC20VaultTokenReleased, msgHash [][32]byte, from []common.Address) (event.Subscription, error)
WatchTokenReleased is a free log subscription operation binding the contract event 0x3dea0f5955b148debf6212261e03bd80eaf8534bee43780452d16637dcc22dd5.
Solidity: event TokenReleased(bytes32 indexed msgHash, address indexed from, address ctoken, address token, uint256 amount)
func (*ERC20VaultFilterer) WatchTokenSent ¶
func (_ERC20Vault *ERC20VaultFilterer) WatchTokenSent(opts *bind.WatchOpts, sink chan<- *ERC20VaultTokenSent, msgHash [][32]byte, from []common.Address, to []common.Address) (event.Subscription, error)
WatchTokenSent is a free log subscription operation binding the contract event 0x256f5c87f6ab8d238ac244067613227eb6e2cd65299121135d4f778e8581e03d.
Solidity: event TokenSent(bytes32 indexed msgHash, address indexed from, address indexed to, uint64 canonicalChainId, uint64 destChainId, address ctoken, address token, uint256 amount)
func (*ERC20VaultFilterer) WatchUnpaused ¶
func (_ERC20Vault *ERC20VaultFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *ERC20VaultUnpaused) (event.Subscription, error)
WatchUnpaused is a free log subscription operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
Solidity: event Unpaused(address account)
func (*ERC20VaultFilterer) WatchUpgraded ¶
func (_ERC20Vault *ERC20VaultFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *ERC20VaultUpgraded, implementation []common.Address) (event.Subscription, error)
WatchUpgraded is a free log subscription operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
Solidity: event Upgraded(address indexed implementation)
type ERC20VaultInitialized ¶
type ERC20VaultInitialized struct { Version uint8 Raw types.Log // Blockchain specific contextual infos }
ERC20VaultInitialized represents a Initialized event raised by the ERC20Vault contract.
type ERC20VaultInitializedIterator ¶
type ERC20VaultInitializedIterator struct { Event *ERC20VaultInitialized // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC20VaultInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the ERC20Vault contract.
func (*ERC20VaultInitializedIterator) Close ¶
func (it *ERC20VaultInitializedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC20VaultInitializedIterator) Error ¶
func (it *ERC20VaultInitializedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC20VaultInitializedIterator) Next ¶
func (it *ERC20VaultInitializedIterator) 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 ERC20VaultOwnershipTransferStarted ¶
type ERC20VaultOwnershipTransferStarted struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
ERC20VaultOwnershipTransferStarted represents a OwnershipTransferStarted event raised by the ERC20Vault contract.
type ERC20VaultOwnershipTransferStartedIterator ¶
type ERC20VaultOwnershipTransferStartedIterator struct { Event *ERC20VaultOwnershipTransferStarted // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC20VaultOwnershipTransferStartedIterator is returned from FilterOwnershipTransferStarted and is used to iterate over the raw logs and unpacked data for OwnershipTransferStarted events raised by the ERC20Vault contract.
func (*ERC20VaultOwnershipTransferStartedIterator) Close ¶
func (it *ERC20VaultOwnershipTransferStartedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC20VaultOwnershipTransferStartedIterator) Error ¶
func (it *ERC20VaultOwnershipTransferStartedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC20VaultOwnershipTransferStartedIterator) Next ¶
func (it *ERC20VaultOwnershipTransferStartedIterator) 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 ERC20VaultOwnershipTransferred ¶
type ERC20VaultOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
ERC20VaultOwnershipTransferred represents a OwnershipTransferred event raised by the ERC20Vault contract.
type ERC20VaultOwnershipTransferredIterator ¶
type ERC20VaultOwnershipTransferredIterator struct { Event *ERC20VaultOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC20VaultOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the ERC20Vault contract.
func (*ERC20VaultOwnershipTransferredIterator) Close ¶
func (it *ERC20VaultOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC20VaultOwnershipTransferredIterator) Error ¶
func (it *ERC20VaultOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC20VaultOwnershipTransferredIterator) Next ¶
func (it *ERC20VaultOwnershipTransferredIterator) 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 ERC20VaultPaused ¶
type ERC20VaultPaused struct { Account common.Address Raw types.Log // Blockchain specific contextual infos }
ERC20VaultPaused represents a Paused event raised by the ERC20Vault contract.
type ERC20VaultPausedIterator ¶
type ERC20VaultPausedIterator struct { Event *ERC20VaultPaused // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC20VaultPausedIterator is returned from FilterPaused and is used to iterate over the raw logs and unpacked data for Paused events raised by the ERC20Vault contract.
func (*ERC20VaultPausedIterator) Close ¶
func (it *ERC20VaultPausedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC20VaultPausedIterator) Error ¶
func (it *ERC20VaultPausedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC20VaultPausedIterator) Next ¶
func (it *ERC20VaultPausedIterator) 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 ERC20VaultRaw ¶
type ERC20VaultRaw struct {
Contract *ERC20Vault // Generic contract binding to access the raw methods on
}
ERC20VaultRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ERC20VaultRaw) Call ¶
func (_ERC20Vault *ERC20VaultRaw) 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 (*ERC20VaultRaw) Transact ¶
func (_ERC20Vault *ERC20VaultRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ERC20VaultRaw) Transfer ¶
func (_ERC20Vault *ERC20VaultRaw) 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 ERC20VaultSession ¶
type ERC20VaultSession struct { Contract *ERC20Vault // 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 }
ERC20VaultSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ERC20VaultSession) AcceptOwnership ¶
func (_ERC20Vault *ERC20VaultSession) AcceptOwnership() (*types.Transaction, error)
AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.
Solidity: function acceptOwnership() returns()
func (*ERC20VaultSession) AddressManager ¶
func (_ERC20Vault *ERC20VaultSession) AddressManager() (common.Address, error)
AddressManager is a free data retrieval call binding the contract method 0x3ab76e9f.
Solidity: function addressManager() view returns(address)
func (*ERC20VaultSession) BridgedToCanonical ¶
func (_ERC20Vault *ERC20VaultSession) BridgedToCanonical(btoken common.Address) (struct { ChainId uint64 Addr common.Address Decimals uint8 Symbol string Name string }, error)
BridgedToCanonical is a free data retrieval call binding the contract method 0x9aa8605c.
Solidity: function bridgedToCanonical(address btoken) view returns(uint64 chainId, address addr, uint8 decimals, string symbol, string name)
func (*ERC20VaultSession) BtokenDenylist ¶
func (_ERC20Vault *ERC20VaultSession) BtokenDenylist(btoken common.Address) (bool, error)
BtokenDenylist is a free data retrieval call binding the contract method 0x0e7eeb79.
Solidity: function btokenDenylist(address btoken) view returns(bool denied)
func (*ERC20VaultSession) CanonicalToBridged ¶
func (_ERC20Vault *ERC20VaultSession) CanonicalToBridged(chainId *big.Int, ctoken common.Address) (common.Address, error)
CanonicalToBridged is a free data retrieval call binding the contract method 0x67090ccf.
Solidity: function canonicalToBridged(uint256 chainId, address ctoken) view returns(address btoken)
func (*ERC20VaultSession) ChangeBridgedToken ¶
func (_ERC20Vault *ERC20VaultSession) ChangeBridgedToken(_ctoken ERC20VaultCanonicalERC20, _btokenNew common.Address) (*types.Transaction, error)
ChangeBridgedToken is a paid mutator transaction binding the contract method 0x0ecd8be9.
Solidity: function changeBridgedToken((uint64,address,uint8,string,string) _ctoken, address _btokenNew) returns(address btokenOld_)
func (*ERC20VaultSession) Impl ¶
func (_ERC20Vault *ERC20VaultSession) Impl() (common.Address, error)
Impl is a free data retrieval call binding the contract method 0x8abf6077.
Solidity: function impl() view returns(address)
func (*ERC20VaultSession) InNonReentrant ¶
func (_ERC20Vault *ERC20VaultSession) InNonReentrant() (bool, error)
InNonReentrant is a free data retrieval call binding the contract method 0x3075db56.
Solidity: function inNonReentrant() view returns(bool)
func (*ERC20VaultSession) Init ¶
func (_ERC20Vault *ERC20VaultSession) Init(_owner common.Address, _addressManager common.Address) (*types.Transaction, error)
Init is a paid mutator transaction binding the contract method 0xf09a4016.
Solidity: function init(address _owner, address _addressManager) returns()
func (*ERC20VaultSession) LastMigrationStart ¶
func (_ERC20Vault *ERC20VaultSession) LastMigrationStart(chainId *big.Int, ctoken common.Address) (*big.Int, error)
LastMigrationStart is a free data retrieval call binding the contract method 0x066fe7b4.
Solidity: function lastMigrationStart(uint256 chainId, address ctoken) view returns(uint256 timestamp)
func (*ERC20VaultSession) LastUnpausedAt ¶
func (_ERC20Vault *ERC20VaultSession) LastUnpausedAt() (uint64, error)
LastUnpausedAt is a free data retrieval call binding the contract method 0xe07baba6.
Solidity: function lastUnpausedAt() view returns(uint64)
func (*ERC20VaultSession) MINMIGRATIONDELAY ¶
func (_ERC20Vault *ERC20VaultSession) MINMIGRATIONDELAY() (*big.Int, error)
MINMIGRATIONDELAY is a free data retrieval call binding the contract method 0xd56ad7ac.
Solidity: function MIN_MIGRATION_DELAY() view returns(uint256)
func (*ERC20VaultSession) Name ¶
func (_ERC20Vault *ERC20VaultSession) Name() ([32]byte, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() pure returns(bytes32)
func (*ERC20VaultSession) OnMessageInvocation ¶
func (_ERC20Vault *ERC20VaultSession) OnMessageInvocation(_data []byte) (*types.Transaction, error)
OnMessageInvocation is a paid mutator transaction binding the contract method 0x7f07c947.
Solidity: function onMessageInvocation(bytes _data) payable returns()
func (*ERC20VaultSession) OnMessageRecalled ¶
func (_ERC20Vault *ERC20VaultSession) OnMessageRecalled(_message IBridgeMessage, _msgHash [32]byte) (*types.Transaction, error)
OnMessageRecalled is a paid mutator transaction binding the contract method 0x0178733a.
Solidity: function onMessageRecalled((uint64,uint64,uint32,address,uint64,address,uint64,address,address,uint256,bytes) _message, bytes32 _msgHash) payable returns()
func (*ERC20VaultSession) Owner ¶
func (_ERC20Vault *ERC20VaultSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*ERC20VaultSession) Pause ¶
func (_ERC20Vault *ERC20VaultSession) Pause() (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*ERC20VaultSession) Paused ¶
func (_ERC20Vault *ERC20VaultSession) Paused() (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*ERC20VaultSession) PendingOwner ¶
func (_ERC20Vault *ERC20VaultSession) PendingOwner() (common.Address, error)
PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.
Solidity: function pendingOwner() view returns(address)
func (*ERC20VaultSession) ProxiableUUID ¶
func (_ERC20Vault *ERC20VaultSession) ProxiableUUID() ([32]byte, error)
ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.
Solidity: function proxiableUUID() view returns(bytes32)
func (*ERC20VaultSession) RenounceOwnership ¶
func (_ERC20Vault *ERC20VaultSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*ERC20VaultSession) Resolve ¶
func (_ERC20Vault *ERC20VaultSession) Resolve(_chainId uint64, _name [32]byte, _allowZeroAddress bool) (common.Address, error)
Resolve is a free data retrieval call binding the contract method 0x3eb6b8cf.
Solidity: function resolve(uint64 _chainId, bytes32 _name, bool _allowZeroAddress) view returns(address)
func (*ERC20VaultSession) Resolve0 ¶
func (_ERC20Vault *ERC20VaultSession) Resolve0(_name [32]byte, _allowZeroAddress bool) (common.Address, error)
Resolve0 is a free data retrieval call binding the contract method 0xa86f9d9e.
Solidity: function resolve(bytes32 _name, bool _allowZeroAddress) view returns(address)
func (*ERC20VaultSession) SendToken ¶
func (_ERC20Vault *ERC20VaultSession) SendToken(_op ERC20VaultBridgeTransferOp) (*types.Transaction, error)
SendToken is a paid mutator transaction binding the contract method 0xb84d9ffe.
Solidity: function sendToken((uint64,address,address,uint64,address,uint32,uint256) _op) payable returns((uint64,uint64,uint32,address,uint64,address,uint64,address,address,uint256,bytes) message_)
func (*ERC20VaultSession) SupportsInterface ¶
func (_ERC20Vault *ERC20VaultSession) 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 (*ERC20VaultSession) TransferOwnership ¶
func (_ERC20Vault *ERC20VaultSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*ERC20VaultSession) Unpause ¶
func (_ERC20Vault *ERC20VaultSession) Unpause() (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
func (*ERC20VaultSession) UpgradeTo ¶
func (_ERC20Vault *ERC20VaultSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)
UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.
Solidity: function upgradeTo(address newImplementation) returns()
func (*ERC20VaultSession) UpgradeToAndCall ¶
func (_ERC20Vault *ERC20VaultSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)
UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.
Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()
type ERC20VaultTokenReceived ¶
type ERC20VaultTokenReceived struct { MsgHash [32]byte From common.Address To common.Address SrcChainId uint64 Ctoken common.Address Token common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
ERC20VaultTokenReceived represents a TokenReceived event raised by the ERC20Vault contract.
type ERC20VaultTokenReceivedIterator ¶
type ERC20VaultTokenReceivedIterator struct { Event *ERC20VaultTokenReceived // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC20VaultTokenReceivedIterator is returned from FilterTokenReceived and is used to iterate over the raw logs and unpacked data for TokenReceived events raised by the ERC20Vault contract.
func (*ERC20VaultTokenReceivedIterator) Close ¶
func (it *ERC20VaultTokenReceivedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC20VaultTokenReceivedIterator) Error ¶
func (it *ERC20VaultTokenReceivedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC20VaultTokenReceivedIterator) Next ¶
func (it *ERC20VaultTokenReceivedIterator) 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 ERC20VaultTokenReleased ¶
type ERC20VaultTokenReleased struct { MsgHash [32]byte From common.Address Ctoken common.Address Token common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
ERC20VaultTokenReleased represents a TokenReleased event raised by the ERC20Vault contract.
type ERC20VaultTokenReleasedIterator ¶
type ERC20VaultTokenReleasedIterator struct { Event *ERC20VaultTokenReleased // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC20VaultTokenReleasedIterator is returned from FilterTokenReleased and is used to iterate over the raw logs and unpacked data for TokenReleased events raised by the ERC20Vault contract.
func (*ERC20VaultTokenReleasedIterator) Close ¶
func (it *ERC20VaultTokenReleasedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC20VaultTokenReleasedIterator) Error ¶
func (it *ERC20VaultTokenReleasedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC20VaultTokenReleasedIterator) Next ¶
func (it *ERC20VaultTokenReleasedIterator) 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 ERC20VaultTokenSent ¶
type ERC20VaultTokenSent struct { MsgHash [32]byte From common.Address To common.Address CanonicalChainId uint64 DestChainId uint64 Ctoken common.Address Token common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
ERC20VaultTokenSent represents a TokenSent event raised by the ERC20Vault contract.
type ERC20VaultTokenSentIterator ¶
type ERC20VaultTokenSentIterator struct { Event *ERC20VaultTokenSent // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC20VaultTokenSentIterator is returned from FilterTokenSent and is used to iterate over the raw logs and unpacked data for TokenSent events raised by the ERC20Vault contract.
func (*ERC20VaultTokenSentIterator) Close ¶
func (it *ERC20VaultTokenSentIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC20VaultTokenSentIterator) Error ¶
func (it *ERC20VaultTokenSentIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC20VaultTokenSentIterator) Next ¶
func (it *ERC20VaultTokenSentIterator) 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 ERC20VaultTransactor ¶
type ERC20VaultTransactor struct {
// contains filtered or unexported fields
}
ERC20VaultTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewERC20VaultTransactor ¶
func NewERC20VaultTransactor(address common.Address, transactor bind.ContractTransactor) (*ERC20VaultTransactor, error)
NewERC20VaultTransactor creates a new write-only instance of ERC20Vault, bound to a specific deployed contract.
func (*ERC20VaultTransactor) AcceptOwnership ¶
func (_ERC20Vault *ERC20VaultTransactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.
Solidity: function acceptOwnership() returns()
func (*ERC20VaultTransactor) ChangeBridgedToken ¶
func (_ERC20Vault *ERC20VaultTransactor) ChangeBridgedToken(opts *bind.TransactOpts, _ctoken ERC20VaultCanonicalERC20, _btokenNew common.Address) (*types.Transaction, error)
ChangeBridgedToken is a paid mutator transaction binding the contract method 0x0ecd8be9.
Solidity: function changeBridgedToken((uint64,address,uint8,string,string) _ctoken, address _btokenNew) returns(address btokenOld_)
func (*ERC20VaultTransactor) Init ¶
func (_ERC20Vault *ERC20VaultTransactor) Init(opts *bind.TransactOpts, _owner common.Address, _addressManager common.Address) (*types.Transaction, error)
Init is a paid mutator transaction binding the contract method 0xf09a4016.
Solidity: function init(address _owner, address _addressManager) returns()
func (*ERC20VaultTransactor) OnMessageInvocation ¶
func (_ERC20Vault *ERC20VaultTransactor) OnMessageInvocation(opts *bind.TransactOpts, _data []byte) (*types.Transaction, error)
OnMessageInvocation is a paid mutator transaction binding the contract method 0x7f07c947.
Solidity: function onMessageInvocation(bytes _data) payable returns()
func (*ERC20VaultTransactor) OnMessageRecalled ¶
func (_ERC20Vault *ERC20VaultTransactor) OnMessageRecalled(opts *bind.TransactOpts, _message IBridgeMessage, _msgHash [32]byte) (*types.Transaction, error)
OnMessageRecalled is a paid mutator transaction binding the contract method 0x0178733a.
Solidity: function onMessageRecalled((uint64,uint64,uint32,address,uint64,address,uint64,address,address,uint256,bytes) _message, bytes32 _msgHash) payable returns()
func (*ERC20VaultTransactor) Pause ¶
func (_ERC20Vault *ERC20VaultTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*ERC20VaultTransactor) RenounceOwnership ¶
func (_ERC20Vault *ERC20VaultTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*ERC20VaultTransactor) SendToken ¶
func (_ERC20Vault *ERC20VaultTransactor) SendToken(opts *bind.TransactOpts, _op ERC20VaultBridgeTransferOp) (*types.Transaction, error)
SendToken is a paid mutator transaction binding the contract method 0xb84d9ffe.
Solidity: function sendToken((uint64,address,address,uint64,address,uint32,uint256) _op) payable returns((uint64,uint64,uint32,address,uint64,address,uint64,address,address,uint256,bytes) message_)
func (*ERC20VaultTransactor) TransferOwnership ¶
func (_ERC20Vault *ERC20VaultTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*ERC20VaultTransactor) Unpause ¶
func (_ERC20Vault *ERC20VaultTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
func (*ERC20VaultTransactor) UpgradeTo ¶
func (_ERC20Vault *ERC20VaultTransactor) UpgradeTo(opts *bind.TransactOpts, newImplementation common.Address) (*types.Transaction, error)
UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.
Solidity: function upgradeTo(address newImplementation) returns()
func (*ERC20VaultTransactor) UpgradeToAndCall ¶
func (_ERC20Vault *ERC20VaultTransactor) UpgradeToAndCall(opts *bind.TransactOpts, newImplementation common.Address, data []byte) (*types.Transaction, error)
UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.
Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()
type ERC20VaultTransactorRaw ¶
type ERC20VaultTransactorRaw struct {
Contract *ERC20VaultTransactor // Generic write-only contract binding to access the raw methods on
}
ERC20VaultTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ERC20VaultTransactorRaw) Transact ¶
func (_ERC20Vault *ERC20VaultTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ERC20VaultTransactorRaw) Transfer ¶
func (_ERC20Vault *ERC20VaultTransactorRaw) 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 ERC20VaultTransactorSession ¶
type ERC20VaultTransactorSession struct { Contract *ERC20VaultTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ERC20VaultTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ERC20VaultTransactorSession) AcceptOwnership ¶
func (_ERC20Vault *ERC20VaultTransactorSession) AcceptOwnership() (*types.Transaction, error)
AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.
Solidity: function acceptOwnership() returns()
func (*ERC20VaultTransactorSession) ChangeBridgedToken ¶
func (_ERC20Vault *ERC20VaultTransactorSession) ChangeBridgedToken(_ctoken ERC20VaultCanonicalERC20, _btokenNew common.Address) (*types.Transaction, error)
ChangeBridgedToken is a paid mutator transaction binding the contract method 0x0ecd8be9.
Solidity: function changeBridgedToken((uint64,address,uint8,string,string) _ctoken, address _btokenNew) returns(address btokenOld_)
func (*ERC20VaultTransactorSession) Init ¶
func (_ERC20Vault *ERC20VaultTransactorSession) Init(_owner common.Address, _addressManager common.Address) (*types.Transaction, error)
Init is a paid mutator transaction binding the contract method 0xf09a4016.
Solidity: function init(address _owner, address _addressManager) returns()
func (*ERC20VaultTransactorSession) OnMessageInvocation ¶
func (_ERC20Vault *ERC20VaultTransactorSession) OnMessageInvocation(_data []byte) (*types.Transaction, error)
OnMessageInvocation is a paid mutator transaction binding the contract method 0x7f07c947.
Solidity: function onMessageInvocation(bytes _data) payable returns()
func (*ERC20VaultTransactorSession) OnMessageRecalled ¶
func (_ERC20Vault *ERC20VaultTransactorSession) OnMessageRecalled(_message IBridgeMessage, _msgHash [32]byte) (*types.Transaction, error)
OnMessageRecalled is a paid mutator transaction binding the contract method 0x0178733a.
Solidity: function onMessageRecalled((uint64,uint64,uint32,address,uint64,address,uint64,address,address,uint256,bytes) _message, bytes32 _msgHash) payable returns()
func (*ERC20VaultTransactorSession) Pause ¶
func (_ERC20Vault *ERC20VaultTransactorSession) Pause() (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*ERC20VaultTransactorSession) RenounceOwnership ¶
func (_ERC20Vault *ERC20VaultTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*ERC20VaultTransactorSession) SendToken ¶
func (_ERC20Vault *ERC20VaultTransactorSession) SendToken(_op ERC20VaultBridgeTransferOp) (*types.Transaction, error)
SendToken is a paid mutator transaction binding the contract method 0xb84d9ffe.
Solidity: function sendToken((uint64,address,address,uint64,address,uint32,uint256) _op) payable returns((uint64,uint64,uint32,address,uint64,address,uint64,address,address,uint256,bytes) message_)
func (*ERC20VaultTransactorSession) TransferOwnership ¶
func (_ERC20Vault *ERC20VaultTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*ERC20VaultTransactorSession) Unpause ¶
func (_ERC20Vault *ERC20VaultTransactorSession) Unpause() (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
func (*ERC20VaultTransactorSession) UpgradeTo ¶
func (_ERC20Vault *ERC20VaultTransactorSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)
UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.
Solidity: function upgradeTo(address newImplementation) returns()
func (*ERC20VaultTransactorSession) UpgradeToAndCall ¶
func (_ERC20Vault *ERC20VaultTransactorSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)
UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.
Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()
type ERC20VaultUnpaused ¶
type ERC20VaultUnpaused struct { Account common.Address Raw types.Log // Blockchain specific contextual infos }
ERC20VaultUnpaused represents a Unpaused event raised by the ERC20Vault contract.
type ERC20VaultUnpausedIterator ¶
type ERC20VaultUnpausedIterator struct { Event *ERC20VaultUnpaused // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC20VaultUnpausedIterator is returned from FilterUnpaused and is used to iterate over the raw logs and unpacked data for Unpaused events raised by the ERC20Vault contract.
func (*ERC20VaultUnpausedIterator) Close ¶
func (it *ERC20VaultUnpausedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC20VaultUnpausedIterator) Error ¶
func (it *ERC20VaultUnpausedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC20VaultUnpausedIterator) Next ¶
func (it *ERC20VaultUnpausedIterator) 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 ERC20VaultUpgraded ¶
type ERC20VaultUpgraded struct { Implementation common.Address Raw types.Log // Blockchain specific contextual infos }
ERC20VaultUpgraded represents a Upgraded event raised by the ERC20Vault contract.
type ERC20VaultUpgradedIterator ¶
type ERC20VaultUpgradedIterator struct { Event *ERC20VaultUpgraded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC20VaultUpgradedIterator is returned from FilterUpgraded and is used to iterate over the raw logs and unpacked data for Upgraded events raised by the ERC20Vault contract.
func (*ERC20VaultUpgradedIterator) Close ¶
func (it *ERC20VaultUpgradedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC20VaultUpgradedIterator) Error ¶
func (it *ERC20VaultUpgradedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC20VaultUpgradedIterator) Next ¶
func (it *ERC20VaultUpgradedIterator) 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 IBridgeMessage ¶
type IBridgeMessage struct { Id uint64 Fee uint64 GasLimit uint32 From common.Address SrcChainId uint64 SrcOwner common.Address DestChainId uint64 DestOwner common.Address To common.Address Value *big.Int Data []byte }
IBridgeMessage is an auto generated low-level Go binding around an user-defined struct.