Documentation ¶
Index ¶
- Variables
- type BaseNFTVaultBridgeTransferOp
- type ERC1155Vault
- type ERC1155VaultAdminChanged
- type ERC1155VaultAdminChangedIterator
- type ERC1155VaultBeaconUpgraded
- type ERC1155VaultBeaconUpgradedIterator
- type ERC1155VaultBridgedTokenDeployed
- type ERC1155VaultBridgedTokenDeployedIterator
- type ERC1155VaultCaller
- func (_ERC1155Vault *ERC1155VaultCaller) AddressManager(opts *bind.CallOpts) (common.Address, error)
- func (_ERC1155Vault *ERC1155VaultCaller) BridgedToCanonical(opts *bind.CallOpts, btoken common.Address) (struct{ ... }, error)
- func (_ERC1155Vault *ERC1155VaultCaller) CanonicalToBridged(opts *bind.CallOpts, chainId *big.Int, ctoken common.Address) (common.Address, error)
- func (_ERC1155Vault *ERC1155VaultCaller) Impl(opts *bind.CallOpts) (common.Address, error)
- func (_ERC1155Vault *ERC1155VaultCaller) InNonReentrant(opts *bind.CallOpts) (bool, error)
- func (_ERC1155Vault *ERC1155VaultCaller) LastUnpausedAt(opts *bind.CallOpts) (uint64, error)
- func (_ERC1155Vault *ERC1155VaultCaller) Name(opts *bind.CallOpts) ([32]byte, error)
- func (_ERC1155Vault *ERC1155VaultCaller) OnERC1155BatchReceived(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address, arg2 []*big.Int, ...) ([4]byte, error)
- func (_ERC1155Vault *ERC1155VaultCaller) OnERC1155Received(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address, arg2 *big.Int, ...) ([4]byte, error)
- func (_ERC1155Vault *ERC1155VaultCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_ERC1155Vault *ERC1155VaultCaller) Paused(opts *bind.CallOpts) (bool, error)
- func (_ERC1155Vault *ERC1155VaultCaller) PendingOwner(opts *bind.CallOpts) (common.Address, error)
- func (_ERC1155Vault *ERC1155VaultCaller) ProxiableUUID(opts *bind.CallOpts) ([32]byte, error)
- func (_ERC1155Vault *ERC1155VaultCaller) Resolve(opts *bind.CallOpts, _chainId uint64, _name [32]byte, _allowZeroAddress bool) (common.Address, error)
- func (_ERC1155Vault *ERC1155VaultCaller) Resolve0(opts *bind.CallOpts, _name [32]byte, _allowZeroAddress bool) (common.Address, error)
- func (_ERC1155Vault *ERC1155VaultCaller) SupportsInterface(opts *bind.CallOpts, _interfaceId [4]byte) (bool, error)
- type ERC1155VaultCallerRaw
- type ERC1155VaultCallerSession
- func (_ERC1155Vault *ERC1155VaultCallerSession) AddressManager() (common.Address, error)
- func (_ERC1155Vault *ERC1155VaultCallerSession) BridgedToCanonical(btoken common.Address) (struct{ ... }, error)
- func (_ERC1155Vault *ERC1155VaultCallerSession) CanonicalToBridged(chainId *big.Int, ctoken common.Address) (common.Address, error)
- func (_ERC1155Vault *ERC1155VaultCallerSession) Impl() (common.Address, error)
- func (_ERC1155Vault *ERC1155VaultCallerSession) InNonReentrant() (bool, error)
- func (_ERC1155Vault *ERC1155VaultCallerSession) LastUnpausedAt() (uint64, error)
- func (_ERC1155Vault *ERC1155VaultCallerSession) Name() ([32]byte, error)
- func (_ERC1155Vault *ERC1155VaultCallerSession) OnERC1155BatchReceived(arg0 common.Address, arg1 common.Address, arg2 []*big.Int, arg3 []*big.Int, ...) ([4]byte, error)
- func (_ERC1155Vault *ERC1155VaultCallerSession) OnERC1155Received(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, ...) ([4]byte, error)
- func (_ERC1155Vault *ERC1155VaultCallerSession) Owner() (common.Address, error)
- func (_ERC1155Vault *ERC1155VaultCallerSession) Paused() (bool, error)
- func (_ERC1155Vault *ERC1155VaultCallerSession) PendingOwner() (common.Address, error)
- func (_ERC1155Vault *ERC1155VaultCallerSession) ProxiableUUID() ([32]byte, error)
- func (_ERC1155Vault *ERC1155VaultCallerSession) Resolve(_chainId uint64, _name [32]byte, _allowZeroAddress bool) (common.Address, error)
- func (_ERC1155Vault *ERC1155VaultCallerSession) Resolve0(_name [32]byte, _allowZeroAddress bool) (common.Address, error)
- func (_ERC1155Vault *ERC1155VaultCallerSession) SupportsInterface(_interfaceId [4]byte) (bool, error)
- type ERC1155VaultFilterer
- func (_ERC1155Vault *ERC1155VaultFilterer) FilterAdminChanged(opts *bind.FilterOpts) (*ERC1155VaultAdminChangedIterator, error)
- func (_ERC1155Vault *ERC1155VaultFilterer) FilterBeaconUpgraded(opts *bind.FilterOpts, beacon []common.Address) (*ERC1155VaultBeaconUpgradedIterator, error)
- func (_ERC1155Vault *ERC1155VaultFilterer) FilterBridgedTokenDeployed(opts *bind.FilterOpts, chainId []uint64, ctoken []common.Address, ...) (*ERC1155VaultBridgedTokenDeployedIterator, error)
- func (_ERC1155Vault *ERC1155VaultFilterer) FilterInitialized(opts *bind.FilterOpts) (*ERC1155VaultInitializedIterator, error)
- func (_ERC1155Vault *ERC1155VaultFilterer) FilterOwnershipTransferStarted(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*ERC1155VaultOwnershipTransferStartedIterator, error)
- func (_ERC1155Vault *ERC1155VaultFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*ERC1155VaultOwnershipTransferredIterator, error)
- func (_ERC1155Vault *ERC1155VaultFilterer) FilterPaused(opts *bind.FilterOpts) (*ERC1155VaultPausedIterator, error)
- func (_ERC1155Vault *ERC1155VaultFilterer) FilterTokenReceived(opts *bind.FilterOpts, msgHash [][32]byte, from []common.Address, ...) (*ERC1155VaultTokenReceivedIterator, error)
- func (_ERC1155Vault *ERC1155VaultFilterer) FilterTokenReleased(opts *bind.FilterOpts, msgHash [][32]byte, from []common.Address) (*ERC1155VaultTokenReleasedIterator, error)
- func (_ERC1155Vault *ERC1155VaultFilterer) FilterTokenSent(opts *bind.FilterOpts, msgHash [][32]byte, from []common.Address, ...) (*ERC1155VaultTokenSentIterator, error)
- func (_ERC1155Vault *ERC1155VaultFilterer) FilterUnpaused(opts *bind.FilterOpts) (*ERC1155VaultUnpausedIterator, error)
- func (_ERC1155Vault *ERC1155VaultFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*ERC1155VaultUpgradedIterator, error)
- func (_ERC1155Vault *ERC1155VaultFilterer) ParseAdminChanged(log types.Log) (*ERC1155VaultAdminChanged, error)
- func (_ERC1155Vault *ERC1155VaultFilterer) ParseBeaconUpgraded(log types.Log) (*ERC1155VaultBeaconUpgraded, error)
- func (_ERC1155Vault *ERC1155VaultFilterer) ParseBridgedTokenDeployed(log types.Log) (*ERC1155VaultBridgedTokenDeployed, error)
- func (_ERC1155Vault *ERC1155VaultFilterer) ParseInitialized(log types.Log) (*ERC1155VaultInitialized, error)
- func (_ERC1155Vault *ERC1155VaultFilterer) ParseOwnershipTransferStarted(log types.Log) (*ERC1155VaultOwnershipTransferStarted, error)
- func (_ERC1155Vault *ERC1155VaultFilterer) ParseOwnershipTransferred(log types.Log) (*ERC1155VaultOwnershipTransferred, error)
- func (_ERC1155Vault *ERC1155VaultFilterer) ParsePaused(log types.Log) (*ERC1155VaultPaused, error)
- func (_ERC1155Vault *ERC1155VaultFilterer) ParseTokenReceived(log types.Log) (*ERC1155VaultTokenReceived, error)
- func (_ERC1155Vault *ERC1155VaultFilterer) ParseTokenReleased(log types.Log) (*ERC1155VaultTokenReleased, error)
- func (_ERC1155Vault *ERC1155VaultFilterer) ParseTokenSent(log types.Log) (*ERC1155VaultTokenSent, error)
- func (_ERC1155Vault *ERC1155VaultFilterer) ParseUnpaused(log types.Log) (*ERC1155VaultUnpaused, error)
- func (_ERC1155Vault *ERC1155VaultFilterer) ParseUpgraded(log types.Log) (*ERC1155VaultUpgraded, error)
- func (_ERC1155Vault *ERC1155VaultFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *ERC1155VaultAdminChanged) (event.Subscription, error)
- func (_ERC1155Vault *ERC1155VaultFilterer) WatchBeaconUpgraded(opts *bind.WatchOpts, sink chan<- *ERC1155VaultBeaconUpgraded, ...) (event.Subscription, error)
- func (_ERC1155Vault *ERC1155VaultFilterer) WatchBridgedTokenDeployed(opts *bind.WatchOpts, sink chan<- *ERC1155VaultBridgedTokenDeployed, ...) (event.Subscription, error)
- func (_ERC1155Vault *ERC1155VaultFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *ERC1155VaultInitialized) (event.Subscription, error)
- func (_ERC1155Vault *ERC1155VaultFilterer) WatchOwnershipTransferStarted(opts *bind.WatchOpts, sink chan<- *ERC1155VaultOwnershipTransferStarted, ...) (event.Subscription, error)
- func (_ERC1155Vault *ERC1155VaultFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ERC1155VaultOwnershipTransferred, ...) (event.Subscription, error)
- func (_ERC1155Vault *ERC1155VaultFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *ERC1155VaultPaused) (event.Subscription, error)
- func (_ERC1155Vault *ERC1155VaultFilterer) WatchTokenReceived(opts *bind.WatchOpts, sink chan<- *ERC1155VaultTokenReceived, ...) (event.Subscription, error)
- func (_ERC1155Vault *ERC1155VaultFilterer) WatchTokenReleased(opts *bind.WatchOpts, sink chan<- *ERC1155VaultTokenReleased, ...) (event.Subscription, error)
- func (_ERC1155Vault *ERC1155VaultFilterer) WatchTokenSent(opts *bind.WatchOpts, sink chan<- *ERC1155VaultTokenSent, msgHash [][32]byte, ...) (event.Subscription, error)
- func (_ERC1155Vault *ERC1155VaultFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *ERC1155VaultUnpaused) (event.Subscription, error)
- func (_ERC1155Vault *ERC1155VaultFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *ERC1155VaultUpgraded, ...) (event.Subscription, error)
- type ERC1155VaultInitialized
- type ERC1155VaultInitializedIterator
- type ERC1155VaultOwnershipTransferStarted
- type ERC1155VaultOwnershipTransferStartedIterator
- type ERC1155VaultOwnershipTransferred
- type ERC1155VaultOwnershipTransferredIterator
- type ERC1155VaultPaused
- type ERC1155VaultPausedIterator
- type ERC1155VaultRaw
- func (_ERC1155Vault *ERC1155VaultRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_ERC1155Vault *ERC1155VaultRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ERC1155Vault *ERC1155VaultRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ERC1155VaultSession
- func (_ERC1155Vault *ERC1155VaultSession) AcceptOwnership() (*types.Transaction, error)
- func (_ERC1155Vault *ERC1155VaultSession) AddressManager() (common.Address, error)
- func (_ERC1155Vault *ERC1155VaultSession) BridgedToCanonical(btoken common.Address) (struct{ ... }, error)
- func (_ERC1155Vault *ERC1155VaultSession) CanonicalToBridged(chainId *big.Int, ctoken common.Address) (common.Address, error)
- func (_ERC1155Vault *ERC1155VaultSession) Impl() (common.Address, error)
- func (_ERC1155Vault *ERC1155VaultSession) InNonReentrant() (bool, error)
- func (_ERC1155Vault *ERC1155VaultSession) Init(_owner common.Address, _addressManager common.Address) (*types.Transaction, error)
- func (_ERC1155Vault *ERC1155VaultSession) LastUnpausedAt() (uint64, error)
- func (_ERC1155Vault *ERC1155VaultSession) Name() ([32]byte, error)
- func (_ERC1155Vault *ERC1155VaultSession) OnERC1155BatchReceived(arg0 common.Address, arg1 common.Address, arg2 []*big.Int, arg3 []*big.Int, ...) ([4]byte, error)
- func (_ERC1155Vault *ERC1155VaultSession) OnERC1155Received(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, ...) ([4]byte, error)
- func (_ERC1155Vault *ERC1155VaultSession) OnMessageInvocation(data []byte) (*types.Transaction, error)
- func (_ERC1155Vault *ERC1155VaultSession) OnMessageRecalled(message IBridgeMessage, msgHash [32]byte) (*types.Transaction, error)
- func (_ERC1155Vault *ERC1155VaultSession) Owner() (common.Address, error)
- func (_ERC1155Vault *ERC1155VaultSession) Pause() (*types.Transaction, error)
- func (_ERC1155Vault *ERC1155VaultSession) Paused() (bool, error)
- func (_ERC1155Vault *ERC1155VaultSession) PendingOwner() (common.Address, error)
- func (_ERC1155Vault *ERC1155VaultSession) ProxiableUUID() ([32]byte, error)
- func (_ERC1155Vault *ERC1155VaultSession) RenounceOwnership() (*types.Transaction, error)
- func (_ERC1155Vault *ERC1155VaultSession) Resolve(_chainId uint64, _name [32]byte, _allowZeroAddress bool) (common.Address, error)
- func (_ERC1155Vault *ERC1155VaultSession) Resolve0(_name [32]byte, _allowZeroAddress bool) (common.Address, error)
- func (_ERC1155Vault *ERC1155VaultSession) SendToken(_op BaseNFTVaultBridgeTransferOp) (*types.Transaction, error)
- func (_ERC1155Vault *ERC1155VaultSession) SupportsInterface(_interfaceId [4]byte) (bool, error)
- func (_ERC1155Vault *ERC1155VaultSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_ERC1155Vault *ERC1155VaultSession) Unpause() (*types.Transaction, error)
- func (_ERC1155Vault *ERC1155VaultSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)
- func (_ERC1155Vault *ERC1155VaultSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)
- type ERC1155VaultTokenReceived
- type ERC1155VaultTokenReceivedIterator
- type ERC1155VaultTokenReleased
- type ERC1155VaultTokenReleasedIterator
- type ERC1155VaultTokenSent
- type ERC1155VaultTokenSentIterator
- type ERC1155VaultTransactor
- func (_ERC1155Vault *ERC1155VaultTransactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_ERC1155Vault *ERC1155VaultTransactor) Init(opts *bind.TransactOpts, _owner common.Address, _addressManager common.Address) (*types.Transaction, error)
- func (_ERC1155Vault *ERC1155VaultTransactor) OnMessageInvocation(opts *bind.TransactOpts, data []byte) (*types.Transaction, error)
- func (_ERC1155Vault *ERC1155VaultTransactor) OnMessageRecalled(opts *bind.TransactOpts, message IBridgeMessage, msgHash [32]byte) (*types.Transaction, error)
- func (_ERC1155Vault *ERC1155VaultTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_ERC1155Vault *ERC1155VaultTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_ERC1155Vault *ERC1155VaultTransactor) SendToken(opts *bind.TransactOpts, _op BaseNFTVaultBridgeTransferOp) (*types.Transaction, error)
- func (_ERC1155Vault *ERC1155VaultTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_ERC1155Vault *ERC1155VaultTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_ERC1155Vault *ERC1155VaultTransactor) UpgradeTo(opts *bind.TransactOpts, newImplementation common.Address) (*types.Transaction, error)
- func (_ERC1155Vault *ERC1155VaultTransactor) UpgradeToAndCall(opts *bind.TransactOpts, newImplementation common.Address, data []byte) (*types.Transaction, error)
- type ERC1155VaultTransactorRaw
- type ERC1155VaultTransactorSession
- func (_ERC1155Vault *ERC1155VaultTransactorSession) AcceptOwnership() (*types.Transaction, error)
- func (_ERC1155Vault *ERC1155VaultTransactorSession) Init(_owner common.Address, _addressManager common.Address) (*types.Transaction, error)
- func (_ERC1155Vault *ERC1155VaultTransactorSession) OnMessageInvocation(data []byte) (*types.Transaction, error)
- func (_ERC1155Vault *ERC1155VaultTransactorSession) OnMessageRecalled(message IBridgeMessage, msgHash [32]byte) (*types.Transaction, error)
- func (_ERC1155Vault *ERC1155VaultTransactorSession) Pause() (*types.Transaction, error)
- func (_ERC1155Vault *ERC1155VaultTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_ERC1155Vault *ERC1155VaultTransactorSession) SendToken(_op BaseNFTVaultBridgeTransferOp) (*types.Transaction, error)
- func (_ERC1155Vault *ERC1155VaultTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_ERC1155Vault *ERC1155VaultTransactorSession) Unpause() (*types.Transaction, error)
- func (_ERC1155Vault *ERC1155VaultTransactorSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)
- func (_ERC1155Vault *ERC1155VaultTransactorSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)
- type ERC1155VaultUnpaused
- type ERC1155VaultUnpausedIterator
- type ERC1155VaultUpgraded
- type ERC1155VaultUpgradedIterator
- type IBridgeMessage
Constants ¶
This section is empty.
Variables ¶
var ERC1155VaultABI = ERC1155VaultMetaData.ABI
ERC1155VaultABI is the input ABI used to generate the binding from. Deprecated: Use ERC1155VaultMetaData.ABI instead.
var ERC1155VaultMetaData = &bind.MetaData{
ABI: "[{\"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\":\"symbol\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"name\",\"type\":\"string\",\"internalType\":\"string\"}],\"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\":\"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\":\"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\":\"onERC1155BatchReceived\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"\",\"type\":\"uint256[]\",\"internalType\":\"uint256[]\"},{\"name\":\"\",\"type\":\"uint256[]\",\"internalType\":\"uint256[]\"},{\"name\":\"\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bytes4\",\"internalType\":\"bytes4\"}],\"stateMutability\":\"pure\"},{\"type\":\"function\",\"name\":\"onERC1155Received\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bytes4\",\"internalType\":\"bytes4\"}],\"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\":\"structBaseNFTVault.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\":\"tokenIds\",\"type\":\"uint256[]\",\"internalType\":\"uint256[]\"},{\"name\":\"amounts\",\"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\":\"BridgedTokenDeployed\",\"inputs\":[{\"name\":\"chainId\",\"type\":\"uint64\",\"indexed\":true,\"internalType\":\"uint64\"},{\"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\"}],\"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\":\"tokenIds\",\"type\":\"uint256[]\",\"indexed\":false,\"internalType\":\"uint256[]\"},{\"name\":\"amounts\",\"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\":\"tokenIds\",\"type\":\"uint256[]\",\"indexed\":false,\"internalType\":\"uint256[]\"},{\"name\":\"amounts\",\"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\":\"destChainId\",\"type\":\"uint64\",\"indexed\":false,\"internalType\":\"uint64\"},{\"name\":\"ctoken\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"},{\"name\":\"token\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"},{\"name\":\"tokenIds\",\"type\":\"uint256[]\",\"indexed\":false,\"internalType\":\"uint256[]\"},{\"name\":\"amounts\",\"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_INSUFFICIENT_FEE\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"VAULT_INTERFACE_NOT_SUPPORTED\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"VAULT_INVALID_AMOUNT\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"VAULT_INVALID_TOKEN\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"VAULT_INVALID_TO_ADDR\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"VAULT_PERMISSION_DENIED\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"VAULT_TOKEN_ARRAY_MISMATCH\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ZERO_ADDRESS\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ZERO_VALUE\",\"inputs\":[]}]",
}
ERC1155VaultMetaData contains all meta data concerning the ERC1155Vault contract.
Functions ¶
This section is empty.
Types ¶
type BaseNFTVaultBridgeTransferOp ¶
type BaseNFTVaultBridgeTransferOp struct { DestChainId uint64 DestOwner common.Address To common.Address Fee uint64 Token common.Address GasLimit uint32 TokenIds []*big.Int Amounts []*big.Int }
BaseNFTVaultBridgeTransferOp is an auto generated low-level Go binding around an user-defined struct.
type ERC1155Vault ¶
type ERC1155Vault struct { ERC1155VaultCaller // Read-only binding to the contract ERC1155VaultTransactor // Write-only binding to the contract ERC1155VaultFilterer // Log filterer for contract events }
ERC1155Vault is an auto generated Go binding around an Ethereum contract.
func NewERC1155Vault ¶
func NewERC1155Vault(address common.Address, backend bind.ContractBackend) (*ERC1155Vault, error)
NewERC1155Vault creates a new instance of ERC1155Vault, bound to a specific deployed contract.
type ERC1155VaultAdminChanged ¶
type ERC1155VaultAdminChanged struct { PreviousAdmin common.Address NewAdmin common.Address Raw types.Log // Blockchain specific contextual infos }
ERC1155VaultAdminChanged represents a AdminChanged event raised by the ERC1155Vault contract.
type ERC1155VaultAdminChangedIterator ¶
type ERC1155VaultAdminChangedIterator struct { Event *ERC1155VaultAdminChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC1155VaultAdminChangedIterator is returned from FilterAdminChanged and is used to iterate over the raw logs and unpacked data for AdminChanged events raised by the ERC1155Vault contract.
func (*ERC1155VaultAdminChangedIterator) Close ¶
func (it *ERC1155VaultAdminChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC1155VaultAdminChangedIterator) Error ¶
func (it *ERC1155VaultAdminChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC1155VaultAdminChangedIterator) Next ¶
func (it *ERC1155VaultAdminChangedIterator) 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 ERC1155VaultBeaconUpgraded ¶
type ERC1155VaultBeaconUpgraded struct { Beacon common.Address Raw types.Log // Blockchain specific contextual infos }
ERC1155VaultBeaconUpgraded represents a BeaconUpgraded event raised by the ERC1155Vault contract.
type ERC1155VaultBeaconUpgradedIterator ¶
type ERC1155VaultBeaconUpgradedIterator struct { Event *ERC1155VaultBeaconUpgraded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC1155VaultBeaconUpgradedIterator is returned from FilterBeaconUpgraded and is used to iterate over the raw logs and unpacked data for BeaconUpgraded events raised by the ERC1155Vault contract.
func (*ERC1155VaultBeaconUpgradedIterator) Close ¶
func (it *ERC1155VaultBeaconUpgradedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC1155VaultBeaconUpgradedIterator) Error ¶
func (it *ERC1155VaultBeaconUpgradedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC1155VaultBeaconUpgradedIterator) Next ¶
func (it *ERC1155VaultBeaconUpgradedIterator) 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 ERC1155VaultBridgedTokenDeployed ¶
type ERC1155VaultBridgedTokenDeployed struct { ChainId uint64 Ctoken common.Address Btoken common.Address CtokenSymbol string CtokenName string Raw types.Log // Blockchain specific contextual infos }
ERC1155VaultBridgedTokenDeployed represents a BridgedTokenDeployed event raised by the ERC1155Vault contract.
type ERC1155VaultBridgedTokenDeployedIterator ¶
type ERC1155VaultBridgedTokenDeployedIterator struct { Event *ERC1155VaultBridgedTokenDeployed // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC1155VaultBridgedTokenDeployedIterator is returned from FilterBridgedTokenDeployed and is used to iterate over the raw logs and unpacked data for BridgedTokenDeployed events raised by the ERC1155Vault contract.
func (*ERC1155VaultBridgedTokenDeployedIterator) Close ¶
func (it *ERC1155VaultBridgedTokenDeployedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC1155VaultBridgedTokenDeployedIterator) Error ¶
func (it *ERC1155VaultBridgedTokenDeployedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC1155VaultBridgedTokenDeployedIterator) Next ¶
func (it *ERC1155VaultBridgedTokenDeployedIterator) 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 ERC1155VaultCaller ¶
type ERC1155VaultCaller struct {
// contains filtered or unexported fields
}
ERC1155VaultCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewERC1155VaultCaller ¶
func NewERC1155VaultCaller(address common.Address, caller bind.ContractCaller) (*ERC1155VaultCaller, error)
NewERC1155VaultCaller creates a new read-only instance of ERC1155Vault, bound to a specific deployed contract.
func (*ERC1155VaultCaller) AddressManager ¶
func (_ERC1155Vault *ERC1155VaultCaller) AddressManager(opts *bind.CallOpts) (common.Address, error)
AddressManager is a free data retrieval call binding the contract method 0x3ab76e9f.
Solidity: function addressManager() view returns(address)
func (*ERC1155VaultCaller) BridgedToCanonical ¶
func (_ERC1155Vault *ERC1155VaultCaller) BridgedToCanonical(opts *bind.CallOpts, btoken common.Address) (struct { ChainId uint64 Addr common.Address 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, string symbol, string name)
func (*ERC1155VaultCaller) CanonicalToBridged ¶
func (_ERC1155Vault *ERC1155VaultCaller) 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 (*ERC1155VaultCaller) Impl ¶
Impl is a free data retrieval call binding the contract method 0x8abf6077.
Solidity: function impl() view returns(address)
func (*ERC1155VaultCaller) InNonReentrant ¶
func (_ERC1155Vault *ERC1155VaultCaller) 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 (*ERC1155VaultCaller) LastUnpausedAt ¶
func (_ERC1155Vault *ERC1155VaultCaller) 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 (*ERC1155VaultCaller) Name ¶
func (_ERC1155Vault *ERC1155VaultCaller) 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 (*ERC1155VaultCaller) OnERC1155BatchReceived ¶
func (_ERC1155Vault *ERC1155VaultCaller) OnERC1155BatchReceived(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address, arg2 []*big.Int, arg3 []*big.Int, arg4 []byte) ([4]byte, error)
OnERC1155BatchReceived is a free data retrieval call binding the contract method 0xbc197c81.
Solidity: function onERC1155BatchReceived(address , address , uint256[] , uint256[] , bytes ) pure returns(bytes4)
func (*ERC1155VaultCaller) OnERC1155Received ¶
func (_ERC1155Vault *ERC1155VaultCaller) OnERC1155Received(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, arg4 []byte) ([4]byte, error)
OnERC1155Received is a free data retrieval call binding the contract method 0xf23a6e61.
Solidity: function onERC1155Received(address , address , uint256 , uint256 , bytes ) pure returns(bytes4)
func (*ERC1155VaultCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*ERC1155VaultCaller) Paused ¶
func (_ERC1155Vault *ERC1155VaultCaller) 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 (*ERC1155VaultCaller) PendingOwner ¶
PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.
Solidity: function pendingOwner() view returns(address)
func (*ERC1155VaultCaller) ProxiableUUID ¶
func (_ERC1155Vault *ERC1155VaultCaller) 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 (*ERC1155VaultCaller) Resolve ¶
func (_ERC1155Vault *ERC1155VaultCaller) 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 (*ERC1155VaultCaller) Resolve0 ¶
func (_ERC1155Vault *ERC1155VaultCaller) 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 (*ERC1155VaultCaller) SupportsInterface ¶
func (_ERC1155Vault *ERC1155VaultCaller) 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 ERC1155VaultCallerRaw ¶
type ERC1155VaultCallerRaw struct {
Contract *ERC1155VaultCaller // Generic read-only contract binding to access the raw methods on
}
ERC1155VaultCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ERC1155VaultCallerRaw) Call ¶
func (_ERC1155Vault *ERC1155VaultCallerRaw) 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 ERC1155VaultCallerSession ¶
type ERC1155VaultCallerSession struct { Contract *ERC1155VaultCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ERC1155VaultCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ERC1155VaultCallerSession) AddressManager ¶
func (_ERC1155Vault *ERC1155VaultCallerSession) AddressManager() (common.Address, error)
AddressManager is a free data retrieval call binding the contract method 0x3ab76e9f.
Solidity: function addressManager() view returns(address)
func (*ERC1155VaultCallerSession) BridgedToCanonical ¶
func (_ERC1155Vault *ERC1155VaultCallerSession) BridgedToCanonical(btoken common.Address) (struct { ChainId uint64 Addr common.Address 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, string symbol, string name)
func (*ERC1155VaultCallerSession) CanonicalToBridged ¶
func (_ERC1155Vault *ERC1155VaultCallerSession) 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 (*ERC1155VaultCallerSession) Impl ¶
func (_ERC1155Vault *ERC1155VaultCallerSession) Impl() (common.Address, error)
Impl is a free data retrieval call binding the contract method 0x8abf6077.
Solidity: function impl() view returns(address)
func (*ERC1155VaultCallerSession) InNonReentrant ¶
func (_ERC1155Vault *ERC1155VaultCallerSession) InNonReentrant() (bool, error)
InNonReentrant is a free data retrieval call binding the contract method 0x3075db56.
Solidity: function inNonReentrant() view returns(bool)
func (*ERC1155VaultCallerSession) LastUnpausedAt ¶
func (_ERC1155Vault *ERC1155VaultCallerSession) LastUnpausedAt() (uint64, error)
LastUnpausedAt is a free data retrieval call binding the contract method 0xe07baba6.
Solidity: function lastUnpausedAt() view returns(uint64)
func (*ERC1155VaultCallerSession) Name ¶
func (_ERC1155Vault *ERC1155VaultCallerSession) Name() ([32]byte, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() pure returns(bytes32)
func (*ERC1155VaultCallerSession) OnERC1155BatchReceived ¶
func (_ERC1155Vault *ERC1155VaultCallerSession) OnERC1155BatchReceived(arg0 common.Address, arg1 common.Address, arg2 []*big.Int, arg3 []*big.Int, arg4 []byte) ([4]byte, error)
OnERC1155BatchReceived is a free data retrieval call binding the contract method 0xbc197c81.
Solidity: function onERC1155BatchReceived(address , address , uint256[] , uint256[] , bytes ) pure returns(bytes4)
func (*ERC1155VaultCallerSession) OnERC1155Received ¶
func (_ERC1155Vault *ERC1155VaultCallerSession) OnERC1155Received(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, arg4 []byte) ([4]byte, error)
OnERC1155Received is a free data retrieval call binding the contract method 0xf23a6e61.
Solidity: function onERC1155Received(address , address , uint256 , uint256 , bytes ) pure returns(bytes4)
func (*ERC1155VaultCallerSession) Owner ¶
func (_ERC1155Vault *ERC1155VaultCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*ERC1155VaultCallerSession) Paused ¶
func (_ERC1155Vault *ERC1155VaultCallerSession) Paused() (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*ERC1155VaultCallerSession) PendingOwner ¶
func (_ERC1155Vault *ERC1155VaultCallerSession) PendingOwner() (common.Address, error)
PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.
Solidity: function pendingOwner() view returns(address)
func (*ERC1155VaultCallerSession) ProxiableUUID ¶
func (_ERC1155Vault *ERC1155VaultCallerSession) ProxiableUUID() ([32]byte, error)
ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.
Solidity: function proxiableUUID() view returns(bytes32)
func (*ERC1155VaultCallerSession) Resolve ¶
func (_ERC1155Vault *ERC1155VaultCallerSession) 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 (*ERC1155VaultCallerSession) Resolve0 ¶
func (_ERC1155Vault *ERC1155VaultCallerSession) 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 (*ERC1155VaultCallerSession) SupportsInterface ¶
func (_ERC1155Vault *ERC1155VaultCallerSession) 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 ERC1155VaultFilterer ¶
type ERC1155VaultFilterer struct {
// contains filtered or unexported fields
}
ERC1155VaultFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewERC1155VaultFilterer ¶
func NewERC1155VaultFilterer(address common.Address, filterer bind.ContractFilterer) (*ERC1155VaultFilterer, error)
NewERC1155VaultFilterer creates a new log filterer instance of ERC1155Vault, bound to a specific deployed contract.
func (*ERC1155VaultFilterer) FilterAdminChanged ¶
func (_ERC1155Vault *ERC1155VaultFilterer) FilterAdminChanged(opts *bind.FilterOpts) (*ERC1155VaultAdminChangedIterator, error)
FilterAdminChanged is a free log retrieval operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
Solidity: event AdminChanged(address previousAdmin, address newAdmin)
func (*ERC1155VaultFilterer) FilterBeaconUpgraded ¶
func (_ERC1155Vault *ERC1155VaultFilterer) FilterBeaconUpgraded(opts *bind.FilterOpts, beacon []common.Address) (*ERC1155VaultBeaconUpgradedIterator, error)
FilterBeaconUpgraded is a free log retrieval operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.
Solidity: event BeaconUpgraded(address indexed beacon)
func (*ERC1155VaultFilterer) FilterBridgedTokenDeployed ¶
func (_ERC1155Vault *ERC1155VaultFilterer) FilterBridgedTokenDeployed(opts *bind.FilterOpts, chainId []uint64, ctoken []common.Address, btoken []common.Address) (*ERC1155VaultBridgedTokenDeployedIterator, error)
FilterBridgedTokenDeployed is a free log retrieval operation binding the contract event 0x44977f2d30fe1e3aee2c1476f2f95aaacaf34e44b9359c403da01fcc93fd751b.
Solidity: event BridgedTokenDeployed(uint64 indexed chainId, address indexed ctoken, address indexed btoken, string ctokenSymbol, string ctokenName)
func (*ERC1155VaultFilterer) FilterInitialized ¶
func (_ERC1155Vault *ERC1155VaultFilterer) FilterInitialized(opts *bind.FilterOpts) (*ERC1155VaultInitializedIterator, error)
FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*ERC1155VaultFilterer) FilterOwnershipTransferStarted ¶
func (_ERC1155Vault *ERC1155VaultFilterer) FilterOwnershipTransferStarted(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*ERC1155VaultOwnershipTransferStartedIterator, error)
FilterOwnershipTransferStarted is a free log retrieval operation binding the contract event 0x38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700.
Solidity: event OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner)
func (*ERC1155VaultFilterer) FilterOwnershipTransferred ¶
func (_ERC1155Vault *ERC1155VaultFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*ERC1155VaultOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*ERC1155VaultFilterer) FilterPaused ¶
func (_ERC1155Vault *ERC1155VaultFilterer) FilterPaused(opts *bind.FilterOpts) (*ERC1155VaultPausedIterator, error)
FilterPaused is a free log retrieval operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
Solidity: event Paused(address account)
func (*ERC1155VaultFilterer) FilterTokenReceived ¶
func (_ERC1155Vault *ERC1155VaultFilterer) FilterTokenReceived(opts *bind.FilterOpts, msgHash [][32]byte, from []common.Address, to []common.Address) (*ERC1155VaultTokenReceivedIterator, error)
FilterTokenReceived is a free log retrieval operation binding the contract event 0x895f73e418d1bbbad2a311d085fad00e5d98a960e9f2afa4b942071d39bec43a.
Solidity: event TokenReceived(bytes32 indexed msgHash, address indexed from, address indexed to, uint64 srcChainId, address ctoken, address token, uint256[] tokenIds, uint256[] amounts)
func (*ERC1155VaultFilterer) FilterTokenReleased ¶
func (_ERC1155Vault *ERC1155VaultFilterer) FilterTokenReleased(opts *bind.FilterOpts, msgHash [][32]byte, from []common.Address) (*ERC1155VaultTokenReleasedIterator, error)
FilterTokenReleased is a free log retrieval operation binding the contract event 0xe48bef18455e47bca14864ab6e82dffa29df148b051c09de95aec44ecf13598c.
Solidity: event TokenReleased(bytes32 indexed msgHash, address indexed from, address ctoken, address token, uint256[] tokenIds, uint256[] amounts)
func (*ERC1155VaultFilterer) FilterTokenSent ¶
func (_ERC1155Vault *ERC1155VaultFilterer) FilterTokenSent(opts *bind.FilterOpts, msgHash [][32]byte, from []common.Address, to []common.Address) (*ERC1155VaultTokenSentIterator, error)
FilterTokenSent is a free log retrieval operation binding the contract event 0xabbf62a1459339f9ac59136d313a5ccd83d2706cc6d4c04d90642520169144dc.
Solidity: event TokenSent(bytes32 indexed msgHash, address indexed from, address indexed to, uint64 destChainId, address ctoken, address token, uint256[] tokenIds, uint256[] amounts)
func (*ERC1155VaultFilterer) FilterUnpaused ¶
func (_ERC1155Vault *ERC1155VaultFilterer) FilterUnpaused(opts *bind.FilterOpts) (*ERC1155VaultUnpausedIterator, error)
FilterUnpaused is a free log retrieval operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
Solidity: event Unpaused(address account)
func (*ERC1155VaultFilterer) FilterUpgraded ¶
func (_ERC1155Vault *ERC1155VaultFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*ERC1155VaultUpgradedIterator, error)
FilterUpgraded is a free log retrieval operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
Solidity: event Upgraded(address indexed implementation)
func (*ERC1155VaultFilterer) ParseAdminChanged ¶
func (_ERC1155Vault *ERC1155VaultFilterer) ParseAdminChanged(log types.Log) (*ERC1155VaultAdminChanged, error)
ParseAdminChanged is a log parse operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
Solidity: event AdminChanged(address previousAdmin, address newAdmin)
func (*ERC1155VaultFilterer) ParseBeaconUpgraded ¶
func (_ERC1155Vault *ERC1155VaultFilterer) ParseBeaconUpgraded(log types.Log) (*ERC1155VaultBeaconUpgraded, error)
ParseBeaconUpgraded is a log parse operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.
Solidity: event BeaconUpgraded(address indexed beacon)
func (*ERC1155VaultFilterer) ParseBridgedTokenDeployed ¶
func (_ERC1155Vault *ERC1155VaultFilterer) ParseBridgedTokenDeployed(log types.Log) (*ERC1155VaultBridgedTokenDeployed, error)
ParseBridgedTokenDeployed is a log parse operation binding the contract event 0x44977f2d30fe1e3aee2c1476f2f95aaacaf34e44b9359c403da01fcc93fd751b.
Solidity: event BridgedTokenDeployed(uint64 indexed chainId, address indexed ctoken, address indexed btoken, string ctokenSymbol, string ctokenName)
func (*ERC1155VaultFilterer) ParseInitialized ¶
func (_ERC1155Vault *ERC1155VaultFilterer) ParseInitialized(log types.Log) (*ERC1155VaultInitialized, error)
ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*ERC1155VaultFilterer) ParseOwnershipTransferStarted ¶
func (_ERC1155Vault *ERC1155VaultFilterer) ParseOwnershipTransferStarted(log types.Log) (*ERC1155VaultOwnershipTransferStarted, error)
ParseOwnershipTransferStarted is a log parse operation binding the contract event 0x38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700.
Solidity: event OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner)
func (*ERC1155VaultFilterer) ParseOwnershipTransferred ¶
func (_ERC1155Vault *ERC1155VaultFilterer) ParseOwnershipTransferred(log types.Log) (*ERC1155VaultOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*ERC1155VaultFilterer) ParsePaused ¶
func (_ERC1155Vault *ERC1155VaultFilterer) ParsePaused(log types.Log) (*ERC1155VaultPaused, error)
ParsePaused is a log parse operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
Solidity: event Paused(address account)
func (*ERC1155VaultFilterer) ParseTokenReceived ¶
func (_ERC1155Vault *ERC1155VaultFilterer) ParseTokenReceived(log types.Log) (*ERC1155VaultTokenReceived, error)
ParseTokenReceived is a log parse operation binding the contract event 0x895f73e418d1bbbad2a311d085fad00e5d98a960e9f2afa4b942071d39bec43a.
Solidity: event TokenReceived(bytes32 indexed msgHash, address indexed from, address indexed to, uint64 srcChainId, address ctoken, address token, uint256[] tokenIds, uint256[] amounts)
func (*ERC1155VaultFilterer) ParseTokenReleased ¶
func (_ERC1155Vault *ERC1155VaultFilterer) ParseTokenReleased(log types.Log) (*ERC1155VaultTokenReleased, error)
ParseTokenReleased is a log parse operation binding the contract event 0xe48bef18455e47bca14864ab6e82dffa29df148b051c09de95aec44ecf13598c.
Solidity: event TokenReleased(bytes32 indexed msgHash, address indexed from, address ctoken, address token, uint256[] tokenIds, uint256[] amounts)
func (*ERC1155VaultFilterer) ParseTokenSent ¶
func (_ERC1155Vault *ERC1155VaultFilterer) ParseTokenSent(log types.Log) (*ERC1155VaultTokenSent, error)
ParseTokenSent is a log parse operation binding the contract event 0xabbf62a1459339f9ac59136d313a5ccd83d2706cc6d4c04d90642520169144dc.
Solidity: event TokenSent(bytes32 indexed msgHash, address indexed from, address indexed to, uint64 destChainId, address ctoken, address token, uint256[] tokenIds, uint256[] amounts)
func (*ERC1155VaultFilterer) ParseUnpaused ¶
func (_ERC1155Vault *ERC1155VaultFilterer) ParseUnpaused(log types.Log) (*ERC1155VaultUnpaused, error)
ParseUnpaused is a log parse operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
Solidity: event Unpaused(address account)
func (*ERC1155VaultFilterer) ParseUpgraded ¶
func (_ERC1155Vault *ERC1155VaultFilterer) ParseUpgraded(log types.Log) (*ERC1155VaultUpgraded, error)
ParseUpgraded is a log parse operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
Solidity: event Upgraded(address indexed implementation)
func (*ERC1155VaultFilterer) WatchAdminChanged ¶
func (_ERC1155Vault *ERC1155VaultFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *ERC1155VaultAdminChanged) (event.Subscription, error)
WatchAdminChanged is a free log subscription operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
Solidity: event AdminChanged(address previousAdmin, address newAdmin)
func (*ERC1155VaultFilterer) WatchBeaconUpgraded ¶
func (_ERC1155Vault *ERC1155VaultFilterer) WatchBeaconUpgraded(opts *bind.WatchOpts, sink chan<- *ERC1155VaultBeaconUpgraded, 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 (*ERC1155VaultFilterer) WatchBridgedTokenDeployed ¶
func (_ERC1155Vault *ERC1155VaultFilterer) WatchBridgedTokenDeployed(opts *bind.WatchOpts, sink chan<- *ERC1155VaultBridgedTokenDeployed, chainId []uint64, ctoken []common.Address, btoken []common.Address) (event.Subscription, error)
WatchBridgedTokenDeployed is a free log subscription operation binding the contract event 0x44977f2d30fe1e3aee2c1476f2f95aaacaf34e44b9359c403da01fcc93fd751b.
Solidity: event BridgedTokenDeployed(uint64 indexed chainId, address indexed ctoken, address indexed btoken, string ctokenSymbol, string ctokenName)
func (*ERC1155VaultFilterer) WatchInitialized ¶
func (_ERC1155Vault *ERC1155VaultFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *ERC1155VaultInitialized) (event.Subscription, error)
WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*ERC1155VaultFilterer) WatchOwnershipTransferStarted ¶
func (_ERC1155Vault *ERC1155VaultFilterer) WatchOwnershipTransferStarted(opts *bind.WatchOpts, sink chan<- *ERC1155VaultOwnershipTransferStarted, 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 (*ERC1155VaultFilterer) WatchOwnershipTransferred ¶
func (_ERC1155Vault *ERC1155VaultFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ERC1155VaultOwnershipTransferred, 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 (*ERC1155VaultFilterer) WatchPaused ¶
func (_ERC1155Vault *ERC1155VaultFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *ERC1155VaultPaused) (event.Subscription, error)
WatchPaused is a free log subscription operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
Solidity: event Paused(address account)
func (*ERC1155VaultFilterer) WatchTokenReceived ¶
func (_ERC1155Vault *ERC1155VaultFilterer) WatchTokenReceived(opts *bind.WatchOpts, sink chan<- *ERC1155VaultTokenReceived, msgHash [][32]byte, from []common.Address, to []common.Address) (event.Subscription, error)
WatchTokenReceived is a free log subscription operation binding the contract event 0x895f73e418d1bbbad2a311d085fad00e5d98a960e9f2afa4b942071d39bec43a.
Solidity: event TokenReceived(bytes32 indexed msgHash, address indexed from, address indexed to, uint64 srcChainId, address ctoken, address token, uint256[] tokenIds, uint256[] amounts)
func (*ERC1155VaultFilterer) WatchTokenReleased ¶
func (_ERC1155Vault *ERC1155VaultFilterer) WatchTokenReleased(opts *bind.WatchOpts, sink chan<- *ERC1155VaultTokenReleased, msgHash [][32]byte, from []common.Address) (event.Subscription, error)
WatchTokenReleased is a free log subscription operation binding the contract event 0xe48bef18455e47bca14864ab6e82dffa29df148b051c09de95aec44ecf13598c.
Solidity: event TokenReleased(bytes32 indexed msgHash, address indexed from, address ctoken, address token, uint256[] tokenIds, uint256[] amounts)
func (*ERC1155VaultFilterer) WatchTokenSent ¶
func (_ERC1155Vault *ERC1155VaultFilterer) WatchTokenSent(opts *bind.WatchOpts, sink chan<- *ERC1155VaultTokenSent, msgHash [][32]byte, from []common.Address, to []common.Address) (event.Subscription, error)
WatchTokenSent is a free log subscription operation binding the contract event 0xabbf62a1459339f9ac59136d313a5ccd83d2706cc6d4c04d90642520169144dc.
Solidity: event TokenSent(bytes32 indexed msgHash, address indexed from, address indexed to, uint64 destChainId, address ctoken, address token, uint256[] tokenIds, uint256[] amounts)
func (*ERC1155VaultFilterer) WatchUnpaused ¶
func (_ERC1155Vault *ERC1155VaultFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *ERC1155VaultUnpaused) (event.Subscription, error)
WatchUnpaused is a free log subscription operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
Solidity: event Unpaused(address account)
func (*ERC1155VaultFilterer) WatchUpgraded ¶
func (_ERC1155Vault *ERC1155VaultFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *ERC1155VaultUpgraded, 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 ERC1155VaultInitialized ¶
type ERC1155VaultInitialized struct { Version uint8 Raw types.Log // Blockchain specific contextual infos }
ERC1155VaultInitialized represents a Initialized event raised by the ERC1155Vault contract.
type ERC1155VaultInitializedIterator ¶
type ERC1155VaultInitializedIterator struct { Event *ERC1155VaultInitialized // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC1155VaultInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the ERC1155Vault contract.
func (*ERC1155VaultInitializedIterator) Close ¶
func (it *ERC1155VaultInitializedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC1155VaultInitializedIterator) Error ¶
func (it *ERC1155VaultInitializedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC1155VaultInitializedIterator) Next ¶
func (it *ERC1155VaultInitializedIterator) 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 ERC1155VaultOwnershipTransferStarted ¶
type ERC1155VaultOwnershipTransferStarted struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
ERC1155VaultOwnershipTransferStarted represents a OwnershipTransferStarted event raised by the ERC1155Vault contract.
type ERC1155VaultOwnershipTransferStartedIterator ¶
type ERC1155VaultOwnershipTransferStartedIterator struct { Event *ERC1155VaultOwnershipTransferStarted // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC1155VaultOwnershipTransferStartedIterator is returned from FilterOwnershipTransferStarted and is used to iterate over the raw logs and unpacked data for OwnershipTransferStarted events raised by the ERC1155Vault contract.
func (*ERC1155VaultOwnershipTransferStartedIterator) Close ¶
func (it *ERC1155VaultOwnershipTransferStartedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC1155VaultOwnershipTransferStartedIterator) Error ¶
func (it *ERC1155VaultOwnershipTransferStartedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC1155VaultOwnershipTransferStartedIterator) Next ¶
func (it *ERC1155VaultOwnershipTransferStartedIterator) 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 ERC1155VaultOwnershipTransferred ¶
type ERC1155VaultOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
ERC1155VaultOwnershipTransferred represents a OwnershipTransferred event raised by the ERC1155Vault contract.
type ERC1155VaultOwnershipTransferredIterator ¶
type ERC1155VaultOwnershipTransferredIterator struct { Event *ERC1155VaultOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC1155VaultOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the ERC1155Vault contract.
func (*ERC1155VaultOwnershipTransferredIterator) Close ¶
func (it *ERC1155VaultOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC1155VaultOwnershipTransferredIterator) Error ¶
func (it *ERC1155VaultOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC1155VaultOwnershipTransferredIterator) Next ¶
func (it *ERC1155VaultOwnershipTransferredIterator) 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 ERC1155VaultPaused ¶
type ERC1155VaultPaused struct { Account common.Address Raw types.Log // Blockchain specific contextual infos }
ERC1155VaultPaused represents a Paused event raised by the ERC1155Vault contract.
type ERC1155VaultPausedIterator ¶
type ERC1155VaultPausedIterator struct { Event *ERC1155VaultPaused // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC1155VaultPausedIterator is returned from FilterPaused and is used to iterate over the raw logs and unpacked data for Paused events raised by the ERC1155Vault contract.
func (*ERC1155VaultPausedIterator) Close ¶
func (it *ERC1155VaultPausedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC1155VaultPausedIterator) Error ¶
func (it *ERC1155VaultPausedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC1155VaultPausedIterator) Next ¶
func (it *ERC1155VaultPausedIterator) 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 ERC1155VaultRaw ¶
type ERC1155VaultRaw struct {
Contract *ERC1155Vault // Generic contract binding to access the raw methods on
}
ERC1155VaultRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ERC1155VaultRaw) Call ¶
func (_ERC1155Vault *ERC1155VaultRaw) 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 (*ERC1155VaultRaw) Transact ¶
func (_ERC1155Vault *ERC1155VaultRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ERC1155VaultRaw) Transfer ¶
func (_ERC1155Vault *ERC1155VaultRaw) 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 ERC1155VaultSession ¶
type ERC1155VaultSession struct { Contract *ERC1155Vault // 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 }
ERC1155VaultSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ERC1155VaultSession) AcceptOwnership ¶
func (_ERC1155Vault *ERC1155VaultSession) AcceptOwnership() (*types.Transaction, error)
AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.
Solidity: function acceptOwnership() returns()
func (*ERC1155VaultSession) AddressManager ¶
func (_ERC1155Vault *ERC1155VaultSession) AddressManager() (common.Address, error)
AddressManager is a free data retrieval call binding the contract method 0x3ab76e9f.
Solidity: function addressManager() view returns(address)
func (*ERC1155VaultSession) BridgedToCanonical ¶
func (_ERC1155Vault *ERC1155VaultSession) BridgedToCanonical(btoken common.Address) (struct { ChainId uint64 Addr common.Address 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, string symbol, string name)
func (*ERC1155VaultSession) CanonicalToBridged ¶
func (_ERC1155Vault *ERC1155VaultSession) 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 (*ERC1155VaultSession) Impl ¶
func (_ERC1155Vault *ERC1155VaultSession) Impl() (common.Address, error)
Impl is a free data retrieval call binding the contract method 0x8abf6077.
Solidity: function impl() view returns(address)
func (*ERC1155VaultSession) InNonReentrant ¶
func (_ERC1155Vault *ERC1155VaultSession) InNonReentrant() (bool, error)
InNonReentrant is a free data retrieval call binding the contract method 0x3075db56.
Solidity: function inNonReentrant() view returns(bool)
func (*ERC1155VaultSession) Init ¶
func (_ERC1155Vault *ERC1155VaultSession) 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 (*ERC1155VaultSession) LastUnpausedAt ¶
func (_ERC1155Vault *ERC1155VaultSession) LastUnpausedAt() (uint64, error)
LastUnpausedAt is a free data retrieval call binding the contract method 0xe07baba6.
Solidity: function lastUnpausedAt() view returns(uint64)
func (*ERC1155VaultSession) Name ¶
func (_ERC1155Vault *ERC1155VaultSession) Name() ([32]byte, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() pure returns(bytes32)
func (*ERC1155VaultSession) OnERC1155BatchReceived ¶
func (_ERC1155Vault *ERC1155VaultSession) OnERC1155BatchReceived(arg0 common.Address, arg1 common.Address, arg2 []*big.Int, arg3 []*big.Int, arg4 []byte) ([4]byte, error)
OnERC1155BatchReceived is a free data retrieval call binding the contract method 0xbc197c81.
Solidity: function onERC1155BatchReceived(address , address , uint256[] , uint256[] , bytes ) pure returns(bytes4)
func (*ERC1155VaultSession) OnERC1155Received ¶
func (_ERC1155Vault *ERC1155VaultSession) OnERC1155Received(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, arg4 []byte) ([4]byte, error)
OnERC1155Received is a free data retrieval call binding the contract method 0xf23a6e61.
Solidity: function onERC1155Received(address , address , uint256 , uint256 , bytes ) pure returns(bytes4)
func (*ERC1155VaultSession) OnMessageInvocation ¶
func (_ERC1155Vault *ERC1155VaultSession) 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 (*ERC1155VaultSession) OnMessageRecalled ¶
func (_ERC1155Vault *ERC1155VaultSession) 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 (*ERC1155VaultSession) Owner ¶
func (_ERC1155Vault *ERC1155VaultSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*ERC1155VaultSession) Pause ¶
func (_ERC1155Vault *ERC1155VaultSession) Pause() (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*ERC1155VaultSession) Paused ¶
func (_ERC1155Vault *ERC1155VaultSession) Paused() (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*ERC1155VaultSession) PendingOwner ¶
func (_ERC1155Vault *ERC1155VaultSession) PendingOwner() (common.Address, error)
PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.
Solidity: function pendingOwner() view returns(address)
func (*ERC1155VaultSession) ProxiableUUID ¶
func (_ERC1155Vault *ERC1155VaultSession) ProxiableUUID() ([32]byte, error)
ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.
Solidity: function proxiableUUID() view returns(bytes32)
func (*ERC1155VaultSession) RenounceOwnership ¶
func (_ERC1155Vault *ERC1155VaultSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*ERC1155VaultSession) Resolve ¶
func (_ERC1155Vault *ERC1155VaultSession) 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 (*ERC1155VaultSession) Resolve0 ¶
func (_ERC1155Vault *ERC1155VaultSession) 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 (*ERC1155VaultSession) SendToken ¶
func (_ERC1155Vault *ERC1155VaultSession) SendToken(_op BaseNFTVaultBridgeTransferOp) (*types.Transaction, error)
SendToken is a paid mutator transaction binding the contract method 0x1f59a830.
Solidity: function sendToken((uint64,address,address,uint64,address,uint32,uint256[],uint256[]) _op) payable returns((uint64,uint64,uint32,address,uint64,address,uint64,address,address,uint256,bytes) message_)
func (*ERC1155VaultSession) SupportsInterface ¶
func (_ERC1155Vault *ERC1155VaultSession) 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 (*ERC1155VaultSession) TransferOwnership ¶
func (_ERC1155Vault *ERC1155VaultSession) 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 (*ERC1155VaultSession) Unpause ¶
func (_ERC1155Vault *ERC1155VaultSession) Unpause() (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
func (*ERC1155VaultSession) UpgradeTo ¶
func (_ERC1155Vault *ERC1155VaultSession) 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 (*ERC1155VaultSession) UpgradeToAndCall ¶
func (_ERC1155Vault *ERC1155VaultSession) 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 ERC1155VaultTokenReceived ¶
type ERC1155VaultTokenReceived struct { MsgHash [32]byte From common.Address To common.Address SrcChainId uint64 Ctoken common.Address Token common.Address TokenIds []*big.Int Amounts []*big.Int Raw types.Log // Blockchain specific contextual infos }
ERC1155VaultTokenReceived represents a TokenReceived event raised by the ERC1155Vault contract.
type ERC1155VaultTokenReceivedIterator ¶
type ERC1155VaultTokenReceivedIterator struct { Event *ERC1155VaultTokenReceived // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC1155VaultTokenReceivedIterator is returned from FilterTokenReceived and is used to iterate over the raw logs and unpacked data for TokenReceived events raised by the ERC1155Vault contract.
func (*ERC1155VaultTokenReceivedIterator) Close ¶
func (it *ERC1155VaultTokenReceivedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC1155VaultTokenReceivedIterator) Error ¶
func (it *ERC1155VaultTokenReceivedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC1155VaultTokenReceivedIterator) Next ¶
func (it *ERC1155VaultTokenReceivedIterator) 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 ERC1155VaultTokenReleased ¶
type ERC1155VaultTokenReleased struct { MsgHash [32]byte From common.Address Ctoken common.Address Token common.Address TokenIds []*big.Int Amounts []*big.Int Raw types.Log // Blockchain specific contextual infos }
ERC1155VaultTokenReleased represents a TokenReleased event raised by the ERC1155Vault contract.
type ERC1155VaultTokenReleasedIterator ¶
type ERC1155VaultTokenReleasedIterator struct { Event *ERC1155VaultTokenReleased // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC1155VaultTokenReleasedIterator is returned from FilterTokenReleased and is used to iterate over the raw logs and unpacked data for TokenReleased events raised by the ERC1155Vault contract.
func (*ERC1155VaultTokenReleasedIterator) Close ¶
func (it *ERC1155VaultTokenReleasedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC1155VaultTokenReleasedIterator) Error ¶
func (it *ERC1155VaultTokenReleasedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC1155VaultTokenReleasedIterator) Next ¶
func (it *ERC1155VaultTokenReleasedIterator) 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 ERC1155VaultTokenSent ¶
type ERC1155VaultTokenSent struct { MsgHash [32]byte From common.Address To common.Address DestChainId uint64 Ctoken common.Address Token common.Address TokenIds []*big.Int Amounts []*big.Int Raw types.Log // Blockchain specific contextual infos }
ERC1155VaultTokenSent represents a TokenSent event raised by the ERC1155Vault contract.
type ERC1155VaultTokenSentIterator ¶
type ERC1155VaultTokenSentIterator struct { Event *ERC1155VaultTokenSent // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC1155VaultTokenSentIterator is returned from FilterTokenSent and is used to iterate over the raw logs and unpacked data for TokenSent events raised by the ERC1155Vault contract.
func (*ERC1155VaultTokenSentIterator) Close ¶
func (it *ERC1155VaultTokenSentIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC1155VaultTokenSentIterator) Error ¶
func (it *ERC1155VaultTokenSentIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC1155VaultTokenSentIterator) Next ¶
func (it *ERC1155VaultTokenSentIterator) 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 ERC1155VaultTransactor ¶
type ERC1155VaultTransactor struct {
// contains filtered or unexported fields
}
ERC1155VaultTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewERC1155VaultTransactor ¶
func NewERC1155VaultTransactor(address common.Address, transactor bind.ContractTransactor) (*ERC1155VaultTransactor, error)
NewERC1155VaultTransactor creates a new write-only instance of ERC1155Vault, bound to a specific deployed contract.
func (*ERC1155VaultTransactor) AcceptOwnership ¶
func (_ERC1155Vault *ERC1155VaultTransactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.
Solidity: function acceptOwnership() returns()
func (*ERC1155VaultTransactor) Init ¶
func (_ERC1155Vault *ERC1155VaultTransactor) 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 (*ERC1155VaultTransactor) OnMessageInvocation ¶
func (_ERC1155Vault *ERC1155VaultTransactor) 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 (*ERC1155VaultTransactor) OnMessageRecalled ¶
func (_ERC1155Vault *ERC1155VaultTransactor) 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 (*ERC1155VaultTransactor) Pause ¶
func (_ERC1155Vault *ERC1155VaultTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*ERC1155VaultTransactor) RenounceOwnership ¶
func (_ERC1155Vault *ERC1155VaultTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*ERC1155VaultTransactor) SendToken ¶
func (_ERC1155Vault *ERC1155VaultTransactor) SendToken(opts *bind.TransactOpts, _op BaseNFTVaultBridgeTransferOp) (*types.Transaction, error)
SendToken is a paid mutator transaction binding the contract method 0x1f59a830.
Solidity: function sendToken((uint64,address,address,uint64,address,uint32,uint256[],uint256[]) _op) payable returns((uint64,uint64,uint32,address,uint64,address,uint64,address,address,uint256,bytes) message_)
func (*ERC1155VaultTransactor) TransferOwnership ¶
func (_ERC1155Vault *ERC1155VaultTransactor) 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 (*ERC1155VaultTransactor) Unpause ¶
func (_ERC1155Vault *ERC1155VaultTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
func (*ERC1155VaultTransactor) UpgradeTo ¶
func (_ERC1155Vault *ERC1155VaultTransactor) 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 (*ERC1155VaultTransactor) UpgradeToAndCall ¶
func (_ERC1155Vault *ERC1155VaultTransactor) 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 ERC1155VaultTransactorRaw ¶
type ERC1155VaultTransactorRaw struct {
Contract *ERC1155VaultTransactor // Generic write-only contract binding to access the raw methods on
}
ERC1155VaultTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ERC1155VaultTransactorRaw) Transact ¶
func (_ERC1155Vault *ERC1155VaultTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ERC1155VaultTransactorRaw) Transfer ¶
func (_ERC1155Vault *ERC1155VaultTransactorRaw) 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 ERC1155VaultTransactorSession ¶
type ERC1155VaultTransactorSession struct { Contract *ERC1155VaultTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ERC1155VaultTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ERC1155VaultTransactorSession) AcceptOwnership ¶
func (_ERC1155Vault *ERC1155VaultTransactorSession) AcceptOwnership() (*types.Transaction, error)
AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.
Solidity: function acceptOwnership() returns()
func (*ERC1155VaultTransactorSession) Init ¶
func (_ERC1155Vault *ERC1155VaultTransactorSession) 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 (*ERC1155VaultTransactorSession) OnMessageInvocation ¶
func (_ERC1155Vault *ERC1155VaultTransactorSession) 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 (*ERC1155VaultTransactorSession) OnMessageRecalled ¶
func (_ERC1155Vault *ERC1155VaultTransactorSession) 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 (*ERC1155VaultTransactorSession) Pause ¶
func (_ERC1155Vault *ERC1155VaultTransactorSession) Pause() (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*ERC1155VaultTransactorSession) RenounceOwnership ¶
func (_ERC1155Vault *ERC1155VaultTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*ERC1155VaultTransactorSession) SendToken ¶
func (_ERC1155Vault *ERC1155VaultTransactorSession) SendToken(_op BaseNFTVaultBridgeTransferOp) (*types.Transaction, error)
SendToken is a paid mutator transaction binding the contract method 0x1f59a830.
Solidity: function sendToken((uint64,address,address,uint64,address,uint32,uint256[],uint256[]) _op) payable returns((uint64,uint64,uint32,address,uint64,address,uint64,address,address,uint256,bytes) message_)
func (*ERC1155VaultTransactorSession) TransferOwnership ¶
func (_ERC1155Vault *ERC1155VaultTransactorSession) 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 (*ERC1155VaultTransactorSession) Unpause ¶
func (_ERC1155Vault *ERC1155VaultTransactorSession) Unpause() (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
func (*ERC1155VaultTransactorSession) UpgradeTo ¶
func (_ERC1155Vault *ERC1155VaultTransactorSession) 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 (*ERC1155VaultTransactorSession) UpgradeToAndCall ¶
func (_ERC1155Vault *ERC1155VaultTransactorSession) 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 ERC1155VaultUnpaused ¶
type ERC1155VaultUnpaused struct { Account common.Address Raw types.Log // Blockchain specific contextual infos }
ERC1155VaultUnpaused represents a Unpaused event raised by the ERC1155Vault contract.
type ERC1155VaultUnpausedIterator ¶
type ERC1155VaultUnpausedIterator struct { Event *ERC1155VaultUnpaused // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC1155VaultUnpausedIterator is returned from FilterUnpaused and is used to iterate over the raw logs and unpacked data for Unpaused events raised by the ERC1155Vault contract.
func (*ERC1155VaultUnpausedIterator) Close ¶
func (it *ERC1155VaultUnpausedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC1155VaultUnpausedIterator) Error ¶
func (it *ERC1155VaultUnpausedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC1155VaultUnpausedIterator) Next ¶
func (it *ERC1155VaultUnpausedIterator) 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 ERC1155VaultUpgraded ¶
type ERC1155VaultUpgraded struct { Implementation common.Address Raw types.Log // Blockchain specific contextual infos }
ERC1155VaultUpgraded represents a Upgraded event raised by the ERC1155Vault contract.
type ERC1155VaultUpgradedIterator ¶
type ERC1155VaultUpgradedIterator struct { Event *ERC1155VaultUpgraded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC1155VaultUpgradedIterator is returned from FilterUpgraded and is used to iterate over the raw logs and unpacked data for Upgraded events raised by the ERC1155Vault contract.
func (*ERC1155VaultUpgradedIterator) Close ¶
func (it *ERC1155VaultUpgradedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC1155VaultUpgradedIterator) Error ¶
func (it *ERC1155VaultUpgradedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC1155VaultUpgradedIterator) Next ¶
func (it *ERC1155VaultUpgradedIterator) 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.