gen

package
v0.0.0-...-a67bbdc Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ETicketABI = ETicketMetaData.ABI

ETicketABI is the input ABI used to generate the binding from. Deprecated: Use ETicketMetaData.ABI instead.

View Source
var ETicketBin = ETicketMetaData.Bin

ETicketBin is the compiled bytecode used for deploying new contracts. Deprecated: Use ETicketMetaData.Bin instead.

View Source
var ETicketMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"string[]\",\"name\":\"_info\",\"type\":\"string[]\"},{\"internalType\":\"string[]\",\"name\":\"_rights\",\"type\":\"string[]\"},{\"internalType\":\"bool[]\",\"name\":\"_types\",\"type\":\"bool[]\"},{\"internalType\":\"uint256\",\"name\":\"_validTime\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"approved\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"ApprovalForAll\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_operator\",\"type\":\"address\"}],\"name\":\"addOperator\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string[]\",\"name\":\"_rights\",\"type\":\"string[]\"}],\"name\":\"addRights\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"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\"},{\"internalType\":\"uint16\",\"name\":\"_right\",\"type\":\"uint16\"},{\"internalType\":\"address\",\"name\":\"_who\",\"type\":\"address\"}],\"name\":\"check\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"uint16\",\"name\":\"_right\",\"type\":\"uint16\"}],\"name\":\"check\",\"outputs\":[],\"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\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_operator\",\"type\":\"address\"}],\"name\":\"isOperator\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ownerOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_operator\",\"type\":\"address\"}],\"name\":\"removeOperator\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"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\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"tokenURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"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\":\"transferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Bin: "0x60806040523480156200001157600080fd5b5060405162002d7438038062002d748339810160408190526200003491620005d7565b836000815181106200004a576200004a620006d9565b60200260200101516040518060400160405280600781526020016619551a58dad95d60ca1b81525081600090816200008391906200077e565b5060016200009282826200077e565b505050620000af620000a96200024260201b60201c565b62000253565b83600181518110620000c557620000c5620006d9565b6020026020010151600c9081620000dd91906200077e565b5083600281518110620000f457620000f4620006d9565b6020026020010151600d90816200010c91906200077e565b5083600381518110620001235762000123620006d9565b6020026020010151600e90816200013b91906200077e565b50600854601011620001945760405162461bcd60e51b815260206004820152601a60248201527f4d617820726967687473206f766572204d41585f72696768747300000000000060448201526064015b60405180910390fd5b8151835114620001da5760405162461bcd60e51b815260206004820152601060248201526f098cadccee8d040dcdee840dac2e8c6d60831b60448201526064016200018b565b8251620001ef906008906020860190620002d8565b5081516200020590600990602085019062000335565b50836004815181106200021c576200021c620006d9565b6020026020010151600f90816200023491906200077e565b50601055506200084a915050565b60006200024e620002a5565b905090565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600073c77fa7345679ccdbdb6204f0ca6a024be4abd002193301620002d1575060131936013560601c90565b336200024e565b82805482825590600052602060002090810192821562000323579160200282015b828111156200032357825182906200031290826200077e565b5091602001919060010190620002f9565b5062000331929150620003dd565b5090565b82805482825590600052602060002090601f01602090048101928215620003cf5791602002820160005b838211156200039e57835183826101000a81548160ff02191690831515021790555092602001926001016020816000010492830192600103026200035f565b8015620003cd5782816101000a81549060ff02191690556001016020816000010492830192600103026200039e565b505b5062000331929150620003fe565b8082111562000331576000620003f4828262000415565b50600101620003dd565b5b80821115620003315760008155600101620003ff565b5080546200042390620006ef565b6000825580601f1062000434575050565b601f016020900490600052602060002090810190620004549190620003fe565b50565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171562000498576200049862000457565b604052919050565b60006001600160401b03821115620004bc57620004bc62000457565b5060051b60200190565b6000601f8381840112620004d957600080fd5b82516020620004f2620004ec83620004a0565b6200046d565b82815260059290921b850181019181810190878411156200051257600080fd5b8287015b84811015620005cb5780516001600160401b0380821115620005385760008081fd5b818a0191508a603f8301126200054e5760008081fd5b858201518181111562000565576200056562000457565b62000578818a01601f191688016200046d565b915080825260408c81838601011115620005925760008081fd5b60005b82811015620005b2578481018201518482018a0152880162000595565b5050600090820187015284525091830191830162000516565b50979650505050505050565b60008060008060808587031215620005ee57600080fd5b84516001600160401b03808211156200060657600080fd5b6200061488838901620004c6565b95506020915081870151818111156200062c57600080fd5b6200063a89828a01620004c6565b9550506040870151818111156200065057600080fd5b87019050601f810188136200066457600080fd5b805162000675620004ec82620004a0565b81815260059190911b8201830190838101908a8311156200069557600080fd5b928401925b82841015620006c55783518015158114620006b55760008081fd5b825292840192908401906200069a565b60609990990151979a969950505050505050565b634e487b7160e01b600052603260045260246000fd5b600181811c908216806200070457607f821691505b6020821081036200072557634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200077957600081815260208120601f850160051c81016020861015620007545750805b601f850160051c820191505b81811015620007755782815560010162000760565b5050505b505050565b81516001600160401b038111156200079a576200079a62000457565b620007b281620007ab8454620006ef565b846200072b565b602080601f831160018114620007ea5760008415620007d15750858301515b600019600386901b1c1916600185901b17855562000775565b600085815260208120601f198616915b828110156200081b57888601518255948401946001909101908401620007fa565b50858210156200083a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61251a806200085a6000396000f3fe608060405234801561001057600080fd5b50600436106101585760003560e01c8063715018a6116100c3578063aec0cf301161007c578063aec0cf30146102da578063b88d4fde146102ed578063beabacc814610300578063c87b56dd14610313578063e985e9c514610326578063f2fde38b1461036257600080fd5b8063715018a6146102805780638da5cb5b1461028857806395d89b41146102995780639870d7fe146102a1578063a22cb465146102b4578063ac8a584a146102c757600080fd5b8063415dd87711610115578063415dd8771461020057806342842e0e146102135780636352211e14610226578063687ffe07146102395780636d70f7ae1461024c57806370a082311461025f57600080fd5b806301ffc9a71461015d57806306fdde0314610185578063081812fc1461019a578063095ea7b3146101c557806323b872dd146101da57806340c10f19146101ed575b600080fd5b61017061016b3660046119bd565b610375565b60405190151581526020015b60405180910390f35b61018d6103c7565b60405161017c9190611a31565b6101ad6101a8366004611a44565b610459565b6040516001600160a01b03909116815260200161017c565b6101d86101d3366004611a79565b610480565b005b6101d86101e8366004611aa3565b6105ac565b6101d86101fb366004611a79565b6105e4565b6101d861020e366004611b8c565b610645565b6101d8610221366004611aa3565b61073d565b6101ad610234366004611a44565b610758565b6101d8610247366004611c76565b6107b8565b61017061025a366004611cb2565b61080f565b61027261026d366004611cb2565b61081c565b60405190815260200161017c565b6101d86108a2565b6006546001600160a01b03166101ad565b61018d6108b6565b6101d86102af366004611cb2565b6108c5565b6101d86102c2366004611ccd565b6108db565b6101d86102d5366004611cb2565b6108ed565b6101d86102e8366004611d09565b610900565b6101d86102fb366004611d35565b610912565b6101d861030e366004611aa3565b610951565b61018d610321366004611a44565b61099d565b610170610334366004611db1565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6101d8610370366004611cb2565b610d1c565b60006001600160e01b031982166380ac58cd60e01b14806103a657506001600160e01b03198216635b5e139f60e01b145b806103c157506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600080546103d690611ddb565b80601f016020809104026020016040519081016040528092919081815260200182805461040290611ddb565b801561044f5780601f106104245761010080835404028352916020019161044f565b820191906000526020600020905b81548152906001019060200180831161043257829003601f168201915b5050505050905090565b600061046482610d92565b506000908152600460205260409020546001600160a01b031690565b600061048b82610758565b9050806001600160a01b0316836001600160a01b0316036104fd5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b806001600160a01b031661050f610df1565b6001600160a01b0316148061052b575061052b81610334610df1565b61059d5760405162461bcd60e51b815260206004820152603e60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c000060648201526084016104f4565b6105a78383610e00565b505050565b6105bd6105b7610df1565b82610e6e565b6105d95760405162461bcd60e51b81526004016104f490611e15565b6105a7838383610eed565b6105f66105ef610df1565b6007611089565b8061061b57506006546001600160a01b0316610610610df1565b6001600160a01b0316145b6106375760405162461bcd60e51b81526004016104f490611e63565b61064182826110f2565b5050565b6106506105ef610df1565b8061067557506006546001600160a01b031661066a610df1565b6001600160a01b0316145b6106915760405162461bcd60e51b81526004016104f490611e63565b80516008546010916106a291611ea0565b106106e15760405162461bcd60e51b815260206004820152600f60248201526e6f766572204d61782072696768747360881b60448201526064016104f4565b60005b815181101561064157600882828151811061070157610701611eb3565b6020908102919091018101518254600181018455600093845291909220019061072a9082611f17565b508061073581611fd7565b9150506106e4565b6105a783838360405180602001604052806000815250610912565b6000818152600260205260408120546001600160a01b0316806103c15760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016104f4565b6107c36105ef610df1565b806107e857506006546001600160a01b03166107dd610df1565b6001600160a01b0316145b6108045760405162461bcd60e51b81526004016104f490611e63565b6105a7838383611234565b60006103c1826007611089565b60006001600160a01b0382166108865760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b60648201526084016104f4565b506001600160a01b031660009081526003602052604090205490565b6108aa611394565b6108b4600061140d565b565b6060600180546103d690611ddb565b6108cd611394565b6108d881600761145f565b50565b6106416108e6610df1565b83836114ec565b6108f5611394565b6108d88160076115ba565b610641828261090d610df1565b611234565b61092361091d610df1565b83610e6e565b61093f5760405162461bcd60e51b81526004016104f490611e15565b61094b848484846116e9565b50505050565b61095c6105ef610df1565b8061098157506006546001600160a01b0316610976610df1565b6001600160a01b0316145b6105d95760405162461bcd60e51b81526004016104f490611e63565b6000818152600260205260409020546060906001600160a01b03166109f85760405162461bcd60e51b81526020600482015260116024820152703737b732bc34b9ba32b73a103a37b5b2b760791b60448201526064016104f4565b6000610a026103c7565b600c600e600d604051602001610a1b9493929190612063565b60408051601f1981840301815290829052601054634f689bcb60e11b8352600483015291508190600f9073__$73785166eb94af412e1735ba7ee7be91af$__90639ed1379690602401600060405180830381865af4158015610a81573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610aa99190810190612142565b604051602001610abb939291906121b9565b604051602081830303815290604052905060005b60085461ffff82161015610c8e578160098261ffff1681548110610af557610af5611eb3565b90600052602060002090602091828204019190069054906101000a900460ff16610b3a57604051806040016040528060038152602001625b525d60e81b815250610b57565b604051806040016040528060038152602001625b535d60e81b8152505b60088361ffff1681548110610b6e57610b6e611eb3565b60009182526020808320898452600a8252604080852061ffff89168652909252922054910190610bbf576040518060400160405280600981526020016801cd3955cd4171d32960bf1b815250610c57565b6000878152600a6020908152604080832061ffff8816845290915290819020549051634f689bcb60e11b8152600481019190915273__$73785166eb94af412e1735ba7ee7be91af$__90639ed1379690602401600060405180830381865af4158015610c2f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610c579190810190612142565b604051602001610c6a9493929190612277565b60405160208183030381529060405291508080610c869061230b565b915050610acf565b50605d60f81b8160018351610ca3919061232c565b81518110610cb357610cb3611eb3565b60200101906001600160f81b031916908160001a90535080604051602001610cdb919061233f565b6040516020818303038152906040529050610cf58161171c565b604051602001610d059190612364565b604051602081830303815290604052915050919050565b610d24611394565b6001600160a01b038116610d895760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104f4565b6108d88161140d565b6000818152600260205260409020546001600160a01b03166108d85760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016104f4565b6000610dfb61186f565b905090565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610e3582610758565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080610e7a83610758565b9050806001600160a01b0316846001600160a01b03161480610ec157506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b80610ee55750836001600160a01b0316610eda84610459565b6001600160a01b0316145b949350505050565b826001600160a01b0316610f0082610758565b6001600160a01b031614610f645760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b60648201526084016104f4565b6001600160a01b038216610fc65760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016104f4565b610fd1600082610e00565b6001600160a01b0383166000908152600360205260408120805460019290610ffa90849061232c565b90915550506001600160a01b0382166000908152600360205260408120805460019290611028908490611ea0565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000805b82548110156110e857836001600160a01b03168382815481106110b2576110b2611eb3565b6000918252602090912001546001600160a01b0316036110d65760019150506103c1565b806110e081611fd7565b91505061108d565b5060009392505050565b6001600160a01b0382166111485760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016104f4565b6000818152600260205260409020546001600160a01b0316156111ad5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016104f4565b6001600160a01b03821660009081526003602052604081208054600192906111d6908490611ea0565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b806001600160a01b031661124784610758565b6001600160a01b03161461128a5760405162461bcd60e51b815260206004820152600a60248201526927b7363c9037bbb732b960b11b60448201526064016104f4565b60085461ffff8316106112d15760405162461bcd60e51b815260206004820152600f60248201526e726967687473206f766572666c6f7760881b60448201526064016104f4565b60105442106113135760405162461bcd60e51b815260206004820152600e60248201526d1d1a58dad95d08195e1c1a5c995960921b60448201526064016104f4565b6000838152600a6020908152604080832061ffff86168452909152902054156113705760405162461bcd60e51b815260206004820152600f60248201526e436865636b656420416c726561647960881b60448201526064016104f4565b506000918252600a6020908152604080842061ffff90931684529190529020429055565b61139c610df1565b6001600160a01b03166113b76006546001600160a01b031690565b6001600160a01b0316146108b45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104f4565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60005b81548110156114b857826001600160a01b031682828154811061148757611487611eb3565b6000918252602090912001546001600160a01b0316036114a657505050565b806114b081611fd7565b915050611462565b508054600181018255600091825260209091200180546001600160a01b0319166001600160a01b0392909216919091179055565b816001600160a01b0316836001600160a01b03160361154d5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016104f4565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6000805b82548110156116ab57836001600160a01b03168382815481106115e3576115e3611eb3565b6000918252602090912001546001600160a01b03160361160257600191505b81801561161957508254611617826001611ea0565b105b15611699578261162a826001611ea0565b8154811061163a5761163a611eb3565b9060005260206000200160009054906101000a90046001600160a01b031683828154811061166a5761166a611eb3565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b031602179055505b806116a381611fd7565b9150506115be565b5080156105a757818054806116c2576116c26123a9565b600082815260209020810160001990810180546001600160a01b0319169055019055505050565b6116f4848484610eed565b6117008484848461189f565b61094b5760405162461bcd60e51b81526004016104f4906123bf565b6060815160000361173b57505060408051602081019091526000815290565b60006040518060600160405280604081526020016124a5604091399050600060038451600261176a9190611ea0565b6117749190612411565b61177f906004612433565b67ffffffffffffffff81111561179757611797611adf565b6040519080825280601f01601f1916602001820160405280156117c1576020820181803683370190505b509050600182016020820185865187015b8082101561182d576003820191508151603f8160121c168501518453600184019350603f81600c1c168501518453600184019350603f8160061c168501518453600184019350603f81168501518453506001830192506117d2565b5050600386510660018114611849576002811461185c57611864565b603d6001830353603d6002830353611864565b603d60018303535b509195945050505050565b600073c77fa7345679ccdbdb6204f0ca6a024be4abd00219330161189a575060131936013560601c90565b503390565b60006001600160a01b0384163b1561199c57836001600160a01b031663150b7a026118c8610df1565b8786866040518563ffffffff1660e01b81526004016118ea949392919061244a565b6020604051808303816000875af1925050508015611925575060408051601f3d908101601f1916820190925261192291810190612487565b60015b611982573d808015611953576040519150601f19603f3d011682016040523d82523d6000602084013e611958565b606091505b50805160000361197a5760405162461bcd60e51b81526004016104f4906123bf565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610ee5565b506001949350505050565b6001600160e01b0319811681146108d857600080fd5b6000602082840312156119cf57600080fd5b81356119da816119a7565b9392505050565b60005b838110156119fc5781810151838201526020016119e4565b50506000910152565b60008151808452611a1d8160208601602086016119e1565b601f01601f19169290920160200192915050565b6020815260006119da6020830184611a05565b600060208284031215611a5657600080fd5b5035919050565b80356001600160a01b0381168114611a7457600080fd5b919050565b60008060408385031215611a8c57600080fd5b611a9583611a5d565b946020939093013593505050565b600080600060608486031215611ab857600080fd5b611ac184611a5d565b9250611acf60208501611a5d565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715611b1e57611b1e611adf565b604052919050565b600067ffffffffffffffff821115611b4057611b40611adf565b50601f01601f191660200190565b6000611b61611b5c84611b26565b611af5565b9050828152838383011115611b7557600080fd5b828260208301376000602084830101529392505050565b60006020808385031215611b9f57600080fd5b823567ffffffffffffffff80821115611bb757600080fd5b818501915085601f830112611bcb57600080fd5b813581811115611bdd57611bdd611adf565b8060051b611bec858201611af5565b9182528381018501918581019089841115611c0657600080fd5b86860192505b83831015611c5757823585811115611c245760008081fd5b8601603f81018b13611c365760008081fd5b611c478b8983013560408401611b4e565b8352509186019190860190611c0c565b9998505050505050505050565b803561ffff81168114611a7457600080fd5b600080600060608486031215611c8b57600080fd5b83359250611c9b60208501611c64565b9150611ca960408501611a5d565b90509250925092565b600060208284031215611cc457600080fd5b6119da82611a5d565b60008060408385031215611ce057600080fd5b611ce983611a5d565b915060208301358015158114611cfe57600080fd5b809150509250929050565b60008060408385031215611d1c57600080fd5b82359150611d2c60208401611c64565b90509250929050565b60008060008060808587031215611d4b57600080fd5b611d5485611a5d565b9350611d6260208601611a5d565b925060408501359150606085013567ffffffffffffffff811115611d8557600080fd5b8501601f81018713611d9657600080fd5b611da587823560208401611b4e565b91505092959194509250565b60008060408385031215611dc457600080fd5b611dcd83611a5d565b9150611d2c60208401611a5d565b600181811c90821680611def57607f821691505b602082108103611e0f57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252602e908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526d1c881b9bdc88185c1c1c9bdd995960921b606082015260800190565b6020808252600d908201526c27b7363c9027b832b930ba37b960991b604082015260600190565b634e487b7160e01b600052601160045260246000fd5b808201808211156103c1576103c1611e8a565b634e487b7160e01b600052603260045260246000fd5b601f8211156105a757600081815260208120601f850160051c81016020861015611ef05750805b601f850160051c820191505b81811015611f0f57828155600101611efc565b505050505050565b815167ffffffffffffffff811115611f3157611f31611adf565b611f4581611f3f8454611ddb565b84611ec9565b602080601f831160018114611f7a5760008415611f625750858301515b600019600386901b1c1916600185901b178555611f0f565b600085815260208120601f198616915b82811015611fa957888601518255948401946001909101908401611f8a565b5085821015611fc75787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060018201611fe957611fe9611e8a565b5060010190565b60008154611ffd81611ddb565b60018281168015612015576001811461202a57612059565b60ff1984168752821515830287019450612059565b8560005260208060002060005b858110156120505781548a820152908401908201612037565b50505082870194505b5050505092915050565b693d913730b6b2911d101160b11b8152845160009061208981600a850160208a016119e1565b72111610113232b9b1b934b83a34b7b7111d101160691b600a918401918201526120b6601d820187611ff0565b6e111610113232ba30b4b639911d101160891b815290506120da600f820186611ff0565b6c1116101134b6b0b3b2911d101160991b815290506120fc600d820185611ff0565b7f222c202264657369676e6572223a202269736f746f702e746f70222c2022617481526b7472696275746573223a205b60a01b6020820152602c01979650505050505050565b60006020828403121561215457600080fd5b815167ffffffffffffffff81111561216b57600080fd5b8201601f8101841361217c57600080fd5b805161218a611b5c82611b26565b81815285602083850101111561219f57600080fd5b6121b08260208301602086016119e1565b95945050505050565b600084516121cb8184602089016119e1565b7f7b2274726169745f74797065223a2022e58f91e8a18ce696b9444944222c22769083019081526730b63ab2911d101160c11b60208201526122106028820186611ff0565b90507f227d2c207b2274726169745f74797065223a2022e69c89e69588e69c9f222c228152683b30b63ab2911d101160b91b6020820152835161225a8160298401602088016119e1565b62089f4b60ea1b60299290910191820152602c0195945050505050565b60008551612289818460208a016119e1565b6f3d913a3930b4ba2fba3cb832911d101160811b90830190815285516122b6816010840160208a016119e1565b6122c560108284010187611ff0565b9150506b1116113b30b63ab2911d101160a11b815283516122ed81600c8401602088016119e1565b62089f4b60ea1b600c9290910191820152600f019695505050505050565b600061ffff80831681810361232257612322611e8a565b6001019392505050565b818103818111156103c1576103c1611e8a565b600082516123518184602087016119e1565b607d60f81b920191825250600101919050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c00000081526000825161239c81601d8501602087016119e1565b91909101601d0192915050565b634e487b7160e01b600052603160045260246000fd5b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60008261242e57634e487b7160e01b600052601260045260246000fd5b500490565b80820281158282048414176103c1576103c1611e8a565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061247d90830184611a05565b9695505050505050565b60006020828403121561249957600080fd5b81516119da816119a756fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa26469706673582212209013abe18317202426759800e921ab2dfbc86252808499b30a5c54a6ab92666864736f6c63430008130033",
}

