abi

package
v0.0.0-...-ef390af Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ERC1155SwapAgentABI = ERC1155SwapAgentMetaData.ABI

ERC1155SwapAgentABI is the input ABI used to generate the binding from. Deprecated: Use ERC1155SwapAgentMetaData.ABI instead.

View Source
var ERC1155SwapAgentMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"swapTxHash\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"tokenAddr\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"fromChainId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"ids\",\"type\":\"uint256[]\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"}],\"name\":\"BackwardSwapFilled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"mirroredTokenAddr\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"dstChainId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"ids\",\"type\":\"uint256[]\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"feeAmount\",\"type\":\"uint256\"}],\"name\":\"BackwardSwapStarted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"swapTxHash\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"fromTokenAddr\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"mirroredTokenAddr\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"fromChainId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"ids\",\"type\":\"uint256[]\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"}],\"name\":\"SwapFilled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"registerTxHash\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"fromTokenAddr\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"mirroredTokenAddr\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"fromChainId\",\"type\":\"uint256\"}],\"name\":\"SwapPairCreated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sponsor\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"toChainId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"feeAmount\",\"type\":\"uint256\"}],\"name\":\"SwapPairRegister\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"tokenAddr\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"dstChainId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"ids\",\"type\":\"uint256[]\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"feeAmount\",\"type\":\"uint256\"}],\"name\":\"SwapStarted\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"registerTxHash\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"fromTokenAddr\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"fromChainId\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"uri\",\"type\":\"string\"}],\"name\":\"createSwapPair\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"swapTxHash\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"fromTokenAddr\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"fromChainId\",\"type\":\"uint256\"},{\"internalType\":\"uint256[]\",\"name\":\"ids\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"}],\"name\":\"fill\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"filledSwap\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"onERC1155BatchReceived\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"onERC1155Received\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenAddr\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"}],\"name\":\"registerSwapPair\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"registeredToken\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenAddr\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256[]\",\"name\":\"ids\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256\",\"name\":\"dstChainId\",\"type\":\"uint256\"}],\"name\":\"swap\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"swapMappingIncoming\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"swapMappingOutgoing\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

ERC1155SwapAgentMetaData contains all meta data concerning the ERC1155SwapAgent contract.

View Source
var ERC1155TokenABI = ERC1155TokenMetaData.ABI

ERC1155TokenABI is the input ABI used to generate the binding from. Deprecated: Use ERC1155TokenMetaData.ABI instead.

View Source
var ERC1155TokenMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"string\",\"name\":\"uri\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"ApprovalForAll\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"ids\",\"type\":\"uint256[]\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"values\",\"type\":\"uint256[]\"}],\"name\":\"TransferBatch\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"TransferSingle\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"value\",\"type\":\"string\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"URI\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"accounts\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"ids\",\"type\":\"uint256[]\"}],\"name\":\"balanceOfBatch\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"mint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256[]\",\"name\":\"ids\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"mintBatch\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256[]\",\"name\":\"ids\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"safeBatchTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"setApprovalForAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"newuri\",\"type\":\"string\"}],\"name\":\"setURI\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"uri\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

ERC1155TokenMetaData contains all meta data concerning the ERC1155Token contract.

View Source
var ERC721SwapAgentABI = ERC721SwapAgentMetaData.ABI

ERC721SwapAgentABI is the input ABI used to generate the binding from. Deprecated: Use ERC721SwapAgentMetaData.ABI instead.

View Source
var ERC721SwapAgentMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"swapTxHash\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"tokenAddr\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"fromChainId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"BackwardSwapFilled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"mirroredTokenAddr\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"dstChainId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"feeAmount\",\"type\":\"uint256\"}],\"name\":\"BackwardSwapStarted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"swapTxHash\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"fromTokenAddr\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"mirroredTokenAddr\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"fromChainId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"SwapFilled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"registerTxHash\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"fromTokenAddr\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"mirroredTokenAddr\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"fromChainId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"tokenSymbol\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"tokenName\",\"type\":\"string\"}],\"name\":\"SwapPairCreated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sponsor\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"tokenName\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"tokenSymbol\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"toChainId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"feeAmount\",\"type\":\"uint256\"}],\"name\":\"SwapPairRegister\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"tokenAddr\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"dstChainId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"feeAmount\",\"type\":\"uint256\"}],\"name\":\"SwapStarted\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"registerTxHash\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"fromTokenAddr\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"fromChainId\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"baseURI_\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"tokenName\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"tokenSymbol\",\"type\":\"string\"}],\"name\":\"createSwapPair\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"swapTxHash\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"fromTokenAddr\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"fromChainId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"tokenURI\",\"type\":\"string\"}],\"name\":\"fill\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"filledSwap\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"onERC721Received\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenAddr\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"}],\"name\":\"registerSwapPair\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"registeredToken\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenAddr\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"dstChainId\",\"type\":\"uint256\"}],\"name\":\"swap\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"swapMappingIncoming\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"swapMappingOutgoing\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

ERC721SwapAgentMetaData contains all meta data concerning the ERC721SwapAgent contract.

View Source
var ERC721TokenABI = ERC721TokenMetaData.ABI

ERC721TokenABI is the input ABI used to generate the binding from. Deprecated: Use ERC721TokenMetaData.ABI instead.

View Source
var ERC721TokenMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"symbol\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"approved\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"ApprovalForAll\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"baseURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getApproved\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ownerOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"safeMint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"setApprovalForAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"baseURI_\",\"type\":\"string\"}],\"name\":\"setBaseURI\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"_tokenURI\",\"type\":\"string\"}],\"name\":\"setTokenURI\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"tokenURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

ERC721TokenMetaData contains all meta data concerning the ERC721Token contract.

Functions

This section is empty.

Types

type ERC1155SwapAgent

type ERC1155SwapAgent struct {
	ERC1155SwapAgentCaller     // Read-only binding to the contract
	ERC1155SwapAgentTransactor // Write-only binding to the contract
	ERC1155SwapAgentFilterer   // Log filterer for contract events
}

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

func NewERC1155SwapAgent

func NewERC1155SwapAgent(address common.Address, backend bind.ContractBackend) (*ERC1155SwapAgent, error)

NewERC1155SwapAgent creates a new instance of ERC1155SwapAgent, bound to a specific deployed contract.

type ERC1155SwapAgentBackwardSwapFilled

type ERC1155SwapAgentBackwardSwapFilled struct {
	SwapTxHash  [32]byte
	TokenAddr   common.Address
	Recipient   common.Address
	FromChainId *big.Int
	Ids         []*big.Int
	Amounts     []*big.Int
	Raw         types.Log // Blockchain specific contextual infos
}

ERC1155SwapAgentBackwardSwapFilled represents a BackwardSwapFilled event raised by the ERC1155SwapAgent contract.

type ERC1155SwapAgentBackwardSwapFilledIterator

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

ERC1155SwapAgentBackwardSwapFilledIterator is returned from FilterBackwardSwapFilled and is used to iterate over the raw logs and unpacked data for BackwardSwapFilled events raised by the ERC1155SwapAgent contract.

func (*ERC1155SwapAgentBackwardSwapFilledIterator) Close

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

func (*ERC1155SwapAgentBackwardSwapFilledIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC1155SwapAgentBackwardSwapFilledIterator) 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 ERC1155SwapAgentBackwardSwapStarted

type ERC1155SwapAgentBackwardSwapStarted struct {
	MirroredTokenAddr common.Address
	Sender            common.Address
	Recipient         common.Address
	DstChainId        *big.Int
	Ids               []*big.Int
	Amounts           []*big.Int
	FeeAmount         *big.Int
	Raw               types.Log // Blockchain specific contextual infos
}

ERC1155SwapAgentBackwardSwapStarted represents a BackwardSwapStarted event raised by the ERC1155SwapAgent contract.

type ERC1155SwapAgentBackwardSwapStartedIterator

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

ERC1155SwapAgentBackwardSwapStartedIterator is returned from FilterBackwardSwapStarted and is used to iterate over the raw logs and unpacked data for BackwardSwapStarted events raised by the ERC1155SwapAgent contract.

func (*ERC1155SwapAgentBackwardSwapStartedIterator) Close

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

func (*ERC1155SwapAgentBackwardSwapStartedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC1155SwapAgentBackwardSwapStartedIterator) 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 ERC1155SwapAgentCaller

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

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

func NewERC1155SwapAgentCaller

func NewERC1155SwapAgentCaller(address common.Address, caller bind.ContractCaller) (*ERC1155SwapAgentCaller, error)

NewERC1155SwapAgentCaller creates a new read-only instance of ERC1155SwapAgent, bound to a specific deployed contract.

func (*ERC1155SwapAgentCaller) FilledSwap

func (_ERC1155SwapAgent *ERC1155SwapAgentCaller) FilledSwap(opts *bind.CallOpts, arg0 [32]byte) (bool, error)

FilledSwap is a free data retrieval call binding the contract method 0xa86894ca.

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

func (*ERC1155SwapAgentCaller) Owner

func (_ERC1155SwapAgent *ERC1155SwapAgentCaller) 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 (*ERC1155SwapAgentCaller) RegisteredToken

func (_ERC1155SwapAgent *ERC1155SwapAgentCaller) RegisteredToken(opts *bind.CallOpts, arg0 *big.Int, arg1 common.Address) (bool, error)

RegisteredToken is a free data retrieval call binding the contract method 0x0b4f43c1.

Solidity: function registeredToken(uint256 , address ) view returns(bool)

func (*ERC1155SwapAgentCaller) SupportsInterface

func (_ERC1155SwapAgent *ERC1155SwapAgentCaller) 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 (*ERC1155SwapAgentCaller) SwapMappingIncoming

func (_ERC1155SwapAgent *ERC1155SwapAgentCaller) SwapMappingIncoming(opts *bind.CallOpts, arg0 *big.Int, arg1 common.Address) (common.Address, error)

SwapMappingIncoming is a free data retrieval call binding the contract method 0xec686704.

Solidity: function swapMappingIncoming(uint256 , address ) view returns(address)

func (*ERC1155SwapAgentCaller) SwapMappingOutgoing

func (_ERC1155SwapAgent *ERC1155SwapAgentCaller) SwapMappingOutgoing(opts *bind.CallOpts, arg0 *big.Int, arg1 common.Address) (common.Address, error)

SwapMappingOutgoing is a free data retrieval call binding the contract method 0x0d43d992.

Solidity: function swapMappingOutgoing(uint256 , address ) view returns(address)

type ERC1155SwapAgentCallerRaw

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

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

func (*ERC1155SwapAgentCallerRaw) Call

func (_ERC1155SwapAgent *ERC1155SwapAgentCallerRaw) 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 ERC1155SwapAgentCallerSession

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

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

func (*ERC1155SwapAgentCallerSession) FilledSwap

func (_ERC1155SwapAgent *ERC1155SwapAgentCallerSession) FilledSwap(arg0 [32]byte) (bool, error)

FilledSwap is a free data retrieval call binding the contract method 0xa86894ca.

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

func (*ERC1155SwapAgentCallerSession) Owner

func (_ERC1155SwapAgent *ERC1155SwapAgentCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*ERC1155SwapAgentCallerSession) RegisteredToken

func (_ERC1155SwapAgent *ERC1155SwapAgentCallerSession) RegisteredToken(arg0 *big.Int, arg1 common.Address) (bool, error)

RegisteredToken is a free data retrieval call binding the contract method 0x0b4f43c1.

Solidity: function registeredToken(uint256 , address ) view returns(bool)

func (*ERC1155SwapAgentCallerSession) SupportsInterface

func (_ERC1155SwapAgent *ERC1155SwapAgentCallerSession) 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 (*ERC1155SwapAgentCallerSession) SwapMappingIncoming

func (_ERC1155SwapAgent *ERC1155SwapAgentCallerSession) SwapMappingIncoming(arg0 *big.Int, arg1 common.Address) (common.Address, error)

SwapMappingIncoming is a free data retrieval call binding the contract method 0xec686704.

Solidity: function swapMappingIncoming(uint256 , address ) view returns(address)

func (*ERC1155SwapAgentCallerSession) SwapMappingOutgoing

func (_ERC1155SwapAgent *ERC1155SwapAgentCallerSession) SwapMappingOutgoing(arg0 *big.Int, arg1 common.Address) (common.Address, error)

SwapMappingOutgoing is a free data retrieval call binding the contract method 0x0d43d992.

Solidity: function swapMappingOutgoing(uint256 , address ) view returns(address)

type ERC1155SwapAgentFilterer

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

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

func NewERC1155SwapAgentFilterer

func NewERC1155SwapAgentFilterer(address common.Address, filterer bind.ContractFilterer) (*ERC1155SwapAgentFilterer, error)

NewERC1155SwapAgentFilterer creates a new log filterer instance of ERC1155SwapAgent, bound to a specific deployed contract.

func (*ERC1155SwapAgentFilterer) FilterBackwardSwapFilled

func (_ERC1155SwapAgent *ERC1155SwapAgentFilterer) FilterBackwardSwapFilled(opts *bind.FilterOpts, swapTxHash [][32]byte, tokenAddr []common.Address, recipient []common.Address) (*ERC1155SwapAgentBackwardSwapFilledIterator, error)

FilterBackwardSwapFilled is a free log retrieval operation binding the contract event 0x58d9c075708eb3187538135716481600d99ff6eb833bdbac1fee1e54cebec1b3.

Solidity: event BackwardSwapFilled(bytes32 indexed swapTxHash, address indexed tokenAddr, address indexed recipient, uint256 fromChainId, uint256[] ids, uint256[] amounts)

func (*ERC1155SwapAgentFilterer) FilterBackwardSwapStarted

func (_ERC1155SwapAgent *ERC1155SwapAgentFilterer) FilterBackwardSwapStarted(opts *bind.FilterOpts, mirroredTokenAddr []common.Address, sender []common.Address, recipient []common.Address) (*ERC1155SwapAgentBackwardSwapStartedIterator, error)

FilterBackwardSwapStarted is a free log retrieval operation binding the contract event 0x5c317e3669ab4c20e7362c3bdc16700c64c83aa52a3abdd32e17eb1179e6706e.

Solidity: event BackwardSwapStarted(address indexed mirroredTokenAddr, address indexed sender, address indexed recipient, uint256 dstChainId, uint256[] ids, uint256[] amounts, uint256 feeAmount)

func (*ERC1155SwapAgentFilterer) FilterOwnershipTransferred

func (_ERC1155SwapAgent *ERC1155SwapAgentFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*ERC1155SwapAgentOwnershipTransferredIterator, error)

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

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

func (*ERC1155SwapAgentFilterer) FilterSwapFilled

func (_ERC1155SwapAgent *ERC1155SwapAgentFilterer) FilterSwapFilled(opts *bind.FilterOpts, swapTxHash [][32]byte, fromTokenAddr []common.Address, recipient []common.Address) (*ERC1155SwapAgentSwapFilledIterator, error)

FilterSwapFilled is a free log retrieval operation binding the contract event 0x295d1e2c3b0c279f7107336cf70913e43ee3b0e77dee0b1d04f74d733006d806.

Solidity: event SwapFilled(bytes32 indexed swapTxHash, address indexed fromTokenAddr, address indexed recipient, address mirroredTokenAddr, uint256 fromChainId, uint256[] ids, uint256[] amounts)

