Smart Contract Standard version.
IPFS merkle root hash.
Array with tokens owners balance.
Array with list of allocated tickets tokens.
Array with list of redeemed tickets tokens.
Allocate _ticket token _to address and MUST fire the TicketAllocated event. The function SHOULD throw if the _ticket was already allocated or redeemed.
Transfer _ticket token _from method caller address _to another address and MUST fire the TicketTransferred event. The function SHOULD throw if the _from account does not own _ticket token.
Transfer _ticket token _from address _to another address and MUST fire the TicketTransferred event. The function SHOULD throw if the _from account does not own _ticket token.
Redeem _ticket token _from address and MUST fire the TicketRedeemed event. Function SHOULD throw if _from address not own _ticket token, or token already used.
Refund _ticket token _to address and MUST fire TicketRefunded event.
Set new _ipfs hash with updated metadata.
Triggered when _ticket token are allocated.
Triggered when _ticket token are redeemed.
Triggered when _ticket tokens are transferred.
Triggered when _ticket token are refunded.
Triggered when metadata hash is updated.
Example: https://ipfs.io/ipfs/Qmc4QEgAFeM7jiqZA8AfSZjG2bXuj7ScP1pqgNU6Ff8A9y/
Example: https://ipfs.io/ipfs/Qmcvwt7DJdgephhpcr8iqwMkcy4Nj5Uz1sGPb5x2vHt4jW/
Expansion of this standard for event tickets market can be found at crypto.tickets GitHub
Copyright and related rights waived via CC0.