ETicketMetaData contains all meta data concerning the ETicket contract.

View Source
var POAPABI = POAPMetaData.ABI

POAPABI is the input ABI used to generate the binding from. Deprecated: Use POAPMetaData.ABI instead.

View Source
var POAPBin = POAPMetaData.Bin

POAPBin is the compiled bytecode used for deploying new contracts. Deprecated: Use POAPMetaData.Bin instead.

View Source
var POAPMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"ApprovalForAll\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"POAPCreated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"ids\",\"type\":\"uint256[]\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"values\",\"type\":\"uint256[]\"}],\"name\":\"TransferBatch\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"TransferSingle\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"value\",\"type\":\"string\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"URI\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"description\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"image\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_Identiry\",\"type\":\"string\"}],\"name\":\"_create\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_operator\",\"type\":\"address\"}],\"name\":\"addOperator\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"accounts\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"ids\",\"type\":\"uint256[]\"}],\"name\":\"balanceOfBatch\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"tos\",\"type\":\"address[]\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"batchMint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"tos\",\"type\":\"address[]\"},{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"}],\"name\":\"batchMint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getOperators\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"}],\"name\":\"index\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_operator\",\"type\":\"address\"}],\"name\":\"isOperator\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"}],\"name\":\"mint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_operator\",\"type\":\"address\"}],\"name\":\"removeOperator\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256[]\",\"name\":\"ids\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"safeBatchTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"setApprovalForAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalPOAPs\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"uri\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
	Bin: "0x60806040523480156200001157600080fd5b50604080516020810190915260008152620000356200002f6200005a565b6200006b565b6200004081620000bb565b506200004f6200002f6200005a565b600160055562000271565b600062000066620000cd565b905090565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6004620000c98282620001a5565b5050565b600073c77fa7345679ccdbdb6204f0ca6a024be4abd002193301620000f9575060131936013560601c90565b3362000066565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200012b57607f821691505b6020821081036200014c57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620001a057600081815260208120601f850160051c810160208610156200017b5750805b601f850160051c820191505b818110156200019c5782815560010162000187565b5050505b505050565b81516001600160401b03811115620001c157620001c162000100565b620001d981620001d2845462000116565b8462000152565b602080601f831160018114620002115760008415620001f85750858301515b600019600386901b1c1916600185901b1785556200019c565b600085815260208120601f198616915b82811015620002425788860151825594840194600190910190840162000221565b5085821015620002615787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b612bd680620002816000396000f3fe608060405234801561001057600080fd5b50600436106101415760003560e01c806383b74baa116100b8578063ac8a584a1161007c578063ac8a584a146102aa578063d0def521146102bd578063e985e9c5146102d0578063f242432a1461030c578063f2fde38b1461031f578063f5db08d91461033257600080fd5b806383b74baa146102435780638da5cb5b146102565780639870d7fe14610271578063a22cb46514610284578063a4fbc6601461029757600080fd5b80632eb2c2d61161010a5780632eb2c2d6146101d957806340c10f19146101ec5780634e1273f4146101ff5780636d70f7ae1461021f578063715018a6146102325780637f8e89011461023a57600080fd5b8062fdd58e1461014657806301ffc9a71461016c5780630e89341c1461018f57806326a3a36a146101af57806327a099d8146101c4575b600080fd5b610159610154366004611c2a565b610345565b6040519081526020015b60405180910390f35b61017f61017a366004611c6a565b6103e0565b6040519015158152602001610163565b6101a261019d366004611c8e565b610430565b6040516101639190611cf7565b6101c26101bd366004611d52565b6107ab565b005b6101cc610a7b565b6040516101639190611e15565b6101c26101e7366004611fbb565b610add565b6101c26101fa366004611c2a565b610b3b565b61021261020d366004612064565b610ba7565b6040516101639190612169565b61017f61022d36600461217c565b610cd0565b6101c2610cdd565b61015960055481565b6101c26102513660046121db565b610cf1565b6000546040516001600160a01b039091168152602001610163565b6101c261027f36600461217c565b610da2565b6101c2610292366004612226565b610db8565b6101c26102a5366004612262565b610dca565b6101c26102b836600461217c565b610e75565b6101c26102cb3660046122cd565b610e88565b61017f6102de36600461231f565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205460ff1690565b6101c261031a366004612352565b610f15565b6101c261032d36600461217c565b610f6c565b6101596103403660046123b6565b610fe2565b60006001600160a01b0383166103b55760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a2061646472657373207a65726f206973206e6f742061207660448201526930b634b21037bbb732b960b11b60648201526084015b60405180910390fd5b5060008181526002602090815260408083206001600160a01b03861684529091529020545b92915050565b60006001600160e01b03198216636cdb3d1360e11b148061041157506001600160e01b031982166303a24d0760e21b145b806103da57506301ffc9a760e01b6001600160e01b03198316146103da565b60606000600760008481526020019081526020016000206040518060a0016040529081600082018054610462906123f7565b80601f016020809104026020016040519081016040528092919081815260200182805461048e906123f7565b80156104db5780601f106104b0576101008083540402835291602001916104db565b820191906000526020600020905b8154815290600101906020018083116104be57829003601f168201915b505050505081526020016001820180546104f4906123f7565b80601f0160208091040260200160405190810160405280929190818152602001828054610520906123f7565b801561056d5780601f106105425761010080835404028352916020019161056d565b820191906000526020600020905b81548152906001019060200180831161055057829003601f168201915b50505050508152602001600282018054610586906123f7565b80601f01602080910402602001604051908101604052809291908181526020018280546105b2906123f7565b80156105ff5780601f106105d4576101008083540402835291602001916105ff565b820191906000526020600020905b8154815290600101906020018083116105e257829003601f168201915b50505050508152602001600382018054610618906123f7565b80601f0160208091040260200160405190810160405280929190818152602001828054610644906123f7565b80156106915780601f1061066657610100808354040283529160200191610691565b820191906000526020600020905b81548152906001019060200180831161067457829003601f168201915b50505091835250506004919091015460209182015281518282015160408085015190519495506000946106c49401612431565b60408051601f198184030181529082905260608401516080850151634f689bcb60e11b84526004840152909250829173__$73785166eb94af412e1735ba7ee7be91af$__90639ed1379690602401600060405180830381865af415801561072f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261075791908101906124c4565b60405160200161076993929190612545565b60405160208183030381529060405290506107838161100d565b6040516020016107939190612647565b60405160208183030381529060405292505050919050565b6107bd6107b661115f565b600161116e565b806107e257506000546001600160a01b03166107d761115f565b6001600160a01b0316145b6107fe5760405162461bcd60e51b81526004016103ac9061268c565b866108385760405162461bcd60e51b815260206004820152600a602482015269456d707479206e616d6560b01b60448201526064016103ac565b6006888860405161084a9291906126b3565b9081526020016040518091039020546000146108945760405162461bcd60e51b81526020600482015260096024820152681b985b59481d5cd95960ba1b60448201526064016103ac565b600554600689896040516108a99291906126b3565b9081526020016040518091039020819055506040518060a0016040528089898080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250505090825250604080516020601f8a0181900481028201810190925288815291810191908990899081908401838280828437600092019190915250505090825250604080516020601f880181900481028201810190925286815291810191908790879081908401838280828437600092019190915250505090825250604080516020601f8601819004810282018101909252848152918101919085908590819084018382808284376000920182905250938552505042602093840152506005548152600790915260409020815181906109d29082612709565b50602082015160018201906109e79082612709565b50604082015160028201906109fc9082612709565b5060608201516003820190610a119082612709565b50608082015181600401559050507fd289120f29a4955153cbfd6b70b90301c2051931e4e9db7110b3ce6cdd7aed6a8888600554604051610a54939291906127c8565b60405180910390a160058054906000610a6c83612817565b91905055505050505050505050565b60606001805480602002602001604051908101604052809291908181526020018280548015610ad357602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610ab5575b5050505050905090565b610ae561115f565b6001600160a01b0316856001600160a01b03161480610b0b5750610b0b856102de61115f565b610b275760405162461bcd60e51b81526004016103ac90612830565b610b3485858585856111d7565b5050505050565b610b466107b661115f565b80610b6b57506000546001600160a01b0316610b6061115f565b6001600160a01b0316145b610b875760405162461bcd60e51b81526004016103ac9061268c565b610ba382826001604051806020016040528060008152506113ba565b5050565b60608151835114610c0c5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604482015268040dad2e6dac2e8c6d60bb1b60648201526084016103ac565b600083516001600160401b03811115610c2757610c27611e62565b604051908082528060200260200182016040528015610c50578160200160208202803683370190505b50905060005b8451811015610cc857610c9b858281518110610c7457610c7461287f565b6020026020010151858381518110610c8e57610c8e61287f565b6020026020010151610345565b828281518110610cad57610cad61287f565b6020908102919091010152610cc181612817565b9050610c56565b509392505050565b60006103da82600161116e565b610ce56114db565b610cef6000611554565b565b610cfc6107b661115f565b80610d2157506000546001600160a01b0316610d1661115f565b6001600160a01b0316145b610d3d5760405162461bcd60e51b81526004016103ac9061268c565b60005b82811015610d9c57610d8a848483818110610d5d57610d5d61287f565b9050602002016020810190610d72919061217c565b836001604051806020016040528060008152506113ba565b80610d9481612817565b915050610d40565b50505050565b610daa6114db565b610db58160016115a4565b50565b610ba3610dc361115f565b8383611631565b610dd56107b661115f565b80610dfa57506000546001600160a01b0316610def61115f565b6001600160a01b0316145b610e165760405162461bcd60e51b81526004016103ac9061268c565b600060068383604051610e2a9291906126b3565b908152602001604051809103902054905060005b84811015610e6d57610e5b868683818110610d5d57610d5d61287f565b80610e6581612817565b915050610e3e565b505050505050565b610e7d6114db565b610db5816001611711565b610e936107b661115f565b80610eb857506000546001600160a01b0316610ead61115f565b6001600160a01b0316145b610ed45760405162461bcd60e51b81526004016103ac9061268c565b600060068383604051610ee89291906126b3565b9081526020016040518091039020549050610d9c84826001604051806020016040528060008152506113ba565b610f1d61115f565b6001600160a01b0316856001600160a01b03161480610f435750610f43856102de61115f565b610f5f5760405162461bcd60e51b81526004016103ac90612830565b610b348585858585611841565b610f746114db565b6001600160a01b038116610fd95760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016103ac565b610db581611554565b600060068383604051610ff69291906126b3565b908152602001604051809103902054905092915050565b6060815160000361102c57505060408051602081019091526000815290565b6000604051806060016040528060408152602001612b61604091399050600060038451600261105b9190612895565b61106591906128a8565b6110709060046128ca565b6001600160401b0381111561108757611087611e62565b6040519080825280601f01601f1916602001820160405280156110b1576020820181803683370190505b509050600182016020820185865187015b8082101561111d576003820191508151603f8160121c168501518453600184019350603f81600c1c168501518453600184019350603f8160061c168501518453600184019350603f81168501518453506001830192506110c2565b5050600386510660018114611139576002811461114c57611154565b603d6001830353603d6002830353611154565b603d60018303535b509195945050505050565b600061116961197a565b905090565b6000805b82548110156111cd57836001600160a01b03168382815481106111975761119761287f565b6000918252602090912001546001600160a01b0316036111bb5760019150506103da565b806111c581612817565b915050611172565b5060009392505050565b81518351146112395760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206044820152670dad2e6dac2e8c6d60c31b60648201526084016103ac565b6001600160a01b03841661125f5760405162461bcd60e51b81526004016103ac906128e1565b600061126961115f565b905060005b845181101561135457600085828151811061128b5761128b61287f565b6020026020010151905060008583815181106112a9576112a961287f565b60209081029190910181015160008481526002835260408082206001600160a01b038e1683529093529190912054909150818110156112fa5760405162461bcd60e51b81526004016103ac90612926565b60008381526002602090815260408083206001600160a01b038e8116855292528083208585039055908b16825281208054849290611339908490612895565b925050819055505050508061134d90612817565b905061126e565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516113a4929190612970565b60405180910390a4610e6d8187878787876119ad565b6001600160a01b03841661141a5760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b60648201526084016103ac565b600061142461115f565b9050600061143185611b08565b9050600061143e85611b08565b905060008681526002602090815260408083206001600160a01b038b16845290915281208054879290611472908490612895565b909155505060408051878152602081018790526001600160a01b03808a1692600092918716917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a46114d283600089898989611b53565b50505050505050565b6114e361115f565b6001600160a01b03166114fe6000546001600160a01b031690565b6001600160a01b031614610cef5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016103ac565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60005b81548110156115fd57826001600160a01b03168282815481106115cc576115cc61287f565b6000918252602090912001546001600160a01b0316036115eb57505050565b806115f581612817565b9150506115a7565b508054600181018255600091825260209091200180546001600160a01b0319166001600160a01b0392909216919091179055565b816001600160a01b0316836001600160a01b0316036116a45760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604482015268103337b91039b2b63360b91b60648201526084016103ac565b6001600160a01b03838116600081815260036020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6000805b825481101561180257836001600160a01b031683828154811061173a5761173a61287f565b6000918252602090912001546001600160a01b03160361175957600191505b8180156117705750825461176e826001612895565b105b156117f05782611781826001612895565b815481106117915761179161287f565b9060005260206000200160009054906101000a90046001600160a01b03168382815481106117c1576117c161287f565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b031602179055505b806117fa81612817565b915050611715565b50801561183c57818054806118195761181961299e565b600082815260209020810160001990810180546001600160a01b03191690550190555b505050565b6001600160a01b0384166118675760405162461bcd60e51b81526004016103ac906128e1565b600061187161115f565b9050600061187e85611b08565b9050600061188b85611b08565b905060008681526002602090815260408083206001600160a01b038c168452909152902054858110156118d05760405162461bcd60e51b81526004016103ac90612926565b60008781526002602090815260408083206001600160a01b038d8116855292528083208985039055908a1682528120805488929061190f908490612895565b909155505060408051888152602081018890526001600160a01b03808b16928c821692918816917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a461196f848a8a8a8a8a611b53565b505050505050505050565b600073c77fa7345679ccdbdb6204f0ca6a024be4abd0021933016119a5575060131936013560601c90565b503390565b90565b6001600160a01b0384163b15610e6d5760405163bc197c8160e01b81526001600160a01b0385169063bc197c81906119f190899089908890889088906004016129b4565b6020604051808303816000875af1925050508015611a2c575060408051601f3d908101601f19168201909252611a2991810190612a12565b60015b611ad857611a38612a2f565b806308c379a003611a715750611a4c612a4a565b80611a575750611a73565b8060405162461bcd60e51b81526004016103ac9190611cf7565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e20455243313135356044820152732932b1b2b4bb32b91034b6b83632b6b2b73a32b960611b60648201526084016103ac565b6001600160e01b0319811663bc197c8160e01b146114d25760405162461bcd60e51b81526004016103ac90612ad3565b60408051600180825281830190925260609160009190602080830190803683370190505090508281600081518110611b4257611b4261287f565b602090810291909101015292915050565b6001600160a01b0384163b15610e6d5760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e6190611b979089908990889088908890600401612b1b565b6020604051808303816000875af1925050508015611bd2575060408051601f3d908101601f19168201909252611bcf91810190612a12565b60015b611bde57611a38612a2f565b6001600160e01b0319811663f23a6e6160e01b146114d25760405162461bcd60e51b81526004016103ac90612ad3565b80356001600160a01b0381168114611c2557600080fd5b919050565b60008060408385031215611c3d57600080fd5b611c4683611c0e565b946020939093013593505050565b6001600160e01b031981168114610db557600080fd5b600060208284031215611c7c57600080fd5b8135611c8781611c54565b9392505050565b600060208284031215611ca057600080fd5b5035919050565b60005b83811015611cc2578181015183820152602001611caa565b50506000910152565b60008151808452611ce3816020860160208601611ca7565b601f01601f19169290920160200192915050565b602081526000611c876020830184611ccb565b60008083601f840112611d1c57600080fd5b5081356001600160401b03811115611d3357600080fd5b602083019150836020828501011115611d4b57600080fd5b9250929050565b6000806000806000806000806080898b031215611d6e57600080fd5b88356001600160401b0380821115611d8557600080fd5b611d918c838d01611d0a565b909a50985060208b0135915080821115611daa57600080fd5b611db68c838d01611d0a565b909850965060408b0135915080821115611dcf57600080fd5b611ddb8c838d01611d0a565b909650945060608b0135915080821115611df457600080fd5b50611e018b828c01611d0a565b999c989b5096995094979396929594505050565b6020808252825182820181905260009190848201906040850190845b81811015611e565783516001600160a01b031683529284019291840191600101611e31565b50909695505050505050565b634e487b7160e01b600052604160045260246000fd5b601f8201601f191681016001600160401b0381118282101715611e9d57611e9d611e62565b6040525050565b60006001600160401b03821115611ebd57611ebd611e62565b5060051b60200190565b600082601f830112611ed857600080fd5b81356020611ee582611ea4565b604051611ef28282611e78565b83815260059390931b8501820192828101915086841115611f1257600080fd5b8286015b84811015611f2d5780358352918301918301611f16565b509695505050505050565b60006001600160401b03821115611f5157611f51611e62565b50601f01601f191660200190565b600082601f830112611f7057600080fd5b8135611f7b81611f38565b604051611f888282611e78565b828152856020848701011115611f9d57600080fd5b82602086016020830137600092810160200192909252509392505050565b600080600080600060a08688031215611fd357600080fd5b611fdc86611c0e565b9450611fea60208701611c0e565b935060408601356001600160401b038082111561200657600080fd5b61201289838a01611ec7565b9450606088013591508082111561202857600080fd5b61203489838a01611ec7565b9350608088013591508082111561204a57600080fd5b5061205788828901611f5f565b9150509295509295909350565b6000806040838503121561207757600080fd5b82356001600160401b038082111561208e57600080fd5b818501915085601f8301126120a257600080fd5b813560206120af82611ea4565b6040516120bc8282611e78565b83815260059390931b85018201928281019150898411156120dc57600080fd5b948201945b83861015612101576120f286611c0e565b825294820194908201906120e1565b9650508601359250508082111561211757600080fd5b5061212485828601611ec7565b9150509250929050565b600081518084526020808501945080840160005b8381101561215e57815187529582019590820190600101612142565b509495945050505050565b602081526000611c87602083018461212e565b60006020828403121561218e57600080fd5b611c8782611c0e565b60008083601f8401126121a957600080fd5b5081356001600160401b038111156121c057600080fd5b6020830191508360208260051b8501011115611d4b57600080fd5b6000806000604084860312156121f057600080fd5b83356001600160401b0381111561220657600080fd5b61221286828701612197565b909790965060209590950135949350505050565b6000806040838503121561223957600080fd5b61224283611c0e565b91506020830135801515811461225757600080fd5b809150509250929050565b6000806000806040858703121561227857600080fd5b84356001600160401b038082111561228f57600080fd5b61229b88838901612197565b909650945060208701359150808211156122b457600080fd5b506122c187828801611d0a565b95989497509550505050565b6000806000604084860312156122e257600080fd5b6122eb84611c0e565b925060208401356001600160401b0381111561230657600080fd5b61231286828701611d0a565b9497909650939450505050565b6000806040838503121561233257600080fd5b61233b83611c0e565b915061234960208401611c0e565b90509250929050565b600080600080600060a0868803121561236a57600080fd5b61237386611c0e565b945061238160208701611c0e565b9350604086013592506060860135915060808601356001600160401b038111156123aa57600080fd5b61205788828901611f5f565b600080602083850312156123c957600080fd5b82356001600160401b038111156123df57600080fd5b6123eb85828601611d0a565b90969095509350505050565b600181811c9082168061240b57607f821691505b60208210810361242b57634e487b7160e01b600052602260045260246000fd5b50919050565b693d913730b6b2911d101160b11b8152835160009061245781600a850160208901611ca7565b72111610113232b9b1b934b83a34b7b7111d101160691b600a91840191820152845161248a81601d840160208901611ca7565b6b1116101134b6b0b3b2911d1160a11b601d929091019182015283516124b7816029840160208801611ca7565b0160290195945050505050565b6000602082840312156124d657600080fd5b81516001600160401b038111156124ec57600080fd5b8201601f810184136124fd57600080fd5b805161250881611f38565b6040516125158282611e78565b82815286602084860101111561252a57600080fd5b61253b836020830160208701611ca7565b9695505050505050565b60008451612557818460208901611ca7565b71222c202261747472696275746573223a205b60701b9083019081527f7b2274726169745f74797065223a2022e58f91e8a18ce696b9444944222c227660128201526730b63ab2911d101160c11b603282015284516125bd81603a840160208901611ca7565b7f227d2c207b2274726169745f74797065223a2022e58f91e8a18ce697b6e997b4603a92909101918201526b1116113b30b63ab2911d101160a11b605a8201528351612610816066840160208801611ca7565b7f227d5d2c202264657369676e6572223a202269736f746f702e746f70227d00006066929091019182015260840195945050505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c00000081526000825161267f81601d850160208701611ca7565b91909101601d0192915050565b6020808252600d908201526c27b7363c9027b832b930ba37b960991b604082015260600190565b8183823760009101908152919050565b601f82111561183c57600081815260208120601f850160051c810160208610156126ea5750805b601f850160051c820191505b81811015610e6d578281556001016126f6565b81516001600160401b0381111561272257612722611e62565b6127368161273084546123f7565b846126c3565b602080601f83116001811461276b57600084156127535750858301515b600019600386901b1c1916600185901b178555610e6d565b600085815260208120601f198616915b8281101561279a5788860151825594840194600190910190840161277b565b50858210156127b85787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b604081528260408201528284606083013760006060848301015260006060601f19601f8601168301019050826020830152949350505050565b634e487b7160e01b600052601160045260246000fd5b60006001820161282957612829612801565b5060010190565b6020808252602f908201527f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60408201526e195c881b9bdc88185c1c1c9bdd9959608a1b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b808201808211156103da576103da612801565b6000826128c557634e487b7160e01b600052601260045260246000fd5b500490565b80820281158282048414176103da576103da612801565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b6020808252602a908201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60408201526939103a3930b739b332b960b11b606082015260800190565b604081526000612983604083018561212e565b8281036020840152612995818561212e565b95945050505050565b634e487b7160e01b600052603160045260246000fd5b6001600160a01b0386811682528516602082015260a0604082018190526000906129e09083018661212e565b82810360608401526129f2818661212e565b90508281036080840152612a068185611ccb565b98975050505050505050565b600060208284031215612a2457600080fd5b8151611c8781611c54565b600060033d11156119aa5760046000803e5060005160e01c90565b600060443d1015612a585790565b6040516003193d81016004833e81513d6001600160401b038160248401118184111715612a8757505050505090565b8285019150815181811115612a9f5750505050505090565b843d8701016020828501011115612ab95750505050505090565b612ac860208286010187611e78565b509095945050505050565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b606082015260800190565b6001600160a01b03868116825285166020820152604081018490526060810183905260a060808201819052600090612b5590830184611ccb565b97965050505050505056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa26469706673582212209111649af1d3a5f348f46c8ecd32616c3643df106cdc5611d298392b89e63e7c64736f6c63430008130033",
}

POAPMetaData contains all meta data concerning the POAP contract.

View Source
var TicketGameABI = TicketGameMetaData.ABI

TicketGameABI is the input ABI used to generate the binding from. Deprecated: Use TicketGameMetaData.ABI instead.

View Source
var TicketGameBin = TicketGameMetaData.Bin

TicketGameBin is the compiled bytecode used for deploying new contracts. Deprecated: Use TicketGameMetaData.Bin instead.

View Source
var TicketGameMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"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\":\"_fromTokenId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_toTokenId\",\"type\":\"uint256\"}],\"name\":\"BatchMetadataUpdate\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_tokenId\",\"type\":\"uint256\"}],\"name\":\"MetadataUpdate\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"players\",\"type\":\"address[]\"},{\"internalType\":\"string[]\",\"name\":\"tokenURIs\",\"type\":\"string[]\"}],\"name\":\"batchRedeem\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"tokenIds\",\"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\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ownerOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"player\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"tokenURI\",\"type\":\"string\"}],\"name\":\"redeem\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"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\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"tokenURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Bin: "0x60806040523480156200001157600080fd5b506040518060400160405280600a81526020017f5469636b657447616d65000000000000000000000000000000000000000000008152506040518060400160405280600681526020017f7469636b6574000000000000000000000000000000000000000000000000000081525081600090816200008f919062000324565b508060019081620000a1919062000324565b5050506200040b565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200012c57607f821691505b602082108103620001425762000141620000e4565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620001ac7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826200016d565b620001b886836200016d565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b600062000205620001ff620001f984620001d0565b620001da565b620001d0565b9050919050565b6000819050919050565b6200022183620001e4565b6200023962000230826200020c565b8484546200017a565b825550505050565b600090565b6200025062000241565b6200025d81848462000216565b505050565b5b8181101562000285576200027960008262000246565b60018101905062000263565b5050565b601f821115620002d4576200029e8162000148565b620002a9846200015d565b81016020851015620002b9578190505b620002d1620002c8856200015d565b83018262000262565b50505b505050565b600082821c905092915050565b6000620002f960001984600802620002d9565b1980831691505092915050565b6000620003148383620002e6565b9150826002028217905092915050565b6200032f82620000aa565b67ffffffffffffffff8111156200034b576200034a620000b5565b5b62000357825462000113565b6200036482828562000289565b600060209050601f8311600181146200039c576000841562000387578287015190505b62000393858262000306565b86555062000403565b601f198416620003ac8662000148565b60005b82811015620003d657848901518255600182019150602085019450602081019050620003af565b86831015620003f65784890151620003f2601f891682620002e6565b8355505b6001600288020188555050505b505050505050565b61322e806200041b6000396000f3fe608060405234801561001057600080fd5b50600436106100f55760003560e01c806370a0823111610097578063c87b56dd11610066578063c87b56dd14610282578063cef9341a146102b2578063e985e9c5146102e2578063f62e785114610312576100f5565b806370a08231146101fc57806395d89b411461022c578063a22cb4651461024a578063b88d4fde14610266576100f5565b8063095ea7b3116100d3578063095ea7b31461017857806323b872dd1461019457806342842e0e146101b05780636352211e146101cc576100f5565b806301ffc9a7146100fa57806306fdde031461012a578063081812fc14610148575b600080fd5b610114600480360381019061010f9190611b8c565b610342565b6040516101219190611bd4565b60405180910390f35b6101326103a3565b60405161013f9190611c7f565b60405180910390f35b610162600480360381019061015d9190611cd7565b610435565b60405161016f9190611d45565b60405180910390f35b610192600480360381019061018d9190611d8c565b61047b565b005b6101ae60048036038101906101a99190611dcc565b610592565b005b6101ca60048036038101906101c59190611dcc565b6105f2565b005b6101e660048036038101906101e19190611cd7565b610612565b6040516101f39190611d45565b60405180910390f35b61021660048036038101906102119190611e1f565b610698565b6040516102239190611e5b565b60405180910390f35b61023461074f565b6040516102419190611c7f565b60405180910390f35b610264600480360381019061025f9190611ea2565b6107e1565b005b610280600480360381019061027b9190612017565b6107f7565b005b61029c60048036038101906102979190611cd7565b610859565b6040516102a99190611c7f565b60405180910390f35b6102cc60048036038101906102c791906122e4565b61096b565b6040516102d9919061241a565b60405180910390f35b6102fc60048036038101906102f7919061243c565b610b09565b6040516103099190611bd4565b60405180910390f35b61032c6004803603810190610327919061247c565b610b9d565b6040516103399190611e5b565b60405180910390f35b6000634906490660e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061039c575061039b82610bdd565b5b9050919050565b6060600080546103b290612507565b80601f01602080910402602001604051908101604052809291908181526020018280546103de90612507565b801561042b5780601f106104005761010080835404028352916020019161042b565b820191906000526020600020905b81548152906001019060200180831161040e57829003601f168201915b5050505050905090565b600061044082610cbf565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061048682610612565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036104f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104ed906125aa565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610515610d0a565b73ffffffffffffffffffffffffffffffffffffffff16148061054457506105438161053e610d0a565b610b09565b5b610583576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161057a9061263c565b60405180910390fd5b61058d8383610d12565b505050565b6105a361059d610d0a565b82610dcb565b6105e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105d9906126ce565b60405180910390fd5b6105ed838383610e60565b505050565b61060d838383604051806020016040528060008152506107f7565b505050565b60008061061e83611159565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361068f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106869061273a565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610708576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ff906127cc565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60606001805461075e90612507565b80601f016020809104026020016040519081016040528092919081815260200182805461078a90612507565b80156107d75780601f106107ac576101008083540402835291602001916107d7565b820191906000526020600020905b8154815290600101906020018083116107ba57829003601f168201915b5050505050905090565b6107f36107ec610d0a565b8383611196565b5050565b610808610802610d0a565b83610dcb565b610847576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161083e906126ce565b60405180910390fd5b61085384848484611302565b50505050565b606061086482610cbf565b600060066000848152602001908152602001600020805461088490612507565b80601f01602080910402602001604051908101604052809291908181526020018280546108b090612507565b80156108fd5780601f106108d2576101008083540402835291602001916108fd565b820191906000526020600020905b8154815290600101906020018083116108e057829003601f168201915b50505050509050600061090e61135e565b90506000815103610923578192505050610966565b600082511115610958578082604051602001610940929190612828565b60405160208183030381529060405292505050610966565b61096184611375565b925050505b919050565b606060008351116109b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109a8906128be565b60405180910390fd5b6103e88351106109f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109ed90612950565b60405180910390fd5b8151835114610a3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a31906129e2565b60405180910390fd5b825167ffffffffffffffff811115610a5557610a54611eec565b5b604051908082528060200260200182016040528015610a835781602001602082028036833780820191505090505b50905060005b8351811015610b0257610ad0848281518110610aa857610aa7612a02565b5b6020026020010151848381518110610ac357610ac2612a02565b5b6020026020010151610b9d565b828281518110610ae357610ae2612a02565b5b6020026020010181815250508080610afa90612a60565b915050610a89565b5092915050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000806007549050610baf84826113dd565b610bb981846115fa565b600160076000828254610bcc9190612aa8565b925050819055508091505092915050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610ca857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610cb85750610cb78261169e565b5b9050919050565b610cc881611708565b610d07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cfe9061273a565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16610d8583610612565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080610dd783610612565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480610e195750610e188185610b09565b5b80610e5757508373ffffffffffffffffffffffffffffffffffffffff16610e3f84610435565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16610e8082610612565b73ffffffffffffffffffffffffffffffffffffffff1614610ed6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ecd90612b4e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610f45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3c90612be0565b60405180910390fd5b610f528383836001611749565b8273ffffffffffffffffffffffffffffffffffffffff16610f7282610612565b73ffffffffffffffffffffffffffffffffffffffff1614610fc8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fbf90612b4e565b60405180910390fd5b6004600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611154838383600161174f565b505050565b60006002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611204576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111fb90612c4c565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516112f59190611bd4565b60405180910390a3505050565b61130d848484610e60565b61131984848484611755565b611358576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134f90612cde565b60405180910390fd5b50505050565b606060405180602001604052806000815250905090565b606061138082610cbf565b600061138a61135e565b905060008151116113aa57604051806020016040528060008152506113d5565b806113b4846118dc565b6040516020016113c5929190612828565b6040516020818303038152906040525b915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361144c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144390612d4a565b60405180910390fd5b61145581611708565b15611495576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148c90612db6565b60405180910390fd5b6114a3600083836001611749565b6114ac81611708565b156114ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e390612db6565b60405180910390fd5b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46115f660008383600161174f565b5050565b61160382611708565b611642576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163990612e48565b60405180910390fd5b806006600084815260200190815260200160002090816116629190613014565b507ff8e1a15aba9398e019f0b49df1a4fde98ee17ae345cb5f6b5e2c27f5033e8ce7826040516116929190611e5b565b60405180910390a15050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff1661172a83611159565b73ffffffffffffffffffffffffffffffffffffffff1614159050919050565b50505050565b50505050565b60006117768473ffffffffffffffffffffffffffffffffffffffff166119aa565b156118cf578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261179f610d0a565b8786866040518563ffffffff1660e01b81526004016117c1949392919061313b565b6020604051808303816000875af19250505080156117fd57506040513d601f19601f820116820180604052508101906117fa919061319c565b60015b61187f573d806000811461182d576040519150601f19603f3d011682016040523d82523d6000602084013e611832565b606091505b506000815103611877576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161186e90612cde565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506118d4565b600190505b949350505050565b6060600060016118eb846119cd565b01905060008167ffffffffffffffff81111561190a57611909611eec565b5b6040519080825280601f01601f19166020018201604052801561193c5781602001600182028036833780820191505090505b509050600082602001820190505b60011561199f578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8581611993576119926131c9565b5b0494506000850361194a575b819350505050919050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310611a2b577a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008381611a2157611a206131c9565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310611a68576d04ee2d6d415b85acef81000000008381611a5e57611a5d6131c9565b5b0492506020810190505b662386f26fc100008310611a9757662386f26fc100008381611a8d57611a8c6131c9565b5b0492506010810190505b6305f5e1008310611ac0576305f5e1008381611ab657611ab56131c9565b5b0492506008810190505b6127108310611ae5576127108381611adb57611ada6131c9565b5b0492506004810190505b60648310611b085760648381611afe57611afd6131c9565b5b0492506002810190505b600a8310611b17576001810190505b80915050919050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b611b6981611b34565b8114611b7457600080fd5b50565b600081359050611b8681611b60565b92915050565b600060208284031215611ba257611ba1611b2a565b5b6000611bb084828501611b77565b91505092915050565b60008115159050919050565b611bce81611bb9565b82525050565b6000602082019050611be96000830184611bc5565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015611c29578082015181840152602081019050611c0e565b60008484015250505050565b6000601f19601f8301169050919050565b6000611c5182611bef565b611c5b8185611bfa565b9350611c6b818560208601611c0b565b611c7481611c35565b840191505092915050565b60006020820190508181036000830152611c998184611c46565b905092915050565b6000819050919050565b611cb481611ca1565b8114611cbf57600080fd5b50565b600081359050611cd181611cab565b92915050565b600060208284031215611ced57611cec611b2a565b5b6000611cfb84828501611cc2565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611d2f82611d04565b9050919050565b611d3f81611d24565b82525050565b6000602082019050611d5a6000830184611d36565b92915050565b611d6981611d24565b8114611d7457600080fd5b50565b600081359050611d8681611d60565b92915050565b60008060408385031215611da357611da2611b2a565b5b6000611db185828601611d77565b9250506020611dc285828601611cc2565b9150509250929050565b600080600060608486031215611de557611de4611b2a565b5b6000611df386828701611d77565b9350506020611e0486828701611d77565b9250506040611e1586828701611cc2565b9150509250925092565b600060208284031215611e3557611e34611b2a565b5b6000611e4384828501611d77565b91505092915050565b611e5581611ca1565b82525050565b6000602082019050611e706000830184611e4c565b92915050565b611e7f81611bb9565b8114611e8a57600080fd5b50565b600081359050611e9c81611e76565b92915050565b60008060408385031215611eb957611eb8611b2a565b5b6000611ec785828601611d77565b9250506020611ed885828601611e8d565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b611f2482611c35565b810181811067ffffffffffffffff82111715611f4357611f42611eec565b5b80604052505050565b6000611f56611b20565b9050611f628282611f1b565b919050565b600067ffffffffffffffff821115611f8257611f81611eec565b5b611f8b82611c35565b9050602081019050919050565b82818337600083830152505050565b6000611fba611fb584611f67565b611f4c565b905082815260208101848484011115611fd657611fd5611ee7565b5b611fe1848285611f98565b509392505050565b600082601f830112611ffe57611ffd611ee2565b5b813561200e848260208601611fa7565b91505092915050565b6000806000806080858703121561203157612030611b2a565b5b600061203f87828801611d77565b945050602061205087828801611d77565b935050604061206187828801611cc2565b925050606085013567ffffffffffffffff81111561208257612081611b2f565b5b61208e87828801611fe9565b91505092959194509250565b600067ffffffffffffffff8211156120b5576120b4611eec565b5b602082029050602081019050919050565b600080fd5b60006120de6120d98461209a565b611f4c565b90508083825260208201905060208402830185811115612101576121006120c6565b5b835b8181101561212a57806121168882611d77565b845260208401935050602081019050612103565b5050509392505050565b600082601f83011261214957612148611ee2565b5b81356121598482602086016120cb565b91505092915050565b600067ffffffffffffffff82111561217d5761217c611eec565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156121a9576121a8611eec565b5b6121b282611c35565b9050602081019050919050565b60006121d26121cd8461218e565b611f4c565b9050828152602081018484840111156121ee576121ed611ee7565b5b6121f9848285611f98565b509392505050565b600082601f83011261221657612215611ee2565b5b81356122268482602086016121bf565b91505092915050565b600061224261223d84612162565b611f4c565b90508083825260208201905060208402830185811115612265576122646120c6565b5b835b818110156122ac57803567ffffffffffffffff81111561228a57612289611ee2565b5b8086016122978982612201565b85526020850194505050602081019050612267565b5050509392505050565b600082601f8301126122cb576122ca611ee2565b5b81356122db84826020860161222f565b91505092915050565b600080604083850312156122fb576122fa611b2a565b5b600083013567ffffffffffffffff81111561231957612318611b2f565b5b61232585828601612134565b925050602083013567ffffffffffffffff81111561234657612345611b2f565b5b612352858286016122b6565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61239181611ca1565b82525050565b60006123a38383612388565b60208301905092915050565b6000602082019050919050565b60006123c78261235c565b6123d18185612367565b93506123dc83612378565b8060005b8381101561240d5781516123f48882612397565b97506123ff836123af565b9250506001810190506123e0565b5085935050505092915050565b6000602082019050818103600083015261243481846123bc565b905092915050565b6000806040838503121561245357612452611b2a565b5b600061246185828601611d77565b925050602061247285828601611d77565b9150509250929050565b6000806040838503121561249357612492611b2a565b5b60006124a185828601611d77565b925050602083013567ffffffffffffffff8111156124c2576124c1611b2f565b5b6124ce85828601612201565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061251f57607f821691505b602082108103612532576125316124d8565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000612594602183611bfa565b915061259f82612538565b604082019050919050565b600060208201905081810360008301526125c381612587565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000602082015250565b6000612626603d83611bfa565b9150612631826125ca565b604082019050919050565b6000602082019050818103600083015261265581612619565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206f7220617070726f76656400000000000000000000000000000000000000602082015250565b60006126b8602d83611bfa565b91506126c38261265c565b604082019050919050565b600060208201905081810360008301526126e7816126ab565b9050919050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b6000612724601883611bfa565b915061272f826126ee565b602082019050919050565b6000602082019050818103600083015261275381612717565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b60006127b6602983611bfa565b91506127c18261275a565b604082019050919050565b600060208201905081810360008301526127e5816127a9565b9050919050565b600081905092915050565b600061280282611bef565b61280c81856127ec565b935061281c818560208601611c0b565b80840191505092915050565b600061283482856127f7565b915061284082846127f7565b91508190509392505050565b7f706c61796572732e6c656e677468206d7573742062652067726561746572207460008201527f68616e2030000000000000000000000000000000000000000000000000000000602082015250565b60006128a8602583611bfa565b91506128b38261284c565b604082019050919050565b600060208201905081810360008301526128d78161289b565b9050919050565b7f706c61796572732e6c656e677468206d757374206265206c657373207468616e60008201527f2031303030000000000000000000000000000000000000000000000000000000602082015250565b600061293a602583611bfa565b9150612945826128de565b604082019050919050565b600060208201905081810360008301526129698161292d565b9050919050565b7f706c61796572732e6c656e677468206e6f7420657175616c20746f6b656e555260008201527f49732e6c656e6774680000000000000000000000000000000000000000000000602082015250565b60006129cc602983611bfa565b91506129d782612970565b604082019050919050565b600060208201905081810360008301526129fb816129bf565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612a6b82611ca1565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203612a9d57612a9c612a31565b5b600182019050919050565b6000612ab382611ca1565b9150612abe83611ca1565b9250828201905080821115612ad657612ad5612a31565b5b92915050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000612b38602583611bfa565b9150612b4382612adc565b604082019050919050565b60006020820190508181036000830152612b6781612b2b565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000612bca602483611bfa565b9150612bd582612b6e565b604082019050919050565b60006020820190508181036000830152612bf981612bbd565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000612c36601983611bfa565b9150612c4182612c00565b602082019050919050565b60006020820190508181036000830152612c6581612c29565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000612cc8603283611bfa565b9150612cd382612c6c565b604082019050919050565b60006020820190508181036000830152612cf781612cbb565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000612d34602083611bfa565b9150612d3f82612cfe565b602082019050919050565b60006020820190508181036000830152612d6381612d27565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000612da0601c83611bfa565b9150612dab82612d6a565b602082019050919050565b60006020820190508181036000830152612dcf81612d93565b9050919050565b7f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60008201527f6578697374656e7420746f6b656e000000000000000000000000000000000000602082015250565b6000612e32602e83611bfa565b9150612e3d82612dd6565b604082019050919050565b60006020820190508181036000830152612e6181612e25565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302612eca7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82612e8d565b612ed48683612e8d565b95508019841693508086168417925050509392505050565b6000819050919050565b6000612f11612f0c612f0784611ca1565b612eec565b611ca1565b9050919050565b6000819050919050565b612f2b83612ef6565b612f3f612f3782612f18565b848454612e9a565b825550505050565b600090565b612f54612f47565b612f5f818484612f22565b505050565b5b81811015612f8357612f78600082612f4c565b600181019050612f65565b5050565b601f821115612fc857612f9981612e68565b612fa284612e7d565b81016020851015612fb1578190505b612fc5612fbd85612e7d565b830182612f64565b50505b505050565b600082821c905092915050565b6000612feb60001984600802612fcd565b1980831691505092915050565b60006130048383612fda565b9150826002028217905092915050565b61301d82611bef565b67ffffffffffffffff81111561303657613035611eec565b5b6130408254612507565b61304b828285612f87565b600060209050601f83116001811461307e576000841561306c578287015190505b6130768582612ff8565b8655506130de565b601f19841661308c86612e68565b60005b828110156130b45784890151825560018201915060208501945060208101905061308f565b868310156130d157848901516130cd601f891682612fda565b8355505b6001600288020188555050505b505050505050565b600081519050919050565b600082825260208201905092915050565b600061310d826130e6565b61311781856130f1565b9350613127818560208601611c0b565b61313081611c35565b840191505092915050565b60006080820190506131506000830187611d36565b61315d6020830186611d36565b61316a6040830185611e4c565b818103606083015261317c8184613102565b905095945050505050565b60008151905061319681611b60565b92915050565b6000602082840312156131b2576131b1611b2a565b5b60006131c084828501613187565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fdfea26469706673582212209b00da9e6df57d774d79ceb036935067cf52f7e8f7dae58534054d1eb447157064736f6c63430008130033",
}

