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§

Constants§