tofunft

package
v1.4.123 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2023 License: GPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TofunftABI = TofunftMetaData.ABI

TofunftABI is the input ABI used to generate the binding from. Deprecated: Use TofunftMetaData.ABI instead.

View Source
var TofunftMetaData = &bind.MetaData{
	ABI: "[{\"type\":\"constructor\",\"stateMutability\":\"nonpayable\",\"inputs\":[{\"type\":\"address\",\"name\":\"weth_\",\"internalType\":\"contractIWETH\"}]},{\"type\":\"event\",\"name\":\"EvAuctionRefund\",\"inputs\":[{\"type\":\"uint256\",\"name\":\"id\",\"internalType\":\"uint256\",\"indexed\":true},{\"type\":\"address\",\"name\":\"bidder\",\"internalType\":\"address\",\"indexed\":false},{\"type\":\"uint256\",\"name\":\"refund\",\"internalType\":\"uint256\",\"indexed\":false}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"EvCouponSpent\",\"inputs\":[{\"type\":\"uint256\",\"name\":\"id\",\"internalType\":\"uint256\",\"indexed\":true},{\"type\":\"uint256\",\"name\":\"couponId\",\"internalType\":\"uint256\",\"indexed\":true}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"EvInventoryUpdate\",\"inputs\":[{\"type\":\"uint256\",\"name\":\"id\",\"internalType\":\"uint256\",\"indexed\":true},{\"type\":\"tuple\",\"name\":\"inventory\",\"internalType\":\"structMarketNG.Inventory\",\"indexed\":false,\"components\":[{\"type\":\"address\",\"name\":\"seller\",\"internalType\":\"address\"},{\"type\":\"address\",\"name\":\"buyer\",\"internalType\":\"address\"},{\"type\":\"address\",\"name\":\"currency\",\"internalType\":\"contractIERC20\"},{\"type\":\"uint256\",\"name\":\"price\",\"internalType\":\"uint256\"},{\"type\":\"uint256\",\"name\":\"netPrice\",\"internalType\":\"uint256\"},{\"type\":\"uint256\",\"name\":\"deadline\",\"internalType\":\"uint256\"},{\"type\":\"uint8\",\"name\":\"kind\",\"internalType\":\"uint8\"},{\"type\":\"uint8\",\"name\":\"status\",\"internalType\":\"uint8\"}]}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"EvMarketSignerUpdate\",\"inputs\":[{\"type\":\"address\",\"name\":\"addr\",\"internalType\":\"address\",\"indexed\":false},{\"type\":\"bool\",\"name\":\"isRemoval\",\"internalType\":\"bool\",\"indexed\":false}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"EvSettingsUpdated\",\"inputs\":[],\"anonymous\":false},{\"type\":\"event\",\"name\":\"EvSwapped\",\"inputs\":[{\"type\":\"tuple\",\"name\":\"req\",\"internalType\":\"structMarketNG.Swap\",\"indexed\":false,\"components\":[{\"type\":\"bytes32\",\"name\":\"salt\",\"internalType\":\"bytes32\"},{\"type\":\"address\",\"name\":\"creator\",\"internalType\":\"address\"},{\"type\":\"uint256\",\"name\":\"deadline\",\"internalType\":\"uint256\"},{\"type\":\"tuple[]\",\"name\":\"has\",\"internalType\":\"structMarketNG.Pair721[]\",\"components\":[{\"type\":\"address\",\"name\":\"token\",\"internalType\":\"contractIERC721\"},{\"type\":\"uint256\",\"name\":\"tokenId\",\"internalType\":\"uint256\"}]},{\"type\":\"tuple[]\",\"name\":\"wants\",\"internalType\":\"structMarketNG.Pair721[]\",\"components\":[{\"type\":\"address\",\"name\":\"token\",\"internalType\":\"contractIERC721\"},{\"type\":\"uint256\",\"name\":\"tokenId\",\"internalType\":\"uint256\"}]}]},{\"type\":\"bytes\",\"name\":\"signature\",\"internalType\":\"bytes\",\"indexed\":false},{\"type\":\"address\",\"name\":\"swapper\",\"internalType\":\"address\",\"indexed\":false}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"OwnershipTransferred\",\"inputs\":[{\"type\":\"address\",\"name\":\"previousOwner\",\"internalType\":\"address\",\"indexed\":true},{\"type\":\"address\",\"name\":\"newOwner\",\"internalType\":\"address\",\"indexed\":true}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Paused\",\"inputs\":[{\"type\":\"address\",\"name\":\"account\",\"internalType\":\"address\",\"indexed\":false}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Unpaused\",\"inputs\":[{\"type\":\"address\",\"name\":\"account\",\"internalType\":\"address\",\"indexed\":false}],\"anonymous\":false},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"uint8\",\"name\":\"\",\"internalType\":\"uint8\"}],\"name\":\"KIND_AUCTION\",\"inputs\":[]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"uint8\",\"name\":\"\",\"internalType\":\"uint8\"}],\"name\":\"KIND_BUY\",\"inputs\":[]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"uint8\",\"name\":\"\",\"internalType\":\"uint8\"}],\"name\":\"KIND_SELL\",\"inputs\":[]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"uint8\",\"name\":\"\",\"internalType\":\"uint8\"}],\"name\":\"OP_ACCEPT_AUCTION\",\"inputs\":[]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"uint8\",\"name\":\"\",\"internalType\":\"uint8\"}],\"name\":\"OP_ACCEPT_BUY\",\"inputs\":[]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"uint8\",\"name\":\"\",\"internalType\":\"uint8\"}],\"name\":\"OP_BID\",\"inputs\":[]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"uint8\",\"name\":\"\",\"internalType\":\"uint8\"}],\"name\":\"OP_BUY\",\"inputs\":[]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"uint8\",\"name\":\"\",\"internalType\":\"uint8\"}],\"name\":\"OP_CANCEL_BUY\",\"inputs\":[]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"uint8\",\"name\":\"\",\"internalType\":\"uint8\"}],\"name\":\"OP_COMPLETE_AUCTION\",\"inputs\":[]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"uint8\",\"name\":\"\",\"internalType\":\"uint8\"}],\"name\":\"OP_COMPLETE_BUY\",\"inputs\":[]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"uint8\",\"name\":\"\",\"internalType\":\"uint8\"}],\"name\":\"OP_COMPLETE_SELL\",\"inputs\":[]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"uint8\",\"name\":\"\",\"internalType\":\"uint8\"}],\"name\":\"OP_MAX\",\"inputs\":[]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"uint8\",\"name\":\"\",\"internalType\":\"uint8\"}],\"name\":\"OP_MIN\",\"inputs\":[]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"uint8\",\"name\":\"\",\"internalType\":\"uint8\"}],\"name\":\"OP_REJECT_BUY\",\"inputs\":[]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\",\"internalType\":\"uint256\"}],\"name\":\"RATE_BASE\",\"inputs\":[]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"uint8\",\"name\":\"\",\"internalType\":\"uint8\"}],\"name\":\"STATUS_CANCELLED\",\"inputs\":[]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"uint8\",\"name\":\"\",\"internalType\":\"uint8\"}],\"name\":\"STATUS_DONE\",\"inputs\":[]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"uint8\",\"name\":\"\",\"internalType\":\"uint8\"}],\"name\":\"STATUS_OPEN\",\"inputs\":[]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"uint8\",\"name\":\"\",\"internalType\":\"uint8\"}],\"name\":\"TOKEN_1155\",\"inputs\":[]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"uint8\",\"name\":\"\",\"internalType\":\"uint8\"}],\"name\":\"TOKEN_721\",\"inputs\":[]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"uint8\",\"name\":\"\",\"internalType\":\"uint8\"}],\"name\":\"TOKEN_MINT\",\"inputs\":[]},{\"type\":\"function\",\"stateMutability\":\"nonpayable\",\"outputs\":[],\"name\":\"cancelBuys\",\"inputs\":[{\"type\":\"uint256[]\",\"name\":\"ids\",\"internalType\":\"uint256[]\"}]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"bool\",\"name\":\"\",\"internalType\":\"bool\"}],\"name\":\"couponSpent\",\"inputs\":[{\"type\":\"uint256\",\"name\":\"\",\"internalType\":\"uint256\"}]},{\"type\":\"function\",\"stateMutability\":\"nonpayable\",\"outputs\":[],\"name\":\"emergencyCancelAuction\",\"inputs\":[{\"type\":\"uint256\",\"name\":\"id\",\"internalType\":\"uint256\"},{\"type\":\"bool\",\"name\":\"noBundle\",\"internalType\":\"bool\"}]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"bool\",\"name\":\"\",\"internalType\":\"bool\"}],\"name\":\"hasInv\",\"inputs\":[{\"type\":\"uint256\",\"name\":\"id\",\"internalType\":\"uint256\"}]},{\"type\":\"function\",\"stateMutability\":\"pure\",\"outputs\":[{\"type\":\"bool\",\"name\":\"\",\"internalType\":\"bool\"}],\"name\":\"hasSignedIntention\",\"inputs\":[{\"type\":\"uint8\",\"name\":\"op\",\"internalType\":\"uint8\"}]},{\"type\":\"function\",\"stateMutability\":\"nonpayable\",\"outputs\":[],\"name\":\"inCaseMoneyGetsStuck\",\"inputs\":[{\"type\":\"address\",\"name\":\"to\",\"internalType\":\"address\"},{\"type\":\"address\",\"name\":\"currency\",\"internalType\":\"contractIERC20\"},{\"type\":\"uint256\",\"name\":\"amount\",\"internalType\":\"uint256\"}]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"address\",\"name\":\"seller\",\"internalType\":\"address\"},{\"type\":\"address\",\"name\":\"buyer\",\"internalType\":\"address\"},{\"type\":\"address\",\"name\":\"currency\",\"internalType\":\"contractIERC20\"},{\"type\":\"uint256\",\"name\":\"price\",\"internalType\":\"uint256\"},{\"type\":\"uint256\",\"name\":\"netPrice\",\"internalType\":\"uint256\"},{\"type\":\"uint256\",\"name\":\"deadline\",\"internalType\":\"uint256\"},{\"type\":\"uint8\",\"name\":\"kind\",\"internalType\":\"uint8\"},{\"type\":\"uint8\",\"name\":\"status\",\"internalType\":\"uint8\"}],\"name\":\"inventories\",\"inputs\":[{\"type\":\"uint256\",\"name\":\"\",\"internalType\":\"uint256\"}]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\",\"internalType\":\"uint256\"}],\"name\":\"inventoryTokenCounts\",\"inputs\":[{\"type\":\"uint256\",\"name\":\"\",\"internalType\":\"uint256\"}]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"address\",\"name\":\"token\",\"internalType\":\"address\"},{\"type\":\"uint256\",\"name\":\"tokenId\",\"internalType\":\"uint256\"},{\"type\":\"uint256\",\"name\":\"amount\",\"internalType\":\"uint256\"},{\"type\":\"uint8\",\"name\":\"kind\",\"internalType\":\"uint8\"},{\"type\":\"bytes\",\"name\":\"mintData\",\"internalType\":\"bytes\"}],\"name\":\"inventoryTokens\",\"inputs\":[{\"type\":\"uint256\",\"name\":\"\",\"internalType\":\"uint256\"},{\"type\":\"uint256\",\"name\":\"\",\"internalType\":\"uint256\"}]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"bool\",\"name\":\"\",\"internalType\":\"bool\"}],\"name\":\"isAuction\",\"inputs\":[{\"type\":\"uint256\",\"name\":\"id\",\"internalType\":\"uint256\"}]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"bool\",\"name\":\"\",\"internalType\":\"bool\"}],\"name\":\"isAuctionOpen\",\"inputs\":[{\"type\":\"uint256\",\"name\":\"id\",\"internalType\":\"uint256\"}]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"bool\",\"name\":\"\",\"internalType\":\"bool\"}],\"name\":\"isBundleApproved\",\"inputs\":[{\"type\":\"uint256\",\"name\":\"invId\",\"internalType\":\"uint256\"},{\"type\":\"address\",\"name\":\"owner\",\"internalType\":\"address\"}]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"bool\",\"name\":\"\",\"internalType\":\"bool\"}],\"name\":\"isBuy\",\"inputs\":[{\"type\":\"uint256\",\"name\":\"id\",\"internalType\":\"uint256\"}]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"bool\",\"name\":\"\",\"internalType\":\"bool\"}],\"name\":\"isBuyOpen\",\"inputs\":[{\"type\":\"uint256\",\"name\":\"id\",\"internalType\":\"uint256\"}]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"bool\",\"name\":\"\",\"internalType\":\"bool\"}],\"name\":\"isExpired\",\"inputs\":[{\"type\":\"uint256\",\"name\":\"id\",\"internalType\":\"uint256\"}]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"bool\",\"name\":\"\",\"internalType\":\"bool\"}],\"name\":\"isSell\",\"inputs\":[{\"type\":\"uint256\",\"name\":\"id\",\"internalType\":\"uint256\"}]},{\"type\":\"function\",\"stateMutability\":\"pure\",\"outputs\":[{\"type\":\"bool\",\"name\":\"\",\"internalType\":\"bool\"}],\"name\":\"isSignatureValid\",\"inputs\":[{\"type\":\"bytes\",\"name\":\"signature\",\"internalType\":\"bytes\"},{\"type\":\"bytes32\",\"name\":\"hash\",\"internalType\":\"bytes32\"},{\"type\":\"address\",\"name\":\"signer\",\"internalType\":\"address\"}]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"bool\",\"name\":\"\",\"internalType\":\"bool\"}],\"name\":\"isStatusOpen\",\"inputs\":[{\"type\":\"uint256\",\"name\":\"id\",\"internalType\":\"uint256\"}]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"bool\",\"name\":\"\",\"internalType\":\"bool\"}],\"name\":\"marketSigners\",\"inputs\":[{\"type\":\"address\",\"name\":\"\",\"internalType\":\"address\"}]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\",\"internalType\":\"uint256\"}],\"name\":\"minAuctionDuration\",\"inputs\":[]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\",\"internalType\":\"uint256\"}],\"name\":\"minAuctionIncrement\",\"inputs\":[]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"bytes4\",\"name\":\"\",\"internalType\":\"bytes4\"}],\"name\":\"onERC1155BatchReceived\",\"inputs\":[{\"type\":\"address\",\"name\":\"operator\",\"internalType\":\"address\"},{\"type\":\"address\",\"name\":\"from\",\"internalType\":\"address\"},{\"type\":\"uint256[]\",\"name\":\"ids\",\"internalType\":\"uint256[]\"},{\"type\":\"uint256[]\",\"name\":\"values\",\"internalType\":\"uint256[]\"},{\"type\":\"bytes\",\"name\":\"data\",\"internalType\":\"bytes\"}]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"bytes4\",\"name\":\"\",\"internalType\":\"bytes4\"}],\"name\":\"onERC1155Received\",\"inputs\":[{\"type\":\"address\",\"name\":\"operator\",\"internalType\":\"address\"},{\"type\":\"address\",\"name\":\"from\",\"internalType\":\"address\"},{\"type\":\"uint256\",\"name\":\"id\",\"internalType\":\"uint256\"},{\"type\":\"uint256\",\"name\":\"value\",\"internalType\":\"uint256\"},{\"type\":\"bytes\",\"name\":\"data\",\"internalType\":\"bytes\"}]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"bytes4\",\"name\":\"\",\"internalType\":\"bytes4\"}],\"name\":\"onERC721Received\",\"inputs\":[{\"type\":\"address\",\"name\":\"operator\",\"internalType\":\"address\"},{\"type\":\"address\",\"name\":\"from\",\"internalType\":\"address\"},{\"type\":\"uint256\",\"name\":\"tokenId\",\"internalType\":\"uint256\"},{\"type\":\"bytes\",\"name\":\"data\",\"internalType\":\"bytes\"}]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"address\",\"name\":\"\",\"internalType\":\"address\"}],\"name\":\"owner\",\"inputs\":[]},{\"type\":\"function\",\"stateMutability\":\"nonpayable\",\"outputs\":[],\"name\":\"pause\",\"inputs\":[]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"bool\",\"name\":\"\",\"internalType\":\"bool\"}],\"name\":\"paused\",\"inputs\":[]},{\"type\":\"function\",\"stateMutability\":\"nonpayable\",\"outputs\":[],\"name\":\"renounceOwnership\",\"inputs\":[]},{\"type\":\"function\",\"stateMutability\":\"payable\",\"outputs\":[],\"name\":\"run\",\"inputs\":[{\"type\":\"tuple\",\"name\":\"intent\",\"internalType\":\"structMarketNG.Intention\",\"components\":[{\"type\":\"address\",\"name\":\"user\",\"internalType\":\"address\"},{\"type\":\"tuple[]\",\"name\":\"bundle\",\"internalType\":\"structMarketNG.TokenPair[]\",\"components\":[{\"type\":\"address\",\"name\":\"token\",\"internalType\":\"address\"},{\"type\":\"uint256\",\"name\":\"tokenId\",\"internalType\":\"uint256\"},{\"type\":\"uint256\",\"name\":\"amount\",\"internalType\":\"uint256\"},{\"type\":\"uint8\",\"name\":\"kind\",\"internalType\":\"uint8\"},{\"type\":\"bytes\",\"name\":\"mintData\",\"internalType\":\"bytes\"}]},{\"type\":\"address\",\"name\":\"currency\",\"internalType\":\"contractIERC20\"},{\"type\":\"uint256\",\"name\":\"price\",\"internalType\":\"uint256\"},{\"type\":\"uint256\",\"name\":\"deadline\",\"internalType\":\"uint256\"},{\"type\":\"bytes32\",\"name\":\"salt\",\"internalType\":\"bytes32\"},{\"type\":\"uint8\",\"name\":\"kind\",\"internalType\":\"uint8\"}]},{\"type\":\"tuple\",\"name\":\"detail\",\"internalType\":\"structMarketNG.Detail\",\"components\":[{\"type\":\"bytes32\",\"name\":\"intentionHash\",\"internalType\":\"bytes32\"},{\"type\":\"address\",\"name\":\"signer\",\"internalType\":\"address\"},{\"type\":\"uint256\",\"name\":\"txDeadline\",\"internalType\":\"uint256\"},{\"type\":\"bytes32\",\"name\":\"salt\",\"internalType\":\"bytes32\"},{\"type\":\"uint256\",\"name\":\"id\",\"internalType\":\"uint256\"},{\"type\":\"uint8\",\"name\":\"opcode\",\"internalType\":\"uint8\"},{\"type\":\"address\",\"name\":\"caller\",\"internalType\":\"address\"},{\"type\":\"address\",\"name\":\"currency\",\"internalType\":\"contractIERC20\"},{\"type\":\"uint256\",\"name\":\"price\",\"internalType\":\"uint256\"},{\"type\":\"uint256\",\"name\":\"incentiveRate\",\"internalType\":\"uint256\"},{\"type\":\"tuple\",\"name\":\"settlement\",\"internalType\":\"structMarketNG.Settlement\",\"components\":[{\"type\":\"uint256[]\",\"name\":\"coupons\",\"internalType\":\"uint256[]\"},{\"type\":\"uint256\",\"name\":\"feeRate\",\"internalType\":\"uint256\"},{\"type\":\"uint256\",\"name\":\"royaltyRate\",\"internalType\":\"uint256\"},{\"type\":\"uint256\",\"name\":\"buyerCashbackRate\",\"internalType\":\"uint256\"},{\"type\":\"address\",\"name\":\"feeAddress\",\"internalType\":\"address\"},{\"type\":\"address\",\"name\":\"royaltyAddress\",\"internalType\":\"address\"}]},{\"type\":\"tuple[]\",\"name\":\"bundle\",\"internalType\":\"structMarketNG.TokenPair[]\",\"components\":[{\"type\":\"address\",\"name\":\"token\",\"internalType\":\"address\"},{\"type\":\"uint256\",\"name\":\"tokenId\",\"internalType\":\"uint256\"},{\"type\":\"uint256\",\"name\":\"amount\",\"internalType\":\"uint256\"},{\"type\":\"uint8\",\"name\":\"kind\",\"internalType\":\"uint8\"},{\"type\":\"bytes\",\"name\":\"mintData\",\"internalType\":\"bytes\"}]},{\"type\":\"uint256\",\"name\":\"deadline\",\"internalType\":\"uint256\"}]},{\"type\":\"bytes\",\"name\":\"sigIntent\",\"internalType\":\"bytes\"},{\"type\":\"bytes\",\"name\":\"sigDetail\",\"internalType\":\"bytes\"}]},{\"type\":\"function\",\"stateMutability\":\"nonpayable\",\"outputs\":[],\"name\":\"send\",\"inputs\":[{\"type\":\"address\",\"name\":\"to\",\"internalType\":\"address\"},{\"type\":\"tuple[]\",\"name\":\"tokens\",\"internalType\":\"structMarketNG.Pair721[]\",\"components\":[{\"type\":\"address\",\"name\":\"token\",\"internalType\":\"contractIERC721\"},{\"type\":\"uint256\",\"name\":\"tokenId\",\"internalType\":\"uint256\"}]}]},{\"type\":\"function\",\"stateMutability\":\"pure\",\"outputs\":[{\"type\":\"bool\",\"name\":\"\",\"internalType\":\"bool\"}],\"name\":\"supportsInterface\",\"inputs\":[{\"type\":\"bytes4\",\"name\":\"interfaceId\",\"internalType\":\"bytes4\"}]},{\"type\":\"function\",\"stateMutability\":\"nonpayable\",\"outputs\":[],\"name\":\"swap\",\"inputs\":[{\"type\":\"tuple\",\"name\":\"req\",\"internalType\":\"structMarketNG.Swap\",\"components\":[{\"type\":\"bytes32\",\"name\":\"salt\",\"internalType\":\"bytes32\"},{\"type\":\"address\",\"name\":\"creator\",\"internalType\":\"address\"},{\"type\":\"uint256\",\"name\":\"deadline\",\"internalType\":\"uint256\"},{\"type\":\"tuple[]\",\"name\":\"has\",\"internalType\":\"structMarketNG.Pair721[]\",\"components\":[{\"type\":\"address\",\"name\":\"token\",\"internalType\":\"contractIERC721\"},{\"type\":\"uint256\",\"name\":\"tokenId\",\"internalType\":\"uint256\"}]},{\"type\":\"tuple[]\",\"name\":\"wants\",\"internalType\":\"structMarketNG.Pair721[]\",\"components\":[{\"type\":\"address\",\"name\":\"token\",\"internalType\":\"contractIERC721\"},{\"type\":\"uint256\",\"name\":\"tokenId\",\"internalType\":\"uint256\"}]}]},{\"type\":\"bytes\",\"name\":\"signature\",\"internalType\":\"bytes\"}]},{\"type\":\"function\",\"stateMutability\":\"nonpayable\",\"outputs\":[],\"name\":\"transferOwnership\",\"inputs\":[{\"type\":\"address\",\"name\":\"newOwner\",\"internalType\":\"address\"}]},{\"type\":\"function\",\"stateMutability\":\"nonpayable\",\"outputs\":[],\"name\":\"unpause\",\"inputs\":[]},{\"type\":\"function\",\"stateMutability\":\"nonpayable\",\"outputs\":[],\"name\":\"updateSettings\",\"inputs\":[{\"type\":\"uint256\",\"name\":\"minAuctionIncrement_\",\"internalType\":\"uint256\"},{\"type\":\"uint256\",\"name\":\"minAuctionDuration_\",\"internalType\":\"uint256\"}]},{\"type\":\"function\",\"stateMutability\":\"nonpayable\",\"outputs\":[],\"name\":\"updateSigner\",\"inputs\":[{\"type\":\"address\",\"name\":\"addr\",\"internalType\":\"address\"},{\"type\":\"bool\",\"name\":\"remove\",\"internalType\":\"bool\"}]},{\"type\":\"function\",\"stateMutability\":\"view\",\"outputs\":[{\"type\":\"address\",\"name\":\"\",\"internalType\":\"contractIWETH\"}],\"name\":\"weth\",\"inputs\":[]},{\"type\":\"receive\",\"stateMutability\":\"payable\"}]",
}

TofunftMetaData contains all meta data concerning the Tofunft contract.

Functions

This section is empty.

Types

type MarketNGDetail

type MarketNGDetail struct {
	IntentionHash [32]byte
	Signer        common.Address
	TxDeadline    *big.Int
	Salt          [32]byte
	Id            *big.Int
	Opcode        uint8
	Caller        common.Address
	Currency      common.Address
	Price         *big.Int
	IncentiveRate *big.Int
	Settlement    MarketNGSettlement
	Bundle        []MarketNGTokenPair
	Deadline      *big.Int
}

MarketNGDetail is an auto generated low-level Go binding around an user-defined struct.

type MarketNGIntention

type MarketNGIntention struct {
	User     common.Address
	Bundle   []MarketNGTokenPair
	Currency common.Address
	Price    *big.Int
	Deadline *big.Int
	Salt     [32]byte
	Kind     uint8
}

MarketNGIntention is an auto generated low-level Go binding around an user-defined struct.

type MarketNGInventory

type MarketNGInventory struct {
	Seller   common.Address
	Buyer    common.Address
	Currency common.Address
	Price    *big.Int
	NetPrice *big.Int
	Deadline *big.Int
	Kind     uint8
	Status   uint8
}

MarketNGInventory is an auto generated low-level Go binding around an user-defined struct.

type MarketNGPair721

type MarketNGPair721 struct {
	Token   common.Address
	TokenId *big.Int
}

MarketNGPair721 is an auto generated low-level Go binding around an user-defined struct.

type MarketNGSettlement

type MarketNGSettlement struct {
	Coupons           []*big.Int
	FeeRate           *big.Int
	RoyaltyRate       *big.Int
	BuyerCashbackRate *big.Int
	FeeAddress        common.Address
	RoyaltyAddress    common.Address
}

MarketNGSettlement is an auto generated low-level Go binding around an user-defined struct.

type MarketNGSwap

type MarketNGSwap struct {
	Salt     [32]byte
	Creator  common.Address
	Deadline *big.Int
	Has      []MarketNGPair721
	Wants    []MarketNGPair721
}

MarketNGSwap is an auto generated low-level Go binding around an user-defined struct.

type MarketNGTokenPair

type MarketNGTokenPair struct {
	Token    common.Address
	TokenId  *big.Int
	Amount   *big.Int
	Kind     uint8
	MintData []byte
}

MarketNGTokenPair is an auto generated low-level Go binding around an user-defined struct.

type Tofunft

type Tofunft struct {
	TofunftCaller     // Read-only binding to the contract
	TofunftTransactor // Write-only binding to the contract
	TofunftFilterer   // Log filterer for contract events
}

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

func NewTofunft

func NewTofunft(address common.Address, backend bind.ContractBackend) (*Tofunft, error)

NewTofunft creates a new instance of Tofunft, bound to a specific deployed contract.

type TofunftCaller

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

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

func NewTofunftCaller

func NewTofunftCaller(address common.Address, caller bind.ContractCaller) (*TofunftCaller, error)

NewTofunftCaller creates a new read-only instance of Tofunft, bound to a specific deployed contract.

func (*TofunftCaller) CouponSpent

func (_Tofunft *TofunftCaller) CouponSpent(opts *bind.CallOpts, arg0 *big.Int) (bool, error)

CouponSpent is a free data retrieval call binding the contract method 0x3ed9ffb7.

Solidity: function couponSpent(uint256 ) view returns(bool)

func (*TofunftCaller) HasInv

func (_Tofunft *TofunftCaller) HasInv(opts *bind.CallOpts, id *big.Int) (bool, error)

HasInv is a free data retrieval call binding the contract method 0xf5116bc9.

Solidity: function hasInv(uint256 id) view returns(bool)

func (*TofunftCaller) HasSignedIntention

func (_Tofunft *TofunftCaller) HasSignedIntention(opts *bind.CallOpts, op uint8) (bool, error)

HasSignedIntention is a free data retrieval call binding the contract method 0xac5e2cb1.

Solidity: function hasSignedIntention(uint8 op) pure returns(bool)

func (*TofunftCaller) Inventories

func (_Tofunft *TofunftCaller) Inventories(opts *bind.CallOpts, arg0 *big.Int) (struct {
	Seller   common.Address
	Buyer    common.Address
	Currency common.Address
	Price    *big.Int
	NetPrice *big.Int
	Deadline *big.Int
	Kind     uint8
	Status   uint8
}, error)

Inventories is a free data retrieval call binding the contract method 0xcd78ba01.

Solidity: function inventories(uint256 ) view returns(address seller, address buyer, address currency, uint256 price, uint256 netPrice, uint256 deadline, uint8 kind, uint8 status)

func (*TofunftCaller) InventoryTokenCounts

func (_Tofunft *TofunftCaller) InventoryTokenCounts(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)

InventoryTokenCounts is a free data retrieval call binding the contract method 0x5fd34298.

Solidity: function inventoryTokenCounts(uint256 ) view returns(uint256)

func (*TofunftCaller) InventoryTokens

func (_Tofunft *TofunftCaller) InventoryTokens(opts *bind.CallOpts, arg0 *big.Int, arg1 *big.Int) (struct {
	Token    common.Address
	TokenId  *big.Int
	Amount   *big.Int
	Kind     uint8
	MintData []byte
}, error)

InventoryTokens is a free data retrieval call binding the contract method 0xb4533aad.

Solidity: function inventoryTokens(uint256 , uint256 ) view returns(address token, uint256 tokenId, uint256 amount, uint8 kind, bytes mintData)

func (*TofunftCaller) IsAuction

func (_Tofunft *TofunftCaller) IsAuction(opts *bind.CallOpts, id *big.Int) (bool, error)

IsAuction is a free data retrieval call binding the contract method 0x8704f2a3.

Solidity: function isAuction(uint256 id) view returns(bool)

func (*TofunftCaller) IsAuctionOpen

func (_Tofunft *TofunftCaller) IsAuctionOpen(opts *bind.CallOpts, id *big.Int) (bool, error)

IsAuctionOpen is a free data retrieval call binding the contract method 0x0ad48628.

Solidity: function isAuctionOpen(uint256 id) view returns(bool)

func (*TofunftCaller) IsBundleApproved

func (_Tofunft *TofunftCaller) IsBundleApproved(opts *bind.CallOpts, invId *big.Int, owner common.Address) (bool, error)

IsBundleApproved is a free data retrieval call binding the contract method 0xf4a33e0d.

Solidity: function isBundleApproved(uint256 invId, address owner) view returns(bool)

func (*TofunftCaller) IsBuy

func (_Tofunft *TofunftCaller) IsBuy(opts *bind.CallOpts, id *big.Int) (bool, error)

IsBuy is a free data retrieval call binding the contract method 0xa80d33fb.

Solidity: function isBuy(uint256 id) view returns(bool)

func (*TofunftCaller) IsBuyOpen

func (_Tofunft *TofunftCaller) IsBuyOpen(opts *bind.CallOpts, id *big.Int) (bool, error)

IsBuyOpen is a free data retrieval call binding the contract method 0xbdf52b45.

Solidity: function isBuyOpen(uint256 id) view returns(bool)

func (*TofunftCaller) IsExpired

func (_Tofunft *TofunftCaller) IsExpired(opts *bind.CallOpts, id *big.Int) (bool, error)

IsExpired is a free data retrieval call binding the contract method 0xd9548e53.

Solidity: function isExpired(uint256 id) view returns(bool)

func (*TofunftCaller) IsSell

func (_Tofunft *TofunftCaller) IsSell(opts *bind.CallOpts, id *big.Int) (bool, error)

IsSell is a free data retrieval call binding the contract method 0x1b01e72c.

Solidity: function isSell(uint256 id) view returns(bool)

func (*TofunftCaller) IsSignatureValid

func (_Tofunft *TofunftCaller) IsSignatureValid(opts *bind.CallOpts, signature []byte, hash [32]byte, signer common.Address) (bool, error)

IsSignatureValid is a free data retrieval call binding the contract method 0x781dc70a.

Solidity: function isSignatureValid(bytes signature, bytes32 hash, address signer) pure returns(bool)

func (*TofunftCaller) IsStatusOpen

func (_Tofunft *TofunftCaller) IsStatusOpen(opts *bind.CallOpts, id *big.Int) (bool, error)

IsStatusOpen is a free data retrieval call binding the contract method 0xee98ce91.

Solidity: function isStatusOpen(uint256 id) view returns(bool)

func (*TofunftCaller) KINDAUCTION

func (_Tofunft *TofunftCaller) KINDAUCTION(opts *bind.CallOpts) (uint8, error)

KINDAUCTION is a free data retrieval call binding the contract method 0x7234d8f2.

Solidity: function KIND_AUCTION() view returns(uint8)

func (*TofunftCaller) KINDBUY

func (_Tofunft *TofunftCaller) KINDBUY(opts *bind.CallOpts) (uint8, error)

KINDBUY is a free data retrieval call binding the contract method 0xe1784a02.

Solidity: function KIND_BUY() view returns(uint8)

func (*TofunftCaller) KINDSELL

func (_Tofunft *TofunftCaller) KINDSELL(opts *bind.CallOpts) (uint8, error)

KINDSELL is a free data retrieval call binding the contract method 0x25593ac2.

Solidity: function KIND_SELL() view returns(uint8)

func (*TofunftCaller) MarketSigners

func (_Tofunft *TofunftCaller) MarketSigners(opts *bind.CallOpts, arg0 common.Address) (bool, error)

MarketSigners is a free data retrieval call binding the contract method 0x2bcd27df.

Solidity: function marketSigners(address ) view returns(bool)

func (*TofunftCaller) MinAuctionDuration

func (_Tofunft *TofunftCaller) MinAuctionDuration(opts *bind.CallOpts) (*big.Int, error)

MinAuctionDuration is a free data retrieval call binding the contract method 0x54134876.

Solidity: function minAuctionDuration() view returns(uint256)

func (*TofunftCaller) MinAuctionIncrement

func (_Tofunft *TofunftCaller) MinAuctionIncrement(opts *bind.CallOpts) (*big.Int, error)

MinAuctionIncrement is a free data retrieval call binding the contract method 0x708d4d35.

Solidity: function minAuctionIncrement() view returns(uint256)

func (*TofunftCaller) OPACCEPTAUCTION

func (_Tofunft *TofunftCaller) OPACCEPTAUCTION(opts *bind.CallOpts) (uint8, error)

OPACCEPTAUCTION is a free data retrieval call binding the contract method 0x7ae1ace0.

Solidity: function OP_ACCEPT_AUCTION() view returns(uint8)

func (*TofunftCaller) OPACCEPTBUY

func (_Tofunft *TofunftCaller) OPACCEPTBUY(opts *bind.CallOpts) (uint8, error)

OPACCEPTBUY is a free data retrieval call binding the contract method 0x11f0794c.

Solidity: function OP_ACCEPT_BUY() view returns(uint8)

func (*TofunftCaller) OPBID

func (_Tofunft *TofunftCaller) OPBID(opts *bind.CallOpts) (uint8, error)

OPBID is a free data retrieval call binding the contract method 0x81787a85.

Solidity: function OP_BID() view returns(uint8)

func (*TofunftCaller) OPBUY

func (_Tofunft *TofunftCaller) OPBUY(opts *bind.CallOpts) (uint8, error)

OPBUY is a free data retrieval call binding the contract method 0xeb374261.

Solidity: function OP_BUY() view returns(uint8)

func (*TofunftCaller) OPCANCELBUY

func (_Tofunft *TofunftCaller) OPCANCELBUY(opts *bind.CallOpts) (uint8, error)

OPCANCELBUY is a free data retrieval call binding the contract method 0x9e57feb5.

Solidity: function OP_CANCEL_BUY() view returns(uint8)

func (*TofunftCaller) OPCOMPLETEAUCTION

func (_Tofunft *TofunftCaller) OPCOMPLETEAUCTION(opts *bind.CallOpts) (uint8, error)

OPCOMPLETEAUCTION is a free data retrieval call binding the contract method 0x6acc65db.

Solidity: function OP_COMPLETE_AUCTION() view returns(uint8)

func (*TofunftCaller) OPCOMPLETEBUY

func (_Tofunft *TofunftCaller) OPCOMPLETEBUY(opts *bind.CallOpts) (uint8, error)

OPCOMPLETEBUY is a free data retrieval call binding the contract method 0xb50a2a55.

