unc_contract_standards/lib.rs
1// We want to enable all clippy lints, but some of them generate false positives.
2#![allow(clippy::missing_const_for_fn, clippy::redundant_pub_crate)]
3
4/// Fungible tokens as described in [by the spec](https://nomicon.io/Standards/FungibleToken/README.html).
5pub mod fungible_token;
6/// Non-fungible tokens as described in [by the spec](https://nomicon.io/Standards/NonFungibleToken/README.html).
7pub mod non_fungible_token;
8/// Storage management deals with handling [state storage](https://docs.unc.org/docs/concepts/storage-staking) on UNC. This follows the [storage management standard](https://nomicon.io/Standards/StorageManagement.html).
9pub mod storage_management;
10/// This upgrade standard is a use case where a staging area exists for a WASM
11/// blob, allowing it to be stored for a period of time before deployed.
12#[deprecated(
13 since = "2.1.0",
14 note = "This was removed because there is no standard (UIP) for upgradable contracts."
15)]
16pub mod upgrade;
17
18pub(crate) mod event;
19
20pub mod contract_metadata;