@@ -1,5 +1,13 @@
|
||||
# CHANGELOG
|
||||
|
||||
## 9.10.1 Dec 4, 2022
|
||||
|
||||
Changes:
|
||||
|
||||
- Update to latest Polkadot, Kusama & Substrate metadata
|
||||
- Update to `@polkadot/util` 10.2.1
|
||||
|
||||
|
||||
## 9.9.4 Nov 28, 2022
|
||||
|
||||
Changes:
|
||||
|
||||
+1
-1
@@ -39,7 +39,7 @@
|
||||
"@babel/core": "^7.20.2",
|
||||
"@babel/register": "^7.18.9",
|
||||
"@babel/runtime": "^7.20.1",
|
||||
"@polkadot/dev": "^0.67.163",
|
||||
"@polkadot/dev": "^0.67.167",
|
||||
"@polkadot/typegen": "workspace:packages/typegen",
|
||||
"@types/jest": "^29.2.3",
|
||||
"copyfiles": "^2.4.1"
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
"@polkadot/types": "9.9.5-1-x",
|
||||
"@polkadot/types-augment": "9.9.5-1-x",
|
||||
"@polkadot/types-codec": "9.9.5-1-x",
|
||||
"@polkadot/util": "^10.1.14"
|
||||
"@polkadot/util": "^10.2.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/types-support": "9.9.5-1-x"
|
||||
|
||||
@@ -1097,7 +1097,7 @@ declare module '@polkadot/api-base/types/storage' {
|
||||
/**
|
||||
* Past code of parachains. The parachains themselves may not be registered anymore,
|
||||
* but we also keep their code on-chain for the same amount of time as outdated code
|
||||
* to keep it available for secondary checkers.
|
||||
* to keep it available for approval checkers.
|
||||
**/
|
||||
pastCodeMeta: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<PolkadotRuntimeParachainsParasParaPastCodeMeta>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
||||
/**
|
||||
|
||||
@@ -1000,7 +1000,7 @@ declare module '@polkadot/api-base/types/storage' {
|
||||
/**
|
||||
* Past code of parachains. The parachains themselves may not be registered anymore,
|
||||
* but we also keep their code on-chain for the same amount of time as outdated code
|
||||
* to keep it available for secondary checkers.
|
||||
* to keep it available for approval checkers.
|
||||
**/
|
||||
pastCodeMeta: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<PolkadotRuntimeParachainsParasParaPastCodeMeta>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
||||
/**
|
||||
|
||||
@@ -239,10 +239,32 @@ declare module '@polkadot/api-base/types/consts' {
|
||||
* Changing this value for an existing chain might need a storage migration.
|
||||
**/
|
||||
depositPerItem: u128 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The maximum length of a contract code in bytes. This limit applies to the instrumented
|
||||
* version of the code. Therefore `instantiate_with_code` can fail even when supplying
|
||||
* a wasm binary below this maximum size.
|
||||
**/
|
||||
maxCodeLen: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The maximum allowable length in bytes for storage keys.
|
||||
**/
|
||||
maxStorageKeyLen: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Cost schedule and limits.
|
||||
**/
|
||||
schedule: PalletContractsSchedule & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Make contract callable functions marked as `#[unstable]` available.
|
||||
*
|
||||
* Contracts that use `#[unstable]` functions won't be able to be uploaded unless
|
||||
* this is set to `true`. This is only meant for testnets and dev nodes in order to
|
||||
* experiment with new features.
|
||||
*
|
||||
* # Warning
|
||||
*
|
||||
* Do **not** set to `true` on productions chains.
|
||||
**/
|
||||
unsafeUnstableInterface: bool & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* Generic const
|
||||
**/
|
||||
|
||||
@@ -271,6 +271,10 @@ declare module '@polkadot/api-base/types/storage' {
|
||||
* NOTE: This is only used in the case that this pallet is used to store balances.
|
||||
**/
|
||||
account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PalletBalancesAccountData>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
||||
/**
|
||||
* The total units of outstanding deactivated balance in the system.
|
||||
**/
|
||||
inactiveIssuance: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
|
||||
/**
|
||||
* Any liquidity locks on some account balances.
|
||||
* NOTE: Should only be accessed when setting, changing and freeing a lock.
|
||||
@@ -1711,6 +1715,10 @@ declare module '@polkadot/api-base/types/storage' {
|
||||
* Proposal indices that have been approved but not yet awarded.
|
||||
**/
|
||||
approvals: AugmentedQuery<ApiType, () => Observable<Vec<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||
/**
|
||||
* The amount which has been reported as inactive to Currency.
|
||||
**/
|
||||
inactive: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
|
||||
/**
|
||||
* Number of proposals that have been made.
|
||||
**/
|
||||
|
||||
@@ -403,36 +403,37 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
create: AugmentedSubmittable<(id: Compact<u32> | AnyNumber | Uint8Array, admin: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, minBalance: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, MultiAddress, u128]>;
|
||||
/**
|
||||
* Destroy all accounts associated with a given asset.
|
||||
* `destroy_accounts` should only be called after `start_destroy` has been called, and the
|
||||
* asset is in a `Destroying` state
|
||||
*
|
||||
* Due to weight restrictions, this function may need to be called multiple
|
||||
* times to fully destroy all accounts. It will destroy `RemoveItemsLimit` accounts at a
|
||||
* time.
|
||||
* `destroy_accounts` should only be called after `start_destroy` has been called, and the
|
||||
* asset is in a `Destroying` state.
|
||||
*
|
||||
* Due to weight restrictions, this function may need to be called multiple times to fully
|
||||
* destroy all accounts. It will destroy `RemoveItemsLimit` accounts at a time.
|
||||
*
|
||||
* - `id`: The identifier of the asset to be destroyed. This must identify an existing
|
||||
* asset.
|
||||
*
|
||||
* Each call Emits the `Event::DestroyedAccounts` event.
|
||||
* Each call emits the `Event::DestroyedAccounts` event.
|
||||
**/
|
||||
destroyAccounts: AugmentedSubmittable<(id: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
|
||||
/**
|
||||
* Destroy all approvals associated with a given asset up to the max (T::RemoveItemsLimit),
|
||||
* `destroy_approvals` should only be called after `start_destroy` has been called, and the
|
||||
* asset is in a `Destroying` state
|
||||
* Destroy all approvals associated with a given asset up to the max (T::RemoveItemsLimit).
|
||||
*
|
||||
* Due to weight restrictions, this function may need to be called multiple
|
||||
* times to fully destroy all approvals. It will destroy `RemoveItemsLimit` approvals at a
|
||||
* time.
|
||||
* `destroy_approvals` should only be called after `start_destroy` has been called, and the
|
||||
* asset is in a `Destroying` state.
|
||||
*
|
||||
* Due to weight restrictions, this function may need to be called multiple times to fully
|
||||
* destroy all approvals. It will destroy `RemoveItemsLimit` approvals at a time.
|
||||
*
|
||||
* - `id`: The identifier of the asset to be destroyed. This must identify an existing
|
||||
* asset.
|
||||
*
|
||||
* Each call Emits the `Event::DestroyedApprovals` event.
|
||||
* Each call emits the `Event::DestroyedApprovals` event.
|
||||
**/
|
||||
destroyApprovals: AugmentedSubmittable<(id: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
|
||||
/**
|
||||
* Complete destroying asset and unreserve currency.
|
||||
*
|
||||
* `finish_destroy` should only be called after `start_destroy` has been called, and the
|
||||
* asset is in a `Destroying` state. All accounts or approvals should be destroyed before
|
||||
* hand.
|
||||
@@ -440,7 +441,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
* - `id`: The identifier of the asset to be destroyed. This must identify an existing
|
||||
* asset.
|
||||
*
|
||||
* Each successful call Emits the `Event::Destroyed` event.
|
||||
* Each successful call emits the `Event::Destroyed` event.
|
||||
**/
|
||||
finishDestroy: AugmentedSubmittable<(id: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
|
||||
/**
|
||||
@@ -645,17 +646,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
||||
**/
|
||||
setTeam: AugmentedSubmittable<(id: Compact<u32> | AnyNumber | Uint8Array, issuer: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, admin: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, freezer: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, MultiAddress, MultiAddress, MultiAddress]>;
|
||||
/**
|
||||
* Start the process of destroying a class of fungible asset
|
||||
* start_destroy is the first in a series of extrinsics that should be called, to allow
|
||||
* destroying an asset.
|
||||
* Start the process of destroying a fungible asset class.
|
||||
*
|
||||
* The origin must conform to `ForceOrigin` or must be Signed and the sender must be the
|
||||
* owner of the asset `id`.
|
||||
* `start_destroy` is the first in a series of extrinsics that should be called, to allow
|
||||
* destruction of an asset class.
|
||||
*
|
||||
* The origin must conform to `ForceOrigin` or must be `Signed` by the asset's `owner`.
|
||||
*
|
||||
* - `id`: The identifier of the asset to be destroyed. This must identify an existing
|
||||
* asset.
|
||||
*
|
||||
* Assets must be freezed before calling start_destroy.
|
||||
* The asset class must be frozen before calling `start_destroy`.
|
||||
**/
|
||||
startDestroy: AugmentedSubmittable<(id: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
|
||||
/**
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
"@babel/runtime": "^7.20.1",
|
||||
"@polkadot/rpc-core": "9.9.5-1-x",
|
||||
"@polkadot/types": "9.9.5-1-x",
|
||||
"@polkadot/util": "^10.1.14",
|
||||
"@polkadot/util": "^10.2.1",
|
||||
"rxjs": "^7.5.7"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -28,12 +28,12 @@
|
||||
"@polkadot/types": "9.9.5-1-x",
|
||||
"@polkadot/types-codec": "9.9.5-1-x",
|
||||
"@polkadot/types-create": "9.9.5-1-x",
|
||||
"@polkadot/util": "^10.1.14",
|
||||
"@polkadot/util-crypto": "^10.1.14",
|
||||
"@polkadot/util": "^10.2.1",
|
||||
"@polkadot/util-crypto": "^10.2.1",
|
||||
"rxjs": "^7.5.7"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/api-augment": "9.9.5-1-x",
|
||||
"@polkadot/keyring": "^10.1.14"
|
||||
"@polkadot/keyring": "^10.2.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -30,8 +30,8 @@
|
||||
"@polkadot/rpc-core": "9.9.5-1-x",
|
||||
"@polkadot/types": "9.9.5-1-x",
|
||||
"@polkadot/types-codec": "9.9.5-1-x",
|
||||
"@polkadot/util": "^10.1.14",
|
||||
"@polkadot/util-crypto": "^10.1.14",
|
||||
"@polkadot/util": "^10.2.1",
|
||||
"@polkadot/util-crypto": "^10.2.1",
|
||||
"rxjs": "^7.5.7"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
"@polkadot/api-augment": "9.9.5-1-x",
|
||||
"@polkadot/api-base": "9.9.5-1-x",
|
||||
"@polkadot/api-derive": "9.9.5-1-x",
|
||||
"@polkadot/keyring": "^10.1.14",
|
||||
"@polkadot/keyring": "^10.2.1",
|
||||
"@polkadot/rpc-augment": "9.9.5-1-x",
|
||||
"@polkadot/rpc-core": "9.9.5-1-x",
|
||||
"@polkadot/rpc-provider": "9.9.5-1-x",
|
||||
@@ -36,8 +36,8 @@
|
||||
"@polkadot/types-codec": "9.9.5-1-x",
|
||||
"@polkadot/types-create": "9.9.5-1-x",
|
||||
"@polkadot/types-known": "9.9.5-1-x",
|
||||
"@polkadot/util": "^10.1.14",
|
||||
"@polkadot/util-crypto": "^10.1.14",
|
||||
"@polkadot/util": "^10.2.1",
|
||||
"@polkadot/util-crypto": "^10.2.1",
|
||||
"eventemitter3": "^4.0.7",
|
||||
"rxjs": "^7.5.7"
|
||||
},
|
||||
|
||||
@@ -27,6 +27,6 @@
|
||||
"@polkadot/rpc-core": "9.9.5-1-x",
|
||||
"@polkadot/types": "9.9.5-1-x",
|
||||
"@polkadot/types-codec": "9.9.5-1-x",
|
||||
"@polkadot/util": "^10.1.14"
|
||||
"@polkadot/util": "^10.2.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -27,11 +27,11 @@
|
||||
"@polkadot/rpc-augment": "9.9.5-1-x",
|
||||
"@polkadot/rpc-provider": "9.9.5-1-x",
|
||||
"@polkadot/types": "9.9.5-1-x",
|
||||
"@polkadot/util": "^10.1.14",
|
||||
"@polkadot/util": "^10.2.1",
|
||||
"rxjs": "^7.5.7"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/keyring": "^10.1.14",
|
||||
"@polkadot/keyring": "^10.2.1",
|
||||
"@polkadot/rpc-augment": "9.9.5-1-x"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -24,14 +24,14 @@
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.20.1",
|
||||
"@polkadot/keyring": "^10.1.14",
|
||||
"@polkadot/keyring": "^10.2.1",
|
||||
"@polkadot/types": "9.9.5-1-x",
|
||||
"@polkadot/types-support": "9.9.5-1-x",
|
||||
"@polkadot/util": "^10.1.14",
|
||||
"@polkadot/util-crypto": "^10.1.14",
|
||||
"@polkadot/x-fetch": "^10.1.14",
|
||||
"@polkadot/x-global": "^10.1.14",
|
||||
"@polkadot/x-ws": "^10.1.14",
|
||||
"@polkadot/util": "^10.2.1",
|
||||
"@polkadot/util-crypto": "^10.2.1",
|
||||
"@polkadot/x-fetch": "^10.2.1",
|
||||
"@polkadot/x-global": "^10.2.1",
|
||||
"@polkadot/x-ws": "^10.2.1",
|
||||
"@substrate/connect": "0.7.17",
|
||||
"eventemitter3": "^4.0.7",
|
||||
"mock-socket": "^9.1.5",
|
||||
|
||||
@@ -42,9 +42,9 @@
|
||||
"@polkadot/types-codec": "9.9.5-1-x",
|
||||
"@polkadot/types-create": "9.9.5-1-x",
|
||||
"@polkadot/types-support": "9.9.5-1-x",
|
||||
"@polkadot/util": "^10.1.14",
|
||||
"@polkadot/util-crypto": "^10.1.14",
|
||||
"@polkadot/x-ws": "^10.1.14",
|
||||
"@polkadot/util": "^10.2.1",
|
||||
"@polkadot/util-crypto": "^10.2.1",
|
||||
"@polkadot/x-ws": "^10.2.1",
|
||||
"handlebars": "^4.7.7",
|
||||
"websocket": "^1.0.34",
|
||||
"yargs": "^17.6.2"
|
||||
|
||||
@@ -26,6 +26,6 @@
|
||||
"@babel/runtime": "^7.20.1",
|
||||
"@polkadot/types": "9.9.5-1-x",
|
||||
"@polkadot/types-codec": "9.9.5-1-x",
|
||||
"@polkadot/util": "^10.1.14"
|
||||
"@polkadot/util": "^10.2.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -24,13 +24,13 @@
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.20.1",
|
||||
"@polkadot/util": "^10.1.14",
|
||||
"@polkadot/x-bigint": "^10.1.14"
|
||||
"@polkadot/util": "^10.2.1",
|
||||
"@polkadot/x-bigint": "^10.2.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/types": "9.9.5-1-x",
|
||||
"@polkadot/types-augment": "9.9.5-1-x",
|
||||
"@polkadot/types-support": "9.9.5-1-x",
|
||||
"@polkadot/util-crypto": "^10.1.14"
|
||||
"@polkadot/util-crypto": "^10.2.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.20.1",
|
||||
"@polkadot/types-codec": "9.9.5-1-x",
|
||||
"@polkadot/util": "^10.1.14"
|
||||
"@polkadot/util": "^10.2.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/types": "9.9.5-1-x"
|
||||
|
||||
@@ -24,11 +24,11 @@
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.20.1",
|
||||
"@polkadot/networks": "^10.1.14",
|
||||
"@polkadot/networks": "^10.2.1",
|
||||
"@polkadot/types": "9.9.5-1-x",
|
||||
"@polkadot/types-codec": "9.9.5-1-x",
|
||||
"@polkadot/types-create": "9.9.5-1-x",
|
||||
"@polkadot/util": "^10.1.14"
|
||||
"@polkadot/util": "^10.2.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/api": "9.9.5-1-x"
|
||||
|
||||
@@ -24,6 +24,6 @@
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.20.1",
|
||||
"@polkadot/util": "^10.1.14"
|
||||
"@polkadot/util": "^10.2.1"
|
||||
}
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -268,7 +268,7 @@
|
||||
{
|
||||
"name": "Version",
|
||||
"type": 496,
|
||||
"value": "0x186b7573616d61347061726974792d6b7573616d61020000005e2400000000000040df6acb689907609b0400000037e397fc7c91f5e40100000040fe3ad401f8959a06000000d2bc9897eed08f1503000000f78b278be53f454c02000000af2c0297a23e6d3d0200000049eaaf1b548a0cb00100000091d5df18b0d2cf5801000000ed99c5acb25eedf503000000cbca25e39f14238702000000687ad44ad37f03c201000000ab3c0572291feb8b01000000bc9d89904f5b923f0100000037c8bb1350a9a2a802000000f3ff14d5ab5270590200000017a6bc0d0062aeb3010000000f00000000",
|
||||
"value": "0x186b7573616d61347061726974792d6b7573616d6102000000722400000000000040df6acb689907609b0400000037e397fc7c91f5e40100000040fe3ad401f8959a06000000d2bc9897eed08f1503000000f78b278be53f454c02000000af2c0297a23e6d3d0200000049eaaf1b548a0cb00100000091d5df18b0d2cf5801000000ed99c5acb25eedf503000000cbca25e39f14238702000000687ad44ad37f03c201000000ab3c0572291feb8b01000000bc9d89904f5b923f0100000037c8bb1350a9a2a802000000f3ff14d5ab5270590200000017a6bc0d0062aeb3010000001000000000",
|
||||
"docs": [
|
||||
" Get the chain's current version."
|
||||
]
|
||||
@@ -6266,7 +6266,7 @@
|
||||
"docs": [
|
||||
" Past code of parachains. The parachains themselves may not be registered anymore,",
|
||||
" but we also keep their code on-chain for the same amount of time as outdated code",
|
||||
" to keep it available for secondary checkers."
|
||||
" to keep it available for approval checkers."
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -268,7 +268,7 @@
|
||||
{
|
||||
"name": "Version",
|
||||
"type": 172,
|
||||
"value": "0x20706f6c6b61646f743c7061726974792d706f6c6b61646f74000000005e2400000000000040df6acb689907609b0400000037e397fc7c91f5e40100000040fe3ad401f8959a0600000017a6bc0d0062aeb301000000d2bc9897eed08f1503000000f78b278be53f454c02000000af2c0297a23e6d3d0200000049eaaf1b548a0cb00100000091d5df18b0d2cf5801000000ed99c5acb25eedf503000000cbca25e39f14238702000000687ad44ad37f03c201000000ab3c0572291feb8b01000000bc9d89904f5b923f0100000037c8bb1350a9a2a802000000f3ff14d5ab527059020000001000000000",
|
||||
"value": "0x20706f6c6b61646f743c7061726974792d706f6c6b61646f7400000000722400000000000040df6acb689907609b0400000037e397fc7c91f5e40100000040fe3ad401f8959a0600000017a6bc0d0062aeb301000000d2bc9897eed08f1503000000f78b278be53f454c02000000af2c0297a23e6d3d0200000049eaaf1b548a0cb00100000091d5df18b0d2cf5801000000ed99c5acb25eedf503000000cbca25e39f14238702000000687ad44ad37f03c201000000ab3c0572291feb8b01000000bc9d89904f5b923f0100000037c8bb1350a9a2a802000000f3ff14d5ab527059020000001100000000",
|
||||
"docs": [
|
||||
" Get the chain's current version."
|
||||
]
|
||||
@@ -5180,7 +5180,7 @@
|
||||
"docs": [
|
||||
" Past code of parachains. The parachains themselves may not be registered anymore,",
|
||||
" but we also keep their code on-chain for the same amount of time as outdated code",
|
||||
" to keep it available for secondary checkers."
|
||||
" to keep it available for approval checkers."
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -748,6 +748,17 @@
|
||||
" The total units issued in the system."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "InactiveIssuance",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"plain": 6
|
||||
},
|
||||
"fallback": "0x00000000000000000000000000000000",
|
||||
"docs": [
|
||||
" The total units of outstanding deactivated balance in the system."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Account",
|
||||
"modifier": "Default",
|
||||
@@ -2941,6 +2952,17 @@
|
||||
" Proposals that have been made."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Inactive",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"plain": 6
|
||||
},
|
||||
"fallback": "0x00000000000000000000000000000000",
|
||||
"docs": [
|
||||
" The amount which has been reported as inactive to Currency."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Approvals",
|
||||
"modifier": "Default",
|
||||
@@ -3222,6 +3244,40 @@
|
||||
"",
|
||||
" Changing this value for an existing chain might need a storage migration."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "MaxCodeLen",
|
||||
"type": 4,
|
||||
"value": "0x00000200",
|
||||
"docs": [
|
||||
" The maximum length of a contract code in bytes. This limit applies to the instrumented",
|
||||
" version of the code. Therefore `instantiate_with_code` can fail even when supplying",
|
||||
" a wasm binary below this maximum size."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "MaxStorageKeyLen",
|
||||
"type": 4,
|
||||
"value": "0x80000000",
|
||||
"docs": [
|
||||
" The maximum allowable length in bytes for storage keys."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "UnsafeUnstableInterface",
|
||||
"type": 40,
|
||||
"value": "0x00",
|
||||
"docs": [
|
||||
" Make contract callable functions marked as `#[unstable]` available.",
|
||||
"",
|
||||
" Contracts that use `#[unstable]` functions won't be able to be uploaded unless",
|
||||
" this is set to `true`. This is only meant for testnets and dev nodes in order to",
|
||||
" experiment with new features.",
|
||||
"",
|
||||
" # Warning",
|
||||
"",
|
||||
" Do **not** set to `true` on productions chains."
|
||||
]
|
||||
}
|
||||
],
|
||||
"errors": {
|
||||
|
||||
@@ -21678,7 +21678,7 @@
|
||||
{
|
||||
"name": "id",
|
||||
"type": 127,
|
||||
"typeName": "T::AssetId",
|
||||
"typeName": "T::AssetIdParameter",
|
||||
"docs": []
|
||||
},
|
||||
{
|
||||
@@ -21723,7 +21723,7 @@
|
||||
{
|
||||
"name": "id",
|
||||
"type": 127,
|
||||
"typeName": "T::AssetId",
|
||||
"typeName": "T::AssetIdParameter",
|
||||
"docs": []
|
||||
},
|
||||
{
|
||||
@@ -21774,23 +21774,23 @@
|
||||
{
|
||||
"name": "id",
|
||||
"type": 127,
|
||||
"typeName": "T::AssetId",
|
||||
"typeName": "T::AssetIdParameter",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
"index": 2,
|
||||
"docs": [
|
||||
"Start the process of destroying a class of fungible asset",
|
||||
"start_destroy is the first in a series of extrinsics that should be called, to allow",
|
||||
"destroying an asset.",
|
||||
"Start the process of destroying a fungible asset class.",
|
||||
"",
|
||||
"The origin must conform to `ForceOrigin` or must be Signed and the sender must be the",
|
||||
"owner of the asset `id`.",
|
||||
"`start_destroy` is the first in a series of extrinsics that should be called, to allow",
|
||||
"destruction of an asset class.",
|
||||
"",
|
||||
"The origin must conform to `ForceOrigin` or must be `Signed` by the asset's `owner`.",
|
||||
"",
|
||||
"- `id`: The identifier of the asset to be destroyed. This must identify an existing",
|
||||
" asset.",
|
||||
"",
|
||||
"Assets must be freezed before calling start_destroy."
|
||||
"The asset class must be frozen before calling `start_destroy`."
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -21799,24 +21799,24 @@
|
||||
{
|
||||
"name": "id",
|
||||
"type": 127,
|
||||
"typeName": "T::AssetId",
|
||||
"typeName": "T::AssetIdParameter",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
"index": 3,
|
||||
"docs": [
|
||||
"Destroy all accounts associated with a given asset.",
|
||||
"`destroy_accounts` should only be called after `start_destroy` has been called, and the",
|
||||
"asset is in a `Destroying` state",
|
||||
"",
|
||||
"Due to weight restrictions, this function may need to be called multiple",
|
||||
"times to fully destroy all accounts. It will destroy `RemoveItemsLimit` accounts at a",
|
||||
"time.",
|
||||
"`destroy_accounts` should only be called after `start_destroy` has been called, and the",
|
||||
"asset is in a `Destroying` state.",
|
||||
"",
|
||||
"Due to weight restrictions, this function may need to be called multiple times to fully",
|
||||
"destroy all accounts. It will destroy `RemoveItemsLimit` accounts at a time.",
|
||||
"",
|
||||
"- `id`: The identifier of the asset to be destroyed. This must identify an existing",
|
||||
" asset.",
|
||||
"",
|
||||
"Each call Emits the `Event::DestroyedAccounts` event."
|
||||
"Each call emits the `Event::DestroyedAccounts` event."
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -21825,24 +21825,24 @@
|
||||
{
|
||||
"name": "id",
|
||||
"type": 127,
|
||||
"typeName": "T::AssetId",
|
||||
"typeName": "T::AssetIdParameter",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
"index": 4,
|
||||
"docs": [
|
||||
"Destroy all approvals associated with a given asset up to the max (T::RemoveItemsLimit),",
|
||||
"`destroy_approvals` should only be called after `start_destroy` has been called, and the",
|
||||
"asset is in a `Destroying` state",
|
||||
"Destroy all approvals associated with a given asset up to the max (T::RemoveItemsLimit).",
|
||||
"",
|
||||
"Due to weight restrictions, this function may need to be called multiple",
|
||||
"times to fully destroy all approvals. It will destroy `RemoveItemsLimit` approvals at a",
|
||||
"time.",
|
||||
"`destroy_approvals` should only be called after `start_destroy` has been called, and the",
|
||||
"asset is in a `Destroying` state.",
|
||||
"",
|
||||
"Due to weight restrictions, this function may need to be called multiple times to fully",
|
||||
"destroy all approvals. It will destroy `RemoveItemsLimit` approvals at a time.",
|
||||
"",
|
||||
"- `id`: The identifier of the asset to be destroyed. This must identify an existing",
|
||||
" asset.",
|
||||
"",
|
||||
"Each call Emits the `Event::DestroyedApprovals` event."
|
||||
"Each call emits the `Event::DestroyedApprovals` event."
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -21851,13 +21851,14 @@
|
||||
{
|
||||
"name": "id",
|
||||
"type": 127,
|
||||
"typeName": "T::AssetId",
|
||||
"typeName": "T::AssetIdParameter",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
"index": 5,
|
||||
"docs": [
|
||||
"Complete destroying asset and unreserve currency.",
|
||||
"",
|
||||
"`finish_destroy` should only be called after `start_destroy` has been called, and the",
|
||||
"asset is in a `Destroying` state. All accounts or approvals should be destroyed before",
|
||||
"hand.",
|
||||
@@ -21865,7 +21866,7 @@
|
||||
"- `id`: The identifier of the asset to be destroyed. This must identify an existing",
|
||||
" asset.",
|
||||
"",
|
||||
"Each successful call Emits the `Event::Destroyed` event."
|
||||
"Each successful call emits the `Event::Destroyed` event."
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -21874,7 +21875,7 @@
|
||||
{
|
||||
"name": "id",
|
||||
"type": 127,
|
||||
"typeName": "T::AssetId",
|
||||
"typeName": "T::AssetIdParameter",
|
||||
"docs": []
|
||||
},
|
||||
{
|
||||
@@ -21912,7 +21913,7 @@
|
||||
{
|
||||
"name": "id",
|
||||
"type": 127,
|
||||
"typeName": "T::AssetId",
|
||||
"typeName": "T::AssetIdParameter",
|
||||
"docs": []
|
||||
},
|
||||
{
|
||||
@@ -21953,7 +21954,7 @@
|
||||
{
|
||||
"name": "id",
|
||||
"type": 127,
|
||||
"typeName": "T::AssetId",
|
||||
"typeName": "T::AssetIdParameter",
|
||||
"docs": []
|
||||
},
|
||||
{
|
||||
@@ -21997,7 +21998,7 @@
|
||||
{
|
||||
"name": "id",
|
||||
"type": 127,
|
||||
"typeName": "T::AssetId",
|
||||
"typeName": "T::AssetIdParameter",
|
||||
"docs": []
|
||||
},
|
||||
{
|
||||
@@ -22041,7 +22042,7 @@
|
||||
{
|
||||
"name": "id",
|
||||
"type": 127,
|
||||
"typeName": "T::AssetId",
|
||||
"typeName": "T::AssetIdParameter",
|
||||
"docs": []
|
||||
},
|
||||
{
|
||||
@@ -22092,7 +22093,7 @@
|
||||
{
|
||||
"name": "id",
|
||||
"type": 127,
|
||||
"typeName": "T::AssetId",
|
||||
"typeName": "T::AssetIdParameter",
|
||||
"docs": []
|
||||
},
|
||||
{
|
||||
@@ -22122,7 +22123,7 @@
|
||||
{
|
||||
"name": "id",
|
||||
"type": 127,
|
||||
"typeName": "T::AssetId",
|
||||
"typeName": "T::AssetIdParameter",
|
||||
"docs": []
|
||||
},
|
||||
{
|
||||
@@ -22152,7 +22153,7 @@
|
||||
{
|
||||
"name": "id",
|
||||
"type": 127,
|
||||
"typeName": "T::AssetId",
|
||||
"typeName": "T::AssetIdParameter",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -22175,7 +22176,7 @@
|
||||
{
|
||||
"name": "id",
|
||||
"type": 127,
|
||||
"typeName": "T::AssetId",
|
||||
"typeName": "T::AssetIdParameter",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -22198,7 +22199,7 @@
|
||||
{
|
||||
"name": "id",
|
||||
"type": 127,
|
||||
"typeName": "T::AssetId",
|
||||
"typeName": "T::AssetIdParameter",
|
||||
"docs": []
|
||||
},
|
||||
{
|
||||
@@ -22228,7 +22229,7 @@
|
||||
{
|
||||
"name": "id",
|
||||
"type": 127,
|
||||
"typeName": "T::AssetId",
|
||||
"typeName": "T::AssetIdParameter",
|
||||
"docs": []
|
||||
},
|
||||
{
|
||||
@@ -22272,7 +22273,7 @@
|
||||
{
|
||||
"name": "id",
|
||||
"type": 127,
|
||||
"typeName": "T::AssetId",
|
||||
"typeName": "T::AssetIdParameter",
|
||||
"docs": []
|
||||
},
|
||||
{
|
||||
@@ -22320,7 +22321,7 @@
|
||||
{
|
||||
"name": "id",
|
||||
"type": 127,
|
||||
"typeName": "T::AssetId",
|
||||
"typeName": "T::AssetIdParameter",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -22345,7 +22346,7 @@
|
||||
{
|
||||
"name": "id",
|
||||
"type": 127,
|
||||
"typeName": "T::AssetId",
|
||||
"typeName": "T::AssetIdParameter",
|
||||
"docs": []
|
||||
},
|
||||
{
|
||||
@@ -22397,7 +22398,7 @@
|
||||
{
|
||||
"name": "id",
|
||||
"type": 127,
|
||||
"typeName": "T::AssetId",
|
||||
"typeName": "T::AssetIdParameter",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -22422,7 +22423,7 @@
|
||||
{
|
||||
"name": "id",
|
||||
"type": 127,
|
||||
"typeName": "T::AssetId",
|
||||
"typeName": "T::AssetIdParameter",
|
||||
"docs": []
|
||||
},
|
||||
{
|
||||
@@ -22500,7 +22501,7 @@
|
||||
{
|
||||
"name": "id",
|
||||
"type": 127,
|
||||
"typeName": "T::AssetId",
|
||||
"typeName": "T::AssetIdParameter",
|
||||
"docs": []
|
||||
},
|
||||
{
|
||||
@@ -22546,7 +22547,7 @@
|
||||
{
|
||||
"name": "id",
|
||||
"type": 127,
|
||||
"typeName": "T::AssetId",
|
||||
"typeName": "T::AssetIdParameter",
|
||||
"docs": []
|
||||
},
|
||||
{
|
||||
@@ -22579,7 +22580,7 @@
|
||||
{
|
||||
"name": "id",
|
||||
"type": 127,
|
||||
"typeName": "T::AssetId",
|
||||
"typeName": "T::AssetIdParameter",
|
||||
"docs": []
|
||||
},
|
||||
{
|
||||
@@ -22618,7 +22619,7 @@
|
||||
{
|
||||
"name": "id",
|
||||
"type": 127,
|
||||
"typeName": "T::AssetId",
|
||||
"typeName": "T::AssetIdParameter",
|
||||
"docs": []
|
||||
},
|
||||
{
|
||||
@@ -22668,7 +22669,7 @@
|
||||
{
|
||||
"name": "id",
|
||||
"type": 127,
|
||||
"typeName": "T::AssetId",
|
||||
"typeName": "T::AssetIdParameter",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
@@ -22691,7 +22692,7 @@
|
||||
{
|
||||
"name": "id",
|
||||
"type": 127,
|
||||
"typeName": "T::AssetId",
|
||||
"typeName": "T::AssetIdParameter",
|
||||
"docs": []
|
||||
},
|
||||
{
|
||||
|
||||
@@ -24,16 +24,16 @@
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.20.1",
|
||||
"@polkadot/keyring": "^10.1.14",
|
||||
"@polkadot/keyring": "^10.2.1",
|
||||
"@polkadot/types-augment": "9.9.5-1-x",
|
||||
"@polkadot/types-codec": "9.9.5-1-x",
|
||||
"@polkadot/types-create": "9.9.5-1-x",
|
||||
"@polkadot/util": "^10.1.14",
|
||||
"@polkadot/util-crypto": "^10.1.14",
|
||||
"@polkadot/util": "^10.2.1",
|
||||
"@polkadot/util-crypto": "^10.2.1",
|
||||
"rxjs": "^7.5.7"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/keyring": "^10.1.14",
|
||||
"@polkadot/keyring": "^10.2.1",
|
||||
"@polkadot/types-support": "9.9.5-1-x"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -19,7 +19,7 @@ export const AllConvictions = [
|
||||
'Locked4x',
|
||||
// 5x votes, locked for 16x...
|
||||
'Locked5x',
|
||||
/// 6x votes, locked for 32x...
|
||||
// 6x votes, locked for 32x...
|
||||
'Locked6x'
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user