Solidity: function OP_COMPLETE_BUY() view returns(uint8)

func (*TofunftCaller) OPCOMPLETESELL

func (_Tofunft *TofunftCaller) OPCOMPLETESELL(opts *bind.CallOpts) (uint8, error)

OPCOMPLETESELL is a free data retrieval call binding the contract method 0x8f18439e.

Solidity: function OP_COMPLETE_SELL() view returns(uint8)

func (*TofunftCaller) OPMAX

func (_Tofunft *TofunftCaller) OPMAX(opts *bind.CallOpts) (uint8, error)

OPMAX is a free data retrieval call binding the contract method 0xf0954160.

Solidity: function OP_MAX() view returns(uint8)

func (*TofunftCaller) OPMIN

func (_Tofunft *TofunftCaller) OPMIN(opts *bind.CallOpts) (uint8, error)

OPMIN is a free data retrieval call binding the contract method 0x90c2b10e.

Solidity: function OP_MIN() view returns(uint8)

func (*TofunftCaller) OPREJECTBUY

func (_Tofunft *TofunftCaller) OPREJECTBUY(opts *bind.CallOpts) (uint8, error)

OPREJECTBUY is a free data retrieval call binding the contract method 0x1bb03ca9.

Solidity: function OP_REJECT_BUY() view returns(uint8)

func (*TofunftCaller) OnERC1155BatchReceived

func (_Tofunft *TofunftCaller) OnERC1155BatchReceived(opts *bind.CallOpts, operator common.Address, from common.Address, ids []*big.Int, values []*big.Int, data []byte) ([4]byte, error)

OnERC1155BatchReceived is a free data retrieval call binding the contract method 0xbc197c81.

Solidity: function onERC1155BatchReceived(address operator, address from, uint256[] ids, uint256[] values, bytes data) view returns(bytes4)

func (*TofunftCaller) OnERC1155Received

func (_Tofunft *TofunftCaller) OnERC1155Received(opts *bind.CallOpts, operator common.Address, from common.Address, id *big.Int, value *big.Int, data []byte) ([4]byte, error)

OnERC1155Received is a free data retrieval call binding the contract method 0xf23a6e61.

Solidity: function onERC1155Received(address operator, address from, uint256 id, uint256 value, bytes data) view returns(bytes4)

func (*TofunftCaller) OnERC721Received

func (_Tofunft *TofunftCaller) OnERC721Received(opts *bind.CallOpts, operator common.Address, from common.Address, tokenId *big.Int, data []byte) ([4]byte, error)

OnERC721Received is a free data retrieval call binding the contract method 0x150b7a02.

Solidity: function onERC721Received(address operator, address from, uint256 tokenId, bytes data) view returns(bytes4)

func (*TofunftCaller) Owner

func (_Tofunft *TofunftCaller) 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 (*TofunftCaller) Paused

func (_Tofunft *TofunftCaller) Paused(opts *bind.CallOpts) (bool, error)

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

Solidity: function paused() view returns(bool)

func (*TofunftCaller) RATEBASE

func (_Tofunft *TofunftCaller) RATEBASE(opts *bind.CallOpts) (*big.Int, error)

RATEBASE is a free data retrieval call binding the contract method 0x0873c6ec.

Solidity: function RATE_BASE() view returns(uint256)

func (*TofunftCaller) STATUSCANCELLED

func (_Tofunft *TofunftCaller) STATUSCANCELLED(opts *bind.CallOpts) (uint8, error)

STATUSCANCELLED is a free data retrieval call binding the contract method 0x5a4e5a15.

Solidity: function STATUS_CANCELLED() view returns(uint8)

func (*TofunftCaller) STATUSDONE

func (_Tofunft *TofunftCaller) STATUSDONE(opts *bind.CallOpts) (uint8, error)

STATUSDONE is a free data retrieval call binding the contract method 0x740db280.

Solidity: function STATUS_DONE() view returns(uint8)

func (*TofunftCaller) STATUSOPEN

func (_Tofunft *TofunftCaller) STATUSOPEN(opts *bind.CallOpts) (uint8, error)

STATUSOPEN is a free data retrieval call binding the contract method 0x24f8515b.

Solidity: function STATUS_OPEN() view returns(uint8)

func (*TofunftCaller) SupportsInterface

func (_Tofunft *TofunftCaller) 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) pure returns(bool)

func (*TofunftCaller) TOKEN1155

func (_Tofunft *TofunftCaller) TOKEN1155(opts *bind.CallOpts) (uint8, error)

TOKEN1155 is a free data retrieval call binding the contract method 0xf0d250ba.

Solidity: function TOKEN_1155() view returns(uint8)

func (*TofunftCaller) TOKEN721

func (_Tofunft *TofunftCaller) TOKEN721(opts *bind.CallOpts) (uint8, error)

TOKEN721 is a free data retrieval call binding the contract method 0xc477be20.

Solidity: function TOKEN_721() view returns(uint8)

func (*TofunftCaller) TOKENMINT

func (_Tofunft *TofunftCaller) TOKENMINT(opts *bind.CallOpts) (uint8, error)

TOKENMINT is a free data retrieval call binding the contract method 0x853ca41a.

Solidity: function TOKEN_MINT() view returns(uint8)

func (*TofunftCaller) Weth

func (_Tofunft *TofunftCaller) Weth(opts *bind.CallOpts) (common.Address, error)

Weth is a free data retrieval call binding the contract method 0x3fc8cef3.

Solidity: function weth() view returns(address)

type TofunftCallerRaw

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

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

func (*TofunftCallerRaw) Call

func (_Tofunft *TofunftCallerRaw) 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 TofunftCallerSession

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

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

func (*TofunftCallerSession) CouponSpent

func (_Tofunft *TofunftCallerSession) CouponSpent(arg0 *big.Int) (bool, error)

CouponSpent is a free data retrieval call binding the contract method 0x3ed9ffb7.

Solidity: function couponSpent(uint256 ) view returns(bool)

func (*TofunftCallerSession) HasInv

func (_Tofunft *TofunftCallerSession) HasInv(id *big.Int) (bool, error)

HasInv is a free data retrieval call binding the contract method 0xf5116bc9.

Solidity: function hasInv(uint256 id) view returns(bool)

func (*TofunftCallerSession) HasSignedIntention

func (_Tofunft *TofunftCallerSession) HasSignedIntention(op uint8) (bool, error)

HasSignedIntention is a free data retrieval call binding the contract method 0xac5e2cb1.

Solidity: function hasSignedIntention(uint8 op) pure returns(bool)

func (*TofunftCallerSession) Inventories

func (_Tofunft *TofunftCallerSession) Inventories(arg0 *big.Int) (struct {
	Seller   common.Address
	Buyer    common.Address
	Currency common.Address
	Price    *big.Int
	NetPrice *big.Int
	Deadline *big.Int
	Kind     uint8
	Status   uint8
}, error)

Inventories is a free data retrieval call binding the contract method 0xcd78ba01.

Solidity: function inventories(uint256 ) view returns(address seller, address buyer, address currency, uint256 price, uint256 netPrice, uint256 deadline, uint8 kind, uint8 status)

func (*TofunftCallerSession) InventoryTokenCounts

func (_Tofunft *TofunftCallerSession) InventoryTokenCounts(arg0 *big.Int) (*big.Int, error)

InventoryTokenCounts is a free data retrieval call binding the contract method 0x5fd34298.

Solidity: function inventoryTokenCounts(uint256 ) view returns(uint256)

func (*TofunftCallerSession) InventoryTokens

func (_Tofunft *TofunftCallerSession) InventoryTokens(arg0 *big.Int, arg1 *big.Int) (struct {
	Token    common.Address
	TokenId  *big.Int
	Amount   *big.Int
	Kind     uint8
	MintData []byte
}, error)

InventoryTokens is a free data retrieval call binding the contract method 0xb4533aad.

Solidity: function inventoryTokens(uint256 , uint256 ) view returns(address token, uint256 tokenId, uint256 amount, uint8 kind, bytes mintData)

func (*TofunftCallerSession) IsAuction

func (_Tofunft *TofunftCallerSession) IsAuction(id *big.Int) (bool, error)

IsAuction is a free data retrieval call binding the contract method 0x8704f2a3.

Solidity: function isAuction(uint256 id) view returns(bool)

func (*TofunftCallerSession) IsAuctionOpen

func (_Tofunft *TofunftCallerSession) IsAuctionOpen(id *big.Int) (bool, error)

IsAuctionOpen is a free data retrieval call binding the contract method 0x0ad48628.

Solidity: function isAuctionOpen(uint256 id) view returns(bool)

func (*TofunftCallerSession) IsBundleApproved

func (_Tofunft *TofunftCallerSession) IsBundleApproved(invId *big.Int, owner common.Address) (bool, error)

IsBundleApproved is a free data retrieval call binding the contract method 0xf4a33e0d.

Solidity: function isBundleApproved(uint256 invId, address owner) view returns(bool)

func (*TofunftCallerSession) IsBuy

func (_Tofunft *TofunftCallerSession) IsBuy(id *big.Int) (bool, error)

IsBuy is a free data retrieval call binding the contract method 0xa80d33fb.

Solidity: function isBuy(uint256 id) view returns(bool)

func (*TofunftCallerSession) IsBuyOpen

func (_Tofunft *TofunftCallerSession) IsBuyOpen(id *big.Int) (bool, error)

IsBuyOpen is a free data retrieval call binding the contract method 0xbdf52b45.

Solidity: function isBuyOpen(uint256 id) view returns(bool)

func (*TofunftCallerSession) IsExpired

func (_Tofunft *TofunftCallerSession) IsExpired(id *big.Int) (bool, error)

IsExpired is a free data retrieval call binding the contract method 0xd9548e53.

Solidity: function isExpired(uint256 id) view returns(bool)

func (*TofunftCallerSession) IsSell

func (_Tofunft *TofunftCallerSession) IsSell(id *big.Int) (bool, error)

IsSell is a free data retrieval call binding the contract method 0x1b01e72c.

Solidity: function isSell(uint256 id) view returns(bool)

func (*TofunftCallerSession) IsSignatureValid

func (_Tofunft *TofunftCallerSession) IsSignatureValid(signature []byte, hash [32]byte, signer common.Address) (bool, error)

IsSignatureValid is a free data retrieval call binding the contract method 0x781dc70a.

Solidity: function isSignatureValid(bytes signature, bytes32 hash, address signer) pure returns(bool)

func (*TofunftCallerSession) IsStatusOpen

func (_Tofunft *TofunftCallerSession) IsStatusOpen(id *big.Int) (bool, error)

IsStatusOpen is a free data retrieval call binding the contract method 0xee98ce91.

Solidity: function isStatusOpen(uint256 id) view returns(bool)

func (*TofunftCallerSession) KINDAUCTION

func (_Tofunft *TofunftCallerSession) KINDAUCTION() (uint8, error)

KINDAUCTION is a free data retrieval call binding the contract method 0x7234d8f2.

Solidity: function KIND_AUCTION() view returns(uint8)

func (*TofunftCallerSession) KINDBUY

func (_Tofunft *TofunftCallerSession) KINDBUY() (uint8, error)

KINDBUY is a free data retrieval call binding the contract method 0xe1784a02.

Solidity: function KIND_BUY() view returns(uint8)

func (*TofunftCallerSession) KINDSELL

func (_Tofunft *TofunftCallerSession) KINDSELL() (uint8, error)

KINDSELL is a free data retrieval call binding the contract method 0x25593ac2.

Solidity: function KIND_SELL() view returns(uint8)

func (*TofunftCallerSession) MarketSigners

func (_Tofunft *TofunftCallerSession) MarketSigners(arg0 common.Address) (bool, error)

MarketSigners is a free data retrieval call binding the contract method 0x2bcd27df.

Solidity: function marketSigners(address ) view returns(bool)

func (*TofunftCallerSession) MinAuctionDuration

func (_Tofunft *TofunftCallerSession) MinAuctionDuration() (*big.Int, error)

MinAuctionDuration is a free data retrieval call binding the contract method 0x54134876.

Solidity: function minAuctionDuration() view returns(uint256)

func (*TofunftCallerSession) MinAuctionIncrement

func (_Tofunft *TofunftCallerSession) MinAuctionIncrement() (*big.Int, error)

