JoinSEEDS / seeds-smart-contracts

Smart contracts for SEEDS - A Regenerative Civilization Building Game.
https://docs.google.com/document/d/1C4w9Ol8VGabCIcQDVPDrwcTRoJXBqhrb7VjslwQbUGU/edit#heading=h.6f4sxygso816
MIT License
20 stars 6 forks source link

Added flag delegation #410

Closed IanMendozaJaimes closed 2 years ago

IanMendozaJaimes commented 2 years ago

Fixes #406

Note

I added two generic functions inutils:

I only added those functions to the actions involved in this issue. I think it could help make the contracts look cleaner. Please let me know what you think, I could refactor some contracts to try or if you feel it's not needed I can remove it and change it for the normal way.

Modified contracts:

Other considerations

No permissions nor settings need to be updated