TicketGameMetaData contains all meta data concerning the TicketGame contract.

Functions

This section is empty.

Types

type ETicket

type ETicket struct {
	ETicketCaller     // Read-only binding to the contract
	ETicketTransactor // Write-only binding to the contract
	ETicketFilterer   // Log filterer for contract events
}

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

func DeployETicket

func DeployETicket(auth *bind.TransactOpts, backend bind.ContractBackend, _info []string, _rights []string, _types []bool, _validTime *big.Int) (common.Address, *types.Transaction, *ETicket, error)

DeployETicket deploys a new Ethereum contract, binding an instance of ETicket to it.

func NewETicket

func NewETicket(address common.Address, backend bind.ContractBackend) (*ETicket, error)

NewETicket creates a new instance of ETicket, bound to a specific deployed contract.

type ETicketApproval

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

ETicketApproval represents a Approval event raised by the ETicket contract.

type ETicketApprovalForAll

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

ETicketApprovalForAll represents a ApprovalForAll event raised by the ETicket contract.

type ETicketApprovalForAllIterator

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

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

func (*ETicketApprovalForAllIterator) Close

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

func (*ETicketApprovalForAllIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ETicketApprovalForAllIterator) 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 ETicketApprovalIterator

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

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

func (*ETicketApprovalIterator) Close

func (it *ETicketApprovalIterator) Close() error

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

func (*ETicketApprovalIterator) Error

func (it *ETicketApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ETicketApprovalIterator) Next

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

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

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

func NewETicketCaller

func NewETicketCaller(address common.Address, caller bind.ContractCaller) (*ETicketCaller, error)

NewETicketCaller creates a new read-only instance of ETicket, bound to a specific deployed contract.

func (*ETicketCaller) BalanceOf

func (_ETicket *ETicketCaller) 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 (*ETicketCaller) GetApproved

func (_ETicket *ETicketCaller) 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 (*ETicketCaller) IsApprovedForAll

func (_ETicket *ETicketCaller) 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 (*ETicketCaller) IsOperator

func (_ETicket *ETicketCaller) IsOperator(opts *bind.CallOpts, _operator common.Address) (bool, error)

IsOperator is a free data retrieval call binding the contract method 0x6d70f7ae.

Solidity: function isOperator(address _operator) view returns(bool)

func (*ETicketCaller) Name

func (_ETicket *ETicketCaller) 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 (*ETicketCaller) Owner

func (_ETicket *ETicketCaller) Owner(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*ETicketCaller) OwnerOf

func (_ETicket *ETicketCaller) 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 (*ETicketCaller) SupportsInterface

func (_ETicket *ETicketCaller) 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 (*ETicketCaller) Symbol

func (_ETicket *ETicketCaller) 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 (*ETicketCaller) TokenURI

func (_ETicket *ETicketCaller) TokenURI(opts *bind.CallOpts, tokenId *big.Int) (string, error)

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

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

type ETicketCallerRaw

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

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

func (*ETicketCallerRaw) Call

func (_ETicket *ETicketCallerRaw) 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 ETicketCallerSession

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

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

func (*ETicketCallerSession) BalanceOf

func (_ETicket *ETicketCallerSession) 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 (*ETicketCallerSession) GetApproved

func (_ETicket *ETicketCallerSession) 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 (*ETicketCallerSession) IsApprovedForAll

func (_ETicket *ETicketCallerSession) 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 (*ETicketCallerSession) IsOperator

func (_ETicket *ETicketCallerSession) IsOperator(_operator common.Address) (bool, error)

IsOperator is a free data retrieval call binding the contract method 0x6d70f7ae.

Solidity: function isOperator(address _operator) view returns(bool)

func (*ETicketCallerSession) Name

func (_ETicket *ETicketCallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*ETicketCallerSession) Owner

func (_ETicket *ETicketCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*ETicketCallerSession) OwnerOf

func (_ETicket *ETicketCallerSession) 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 (*ETicketCallerSession) SupportsInterface

func (_ETicket *ETicketCallerSession) 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 (*ETicketCallerSession) Symbol

func (_ETicket *ETicketCallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*ETicketCallerSession) TokenURI

func (_ETicket *ETicketCallerSession) TokenURI(tokenId *big.Int) (string, error)

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

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

type ETicketFilterer

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

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

func NewETicketFilterer

func NewETicketFilterer(address common.Address, filterer bind.ContractFilterer) (*ETicketFilterer, error)

NewETicketFilterer creates a new log filterer instance of ETicket, bound to a specific deployed contract.

func (*ETicketFilterer) FilterApproval

