Closed EvolveArt closed 2 years ago
For on-chain trading, looks like we could take inspiration from realms-contracts
One thing to mention here. The standard in cairo is to name the contract where the logic is library.cairo
ERC1155_base.cairo
-> library.cairo
Example
One thing to mention here. The standard in cairo is to name the contract where the logic is
library.cairo
ERC1155_base.cairo
->library.cairo
Example
Definitely! Fixed in https://github.com/ZkPad-Labs/zkpad-contracts/pull/4/commits/27427310629042e777aeae3ab74a5084c078f452
First complete draft of Lottery Tickets implementation as ERC1155 tokens.
ERC1155 standard taken from here and improved.
Some improvements are still to be made :
_balance_to_tickets
method (tier system vs formula)batchClaimLotteryTickets
to claim tickets for multiple IDOs at onceSome questions still to be answered: