inferences

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const Ierc20ApprovalEventName = "Approval"
View Source
const Ierc20TransferEventName = "Transfer"
View Source
const Ierc20burnableApprovalEventName = "Approval"
View Source
const Ierc20burnableTransferEventName = "Transfer"
View Source
const Ierc721ApprovalEventName = "Approval"
View Source
const Ierc721ApprovalForAllEventName = "ApprovalForAll"
View Source
const Ierc721ConsecutiveTransferEventName = "ConsecutiveTransfer"
View Source
const Ierc721TransferEventName = "Transfer"

Variables

View Source
var DisperseMetaData = bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"recipients\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"values\",\"type\":\"uint256[]\"}],\"name\":\"disperseEther\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address[]\",\"name\":\"recipients\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"values\",\"type\":\"uint256[]\"}],\"name\":\"disperseToken\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address[]\",\"name\":\"recipients\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"values\",\"type\":\"uint256[]\"}],\"name\":\"disperseTokenSimple\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	ID:  "Disperse",
	Bin: "0x6080604052348015600e575f5ffd5b50610d118061001c5f395ff3fe608060405260043610610033575f3560e01c806351ba162c14610037578063c73a2d601461005f578063e63d38ed14610087575b5f5ffd5b348015610042575f5ffd5b5061005d600480360381019061005891906107ae565b6100a3565b005b34801561006a575f5ffd5b50610085600480360381019061008091906107ae565b61020c565b005b6100a1600480360381019061009c919061083f565b610479565b005b8181905084849050146100eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100e290610917565b60405180910390fd5b5f5f90505b84849050811015610204578573ffffffffffffffffffffffffffffffffffffffff166323b872dd3387878581811061012b5761012a610935565b5b9050602002016020810190610140919061098c565b86868681811061015357610152610935565b5b905060200201356040518463ffffffff1660e01b8152600401610178939291906109de565b6020604051808303815f875af1158015610194573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101b89190610a48565b6101f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101ee90610abd565b60405180910390fd5b80806001019150506100f0565b505050505050565b818190508484905014610254576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161024b90610917565b60405180910390fd5b5f5f90505f5f90505b8585905081101561029c5783838281811061027b5761027a610935565b5b905060200201358261028d9190610b08565b9150808060010191505061025d565b508573ffffffffffffffffffffffffffffffffffffffff166323b872dd3330846040518463ffffffff1660e01b81526004016102da939291906109de565b6020604051808303815f875af11580156102f6573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061031a9190610a48565b610359576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161035090610abd565b60405180910390fd5b5f5f90505b85859050811015610470578673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb87878481811061039857610397610935565b5b90506020020160208101906103ad919061098c565b8686858181106103c0576103bf610935565b5b905060200201356040518363ffffffff1660e01b81526004016103e4929190610b3b565b6020604051808303815f875af1158015610400573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104249190610a48565b610463576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161045a90610bac565b60405180910390fd5b808060010191505061035e565b50505050505050565b8181905084849050146104c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104b890610917565b60405180910390fd5b5f5f90505b848490508110156105c7575f8585838181106104e5576104e4610935565b5b90506020020160208101906104fa919061098c565b73ffffffffffffffffffffffffffffffffffffffff1684848481811061052357610522610935565b5b9050602002013560405161053690610bf7565b5f6040518083038185875af1925050503d805f8114610570576040519150601f19603f3d011682016040523d82523d5f602084013e610575565b606091505b50509050806105b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105b090610c55565b60405180910390fd5b5080806001019150506104c6565b505f4790505f81111561067e575f3373ffffffffffffffffffffffffffffffffffffffff16826040516105f990610bf7565b5f6040518083038185875af1925050503d805f8114610633576040519150601f19603f3d011682016040523d82523d5f602084013e610638565b606091505b505090508061067c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161067390610cbd565b60405180910390fd5b505b5050505050565b5f5ffd5b5f5ffd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6106b68261068d565b9050919050565b5f6106c7826106ac565b9050919050565b6106d7816106bd565b81146106e1575f5ffd5b50565b5f813590506106f2816106ce565b92915050565b5f5ffd5b5f5ffd5b5f5ffd5b5f5f83601f840112610719576107186106f8565b5b8235905067ffffffffffffffff811115610736576107356106fc565b5b60208301915083602082028301111561075257610751610700565b5b9250929050565b5f5f83601f84011261076e5761076d6106f8565b5b8235905067ffffffffffffffff81111561078b5761078a6106fc565b5b6020830191508360208202830111156107a7576107a6610700565b5b9250929050565b5f5f5f5f5f606086880312156107c7576107c6610685565b5b5f6107d4888289016106e4565b955050602086013567ffffffffffffffff8111156107f5576107f4610689565b5b61080188828901610704565b9450945050604086013567ffffffffffffffff81111561082457610823610689565b5b61083088828901610759565b92509250509295509295909350565b5f5f5f5f6040858703121561085757610856610685565b5b5f85013567ffffffffffffffff81111561087457610873610689565b5b61088087828801610704565b9450945050602085013567ffffffffffffffff8111156108a3576108a2610689565b5b6108af87828801610759565b925092505092959194509250565b5f82825260208201905092915050565b7f4172726179206c656e677468206d69736d6174636800000000000000000000005f82015250565b5f6109016015836108bd565b915061090c826108cd565b602082019050919050565b5f6020820190508181035f83015261092e816108f5565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b61096b816106ac565b8114610975575f5ffd5b50565b5f8135905061098681610962565b92915050565b5f602082840312156109a1576109a0610685565b5b5f6109ae84828501610978565b91505092915050565b6109c0816106ac565b82525050565b5f819050919050565b6109d8816109c6565b82525050565b5f6060820190506109f15f8301866109b7565b6109fe60208301856109b7565b610a0b60408301846109cf565b949350505050565b5f8115159050919050565b610a2781610a13565b8114610a31575f5ffd5b50565b5f81519050610a4281610a1e565b92915050565b5f60208284031215610a5d57610a5c610685565b5b5f610a6a84828501610a34565b91505092915050565b7f5472616e7366657246726f6d206661696c6564000000000000000000000000005f82015250565b5f610aa76013836108bd565b9150610ab282610a73565b602082019050919050565b5f6020820190508181035f830152610ad481610a9b565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f610b12826109c6565b9150610b1d836109c6565b9250828201905080821115610b3557610b34610adb565b5b92915050565b5f604082019050610b4e5f8301856109b7565b610b5b60208301846109cf565b9392505050565b7f5472616e73666572206661696c656400000000000000000000000000000000005f82015250565b5f610b96600f836108bd565b9150610ba182610b62565b602082019050919050565b5f6020820190508181035f830152610bc381610b8a565b9050919050565b5f81905092915050565b50565b5f610be25f83610bca565b9150610bed82610bd4565b5f82019050919050565b5f610c0182610bd7565b9150819050919050565b7f455448207472616e73666572206661696c6564000000000000000000000000005f82015250565b5f610c3f6013836108bd565b9150610c4a82610c0b565b602082019050919050565b5f6020820190508181035f830152610c6c81610c33565b9050919050565b7f4661696c656420746f2072657475726e2072656d61696e696e672045544800005f82015250565b5f610ca7601e836108bd565b9150610cb282610c73565b602082019050919050565b5f6020820190508181035f830152610cd481610c9b565b905091905056fea264697066735822122074c3d91b00f03eabc612fdf40327d775b6d072b33b2e46d9e2aff848c5300ff464736f6c634300081c0033",
}

DisperseMetaData contains all meta data concerning the Disperse contract.

View Source
var Ierc20MetaData = bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"allowance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"needed\",\"type\":\"uint256\"}],\"name\":\"ERC20InsufficientAllowance\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"needed\",\"type\":\"uint256\"}],\"name\":\"ERC20InsufficientBalance\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"approver\",\"type\":\"address\"}],\"name\":\"ERC20InvalidApprover\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"}],\"name\":\"ERC20InvalidReceiver\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"ERC20InvalidSender\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"ERC20InvalidSpender\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	ID:  "Ierc20",
	Bin: "0x608060405234801561001057600080fd5b506040518060400160405280600981526020017f54455354546f6b656e00000000000000000000000000000000000000000000008152506040518060400160405280600281526020017f5454000000000000000000000000000000000000000000000000000000000000815250816003908161008c91906105bc565b50806004908161009c91906105bc565b5050506100ba336a52b7d2dcc80cd2e40000006100bf60201b60201c565b6107ae565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036101315760006040517fec442f0500000000000000000000000000000000000000000000000000000000815260040161012891906106cf565b60405180910390fd5b6101436000838361014760201b60201c565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361019957806002600082825461018d9190610719565b9250508190555061026c565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015610225578381836040517fe450d38c00000000000000000000000000000000000000000000000000000000815260040161021c9392919061075c565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036102b55780600260008282540392505081905550610302565b806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161035f9190610793565b60405180910390a3505050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806103ed57607f821691505b602082108103610400576103ff6103a6565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026104687fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261042b565b610472868361042b565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b60006104b96104b46104af8461048a565b610494565b61048a565b9050919050565b6000819050919050565b6104d38361049e565b6104e76104df826104c0565b848454610438565b825550505050565b600090565b6104fc6104ef565b6105078184846104ca565b505050565b5b8181101561052b576105206000826104f4565b60018101905061050d565b5050565b601f8211156105705761054181610406565b61054a8461041b565b81016020851015610559578190505b61056d6105658561041b565b83018261050c565b50505b505050565b600082821c905092915050565b600061059360001984600802610575565b1980831691505092915050565b60006105ac8383610582565b9150826002028217905092915050565b6105c58261036c565b67ffffffffffffffff8111156105de576105dd610377565b5b6105e882546103d5565b6105f382828561052f565b600060209050601f8311600181146106265760008415610614578287015190505b61061e85826105a0565b865550610686565b601f19841661063486610406565b60005b8281101561065c57848901518255600182019150602085019450602081019050610637565b868310156106795784890151610675601f891682610582565b8355505b6001600288020188555050505b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006106b98261068e565b9050919050565b6106c9816106ae565b82525050565b60006020820190506106e460008301846106c0565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006107248261048a565b915061072f8361048a565b9250828201905080821115610747576107466106ea565b5b92915050565b6107568161048a565b82525050565b600060608201905061077160008301866106c0565b61077e602083018561074d565b61078b604083018461074d565b949350505050565b60006020820190506107a8600083018461074d565b92915050565b610f86806107bd6000396000f3fe608060405234801561001057600080fd5b50600436106100a95760003560e01c806342966c681161007157806342966c681461016857806370a082311461018457806379cc6790146101b457806395d89b41146101d0578063a9059cbb146101ee578063dd62ed3e1461021e576100a9565b806306fdde03146100ae578063095ea7b3146100cc57806318160ddd146100fc57806323b872dd1461011a578063313ce5671461014a575b600080fd5b6100b661024e565b6040516100c39190610bad565b60405180910390f35b6100e660048036038101906100e19190610c68565b6102e0565b6040516100f39190610cc3565b60405180910390f35b610104610303565b6040516101119190610ced565b60405180910390f35b610134600480360381019061012f9190610d08565b61030d565b6040516101419190610cc3565b60405180910390f35b61015261033c565b60405161015f9190610d77565b60405180910390f35b610182600480360381019061017d9190610d92565b610345565b005b61019e60048036038101906101999190610dbf565b610359565b6040516101ab9190610ced565b60405180910390f35b6101ce60048036038101906101c99190610c68565b6103a1565b005b6101d86103c1565b6040516101e59190610bad565b60405180910390f35b61020860048036038101906102039190610c68565b610453565b6040516102159190610cc3565b60405180910390f35b61023860048036038101906102339190610dec565b610476565b6040516102459190610ced565b60405180910390f35b60606003805461025d90610e5b565b80601f016020809104026020016040519081016040528092919081815260200182805461028990610e5b565b80156102d65780601f106102ab576101008083540402835291602001916102d6565b820191906000526020600020905b8154815290600101906020018083116102b957829003601f168201915b5050505050905090565b6000806102eb6104fd565b90506102f8818585610505565b600191505092915050565b6000600254905090565b6000806103186104fd565b9050610325858285610517565b6103308585856105ab565b60019150509392505050565b60006012905090565b6103566103506104fd565b8261069f565b50565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6103b3826103ad6104fd565b83610517565b6103bd828261069f565b5050565b6060600480546103d090610e5b565b80601f01602080910402602001604051908101604052809291908181526020018280546103fc90610e5b565b80156104495780601f1061041e57610100808354040283529160200191610449565b820191906000526020600020905b81548152906001019060200180831161042c57829003601f168201915b5050505050905090565b60008061045e6104fd565b905061046b8185856105ab565b600191505092915050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600033905090565b6105128383836001610721565b505050565b60006105238484610476565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146105a55781811015610595578281836040517ffb8f41b200000000000000000000000000000000000000000000000000000000815260040161058c93929190610e9b565b60405180910390fd5b6105a484848484036000610721565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361061d5760006040517f96c6fd1e0000000000000000000000000000000000000000000000000000000081526004016106149190610ed2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361068f5760006040517fec442f050000000000000000000000000000000000000000000000000000000081526004016106869190610ed2565b60405180910390fd5b61069a8383836108f8565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036107115760006040517f96c6fd1e0000000000000000000000000000000000000000000000000000000081526004016107089190610ed2565b60405180910390fd5b61071d826000836108f8565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036107935760006040517fe602df0500000000000000000000000000000000000000000000000000000000815260040161078a9190610ed2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036108055760006040517f94280d620000000000000000000000000000000000000000000000000000000081526004016107fc9190610ed2565b60405180910390fd5b81600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080156108f2578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516108e99190610ced565b60405180910390a35b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361094a57806002600082825461093e9190610f1c565b92505081905550610a1d565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156109d6578381836040517fe450d38c0000000000000000000000000000000000000000000000000000000081526004016109cd93929190610e9b565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610a665780600260008282540392505081905550610ab3565b806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610b109190610ced565b60405180910390a3505050565b600081519050919050565b600082825260208201905092915050565b60005b83811015610b57578082015181840152602081019050610b3c565b60008484015250505050565b6000601f19601f8301169050919050565b6000610b7f82610b1d565b610b898185610b28565b9350610b99818560208601610b39565b610ba281610b63565b840191505092915050565b60006020820190508181036000830152610bc78184610b74565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610bff82610bd4565b9050919050565b610c0f81610bf4565b8114610c1a57600080fd5b50565b600081359050610c2c81610c06565b92915050565b6000819050919050565b610c4581610c32565b8114610c5057600080fd5b50565b600081359050610c6281610c3c565b92915050565b60008060408385031215610c7f57610c7e610bcf565b5b6000610c8d85828601610c1d565b9250506020610c9e85828601610c53565b9150509250929050565b60008115159050919050565b610cbd81610ca8565b82525050565b6000602082019050610cd86000830184610cb4565b92915050565b610ce781610c32565b82525050565b6000602082019050610d026000830184610cde565b92915050565b600080600060608486031215610d2157610d20610bcf565b5b6000610d2f86828701610c1d565b9350506020610d4086828701610c1d565b9250506040610d5186828701610c53565b9150509250925092565b600060ff82169050919050565b610d7181610d5b565b82525050565b6000602082019050610d8c6000830184610d68565b92915050565b600060208284031215610da857610da7610bcf565b5b6000610db684828501610c53565b91505092915050565b600060208284031215610dd557610dd4610bcf565b5b6000610de384828501610c1d565b91505092915050565b60008060408385031215610e0357610e02610bcf565b5b6000610e1185828601610c1d565b9250506020610e2285828601610c1d565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680610e7357607f821691505b602082108103610e8657610e85610e2c565b5b50919050565b610e9581610bf4565b82525050565b6000606082019050610eb06000830186610e8c565b610ebd6020830185610cde565b610eca6040830184610cde565b949350505050565b6000602082019050610ee76000830184610e8c565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000610f2782610c32565b9150610f3283610c32565b9250828201905080821115610f4a57610f49610eed565b5b9291505056fea26469706673582212205a23c688a4f16f5643750c76c0aa75547aab035f987a8ddb9b0809126e3994c864736f6c634300081c0033",
}

Ierc20MetaData contains all meta data concerning the Ierc20 contract.

View Source
var Ierc20burnableMetaData = bind.MetaData{
	ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"allowance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"needed\",\"type\":\"uint256\"}],\"name\":\"ERC20InsufficientAllowance\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"needed\",\"type\":\"uint256\"}],\"name\":\"ERC20InsufficientBalance\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"approver\",\"type\":\"address\"}],\"name\":\"ERC20InvalidApprover\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"}],\"name\":\"ERC20InvalidReceiver\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"ERC20InvalidSender\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"ERC20InvalidSpender\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"burn\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"burnFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	ID:  "Ierc20burnable",
	Bin: "0x608060405234801561001057600080fd5b506040518060400160405280600981526020017f54455354546f6b656e00000000000000000000000000000000000000000000008152506040518060400160405280600281526020017f5454000000000000000000000000000000000000000000000000000000000000815250816003908161008c91906105bc565b50806004908161009c91906105bc565b5050506100ba336a52b7d2dcc80cd2e40000006100bf60201b60201c565b6107ae565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036101315760006040517fec442f0500000000000000000000000000000000000000000000000000000000815260040161012891906106cf565b60405180910390fd5b6101436000838361014760201b60201c565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361019957806002600082825461018d9190610719565b9250508190555061026c565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015610225578381836040517fe450d38c00000000000000000000000000000000000000000000000000000000815260040161021c9392919061075c565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036102b55780600260008282540392505081905550610302565b806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161035f9190610793565b60405180910390a3505050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806103ed57607f821691505b602082108103610400576103ff6103a6565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026104687fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261042b565b610472868361042b565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b60006104b96104b46104af8461048a565b610494565b61048a565b9050919050565b6000819050919050565b6104d38361049e565b6104e76104df826104c0565b848454610438565b825550505050565b600090565b6104fc6104ef565b6105078184846104ca565b505050565b5b8181101561052b576105206000826104f4565b60018101905061050d565b5050565b601f8211156105705761054181610406565b61054a8461041b565b81016020851015610559578190505b61056d6105658561041b565b83018261050c565b50505b505050565b600082821c905092915050565b600061059360001984600802610575565b1980831691505092915050565b60006105ac8383610582565b9150826002028217905092915050565b6105c58261036c565b67ffffffffffffffff8111156105de576105dd610377565b5b6105e882546103d5565b6105f382828561052f565b600060209050601f8311600181146106265760008415610614578287015190505b61061e85826105a0565b865550610686565b601f19841661063486610406565b60005b8281101561065c57848901518255600182019150602085019450602081019050610637565b868310156106795784890151610675601f891682610582565b8355505b6001600288020188555050505b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006106b98261068e565b9050919050565b6106c9816106ae565b82525050565b60006020820190506106e460008301846106c0565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006107248261048a565b915061072f8361048a565b9250828201905080821115610747576107466106ea565b5b92915050565b6107568161048a565b82525050565b600060608201905061077160008301866106c0565b61077e602083018561074d565b61078b604083018461074d565b949350505050565b60006020820190506107a8600083018461074d565b92915050565b610f86806107bd6000396000f3fe608060405234801561001057600080fd5b50600436106100a95760003560e01c806342966c681161007157806342966c681461016857806370a082311461018457806379cc6790146101b457806395d89b41146101d0578063a9059cbb146101ee578063dd62ed3e1461021e576100a9565b806306fdde03146100ae578063095ea7b3146100cc57806318160ddd146100fc57806323b872dd1461011a578063313ce5671461014a575b600080fd5b6100b661024e565b6040516100c39190610bad565b60405180910390f35b6100e660048036038101906100e19190610c68565b6102e0565b6040516100f39190610cc3565b60405180910390f35b610104610303565b6040516101119190610ced565b60405180910390f35b610134600480360381019061012f9190610d08565b61030d565b6040516101419190610cc3565b60405180910390f35b61015261033c565b60405161015f9190610d77565b60405180910390f35b610182600480360381019061017d9190610d92565b610345565b005b61019e60048036038101906101999190610dbf565b610359565b6040516101ab9190610ced565b60405180910390f35b6101ce60048036038101906101c99190610c68565b6103a1565b005b6101d86103c1565b6040516101e59190610bad565b60405180910390f35b61020860048036038101906102039190610c68565b610453565b6040516102159190610cc3565b60405180910390f35b61023860048036038101906102339190610dec565b610476565b6040516102459190610ced565b60405180910390f35b60606003805461025d90610e5b565b80601f016020809104026020016040519081016040528092919081815260200182805461028990610e5b565b80156102d65780601f106102ab576101008083540402835291602001916102d6565b820191906000526020600020905b8154815290600101906020018083116102b957829003601f168201915b5050505050905090565b6000806102eb6104fd565b90506102f8818585610505565b600191505092915050565b6000600254905090565b6000806103186104fd565b9050610325858285610517565b6103308585856105ab565b60019150509392505050565b60006012905090565b6103566103506104fd565b8261069f565b50565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6103b3826103ad6104fd565b83610517565b6103bd828261069f565b5050565b6060600480546103d090610e5b565b80601f01602080910402602001604051908101604052809291908181526020018280546103fc90610e5b565b80156104495780601f1061041e57610100808354040283529160200191610449565b820191906000526020600020905b81548152906001019060200180831161042c57829003601f168201915b5050505050905090565b60008061045e6104fd565b905061046b8185856105ab565b600191505092915050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600033905090565b6105128383836001610721565b505050565b60006105238484610476565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146105a55781811015610595578281836040517ffb8f41b200000000000000000000000000000000000000000000000000000000815260040161058c93929190610e9b565b60405180910390fd5b6105a484848484036000610721565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361061d5760006040517f96c6fd1e0000000000000000000000000000000000000000000000000000000081526004016106149190610ed2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361068f5760006040517fec442f050000000000000000000000000000000000000000000000000000000081526004016106869190610ed2565b60405180910390fd5b61069a8383836108f8565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036107115760006040517f96c6fd1e0000000000000000000000000000000000000000000000000000000081526004016107089190610ed2565b60405180910390fd5b61071d826000836108f8565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036107935760006040517fe602df0500000000000000000000000000000000000000000000000000000000815260040161078a9190610ed2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036108055760006040517f94280d620000000000000000000000000000000000000000000000000000000081526004016107fc9190610ed2565b60405180910390fd5b81600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080156108f2578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516108e99190610ced565b60405180910390a35b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361094a57806002600082825461093e9190610f1c565b92505081905550610a1d565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156109d6578381836040517fe450d38c0000000000000000000000000000000000000000000000000000000081526004016109cd93929190610e9b565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610a665780600260008282540392505081905550610ab3565b806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610b109190610ced565b60405180910390a3505050565b600081519050919050565b600082825260208201905092915050565b60005b83811015610b57578082015181840152602081019050610b3c565b60008484015250505050565b6000601f19601f8301169050919050565b6000610b7f82610b1d565b610b898185610b28565b9350610b99818560208601610b39565b610ba281610b63565b840191505092915050565b60006020820190508181036000830152610bc78184610b74565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610bff82610bd4565b9050919050565b610c0f81610bf4565b8114610c1a57600080fd5b50565b600081359050610c2c81610c06565b92915050565b6000819050919050565b610c4581610c32565b8114610c5057600080fd5b50565b600081359050610c6281610c3c565b92915050565b60008060408385031215610c7f57610c7e610bcf565b5b6000610c8d85828601610c1d565b9250506020610c9e85828601610c53565b9150509250929050565b60008115159050919050565b610cbd81610ca8565b82525050565b6000602082019050610cd86000830184610cb4565b92915050565b610ce781610c32565b82525050565b6000602082019050610d026000830184610cde565b92915050565b600080600060608486031215610d2157610d20610bcf565b5b6000610d2f86828701610c1d565b9350506020610d4086828701610c1d565b9250506040610d5186828701610c53565b9150509250925092565b600060ff82169050919050565b610d7181610d5b565b82525050565b6000602082019050610d8c6000830184610d68565b92915050565b600060208284031215610da857610da7610bcf565b5b6000610db684828501610c53565b91505092915050565b600060208284031215610dd557610dd4610bcf565b5b6000610de384828501610c1d565b91505092915050565b60008060408385031215610e0357610e02610bcf565b5b6000610e1185828601610c1d565b9250506020610e2285828601610c1d565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680610e7357607f821691505b602082108103610e8657610e85610e2c565b5b50919050565b610e9581610bf4565b82525050565b6000606082019050610eb06000830186610e8c565b610ebd6020830185610cde565b610eca6040830184610cde565b949350505050565b6000602082019050610ee76000830184610e8c565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000610f2782610c32565b9150610f3283610c32565b9250828201905080821115610f4a57610f49610eed565b5b9291505056fea26469706673582212205a23c688a4f16f5643750c76c0aa75547aab035f987a8ddb9b0809126e3994c864736f6c634300081c0033",
}

Ierc20burnableMetaData contains all meta data concerning the Ierc20burnable contract.