func (*ERC1155SwapAgentFilterer) FilterSwapPairCreated

func (_ERC1155SwapAgent *ERC1155SwapAgentFilterer) FilterSwapPairCreated(opts *bind.FilterOpts, registerTxHash [][32]byte, fromTokenAddr []common.Address, mirroredTokenAddr []common.Address) (*ERC1155SwapAgentSwapPairCreatedIterator, error)

FilterSwapPairCreated is a free log retrieval operation binding the contract event 0x621d9726b59bf7f3a9cbd292df8310172e6dec3a7279c906c7c22129f406708e.

Solidity: event SwapPairCreated(bytes32 indexed registerTxHash, address indexed fromTokenAddr, address indexed mirroredTokenAddr, uint256 fromChainId)

func (*ERC1155SwapAgentFilterer) FilterSwapPairRegister

func (_ERC1155SwapAgent *ERC1155SwapAgentFilterer) FilterSwapPairRegister(opts *bind.FilterOpts, sponsor []common.Address, tokenAddress []common.Address) (*ERC1155SwapAgentSwapPairRegisterIterator, error)

FilterSwapPairRegister is a free log retrieval operation binding the contract event 0x6745f5c9e689dd3b252d145964ac6fbb294d72cedae5a4d52b1774728289e606.

Solidity: event SwapPairRegister(address indexed sponsor, address indexed tokenAddress, uint256 toChainId, uint256 feeAmount)

func (*ERC1155SwapAgentFilterer) FilterSwapStarted

func (_ERC1155SwapAgent *ERC1155SwapAgentFilterer) FilterSwapStarted(opts *bind.FilterOpts, tokenAddr []common.Address, sender []common.Address, recipient []common.Address) (*ERC1155SwapAgentSwapStartedIterator, error)

FilterSwapStarted is a free log retrieval operation binding the contract event 0x074135076f5fc18420e0de96ce28c6bfe93048607465c707bdf3c10cf1e92d3f.

Solidity: event SwapStarted(address indexed tokenAddr, address indexed sender, address indexed recipient, uint256 dstChainId, uint256[] ids, uint256[] amounts, uint256 feeAmount)

func (*ERC1155SwapAgentFilterer) ParseBackwardSwapFilled

func (_ERC1155SwapAgent *ERC1155SwapAgentFilterer) ParseBackwardSwapFilled(log types.Log) (*ERC1155SwapAgentBackwardSwapFilled, error)

ParseBackwardSwapFilled is a log parse operation binding the contract event 0x58d9c075708eb3187538135716481600d99ff6eb833bdbac1fee1e54cebec1b3.

Solidity: event BackwardSwapFilled(bytes32 indexed swapTxHash, address indexed tokenAddr, address indexed recipient, uint256 fromChainId, uint256[] ids, uint256[] amounts)

func (*ERC1155SwapAgentFilterer) ParseBackwardSwapStarted

func (_ERC1155SwapAgent *ERC1155SwapAgentFilterer) ParseBackwardSwapStarted(log types.Log) (*ERC1155SwapAgentBackwardSwapStarted, error)

ParseBackwardSwapStarted is a log parse operation binding the contract event 0x5c317e3669ab4c20e7362c3bdc16700c64c83aa52a3abdd32e17eb1179e6706e.

Solidity: event BackwardSwapStarted(address indexed mirroredTokenAddr, address indexed sender, address indexed recipient, uint256 dstChainId, uint256[] ids, uint256[] amounts, uint256 feeAmount)

func (*ERC1155SwapAgentFilterer) ParseOwnershipTransferred

func (_ERC1155SwapAgent *ERC1155SwapAgentFilterer) ParseOwnershipTransferred(log types.Log) (*ERC1155SwapAgentOwnershipTransferred, error)

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

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

func (*ERC1155SwapAgentFilterer) ParseSwapFilled

func (_ERC1155SwapAgent *ERC1155SwapAgentFilterer) ParseSwapFilled(log types.Log) (*ERC1155SwapAgentSwapFilled, error)

ParseSwapFilled is a log parse operation binding the contract event 0x295d1e2c3b0c279f7107336cf70913e43ee3b0e77dee0b1d04f74d733006d806.

Solidity: event SwapFilled(bytes32 indexed swapTxHash, address indexed fromTokenAddr, address indexed recipient, address mirroredTokenAddr, uint256 fromChainId, uint256[] ids, uint256[] amounts)

func (*ERC1155SwapAgentFilterer) ParseSwapPairCreated

func (_ERC1155SwapAgent *ERC1155SwapAgentFilterer) ParseSwapPairCreated(log types.Log) (*ERC1155SwapAgentSwapPairCreated, error)

ParseSwapPairCreated is a log parse operation binding the contract event 0x621d9726b59bf7f3a9cbd292df8310172e6dec3a7279c906c7c22129f406708e.

Solidity: event SwapPairCreated(bytes32 indexed registerTxHash, address indexed fromTokenAddr, address indexed mirroredTokenAddr, uint256 fromChainId)

func (*ERC1155SwapAgentFilterer) ParseSwapPairRegister

func (_ERC1155SwapAgent *ERC1155SwapAgentFilterer) ParseSwapPairRegister(log types.Log) (*ERC1155SwapAgentSwapPairRegister, error)

ParseSwapPairRegister is a log parse operation binding the contract event 0x6745f5c9e689dd3b252d145964ac6fbb294d72cedae5a4d52b1774728289e606.

Solidity: event SwapPairRegister(address indexed sponsor, address indexed tokenAddress, uint256 toChainId, uint256 feeAmount)

func (*ERC1155SwapAgentFilterer) ParseSwapStarted

func (_ERC1155SwapAgent *ERC1155SwapAgentFilterer) ParseSwapStarted(log types.Log) (*ERC1155SwapAgentSwapStarted, error)

ParseSwapStarted is a log parse operation binding the contract event 0x074135076f5fc18420e0de96ce28c6bfe93048607465c707bdf3c10cf1e92d3f.

Solidity: event SwapStarted(address indexed tokenAddr, address indexed sender, address indexed recipient, uint256 dstChainId, uint256[] ids, uint256[] amounts, uint256 feeAmount)

func (*ERC1155SwapAgentFilterer) WatchBackwardSwapFilled

func (_ERC1155SwapAgent *ERC1155SwapAgentFilterer) WatchBackwardSwapFilled(opts *bind.WatchOpts, sink chan<- *ERC1155SwapAgentBackwardSwapFilled, swapTxHash [][32]byte, tokenAddr []common.Address, recipient []common.Address) (event.Subscription, error)

WatchBackwardSwapFilled is a free log subscription operation binding the contract event 0x58d9c075708eb3187538135716481600d99ff6eb833bdbac1fee1e54cebec1b3.

Solidity: event BackwardSwapFilled(bytes32 indexed swapTxHash, address indexed tokenAddr, address indexed recipient, uint256 fromChainId, uint256[] ids, uint256[] amounts)

func (*ERC1155SwapAgentFilterer) WatchBackwardSwapStarted

func (_ERC1155SwapAgent *ERC1155SwapAgentFilterer) WatchBackwardSwapStarted(opts *bind.WatchOpts, sink chan<- *ERC1155SwapAgentBackwardSwapStarted, mirroredTokenAddr []common.Address, sender []common.Address, recipient []common.Address) (event.Subscription, error)

WatchBackwardSwapStarted is a free log subscription operation binding the contract event 0x5c317e3669ab4c20e7362c3bdc16700c64c83aa52a3abdd32e17eb1179e6706e.

Solidity: event BackwardSwapStarted(address indexed mirroredTokenAddr, address indexed sender, address indexed recipient, uint256 dstChainId, uint256[] ids, uint256[] amounts, uint256 feeAmount)

func (*ERC1155SwapAgentFilterer) WatchOwnershipTransferred

