Token Dot Providers

The token dot provider pattern allows users to initialize new curves and provide custom bond and unbond functionality for minting and burning tokens.

The web admin provides an interface for engaging with token dot providers via the 'Token Tools' menu and deploy new token dot providers based on preloaded template artifacts.

The below provider contract allows users to initialize new curves and provide its own bond and unbond functionality which may be customized. When a user bonds or unbonds, an ERC20 token is minted or burned respectively.

Token factory providers may contain

Since endpoint specifiers must be unique for any given provider, new curves initialized by onchain token factory providers must have unique endpoint specifiers. Ex PlayerA, PlayerB NOT PlayerA, PlayerA

Note that below imports reflect file structure of zap contract repo

Last updated

Was this helpful?