starkware_utils 1.0.0
Starkware Starknet contracts utils
This package contains the utils for starkware starknet cairo contracts.
The Roles
component is a collection of functions and constants related to role management in a system. It provides functionality for checking if an account has a specific role, adding roles to an account, and removing roles from an account.
The Deposit
component can help the process of depositing funds into a contract to a "staged" area until the the processing of the deposit.
The Nonce
component is a way to manage applicative nonce.
The RequestsApprovals
component is a way to manage requests approvals.
The Pausable
component is a way to pause the contract in case of emergency.
The Replacability
component is a way to replace the contract with a new version of itself.
The Math
module is a collection of mathematical functions and constants.
The Fraction
module is a way to manage fractions in starknet.
The Time
module is a wrapper to the block timestamp.
Version 1.0.0
Uploaded 4 days ago
Size 35.4 KB
Run the following command in your project dir
scarb add starkware_utils@1.0.0
Or add the following line to your Scarb.toml
starkware_utils = "1.0.0"