View Source
var Ierc721MetaData = bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"string\",\"name\":\"name_\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"symbol_\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"ApprovalCallerNotOwnerNorApproved\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ApprovalQueryForNonexistentToken\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"BalanceQueryForZeroAddress\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"ERC721IncorrectOwner\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ERC721InsufficientApproval\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"approver\",\"type\":\"address\"}],\"name\":\"ERC721InvalidApprover\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"ERC721InvalidOperator\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"ERC721InvalidOwner\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"}],\"name\":\"ERC721InvalidReceiver\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"ERC721InvalidSender\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ERC721NonexistentToken\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"ERC721OutOfBoundsIndex\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"MintERC2309QuantityExceedsLimit\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"MintToZeroAddress\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"MintZeroQuantity\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OwnerQueryForNonexistentToken\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OwnershipNotInitializedForExtraData\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TransferCallerNotOwnerNorApproved\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TransferFromIncorrectOwner\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TransferToNonERC721ReceiverImplementer\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TransferToZeroAddress\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"URIQueryForNonexistentToken\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"approved\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"ApprovalForAll\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"fromTokenId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"toTokenId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"ConsecutiveTransfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getApproved\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ownerOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"royaltyInfo\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"royaltyAmount\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"setApprovalForAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"tokenByIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"tokenOfOwnerByIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"tokenURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"}]",
	ID:  "Ierc721",
	Bin: "0x608060405234801561000f575f5ffd5b50604051612fb8380380612fb883398181016040528101906100319190610aba565b81600690816100409190610d40565b5080600790816100509190610d40565b5061005f61008a60201b60201c565b60048190555061008361007661009160201b60201c565b601e61009860201b60201c565b5050611066565b5f5f905090565b5f33905090565b6100b7828260405180602001604052805f8152506100bb60201b60201c565b5050565b6100cb838361016060201b60201c565b5f8373ffffffffffffffffffffffffffffffffffffffff163b1461015b575f60045490505f83820390505b61010e5f86838060010194508661032960201b60201c565b610144576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8181106100f6578160045414610158575f5ffd5b50505b505050565b5f60045490505f820361019f576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6101b15f84838561047a60201b60201c565b600160406001901b17820260095f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055506102358361021a5f865f61048060201b60201c565b610229856104ad60201b60201c565b176104bc60201b60201c565b60085f8381526020019081526020015f20819055505f5f838301905073ffffffffffffffffffffffffffffffffffffffff8516915082825f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f5fa4600183015b8181146102cf5780835f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f5fa4600181019050610296565b505f8203610309576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060048190555050506103245f8483856104e660201b60201c565b505050565b5f8373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261035461009160201b60201c565b8786866040518563ffffffff1660e01b81526004016103769493929190610eaf565b6020604051808303815f875af19250505080156103b157506040513d601f19601f820116820180604052508101906103ae9190610f4e565b60015b610427573d805f81146103df576040519150601f19603f3d011682016040523d82523d5f602084013e6103e4565b606091505b505f81510361041f576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b50505050565b5f5f60e883901c905060e861049c86868461052460201b60201c565b62ffffff16901b9150509392505050565b5f6001821460e11b9050919050565b5f73ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b5f5f90505b8181101561051d5761050f858583866105049190610fa6565b61052c60201b60201c565b5080806001019150506104eb565b5050505050565b5f9392505050565b5f5f73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036105745761056f8261064f60201b60201c565b6105b9565b8273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16146105b8576105b7848361069360201b60201c565b5b5b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610600576105fb8261076f60201b60201c565b610645565b8273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161461064457610643838361082f60201b60201c565b5b5b8390509392505050565b60028054905060035f8381526020019081526020015f2081905550600281908060018154018082558091505060019003905f5260205f20015f909190919091505550565b5f6106a3836108b860201b60201c565b90505f60015f8481526020019081526020015f205490505f5f5f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f209050828214610741575f815f8581526020019081526020015f2054905080825f8581526020019081526020015f20819055508260015f8381526020019081526020015f2081905550505b60015f8581526020019081526020015f205f9055805f8481526020019081526020015f205f90555050505050565b5f60016002805490506107829190610fd9565b90505f60035f8481526020019081526020015f205490505f600283815481106107ae576107ad61100c565b5b905f5260205f200154905080600283815481106107ce576107cd61100c565b5b905f5260205f2001819055508160035f8381526020019081526020015f208190555060035f8581526020019081526020015f205f9055600280548061081657610815611039565b5b600190038181905f5260205f20015f9055905550505050565b5f6001610841846108b860201b60201c565b61084b9190610fd9565b9050815f5f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8381526020019081526020015f20819055508060015f8481526020019081526020015f2081905550505050565b5f5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361091e576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff60095f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054169050919050565b5f604051905090565b5f5ffd5b5f5ffd5b5f5ffd5b5f5ffd5b5f601f19601f8301169050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b6109cc82610986565b810181811067ffffffffffffffff821117156109eb576109ea610996565b5b80604052505050565b5f6109fd61096d565b9050610a0982826109c3565b919050565b5f67ffffffffffffffff821115610a2857610a27610996565b5b610a3182610986565b9050602081019050919050565b8281835e5f83830152505050565b5f610a5e610a5984610a0e565b6109f4565b905082815260208101848484011115610a7a57610a79610982565b5b610a85848285610a3e565b509392505050565b5f82601f830112610aa157610aa061097e565b5b8151610ab1848260208601610a4c565b91505092915050565b5f5f60408385031215610ad057610acf610976565b5b5f83015167ffffffffffffffff811115610aed57610aec61097a565b5b610af985828601610a8d565b925050602083015167ffffffffffffffff811115610b1a57610b1961097a565b5b610b2685828601610a8d565b9150509250929050565b5f81519050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f6002820490506001821680610b7e57607f821691505b602082108103610b9157610b90610b3a565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f60088302610bf37fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82610bb8565b610bfd8683610bb8565b95508019841693508086168417925050509392505050565b5f819050919050565b5f819050919050565b5f610c41610c3c610c3784610c15565b610c1e565b610c15565b9050919050565b5f819050919050565b610c5a83610c27565b610c6e610c6682610c48565b848454610bc4565b825550505050565b5f5f905090565b610c85610c76565b610c90818484610c51565b505050565b5b81811015610cb357610ca85f82610c7d565b600181019050610c96565b5050565b601f821115610cf857610cc981610b97565b610cd284610ba9565b81016020851015610ce1578190505b610cf5610ced85610ba9565b830182610c95565b50505b505050565b5f82821c905092915050565b5f610d185f1984600802610cfd565b1980831691505092915050565b5f610d308383610d09565b9150826002028217905092915050565b610d4982610b30565b67ffffffffffffffff811115610d6257610d61610996565b5b610d6c8254610b67565b610d77828285610cb7565b5f60209050601f831160018114610da8575f8415610d96578287015190505b610da08582610d25565b865550610e07565b601f198416610db686610b97565b5f5b82811015610ddd57848901518255600182019150602085019450602081019050610db8565b86831015610dfa5784890151610df6601f891682610d09565b8355505b6001600288020188555050505b505050505050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f610e3882610e0f565b9050919050565b610e4881610e2e565b82525050565b610e5781610c15565b82525050565b5f81519050919050565b5f82825260208201905092915050565b5f610e8182610e5d565b610e8b8185610e67565b9350610e9b818560208601610a3e565b610ea481610986565b840191505092915050565b5f608082019050610ec25f830187610e3f565b610ecf6020830186610e3f565b610edc6040830185610e4e565b8181036060830152610eee8184610e77565b905095945050505050565b5f7fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b610f2d81610ef9565b8114610f37575f5ffd5b50565b5f81519050610f4881610f24565b92915050565b5f60208284031215610f6357610f62610976565b5b5f610f7084828501610f3a565b91505092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f610fb082610c15565b9150610fbb83610c15565b9250828201905080821115610fd357610fd2610f79565b5b92915050565b5f610fe382610c15565b9150610fee83610c15565b925082820390508181111561100657611005610f79565b5b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603160045260245ffd5b611f45806110735f395ff3fe6080604052600436106100fd575f3560e01c806342842e0e1161009457806395d89b411161006357806395d89b411461034e578063a22cb46514610378578063b88d4fde146103a0578063c87b56dd146103bc578063e985e9c5146103f8576100fd565b806342842e0e1461027e5780634f6ccce71461029a5780636352211e146102d657806370a0823114610312576100fd565b806318160ddd116100d057806318160ddd146101bf57806323b872dd146101e95780632a55205a146102055780632f745c5914610242576100fd565b806301ffc9a71461010157806306fdde031461013d578063081812fc14610167578063095ea7b3146101a3575b5f5ffd5b34801561010c575f5ffd5b50610127600480360381019061012291906116d2565b610434565b6040516101349190611717565b60405180910390f35b348015610148575f5ffd5b506101516104c5565b60405161015e91906117a0565b60405180910390f35b348015610172575f5ffd5b5061018d600480360381019061018891906117f3565b610555565b60405161019a919061185d565b60405180910390f35b6101bd60048036038101906101b891906118a0565b6105cf565b005b3480156101ca575f5ffd5b506101d361070e565b6040516101e091906118ed565b60405180910390f35b61020360048036038101906101fe9190611906565b610724565b005b348015610210575f5ffd5b5061022b60048036038101906102269190611956565b6109ce565b604051610239929190611994565b60405180910390f35b34801561024d575f5ffd5b50610268600480360381019061026391906118a0565b6109ff565b60405161027591906118ed565b60405180910390f35b61029860048036038101906102939190611906565b610aa2565b005b3480156102a5575f5ffd5b506102c060048036038101906102bb91906117f3565b610ac1565b6040516102cd91906118ed565b60405180910390f35b3480156102e1575f5ffd5b506102fc60048036038101906102f791906117f3565b610b33565b604051610309919061185d565b60405180910390f35b34801561031d575f5ffd5b50610338600480360381019061033391906119bb565b610b44565b60405161034591906118ed565b60405180910390f35b348015610359575f5ffd5b50610362610bf9565b60405161036f91906117a0565b60405180910390f35b348015610383575f5ffd5b5061039e60048036038101906103999190611a10565b610c89565b005b6103ba60048036038101906103b59190611b7a565b610d8f565b005b3480156103c7575f5ffd5b506103e260048036038101906103dd91906117f3565b610e01565b6040516103ef91906117a0565b60405180910390f35b348015610403575f5ffd5b5061041e60048036038101906104199190611bfa565b610e9c565b60405161042b9190611717565b60405180910390f35b5f6301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061048e57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806104be5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b6060600680546104d490611c65565b80601f016020809104026020016040519081016040528092919081815260200182805461050090611c65565b801561054b5780601f106105225761010080835404028352916020019161054b565b820191905f5260205f20905b81548152906001019060200180831161052e57829003601f168201915b5050505050905090565b5f61055f82610f2a565b610595576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600a5f8381526020019081526020015f205f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b5f6105d982610b33565b90508073ffffffffffffffffffffffffffffffffffffffff166105fa610f85565b73ffffffffffffffffffffffffffffffffffffffff161461065d5761062681610621610f85565b610e9c565b61065c576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b82600a5f8481526020019081526020015f205f015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b5f610717610f8c565b6005546004540303905090565b5f61072e82610f93565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610795576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f5f6107a084611057565b915091506107b681876107b1610f85565b61107a565b610802576107cb866107c6610f85565b610e9c565b610801576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b61080f86868660016110bd565b8015610819575f82555b60095f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8154600190039190508190555060095f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8154600101919050819055506108e1856108bd8888876110c3565b7c0200000000000000000000000000000000000000000000000000000000176110ea565b60085f8681526020019081526020015f20819055505f7c020000000000000000000000000000000000000000000000000000000084160361095e575f6001850190505f60085f8381526020019081526020015f20540361095c57600454811461095b578360085f8381526020019081526020015f20819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46109c68686866001611114565b505050505050565b5f5f6109e16109db610f85565b30610e9c565b156109f1575f5f915091506109f8565b5f5f915091505b9250929050565b5f610a0983610b44565b8210610a4e5782826040517fa57d13dc000000000000000000000000000000000000000000000000000000008152600401610a45929190611994565b60405180910390fd5b5f5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8381526020019081526020015f2054905092915050565b610abc83838360405180602001604052805f815250610d8f565b505050565b5f610aca61070e565b8210610b0f575f826040517fa57d13dc000000000000000000000000000000000000000000000000000000008152600401610b06929190611994565b60405180910390fd5b60028281548110610b2357610b22611c95565b5b905f5260205f2001549050919050565b5f610b3d82610f93565b9050919050565b5f5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610baa576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff60095f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054169050919050565b606060078054610c0890611c65565b80601f0160208091040260200160405190810160405280929190818152602001828054610c3490611c65565b8015610c7f5780601f10610c5657610100808354040283529160200191610c7f565b820191905f5260205f20905b815481529060010190602001808311610c6257829003601f168201915b5050505050905090565b80600b5f610c95610f85565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16610d3e610f85565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610d839190611717565b60405180910390a35050565b610d9a848484610724565b5f8373ffffffffffffffffffffffffffffffffffffffff163b14610dfb57610dc48484848461114c565b610dfa576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6060610e0c82610f2a565b610e42576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f610e4b611297565b90505f815103610e695760405180602001604052805f815250610e94565b80610e73846112ad565b604051602001610e84929190611d46565b6040516020818303038152906040525b915050919050565b5f600b5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16905092915050565b5f81610f34610f8c565b11158015610f43575060045482105b8015610f7e57505f7c010000000000000000000000000000000000000000000000000000000060085f8581526020019081526020015f205416145b9050919050565b5f33905090565b5f5f905090565b5f5f82905080610fa1610f8c565b116110205760045481101561101f575f60085f8381526020019081526020015f205490505f7c010000000000000000000000000000000000000000000000000000000082160361101d575b5f81036110135760085f836001900393508381526020019081526020015f20549050610fec565b8092505050611052565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b5f5f5f600a5f8581526020019081526020015f2090508092508254915050915091565b5f73ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b5f5f60e883901c905060e86110d98686846112fc565b62ffffff16901b9150509392505050565b5f73ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b5f5f90505b8181101561114557611137858583866111329190611da1565b611304565b508080600101915050611119565b5050505050565b5f8373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611171610f85565b8786866040518563ffffffff1660e01b81526004016111939493929190611e26565b6020604051808303815f875af19250505080156111ce57506040513d601f19601f820116820180604052508101906111cb9190611e84565b60015b611244573d805f81146111fc576040519150601f19603f3d011682016040523d82523d5f602084013e611201565b606091505b505f81510361123c576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060405180602001604052805f815250905090565b606060a060405101806040526020810391505f825281835b6001156112e757600184039350600a81066030018453600a81049050806112c5575b50828103602084039350808452505050919050565b5f9392505050565b5f5f73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611346576113418261140f565b611385565b8273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614611384576113838483611453565b5b5b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036113c6576113c182611529565b611405565b8273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16146114045761140383836115e9565b5b5b8390509392505050565b60028054905060035f8381526020019081526020015f2081905550600281908060018154018082558091505060019003905f5260205f20015f909190919091505550565b5f61145d83610b44565b90505f60015f8481526020019081526020015f205490505f5f5f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2090508282146114fb575f815f8581526020019081526020015f2054905080825f8581526020019081526020015f20819055508260015f8381526020019081526020015f2081905550505b60015f8581526020019081526020015f205f9055805f8481526020019081526020015f205f90555050505050565b5f600160028054905061153c9190611eaf565b90505f60035f8481526020019081526020015f205490505f6002838154811061156857611567611c95565b5b905f5260205f2001549050806002838154811061158857611587611c95565b5b905f5260205f2001819055508160035f8381526020019081526020015f208190555060035f8581526020019081526020015f205f905560028054806115d0576115cf611ee2565b5b600190038181905f5260205f20015f9055905550505050565b5f60016115f584610b44565b6115ff9190611eaf565b9050815f5f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8381526020019081526020015f20819055508060015f8481526020019081526020015f2081905550505050565b5f604051905090565b5f5ffd5b5f5ffd5b5f7fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6116b18161167d565b81146116bb575f5ffd5b50565b5f813590506116cc816116a8565b92915050565b5f602082840312156116e7576116e6611675565b5b5f6116f4848285016116be565b91505092915050565b5f8115159050919050565b611711816116fd565b82525050565b5f60208201905061172a5f830184611708565b92915050565b5f81519050919050565b5f82825260208201905092915050565b8281835e5f83830152505050565b5f601f19601f8301169050919050565b5f61177282611730565b61177c818561173a565b935061178c81856020860161174a565b61179581611758565b840191505092915050565b5f6020820190508181035f8301526117b88184611768565b905092915050565b5f819050919050565b6117d2816117c0565b81146117dc575f5ffd5b50565b5f813590506117ed816117c9565b92915050565b5f6020828403121561180857611807611675565b5b5f611815848285016117df565b91505092915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6118478261181e565b9050919050565b6118578161183d565b82525050565b5f6020820190506118705f83018461184e565b92915050565b61187f8161183d565b8114611889575f5ffd5b50565b5f8135905061189a81611876565b92915050565b5f5f604083850312156118b6576118b5611675565b5b5f6118c38582860161188c565b92505060206118d4858286016117df565b9150509250929050565b6118e7816117c0565b82525050565b5f6020820190506119005f8301846118de565b92915050565b5f5f5f6060848603121561191d5761191c611675565b5b5f61192a8682870161188c565b935050602061193b8682870161188c565b925050604061194c868287016117df565b9150509250925092565b5f5f6040838503121561196c5761196b611675565b5b5f611979858286016117df565b925050602061198a858286016117df565b9150509250929050565b5f6040820190506119a75f83018561184e565b6119b460208301846118de565b9392505050565b5f602082840312156119d0576119cf611675565b5b5f6119dd8482850161188c565b91505092915050565b6119ef816116fd565b81146119f9575f5ffd5b50565b5f81359050611a0a816119e6565b92915050565b5f5f60408385031215611a2657611a25611675565b5b5f611a338582860161188c565b9250506020611a44858286016119fc565b9150509250929050565b5f5ffd5b5f5ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b611a8c82611758565b810181811067ffffffffffffffff82111715611aab57611aaa611a56565b5b80604052505050565b5f611abd61166c565b9050611ac98282611a83565b919050565b5f67ffffffffffffffff821115611ae857611ae7611a56565b5b611af182611758565b9050602081019050919050565b828183375f83830152505050565b5f611b1e611b1984611ace565b611ab4565b905082815260208101848484011115611b3a57611b39611a52565b5b611b45848285611afe565b509392505050565b5f82601f830112611b6157611b60611a4e565b5b8135611b71848260208601611b0c565b91505092915050565b5f5f5f5f60808587031215611b9257611b91611675565b5b5f611b9f8782880161188c565b9450506020611bb08782880161188c565b9350506040611bc1878288016117df565b925050606085013567ffffffffffffffff811115611be257611be1611679565b5b611bee87828801611b4d565b91505092959194509250565b5f5f60408385031215611c1057611c0f611675565b5b5f611c1d8582860161188c565b9250506020611c2e8582860161188c565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f6002820490506001821680611c7c57607f821691505b602082108103611c8f57611c8e611c38565b5b50919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b5f81905092915050565b5f611cd682611730565b611ce08185611cc2565b9350611cf081856020860161174a565b80840191505092915050565b7f2e6a736f6e0000000000000000000000000000000000000000000000000000005f82015250565b5f611d30600583611cc2565b9150611d3b82611cfc565b600582019050919050565b5f611d518285611ccc565b9150611d5d8284611ccc565b9150611d6882611d24565b91508190509392505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f611dab826117c0565b9150611db6836117c0565b9250828201905080821115611dce57611dcd611d74565b5b92915050565b5f81519050919050565b5f82825260208201905092915050565b5f611df882611dd4565b611e028185611dde565b9350611e1281856020860161174a565b611e1b81611758565b840191505092915050565b5f608082019050611e395f83018761184e565b611e46602083018661184e565b611e5360408301856118de565b8181036060830152611e658184611dee565b905095945050505050565b5f81519050611e7e816116a8565b92915050565b5f60208284031215611e9957611e98611675565b5b5f611ea684828501611e70565b91505092915050565b5f611eb9826117c0565b9150611ec4836117c0565b9250828203905081811115611edc57611edb611d74565b5b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603160045260245ffdfea26469706673582212201803e27002b059d632f332594e8fe9dfc86117779c9273f3789a84a6b72d005e64736f6c634300081e0033",
}

Ierc721MetaData contains all meta data concerning the Ierc721 contract.

Functions

func Ierc20ERC20InsufficientAllowanceErrorID

func Ierc20ERC20InsufficientAllowanceErrorID() common.Hash

ErrorID returns the hash of canonical representation of the error's signature.

Solidity: error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed)

func Ierc20ERC20InsufficientBalanceErrorID

func Ierc20ERC20InsufficientBalanceErrorID() common.Hash

ErrorID returns the hash of canonical representation of the error's signature.

Solidity: error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed)

func Ierc20ERC20InvalidApproverErrorID

func Ierc20ERC20InvalidApproverErrorID() common.Hash

ErrorID returns the hash of canonical representation of the error's signature.

Solidity: error ERC20InvalidApprover(address approver)

func Ierc20ERC20InvalidReceiverErrorID

func Ierc20ERC20InvalidReceiverErrorID() common.Hash

ErrorID returns the hash of canonical representation of the error's signature.

Solidity: error ERC20InvalidReceiver(address receiver)

func Ierc20ERC20InvalidSenderErrorID

func Ierc20ERC20InvalidSenderErrorID() common.Hash

ErrorID returns the hash of canonical representation of the error's signature.

Solidity: error ERC20InvalidSender(address sender)

func Ierc20ERC20InvalidSpenderErrorID

func Ierc20ERC20InvalidSpenderErrorID() common.Hash

ErrorID returns the hash of canonical representation of the error's signature.

Solidity: error ERC20InvalidSpender(address spender)

func Ierc20burnableERC20InsufficientAllowanceErrorID

func Ierc20burnableERC20InsufficientAllowanceErrorID() common.Hash

ErrorID returns the hash of canonical representation of the error's signature.

Solidity: error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed)

func Ierc20burnableERC20InsufficientBalanceErrorID

func Ierc20burnableERC20InsufficientBalanceErrorID() common.Hash

ErrorID returns the hash of canonical representation of the error's signature.

Solidity: error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed)

func Ierc20burnableERC20InvalidApproverErrorID

func Ierc20burnableERC20InvalidApproverErrorID() common.Hash

ErrorID returns the hash of canonical representation of the error's signature.

Solidity: error ERC20InvalidApprover(address approver)

func Ierc20burnableERC20InvalidReceiverErrorID

func Ierc20burnableERC20InvalidReceiverErrorID() common.Hash

ErrorID returns the hash of canonical representation of the error's signature.

Solidity: error ERC20InvalidReceiver(address receiver)

func Ierc20burnableERC20InvalidSenderErrorID

func Ierc20burnableERC20InvalidSenderErrorID() common.Hash

ErrorID returns the hash of canonical representation of the error's signature.

Solidity: error ERC20InvalidSender(address sender)

func Ierc20burnableERC20InvalidSpenderErrorID

func Ierc20burnableERC20InvalidSpenderErrorID() common.Hash

ErrorID returns the hash of canonical representation of the error's signature.

Solidity: error ERC20InvalidSpender(address spender)

func Ierc721ApprovalCallerNotOwnerNorApprovedErrorID

func Ierc721ApprovalCallerNotOwnerNorApprovedErrorID() common.Hash

ErrorID returns the hash of canonical representation of the error's signature.

Solidity: error ApprovalCallerNotOwnerNorApproved()

func Ierc721ApprovalQueryForNonexistentTokenErrorID

func Ierc721ApprovalQueryForNonexistentTokenErrorID() common.Hash

ErrorID returns the hash of canonical representation of the error's signature.

Solidity: error ApprovalQueryForNonexistentToken()

func Ierc721BalanceQueryForZeroAddressErrorID

func Ierc721BalanceQueryForZeroAddressErrorID() common.Hash

ErrorID returns the hash of canonical representation of the error's signature.

Solidity: error BalanceQueryForZeroAddress()

func Ierc721ERC721IncorrectOwnerErrorID

func Ierc721ERC721IncorrectOwnerErrorID() common.Hash

ErrorID returns the hash of canonical representation of the error's signature.

Solidity: error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner)

func Ierc721ERC721InsufficientApprovalErrorID

func Ierc721ERC721InsufficientApprovalErrorID() common.Hash

ErrorID returns the hash of canonical representation of the error's signature.

Solidity: error ERC721InsufficientApproval(address operator, uint256 tokenId)

func Ierc721ERC721InvalidApproverErrorID

func Ierc721ERC721InvalidApproverErrorID() common.Hash

ErrorID returns the hash of canonical representation of the error's signature.

Solidity: error ERC721InvalidApprover(address approver)

func Ierc721ERC721InvalidOperatorErrorID

func Ierc721ERC721InvalidOperatorErrorID() common.Hash

ErrorID returns the hash of canonical representation of the error's signature.

Solidity: error ERC721InvalidOperator(address operator)

func Ierc721ERC721InvalidOwnerErrorID

func Ierc721ERC721InvalidOwnerErrorID() common.Hash

ErrorID returns the hash of canonical representation of the error's signature.

Solidity: error ERC721InvalidOwner(address owner)

func Ierc721ERC721InvalidReceiverErrorID

func Ierc721ERC721InvalidReceiverErrorID() common.Hash

ErrorID returns the hash of canonical representation of the error's signature.

Solidity: error ERC721InvalidReceiver(address receiver)

func Ierc721ERC721InvalidSenderErrorID

func Ierc721ERC721InvalidSenderErrorID() common.Hash

ErrorID returns the hash of canonical representation of the error's signature.

Solidity: error ERC721InvalidSender(address sender)

func Ierc721ERC721NonexistentTokenErrorID

func Ierc721ERC721NonexistentTokenErrorID() common.Hash

ErrorID returns the hash of canonical representation of the error's signature.

Solidity: error ERC721NonexistentToken(uint256 tokenId)

func Ierc721ERC721OutOfBoundsIndexErrorID

func Ierc721ERC721OutOfBoundsIndexErrorID() common.Hash

ErrorID returns the hash of canonical representation of the error's signature.

Solidity: error ERC721OutOfBoundsIndex(address owner, uint256 index)

func Ierc721MintERC2309QuantityExceedsLimitErrorID

func Ierc721MintERC2309QuantityExceedsLimitErrorID() common.Hash

ErrorID returns the hash of canonical representation of the error's signature.

Solidity: error MintERC2309QuantityExceedsLimit()

func Ierc721MintToZeroAddressErrorID

func Ierc721MintToZeroAddressErrorID() common.Hash

ErrorID returns the hash of canonical representation of the error's signature.

Solidity: error MintToZeroAddress()

func Ierc721MintZeroQuantityErrorID

func Ierc721MintZeroQuantityErrorID() common.Hash

ErrorID returns the hash of canonical representation of the error's signature.

Solidity: error MintZeroQuantity()

func Ierc721OwnerQueryForNonexistentTokenErrorID

func Ierc721OwnerQueryForNonexistentTokenErrorID() common.Hash

ErrorID returns the hash of canonical representation of the error's signature.

Solidity: error OwnerQueryForNonexistentToken()

func Ierc721OwnershipNotInitializedForExtraDataErrorID

func Ierc721OwnershipNotInitializedForExtraDataErrorID() common.Hash

ErrorID returns the hash of canonical representation of the error's signature.

Solidity: error OwnershipNotInitializedForExtraData()

func Ierc721TransferCallerNotOwnerNorApprovedErrorID

func Ierc721TransferCallerNotOwnerNorApprovedErrorID() common.Hash

ErrorID returns the hash of canonical representation of the error's signature.

Solidity: error TransferCallerNotOwnerNorApproved()

func Ierc721TransferFromIncorrectOwnerErrorID

func Ierc721TransferFromIncorrectOwnerErrorID() common.Hash

ErrorID returns the hash of canonical representation of the error's signature.

Solidity: error TransferFromIncorrectOwner()

func Ierc721TransferToNonERC721ReceiverImplementerErrorID

func Ierc721TransferToNonERC721ReceiverImplementerErrorID() common.Hash

ErrorID returns the hash of canonical representation of the error's signature.

Solidity: error TransferToNonERC721ReceiverImplementer()

func Ierc721TransferToZeroAddressErrorID

func Ierc721TransferToZeroAddressErrorID() common.Hash

ErrorID returns the hash of canonical representation of the error's signature.

Solidity: error TransferToZeroAddress()

func Ierc721URIQueryForNonexistentTokenErrorID

func Ierc721URIQueryForNonexistentTokenErrorID() common.Hash

ErrorID returns the hash of canonical representation of the error's signature.

Solidity: error URIQueryForNonexistentToken()

Types

type Disperse

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

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

func NewDisperse

func NewDisperse() *Disperse

NewDisperse creates a new instance of Disperse.

func (*Disperse) Instance

func (c *Disperse) Instance(backend bind.ContractBackend, addr common.Address) *bind.BoundContract

Instance creates a wrapper for a deployed contract instance at the given address. Use this to create the instance object passed to abigen v2 library functions Call, Transact, etc.

func (*Disperse) PackDisperseEther

func (disperse *Disperse) PackDisperseEther(recipients []common.Address, values []*big.Int) []byte

PackDisperseEther is the Go binding used to pack the parameters required for calling the contract method with ID 0xe63d38ed. This method will panic if any invalid/nil inputs are passed.

Solidity: function disperseEther(address[] recipients, uint256[] values) payable returns()

func (*Disperse) PackDisperseToken

func (disperse *Disperse) PackDisperseToken(token common.Address, recipients []common.Address, values []*big.Int) []byte

PackDisperseToken is the Go binding used to pack the parameters required for calling the contract method with ID 0xc73a2d60. This method will panic if any invalid/nil inputs are passed.

Solidity: function disperseToken(address token, address[] recipients, uint256[] values) returns()

func (*Disperse) PackDisperseTokenSimple

func (disperse *Disperse) PackDisperseTokenSimple(token common.Address, recipients []common.Address, values []*big.Int) []byte

PackDisperseTokenSimple is the Go binding used to pack the parameters required for calling the contract method with ID 0x51ba162c. This method will panic if any invalid/nil inputs are passed.

Solidity: function disperseTokenSimple(address token, address[] recipients, uint256[] values) returns()

func (*Disperse) TryPackDisperseEther

func (disperse *Disperse) TryPackDisperseEther(recipients []common.Address, values []*big.Int) ([]byte, error)

TryPackDisperseEther is the Go binding used to pack the parameters required for calling the contract method with ID 0xe63d38ed. This method will return an error if any inputs are invalid/nil.

Solidity: function disperseEther(address[] recipients, uint256[] values) payable returns()

func (*Disperse) TryPackDisperseToken

func (disperse *Disperse) TryPackDisperseToken(token common.Address, recipients []common.Address, values []*big.Int) ([]byte, error)

TryPackDisperseToken is the Go binding used to pack the parameters required for calling the contract method with ID 0xc73a2d60. This method will return an error if any inputs are invalid/nil.

Solidity: function disperseToken(address token, address[] recipients, uint256[] values) returns()

func (*Disperse) TryPackDisperseTokenSimple

func (disperse *Disperse) TryPackDisperseTokenSimple(token common.Address, recipients []common.Address, values []*big.Int) ([]byte, error)

TryPackDisperseTokenSimple is the Go binding used to pack the parameters required for calling the contract method with ID 0x51ba162c. This method will return an error if any inputs are invalid/nil.

Solidity: function disperseTokenSimple(address token, address[] recipients, uint256[] values) returns()

type Ierc20

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

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

func NewIerc20

func NewIerc20() *Ierc20

NewIerc20 creates a new instance of Ierc20.

func (*Ierc20) Instance

func (c *Ierc20) Instance(backend bind.ContractBackend, addr common.Address) *bind.BoundContract

Instance creates a wrapper for a deployed contract instance at the given address. Use this to create the instance object passed to abigen v2 library functions Call, Transact, etc.

func (*Ierc20) PackAllowance

func (ierc20 *Ierc20) PackAllowance(owner common.Address, spender common.Address) []byte

PackAllowance is the Go binding used to pack the parameters required for calling the contract method with ID 0xdd62ed3e. This method will panic if any invalid/nil inputs are passed.

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

func (*Ierc20) PackApprove

func (ierc20 *Ierc20) PackApprove(spender common.Address, value *big.Int) []byte

PackApprove is the Go binding used to pack the parameters required for calling the contract method with ID 0x095ea7b3. This method will panic if any invalid/nil inputs are passed.

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

func (*Ierc20) PackBalanceOf

func (ierc20 *Ierc20) PackBalanceOf(account common.Address) []byte

PackBalanceOf is the Go binding used to pack the parameters required for calling the contract method with ID 0x70a08231. This method will panic if any invalid/nil inputs are passed.

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

func (*Ierc20) PackDecimals

func (ierc20 *Ierc20) PackDecimals() []byte

PackDecimals is the Go binding used to pack the parameters required for calling the contract method with ID 0x313ce567. This method will panic if any invalid/nil inputs are passed.

Solidity: function decimals() view returns(uint8)

func (*Ierc20) PackName

func (ierc20 *Ierc20) PackName() []byte

PackName is the Go binding used to pack the parameters required for calling the contract method with ID 0x06fdde03. This method will panic if any invalid/nil inputs are passed.

Solidity: function name() view returns(string)

func (*Ierc20) PackSymbol

func (ierc20 *Ierc20) PackSymbol() []byte

PackSymbol is the Go binding used to pack the parameters required for calling the contract method with ID 0x95d89b41. This method will panic if any invalid/nil inputs are passed.

Solidity: function symbol() view returns(string)

func (*Ierc20) PackTotalSupply

func (ierc20 *Ierc20) PackTotalSupply() []byte

