vporton / carbon-flow

Secure counting carbon credits and retire carbon credits
Apache License 2.0
11 stars 3 forks source link

Reverse swap #2

Open aurelvb opened 3 years ago

aurelvb commented 3 years ago

"Anybody can swap a child token he holds for the same amount of its parent token." Why that ?

Once a carbon credit is retired, ti cannot be activated again. An M+ should not be able to go back to M-.

vporton commented 3 years ago

First M- is not the parent of M+. So, yes, it cannot be "activated again".

This feature is useful for two reasons: