Skip to content
Jean-Baptiste Dusseaut edited this page Apr 16, 2021 · 4 revisions

Fungible tokens contract

This contract is mostly a fork from TQ, but admin role has been splitted in two :

  • minter, who can mint or burn tokens

  • admin, who can pause tokens and add new ones.

Contract logic

Beside that the logic remains the same : 

  • Standard fa2 interface.

  • Manages only fungible tokens

  • token_manager interface, to mint and burn tokens. Can only be called by the minter role.

  • Admin interface, to pause tokens individually, and add a new token. Can only be called by the admin role.

Each originated FA2 contract can manage several token_id (one per erc20). The list can be extended by the contract administrator.

Clone this wiki locally