contracts

package
v0.5.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 10, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CantonBridgeABI = CantonBridgeMetaData.ABI

CantonBridgeABI is the input ABI used to generate the binding from. Deprecated: Use CantonBridgeMetaData.ABI instead.

View Source
var CantonBridgeMetaData = &bind.MetaData{
	ABI: "[{\"type\":\"constructor\",\"inputs\":[{\"name\":\"_relayer\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_maxTransferAmount\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_minTransferAmount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"addTokenMapping\",\"inputs\":[{\"name\":\"ethereumToken\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"cantonTokenId\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"cantonToEthereumToken\",\"inputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"depositNonce\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"depositToCanton\",\"inputs\":[{\"name\":\"token\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"cantonRecipient\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"emergencyWithdraw\",\"inputs\":[{\"name\":\"token\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"ethereumToCantonToken\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getBridgeBalance\",\"inputs\":[{\"name\":\"token\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"maxTransferAmount\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"minTransferAmount\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"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\":\"processedCantonTxs\",\"inputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"relayer\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"removeTokenMapping\",\"inputs\":[{\"name\":\"ethereumToken\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"renounceOwnership\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"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\":\"updateLimits\",\"inputs\":[{\"name\":\"_maxTransferAmount\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_minTransferAmount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"updateRelayer\",\"inputs\":[{\"name\":\"newRelayer\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"withdrawFromCanton\",\"inputs\":[{\"name\":\"token\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"recipient\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"nonce\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"cantonTxHash\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"event\",\"name\":\"BridgeLimitsUpdated\",\"inputs\":[{\"name\":\"maxTransferAmount\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"minTransferAmount\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"DepositToCanton\",\"inputs\":[{\"name\":\"token\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"sender\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"cantonRecipient\",\"type\":\"bytes32\",\"indexed\":true,\"internalType\":\"bytes32\"},{\"name\":\"amount\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"nonce\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"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\":\"RelayerUpdated\",\"inputs\":[{\"name\":\"oldRelayer\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"newRelayer\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"TokenMappingAdded\",\"inputs\":[{\"name\":\"ethereumToken\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"cantonTokenId\",\"type\":\"bytes32\",\"indexed\":true,\"internalType\":\"bytes32\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"TokenMappingRemoved\",\"inputs\":[{\"name\":\"ethereumToken\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Unpaused\",\"inputs\":[{\"name\":\"account\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"WithdrawFromCanton\",\"inputs\":[{\"name\":\"token\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"recipient\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"nonce\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"cantonTxHash\",\"type\":\"bytes32\",\"indexed\":false,\"internalType\":\"bytes32\"}],\"anonymous\":false},{\"type\":\"error\",\"name\":\"EnforcedPause\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ExpectedPause\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"OwnableInvalidOwner\",\"inputs\":[{\"name\":\"owner\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"OwnableUnauthorizedAccount\",\"inputs\":[{\"name\":\"account\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"ReentrancyGuardReentrantCall\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"SafeERC20FailedOperation\",\"inputs\":[{\"name\":\"token\",\"type\":\"address\",\"internalType\":\"address\"}]}]",
}

CantonBridgeMetaData contains all meta data concerning the CantonBridge contract.

View Source
var PromptTokenABI = PromptTokenMetaData.ABI

PromptTokenABI is the input ABI used to generate the binding from. Deprecated: Use PromptTokenMetaData.ABI instead.

View Source
var PromptTokenMetaData = &bind.MetaData{
	ABI: "[{\"type\":\"constructor\",\"inputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"DEFAULT_ADMIN_ROLE\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"INVOKE_WAYFINDER_CONFIGURATION_ROLE\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"addWayfinderHandlerContract\",\"inputs\":[{\"name\":\"_contractAddress\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_nativeTokenDestinationAddress\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_promptDestinationAddress\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"allowance\",\"inputs\":[{\"name\":\"owner\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"spender\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"approve\",\"inputs\":[{\"name\":\"spender\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"value\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"balanceOf\",\"inputs\":[{\"name\":\"account\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"burn\",\"inputs\":[{\"name\":\"value\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"burnFrom\",\"inputs\":[{\"name\":\"account\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"value\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"decimals\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint8\",\"internalType\":\"uint8\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getRoleAdmin\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"grantRole\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"account\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"hasRole\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"account\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"invokeWayfinder\",\"inputs\":[{\"name\":\"_handlerAddress\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"_id\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_promptValue\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_data\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"payable\"},{\"type\":\"function\",\"name\":\"name\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"string\",\"internalType\":\"string\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"renounceRole\",\"inputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"revokeRole\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"account\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"supportsInterface\",\"inputs\":[{\"name\":\"interfaceId\",\"type\":\"bytes4\",\"internalType\":\"bytes4\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"symbol\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"string\",\"internalType\":\"string\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"totalSupply\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"transfer\",\"inputs\":[{\"name\":\"to\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"value\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"transferFrom\",\"inputs\":[{\"name\":\"from\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"to\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"value\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"wayfinderGateways\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"nativeTokenDestinationAddress\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"promptDestinationAddress\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"invokeWayfinderHandler\",\"type\":\"address\",\"internalType\":\"contractInvokeWayfinderHandler\"}],\"stateMutability\":\"view\"},{\"type\":\"event\",\"name\":\"Approval\",\"inputs\":[{\"name\":\"owner\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"spender\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"value\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"RoleAdminChanged\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"indexed\":true,\"internalType\":\"bytes32\"},{\"name\":\"previousAdminRole\",\"type\":\"bytes32\",\"indexed\":true,\"internalType\":\"bytes32\"},{\"name\":\"newAdminRole\",\"type\":\"bytes32\",\"indexed\":true,\"internalType\":\"bytes32\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"RoleGranted\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"indexed\":true,\"internalType\":\"bytes32\"},{\"name\":\"account\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"sender\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"RoleRevoked\",\"inputs\":[{\"name\":\"role\",\"type\":\"bytes32\",\"indexed\":true,\"internalType\":\"bytes32\"},{\"name\":\"account\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"sender\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Transfer\",\"inputs\":[{\"name\":\"from\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"to\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"value\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"WayfinderGatewayRegistered\",\"inputs\":[{\"name\":\"contractAddress\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"nativeTokenDestinationAddress\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"promptDestinationAddress\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"WayfinderInvoked\",\"inputs\":[{\"name\":\"from\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"nativeTokenDestination\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"promptDestination\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"id\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"nativeTokenValue\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"promptValue\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"data\",\"type\":\"bytes\",\"indexed\":false,\"internalType\":\"bytes\"}],\"anonymous\":false},{\"type\":\"error\",\"name\":\"AccessControlBadConfirmation\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"AccessControlUnauthorizedAccount\",\"inputs\":[{\"name\":\"account\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"neededRole\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}]},{\"type\":\"error\",\"name\":\"ERC20InsufficientAllowance\",\"inputs\":[{\"name\":\"spender\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"allowance\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"needed\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"ERC20InsufficientBalance\",\"inputs\":[{\"name\":\"sender\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"balance\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"needed\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]},{\"type\":\"error\",\"name\":\"ERC20InvalidApprover\",\"inputs\":[{\"name\":\"approver\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"ERC20InvalidReceiver\",\"inputs\":[{\"name\":\"receiver\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"ERC20InvalidSender\",\"inputs\":[{\"name\":\"sender\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"ERC20InvalidSpender\",\"inputs\":[{\"name\":\"spender\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"ReentrancyGuardReentrantCall\",\"inputs\":[]}]",
}

PromptTokenMetaData contains all meta data concerning the PromptToken contract.

Functions

This section is empty.

Types

type CantonBridge

type CantonBridge struct {
	CantonBridgeCaller     // Read-only binding to the contract
	CantonBridgeTransactor // Write-only binding to the contract
	CantonBridgeFilterer   // Log filterer for contract events
}

CantonBridge is an auto generated Go binding around an Ethereum contract.

func NewCantonBridge

func NewCantonBridge(address common.Address, backend bind.ContractBackend) (*CantonBridge, error)

NewCantonBridge creates a new instance of CantonBridge, bound to a specific deployed contract.

type CantonBridgeBridgeLimitsUpdated

type CantonBridgeBridgeLimitsUpdated struct {
	MaxTransferAmount *big.Int
	MinTransferAmount *big.Int
	Raw               types.Log // Blockchain specific contextual infos
}

CantonBridgeBridgeLimitsUpdated represents a BridgeLimitsUpdated event raised by the CantonBridge contract.

type CantonBridgeBridgeLimitsUpdatedIterator