func (_ETicket *ETicketFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, approved []common.Address, tokenId []*big.Int) (*ETicketApprovalIterator, 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 (*ETicketFilterer) FilterApprovalForAll

func (_ETicket *ETicketFilterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*ETicketApprovalForAllIterator, 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 (*ETicketFilterer) FilterOwnershipTransferred

func (_ETicket *ETicketFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*ETicketOwnershipTransferredIterator, error)

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

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

func (*ETicketFilterer) FilterTransfer

func (_ETicket *ETicketFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenId []*big.Int) (*ETicketTransferIterator, 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 (*ETicketFilterer) ParseApproval

func (_ETicket *ETicketFilterer) ParseApproval(log types.Log) (*ETicketApproval, 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 (*ETicketFilterer) ParseApprovalForAll

func (_ETicket *ETicketFilterer) ParseApprovalForAll(log types.Log) (*ETicketApprovalForAll, error)

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

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

func (*ETicketFilterer) ParseOwnershipTransferred

func (_ETicket *ETicketFilterer) ParseOwnershipTransferred(log types.Log) (*ETicketOwnershipTransferred, error)

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

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

func (*ETicketFilterer) ParseTransfer

func (_ETicket *ETicketFilterer) ParseTransfer(log types.Log) (*ETicketTransfer, 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 (*ETicketFilterer) WatchApproval

func (_ETicket *ETicketFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ETicketApproval, 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 (*ETicketFilterer) WatchApprovalForAll

func (_ETicket *ETicketFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *ETicketApprovalForAll, 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 (*ETicketFilterer) WatchOwnershipTransferred

func (_ETicket *ETicketFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ETicketOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

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

func (*ETicketFilterer) WatchTransfer

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

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

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

type ETicketOwnershipTransferred

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

ETicketOwnershipTransferred represents a OwnershipTransferred event raised by the ETicket contract.

type ETicketOwnershipTransferredIterator

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

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

func (*ETicketOwnershipTransferredIterator) Close

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

func (*ETicketOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ETicketOwnershipTransferredIterator) 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 ETicketRaw

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

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

func (*ETicketRaw) Call

func (_ETicket *ETicketRaw) 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 (*ETicketRaw) Transact

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

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

func (*ETicketRaw) Transfer

func (_ETicket *ETicketRaw) 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 ETicketSession

type ETicketSession struct {
	Contract     *ETicket          // 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
}

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

func (*ETicketSession) AddOperator

func (_ETicket *ETicketSession) AddOperator(_operator common.Address) (*types.Transaction, error)

AddOperator is a paid mutator transaction binding the contract method 0x9870d7fe.

Solidity: function addOperator(address _operator) returns()

func (*ETicketSession) AddRights

func (_ETicket *ETicketSession) AddRights(_rights []string) (*types.Transaction, error)

AddRights is a paid mutator transaction binding the contract method 0x415dd877.

Solidity: function addRights(string[] _rights) returns()

func (*ETicketSession) Approve

func (_ETicket *ETicketSession) 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 (*ETicketSession) BalanceOf

func (_ETicket *ETicketSession) 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 (*ETicketSession) Check

func (_ETicket *ETicketSession) Check(tokenId *big.Int, _right uint16, _who common.Address) (*types.Transaction, error)

Check is a paid mutator transaction binding the contract method 0x687ffe07.

Solidity: function check(uint256 tokenId, uint16 _right, address _who) returns()

func (*ETicketSession) Check0

func (_ETicket *ETicketSession) Check0(tokenId *big.Int, _right uint16) (*types.Transaction, error)

Check0 is a paid mutator transaction binding the contract method 0xaec0cf30.

Solidity: function check(uint256 tokenId, uint16 _right) returns()

func (*ETicketSession) GetApproved

func (_ETicket *ETicketSession) 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 (*ETicketSession) IsApprovedForAll

func (_ETicket *ETicketSession) 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 (*ETicketSession) IsOperator

func (_ETicket *ETicketSession) IsOperator(_operator common.Address) (bool, error)

IsOperator is a free data retrieval call binding the contract method 0x6d70f7ae.

Solidity: function isOperator(address _operator) view returns(bool)

func (*ETicketSession) Mint

func (_ETicket *ETicketSession) Mint(_to common.Address, tokenId *big.Int) (*types.Transaction, error)

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

Solidity: function mint(address _to, uint256 tokenId) returns()

func (*ETicketSession) Name

func (_ETicket *ETicketSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*ETicketSession) Owner

func (_ETicket *ETicketSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*ETicketSession) OwnerOf

func (_ETicket *ETicketSession) 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 (*ETicketSession) RemoveOperator

func (_ETicket *ETicketSession) RemoveOperator(_operator common.Address) (*types.Transaction, error)

RemoveOperator is a paid mutator transaction binding the contract method 0xac8a584a.

Solidity: function removeOperator(address _operator) returns()

func (*ETicketSession) RenounceOwnership

func (_ETicket *ETicketSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*ETicketSession) SafeTransferFrom

func (_ETicket *ETicketSession) 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 (*ETicketSession) SafeTransferFrom0

func (_ETicket *ETicketSession) 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 (*ETicketSession) SetApprovalForAll

func (_ETicket *ETicketSession) 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 (*ETicketSession) SupportsInterface

func (_ETicket *ETicketSession) 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 (*ETicketSession) Symbol

func (_ETicket *ETicketSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*ETicketSession) TokenURI

func (_ETicket *ETicketSession) 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 (*ETicketSession) Transfer

func (_ETicket *ETicketSession) Transfer(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)

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

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

func (*ETicketSession) TransferFrom

func (_ETicket *ETicketSession) 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 (*ETicketSession) TransferOwnership

func (_ETicket *ETicketSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

type ETicketTransactor

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

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

func NewETicketTransactor

func NewETicketTransactor(address common.Address, transactor bind.ContractTransactor) (*ETicketTransactor, error)

NewETicketTransactor creates a new write-only instance of ETicket, bound to a specific deployed contract.

func (*ETicketTransactor) AddOperator

func (_ETicket *ETicketTransactor) AddOperator(opts *bind.TransactOpts, _operator common.Address) (*types.Transaction, error)

AddOperator is a paid mutator transaction binding the contract method 0x9870d7fe.

Solidity: function addOperator(address _operator) returns()

func (*ETicketTransactor) AddRights

func (_ETicket *ETicketTransactor) AddRights(opts *bind.TransactOpts, _rights []string) (*types.Transaction, error)

AddRights is a paid mutator transaction binding the contract method 0x415dd877.

Solidity: function addRights(string[] _rights) returns()

func (*ETicketTransactor) Approve

func (_ETicket *ETicketTransactor) 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 (*ETicketTransactor) Check

func (_ETicket *ETicketTransactor) Check(opts *bind.TransactOpts, tokenId *big.Int, _right uint16, _who common.Address) (*types.Transaction, error)

Check is a paid mutator transaction binding the contract method 0x687ffe07.

Solidity: function check(uint256 tokenId, uint16 _right, address _who) returns()

func (*ETicketTransactor) Check0

func (_ETicket *ETicketTransactor) Check0(opts *bind.TransactOpts, tokenId *big.Int, _right uint16) (*types.Transaction, error)

Check0 is a paid mutator transaction binding the contract method 0xaec0cf30.

Solidity: function check(uint256 tokenId, uint16 _right) returns()

func (*ETicketTransactor) Mint

func (_ETicket *ETicketTransactor) Mint(opts *bind.TransactOpts, _to common.Address, tokenId *big.Int) (*types.Transaction, error)

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

Solidity: function mint(address _to, uint256 tokenId) returns()

func (*ETicketTransactor) RemoveOperator

func (_ETicket *ETicketTransactor) RemoveOperator(opts *bind.TransactOpts, _operator common.Address) (*types.Transaction, error)

RemoveOperator is a paid mutator transaction binding the contract method 0xac8a584a.

Solidity: function removeOperator(address _operator) returns()

func (*ETicketTransactor) RenounceOwnership

func (_ETicket *ETicketTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*ETicketTransactor) SafeTransferFrom

func (_ETicket *ETicketTransactor) 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 (*ETicketTransactor) SafeTransferFrom0

func (_ETicket *ETicketTransactor) 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 (*ETicketTransactor) SetApprovalForAll

func (_ETicket *ETicketTransactor) 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 (*ETicketTransactor) Transfer

func (_ETicket *ETicketTransactor) Transfer(opts *bind.TransactOpts, from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)

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

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

func (*ETicketTransactor) TransferFrom

func (_ETicket *ETicketTransactor) 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 (*ETicketTransactor) TransferOwnership

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

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

Solidity: function transferOwnership(address newOwner) returns()

type ETicketTransactorRaw

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

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

func (*ETicketTransactorRaw) Transact

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

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

func (*ETicketTransactorRaw) Transfer

func (_ETicket *ETicketTransactorRaw) 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 ETicketTransactorSession

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

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

func (*ETicketTransactorSession) AddOperator

func (_ETicket *ETicketTransactorSession) AddOperator(_operator common.Address) (*types.Transaction, error)

AddOperator is a paid mutator transaction binding the contract method 0x9870d7fe.

Solidity: function addOperator(address _operator) returns()

func (*ETicketTransactorSession) AddRights

func (_ETicket *ETicketTransactorSession) AddRights(_rights []string) (*types.Transaction, error)

AddRights is a paid mutator transaction binding the contract method 0x415dd877.

Solidity: function addRights(string[] _rights) returns()

func (*ETicketTransactorSession) Approve

func (_ETicket *ETicketTransactorSession) 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 (*ETicketTransactorSession) Check

func (_ETicket *ETicketTransactorSession) Check(tokenId *big.Int, _right uint16, _who common.Address) (*types.Transaction, error)

Check is a paid mutator transaction binding the contract method 0x687ffe07.

Solidity: function check(uint256 tokenId, uint16 _right, address _who) returns()

func (*ETicketTransactorSession) Check0

func (_ETicket *ETicketTransactorSession) Check0(tokenId *big.Int, _right uint16) (*types.Transaction, error)

Check0 is a paid mutator transaction binding the contract method 0xaec0cf30.

Solidity: function check(uint256 tokenId, uint16 _right) returns()

func (*ETicketTransactorSession) Mint

func (_ETicket *ETicketTransactorSession) Mint(_to common.Address, tokenId *big.Int) (*types.Transaction, error)

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

Solidity: function mint(address _to, uint256 tokenId) returns()

func (*ETicketTransactorSession) RemoveOperator

func (_ETicket *ETicketTransactorSession) RemoveOperator(_operator common.Address) (*types.Transaction, error)

RemoveOperator is a paid mutator transaction binding the contract method 0xac8a584a.

Solidity: function removeOperator(address _operator) returns()

func (*ETicketTransactorSession) RenounceOwnership

func (_ETicket *ETicketTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*ETicketTransactorSession) SafeTransferFrom

func (_ETicket *ETicketTransactorSession) 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 (*ETicketTransactorSession) SafeTransferFrom0

func (_ETicket *ETicketTransactorSession) 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 (*ETicketTransactorSession) SetApprovalForAll

func (_ETicket *ETicketTransactorSession) 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 (*ETicketTransactorSession) Transfer

func (_ETicket *ETicketTransactorSession) Transfer(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)

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

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

func (*ETicketTransactorSession) TransferFrom

func (_ETicket *ETicketTransactorSession) 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 (*ETicketTransactorSession) TransferOwnership

func (_ETicket *ETicketTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

type ETicketTransfer

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

ETicketTransfer represents a Transfer event raised by the ETicket contract.

type ETicketTransferIterator

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

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

func (*ETicketTransferIterator) Close

func (it *ETicketTransferIterator) Close() error

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

func (*ETicketTransferIterator) Error

func (it *ETicketTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ETicketTransferIterator) Next

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

type POAP struct {
	POAPCaller     // Read-only binding to the contract
	POAPTransactor // Write-only binding to the contract
	POAPFilterer   // Log filterer for contract events
}

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

func DeployPOAP

func DeployPOAP(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *POAP, error)

DeployPOAP deploys a new Ethereum contract, binding an instance of POAP to it.

func NewPOAP

func NewPOAP(address common.Address, backend bind.ContractBackend) (*POAP, error)

NewPOAP creates a new instance of POAP, bound to a specific deployed contract.

type POAPApprovalForAll

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

POAPApprovalForAll represents a ApprovalForAll event raised by the POAP contract.

type POAPApprovalForAllIterator

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

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

func (*POAPApprovalForAllIterator) Close

func (it *POAPApprovalForAllIterator) Close() error

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

func (*POAPApprovalForAllIterator) Error

func (it *POAPApprovalForAllIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*POAPApprovalForAllIterator) Next

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

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

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

func NewPOAPCaller

func NewPOAPCaller(address common.Address, caller bind.ContractCaller) (*POAPCaller, error)

NewPOAPCaller creates a new read-only instance of POAP, bound to a specific deployed contract.

func (*POAPCaller) BalanceOf

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

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

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

func (*POAPCaller) BalanceOfBatch

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

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

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

func (*POAPCaller) GetOperators

func (_POAP *POAPCaller) GetOperators(opts *bind.CallOpts) ([]common.Address, error)

GetOperators is a free data retrieval call binding the contract method 0x27a099d8.

Solidity: function getOperators() view returns(address[])

func (*POAPCaller) Index

func (_POAP *POAPCaller) Index(opts *bind.CallOpts, name string) (*big.Int, error)

Index is a free data retrieval call binding the contract method 0xf5db08d9.

Solidity: function index(string name) view returns(uint256)

func (*POAPCaller) IsApprovedForAll

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

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

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

func (*POAPCaller) IsOperator

func (_POAP *POAPCaller) IsOperator(opts *bind.CallOpts, _operator common.Address) (bool, error)

IsOperator is a free data retrieval call binding the contract method 0x6d70f7ae.

Solidity: function isOperator(address _operator) view returns(bool)

func (*POAPCaller) Owner

func (_POAP *POAPCaller) Owner(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*POAPCaller) SupportsInterface

func (_POAP *POAPCaller) 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 (*POAPCaller) TotalPOAPs

func (_POAP *POAPCaller) TotalPOAPs(opts *bind.CallOpts) (*big.Int, error)

TotalPOAPs is a free data retrieval call binding the contract method 0x7f8e8901.

Solidity: function totalPOAPs() view returns(uint256)

func (*POAPCaller) Uri

func (_POAP *POAPCaller) Uri(opts *bind.CallOpts, tokenId *big.Int) (string, error)

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

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

type POAPCallerRaw

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

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

func (*POAPCallerRaw) Call

func (_POAP *POAPCallerRaw) 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 POAPCallerSession

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

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

func (*POAPCallerSession) BalanceOf

func (_POAP *POAPCallerSession) BalanceOf(account common.Address, id *big.Int) (*big.Int, error)

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

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

func (*POAPCallerSession) BalanceOfBatch

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

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

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

func (*POAPCallerSession) GetOperators

func (_POAP *POAPCallerSession) GetOperators() ([]common.Address, error)

GetOperators is a free data retrieval call binding the contract method 0x27a099d8.

Solidity: function getOperators() view returns(address[])

func (*POAPCallerSession) Index

func (_POAP *POAPCallerSession) Index(name string) (*big.Int, error)

Index is a free data retrieval call binding the contract method 0xf5db08d9.

Solidity: function index(string name) view returns(uint256)

func (*POAPCallerSession) IsApprovedForAll

func (_POAP *POAPCallerSession) IsApprovedForAll(account common.Address, operator common.Address) (bool, error)

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

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

func (*POAPCallerSession) IsOperator

func (_POAP *POAPCallerSession) IsOperator(_operator common.Address) (bool, error)

IsOperator is a free data retrieval call binding the contract method 0x6d70f7ae.

Solidity: function isOperator(address _operator) view returns(bool)

func (*POAPCallerSession) Owner

func (_POAP *POAPCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*POAPCallerSession) SupportsInterface

func (_POAP *POAPCallerSession) 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 (*POAPCallerSession) TotalPOAPs

func (_POAP *POAPCallerSession) TotalPOAPs() (*big.Int, error)

TotalPOAPs is a free data retrieval call binding the contract method 0x7f8e8901.

Solidity: function totalPOAPs() view returns(uint256)

func (*POAPCallerSession) Uri

func (_POAP *POAPCallerSession) Uri(tokenId *big.Int) (string, error)

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

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

type POAPFilterer

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

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

func NewPOAPFilterer

func NewPOAPFilterer(address common.Address, filterer bind.ContractFilterer) (*POAPFilterer, error)

NewPOAPFilterer creates a new log filterer instance of POAP, bound to a specific deployed contract.

func (*POAPFilterer) FilterApprovalForAll

func (_POAP *POAPFilterer) FilterApprovalForAll(opts *bind.FilterOpts, account []common.Address, operator []common.Address) (*POAPApprovalForAllIterator, error)

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

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

func (*POAPFilterer) FilterOwnershipTransferred

func (_POAP *POAPFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*POAPOwnershipTransferredIterator, error)

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

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

func (*POAPFilterer) FilterPOAPCreated

func (_POAP *POAPFilterer) FilterPOAPCreated(opts *bind.FilterOpts) (*POAPPOAPCreatedIterator, error)

FilterPOAPCreated is a free log retrieval operation binding the contract event 0xd289120f29a4955153cbfd6b70b90301c2051931e4e9db7110b3ce6cdd7aed6a.

Solidity: event POAPCreated(string name, uint256 id)

func (*POAPFilterer) FilterTransferBatch

func (_POAP *POAPFilterer) FilterTransferBatch(opts *bind.FilterOpts, operator []common.Address, from []common.Address, to []common.Address) (*POAPTransferBatchIterator, error)

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

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

func (*POAPFilterer) FilterTransferSingle

func (_POAP *POAPFilterer) FilterTransferSingle(opts *bind.FilterOpts, operator []common.Address, from []common.Address, to []common.Address) (*POAPTransferSingleIterator, error)

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

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

func (*POAPFilterer) FilterURI

func (_POAP *POAPFilterer) FilterURI(opts *bind.FilterOpts, id []*big.Int) (*POAPURIIterator, error)

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

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

func (*POAPFilterer) ParseApprovalForAll

func (_POAP *POAPFilterer) ParseApprovalForAll(log types.Log) (*POAPApprovalForAll, error)

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

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

func (*POAPFilterer) ParseOwnershipTransferred

func (_POAP *POAPFilterer) ParseOwnershipTransferred(log types.Log) (*POAPOwnershipTransferred, error)

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

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

func (*POAPFilterer) ParsePOAPCreated

func (_POAP *POAPFilterer) ParsePOAPCreated(log types.Log) (*POAPPOAPCreated, error)

ParsePOAPCreated is a log parse operation binding the contract event 0xd289120f29a4955153cbfd6b70b90301c2051931e4e9db7110b3ce6cdd7aed6a.

Solidity: event POAPCreated(string name, uint256 id)

func (*POAPFilterer) ParseTransferBatch

func (_POAP *POAPFilterer) ParseTransferBatch(log types.Log) (*POAPTransferBatch, error)

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

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

func (*POAPFilterer) ParseTransferSingle

func (_POAP *POAPFilterer) ParseTransferSingle(log types.Log) (*POAPTransferSingle, error)

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

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

func (*POAPFilterer) ParseURI

func (_POAP *POAPFilterer) ParseURI(log types.Log) (*POAPURI, error)

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

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

func (*POAPFilterer) WatchApprovalForAll

func (_POAP *POAPFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *POAPApprovalForAll, account []common.Address, operator []common.Address) (event.Subscription, error)

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

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

func (*POAPFilterer) WatchOwnershipTransferred

func (_POAP *POAPFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *POAPOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

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

func (*POAPFilterer) WatchPOAPCreated

func (_POAP *POAPFilterer) WatchPOAPCreated(opts *bind.WatchOpts, sink chan<- *POAPPOAPCreated) (event.Subscription, error)

WatchPOAPCreated is a free log subscription operation binding the contract event 0xd289120f29a4955153cbfd6b70b90301c2051931e4e9db7110b3ce6cdd7aed6a.

Solidity: event POAPCreated(string name, uint256 id)

func (*POAPFilterer) WatchTransferBatch

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

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

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

func (*POAPFilterer) WatchTransferSingle

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

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

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

func (*POAPFilterer) WatchURI

func (_POAP *POAPFilterer) WatchURI(opts *bind.WatchOpts, sink chan<- *POAPURI, id []*big.Int) (event.Subscription, error)

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

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

type POAPOwnershipTransferred

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

POAPOwnershipTransferred represents a OwnershipTransferred event raised by the POAP contract.

type POAPOwnershipTransferredIterator

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

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

func (*POAPOwnershipTransferredIterator) Close

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

func (*POAPOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*POAPOwnershipTransferredIterator) 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 POAPPOAPCreated

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

POAPPOAPCreated represents a POAPCreated event raised by the POAP contract.

type POAPPOAPCreatedIterator

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

POAPPOAPCreatedIterator is returned from FilterPOAPCreated and is used to iterate over the raw logs and unpacked data for POAPCreated events raised by the POAP contract.

func (*POAPPOAPCreatedIterator) Close

func (it *POAPPOAPCreatedIterator) Close() error

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

func (*POAPPOAPCreatedIterator) Error

func (it *POAPPOAPCreatedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*POAPPOAPCreatedIterator) Next

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

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

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

func (*POAPRaw) Call

func (_POAP *POAPRaw) 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 (*POAPRaw) Transact

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

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

func (*POAPRaw) Transfer

func (_POAP *POAPRaw) 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 POAPSession

type POAPSession struct {
	Contract     *POAP             // 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
}

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

func (*POAPSession) AddOperator

func (_POAP *POAPSession) AddOperator(_operator common.Address) (*types.Transaction, error)

AddOperator is a paid mutator transaction binding the contract method 0x9870d7fe.

Solidity: function addOperator(address _operator) returns()

func (*POAPSession) BalanceOf

func (_POAP *POAPSession) BalanceOf(account common.Address, id *big.Int) (*big.Int, error)

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

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

func (*POAPSession) BalanceOfBatch

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

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

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

func (*POAPSession) BatchMint

func (_POAP *POAPSession) BatchMint(tos []common.Address, tokenId *big.Int) (*types.Transaction, error)

BatchMint is a paid mutator transaction binding the contract method 0x83b74baa.

Solidity: function batchMint(address[] tos, uint256 tokenId) returns()

func (*POAPSession) BatchMint0

func (_POAP *POAPSession) BatchMint0(tos []common.Address, name string) (*types.Transaction, error)

BatchMint0 is a paid mutator transaction binding the contract method 0xa4fbc660.

Solidity: function batchMint(address[] tos, string name) returns()

func (*POAPSession) Create

func (_POAP *POAPSession) Create(name string, description string, image string, _Identiry string) (*types.Transaction, error)

Create is a paid mutator transaction binding the contract method 0x26a3a36a.

Solidity: function _create(string name, string description, string image, string _Identiry) returns()

func (*POAPSession) GetOperators

func (_POAP *POAPSession) GetOperators() ([]common.Address, error)

GetOperators is a free data retrieval call binding the contract method 0x27a099d8.

Solidity: function getOperators() view returns(address[])

func (*POAPSession) Index

func (_POAP *POAPSession) Index(name string) (*big.Int, error)

Index is a free data retrieval call binding the contract method 0xf5db08d9.

Solidity: function index(string name) view returns(uint256)

func (*POAPSession) IsApprovedForAll

func (_POAP *POAPSession) IsApprovedForAll(account common.Address, operator common.Address) (bool, error)

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

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

func (*POAPSession) IsOperator

func (_POAP *POAPSession) IsOperator(_operator common.Address) (bool, error)

IsOperator is a free data retrieval call binding the contract method 0x6d70f7ae.

Solidity: function isOperator(address _operator) view returns(bool)

func (*POAPSession) Mint

func (_POAP *POAPSession) Mint(to common.Address, tokenId *big.Int) (*types.Transaction, error)

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

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

func (*POAPSession) Mint0

func (_POAP *POAPSession) Mint0(to common.Address, name string) (*types.Transaction, error)

Mint0 is a paid mutator transaction binding the contract method 0xd0def521.

Solidity: function mint(address to, string name) returns()

func (*POAPSession) Owner

func (_POAP *POAPSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*POAPSession) RemoveOperator

func (_POAP *POAPSession) RemoveOperator(_operator common.Address) (*types.Transaction, error)

RemoveOperator is a paid mutator transaction binding the contract method 0xac8a584a.

Solidity: function removeOperator(address _operator) returns()

func (*POAPSession) RenounceOwnership

func (_POAP *POAPSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*POAPSession) SafeBatchTransferFrom

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

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

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

func (*POAPSession) SafeTransferFrom

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

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

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

func (*POAPSession) SetApprovalForAll

func (_POAP *POAPSession) 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 (*POAPSession) SupportsInterface

func (_POAP *POAPSession) 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 (*POAPSession) TotalPOAPs

func (_POAP *POAPSession) TotalPOAPs() (*big.Int, error)

TotalPOAPs is a free data retrieval call binding the contract method 0x7f8e8901.

Solidity: function totalPOAPs() view returns(uint256)

func (*POAPSession) TransferOwnership

func (_POAP *POAPSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

func (*POAPSession) Uri

func (_POAP *POAPSession) Uri(tokenId *big.Int) (string, error)

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

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

type POAPTransactor

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

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

func NewPOAPTransactor

func NewPOAPTransactor(address common.Address, transactor bind.ContractTransactor) (*POAPTransactor, error)

NewPOAPTransactor creates a new write-only instance of POAP, bound to a specific deployed contract.

func (*POAPTransactor) AddOperator

func (_POAP *POAPTransactor) AddOperator(opts *bind.TransactOpts, _operator common.Address) (*types.Transaction, error)

AddOperator is a paid mutator transaction binding the contract method 0x9870d7fe.

Solidity: function addOperator(address _operator) returns()

func (*POAPTransactor) BatchMint

func (_POAP *POAPTransactor) BatchMint(opts *bind.TransactOpts, tos []common.Address, tokenId *big.Int) (*types.Transaction, error)

BatchMint is a paid mutator transaction binding the contract method 0x83b74baa.

Solidity: function batchMint(address[] tos, uint256 tokenId) returns()

func (*POAPTransactor) BatchMint0

func (_POAP *POAPTransactor) BatchMint0(opts *bind.TransactOpts, tos []common.Address, name string) (*types.Transaction, error)

BatchMint0 is a paid mutator transaction binding the contract method 0xa4fbc660.

Solidity: function batchMint(address[] tos, string name) returns()

func (*POAPTransactor) Create

func (_POAP *POAPTransactor) Create(opts *bind.TransactOpts, name string, description string, image string, _Identiry string) (*types.Transaction, error)

Create is a paid mutator transaction binding the contract method 0x26a3a36a.

Solidity: function _create(string name, string description, string image, string _Identiry) returns()

func (*POAPTransactor) Mint

func (_POAP *POAPTransactor) Mint(opts *bind.TransactOpts, to common.Address, tokenId *big.Int) (*types.Transaction, error)

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

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

func (*POAPTransactor) Mint0

func (_POAP *POAPTransactor) Mint0(opts *bind.TransactOpts, to common.Address, name string) (*types.Transaction, error)

Mint0 is a paid mutator transaction binding the contract method 0xd0def521.

Solidity: function mint(address to, string name) returns()

func (*POAPTransactor) RemoveOperator

func (_POAP *POAPTransactor) RemoveOperator(opts *bind.TransactOpts, _operator common.Address) (*types.Transaction, error)

RemoveOperator is a paid mutator transaction binding the contract method 0xac8a584a.

Solidity: function removeOperator(address _operator) returns()

func (*POAPTransactor) RenounceOwnership

func (_POAP *POAPTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*POAPTransactor) SafeBatchTransferFrom

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

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

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

func (*POAPTransactor) SafeTransferFrom

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

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

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

func (*POAPTransactor) SetApprovalForAll

func (_POAP *POAPTransactor) 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 (*POAPTransactor) TransferOwnership

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

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

Solidity: function transferOwnership(address newOwner) returns()

type POAPTransactorRaw

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

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

func (*POAPTransactorRaw) Transact

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

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

func (*POAPTransactorRaw) Transfer

func (_POAP *POAPTransactorRaw) 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 POAPTransactorSession

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

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

func (*POAPTransactorSession) AddOperator

func (_POAP *POAPTransactorSession) AddOperator(_operator common.Address) (*types.Transaction, error)

AddOperator is a paid mutator transaction binding the contract method 0x9870d7fe.

Solidity: function addOperator(address _operator) returns()

func (*POAPTransactorSession) BatchMint

func (_POAP *POAPTransactorSession) BatchMint(tos []common.Address, tokenId *big.Int) (*types.Transaction, error)

BatchMint is a paid mutator transaction binding the contract method 0x83b74baa.

Solidity: function batchMint(address[] tos, uint256 tokenId) returns()

func (*POAPTransactorSession) BatchMint0

func (_POAP *POAPTransactorSession) BatchMint0(tos []common.Address, name string) (*types.Transaction, error)

BatchMint0 is a paid mutator transaction binding the contract method 0xa4fbc660.

Solidity: function batchMint(address[] tos, string name) returns()

func (*POAPTransactorSession) Create

func (_POAP *POAPTransactorSession) Create(name string, description string, image string, _Identiry string) (*types.Transaction, error)

Create is a paid mutator transaction binding the contract method 0x26a3a36a.

Solidity: function _create(string name, string description, string image, string _Identiry) returns()

func (*POAPTransactorSession) Mint

func (_POAP *POAPTransactorSession) Mint(to common.Address, tokenId *big.Int) (*types.Transaction, error)

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

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

func (*POAPTransactorSession) Mint0

func (_POAP *POAPTransactorSession) Mint0(to common.Address, name string) (*types.Transaction, error)

Mint0 is a paid mutator transaction binding the contract method 0xd0def521.

Solidity: function mint(address to, string name) returns()

func (*POAPTransactorSession) RemoveOperator

func (_POAP *POAPTransactorSession) RemoveOperator(_operator common.Address) (*types.Transaction, error)

RemoveOperator is a paid mutator transaction binding the contract method 0xac8a584a.

Solidity: function removeOperator(address _operator) returns()

func (*POAPTransactorSession) RenounceOwnership

func (_POAP *POAPTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*POAPTransactorSession) SafeBatchTransferFrom

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

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

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

func (*POAPTransactorSession) SafeTransferFrom

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

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

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

func (*POAPTransactorSession) SetApprovalForAll

func (_POAP *POAPTransactorSession) 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 (*POAPTransactorSession) TransferOwnership

func (_POAP *POAPTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

type POAPTransferBatch

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

POAPTransferBatch represents a TransferBatch event raised by the POAP contract.

type POAPTransferBatchIterator

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

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

func (*POAPTransferBatchIterator) Close

func (it *POAPTransferBatchIterator) Close() error

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

func (*POAPTransferBatchIterator) Error

func (it *POAPTransferBatchIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*POAPTransferBatchIterator) Next

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

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

POAPTransferSingle represents a TransferSingle event raised by the POAP contract.

type POAPTransferSingleIterator

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

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

func (*POAPTransferSingleIterator) Close

func (it *POAPTransferSingleIterator) Close() error

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

func (*POAPTransferSingleIterator) Error

func (it *POAPTransferSingleIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*POAPTransferSingleIterator) Next

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

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

POAPURI represents a URI event raised by the POAP contract.

type POAPURIIterator

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

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

func (*POAPURIIterator) Close

func (it *POAPURIIterator) Close() error

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

func (*POAPURIIterator) Error

func (it *POAPURIIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*POAPURIIterator) Next

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

type TicketGame struct {
	TicketGameCaller     // Read-only binding to the contract
	TicketGameTransactor // Write-only binding to the contract
	TicketGameFilterer   // Log filterer for contract events
}

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

func DeployTicketGame

func DeployTicketGame(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *TicketGame, error)

DeployTicketGame deploys a new Ethereum contract, binding an instance of TicketGame to it.

func NewTicketGame

func NewTicketGame(address common.Address, backend bind.ContractBackend) (*TicketGame, error)

NewTicketGame creates a new instance of TicketGame, bound to a specific deployed contract.

type TicketGameApproval

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

TicketGameApproval represents a Approval event raised by the TicketGame contract.

type TicketGameApprovalForAll

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

TicketGameApprovalForAll represents a ApprovalForAll event raised by the TicketGame contract.

type TicketGameApprovalForAllIterator

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

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

func (*TicketGameApprovalForAllIterator) Close

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

func (*TicketGameApprovalForAllIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*TicketGameApprovalForAllIterator) 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 TicketGameApprovalIterator

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

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

func (*TicketGameApprovalIterator) Close

func (it *TicketGameApprovalIterator) Close() error

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

func (*TicketGameApprovalIterator) Error

func (it *TicketGameApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*TicketGameApprovalIterator) Next

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

type TicketGameBatchMetadataUpdate struct {
	FromTokenId *big.Int
	ToTokenId   *big.Int
	Raw         types.Log // Blockchain specific contextual infos
}

TicketGameBatchMetadataUpdate represents a BatchMetadataUpdate event raised by the TicketGame contract.

type TicketGameBatchMetadataUpdateIterator

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

TicketGameBatchMetadataUpdateIterator is returned from FilterBatchMetadataUpdate and is used to iterate over the raw logs and unpacked data for BatchMetadataUpdate events raised by the TicketGame contract.

func (*TicketGameBatchMetadataUpdateIterator) Close

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

func (*TicketGameBatchMetadataUpdateIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*TicketGameBatchMetadataUpdateIterator) 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 TicketGameCaller

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

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

func NewTicketGameCaller

func NewTicketGameCaller(address common.Address, caller bind.ContractCaller) (*TicketGameCaller, error)

NewTicketGameCaller creates a new read-only instance of TicketGame, bound to a specific deployed contract.

func (*TicketGameCaller) BalanceOf

func (_TicketGame *TicketGameCaller) 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 (*TicketGameCaller) GetApproved

func (_TicketGame *TicketGameCaller) 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 (*TicketGameCaller) IsApprovedForAll

func (_TicketGame *TicketGameCaller) 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 (*TicketGameCaller) Name

func (_TicketGame *TicketGameCaller) 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 (*TicketGameCaller) OwnerOf

func (_TicketGame *TicketGameCaller) 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 (*TicketGameCaller) SupportsInterface

func (_TicketGame *TicketGameCaller) 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 (*TicketGameCaller) Symbol

func (_TicketGame *TicketGameCaller) 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 (*TicketGameCaller) TokenURI

func (_TicketGame *TicketGameCaller) TokenURI(opts *bind.CallOpts, tokenId *big.Int) (string, error)

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

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

type TicketGameCallerRaw

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

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

func (*TicketGameCallerRaw) Call

func (_TicketGame *TicketGameCallerRaw) 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 TicketGameCallerSession

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

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

func (*TicketGameCallerSession) BalanceOf

func (_TicketGame *TicketGameCallerSession) 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 (*TicketGameCallerSession) GetApproved

func (_TicketGame *TicketGameCallerSession) 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 (*TicketGameCallerSession) IsApprovedForAll

func (_TicketGame *TicketGameCallerSession) 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 (*TicketGameCallerSession) Name

func (_TicketGame *TicketGameCallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*TicketGameCallerSession) OwnerOf

func (_TicketGame *TicketGameCallerSession) 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 (*TicketGameCallerSession) SupportsInterface

func (_TicketGame *TicketGameCallerSession) 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 (*TicketGameCallerSession) Symbol

func (_TicketGame *TicketGameCallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*TicketGameCallerSession) TokenURI

func (_TicketGame *TicketGameCallerSession) TokenURI(tokenId *big.Int) (string, error)

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

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

type TicketGameFilterer

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

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

func NewTicketGameFilterer

func NewTicketGameFilterer(address common.Address, filterer bind.ContractFilterer) (*TicketGameFilterer, error)

NewTicketGameFilterer creates a new log filterer instance of TicketGame, bound to a specific deployed contract.

func (*TicketGameFilterer) FilterApproval

func (_TicketGame *TicketGameFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, approved []common.Address, tokenId []*big.Int) (*TicketGameApprovalIterator, 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 (*TicketGameFilterer) FilterApprovalForAll

func (_TicketGame *TicketGameFilterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*TicketGameApprovalForAllIterator, 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 (*TicketGameFilterer) FilterBatchMetadataUpdate

func (_TicketGame *TicketGameFilterer) FilterBatchMetadataUpdate(opts *bind.FilterOpts) (*TicketGameBatchMetadataUpdateIterator, error)

FilterBatchMetadataUpdate is a free log retrieval operation binding the contract event 0x6bd5c950a8d8df17f772f5af37cb3655737899cbf903264b9795592da439661c.

Solidity: event BatchMetadataUpdate(uint256 _fromTokenId, uint256 _toTokenId)

func (*TicketGameFilterer) FilterMetadataUpdate

func (_TicketGame *TicketGameFilterer) FilterMetadataUpdate(opts *bind.FilterOpts) (*TicketGameMetadataUpdateIterator, error)

FilterMetadataUpdate is a free log retrieval operation binding the contract event 0xf8e1a15aba9398e019f0b49df1a4fde98ee17ae345cb5f6b5e2c27f5033e8ce7.

Solidity: event MetadataUpdate(uint256 _tokenId)

func (*TicketGameFilterer) FilterTransfer

func (_TicketGame *TicketGameFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenId []*big.Int) (*TicketGameTransferIterator, 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 (*TicketGameFilterer) ParseApproval

func (_TicketGame *TicketGameFilterer) ParseApproval(log types.Log) (*TicketGameApproval, 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 (*TicketGameFilterer) ParseApprovalForAll

func (_TicketGame *TicketGameFilterer) ParseApprovalForAll(log types.Log) (*TicketGameApprovalForAll, error)

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

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

func (*TicketGameFilterer) ParseBatchMetadataUpdate

func (_TicketGame *TicketGameFilterer) ParseBatchMetadataUpdate(log types.Log) (*TicketGameBatchMetadataUpdate, error)

ParseBatchMetadataUpdate is a log parse operation binding the contract event 0x6bd5c950a8d8df17f772f5af37cb3655737899cbf903264b9795592da439661c.

Solidity: event BatchMetadataUpdate(uint256 _fromTokenId, uint256 _toTokenId)

func (*TicketGameFilterer) ParseMetadataUpdate

func (_TicketGame *TicketGameFilterer) ParseMetadataUpdate(log types.Log) (*TicketGameMetadataUpdate, error)

ParseMetadataUpdate is a log parse operation binding the contract event 0xf8e1a15aba9398e019f0b49df1a4fde98ee17ae345cb5f6b5e2c27f5033e8ce7.

Solidity: event MetadataUpdate(uint256 _tokenId)

func (*TicketGameFilterer) ParseTransfer

func (_TicketGame *TicketGameFilterer) ParseTransfer(log types.Log) (*TicketGameTransfer, 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 (*TicketGameFilterer) WatchApproval

func (_TicketGame *TicketGameFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *TicketGameApproval, 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 (*TicketGameFilterer) WatchApprovalForAll

func (_TicketGame *TicketGameFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *TicketGameApprovalForAll, 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 (*TicketGameFilterer) WatchBatchMetadataUpdate

func (_TicketGame *TicketGameFilterer) WatchBatchMetadataUpdate(opts *bind.WatchOpts, sink chan<- *TicketGameBatchMetadataUpdate) (event.Subscription, error)

WatchBatchMetadataUpdate is a free log subscription operation binding the contract event 0x6bd5c950a8d8df17f772f5af37cb3655737899cbf903264b9795592da439661c.

Solidity: event BatchMetadataUpdate(uint256 _fromTokenId, uint256 _toTokenId)

func (*TicketGameFilterer) WatchMetadataUpdate

func (_TicketGame *TicketGameFilterer) WatchMetadataUpdate(opts *bind.WatchOpts, sink chan<- *TicketGameMetadataUpdate) (event.Subscription, error)

WatchMetadataUpdate is a free log subscription operation binding the contract event 0xf8e1a15aba9398e019f0b49df1a4fde98ee17ae345cb5f6b5e2c27f5033e8ce7.

Solidity: event MetadataUpdate(uint256 _tokenId)

func (*TicketGameFilterer) WatchTransfer

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

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

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

type TicketGameMetadataUpdate

type TicketGameMetadataUpdate struct {
	TokenId *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

TicketGameMetadataUpdate represents a MetadataUpdate event raised by the TicketGame contract.

type TicketGameMetadataUpdateIterator

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

TicketGameMetadataUpdateIterator is returned from FilterMetadataUpdate and is used to iterate over the raw logs and unpacked data for MetadataUpdate events raised by the TicketGame contract.

func (*TicketGameMetadataUpdateIterator) Close

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

func (*TicketGameMetadataUpdateIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*TicketGameMetadataUpdateIterator) 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 TicketGameRaw

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

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

func (*TicketGameRaw) Call

func (_TicketGame *TicketGameRaw) 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 (*TicketGameRaw) Transact

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

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

func (*TicketGameRaw) Transfer

func (_TicketGame *TicketGameRaw) 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 TicketGameSession

type TicketGameSession struct {
	Contract     *TicketGame       // 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
}

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

func (*TicketGameSession) Approve

func (_TicketGame *TicketGameSession) 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 (*TicketGameSession) BalanceOf

func (_TicketGame *TicketGameSession) 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 (*TicketGameSession) BatchRedeem

func (_TicketGame *TicketGameSession) BatchRedeem(players []common.Address, tokenURIs []string) (*types.Transaction, error)

BatchRedeem is a paid mutator transaction binding the contract method 0xcef9341a.

Solidity: function batchRedeem(address[] players, string[] tokenURIs) returns(uint256[] tokenIds)

func (*TicketGameSession) GetApproved

func (_TicketGame *TicketGameSession) 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 (*TicketGameSession) IsApprovedForAll

func (_TicketGame *TicketGameSession) 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 (*TicketGameSession) Name

func (_TicketGame *TicketGameSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*TicketGameSession) OwnerOf

func (_TicketGame *TicketGameSession) 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 (*TicketGameSession) Redeem

func (_TicketGame *TicketGameSession) Redeem(player common.Address, tokenURI string) (*types.Transaction, error)

Redeem is a paid mutator transaction binding the contract method 0xf62e7851.

Solidity: function redeem(address player, string tokenURI) returns(uint256)

func (*TicketGameSession) SafeTransferFrom

func (_TicketGame *TicketGameSession) 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 (*TicketGameSession) SafeTransferFrom0

func (_TicketGame *TicketGameSession) 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 (*TicketGameSession) SetApprovalForAll

func (_TicketGame *TicketGameSession) 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 (*TicketGameSession) SupportsInterface

func (_TicketGame *TicketGameSession) 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 (*TicketGameSession) Symbol

func (_TicketGame *TicketGameSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*TicketGameSession) TokenURI

func (_TicketGame *TicketGameSession) 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 (*TicketGameSession) TransferFrom

func (_TicketGame *TicketGameSession) 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()

type TicketGameTransactor

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

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

func NewTicketGameTransactor

func NewTicketGameTransactor(address common.Address, transactor bind.ContractTransactor) (*TicketGameTransactor, error)

NewTicketGameTransactor creates a new write-only instance of TicketGame, bound to a specific deployed contract.

func (*TicketGameTransactor) Approve

func (_TicketGame *TicketGameTransactor) 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 (*TicketGameTransactor) BatchRedeem

func (_TicketGame *TicketGameTransactor) BatchRedeem(opts *bind.TransactOpts, players []common.Address, tokenURIs []string) (*types.Transaction, error)

BatchRedeem is a paid mutator transaction binding the contract method 0xcef9341a.

Solidity: function batchRedeem(address[] players, string[] tokenURIs) returns(uint256[] tokenIds)

func (*TicketGameTransactor) Redeem

func (_TicketGame *TicketGameTransactor) Redeem(opts *bind.TransactOpts, player common.Address, tokenURI string) (*types.Transaction, error)

Redeem is a paid mutator transaction binding the contract method 0xf62e7851.

Solidity: function redeem(address player, string tokenURI) returns(uint256)

func (*TicketGameTransactor) SafeTransferFrom

func (_TicketGame *TicketGameTransactor) 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 (*TicketGameTransactor) SafeTransferFrom0

func (_TicketGame *TicketGameTransactor) 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 (*TicketGameTransactor) SetApprovalForAll

func (_TicketGame *TicketGameTransactor) 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 (*TicketGameTransactor) TransferFrom

func (_TicketGame *TicketGameTransactor) 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()

type TicketGameTransactorRaw

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

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

func (*TicketGameTransactorRaw) Transact

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

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

func (*TicketGameTransactorRaw) Transfer

func (_TicketGame *TicketGameTransactorRaw) 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 TicketGameTransactorSession

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

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

func (*TicketGameTransactorSession) Approve

func (_TicketGame *TicketGameTransactorSession) 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 (*TicketGameTransactorSession) BatchRedeem

func (_TicketGame *TicketGameTransactorSession) BatchRedeem(players []common.Address, tokenURIs []string) (*types.Transaction, error)

BatchRedeem is a paid mutator transaction binding the contract method 0xcef9341a.

Solidity: function batchRedeem(address[] players, string[] tokenURIs) returns(uint256[] tokenIds)

func (*TicketGameTransactorSession) Redeem

func (_TicketGame *TicketGameTransactorSession) Redeem(player common.Address, tokenURI string) (*types.Transaction, error)

Redeem is a paid mutator transaction binding the contract method 0xf62e7851.

Solidity: function redeem(address player, string tokenURI) returns(uint256)

func (*TicketGameTransactorSession) SafeTransferFrom

func (_TicketGame *TicketGameTransactorSession) 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 (*TicketGameTransactorSession) SafeTransferFrom0

func (_TicketGame *TicketGameTransactorSession) 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 (*TicketGameTransactorSession) SetApprovalForAll

func (_TicketGame *TicketGameTransactorSession) 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 (*TicketGameTransactorSession) TransferFrom

func (_TicketGame *TicketGameTransactorSession) 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()

type TicketGameTransfer

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

TicketGameTransfer represents a Transfer event raised by the TicketGame contract.

type TicketGameTransferIterator

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

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

func (*TicketGameTransferIterator) Close

func (it *TicketGameTransferIterator) Close() error

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

func (*TicketGameTransferIterator) Error

func (it *TicketGameTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*TicketGameTransferIterator) Next

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