PackTotalSupply is the Go binding used to pack the parameters required for calling the contract method with ID 0x18160ddd. This method will panic if any invalid/nil inputs are passed.

Solidity: function totalSupply() view returns(uint256)

func (*Ierc20) PackTransfer

func (ierc20 *Ierc20) PackTransfer(to common.Address, value *big.Int) []byte

PackTransfer is the Go binding used to pack the parameters required for calling the contract method with ID 0xa9059cbb. This method will panic if any invalid/nil inputs are passed.

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

func (*Ierc20) PackTransferFrom

func (ierc20 *Ierc20) PackTransferFrom(from common.Address, to common.Address, value *big.Int) []byte

PackTransferFrom is the Go binding used to pack the parameters required for calling the contract method with ID 0x23b872dd. This method will panic if any invalid/nil inputs are passed.

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

func (*Ierc20) TryPackAllowance

func (ierc20 *Ierc20) TryPackAllowance(owner common.Address, spender common.Address) ([]byte, error)

TryPackAllowance is the Go binding used to pack the parameters required for calling the contract method with ID 0xdd62ed3e. This method will return an error if any inputs are invalid/nil.

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

func (*Ierc20) TryPackApprove

func (ierc20 *Ierc20) TryPackApprove(spender common.Address, value *big.Int) ([]byte, error)

TryPackApprove is the Go binding used to pack the parameters required for calling the contract method with ID 0x095ea7b3. This method will return an error if any inputs are invalid/nil.

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

func (*Ierc20) TryPackBalanceOf

func (ierc20 *Ierc20) TryPackBalanceOf(account common.Address) ([]byte, error)

TryPackBalanceOf is the Go binding used to pack the parameters required for calling the contract method with ID 0x70a08231. This method will return an error if any inputs are invalid/nil.

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

func (*Ierc20) TryPackDecimals

func (ierc20 *Ierc20) TryPackDecimals() ([]byte, error)

TryPackDecimals is the Go binding used to pack the parameters required for calling the contract method with ID 0x313ce567. This method will return an error if any inputs are invalid/nil.

Solidity: function decimals() view returns(uint8)

func (*Ierc20) TryPackName

func (ierc20 *Ierc20) TryPackName() ([]byte, error)

TryPackName is the Go binding used to pack the parameters required for calling the contract method with ID 0x06fdde03. This method will return an error if any inputs are invalid/nil.

Solidity: function name() view returns(string)

func (*Ierc20) TryPackSymbol

func (ierc20 *Ierc20) TryPackSymbol() ([]byte, error)

TryPackSymbol is the Go binding used to pack the parameters required for calling the contract method with ID 0x95d89b41. This method will return an error if any inputs are invalid/nil.

Solidity: function symbol() view returns(string)

func (*Ierc20) TryPackTotalSupply

func (ierc20 *Ierc20) TryPackTotalSupply() ([]byte, error)

TryPackTotalSupply is the Go binding used to pack the parameters required for calling the contract method with ID 0x18160ddd. This method will return an error if any inputs are invalid/nil.

Solidity: function totalSupply() view returns(uint256)

func (*Ierc20) TryPackTransfer

func (ierc20 *Ierc20) TryPackTransfer(to common.Address, value *big.Int) ([]byte, error)

TryPackTransfer is the Go binding used to pack the parameters required for calling the contract method with ID 0xa9059cbb. This method will return an error if any inputs are invalid/nil.

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

func (*Ierc20) TryPackTransferFrom

func (ierc20 *Ierc20) TryPackTransferFrom(from common.Address, to common.Address, value *big.Int) ([]byte, error)

TryPackTransferFrom is the Go binding used to pack the parameters required for calling the contract method with ID 0x23b872dd. This method will return an error if any inputs are invalid/nil.

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

func (*Ierc20) UnpackAllowance

func (ierc20 *Ierc20) UnpackAllowance(data []byte) (*big.Int, error)

UnpackAllowance is the Go binding that unpacks the parameters returned from invoking the contract method with ID 0xdd62ed3e.

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

func (*Ierc20) UnpackApprovalEvent

func (ierc20 *Ierc20) UnpackApprovalEvent(log *types.Log) (*Ierc20Approval, error)

UnpackApprovalEvent is the Go binding that unpacks the event data emitted by contract.

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

func (*Ierc20) UnpackApprove

func (ierc20 *Ierc20) UnpackApprove(data []byte) (bool, error)

UnpackApprove is the Go binding that unpacks the parameters returned from invoking the contract method with ID 0x095ea7b3.

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

func (*Ierc20) UnpackBalanceOf

func (ierc20 *Ierc20) UnpackBalanceOf(data []byte) (*big.Int, error)

UnpackBalanceOf is the Go binding that unpacks the parameters returned from invoking the contract method with ID 0x70a08231.

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

func (*Ierc20) UnpackDecimals

func (ierc20 *Ierc20) UnpackDecimals(data []byte) (uint8, error)

UnpackDecimals is the Go binding that unpacks the parameters returned from invoking the contract method with ID 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*Ierc20) UnpackERC20InsufficientAllowanceError

func (ierc20 *Ierc20) UnpackERC20InsufficientAllowanceError(raw []byte) (*Ierc20ERC20InsufficientAllowance, error)

UnpackERC20InsufficientAllowanceError is the Go binding used to decode the provided error data into the corresponding Go error struct.

Solidity: error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed)

func (*Ierc20) UnpackERC20InsufficientBalanceError

func (ierc20 *Ierc20) UnpackERC20InsufficientBalanceError(raw []byte) (*Ierc20ERC20InsufficientBalance, error)

UnpackERC20InsufficientBalanceError is the Go binding used to decode the provided error data into the corresponding Go error struct.

Solidity: error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed)

func (*Ierc20) UnpackERC20InvalidApproverError

func (ierc20 *Ierc20) UnpackERC20InvalidApproverError(raw []byte) (*Ierc20ERC20InvalidApprover, error)

UnpackERC20InvalidApproverError is the Go binding used to decode the provided error data into the corresponding Go error struct.

Solidity: error ERC20InvalidApprover(address approver)

func (*Ierc20) UnpackERC20InvalidReceiverError

func (ierc20 *Ierc20) UnpackERC20InvalidReceiverError(raw []byte) (*Ierc20ERC20InvalidReceiver, error)

UnpackERC20InvalidReceiverError is the Go binding used to decode the provided error data into the corresponding Go error struct.

Solidity: error ERC20InvalidReceiver(address receiver)

func (*Ierc20) UnpackERC20InvalidSenderError

func (ierc20 *Ierc20) UnpackERC20InvalidSenderError(raw []byte) (*Ierc20ERC20InvalidSender, error)

UnpackERC20InvalidSenderError is the Go binding used to decode the provided error data into the corresponding Go error struct.

Solidity: error ERC20InvalidSender(address sender)

func (*Ierc20) UnpackERC20InvalidSpenderError

func (ierc20 *Ierc20) UnpackERC20InvalidSpenderError(raw []byte) (*Ierc20ERC20InvalidSpender, error)

UnpackERC20InvalidSpenderError is the Go binding used to decode the provided error data into the corresponding Go error struct.

Solidity: error ERC20InvalidSpender(address spender)

func (*Ierc20) UnpackError

func (ierc20 *Ierc20) UnpackError(raw []byte) (any, error)

UnpackError attempts to decode the provided error data using user-defined error definitions.

func (*Ierc20) UnpackName

func (ierc20 *Ierc20) UnpackName(data []byte) (string, error)

UnpackName is the Go binding that unpacks the parameters returned from invoking the contract method with ID 0x06fdde03.

Solidity: function name() view returns(string)

func (*Ierc20) UnpackSymbol

func (ierc20 *Ierc20) UnpackSymbol(data []byte) (string, error)

UnpackSymbol is the Go binding that unpacks the parameters returned from invoking the contract method with ID 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*Ierc20) UnpackTotalSupply

func (ierc20 *Ierc20) UnpackTotalSupply(data []byte) (*big.Int, error)

UnpackTotalSupply is the Go binding that unpacks the parameters returned from invoking the contract method with ID 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*Ierc20) UnpackTransfer

func (ierc20 *Ierc20) UnpackTransfer(data []byte) (bool, error)

UnpackTransfer is the Go binding that unpacks the parameters returned from invoking the contract method with ID 0xa9059cbb.

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

func (*Ierc20) UnpackTransferEvent

func (ierc20 *Ierc20) UnpackTransferEvent(log *types.Log) (*Ierc20Transfer, error)

UnpackTransferEvent is the Go binding that unpacks the event data emitted by contract.

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

func (*Ierc20) UnpackTransferFrom

func (ierc20 *Ierc20) UnpackTransferFrom(data []byte) (bool, error)

UnpackTransferFrom is the Go binding that unpacks the parameters returned from invoking the contract method with ID 0x23b872dd.

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

type Ierc20Approval

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

Ierc20Approval represents a Approval event raised by the Ierc20 contract.

func (Ierc20Approval) ContractEventName

func (Ierc20Approval) ContractEventName() string

ContractEventName returns the user-defined event name.

type Ierc20ERC20InsufficientAllowance

type Ierc20ERC20InsufficientAllowance struct {
	Spender   common.Address
	Allowance *big.Int
	Needed    *big.Int
}

Ierc20ERC20InsufficientAllowance represents a ERC20InsufficientAllowance error raised by the Ierc20 contract.

type Ierc20ERC20InsufficientBalance

type Ierc20ERC20InsufficientBalance struct {
	Sender  common.Address
	Balance *big.Int
	Needed  *big.Int
}

Ierc20ERC20InsufficientBalance represents a ERC20InsufficientBalance error raised by the Ierc20 contract.

type Ierc20ERC20InvalidApprover

type Ierc20ERC20InvalidApprover struct {
	Approver common.Address
}

Ierc20ERC20InvalidApprover represents a ERC20InvalidApprover error raised by the Ierc20 contract.

type Ierc20ERC20InvalidReceiver

type Ierc20ERC20InvalidReceiver struct {
	Receiver common.Address
}

Ierc20ERC20InvalidReceiver represents a ERC20InvalidReceiver error raised by the Ierc20 contract.

type Ierc20ERC20InvalidSender

type Ierc20ERC20InvalidSender struct {
	Sender common.Address
}

Ierc20ERC20InvalidSender represents a ERC20InvalidSender error raised by the Ierc20 contract.

type Ierc20ERC20InvalidSpender

type Ierc20ERC20InvalidSpender struct {
	Spender common.Address
}

Ierc20ERC20InvalidSpender represents a ERC20InvalidSpender error raised by the Ierc20 contract.

type Ierc20Transfer

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

Ierc20Transfer represents a Transfer event raised by the Ierc20 contract.

func (Ierc20Transfer) ContractEventName

func (Ierc20Transfer) ContractEventName() string

ContractEventName returns the user-defined event name.

type Ierc20burnable

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

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

func NewIerc20burnable

func NewIerc20burnable() *Ierc20burnable

NewIerc20burnable creates a new instance of Ierc20burnable.

func (*Ierc20burnable) Instance

func (c *Ierc20burnable) Instance(backend bind.ContractBackend, addr common.Address) *bind.BoundContract

Instance creates a wrapper for a deployed contract instance at the given address. Use this to create the instance object passed to abigen v2 library functions Call, Transact, etc.

func (*Ierc20burnable) PackAllowance

func (ierc20burnable *Ierc20burnable) PackAllowance(owner common.Address, spender common.Address) []byte

PackAllowance is the Go binding used to pack the parameters required for calling the contract method with ID 0xdd62ed3e. This method will panic if any invalid/nil inputs are passed.

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

func (*Ierc20burnable) PackApprove

func (ierc20burnable *Ierc20burnable) PackApprove(spender common.Address, value *big.Int) []byte

PackApprove is the Go binding used to pack the parameters required for calling the contract method with ID 0x095ea7b3. This method will panic if any invalid/nil inputs are passed.

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

func (*Ierc20burnable) PackBalanceOf

func (ierc20burnable *Ierc20burnable) PackBalanceOf(account common.Address) []byte

PackBalanceOf is the Go binding used to pack the parameters required for calling the contract method with ID 0x70a08231. This method will panic if any invalid/nil inputs are passed.

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

func (*Ierc20burnable) PackBurn

func (ierc20burnable *Ierc20burnable) PackBurn(value *big.Int) []byte

PackBurn is the Go binding used to pack the parameters required for calling the contract method with ID 0x42966c68. This method will panic if any invalid/nil inputs are passed.

Solidity: function burn(uint256 value) returns()

func (*Ierc20burnable) PackBurnFrom

func (ierc20burnable *Ierc20burnable) PackBurnFrom(account common.Address, value *big.Int) []byte

PackBurnFrom is the Go binding used to pack the parameters required for calling the contract method with ID 0x79cc6790. This method will panic if any invalid/nil inputs are passed.

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

func (*Ierc20burnable) PackDecimals

func (ierc20burnable *Ierc20burnable) PackDecimals() []byte

PackDecimals is the Go binding used to pack the parameters required for calling the contract method with ID 0x313ce567. This method will panic if any invalid/nil inputs are passed.

Solidity: function decimals() view returns(uint8)

func (*Ierc20burnable) PackName

func (ierc20burnable *Ierc20burnable) PackName() []byte

PackName is the Go binding used to pack the parameters required for calling the contract method with ID 0x06fdde03. This method will panic if any invalid/nil inputs are passed.

Solidity: function name() view returns(string)

func (*Ierc20burnable) PackSymbol

func (ierc20burnable *Ierc20burnable) PackSymbol() []byte

PackSymbol is the Go binding used to pack the parameters required for calling the contract method with ID 0x95d89b41. This method will panic if any invalid/nil inputs are passed.

Solidity: function symbol() view returns(string)

func (*Ierc20burnable) PackTotalSupply

func (ierc20burnable *Ierc20burnable) PackTotalSupply() []byte

PackTotalSupply is the Go binding used to pack the parameters required for calling the contract method with ID 0x18160ddd. This method will panic if any invalid/nil inputs are passed.

Solidity: function totalSupply() view returns(uint256)

func (*Ierc20burnable) PackTransfer

func (ierc20burnable *Ierc20burnable) PackTransfer(to common.Address, value *big.Int) []byte

PackTransfer is the Go binding used to pack the parameters required for calling the contract method with ID 0xa9059cbb. This method will panic if any invalid/nil inputs are passed.

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

func (*Ierc20burnable) PackTransferFrom

func (ierc20burnable *Ierc20burnable) PackTransferFrom(from common.Address, to common.Address, value *big.Int) []byte

PackTransferFrom is the Go binding used to pack the parameters required for calling the contract method with ID 0x23b872dd. This method will panic if any invalid/nil inputs are passed.

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

func (*Ierc20burnable) TryPackAllowance

func (ierc20burnable *Ierc20burnable) TryPackAllowance(owner common.Address, spender common.Address) ([]byte, error)

TryPackAllowance is the Go binding used to pack the parameters required for calling the contract method with ID 0xdd62ed3e. This method will return an error if any inputs are invalid/nil.

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

func (*Ierc20burnable) TryPackApprove

func (ierc20burnable *Ierc20burnable) TryPackApprove(spender common.Address, value *big.Int) ([]byte, error)

TryPackApprove is the Go binding used to pack the parameters required for calling the contract method with ID 0x095ea7b3. This method will return an error if any inputs are invalid/nil.

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

func (*Ierc20burnable) TryPackBalanceOf

func (ierc20burnable *Ierc20burnable) TryPackBalanceOf(account common.Address) ([]byte, error)

TryPackBalanceOf is the Go binding used to pack the parameters required for calling the contract method with ID 0x70a08231. This method will return an error if any inputs are invalid/nil.

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

func (*Ierc20burnable) TryPackBurn

func (ierc20burnable *Ierc20burnable) TryPackBurn(value *big.Int) ([]byte, error)

TryPackBurn is the Go binding used to pack the parameters required for calling the contract method with ID 0x42966c68. This method will return an error if any inputs are invalid/nil.

Solidity: function burn(uint256 value) returns()

func (*Ierc20burnable) TryPackBurnFrom

func (ierc20burnable *Ierc20burnable) TryPackBurnFrom(account common.Address, value *big.Int) ([]byte, error)

TryPackBurnFrom is the Go binding used to pack the parameters required for calling the contract method with ID 0x79cc6790. This method will return an error if any inputs are invalid/nil.

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

func (*Ierc20burnable) TryPackDecimals

func (ierc20burnable *Ierc20burnable) TryPackDecimals() ([]byte, error)

TryPackDecimals is the Go binding used to pack the parameters required for calling the contract method with ID 0x313ce567. This method will return an error if any inputs are invalid/nil.

Solidity: function decimals() view returns(uint8)

func (*Ierc20burnable) TryPackName

func (ierc20burnable *Ierc20burnable) TryPackName() ([]byte, error)

TryPackName is the Go binding used to pack the parameters required for calling the contract method with ID 0x06fdde03. This method will return an error if any inputs are invalid/nil.

Solidity: function name() view returns(string)

func (*Ierc20burnable) TryPackSymbol

func (ierc20burnable *Ierc20burnable) TryPackSymbol() ([]byte, error)

TryPackSymbol is the Go binding used to pack the parameters required for calling the contract method with ID 0x95d89b41. This method will return an error if any inputs are invalid/nil.

Solidity: function symbol() view returns(string)

func (*Ierc20burnable) TryPackTotalSupply

func (ierc20burnable *Ierc20burnable) TryPackTotalSupply() ([]byte, error)

TryPackTotalSupply is the Go binding used to pack the parameters required for calling the contract method with ID 0x18160ddd. This method will return an error if any inputs are invalid/nil.

Solidity: function totalSupply() view returns(uint256)

func (*Ierc20burnable) TryPackTransfer

func (ierc20burnable *Ierc20burnable) TryPackTransfer(to common.Address, value *big.Int) ([]byte, error)

TryPackTransfer is the Go binding used to pack the parameters required for calling the contract method with ID 0xa9059cbb. This method will return an error if any inputs are invalid/nil.

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

func (*Ierc20burnable) TryPackTransferFrom

func (ierc20burnable *Ierc20burnable) TryPackTransferFrom(from common.Address, to common.Address, value *big.Int) ([]byte, error)

TryPackTransferFrom is the Go binding used to pack the parameters required for calling the contract method with ID 0x23b872dd. This method will return an error if any inputs are invalid/nil.

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

func (*Ierc20burnable) UnpackAllowance

func (ierc20burnable *Ierc20burnable) UnpackAllowance(data []byte) (*big.Int, error)

UnpackAllowance is the Go binding that unpacks the parameters returned from invoking the contract method with ID 0xdd62ed3e.

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

func (*Ierc20burnable) UnpackApprovalEvent

func (ierc20burnable *Ierc20burnable) UnpackApprovalEvent(log *types.Log) (*Ierc20burnableApproval, error)

UnpackApprovalEvent is the Go binding that unpacks the event data emitted by contract.

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

func (*Ierc20burnable) UnpackApprove

func (ierc20burnable *Ierc20burnable) UnpackApprove(data []byte) (bool, error)

UnpackApprove is the Go binding that unpacks the parameters returned from invoking the contract method with ID 0x095ea7b3.

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

func (*Ierc20burnable) UnpackBalanceOf

func (ierc20burnable *Ierc20burnable) UnpackBalanceOf(data []byte) (*big.Int, error)

UnpackBalanceOf is the Go binding that unpacks the parameters returned from invoking the contract method with ID 0x70a08231.

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

func (*Ierc20burnable) UnpackDecimals

func (ierc20burnable *Ierc20burnable) UnpackDecimals(data []byte) (uint8, error)

UnpackDecimals is the Go binding that unpacks the parameters returned from invoking the contract method with ID 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*Ierc20burnable) UnpackERC20InsufficientAllowanceError

func (ierc20burnable *Ierc20burnable) UnpackERC20InsufficientAllowanceError(raw []byte) (*Ierc20burnableERC20InsufficientAllowance, error)

UnpackERC20InsufficientAllowanceError is the Go binding used to decode the provided error data into the corresponding Go error struct.

Solidity: error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed)

func (*Ierc20burnable) UnpackERC20InsufficientBalanceError

func (ierc20burnable *Ierc20burnable) UnpackERC20InsufficientBalanceError(raw []byte) (*Ierc20burnableERC20InsufficientBalance, error)

UnpackERC20InsufficientBalanceError is the Go binding used to decode the provided error data into the corresponding Go error struct.

Solidity: error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed)

func (*Ierc20burnable) UnpackERC20InvalidApproverError

func (ierc20burnable *Ierc20burnable) UnpackERC20InvalidApproverError(raw []byte) (*Ierc20burnableERC20InvalidApprover, error)

UnpackERC20InvalidApproverError is the Go binding used to decode the provided error data into the corresponding Go error struct.

Solidity: error ERC20InvalidApprover(address approver)

func (*Ierc20burnable) UnpackERC20InvalidReceiverError

func (ierc20burnable *Ierc20burnable) UnpackERC20InvalidReceiverError(raw []byte) (*Ierc20burnableERC20InvalidReceiver, error)

UnpackERC20InvalidReceiverError is the Go binding used to decode the provided error data into the corresponding Go error struct.

Solidity: error ERC20InvalidReceiver(address receiver)

func (*Ierc20burnable) UnpackERC20InvalidSenderError

func (ierc20burnable *Ierc20burnable) UnpackERC20InvalidSenderError(raw []byte) (*Ierc20burnableERC20InvalidSender, error)

UnpackERC20InvalidSenderError is the Go binding used to decode the provided error data into the corresponding Go error struct.

Solidity: error ERC20InvalidSender(address sender)

func (*Ierc20burnable) UnpackERC20InvalidSpenderError

func (ierc20burnable *Ierc20burnable) UnpackERC20InvalidSpenderError(raw []byte) (*Ierc20burnableERC20InvalidSpender, error)

UnpackERC20InvalidSpenderError is the Go binding used to decode the provided error data into the corresponding Go error struct.

Solidity: error ERC20InvalidSpender(address spender)

func (*Ierc20burnable) UnpackError

func (ierc20burnable *Ierc20burnable) UnpackError(raw []byte) (any, error)

UnpackError attempts to decode the provided error data using user-defined error definitions.

func (*Ierc20burnable) UnpackName

func (ierc20burnable *Ierc20burnable) UnpackName(data []byte) (string, error)

UnpackName is the Go binding that unpacks the parameters returned from invoking the contract method with ID 0x06fdde03.

Solidity: function name() view returns(string)

func (*Ierc20burnable) UnpackSymbol

func (ierc20burnable *Ierc20burnable) UnpackSymbol(data []byte) (string, error)

UnpackSymbol is the Go binding that unpacks the parameters returned from invoking the contract method with ID 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*Ierc20burnable) UnpackTotalSupply

func (ierc20burnable *Ierc20burnable) UnpackTotalSupply(data []byte) (*big.Int, error)

UnpackTotalSupply is the Go binding that unpacks the parameters returned from invoking the contract method with ID 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*Ierc20burnable) UnpackTransfer

func (ierc20burnable *Ierc20burnable) UnpackTransfer(data []byte) (bool, error)

UnpackTransfer is the Go binding that unpacks the parameters returned from invoking the contract method with ID 0xa9059cbb.

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

func (*Ierc20burnable) UnpackTransferEvent

func (ierc20burnable *Ierc20burnable) UnpackTransferEvent(log *types.Log) (*Ierc20burnableTransfer, error)

UnpackTransferEvent is the Go binding that unpacks the event data emitted by contract.

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

func (*Ierc20burnable) UnpackTransferFrom

func (ierc20burnable *Ierc20burnable) UnpackTransferFrom(data []byte) (bool, error)

UnpackTransferFrom is the Go binding that unpacks the parameters returned from invoking the contract method with ID 0x23b872dd.

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

type Ierc20burnableApproval

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

Ierc20burnableApproval represents a Approval event raised by the Ierc20burnable contract.

func (Ierc20burnableApproval) ContractEventName

func (Ierc20burnableApproval) ContractEventName() string

ContractEventName returns the user-defined event name.

type Ierc20burnableERC20InsufficientAllowance

type Ierc20burnableERC20InsufficientAllowance struct {
	Spender   common.Address
	Allowance *big.Int
	Needed    *big.Int
}

Ierc20burnableERC20InsufficientAllowance represents a ERC20InsufficientAllowance error raised by the Ierc20burnable contract.

type Ierc20burnableERC20InsufficientBalance

type Ierc20burnableERC20InsufficientBalance struct {
	Sender  common.Address
	Balance *big.Int
	Needed  *big.Int
}

Ierc20burnableERC20InsufficientBalance represents a ERC20InsufficientBalance error raised by the Ierc20burnable contract.

type Ierc20burnableERC20InvalidApprover

type Ierc20burnableERC20InvalidApprover struct {
	Approver common.Address
}

Ierc20burnableERC20InvalidApprover represents a ERC20InvalidApprover error raised by the Ierc20burnable contract.

type Ierc20burnableERC20InvalidReceiver

type Ierc20burnableERC20InvalidReceiver struct {
	Receiver common.Address
}

Ierc20burnableERC20InvalidReceiver represents a ERC20InvalidReceiver error raised by the Ierc20burnable contract.

type Ierc20burnableERC20InvalidSender

type Ierc20burnableERC20InvalidSender struct {
	Sender common.Address
}

Ierc20burnableERC20InvalidSender represents a ERC20InvalidSender error raised by the Ierc20burnable contract.

type Ierc20burnableERC20InvalidSpender

type Ierc20burnableERC20InvalidSpender struct {
	Spender common.Address
}

Ierc20burnableERC20InvalidSpender represents a ERC20InvalidSpender error raised by the Ierc20burnable contract.

type Ierc20burnableTransfer

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

Ierc20burnableTransfer represents a Transfer event raised by the Ierc20burnable contract.

func (Ierc20burnableTransfer) ContractEventName

func (Ierc20burnableTransfer) ContractEventName() string

ContractEventName returns the user-defined event name.

type Ierc721

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

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

func NewIerc721

func NewIerc721() *Ierc721

NewIerc721 creates a new instance of Ierc721.

func (*Ierc721) Instance

func (c *Ierc721) Instance(backend bind.ContractBackend, addr common.Address) *bind.BoundContract

Instance creates a wrapper for a deployed contract instance at the given address. Use this to create the instance object passed to abigen v2 library functions Call, Transact, etc.

func (*Ierc721) PackApprove

func (ierc721 *Ierc721) PackApprove(to common.Address, tokenId *big.Int) []byte

PackApprove is the Go binding used to pack the parameters required for calling the contract method with ID 0x095ea7b3. This method will panic if any invalid/nil inputs are passed.

Solidity: function approve(address to, uint256 tokenId) payable returns()

func (*Ierc721) PackBalanceOf

func (ierc721 *Ierc721) PackBalanceOf(owner common.Address) []byte

PackBalanceOf is the Go binding used to pack the parameters required for calling the contract method with ID 0x70a08231. This method will panic if any invalid/nil inputs are passed.

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

func (*Ierc721) PackConstructor

func (ierc721 *Ierc721) PackConstructor(name_ string, symbol_ string) []byte

PackConstructor is the Go binding used to pack the parameters required for contract deployment.

Solidity: constructor(string name_, string symbol_) returns()

func (*Ierc721) PackGetApproved

func (ierc721 *Ierc721) PackGetApproved(tokenId *big.Int) []byte

PackGetApproved is the Go binding used to pack the parameters required for calling the contract method with ID 0x081812fc. This method will panic if any invalid/nil inputs are passed.

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

func (*Ierc721) PackIsApprovedForAll

func (ierc721 *Ierc721) PackIsApprovedForAll(owner common.Address, operator common.Address) []byte

PackIsApprovedForAll is the Go binding used to pack the parameters required for calling the contract method with ID 0xe985e9c5. This method will panic if any invalid/nil inputs are passed.

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

func (*Ierc721) PackName

func (ierc721 *Ierc721) PackName() []byte

PackName is the Go binding used to pack the parameters required for calling the contract method with ID 0x06fdde03. This method will panic if any invalid/nil inputs are passed.

Solidity: function name() view returns(string)

func (*Ierc721) PackOwnerOf

func (ierc721 *Ierc721) PackOwnerOf(tokenId *big.Int) []byte

PackOwnerOf is the Go binding used to pack the parameters required for calling the contract method with ID 0x6352211e. This method will panic if any invalid/nil inputs are passed.

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

func (*Ierc721) PackRoyaltyInfo

func (ierc721 *Ierc721) PackRoyaltyInfo(arg0 *big.Int, arg1 *big.Int) []byte

PackRoyaltyInfo is the Go binding used to pack the parameters required for calling the contract method with ID 0x2a55205a. This method will panic if any invalid/nil inputs are passed.

Solidity: function royaltyInfo(uint256 , uint256 ) view returns(address receiver, uint256 royaltyAmount)

func (*Ierc721) PackSafeTransferFrom

func (ierc721 *Ierc721) PackSafeTransferFrom(from common.Address, to common.Address, tokenId *big.Int) []byte

PackSafeTransferFrom is the Go binding used to pack the parameters required for calling the contract method with ID 0x42842e0e. This method will panic if any invalid/nil inputs are passed.

Solidity: function safeTransferFrom(address from, address to, uint256 tokenId) payable returns()

func (*Ierc721) PackSafeTransferFrom0

func (ierc721 *Ierc721) PackSafeTransferFrom0(from common.Address, to common.Address, tokenId *big.Int, data []byte) []byte