func (_ERC1155SwapAgent *ERC1155SwapAgentFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ERC1155SwapAgentOwnershipTransferred, 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 (*ERC1155SwapAgentFilterer) WatchSwapFilled

func (_ERC1155SwapAgent *ERC1155SwapAgentFilterer) WatchSwapFilled(opts *bind.WatchOpts, sink chan<- *ERC1155SwapAgentSwapFilled, swapTxHash [][32]byte, fromTokenAddr []common.Address, recipient []common.Address) (event.Subscription, error)

WatchSwapFilled is a free log subscription operation binding the contract event 0x295d1e2c3b0c279f7107336cf70913e43ee3b0e77dee0b1d04f74d733006d806.

Solidity: event SwapFilled(bytes32 indexed swapTxHash, address indexed fromTokenAddr, address indexed recipient, address mirroredTokenAddr, uint256 fromChainId, uint256[] ids, uint256[] amounts)

func (*ERC1155SwapAgentFilterer) WatchSwapPairCreated

func (_ERC1155SwapAgent *ERC1155SwapAgentFilterer) WatchSwapPairCreated(opts *bind.WatchOpts, sink chan<- *ERC1155SwapAgentSwapPairCreated, registerTxHash [][32]byte, fromTokenAddr []common.Address, mirroredTokenAddr []common.Address) (event.Subscription, error)

WatchSwapPairCreated is a free log subscription operation binding the contract event 0x621d9726b59bf7f3a9cbd292df8310172e6dec3a7279c906c7c22129f406708e.

Solidity: event SwapPairCreated(bytes32 indexed registerTxHash, address indexed fromTokenAddr, address indexed mirroredTokenAddr, uint256 fromChainId)

func (*ERC1155SwapAgentFilterer) WatchSwapPairRegister

func (_ERC1155SwapAgent *ERC1155SwapAgentFilterer) WatchSwapPairRegister(opts *bind.WatchOpts, sink chan<- *ERC1155SwapAgentSwapPairRegister, sponsor []common.Address, tokenAddress []common.Address) (event.Subscription, error)

WatchSwapPairRegister is a free log subscription operation binding the contract event 0x6745f5c9e689dd3b252d145964ac6fbb294d72cedae5a4d52b1774728289e606.

Solidity: event SwapPairRegister(address indexed sponsor, address indexed tokenAddress, uint256 toChainId, uint256 feeAmount)

func (*ERC1155SwapAgentFilterer) WatchSwapStarted

func (_ERC1155SwapAgent *ERC1155SwapAgentFilterer) WatchSwapStarted(opts *bind.WatchOpts, sink chan<- *ERC1155SwapAgentSwapStarted, tokenAddr []common.Address, sender []common.Address, recipient []common.Address) (event.Subscription, error)

WatchSwapStarted is a free log subscription operation binding the contract event 0x074135076f5fc18420e0de96ce28c6bfe93048607465c707bdf3c10cf1e92d3f.

Solidity: event SwapStarted(address indexed tokenAddr, address indexed sender, address indexed recipient, uint256 dstChainId, uint256[] ids, uint256[] amounts, uint256 feeAmount)

type ERC1155SwapAgentOwnershipTransferred

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

ERC1155SwapAgentOwnershipTransferred represents a OwnershipTransferred event raised by the ERC1155SwapAgent contract.

type ERC1155SwapAgentOwnershipTransferredIterator

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

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

func (*ERC1155SwapAgentOwnershipTransferredIterator) Close

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

func (*ERC1155SwapAgentOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC1155SwapAgentOwnershipTransferredIterator) 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 ERC1155SwapAgentRaw

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

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

func (*ERC1155SwapAgentRaw) Call

func (_ERC1155SwapAgent *ERC1155SwapAgentRaw) 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 (*ERC1155SwapAgentRaw) Transact

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

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

func (*ERC1155SwapAgentRaw) Transfer

func (_ERC1155SwapAgent *ERC1155SwapAgentRaw) 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 ERC1155SwapAgentSession

type ERC1155SwapAgentSession struct {
	Contract     *ERC1155SwapAgent // 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
}

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

func (*ERC1155SwapAgentSession) CreateSwapPair

func (_ERC1155SwapAgent *ERC1155SwapAgentSession) CreateSwapPair(registerTxHash [32]byte, fromTokenAddr common.Address, fromChainId *big.Int, uri string) (*types.Transaction, error)

CreateSwapPair is a paid mutator transaction binding the contract method 0x4acbe1ca.

Solidity: function createSwapPair(bytes32 registerTxHash, address fromTokenAddr, uint256 fromChainId, string uri) returns()

func (*ERC1155SwapAgentSession) Fill

func (_ERC1155SwapAgent *ERC1155SwapAgentSession) Fill(swapTxHash [32]byte, fromTokenAddr common.Address, recipient common.Address, fromChainId *big.Int, ids []*big.Int, amounts []*big.Int) (*types.Transaction, error)

Fill is a paid mutator transaction binding the contract method 0x04828122.

Solidity: function fill(bytes32 swapTxHash, address fromTokenAddr, address recipient, uint256 fromChainId, uint256[] ids, uint256[] amounts) returns()

func (*ERC1155SwapAgentSession) FilledSwap

func (_ERC1155SwapAgent *ERC1155SwapAgentSession) FilledSwap(arg0 [32]byte) (bool, error)

FilledSwap is a free data retrieval call binding the contract method 0xa86894ca.

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

func (*ERC1155SwapAgentSession) Initialize

func (_ERC1155SwapAgent *ERC1155SwapAgentSession) Initialize() (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x8129fc1c.

Solidity: function initialize() returns()

func (*ERC1155SwapAgentSession) OnERC1155BatchReceived

func (_ERC1155SwapAgent *ERC1155SwapAgentSession) OnERC1155BatchReceived(arg0 common.Address, arg1 common.Address, arg2 []*big.Int, arg3 []*big.Int, arg4 []byte) (*types.Transaction, error)

OnERC1155BatchReceived is a paid mutator transaction binding the contract method 0xbc197c81.

Solidity: function onERC1155BatchReceived(address , address , uint256[] , uint256[] , bytes ) returns(bytes4)

func (*ERC1155SwapAgentSession) OnERC1155Received

func (_ERC1155SwapAgent *ERC1155SwapAgentSession) OnERC1155Received(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, arg4 []byte) (*types.Transaction, error)

OnERC1155Received is a paid mutator transaction binding the contract method 0xf23a6e61.

Solidity: function onERC1155Received(address , address , uint256 , uint256 , bytes ) returns(bytes4)

func (*ERC1155SwapAgentSession) Owner

func (_ERC1155SwapAgent *ERC1155SwapAgentSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*ERC1155SwapAgentSession) RegisterSwapPair

func (_ERC1155SwapAgent *ERC1155SwapAgentSession) RegisterSwapPair(tokenAddr common.Address, chainId *big.Int) (*types.Transaction, error)

RegisterSwapPair is a paid mutator transaction binding the contract method 0x45b1ab1b.

Solidity: function registerSwapPair(address tokenAddr, uint256 chainId) payable returns()

func (*ERC1155SwapAgentSession) RegisteredToken

func (_ERC1155SwapAgent *ERC1155SwapAgentSession) RegisteredToken(arg0 *big.Int, arg1 common.Address) (bool, error)

RegisteredToken is a free data retrieval call binding the contract method 0x0b4f43c1.

Solidity: function registeredToken(uint256 , address ) view returns(bool)

func (*ERC1155SwapAgentSession) RenounceOwnership

func (_ERC1155SwapAgent *ERC1155SwapAgentSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*ERC1155SwapAgentSession) SupportsInterface

func (_ERC1155SwapAgent *ERC1155SwapAgentSession) 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 (*ERC1155SwapAgentSession) Swap

func (_ERC1155SwapAgent *ERC1155SwapAgentSession) Swap(tokenAddr common.Address, recipient common.Address, ids []*big.Int, amounts []*big.Int, dstChainId *big.Int) (*types.Transaction, error)

Swap is a paid mutator transaction binding the contract method 0xa180639a.

Solidity: function swap(address tokenAddr, address recipient, uint256[] ids, uint256[] amounts, uint256 dstChainId) payable returns()

func (*ERC1155SwapAgentSession) SwapMappingIncoming

func (_ERC1155SwapAgent *ERC1155SwapAgentSession) SwapMappingIncoming(arg0 *big.Int, arg1 common.Address) (common.Address, error)

SwapMappingIncoming is a free data retrieval call binding the contract method 0xec686704.

Solidity: function swapMappingIncoming(uint256 , address ) view returns(address)

func (*ERC1155SwapAgentSession) SwapMappingOutgoing

func (_ERC1155SwapAgent *ERC1155SwapAgentSession) SwapMappingOutgoing(arg0 *big.Int, arg1 common.Address) (common.Address, error)

SwapMappingOutgoing is a free data retrieval call binding the contract method 0x0d43d992.

Solidity: function swapMappingOutgoing(uint256 , address ) view returns(address)

func (*ERC1155SwapAgentSession) TransferOwnership

func (_ERC1155SwapAgent *ERC1155SwapAgentSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type ERC1155SwapAgentSwapFilled

type ERC1155SwapAgentSwapFilled struct {
	SwapTxHash        [32]byte
	FromTokenAddr     common.Address
	Recipient         common.Address
	MirroredTokenAddr common.Address
	FromChainId       *big.Int
	Ids               []*big.Int
	Amounts           []*big.Int
	Raw               types.Log // Blockchain specific contextual infos
}

ERC1155SwapAgentSwapFilled represents a SwapFilled event raised by the ERC1155SwapAgent contract.

type ERC1155SwapAgentSwapFilledIterator

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

ERC1155SwapAgentSwapFilledIterator is returned from FilterSwapFilled and is used to iterate over the raw logs and unpacked data for SwapFilled events raised by the ERC1155SwapAgent contract.

func (*ERC1155SwapAgentSwapFilledIterator) Close

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

func (*ERC1155SwapAgentSwapFilledIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC1155SwapAgentSwapFilledIterator) 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 ERC1155SwapAgentSwapPairCreated

type ERC1155SwapAgentSwapPairCreated struct {
	RegisterTxHash    [32]byte
	FromTokenAddr     common.Address
	MirroredTokenAddr common.Address
	FromChainId       *big.Int
	Raw               types.Log // Blockchain specific contextual infos
}

ERC1155SwapAgentSwapPairCreated represents a SwapPairCreated event raised by the ERC1155SwapAgent contract.

type ERC1155SwapAgentSwapPairCreatedIterator

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

ERC1155SwapAgentSwapPairCreatedIterator is returned from FilterSwapPairCreated and is used to iterate over the raw logs and unpacked data for SwapPairCreated events raised by the ERC1155SwapAgent contract.

func (*ERC1155SwapAgentSwapPairCreatedIterator) Close

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

func (*ERC1155SwapAgentSwapPairCreatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC1155SwapAgentSwapPairCreatedIterator) 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 ERC1155SwapAgentSwapPairRegister

type ERC1155SwapAgentSwapPairRegister struct {
	Sponsor      common.Address
	TokenAddress common.Address
	ToChainId    *big.Int
	FeeAmount    *big.Int
	Raw          types.Log // Blockchain specific contextual infos
}

ERC1155SwapAgentSwapPairRegister represents a SwapPairRegister event raised by the ERC1155SwapAgent contract.

type ERC1155SwapAgentSwapPairRegisterIterator

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

ERC1155SwapAgentSwapPairRegisterIterator is returned from FilterSwapPairRegister and is used to iterate over the raw logs and unpacked data for SwapPairRegister events raised by the ERC1155SwapAgent contract.

func (*ERC1155SwapAgentSwapPairRegisterIterator) Close

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

func (*ERC1155SwapAgentSwapPairRegisterIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC1155SwapAgentSwapPairRegisterIterator) 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 ERC1155SwapAgentSwapStarted

type ERC1155SwapAgentSwapStarted struct {
	TokenAddr  common.Address
	Sender     common.Address
	Recipient  common.Address
	DstChainId *big.Int
	Ids        []*big.Int
	Amounts    []*big.Int
	FeeAmount  *big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

ERC1155SwapAgentSwapStarted represents a SwapStarted event raised by the ERC1155SwapAgent contract.

type ERC1155SwapAgentSwapStartedIterator

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

ERC1155SwapAgentSwapStartedIterator is returned from FilterSwapStarted and is used to iterate over the raw logs and unpacked data for SwapStarted events raised by the ERC1155SwapAgent contract.

func (*ERC1155SwapAgentSwapStartedIterator) Close

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

func (*ERC1155SwapAgentSwapStartedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC1155SwapAgentSwapStartedIterator) 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 ERC1155SwapAgentTransactor

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

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

func NewERC1155SwapAgentTransactor

func NewERC1155SwapAgentTransactor(address common.Address, transactor bind.ContractTransactor) (*ERC1155SwapAgentTransactor, error)

NewERC1155SwapAgentTransactor creates a new write-only instance of ERC1155SwapAgent, bound to a specific deployed contract.

func (*ERC1155SwapAgentTransactor) CreateSwapPair

func (_ERC1155SwapAgent *ERC1155SwapAgentTransactor) CreateSwapPair(opts *bind.TransactOpts, registerTxHash [32]byte, fromTokenAddr common.Address, fromChainId *big.Int, uri string) (*types.Transaction, error)

CreateSwapPair is a paid mutator transaction binding the contract method 0x4acbe1ca.

Solidity: function createSwapPair(bytes32 registerTxHash, address fromTokenAddr, uint256 fromChainId, string uri) returns()

func (*ERC1155SwapAgentTransactor) Fill

func (_ERC1155SwapAgent *ERC1155SwapAgentTransactor) Fill(opts *bind.TransactOpts, swapTxHash [32]byte, fromTokenAddr common.Address, recipient common.Address, fromChainId *big.Int, ids []*big.Int, amounts []*big.Int) (*types.Transaction, error)

Fill is a paid mutator transaction binding the contract method 0x04828122.

Solidity: function fill(bytes32 swapTxHash, address fromTokenAddr, address recipient, uint256 fromChainId, uint256[] ids, uint256[] amounts) returns()

func (*ERC1155SwapAgentTransactor) Initialize

func (_ERC1155SwapAgent *ERC1155SwapAgentTransactor) Initialize(opts *bind.TransactOpts) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x8129fc1c.

Solidity: function initialize() returns()

func (*ERC1155SwapAgentTransactor) OnERC1155BatchReceived

func (_ERC1155SwapAgent *ERC1155SwapAgentTransactor) OnERC1155BatchReceived(opts *bind.TransactOpts, arg0 common.Address, arg1 common.Address, arg2 []*big.Int, arg3 []*big.Int, arg4 []byte) (*types.Transaction, error)

OnERC1155BatchReceived is a paid mutator transaction binding the contract method 0xbc197c81.

Solidity: function onERC1155BatchReceived(address , address , uint256[] , uint256[] , bytes ) returns(bytes4)

func (*ERC1155SwapAgentTransactor) OnERC1155Received

func (_ERC1155SwapAgent *ERC1155SwapAgentTransactor) OnERC1155Received(opts *bind.TransactOpts, arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, arg4 []byte) (*types.Transaction, error)

OnERC1155Received is a paid mutator transaction binding the contract method 0xf23a6e61.

Solidity: function onERC1155Received(address , address , uint256 , uint256 , bytes ) returns(bytes4)

func (*ERC1155SwapAgentTransactor) RegisterSwapPair

func (_ERC1155SwapAgent *ERC1155SwapAgentTransactor) RegisterSwapPair(opts *bind.TransactOpts, tokenAddr common.Address, chainId *big.Int) (*types.Transaction, error)

RegisterSwapPair is a paid mutator transaction binding the contract method 0x45b1ab1b.

Solidity: function registerSwapPair(address tokenAddr, uint256 chainId) payable returns()

func (*ERC1155SwapAgentTransactor) RenounceOwnership

func (_ERC1155SwapAgent *ERC1155SwapAgentTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*ERC1155SwapAgentTransactor) Swap

func (_ERC1155SwapAgent *ERC1155SwapAgentTransactor) Swap(opts *bind.TransactOpts, tokenAddr common.Address, recipient common.Address, ids []*big.Int, amounts []*big.Int, dstChainId *big.Int) (*types.Transaction, error)

Swap is a paid mutator transaction binding the contract method 0xa180639a.

Solidity: function swap(address tokenAddr, address recipient, uint256[] ids, uint256[] amounts, uint256 dstChainId) payable returns()

func (*ERC1155SwapAgentTransactor) TransferOwnership

func (_ERC1155SwapAgent *ERC1155SwapAgentTransactor) 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()

type ERC1155SwapAgentTransactorRaw

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

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

func (*ERC1155SwapAgentTransactorRaw) Transact

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

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

func (*ERC1155SwapAgentTransactorRaw) Transfer

func (_ERC1155SwapAgent *ERC1155SwapAgentTransactorRaw) 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 ERC1155SwapAgentTransactorSession

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

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

func (*ERC1155SwapAgentTransactorSession) CreateSwapPair

func (_ERC1155SwapAgent *ERC1155SwapAgentTransactorSession) CreateSwapPair(registerTxHash [32]byte, fromTokenAddr common.Address, fromChainId *big.Int, uri string) (*types.Transaction, error)

CreateSwapPair is a paid mutator transaction binding the contract method 0x4acbe1ca.

Solidity: function createSwapPair(bytes32 registerTxHash, address fromTokenAddr, uint256 fromChainId, string uri) returns()

func (*ERC1155SwapAgentTransactorSession) Fill

func (_ERC1155SwapAgent *ERC1155SwapAgentTransactorSession) Fill(swapTxHash [32]byte, fromTokenAddr common.Address, recipient common.Address, fromChainId *big.Int, ids []*big.Int, amounts []*big.Int) (*types.Transaction, error)

Fill is a paid mutator transaction binding the contract method 0x04828122.

Solidity: function fill(bytes32 swapTxHash, address fromTokenAddr, address recipient, uint256 fromChainId, uint256[] ids, uint256[] amounts) returns()

func (*ERC1155SwapAgentTransactorSession) Initialize

func (_ERC1155SwapAgent *ERC1155SwapAgentTransactorSession) Initialize() (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x8129fc1c.

Solidity: function initialize() returns()

func (*ERC1155SwapAgentTransactorSession) OnERC1155BatchReceived

func (_ERC1155SwapAgent *ERC1155SwapAgentTransactorSession) OnERC1155BatchReceived(arg0 common.Address, arg1 common.Address, arg2 []*big.Int, arg3 []*big.Int, arg4 []byte) (*types.Transaction, error)

OnERC1155BatchReceived is a paid mutator transaction binding the contract method 0xbc197c81.

Solidity: function onERC1155BatchReceived(address , address , uint256[] , uint256[] , bytes ) returns(bytes4)

func (*ERC1155SwapAgentTransactorSession) OnERC1155Received

func (_ERC1155SwapAgent *ERC1155SwapAgentTransactorSession) OnERC1155Received(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, arg4 []byte) (*types.Transaction, error)

OnERC1155Received is a paid mutator transaction binding the contract method 0xf23a6e61.

Solidity: function onERC1155Received(address , address , uint256 , uint256 , bytes ) returns(bytes4)

func (*ERC1155SwapAgentTransactorSession) RegisterSwapPair

func (_ERC1155SwapAgent *ERC1155SwapAgentTransactorSession) RegisterSwapPair(tokenAddr common.Address, chainId *big.Int) (*types.Transaction, error)

RegisterSwapPair is a paid mutator transaction binding the contract method 0x45b1ab1b.

Solidity: function registerSwapPair(address tokenAddr, uint256 chainId) payable returns()

func (*ERC1155SwapAgentTransactorSession) RenounceOwnership

func (_ERC1155SwapAgent *ERC1155SwapAgentTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*ERC1155SwapAgentTransactorSession) Swap

func (_ERC1155SwapAgent *ERC1155SwapAgentTransactorSession) Swap(tokenAddr common.Address, recipient common.Address, ids []*big.Int, amounts []*big.Int, dstChainId *big.Int) (*types.Transaction, error)

Swap is a paid mutator transaction binding the contract method 0xa180639a.

Solidity: function swap(address tokenAddr, address recipient, uint256[] ids, uint256[] amounts, uint256 dstChainId) payable returns()

func (*ERC1155SwapAgentTransactorSession) TransferOwnership

func (_ERC1155SwapAgent *ERC1155SwapAgentTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type ERC1155Token

type ERC1155Token struct {
	ERC1155TokenCaller     // Read-only binding to the contract
	ERC1155TokenTransactor // Write-only binding to the contract
	ERC1155TokenFilterer   // Log filterer for contract events
}

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

func NewERC1155Token

func NewERC1155Token(address common.Address, backend bind.ContractBackend) (*ERC1155Token, error)

NewERC1155Token creates a new instance of ERC1155Token, bound to a specific deployed contract.

type ERC1155TokenApprovalForAll

type ERC1155TokenApprovalForAll struct {
	Account  common.Address
	Operator common.Address
	Approved bool
	Raw      types.Log // Blockchain specific contextual infos
}

ERC1155TokenApprovalForAll represents a ApprovalForAll event raised by the ERC1155Token contract.

type ERC1155TokenApprovalForAllIterator

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

ERC1155TokenApprovalForAllIterator is returned from FilterApprovalForAll and is used to iterate over the raw logs and unpacked data for ApprovalForAll events raised by the ERC1155Token contract.

func (*ERC1155TokenApprovalForAllIterator) Close

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

func (*ERC1155TokenApprovalForAllIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC1155TokenApprovalForAllIterator) 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 ERC1155TokenCaller

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

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

func NewERC1155TokenCaller

func NewERC1155TokenCaller(address common.Address, caller bind.ContractCaller) (*ERC1155TokenCaller, error)

NewERC1155TokenCaller creates a new read-only instance of ERC1155Token, bound to a specific deployed contract.

func (*ERC1155TokenCaller) BalanceOf

func (_ERC1155Token *ERC1155TokenCaller) BalanceOf(opts *bind.CallOpts, account common.Address, id *big.Int) (*big.Int, error)

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

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

func (*ERC1155TokenCaller) BalanceOfBatch

func (_ERC1155Token *ERC1155TokenCaller) BalanceOfBatch(opts *bind.CallOpts, accounts []common.Address, ids []*big.Int) ([]*big.Int, error)

BalanceOfBatch is a free data retrieval call binding the contract method 0x4e1273f4.

Solidity: function balanceOfBatch(address[] accounts, uint256[] ids) view returns(uint256[])

func (*ERC1155TokenCaller) IsApprovedForAll

func (_ERC1155Token *ERC1155TokenCaller) IsApprovedForAll(opts *bind.CallOpts, account common.Address, operator common.Address) (bool, error)

IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5.

Solidity: function isApprovedForAll(address account, address operator) view returns(bool)

func (*ERC1155TokenCaller) Owner

func (_ERC1155Token *ERC1155TokenCaller) 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 (*ERC1155TokenCaller) SupportsInterface

func (_ERC1155Token *ERC1155TokenCaller) 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 (*ERC1155TokenCaller) Uri

func (_ERC1155Token *ERC1155TokenCaller) Uri(opts *bind.CallOpts, arg0 *big.Int) (string, error)

Uri is a free data retrieval call binding the contract method 0x0e89341c.

Solidity: function uri(uint256 ) view returns(string)

type ERC1155TokenCallerRaw

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

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

func (*ERC1155TokenCallerRaw) Call

func (_ERC1155Token *ERC1155TokenCallerRaw) 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 ERC1155TokenCallerSession

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

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

func (*ERC1155TokenCallerSession) BalanceOf

func (_ERC1155Token *ERC1155TokenCallerSession) BalanceOf(account common.Address, id *big.Int) (*big.Int, error)

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

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

func (*ERC1155TokenCallerSession) BalanceOfBatch

func (_ERC1155Token *ERC1155TokenCallerSession) BalanceOfBatch(accounts []common.Address, ids []*big.Int) ([]*big.Int, error)

BalanceOfBatch is a free data retrieval call binding the contract method 0x4e1273f4.

Solidity: function balanceOfBatch(address[] accounts, uint256[] ids) view returns(uint256[])

func (*ERC1155TokenCallerSession) IsApprovedForAll

func (_ERC1155Token *ERC1155TokenCallerSession) IsApprovedForAll(account common.Address, operator common.Address) (bool, error)

IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5.

Solidity: function isApprovedForAll(address account, address operator) view returns(bool)

func (*ERC1155TokenCallerSession) Owner

func (_ERC1155Token *ERC1155TokenCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*ERC1155TokenCallerSession) SupportsInterface

func (_ERC1155Token *ERC1155TokenCallerSession) 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 (*ERC1155TokenCallerSession) Uri

func (_ERC1155Token *ERC1155TokenCallerSession) Uri(arg0 *big.Int) (string, error)

Uri is a free data retrieval call binding the contract method 0x0e89341c.

Solidity: function uri(uint256 ) view returns(string)

type ERC1155TokenFilterer

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

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

func NewERC1155TokenFilterer

func NewERC1155TokenFilterer(address common.Address, filterer bind.ContractFilterer) (*ERC1155TokenFilterer, error)

NewERC1155TokenFilterer creates a new log filterer instance of ERC1155Token, bound to a specific deployed contract.

func (*ERC1155TokenFilterer) FilterApprovalForAll

func (_ERC1155Token *ERC1155TokenFilterer) FilterApprovalForAll(opts *bind.FilterOpts, account []common.Address, operator []common.Address) (*ERC1155TokenApprovalForAllIterator, error)

FilterApprovalForAll is a free log retrieval operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.

Solidity: event ApprovalForAll(address indexed account, address indexed operator, bool approved)

func (*ERC1155TokenFilterer) FilterOwnershipTransferred

func (_ERC1155Token *ERC1155TokenFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*ERC1155TokenOwnershipTransferredIterator, error)

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

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

func (*ERC1155TokenFilterer) FilterTransferBatch

func (_ERC1155Token *ERC1155TokenFilterer) FilterTransferBatch(opts *bind.FilterOpts, operator []common.Address, from []common.Address, to []common.Address) (*ERC1155TokenTransferBatchIterator, error)

FilterTransferBatch is a free log retrieval operation binding the contract event 0x4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb.

Solidity: event TransferBatch(address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values)

func (*ERC1155TokenFilterer) FilterTransferSingle

func (_ERC1155Token *ERC1155TokenFilterer) FilterTransferSingle(opts *bind.FilterOpts, operator []common.Address, from []common.Address, to []common.Address) (*ERC1155TokenTransferSingleIterator, error)

FilterTransferSingle is a free log retrieval operation binding the contract event 0xc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62.

Solidity: event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value)

func (*ERC1155TokenFilterer) FilterURI

func (_ERC1155Token *ERC1155TokenFilterer) FilterURI(opts *bind.FilterOpts, id []*big.Int) (*ERC1155TokenURIIterator, error)

FilterURI is a free log retrieval operation binding the contract event 0x6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b.

Solidity: event URI(string value, uint256 indexed id)

func (*ERC1155TokenFilterer) ParseApprovalForAll

func (_ERC1155Token *ERC1155TokenFilterer) ParseApprovalForAll(log types.Log) (*ERC1155TokenApprovalForAll, error)

ParseApprovalForAll is a log parse operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.

Solidity: event ApprovalForAll(address indexed account, address indexed operator, bool approved)

func (*ERC1155TokenFilterer) ParseOwnershipTransferred

func (_ERC1155Token *ERC1155TokenFilterer) ParseOwnershipTransferred(log types.Log) (*ERC1155TokenOwnershipTransferred, error)

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

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

func (*ERC1155TokenFilterer) ParseTransferBatch

func (_ERC1155Token *ERC1155TokenFilterer) ParseTransferBatch(log types.Log) (*ERC1155TokenTransferBatch, error)

ParseTransferBatch is a log parse operation binding the contract event 0x4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb.

Solidity: event TransferBatch(address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values)

func (*ERC1155TokenFilterer) ParseTransferSingle

func (_ERC1155Token *ERC1155TokenFilterer) ParseTransferSingle(log types.Log) (*ERC1155TokenTransferSingle, error)

ParseTransferSingle is a log parse operation binding the contract event 0xc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62.

Solidity: event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value)

func (*ERC1155TokenFilterer) ParseURI

func (_ERC1155Token *ERC1155TokenFilterer) ParseURI(log types.Log) (*ERC1155TokenURI, error)

ParseURI is a log parse operation binding the contract event 0x6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b.

Solidity: event URI(string value, uint256 indexed id)

func (*ERC1155TokenFilterer) WatchApprovalForAll

func (_ERC1155Token *ERC1155TokenFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *ERC1155TokenApprovalForAll, account []common.Address, operator []common.Address) (event.Subscription, error)

WatchApprovalForAll is a free log subscription operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.

Solidity: event ApprovalForAll(address indexed account, address indexed operator, bool approved)

func (*ERC1155TokenFilterer) WatchOwnershipTransferred

func (_ERC1155Token *ERC1155TokenFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ERC1155TokenOwnershipTransferred, 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 (*ERC1155TokenFilterer) WatchTransferBatch

func (_ERC1155Token *ERC1155TokenFilterer) WatchTransferBatch(opts *bind.WatchOpts, sink chan<- *ERC1155TokenTransferBatch, operator []common.Address, from []common.Address, to []common.Address) (event.Subscription, error)

WatchTransferBatch is a free log subscription operation binding the contract event 0x4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb.

Solidity: event TransferBatch(address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values)

func (*ERC1155TokenFilterer) WatchTransferSingle

func (_ERC1155Token *ERC1155TokenFilterer) WatchTransferSingle(opts *bind.WatchOpts, sink chan<- *ERC1155TokenTransferSingle, operator []common.Address, from []common.Address, to []common.Address) (event.Subscription, error)

WatchTransferSingle is a free log subscription operation binding the contract event 0xc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62.

Solidity: event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value)

func (*ERC1155TokenFilterer) WatchURI

func (_ERC1155Token *ERC1155TokenFilterer) WatchURI(opts *bind.WatchOpts, sink chan<- *ERC1155TokenURI, id []*big.Int) (event.Subscription, error)

WatchURI is a free log subscription operation binding the contract event 0x6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b.

Solidity: event URI(string value, uint256 indexed id)

type ERC1155TokenOwnershipTransferred

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

ERC1155TokenOwnershipTransferred represents a OwnershipTransferred event raised by the ERC1155Token contract.

type ERC1155TokenOwnershipTransferredIterator

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

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

func (*ERC1155TokenOwnershipTransferredIterator) Close

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

func (*ERC1155TokenOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC1155TokenOwnershipTransferredIterator) 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 ERC1155TokenRaw

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

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

func (*ERC1155TokenRaw) Call

func (_ERC1155Token *ERC1155TokenRaw) 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 (*ERC1155TokenRaw) Transact

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

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

func (*ERC1155TokenRaw) Transfer

func (_ERC1155Token *ERC1155TokenRaw) 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 ERC1155TokenSession

type ERC1155TokenSession struct {
	Contract     *ERC1155Token     // 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
}

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

func (*ERC1155TokenSession) BalanceOf

func (_ERC1155Token *ERC1155TokenSession) BalanceOf(account common.Address, id *big.Int) (*big.Int, error)

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

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

func (*ERC1155TokenSession) BalanceOfBatch

func (_ERC1155Token *ERC1155TokenSession) BalanceOfBatch(accounts []common.Address, ids []*big.Int) ([]*big.Int, error)

BalanceOfBatch is a free data retrieval call binding the contract method 0x4e1273f4.

Solidity: function balanceOfBatch(address[] accounts, uint256[] ids) view returns(uint256[])

func (*ERC1155TokenSession) IsApprovedForAll

func (_ERC1155Token *ERC1155TokenSession) IsApprovedForAll(account common.Address, operator common.Address) (bool, error)

IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5.

Solidity: function isApprovedForAll(address account, address operator) view returns(bool)

func (*ERC1155TokenSession) Mint

func (_ERC1155Token *ERC1155TokenSession) Mint(account common.Address, id *big.Int, amount *big.Int, data []byte) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x731133e9.

Solidity: function mint(address account, uint256 id, uint256 amount, bytes data) returns()

func (*ERC1155TokenSession) MintBatch

func (_ERC1155Token *ERC1155TokenSession) MintBatch(to common.Address, ids []*big.Int, amounts []*big.Int, data []byte) (*types.Transaction, error)

MintBatch is a paid mutator transaction binding the contract method 0x1f7fdffa.

Solidity: function mintBatch(address to, uint256[] ids, uint256[] amounts, bytes data) returns()

func (*ERC1155TokenSession) Owner

func (_ERC1155Token *ERC1155TokenSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*ERC1155TokenSession) RenounceOwnership

func (_ERC1155Token *ERC1155TokenSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*ERC1155TokenSession) SafeBatchTransferFrom

func (_ERC1155Token *ERC1155TokenSession) SafeBatchTransferFrom(from common.Address, to common.Address, ids []*big.Int, amounts []*big.Int, data []byte) (*types.Transaction, error)

SafeBatchTransferFrom is a paid mutator transaction binding the contract method 0x2eb2c2d6.

Solidity: function safeBatchTransferFrom(address from, address to, uint256[] ids, uint256[] amounts, bytes data) returns()

func (*ERC1155TokenSession) SafeTransferFrom

func (_ERC1155Token *ERC1155TokenSession) SafeTransferFrom(from common.Address, to common.Address, id *big.Int, amount *big.Int, data []byte) (*types.Transaction, error)

SafeTransferFrom is a paid mutator transaction binding the contract method 0xf242432a.

Solidity: function safeTransferFrom(address from, address to, uint256 id, uint256 amount, bytes data) returns()

func (*ERC1155TokenSession) SetApprovalForAll

func (_ERC1155Token *ERC1155TokenSession) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error)

SetApprovalForAll is a paid mutator transaction binding the contract method 0xa22cb465.

Solidity: function setApprovalForAll(address operator, bool approved) returns()

func (*ERC1155TokenSession) SetURI

func (_ERC1155Token *ERC1155TokenSession) SetURI(newuri string) (*types.Transaction, error)

SetURI is a paid mutator transaction binding the contract method 0x02fe5305.

Solidity: function setURI(string newuri) returns()

func (*ERC1155TokenSession) SupportsInterface

func (_ERC1155Token *ERC1155TokenSession) 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 (*ERC1155TokenSession) TransferOwnership

func (_ERC1155Token *ERC1155TokenSession) 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 (*ERC1155TokenSession) Uri

func (_ERC1155Token *ERC1155TokenSession) Uri(arg0 *big.Int) (string, error)

Uri is a free data retrieval call binding the contract method 0x0e89341c.

Solidity: function uri(uint256 ) view returns(string)

type ERC1155TokenTransactor

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

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

func NewERC1155TokenTransactor

func NewERC1155TokenTransactor(address common.Address, transactor bind.ContractTransactor) (*ERC1155TokenTransactor, error)

NewERC1155TokenTransactor creates a new write-only instance of ERC1155Token, bound to a specific deployed contract.

func (*ERC1155TokenTransactor) Mint

func (_ERC1155Token *ERC1155TokenTransactor) Mint(opts *bind.TransactOpts, account common.Address, id *big.Int, amount *big.Int, data []byte) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x731133e9.

Solidity: function mint(address account, uint256 id, uint256 amount, bytes data) returns()

func (*ERC1155TokenTransactor) MintBatch

func (_ERC1155Token *ERC1155TokenTransactor) MintBatch(opts *bind.TransactOpts, to common.Address, ids []*big.Int, amounts []*big.Int, data []byte) (*types.Transaction, error)

MintBatch is a paid mutator transaction binding the contract method 0x1f7fdffa.

Solidity: function mintBatch(address to, uint256[] ids, uint256[] amounts, bytes data) returns()

func (*ERC1155TokenTransactor) RenounceOwnership

func (_ERC1155Token *ERC1155TokenTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*ERC1155TokenTransactor) SafeBatchTransferFrom

func (_ERC1155Token *ERC1155TokenTransactor) SafeBatchTransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ids []*big.Int, amounts []*big.Int, data []byte) (*types.Transaction, error)

SafeBatchTransferFrom is a paid mutator transaction binding the contract method 0x2eb2c2d6.

Solidity: function safeBatchTransferFrom(address from, address to, uint256[] ids, uint256[] amounts, bytes data) returns()

func (*ERC1155TokenTransactor) SafeTransferFrom

func (_ERC1155Token *ERC1155TokenTransactor) SafeTransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, id *big.Int, amount *big.Int, data []byte) (*types.Transaction, error)

SafeTransferFrom is a paid mutator transaction binding the contract method 0xf242432a.

Solidity: function safeTransferFrom(address from, address to, uint256 id, uint256 amount, bytes data) returns()

func (*ERC1155TokenTransactor) SetApprovalForAll

func (_ERC1155Token *ERC1155TokenTransactor) SetApprovalForAll(opts *bind.TransactOpts, operator common.Address, approved bool) (*types.Transaction, error)

SetApprovalForAll is a paid mutator transaction binding the contract method 0xa22cb465.

Solidity: function setApprovalForAll(address operator, bool approved) returns()

func (*ERC1155TokenTransactor) SetURI

func (_ERC1155Token *ERC1155TokenTransactor) SetURI(opts *bind.TransactOpts, newuri string) (*types.Transaction, error)

SetURI is a paid mutator transaction binding the contract method 0x02fe5305.

Solidity: function setURI(string newuri) returns()

func (*ERC1155TokenTransactor) TransferOwnership

func (_ERC1155Token *ERC1155TokenTransactor) 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()

type ERC1155TokenTransactorRaw

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

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

func (*ERC1155TokenTransactorRaw) Transact

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

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

func (*ERC1155TokenTransactorRaw) Transfer

func (_ERC1155Token *ERC1155TokenTransactorRaw) 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 ERC1155TokenTransactorSession

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

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

func (*ERC1155TokenTransactorSession) Mint

func (_ERC1155Token *ERC1155TokenTransactorSession) Mint(account common.Address, id *big.Int, amount *big.Int, data []byte) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x731133e9.

Solidity: function mint(address account, uint256 id, uint256 amount, bytes data) returns()

func (*ERC1155TokenTransactorSession) MintBatch

func (_ERC1155Token *ERC1155TokenTransactorSession) MintBatch(to common.Address, ids []*big.Int, amounts []*big.Int, data []byte) (*types.Transaction, error)

MintBatch is a paid mutator transaction binding the contract method 0x1f7fdffa.

Solidity: function mintBatch(address to, uint256[] ids, uint256[] amounts, bytes data) returns()

func (*ERC1155TokenTransactorSession) RenounceOwnership

func (_ERC1155Token *ERC1155TokenTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*ERC1155TokenTransactorSession) SafeBatchTransferFrom

func (_ERC1155Token *ERC1155TokenTransactorSession) SafeBatchTransferFrom(from common.Address, to common.Address, ids []*big.Int, amounts []*big.Int, data []byte) (*types.Transaction, error)

SafeBatchTransferFrom is a paid mutator transaction binding the contract method 0x2eb2c2d6.

Solidity: function safeBatchTransferFrom(address from, address to, uint256[] ids, uint256[] amounts, bytes data) returns()

func (*ERC1155TokenTransactorSession) SafeTransferFrom

func (_ERC1155Token *ERC1155TokenTransactorSession) SafeTransferFrom(from common.Address, to common.Address, id *big.Int, amount *big.Int, data []byte) (*types.Transaction, error)

SafeTransferFrom is a paid mutator transaction binding the contract method 0xf242432a.

Solidity: function safeTransferFrom(address from, address to, uint256 id, uint256 amount, bytes data) returns()

func (*ERC1155TokenTransactorSession) SetApprovalForAll

func (_ERC1155Token *ERC1155TokenTransactorSession) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error)

SetApprovalForAll is a paid mutator transaction binding the contract method 0xa22cb465.

Solidity: function setApprovalForAll(address operator, bool approved) returns()

func (*ERC1155TokenTransactorSession) SetURI

func (_ERC1155Token *ERC1155TokenTransactorSession) SetURI(newuri string) (*types.Transaction, error)

SetURI is a paid mutator transaction binding the contract method 0x02fe5305.

Solidity: function setURI(string newuri) returns()

func (*ERC1155TokenTransactorSession) TransferOwnership

func (_ERC1155Token *ERC1155TokenTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type ERC1155TokenTransferBatch

type ERC1155TokenTransferBatch struct {
	Operator common.Address
	From     common.Address
	To       common.Address
	Ids      []*big.Int
	Values   []*big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

ERC1155TokenTransferBatch represents a TransferBatch event raised by the ERC1155Token contract.

type ERC1155TokenTransferBatchIterator

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

ERC1155TokenTransferBatchIterator is returned from FilterTransferBatch and is used to iterate over the raw logs and unpacked data for TransferBatch events raised by the ERC1155Token contract.

func (*ERC1155TokenTransferBatchIterator) Close

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

func (*ERC1155TokenTransferBatchIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC1155TokenTransferBatchIterator) 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 ERC1155TokenTransferSingle

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

ERC1155TokenTransferSingle represents a TransferSingle event raised by the ERC1155Token contract.

type ERC1155TokenTransferSingleIterator

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

ERC1155TokenTransferSingleIterator is returned from FilterTransferSingle and is used to iterate over the raw logs and unpacked data for TransferSingle events raised by the ERC1155Token contract.

func (*ERC1155TokenTransferSingleIterator) Close

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

func (*ERC1155TokenTransferSingleIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC1155TokenTransferSingleIterator) 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 ERC1155TokenURI

type ERC1155TokenURI struct {
	Value string
	Id    *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

ERC1155TokenURI represents a URI event raised by the ERC1155Token contract.

type ERC1155TokenURIIterator

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

ERC1155TokenURIIterator is returned from FilterURI and is used to iterate over the raw logs and unpacked data for URI events raised by the ERC1155Token contract.

func (*ERC1155TokenURIIterator) Close

func (it *ERC1155TokenURIIterator) Close() error

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

func (*ERC1155TokenURIIterator) Error

func (it *ERC1155TokenURIIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC1155TokenURIIterator) Next

func (it *ERC1155TokenURIIterator) 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 ERC721SwapAgent

type ERC721SwapAgent struct {
	ERC721SwapAgentCaller     // Read-only binding to the contract
	ERC721SwapAgentTransactor // Write-only binding to the contract
	ERC721SwapAgentFilterer   // Log filterer for contract events
}

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

func NewERC721SwapAgent

func NewERC721SwapAgent(address common.Address, backend bind.ContractBackend) (*ERC721SwapAgent, error)

NewERC721SwapAgent creates a new instance of ERC721SwapAgent, bound to a specific deployed contract.

type ERC721SwapAgentBackwardSwapFilled

type ERC721SwapAgentBackwardSwapFilled struct {
	SwapTxHash  [32]byte
	TokenAddr   common.Address
	Recipient   common.Address
	FromChainId *big.Int
	TokenId     *big.Int
	Raw         types.Log // Blockchain specific contextual infos
}

ERC721SwapAgentBackwardSwapFilled represents a BackwardSwapFilled event raised by the ERC721SwapAgent contract.

type ERC721SwapAgentBackwardSwapFilledIterator

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

ERC721SwapAgentBackwardSwapFilledIterator is returned from FilterBackwardSwapFilled and is used to iterate over the raw logs and unpacked data for BackwardSwapFilled events raised by the ERC721SwapAgent contract.

func (*ERC721SwapAgentBackwardSwapFilledIterator) Close

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

func (*ERC721SwapAgentBackwardSwapFilledIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC721SwapAgentBackwardSwapFilledIterator) 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 ERC721SwapAgentBackwardSwapStarted

type ERC721SwapAgentBackwardSwapStarted struct {
	MirroredTokenAddr common.Address
	Sender            common.Address
	Recipient         common.Address
	DstChainId        *big.Int
	TokenId           *big.Int
	FeeAmount         *big.Int
	Raw               types.Log // Blockchain specific contextual infos
}

ERC721SwapAgentBackwardSwapStarted represents a BackwardSwapStarted event raised by the ERC721SwapAgent contract.

type ERC721SwapAgentBackwardSwapStartedIterator

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

ERC721SwapAgentBackwardSwapStartedIterator is returned from FilterBackwardSwapStarted and is used to iterate over the raw logs and unpacked data for BackwardSwapStarted events raised by the ERC721SwapAgent contract.

func (*ERC721SwapAgentBackwardSwapStartedIterator) Close

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

func (*ERC721SwapAgentBackwardSwapStartedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC721SwapAgentBackwardSwapStartedIterator) 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 ERC721SwapAgentCaller

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

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

func NewERC721SwapAgentCaller

func NewERC721SwapAgentCaller(address common.Address, caller bind.ContractCaller) (*ERC721SwapAgentCaller, error)

NewERC721SwapAgentCaller creates a new read-only instance of ERC721SwapAgent, bound to a specific deployed contract.

func (*ERC721SwapAgentCaller) FilledSwap

func (_ERC721SwapAgent *ERC721SwapAgentCaller) FilledSwap(opts *bind.CallOpts, arg0 [32]byte) (bool, error)

FilledSwap is a free data retrieval call binding the contract method 0xa86894ca.

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

func (*ERC721SwapAgentCaller) Owner

func (_ERC721SwapAgent *ERC721SwapAgentCaller) 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 (*ERC721SwapAgentCaller) RegisteredToken

func (_ERC721SwapAgent *ERC721SwapAgentCaller) RegisteredToken(opts *bind.CallOpts, arg0 *big.Int, arg1 common.Address) (bool, error)

RegisteredToken is a free data retrieval call binding the contract method 0x0b4f43c1.

Solidity: function registeredToken(uint256 , address ) view returns(bool)

func (*ERC721SwapAgentCaller) SwapMappingIncoming

func (_ERC721SwapAgent *ERC721SwapAgentCaller) SwapMappingIncoming(opts *bind.CallOpts, arg0 *big.Int, arg1 common.Address) (common.Address, error)

SwapMappingIncoming is a free data retrieval call binding the contract method 0xec686704.

Solidity: function swapMappingIncoming(uint256 , address ) view returns(address)

func (*ERC721SwapAgentCaller) SwapMappingOutgoing

func (_ERC721SwapAgent *ERC721SwapAgentCaller) SwapMappingOutgoing(opts *bind.CallOpts, arg0 *big.Int, arg1 common.Address) (common.Address, error)

SwapMappingOutgoing is a free data retrieval call binding the contract method 0x0d43d992.

Solidity: function swapMappingOutgoing(uint256 , address ) view returns(address)

type ERC721SwapAgentCallerRaw

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

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

func (*ERC721SwapAgentCallerRaw) Call

func (_ERC721SwapAgent *ERC721SwapAgentCallerRaw) 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 ERC721SwapAgentCallerSession

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

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

func (*ERC721SwapAgentCallerSession) FilledSwap

func (_ERC721SwapAgent *ERC721SwapAgentCallerSession) FilledSwap(arg0 [32]byte) (bool, error)

FilledSwap is a free data retrieval call binding the contract method 0xa86894ca.

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

func (*ERC721SwapAgentCallerSession) Owner

func (_ERC721SwapAgent *ERC721SwapAgentCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*ERC721SwapAgentCallerSession) RegisteredToken

func (_ERC721SwapAgent *ERC721SwapAgentCallerSession) RegisteredToken(arg0 *big.Int, arg1 common.Address) (bool, error)

RegisteredToken is a free data retrieval call binding the contract method 0x0b4f43c1.

Solidity: function registeredToken(uint256 , address ) view returns(bool)

func (*ERC721SwapAgentCallerSession) SwapMappingIncoming

func (_ERC721SwapAgent *ERC721SwapAgentCallerSession) SwapMappingIncoming(arg0 *big.Int, arg1 common.Address) (common.Address, error)

SwapMappingIncoming is a free data retrieval call binding the contract method 0xec686704.

Solidity: function swapMappingIncoming(uint256 , address ) view returns(address)

func (*ERC721SwapAgentCallerSession) SwapMappingOutgoing

func (_ERC721SwapAgent *ERC721SwapAgentCallerSession) SwapMappingOutgoing(arg0 *big.Int, arg1 common.Address) (common.Address, error)

SwapMappingOutgoing is a free data retrieval call binding the contract method 0x0d43d992.

Solidity: function swapMappingOutgoing(uint256 , address ) view returns(address)

type ERC721SwapAgentFilterer

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

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

func NewERC721SwapAgentFilterer

func NewERC721SwapAgentFilterer(address common.Address, filterer bind.ContractFilterer) (*ERC721SwapAgentFilterer, error)

NewERC721SwapAgentFilterer creates a new log filterer instance of ERC721SwapAgent, bound to a specific deployed contract.

func (*ERC721SwapAgentFilterer) FilterBackwardSwapFilled

func (_ERC721SwapAgent *ERC721SwapAgentFilterer) FilterBackwardSwapFilled(opts *bind.FilterOpts, swapTxHash [][32]byte, tokenAddr []common.Address, recipient []common.Address) (*ERC721SwapAgentBackwardSwapFilledIterator, error)

FilterBackwardSwapFilled is a free log retrieval operation binding the contract event 0x3465ebb4fdfd4cdb5a9c6020ffa12bd1a621dca4e158f14497eff75a33fda45f.

Solidity: event BackwardSwapFilled(bytes32 indexed swapTxHash, address indexed tokenAddr, address indexed recipient, uint256 fromChainId, uint256 tokenId)

func (*ERC721SwapAgentFilterer) FilterBackwardSwapStarted

func (_ERC721SwapAgent *ERC721SwapAgentFilterer) FilterBackwardSwapStarted(opts *bind.FilterOpts, mirroredTokenAddr []common.Address, sender []common.Address, recipient []common.Address) (*ERC721SwapAgentBackwardSwapStartedIterator, error)

FilterBackwardSwapStarted is a free log retrieval operation binding the contract event 0x3fb82ea212f026f013c4a9982b7422161274b487e5f7f3499ae555390a054662.

Solidity: event BackwardSwapStarted(address indexed mirroredTokenAddr, address indexed sender, address indexed recipient, uint256 dstChainId, uint256 tokenId, uint256 feeAmount)

func (*ERC721SwapAgentFilterer) FilterOwnershipTransferred

func (_ERC721SwapAgent *ERC721SwapAgentFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*ERC721SwapAgentOwnershipTransferredIterator, error)

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

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

func (*ERC721SwapAgentFilterer) FilterSwapFilled

func (_ERC721SwapAgent *ERC721SwapAgentFilterer) FilterSwapFilled(opts *bind.FilterOpts, swapTxHash [][32]byte, fromTokenAddr []common.Address, recipient []common.Address) (*ERC721SwapAgentSwapFilledIterator, error)

FilterSwapFilled is a free log retrieval operation binding the contract event 0xf1af0abbd42bfb09f51c7192f406e6cdc03db09a8dcdcdfcd99e954477c60601.

Solidity: event SwapFilled(bytes32 indexed swapTxHash, address indexed fromTokenAddr, address indexed recipient, address mirroredTokenAddr, uint256 fromChainId, uint256 tokenId)

func (*ERC721SwapAgentFilterer) FilterSwapPairCreated

func (_ERC721SwapAgent *ERC721SwapAgentFilterer) FilterSwapPairCreated(opts *bind.FilterOpts, registerTxHash [][32]byte, fromTokenAddr []common.Address, mirroredTokenAddr []common.Address) (*ERC721SwapAgentSwapPairCreatedIterator, error)

FilterSwapPairCreated is a free log retrieval operation binding the contract event 0xf7346649f06f58e0489664a33d3cddd434424d3b49ca70c1a8808f488e4ecd49.

Solidity: event SwapPairCreated(bytes32 indexed registerTxHash, address indexed fromTokenAddr, address indexed mirroredTokenAddr, uint256 fromChainId, string tokenSymbol, string tokenName)

func (*ERC721SwapAgentFilterer) FilterSwapPairRegister

func (_ERC721SwapAgent *ERC721SwapAgentFilterer) FilterSwapPairRegister(opts *bind.FilterOpts, sponsor []common.Address, tokenAddress []common.Address) (*ERC721SwapAgentSwapPairRegisterIterator, error)

FilterSwapPairRegister is a free log retrieval operation binding the contract event 0x254796a39d303c3ef102d83626b1cca9284dcb7e0bc4d33ca798f536017868dc.

Solidity: event SwapPairRegister(address indexed sponsor, address indexed tokenAddress, string tokenName, string tokenSymbol, uint256 toChainId, uint256 feeAmount)

func (*ERC721SwapAgentFilterer) FilterSwapStarted

func (_ERC721SwapAgent *ERC721SwapAgentFilterer) FilterSwapStarted(opts *bind.FilterOpts, tokenAddr []common.Address, sender []common.Address, recipient []common.Address) (*ERC721SwapAgentSwapStartedIterator, error)

FilterSwapStarted is a free log retrieval operation binding the contract event 0x18e4fc12755e4744b0dd88b81c6c56d69b85b73c98d90ff1afbc8cc9166834f8.

Solidity: event SwapStarted(address indexed tokenAddr, address indexed sender, address indexed recipient, uint256 dstChainId, uint256 tokenId, uint256 feeAmount)

func (*ERC721SwapAgentFilterer) ParseBackwardSwapFilled

func (_ERC721SwapAgent *ERC721SwapAgentFilterer) ParseBackwardSwapFilled(log types.Log) (*ERC721SwapAgentBackwardSwapFilled, error)

ParseBackwardSwapFilled is a log parse operation binding the contract event 0x3465ebb4fdfd4cdb5a9c6020ffa12bd1a621dca4e158f14497eff75a33fda45f.

Solidity: event BackwardSwapFilled(bytes32 indexed swapTxHash, address indexed tokenAddr, address indexed recipient, uint256 fromChainId, uint256 tokenId)

func (*ERC721SwapAgentFilterer) ParseBackwardSwapStarted

func (_ERC721SwapAgent *ERC721SwapAgentFilterer) ParseBackwardSwapStarted(log types.Log) (*ERC721SwapAgentBackwardSwapStarted, error)

ParseBackwardSwapStarted is a log parse operation binding the contract event 0x3fb82ea212f026f013c4a9982b7422161274b487e5f7f3499ae555390a054662.

Solidity: event BackwardSwapStarted(address indexed mirroredTokenAddr, address indexed sender, address indexed recipient, uint256 dstChainId, uint256 tokenId, uint256 feeAmount)

func (*ERC721SwapAgentFilterer) ParseOwnershipTransferred

func (_ERC721SwapAgent *ERC721SwapAgentFilterer) ParseOwnershipTransferred(log types.Log) (*ERC721SwapAgentOwnershipTransferred, error)

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

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

func (*ERC721SwapAgentFilterer) ParseSwapFilled

func (_ERC721SwapAgent *ERC721SwapAgentFilterer) ParseSwapFilled(log types.Log) (*ERC721SwapAgentSwapFilled, error)

ParseSwapFilled is a log parse operation binding the contract event 0xf1af0abbd42bfb09f51c7192f406e6cdc03db09a8dcdcdfcd99e954477c60601.

Solidity: event SwapFilled(bytes32 indexed swapTxHash, address indexed fromTokenAddr, address indexed recipient, address mirroredTokenAddr, uint256 fromChainId, uint256 tokenId)

func (*ERC721SwapAgentFilterer) ParseSwapPairCreated

func (_ERC721SwapAgent *ERC721SwapAgentFilterer) ParseSwapPairCreated(log types.Log) (*ERC721SwapAgentSwapPairCreated, error)

ParseSwapPairCreated is a log parse operation binding the contract event 0xf7346649f06f58e0489664a33d3cddd434424d3b49ca70c1a8808f488e4ecd49.

Solidity: event SwapPairCreated(bytes32 indexed registerTxHash, address indexed fromTokenAddr, address indexed mirroredTokenAddr, uint256 fromChainId, string tokenSymbol, string tokenName)

func (*ERC721SwapAgentFilterer) ParseSwapPairRegister

func (_ERC721SwapAgent *ERC721SwapAgentFilterer) ParseSwapPairRegister(log types.Log) (*ERC721SwapAgentSwapPairRegister, error)

ParseSwapPairRegister is a log parse operation binding the contract event 0x254796a39d303c3ef102d83626b1cca9284dcb7e0bc4d33ca798f536017868dc.

Solidity: event SwapPairRegister(address indexed sponsor, address indexed tokenAddress, string tokenName, string tokenSymbol, uint256 toChainId, uint256 feeAmount)

func (*ERC721SwapAgentFilterer) ParseSwapStarted

func (_ERC721SwapAgent *ERC721SwapAgentFilterer) ParseSwapStarted(log types.Log) (*ERC721SwapAgentSwapStarted, error)

ParseSwapStarted is a log parse operation binding the contract event 0x18e4fc12755e4744b0dd88b81c6c56d69b85b73c98d90ff1afbc8cc9166834f8.

Solidity: event SwapStarted(address indexed tokenAddr, address indexed sender, address indexed recipient, uint256 dstChainId, uint256 tokenId, uint256 feeAmount)

func (*ERC721SwapAgentFilterer) WatchBackwardSwapFilled

func (_ERC721SwapAgent *ERC721SwapAgentFilterer) WatchBackwardSwapFilled(opts *bind.WatchOpts, sink chan<- *ERC721SwapAgentBackwardSwapFilled, swapTxHash [][32]byte, tokenAddr []common.Address, recipient []common.Address) (event.Subscription, error)

WatchBackwardSwapFilled is a free log subscription operation binding the contract event 0x3465ebb4fdfd4cdb5a9c6020ffa12bd1a621dca4e158f14497eff75a33fda45f.

Solidity: event BackwardSwapFilled(bytes32 indexed swapTxHash, address indexed tokenAddr, address indexed recipient, uint256 fromChainId, uint256 tokenId)

func (*ERC721SwapAgentFilterer) WatchBackwardSwapStarted

func (_ERC721SwapAgent *ERC721SwapAgentFilterer) WatchBackwardSwapStarted(opts *bind.WatchOpts, sink chan<- *ERC721SwapAgentBackwardSwapStarted, mirroredTokenAddr []common.Address, sender []common.Address, recipient []common.Address) (event.Subscription, error)

WatchBackwardSwapStarted is a free log subscription operation binding the contract event 0x3fb82ea212f026f013c4a9982b7422161274b487e5f7f3499ae555390a054662.

Solidity: event BackwardSwapStarted(address indexed mirroredTokenAddr, address indexed sender, address indexed recipient, uint256 dstChainId, uint256 tokenId, uint256 feeAmount)

func (*ERC721SwapAgentFilterer) WatchOwnershipTransferred

func (_ERC721SwapAgent *ERC721SwapAgentFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ERC721SwapAgentOwnershipTransferred, 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 (*ERC721SwapAgentFilterer) WatchSwapFilled

func (_ERC721SwapAgent *ERC721SwapAgentFilterer) WatchSwapFilled(opts *bind.WatchOpts, sink chan<- *ERC721SwapAgentSwapFilled, swapTxHash [][32]byte, fromTokenAddr []common.Address, recipient []common.Address) (event.Subscription, error)

WatchSwapFilled is a free log subscription operation binding the contract event 0xf1af0abbd42bfb09f51c7192f406e6cdc03db09a8dcdcdfcd99e954477c60601.

Solidity: event SwapFilled(bytes32 indexed swapTxHash, address indexed fromTokenAddr, address indexed recipient, address mirroredTokenAddr, uint256 fromChainId, uint256 tokenId)

func (*ERC721SwapAgentFilterer) WatchSwapPairCreated

func (_ERC721SwapAgent *ERC721SwapAgentFilterer) WatchSwapPairCreated(opts *bind.WatchOpts, sink chan<- *ERC721SwapAgentSwapPairCreated, registerTxHash [][32]byte, fromTokenAddr []common.Address, mirroredTokenAddr []common.Address) (event.Subscription, error)

WatchSwapPairCreated is a free log subscription operation binding the contract event 0xf7346649f06f58e0489664a33d3cddd434424d3b49ca70c1a8808f488e4ecd49.

Solidity: event SwapPairCreated(bytes32 indexed registerTxHash, address indexed fromTokenAddr, address indexed mirroredTokenAddr, uint256 fromChainId, string tokenSymbol, string tokenName)

func (*ERC721SwapAgentFilterer) WatchSwapPairRegister

func (_ERC721SwapAgent *ERC721SwapAgentFilterer) WatchSwapPairRegister(opts *bind.WatchOpts, sink chan<- *ERC721SwapAgentSwapPairRegister, sponsor []common.Address, tokenAddress []common.Address) (event.Subscription, error)

WatchSwapPairRegister is a free log subscription operation binding the contract event 0x254796a39d303c3ef102d83626b1cca9284dcb7e0bc4d33ca798f536017868dc.

Solidity: event SwapPairRegister(address indexed sponsor, address indexed tokenAddress, string tokenName, string tokenSymbol, uint256 toChainId, uint256 feeAmount)

func (*ERC721SwapAgentFilterer) WatchSwapStarted

func (_ERC721SwapAgent *ERC721SwapAgentFilterer) WatchSwapStarted(opts *bind.WatchOpts, sink chan<- *ERC721SwapAgentSwapStarted, tokenAddr []common.Address, sender []common.Address, recipient []common.Address) (event.Subscription, error)

WatchSwapStarted is a free log subscription operation binding the contract event 0x18e4fc12755e4744b0dd88b81c6c56d69b85b73c98d90ff1afbc8cc9166834f8.

Solidity: event SwapStarted(address indexed tokenAddr, address indexed sender, address indexed recipient, uint256 dstChainId, uint256 tokenId, uint256 feeAmount)

type ERC721SwapAgentOwnershipTransferred

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

ERC721SwapAgentOwnershipTransferred represents a OwnershipTransferred event raised by the ERC721SwapAgent contract.

type ERC721SwapAgentOwnershipTransferredIterator

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

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

func (*ERC721SwapAgentOwnershipTransferredIterator) Close

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

func (*ERC721SwapAgentOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC721SwapAgentOwnershipTransferredIterator) 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 ERC721SwapAgentRaw

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

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

func (*ERC721SwapAgentRaw) Call

func (_ERC721SwapAgent *ERC721SwapAgentRaw) 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 (*ERC721SwapAgentRaw) Transact

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

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

func (*ERC721SwapAgentRaw) Transfer

func (_ERC721SwapAgent *ERC721SwapAgentRaw) 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 ERC721SwapAgentSession

type ERC721SwapAgentSession struct {
	Contract     *ERC721SwapAgent  // 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
}

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

func (*ERC721SwapAgentSession) CreateSwapPair

func (_ERC721SwapAgent *ERC721SwapAgentSession) CreateSwapPair(registerTxHash [32]byte, fromTokenAddr common.Address, fromChainId *big.Int, baseURI_ string, tokenName string, tokenSymbol string) (*types.Transaction, error)

CreateSwapPair is a paid mutator transaction binding the contract method 0x9df52edd.

Solidity: function createSwapPair(bytes32 registerTxHash, address fromTokenAddr, uint256 fromChainId, string baseURI_, string tokenName, string tokenSymbol) returns()

func (*ERC721SwapAgentSession) Fill

func (_ERC721SwapAgent *ERC721SwapAgentSession) Fill(swapTxHash [32]byte, fromTokenAddr common.Address, recipient common.Address, fromChainId *big.Int, tokenId *big.Int, tokenURI string) (*types.Transaction, error)

Fill is a paid mutator transaction binding the contract method 0x79e7db59.

Solidity: function fill(bytes32 swapTxHash, address fromTokenAddr, address recipient, uint256 fromChainId, uint256 tokenId, string tokenURI) returns()

func (*ERC721SwapAgentSession) FilledSwap

func (_ERC721SwapAgent *ERC721SwapAgentSession) FilledSwap(arg0 [32]byte) (bool, error)

FilledSwap is a free data retrieval call binding the contract method 0xa86894ca.

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

func (*ERC721SwapAgentSession) Initialize

func (_ERC721SwapAgent *ERC721SwapAgentSession) Initialize() (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x8129fc1c.

Solidity: function initialize() returns()

func (*ERC721SwapAgentSession) OnERC721Received

func (_ERC721SwapAgent *ERC721SwapAgentSession) OnERC721Received(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 []byte) (*types.Transaction, error)

OnERC721Received is a paid mutator transaction binding the contract method 0x150b7a02.

Solidity: function onERC721Received(address , address , uint256 , bytes ) returns(bytes4)

func (*ERC721SwapAgentSession) Owner

func (_ERC721SwapAgent *ERC721SwapAgentSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*ERC721SwapAgentSession) RegisterSwapPair

func (_ERC721SwapAgent *ERC721SwapAgentSession) RegisterSwapPair(tokenAddr common.Address, chainId *big.Int) (*types.Transaction, error)

RegisterSwapPair is a paid mutator transaction binding the contract method 0x45b1ab1b.

Solidity: function registerSwapPair(address tokenAddr, uint256 chainId) payable returns()

func (*ERC721SwapAgentSession) RegisteredToken

func (_ERC721SwapAgent *ERC721SwapAgentSession) RegisteredToken(arg0 *big.Int, arg1 common.Address) (bool, error)

RegisteredToken is a free data retrieval call binding the contract method 0x0b4f43c1.

Solidity: function registeredToken(uint256 , address ) view returns(bool)

func (*ERC721SwapAgentSession) RenounceOwnership

func (_ERC721SwapAgent *ERC721SwapAgentSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*ERC721SwapAgentSession) Swap

func (_ERC721SwapAgent *ERC721SwapAgentSession) Swap(tokenAddr common.Address, recipient common.Address, tokenId *big.Int, dstChainId *big.Int) (*types.Transaction, error)

Swap is a paid mutator transaction binding the contract method 0xfe029156.

Solidity: function swap(address tokenAddr, address recipient, uint256 tokenId, uint256 dstChainId) payable returns()

func (*ERC721SwapAgentSession) SwapMappingIncoming

func (_ERC721SwapAgent *ERC721SwapAgentSession) SwapMappingIncoming(arg0 *big.Int, arg1 common.Address) (common.Address, error)

SwapMappingIncoming is a free data retrieval call binding the contract method 0xec686704.

Solidity: function swapMappingIncoming(uint256 , address ) view returns(address)

func (*ERC721SwapAgentSession) SwapMappingOutgoing

func (_ERC721SwapAgent *ERC721SwapAgentSession) SwapMappingOutgoing(arg0 *big.Int, arg1 common.Address) (common.Address, error)

SwapMappingOutgoing is a free data retrieval call binding the contract method 0x0d43d992.

Solidity: function swapMappingOutgoing(uint256 , address ) view returns(address)

func (*ERC721SwapAgentSession) TransferOwnership

func (_ERC721SwapAgent *ERC721SwapAgentSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type ERC721SwapAgentSwapFilled

type ERC721SwapAgentSwapFilled struct {
	SwapTxHash        [32]byte
	FromTokenAddr     common.Address
	Recipient         common.Address
	MirroredTokenAddr common.Address
	FromChainId       *big.Int
	TokenId           *big.Int
	Raw               types.Log // Blockchain specific contextual infos
}

ERC721SwapAgentSwapFilled represents a SwapFilled event raised by the ERC721SwapAgent contract.

type ERC721SwapAgentSwapFilledIterator

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

ERC721SwapAgentSwapFilledIterator is returned from FilterSwapFilled and is used to iterate over the raw logs and unpacked data for SwapFilled events raised by the ERC721SwapAgent contract.

func (*ERC721SwapAgentSwapFilledIterator) Close

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

func (*ERC721SwapAgentSwapFilledIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC721SwapAgentSwapFilledIterator) 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 ERC721SwapAgentSwapPairCreated

type ERC721SwapAgentSwapPairCreated struct {
	RegisterTxHash    [32]byte
	FromTokenAddr     common.Address
	MirroredTokenAddr common.Address
	FromChainId       *big.Int
	TokenSymbol       string
	TokenName         string
	Raw               types.Log // Blockchain specific contextual infos
}

ERC721SwapAgentSwapPairCreated represents a SwapPairCreated event raised by the ERC721SwapAgent contract.

type ERC721SwapAgentSwapPairCreatedIterator

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

ERC721SwapAgentSwapPairCreatedIterator is returned from FilterSwapPairCreated and is used to iterate over the raw logs and unpacked data for SwapPairCreated events raised by the ERC721SwapAgent contract.

func (*ERC721SwapAgentSwapPairCreatedIterator) Close

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

func (*ERC721SwapAgentSwapPairCreatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC721SwapAgentSwapPairCreatedIterator) 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 ERC721SwapAgentSwapPairRegister

type ERC721SwapAgentSwapPairRegister struct {
	Sponsor      common.Address
	TokenAddress common.Address
	TokenName    string
	TokenSymbol  string
	ToChainId    *big.Int
	FeeAmount    *big.Int
	Raw          types.Log // Blockchain specific contextual infos
}

ERC721SwapAgentSwapPairRegister represents a SwapPairRegister event raised by the ERC721SwapAgent contract.

type ERC721SwapAgentSwapPairRegisterIterator

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

ERC721SwapAgentSwapPairRegisterIterator is returned from FilterSwapPairRegister and is used to iterate over the raw logs and unpacked data for SwapPairRegister events raised by the ERC721SwapAgent contract.

func (*ERC721SwapAgentSwapPairRegisterIterator) Close

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

func (*ERC721SwapAgentSwapPairRegisterIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC721SwapAgentSwapPairRegisterIterator) 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 ERC721SwapAgentSwapStarted

type ERC721SwapAgentSwapStarted struct {
	TokenAddr  common.Address
	Sender     common.Address
	Recipient  common.Address
	DstChainId *big.Int
	TokenId    *big.Int
	FeeAmount  *big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

ERC721SwapAgentSwapStarted represents a SwapStarted event raised by the ERC721SwapAgent contract.

type ERC721SwapAgentSwapStartedIterator

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

ERC721SwapAgentSwapStartedIterator is returned from FilterSwapStarted and is used to iterate over the raw logs and unpacked data for SwapStarted events raised by the ERC721SwapAgent contract.

func (*ERC721SwapAgentSwapStartedIterator) Close

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

func (*ERC721SwapAgentSwapStartedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC721SwapAgentSwapStartedIterator) 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 ERC721SwapAgentTransactor

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

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

func NewERC721SwapAgentTransactor

func NewERC721SwapAgentTransactor(address common.Address, transactor bind.ContractTransactor) (*ERC721SwapAgentTransactor, error)

NewERC721SwapAgentTransactor creates a new write-only instance of ERC721SwapAgent, bound to a specific deployed contract.

func (*ERC721SwapAgentTransactor) CreateSwapPair

func (_ERC721SwapAgent *ERC721SwapAgentTransactor) CreateSwapPair(opts *bind.TransactOpts, registerTxHash [32]byte, fromTokenAddr common.Address, fromChainId *big.Int, baseURI_ string, tokenName string, tokenSymbol string) (*types.Transaction, error)

CreateSwapPair is a paid mutator transaction binding the contract method 0x9df52edd.

Solidity: function createSwapPair(bytes32 registerTxHash, address fromTokenAddr, uint256 fromChainId, string baseURI_, string tokenName, string tokenSymbol) returns()

func (*ERC721SwapAgentTransactor) Fill

func (_ERC721SwapAgent *ERC721SwapAgentTransactor) Fill(opts *bind.TransactOpts, swapTxHash [32]byte, fromTokenAddr common.Address, recipient common.Address, fromChainId *big.Int, tokenId *big.Int, tokenURI string) (*types.Transaction, error)

Fill is a paid mutator transaction binding the contract method 0x79e7db59.

Solidity: function fill(bytes32 swapTxHash, address fromTokenAddr, address recipient, uint256 fromChainId, uint256 tokenId, string tokenURI) returns()

func (*ERC721SwapAgentTransactor) Initialize

func (_ERC721SwapAgent *ERC721SwapAgentTransactor) Initialize(opts *bind.TransactOpts) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x8129fc1c.

Solidity: function initialize() returns()

func (*ERC721SwapAgentTransactor) OnERC721Received

func (_ERC721SwapAgent *ERC721SwapAgentTransactor) OnERC721Received(opts *bind.TransactOpts, arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 []byte) (*types.Transaction, error)

OnERC721Received is a paid mutator transaction binding the contract method 0x150b7a02.

Solidity: function onERC721Received(address , address , uint256 , bytes ) returns(bytes4)

func (*ERC721SwapAgentTransactor) RegisterSwapPair

func (_ERC721SwapAgent *ERC721SwapAgentTransactor) RegisterSwapPair(opts *bind.TransactOpts, tokenAddr common.Address, chainId *big.Int) (*types.Transaction, error)

RegisterSwapPair is a paid mutator transaction binding the contract method 0x45b1ab1b.

Solidity: function registerSwapPair(address tokenAddr, uint256 chainId) payable returns()

func (*ERC721SwapAgentTransactor) RenounceOwnership

func (_ERC721SwapAgent *ERC721SwapAgentTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*ERC721SwapAgentTransactor) Swap

func (_ERC721SwapAgent *ERC721SwapAgentTransactor) Swap(opts *bind.TransactOpts, tokenAddr common.Address, recipient common.Address, tokenId *big.Int, dstChainId *big.Int) (*types.Transaction, error)

Swap is a paid mutator transaction binding the contract method 0xfe029156.

Solidity: function swap(address tokenAddr, address recipient, uint256 tokenId, uint256 dstChainId) payable returns()

func (*ERC721SwapAgentTransactor) TransferOwnership

func (_ERC721SwapAgent *ERC721SwapAgentTransactor) 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()

type ERC721SwapAgentTransactorRaw

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

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

func (*ERC721SwapAgentTransactorRaw) Transact

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

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

func (*ERC721SwapAgentTransactorRaw) Transfer

func (_ERC721SwapAgent *ERC721SwapAgentTransactorRaw) 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 ERC721SwapAgentTransactorSession

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

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

func (*ERC721SwapAgentTransactorSession) CreateSwapPair

func (_ERC721SwapAgent *ERC721SwapAgentTransactorSession) CreateSwapPair(registerTxHash [32]byte, fromTokenAddr common.Address, fromChainId *big.Int, baseURI_ string, tokenName string, tokenSymbol string) (*types.Transaction, error)

CreateSwapPair is a paid mutator transaction binding the contract method 0x9df52edd.

Solidity: function createSwapPair(bytes32 registerTxHash, address fromTokenAddr, uint256 fromChainId, string baseURI_, string tokenName, string tokenSymbol) returns()

func (*ERC721SwapAgentTransactorSession) Fill

func (_ERC721SwapAgent *ERC721SwapAgentTransactorSession) Fill(swapTxHash [32]byte, fromTokenAddr common.Address, recipient common.Address, fromChainId *big.Int, tokenId *big.Int, tokenURI string) (*types.Transaction, error)

Fill is a paid mutator transaction binding the contract method 0x79e7db59.

Solidity: function fill(bytes32 swapTxHash, address fromTokenAddr, address recipient, uint256 fromChainId, uint256 tokenId, string tokenURI) returns()

func (*ERC721SwapAgentTransactorSession) Initialize

func (_ERC721SwapAgent *ERC721SwapAgentTransactorSession) Initialize() (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x8129fc1c.

Solidity: function initialize() returns()

func (*ERC721SwapAgentTransactorSession) OnERC721Received

func (_ERC721SwapAgent *ERC721SwapAgentTransactorSession) OnERC721Received(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 []byte) (*types.Transaction, error)

OnERC721Received is a paid mutator transaction binding the contract method 0x150b7a02.

Solidity: function onERC721Received(address , address , uint256 , bytes ) returns(bytes4)

func (*ERC721SwapAgentTransactorSession) RegisterSwapPair

func (_ERC721SwapAgent *ERC721SwapAgentTransactorSession) RegisterSwapPair(tokenAddr common.Address, chainId *big.Int) (*types.Transaction, error)

RegisterSwapPair is a paid mutator transaction binding the contract method 0x45b1ab1b.

Solidity: function registerSwapPair(address tokenAddr, uint256 chainId) payable returns()

func (*ERC721SwapAgentTransactorSession) RenounceOwnership

func (_ERC721SwapAgent *ERC721SwapAgentTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*ERC721SwapAgentTransactorSession) Swap

func (_ERC721SwapAgent *ERC721SwapAgentTransactorSession) Swap(tokenAddr common.Address, recipient common.Address, tokenId *big.Int, dstChainId *big.Int) (*types.Transaction, error)

Swap is a paid mutator transaction binding the contract method 0xfe029156.

Solidity: function swap(address tokenAddr, address recipient, uint256 tokenId, uint256 dstChainId) payable returns()

func (*ERC721SwapAgentTransactorSession) TransferOwnership

func (_ERC721SwapAgent *ERC721SwapAgentTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type ERC721Token

type ERC721Token struct {
	ERC721TokenCaller     // Read-only binding to the contract
	ERC721TokenTransactor // Write-only binding to the contract
	ERC721TokenFilterer   // Log filterer for contract events
}

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

func NewERC721Token

func NewERC721Token(address common.Address, backend bind.ContractBackend) (*ERC721Token, error)

NewERC721Token creates a new instance of ERC721Token, bound to a specific deployed contract.

type ERC721TokenApproval

type ERC721TokenApproval struct {
	Owner    common.Address
	Approved common.Address
	TokenId  *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

ERC721TokenApproval represents a Approval event raised by the ERC721Token contract.

type ERC721TokenApprovalForAll

type ERC721TokenApprovalForAll struct {
	Owner    common.Address
	Operator common.Address
	Approved bool
	Raw      types.Log // Blockchain specific contextual infos
}

ERC721TokenApprovalForAll represents a ApprovalForAll event raised by the ERC721Token contract.

type ERC721TokenApprovalForAllIterator

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

ERC721TokenApprovalForAllIterator is returned from FilterApprovalForAll and is used to iterate over the raw logs and unpacked data for ApprovalForAll events raised by the ERC721Token contract.

func (*ERC721TokenApprovalForAllIterator) Close

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

func (*ERC721TokenApprovalForAllIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC721TokenApprovalForAllIterator) 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 ERC721TokenApprovalIterator

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

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

func (*ERC721TokenApprovalIterator) Close

func (it *ERC721TokenApprovalIterator) Close() error

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

func (*ERC721TokenApprovalIterator) Error

func (it *ERC721TokenApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC721TokenApprovalIterator) Next

func (it *ERC721TokenApprovalIterator) 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 ERC721TokenCaller

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

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

func NewERC721TokenCaller

func NewERC721TokenCaller(address common.Address, caller bind.ContractCaller) (*ERC721TokenCaller, error)

NewERC721TokenCaller creates a new read-only instance of ERC721Token, bound to a specific deployed contract.

func (*ERC721TokenCaller) BalanceOf

func (_ERC721Token *ERC721TokenCaller) BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error)

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

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

func (*ERC721TokenCaller) BaseURI

func (_ERC721Token *ERC721TokenCaller) BaseURI(opts *bind.CallOpts) (string, error)

BaseURI is a free data retrieval call binding the contract method 0x6c0360eb.

Solidity: function baseURI() view returns(string)

func (*ERC721TokenCaller) GetApproved

func (_ERC721Token *ERC721TokenCaller) GetApproved(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)

GetApproved is a free data retrieval call binding the contract method 0x081812fc.

Solidity: function getApproved(uint256 tokenId) view returns(address)

func (*ERC721TokenCaller) IsApprovedForAll

func (_ERC721Token *ERC721TokenCaller) IsApprovedForAll(opts *bind.CallOpts, owner common.Address, operator common.Address) (bool, error)

IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5.

Solidity: function isApprovedForAll(address owner, address operator) view returns(bool)

func (*ERC721TokenCaller) Name

func (_ERC721Token *ERC721TokenCaller) 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 (*ERC721TokenCaller) Owner

func (_ERC721Token *ERC721TokenCaller) 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 (*ERC721TokenCaller) OwnerOf

func (_ERC721Token *ERC721TokenCaller) OwnerOf(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)

OwnerOf is a free data retrieval call binding the contract method 0x6352211e.

Solidity: function ownerOf(uint256 tokenId) view returns(address)

func (*ERC721TokenCaller) SupportsInterface

func (_ERC721Token *ERC721TokenCaller) 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 (*ERC721TokenCaller) Symbol

func (_ERC721Token *ERC721TokenCaller) 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 (*ERC721TokenCaller) TokenURI

func (_ERC721Token *ERC721TokenCaller) TokenURI(opts *bind.CallOpts, tokenId *big.Int) (string, error)

TokenURI is a free data retrieval call binding the contract method 0xc87b56dd.

Solidity: function tokenURI(uint256 tokenId) view returns(string)

type ERC721TokenCallerRaw

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

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

func (*ERC721TokenCallerRaw) Call

func (_ERC721Token *ERC721TokenCallerRaw) 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 ERC721TokenCallerSession

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

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

func (*ERC721TokenCallerSession) BalanceOf

func (_ERC721Token *ERC721TokenCallerSession) BalanceOf(owner common.Address) (*big.Int, error)

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

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

func (*ERC721TokenCallerSession) BaseURI

func (_ERC721Token *ERC721TokenCallerSession) BaseURI() (string, error)

BaseURI is a free data retrieval call binding the contract method 0x6c0360eb.

Solidity: function baseURI() view returns(string)

func (*ERC721TokenCallerSession) GetApproved

func (_ERC721Token *ERC721TokenCallerSession) GetApproved(tokenId *big.Int) (common.Address, error)

GetApproved is a free data retrieval call binding the contract method 0x081812fc.

Solidity: function getApproved(uint256 tokenId) view returns(address)

func (*ERC721TokenCallerSession) IsApprovedForAll

func (_ERC721Token *ERC721TokenCallerSession) IsApprovedForAll(owner common.Address, operator common.Address) (bool, error)

IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5.

Solidity: function isApprovedForAll(address owner, address operator) view returns(bool)

func (*ERC721TokenCallerSession) Name

func (_ERC721Token *ERC721TokenCallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*ERC721TokenCallerSession) Owner

func (_ERC721Token *ERC721TokenCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*ERC721TokenCallerSession) OwnerOf

func (_ERC721Token *ERC721TokenCallerSession) OwnerOf(tokenId *big.Int) (common.Address, error)

OwnerOf is a free data retrieval call binding the contract method 0x6352211e.

Solidity: function ownerOf(uint256 tokenId) view returns(address)

func (*ERC721TokenCallerSession) SupportsInterface

func (_ERC721Token *ERC721TokenCallerSession) 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 (*ERC721TokenCallerSession) Symbol

func (_ERC721Token *ERC721TokenCallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*ERC721TokenCallerSession) TokenURI

func (_ERC721Token *ERC721TokenCallerSession) TokenURI(tokenId *big.Int) (string, error)

TokenURI is a free data retrieval call binding the contract method 0xc87b56dd.

Solidity: function tokenURI(uint256 tokenId) view returns(string)

type ERC721TokenFilterer

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

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

func NewERC721TokenFilterer

func NewERC721TokenFilterer(address common.Address, filterer bind.ContractFilterer) (*ERC721TokenFilterer, error)

NewERC721TokenFilterer creates a new log filterer instance of ERC721Token, bound to a specific deployed contract.

func (*ERC721TokenFilterer) FilterApproval

func (_ERC721Token *ERC721TokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, approved []common.Address, tokenId []*big.Int) (*ERC721TokenApprovalIterator, error)

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

Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)

func (*ERC721TokenFilterer) FilterApprovalForAll

func (_ERC721Token *ERC721TokenFilterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*ERC721TokenApprovalForAllIterator, error)

FilterApprovalForAll is a free log retrieval operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.

Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved)

func (*ERC721TokenFilterer) FilterOwnershipTransferred

func (_ERC721Token *ERC721TokenFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*ERC721TokenOwnershipTransferredIterator, error)

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

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

func (*ERC721TokenFilterer) FilterTransfer

func (_ERC721Token *ERC721TokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenId []*big.Int) (*ERC721TokenTransferIterator, error)

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

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

func (*ERC721TokenFilterer) ParseApproval

func (_ERC721Token *ERC721TokenFilterer) ParseApproval(log types.Log) (*ERC721TokenApproval, error)

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

Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)

func (*ERC721TokenFilterer) ParseApprovalForAll

func (_ERC721Token *ERC721TokenFilterer) ParseApprovalForAll(log types.Log) (*ERC721TokenApprovalForAll, error)

ParseApprovalForAll is a log parse operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.

Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved)

func (*ERC721TokenFilterer) ParseOwnershipTransferred

func (_ERC721Token *ERC721TokenFilterer) ParseOwnershipTransferred(log types.Log) (*ERC721TokenOwnershipTransferred, error)

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

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

func (*ERC721TokenFilterer) ParseTransfer

func (_ERC721Token *ERC721TokenFilterer) ParseTransfer(log types.Log) (*ERC721TokenTransfer, error)

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

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

func (*ERC721TokenFilterer) WatchApproval

func (_ERC721Token *ERC721TokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC721TokenApproval, owner []common.Address, approved []common.Address, tokenId []*big.Int) (event.Subscription, error)

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

Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)

func (*ERC721TokenFilterer) WatchApprovalForAll

func (_ERC721Token *ERC721TokenFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *ERC721TokenApprovalForAll, owner []common.Address, operator []common.Address) (event.Subscription, error)

WatchApprovalForAll is a free log subscription operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.

Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved)

func (*ERC721TokenFilterer) WatchOwnershipTransferred

func (_ERC721Token *ERC721TokenFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ERC721TokenOwnershipTransferred, 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 (*ERC721TokenFilterer) WatchTransfer

func (_ERC721Token *ERC721TokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC721TokenTransfer, from []common.Address, to []common.Address, tokenId []*big.Int) (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 indexed tokenId)

type ERC721TokenOwnershipTransferred

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

ERC721TokenOwnershipTransferred represents a OwnershipTransferred event raised by the ERC721Token contract.

type ERC721TokenOwnershipTransferredIterator

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

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

func (*ERC721TokenOwnershipTransferredIterator) Close

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

func (*ERC721TokenOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC721TokenOwnershipTransferredIterator) 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 ERC721TokenRaw

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

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

func (*ERC721TokenRaw) Call

func (_ERC721Token *ERC721TokenRaw) 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 (*ERC721TokenRaw) Transact

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

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

func (*ERC721TokenRaw) Transfer

func (_ERC721Token *ERC721TokenRaw) 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 ERC721TokenSession

type ERC721TokenSession struct {
	Contract     *ERC721Token      // 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
}

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

func (*ERC721TokenSession) Approve

func (_ERC721Token *ERC721TokenSession) Approve(to common.Address, tokenId *big.Int) (*types.Transaction, error)

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

Solidity: function approve(address to, uint256 tokenId) returns()

func (*ERC721TokenSession) BalanceOf

func (_ERC721Token *ERC721TokenSession) BalanceOf(owner common.Address) (*big.Int, error)

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

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

func (*ERC721TokenSession) BaseURI

func (_ERC721Token *ERC721TokenSession) BaseURI() (string, error)

BaseURI is a free data retrieval call binding the contract method 0x6c0360eb.

Solidity: function baseURI() view returns(string)

func (*ERC721TokenSession) GetApproved

func (_ERC721Token *ERC721TokenSession) GetApproved(tokenId *big.Int) (common.Address, error)

GetApproved is a free data retrieval call binding the contract method 0x081812fc.

Solidity: function getApproved(uint256 tokenId) view returns(address)

func (*ERC721TokenSession) IsApprovedForAll

func (_ERC721Token *ERC721TokenSession) IsApprovedForAll(owner common.Address, operator common.Address) (bool, error)

IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5.

Solidity: function isApprovedForAll(address owner, address operator) view returns(bool)

func (*ERC721TokenSession) Name

func (_ERC721Token *ERC721TokenSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*ERC721TokenSession) Owner

func (_ERC721Token *ERC721TokenSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*ERC721TokenSession) OwnerOf

func (_ERC721Token *ERC721TokenSession) OwnerOf(tokenId *big.Int) (common.Address, error)

OwnerOf is a free data retrieval call binding the contract method 0x6352211e.

Solidity: function ownerOf(uint256 tokenId) view returns(address)

func (*ERC721TokenSession) RenounceOwnership

func (_ERC721Token *ERC721TokenSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*ERC721TokenSession) SafeMint

func (_ERC721Token *ERC721TokenSession) SafeMint(to common.Address, tokenId *big.Int) (*types.Transaction, error)

SafeMint is a paid mutator transaction binding the contract method 0xa1448194.

Solidity: function safeMint(address to, uint256 tokenId) returns()

func (*ERC721TokenSession) SafeTransferFrom

func (_ERC721Token *ERC721TokenSession) SafeTransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)

SafeTransferFrom is a paid mutator transaction binding the contract method 0x42842e0e.

Solidity: function safeTransferFrom(address from, address to, uint256 tokenId) returns()

func (*ERC721TokenSession) SafeTransferFrom0

func (_ERC721Token *ERC721TokenSession) SafeTransferFrom0(from common.Address, to common.Address, tokenId *big.Int, _data []byte) (*types.Transaction, error)

SafeTransferFrom0 is a paid mutator transaction binding the contract method 0xb88d4fde.

Solidity: function safeTransferFrom(address from, address to, uint256 tokenId, bytes _data) returns()

func (*ERC721TokenSession) SetApprovalForAll

func (_ERC721Token *ERC721TokenSession) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error)

SetApprovalForAll is a paid mutator transaction binding the contract method 0xa22cb465.

Solidity: function setApprovalForAll(address operator, bool approved) returns()

func (*ERC721TokenSession) SetBaseURI

func (_ERC721Token *ERC721TokenSession) SetBaseURI(baseURI_ string) (*types.Transaction, error)

SetBaseURI is a paid mutator transaction binding the contract method 0x55f804b3.

Solidity: function setBaseURI(string baseURI_) returns()

func (*ERC721TokenSession) SetTokenURI

func (_ERC721Token *ERC721TokenSession) SetTokenURI(tokenId *big.Int, _tokenURI string) (*types.Transaction, error)

SetTokenURI is a paid mutator transaction binding the contract method 0x162094c4.

Solidity: function setTokenURI(uint256 tokenId, string _tokenURI) returns()

func (*ERC721TokenSession) SupportsInterface

func (_ERC721Token *ERC721TokenSession) 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 (*ERC721TokenSession) Symbol

func (_ERC721Token *ERC721TokenSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*ERC721TokenSession) TokenURI

func (_ERC721Token *ERC721TokenSession) TokenURI(tokenId *big.Int) (string, error)

TokenURI is a free data retrieval call binding the contract method 0xc87b56dd.

Solidity: function tokenURI(uint256 tokenId) view returns(string)

func (*ERC721TokenSession) TransferFrom

func (_ERC721Token *ERC721TokenSession) TransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)

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

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

func (*ERC721TokenSession) TransferOwnership

func (_ERC721Token *ERC721TokenSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type ERC721TokenTransactor

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

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

func NewERC721TokenTransactor

func NewERC721TokenTransactor(address common.Address, transactor bind.ContractTransactor) (*ERC721TokenTransactor, error)

NewERC721TokenTransactor creates a new write-only instance of ERC721Token, bound to a specific deployed contract.

func (*ERC721TokenTransactor) Approve

func (_ERC721Token *ERC721TokenTransactor) Approve(opts *bind.TransactOpts, to common.Address, tokenId *big.Int) (*types.Transaction, error)

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

Solidity: function approve(address to, uint256 tokenId) returns()

func (*ERC721TokenTransactor) RenounceOwnership

func (_ERC721Token *ERC721TokenTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*ERC721TokenTransactor) SafeMint

func (_ERC721Token *ERC721TokenTransactor) SafeMint(opts *bind.TransactOpts, to common.Address, tokenId *big.Int) (*types.Transaction, error)

SafeMint is a paid mutator transaction binding the contract method 0xa1448194.

Solidity: function safeMint(address to, uint256 tokenId) returns()

func (*ERC721TokenTransactor) SafeTransferFrom

func (_ERC721Token *ERC721TokenTransactor) SafeTransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)

SafeTransferFrom is a paid mutator transaction binding the contract method 0x42842e0e.

Solidity: function safeTransferFrom(address from, address to, uint256 tokenId) returns()

func (*ERC721TokenTransactor) SafeTransferFrom0

func (_ERC721Token *ERC721TokenTransactor) SafeTransferFrom0(opts *bind.TransactOpts, from common.Address, to common.Address, tokenId *big.Int, _data []byte) (*types.Transaction, error)

SafeTransferFrom0 is a paid mutator transaction binding the contract method 0xb88d4fde.

Solidity: function safeTransferFrom(address from, address to, uint256 tokenId, bytes _data) returns()

func (*ERC721TokenTransactor) SetApprovalForAll

func (_ERC721Token *ERC721TokenTransactor) SetApprovalForAll(opts *bind.TransactOpts, operator common.Address, approved bool) (*types.Transaction, error)

SetApprovalForAll is a paid mutator transaction binding the contract method 0xa22cb465.

Solidity: function setApprovalForAll(address operator, bool approved) returns()

func (*ERC721TokenTransactor) SetBaseURI

func (_ERC721Token *ERC721TokenTransactor) SetBaseURI(opts *bind.TransactOpts, baseURI_ string) (*types.Transaction, error)

SetBaseURI is a paid mutator transaction binding the contract method 0x55f804b3.

Solidity: function setBaseURI(string baseURI_) returns()

func (*ERC721TokenTransactor) SetTokenURI

func (_ERC721Token *ERC721TokenTransactor) SetTokenURI(opts *bind.TransactOpts, tokenId *big.Int, _tokenURI string) (*types.Transaction, error)

SetTokenURI is a paid mutator transaction binding the contract method 0x162094c4.

Solidity: function setTokenURI(uint256 tokenId, string _tokenURI) returns()

func (*ERC721TokenTransactor) TransferFrom

func (_ERC721Token *ERC721TokenTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)

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

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

func (*ERC721TokenTransactor) TransferOwnership

func (_ERC721Token *ERC721TokenTransactor) 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()

type ERC721TokenTransactorRaw

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

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

func (*ERC721TokenTransactorRaw) Transact

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

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

func (*ERC721TokenTransactorRaw) Transfer

func (_ERC721Token *ERC721TokenTransactorRaw) 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 ERC721TokenTransactorSession

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

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

func (*ERC721TokenTransactorSession) Approve

func (_ERC721Token *ERC721TokenTransactorSession) Approve(to common.Address, tokenId *big.Int) (*types.Transaction, error)

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

Solidity: function approve(address to, uint256 tokenId) returns()

func (*ERC721TokenTransactorSession) RenounceOwnership

func (_ERC721Token *ERC721TokenTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*ERC721TokenTransactorSession) SafeMint

func (_ERC721Token *ERC721TokenTransactorSession) SafeMint(to common.Address, tokenId *big.Int) (*types.Transaction, error)

SafeMint is a paid mutator transaction binding the contract method 0xa1448194.

Solidity: function safeMint(address to, uint256 tokenId) returns()

func (*ERC721TokenTransactorSession) SafeTransferFrom

func (_ERC721Token *ERC721TokenTransactorSession) SafeTransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)