type CantonBridgeBridgeLimitsUpdatedIterator struct {
	Event *CantonBridgeBridgeLimitsUpdated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CantonBridgeBridgeLimitsUpdatedIterator is returned from FilterBridgeLimitsUpdated and is used to iterate over the raw logs and unpacked data for BridgeLimitsUpdated events raised by the CantonBridge contract.

func (*CantonBridgeBridgeLimitsUpdatedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CantonBridgeBridgeLimitsUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CantonBridgeBridgeLimitsUpdatedIterator) Next

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 CantonBridgeCaller

type CantonBridgeCaller struct {
	// contains filtered or unexported fields
}

CantonBridgeCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewCantonBridgeCaller

func NewCantonBridgeCaller(address common.Address, caller bind.ContractCaller) (*CantonBridgeCaller, error)

NewCantonBridgeCaller creates a new read-only instance of CantonBridge, bound to a specific deployed contract.

func (*CantonBridgeCaller) CantonToEthereumToken

func (_CantonBridge *CantonBridgeCaller) CantonToEthereumToken(opts *bind.CallOpts, arg0 [32]byte) (common.Address, error)

CantonToEthereumToken is a free data retrieval call binding the contract method 0x1a9bd38d.

Solidity: function cantonToEthereumToken(bytes32 ) view returns(address)

func (*CantonBridgeCaller) DepositNonce

func (_CantonBridge *CantonBridgeCaller) DepositNonce(opts *bind.CallOpts) (*big.Int, error)

DepositNonce is a free data retrieval call binding the contract method 0xde35f5cb.

Solidity: function depositNonce() view returns(uint256)

func (*CantonBridgeCaller) EthereumToCantonToken

func (_CantonBridge *CantonBridgeCaller) EthereumToCantonToken(opts *bind.CallOpts, arg0 common.Address) ([32]byte, error)

EthereumToCantonToken is a free data retrieval call binding the contract method 0x0cc761ae.

Solidity: function ethereumToCantonToken(address ) view returns(bytes32)

func (*CantonBridgeCaller) GetBridgeBalance

func (_CantonBridge *CantonBridgeCaller) GetBridgeBalance(opts *bind.CallOpts, token common.Address) (*big.Int, error)

GetBridgeBalance is a free data retrieval call binding the contract method 0x058c055f.

Solidity: function getBridgeBalance(address token) view returns(uint256)

func (*CantonBridgeCaller) MaxTransferAmount

func (_CantonBridge *CantonBridgeCaller) MaxTransferAmount(opts *bind.CallOpts) (*big.Int, error)

MaxTransferAmount is a free data retrieval call binding the contract method 0xa9e75723.

Solidity: function maxTransferAmount() view returns(uint256)

func (*CantonBridgeCaller) MinTransferAmount

func (_CantonBridge *CantonBridgeCaller) MinTransferAmount(opts *bind.CallOpts) (*big.Int, error)

MinTransferAmount is a free data retrieval call binding the contract method 0x68841431.

Solidity: function minTransferAmount() view returns(uint256)

func (*CantonBridgeCaller) Owner

func (_CantonBridge *CantonBridgeCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*CantonBridgeCaller) Paused

func (_CantonBridge *CantonBridgeCaller) 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 (*CantonBridgeCaller) ProcessedCantonTxs

func (_CantonBridge *CantonBridgeCaller) ProcessedCantonTxs(opts *bind.CallOpts, arg0 [32]byte) (bool, error)

ProcessedCantonTxs is a free data retrieval call binding the contract method 0xd1569b4c.

Solidity: function processedCantonTxs(bytes32 ) view returns(bool)

func (*CantonBridgeCaller) Relayer

func (_CantonBridge *CantonBridgeCaller) Relayer(opts *bind.CallOpts) (common.Address, error)

Relayer is a free data retrieval call binding the contract method 0x8406c079.

Solidity: function relayer() view returns(address)

type CantonBridgeCallerRaw

type CantonBridgeCallerRaw struct {
	Contract *CantonBridgeCaller // Generic read-only contract binding to access the raw methods on
}

CantonBridgeCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*CantonBridgeCallerRaw) Call

func (_CantonBridge *CantonBridgeCallerRaw) 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 CantonBridgeCallerSession

type CantonBridgeCallerSession struct {
	Contract *CantonBridgeCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts       // Call options to use throughout this session
}

CantonBridgeCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*CantonBridgeCallerSession) CantonToEthereumToken

func (_CantonBridge *CantonBridgeCallerSession) CantonToEthereumToken(arg0 [32]byte) (common.Address, error)

CantonToEthereumToken is a free data retrieval call binding the contract method 0x1a9bd38d.

Solidity: function cantonToEthereumToken(bytes32 ) view returns(address)

func (*CantonBridgeCallerSession) DepositNonce

func (_CantonBridge *CantonBridgeCallerSession) DepositNonce() (*big.Int, error)

DepositNonce is a free data retrieval call binding the contract method 0xde35f5cb.

Solidity: function depositNonce() view returns(uint256)

func (*CantonBridgeCallerSession) EthereumToCantonToken

func (_CantonBridge *CantonBridgeCallerSession) EthereumToCantonToken(arg0 common.Address) ([32]byte, error)

EthereumToCantonToken is a free data retrieval call binding the contract method 0x0cc761ae.

Solidity: function ethereumToCantonToken(address ) view returns(bytes32)

func (*CantonBridgeCallerSession) GetBridgeBalance

func (_CantonBridge *CantonBridgeCallerSession) GetBridgeBalance(token common.Address) (*big.Int, error)

GetBridgeBalance is a free data retrieval call binding the contract method 0x058c055f.

Solidity: function getBridgeBalance(address token) view returns(uint256)

func (*CantonBridgeCallerSession) MaxTransferAmount

func (_CantonBridge *CantonBridgeCallerSession) MaxTransferAmount() (*big.Int, error)

MaxTransferAmount is a free data retrieval call binding the contract method 0xa9e75723.

Solidity: function maxTransferAmount() view returns(uint256)

func (*CantonBridgeCallerSession) MinTransferAmount

func (_CantonBridge *CantonBridgeCallerSession) MinTransferAmount() (*big.Int, error)

MinTransferAmount is a free data retrieval call binding the contract method 0x68841431.

Solidity: function minTransferAmount() view returns(uint256)

func (*CantonBridgeCallerSession) Owner

func (_CantonBridge *CantonBridgeCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*CantonBridgeCallerSession) Paused

func (_CantonBridge *CantonBridgeCallerSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*CantonBridgeCallerSession) ProcessedCantonTxs

func (_CantonBridge *CantonBridgeCallerSession) ProcessedCantonTxs(arg0 [32]byte) (bool, error)

ProcessedCantonTxs is a free data retrieval call binding the contract method 0xd1569b4c.

Solidity: function processedCantonTxs(bytes32 ) view returns(bool)

func (*CantonBridgeCallerSession) Relayer

func (_CantonBridge *CantonBridgeCallerSession) Relayer() (common.Address, error)

Relayer is a free data retrieval call binding the contract method 0x8406c079.

Solidity: function relayer() view returns(address)

type CantonBridgeDepositToCanton

type CantonBridgeDepositToCanton struct {
	Token           common.Address
	Sender          common.Address
	CantonRecipient [32]byte
	Amount          *big.Int
	Nonce           *big.Int
	Raw             types.Log // Blockchain specific contextual infos
}

CantonBridgeDepositToCanton represents a DepositToCanton event raised by the CantonBridge contract.

type CantonBridgeDepositToCantonIterator

type CantonBridgeDepositToCantonIterator struct {
	Event *CantonBridgeDepositToCanton // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CantonBridgeDepositToCantonIterator is returned from FilterDepositToCanton and is used to iterate over the raw logs and unpacked data for DepositToCanton events raised by the CantonBridge contract.

func (*CantonBridgeDepositToCantonIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CantonBridgeDepositToCantonIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CantonBridgeDepositToCantonIterator) Next

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 CantonBridgeFilterer

type CantonBridgeFilterer struct {
	// contains filtered or unexported fields
}

CantonBridgeFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewCantonBridgeFilterer

func NewCantonBridgeFilterer(address common.Address, filterer bind.ContractFilterer) (*CantonBridgeFilterer, error)

NewCantonBridgeFilterer creates a new log filterer instance of CantonBridge, bound to a specific deployed contract.

func (*CantonBridgeFilterer) FilterBridgeLimitsUpdated

func (_CantonBridge *CantonBridgeFilterer) FilterBridgeLimitsUpdated(opts *bind.FilterOpts) (*CantonBridgeBridgeLimitsUpdatedIterator, error)

FilterBridgeLimitsUpdated is a free log retrieval operation binding the contract event 0xcfc62648bfe6689bfdf06f50d3233f77d9e91b33d62e0b52350865779cd83151.

Solidity: event BridgeLimitsUpdated(uint256 maxTransferAmount, uint256 minTransferAmount)

func (*CantonBridgeFilterer) FilterDepositToCanton

func (_CantonBridge *CantonBridgeFilterer) FilterDepositToCanton(opts *bind.FilterOpts, token []common.Address, sender []common.Address, cantonRecipient [][32]byte) (*CantonBridgeDepositToCantonIterator, error)

FilterDepositToCanton is a free log retrieval operation binding the contract event 0xeb81e98a4f9bc1a984adfd1d0fa704f53a91dca986f7198277bc93037cb7e8ba.

Solidity: event DepositToCanton(address indexed token, address indexed sender, bytes32 indexed cantonRecipient, uint256 amount, uint256 nonce)

func (*CantonBridgeFilterer) FilterOwnershipTransferred

func (_CantonBridge *CantonBridgeFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*CantonBridgeOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*CantonBridgeFilterer) FilterPaused

func (_CantonBridge *CantonBridgeFilterer) FilterPaused(opts *bind.FilterOpts) (*CantonBridgePausedIterator, error)

FilterPaused is a free log retrieval operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*CantonBridgeFilterer) FilterRelayerUpdated

func (_CantonBridge *CantonBridgeFilterer) FilterRelayerUpdated(opts *bind.FilterOpts, oldRelayer []common.Address, newRelayer []common.Address) (*CantonBridgeRelayerUpdatedIterator, error)

FilterRelayerUpdated is a free log retrieval operation binding the contract event 0x605ca4e43489fb38b91aa63dd9147cd3847957694b080b9285ec898b34269f0c.

Solidity: event RelayerUpdated(address indexed oldRelayer, address indexed newRelayer)

func (*CantonBridgeFilterer) FilterTokenMappingAdded

func (_CantonBridge *CantonBridgeFilterer) FilterTokenMappingAdded(opts *bind.FilterOpts, ethereumToken []common.Address, cantonTokenId [][32]byte) (*CantonBridgeTokenMappingAddedIterator, error)

FilterTokenMappingAdded is a free log retrieval operation binding the contract event 0x47d12254d1e957e8b2a7d8d640476c8cee321d3f095b3bc87b3c679f713f684b.

Solidity: event TokenMappingAdded(address indexed ethereumToken, bytes32 indexed cantonTokenId)

func (*CantonBridgeFilterer) FilterTokenMappingRemoved

func (_CantonBridge *CantonBridgeFilterer) FilterTokenMappingRemoved(opts *bind.FilterOpts, ethereumToken []common.Address) (*CantonBridgeTokenMappingRemovedIterator, error)

FilterTokenMappingRemoved is a free log retrieval operation binding the contract event 0x3cc70907a9d2be7ea4e6b746d9739cad4d110ebb6c622b34380fee32d6cbed70.

Solidity: event TokenMappingRemoved(address indexed ethereumToken)

func (*CantonBridgeFilterer) FilterUnpaused

func (_CantonBridge *CantonBridgeFilterer) FilterUnpaused(opts *bind.FilterOpts) (*CantonBridgeUnpausedIterator, error)

FilterUnpaused is a free log retrieval operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*CantonBridgeFilterer) FilterWithdrawFromCanton

func (_CantonBridge *CantonBridgeFilterer) FilterWithdrawFromCanton(opts *bind.FilterOpts, token []common.Address, recipient []common.Address) (*CantonBridgeWithdrawFromCantonIterator, error)

FilterWithdrawFromCanton is a free log retrieval operation binding the contract event 0x08f0eddc3c8a0bc5c0fb02dfcd2a51f46e8d93a0473f21c11715b6efce3380a0.

Solidity: event WithdrawFromCanton(address indexed token, address indexed recipient, uint256 amount, uint256 nonce, bytes32 cantonTxHash)

func (*CantonBridgeFilterer) ParseBridgeLimitsUpdated

func (_CantonBridge *CantonBridgeFilterer) ParseBridgeLimitsUpdated(log types.Log) (*CantonBridgeBridgeLimitsUpdated, error)

ParseBridgeLimitsUpdated is a log parse operation binding the contract event 0xcfc62648bfe6689bfdf06f50d3233f77d9e91b33d62e0b52350865779cd83151.

Solidity: event BridgeLimitsUpdated(uint256 maxTransferAmount, uint256 minTransferAmount)

func (*CantonBridgeFilterer) ParseDepositToCanton

func (_CantonBridge *CantonBridgeFilterer) ParseDepositToCanton(log types.Log) (*CantonBridgeDepositToCanton, error)

ParseDepositToCanton is a log parse operation binding the contract event 0xeb81e98a4f9bc1a984adfd1d0fa704f53a91dca986f7198277bc93037cb7e8ba.

Solidity: event DepositToCanton(address indexed token, address indexed sender, bytes32 indexed cantonRecipient, uint256 amount, uint256 nonce)

func (*CantonBridgeFilterer) ParseOwnershipTransferred

func (_CantonBridge *CantonBridgeFilterer) ParseOwnershipTransferred(log types.Log) (*CantonBridgeOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*CantonBridgeFilterer) ParsePaused

func (_CantonBridge *CantonBridgeFilterer) ParsePaused(log types.Log) (*CantonBridgePaused, error)

ParsePaused is a log parse operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*CantonBridgeFilterer) ParseRelayerUpdated

func (_CantonBridge *CantonBridgeFilterer) ParseRelayerUpdated(log types.Log) (*CantonBridgeRelayerUpdated, error)

ParseRelayerUpdated is a log parse operation binding the contract event 0x605ca4e43489fb38b91aa63dd9147cd3847957694b080b9285ec898b34269f0c.

Solidity: event RelayerUpdated(address indexed oldRelayer, address indexed newRelayer)

func (*CantonBridgeFilterer) ParseTokenMappingAdded

func (_CantonBridge *CantonBridgeFilterer) ParseTokenMappingAdded(log types.Log) (*CantonBridgeTokenMappingAdded, error)

ParseTokenMappingAdded is a log parse operation binding the contract event 0x47d12254d1e957e8b2a7d8d640476c8cee321d3f095b3bc87b3c679f713f684b.

Solidity: event TokenMappingAdded(address indexed ethereumToken, bytes32 indexed cantonTokenId)

func (*CantonBridgeFilterer) ParseTokenMappingRemoved

func (_CantonBridge *CantonBridgeFilterer) ParseTokenMappingRemoved(log types.Log) (*CantonBridgeTokenMappingRemoved, error)

ParseTokenMappingRemoved is a log parse operation binding the contract event 0x3cc70907a9d2be7ea4e6b746d9739cad4d110ebb6c622b34380fee32d6cbed70.

Solidity: event TokenMappingRemoved(address indexed ethereumToken)

func (*CantonBridgeFilterer) ParseUnpaused

func (_CantonBridge *CantonBridgeFilterer) ParseUnpaused(log types.Log) (*CantonBridgeUnpaused, error)

ParseUnpaused is a log parse operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*CantonBridgeFilterer) ParseWithdrawFromCanton

func (_CantonBridge *CantonBridgeFilterer) ParseWithdrawFromCanton(log types.Log) (*CantonBridgeWithdrawFromCanton, error)

ParseWithdrawFromCanton is a log parse operation binding the contract event 0x08f0eddc3c8a0bc5c0fb02dfcd2a51f46e8d93a0473f21c11715b6efce3380a0.

Solidity: event WithdrawFromCanton(address indexed token, address indexed recipient, uint256 amount, uint256 nonce, bytes32 cantonTxHash)

func (*CantonBridgeFilterer) WatchBridgeLimitsUpdated

func (_CantonBridge *CantonBridgeFilterer) WatchBridgeLimitsUpdated(opts *bind.WatchOpts, sink chan<- *CantonBridgeBridgeLimitsUpdated) (event.Subscription, error)

WatchBridgeLimitsUpdated is a free log subscription operation binding the contract event 0xcfc62648bfe6689bfdf06f50d3233f77d9e91b33d62e0b52350865779cd83151.

Solidity: event BridgeLimitsUpdated(uint256 maxTransferAmount, uint256 minTransferAmount)

func (*CantonBridgeFilterer) WatchDepositToCanton

func (_CantonBridge *CantonBridgeFilterer) WatchDepositToCanton(opts *bind.WatchOpts, sink chan<- *CantonBridgeDepositToCanton, token []common.Address, sender []common.Address, cantonRecipient [][32]byte) (event.Subscription, error)

WatchDepositToCanton is a free log subscription operation binding the contract event 0xeb81e98a4f9bc1a984adfd1d0fa704f53a91dca986f7198277bc93037cb7e8ba.

Solidity: event DepositToCanton(address indexed token, address indexed sender, bytes32 indexed cantonRecipient, uint256 amount, uint256 nonce)

func (*CantonBridgeFilterer) WatchOwnershipTransferred

func (_CantonBridge *CantonBridgeFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *CantonBridgeOwnershipTransferred, 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 (*CantonBridgeFilterer) WatchPaused

func (_CantonBridge *CantonBridgeFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *CantonBridgePaused) (event.Subscription, error)

WatchPaused is a free log subscription operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*CantonBridgeFilterer) WatchRelayerUpdated

func (_CantonBridge *CantonBridgeFilterer) WatchRelayerUpdated(opts *bind.WatchOpts, sink chan<- *CantonBridgeRelayerUpdated, oldRelayer []common.Address, newRelayer []common.Address) (event.Subscription, error)

WatchRelayerUpdated is a free log subscription operation binding the contract event 0x605ca4e43489fb38b91aa63dd9147cd3847957694b080b9285ec898b34269f0c.

Solidity: event RelayerUpdated(address indexed oldRelayer, address indexed newRelayer)

func (*CantonBridgeFilterer) WatchTokenMappingAdded

func (_CantonBridge *CantonBridgeFilterer) WatchTokenMappingAdded(opts *bind.WatchOpts, sink chan<- *CantonBridgeTokenMappingAdded, ethereumToken []common.Address, cantonTokenId [][32]byte) (event.Subscription, error)

WatchTokenMappingAdded is a free log subscription operation binding the contract event 0x47d12254d1e957e8b2a7d8d640476c8cee321d3f095b3bc87b3c679f713f684b.

Solidity: event TokenMappingAdded(address indexed ethereumToken, bytes32 indexed cantonTokenId)

func (*CantonBridgeFilterer) WatchTokenMappingRemoved

func (_CantonBridge *CantonBridgeFilterer) WatchTokenMappingRemoved(opts *bind.WatchOpts, sink chan<- *CantonBridgeTokenMappingRemoved, ethereumToken []common.Address) (event.Subscription, error)

WatchTokenMappingRemoved is a free log subscription operation binding the contract event 0x3cc70907a9d2be7ea4e6b746d9739cad4d110ebb6c622b34380fee32d6cbed70.

Solidity: event TokenMappingRemoved(address indexed ethereumToken)

func (*CantonBridgeFilterer) WatchUnpaused

func (_CantonBridge *CantonBridgeFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *CantonBridgeUnpaused) (event.Subscription, error)

WatchUnpaused is a free log subscription operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*CantonBridgeFilterer) WatchWithdrawFromCanton

func (_CantonBridge *CantonBridgeFilterer) WatchWithdrawFromCanton(opts *bind.WatchOpts, sink chan<- *CantonBridgeWithdrawFromCanton, token []common.Address, recipient []common.Address) (event.Subscription, error)

WatchWithdrawFromCanton is a free log subscription operation binding the contract event 0x08f0eddc3c8a0bc5c0fb02dfcd2a51f46e8d93a0473f21c11715b6efce3380a0.

Solidity: event WithdrawFromCanton(address indexed token, address indexed recipient, uint256 amount, uint256 nonce, bytes32 cantonTxHash)

type CantonBridgeOwnershipTransferred

type CantonBridgeOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

CantonBridgeOwnershipTransferred represents a OwnershipTransferred event raised by the CantonBridge contract.

type CantonBridgeOwnershipTransferredIterator

