Module dao::utils

source ·
Expand description

Module with utility functions for the DAO contract.

Re-exports§

Modules§

Structs§

  • A serializable data structure that represent a contract call.

Enums§

Functions§

  • Multiplies two number and return per mile of their product.
  • Multiplies two number and return per mile of their product casted as u32.
  • Returns the number divided by 1000.
  • Withdraws CSPR from the contract and emits a corresponding event.