This repository was archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
FRAME: Assets Freezer pallet #8476
Closed
Closed
Changes from 17 commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
c88d83f
Work so far.
gavofyork 0f63c24
Work so far
gavofyork 6d4cccd
Last bits
gavofyork 3c2e7bc
Some alterations to traits in preparation for Balanced Hold impl.
gavofyork 109621e
Balanced Hold impl
gavofyork d9a5250
Warnings.
gavofyork 02a697d
fungible traits for Hold.
gavofyork 5fa1aa4
Merge remote-tracking branch 'origin/master' into gav-asset-freezer
gavofyork 14a4f34
Fixes
gavofyork b1e91d6
Merge remote-tracking branch 'origin/master' into gav-asset-freezer
3bc8b23
Fix build
e2acff9
Freezer mock still not working
0d95e52
Merge remote-tracking branch 'origin/master' into gav-asset-freezer
92ea8ea
Fixes
3474105
Add some tests
35a2afe
Merge branch 'master' into gav-asset-freezer
db5a62c
Add more tests
1d012f4
Merge branch 'master' into gav-asset-freezer
shawntabrizi fbe7156
fix
shawntabrizi dbcfa7d
more fix
shawntabrizi 4f99fb0
Update frame/assets-freezer/Cargo.toml
gavofyork 82564cd
Update frame/assets/src/lib.rs
gavofyork aa7a5eb
merge master
joepetrowski 21cbcc6
remove duplicate mint event
joepetrowski db17796
fix build
joepetrowski 66132c5
bump spec
joepetrowski cc4a910
revert bump spec
joepetrowski 802a20d
Merge branch 'master' into gav-asset-freezer
joepetrowski ac14c0e
Update frame/assets-freezer/src/lib.rs
apopiak File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,51 @@ | ||
| [package] | ||
| name = "pallet-assets-freezer" | ||
| version = "3.0.0" | ||
| authors = ["Parity Technologies <admin@parity.io>"] | ||
| edition = "2018" | ||
| license = "Apache-2.0" | ||
| homepage = "https://substrate.dev" | ||
| repository = "https://github.com/paritytech/substrate/" | ||
| description = "Extension pallet for managing frozen assets" | ||
| readme = "README.md" | ||
|
|
||
| [package.metadata.docs.rs] | ||
| targets = ["x86_64-unknown-linux-gnu"] | ||
|
|
||
| [dependencies] | ||
| serde = { version = "1.0.101", optional = true } | ||
| codec = { package = "parity-scale-codec", version = "2.0.0", default-features = false } | ||
| sp-std = { version = "3.0.0", default-features = false, path = "../../primitives/std" } | ||
| # Needed for various traits. In our case, `OnFinalize`. | ||
| sp-runtime = { version = "3.0.0", default-features = false, path = "../../primitives/runtime" } | ||
| # Needed for type-safe access to storage DB. | ||
| frame-support = { version = "3.0.0", default-features = false, path = "../support" } | ||
| # `system` module provides us with all sorts of useful stuff and macros depend on it being around. | ||
| frame-system = { version = "3.0.0", default-features = false, path = "../system" } | ||
| frame-benchmarking = { version = "3.1.0", default-features = false, path = "../benchmarking", optional = true } | ||
|
|
||
| [dev-dependencies] | ||
| sp-core = { version = "3.0.0", path = "../../primitives/core" } | ||
| sp-std = { version = "3.0.0", path = "../../primitives/std" } | ||
| sp-io = { version = "3.0.0", path = "../../primitives/io" } | ||
| pallet-balances = { version = "3.0.0", path = "../balances" } | ||
| pallet-assets = { version = "3.0.0", default-features = false, path = "../assets" } | ||
|
|
||
| [features] | ||
| default = ["std"] | ||
| std = [ | ||
| "serde", | ||
| "codec/std", | ||
| "sp-std/std", | ||
| "sp-runtime/std", | ||
| "frame-support/std", | ||
| "frame-system/std", | ||
| "frame-benchmarking/std", | ||
| "pallet-assets/std", | ||
| ] | ||
| runtime-benchmarks = [ | ||
| "frame-benchmarking", | ||
| "sp-runtime/runtime-benchmarks", | ||
| "frame-system/runtime-benchmarks", | ||
| ] | ||
| try-runtime = ["frame-support/try-runtime"] | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| # Assets Freezer Pallet | ||
|
|
||
| ## Overview | ||
| ### Terminology | ||
| ### Goals | ||
|
|
||
| ## Interface | ||
| ### Dispatchable Functions | ||
| ### Public Functions | ||
|
|
||
| ## Usage | ||
| ### Prerequisites | ||
| ### Simple Code Snippet | ||
|
|
||
| ## Assumptions | ||
|
|
||
| ## Related Modules | ||
|
|
||
| * [`Assets`](https://docs.rs/frame-support/latest/pallet_assets/) | ||
|
|
||
| License: Apache-2.0 |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.