type CantonBridgeOwnershipTransferredIterator struct {
	Event *CantonBridgeOwnershipTransferred // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CantonBridgeOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the CantonBridge contract.

func (*CantonBridgeOwnershipTransferredIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CantonBridgeOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CantonBridgeOwnershipTransferredIterator) Next

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 CantonBridgePaused

type CantonBridgePaused struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

CantonBridgePaused represents a Paused event raised by the CantonBridge contract.

type CantonBridgePausedIterator

type CantonBridgePausedIterator struct {
	Event *CantonBridgePaused // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CantonBridgePausedIterator is returned from FilterPaused and is used to iterate over the raw logs and unpacked data for Paused events raised by the CantonBridge contract.

func (*CantonBridgePausedIterator) Close

func (it *CantonBridgePausedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*CantonBridgePausedIterator) Error

func (it *CantonBridgePausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CantonBridgePausedIterator) Next

func (it *CantonBridgePausedIterator) 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 CantonBridgeRaw

type CantonBridgeRaw struct {
	Contract *CantonBridge // Generic contract binding to access the raw methods on
}

CantonBridgeRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*CantonBridgeRaw) Call

func (_CantonBridge *CantonBridgeRaw) 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 (*CantonBridgeRaw) Transact

func (_CantonBridge *CantonBridgeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*CantonBridgeRaw) Transfer

func (_CantonBridge *CantonBridgeRaw) 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 CantonBridgeRelayerUpdated

type CantonBridgeRelayerUpdated struct {
	OldRelayer common.Address
	NewRelayer common.Address
	Raw        types.Log // Blockchain specific contextual infos
}

CantonBridgeRelayerUpdated represents a RelayerUpdated event raised by the CantonBridge contract.

type CantonBridgeRelayerUpdatedIterator

type CantonBridgeRelayerUpdatedIterator struct {
	Event *CantonBridgeRelayerUpdated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CantonBridgeRelayerUpdatedIterator is returned from FilterRelayerUpdated and is used to iterate over the raw logs and unpacked data for RelayerUpdated events raised by the CantonBridge contract.

func (*CantonBridgeRelayerUpdatedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CantonBridgeRelayerUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CantonBridgeRelayerUpdatedIterator) Next

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 CantonBridgeSession

type CantonBridgeSession struct {
	Contract     *CantonBridge     // 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
}

CantonBridgeSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*CantonBridgeSession) AddTokenMapping

func (_CantonBridge *CantonBridgeSession) AddTokenMapping(ethereumToken common.Address, cantonTokenId [32]byte) (*types.Transaction, error)

AddTokenMapping is a paid mutator transaction binding the contract method 0x3db00af5.

Solidity: function addTokenMapping(address ethereumToken, bytes32 cantonTokenId) returns()

func (*CantonBridgeSession) CantonToEthereumToken

func (_CantonBridge *CantonBridgeSession) CantonToEthereumToken(arg0 [32]byte) (common.Address, error)

CantonToEthereumToken is a free data retrieval call binding the contract method 0x1a9bd38d.

Solidity: function cantonToEthereumToken(bytes32 ) view returns(address)

func (*CantonBridgeSession) DepositNonce

func (_CantonBridge *CantonBridgeSession) DepositNonce() (*big.Int, error)

DepositNonce is a free data retrieval call binding the contract method 0xde35f5cb.

Solidity: function depositNonce() view returns(uint256)

func (*CantonBridgeSession) DepositToCanton

func (_CantonBridge *CantonBridgeSession) DepositToCanton(token common.Address, amount *big.Int, cantonRecipient [32]byte) (*types.Transaction, error)

DepositToCanton is a paid mutator transaction binding the contract method 0x62cc30d0.

Solidity: function depositToCanton(address token, uint256 amount, bytes32 cantonRecipient) returns()

func (*CantonBridgeSession) EmergencyWithdraw

func (_CantonBridge *CantonBridgeSession) EmergencyWithdraw(token common.Address, amount *big.Int) (*types.Transaction, error)

EmergencyWithdraw is a paid mutator transaction binding the contract method 0x95ccea67.

Solidity: function emergencyWithdraw(address token, uint256 amount) returns()

func (*CantonBridgeSession) EthereumToCantonToken

func (_CantonBridge *CantonBridgeSession) EthereumToCantonToken(arg0 common.Address) ([32]byte, error)

EthereumToCantonToken is a free data retrieval call binding the contract method 0x0cc761ae.

Solidity: function ethereumToCantonToken(address ) view returns(bytes32)

func (*CantonBridgeSession) GetBridgeBalance

func (_CantonBridge *CantonBridgeSession) GetBridgeBalance(token common.Address) (*big.Int, error)

GetBridgeBalance is a free data retrieval call binding the contract method 0x058c055f.

Solidity: function getBridgeBalance(address token) view returns(uint256)

func (*CantonBridgeSession) MaxTransferAmount

func (_CantonBridge *CantonBridgeSession) MaxTransferAmount() (*big.Int, error)

MaxTransferAmount is a free data retrieval call binding the contract method 0xa9e75723.

Solidity: function maxTransferAmount() view returns(uint256)

func (*CantonBridgeSession) MinTransferAmount

func (_CantonBridge *CantonBridgeSession) MinTransferAmount() (*big.Int, error)

MinTransferAmount is a free data retrieval call binding the contract method 0x68841431.

Solidity: function minTransferAmount() view returns(uint256)

func (*CantonBridgeSession) Owner

func (_CantonBridge *CantonBridgeSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*CantonBridgeSession) Pause

func (_CantonBridge *CantonBridgeSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*CantonBridgeSession) Paused

func (_CantonBridge *CantonBridgeSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*CantonBridgeSession) ProcessedCantonTxs

func (_CantonBridge *CantonBridgeSession) ProcessedCantonTxs(arg0 [32]byte) (bool, error)

ProcessedCantonTxs is a free data retrieval call binding the contract method 0xd1569b4c.

Solidity: function processedCantonTxs(bytes32 ) view returns(bool)

func (*CantonBridgeSession) Relayer

func (_CantonBridge *CantonBridgeSession) Relayer() (common.Address, error)

Relayer is a free data retrieval call binding the contract method 0x8406c079.

Solidity: function relayer() view returns(address)

func (*CantonBridgeSession) RemoveTokenMapping

func (_CantonBridge *CantonBridgeSession) RemoveTokenMapping(ethereumToken common.Address) (*types.Transaction, error)

RemoveTokenMapping is a paid mutator transaction binding the contract method 0x828a54fb.

Solidity: function removeTokenMapping(address ethereumToken) returns()

func (*CantonBridgeSession) RenounceOwnership

func (_CantonBridge *CantonBridgeSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*CantonBridgeSession) TransferOwnership

func (_CantonBridge *CantonBridgeSession) 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 (*CantonBridgeSession) Unpause

func (_CantonBridge *CantonBridgeSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

func (*CantonBridgeSession) UpdateLimits

func (_CantonBridge *CantonBridgeSession) UpdateLimits(_maxTransferAmount *big.Int, _minTransferAmount *big.Int) (*types.Transaction, error)

UpdateLimits is a paid mutator transaction binding the contract method 0xa2240e19.

Solidity: function updateLimits(uint256 _maxTransferAmount, uint256 _minTransferAmount) returns()

func (*CantonBridgeSession) UpdateRelayer

func (_CantonBridge *CantonBridgeSession) UpdateRelayer(newRelayer common.Address) (*types.Transaction, error)

UpdateRelayer is a paid mutator transaction binding the contract method 0x8f83ab13.

Solidity: function updateRelayer(address newRelayer) returns()

func (*CantonBridgeSession) WithdrawFromCanton

func (_CantonBridge *CantonBridgeSession) WithdrawFromCanton(token common.Address, recipient common.Address, amount *big.Int, nonce *big.Int, cantonTxHash [32]byte) (*types.Transaction, error)

WithdrawFromCanton is a paid mutator transaction binding the contract method 0x5a94d032.

Solidity: function withdrawFromCanton(address token, address recipient, uint256 amount, uint256 nonce, bytes32 cantonTxHash) returns()

type CantonBridgeTokenMappingAdded

type CantonBridgeTokenMappingAdded struct {
	EthereumToken common.Address
	CantonTokenId [32]byte
	Raw           types.Log // Blockchain specific contextual infos
}

CantonBridgeTokenMappingAdded represents a TokenMappingAdded event raised by the CantonBridge contract.

type CantonBridgeTokenMappingAddedIterator

type CantonBridgeTokenMappingAddedIterator struct {
	Event *CantonBridgeTokenMappingAdded // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CantonBridgeTokenMappingAddedIterator is returned from FilterTokenMappingAdded and is used to iterate over the raw logs and unpacked data for TokenMappingAdded events raised by the CantonBridge contract.

func (*CantonBridgeTokenMappingAddedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CantonBridgeTokenMappingAddedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CantonBridgeTokenMappingAddedIterator) Next

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 CantonBridgeTokenMappingRemoved

type CantonBridgeTokenMappingRemoved struct {
	EthereumToken common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

CantonBridgeTokenMappingRemoved represents a TokenMappingRemoved event raised by the CantonBridge contract.

type CantonBridgeTokenMappingRemovedIterator

type CantonBridgeTokenMappingRemovedIterator struct {
	Event *CantonBridgeTokenMappingRemoved // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CantonBridgeTokenMappingRemovedIterator is returned from FilterTokenMappingRemoved and is used to iterate over the raw logs and unpacked data for TokenMappingRemoved events raised by the CantonBridge contract.

func (*CantonBridgeTokenMappingRemovedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CantonBridgeTokenMappingRemovedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CantonBridgeTokenMappingRemovedIterator) Next

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 CantonBridgeTransactor

type CantonBridgeTransactor struct {
	// contains filtered or unexported fields
}

CantonBridgeTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewCantonBridgeTransactor

func NewCantonBridgeTransactor(address common.Address, transactor bind.ContractTransactor) (*CantonBridgeTransactor, error)

NewCantonBridgeTransactor creates a new write-only instance of CantonBridge, bound to a specific deployed contract.

func (*CantonBridgeTransactor) AddTokenMapping

func (_CantonBridge *CantonBridgeTransactor) AddTokenMapping(opts *bind.TransactOpts, ethereumToken common.Address, cantonTokenId [32]byte) (*types.Transaction, error)

AddTokenMapping is a paid mutator transaction binding the contract method 0x3db00af5.

Solidity: function addTokenMapping(address ethereumToken, bytes32 cantonTokenId) returns()

func (*CantonBridgeTransactor) DepositToCanton

func (_CantonBridge *CantonBridgeTransactor) DepositToCanton(opts *bind.TransactOpts, token common.Address, amount *big.Int, cantonRecipient [32]byte) (*types.Transaction, error)

DepositToCanton is a paid mutator transaction binding the contract method 0x62cc30d0.

Solidity: function depositToCanton(address token, uint256 amount, bytes32 cantonRecipient) returns()

func (*CantonBridgeTransactor) EmergencyWithdraw

func (_CantonBridge *CantonBridgeTransactor) EmergencyWithdraw(opts *bind.TransactOpts, token common.Address, amount *big.Int) (*types.Transaction, error)

EmergencyWithdraw is a paid mutator transaction binding the contract method 0x95ccea67.

Solidity: function emergencyWithdraw(address token, uint256 amount) returns()

func (*CantonBridgeTransactor) Pause

func (_CantonBridge *CantonBridgeTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*CantonBridgeTransactor) RemoveTokenMapping

func (_CantonBridge *CantonBridgeTransactor) RemoveTokenMapping(opts *bind.TransactOpts, ethereumToken common.Address) (*types.Transaction, error)

RemoveTokenMapping is a paid mutator transaction binding the contract method 0x828a54fb.

Solidity: function removeTokenMapping(address ethereumToken) returns()

func (*CantonBridgeTransactor) RenounceOwnership

func (_CantonBridge *CantonBridgeTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*CantonBridgeTransactor) TransferOwnership

func (_CantonBridge *CantonBridgeTransactor) 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 (*CantonBridgeTransactor) Unpause

func (_CantonBridge *CantonBridgeTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

func (*CantonBridgeTransactor) UpdateLimits

func (_CantonBridge *CantonBridgeTransactor) UpdateLimits(opts *bind.TransactOpts, _maxTransferAmount *big.Int, _minTransferAmount *big.Int) (*types.Transaction, error)

UpdateLimits is a paid mutator transaction binding the contract method 0xa2240e19.

Solidity: function updateLimits(uint256 _maxTransferAmount, uint256 _minTransferAmount) returns()

func (*CantonBridgeTransactor) UpdateRelayer

func (_CantonBridge *CantonBridgeTransactor) UpdateRelayer(opts *bind.TransactOpts, newRelayer common.Address) (*types.Transaction, error)

UpdateRelayer is a paid mutator transaction binding the contract method 0x8f83ab13.

Solidity: function updateRelayer(address newRelayer) returns()

func (*CantonBridgeTransactor) WithdrawFromCanton

func (_CantonBridge *CantonBridgeTransactor) WithdrawFromCanton(opts *bind.TransactOpts, token common.Address, recipient common.Address, amount *big.Int, nonce *big.Int, cantonTxHash [32]byte) (*types.Transaction, error)

WithdrawFromCanton is a paid mutator transaction binding the contract method 0x5a94d032.

Solidity: function withdrawFromCanton(address token, address recipient, uint256 amount, uint256 nonce, bytes32 cantonTxHash) returns()

type CantonBridgeTransactorRaw

type CantonBridgeTransactorRaw struct {
	Contract *CantonBridgeTransactor // Generic write-only contract binding to access the raw methods on
}

CantonBridgeTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*CantonBridgeTransactorRaw) Transact

func (_CantonBridge *CantonBridgeTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*CantonBridgeTransactorRaw) Transfer

func (_CantonBridge *CantonBridgeTransactorRaw) 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 CantonBridgeTransactorSession

type CantonBridgeTransactorSession struct {
	Contract     *CantonBridgeTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts       // Transaction auth options to use throughout this session
}

CantonBridgeTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*CantonBridgeTransactorSession) AddTokenMapping

func (_CantonBridge *CantonBridgeTransactorSession) AddTokenMapping(ethereumToken common.Address, cantonTokenId [32]byte) (*types.Transaction, error)

AddTokenMapping is a paid mutator transaction binding the contract method 0x3db00af5.

Solidity: function addTokenMapping(address ethereumToken, bytes32 cantonTokenId) returns()

func (*CantonBridgeTransactorSession) DepositToCanton

func (_CantonBridge *CantonBridgeTransactorSession) DepositToCanton(token common.Address, amount *big.Int, cantonRecipient [32]byte) (*types.Transaction, error)

DepositToCanton is a paid mutator transaction binding the contract method 0x62cc30d0.

Solidity: function depositToCanton(address token, uint256 amount, bytes32 cantonRecipient) returns()

func (*CantonBridgeTransactorSession) EmergencyWithdraw

func (_CantonBridge *CantonBridgeTransactorSession) EmergencyWithdraw(token common.Address, amount *big.Int) (*types.Transaction, error)

EmergencyWithdraw is a paid mutator transaction binding the contract method 0x95ccea67.

Solidity: function emergencyWithdraw(address token, uint256 amount) returns()

func (*CantonBridgeTransactorSession) Pause

func (_CantonBridge *CantonBridgeTransactorSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*CantonBridgeTransactorSession) RemoveTokenMapping

func (_CantonBridge *CantonBridgeTransactorSession) RemoveTokenMapping(ethereumToken common.Address) (*types.Transaction, error)

RemoveTokenMapping is a paid mutator transaction binding the contract method 0x828a54fb.

Solidity: function removeTokenMapping(address ethereumToken) returns()

func (*CantonBridgeTransactorSession) RenounceOwnership

func (_CantonBridge *CantonBridgeTransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*CantonBridgeTransactorSession) TransferOwnership

func (_CantonBridge *CantonBridgeTransactorSession) 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 (*CantonBridgeTransactorSession) Unpause

func (_CantonBridge *CantonBridgeTransactorSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

func (*CantonBridgeTransactorSession) UpdateLimits

func (_CantonBridge *CantonBridgeTransactorSession) UpdateLimits(_maxTransferAmount *big.Int, _minTransferAmount *big.Int) (*types.Transaction, error)

UpdateLimits is a paid mutator transaction binding the contract method 0xa2240e19.

Solidity: function updateLimits(uint256 _maxTransferAmount, uint256 _minTransferAmount) returns()

func (*CantonBridgeTransactorSession) UpdateRelayer

func (_CantonBridge *CantonBridgeTransactorSession) UpdateRelayer(newRelayer common.Address) (*types.Transaction, error)

UpdateRelayer is a paid mutator transaction binding the contract method 0x8f83ab13.

Solidity: function updateRelayer(address newRelayer) returns()

func (*CantonBridgeTransactorSession) WithdrawFromCanton

func (_CantonBridge *CantonBridgeTransactorSession) WithdrawFromCanton(token common.Address, recipient common.Address, amount *big.Int, nonce *big.Int, cantonTxHash [32]byte) (*types.Transaction, error)

WithdrawFromCanton is a paid mutator transaction binding the contract method 0x5a94d032.

Solidity: function withdrawFromCanton(address token, address recipient, uint256 amount, uint256 nonce, bytes32 cantonTxHash) returns()

type CantonBridgeUnpaused

type CantonBridgeUnpaused struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

CantonBridgeUnpaused represents a Unpaused event raised by the CantonBridge contract.

type CantonBridgeUnpausedIterator

type CantonBridgeUnpausedIterator struct {
	Event *CantonBridgeUnpaused // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CantonBridgeUnpausedIterator is returned from FilterUnpaused and is used to iterate over the raw logs and unpacked data for Unpaused events raised by the CantonBridge contract.

func (*CantonBridgeUnpausedIterator) Close

func (it *CantonBridgeUnpausedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*CantonBridgeUnpausedIterator) Error

func (it *CantonBridgeUnpausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CantonBridgeUnpausedIterator) Next

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 CantonBridgeWithdrawFromCanton

type CantonBridgeWithdrawFromCanton struct {
	Token        common.Address
	Recipient    common.Address
	Amount       *big.Int
	Nonce        *big.Int
	CantonTxHash [32]byte
	Raw          types.Log // Blockchain specific contextual infos
}

CantonBridgeWithdrawFromCanton represents a WithdrawFromCanton event raised by the CantonBridge contract.

type CantonBridgeWithdrawFromCantonIterator

type CantonBridgeWithdrawFromCantonIterator struct {
	Event *CantonBridgeWithdrawFromCanton // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CantonBridgeWithdrawFromCantonIterator is returned from FilterWithdrawFromCanton and is used to iterate over the raw logs and unpacked data for WithdrawFromCanton events raised by the CantonBridge contract.

func (*CantonBridgeWithdrawFromCantonIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CantonBridgeWithdrawFromCantonIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CantonBridgeWithdrawFromCantonIterator) Next

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 PromptToken

type PromptToken struct {
	PromptTokenCaller     // Read-only binding to the contract
	PromptTokenTransactor // Write-only binding to the contract
	PromptTokenFilterer   // Log filterer for contract events
}

PromptToken is an auto generated Go binding around an Ethereum contract.

func NewPromptToken

func NewPromptToken(address common.Address, backend bind.ContractBackend) (*PromptToken, error)

NewPromptToken creates a new instance of PromptToken, bound to a specific deployed contract.

type PromptTokenApproval

type PromptTokenApproval struct {
	Owner   common.Address
	Spender common.Address
	Value   *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

PromptTokenApproval represents a Approval event raised by the PromptToken contract.

type PromptTokenApprovalIterator

type PromptTokenApprovalIterator struct {
	Event *PromptTokenApproval // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PromptTokenApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the PromptToken contract.

func (*PromptTokenApprovalIterator) Close

func (it *PromptTokenApprovalIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*PromptTokenApprovalIterator) Error

func (it *PromptTokenApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*PromptTokenApprovalIterator) Next

func (it *PromptTokenApprovalIterator) 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 PromptTokenCaller

type PromptTokenCaller struct {
	// contains filtered or unexported fields
}

PromptTokenCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewPromptTokenCaller

func NewPromptTokenCaller(address common.Address, caller bind.ContractCaller) (*PromptTokenCaller, error)

NewPromptTokenCaller creates a new read-only instance of PromptToken, bound to a specific deployed contract.

func (*PromptTokenCaller) Allowance

func (_PromptToken *PromptTokenCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address owner, address spender) view returns(uint256)

func (*PromptTokenCaller) BalanceOf

func (_PromptToken *PromptTokenCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address account) view returns(uint256)

func (*PromptTokenCaller) DEFAULTADMINROLE

func (_PromptToken *PromptTokenCaller) DEFAULTADMINROLE(opts *bind.CallOpts) ([32]byte, error)

DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*PromptTokenCaller) Decimals

func (_PromptToken *PromptTokenCaller) Decimals(opts *bind.CallOpts) (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*PromptTokenCaller) GetRoleAdmin

func (_PromptToken *PromptTokenCaller) GetRoleAdmin(opts *bind.CallOpts, role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*PromptTokenCaller) HasRole

func (_PromptToken *PromptTokenCaller) HasRole(opts *bind.CallOpts, role [32]byte, account common.Address) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view returns(bool)

func (*PromptTokenCaller) INVOKEWAYFINDERCONFIGURATIONROLE

func (_PromptToken *PromptTokenCaller) INVOKEWAYFINDERCONFIGURATIONROLE(opts *bind.CallOpts) ([32]byte, error)

INVOKEWAYFINDERCONFIGURATIONROLE is a free data retrieval call binding the contract method 0x70b9b0a6.

Solidity: function INVOKE_WAYFINDER_CONFIGURATION_ROLE() view returns(bytes32)

func (*PromptTokenCaller) Name

func (_PromptToken *PromptTokenCaller) Name(opts *bind.CallOpts) (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*PromptTokenCaller) SupportsInterface

func (_PromptToken *PromptTokenCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

func (*PromptTokenCaller) Symbol

func (_PromptToken *PromptTokenCaller) Symbol(opts *bind.CallOpts) (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*PromptTokenCaller) TotalSupply

func (_PromptToken *PromptTokenCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*PromptTokenCaller) WayfinderGateways

func (_PromptToken *PromptTokenCaller) WayfinderGateways(opts *bind.CallOpts, arg0 common.Address) (struct {
	NativeTokenDestinationAddress common.Address
	PromptDestinationAddress      common.Address
	InvokeWayfinderHandler        common.Address
}, error)

WayfinderGateways is a free data retrieval call binding the contract method 0x4122eedf.

Solidity: function wayfinderGateways(address ) view returns(address nativeTokenDestinationAddress, address promptDestinationAddress, address invokeWayfinderHandler)

type PromptTokenCallerRaw

type PromptTokenCallerRaw struct {
	Contract *PromptTokenCaller // Generic read-only contract binding to access the raw methods on
}

PromptTokenCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*PromptTokenCallerRaw) Call

func (_PromptToken *PromptTokenCallerRaw) 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 PromptTokenCallerSession

type PromptTokenCallerSession struct {
	Contract *PromptTokenCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts      // Call options to use throughout this session
}

PromptTokenCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*PromptTokenCallerSession) Allowance

func (_PromptToken *PromptTokenCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address owner, address spender) view returns(uint256)

func (*PromptTokenCallerSession) BalanceOf

func (_PromptToken *PromptTokenCallerSession) BalanceOf(account common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address account) view returns(uint256)

func (*PromptTokenCallerSession) DEFAULTADMINROLE

func (_PromptToken *PromptTokenCallerSession) DEFAULTADMINROLE() ([32]byte, error)

DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*PromptTokenCallerSession) Decimals

func (_PromptToken *PromptTokenCallerSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*PromptTokenCallerSession) GetRoleAdmin

func (_PromptToken *PromptTokenCallerSession) GetRoleAdmin(role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*PromptTokenCallerSession) HasRole

func (_PromptToken *PromptTokenCallerSession) HasRole(role [32]byte, account common.Address) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view returns(bool)

func (*PromptTokenCallerSession) INVOKEWAYFINDERCONFIGURATIONROLE

func (_PromptToken *PromptTokenCallerSession) INVOKEWAYFINDERCONFIGURATIONROLE() ([32]byte, error)

INVOKEWAYFINDERCONFIGURATIONROLE is a free data retrieval call binding the contract method 0x70b9b0a6.

Solidity: function INVOKE_WAYFINDER_CONFIGURATION_ROLE() view returns(bytes32)

func (*PromptTokenCallerSession) Name

func (_PromptToken *PromptTokenCallerSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*PromptTokenCallerSession) SupportsInterface

func (_PromptToken *PromptTokenCallerSession) 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 (*PromptTokenCallerSession) Symbol

func (_PromptToken *PromptTokenCallerSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*PromptTokenCallerSession) TotalSupply

func (_PromptToken *PromptTokenCallerSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*PromptTokenCallerSession) WayfinderGateways

func (_PromptToken *PromptTokenCallerSession) WayfinderGateways(arg0 common.Address) (struct {
	NativeTokenDestinationAddress common.Address
	PromptDestinationAddress      common.Address
	InvokeWayfinderHandler        common.Address
}, error)

WayfinderGateways is a free data retrieval call binding the contract method 0x4122eedf.

Solidity: function wayfinderGateways(address ) view returns(address nativeTokenDestinationAddress, address promptDestinationAddress, address invokeWayfinderHandler)

type PromptTokenFilterer

type PromptTokenFilterer struct {
	// contains filtered or unexported fields
}

PromptTokenFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewPromptTokenFilterer

func NewPromptTokenFilterer(address common.Address, filterer bind.ContractFilterer) (*PromptTokenFilterer, error)

NewPromptTokenFilterer creates a new log filterer instance of PromptToken, bound to a specific deployed contract.

func (*PromptTokenFilterer) FilterApproval

func (_PromptToken *PromptTokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*PromptTokenApprovalIterator, error)

FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*PromptTokenFilterer) FilterRoleAdminChanged

func (_PromptToken *PromptTokenFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (*PromptTokenRoleAdminChangedIterator, error)

FilterRoleAdminChanged is a free log retrieval operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*PromptTokenFilterer) FilterRoleGranted

func (_PromptToken *PromptTokenFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*PromptTokenRoleGrantedIterator, error)

FilterRoleGranted is a free log retrieval operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*PromptTokenFilterer) FilterRoleRevoked

func (_PromptToken *PromptTokenFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*PromptTokenRoleRevokedIterator, error)

FilterRoleRevoked is a free log retrieval operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

func (*PromptTokenFilterer) FilterTransfer

func (_PromptToken *PromptTokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*PromptTokenTransferIterator, error)

FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*PromptTokenFilterer) FilterWayfinderGatewayRegistered

func (_PromptToken *PromptTokenFilterer) FilterWayfinderGatewayRegistered(opts *bind.FilterOpts, contractAddress []common.Address, nativeTokenDestinationAddress []common.Address, promptDestinationAddress []common.Address) (*PromptTokenWayfinderGatewayRegisteredIterator, error)

FilterWayfinderGatewayRegistered is a free log retrieval operation binding the contract event 0x8cf6993df5e0b575ca3342eea156230eac743b5c3cc8755911acd9ac953a953e.

Solidity: event WayfinderGatewayRegistered(address indexed contractAddress, address indexed nativeTokenDestinationAddress, address indexed promptDestinationAddress)

func (*PromptTokenFilterer) FilterWayfinderInvoked

func (_PromptToken *PromptTokenFilterer) FilterWayfinderInvoked(opts *bind.FilterOpts, from []common.Address, nativeTokenDestination []common.Address, promptDestination []common.Address) (*PromptTokenWayfinderInvokedIterator, error)

FilterWayfinderInvoked is a free log retrieval operation binding the contract event 0xe18ff98b8b2004eeb7ed2e5f72ed7232b7f8e004305c73c87b4f21ad29448e3b.

Solidity: event WayfinderInvoked(address indexed from, address indexed nativeTokenDestination, address indexed promptDestination, uint256 id, uint256 nativeTokenValue, uint256 promptValue, bytes data)

func (*PromptTokenFilterer) ParseApproval

func (_PromptToken *PromptTokenFilterer) ParseApproval(log types.Log) (*PromptTokenApproval, error)

ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*PromptTokenFilterer) ParseRoleAdminChanged

func (_PromptToken *PromptTokenFilterer) ParseRoleAdminChanged(log types.Log) (*PromptTokenRoleAdminChanged, error)

ParseRoleAdminChanged is a log parse operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*PromptTokenFilterer) ParseRoleGranted

func (_PromptToken *PromptTokenFilterer) ParseRoleGranted(log types.Log) (*PromptTokenRoleGranted, error)

ParseRoleGranted is a log parse operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*PromptTokenFilterer) ParseRoleRevoked

