eluv-io / contracts

Eluvio Content Management Smart Contracts
MIT License
10 stars 0 forks source link

Redeemable #91

Closed elv-serban closed 2 years ago

elv-serban commented 2 years ago

Implements:

Implementation notes:

Remaining problems to solve:

elv-nate commented 2 years ago

Aside from some small comments I made about testing which are MinterOnly, this looks good to me. The design unfortunately makes it hard to test redeemable tokens without a much more involved test, as you need a token to implement it and such.

elv-Tom commented 2 years ago

Very efficient, use a minimum of gas, and works perfectly. I added a script here : https://github.com/eluv-io/contracts/blob/redeemable/script/tradable/redeemable.s.sol Because the contract will not be deployed, we can add the 'abstract' key word for this contract.