idexo / ido-contracts

33 stars 10 forks source link

Create payment contract that enables payment and product tracking #148

Closed marleymarl closed 2 years ago

marleymarl commented 2 years ago

The contract should allow for initial payment token to be specified in the constructor, however it should make it possible to add other payment tokens in an array of them in a separate function. This should enable the creation of a product with a specific price in specified payment token. There should be a purchase function and there should be a way to lookup addresses that have purchased the specific product. Could also be a simpler method to look up one address and see if it hasPurchased a product.

dluks82 commented 2 years ago

we must have