zkpay

package
v0.0.0-...-a383e5c Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ZkpayABI = ZkpayMetaData.ABI

ZkpayABI is the input ABI used to generate the binding from. Deprecated: Use ZkpayMetaData.ABI instead.

View Source
var ZkpayBin = ZkpayMetaData.Bin

ZkpayBin is the compiled bytecode used for deploying new contracts. Deprecated: Use ZkpayMetaData.Bin instead.

View Source
var ZkpayMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"symbol\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"approved\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"ApprovalForAll\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"tokenID\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"creator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"metaDataUri\",\"type\":\"string\"}],\"name\":\"LoyaltyNFTCreated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Paused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"previousAdminRole\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"newAdminRole\",\"type\":\"bytes32\"}],\"name\":\"RoleAdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleGranted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleRevoked\",\"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\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Unpaused\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DEFAULT_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"ZKPAY_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"ZKPAY_CREATOR_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"ZKPAY_OPERATOR_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"burn\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"metadataHash\",\"type\":\"string\"}],\"name\":\"createLoyaltyNFT\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"creator\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"metadataHash\",\"type\":\"string\"}],\"name\":\"delegateLoyaltyNFTCreation\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getApproved\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleAdmin\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"getRoleMember\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleMemberCount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"grantRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"hasRole\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"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\":[],\"name\":\"pause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"paused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"renounceRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"revokeRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"setApprovalForAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"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\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unpause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Bin: "0x60806040523480156200001157600080fd5b506040516200545b3803806200545b83398181016040528101906200003791906200064e565b818181600290816200004a91906200091e565b5080600390816200005c91906200091e565b5050506000600c60006101000a81548160ff021916908315150217905550620000bb7fbb7dcdefd95d03850c8c9b657a52a520455629e01110a909f1aefaa68b09a859620000af6200019960201b60201c565b620001a160201b60201c565b620000ed7fbb7dcdefd95d03850c8c9b657a52a520455629e01110a909f1aefaa68b09a85980620001b760201b60201c565b6200013f7f5943f14581d249f865c1671729af274355d30181fb6ecc3b829b6f1bd78d70b27f58d4e3735a40d1f0433256b5e2db5d6e49442c00b1c84d0faea35d4d1e5e5ed9620001b760201b60201c565b620001917f58d4e3735a40d1f0433256b5e2db5d6e49442c00b1c84d0faea35d4d1e5e5ed97fbb7dcdefd95d03850c8c9b657a52a520455629e01110a909f1aefaa68b09a859620001b760201b60201c565b505062000a05565b600033905090565b620001b382826200021a60201b60201c565b5050565b6000620001ca836200026260201b60201c565b905081600080858152602001908152602001600020600101819055508181847fbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff60405160405180910390a4505050565b6200023182826200028160201b6200127e1760201c565b6200025d81600160008581526020019081526020016000206200037260201b6200135e1790919060201c565b505050565b6000806000838152602001908152602001600020600101549050919050565b620002938282620003aa60201b60201c565b6200036e57600160008084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550620003136200019960201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6000620003a2836000018373ffffffffffffffffffffffffffffffffffffffff1660001b6200041460201b60201c565b905092915050565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60006200042883836200048e60201b60201c565b6200048357826000018290806001815401808255809150506001900390600052602060002001600090919091909150558260000180549050836001016000848152602001908152602001600020819055506001905062000488565b600090505b92915050565b600080836001016000848152602001908152602001600020541415905092915050565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200051a82620004cf565b810181811067ffffffffffffffff821117156200053c576200053b620004e0565b5b80604052505050565b600062000551620004b1565b90506200055f82826200050f565b919050565b600067ffffffffffffffff821115620005825762000581620004e0565b5b6200058d82620004cf565b9050602081019050919050565b60005b83811015620005ba5780820151818401526020810190506200059d565b83811115620005ca576000848401525b50505050565b6000620005e7620005e18462000564565b62000545565b905082815260208101848484011115620006065762000605620004ca565b5b620006138482856200059a565b509392505050565b600082601f830112620006335762000632620004c5565b5b815162000645848260208601620005d0565b91505092915050565b60008060408385031215620006685762000667620004bb565b5b600083015167ffffffffffffffff811115620006895762000688620004c0565b5b62000697858286016200061b565b925050602083015167ffffffffffffffff811115620006bb57620006ba620004c0565b5b620006c9858286016200061b565b9150509250929050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200072657607f821691505b6020821081036200073c576200073b620006de565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620007a67fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000767565b620007b2868362000767565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620007ff620007f9620007f384620007ca565b620007d4565b620007ca565b9050919050565b6000819050919050565b6200081b83620007de565b620008336200082a8262000806565b84845462000774565b825550505050565b600090565b6200084a6200083b565b6200085781848462000810565b505050565b5b818110156200087f576200087360008262000840565b6001810190506200085d565b5050565b601f821115620008ce57620008988162000742565b620008a38462000757565b81016020851015620008b3578190505b620008cb620008c28562000757565b8301826200085c565b50505b505050565b600082821c905092915050565b6000620008f360001984600802620008d3565b1980831691505092915050565b60006200090e8383620008e0565b9150826002028217905092915050565b6200092982620006d3565b67ffffffffffffffff811115620009455762000944620004e0565b5b6200095182546200070d565b6200095e82828562000883565b600060209050601f83116001811462000996576000841562000981578287015190505b6200098d858262000900565b865550620009fd565b601f198416620009a68662000742565b60005b82811015620009d057848901518255600182019150602085019450602081019050620009a9565b86831015620009f05784890151620009ec601f891682620008e0565b8355505b6001600288020188555050505b505050505050565b614a468062000a156000396000f3fe608060405234801561001057600080fd5b50600436106101fb5760003560e01c80635c975abb1161011a57806395d89b41116100ad578063c87b56dd1161007c578063c87b56dd146105c4578063ca15c873146105f4578063d547741f14610624578063d97b288a14610640578063e985e9c514610670576101fb565b806395d89b4114610550578063a217fddf1461056e578063a22cb4651461058c578063b88d4fde146105a8576101fb565b80638456cb59116100e95780638456cb59146104c85780639010d07c146104d257806391d1485414610502578063922ea4f614610532576101fb565b80635c975abb1461042c5780636352211e1461044a57806370a082311461047a57806375085d96146104aa576101fb565b80632f2ff15d1161019257806342842e0e1161016157806342842e0e146103a657806342966c68146103c25780634f6ccce7146103de57806353e371e21461040e576101fb565b80632f2ff15d146103345780632f745c591461035057806336568abe146103805780633f4ba83a1461039c576101fb565b806318160ddd116101ce57806318160ddd1461029a5780631faad6aa146102b857806323b872dd146102e8578063248a9ca314610304576101fb565b806301ffc9a71461020057806306fdde0314610230578063081812fc1461024e578063095ea7b31461027e575b600080fd5b61021a60048036038101906102159190613195565b6106a0565b60405161022791906131dd565b60405180910390f35b6102386106b2565b6040516102459190613291565b60405180910390f35b610268600480360381019061026391906132e9565b610744565b6040516102759190613357565b60405180910390f35b6102986004803603810190610293919061339e565b61078a565b005b6102a26108a1565b6040516102af91906133ed565b60405180910390f35b6102d260048036038101906102cd919061353d565b6108ae565b6040516102df91906133ed565b60405180910390f35b61030260048036038101906102fd9190613599565b610961565b005b61031e60048036038101906103199190613622565b6109c1565b60405161032b919061365e565b60405180910390f35b61034e60048036038101906103499190613679565b6109e0565b005b61036a6004803603810190610365919061339e565b610a01565b60405161037791906133ed565b60405180910390f35b61039a60048036038101906103959190613679565b610aa6565b005b6103a4610b29565b005b6103c060048036038101906103bb9190613599565b610b5e565b005b6103dc60048036038101906103d791906132e9565b610b7e565b005b6103f860048036038101906103f391906132e9565b610bda565b60405161040591906133ed565b60405180910390f35b610416610c4b565b604051610423919061365e565b60405180910390f35b610434610c6f565b60405161044191906131dd565b60405180910390f35b610464600480360381019061045f91906132e9565b610c86565b6040516104719190613357565b60405180910390f35b610494600480360381019061048f91906136b9565b610d0c565b6040516104a191906133ed565b60405180910390f35b6104b2610dc3565b6040516104bf919061365e565b60405180910390f35b6104d0610de7565b005b6104ec60048036038101906104e791906136e6565b610e1c565b6040516104f99190613357565b60405180910390f35b61051c60048036038101906105179190613679565b610e4b565b60405161052991906131dd565b60405180910390f35b61053a610eb5565b604051610547919061365e565b60405180910390f35b610558610ed9565b6040516105659190613291565b60405180910390f35b610576610f6b565b604051610583919061365e565b60405180910390f35b6105a660048036038101906105a19190613752565b610f72565b005b6105c260048036038101906105bd9190613833565b610f88565b005b6105de60048036038101906105d991906132e9565b610fea565b6040516105eb9190613291565b60405180910390f35b61060e60048036038101906106099190613622565b6110dd565b60405161061b91906133ed565b60405180910390f35b61063e60048036038101906106399190613679565b611101565b005b61065a600480360381019061065591906138b6565b611122565b60405161066791906133ed565b60405180910390f35b61068a600480360381019061068591906138ff565b6111ea565b60405161069791906131dd565b60405180910390f35b60006106ab8261138e565b9050919050565b6060600280546106c19061396e565b80601f01602080910402602001604051908101604052809291908181526020018280546106ed9061396e565b801561073a5780601f1061070f5761010080835404028352916020019161073a565b820191906000526020600020905b81548152906001019060200180831161071d57829003601f168201915b5050505050905090565b600061074f82611408565b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061079582610c86565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610805576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107fc90613a11565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610824611453565b73ffffffffffffffffffffffffffffffffffffffff16148061085357506108528161084d611453565b6111ea565b5b610892576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161088990613aa3565b60405180910390fd5b61089c838361145b565b505050565b6000600a80549050905090565b60007f58d4e3735a40d1f0433256b5e2db5d6e49442c00b1c84d0faea35d4d1e5e5ed96108da81611514565b6108e4600d611528565b60006108f0600d61153e565b90506108fc858261154c565b610906818561156a565b8473ffffffffffffffffffffffffffffffffffffffff167fc13f70e580b01861fd2f6e9f135b5c30fbeee43c6a2c6be9fb20970303bda324828660405161094e929190613ac3565b60405180910390a2809250505092915050565b61097261096c611453565b826115d7565b6109b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109a890613b65565b60405180910390fd5b6109bc83838361166c565b505050565b6000806000838152602001908152602001600020600101549050919050565b6109e9826109c1565b6109f281611514565b6109fc8383611965565b505050565b6000610a0c83610d0c565b8210610a4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4490613bf7565b60405180910390fd5b600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610aae611453565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610b1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b1290613c89565b60405180910390fd5b610b258282611999565b5050565b7f58d4e3735a40d1f0433256b5e2db5d6e49442c00b1c84d0faea35d4d1e5e5ed9610b5381611514565b610b5b6119cd565b50565b610b7983838360405180602001604052806000815250610f88565b505050565b610b8f610b89611453565b826115d7565b610bce576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bc590613b65565b60405180910390fd5b610bd781611a30565b50565b6000610be46108a1565b8210610c25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1c90613d1b565b60405180910390fd5b600a8281548110610c3957610c38613d3b565b5b90600052602060002001549050919050565b7f58d4e3735a40d1f0433256b5e2db5d6e49442c00b1c84d0faea35d4d1e5e5ed981565b6000600c60009054906101000a900460ff16905090565b600080610c9283611b7e565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610d03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cfa90613db6565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610d7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7390613e48565b60405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b7f5943f14581d249f865c1671729af274355d30181fb6ecc3b829b6f1bd78d70b281565b7f58d4e3735a40d1f0433256b5e2db5d6e49442c00b1c84d0faea35d4d1e5e5ed9610e1181611514565b610e19611bbb565b50565b6000610e438260016000868152602001908152602001600020611c1e90919063ffffffff16565b905092915050565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b7fbb7dcdefd95d03850c8c9b657a52a520455629e01110a909f1aefaa68b09a85981565b606060038054610ee89061396e565b80601f0160208091040260200160405190810160405280929190818152602001828054610f149061396e565b8015610f615780601f10610f3657610100808354040283529160200191610f61565b820191906000526020600020905b815481529060010190602001808311610f4457829003601f168201915b5050505050905090565b6000801b81565b610f84610f7d611453565b8383611c38565b5050565b610f99610f93611453565b836115d7565b610fd8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fcf90613b65565b60405180910390fd5b610fe484848484611da4565b50505050565b6060610ff582611e00565b611034576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102b90613eb4565b60405180910390fd5b6000600e600084815260200190815260200160002080546110549061396e565b80601f01602080910402602001604051908101604052809291908181526020018280546110809061396e565b80156110cd5780601f106110a2576101008083540402835291602001916110cd565b820191906000526020600020905b8154815290600101906020018083116110b057829003601f168201915b5050505050905080915050919050565b60006110fa60016000848152602001908152602001600020611e41565b9050919050565b61110a826109c1565b61111381611514565b61111d8383611999565b505050565b60007f5943f14581d249f865c1671729af274355d30181fb6ecc3b829b6f1bd78d70b261114e81611514565b611158600d611528565b6000611164600d61153e565b9050611177611171611453565b8261154c565b611181818561156a565b611189611453565b73ffffffffffffffffffffffffffffffffffffffff167fc13f70e580b01861fd2f6e9f135b5c30fbeee43c6a2c6be9fb20970303bda324826111ca84610fea565b6040516111d8929190613ac3565b60405180910390a28092505050919050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6112888282610e4b565b61135a57600160008084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506112ff611453565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6000611386836000018373ffffffffffffffffffffffffffffffffffffffff1660001b611e56565b905092915050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611401575061140082611ec6565b5b9050919050565b61141181611e00565b611450576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144790613db6565b60405180910390fd5b50565b600033905090565b816006600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166114ce83610c86565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b61152581611520611453565b611fa8565b50565b6001816000016000828254019250508190555050565b600081600001549050919050565b61156682826040518060200160405280600081525061202d565b5050565b61157382611e00565b6115b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a990613eb4565b60405180910390fd5b80600e600084815260200190815260200160002090816115d29190614080565b505050565b6000806115e383610c86565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611625575061162481856111ea565b5b8061166357508373ffffffffffffffffffffffffffffffffffffffff1661164b84610744565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661168c82610c86565b73ffffffffffffffffffffffffffffffffffffffff16146116e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116d9906141c4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611751576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174890614256565b60405180910390fd5b61175e8383836001612088565b8273ffffffffffffffffffffffffffffffffffffffff1661177e82610c86565b73ffffffffffffffffffffffffffffffffffffffff16146117d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117cb906141c4565b60405180910390fd5b6006600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506001600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611960838383600161209a565b505050565b61196f828261127e565b611994816001600085815260200190815260200160002061135e90919063ffffffff16565b505050565b6119a382826120a0565b6119c8816001600085815260200190815260200160002061218190919063ffffffff16565b505050565b6119d56121b1565b6000600c60006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611a19611453565b604051611a269190613357565b60405180910390a1565b6000611a3b82610c86565b9050611a4b816000846001612088565b611a5482610c86565b90506006600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506004600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611b7a81600084600161209a565b5050565b60006004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b611bc36121fa565b6001600c60006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611c07611453565b604051611c149190613357565b60405180910390a1565b6000611c2d8360000183612244565b60001c905092915050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611ca6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c9d906142c2565b60405180910390fd5b80600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611d9791906131dd565b60405180910390a3505050565b611daf84848461166c565b611dbb8484848461226f565b611dfa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611df190614354565b60405180910390fd5b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff16611e2283611b7e565b73ffffffffffffffffffffffffffffffffffffffff1614159050919050565b6000611e4f826000016123f6565b9050919050565b6000611e628383612407565b611ebb578260000182908060018154018082558091505060019003906000526020600020016000909190919091505582600001805490508360010160008481526020019081526020016000208190555060019050611ec0565b600090505b92915050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611f9157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611fa15750611fa08261242a565b5b9050919050565b611fb28282610e4b565b61202957611fbf816124a4565b611fcd8360001c60206124d1565b604051602001611fde929190614448565b6040516020818303038152906040526040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120209190613291565b60405180910390fd5b5050565b612037838361270d565b612044600084848461226f565b612083576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161207a90614354565b60405180910390fd5b505050565b6120948484848461292a565b50505050565b50505050565b6120aa8282610e4b565b1561217d57600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612122611453565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b60006121a9836000018373ffffffffffffffffffffffffffffffffffffffff1660001b612984565b905092915050565b6121b9610c6f565b6121f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121ef906144ce565b60405180910390fd5b565b612202610c6f565b15612242576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122399061453a565b60405180910390fd5b565b600082600001828154811061225c5761225b613d3b565b5b9060005260206000200154905092915050565b60006122908473ffffffffffffffffffffffffffffffffffffffff16612a98565b156123e9578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026122b9611453565b8786866040518563ffffffff1660e01b81526004016122db94939291906145af565b6020604051808303816000875af192505050801561231757506040513d601f19601f820116820180604052508101906123149190614610565b60015b612399573d8060008114612347576040519150601f19603f3d011682016040523d82523d6000602084013e61234c565b606091505b506000815103612391576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161238890614354565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506123ee565b600190505b949350505050565b600081600001805490509050919050565b600080836001016000848152602001908152602001600020541415905092915050565b60007f5a05180f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061249d575061249c82612abb565b5b9050919050565b60606124ca8273ffffffffffffffffffffffffffffffffffffffff16601460ff166124d1565b9050919050565b6060600060028360026124e4919061466c565b6124ee91906146c6565b67ffffffffffffffff81111561250757612506613412565b5b6040519080825280601f01601f1916602001820160405280156125395781602001600182028036833780820191505090505b5090507f30000000000000000000000000000000000000000000000000000000000000008160008151811061257157612570613d3b565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106125d5576125d4613d3b565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002612615919061466c565b61261f91906146c6565b90505b60018111156126bf577f3031323334353637383961626364656600000000000000000000000000000000600f86166010811061266157612660613d3b565b5b1a60f81b82828151811061267857612677613d3b565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c9450806126b89061471c565b9050612622565b5060008414612703576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126fa90614791565b60405180910390fd5b8091505092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361277c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612773906147fd565b60405180910390fd5b61278581611e00565b156127c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127bc90614869565b60405180910390fd5b6127d3600083836001612088565b6127dc81611e00565b1561281c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161281390614869565b60405180910390fd5b6001600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461292660008383600161209a565b5050565b61293684848484612b35565b61293e610c6f565b1561297e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612975906148fb565b60405180910390fd5b50505050565b60008083600101600084815260200190815260200160002054905060008114612a8c5760006001826129b6919061491b565b90506000600186600001805490506129ce919061491b565b9050818114612a3d5760008660000182815481106129ef576129ee613d3b565b5b9060005260206000200154905080876000018481548110612a1357612a12613d3b565b5b90600052602060002001819055508387600101600083815260200190815260200160002081905550505b85600001805480612a5157612a5061494f565b5b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050612a92565b60009150505b92915050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612b2e5750612b2d82612c93565b5b9050919050565b612b4184848484612cfd565b6001811115612b85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b7c906149f0565b60405180910390fd5b6000829050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603612bcc57612bc781612e23565b612c0b565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614612c0a57612c098582612e6c565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612c4d57612c4881612fd9565b612c8c565b8473ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614612c8b57612c8a84826130aa565b5b5b5050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6001811115612e1d57600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614612d915780600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612d89919061491b565b925050819055505b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612e1c5780600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612e1491906146c6565b925050819055505b5b50505050565b600a80549050600b600083815260200190815260200160002081905550600a81908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612e7984610d0c565b612e83919061491b565b9050600060096000848152602001908152602001600020549050818114612f68576000600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600860008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816009600083815260200190815260200160002081905550505b6009600084815260200190815260200160002060009055600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600a80549050612fed919061491b565b90506000600b60008481526020019081526020016000205490506000600a838154811061301d5761301c613d3b565b5b9060005260206000200154905080600a838154811061303f5761303e613d3b565b5b906000526020600020018190555081600b600083815260200190815260200160002081905550600b600085815260200190815260200160002060009055600a80548061308e5761308d61494f565b5b6001900381819060005260206000200160009055905550505050565b60006130b583610d0c565b905081600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806009600084815260200190815260200160002081905550505050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6131728161313d565b811461317d57600080fd5b50565b60008135905061318f81613169565b92915050565b6000602082840312156131ab576131aa613133565b5b60006131b984828501613180565b91505092915050565b60008115159050919050565b6131d7816131c2565b82525050565b60006020820190506131f260008301846131ce565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613232578082015181840152602081019050613217565b83811115613241576000848401525b50505050565b6000601f19601f8301169050919050565b6000613263826131f8565b61326d8185613203565b935061327d818560208601613214565b61328681613247565b840191505092915050565b600060208201905081810360008301526132ab8184613258565b905092915050565b6000819050919050565b6132c6816132b3565b81146132d157600080fd5b50565b6000813590506132e3816132bd565b92915050565b6000602082840312156132ff576132fe613133565b5b600061330d848285016132d4565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061334182613316565b9050919050565b61335181613336565b82525050565b600060208201905061336c6000830184613348565b92915050565b61337b81613336565b811461338657600080fd5b50565b60008135905061339881613372565b92915050565b600080604083850312156133b5576133b4613133565b5b60006133c385828601613389565b92505060206133d4858286016132d4565b9150509250929050565b6133e7816132b3565b82525050565b600060208201905061340260008301846133de565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61344a82613247565b810181811067ffffffffffffffff8211171561346957613468613412565b5b80604052505050565b600061347c613129565b90506134888282613441565b919050565b600067ffffffffffffffff8211156134a8576134a7613412565b5b6134b182613247565b9050602081019050919050565b82818337600083830152505050565b60006134e06134db8461348d565b613472565b9050828152602081018484840111156134fc576134fb61340d565b5b6135078482856134be565b509392505050565b600082601f83011261352457613523613408565b5b81356135348482602086016134cd565b91505092915050565b6000806040838503121561355457613553613133565b5b600061356285828601613389565b925050602083013567ffffffffffffffff81111561358357613582613138565b5b61358f8582860161350f565b9150509250929050565b6000806000606084860312156135b2576135b1613133565b5b60006135c086828701613389565b93505060206135d186828701613389565b92505060406135e2868287016132d4565b9150509250925092565b6000819050919050565b6135ff816135ec565b811461360a57600080fd5b50565b60008135905061361c816135f6565b92915050565b60006020828403121561363857613637613133565b5b60006136468482850161360d565b91505092915050565b613658816135ec565b82525050565b6000602082019050613673600083018461364f565b92915050565b600080604083850312156136905761368f613133565b5b600061369e8582860161360d565b92505060206136af85828601613389565b9150509250929050565b6000602082840312156136cf576136ce613133565b5b60006136dd84828501613389565b91505092915050565b600080604083850312156136fd576136fc613133565b5b600061370b8582860161360d565b925050602061371c858286016132d4565b9150509250929050565b61372f816131c2565b811461373a57600080fd5b50565b60008135905061374c81613726565b92915050565b6000806040838503121561376957613768613133565b5b600061377785828601613389565b92505060206137888582860161373d565b9150509250929050565b600067ffffffffffffffff8211156137ad576137ac613412565b5b6137b682613247565b9050602081019050919050565b60006137d66137d184613792565b613472565b9050828152602081018484840111156137f2576137f161340d565b5b6137fd8482856134be565b509392505050565b600082601f83011261381a57613819613408565b5b813561382a8482602086016137c3565b91505092915050565b6000806000806080858703121561384d5761384c613133565b5b600061385b87828801613389565b945050602061386c87828801613389565b935050604061387d878288016132d4565b925050606085013567ffffffffffffffff81111561389e5761389d613138565b5b6138aa87828801613805565b91505092959194509250565b6000602082840312156138cc576138cb613133565b5b600082013567ffffffffffffffff8111156138ea576138e9613138565b5b6138f68482850161350f565b91505092915050565b6000806040838503121561391657613915613133565b5b600061392485828601613389565b925050602061393585828601613389565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061398657607f821691505b6020821081036139995761399861393f565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006139fb602183613203565b9150613a068261399f565b604082019050919050565b60006020820190508181036000830152613a2a816139ee565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000602082015250565b6000613a8d603d83613203565b9150613a9882613a31565b604082019050919050565b60006020820190508181036000830152613abc81613a80565b9050919050565b6000604082019050613ad860008301856133de565b8181036020830152613aea8184613258565b90509392505050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206f7220617070726f76656400000000000000000000000000000000000000602082015250565b6000613b4f602d83613203565b9150613b5a82613af3565b604082019050919050565b60006020820190508181036000830152613b7e81613b42565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000613be1602b83613203565b9150613bec82613b85565b604082019050919050565b60006020820190508181036000830152613c1081613bd4565b9050919050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b6000613c73602f83613203565b9150613c7e82613c17565b604082019050919050565b60006020820190508181036000830152613ca281613c66565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000613d05602c83613203565b9150613d1082613ca9565b604082019050919050565b60006020820190508181036000830152613d3481613cf8565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b6000613da0601883613203565b9150613dab82613d6a565b602082019050919050565b60006020820190508181036000830152613dcf81613d93565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b6000613e32602983613203565b9150613e3d82613dd6565b604082019050919050565b60006020820190508181036000830152613e6181613e25565b9050919050565b7f5a6b5061793a204e6f6e2d4578697374656e74204c6f79616c74794e46540000600082015250565b6000613e9e601e83613203565b9150613ea982613e68565b602082019050919050565b60006020820190508181036000830152613ecd81613e91565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302613f367fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82613ef9565b613f408683613ef9565b95508019841693508086168417925050509392505050565b6000819050919050565b6000613f7d613f78613f73846132b3565b613f58565b6132b3565b9050919050565b6000819050919050565b613f9783613f62565b613fab613fa382613f84565b848454613f06565b825550505050565b600090565b613fc0613fb3565b613fcb818484613f8e565b505050565b5b81811015613fef57613fe4600082613fb8565b600181019050613fd1565b5050565b601f8211156140345761400581613ed4565b61400e84613ee9565b8101602085101561401d578190505b61403161402985613ee9565b830182613fd0565b50505b505050565b600082821c905092915050565b600061405760001984600802614039565b1980831691505092915050565b60006140708383614046565b9150826002028217905092915050565b614089826131f8565b67ffffffffffffffff8111156140a2576140a1613412565b5b6140ac825461396e565b6140b7828285613ff3565b600060209050601f8311600181146140ea57600084156140d8578287015190505b6140e28582614064565b86555061414a565b601f1984166140f886613ed4565b60005b82811015614120578489015182556001820191506020850194506020810190506140fb565b8683101561413d5784890151614139601f891682614046565b8355505b6001600288020188555050505b505050505050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b60006141ae602583613203565b91506141b982614152565b604082019050919050565b600060208201905081810360008301526141dd816141a1565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614240602483613203565b915061424b826141e4565b604082019050919050565b6000602082019050818103600083015261426f81614233565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006142ac601983613203565b91506142b782614276565b602082019050919050565b600060208201905081810360008301526142db8161429f565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b600061433e603283613203565b9150614349826142e2565b604082019050919050565b6000602082019050818103600083015261436d81614331565b9050919050565b600081905092915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b60006143b5601783614374565b91506143c08261437f565b601782019050919050565b60006143d6826131f8565b6143e08185614374565b93506143f0818560208601613214565b80840191505092915050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b6000614432601183614374565b915061443d826143fc565b601182019050919050565b6000614453826143a8565b915061445f82856143cb565b915061446a82614425565b915061447682846143cb565b91508190509392505050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b60006144b8601483613203565b91506144c382614482565b602082019050919050565b600060208201905081810360008301526144e7816144ab565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000614524601083613203565b915061452f826144ee565b602082019050919050565b6000602082019050818103600083015261455381614517565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006145818261455a565b61458b8185614565565b935061459b818560208601613214565b6145a481613247565b840191505092915050565b60006080820190506145c46000830187613348565b6145d16020830186613348565b6145de60408301856133de565b81810360608301526145f08184614576565b905095945050505050565b60008151905061460a81613169565b92915050565b60006020828403121561462657614625613133565b5b6000614634848285016145fb565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614677826132b3565b9150614682836132b3565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156146bb576146ba61463d565b5b828202905092915050565b60006146d1826132b3565b91506146dc836132b3565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156147115761471061463d565b5b828201905092915050565b6000614727826132b3565b91506000820361473a5761473961463d565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b600061477b602083613203565b915061478682614745565b602082019050919050565b600060208201905081810360008301526147aa8161476e565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006147e7602083613203565b91506147f2826147b1565b602082019050919050565b60006020820190508181036000830152614816816147da565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000614853601c83613203565b915061485e8261481d565b602082019050919050565b6000602082019050818103600083015261488281614846565b9050919050565b7f4552433732315061757361626c653a20746f6b656e207472616e73666572207760008201527f68696c6520706175736564000000000000000000000000000000000000000000602082015250565b60006148e5602b83613203565b91506148f082614889565b604082019050919050565b60006020820190508181036000830152614914816148d8565b9050919050565b6000614926826132b3565b9150614931836132b3565b9250828210156149445761494361463d565b5b828203905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f455243373231456e756d657261626c653a20636f6e736563757469766520747260008201527f616e7366657273206e6f7420737570706f727465640000000000000000000000602082015250565b60006149da603583613203565b91506149e58261497e565b604082019050919050565b60006020820190508181036000830152614a09816149cd565b905091905056fea2646970667358221220b3218430dde6d7312331de2a2587e1a66a04ff325abfd0fe51661a179ca1c3e764736f6c634300080f0033",
}