func (_PromptToken *PromptTokenFilterer) ParseRoleRevoked(log types.Log) (*PromptTokenRoleRevoked, error)

ParseRoleRevoked is a log parse operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

func (*PromptTokenFilterer) ParseTransfer

func (_PromptToken *PromptTokenFilterer) ParseTransfer(log types.Log) (*PromptTokenTransfer, error)

ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*PromptTokenFilterer) ParseWayfinderGatewayRegistered

func (_PromptToken *PromptTokenFilterer) ParseWayfinderGatewayRegistered(log types.Log) (*PromptTokenWayfinderGatewayRegistered, error)

ParseWayfinderGatewayRegistered is a log parse operation binding the contract event 0x8cf6993df5e0b575ca3342eea156230eac743b5c3cc8755911acd9ac953a953e.

Solidity: event WayfinderGatewayRegistered(address indexed contractAddress, address indexed nativeTokenDestinationAddress, address indexed promptDestinationAddress)

func (*PromptTokenFilterer) ParseWayfinderInvoked

func (_PromptToken *PromptTokenFilterer) ParseWayfinderInvoked(log types.Log) (*PromptTokenWayfinderInvoked, error)

ParseWayfinderInvoked is a log parse operation binding the contract event 0xe18ff98b8b2004eeb7ed2e5f72ed7232b7f8e004305c73c87b4f21ad29448e3b.