PackSafeTransferFrom0 is the Go binding used to pack the parameters required for calling the contract method with ID 0xb88d4fde. This method will panic if any invalid/nil inputs are passed.

Solidity: function safeTransferFrom(address from, address to, uint256 tokenId, bytes _data) payable returns()

func (*Ierc721) PackSetApprovalForAll

func (ierc721 *Ierc721) PackSetApprovalForAll(operator common.Address, approved bool) []byte

PackSetApprovalForAll is the Go binding used to pack the parameters required for calling the contract method with ID 0xa22cb465. This method will panic if any invalid/nil inputs are passed.

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

func (*Ierc721) PackSupportsInterface

func (ierc721 *Ierc721) PackSupportsInterface(interfaceId [4]byte) []byte

PackSupportsInterface is the Go binding used to pack the parameters required for calling the contract method with ID 0x01ffc9a7. This method will panic if any invalid/nil inputs are passed.

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

func (*Ierc721) PackSymbol

func (ierc721 *Ierc721) PackSymbol() []byte

PackSymbol is the Go binding used to pack the parameters required for calling the contract method with ID 0x95d89b41. This method will panic if any invalid/nil inputs are passed.

Solidity: function symbol() view returns(string)

func (*Ierc721) PackTokenByIndex

func (ierc721 *Ierc721) PackTokenByIndex(index *big.Int) []byte

PackTokenByIndex is the Go binding used to pack the parameters required for calling the contract method with ID 0x4f6ccce7. This method will panic if any invalid/nil inputs are passed.

Solidity: function tokenByIndex(uint256 index) view returns(uint256)

func (*Ierc721) PackTokenOfOwnerByIndex

func (ierc721 *Ierc721) PackTokenOfOwnerByIndex(owner common.Address, index *big.Int) []byte

PackTokenOfOwnerByIndex is the Go binding used to pack the parameters required for calling the contract method with ID 0x2f745c59. This method will panic if any invalid/nil inputs are passed.

Solidity: function tokenOfOwnerByIndex(address owner, uint256 index) view returns(uint256)

func (*Ierc721) PackTokenURI

func (ierc721 *Ierc721) PackTokenURI(tokenId *big.Int) []byte

PackTokenURI is the Go binding used to pack the parameters required for calling the contract method with ID 0xc87b56dd. This method will panic if any invalid/nil inputs are passed.

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

func (*Ierc721) PackTotalSupply

func (ierc721 *Ierc721) PackTotalSupply() []byte

PackTotalSupply is the Go binding used to pack the parameters required for calling the contract method with ID 0x18160ddd. This method will panic if any invalid/nil inputs are passed.

Solidity: function totalSupply() view returns(uint256)

func (*Ierc721) PackTransferFrom

func (ierc721 *Ierc721) PackTransferFrom(from common.Address, to common.Address, tokenId *big.Int) []byte

PackTransferFrom is the Go binding used to pack the parameters required for calling the contract method with ID 0x23b872dd. This method will panic if any invalid/nil inputs are passed.

Solidity: function transferFrom(address from, address to, uint256 tokenId) payable returns()

func (*Ierc721) TryPackApprove

func (ierc721 *Ierc721) TryPackApprove(to common.Address, tokenId *big.Int) ([]byte, error)

TryPackApprove is the Go binding used to pack the parameters required for calling the contract method with ID 0x095ea7b3. This method will return an error if any inputs are invalid/nil.

Solidity: function approve(address to, uint256 tokenId) payable returns()

func (*Ierc721) TryPackBalanceOf

func (ierc721 *Ierc721) TryPackBalanceOf(owner common.Address) ([]byte, error)

TryPackBalanceOf is the Go binding used to pack the parameters required for calling the contract method with ID 0x70a08231. This method will return an error if any inputs are invalid/nil.

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

func (*Ierc721) TryPackGetApproved

func (ierc721 *Ierc721) TryPackGetApproved(tokenId *big.Int) ([]byte, error)

TryPackGetApproved is the Go binding used to pack the parameters required for calling the contract method with ID 0x081812fc. This method will return an error if any inputs are invalid/nil.

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

func (*Ierc721) TryPackIsApprovedForAll

func (ierc721 *Ierc721) TryPackIsApprovedForAll(owner common.Address, operator common.Address) ([]byte, error)

TryPackIsApprovedForAll is the Go binding used to pack the parameters required for calling the contract method with ID 0xe985e9c5. This method will return an error if any inputs are invalid/nil.

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

func (*Ierc721) TryPackName

func (ierc721 *Ierc721) TryPackName() ([]byte, error)

TryPackName is the Go binding used to pack the parameters required for calling the contract method with ID 0x06fdde03. This method will return an error if any inputs are invalid/nil.

Solidity: function name() view returns(string)

func (*Ierc721) TryPackOwnerOf

func (ierc721 *Ierc721) TryPackOwnerOf(tokenId *big.Int) ([]byte, error)

TryPackOwnerOf is the Go binding used to pack the parameters required for calling the contract method with ID 0x6352211e. This method will return an error if any inputs are invalid/nil.

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

func (*Ierc721) TryPackRoyaltyInfo

func (ierc721 *Ierc721) TryPackRoyaltyInfo(arg0 *big.Int, arg1 *big.Int) ([]byte, error)

TryPackRoyaltyInfo is the Go binding used to pack the parameters required for calling the contract method with ID 0x2a55205a. This method will return an error if any inputs are invalid/nil.

Solidity: function royaltyInfo(uint256 , uint256 ) view returns(address receiver, uint256 royaltyAmount)

func (*Ierc721) TryPackSafeTransferFrom

func (ierc721 *Ierc721) TryPackSafeTransferFrom(from common.Address, to common.Address, tokenId *big.Int) ([]byte, error)

TryPackSafeTransferFrom is the Go binding used to pack the parameters required for calling the contract method with ID 0x42842e0e. This method will return an error if any inputs are invalid/nil.

Solidity: function safeTransferFrom(address from, address to, uint256 tokenId) payable returns()

func (*Ierc721) TryPackSafeTransferFrom0

func (ierc721 *Ierc721) TryPackSafeTransferFrom0(from common.Address, to common.Address, tokenId *big.Int, data []byte) ([]byte, error)

TryPackSafeTransferFrom0 is the Go binding used to pack the parameters required for calling the contract method with ID 0xb88d4fde. This method will return an error if any inputs are invalid/nil.

Solidity: function safeTransferFrom(address from, address to, uint256 tokenId, bytes _data) payable returns()

func (*Ierc721) TryPackSetApprovalForAll

func (ierc721 *Ierc721) TryPackSetApprovalForAll(operator common.Address, approved bool) ([]byte, error)

TryPackSetApprovalForAll is the Go binding used to pack the parameters required for calling the contract method with ID 0xa22cb465. This method will return an error if any inputs are invalid/nil.

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

func (*Ierc721) TryPackSupportsInterface

func (ierc721 *Ierc721) TryPackSupportsInterface(interfaceId [4]byte) ([]byte, error)

TryPackSupportsInterface is the Go binding used to pack the parameters required for calling the contract method with ID 0x01ffc9a7. This method will return an error if any inputs are invalid/nil.

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

func (*Ierc721) TryPackSymbol

func (ierc721 *Ierc721) TryPackSymbol() ([]byte, error)

TryPackSymbol is the Go binding used to pack the parameters required for calling the contract method with ID 0x95d89b41. This method will return an error if any inputs are invalid/nil.

Solidity: function symbol() view returns(string)

func (*Ierc721) TryPackTokenByIndex

func (ierc721 *Ierc721) TryPackTokenByIndex(index *big.Int) ([]byte, error)

TryPackTokenByIndex is the Go binding used to pack the parameters required for calling the contract method with ID 0x4f6ccce7. This method will return an error if any inputs are invalid/nil.

Solidity: function tokenByIndex(uint256 index) view returns(uint256)

func (*Ierc721) TryPackTokenOfOwnerByIndex

func (ierc721 *Ierc721) TryPackTokenOfOwnerByIndex(owner common.Address, index *big.Int) ([]byte, error)

TryPackTokenOfOwnerByIndex is the Go binding used to pack the parameters required for calling the contract method with ID 0x2f745c59. This method will return an error if any inputs are invalid/nil.

Solidity: function tokenOfOwnerByIndex(address owner, uint256 index) view returns(uint256)

func (*Ierc721) TryPackTokenURI

func (ierc721 *Ierc721) TryPackTokenURI(tokenId *big.Int) ([]byte, error)

TryPackTokenURI is the Go binding used to pack the parameters required for calling the contract method with ID 0xc87b56dd. This method will return an error if any inputs are invalid/nil.

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

func (*Ierc721) TryPackTotalSupply

func (ierc721 *Ierc721) TryPackTotalSupply() ([]byte, error)

TryPackTotalSupply is the Go binding used to pack the parameters required for calling the contract method with ID 0x18160ddd. This method will return an error if any inputs are invalid/nil.

Solidity: function totalSupply() view returns(uint256)

func (*Ierc721) TryPackTransferFrom

func (ierc721 *Ierc721) TryPackTransferFrom(from common.Address, to common.Address, tokenId *big.Int) ([]byte, error)

TryPackTransferFrom is the Go binding used to pack the parameters required for calling the contract method with ID 0x23b872dd. This method will return an error if any inputs are invalid/nil.

Solidity: function transferFrom(address from, address to, uint256 tokenId) payable returns()

func (*Ierc721) UnpackApprovalCallerNotOwnerNorApprovedError

func (ierc721 *Ierc721) UnpackApprovalCallerNotOwnerNorApprovedError(raw []byte) (*Ierc721ApprovalCallerNotOwnerNorApproved, error)

UnpackApprovalCallerNotOwnerNorApprovedError is the Go binding used to decode the provided error data into the corresponding Go error struct.

Solidity: error ApprovalCallerNotOwnerNorApproved()

func (*Ierc721) UnpackApprovalEvent

func (ierc721 *Ierc721) UnpackApprovalEvent(log *types.Log) (*Ierc721Approval, error)

UnpackApprovalEvent is the Go binding that unpacks the event data emitted by contract.

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

func (*Ierc721) UnpackApprovalForAllEvent

func (ierc721 *Ierc721) UnpackApprovalForAllEvent(log *types.Log) (*Ierc721ApprovalForAll, error)

UnpackApprovalForAllEvent is the Go binding that unpacks the event data emitted by contract.

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

func (*Ierc721) UnpackApprovalQueryForNonexistentTokenError

func (ierc721 *Ierc721) UnpackApprovalQueryForNonexistentTokenError(raw []byte) (*Ierc721ApprovalQueryForNonexistentToken, error)

UnpackApprovalQueryForNonexistentTokenError is the Go binding used to decode the provided error data into the corresponding Go error struct.

Solidity: error ApprovalQueryForNonexistentToken()

func (*Ierc721) UnpackBalanceOf

func (ierc721 *Ierc721) UnpackBalanceOf(data []byte) (*big.Int, error)

UnpackBalanceOf is the Go binding that unpacks the parameters returned from invoking the contract method with ID 0x70a08231.

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

func (*Ierc721) UnpackBalanceQueryForZeroAddressError

func (ierc721 *Ierc721) UnpackBalanceQueryForZeroAddressError(raw []byte) (*Ierc721BalanceQueryForZeroAddress, error)

UnpackBalanceQueryForZeroAddressError is the Go binding used to decode the provided error data into the corresponding Go error struct.

Solidity: error BalanceQueryForZeroAddress()

func (*Ierc721) UnpackConsecutiveTransferEvent

func (ierc721 *Ierc721) UnpackConsecutiveTransferEvent(log *types.Log) (*Ierc721ConsecutiveTransfer, error)

UnpackConsecutiveTransferEvent is the Go binding that unpacks the event data emitted by contract.

Solidity: event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to)

func (*Ierc721) UnpackERC721IncorrectOwnerError

func (ierc721 *Ierc721) UnpackERC721IncorrectOwnerError(raw []byte) (*Ierc721ERC721IncorrectOwner, error)

UnpackERC721IncorrectOwnerError is the Go binding used to decode the provided error data into the corresponding Go error struct.

Solidity: error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner)

func (*Ierc721) UnpackERC721InsufficientApprovalError

func (ierc721 *Ierc721) UnpackERC721InsufficientApprovalError(raw []byte) (*Ierc721ERC721InsufficientApproval, error)

UnpackERC721InsufficientApprovalError is the Go binding used to decode the provided error data into the corresponding Go error struct.

Solidity: error ERC721InsufficientApproval(address operator, uint256 tokenId)

func (*Ierc721) UnpackERC721InvalidApproverError

func (ierc721 *Ierc721) UnpackERC721InvalidApproverError(raw []byte) (*Ierc721ERC721InvalidApprover, error)

UnpackERC721InvalidApproverError is the Go binding used to decode the provided error data into the corresponding Go error struct.

Solidity: error ERC721InvalidApprover(address approver)

func (*Ierc721) UnpackERC721InvalidOperatorError

func (ierc721 *Ierc721) UnpackERC721InvalidOperatorError(raw []byte) (*Ierc721ERC721InvalidOperator, error)

UnpackERC721InvalidOperatorError is the Go binding used to decode the provided error data into the corresponding Go error struct.

Solidity: error ERC721InvalidOperator(address operator)

func (*Ierc721) UnpackERC721InvalidOwnerError

func (ierc721 *Ierc721) UnpackERC721InvalidOwnerError(raw []byte) (*Ierc721ERC721InvalidOwner, error)

UnpackERC721InvalidOwnerError is the Go binding used to decode the provided error data into the corresponding Go error struct.

Solidity: error ERC721InvalidOwner(address owner)

func (*Ierc721) UnpackERC721InvalidReceiverError

func (ierc721 *Ierc721) UnpackERC721InvalidReceiverError(raw []byte) (*Ierc721ERC721InvalidReceiver, error)

UnpackERC721InvalidReceiverError is the Go binding used to decode the provided error data into the corresponding Go error struct.

Solidity: error ERC721InvalidReceiver(address receiver)

func (*Ierc721) UnpackERC721InvalidSenderError

func (ierc721 *Ierc721) UnpackERC721InvalidSenderError(raw []byte) (*Ierc721ERC721InvalidSender, error)

UnpackERC721InvalidSenderError is the Go binding used to decode the provided error data into the corresponding Go error struct.

Solidity: error ERC721InvalidSender(address sender)

func (*Ierc721) UnpackERC721NonexistentTokenError

func (ierc721 *Ierc721) UnpackERC721NonexistentTokenError(raw []byte) (*Ierc721ERC721NonexistentToken, error)

UnpackERC721NonexistentTokenError is the Go binding used to decode the provided error data into the corresponding Go error struct.

Solidity: error ERC721NonexistentToken(uint256 tokenId)

func (*Ierc721) UnpackERC721OutOfBoundsIndexError

func (ierc721 *Ierc721) UnpackERC721OutOfBoundsIndexError(raw []byte) (*Ierc721ERC721OutOfBoundsIndex, error)

UnpackERC721OutOfBoundsIndexError is the Go binding used to decode the provided error data into the corresponding Go error struct.

Solidity: error ERC721OutOfBoundsIndex(address owner, uint256 index)

func (*Ierc721) UnpackError

func (ierc721 *Ierc721) UnpackError(raw []byte) (any, error)

UnpackError attempts to decode the provided error data using user-defined error definitions.

func (*Ierc721) UnpackGetApproved

func (ierc721 *Ierc721) UnpackGetApproved(data []byte) (common.Address, error)

UnpackGetApproved is the Go binding that unpacks the parameters returned from invoking the contract method with ID 0x081812fc.

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

func (*Ierc721) UnpackIsApprovedForAll

func (ierc721 *Ierc721) UnpackIsApprovedForAll(data []byte) (bool, error)

UnpackIsApprovedForAll is the Go binding that unpacks the parameters returned from invoking the contract method with ID 0xe985e9c5.

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

func (*Ierc721) UnpackMintERC2309QuantityExceedsLimitError

func (ierc721 *Ierc721) UnpackMintERC2309QuantityExceedsLimitError(raw []byte) (*Ierc721MintERC2309QuantityExceedsLimit, error)

UnpackMintERC2309QuantityExceedsLimitError is the Go binding used to decode the provided error data into the corresponding Go error struct.

Solidity: error MintERC2309QuantityExceedsLimit()

func (*Ierc721) UnpackMintToZeroAddressError

func (ierc721 *Ierc721) UnpackMintToZeroAddressError(raw []byte) (*Ierc721MintToZeroAddress, error)

UnpackMintToZeroAddressError is the Go binding used to decode the provided error data into the corresponding Go error struct.

Solidity: error MintToZeroAddress()

func (*Ierc721) UnpackMintZeroQuantityError

func (ierc721 *Ierc721) UnpackMintZeroQuantityError(raw []byte) (*Ierc721MintZeroQuantity, error)

UnpackMintZeroQuantityError is the Go binding used to decode the provided error data into the corresponding Go error struct.

Solidity: error MintZeroQuantity()

func (*Ierc721) UnpackName

func (ierc721 *Ierc721) UnpackName(data []byte) (string, error)

UnpackName is the Go binding that unpacks the parameters returned from invoking the contract method with ID 0x06fdde03.

Solidity: function name() view returns(string)

func (*Ierc721) UnpackOwnerOf

func (ierc721 *Ierc721) UnpackOwnerOf(data []byte) (common.Address, error)

UnpackOwnerOf is the Go binding that unpacks the parameters returned from invoking the contract method with ID 0x6352211e.

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

func (*Ierc721) UnpackOwnerQueryForNonexistentTokenError

func (ierc721 *Ierc721) UnpackOwnerQueryForNonexistentTokenError(raw []byte) (*Ierc721OwnerQueryForNonexistentToken, error)

UnpackOwnerQueryForNonexistentTokenError is the Go binding used to decode the provided error data into the corresponding Go error struct.

Solidity: error OwnerQueryForNonexistentToken()

func (*Ierc721) UnpackOwnershipNotInitializedForExtraDataError

func (ierc721 *Ierc721) UnpackOwnershipNotInitializedForExtraDataError(raw []byte) (*Ierc721OwnershipNotInitializedForExtraData, error)

UnpackOwnershipNotInitializedForExtraDataError is the Go binding used to decode the provided error data into the corresponding Go error struct.

Solidity: error OwnershipNotInitializedForExtraData()

func (*Ierc721) UnpackRoyaltyInfo

func (ierc721 *Ierc721) UnpackRoyaltyInfo(data []byte) (RoyaltyInfoOutput, error)

UnpackRoyaltyInfo is the Go binding that unpacks the parameters returned from invoking the contract method with ID 0x2a55205a.

Solidity: function royaltyInfo(uint256 , uint256 ) view returns(address receiver, uint256 royaltyAmount)

func (*Ierc721) UnpackSupportsInterface

func (ierc721 *Ierc721) UnpackSupportsInterface(data []byte) (bool, error)

UnpackSupportsInterface is the Go binding that unpacks the parameters returned from invoking the contract method with ID 0x01ffc9a7.

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

func (*Ierc721) UnpackSymbol

func (ierc721 *Ierc721) UnpackSymbol(data []byte) (string, error)

UnpackSymbol is the Go binding that unpacks the parameters returned from invoking the contract method with ID 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*Ierc721) UnpackTokenByIndex

func (ierc721 *Ierc721) UnpackTokenByIndex(data []byte) (*big.Int, error)

UnpackTokenByIndex is the Go binding that unpacks the parameters returned from invoking the contract method with ID 0x4f6ccce7.

Solidity: function tokenByIndex(uint256 index) view returns(uint256)

func (*Ierc721) UnpackTokenOfOwnerByIndex

func (ierc721 *Ierc721) UnpackTokenOfOwnerByIndex(data []byte) (*big.Int, error)

UnpackTokenOfOwnerByIndex is the Go binding that unpacks the parameters returned from invoking the contract method with ID 0x2f745c59.

Solidity: function tokenOfOwnerByIndex(address owner, uint256 index) view returns(uint256)

func (*Ierc721) UnpackTokenURI

func (ierc721 *Ierc721) UnpackTokenURI(data []byte) (string, error)

UnpackTokenURI is the Go binding that unpacks the parameters returned from invoking the contract method with ID 0xc87b56dd.

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

func (*Ierc721) UnpackTotalSupply

func (ierc721 *Ierc721) UnpackTotalSupply(data []byte) (*big.Int, error)

UnpackTotalSupply is the Go binding that unpacks the parameters returned from invoking the contract method with ID 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*Ierc721) UnpackTransferCallerNotOwnerNorApprovedError

func (ierc721 *Ierc721) UnpackTransferCallerNotOwnerNorApprovedError(raw []byte) (*Ierc721TransferCallerNotOwnerNorApproved, error)

UnpackTransferCallerNotOwnerNorApprovedError is the Go binding used to decode the provided error data into the corresponding Go error struct.

Solidity: error TransferCallerNotOwnerNorApproved()

func (*Ierc721) UnpackTransferEvent

func (ierc721 *Ierc721) UnpackTransferEvent(log *types.Log) (*Ierc721Transfer, error)

UnpackTransferEvent is the Go binding that unpacks the event data emitted by contract.

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

func (*Ierc721) UnpackTransferFromIncorrectOwnerError

func (ierc721 *Ierc721) UnpackTransferFromIncorrectOwnerError(raw []byte) (*Ierc721TransferFromIncorrectOwner, error)

UnpackTransferFromIncorrectOwnerError is the Go binding used to decode the provided error data into the corresponding Go error struct.

Solidity: error TransferFromIncorrectOwner()

func (*Ierc721) UnpackTransferToNonERC721ReceiverImplementerError

func (ierc721 *Ierc721) UnpackTransferToNonERC721ReceiverImplementerError(raw []byte) (*Ierc721TransferToNonERC721ReceiverImplementer, error)

UnpackTransferToNonERC721ReceiverImplementerError is the Go binding used to decode the provided error data into the corresponding Go error struct.

Solidity: error TransferToNonERC721ReceiverImplementer()

func (*Ierc721) UnpackTransferToZeroAddressError

func (ierc721 *Ierc721) UnpackTransferToZeroAddressError(raw []byte) (*Ierc721TransferToZeroAddress, error)

UnpackTransferToZeroAddressError is the Go binding used to decode the provided error data into the corresponding Go error struct.

Solidity: error TransferToZeroAddress()

func (*Ierc721) UnpackURIQueryForNonexistentTokenError

func (ierc721 *Ierc721) UnpackURIQueryForNonexistentTokenError(raw []byte) (*Ierc721URIQueryForNonexistentToken, error)

UnpackURIQueryForNonexistentTokenError is the Go binding used to decode the provided error data into the corresponding Go error struct.

Solidity: error URIQueryForNonexistentToken()

type Ierc721Approval

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

Ierc721Approval represents a Approval event raised by the Ierc721 contract.

func (Ierc721Approval) ContractEventName

func (Ierc721Approval) ContractEventName() string

ContractEventName returns the user-defined event name.

type Ierc721ApprovalCallerNotOwnerNorApproved

type Ierc721ApprovalCallerNotOwnerNorApproved struct {
}

Ierc721ApprovalCallerNotOwnerNorApproved represents a ApprovalCallerNotOwnerNorApproved error raised by the Ierc721 contract.

type Ierc721ApprovalForAll

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

Ierc721ApprovalForAll represents a ApprovalForAll event raised by the Ierc721 contract.

func (Ierc721ApprovalForAll) ContractEventName

func (Ierc721ApprovalForAll) ContractEventName() string

ContractEventName returns the user-defined event name.

type Ierc721ApprovalQueryForNonexistentToken

type Ierc721ApprovalQueryForNonexistentToken struct {
}

Ierc721ApprovalQueryForNonexistentToken represents a ApprovalQueryForNonexistentToken error raised by the Ierc721 contract.

type Ierc721BalanceQueryForZeroAddress

type Ierc721BalanceQueryForZeroAddress struct {
}

Ierc721BalanceQueryForZeroAddress represents a BalanceQueryForZeroAddress error raised by the Ierc721 contract.

type Ierc721ConsecutiveTransfer

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

Ierc721ConsecutiveTransfer represents a ConsecutiveTransfer event raised by the Ierc721 contract.

func (Ierc721ConsecutiveTransfer) ContractEventName

func (Ierc721ConsecutiveTransfer) ContractEventName() string

ContractEventName returns the user-defined event name.

type Ierc721ERC721IncorrectOwner

type Ierc721ERC721IncorrectOwner struct {
	Sender  common.Address
	TokenId *big.Int
	Owner   common.Address
}

Ierc721ERC721IncorrectOwner represents a ERC721IncorrectOwner error raised by the Ierc721 contract.

type Ierc721ERC721InsufficientApproval

type Ierc721ERC721InsufficientApproval struct {
	Operator common.Address
	TokenId  *big.Int
}

Ierc721ERC721InsufficientApproval represents a ERC721InsufficientApproval error raised by the Ierc721 contract.

type Ierc721ERC721InvalidApprover

type Ierc721ERC721InvalidApprover struct {
	Approver common.Address
}

Ierc721ERC721InvalidApprover represents a ERC721InvalidApprover error raised by the Ierc721 contract.

type Ierc721ERC721InvalidOperator

type Ierc721ERC721InvalidOperator struct {
	Operator common.Address
}

Ierc721ERC721InvalidOperator represents a ERC721InvalidOperator error raised by the Ierc721 contract.

type Ierc721ERC721InvalidOwner

type Ierc721ERC721InvalidOwner struct {
	Owner common.Address
}

Ierc721ERC721InvalidOwner represents a ERC721InvalidOwner error raised by the Ierc721 contract.

type Ierc721ERC721InvalidReceiver

type Ierc721ERC721InvalidReceiver struct {
	Receiver common.Address
}

Ierc721ERC721InvalidReceiver represents a ERC721InvalidReceiver error raised by the Ierc721 contract.

type Ierc721ERC721InvalidSender

type Ierc721ERC721InvalidSender struct {
	Sender common.Address
}

Ierc721ERC721InvalidSender represents a ERC721InvalidSender error raised by the Ierc721 contract.

type Ierc721ERC721NonexistentToken

type Ierc721ERC721NonexistentToken struct {
	TokenId *big.Int
}

Ierc721ERC721NonexistentToken represents a ERC721NonexistentToken error raised by the Ierc721 contract.

type Ierc721ERC721OutOfBoundsIndex

type Ierc721ERC721OutOfBoundsIndex struct {
	Owner common.Address
	Index *big.Int
}

Ierc721ERC721OutOfBoundsIndex represents a ERC721OutOfBoundsIndex error raised by the Ierc721 contract.

type Ierc721MintERC2309QuantityExceedsLimit

type Ierc721MintERC2309QuantityExceedsLimit struct {
}

Ierc721MintERC2309QuantityExceedsLimit represents a MintERC2309QuantityExceedsLimit error raised by the Ierc721 contract.

type Ierc721MintToZeroAddress

type Ierc721MintToZeroAddress struct {
}

Ierc721MintToZeroAddress represents a MintToZeroAddress error raised by the Ierc721 contract.

type Ierc721MintZeroQuantity

type Ierc721MintZeroQuantity struct {
}

Ierc721MintZeroQuantity represents a MintZeroQuantity error raised by the Ierc721 contract.

type Ierc721OwnerQueryForNonexistentToken

type Ierc721OwnerQueryForNonexistentToken struct {
}

Ierc721OwnerQueryForNonexistentToken represents a OwnerQueryForNonexistentToken error raised by the Ierc721 contract.

type Ierc721OwnershipNotInitializedForExtraData

type Ierc721OwnershipNotInitializedForExtraData struct {
}

Ierc721OwnershipNotInitializedForExtraData represents a OwnershipNotInitializedForExtraData error raised by the Ierc721 contract.

type Ierc721Transfer

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

Ierc721Transfer represents a Transfer event raised by the Ierc721 contract.

func (Ierc721Transfer) ContractEventName

func (Ierc721Transfer) ContractEventName() string

ContractEventName returns the user-defined event name.

type Ierc721TransferCallerNotOwnerNorApproved

type Ierc721TransferCallerNotOwnerNorApproved struct {
}

Ierc721TransferCallerNotOwnerNorApproved represents a TransferCallerNotOwnerNorApproved error raised by the Ierc721 contract.

type Ierc721TransferFromIncorrectOwner

type Ierc721TransferFromIncorrectOwner struct {
}

Ierc721TransferFromIncorrectOwner represents a TransferFromIncorrectOwner error raised by the Ierc721 contract.

type Ierc721TransferToNonERC721ReceiverImplementer

type Ierc721TransferToNonERC721ReceiverImplementer struct {
}

Ierc721TransferToNonERC721ReceiverImplementer represents a TransferToNonERC721ReceiverImplementer error raised by the Ierc721 contract.

type Ierc721TransferToZeroAddress

type Ierc721TransferToZeroAddress struct {
}

Ierc721TransferToZeroAddress represents a TransferToZeroAddress error raised by the Ierc721 contract.

type Ierc721URIQueryForNonexistentToken

type Ierc721URIQueryForNonexistentToken struct {
}

Ierc721URIQueryForNonexistentToken represents a URIQueryForNonexistentToken error raised by the Ierc721 contract.

type RoyaltyInfoOutput

type RoyaltyInfoOutput struct {
	Receiver      common.Address
	RoyaltyAmount *big.Int
}

RoyaltyInfoOutput serves as a container for the return parameters of contract method RoyaltyInfo.

Jump to

Keyboard shortcuts

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