Crate darkfi_money_contract
source ·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
zkas burn circuit namespace
zkas mint circuit namespace
zkas token freeze circuit namespace
zkas token mint circuit namespace