Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

FRAME: Assets Freezer pallet #8476

Closed
wants to merge 29 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
c88d83f
Work so far.
gavofyork Mar 28, 2021
0f63c24
Work so far
gavofyork Mar 28, 2021
6d4cccd
Last bits
gavofyork Mar 28, 2021
3c2e7bc
Some alterations to traits in preparation for Balanced Hold impl.
gavofyork Mar 29, 2021
109621e
Balanced Hold impl
gavofyork Mar 29, 2021
d9a5250
Warnings.
gavofyork Mar 29, 2021
02a697d
fungible traits for Hold.
gavofyork Mar 29, 2021
5fa1aa4
Merge remote-tracking branch 'origin/master' into gav-asset-freezer
gavofyork Mar 29, 2021
14a4f34
Fixes
gavofyork Mar 30, 2021
b1e91d6
Merge remote-tracking branch 'origin/master' into gav-asset-freezer
Apr 22, 2021
3bc8b23
Fix build
Apr 22, 2021
e2acff9
Freezer mock still not working
Apr 23, 2021
0d95e52
Merge remote-tracking branch 'origin/master' into gav-asset-freezer
Apr 26, 2021
92ea8ea
Fixes
Apr 26, 2021
3474105
Add some tests
May 4, 2021
35a2afe
Merge branch 'master' into gav-asset-freezer
May 4, 2021
db5a62c
Add more tests
May 4, 2021
1d012f4
Merge branch 'master' into gav-asset-freezer
shawntabrizi May 16, 2021
fbe7156
fix
shawntabrizi May 16, 2021
dbcfa7d
more fix
shawntabrizi May 16, 2021
4f99fb0
Update frame/assets-freezer/Cargo.toml
gavofyork May 19, 2021
82564cd
Update frame/assets/src/lib.rs
gavofyork May 27, 2021
aa7a5eb
merge master
joepetrowski May 27, 2021
21cbcc6
remove duplicate mint event
joepetrowski May 27, 2021
db17796
fix build
joepetrowski May 28, 2021
66132c5
bump spec
joepetrowski May 28, 2021
cc4a910
revert bump spec
joepetrowski May 28, 2021
802a20d
Merge branch 'master' into gav-asset-freezer
joepetrowski May 28, 2021
ac14c0e
Update frame/assets-freezer/src/lib.rs
apopiak May 28, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ members = [
"client/transaction-pool",
"client/transaction-pool/graph",
"frame/assets",
"frame/assets-freezer",
"frame/atomic-swap",
"frame/aura",
"frame/authority-discovery",
Expand Down
48 changes: 48 additions & 0 deletions frame/assets-freezer/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
[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" }
sp-runtime = { version = "3.0.0", default-features = false, path = "../../primitives/runtime" }
frame-support = { version = "3.0.0", default-features = false, path = "../support" }
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"]
21 changes: 21 additions & 0 deletions frame/assets-freezer/README.md
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
Loading