tezos-commons / baseDAO

BaseDAO - a generic smart contract framework for DAOs on Tezos
57 stars 15 forks source link

Remove the special `admin` permissions on `transfer` #210

Closed pasqu4le closed 3 years ago

pasqu4le commented 3 years ago

Clarification and motivation

The transfer entrypoint has a special permission that allows the admin (and only him) to transfer frozen tokens on the ledger.

This was intended as a shorthand for mint and burn, which granted him the same ability. However, since these are to be removed (see #208 and #209) we should remove this permission as well.

Note: it's probably better to implement this after the two previous issues.

Acceptance criteria

There is no special treatment for the admin in the transfer entrypoint logic.