MinAuctionIncrement is a free data retrieval call binding the contract method 0x708d4d35.

Solidity: function minAuctionIncrement() view returns(uint256)

func (*TofunftCallerSession) OPACCEPTAUCTION

func (_Tofunft *TofunftCallerSession) OPACCEPTAUCTION() (uint8, error)

OPACCEPTAUCTION is a free data retrieval call binding the contract method 0x7ae1ace0.

Solidity: function OP_ACCEPT_AUCTION() view returns(uint8)

func (*TofunftCallerSession) OPACCEPTBUY

func (_Tofunft *TofunftCallerSession) OPACCEPTBUY() (uint8, error)

OPACCEPTBUY is a free data retrieval call binding the contract method 0x11f0794c.

Solidity: function OP_ACCEPT_BUY() view returns(uint8)

func (*TofunftCallerSession) OPBID

func (_Tofunft *TofunftCallerSession) OPBID() (uint8, error)

OPBID is a free data retrieval call binding the contract method 0x81787a85.

Solidity: function OP_BID() view returns(uint8)

func (*TofunftCallerSession) OPBUY

func (_Tofunft *TofunftCallerSession) OPBUY() (uint8, error)

OPBUY is a free data retrieval call binding the contract method 0xeb374261.

Solidity: function OP_BUY() view returns(uint8)

func (*TofunftCallerSession) OPCANCELBUY

func (_Tofunft *TofunftCallerSession) OPCANCELBUY() (uint8, error)

OPCANCELBUY is a free data retrieval call binding the contract method 0x9e57feb5.

Solidity: function OP_CANCEL_BUY() view returns(uint8)

func (*TofunftCallerSession) OPCOMPLETEAUCTION

func (_Tofunft *TofunftCallerSession) OPCOMPLETEAUCTION() (uint8, error)

OPCOMPLETEAUCTION is a free data retrieval call binding the contract method 0x6acc65db.

Solidity: function OP_COMPLETE_AUCTION() view returns(uint8)

func (*TofunftCallerSession) OPCOMPLETEBUY

func (_Tofunft *TofunftCallerSession) OPCOMPLETEBUY() (uint8, error)

OPCOMPLETEBUY is a free data retrieval call binding the contract method 0xb50a2a55.

Solidity: function OP_COMPLETE_BUY() view returns(uint8)

func (*TofunftCallerSession) OPCOMPLETESELL

func (_Tofunft *TofunftCallerSession) OPCOMPLETESELL() (uint8, error)

OPCOMPLETESELL is a free data retrieval call binding the contract method 0x8f18439e.

Solidity: function OP_COMPLETE_SELL() view returns(uint8)

func (*TofunftCallerSession) OPMAX

func (_Tofunft *TofunftCallerSession) OPMAX() (uint8, error)

OPMAX is a free data retrieval call binding the contract method 0xf0954160.

Solidity: function OP_MAX() view returns(uint8)

func (*TofunftCallerSession) OPMIN

func (_Tofunft *TofunftCallerSession) OPMIN() (uint8, error)

OPMIN is a free data retrieval call binding the contract method 0x90c2b10e.

Solidity: function OP_MIN() view returns(uint8)

func (*TofunftCallerSession) OPREJECTBUY

func (_Tofunft *TofunftCallerSession) OPREJECTBUY() (uint8, error)

OPREJECTBUY is a free data retrieval call binding the contract method 0x1bb03ca9.

Solidity: function OP_REJECT_BUY() view returns(uint8)

func (*TofunftCallerSession) OnERC1155BatchReceived

func (_Tofunft *TofunftCallerSession) OnERC1155BatchReceived(operator common.Address, from common.Address, ids []*big.Int, values []*big.Int, data []byte) ([4]byte, error)

OnERC1155BatchReceived is a free data retrieval call binding the contract method 0xbc197c81.

Solidity: function onERC1155BatchReceived(address operator, address from, uint256[] ids, uint256[] values, bytes data) view returns(bytes4)

func (*TofunftCallerSession) OnERC1155Received

func (_Tofunft *TofunftCallerSession) OnERC1155Received(operator common.Address, from common.Address, id *big.Int, value *big.Int, data []byte) ([4]byte, error)

OnERC1155Received is a free data retrieval call binding the contract method 0xf23a6e61.

Solidity: function onERC1155Received(address operator, address from, uint256 id, uint256 value, bytes data) view returns(bytes4)

func (*TofunftCallerSession) OnERC721Received

func (_Tofunft *TofunftCallerSession) OnERC721Received(operator common.Address, from common.Address, tokenId *big.Int, data []byte) ([4]byte, error)

OnERC721Received is a free data retrieval call binding the contract method 0x150b7a02.

Solidity: function onERC721Received(address operator, address from, uint256 tokenId, bytes data) view returns(bytes4)

func (*TofunftCallerSession) Owner

func (_Tofunft *TofunftCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*TofunftCallerSession) Paused

func (_Tofunft *TofunftCallerSession) Paused() (bool, error)

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

Solidity: function paused() view returns(bool)

func (*TofunftCallerSession) RATEBASE

func (_Tofunft *TofunftCallerSession) RATEBASE() (*big.Int, error)

RATEBASE is a free data retrieval call binding the contract method 0x0873c6ec.

Solidity: function RATE_BASE() view returns(uint256)

func (*TofunftCallerSession) STATUSCANCELLED

func (_Tofunft *TofunftCallerSession) STATUSCANCELLED() (uint8, error)

STATUSCANCELLED is a free data retrieval call binding the contract method 0x5a4e5a15.

Solidity: function STATUS_CANCELLED() view returns(uint8)

func (*TofunftCallerSession) STATUSDONE

func (_Tofunft *TofunftCallerSession) STATUSDONE() (uint8, error)

STATUSDONE is a free data retrieval call binding the contract method 0x740db280.

Solidity: function STATUS_DONE() view returns(uint8)

func (*TofunftCallerSession) STATUSOPEN

func (_Tofunft *TofunftCallerSession) STATUSOPEN() (uint8, error)

STATUSOPEN is a free data retrieval call binding the contract method 0x24f8515b.

Solidity: function STATUS_OPEN() view returns(uint8)

func (*TofunftCallerSession) SupportsInterface

func (_Tofunft *TofunftCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)

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

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

func (*TofunftCallerSession) TOKEN1155

func (_Tofunft *TofunftCallerSession) TOKEN1155() (uint8, error)

TOKEN1155 is a free data retrieval call binding the contract method 0xf0d250ba.

Solidity: function TOKEN_1155() view returns(uint8)

func (*TofunftCallerSession) TOKEN721

func (_Tofunft *TofunftCallerSession) TOKEN721() (uint8, error)

TOKEN721 is a free data retrieval call binding the contract method 0xc477be20.

Solidity: function TOKEN_721() view returns(uint8)

func (*TofunftCallerSession) TOKENMINT

func (_Tofunft *TofunftCallerSession) TOKENMINT() (uint8, error)

TOKENMINT is a free data retrieval call binding the contract method 0x853ca41a.

Solidity: function TOKEN_MINT() view returns(uint8)

func (*TofunftCallerSession) Weth

func (_Tofunft *TofunftCallerSession) Weth() (common.Address, error)

Weth is a free data retrieval call binding the contract method 0x3fc8cef3.

Solidity: function weth() view returns(address)

type TofunftEvAuctionRefund

type TofunftEvAuctionRefund struct {
	Id     *big.Int
	Bidder common.Address
	Refund *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

TofunftEvAuctionRefund represents a EvAuctionRefund event raised by the Tofunft contract.

type TofunftEvAuctionRefundIterator

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

TofunftEvAuctionRefundIterator is returned from FilterEvAuctionRefund and is used to iterate over the raw logs and unpacked data for EvAuctionRefund events raised by the Tofunft contract.

func (*TofunftEvAuctionRefundIterator) Close

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

func (*TofunftEvAuctionRefundIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*TofunftEvAuctionRefundIterator) 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 TofunftEvCouponSpent

type TofunftEvCouponSpent struct {
	Id       *big.Int
	CouponId *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

TofunftEvCouponSpent represents a EvCouponSpent event raised by the Tofunft contract.

type TofunftEvCouponSpentIterator

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

TofunftEvCouponSpentIterator is returned from FilterEvCouponSpent and is used to iterate over the raw logs and unpacked data for EvCouponSpent events raised by the Tofunft contract.

func (*TofunftEvCouponSpentIterator) Close

func (it *TofunftEvCouponSpentIterator) Close() error

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

func (*TofunftEvCouponSpentIterator) Error

func (it *TofunftEvCouponSpentIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*TofunftEvCouponSpentIterator) 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 TofunftEvInventoryUpdate

type TofunftEvInventoryUpdate struct {
	Id        *big.Int
	Inventory MarketNGInventory
	Raw       types.Log // Blockchain specific contextual infos
}

TofunftEvInventoryUpdate represents a EvInventoryUpdate event raised by the Tofunft contract.

type TofunftEvInventoryUpdateIterator

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

TofunftEvInventoryUpdateIterator is returned from FilterEvInventoryUpdate and is used to iterate over the raw logs and unpacked data for EvInventoryUpdate events raised by the Tofunft contract.

func (*TofunftEvInventoryUpdateIterator) Close

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

func (*TofunftEvInventoryUpdateIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*TofunftEvInventoryUpdateIterator) 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 TofunftEvMarketSignerUpdate

type TofunftEvMarketSignerUpdate struct {
	Addr      common.Address
	IsRemoval bool
	Raw       types.Log // Blockchain specific contextual infos
}

TofunftEvMarketSignerUpdate represents a EvMarketSignerUpdate event raised by the Tofunft contract.

type TofunftEvMarketSignerUpdateIterator

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

TofunftEvMarketSignerUpdateIterator is returned from FilterEvMarketSignerUpdate and is used to iterate over the raw logs and unpacked data for EvMarketSignerUpdate events raised by the Tofunft contract.

func (*TofunftEvMarketSignerUpdateIterator) Close

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

func (*TofunftEvMarketSignerUpdateIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*TofunftEvMarketSignerUpdateIterator) 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 TofunftEvSettingsUpdated

type TofunftEvSettingsUpdated struct {
	Raw types.Log // Blockchain specific contextual infos
}

TofunftEvSettingsUpdated represents a EvSettingsUpdated event raised by the Tofunft contract.

type TofunftEvSettingsUpdatedIterator

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

TofunftEvSettingsUpdatedIterator is returned from FilterEvSettingsUpdated and is used to iterate over the raw logs and unpacked data for EvSettingsUpdated events raised by the Tofunft contract.

func (*TofunftEvSettingsUpdatedIterator) Close

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

func (*TofunftEvSettingsUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*TofunftEvSettingsUpdatedIterator) 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 TofunftEvSwapped

type TofunftEvSwapped struct {
	Req       MarketNGSwap
	Signature []byte
	Swapper   common.Address
	Raw       types.Log // Blockchain specific contextual infos
}

TofunftEvSwapped represents a EvSwapped event raised by the Tofunft contract.

type TofunftEvSwappedIterator

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

TofunftEvSwappedIterator is returned from FilterEvSwapped and is used to iterate over the raw logs and unpacked data for EvSwapped events raised by the Tofunft contract.

func (*TofunftEvSwappedIterator) Close

func (it *TofunftEvSwappedIterator) Close() error

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

func (*TofunftEvSwappedIterator) Error

func (it *TofunftEvSwappedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*TofunftEvSwappedIterator) Next

func (it *TofunftEvSwappedIterator) 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 TofunftFilterer

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

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

func NewTofunftFilterer

func NewTofunftFilterer(address common.Address, filterer bind.ContractFilterer) (*TofunftFilterer, error)

NewTofunftFilterer creates a new log filterer instance of Tofunft, bound to a specific deployed contract.

func (*TofunftFilterer) FilterEvAuctionRefund

func (_Tofunft *TofunftFilterer) FilterEvAuctionRefund(opts *bind.FilterOpts, id []*big.Int) (*TofunftEvAuctionRefundIterator, error)

FilterEvAuctionRefund is a free log retrieval operation binding the contract event 0xa48bcf3362c21033397c03b92fb367d1962ba13b5bde0dfe491f9d88abb59e3f.

Solidity: event EvAuctionRefund(uint256 indexed id, address bidder, uint256 refund)

func (*TofunftFilterer) FilterEvCouponSpent

func (_Tofunft *TofunftFilterer) FilterEvCouponSpent(opts *bind.FilterOpts, id []*big.Int, couponId []*big.Int) (*TofunftEvCouponSpentIterator, error)

FilterEvCouponSpent is a free log retrieval operation binding the contract event 0x6aa71aa6b7aa6036ace4e4ceefbab7d89c4afb7fcfa1a3680499d7b37d32c82f.

Solidity: event EvCouponSpent(uint256 indexed id, uint256 indexed couponId)

func (*TofunftFilterer) FilterEvInventoryUpdate

func (_Tofunft *TofunftFilterer) FilterEvInventoryUpdate(opts *bind.FilterOpts, id []*big.Int) (*TofunftEvInventoryUpdateIterator, error)

FilterEvInventoryUpdate is a free log retrieval operation binding the contract event 0x5beea7b3b87c573953fec05007114d17712e5775d364acc106d8da9e74849033.

Solidity: event EvInventoryUpdate(uint256 indexed id, (address,address,address,uint256,uint256,uint256,uint8,uint8) inventory)

func (*TofunftFilterer) FilterEvMarketSignerUpdate

func (_Tofunft *TofunftFilterer) FilterEvMarketSignerUpdate(opts *bind.FilterOpts) (*TofunftEvMarketSignerUpdateIterator, error)

FilterEvMarketSignerUpdate is a free log retrieval operation binding the contract event 0x90d56af4745c314d9b45054b55dc973378c558c1ad1554bccc70d39aa63a2cc5.

Solidity: event EvMarketSignerUpdate(address addr, bool isRemoval)

func (*TofunftFilterer) FilterEvSettingsUpdated

func (_Tofunft *TofunftFilterer) FilterEvSettingsUpdated(opts *bind.FilterOpts) (*TofunftEvSettingsUpdatedIterator, error)

FilterEvSettingsUpdated is a free log retrieval operation binding the contract event 0x6c06ac894de6b71964f14d152b6674a4465a9b5d3f9cf9f216b8e7ea61467519.

Solidity: event EvSettingsUpdated()

func (*TofunftFilterer) FilterEvSwapped

func (_Tofunft *TofunftFilterer) FilterEvSwapped(opts *bind.FilterOpts) (*TofunftEvSwappedIterator, error)

FilterEvSwapped is a free log retrieval operation binding the contract event 0x92060d15ec9a14885865b744d2efb1fff3cab53411058a530f51d480288a864c.

Solidity: event EvSwapped((bytes32,address,uint256,(address,uint256)[],(address,uint256)[]) req, bytes signature, address swapper)

func (*TofunftFilterer) FilterOwnershipTransferred

func (_Tofunft *TofunftFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*TofunftOwnershipTransferredIterator, error)

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

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

func (*TofunftFilterer) FilterPaused

func (_Tofunft *TofunftFilterer) FilterPaused(opts *bind.FilterOpts) (*TofunftPausedIterator, error)

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

Solidity: event Paused(address account)

func (*TofunftFilterer) FilterUnpaused

func (_Tofunft *TofunftFilterer) FilterUnpaused(opts *bind.FilterOpts) (*TofunftUnpausedIterator, error)

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

Solidity: event Unpaused(address account)

func (*TofunftFilterer) ParseEvAuctionRefund

func (_Tofunft *TofunftFilterer) ParseEvAuctionRefund(log types.Log) (*TofunftEvAuctionRefund, error)

ParseEvAuctionRefund is a log parse operation binding the contract event 0xa48bcf3362c21033397c03b92fb367d1962ba13b5bde0dfe491f9d88abb59e3f.

Solidity: event EvAuctionRefund(uint256 indexed id, address bidder, uint256 refund)

func (*TofunftFilterer) ParseEvCouponSpent

func (_Tofunft *TofunftFilterer) ParseEvCouponSpent(log types.Log) (*TofunftEvCouponSpent, error)

ParseEvCouponSpent is a log parse operation binding the contract event 0x6aa71aa6b7aa6036ace4e4ceefbab7d89c4afb7fcfa1a3680499d7b37d32c82f.

Solidity: event EvCouponSpent(uint256 indexed id, uint256 indexed couponId)

func (*TofunftFilterer) ParseEvInventoryUpdate

func (_Tofunft *TofunftFilterer) ParseEvInventoryUpdate(log types.Log) (*TofunftEvInventoryUpdate, error)

ParseEvInventoryUpdate is a log parse operation binding the contract event 0x5beea7b3b87c573953fec05007114d17712e5775d364acc106d8da9e74849033.

Solidity: event EvInventoryUpdate(uint256 indexed id, (address,address,address,uint256,uint256,uint256,uint8,uint8) inventory)

func (*TofunftFilterer) ParseEvMarketSignerUpdate

func (_Tofunft *TofunftFilterer) ParseEvMarketSignerUpdate(log types.Log) (*TofunftEvMarketSignerUpdate, error)

ParseEvMarketSignerUpdate is a log parse operation binding the contract event 0x90d56af4745c314d9b45054b55dc973378c558c1ad1554bccc70d39aa63a2cc5.

Solidity: event EvMarketSignerUpdate(address addr, bool isRemoval)

func (*TofunftFilterer) ParseEvSettingsUpdated

func (_Tofunft *TofunftFilterer) ParseEvSettingsUpdated(log types.Log) (*TofunftEvSettingsUpdated, error)

ParseEvSettingsUpdated is a log parse operation binding the contract event 0x6c06ac894de6b71964f14d152b6674a4465a9b5d3f9cf9f216b8e7ea61467519.

Solidity: event EvSettingsUpdated()

func (*TofunftFilterer) ParseEvSwapped

func (_Tofunft *TofunftFilterer) ParseEvSwapped(log types.Log) (*TofunftEvSwapped, error)

ParseEvSwapped is a log parse operation binding the contract event 0x92060d15ec9a14885865b744d2efb1fff3cab53411058a530f51d480288a864c.

Solidity: event EvSwapped((bytes32,address,uint256,(address,uint256)[],(address,uint256)[]) req, bytes signature, address swapper)

func (*TofunftFilterer) ParseOwnershipTransferred

func (_Tofunft *TofunftFilterer) ParseOwnershipTransferred(log types.Log) (*TofunftOwnershipTransferred, error)

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

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

func (*TofunftFilterer) ParsePaused

func (_Tofunft *TofunftFilterer) ParsePaused(log types.Log) (*TofunftPaused, error)

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

Solidity: event Paused(address account)

func (*TofunftFilterer) ParseUnpaused

func (_Tofunft *TofunftFilterer) ParseUnpaused(log types.Log) (*TofunftUnpaused, error)

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

Solidity: event Unpaused(address account)

func (*TofunftFilterer) WatchEvAuctionRefund

func (_Tofunft *TofunftFilterer) WatchEvAuctionRefund(opts *bind.WatchOpts, sink chan<- *TofunftEvAuctionRefund, id []*big.Int) (event.Subscription, error)

WatchEvAuctionRefund is a free log subscription operation binding the contract event 0xa48bcf3362c21033397c03b92fb367d1962ba13b5bde0dfe491f9d88abb59e3f.

Solidity: event EvAuctionRefund(uint256 indexed id, address bidder, uint256 refund)

func (*TofunftFilterer) WatchEvCouponSpent

func (_Tofunft *TofunftFilterer) WatchEvCouponSpent(opts *bind.WatchOpts, sink chan<- *TofunftEvCouponSpent, id []*big.Int, couponId []*big.Int) (event.Subscription, error)

WatchEvCouponSpent is a free log subscription operation binding the contract event 0x6aa71aa6b7aa6036ace4e4ceefbab7d89c4afb7fcfa1a3680499d7b37d32c82f.

Solidity: event EvCouponSpent(uint256 indexed id, uint256 indexed couponId)

func (*TofunftFilterer) WatchEvInventoryUpdate

func (_Tofunft *TofunftFilterer) WatchEvInventoryUpdate(opts *bind.WatchOpts, sink chan<- *TofunftEvInventoryUpdate, id []*big.Int) (event.Subscription, error)

WatchEvInventoryUpdate is a free log subscription operation binding the contract event 0x5beea7b3b87c573953fec05007114d17712e5775d364acc106d8da9e74849033.

Solidity: event EvInventoryUpdate(uint256 indexed id, (address,address,address,uint256,uint256,uint256,uint8,uint8) inventory)

func (*TofunftFilterer) WatchEvMarketSignerUpdate

func (_Tofunft *TofunftFilterer) WatchEvMarketSignerUpdate(opts *bind.WatchOpts, sink chan<- *TofunftEvMarketSignerUpdate) (event.Subscription, error)

WatchEvMarketSignerUpdate is a free log subscription operation binding the contract event 0x90d56af4745c314d9b45054b55dc973378c558c1ad1554bccc70d39aa63a2cc5.

Solidity: event EvMarketSignerUpdate(address addr, bool isRemoval)

func (*TofunftFilterer) WatchEvSettingsUpdated

func (_Tofunft *TofunftFilterer) WatchEvSettingsUpdated(opts *bind.WatchOpts, sink chan<- *TofunftEvSettingsUpdated) (event.Subscription, error)

WatchEvSettingsUpdated is a free log subscription operation binding the contract event 0x6c06ac894de6b71964f14d152b6674a4465a9b5d3f9cf9f216b8e7ea61467519.

Solidity: event EvSettingsUpdated()

func (*TofunftFilterer) WatchEvSwapped

func (_Tofunft *TofunftFilterer) WatchEvSwapped(opts *bind.WatchOpts, sink chan<- *TofunftEvSwapped) (event.Subscription, error)

WatchEvSwapped is a free log subscription operation binding the contract event 0x92060d15ec9a14885865b744d2efb1fff3cab53411058a530f51d480288a864c.

Solidity: event EvSwapped((bytes32,address,uint256,(address,uint256)[],(address,uint256)[]) req, bytes signature, address swapper)

func (*TofunftFilterer) WatchOwnershipTransferred

func (_Tofunft *TofunftFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *TofunftOwnershipTransferred, 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 (*TofunftFilterer) WatchPaused

func (_Tofunft *TofunftFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *TofunftPaused) (event.Subscription, error)

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

Solidity: event Paused(address account)

func (*TofunftFilterer) WatchUnpaused

func (_Tofunft *TofunftFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *TofunftUnpaused) (event.Subscription, error)

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

Solidity: event Unpaused(address account)

type TofunftOwnershipTransferred

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

TofunftOwnershipTransferred represents a OwnershipTransferred event raised by the Tofunft contract.

type TofunftOwnershipTransferredIterator

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

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

func (*TofunftOwnershipTransferredIterator) Close

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

func (*TofunftOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*TofunftOwnershipTransferredIterator) 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 TofunftPaused

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

TofunftPaused represents a Paused event raised by the Tofunft contract.

type TofunftPausedIterator

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

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

func (*TofunftPausedIterator) Close

func (it *TofunftPausedIterator) Close() error

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

func (*TofunftPausedIterator) Error

func (it *TofunftPausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*TofunftPausedIterator) Next

func (it *TofunftPausedIterator) 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 TofunftRaw

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

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

func (*TofunftRaw) Call

func (_Tofunft *TofunftRaw) 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 (*TofunftRaw) Transact

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

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

func (*TofunftRaw) Transfer

func (_Tofunft *TofunftRaw) 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 TofunftSession

type TofunftSession struct {
	Contract     *Tofunft          // 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
}

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

func (*TofunftSession) CancelBuys

func (_Tofunft *TofunftSession) CancelBuys(ids []*big.Int) (*types.Transaction, error)

CancelBuys is a paid mutator transaction binding the contract method 0xc1c30e80.

Solidity: function cancelBuys(uint256[] ids) returns()

func (*TofunftSession) CouponSpent

func (_Tofunft *TofunftSession) CouponSpent(arg0 *big.Int) (bool, error)

CouponSpent is a free data retrieval call binding the contract method 0x3ed9ffb7.

Solidity: function couponSpent(uint256 ) view returns(bool)

func (*TofunftSession) EmergencyCancelAuction

func (_Tofunft *TofunftSession) EmergencyCancelAuction(id *big.Int, noBundle bool) (*types.Transaction, error)

EmergencyCancelAuction is a paid mutator transaction binding the contract method 0xe7d4a999.

Solidity: function emergencyCancelAuction(uint256 id, bool noBundle) returns()

func (*TofunftSession) HasInv

func (_Tofunft *TofunftSession) HasInv(id *big.Int) (bool, error)

HasInv is a free data retrieval call binding the contract method 0xf5116bc9.

Solidity: function hasInv(uint256 id) view returns(bool)

func (*TofunftSession) HasSignedIntention

func (_Tofunft *TofunftSession) HasSignedIntention(op uint8) (bool, error)

HasSignedIntention is a free data retrieval call binding the contract method 0xac5e2cb1.

Solidity: function hasSignedIntention(uint8 op) pure returns(bool)

func (*TofunftSession) InCaseMoneyGetsStuck

func (_Tofunft *TofunftSession) InCaseMoneyGetsStuck(to common.Address, currency common.Address, amount *big.Int) (*types.Transaction, error)

InCaseMoneyGetsStuck is a paid mutator transaction binding the contract method 0x80bc688f.

Solidity: function inCaseMoneyGetsStuck(address to, address currency, uint256 amount) returns()

func (*TofunftSession) Inventories

func (_Tofunft *TofunftSession) Inventories(arg0 *big.Int) (struct {
	Seller   common.Address
	Buyer    common.Address
	Currency common.Address
	Price    *big.Int
	NetPrice *big.Int
	Deadline *big.Int
	Kind     uint8
	Status   uint8
}, error)

Inventories is a free data retrieval call binding the contract method 0xcd78ba01.

Solidity: function inventories(uint256 ) view returns(address seller, address buyer, address currency, uint256 price, uint256 netPrice, uint256 deadline, uint8 kind, uint8 status)

func (*TofunftSession) InventoryTokenCounts

func (_Tofunft *TofunftSession) InventoryTokenCounts(arg0 *big.Int) (*big.Int, error)

InventoryTokenCounts is a free data retrieval call binding the contract method 0x5fd34298.

Solidity: function inventoryTokenCounts(uint256 ) view returns(uint256)

func (*TofunftSession) InventoryTokens

func (_Tofunft *TofunftSession) InventoryTokens(arg0 *big.Int, arg1 *big.Int) (struct {
	Token    common.Address
	TokenId  *big.Int
	Amount   *big.Int
	Kind     uint8
	MintData []byte
}, error)

InventoryTokens is a free data retrieval call binding the contract method 0xb4533aad.

Solidity: function inventoryTokens(uint256 , uint256 ) view returns(address token, uint256 tokenId, uint256 amount, uint8 kind, bytes mintData)

func (*TofunftSession) IsAuction

func (_Tofunft *TofunftSession) IsAuction(id *big.Int) (bool, error)

IsAuction is a free data retrieval call binding the contract method 0x8704f2a3.

Solidity: function isAuction(uint256 id) view returns(bool)

func (*TofunftSession) IsAuctionOpen

func (_Tofunft *TofunftSession) IsAuctionOpen(id *big.Int) (bool, error)

IsAuctionOpen is a free data retrieval call binding the contract method 0x0ad48628.

Solidity: function isAuctionOpen(uint256 id) view returns(bool)

func (*TofunftSession) IsBundleApproved

func (_Tofunft *TofunftSession) IsBundleApproved(invId *big.Int, owner common.Address) (bool, error)

IsBundleApproved is a free data retrieval call binding the contract method 0xf4a33e0d.

Solidity: function isBundleApproved(uint256 invId, address owner) view returns(bool)

func (*TofunftSession) IsBuy

func (_Tofunft *TofunftSession) IsBuy(id *big.Int) (bool, error)

IsBuy is a free data retrieval call binding the contract method 0xa80d33fb.

Solidity: function isBuy(uint256 id) view returns(bool)

func (*TofunftSession) IsBuyOpen

func (_Tofunft *TofunftSession) IsBuyOpen(id *big.Int) (bool, error)

IsBuyOpen is a free data retrieval call binding the contract method 0xbdf52b45.

Solidity: function isBuyOpen(uint256 id) view returns(bool)

func (*TofunftSession) IsExpired

func (_Tofunft *TofunftSession) IsExpired(id *big.Int) (bool, error)

IsExpired is a free data retrieval call binding the contract method 0xd9548e53.

Solidity: function isExpired(uint256 id) view returns(bool)

func (*TofunftSession) IsSell

func (_Tofunft *TofunftSession) IsSell(id *big.Int) (bool, error)

IsSell is a free data retrieval call binding the contract method 0x1b01e72c.

Solidity: function isSell(uint256 id) view returns(bool)

func (*TofunftSession) IsSignatureValid

func (_Tofunft *TofunftSession) IsSignatureValid(signature []byte, hash [32]byte, signer common.Address) (bool, error)

IsSignatureValid is a free data retrieval call binding the contract method 0x781dc70a.

Solidity: function isSignatureValid(bytes signature, bytes32 hash, address signer) pure returns(bool)

func (*TofunftSession) IsStatusOpen

func (_Tofunft *TofunftSession) IsStatusOpen(id *big.Int) (bool, error)

IsStatusOpen is a free data retrieval call binding the contract method 0xee98ce91.

Solidity: function isStatusOpen(uint256 id) view returns(bool)

func (*TofunftSession) KINDAUCTION

func (_Tofunft *TofunftSession) KINDAUCTION() (uint8, error)

KINDAUCTION is a free data retrieval call binding the contract method 0x7234d8f2.

Solidity: function KIND_AUCTION() view returns(uint8)

func (*TofunftSession) KINDBUY

func (_Tofunft *TofunftSession) KINDBUY() (uint8, error)

KINDBUY is a free data retrieval call binding the contract method 0xe1784a02.

Solidity: function KIND_BUY() view returns(uint8)

func (*TofunftSession) KINDSELL

func (_Tofunft *TofunftSession) KINDSELL() (uint8, error)

KINDSELL is a free data retrieval call binding the contract method 0x25593ac2.

Solidity: function KIND_SELL() view returns(uint8)

func (*TofunftSession) MarketSigners

func (_Tofunft *TofunftSession) MarketSigners(arg0 common.Address) (bool, error)

MarketSigners is a free data retrieval call binding the contract method 0x2bcd27df.

Solidity: function marketSigners(address ) view returns(bool)

func (*TofunftSession) MinAuctionDuration

func (_Tofunft *TofunftSession) MinAuctionDuration() (*big.Int, error)

MinAuctionDuration is a free data retrieval call binding the contract method 0x54134876.

Solidity: function minAuctionDuration() view returns(uint256)

func (*TofunftSession) MinAuctionIncrement

func (_Tofunft *TofunftSession) MinAuctionIncrement() (*big.Int, error)

MinAuctionIncrement is a free data retrieval call binding the contract method 0x708d4d35.

Solidity: function minAuctionIncrement() view returns(uint256)

func (*TofunftSession) OPACCEPTAUCTION

func (_Tofunft *TofunftSession) OPACCEPTAUCTION() (uint8, error)

OPACCEPTAUCTION is a free data retrieval call binding the contract method 0x7ae1ace0.

Solidity: function OP_ACCEPT_AUCTION() view returns(uint8)

func (*TofunftSession) OPACCEPTBUY

func (_Tofunft *TofunftSession) OPACCEPTBUY() (uint8, error)

OPACCEPTBUY is a free data retrieval call binding the contract method 0x11f0794c.

Solidity: function OP_ACCEPT_BUY() view returns(uint8)

func (*TofunftSession) OPBID

func (_Tofunft *TofunftSession) OPBID() (uint8, error)

OPBID is a free data retrieval call binding the contract method 0x81787a85.

Solidity: function OP_BID() view returns(uint8)

func (*TofunftSession) OPBUY

func (_Tofunft *TofunftSession) OPBUY() (uint8, error)

OPBUY is a free data retrieval call binding the contract method 0xeb374261.

Solidity: function OP_BUY() view returns(uint8)

func (*TofunftSession) OPCANCELBUY

func (_Tofunft *TofunftSession) OPCANCELBUY() (uint8, error)

OPCANCELBUY is a free data retrieval call binding the contract method 0x9e57feb5.

Solidity: function OP_CANCEL_BUY() view returns(uint8)

func (*TofunftSession) OPCOMPLETEAUCTION

func (_Tofunft *TofunftSession) OPCOMPLETEAUCTION() (uint8, error)

OPCOMPLETEAUCTION is a free data retrieval call binding the contract method 0x6acc65db.

Solidity: function OP_COMPLETE_AUCTION() view returns(uint8)

func (*TofunftSession) OPCOMPLETEBUY

func (_Tofunft *TofunftSession) OPCOMPLETEBUY() (uint8, error)

OPCOMPLETEBUY is a free data retrieval call binding the contract method 0xb50a2a55.

Solidity: function OP_COMPLETE_BUY() view returns(uint8)

func (*TofunftSession) OPCOMPLETESELL

func (_Tofunft *TofunftSession) OPCOMPLETESELL() (uint8, error)

OPCOMPLETESELL is a free data retrieval call binding the contract method 0x8f18439e.

Solidity: function OP_COMPLETE_SELL() view returns(uint8)

func (*TofunftSession) OPMAX

func (_Tofunft *TofunftSession) OPMAX() (uint8, error)

OPMAX is a free data retrieval call binding the contract method 0xf0954160.

Solidity: function OP_MAX() view returns(uint8)

func (*TofunftSession) OPMIN

func (_Tofunft *TofunftSession) OPMIN() (uint8, error)

OPMIN is a free data retrieval call binding the contract method 0x90c2b10e.

Solidity: function OP_MIN() view returns(uint8)

func (*TofunftSession) OPREJECTBUY

func (_Tofunft *TofunftSession) OPREJECTBUY() (uint8, error)

OPREJECTBUY is a free data retrieval call binding the contract method 0x1bb03ca9.

Solidity: function OP_REJECT_BUY() view returns(uint8)

func (*TofunftSession) OnERC1155BatchReceived

func (_Tofunft *TofunftSession) OnERC1155BatchReceived(operator common.Address, from common.Address, ids []*big.Int, values []*big.Int, data []byte) ([4]byte, error)

OnERC1155BatchReceived is a free data retrieval call binding the contract method 0xbc197c81.

Solidity: function onERC1155BatchReceived(address operator, address from, uint256[] ids, uint256[] values, bytes data) view returns(bytes4)

func (*TofunftSession) OnERC1155Received

func (_Tofunft *TofunftSession) OnERC1155Received(operator common.Address, from common.Address, id *big.Int, value *big.Int, data []byte) ([4]byte, error)

OnERC1155Received is a free data retrieval call binding the contract method 0xf23a6e61.

Solidity: function onERC1155Received(address operator, address from, uint256 id, uint256 value, bytes data) view returns(bytes4)

func (*TofunftSession) OnERC721Received

func (_Tofunft *TofunftSession) OnERC721Received(operator common.Address, from common.Address, tokenId *big.Int, data []byte) ([4]byte, error)

OnERC721Received is a free data retrieval call binding the contract method 0x150b7a02.

Solidity: function onERC721Received(address operator, address from, uint256 tokenId, bytes data) view returns(bytes4)

func (*TofunftSession) Owner

func (_Tofunft *TofunftSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*TofunftSession) Pause

func (_Tofunft *TofunftSession) Pause() (*types.Transaction, error)

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

Solidity: function pause() returns()

func (*TofunftSession) Paused

func (_Tofunft *TofunftSession) Paused() (bool, error)

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

Solidity: function paused() view returns(bool)

func (*TofunftSession) RATEBASE

func (_Tofunft *TofunftSession) RATEBASE() (*big.Int, error)

RATEBASE is a free data retrieval call binding the contract method 0x0873c6ec.

Solidity: function RATE_BASE() view returns(uint256)

func (*TofunftSession) Receive

func (_Tofunft *TofunftSession) Receive() (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*TofunftSession) RenounceOwnership

func (_Tofunft *TofunftSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*TofunftSession) Run

func (_Tofunft *TofunftSession) Run(intent MarketNGIntention, detail MarketNGDetail, sigIntent []byte, sigDetail []byte) (*types.Transaction, error)

Run is a paid mutator transaction binding the contract method 0xba847759.

Solidity: function run((address,(address,uint256,uint256,uint8,bytes)[],address,uint256,uint256,bytes32,uint8) intent, (bytes32,address,uint256,bytes32,uint256,uint8,address,address,uint256,uint256,(uint256[],uint256,uint256,uint256,address,address),(address,uint256,uint256,uint8,bytes)[],uint256) detail, bytes sigIntent, bytes sigDetail) payable returns()

func (*TofunftSession) STATUSCANCELLED

func (_Tofunft *TofunftSession) STATUSCANCELLED() (uint8, error)

STATUSCANCELLED is a free data retrieval call binding the contract method 0x5a4e5a15.

Solidity: function STATUS_CANCELLED() view returns(uint8)

func (*TofunftSession) STATUSDONE

func (_Tofunft *TofunftSession) STATUSDONE() (uint8, error)

STATUSDONE is a free data retrieval call binding the contract method 0x740db280.

Solidity: function STATUS_DONE() view returns(uint8)

func (*TofunftSession) STATUSOPEN

func (_Tofunft *TofunftSession) STATUSOPEN() (uint8, error)

STATUSOPEN is a free data retrieval call binding the contract method 0x24f8515b.

Solidity: function STATUS_OPEN() view returns(uint8)

func (*TofunftSession) Send

func (_Tofunft *TofunftSession) Send(to common.Address, tokens []MarketNGPair721) (*types.Transaction, error)

Send is a paid mutator transaction binding the contract method 0xafd76a0b.

Solidity: function send(address to, (address,uint256)[] tokens) returns()

func (*TofunftSession) SupportsInterface

func (_Tofunft *TofunftSession) SupportsInterface(interfaceId [4]byte) (bool, error)

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

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

func (*TofunftSession) Swap

func (_Tofunft *TofunftSession) Swap(req MarketNGSwap, signature []byte) (*types.Transaction, error)

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

Solidity: function swap((bytes32,address,uint256,(address,uint256)[],(address,uint256)[]) req, bytes signature) returns()

func (*TofunftSession) TOKEN1155

func (_Tofunft *TofunftSession) TOKEN1155() (uint8, error)

TOKEN1155 is a free data retrieval call binding the contract method 0xf0d250ba.

Solidity: function TOKEN_1155() view returns(uint8)

func (*TofunftSession) TOKEN721

func (_Tofunft *TofunftSession) TOKEN721() (uint8, error)

TOKEN721 is a free data retrieval call binding the contract method 0xc477be20.

Solidity: function TOKEN_721() view returns(uint8)

func (*TofunftSession) TOKENMINT

func (_Tofunft *TofunftSession) TOKENMINT() (uint8, error)

TOKENMINT is a free data retrieval call binding the contract method 0x853ca41a.

Solidity: function TOKEN_MINT() view returns(uint8)

func (*TofunftSession) TransferOwnership

func (_Tofunft *TofunftSession) 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 (*TofunftSession) Unpause

func (_Tofunft *TofunftSession) Unpause() (*types.Transaction, error)

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

Solidity: function unpause() returns()

func (*TofunftSession) UpdateSettings

func (_Tofunft *TofunftSession) UpdateSettings(minAuctionIncrement_ *big.Int, minAuctionDuration_ *big.Int) (*types.Transaction, error)

UpdateSettings is a paid mutator transaction binding the contract method 0x015af8ee.

Solidity: function updateSettings(uint256 minAuctionIncrement_, uint256 minAuctionDuration_) returns()

func (*TofunftSession) UpdateSigner

func (_Tofunft *TofunftSession) UpdateSigner(addr common.Address, remove bool) (*types.Transaction, error)

UpdateSigner is a paid mutator transaction binding the contract method 0xf460590b.

Solidity: function updateSigner(address addr, bool remove) returns()

func (*TofunftSession) Weth

func (_Tofunft *TofunftSession) Weth() (common.Address, error)

Weth is a free data retrieval call binding the contract method 0x3fc8cef3.

Solidity: function weth() view returns(address)

type TofunftTransactor

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

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

func NewTofunftTransactor

func NewTofunftTransactor(address common.Address, transactor bind.ContractTransactor) (*TofunftTransactor, error)

NewTofunftTransactor creates a new write-only instance of Tofunft, bound to a specific deployed contract.

func (*TofunftTransactor) CancelBuys

func (_Tofunft *TofunftTransactor) CancelBuys(opts *bind.TransactOpts, ids []*big.Int) (*types.Transaction, error)

CancelBuys is a paid mutator transaction binding the contract method 0xc1c30e80.

Solidity: function cancelBuys(uint256[] ids) returns()

func (*TofunftTransactor) EmergencyCancelAuction

func (_Tofunft *TofunftTransactor) EmergencyCancelAuction(opts *bind.TransactOpts, id *big.Int, noBundle bool) (*types.Transaction, error)

EmergencyCancelAuction is a paid mutator transaction binding the contract method 0xe7d4a999.

Solidity: function emergencyCancelAuction(uint256 id, bool noBundle) returns()

func (*TofunftTransactor) InCaseMoneyGetsStuck

func (_Tofunft *TofunftTransactor) InCaseMoneyGetsStuck(opts *bind.TransactOpts, to common.Address, currency common.Address, amount *big.Int) (*types.Transaction, error)

InCaseMoneyGetsStuck is a paid mutator transaction binding the contract method 0x80bc688f.

Solidity: function inCaseMoneyGetsStuck(address to, address currency, uint256 amount) returns()

func (*TofunftTransactor) Pause

func (_Tofunft *TofunftTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function pause() returns()

func (*TofunftTransactor) Receive

func (_Tofunft *TofunftTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*TofunftTransactor) RenounceOwnership

func (_Tofunft *TofunftTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*TofunftTransactor) Run

func (_Tofunft *TofunftTransactor) Run(opts *bind.TransactOpts, intent MarketNGIntention, detail MarketNGDetail, sigIntent []byte, sigDetail []byte) (*types.Transaction, error)

Run is a paid mutator transaction binding the contract method 0xba847759.

Solidity: function run((address,(address,uint256,uint256,uint8,bytes)[],address,uint256,uint256,bytes32,uint8) intent, (bytes32,address,uint256,bytes32,uint256,uint8,address,address,uint256,uint256,(uint256[],uint256,uint256,uint256,address,address),(address,uint256,uint256,uint8,bytes)[],uint256) detail, bytes sigIntent, bytes sigDetail) payable returns()

func (*TofunftTransactor) Send

func (_Tofunft *TofunftTransactor) Send(opts *bind.TransactOpts, to common.Address, tokens []MarketNGPair721) (*types.Transaction, error)

Send is a paid mutator transaction binding the contract method 0xafd76a0b.

Solidity: function send(address to, (address,uint256)[] tokens) returns()

func (*TofunftTransactor) Swap

func (_Tofunft *TofunftTransactor) Swap(opts *bind.TransactOpts, req MarketNGSwap, signature []byte) (*types.Transaction, error)

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

Solidity: function swap((bytes32,address,uint256,(address,uint256)[],(address,uint256)[]) req, bytes signature) returns()

func (*TofunftTransactor) TransferOwnership

func (_Tofunft *TofunftTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

func (*TofunftTransactor) Unpause

func (_Tofunft *TofunftTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function unpause() returns()

func (*TofunftTransactor) UpdateSettings

func (_Tofunft *TofunftTransactor) UpdateSettings(opts *bind.TransactOpts, minAuctionIncrement_ *big.Int, minAuctionDuration_ *big.Int) (*types.Transaction, error)

UpdateSettings is a paid mutator transaction binding the contract method 0x015af8ee.

Solidity: function updateSettings(uint256 minAuctionIncrement_, uint256 minAuctionDuration_) returns()

func (*TofunftTransactor) UpdateSigner

func (_Tofunft *TofunftTransactor) UpdateSigner(opts *bind.TransactOpts, addr common.Address, remove bool) (*types.Transaction, error)

UpdateSigner is a paid mutator transaction binding the contract method 0xf460590b.

Solidity: function updateSigner(address addr, bool remove) returns()

type TofunftTransactorRaw

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

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

func (*TofunftTransactorRaw) Transact

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

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

func (*TofunftTransactorRaw) Transfer

func (_Tofunft *TofunftTransactorRaw) 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 TofunftTransactorSession

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

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

func (*TofunftTransactorSession) CancelBuys

func (_Tofunft *TofunftTransactorSession) CancelBuys(ids []*big.Int) (*types.Transaction, error)

CancelBuys is a paid mutator transaction binding the contract method 0xc1c30e80.

Solidity: function cancelBuys(uint256[] ids) returns()

func (*TofunftTransactorSession) EmergencyCancelAuction

func (_Tofunft *TofunftTransactorSession) EmergencyCancelAuction(id *big.Int, noBundle bool) (*types.Transaction, error)

EmergencyCancelAuction is a paid mutator transaction binding the contract method 0xe7d4a999.

Solidity: function emergencyCancelAuction(uint256 id, bool noBundle) returns()

func (*TofunftTransactorSession) InCaseMoneyGetsStuck

func (_Tofunft *TofunftTransactorSession) InCaseMoneyGetsStuck(to common.Address, currency common.Address, amount *big.Int) (*types.Transaction, error)

InCaseMoneyGetsStuck is a paid mutator transaction binding the contract method 0x80bc688f.

Solidity: function inCaseMoneyGetsStuck(address to, address currency, uint256 amount) returns()

func (*TofunftTransactorSession) Pause

func (_Tofunft *TofunftTransactorSession) Pause() (*types.Transaction, error)

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

Solidity: function pause() returns()

func (*TofunftTransactorSession) Receive

func (_Tofunft *TofunftTransactorSession) Receive() (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*TofunftTransactorSession) RenounceOwnership

func (_Tofunft *TofunftTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*TofunftTransactorSession) Run

func (_Tofunft *TofunftTransactorSession) Run(intent MarketNGIntention, detail MarketNGDetail, sigIntent []byte, sigDetail []byte) (*types.Transaction, error)

Run is a paid mutator transaction binding the contract method 0xba847759.

Solidity: function run((address,(address,uint256,uint256,uint8,bytes)[],address,uint256,uint256,bytes32,uint8) intent, (bytes32,address,uint256,bytes32,uint256,uint8,address,address,uint256,uint256,(uint256[],uint256,uint256,uint256,address,address),(address,uint256,uint256,uint8,bytes)[],uint256) detail, bytes sigIntent, bytes sigDetail) payable returns()

func (*TofunftTransactorSession) Send

Send is a paid mutator transaction binding the contract method 0xafd76a0b.

Solidity: function send(address to, (address,uint256)[] tokens) returns()

func (*TofunftTransactorSession) Swap

func (_Tofunft *TofunftTransactorSession) Swap(req MarketNGSwap, signature []byte) (*types.Transaction, error)

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

Solidity: function swap((bytes32,address,uint256,(address,uint256)[],(address,uint256)[]) req, bytes signature) returns()

func (*TofunftTransactorSession) TransferOwnership

func (_Tofunft *TofunftTransactorSession) 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 (*TofunftTransactorSession) Unpause

func (_Tofunft *TofunftTransactorSession) Unpause() (*types.Transaction, error)

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

Solidity: function unpause() returns()

func (*TofunftTransactorSession) UpdateSettings

func (_Tofunft *TofunftTransactorSession) UpdateSettings(minAuctionIncrement_ *big.Int, minAuctionDuration_ *big.Int) (*types.Transaction, error)

UpdateSettings is a paid mutator transaction binding the contract method 0x015af8ee.

Solidity: function updateSettings(uint256 minAuctionIncrement_, uint256 minAuctionDuration_) returns()

func (*TofunftTransactorSession) UpdateSigner

func (_Tofunft *TofunftTransactorSession) UpdateSigner(addr common.Address, remove bool) (*types.Transaction, error)

UpdateSigner is a paid mutator transaction binding the contract method 0xf460590b.

Solidity: function updateSigner(address addr, bool remove) returns()

type TofunftUnpaused

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

TofunftUnpaused represents a Unpaused event raised by the Tofunft contract.

type TofunftUnpausedIterator

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

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

func (*TofunftUnpausedIterator) Close

func (it *TofunftUnpausedIterator) Close() error

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

func (*TofunftUnpausedIterator) Error

func (it *TofunftUnpausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*TofunftUnpausedIterator) Next

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