Suppose I issue 1000 “yellow rabbit” assets. For lack of a better example say these assets correspond to concert tickets to attend and see the band “yellow rabbit”. To enter the concert each person should prove they own a “ticket” of “yellow rabbit”. The price for each “ticket” is 5 peercoin.
Can I create a smart contract such that the first 1000 payments of 5 peercoin will be awarded 1 “ticket”? Can I create this contract to execute automatically on the blockchain?