ZkpayMetaData contains all meta data concerning the Zkpay contract.

Functions

This section is empty.

Types

type Zkpay

type Zkpay struct {
	ZkpayCaller     // Read-only binding to the contract
	ZkpayTransactor // Write-only binding to the contract
	ZkpayFilterer   // Log filterer for contract events
}

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

func DeployZkpay

func DeployZkpay(auth *bind.TransactOpts, backend bind.ContractBackend, name string, symbol string) (common.Address, *types.Transaction, *Zkpay, error)

DeployZkpay deploys a new Ethereum contract, binding an instance of Zkpay to it.

func NewZkpay

func NewZkpay(address common.Address, backend bind.ContractBackend) (*Zkpay, error)

NewZkpay creates a new instance of Zkpay, bound to a specific deployed contract.

type ZkpayApproval

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

ZkpayApproval represents a Approval event raised by the Zkpay contract.

type ZkpayApprovalForAll

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

ZkpayApprovalForAll represents a ApprovalForAll event raised by the Zkpay contract.

type ZkpayApprovalForAllIterator

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

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

func (*ZkpayApprovalForAllIterator) Close

func (it *ZkpayApprovalForAllIterator) Close() error

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

func (*ZkpayApprovalForAllIterator) Error

func (it *ZkpayApprovalForAllIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZkpayApprovalForAllIterator) Next

func (it *ZkpayApprovalForAllIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ZkpayApprovalIterator

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

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

func (*ZkpayApprovalIterator) Close

func (it *ZkpayApprovalIterator) Close() error

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

func (*ZkpayApprovalIterator) Error

func (it *ZkpayApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZkpayApprovalIterator) Next

func (it *ZkpayApprovalIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ZkpayCaller

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

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

func NewZkpayCaller

func NewZkpayCaller(address common.Address, caller bind.ContractCaller) (*ZkpayCaller, error)

NewZkpayCaller creates a new read-only instance of Zkpay, bound to a specific deployed contract.

func (*ZkpayCaller) BalanceOf

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

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

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

func (*ZkpayCaller) DEFAULTADMINROLE

func (_Zkpay *ZkpayCaller) DEFAULTADMINROLE(opts *bind.CallOpts) ([32]byte, error)

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

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*ZkpayCaller) GetApproved

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

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

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

func (*ZkpayCaller) GetRoleAdmin

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

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

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

func (*ZkpayCaller) GetRoleMember

func (_Zkpay *ZkpayCaller) GetRoleMember(opts *bind.CallOpts, role [32]byte, index *big.Int) (common.Address, error)

GetRoleMember is a free data retrieval call binding the contract method 0x9010d07c.

Solidity: function getRoleMember(bytes32 role, uint256 index) view returns(address)

func (*ZkpayCaller) GetRoleMemberCount

func (_Zkpay *ZkpayCaller) GetRoleMemberCount(opts *bind.CallOpts, role [32]byte) (*big.Int, error)

GetRoleMemberCount is a free data retrieval call binding the contract method 0xca15c873.

Solidity: function getRoleMemberCount(bytes32 role) view returns(uint256)

func (*ZkpayCaller) HasRole

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

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

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

func (*ZkpayCaller) IsApprovedForAll

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

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

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

func (*ZkpayCaller) Name

func (_Zkpay *ZkpayCaller) Name(opts *bind.CallOpts) (string, error)

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

Solidity: function name() view returns(string)

func (*ZkpayCaller) OwnerOf

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

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

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

func (*ZkpayCaller) Paused

func (_Zkpay *ZkpayCaller) Paused(opts *bind.CallOpts) (bool, error)

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

Solidity: function paused() view returns(bool)

func (*ZkpayCaller) SupportsInterface

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

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

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

func (*ZkpayCaller) Symbol

func (_Zkpay *ZkpayCaller) Symbol(opts *bind.CallOpts) (string, error)

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

Solidity: function symbol() view returns(string)

func (*ZkpayCaller) TokenByIndex

func (_Zkpay *ZkpayCaller) TokenByIndex(opts *bind.CallOpts, index *big.Int) (*big.Int, error)

TokenByIndex is a free data retrieval call binding the contract method 0x4f6ccce7.

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

func (*ZkpayCaller) TokenOfOwnerByIndex

func (_Zkpay *ZkpayCaller) TokenOfOwnerByIndex(opts *bind.CallOpts, owner common.Address, index *big.Int) (*big.Int, error)

TokenOfOwnerByIndex is a free data retrieval call binding the contract method 0x2f745c59.

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

func (*ZkpayCaller) TokenURI

func (_Zkpay *ZkpayCaller) TokenURI(opts *bind.CallOpts, tokenId *big.Int) (string, error)

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

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

func (*ZkpayCaller) TotalSupply

func (_Zkpay *ZkpayCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*ZkpayCaller) ZKPAYADMINROLE

func (_Zkpay *ZkpayCaller) ZKPAYADMINROLE(opts *bind.CallOpts) ([32]byte, error)

ZKPAYADMINROLE is a free data retrieval call binding the contract method 0x922ea4f6.

Solidity: function ZKPAY_ADMIN_ROLE() view returns(bytes32)

func (*ZkpayCaller) ZKPAYCREATORROLE

func (_Zkpay *ZkpayCaller) ZKPAYCREATORROLE(opts *bind.CallOpts) ([32]byte, error)

ZKPAYCREATORROLE is a free data retrieval call binding the contract method 0x75085d96.

Solidity: function ZKPAY_CREATOR_ROLE() view returns(bytes32)

func (*ZkpayCaller) ZKPAYOPERATORROLE

func (_Zkpay *ZkpayCaller) ZKPAYOPERATORROLE(opts *bind.CallOpts) ([32]byte, error)

ZKPAYOPERATORROLE is a free data retrieval call binding the contract method 0x53e371e2.

Solidity: function ZKPAY_OPERATOR_ROLE() view returns(bytes32)

type ZkpayCallerRaw

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

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

func (*ZkpayCallerRaw) Call

func (_Zkpay *ZkpayCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type ZkpayCallerSession

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

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

func (*ZkpayCallerSession) BalanceOf

func (_Zkpay *ZkpayCallerSession) BalanceOf(owner common.Address) (*big.Int, error)

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

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

func (*ZkpayCallerSession) DEFAULTADMINROLE

func (_Zkpay *ZkpayCallerSession) DEFAULTADMINROLE() ([32]byte, error)

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

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*ZkpayCallerSession) GetApproved

func (_Zkpay *ZkpayCallerSession) GetApproved(tokenId *big.Int) (common.Address, error)

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

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

func (*ZkpayCallerSession) GetRoleAdmin

func (_Zkpay *ZkpayCallerSession) GetRoleAdmin(role [32]byte) ([32]byte, error)

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

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

func (*ZkpayCallerSession) GetRoleMember

func (_Zkpay *ZkpayCallerSession) GetRoleMember(role [32]byte, index *big.Int) (common.Address, error)

GetRoleMember is a free data retrieval call binding the contract method 0x9010d07c.

Solidity: function getRoleMember(bytes32 role, uint256 index) view returns(address)

func (*ZkpayCallerSession) GetRoleMemberCount

func (_Zkpay *ZkpayCallerSession) GetRoleMemberCount(role [32]byte) (*big.Int, error)

GetRoleMemberCount is a free data retrieval call binding the contract method 0xca15c873.

Solidity: function getRoleMemberCount(bytes32 role) view returns(uint256)

func (*ZkpayCallerSession) HasRole

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

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

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

func (*ZkpayCallerSession) IsApprovedForAll

func (_Zkpay *ZkpayCallerSession) IsApprovedForAll(owner common.Address, operator common.Address) (bool, error)

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

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

func (*ZkpayCallerSession) Name

func (_Zkpay *ZkpayCallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*ZkpayCallerSession) OwnerOf

func (_Zkpay *ZkpayCallerSession) OwnerOf(tokenId *big.Int) (common.Address, error)

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

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

func (*ZkpayCallerSession) Paused

func (_Zkpay *ZkpayCallerSession) Paused() (bool, error)

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

Solidity: function paused() view returns(bool)

func (*ZkpayCallerSession) SupportsInterface

func (_Zkpay *ZkpayCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)

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

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

func (*ZkpayCallerSession) Symbol

func (_Zkpay *ZkpayCallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*ZkpayCallerSession) TokenByIndex

func (_Zkpay *ZkpayCallerSession) TokenByIndex(index *big.Int) (*big.Int, error)

TokenByIndex is a free data retrieval call binding the contract method 0x4f6ccce7.

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

func (*ZkpayCallerSession) TokenOfOwnerByIndex

func (_Zkpay *ZkpayCallerSession) TokenOfOwnerByIndex(owner common.Address, index *big.Int) (*big.Int, error)

TokenOfOwnerByIndex is a free data retrieval call binding the contract method 0x2f745c59.

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

func (*ZkpayCallerSession) TokenURI

func (_Zkpay *ZkpayCallerSession) TokenURI(tokenId *big.Int) (string, error)

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

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

func (*ZkpayCallerSession) TotalSupply

func (_Zkpay *ZkpayCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*ZkpayCallerSession) ZKPAYADMINROLE

func (_Zkpay *ZkpayCallerSession) ZKPAYADMINROLE() ([32]byte, error)

ZKPAYADMINROLE is a free data retrieval call binding the contract method 0x922ea4f6.

Solidity: function ZKPAY_ADMIN_ROLE() view returns(bytes32)

func (*ZkpayCallerSession) ZKPAYCREATORROLE

func (_Zkpay *ZkpayCallerSession) ZKPAYCREATORROLE() ([32]byte, error)

ZKPAYCREATORROLE is a free data retrieval call binding the contract method 0x75085d96.

Solidity: function ZKPAY_CREATOR_ROLE() view returns(bytes32)

func (*ZkpayCallerSession) ZKPAYOPERATORROLE

func (_Zkpay *ZkpayCallerSession) ZKPAYOPERATORROLE() ([32]byte, error)

ZKPAYOPERATORROLE is a free data retrieval call binding the contract method 0x53e371e2.

Solidity: function ZKPAY_OPERATOR_ROLE() view returns(bytes32)

type ZkpayFilterer

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

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

func NewZkpayFilterer

func NewZkpayFilterer(address common.Address, filterer bind.ContractFilterer) (*ZkpayFilterer, error)

NewZkpayFilterer creates a new log filterer instance of Zkpay, bound to a specific deployed contract.

func (*ZkpayFilterer) FilterApproval

func (_Zkpay *ZkpayFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, approved []common.Address, tokenId []*big.Int) (*ZkpayApprovalIterator, error)

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

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

func (*ZkpayFilterer) FilterApprovalForAll

func (_Zkpay *ZkpayFilterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*ZkpayApprovalForAllIterator, error)

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

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

func (*ZkpayFilterer) FilterLoyaltyNFTCreated

func (_Zkpay *ZkpayFilterer) FilterLoyaltyNFTCreated(opts *bind.FilterOpts, creator []common.Address) (*ZkpayLoyaltyNFTCreatedIterator, error)

FilterLoyaltyNFTCreated is a free log retrieval operation binding the contract event 0xc13f70e580b01861fd2f6e9f135b5c30fbeee43c6a2c6be9fb20970303bda324.

Solidity: event LoyaltyNFTCreated(uint256 tokenID, address indexed creator, string metaDataUri)

func (*ZkpayFilterer) FilterPaused

func (_Zkpay *ZkpayFilterer) FilterPaused(opts *bind.FilterOpts) (*ZkpayPausedIterator, error)

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

Solidity: event Paused(address account)

func (*ZkpayFilterer) FilterRoleAdminChanged

func (_Zkpay *ZkpayFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (*ZkpayRoleAdminChangedIterator, error)

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

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

func (*ZkpayFilterer) FilterRoleGranted

func (_Zkpay *ZkpayFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*ZkpayRoleGrantedIterator, error)

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

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

func (*ZkpayFilterer) FilterRoleRevoked

func (_Zkpay *ZkpayFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*ZkpayRoleRevokedIterator, error)

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

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

func (*ZkpayFilterer) FilterTransfer

func (_Zkpay *ZkpayFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenId []*big.Int) (*ZkpayTransferIterator, error)

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

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

func (*ZkpayFilterer) FilterUnpaused

func (_Zkpay *ZkpayFilterer) FilterUnpaused(opts *bind.FilterOpts) (*ZkpayUnpausedIterator, error)

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

Solidity: event Unpaused(address account)

func (*ZkpayFilterer) ParseApproval

func (_Zkpay *ZkpayFilterer) ParseApproval(log types.Log) (*ZkpayApproval, error)

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

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

func (*ZkpayFilterer) ParseApprovalForAll

func (_Zkpay *ZkpayFilterer) ParseApprovalForAll(log types.Log) (*ZkpayApprovalForAll, error)

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

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

func (*ZkpayFilterer) ParseLoyaltyNFTCreated

func (_Zkpay *ZkpayFilterer) ParseLoyaltyNFTCreated(log types.Log) (*ZkpayLoyaltyNFTCreated, error)

ParseLoyaltyNFTCreated is a log parse operation binding the contract event 0xc13f70e580b01861fd2f6e9f135b5c30fbeee43c6a2c6be9fb20970303bda324.

Solidity: event LoyaltyNFTCreated(uint256 tokenID, address indexed creator, string metaDataUri)

func (*ZkpayFilterer) ParsePaused

func (_Zkpay *ZkpayFilterer) ParsePaused(log types.Log) (*ZkpayPaused, error)

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

Solidity: event Paused(address account)

func (*ZkpayFilterer) ParseRoleAdminChanged

func (_Zkpay *ZkpayFilterer) ParseRoleAdminChanged(log types.Log) (*ZkpayRoleAdminChanged, error)

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

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

func (*ZkpayFilterer) ParseRoleGranted

func (_Zkpay *ZkpayFilterer) ParseRoleGranted(log types.Log) (*ZkpayRoleGranted, error)

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

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

func (*ZkpayFilterer) ParseRoleRevoked

func (_Zkpay *ZkpayFilterer) ParseRoleRevoked(log types.Log) (*ZkpayRoleRevoked, error)

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

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

func (*ZkpayFilterer) ParseTransfer

func (_Zkpay *ZkpayFilterer) ParseTransfer(log types.Log) (*ZkpayTransfer, error)

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

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

func (*ZkpayFilterer) ParseUnpaused

func (_Zkpay *ZkpayFilterer) ParseUnpaused(log types.Log) (*ZkpayUnpaused, error)

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

Solidity: event Unpaused(address account)

func (*ZkpayFilterer) WatchApproval

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

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

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

func (*ZkpayFilterer) WatchApprovalForAll

func (_Zkpay *ZkpayFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *ZkpayApprovalForAll, owner []common.Address, operator []common.Address) (event.Subscription, error)

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

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

func (*ZkpayFilterer) WatchLoyaltyNFTCreated

func (_Zkpay *ZkpayFilterer) WatchLoyaltyNFTCreated(opts *bind.WatchOpts, sink chan<- *ZkpayLoyaltyNFTCreated, creator []common.Address) (event.Subscription, error)

WatchLoyaltyNFTCreated is a free log subscription operation binding the contract event 0xc13f70e580b01861fd2f6e9f135b5c30fbeee43c6a2c6be9fb20970303bda324.

Solidity: event LoyaltyNFTCreated(uint256 tokenID, address indexed creator, string metaDataUri)

func (*ZkpayFilterer) WatchPaused

func (_Zkpay *ZkpayFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *ZkpayPaused) (event.Subscription, error)

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

Solidity: event Paused(address account)

func (*ZkpayFilterer) WatchRoleAdminChanged

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

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

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

func (*ZkpayFilterer) WatchRoleGranted

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

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

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

func (*ZkpayFilterer) WatchRoleRevoked

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

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

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

func (*ZkpayFilterer) WatchTransfer

func (_Zkpay *ZkpayFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ZkpayTransfer, from []common.Address, to []common.Address, tokenId []*big.Int) (event.Subscription, error)

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

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

func (*ZkpayFilterer) WatchUnpaused

func (_Zkpay *ZkpayFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *ZkpayUnpaused) (event.Subscription, error)

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

Solidity: event Unpaused(address account)

type ZkpayLoyaltyNFTCreated

type ZkpayLoyaltyNFTCreated struct {
	TokenID     *big.Int
	Creator     common.Address
	MetaDataUri string
	Raw         types.Log // Blockchain specific contextual infos
}

ZkpayLoyaltyNFTCreated represents a LoyaltyNFTCreated event raised by the Zkpay contract.

type ZkpayLoyaltyNFTCreatedIterator

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

ZkpayLoyaltyNFTCreatedIterator is returned from FilterLoyaltyNFTCreated and is used to iterate over the raw logs and unpacked data for LoyaltyNFTCreated events raised by the Zkpay contract.

func (*ZkpayLoyaltyNFTCreatedIterator) Close

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

func (*ZkpayLoyaltyNFTCreatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZkpayLoyaltyNFTCreatedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ZkpayPaused

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

ZkpayPaused represents a Paused event raised by the Zkpay contract.

type ZkpayPausedIterator

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

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

func (*ZkpayPausedIterator) Close

func (it *ZkpayPausedIterator) Close() error

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

func (*ZkpayPausedIterator) Error

func (it *ZkpayPausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZkpayPausedIterator) Next

func (it *ZkpayPausedIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ZkpayRaw

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

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

func (*ZkpayRaw) Call

func (_Zkpay *ZkpayRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*ZkpayRaw) Transact

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

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

func (*ZkpayRaw) Transfer

func (_Zkpay *ZkpayRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type ZkpayRoleAdminChanged

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

ZkpayRoleAdminChanged represents a RoleAdminChanged event raised by the Zkpay contract.

type ZkpayRoleAdminChangedIterator

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

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

func (*ZkpayRoleAdminChangedIterator) Close

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

func (*ZkpayRoleAdminChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZkpayRoleAdminChangedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ZkpayRoleGranted

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

ZkpayRoleGranted represents a RoleGranted event raised by the Zkpay contract.

type ZkpayRoleGrantedIterator

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

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

func (*ZkpayRoleGrantedIterator) Close

func (it *ZkpayRoleGrantedIterator) Close() error

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

func (*ZkpayRoleGrantedIterator) Error

func (it *ZkpayRoleGrantedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZkpayRoleGrantedIterator) Next

func (it *ZkpayRoleGrantedIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ZkpayRoleRevoked

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

ZkpayRoleRevoked represents a RoleRevoked event raised by the Zkpay contract.

type ZkpayRoleRevokedIterator

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

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

func (*ZkpayRoleRevokedIterator) Close

func (it *ZkpayRoleRevokedIterator) Close() error

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

func (*ZkpayRoleRevokedIterator) Error

func (it *ZkpayRoleRevokedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZkpayRoleRevokedIterator) Next

func (it *ZkpayRoleRevokedIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ZkpaySession

type ZkpaySession struct {
	Contract     *Zkpay            // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

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

func (*ZkpaySession) Approve

func (_Zkpay *ZkpaySession) Approve(to common.Address, tokenId *big.Int) (*types.Transaction, error)

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

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

func (*ZkpaySession) BalanceOf

func (_Zkpay *ZkpaySession) BalanceOf(owner common.Address) (*big.Int, error)

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

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

func (*ZkpaySession) Burn

func (_Zkpay *ZkpaySession) Burn(tokenId *big.Int) (*types.Transaction, error)

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

Solidity: function burn(uint256 tokenId) returns()

func (*ZkpaySession) CreateLoyaltyNFT

func (_Zkpay *ZkpaySession) CreateLoyaltyNFT(metadataHash string) (*types.Transaction, error)

CreateLoyaltyNFT is a paid mutator transaction binding the contract method 0xd97b288a.

Solidity: function createLoyaltyNFT(string metadataHash) returns(uint256)

func (*ZkpaySession) DEFAULTADMINROLE

func (_Zkpay *ZkpaySession) DEFAULTADMINROLE() ([32]byte, error)

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

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*ZkpaySession) DelegateLoyaltyNFTCreation

func (_Zkpay *ZkpaySession) DelegateLoyaltyNFTCreation(creator common.Address, metadataHash string) (*types.Transaction, error)

DelegateLoyaltyNFTCreation is a paid mutator transaction binding the contract method 0x1faad6aa.

Solidity: function delegateLoyaltyNFTCreation(address creator, string metadataHash) returns(uint256)

func (*ZkpaySession) GetApproved

func (_Zkpay *ZkpaySession) GetApproved(tokenId *big.Int) (common.Address, error)

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

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

func (*ZkpaySession) GetRoleAdmin

func (_Zkpay *ZkpaySession) GetRoleAdmin(role [32]byte) ([32]byte, error)

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

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

func (*ZkpaySession) GetRoleMember

func (_Zkpay *ZkpaySession) GetRoleMember(role [32]byte, index *big.Int) (common.Address, error)

GetRoleMember is a free data retrieval call binding the contract method 0x9010d07c.

Solidity: function getRoleMember(bytes32 role, uint256 index) view returns(address)

func (*ZkpaySession) GetRoleMemberCount

func (_Zkpay *ZkpaySession) GetRoleMemberCount(role [32]byte) (*big.Int, error)

GetRoleMemberCount is a free data retrieval call binding the contract method 0xca15c873.

Solidity: function getRoleMemberCount(bytes32 role) view returns(uint256)

func (*ZkpaySession) GrantRole

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

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

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

func (*ZkpaySession) HasRole

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

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

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

func (*ZkpaySession) IsApprovedForAll

func (_Zkpay *ZkpaySession) IsApprovedForAll(owner common.Address, operator common.Address) (bool, error)

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

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

func (*ZkpaySession) Name

func (_Zkpay *ZkpaySession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*ZkpaySession) OwnerOf

func (_Zkpay *ZkpaySession) OwnerOf(tokenId *big.Int) (common.Address, error)

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

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

func (*ZkpaySession) Pause

func (_Zkpay *ZkpaySession) Pause() (*types.Transaction, error)

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

Solidity: function pause() returns()

func (*ZkpaySession) Paused

func (_Zkpay *ZkpaySession) Paused() (bool, error)

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

Solidity: function paused() view returns(bool)

func (*ZkpaySession) RenounceRole

func (_Zkpay *ZkpaySession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)

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

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

func (*ZkpaySession) RevokeRole

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

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

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

func (*ZkpaySession) SafeTransferFrom

func (_Zkpay *ZkpaySession) SafeTransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)

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

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

func (*ZkpaySession) SafeTransferFrom0

func (_Zkpay *ZkpaySession) SafeTransferFrom0(from common.Address, to common.Address, tokenId *big.Int, data []byte) (*types.Transaction, error)

SafeTransferFrom0 is a paid mutator transaction binding the contract method 0xb88d4fde.

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

func (*ZkpaySession) SetApprovalForAll

func (_Zkpay *ZkpaySession) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error)

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

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

func (*ZkpaySession) SupportsInterface

func (_Zkpay *ZkpaySession) SupportsInterface(interfaceId [4]byte) (bool, error)

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

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

func (*ZkpaySession) Symbol

func (_Zkpay *ZkpaySession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*ZkpaySession) TokenByIndex

func (_Zkpay *ZkpaySession) TokenByIndex(index *big.Int) (*big.Int, error)

TokenByIndex is a free data retrieval call binding the contract method 0x4f6ccce7.

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

func (*ZkpaySession) TokenOfOwnerByIndex

func (_Zkpay *ZkpaySession) TokenOfOwnerByIndex(owner common.Address, index *big.Int) (*big.Int, error)

TokenOfOwnerByIndex is a free data retrieval call binding the contract method 0x2f745c59.

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

func (*ZkpaySession) TokenURI

func (_Zkpay *ZkpaySession) TokenURI(tokenId *big.Int) (string, error)

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

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

func (*ZkpaySession) TotalSupply

func (_Zkpay *ZkpaySession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*ZkpaySession) TransferFrom

func (_Zkpay *ZkpaySession) TransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)

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

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

func (*ZkpaySession) Unpause

func (_Zkpay *ZkpaySession) Unpause() (*types.Transaction, error)

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

Solidity: function unpause() returns()

func (*ZkpaySession) ZKPAYADMINROLE

func (_Zkpay *ZkpaySession) ZKPAYADMINROLE() ([32]byte, error)

ZKPAYADMINROLE is a free data retrieval call binding the contract method 0x922ea4f6.

Solidity: function ZKPAY_ADMIN_ROLE() view returns(bytes32)

func (*ZkpaySession) ZKPAYCREATORROLE

func (_Zkpay *ZkpaySession) ZKPAYCREATORROLE() ([32]byte, error)

ZKPAYCREATORROLE is a free data retrieval call binding the contract method 0x75085d96.

Solidity: function ZKPAY_CREATOR_ROLE() view returns(bytes32)

func (*ZkpaySession) ZKPAYOPERATORROLE

func (_Zkpay *ZkpaySession) ZKPAYOPERATORROLE() ([32]byte, error)

ZKPAYOPERATORROLE is a free data retrieval call binding the contract method 0x53e371e2.

Solidity: function ZKPAY_OPERATOR_ROLE() view returns(bytes32)

type ZkpayTransactor

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

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

func NewZkpayTransactor

func NewZkpayTransactor(address common.Address, transactor bind.ContractTransactor) (*ZkpayTransactor, error)

NewZkpayTransactor creates a new write-only instance of Zkpay, bound to a specific deployed contract.

func (*ZkpayTransactor) Approve

func (_Zkpay *ZkpayTransactor) Approve(opts *bind.TransactOpts, to common.Address, tokenId *big.Int) (*types.Transaction, error)

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

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

func (*ZkpayTransactor) Burn

func (_Zkpay *ZkpayTransactor) Burn(opts *bind.TransactOpts, tokenId *big.Int) (*types.Transaction, error)

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

Solidity: function burn(uint256 tokenId) returns()

func (*ZkpayTransactor) CreateLoyaltyNFT

func (_Zkpay *ZkpayTransactor) CreateLoyaltyNFT(opts *bind.TransactOpts, metadataHash string) (*types.Transaction, error)

CreateLoyaltyNFT is a paid mutator transaction binding the contract method 0xd97b288a.

Solidity: function createLoyaltyNFT(string metadataHash) returns(uint256)

func (*ZkpayTransactor) DelegateLoyaltyNFTCreation

func (_Zkpay *ZkpayTransactor) DelegateLoyaltyNFTCreation(opts *bind.TransactOpts, creator common.Address, metadataHash string) (*types.Transaction, error)

DelegateLoyaltyNFTCreation is a paid mutator transaction binding the contract method 0x1faad6aa.

Solidity: function delegateLoyaltyNFTCreation(address creator, string metadataHash) returns(uint256)

func (*ZkpayTransactor) GrantRole

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

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

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

func (*ZkpayTransactor) Pause

func (_Zkpay *ZkpayTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function pause() returns()

func (*ZkpayTransactor) RenounceRole

func (_Zkpay *ZkpayTransactor) RenounceRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)

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

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

func (*ZkpayTransactor) RevokeRole

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

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

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

func (*ZkpayTransactor) SafeTransferFrom

func (_Zkpay *ZkpayTransactor) SafeTransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)

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

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

func (*ZkpayTransactor) SafeTransferFrom0

func (_Zkpay *ZkpayTransactor) SafeTransferFrom0(opts *bind.TransactOpts, from common.Address, to common.Address, tokenId *big.Int, data []byte) (*types.Transaction, error)

SafeTransferFrom0 is a paid mutator transaction binding the contract method 0xb88d4fde.

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

func (*ZkpayTransactor) SetApprovalForAll

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

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

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

func (*ZkpayTransactor) TransferFrom

func (_Zkpay *ZkpayTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)

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

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

func (*ZkpayTransactor) Unpause

func (_Zkpay *ZkpayTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function unpause() returns()

type ZkpayTransactorRaw

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

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

func (*ZkpayTransactorRaw) Transact

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

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

func (*ZkpayTransactorRaw) Transfer

func (_Zkpay *ZkpayTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type ZkpayTransactorSession

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

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

func (*ZkpayTransactorSession) Approve

func (_Zkpay *ZkpayTransactorSession) Approve(to common.Address, tokenId *big.Int) (*types.Transaction, error)

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

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

func (*ZkpayTransactorSession) Burn

func (_Zkpay *ZkpayTransactorSession) Burn(tokenId *big.Int) (*types.Transaction, error)

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

Solidity: function burn(uint256 tokenId) returns()

func (*ZkpayTransactorSession) CreateLoyaltyNFT

func (_Zkpay *ZkpayTransactorSession) CreateLoyaltyNFT(metadataHash string) (*types.Transaction, error)

CreateLoyaltyNFT is a paid mutator transaction binding the contract method 0xd97b288a.

Solidity: function createLoyaltyNFT(string metadataHash) returns(uint256)

func (*ZkpayTransactorSession) DelegateLoyaltyNFTCreation

func (_Zkpay *ZkpayTransactorSession) DelegateLoyaltyNFTCreation(creator common.Address, metadataHash string) (*types.Transaction, error)

DelegateLoyaltyNFTCreation is a paid mutator transaction binding the contract method 0x1faad6aa.

Solidity: function delegateLoyaltyNFTCreation(address creator, string metadataHash) returns(uint256)

func (*ZkpayTransactorSession) GrantRole

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

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

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

func (*ZkpayTransactorSession) Pause

func (_Zkpay *ZkpayTransactorSession) Pause() (*types.Transaction, error)

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

Solidity: function pause() returns()

func (*ZkpayTransactorSession) RenounceRole

func (_Zkpay *ZkpayTransactorSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)

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

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

func (*ZkpayTransactorSession) RevokeRole

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

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

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

func (*ZkpayTransactorSession) SafeTransferFrom

func (_Zkpay *ZkpayTransactorSession) SafeTransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)

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

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

func (*ZkpayTransactorSession) SafeTransferFrom0

func (_Zkpay *ZkpayTransactorSession) SafeTransferFrom0(from common.Address, to common.Address, tokenId *big.Int, data []byte) (*types.Transaction, error)

SafeTransferFrom0 is a paid mutator transaction binding the contract method 0xb88d4fde.

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

func (*ZkpayTransactorSession) SetApprovalForAll

func (_Zkpay *ZkpayTransactorSession) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error)

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

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

func (*ZkpayTransactorSession) TransferFrom

func (_Zkpay *ZkpayTransactorSession) TransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)

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

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

func (*ZkpayTransactorSession) Unpause

func (_Zkpay *ZkpayTransactorSession) Unpause() (*types.Transaction, error)

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

Solidity: function unpause() returns()

type ZkpayTransfer

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

ZkpayTransfer represents a Transfer event raised by the Zkpay contract.

type ZkpayTransferIterator

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

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

func (*ZkpayTransferIterator) Close

func (it *ZkpayTransferIterator) Close() error

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

func (*ZkpayTransferIterator) Error

func (it *ZkpayTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZkpayTransferIterator) Next

func (it *ZkpayTransferIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ZkpayUnpaused

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

ZkpayUnpaused represents a Unpaused event raised by the Zkpay contract.

type ZkpayUnpausedIterator

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

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

func (*ZkpayUnpausedIterator) Close

func (it *ZkpayUnpausedIterator) Close() error

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

func (*ZkpayUnpausedIterator) Error

func (it *ZkpayUnpausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZkpayUnpausedIterator) Next

func (it *ZkpayUnpausedIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

Jump to

Keyboard shortcuts

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