You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pallets/fruniques/README.md
+13-6Lines changed: 13 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
### **FR**actional **Uniques**
3
3
> This is WIP - just being spec'd out
4
4
5
-
This pallet is being developed **tightly coupled** to both [`pallet_assets`](https://paritytech.github.io/substrate/latest/pallet_assets/) and [`pallet_uniques`](https://paritytech.github.io/substrate/latest/pallet_uniques/index.html). These are the default [Statemine](https://github.com/paritytech/cumulus/tree/master/polkadot-parachains/statemine) pallets for fungible and non-fungible tokens.
5
+
This pallet is being developed **tightly coupled** to both [`pallet_assets`](https://paritytech.github.io/substrate/latest/pallet_assets/) and [`pallet_uniques`](https://paritytech.github.io/substrate/latest/pallet_uniques/index.html). These are the default [Statemine](https://github.com/paritytech/cumulus/tree/master/polkadot-parachains/statemine) pallets for fungible and non-fungible tokens.
6
6
7
7
A Frunique is a type of Non-Fungible Token (NFT)
8
8
@@ -19,20 +19,20 @@ This pallet provides functionality that allows NFT holders to mint a fungible to
19
19
20
20
The non-fungible token is created and minted using the Statemine `pallet_uniques`.
21
21
22
-
The fungible token is created and minted using the Statemine `pallet_assets`.
22
+
The fungible token is created and minted using the Statemine `pallet_assets`.
23
23
24
24
The NFT/Unique can be unlocked and released if and only if a single origin holds all of the corresponding fungible token.
A credit is a single NFT, with an `amount`, state of redemption, expiration year, and other metadata. However, that owner can sell less than the `amount`, in which case the newly created credit NFT has all of the same associated data. The sum of the children `amount` values must be equal to the parent.
34
34
35
-
To support this, we'll create a `AggregatedFrunique` type that enforces the aggregation rules.
35
+
To support this, we'll create a `AggregatedFrunique` type that enforces the aggregation rules.
36
36
37
37
#### Cannabis compliance
38
38
For the NY state cannabis compliance program, all yield from all plants must be tracked. This aligns to a very similar data structure as above. Each mother plant is an NFT, each clone as an NFT, each package of flower an NFT, etc. Auditing a specific item is fairly easy via traversing all of its ancestors and descendants through to the harvest and dispensary.
0 commit comments