SafeTransferFrom is a paid mutator transaction binding the contract method 0x42842e0e.

Solidity: function safeTransferFrom(address from, address to, uint256 tokenId) returns()

func (*ERC721TokenTransactorSession) SafeTransferFrom0

func (_ERC721Token *ERC721TokenTransactorSession) SafeTransferFrom0(from common.Address, to common.Address, tokenId *big.Int, _data []byte) (*types.Transaction, error)

SafeTransferFrom0 is a paid mutator transaction binding the contract method 0xb88d4fde.

Solidity: function safeTransferFrom(address from, address to, uint256 tokenId, bytes _data) returns()

func (*ERC721TokenTransactorSession) SetApprovalForAll

func (_ERC721Token *ERC721TokenTransactorSession) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error)

SetApprovalForAll is a paid mutator transaction binding the contract method 0xa22cb465.

Solidity: function setApprovalForAll(address operator, bool approved) returns()

func (*ERC721TokenTransactorSession) SetBaseURI

func (_ERC721Token *ERC721TokenTransactorSession) SetBaseURI(baseURI_ string) (*types.Transaction, error)

SetBaseURI is a paid mutator transaction binding the contract method 0x55f804b3.

Solidity: function setBaseURI(string baseURI_) returns()

func (*ERC721TokenTransactorSession) SetTokenURI

func (_ERC721Token *ERC721TokenTransactorSession) SetTokenURI(tokenId *big.Int, _tokenURI string) (*types.Transaction, error)

SetTokenURI is a paid mutator transaction binding the contract method 0x162094c4.

Solidity: function setTokenURI(uint256 tokenId, string _tokenURI) returns()

func (*ERC721TokenTransactorSession) TransferFrom

func (_ERC721Token *ERC721TokenTransactorSession) TransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)

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

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

func (*ERC721TokenTransactorSession) TransferOwnership

func (_ERC721Token *ERC721TokenTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type ERC721TokenTransfer

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

ERC721TokenTransfer represents a Transfer event raised by the ERC721Token contract.

type ERC721TokenTransferIterator

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

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

func (*ERC721TokenTransferIterator) Close

func (it *ERC721TokenTransferIterator) Close() error

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

func (*ERC721TokenTransferIterator) Error

func (it *ERC721TokenTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC721TokenTransferIterator) Next

func (it *ERC721TokenTransferIterator) 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.

Jump to

Keyboard shortcuts

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