Crate darkfi_dao_contract
source ·Expand description
Smart contract implementing Anonymous DAOs on DarkFi.
Modules§
- Client API for interaction with this smart contract
- Internal contract errors
- Call parameters definitions
Enums§
- Functions available in the contract
Constants§
- zkas dao auth money_transfer encrypted coin circuit namespace
- zkas dao auth money_transfer circuit namespace
- zkas dao exec circuit namespace
- zkas dao mint circuit namespace
- zkas dao propose input circuit namespace
- zkas dao propose main circuit namespace
- zkas dao vote input circuit namespace
- zkas dao vote main circuit namespace
- Not allowed to make proposals using snapshots with block heights older than this depth
Functions§
- Blockwindow from block height and target time. Used for time limit on DAO proposals.