Uniques: An economically-secure basic-featured NFT pallet (#8813)
* Uniques: An economically-secure basic-featured NFT pallet * force_transfer * freeze/thaw * team management * approvals * Fixes * force_asset_status * class_metadata * instance metadata * Fixes * use nmap * Fixes * class metadata has information field * Intiial mock/tests and a fix * Remove impl_non_fungibles * Docs * Update frame/uniques/src/lib.rs Co-authored-by:Shawn Tabrizi <shawntabrizi@gmail.com> * Update frame/uniques/src/lib.rs Co-authored-by:
Shawn Tabrizi <shawntabrizi@gmail.com> * Update frame/uniques/src/lib.rs Co-authored-by:
Shawn Tabrizi <shawntabrizi@gmail.com> * Update frame/uniques/src/lib.rs Co-authored-by:
Shawn Tabrizi <shawntabrizi@gmail.com> * Reserve, don't transfer. * Fixes * Tests * Tests * refresh_deposit * Tests and proper handling of metdata destruction * test burn * Tests * Update impl_fungibles.rs * Initial benchmarking * benchmark * Fixes * cargo run --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_uniques --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/uniques/src/weights.rs --template=./.maintain/frame-weight-template.hbs * Attributes * Attribute metadata * Fixes * Update frame/uniques/README.md * Docs * Docs * Docs * Simple metadata * Use BoundedVec * cargo run --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_uniques --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/uniques/src/weights.rs --template=./.maintain/frame-weight-template.hbs * Update frame/uniques/src/lib.rs Co-authored-by:
Lohann Paterno Coutinho Ferreira <developer@lohann.dev> * Update frame/uniques/src/lib.rs Co-authored-by:
Lohann Paterno Coutinho Ferreira <developer@lohann.dev> * Update frame/uniques/src/lib.rs Co-authored-by:
Lohann Paterno Coutinho Ferreira <developer@lohann.dev> * Update frame/uniques/src/lib.rs Co-authored-by:
Lohann Paterno Coutinho Ferreira <developer@lohann.dev> * Update frame/uniques/src/lib.rs Co-authored-by:
Lohann Paterno Coutinho Ferreira <developer@lohann.dev> * Fixes * Update frame/uniques/README.md Co-authored-by:
Alexander Popiak <alexander.popiak@parity.io> * Update frame/uniques/README.md Co-authored-by:
Alexander Popiak <alexander.popiak@parity.io> * Update frame/uniques/README.md Co-authored-by:
Alexander Popiak <alexander.popiak@parity.io> * Docs * Bump Co-authored-by:
Shawn Tabrizi <shawntabrizi@gmail.com> Co-authored-by:
Parity Bot <admin@parity.io> Co-authored-by:
Lohann Paterno Coutinho Ferreira <developer@lohann.dev> Co-authored-by:
Alexander Popiak <alexander.popiak@parity.io>
Showing
- substrate/Cargo.lock 16 additions, 0 deletionssubstrate/Cargo.lock
- substrate/Cargo.toml 1 addition, 0 deletionssubstrate/Cargo.toml
- substrate/bin/node/runtime/Cargo.toml 4 additions, 0 deletionssubstrate/bin/node/runtime/Cargo.toml
- substrate/bin/node/runtime/src/lib.rs 27 additions, 1 deletionsubstrate/bin/node/runtime/src/lib.rs
- substrate/frame/assets/src/impl_fungibles.rs 4 additions, 4 deletionssubstrate/frame/assets/src/impl_fungibles.rs
- substrate/frame/assets/src/lib.rs 7 additions, 9 deletionssubstrate/frame/assets/src/lib.rs
- substrate/frame/support/src/storage/bounded_vec.rs 6 additions, 0 deletionssubstrate/frame/support/src/storage/bounded_vec.rs
- substrate/frame/support/src/storage/types/nmap.rs 1 addition, 1 deletionsubstrate/frame/support/src/storage/types/nmap.rs
- substrate/frame/uniques/Cargo.toml 46 additions, 0 deletionssubstrate/frame/uniques/Cargo.toml
- substrate/frame/uniques/README.md 78 additions, 0 deletionssubstrate/frame/uniques/README.md
- substrate/frame/uniques/src/benchmarking.rs 376 additions, 0 deletionssubstrate/frame/uniques/src/benchmarking.rs
- substrate/frame/uniques/src/lib.rs 1289 additions, 0 deletionssubstrate/frame/uniques/src/lib.rs
- substrate/frame/uniques/src/mock.rs 119 additions, 0 deletionssubstrate/frame/uniques/src/mock.rs
- substrate/frame/uniques/src/tests.rs 527 additions, 0 deletionssubstrate/frame/uniques/src/tests.rs
- substrate/frame/uniques/src/types.rs 118 additions, 0 deletionssubstrate/frame/uniques/src/types.rs
- substrate/frame/uniques/src/weights.rs 326 additions, 0 deletionssubstrate/frame/uniques/src/weights.rs
- substrate/primitives/arithmetic/src/traits.rs 28 additions, 0 deletionssubstrate/primitives/arithmetic/src/traits.rs
Please register or sign in to comment