Expand description
Smart contract implementing money transfers, atomic swaps, token minting and freezing, and staking/unstaking of consensus tokens.
Modules§
- Client API for interaction with this smart contract This module implements the client-side API for this contract’s interaction. What we basically do here is implement an API that creates the necessary structures and is able to export them to create a DarkFi transaction object that can be broadcasted to the network when we want to make a payment with some coins in our wallet.
- Internal contract errors
- Call parameters definitions
Enums§
- Functions available in the contract
Constants§
- Precalculated root hash for a tree containing only a single Fp::ZERO coin. Used to save gas.
- zkas token auth mint circuit namespace
- zkas burn circuit namespace
- zkas fee circuit namespace
- zkas mint circuit namespace
- zkas token mint circuit namespace