Solidity: event WayfinderInvoked(address indexed from, address indexed nativeTokenDestination, address indexed promptDestination, uint256 id, uint256 nativeTokenValue, uint256 promptValue, bytes data)

func (*PromptTokenFilterer) WatchApproval

func (_PromptToken *PromptTokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *PromptTokenApproval, owner []common.Address, spender []common.Address) (event.Subscription, error)

WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*PromptTokenFilterer) WatchRoleAdminChanged

func (_PromptToken *PromptTokenFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *PromptTokenRoleAdminChanged, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (event.Subscription, error)

WatchRoleAdminChanged is a free log subscription operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*PromptTokenFilterer) WatchRoleGranted

func (_PromptToken *PromptTokenFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *PromptTokenRoleGranted, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)

WatchRoleGranted is a free log subscription operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*PromptTokenFilterer) WatchRoleRevoked

func (_PromptToken *PromptTokenFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *PromptTokenRoleRevoked, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)

WatchRoleRevoked is a free log subscription operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

func (*PromptTokenFilterer) WatchTransfer

func (_PromptToken *PromptTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *PromptTokenTransfer, from []common.Address, to []common.Address) (event.Subscription, error)

WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*PromptTokenFilterer) WatchWayfinderGatewayRegistered

func (_PromptToken *PromptTokenFilterer) WatchWayfinderGatewayRegistered(opts *bind.WatchOpts, sink chan<- *PromptTokenWayfinderGatewayRegistered, contractAddress []common.Address, nativeTokenDestinationAddress []common.Address, promptDestinationAddress []common.Address) (event.Subscription, error)

WatchWayfinderGatewayRegistered is a free log subscription operation binding the contract event 0x8cf6993df5e0b575ca3342eea156230eac743b5c3cc8755911acd9ac953a953e.

Solidity: event WayfinderGatewayRegistered(address indexed contractAddress, address indexed nativeTokenDestinationAddress, address indexed promptDestinationAddress)

func (*PromptTokenFilterer) WatchWayfinderInvoked

func (_PromptToken *PromptTokenFilterer) WatchWayfinderInvoked(opts *bind.WatchOpts, sink chan<- *PromptTokenWayfinderInvoked, from []common.Address, nativeTokenDestination []common.Address, promptDestination []common.Address) (event.Subscription, error)

WatchWayfinderInvoked is a free log subscription operation binding the contract event 0xe18ff98b8b2004eeb7ed2e5f72ed7232b7f8e004305c73c87b4f21ad29448e3b.

Solidity: event WayfinderInvoked(address indexed from, address indexed nativeTokenDestination, address indexed promptDestination, uint256 id, uint256 nativeTokenValue, uint256 promptValue, bytes data)

type PromptTokenRaw

type PromptTokenRaw struct {
	Contract *PromptToken // Generic contract binding to access the raw methods on
}

PromptTokenRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*PromptTokenRaw) Call

func (_PromptToken *PromptTokenRaw) 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 (*PromptTokenRaw) Transact

func (_PromptToken *PromptTokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*PromptTokenRaw) Transfer

func (_PromptToken *PromptTokenRaw) 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 PromptTokenRoleAdminChanged

type PromptTokenRoleAdminChanged struct {
	Role              [32]byte
	PreviousAdminRole [32]byte
	NewAdminRole      [32]byte
	Raw               types.Log // Blockchain specific contextual infos
}

PromptTokenRoleAdminChanged represents a RoleAdminChanged event raised by the PromptToken contract.

type PromptTokenRoleAdminChangedIterator

type PromptTokenRoleAdminChangedIterator struct {
	Event *PromptTokenRoleAdminChanged // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PromptTokenRoleAdminChangedIterator is returned from FilterRoleAdminChanged and is used to iterate over the raw logs and unpacked data for RoleAdminChanged events raised by the PromptToken contract.

func (*PromptTokenRoleAdminChangedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*PromptTokenRoleAdminChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PromptTokenRoleAdminChangedIterator) Next

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 PromptTokenRoleGranted

type PromptTokenRoleGranted struct {
	Role    [32]byte
	Account common.Address
	Sender  common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

PromptTokenRoleGranted represents a RoleGranted event raised by the PromptToken contract.

type PromptTokenRoleGrantedIterator

type PromptTokenRoleGrantedIterator struct {
	Event *PromptTokenRoleGranted // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PromptTokenRoleGrantedIterator is returned from FilterRoleGranted and is used to iterate over the raw logs and unpacked data for RoleGranted events raised by the PromptToken contract.

func (*PromptTokenRoleGrantedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*PromptTokenRoleGrantedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PromptTokenRoleGrantedIterator) Next

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 PromptTokenRoleRevoked

type PromptTokenRoleRevoked struct {
	Role    [32]byte
	Account common.Address
	Sender  common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

PromptTokenRoleRevoked represents a RoleRevoked event raised by the PromptToken contract.

type PromptTokenRoleRevokedIterator

type PromptTokenRoleRevokedIterator struct {
	Event *PromptTokenRoleRevoked // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PromptTokenRoleRevokedIterator is returned from FilterRoleRevoked and is used to iterate over the raw logs and unpacked data for RoleRevoked events raised by the PromptToken contract.

func (*PromptTokenRoleRevokedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*PromptTokenRoleRevokedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PromptTokenRoleRevokedIterator) Next

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 PromptTokenSession

type PromptTokenSession struct {
	Contract     *PromptToken      // 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
}

PromptTokenSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*PromptTokenSession) AddWayfinderHandlerContract

func (_PromptToken *PromptTokenSession) AddWayfinderHandlerContract(_contractAddress common.Address, _nativeTokenDestinationAddress common.Address, _promptDestinationAddress common.Address) (*types.Transaction, error)

AddWayfinderHandlerContract is a paid mutator transaction binding the contract method 0x84b09c0a.

Solidity: function addWayfinderHandlerContract(address _contractAddress, address _nativeTokenDestinationAddress, address _promptDestinationAddress) returns()

func (*PromptTokenSession) Allowance

func (_PromptToken *PromptTokenSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address owner, address spender) view returns(uint256)

func (*PromptTokenSession) Approve

func (_PromptToken *PromptTokenSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 value) returns(bool)

func (*PromptTokenSession) BalanceOf

func (_PromptToken *PromptTokenSession) BalanceOf(account common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address account) view returns(uint256)

func (*PromptTokenSession) Burn

func (_PromptToken *PromptTokenSession) Burn(value *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x42966c68.

Solidity: function burn(uint256 value) returns()

func (*PromptTokenSession) BurnFrom

func (_PromptToken *PromptTokenSession) BurnFrom(account common.Address, value *big.Int) (*types.Transaction, error)

BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.

Solidity: function burnFrom(address account, uint256 value) returns()

func (*PromptTokenSession) DEFAULTADMINROLE

func (_PromptToken *PromptTokenSession) DEFAULTADMINROLE() ([32]byte, error)

DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*PromptTokenSession) Decimals

func (_PromptToken *PromptTokenSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*PromptTokenSession) GetRoleAdmin

func (_PromptToken *PromptTokenSession) GetRoleAdmin(role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*PromptTokenSession) GrantRole

func (_PromptToken *PromptTokenSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)

GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.

Solidity: function grantRole(bytes32 role, address account) returns()

func (*PromptTokenSession) HasRole

func (_PromptToken *PromptTokenSession) HasRole(role [32]byte, account common.Address) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view returns(bool)

func (*PromptTokenSession) INVOKEWAYFINDERCONFIGURATIONROLE

func (_PromptToken *PromptTokenSession) INVOKEWAYFINDERCONFIGURATIONROLE() ([32]byte, error)

INVOKEWAYFINDERCONFIGURATIONROLE is a free data retrieval call binding the contract method 0x70b9b0a6.

Solidity: function INVOKE_WAYFINDER_CONFIGURATION_ROLE() view returns(bytes32)

func (*PromptTokenSession) InvokeWayfinder

func (_PromptToken *PromptTokenSession) InvokeWayfinder(_handlerAddress common.Address, _id *big.Int, _promptValue *big.Int, _data []byte) (*types.Transaction, error)

InvokeWayfinder is a paid mutator transaction binding the contract method 0x7287a99e.

Solidity: function invokeWayfinder(address _handlerAddress, uint256 _id, uint256 _promptValue, bytes _data) payable returns()

func (*PromptTokenSession) Name

func (_PromptToken *PromptTokenSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*PromptTokenSession) RenounceRole

func (_PromptToken *PromptTokenSession) RenounceRole(arg0 [32]byte, arg1 common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 , address ) returns()

func (*PromptTokenSession) RevokeRole

func (_PromptToken *PromptTokenSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)

RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.

Solidity: function revokeRole(bytes32 role, address account) returns()

func (*PromptTokenSession) SupportsInterface

func (_PromptToken *PromptTokenSession) 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 (*PromptTokenSession) Symbol

func (_PromptToken *PromptTokenSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*PromptTokenSession) TotalSupply

func (_PromptToken *PromptTokenSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*PromptTokenSession) Transfer

func (_PromptToken *PromptTokenSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address to, uint256 value) returns(bool)

func (*PromptTokenSession) TransferFrom

func (_PromptToken *PromptTokenSession) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)

func (*PromptTokenSession) WayfinderGateways

func (_PromptToken *PromptTokenSession) WayfinderGateways(arg0 common.Address) (struct {
	NativeTokenDestinationAddress common.Address
	PromptDestinationAddress      common.Address
	InvokeWayfinderHandler        common.Address
}, error)

WayfinderGateways is a free data retrieval call binding the contract method 0x4122eedf.

Solidity: function wayfinderGateways(address ) view returns(address nativeTokenDestinationAddress, address promptDestinationAddress, address invokeWayfinderHandler)

type PromptTokenTransactor

type PromptTokenTransactor struct {
	// contains filtered or unexported fields
}

PromptTokenTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewPromptTokenTransactor

func NewPromptTokenTransactor(address common.Address, transactor bind.ContractTransactor) (*PromptTokenTransactor, error)

NewPromptTokenTransactor creates a new write-only instance of PromptToken, bound to a specific deployed contract.

func (*PromptTokenTransactor) AddWayfinderHandlerContract

func (_PromptToken *PromptTokenTransactor) AddWayfinderHandlerContract(opts *bind.TransactOpts, _contractAddress common.Address, _nativeTokenDestinationAddress common.Address, _promptDestinationAddress common.Address) (*types.Transaction, error)

AddWayfinderHandlerContract is a paid mutator transaction binding the contract method 0x84b09c0a.

Solidity: function addWayfinderHandlerContract(address _contractAddress, address _nativeTokenDestinationAddress, address _promptDestinationAddress) returns()

func (*PromptTokenTransactor) Approve

func (_PromptToken *PromptTokenTransactor) Approve(opts *bind.TransactOpts, spender common.Address, value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 value) returns(bool)

func (*PromptTokenTransactor) Burn

func (_PromptToken *PromptTokenTransactor) Burn(opts *bind.TransactOpts, value *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x42966c68.

Solidity: function burn(uint256 value) returns()

func (*PromptTokenTransactor) BurnFrom

func (_PromptToken *PromptTokenTransactor) BurnFrom(opts *bind.TransactOpts, account common.Address, value *big.Int) (*types.Transaction, error)

BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.

Solidity: function burnFrom(address account, uint256 value) returns()

func (*PromptTokenTransactor) GrantRole

func (_PromptToken *PromptTokenTransactor) GrantRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)

GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.

Solidity: function grantRole(bytes32 role, address account) returns()

func (*PromptTokenTransactor) InvokeWayfinder

func (_PromptToken *PromptTokenTransactor) InvokeWayfinder(opts *bind.TransactOpts, _handlerAddress common.Address, _id *big.Int, _promptValue *big.Int, _data []byte) (*types.Transaction, error)

InvokeWayfinder is a paid mutator transaction binding the contract method 0x7287a99e.

Solidity: function invokeWayfinder(address _handlerAddress, uint256 _id, uint256 _promptValue, bytes _data) payable returns()

func (*PromptTokenTransactor) RenounceRole

func (_PromptToken *PromptTokenTransactor) RenounceRole(opts *bind.TransactOpts, arg0 [32]byte, arg1 common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 , address ) returns()

func (*PromptTokenTransactor) RevokeRole

func (_PromptToken *PromptTokenTransactor) RevokeRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)

RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.

Solidity: function revokeRole(bytes32 role, address account) returns()

func (*PromptTokenTransactor) Transfer

func (_PromptToken *PromptTokenTransactor) Transfer(opts *bind.TransactOpts, to common.Address, value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address to, uint256 value) returns(bool)

func (*PromptTokenTransactor) TransferFrom

func (_PromptToken *PromptTokenTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)

type PromptTokenTransactorRaw

type PromptTokenTransactorRaw struct {
	Contract *PromptTokenTransactor // Generic write-only contract binding to access the raw methods on
}

PromptTokenTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*PromptTokenTransactorRaw) Transact

func (_PromptToken *PromptTokenTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*PromptTokenTransactorRaw) Transfer

func (_PromptToken *PromptTokenTransactorRaw) 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 PromptTokenTransactorSession

type PromptTokenTransactorSession struct {
	Contract     *PromptTokenTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts      // Transaction auth options to use throughout this session
}

PromptTokenTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*PromptTokenTransactorSession) AddWayfinderHandlerContract

func (_PromptToken *PromptTokenTransactorSession) AddWayfinderHandlerContract(_contractAddress common.Address, _nativeTokenDestinationAddress common.Address, _promptDestinationAddress common.Address) (*types.Transaction, error)

AddWayfinderHandlerContract is a paid mutator transaction binding the contract method 0x84b09c0a.

Solidity: function addWayfinderHandlerContract(address _contractAddress, address _nativeTokenDestinationAddress, address _promptDestinationAddress) returns()

func (*PromptTokenTransactorSession) Approve

func (_PromptToken *PromptTokenTransactorSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 value) returns(bool)

func (*PromptTokenTransactorSession) Burn

func (_PromptToken *PromptTokenTransactorSession) Burn(value *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x42966c68.

Solidity: function burn(uint256 value) returns()

func (*PromptTokenTransactorSession) BurnFrom

func (_PromptToken *PromptTokenTransactorSession) BurnFrom(account common.Address, value *big.Int) (*types.Transaction, error)

BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.

Solidity: function burnFrom(address account, uint256 value) returns()

func (*PromptTokenTransactorSession) GrantRole

func (_PromptToken *PromptTokenTransactorSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)

GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.

Solidity: function grantRole(bytes32 role, address account) returns()

func (*PromptTokenTransactorSession) InvokeWayfinder

func (_PromptToken *PromptTokenTransactorSession) InvokeWayfinder(_handlerAddress common.Address, _id *big.Int, _promptValue *big.Int, _data []byte) (*types.Transaction, error)

InvokeWayfinder is a paid mutator transaction binding the contract method 0x7287a99e.

Solidity: function invokeWayfinder(address _handlerAddress, uint256 _id, uint256 _promptValue, bytes _data) payable returns()

func (*PromptTokenTransactorSession) RenounceRole

func (_PromptToken *PromptTokenTransactorSession) RenounceRole(arg0 [32]byte, arg1 common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 , address ) returns()

func (*PromptTokenTransactorSession) RevokeRole

func (_PromptToken *PromptTokenTransactorSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)

RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.

Solidity: function revokeRole(bytes32 role, address account) returns()

func (*PromptTokenTransactorSession) Transfer

func (_PromptToken *PromptTokenTransactorSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address to, uint256 value) returns(bool)

func (*PromptTokenTransactorSession) TransferFrom

func (_PromptToken *PromptTokenTransactorSession) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)

type PromptTokenTransfer

type PromptTokenTransfer struct {
	From  common.Address
	To    common.Address
	Value *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

PromptTokenTransfer represents a Transfer event raised by the PromptToken contract.

type PromptTokenTransferIterator

type PromptTokenTransferIterator struct {
	Event *PromptTokenTransfer // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PromptTokenTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the PromptToken contract.

func (*PromptTokenTransferIterator) Close

func (it *PromptTokenTransferIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*PromptTokenTransferIterator) Error

func (it *PromptTokenTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*PromptTokenTransferIterator) Next

func (it *PromptTokenTransferIterator) 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 PromptTokenWayfinderGatewayRegistered

type PromptTokenWayfinderGatewayRegistered struct {
	ContractAddress               common.Address
	NativeTokenDestinationAddress common.Address
	PromptDestinationAddress      common.Address
	Raw                           types.Log // Blockchain specific contextual infos
}

PromptTokenWayfinderGatewayRegistered represents a WayfinderGatewayRegistered event raised by the PromptToken contract.

type PromptTokenWayfinderGatewayRegisteredIterator

type PromptTokenWayfinderGatewayRegisteredIterator struct {
	Event *PromptTokenWayfinderGatewayRegistered // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PromptTokenWayfinderGatewayRegisteredIterator is returned from FilterWayfinderGatewayRegistered and is used to iterate over the raw logs and unpacked data for WayfinderGatewayRegistered events raised by the PromptToken contract.

func (*PromptTokenWayfinderGatewayRegisteredIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*PromptTokenWayfinderGatewayRegisteredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PromptTokenWayfinderGatewayRegisteredIterator) Next

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 PromptTokenWayfinderInvoked

type PromptTokenWayfinderInvoked struct {
	From                   common.Address
	NativeTokenDestination common.Address
	PromptDestination      common.Address
	Id                     *big.Int
	NativeTokenValue       *big.Int
	PromptValue            *big.Int
	Data                   []byte
	Raw                    types.Log // Blockchain specific contextual infos
}

PromptTokenWayfinderInvoked represents a WayfinderInvoked event raised by the PromptToken contract.

type PromptTokenWayfinderInvokedIterator

type PromptTokenWayfinderInvokedIterator struct {
	Event *PromptTokenWayfinderInvoked // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PromptTokenWayfinderInvokedIterator is returned from FilterWayfinderInvoked and is used to iterate over the raw logs and unpacked data for WayfinderInvoked events raised by the PromptToken contract.

func (*PromptTokenWayfinderInvokedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*PromptTokenWayfinderInvokedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PromptTokenWayfinderInvokedIterator) Next

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL