Bump static metadata (#3913)
This commit is contained in:
@@ -1,5 +1,12 @@
|
||||
# CHANGELOG
|
||||
|
||||
## master
|
||||
|
||||
Changes:
|
||||
|
||||
- Bump static metadata for latest Substrate, Polkadot & Kusama
|
||||
|
||||
|
||||
## 5.7.1 Aug 29, 2021
|
||||
|
||||
Upgrade priority: Low.
|
||||
|
||||
@@ -859,6 +859,7 @@ declare module '@polkadot/api/types/consts' {
|
||||
[key: string]: Codec;
|
||||
};
|
||||
vesting: {
|
||||
maxVestingSchedules: u32 & AugmentedConst<ApiType>;
|
||||
/**
|
||||
* The minimum amount transferred to call `vested_transfer`.
|
||||
**/
|
||||
|
||||
@@ -1538,13 +1538,22 @@ declare module '@polkadot/api/types/errors' {
|
||||
**/
|
||||
AmountLow: AugmentedError<ApiType>;
|
||||
/**
|
||||
* An existing vesting schedule already exists for this account that cannot be clobbered.
|
||||
* The account already has `MaxVestingSchedules` count of schedules and thus
|
||||
* cannot add another one. Consider merging existing schedules in order to add another.
|
||||
**/
|
||||
ExistingVestingSchedule: AugmentedError<ApiType>;
|
||||
AtMaxVestingSchedules: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Failed to create a new schedule because some parameter was invalid.
|
||||
**/
|
||||
InvalidScheduleParams: AugmentedError<ApiType>;
|
||||
/**
|
||||
* The account given is not vesting.
|
||||
**/
|
||||
NotVesting: AugmentedError<ApiType>;
|
||||
/**
|
||||
* An index was out of bounds of the vesting schedules.
|
||||
**/
|
||||
ScheduleIndexOutOfBounds: AugmentedError<ApiType>;
|
||||
/**
|
||||
* Generic error
|
||||
**/
|
||||
|
||||
@@ -654,6 +654,10 @@ declare module '@polkadot/api/types/events' {
|
||||
* disambiguation_index\]
|
||||
**/
|
||||
AnonymousCreated: AugmentedEvent<ApiType, [AccountId, AccountId, ProxyType, u16]>;
|
||||
/**
|
||||
* A proxy was added. \[delegator, delegatee, proxy_type, delay\]
|
||||
**/
|
||||
ProxyAdded: AugmentedEvent<ApiType, [AccountId, AccountId, ProxyType, BlockNumber]>;
|
||||
/**
|
||||
* A proxy was executed correctly, with the given \[result\].
|
||||
**/
|
||||
@@ -1127,7 +1131,7 @@ declare module '@polkadot/api/types/events' {
|
||||
**/
|
||||
Frozen: AugmentedEvent<ApiType, [ClassId, InstanceId]>;
|
||||
/**
|
||||
* An asset `instace` was issued. \[ class, instance, owner \]
|
||||
* An asset `instance` was issued. \[ class, instance, owner \]
|
||||
**/
|
||||
Issued: AugmentedEvent<ApiType, [ClassId, InstanceId, AccountId]>;
|
||||
/**
|
||||
@@ -1156,7 +1160,7 @@ declare module '@polkadot/api/types/events' {
|
||||
**/
|
||||
Thawed: AugmentedEvent<ApiType, [ClassId, InstanceId]>;
|
||||
/**
|
||||
* An asset `instace` was transferred. \[ class, instance, from, to \]
|
||||
* An asset `instance` was transferred. \[ class, instance, from, to \]
|
||||
**/
|
||||
Transferred: AugmentedEvent<ApiType, [ClassId, InstanceId, AccountId, AccountId]>;
|
||||
/**
|
||||
@@ -1185,12 +1189,12 @@ declare module '@polkadot/api/types/events' {
|
||||
};
|
||||
vesting: {
|
||||
/**
|
||||
* An \[account\] has become fully vested. No further vesting can happen.
|
||||
* An \[account\] has become fully vested.
|
||||
**/
|
||||
VestingCompleted: AugmentedEvent<ApiType, [AccountId]>;
|
||||
/**
|
||||
* The amount vested has been updated. This could indicate more funds are available. The
|
||||
* balance given is the amount which is left unvested (and thus locked).
|
||||
* The amount vested has been updated. This could indicate a change in funds available.
|
||||
* The balance given is the amount which is left unvested (and thus locked).
|
||||
* \[account, unvested\]
|
||||
**/
|
||||
VestingUpdated: AugmentedEvent<ApiType, [AccountId, Balance]>;
|
||||
|
||||
@@ -1146,6 +1146,9 @@ declare module '@polkadot/api/types/storage' {
|
||||
eventCount: AugmentedQuery<ApiType, () => Observable<EventIndex>, []> & QueryableStorageEntry<ApiType, []>;
|
||||
/**
|
||||
* Events deposited for the current block.
|
||||
*
|
||||
* NOTE: This storage item is explicitly unbounded since it is never intended to be read
|
||||
* from within the runtime.
|
||||
**/
|
||||
events: AugmentedQuery<ApiType, () => Observable<Vec<EventRecord>>, []> & QueryableStorageEntry<ApiType, []>;
|
||||
/**
|
||||
@@ -1372,10 +1375,16 @@ declare module '@polkadot/api/types/storage' {
|
||||
[key: string]: QueryableStorageEntry<ApiType>;
|
||||
};
|
||||
vesting: {
|
||||
/**
|
||||
* Storage version of the pallet.
|
||||
*
|
||||
* New networks start with latest version, as determined by the genesis build.
|
||||
**/
|
||||
storageVersion: AugmentedQuery<ApiType, () => Observable<Releases>, []> & QueryableStorageEntry<ApiType, []>;
|
||||
/**
|
||||
* Information regarding the vesting of a given account.
|
||||
**/
|
||||
vesting: AugmentedQuery<ApiType, (arg: AccountId | string | Uint8Array) => Observable<Option<VestingInfo>>, [AccountId]> & QueryableStorageEntry<ApiType, [AccountId]>;
|
||||
vesting: AugmentedQuery<ApiType, (arg: AccountId | string | Uint8Array) => Observable<Option<Vec<VestingInfo>>>, [AccountId]> & QueryableStorageEntry<ApiType, [AccountId]>;
|
||||
/**
|
||||
* Generic query
|
||||
**/
|
||||
|
||||
@@ -4391,11 +4391,12 @@ declare module '@polkadot/api/types/submittable' {
|
||||
*
|
||||
* - `source`: The account whose funds should be transferred.
|
||||
* - `target`: The account that should be transferred the vested funds.
|
||||
* - `amount`: The amount of funds to transfer and will be vested.
|
||||
* - `schedule`: The vesting schedule attached to the transfer.
|
||||
*
|
||||
* Emits `VestingCreated`.
|
||||
*
|
||||
* NOTE: This will unlock all schedules through the current block.
|
||||
*
|
||||
* # <weight>
|
||||
* - `O(1)`.
|
||||
* - DbWeight: 4 Reads, 4 Writes
|
||||
@@ -4404,6 +4405,30 @@ declare module '@polkadot/api/types/submittable' {
|
||||
* # </weight>
|
||||
**/
|
||||
forceVestedTransfer: AugmentedSubmittable<(source: LookupSource | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, target: LookupSource | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, schedule: VestingInfo | { locked?: any; perBlock?: any; startingBlock?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [LookupSource, LookupSource, VestingInfo]>;
|
||||
/**
|
||||
* Merge two vesting schedules together, creating a new vesting schedule that unlocks over
|
||||
* the highest possible start and end blocks. If both schedules have already started the
|
||||
* current block will be used as the schedule start; with the caveat that if one schedule
|
||||
* is finished by the current block, the other will be treated as the new merged schedule,
|
||||
* unmodified.
|
||||
*
|
||||
* NOTE: If `schedule1_index == schedule2_index` this is a no-op.
|
||||
* NOTE: This will unlock all schedules through the current block prior to merging.
|
||||
* NOTE: If both schedules have ended by the current block, no new schedule will be created
|
||||
* and both will be removed.
|
||||
*
|
||||
* Merged schedule attributes:
|
||||
* - `starting_block`: `MAX(schedule1.starting_block, scheduled2.starting_block,
|
||||
* current_block)`.
|
||||
* - `ending_block`: `MAX(schedule1.ending_block, schedule2.ending_block)`.
|
||||
* - `locked`: `schedule1.locked_at(current_block) + schedule2.locked_at(current_block)`.
|
||||
*
|
||||
* The dispatch origin for this call must be _Signed_.
|
||||
*
|
||||
* - `schedule1_index`: index of the first schedule to merge.
|
||||
* - `schedule2_index`: index of the second schedule to merge.
|
||||
**/
|
||||
mergeSchedules: AugmentedSubmittable<(schedule1Index: u32 | AnyNumber | Uint8Array, schedule2Index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
|
||||
/**
|
||||
* Unlock any vested funds of the sender account.
|
||||
*
|
||||
@@ -4425,12 +4450,13 @@ declare module '@polkadot/api/types/submittable' {
|
||||
*
|
||||
* The dispatch origin for this call must be _Signed_.
|
||||
*
|
||||
* - `target`: The account that should be transferred the vested funds.
|
||||
* - `amount`: The amount of funds to transfer and will be vested.
|
||||
* - `target`: The account receiving the vested funds.
|
||||
* - `schedule`: The vesting schedule attached to the transfer.
|
||||
*
|
||||
* Emits `VestingCreated`.
|
||||
*
|
||||
* NOTE: This will unlock all schedules through the current block.
|
||||
*
|
||||
* # <weight>
|
||||
* - `O(1)`.
|
||||
* - DbWeight: 3 Reads, 3 Writes
|
||||
|
||||
@@ -195,6 +195,7 @@ const versioned: OverrideVersionedType[] = [
|
||||
...sharedTypes,
|
||||
AssetInstance: 'AssetInstanceV0',
|
||||
MultiAsset: 'MultiAssetV0',
|
||||
Response: 'ResponseV0',
|
||||
Xcm: 'XcmV0',
|
||||
XcmOrder: 'XcmOrderV0'
|
||||
}
|
||||
|
||||
@@ -43,6 +43,7 @@ const versioned: OverrideVersionedType[] = [
|
||||
...sharedTypes,
|
||||
AssetInstance: 'AssetInstanceV0',
|
||||
MultiAsset: 'MultiAssetV0',
|
||||
Response: 'ResponseV0',
|
||||
Xcm: 'XcmV0',
|
||||
XcmOrder: 'XcmOrderV0'
|
||||
}
|
||||
|
||||
@@ -24,6 +24,7 @@ const versioned: OverrideVersionedType[] = [
|
||||
},
|
||||
AssetInstance: 'AssetInstanceV0',
|
||||
MultiAsset: 'MultiAssetV0',
|
||||
Response: 'ResponseV0',
|
||||
Xcm: 'XcmV0',
|
||||
XcmOrder: 'XcmOrderV0'
|
||||
}
|
||||
|
||||
@@ -94,6 +94,7 @@ const versioned: OverrideVersionedType[] = [
|
||||
...sharedTypes,
|
||||
AssetInstance: 'AssetInstanceV0',
|
||||
MultiAsset: 'MultiAssetV0',
|
||||
Response: 'ResponseV0',
|
||||
Xcm: 'XcmV0',
|
||||
XcmOrder: 'XcmOrderV0'
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -130,7 +130,10 @@
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"docs": [
|
||||
" Events deposited for the current block."
|
||||
" Events deposited for the current block.",
|
||||
"",
|
||||
" NOTE: This storage item is explicitly unbounded since it is never intended to be read",
|
||||
" from within the runtime."
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -500,7 +503,7 @@
|
||||
{
|
||||
"name": "Version",
|
||||
"type": "RuntimeVersion",
|
||||
"value": "0x186b7573616d61347061726974792d6b7573616d6102000000822300000000000038df6acb689907609b0300000037e397fc7c91f5e40100000040fe3ad401f8959a05000000d2bc9897eed08f1503000000f78b278be53f454c02000000af2c0297a23e6d3d0100000049eaaf1b548a0cb00100000091d5df18b0d2cf5801000000ed99c5acb25eedf503000000cbca25e39f14238702000000687ad44ad37f03c201000000ab3c0572291feb8b01000000bc9d89904f5b923f0100000037c8bb1350a9a2a80100000005000000",
|
||||
"value": "0x186b7573616d61347061726974792d6b7573616d61020000008c2300000000000038df6acb689907609b0300000037e397fc7c91f5e40100000040fe3ad401f8959a05000000d2bc9897eed08f1503000000f78b278be53f454c02000000af2c0297a23e6d3d0100000049eaaf1b548a0cb00100000091d5df18b0d2cf5801000000ed99c5acb25eedf503000000cbca25e39f14238702000000687ad44ad37f03c201000000ab3c0572291feb8b01000000bc9d89904f5b923f0100000037c8bb1350a9a2a80100000005000000",
|
||||
"docs": [
|
||||
" Get the chain's current version."
|
||||
]
|
||||
@@ -9804,7 +9807,7 @@
|
||||
"map": {
|
||||
"hasher": "Blake2_128Concat",
|
||||
"key": "AccountId",
|
||||
"value": "VestingInfo",
|
||||
"value": "Vec<VestingInfo>",
|
||||
"linked": false
|
||||
}
|
||||
},
|
||||
@@ -9812,6 +9815,19 @@
|
||||
"docs": [
|
||||
" Information regarding the vesting of a given account."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "StorageVersion",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"plain": "Releases"
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"docs": [
|
||||
" Storage version of the pallet.",
|
||||
"",
|
||||
" New networks start with latest version, as determined by the genesis build."
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -9878,12 +9894,13 @@
|
||||
"",
|
||||
" The dispatch origin for this call must be _Signed_.",
|
||||
"",
|
||||
" - `target`: The account that should be transferred the vested funds.",
|
||||
" - `amount`: The amount of funds to transfer and will be vested.",
|
||||
" - `target`: The account receiving the vested funds.",
|
||||
" - `schedule`: The vesting schedule attached to the transfer.",
|
||||
"",
|
||||
" Emits `VestingCreated`.",
|
||||
"",
|
||||
" NOTE: This will unlock all schedules through the current block.",
|
||||
"",
|
||||
" # <weight>",
|
||||
" - `O(1)`.",
|
||||
" - DbWeight: 3 Reads, 3 Writes",
|
||||
@@ -9915,11 +9932,12 @@
|
||||
"",
|
||||
" - `source`: The account whose funds should be transferred.",
|
||||
" - `target`: The account that should be transferred the vested funds.",
|
||||
" - `amount`: The amount of funds to transfer and will be vested.",
|
||||
" - `schedule`: The vesting schedule attached to the transfer.",
|
||||
"",
|
||||
" Emits `VestingCreated`.",
|
||||
"",
|
||||
" NOTE: This will unlock all schedules through the current block.",
|
||||
"",
|
||||
" # <weight>",
|
||||
" - `O(1)`.",
|
||||
" - DbWeight: 4 Reads, 4 Writes",
|
||||
@@ -9927,6 +9945,42 @@
|
||||
" - Writes: Vesting Storage, Balances Locks, Target Account, Source Account",
|
||||
" # </weight>"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "merge_schedules",
|
||||
"args": [
|
||||
{
|
||||
"name": "schedule1_index",
|
||||
"type": "u32"
|
||||
},
|
||||
{
|
||||
"name": "schedule2_index",
|
||||
"type": "u32"
|
||||
}
|
||||
],
|
||||
"docs": [
|
||||
" Merge two vesting schedules together, creating a new vesting schedule that unlocks over",
|
||||
" the highest possible start and end blocks. If both schedules have already started the",
|
||||
" current block will be used as the schedule start; with the caveat that if one schedule",
|
||||
" is finished by the current block, the other will be treated as the new merged schedule,",
|
||||
" unmodified.",
|
||||
"",
|
||||
" NOTE: If `schedule1_index == schedule2_index` this is a no-op.",
|
||||
" NOTE: This will unlock all schedules through the current block prior to merging.",
|
||||
" NOTE: If both schedules have ended by the current block, no new schedule will be created",
|
||||
" and both will be removed.",
|
||||
"",
|
||||
" Merged schedule attributes:",
|
||||
" - `starting_block`: `MAX(schedule1.starting_block, scheduled2.starting_block,",
|
||||
" current_block)`.",
|
||||
" - `ending_block`: `MAX(schedule1.ending_block, schedule2.ending_block)`.",
|
||||
" - `locked`: `schedule1.locked_at(current_block) + schedule2.locked_at(current_block)`.",
|
||||
"",
|
||||
" The dispatch origin for this call must be _Signed_.",
|
||||
"",
|
||||
" - `schedule1_index`: index of the first schedule to merge.",
|
||||
" - `schedule2_index`: index of the second schedule to merge."
|
||||
]
|
||||
}
|
||||
],
|
||||
"events": [
|
||||
@@ -9937,8 +9991,8 @@
|
||||
"Balance"
|
||||
],
|
||||
"docs": [
|
||||
" The amount vested has been updated. This could indicate more funds are available. The",
|
||||
" balance given is the amount which is left unvested (and thus locked).",
|
||||
" The amount vested has been updated. This could indicate a change in funds available.",
|
||||
" The balance given is the amount which is left unvested (and thus locked).",
|
||||
" \\[account, unvested\\]"
|
||||
]
|
||||
},
|
||||
@@ -9948,7 +10002,7 @@
|
||||
"AccountId"
|
||||
],
|
||||
"docs": [
|
||||
" An \\[account\\] has become fully vested. No further vesting can happen."
|
||||
" An \\[account\\] has become fully vested."
|
||||
]
|
||||
}
|
||||
],
|
||||
@@ -9960,6 +10014,12 @@
|
||||
"docs": [
|
||||
" The minimum amount transferred to call `vested_transfer`."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "MaxVestingSchedules",
|
||||
"type": "u32",
|
||||
"value": "0x1c000000",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
"errors": [
|
||||
@@ -9970,9 +10030,10 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "ExistingVestingSchedule",
|
||||
"name": "AtMaxVestingSchedules",
|
||||
"docs": [
|
||||
" An existing vesting schedule already exists for this account that cannot be clobbered."
|
||||
" The account already has `MaxVestingSchedules` count of schedules and thus",
|
||||
" cannot add another one. Consider merging existing schedules in order to add another."
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -9980,6 +10041,18 @@
|
||||
"docs": [
|
||||
" Amount being transferred is too low to create a vesting schedule."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "ScheduleIndexOutOfBounds",
|
||||
"docs": [
|
||||
" An index was out of bounds of the vesting schedules."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "InvalidScheduleParams",
|
||||
"docs": [
|
||||
" Failed to create a new schedule because some parameter was invalid."
|
||||
]
|
||||
}
|
||||
],
|
||||
"index": 28
|
||||
@@ -10710,6 +10783,18 @@
|
||||
"docs": [
|
||||
" An announcement was placed to make a call in the future. \\[real, proxy, call_hash\\]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "ProxyAdded",
|
||||
"args": [
|
||||
"AccountId",
|
||||
"AccountId",
|
||||
"ProxyType",
|
||||
"BlockNumber"
|
||||
],
|
||||
"docs": [
|
||||
" A proxy was added. \\[delegator, delegatee, proxy_type, delay\\]"
|
||||
]
|
||||
}
|
||||
],
|
||||
"constants": [
|
||||
@@ -16457,7 +16542,54 @@
|
||||
"name": "XcmPallet",
|
||||
"storage": {
|
||||
"prefix": "XcmPallet",
|
||||
"items": []
|
||||
"items": [
|
||||
{
|
||||
"name": "QueryCount",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"plain": "QueryId"
|
||||
},
|
||||
"fallback": "0x0000000000000000",
|
||||
"docs": [
|
||||
" The latest available query index."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Queries",
|
||||
"modifier": "Optional",
|
||||
"type": {
|
||||
"map": {
|
||||
"hasher": "Blake2_128Concat",
|
||||
"key": "QueryId",
|
||||
"value": "QueryStatus",
|
||||
"linked": false
|
||||
}
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"docs": [
|
||||
" The ongoing queries."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "AssetTraps",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"map": {
|
||||
"hasher": "Identity",
|
||||
"key": "H256",
|
||||
"value": "u32",
|
||||
"linked": false
|
||||
}
|
||||
},
|
||||
"fallback": "0x00000000",
|
||||
"docs": [
|
||||
" The existing asset traps.",
|
||||
"",
|
||||
" Key is the blake2 256 hash of (origin, versioned `MultiAssets`) pair. Value is the number of",
|
||||
" times this pair has been trapped (usually just 1 if it exists at all)."
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"calls": [
|
||||
{
|
||||
@@ -16465,11 +16597,11 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "dest",
|
||||
"type": "MultiLocation"
|
||||
"type": "VersionedMultiLocation"
|
||||
},
|
||||
{
|
||||
"name": "message",
|
||||
"type": "Xcm"
|
||||
"type": "VersionedXcm"
|
||||
}
|
||||
],
|
||||
"docs": []
|
||||
@@ -16479,23 +16611,19 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "dest",
|
||||
"type": "MultiLocation"
|
||||
"type": "VersionedMultiLocation"
|
||||
},
|
||||
{
|
||||
"name": "beneficiary",
|
||||
"type": "MultiLocation"
|
||||
"type": "VersionedMultiLocation"
|
||||
},
|
||||
{
|
||||
"name": "assets",
|
||||
"type": "MultiAssets"
|
||||
"type": "VersionedMultiAssets"
|
||||
},
|
||||
{
|
||||
"name": "fee_asset_item",
|
||||
"type": "u32"
|
||||
},
|
||||
{
|
||||
"name": "dest_weight",
|
||||
"type": "Weight"
|
||||
}
|
||||
],
|
||||
"docs": [
|
||||
@@ -16519,23 +16647,19 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "dest",
|
||||
"type": "MultiLocation"
|
||||
"type": "VersionedMultiLocation"
|
||||
},
|
||||
{
|
||||
"name": "beneficiary",
|
||||
"type": "MultiLocation"
|
||||
"type": "VersionedMultiLocation"
|
||||
},
|
||||
{
|
||||
"name": "assets",
|
||||
"type": "MultiAssets"
|
||||
"type": "VersionedMultiAssets"
|
||||
},
|
||||
{
|
||||
"name": "fee_asset_item",
|
||||
"type": "u32"
|
||||
},
|
||||
{
|
||||
"name": "dest_weight",
|
||||
"type": "Weight"
|
||||
}
|
||||
],
|
||||
"docs": [
|
||||
@@ -16551,8 +16675,8 @@
|
||||
" an `AccountId32` value.",
|
||||
" - `assets`: The assets to be withdrawn. This should include the assets used to pay the fee on the",
|
||||
" `dest` side.",
|
||||
" - `dest_weight`: Equal to the total weight on `dest` of the XCM message",
|
||||
" `ReserveAssetDeposited { assets, effects: [ BuyExecution{..}, DepositAsset{..} ] }`."
|
||||
" - `fee_asset_item`: The index into `assets` of the item which should be used to pay",
|
||||
" fees."
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -16560,7 +16684,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "message",
|
||||
"type": "Xcm"
|
||||
"type": "VersionedXcm"
|
||||
},
|
||||
{
|
||||
"name": "max_weight",
|
||||
@@ -16588,7 +16712,11 @@
|
||||
"args": [
|
||||
"Outcome"
|
||||
],
|
||||
"docs": []
|
||||
"docs": [
|
||||
" Execution of an XCM message was attempted.",
|
||||
"",
|
||||
" \\[ outcome \\]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Sent",
|
||||
@@ -16597,18 +16725,172 @@
|
||||
"MultiLocation",
|
||||
"Xcm"
|
||||
],
|
||||
"docs": []
|
||||
"docs": [
|
||||
" A XCM message was sent.",
|
||||
"",
|
||||
" \\[ origin, destination, message \\]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "UnexpectedResponse",
|
||||
"args": [
|
||||
"MultiLocation",
|
||||
"QueryId"
|
||||
],
|
||||
"docs": [
|
||||
" Query response received which does not match a registered query. This may be because a",
|
||||
" matching query was never registered, it may be because it is a duplicate response, or",
|
||||
" because the query timed out.",
|
||||
"",
|
||||
" \\[ origin location, id \\]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "ResponseReady",
|
||||
"args": [
|
||||
"QueryId",
|
||||
"Response"
|
||||
],
|
||||
"docs": [
|
||||
" Query response has been received and is ready for taking with `take_response`. There is",
|
||||
" no registered notification call.",
|
||||
"",
|
||||
" \\[ id, response \\]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Notified",
|
||||
"args": [
|
||||
"QueryId",
|
||||
"u8",
|
||||
"u8"
|
||||
],
|
||||
"docs": [
|
||||
" Query response has been received and query is removed. The registered notification has",
|
||||
" been dispatched and executed successfully.",
|
||||
"",
|
||||
" \\[ id, pallet index, call index \\]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "NotifyOverweight",
|
||||
"args": [
|
||||
"QueryId",
|
||||
"u8",
|
||||
"u8",
|
||||
"Weight",
|
||||
"Weight"
|
||||
],
|
||||
"docs": [
|
||||
" Query response has been received and query is removed. The registered notification could",
|
||||
" not be dispatched because the dispatch weight is greater than the maximum weight",
|
||||
" originally budgeted by this runtime for the query result.",
|
||||
"",
|
||||
" \\[ id, pallet index, call index, actual weight, max budgeted weight \\]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "NotifyDispatchError",
|
||||
"args": [
|
||||
"QueryId",
|
||||
"u8",
|
||||
"u8"
|
||||
],
|
||||
"docs": [
|
||||
" Query response has been received and query is removed. There was a general error with",
|
||||
" dispatching the notification call.",
|
||||
"",
|
||||
" \\[ id, pallet index, call index \\]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "NotifyDecodeFailed",
|
||||
"args": [
|
||||
"QueryId",
|
||||
"u8",
|
||||
"u8"
|
||||
],
|
||||
"docs": [
|
||||
" Query response has been received and query is removed. The dispatch was unable to be",
|
||||
" decoded into a `Call`; this might be due to dispatch function having a signature which",
|
||||
" is not `(origin, QueryId, Response)`.",
|
||||
"",
|
||||
" \\[ id, pallet index, call index \\]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "InvalidResponder",
|
||||
"args": [
|
||||
"MultiLocation",
|
||||
"QueryId",
|
||||
"MultiLocation"
|
||||
],
|
||||
"docs": [
|
||||
" Expected query response has been received but the origin location of the response does",
|
||||
" not match that expected. The query remains registered for a later, valid, response to",
|
||||
" be received and acted upon.",
|
||||
"",
|
||||
" \\[ origin location, id, expected location \\]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "InvalidResponderVersion",
|
||||
"args": [
|
||||
"MultiLocation",
|
||||
"QueryId"
|
||||
],
|
||||
"docs": [
|
||||
" Expected query response has been received but the expected origin location placed in",
|
||||
" storate by this runtime previously cannot be decoded. The query remains registered.",
|
||||
"",
|
||||
" This is unexpected (since a location placed in storage in a previously executing",
|
||||
" runtime should be readable prior to query timeout) and dangerous since the possibly",
|
||||
" valid response will be dropped. Manual governance intervention is probably going to be",
|
||||
" needed.",
|
||||
"",
|
||||
" \\[ origin location, id \\]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "ResponseTaken",
|
||||
"args": [
|
||||
"QueryId"
|
||||
],
|
||||
"docs": [
|
||||
" Received query response has been read and removed.",
|
||||
"",
|
||||
" \\[ id \\]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "AssetsTrapped",
|
||||
"args": [
|
||||
"H256",
|
||||
"MultiLocation",
|
||||
"VersionedMultiAssets"
|
||||
],
|
||||
"docs": [
|
||||
" Some assets have been placed in an asset trap.",
|
||||
"",
|
||||
" \\[ hash, origin, assets \\]"
|
||||
]
|
||||
}
|
||||
],
|
||||
"constants": [],
|
||||
"errors": [
|
||||
{
|
||||
"name": "Unreachable",
|
||||
"docs": []
|
||||
"docs": [
|
||||
" The desired destination was unreachable, generally because there is a no way of routing",
|
||||
" to it."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "SendFailure",
|
||||
"docs": []
|
||||
"docs": [
|
||||
" There was some other issue (i.e. not to do with routing) in sending the message. Perhaps",
|
||||
" a lack of space for buffering the message."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Filtered",
|
||||
@@ -16622,6 +16904,12 @@
|
||||
" The message's weight could not be determined."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "DestinationNotInvertible",
|
||||
"docs": [
|
||||
" The destination `MultiLocation` provided cannot be inverted."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Empty",
|
||||
"docs": [
|
||||
@@ -16645,6 +16933,12 @@
|
||||
"docs": [
|
||||
" Origin is invalid for sending."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "BadVersion",
|
||||
"docs": [
|
||||
" The version of the `Versioned` value used is not able to be interpreted."
|
||||
]
|
||||
}
|
||||
],
|
||||
"index": 99
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -130,7 +130,10 @@
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"docs": [
|
||||
" Events deposited for the current block."
|
||||
" Events deposited for the current block.",
|
||||
"",
|
||||
" NOTE: This storage item is explicitly unbounded since it is never intended to be read",
|
||||
" from within the runtime."
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -500,7 +503,7 @@
|
||||
{
|
||||
"name": "Version",
|
||||
"type": "RuntimeVersion",
|
||||
"value": "0x20706f6c6b61646f743c7061726974792d706f6c6b61646f7400000000822300000000000038df6acb689907609b0300000037e397fc7c91f5e40100000040fe3ad401f8959a05000000d2bc9897eed08f1503000000f78b278be53f454c02000000af2c0297a23e6d3d0100000049eaaf1b548a0cb00100000091d5df18b0d2cf5801000000ed99c5acb25eedf503000000cbca25e39f14238702000000687ad44ad37f03c201000000ab3c0572291feb8b01000000bc9d89904f5b923f0100000037c8bb1350a9a2a80100000007000000",
|
||||
"value": "0x20706f6c6b61646f743c7061726974792d706f6c6b61646f74000000008c2300000000000038df6acb689907609b0300000037e397fc7c91f5e40100000040fe3ad401f8959a05000000d2bc9897eed08f1503000000f78b278be53f454c02000000af2c0297a23e6d3d0100000049eaaf1b548a0cb00100000091d5df18b0d2cf5801000000ed99c5acb25eedf503000000cbca25e39f14238702000000687ad44ad37f03c201000000ab3c0572291feb8b01000000bc9d89904f5b923f0100000037c8bb1350a9a2a80100000007000000",
|
||||
"docs": [
|
||||
" Get the chain's current version."
|
||||
]
|
||||
@@ -7690,7 +7693,7 @@
|
||||
"map": {
|
||||
"hasher": "Blake2_128Concat",
|
||||
"key": "AccountId",
|
||||
"value": "VestingInfo",
|
||||
"value": "Vec<VestingInfo>",
|
||||
"linked": false
|
||||
}
|
||||
},
|
||||
@@ -7698,6 +7701,19 @@
|
||||
"docs": [
|
||||
" Information regarding the vesting of a given account."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "StorageVersion",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"plain": "Releases"
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"docs": [
|
||||
" Storage version of the pallet.",
|
||||
"",
|
||||
" New networks start with latest version, as determined by the genesis build."
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -7764,12 +7780,13 @@
|
||||
"",
|
||||
" The dispatch origin for this call must be _Signed_.",
|
||||
"",
|
||||
" - `target`: The account that should be transferred the vested funds.",
|
||||
" - `amount`: The amount of funds to transfer and will be vested.",
|
||||
" - `target`: The account receiving the vested funds.",
|
||||
" - `schedule`: The vesting schedule attached to the transfer.",
|
||||
"",
|
||||
" Emits `VestingCreated`.",
|
||||
"",
|
||||
" NOTE: This will unlock all schedules through the current block.",
|
||||
"",
|
||||
" # <weight>",
|
||||
" - `O(1)`.",
|
||||
" - DbWeight: 3 Reads, 3 Writes",
|
||||
@@ -7801,11 +7818,12 @@
|
||||
"",
|
||||
" - `source`: The account whose funds should be transferred.",
|
||||
" - `target`: The account that should be transferred the vested funds.",
|
||||
" - `amount`: The amount of funds to transfer and will be vested.",
|
||||
" - `schedule`: The vesting schedule attached to the transfer.",
|
||||
"",
|
||||
" Emits `VestingCreated`.",
|
||||
"",
|
||||
" NOTE: This will unlock all schedules through the current block.",
|
||||
"",
|
||||
" # <weight>",
|
||||
" - `O(1)`.",
|
||||
" - DbWeight: 4 Reads, 4 Writes",
|
||||
@@ -7813,6 +7831,42 @@
|
||||
" - Writes: Vesting Storage, Balances Locks, Target Account, Source Account",
|
||||
" # </weight>"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "merge_schedules",
|
||||
"args": [
|
||||
{
|
||||
"name": "schedule1_index",
|
||||
"type": "u32"
|
||||
},
|
||||
{
|
||||
"name": "schedule2_index",
|
||||
"type": "u32"
|
||||
}
|
||||
],
|
||||
"docs": [
|
||||
" Merge two vesting schedules together, creating a new vesting schedule that unlocks over",
|
||||
" the highest possible start and end blocks. If both schedules have already started the",
|
||||
" current block will be used as the schedule start; with the caveat that if one schedule",
|
||||
" is finished by the current block, the other will be treated as the new merged schedule,",
|
||||
" unmodified.",
|
||||
"",
|
||||
" NOTE: If `schedule1_index == schedule2_index` this is a no-op.",
|
||||
" NOTE: This will unlock all schedules through the current block prior to merging.",
|
||||
" NOTE: If both schedules have ended by the current block, no new schedule will be created",
|
||||
" and both will be removed.",
|
||||
"",
|
||||
" Merged schedule attributes:",
|
||||
" - `starting_block`: `MAX(schedule1.starting_block, scheduled2.starting_block,",
|
||||
" current_block)`.",
|
||||
" - `ending_block`: `MAX(schedule1.ending_block, schedule2.ending_block)`.",
|
||||
" - `locked`: `schedule1.locked_at(current_block) + schedule2.locked_at(current_block)`.",
|
||||
"",
|
||||
" The dispatch origin for this call must be _Signed_.",
|
||||
"",
|
||||
" - `schedule1_index`: index of the first schedule to merge.",
|
||||
" - `schedule2_index`: index of the second schedule to merge."
|
||||
]
|
||||
}
|
||||
],
|
||||
"events": [
|
||||
@@ -7823,8 +7877,8 @@
|
||||
"Balance"
|
||||
],
|
||||
"docs": [
|
||||
" The amount vested has been updated. This could indicate more funds are available. The",
|
||||
" balance given is the amount which is left unvested (and thus locked).",
|
||||
" The amount vested has been updated. This could indicate a change in funds available.",
|
||||
" The balance given is the amount which is left unvested (and thus locked).",
|
||||
" \\[account, unvested\\]"
|
||||
]
|
||||
},
|
||||
@@ -7834,7 +7888,7 @@
|
||||
"AccountId"
|
||||
],
|
||||
"docs": [
|
||||
" An \\[account\\] has become fully vested. No further vesting can happen."
|
||||
" An \\[account\\] has become fully vested."
|
||||
]
|
||||
}
|
||||
],
|
||||
@@ -7846,6 +7900,12 @@
|
||||
"docs": [
|
||||
" The minimum amount transferred to call `vested_transfer`."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "MaxVestingSchedules",
|
||||
"type": "u32",
|
||||
"value": "0x1c000000",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
"errors": [
|
||||
@@ -7856,9 +7916,10 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "ExistingVestingSchedule",
|
||||
"name": "AtMaxVestingSchedules",
|
||||
"docs": [
|
||||
" An existing vesting schedule already exists for this account that cannot be clobbered."
|
||||
" The account already has `MaxVestingSchedules` count of schedules and thus",
|
||||
" cannot add another one. Consider merging existing schedules in order to add another."
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -7866,6 +7927,18 @@
|
||||
"docs": [
|
||||
" Amount being transferred is too low to create a vesting schedule."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "ScheduleIndexOutOfBounds",
|
||||
"docs": [
|
||||
" An index was out of bounds of the vesting schedules."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "InvalidScheduleParams",
|
||||
"docs": [
|
||||
" Failed to create a new schedule because some parameter was invalid."
|
||||
]
|
||||
}
|
||||
],
|
||||
"index": 25
|
||||
@@ -9160,6 +9233,18 @@
|
||||
"docs": [
|
||||
" An announcement was placed to make a call in the future. \\[real, proxy, call_hash\\]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "ProxyAdded",
|
||||
"args": [
|
||||
"AccountId",
|
||||
"AccountId",
|
||||
"ProxyType",
|
||||
"BlockNumber"
|
||||
],
|
||||
"docs": [
|
||||
" A proxy was added. \\[delegator, delegatee, proxy_type, delay\\]"
|
||||
]
|
||||
}
|
||||
],
|
||||
"constants": [
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -130,7 +130,10 @@
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"docs": [
|
||||
" Events deposited for the current block."
|
||||
" Events deposited for the current block.",
|
||||
"",
|
||||
" NOTE: This storage item is explicitly unbounded since it is never intended to be read",
|
||||
" from within the runtime."
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -7788,7 +7791,7 @@
|
||||
{
|
||||
"name": "Schedule",
|
||||
"type": "Schedule",
|
||||
"value": "0x040000000002000000010000800000001000000000100000000100002000000020000000004000000000020002000000810600004e6202009680030050150000ee180000c2090000cf140000b52600009a000000cc5101005dc002004d090000a206000059080000d80600002b1c0000d41e0000ec0900005ca8b5082d08000043070000e40a00000a0700008d0600000d0600009a0600001f08000010080000be0700008f080000040800004c080000ff07000024080000520800001d080000ac0700003608000029070000ec1f0000881e0000cb200000771e000032080000b7070000f2070000900900000d09000094080000810800001e0800008a25230000000000902e2300000000006c4e22000000000054624900000000008a53220000000000ea3e2200000000003e2c220000000000de18220000000000f04c220000000000ee3a220000000000b2054300000000004e5011000000000050d6650000000000f2030000000000005037410000000000e30100000000000050a02b2000000000587eaf290000000004ece30800000000d4e9550000000000ae7c7f0000000000cabfbe0700000000b90500000000000002af120000000000d2c0170000000000ead5bf07000000009601000000000000d2280c08000000005242e201000000006b03000000000000c2e5520a000000006a36c80f00000000a2c639080000000039010000000000001302000000000000d2b3ac22000000004a010000000000002d02000000000000de0600000000000086ad210000000000a11100000000000080ad220000000000f00b000000000000487b1e0000000000fe0400000000000092fe1e0000000000fe04000000000000",
|
||||
"value": "0x040000000002000000010000800000001000000000100000000100002000000020000000004000000000020002000000eb130000ae310000ab370000ba160000bb2b0000222000008c1a0000c83000005200000021e2020044620400151300005c1000005415000042150000f02600000731000070100000d5e3c402001600004016000011160000fb150000e5150000f815000026160000c01600004a16000070160000ac16000091160000cf160000d3160000eb160000f8150000f21600009d1600007a1600005c160000072f00000e250000d22f0000ad2400007c1a0000831600008716000002170000b51600008916000090160000a81600003ee4140000000000de0715000000000020e9140000000000aadd3b0000000000c4ea1400000000004af614000000000074fe14000000000044f714000000000088d614000000000084ee140000000000065f3100000000006276090000000000f0a6310000000000a504000000000000103d260000000000db020000000000007045df1f0000000028135a290000000056f6e60800000000a4bd4300000000003cfe6f000000000032eac2070000000078070000000000006c0f0c00000000001a3c0e0000000000007eb107000000005303000000000000b275fd0700000000c4bed00100000000170500000000000016ed470a000000003677ec24000000009a5c380800000000df02000000000000a2040000000000002888813700000000df02000000000000a0040000000000008b0800000000000028e015000000000085130000000000008a22170000000000b90d0000000000005cbe120000000000b906000000000000a8d6120000000000ba06000000000000",
|
||||
"docs": [
|
||||
" Cost schedule and limits."
|
||||
]
|
||||
@@ -7875,7 +7878,7 @@
|
||||
{
|
||||
"name": "DeletionQueueDepth",
|
||||
"type": "u32",
|
||||
"value": "0x18040000",
|
||||
"value": "0xed030000",
|
||||
"docs": [
|
||||
" The maximum number of tries that can be queued for deletion."
|
||||
]
|
||||
@@ -10864,7 +10867,7 @@
|
||||
"map": {
|
||||
"hasher": "Blake2_128Concat",
|
||||
"key": "AccountId",
|
||||
"value": "VestingInfo",
|
||||
"value": "Vec<VestingInfo>",
|
||||
"linked": false
|
||||
}
|
||||
},
|
||||
@@ -10872,6 +10875,19 @@
|
||||
"docs": [
|
||||
" Information regarding the vesting of a given account."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "StorageVersion",
|
||||
"modifier": "Default",
|
||||
"type": {
|
||||
"plain": "Releases"
|
||||
},
|
||||
"fallback": "0x00",
|
||||
"docs": [
|
||||
" Storage version of the pallet.",
|
||||
"",
|
||||
" New networks start with latest version, as determined by the genesis build."
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -10938,12 +10954,13 @@
|
||||
"",
|
||||
" The dispatch origin for this call must be _Signed_.",
|
||||
"",
|
||||
" - `target`: The account that should be transferred the vested funds.",
|
||||
" - `amount`: The amount of funds to transfer and will be vested.",
|
||||
" - `target`: The account receiving the vested funds.",
|
||||
" - `schedule`: The vesting schedule attached to the transfer.",
|
||||
"",
|
||||
" Emits `VestingCreated`.",
|
||||
"",
|
||||
" NOTE: This will unlock all schedules through the current block.",
|
||||
"",
|
||||
" # <weight>",
|
||||
" - `O(1)`.",
|
||||
" - DbWeight: 3 Reads, 3 Writes",
|
||||
@@ -10975,11 +10992,12 @@
|
||||
"",
|
||||
" - `source`: The account whose funds should be transferred.",
|
||||
" - `target`: The account that should be transferred the vested funds.",
|
||||
" - `amount`: The amount of funds to transfer and will be vested.",
|
||||
" - `schedule`: The vesting schedule attached to the transfer.",
|
||||
"",
|
||||
" Emits `VestingCreated`.",
|
||||
"",
|
||||
" NOTE: This will unlock all schedules through the current block.",
|
||||
"",
|
||||
" # <weight>",
|
||||
" - `O(1)`.",
|
||||
" - DbWeight: 4 Reads, 4 Writes",
|
||||
@@ -10987,6 +11005,42 @@
|
||||
" - Writes: Vesting Storage, Balances Locks, Target Account, Source Account",
|
||||
" # </weight>"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "merge_schedules",
|
||||
"args": [
|
||||
{
|
||||
"name": "schedule1_index",
|
||||
"type": "u32"
|
||||
},
|
||||
{
|
||||
"name": "schedule2_index",
|
||||
"type": "u32"
|
||||
}
|
||||
],
|
||||
"docs": [
|
||||
" Merge two vesting schedules together, creating a new vesting schedule that unlocks over",
|
||||
" the highest possible start and end blocks. If both schedules have already started the",
|
||||
" current block will be used as the schedule start; with the caveat that if one schedule",
|
||||
" is finished by the current block, the other will be treated as the new merged schedule,",
|
||||
" unmodified.",
|
||||
"",
|
||||
" NOTE: If `schedule1_index == schedule2_index` this is a no-op.",
|
||||
" NOTE: This will unlock all schedules through the current block prior to merging.",
|
||||
" NOTE: If both schedules have ended by the current block, no new schedule will be created",
|
||||
" and both will be removed.",
|
||||
"",
|
||||
" Merged schedule attributes:",
|
||||
" - `starting_block`: `MAX(schedule1.starting_block, scheduled2.starting_block,",
|
||||
" current_block)`.",
|
||||
" - `ending_block`: `MAX(schedule1.ending_block, schedule2.ending_block)`.",
|
||||
" - `locked`: `schedule1.locked_at(current_block) + schedule2.locked_at(current_block)`.",
|
||||
"",
|
||||
" The dispatch origin for this call must be _Signed_.",
|
||||
"",
|
||||
" - `schedule1_index`: index of the first schedule to merge.",
|
||||
" - `schedule2_index`: index of the second schedule to merge."
|
||||
]
|
||||
}
|
||||
],
|
||||
"events": [
|
||||
@@ -10997,8 +11051,8 @@
|
||||
"Balance"
|
||||
],
|
||||
"docs": [
|
||||
" The amount vested has been updated. This could indicate more funds are available. The",
|
||||
" balance given is the amount which is left unvested (and thus locked).",
|
||||
" The amount vested has been updated. This could indicate a change in funds available.",
|
||||
" The balance given is the amount which is left unvested (and thus locked).",
|
||||
" \\[account, unvested\\]"
|
||||
]
|
||||
},
|
||||
@@ -11008,7 +11062,7 @@
|
||||
"AccountId"
|
||||
],
|
||||
"docs": [
|
||||
" An \\[account\\] has become fully vested. No further vesting can happen."
|
||||
" An \\[account\\] has become fully vested."
|
||||
]
|
||||
}
|
||||
],
|
||||
@@ -11020,6 +11074,12 @@
|
||||
"docs": [
|
||||
" The minimum amount transferred to call `vested_transfer`."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "MaxVestingSchedules",
|
||||
"type": "u32",
|
||||
"value": "0x1c000000",
|
||||
"docs": []
|
||||
}
|
||||
],
|
||||
"errors": [
|
||||
@@ -11030,9 +11090,10 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "ExistingVestingSchedule",
|
||||
"name": "AtMaxVestingSchedules",
|
||||
"docs": [
|
||||
" An existing vesting schedule already exists for this account that cannot be clobbered."
|
||||
" The account already has `MaxVestingSchedules` count of schedules and thus",
|
||||
" cannot add another one. Consider merging existing schedules in order to add another."
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -11040,6 +11101,18 @@
|
||||
"docs": [
|
||||
" Amount being transferred is too low to create a vesting schedule."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "ScheduleIndexOutOfBounds",
|
||||
"docs": [
|
||||
" An index was out of bounds of the vesting schedules."
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "InvalidScheduleParams",
|
||||
"docs": [
|
||||
" Failed to create a new schedule because some parameter was invalid."
|
||||
]
|
||||
}
|
||||
],
|
||||
"index": 28
|
||||
@@ -11770,6 +11843,18 @@
|
||||
"docs": [
|
||||
" An announcement was placed to make a call in the future. \\[real, proxy, call_hash\\]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "ProxyAdded",
|
||||
"args": [
|
||||
"AccountId",
|
||||
"AccountId",
|
||||
"ProxyType",
|
||||
"BlockNumber"
|
||||
],
|
||||
"docs": [
|
||||
" A proxy was added. \\[delegator, delegatee, proxy_type, delay\\]"
|
||||
]
|
||||
}
|
||||
],
|
||||
"constants": [
|
||||
@@ -15846,7 +15931,7 @@
|
||||
"AccountId"
|
||||
],
|
||||
"docs": [
|
||||
" An asset `instace` was issued. \\[ class, instance, owner \\]"
|
||||
" An asset `instance` was issued. \\[ class, instance, owner \\]"
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -15858,7 +15943,7 @@
|
||||
"AccountId"
|
||||
],
|
||||
"docs": [
|
||||
" An asset `instace` was transferred. \\[ class, instance, from, to \\]"
|
||||
" An asset `instance` was transferred. \\[ class, instance, from, to \\]"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
@@ -57,7 +57,7 @@ import type { Multiplier } from '@polkadot/types/interfaces/txpayment';
|
||||
import type { ClassDetails, ClassId, ClassMetadata, DepositBalance, DepositBalanceOf, DestroyWitness, InstanceDetails, InstanceId, InstanceMetadata } from '@polkadot/types/interfaces/uniques';
|
||||
import type { Multisig, Timepoint } from '@polkadot/types/interfaces/utility';
|
||||
import type { VestingInfo } from '@polkadot/types/interfaces/vesting';
|
||||
import type { AssetInstance, AssetInstanceV0, AssetInstanceV1, BodyId, BodyPart, DoubleEncodedCall, Fungibility, InboundStatus, Junction, MultiAsset, MultiAssetFilter, MultiAssetFilterV1, MultiAssetV0, MultiAssetV1, MultiAssets, MultiAssetsV1, MultiLocation, MultiLocationV0, MultiLocationV1, NetworkId, OutboundStatus, Outcome, QueueConfigData, VersionedMultiAsset, VersionedMultiAssets, VersionedMultiLocation, VersionedXcm, WildFungibility, WildMultiAsset, WildMultiAssetV1, Xcm, XcmAssetId, XcmError, XcmOrder, XcmOrderV0, XcmOrderV1, XcmOrigin, XcmOriginKind, XcmResponse, XcmV0, XcmV1, XcmpMessageFormat } from '@polkadot/types/interfaces/xcm';
|
||||
import type { AssetInstance, AssetInstanceV0, AssetInstanceV1, BodyId, BodyPart, DoubleEncodedCall, Fungibility, InboundStatus, Junction, MultiAsset, MultiAssetFilter, MultiAssetFilterV1, MultiAssetV0, MultiAssetV1, MultiAssetV2, MultiAssets, MultiAssetsV1, MultiAssetsV2, MultiLocation, MultiLocationV0, MultiLocationV1, MultiLocationV2, NetworkId, OutboundStatus, Outcome, QueryId, QueryStatus, QueueConfigData, Response, ResponseV0, ResponseV1, ResponseV2, ResponseV2Error, ResponseV2Result, VersionedMultiAsset, VersionedMultiAssets, VersionedMultiLocation, VersionedResponse, VersionedXcm, WildFungibility, WildMultiAsset, WildMultiAssetV1, Xcm, XcmAssetId, XcmErrorV0, XcmErrorV1, XcmErrorV2, XcmOrder, XcmOrderV0, XcmOrderV1, XcmOrigin, XcmOriginKind, XcmV0, XcmV1, XcmpMessageFormat } from '@polkadot/types/interfaces/xcm';
|
||||
|
||||
declare module '@polkadot/types/types/registry' {
|
||||
export interface InterfaceTypes {
|
||||
@@ -551,12 +551,15 @@ declare module '@polkadot/types/types/registry' {
|
||||
MultiAssetFilterV1: MultiAssetFilterV1;
|
||||
MultiAssets: MultiAssets;
|
||||
MultiAssetsV1: MultiAssetsV1;
|
||||
MultiAssetsV2: MultiAssetsV2;
|
||||
MultiAssetV0: MultiAssetV0;
|
||||
MultiAssetV1: MultiAssetV1;
|
||||
MultiAssetV2: MultiAssetV2;
|
||||
MultiDisputeStatementSet: MultiDisputeStatementSet;
|
||||
MultiLocation: MultiLocation;
|
||||
MultiLocationV0: MultiLocationV0;
|
||||
MultiLocationV1: MultiLocationV1;
|
||||
MultiLocationV2: MultiLocationV2;
|
||||
Multiplier: Multiplier;
|
||||
Multisig: Multisig;
|
||||
MultiSignature: MultiSignature;
|
||||
@@ -676,6 +679,8 @@ declare module '@polkadot/types/types/registry' {
|
||||
ProxyDefinition: ProxyDefinition;
|
||||
ProxyState: ProxyState;
|
||||
ProxyType: ProxyType;
|
||||
QueryId: QueryId;
|
||||
QueryStatus: QueryStatus;
|
||||
QueueConfigData: QueueConfigData;
|
||||
QueuedParathread: QueuedParathread;
|
||||
Randomness: Randomness;
|
||||
@@ -726,6 +731,12 @@ declare module '@polkadot/types/types/registry' {
|
||||
ReportIdOf: ReportIdOf;
|
||||
ReserveData: ReserveData;
|
||||
ReserveIdentifier: ReserveIdentifier;
|
||||
Response: Response;
|
||||
ResponseV0: ResponseV0;
|
||||
ResponseV1: ResponseV1;
|
||||
ResponseV2: ResponseV2;
|
||||
ResponseV2Error: ResponseV2Error;
|
||||
ResponseV2Result: ResponseV2Result;
|
||||
Retriable: Retriable;
|
||||
RewardDestination: RewardDestination;
|
||||
RewardPoint: RewardPoint;
|
||||
@@ -950,6 +961,7 @@ declare module '@polkadot/types/types/registry' {
|
||||
VersionedMultiAsset: VersionedMultiAsset;
|
||||
VersionedMultiAssets: VersionedMultiAssets;
|
||||
VersionedMultiLocation: VersionedMultiLocation;
|
||||
VersionedResponse: VersionedResponse;
|
||||
VersionedXcm: VersionedXcm;
|
||||
VestingInfo: VestingInfo;
|
||||
VestingSchedule: VestingSchedule;
|
||||
@@ -983,14 +995,15 @@ declare module '@polkadot/types/types/registry' {
|
||||
WithdrawReasons: WithdrawReasons;
|
||||
Xcm: Xcm;
|
||||
XcmAssetId: XcmAssetId;
|
||||
XcmError: XcmError;
|
||||
XcmErrorV0: XcmErrorV0;
|
||||
XcmErrorV1: XcmErrorV1;
|
||||
XcmErrorV2: XcmErrorV2;
|
||||
XcmOrder: XcmOrder;
|
||||
XcmOrderV0: XcmOrderV0;
|
||||
XcmOrderV1: XcmOrderV1;
|
||||
XcmOrigin: XcmOrigin;
|
||||
XcmOriginKind: XcmOriginKind;
|
||||
XcmpMessageFormat: XcmpMessageFormat;
|
||||
XcmResponse: XcmResponse;
|
||||
XcmV0: XcmV0;
|
||||
XcmV1: XcmV1;
|
||||
}
|
||||
|
||||
@@ -29,7 +29,7 @@ const xcm = {
|
||||
},
|
||||
QueryResponse: {
|
||||
queryId: 'Compact<u64>',
|
||||
response: 'XcmResponse'
|
||||
response: 'ResponseV0'
|
||||
},
|
||||
TransferAsset: {
|
||||
assets: 'Vec<MultiAssetV0>',
|
||||
@@ -80,7 +80,7 @@ const xcm = {
|
||||
},
|
||||
QueryResponse: {
|
||||
queryId: 'Compact<u64>',
|
||||
response: 'XcmResponse'
|
||||
response: 'ResponseV1'
|
||||
},
|
||||
TransferAsset: {
|
||||
Vassets: 'MultiAssetsV1',
|
||||
@@ -115,6 +115,106 @@ const xcm = {
|
||||
}
|
||||
}
|
||||
},
|
||||
XcmErrorV0: {
|
||||
_enum: {
|
||||
Undefined: 'Null',
|
||||
Overflow: 'Null',
|
||||
Unimplemented: 'Null',
|
||||
UnhandledXcmVersion: 'Null',
|
||||
UnhandledXcmMessage: 'Null',
|
||||
UnhandledEffect: 'Null',
|
||||
EscalationOfPrivilege: 'Null',
|
||||
UntrustedReserveLocation: 'Null',
|
||||
UntrustedTeleportLocation: 'Null',
|
||||
DestinationBufferOverflow: 'Null',
|
||||
SendFailed: 'Null',
|
||||
CannotReachDestination: '(MultiLocation, Xcm)',
|
||||
MultiLocationFull: 'Null',
|
||||
FailedToDecode: 'Null',
|
||||
BadOrigin: 'Null',
|
||||
ExceedsMaxMessageSize: 'Null',
|
||||
FailedToTransactAsset: 'Null',
|
||||
WeightLimitReached: 'Weight',
|
||||
Wildcard: 'Null',
|
||||
TooMuchWeightRequired: 'Null',
|
||||
NotHoldingFees: 'Null',
|
||||
WeightNotComputable: 'Null',
|
||||
Barrier: 'Null',
|
||||
NotWithdrawable: 'Null',
|
||||
LocationCannotHold: 'Null',
|
||||
TooExpensive: 'Null'
|
||||
}
|
||||
},
|
||||
XcmErrorV1: {
|
||||
_enum: {
|
||||
Undefined: 'Null',
|
||||
Overflow: 'Null',
|
||||
Unimplemented: 'Null',
|
||||
UnhandledXcmVersion: 'Null',
|
||||
UnhandledXcmMessage: 'Null',
|
||||
UnhandledEffect: 'Null',
|
||||
EscalationOfPrivilege: 'Null',
|
||||
UntrustedReserveLocation: 'Null',
|
||||
UntrustedTeleportLocation: 'Null',
|
||||
DestinationBufferOverflow: 'Null',
|
||||
SendFailed: 'Null',
|
||||
CannotReachDestination: '(MultiLocationV1, XcmV1)',
|
||||
MultiLocationFull: 'Null',
|
||||
FailedToDecode: 'Null',
|
||||
BadOrigin: 'Null',
|
||||
ExceedsMaxMessageSize: 'Null',
|
||||
FailedToTransactAsset: 'Null',
|
||||
WeightLimitReached: 'Weight',
|
||||
Wildcard: 'Null',
|
||||
TooMuchWeightRequired: 'Null',
|
||||
NotHoldingFees: 'Null',
|
||||
WeightNotComputable: 'Null',
|
||||
Barrier: 'Null',
|
||||
NotWithdrawable: 'Null',
|
||||
LocationCannotHold: 'Null',
|
||||
TooExpensive: 'Null',
|
||||
AssetNotFound: 'Null',
|
||||
DestinationUnsupported: 'Null',
|
||||
RecursionLimitReached: 'Null'
|
||||
}
|
||||
},
|
||||
XcmErrorV2: {
|
||||
_enum: {
|
||||
Undefined: 'Null',
|
||||
Overflow: 'Null',
|
||||
Unimplemented: 'Null',
|
||||
UnhandledXcmVersion: 'Null',
|
||||
UnhandledXcmMessage: 'Null',
|
||||
UnhandledEffect: 'Null',
|
||||
EscalationOfPrivilege: 'Null',
|
||||
UntrustedReserveLocation: 'Null',
|
||||
UntrustedTeleportLocation: 'Null',
|
||||
DestinationBufferOverflow: 'Null',
|
||||
MultiLocationFull: 'Null',
|
||||
MultiLocationNotInvertible: 'Null',
|
||||
FailedToDecode: 'Null',
|
||||
BadOrigin: 'Null',
|
||||
ExceedsMaxMessageSize: 'Null',
|
||||
FailedToTransactAsset: 'Null',
|
||||
WeightLimitReached: 'Weight',
|
||||
Wildcard: 'Null',
|
||||
TooMuchWeightRequired: 'Null',
|
||||
NotHoldingFees: 'Null',
|
||||
WeightNotComputable: 'Null',
|
||||
Barrier: 'Null',
|
||||
NotWithdrawable: 'Null',
|
||||
LocationCannotHold: 'Null',
|
||||
TooExpensive: 'Null',
|
||||
AssetNotFound: 'Null',
|
||||
DestinationUnsupported: 'Null',
|
||||
RecursionLimitReached: 'Null',
|
||||
Transport: 'Null',
|
||||
Unroutable: 'Null',
|
||||
UnknownWeightRequired: 'Null',
|
||||
Trap: 'u64',
|
||||
UnknownClaim: 'Null'
|
||||
}
|
||||
},
|
||||
XcmpMessageFormat: {
|
||||
_enum: ['ConcatenatedVersionedXcm', 'ConcatenatedEncodedBlob', 'Signals']
|
||||
}
|
||||
@@ -269,23 +369,23 @@ const multiAsset = {
|
||||
AllNonFungible: 'Null',
|
||||
AllAbstractFungible: 'Vec<u8>',
|
||||
AllAbstractNonFungible: 'Vec<u8>',
|
||||
AllConcreteFungible: 'MultiLocation',
|
||||
AllConcreteNonFungible: 'MultiLocation',
|
||||
AllConcreteFungible: 'MultiLocationV0',
|
||||
AllConcreteNonFungible: 'MultiLocationV0',
|
||||
AbstractFungible: {
|
||||
id: 'Vec<u8>',
|
||||
instance: 'Compact<u128>'
|
||||
},
|
||||
AbstractNonFungible: {
|
||||
class: 'Vec<u8>',
|
||||
instance: 'AssetInstance'
|
||||
instance: 'AssetInstanceV0'
|
||||
},
|
||||
ConcreteFungible: {
|
||||
id: 'MultiLocation',
|
||||
id: 'MultiLocationV0',
|
||||
amount: 'Compact<u128>'
|
||||
},
|
||||
ConcreteNonFungible: {
|
||||
class: 'MultiLocation',
|
||||
instance: 'AssetInstance'
|
||||
class: 'MultiLocationV0',
|
||||
instance: 'AssetInstanceV0'
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -293,8 +393,10 @@ const multiAsset = {
|
||||
id: 'XcmAssetId',
|
||||
fungibility: 'Fungibility'
|
||||
},
|
||||
MultiAssetV2: 'MultiAssetV1',
|
||||
MultiAssets: 'Vec<MultiAsset>',
|
||||
MultiAssetsV1: 'Vec<MultiAssetV1>',
|
||||
MultiAssetsV2: 'MultiAssetsV1',
|
||||
WildFungibility: {
|
||||
_enum: ['Fungible', 'NonFungible']
|
||||
},
|
||||
@@ -310,7 +412,7 @@ const multiAsset = {
|
||||
}
|
||||
};
|
||||
|
||||
const junction = {
|
||||
const location = {
|
||||
BodyId: {
|
||||
_enum: {
|
||||
Unit: 'Null',
|
||||
@@ -366,6 +468,19 @@ const junction = {
|
||||
}
|
||||
}
|
||||
},
|
||||
MultiLocation: {
|
||||
_enum: {
|
||||
Here: 'Null',
|
||||
X1: 'Junction',
|
||||
X2: '(Junction, Junction)',
|
||||
X3: '(Junction, Junction, Junction)',
|
||||
X4: '(Junction, Junction, Junction, Junction)',
|
||||
X5: '(Junction, Junction, Junction, Junction, Junction)',
|
||||
X6: '(Junction, Junction, Junction, Junction, Junction, Junction)',
|
||||
X7: '(Junction, Junction, Junction, Junction, Junction, Junction, Junction)',
|
||||
X8: '(Junction, Junction, Junction, Junction, Junction, Junction, Junction, Junction)'
|
||||
}
|
||||
},
|
||||
NetworkId: {
|
||||
_enum: {
|
||||
Any: 'Null',
|
||||
@@ -379,69 +494,58 @@ const junction = {
|
||||
export default {
|
||||
rpc: {},
|
||||
types: {
|
||||
...junction,
|
||||
...location,
|
||||
...multiAsset,
|
||||
...xcm,
|
||||
...xmcOrder,
|
||||
DoubleEncodedCall: { encoded: 'Vec<u8>' },
|
||||
DoubleEncodedCall: {
|
||||
encoded: 'Vec<u8>'
|
||||
},
|
||||
XcmOriginKind: {
|
||||
_enum: ['Native', 'SovereignAccount', 'Superuser', 'Xcm']
|
||||
},
|
||||
XcmResponse: {
|
||||
Response: 'ResponseV1',
|
||||
ResponseV0: {
|
||||
_enum: {
|
||||
Assets: 'Vec<MultiAsset>'
|
||||
Assets: 'Vec<MultiAssetV0>'
|
||||
}
|
||||
},
|
||||
XcmError: {
|
||||
ResponseV1: {
|
||||
_enum: {
|
||||
Undefined: 'Null',
|
||||
Overflow: 'Null',
|
||||
Unimplemented: 'Null',
|
||||
UnhandledXcmVersion: 'Null',
|
||||
UnhandledXcmMessage: 'Null',
|
||||
UnhandledEffect: 'Null',
|
||||
EscalationOfPrivilege: 'Null',
|
||||
UntrustedReserveLocation: 'Null',
|
||||
UntrustedTeleportLocation: 'Null',
|
||||
DestinationBufferOverflow: 'Null',
|
||||
SendFailed: 'Null', // (#[codec(skip)] &'static str),
|
||||
CannotReachDestination: '(MultiLocation, Xcm)',
|
||||
MultiLocationFull: 'Null',
|
||||
FailedToDecode: 'Null',
|
||||
BadOrigin: 'Null',
|
||||
ExceedsMaxMessageSize: 'Null',
|
||||
FailedToTransactAsset: 'Null', // (#[codec(skip)] &'static str),
|
||||
WeightLimitReached: 'Weight',
|
||||
Wildcard: 'Null',
|
||||
TooMuchWeightRequired: 'Null',
|
||||
NotHoldingFees: 'Null',
|
||||
WeightNotComputable: 'Null',
|
||||
Barrier: 'Null',
|
||||
NotWithdrawable: 'Null',
|
||||
LocationCannotHold: 'Null',
|
||||
TooExpensive: 'Null'
|
||||
Assets: 'MultiAssetsV1'
|
||||
}
|
||||
},
|
||||
ResponseV2: {
|
||||
_enum: {
|
||||
Null: 'Null',
|
||||
Assets: 'MultiAssetsV2',
|
||||
ExecutionResult: 'ResponseV2Result'
|
||||
}
|
||||
},
|
||||
ResponseV2Error: '(u32, XcmErrorV2)',
|
||||
ResponseV2Result: 'Result<Null, ResponseV2Error>',
|
||||
MultiLocationV0: 'MultiLocation',
|
||||
MultiLocationV1: 'MultiLocation',
|
||||
MultiLocation: {
|
||||
_enum: {
|
||||
Here: 'Null',
|
||||
X1: 'Junction',
|
||||
X2: '(Junction, Junction)',
|
||||
X3: '(Junction, Junction, Junction)',
|
||||
X4: '(Junction, Junction, Junction, Junction)',
|
||||
X5: '(Junction, Junction, Junction, Junction, Junction)',
|
||||
X6: '(Junction, Junction, Junction, Junction, Junction, Junction)',
|
||||
X7: '(Junction, Junction, Junction, Junction, Junction, Junction, Junction)',
|
||||
X8: '(Junction, Junction, Junction, Junction, Junction, Junction, Junction, Junction)'
|
||||
}
|
||||
},
|
||||
MultiLocationV2: 'MultiLocation',
|
||||
Outcome: {
|
||||
_enum: {
|
||||
Complete: 'Weight',
|
||||
Incomplete: '(Weight, XcmError)',
|
||||
Error: 'XcmError'
|
||||
Incomplete: '(Weight, XcmErrorV0)',
|
||||
Error: 'XcmErrorV0'
|
||||
}
|
||||
},
|
||||
QueryId: 'u64',
|
||||
QueryStatus: {
|
||||
_enum: {
|
||||
Pending: {
|
||||
responder: 'VersionedMultiLocation',
|
||||
maybeNotify: 'Option<(u8, u8)>',
|
||||
timeout: 'BlockNumber'
|
||||
},
|
||||
Ready: {
|
||||
response: 'VersionedResponse',
|
||||
at: 'BlockNumber'
|
||||
}
|
||||
}
|
||||
},
|
||||
QueueConfigData: {
|
||||
@@ -454,21 +558,29 @@ export default {
|
||||
VersionedMultiAsset: {
|
||||
_enum: {
|
||||
V0: 'MultiAssetV0',
|
||||
V1: 'MultiAssetV1'
|
||||
V1: 'MultiAssetV1',
|
||||
V2: 'MultiAssetV2'
|
||||
}
|
||||
},
|
||||
VersionedMultiAssets: {
|
||||
_enum: {
|
||||
V0: 'Vec<MultiAssetV0>',
|
||||
V1: 'MultiAssetsV1'
|
||||
V1: 'MultiAssetsV1',
|
||||
V2: 'MultiAssetsV2'
|
||||
}
|
||||
},
|
||||
VersionedMultiLocation: {
|
||||
_enum: {
|
||||
V0: 'MultiLocationV0',
|
||||
V1: 'MultiLocationV1'
|
||||
V1: 'MultiLocationV1',
|
||||
V2: 'MultiLocationV2'
|
||||
}
|
||||
},
|
||||
VersionedResponse: {
|
||||
V0: 'ResponseV0',
|
||||
V1: 'ResponseV1',
|
||||
V2: 'ResponseV2'
|
||||
},
|
||||
VersionedXcm: {
|
||||
_enum: {
|
||||
V0: 'XcmV0',
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
// Auto-generated via `yarn polkadot-types-from-defs`, do not edit
|
||||
/* eslint-disable */
|
||||
|
||||
import type { Bytes, Compact, Enum, Struct, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types';
|
||||
import type { Bytes, Compact, Enum, Null, Option, Result, Struct, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types';
|
||||
import type { ITuple } from '@polkadot/types/types';
|
||||
import type { AccountId, Weight } from '@polkadot/types/interfaces/runtime';
|
||||
import type { AccountId, BlockNumber, Weight } from '@polkadot/types/interfaces/runtime';
|
||||
|
||||
/** @name AssetInstance */
|
||||
export interface AssetInstance extends AssetInstanceV1 {}
|
||||
@@ -158,6 +158,9 @@ export interface MultiAssets extends Vec<MultiAsset> {}
|
||||
/** @name MultiAssetsV1 */
|
||||
export interface MultiAssetsV1 extends Vec<MultiAssetV1> {}
|
||||
|
||||
/** @name MultiAssetsV2 */
|
||||
export interface MultiAssetsV2 extends MultiAssetsV1 {}
|
||||
|
||||
/** @name MultiAssetV0 */
|
||||
export interface MultiAssetV0 extends Enum {
|
||||
readonly isNone: boolean;
|
||||
@@ -169,9 +172,9 @@ export interface MultiAssetV0 extends Enum {
|
||||
readonly isAllAbstractNonFungible: boolean;
|
||||
readonly asAllAbstractNonFungible: Bytes;
|
||||
readonly isAllConcreteFungible: boolean;
|
||||
readonly asAllConcreteFungible: MultiLocation;
|
||||
readonly asAllConcreteFungible: MultiLocationV0;
|
||||
readonly isAllConcreteNonFungible: boolean;
|
||||
readonly asAllConcreteNonFungible: MultiLocation;
|
||||
readonly asAllConcreteNonFungible: MultiLocationV0;
|
||||
readonly isAbstractFungible: boolean;
|
||||
readonly asAbstractFungible: {
|
||||
readonly id: Bytes;
|
||||
@@ -180,17 +183,17 @@ export interface MultiAssetV0 extends Enum {
|
||||
readonly isAbstractNonFungible: boolean;
|
||||
readonly asAbstractNonFungible: {
|
||||
readonly class: Bytes;
|
||||
readonly instance: AssetInstance;
|
||||
readonly instance: AssetInstanceV0;
|
||||
} & Struct;
|
||||
readonly isConcreteFungible: boolean;
|
||||
readonly asConcreteFungible: {
|
||||
readonly id: MultiLocation;
|
||||
readonly id: MultiLocationV0;
|
||||
readonly amount: Compact<u128>;
|
||||
} & Struct;
|
||||
readonly isConcreteNonFungible: boolean;
|
||||
readonly asConcreteNonFungible: {
|
||||
readonly class: MultiLocation;
|
||||
readonly instance: AssetInstance;
|
||||
readonly class: MultiLocationV0;
|
||||
readonly instance: AssetInstanceV0;
|
||||
} & Struct;
|
||||
}
|
||||
|
||||
@@ -200,6 +203,9 @@ export interface MultiAssetV1 extends Struct {
|
||||
readonly fungibility: Fungibility;
|
||||
}
|
||||
|
||||
/** @name MultiAssetV2 */
|
||||
export interface MultiAssetV2 extends MultiAssetV1 {}
|
||||
|
||||
/** @name MultiLocation */
|
||||
export interface MultiLocation extends Enum {
|
||||
readonly isHere: boolean;
|
||||
@@ -227,6 +233,9 @@ export interface MultiLocationV0 extends MultiLocation {}
|
||||
/** @name MultiLocationV1 */
|
||||
export interface MultiLocationV1 extends MultiLocation {}
|
||||
|
||||
/** @name MultiLocationV2 */
|
||||
export interface MultiLocationV2 extends MultiLocation {}
|
||||
|
||||
/** @name NetworkId */
|
||||
export interface NetworkId extends Enum {
|
||||
readonly isAny: boolean;
|
||||
@@ -247,9 +256,27 @@ export interface Outcome extends Enum {
|
||||
readonly isComplete: boolean;
|
||||
readonly asComplete: Weight;
|
||||
readonly isIncomplete: boolean;
|
||||
readonly asIncomplete: ITuple<[Weight, XcmError]>;
|
||||
readonly asIncomplete: ITuple<[Weight, XcmErrorV0]>;
|
||||
readonly isError: boolean;
|
||||
readonly asError: XcmError;
|
||||
readonly asError: XcmErrorV0;
|
||||
}
|
||||
|
||||
/** @name QueryId */
|
||||
export interface QueryId extends u64 {}
|
||||
|
||||
/** @name QueryStatus */
|
||||
export interface QueryStatus extends Enum {
|
||||
readonly isPending: boolean;
|
||||
readonly asPending: {
|
||||
readonly responder: VersionedMultiLocation;
|
||||
readonly maybeNotify: Option<ITuple<[u8, u8]>>;
|
||||
readonly timeout: BlockNumber;
|
||||
} & Struct;
|
||||
readonly isReady: boolean;
|
||||
readonly asReady: {
|
||||
readonly response: VersionedResponse;
|
||||
readonly at: BlockNumber;
|
||||
} & Struct;
|
||||
}
|
||||
|
||||
/** @name QueueConfigData */
|
||||
@@ -261,12 +288,52 @@ export interface QueueConfigData extends Struct {
|
||||
readonly weightRestrictDecay: Weight;
|
||||
}
|
||||
|
||||
/** @name Response */
|
||||
export interface Response extends ResponseV1 {}
|
||||
|
||||
/** @name ResponseV0 */
|
||||
export interface ResponseV0 extends Enum {
|
||||
readonly isAssets: boolean;
|
||||
readonly asAssets: Vec<MultiAssetV0>;
|
||||
}
|
||||
|
||||
/** @name ResponseV1 */
|
||||
export interface ResponseV1 extends Enum {
|
||||
readonly isAssets: boolean;
|
||||
readonly asAssets: MultiAssetsV1;
|
||||
}
|
||||
|
||||
/** @name ResponseV2 */
|
||||
export interface ResponseV2 extends Enum {
|
||||
readonly isNull: boolean;
|
||||
readonly isAssets: boolean;
|
||||
readonly asAssets: MultiAssetsV2;
|
||||
readonly isExecutionResult: boolean;
|
||||
readonly asExecutionResult: ResponseV2Result;
|
||||
}
|
||||
|
||||
/** @name ResponseV2Error */
|
||||
export interface ResponseV2Error extends ITuple<[u32, XcmErrorV2]> {}
|
||||
|
||||
/** @name ResponseV2Result */
|
||||
export interface ResponseV2Result extends Result<Null, ResponseV2Error> {
|
||||
readonly isErr: boolean;
|
||||
readonly asErr: ResponseV2Error;
|
||||
/** @deprecated Use isErr */
|
||||
readonly isError: boolean;
|
||||
/** @deprecated Use asErr */
|
||||
readonly asError: ResponseV2Error;
|
||||
readonly isOk: boolean;
|
||||
}
|
||||
|
||||
/** @name VersionedMultiAsset */
|
||||
export interface VersionedMultiAsset extends Enum {
|
||||
readonly isV0: boolean;
|
||||
readonly asV0: MultiAssetV0;
|
||||
readonly isV1: boolean;
|
||||
readonly asV1: MultiAssetV1;
|
||||
readonly isV2: boolean;
|
||||
readonly asV2: MultiAssetV2;
|
||||
}
|
||||
|
||||
/** @name VersionedMultiAssets */
|
||||
@@ -275,6 +342,8 @@ export interface VersionedMultiAssets extends Enum {
|
||||
readonly asV0: Vec<MultiAssetV0>;
|
||||
readonly isV1: boolean;
|
||||
readonly asV1: MultiAssetsV1;
|
||||
readonly isV2: boolean;
|
||||
readonly asV2: MultiAssetsV2;
|
||||
}
|
||||
|
||||
/** @name VersionedMultiLocation */
|
||||
@@ -283,6 +352,15 @@ export interface VersionedMultiLocation extends Enum {
|
||||
readonly asV0: MultiLocationV0;
|
||||
readonly isV1: boolean;
|
||||
readonly asV1: MultiLocationV1;
|
||||
readonly isV2: boolean;
|
||||
readonly asV2: MultiLocationV2;
|
||||
}
|
||||
|
||||
/** @name VersionedResponse */
|
||||
export interface VersionedResponse extends Struct {
|
||||
readonly V0: ResponseV0;
|
||||
readonly V1: ResponseV1;
|
||||
readonly V2: ResponseV2;
|
||||
}
|
||||
|
||||
/** @name VersionedXcm */
|
||||
@@ -323,8 +401,8 @@ export interface XcmAssetId extends Enum {
|
||||
readonly asAbstract: Bytes;
|
||||
}
|
||||
|
||||
/** @name XcmError */
|
||||
export interface XcmError extends Enum {
|
||||
/** @name XcmErrorV0 */
|
||||
export interface XcmErrorV0 extends Enum {
|
||||
readonly isUndefined: boolean;
|
||||
readonly isOverflow: boolean;
|
||||
readonly isUnimplemented: boolean;
|
||||
@@ -355,6 +433,80 @@ export interface XcmError extends Enum {
|
||||
readonly isTooExpensive: boolean;
|
||||
}
|
||||
|
||||
/** @name XcmErrorV1 */
|
||||
export interface XcmErrorV1 extends Enum {
|
||||
readonly isUndefined: boolean;
|
||||
readonly isOverflow: boolean;
|
||||
readonly isUnimplemented: boolean;
|
||||
readonly isUnhandledXcmVersion: boolean;
|
||||
readonly isUnhandledXcmMessage: boolean;
|
||||
readonly isUnhandledEffect: boolean;
|
||||
readonly isEscalationOfPrivilege: boolean;
|
||||
readonly isUntrustedReserveLocation: boolean;
|
||||
readonly isUntrustedTeleportLocation: boolean;
|
||||
readonly isDestinationBufferOverflow: boolean;
|
||||
readonly isSendFailed: boolean;
|
||||
readonly isCannotReachDestination: boolean;
|
||||
readonly asCannotReachDestination: ITuple<[MultiLocationV1, XcmV1]>;
|
||||
readonly isMultiLocationFull: boolean;
|
||||
readonly isFailedToDecode: boolean;
|
||||
readonly isBadOrigin: boolean;
|
||||
readonly isExceedsMaxMessageSize: boolean;
|
||||
readonly isFailedToTransactAsset: boolean;
|
||||
readonly isWeightLimitReached: boolean;
|
||||
readonly asWeightLimitReached: Weight;
|
||||
readonly isWildcard: boolean;
|
||||
readonly isTooMuchWeightRequired: boolean;
|
||||
readonly isNotHoldingFees: boolean;
|
||||
readonly isWeightNotComputable: boolean;
|
||||
readonly isBarrier: boolean;
|
||||
readonly isNotWithdrawable: boolean;
|
||||
readonly isLocationCannotHold: boolean;
|
||||
readonly isTooExpensive: boolean;
|
||||
readonly isAssetNotFound: boolean;
|
||||
readonly isDestinationUnsupported: boolean;
|
||||
readonly isRecursionLimitReached: boolean;
|
||||
}
|
||||
|
||||
/** @name XcmErrorV2 */
|
||||
export interface XcmErrorV2 extends Enum {
|
||||
readonly isUndefined: boolean;
|
||||
readonly isOverflow: boolean;
|
||||
readonly isUnimplemented: boolean;
|
||||
readonly isUnhandledXcmVersion: boolean;
|
||||
readonly isUnhandledXcmMessage: boolean;
|
||||
readonly isUnhandledEffect: boolean;
|
||||
readonly isEscalationOfPrivilege: boolean;
|
||||
readonly isUntrustedReserveLocation: boolean;
|
||||
readonly isUntrustedTeleportLocation: boolean;
|
||||
readonly isDestinationBufferOverflow: boolean;
|
||||
readonly isMultiLocationFull: boolean;
|
||||
readonly isMultiLocationNotInvertible: boolean;
|
||||
readonly isFailedToDecode: boolean;
|
||||
readonly isBadOrigin: boolean;
|
||||
readonly isExceedsMaxMessageSize: boolean;
|
||||
readonly isFailedToTransactAsset: boolean;
|
||||
readonly isWeightLimitReached: boolean;
|
||||
readonly asWeightLimitReached: Weight;
|
||||
readonly isWildcard: boolean;
|
||||
readonly isTooMuchWeightRequired: boolean;
|
||||
readonly isNotHoldingFees: boolean;
|
||||
readonly isWeightNotComputable: boolean;
|
||||
readonly isBarrier: boolean;
|
||||
readonly isNotWithdrawable: boolean;
|
||||
readonly isLocationCannotHold: boolean;
|
||||
readonly isTooExpensive: boolean;
|
||||
readonly isAssetNotFound: boolean;
|
||||
readonly isDestinationUnsupported: boolean;
|
||||
readonly isRecursionLimitReached: boolean;
|
||||
readonly isTransport: boolean;
|
||||
readonly isUnroutable: boolean;
|
||||
readonly isUnknownWeightRequired: boolean;
|
||||
readonly isTrap: boolean;
|
||||
readonly asTrap: u64;
|
||||
readonly isUnknownClaim: boolean;
|
||||
}
|
||||
|
||||
/** @name XcmOrder */
|
||||
export interface XcmOrder extends XcmOrderV1 {}
|
||||
|
||||
@@ -476,12 +628,6 @@ export interface XcmpMessageFormat extends Enum {
|
||||
readonly isSignals: boolean;
|
||||
}
|
||||
|
||||
/** @name XcmResponse */
|
||||
export interface XcmResponse extends Enum {
|
||||
readonly isAssets: boolean;
|
||||
readonly asAssets: Vec<MultiAsset>;
|
||||
}
|
||||
|
||||
/** @name XcmV0 */
|
||||
export interface XcmV0 extends Enum {
|
||||
readonly isWithdrawAsset: boolean;
|
||||
@@ -502,7 +648,7 @@ export interface XcmV0 extends Enum {
|
||||
readonly isQueryResponse: boolean;
|
||||
readonly asQueryResponse: {
|
||||
readonly queryId: Compact<u64>;
|
||||
readonly response: XcmResponse;
|
||||
readonly response: ResponseV0;
|
||||
} & Struct;
|
||||
readonly isTransferAsset: boolean;
|
||||
readonly asTransferAsset: {
|
||||
@@ -564,7 +710,7 @@ export interface XcmV1 extends Enum {
|
||||
readonly isQueryResponse: boolean;
|
||||
readonly asQueryResponse: {
|
||||
readonly queryId: Compact<u64>;
|
||||
readonly response: XcmResponse;
|
||||
readonly response: ResponseV1;
|
||||
} & Struct;
|
||||
readonly isTransferAsset: boolean;
|
||||
readonly asTransferAsset: {
|
||||
|
||||
Reference in New Issue
Block a user