Provide mapping for LookupSource & LookupTarget (#1823)
* Provide mapping for LookupSource & LookupTarget * Type overrides for Kusama-next * Fix LookupSource for Kusama-next * Fixup tests with lookup
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
# 1.2.0-beta.x
|
||||
|
||||
- Add `LookupSource` and `LookupTarget` types instead of mapping these directly for aliassing
|
||||
- Add support for `system.account` for balance & nonce queries in derives (Substrate composites)
|
||||
|
||||
# 1.1.1
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
import { AnyNumber, ITuple } from '@polkadot/types/types';
|
||||
import { Compact, Option, Raw, Vec } from '@polkadot/types/codec';
|
||||
import { Bytes, Data, IdentityFields, bool, u16, u32, u64 } from '@polkadot/types/primitive';
|
||||
import { AccountId, AccountIndex, Address, Balance, BalanceOf, BlockNumber, Call, ChangesTrieConfiguration, Hash, Header, KeyValue, Moment, Signature } from '@polkadot/types/interfaces/runtime';
|
||||
import { AccountId, AccountIndex, Balance, BalanceOf, BlockNumber, Call, ChangesTrieConfiguration, Hash, Header, KeyValue, LookupSource, Moment, Signature } from '@polkadot/types/interfaces/runtime';
|
||||
import { MemberCount, ProposalIndex } from '@polkadot/types/interfaces/collective';
|
||||
import { CodeHash, Gas, Schedule } from '@polkadot/types/interfaces/contracts';
|
||||
import { Conviction, PropIndex, Proposal, ReferendumIndex } from '@polkadot/types/interfaces/democracy';
|
||||
@@ -216,7 +216,7 @@ declare module '@polkadot/api/types/submittable' {
|
||||
* check that the transfer will not kill the origin account.
|
||||
* # </weight>
|
||||
**/
|
||||
transfer: AugmentedSubmittable<(dest: Address | string | AccountId | AccountIndex | Uint8Array, value: Compact<Balance> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
||||
transfer: AugmentedSubmittable<(dest: LookupSource | string | AccountId | AccountIndex | Uint8Array, value: Compact<Balance> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
||||
/**
|
||||
* Set the balances of a given account.
|
||||
* This will alter `FreeBalance` and `ReservedBalance` in storage. it will
|
||||
@@ -229,19 +229,19 @@ declare module '@polkadot/api/types/submittable' {
|
||||
* - Contains a limited number of reads and writes.
|
||||
* # </weight>
|
||||
**/
|
||||
setBalance: AugmentedSubmittable<(who: Address | string | AccountId | AccountIndex | Uint8Array, newFree: Compact<Balance> | AnyNumber | Uint8Array, newReserved: Compact<Balance> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
||||
setBalance: AugmentedSubmittable<(who: LookupSource | string | AccountId | AccountIndex | Uint8Array, newFree: Compact<Balance> | AnyNumber | Uint8Array, newReserved: Compact<Balance> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
||||
/**
|
||||
* Exactly as `transfer`, except the origin must be root and the source account may be
|
||||
* specified.
|
||||
**/
|
||||
forceTransfer: AugmentedSubmittable<(source: Address | string | AccountId | AccountIndex | Uint8Array, dest: Address | string | AccountId | AccountIndex | Uint8Array, value: Compact<Balance> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
||||
forceTransfer: AugmentedSubmittable<(source: LookupSource | string | AccountId | AccountIndex | Uint8Array, dest: LookupSource | string | AccountId | AccountIndex | Uint8Array, value: Compact<Balance> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
||||
/**
|
||||
* Same as the [`transfer`] call, but with a check that the transfer will not kill the
|
||||
* origin account.
|
||||
* 99% of the time you want [`transfer`] instead.
|
||||
* [`transfer`]: struct.Module.html#method.transfer
|
||||
**/
|
||||
transferKeepAlive: AugmentedSubmittable<(dest: Address | string | AccountId | AccountIndex | Uint8Array, value: Compact<Balance> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
||||
transferKeepAlive: AugmentedSubmittable<(dest: LookupSource | string | AccountId | AccountIndex | Uint8Array, value: Compact<Balance> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
||||
};
|
||||
staking: {
|
||||
[index: string]: SubmittableExtrinsicFunction<ApiType>;
|
||||
@@ -258,7 +258,7 @@ declare module '@polkadot/api/types/submittable' {
|
||||
* the `origin` falls below _existential deposit_ and gets removed as dust.
|
||||
* # </weight>
|
||||
**/
|
||||
bond: AugmentedSubmittable<(controller: Address | string | AccountId | AccountIndex | Uint8Array, value: Compact<BalanceOf> | AnyNumber | Uint8Array, payee: RewardDestination | ('Staked' | 'Stash' | 'Controller') | number | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
||||
bond: AugmentedSubmittable<(controller: LookupSource | string | AccountId | AccountIndex | Uint8Array, value: Compact<BalanceOf> | AnyNumber | Uint8Array, payee: RewardDestination | ('Staked' | 'Stash' | 'Controller') | number | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
||||
/**
|
||||
* Add some extra amount that have appeared in the stash `free_balance` into the balance up
|
||||
* for staking.
|
||||
@@ -330,7 +330,7 @@ declare module '@polkadot/api/types/submittable' {
|
||||
* - Both the reads and writes follow a similar pattern.
|
||||
* # </weight>
|
||||
**/
|
||||
nominate: AugmentedSubmittable<(targets: Vec<Address> | (Address | string | AccountId | AccountIndex | Uint8Array)[]) => SubmittableExtrinsic<ApiType>>;
|
||||
nominate: AugmentedSubmittable<(targets: Vec<LookupSource> | (LookupSource | string | AccountId | AccountIndex | Uint8Array)[]) => SubmittableExtrinsic<ApiType>>;
|
||||
/**
|
||||
* Declare no desire to either validate or nominate.
|
||||
* Effects will be felt at the beginning of the next era.
|
||||
@@ -363,7 +363,7 @@ declare module '@polkadot/api/types/submittable' {
|
||||
* - Writes are limited to the `origin` account key.
|
||||
* # </weight>
|
||||
**/
|
||||
setController: AugmentedSubmittable<(controller: Address | string | AccountId | AccountIndex | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
||||
setController: AugmentedSubmittable<(controller: LookupSource | string | AccountId | AccountIndex | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
||||
/**
|
||||
* The ideal number of validators.
|
||||
**/
|
||||
@@ -666,7 +666,7 @@ declare module '@polkadot/api/types/submittable' {
|
||||
* Writes: O(1)
|
||||
* # </weight>
|
||||
**/
|
||||
reportDefunctVoter: AugmentedSubmittable<(target: Address | string | AccountId | AccountIndex | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
||||
reportDefunctVoter: AugmentedSubmittable<(target: LookupSource | string | AccountId | AccountIndex | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
||||
/**
|
||||
* Submit oneself for candidacy.
|
||||
* A candidate will either:
|
||||
@@ -705,7 +705,7 @@ declare module '@polkadot/api/types/submittable' {
|
||||
* Writes: O(do_phragmen)
|
||||
* # </weight>
|
||||
**/
|
||||
removeMember: AugmentedSubmittable<(who: Address | string | AccountId | AccountIndex | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
||||
removeMember: AugmentedSubmittable<(who: LookupSource | string | AccountId | AccountIndex | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
||||
};
|
||||
technicalMembership: {
|
||||
[index: string]: SubmittableExtrinsicFunction<ApiType>;
|
||||
@@ -763,7 +763,7 @@ declare module '@polkadot/api/types/submittable' {
|
||||
* - One DB change, one extra DB entry.
|
||||
* # </weight>
|
||||
**/
|
||||
proposeSpend: AugmentedSubmittable<(value: Compact<BalanceOf> | AnyNumber | Uint8Array, beneficiary: Address | string | AccountId | AccountIndex | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
||||
proposeSpend: AugmentedSubmittable<(value: Compact<BalanceOf> | AnyNumber | Uint8Array, beneficiary: LookupSource | string | AccountId | AccountIndex | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
||||
/**
|
||||
* Reject a proposed spend. The original deposit will be slashed.
|
||||
* # <weight>
|
||||
@@ -887,7 +887,7 @@ declare module '@polkadot/api/types/submittable' {
|
||||
* * If no account exists and the call value is not less than `existential_deposit`,
|
||||
* a regular account will be created and any value will be transferred.
|
||||
**/
|
||||
call: AugmentedSubmittable<(dest: Address | string | AccountId | AccountIndex | Uint8Array, value: Compact<BalanceOf> | AnyNumber | Uint8Array, gasLimit: Compact<Gas> | AnyNumber | Uint8Array, data: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
||||
call: AugmentedSubmittable<(dest: LookupSource | string | AccountId | AccountIndex | Uint8Array, value: Compact<BalanceOf> | AnyNumber | Uint8Array, gasLimit: Compact<Gas> | AnyNumber | Uint8Array, data: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
||||
/**
|
||||
* Instantiates a new contract from the `codehash` generated by `put_code`, optionally transferring some balance.
|
||||
* Instantiation is executed as follows:
|
||||
@@ -929,7 +929,7 @@ declare module '@polkadot/api/types/submittable' {
|
||||
* - One DB change.
|
||||
* # </weight>
|
||||
**/
|
||||
setKey: AugmentedSubmittable<(updated: Address | string | AccountId | AccountIndex | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
||||
setKey: AugmentedSubmittable<(updated: LookupSource | string | AccountId | AccountIndex | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
||||
/**
|
||||
* Authenticates the sudo key and dispatches a function call with `Signed` origin from
|
||||
* a given account.
|
||||
@@ -941,7 +941,7 @@ declare module '@polkadot/api/types/submittable' {
|
||||
* - Unknown weight of derivative `proposal` execution.
|
||||
* # </weight>
|
||||
**/
|
||||
sudoAs: AugmentedSubmittable<(who: Address | string | AccountId | AccountIndex | Uint8Array, proposal: Proposal | { callIndex?: any; args?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
||||
sudoAs: AugmentedSubmittable<(who: LookupSource | string | AccountId | AccountIndex | Uint8Array, proposal: Proposal | { callIndex?: any; args?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
||||
};
|
||||
imOnline: {
|
||||
[index: string]: SubmittableExtrinsicFunction<ApiType>;
|
||||
@@ -1094,7 +1094,7 @@ declare module '@polkadot/api/types/submittable' {
|
||||
* - One event.
|
||||
* # </weight>
|
||||
**/
|
||||
provideJudgement: AugmentedSubmittable<(regIndex: Compact<RegistrarIndex> | AnyNumber | Uint8Array, target: Address | string | AccountId | AccountIndex | Uint8Array, judgement: IdentityJudgement | { unknown: any } | { feePaid: any } | { reasonable: any } | { knownGood: any } | { outOfDate: any } | { lowQuality: any } | { erroneous: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
||||
provideJudgement: AugmentedSubmittable<(regIndex: Compact<RegistrarIndex> | AnyNumber | Uint8Array, target: LookupSource | string | AccountId | AccountIndex | Uint8Array, judgement: IdentityJudgement | { unknown: any } | { feePaid: any } | { reasonable: any } | { knownGood: any } | { outOfDate: any } | { lowQuality: any } | { erroneous: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
||||
/**
|
||||
* Remove an account's identity and sub-account information and slash the deposits.
|
||||
* Payment: Reserved balances from `set_subs` and `set_identity` are slashed and handled by
|
||||
@@ -1111,7 +1111,7 @@ declare module '@polkadot/api/types/submittable' {
|
||||
* - One event.
|
||||
* # </weight>
|
||||
**/
|
||||
killIdentity: AugmentedSubmittable<(target: Address | string | AccountId | AccountIndex | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
||||
killIdentity: AugmentedSubmittable<(target: LookupSource | string | AccountId | AccountIndex | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
||||
};
|
||||
society: {
|
||||
[index: string]: SubmittableExtrinsicFunction<ApiType>;
|
||||
@@ -1237,7 +1237,7 @@ declare module '@polkadot/api/types/submittable' {
|
||||
* Total Complexity: O(M + logM + C)
|
||||
* # </weight>
|
||||
**/
|
||||
vote: AugmentedSubmittable<(candidate: Address | string | AccountId | AccountIndex | Uint8Array, approve: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
||||
vote: AugmentedSubmittable<(candidate: LookupSource | string | AccountId | AccountIndex | Uint8Array, approve: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
||||
/**
|
||||
* As a member, vote on the defender.
|
||||
* The dispatch origin for this call must be _Signed_ and a member.
|
||||
@@ -1557,7 +1557,7 @@ declare module '@polkadot/api/types/submittable' {
|
||||
* - One event.
|
||||
* # </weight>
|
||||
**/
|
||||
vestOther: AugmentedSubmittable<(target: Address | string | AccountId | AccountIndex | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
||||
vestOther: AugmentedSubmittable<(target: LookupSource | string | AccountId | AccountIndex | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
@@ -776,7 +776,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "dest",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "value",
|
||||
@@ -793,7 +793,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "who",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "free",
|
||||
@@ -1118,7 +1118,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "target",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
}
|
||||
],
|
||||
"documentation": []
|
||||
@@ -1840,7 +1840,7 @@
|
||||
},
|
||||
{
|
||||
"name": "who",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "who_index",
|
||||
@@ -1893,7 +1893,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "candidate",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "total",
|
||||
@@ -1931,7 +1931,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "who",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
@@ -2526,7 +2526,7 @@
|
||||
},
|
||||
{
|
||||
"name": "beneficiary",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
@@ -2714,7 +2714,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "dest",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "value",
|
||||
@@ -2796,7 +2796,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "new",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
}
|
||||
],
|
||||
"documentation": []
|
||||
|
||||
@@ -473,7 +473,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "dest",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "value",
|
||||
@@ -489,7 +489,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "who",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "free",
|
||||
@@ -1002,7 +1002,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "controller",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "value",
|
||||
@@ -1091,7 +1091,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "targets",
|
||||
"type": "Vec<Address>"
|
||||
"type": "Vec<LookupSource>"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
@@ -1829,7 +1829,7 @@
|
||||
},
|
||||
{
|
||||
"name": "who",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "who_index",
|
||||
@@ -1879,7 +1879,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "candidate",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "total",
|
||||
@@ -1915,7 +1915,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "who",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
@@ -2491,7 +2491,7 @@
|
||||
},
|
||||
{
|
||||
"name": "beneficiary",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
@@ -2783,7 +2783,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "dest",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "value",
|
||||
@@ -2918,7 +2918,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "new",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
}
|
||||
],
|
||||
"documentation": []
|
||||
|
||||
@@ -695,7 +695,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "dest",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "value",
|
||||
@@ -735,7 +735,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "who",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "new_free",
|
||||
@@ -767,11 +767,11 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "source",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "dest",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "value",
|
||||
@@ -788,7 +788,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "dest",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "value",
|
||||
@@ -1447,7 +1447,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "controller",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "value",
|
||||
@@ -1601,7 +1601,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "targets",
|
||||
"type": "Vec<Address>"
|
||||
"type": "Vec<LookupSource>"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
@@ -1662,7 +1662,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "controller",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
@@ -4050,7 +4050,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "target",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
@@ -4108,7 +4108,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "who",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
@@ -4692,7 +4692,7 @@
|
||||
},
|
||||
{
|
||||
"name": "beneficiary",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
@@ -5582,7 +5582,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "dest",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
@@ -6654,7 +6654,7 @@
|
||||
},
|
||||
{
|
||||
"name": "target",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "judgement",
|
||||
@@ -6688,7 +6688,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "target",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
|
||||
@@ -1144,7 +1144,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "dest",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "value",
|
||||
@@ -1184,7 +1184,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "who",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "new_free",
|
||||
@@ -1216,11 +1216,11 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "source",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "dest",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "value",
|
||||
@@ -1237,7 +1237,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "dest",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "value",
|
||||
@@ -1795,7 +1795,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "controller",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "value",
|
||||
@@ -1932,7 +1932,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "targets",
|
||||
"type": "Vec<Address>"
|
||||
"type": "Vec<LookupSource>"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
@@ -1993,7 +1993,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "controller",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
@@ -3974,7 +3974,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "target",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
@@ -4032,7 +4032,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "who",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
@@ -4669,7 +4669,7 @@
|
||||
},
|
||||
{
|
||||
"name": "beneficiary",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
@@ -5243,7 +5243,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "dest",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "value",
|
||||
@@ -5614,7 +5614,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "new",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
@@ -5634,7 +5634,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "who",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "proposal",
|
||||
@@ -6260,7 +6260,7 @@
|
||||
},
|
||||
{
|
||||
"name": "target",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "judgement",
|
||||
@@ -6294,7 +6294,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "target",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
@@ -6851,7 +6851,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "candidate",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "approve",
|
||||
|
||||
@@ -763,7 +763,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "dest",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "value",
|
||||
@@ -803,7 +803,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "who",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "new_free",
|
||||
@@ -835,11 +835,11 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "source",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "dest",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "value",
|
||||
@@ -856,7 +856,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "dest",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "value",
|
||||
@@ -1515,7 +1515,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "controller",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "value",
|
||||
@@ -1652,7 +1652,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "targets",
|
||||
"type": "Vec<Address>"
|
||||
"type": "Vec<LookupSource>"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
@@ -1713,7 +1713,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "controller",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
@@ -2605,7 +2605,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "new",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
@@ -2625,7 +2625,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "who",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "proposal",
|
||||
@@ -4249,7 +4249,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "target",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
@@ -4307,7 +4307,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "who",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
@@ -4730,7 +4730,7 @@
|
||||
},
|
||||
{
|
||||
"name": "beneficiary",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
@@ -5904,7 +5904,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "dest",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
|
||||
@@ -1189,7 +1189,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "dest",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "value",
|
||||
@@ -1228,7 +1228,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "who",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "new_free",
|
||||
@@ -1260,11 +1260,11 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "source",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "dest",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "value",
|
||||
@@ -1281,7 +1281,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "dest",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "value",
|
||||
@@ -1831,7 +1831,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "controller",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "value",
|
||||
@@ -1968,7 +1968,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "targets",
|
||||
"type": "Vec<Address>"
|
||||
"type": "Vec<LookupSource>"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
@@ -2029,7 +2029,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "controller",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
@@ -4058,7 +4058,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "target",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
@@ -4116,7 +4116,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "who",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
@@ -4753,7 +4753,7 @@
|
||||
},
|
||||
{
|
||||
"name": "beneficiary",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
@@ -5327,7 +5327,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "dest",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "value",
|
||||
@@ -5726,7 +5726,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "new",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
@@ -5746,7 +5746,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "who",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "proposal",
|
||||
@@ -6377,7 +6377,7 @@
|
||||
},
|
||||
{
|
||||
"name": "target",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "judgement",
|
||||
@@ -6411,7 +6411,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "target",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
@@ -6974,7 +6974,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "candidate",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "approve",
|
||||
@@ -8077,7 +8077,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "target",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
|
||||
@@ -503,7 +503,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "dest",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "value",
|
||||
@@ -519,7 +519,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "who",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "free",
|
||||
@@ -1029,7 +1029,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "controller",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "value",
|
||||
@@ -1120,7 +1120,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "targets",
|
||||
"type": "Vec<Address>"
|
||||
"type": "Vec<LookupSource>"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
@@ -1163,7 +1163,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "controller",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
@@ -1935,7 +1935,7 @@
|
||||
},
|
||||
{
|
||||
"name": "who",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "who_index",
|
||||
@@ -1985,7 +1985,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "candidate",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "total",
|
||||
@@ -2021,7 +2021,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "who",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
@@ -2604,7 +2604,7 @@
|
||||
},
|
||||
{
|
||||
"name": "beneficiary",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
@@ -2925,7 +2925,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "dest",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "value",
|
||||
@@ -3060,7 +3060,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "new",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
}
|
||||
],
|
||||
"documentation": []
|
||||
|
||||
@@ -548,7 +548,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "dest",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "value",
|
||||
@@ -571,7 +571,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "who",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "free",
|
||||
@@ -1088,7 +1088,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "controller",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "value",
|
||||
@@ -1179,7 +1179,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "targets",
|
||||
"type": "Vec<Address>"
|
||||
"type": "Vec<LookupSource>"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
@@ -1222,7 +1222,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "controller",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
@@ -1994,7 +1994,7 @@
|
||||
},
|
||||
{
|
||||
"name": "who",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "who_index",
|
||||
@@ -2044,7 +2044,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "candidate",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "total",
|
||||
@@ -2080,7 +2080,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "who",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
@@ -2663,7 +2663,7 @@
|
||||
},
|
||||
{
|
||||
"name": "beneficiary",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
@@ -3029,7 +3029,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "dest",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "value",
|
||||
@@ -3171,7 +3171,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "new",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
}
|
||||
],
|
||||
"documentation": []
|
||||
|
||||
@@ -597,7 +597,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "dest",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "value",
|
||||
@@ -620,7 +620,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "who",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "free",
|
||||
@@ -1146,7 +1146,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "controller",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "value",
|
||||
@@ -1241,7 +1241,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "targets",
|
||||
"type": "Vec<Address>"
|
||||
"type": "Vec<LookupSource>"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
@@ -1284,7 +1284,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "controller",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
@@ -2230,7 +2230,7 @@
|
||||
},
|
||||
{
|
||||
"name": "who",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "who_index",
|
||||
@@ -2280,7 +2280,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "candidate",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "total",
|
||||
@@ -2316,7 +2316,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "who",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
@@ -2748,7 +2748,7 @@
|
||||
},
|
||||
{
|
||||
"name": "beneficiary",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
@@ -3179,7 +3179,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "dest",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "value",
|
||||
@@ -3386,7 +3386,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "new",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
|
||||
@@ -495,7 +495,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "dest",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "value",
|
||||
@@ -533,7 +533,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "who",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "free",
|
||||
@@ -981,7 +981,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "controller",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "value",
|
||||
@@ -1118,7 +1118,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "targets",
|
||||
"type": "Vec<Address>"
|
||||
"type": "Vec<LookupSource>"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
@@ -1179,7 +1179,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "controller",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
@@ -2338,7 +2338,7 @@
|
||||
},
|
||||
{
|
||||
"name": "who",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "who_index",
|
||||
@@ -2414,7 +2414,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "candidate",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "total",
|
||||
@@ -2455,7 +2455,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "who",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
@@ -2827,7 +2827,7 @@
|
||||
},
|
||||
{
|
||||
"name": "beneficiary",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
@@ -3410,7 +3410,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "dest",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
@@ -3600,7 +3600,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "new",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
|
||||
@@ -556,7 +556,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "dest",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "value",
|
||||
@@ -594,7 +594,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "who",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "new_free",
|
||||
@@ -1042,7 +1042,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "controller",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "value",
|
||||
@@ -1179,7 +1179,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "targets",
|
||||
"type": "Vec<Address>"
|
||||
"type": "Vec<LookupSource>"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
@@ -1240,7 +1240,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "controller",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
@@ -2290,7 +2290,7 @@
|
||||
},
|
||||
{
|
||||
"name": "who",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "who_index",
|
||||
@@ -2366,7 +2366,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "candidate",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "total",
|
||||
@@ -2407,7 +2407,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "who",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
@@ -2875,7 +2875,7 @@
|
||||
},
|
||||
{
|
||||
"name": "beneficiary",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
@@ -3324,7 +3324,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "dest",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "value",
|
||||
@@ -3537,7 +3537,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "new",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
|
||||
@@ -548,7 +548,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "dest",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "value",
|
||||
@@ -586,7 +586,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "who",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "new_free",
|
||||
@@ -977,7 +977,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "controller",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "value",
|
||||
@@ -1114,7 +1114,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "targets",
|
||||
"type": "Vec<Address>"
|
||||
"type": "Vec<LookupSource>"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
@@ -1175,7 +1175,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "controller",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
@@ -2793,7 +2793,7 @@
|
||||
},
|
||||
{
|
||||
"name": "who",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "who_index",
|
||||
@@ -2869,7 +2869,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "candidate",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "total",
|
||||
@@ -2910,7 +2910,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "who",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
@@ -3268,7 +3268,7 @@
|
||||
},
|
||||
{
|
||||
"name": "beneficiary",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
@@ -3851,7 +3851,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "dest",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
@@ -4042,7 +4042,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "new",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
|
||||
@@ -594,7 +594,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "dest",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "value",
|
||||
@@ -632,7 +632,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "who",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "new_free",
|
||||
@@ -1023,7 +1023,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "controller",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "value",
|
||||
@@ -1160,7 +1160,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "targets",
|
||||
"type": "Vec<Address>"
|
||||
"type": "Vec<LookupSource>"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
@@ -1221,7 +1221,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "controller",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
@@ -2871,7 +2871,7 @@
|
||||
},
|
||||
{
|
||||
"name": "who",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "who_index",
|
||||
@@ -2947,7 +2947,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "candidate",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "total",
|
||||
@@ -2988,7 +2988,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "who",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
@@ -3352,7 +3352,7 @@
|
||||
},
|
||||
{
|
||||
"name": "beneficiary",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
@@ -3624,7 +3624,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "dest",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "value",
|
||||
@@ -3983,7 +3983,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "new",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
|
||||
@@ -679,7 +679,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "dest",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "value",
|
||||
@@ -717,7 +717,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "who",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "new_free",
|
||||
@@ -749,11 +749,11 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "source",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "dest",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "value",
|
||||
@@ -1165,7 +1165,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "controller",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "value",
|
||||
@@ -1302,7 +1302,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "targets",
|
||||
"type": "Vec<Address>"
|
||||
"type": "Vec<LookupSource>"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
@@ -1363,7 +1363,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "controller",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
@@ -3344,7 +3344,7 @@
|
||||
},
|
||||
{
|
||||
"name": "who",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "who_index",
|
||||
@@ -3420,7 +3420,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "candidate",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "total",
|
||||
@@ -3462,7 +3462,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "who",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
@@ -3818,7 +3818,7 @@
|
||||
},
|
||||
{
|
||||
"name": "beneficiary",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
@@ -4568,7 +4568,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "dest",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
@@ -4762,7 +4762,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "new",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
@@ -4782,7 +4782,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "who",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "proposal",
|
||||
|
||||
@@ -776,7 +776,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "dest",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "value",
|
||||
@@ -814,7 +814,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "who",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "new_free",
|
||||
@@ -846,11 +846,11 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "source",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "dest",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "value",
|
||||
@@ -1205,7 +1205,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "controller",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "value",
|
||||
@@ -1342,7 +1342,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "targets",
|
||||
"type": "Vec<Address>"
|
||||
"type": "Vec<LookupSource>"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
@@ -1403,7 +1403,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "controller",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
@@ -3055,7 +3055,7 @@
|
||||
},
|
||||
{
|
||||
"name": "who",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "who_index",
|
||||
@@ -3131,7 +3131,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "candidate",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "total",
|
||||
@@ -3173,7 +3173,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "who",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
@@ -3698,7 +3698,7 @@
|
||||
},
|
||||
{
|
||||
"name": "beneficiary",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
@@ -3972,7 +3972,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "dest",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "value",
|
||||
@@ -4305,7 +4305,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "new",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
@@ -4325,7 +4325,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "who",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "proposal",
|
||||
|
||||
@@ -779,7 +779,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "dest",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "value",
|
||||
@@ -819,7 +819,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "who",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "new_free",
|
||||
@@ -851,11 +851,11 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "source",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "dest",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "value",
|
||||
@@ -872,7 +872,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "dest",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "value",
|
||||
@@ -1359,7 +1359,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "controller",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "value",
|
||||
@@ -1496,7 +1496,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "targets",
|
||||
"type": "Vec<Address>"
|
||||
"type": "Vec<LookupSource>"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
@@ -1557,7 +1557,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "controller",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
@@ -3108,7 +3108,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "target",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
@@ -3151,7 +3151,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "who",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
@@ -3597,7 +3597,7 @@
|
||||
},
|
||||
{
|
||||
"name": "beneficiary",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
@@ -3881,7 +3881,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "dest",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "value",
|
||||
@@ -4215,7 +4215,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "new",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
@@ -4235,7 +4235,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "who",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "proposal",
|
||||
@@ -4583,7 +4583,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "target",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
@@ -4607,7 +4607,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "target",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "name",
|
||||
|
||||
@@ -774,7 +774,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "dest",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "value",
|
||||
@@ -814,7 +814,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "who",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "new_free",
|
||||
@@ -846,11 +846,11 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "source",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "dest",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "value",
|
||||
@@ -867,7 +867,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "dest",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "value",
|
||||
@@ -1354,7 +1354,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "controller",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "value",
|
||||
@@ -1491,7 +1491,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "targets",
|
||||
"type": "Vec<Address>"
|
||||
"type": "Vec<LookupSource>"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
@@ -1552,7 +1552,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "controller",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
@@ -3245,7 +3245,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "target",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
@@ -3303,7 +3303,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "who",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
@@ -3780,7 +3780,7 @@
|
||||
},
|
||||
{
|
||||
"name": "beneficiary",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
@@ -4064,7 +4064,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "dest",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "value",
|
||||
@@ -4398,7 +4398,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "new",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
@@ -4418,7 +4418,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "who",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "proposal",
|
||||
@@ -4766,7 +4766,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "target",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
}
|
||||
],
|
||||
"documentation": [
|
||||
@@ -4790,7 +4790,7 @@
|
||||
"args": [
|
||||
{
|
||||
"name": "target",
|
||||
"type": "Address"
|
||||
"type": "LookupSource"
|
||||
},
|
||||
{
|
||||
"name": "name",
|
||||
|
||||
@@ -181,10 +181,10 @@ describe('getTypeDef', (): void => {
|
||||
getTypeDef('Vec<(Box<PropIndex>, Proposal,Lookup::Target)>')
|
||||
).toEqual({
|
||||
info: TypeDefInfo.Vec,
|
||||
type: 'Vec<(PropIndex,Proposal,AccountId)>',
|
||||
type: 'Vec<(PropIndex,Proposal,LookupTarget)>',
|
||||
sub: {
|
||||
info: TypeDefInfo.Tuple,
|
||||
type: '(PropIndex,Proposal,AccountId)',
|
||||
type: '(PropIndex,Proposal,LookupTarget)',
|
||||
sub: [
|
||||
{
|
||||
info: TypeDefInfo.Plain,
|
||||
@@ -196,7 +196,7 @@ describe('getTypeDef', (): void => {
|
||||
},
|
||||
{
|
||||
info: TypeDefInfo.Plain,
|
||||
type: 'AccountId'
|
||||
type: 'LookupTarget'
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -29,10 +29,9 @@ const mappings: Mapper[] = [
|
||||
_alias('&\\[u8\\]', 'Bytes'),
|
||||
// alias RawAddress -> Address
|
||||
_alias('RawAddress', 'Address'),
|
||||
// alias Lookup::Source to Address (_could_ be AccountId on certain chains)
|
||||
_alias('Lookup::Source', 'Address'),
|
||||
// alias Lookup::Target to AccountId (always the case)
|
||||
_alias('Lookup::Target', 'AccountId'),
|
||||
// lookups, mapped to Address/AccountId as appropriate in runtime
|
||||
_alias('Lookup::Source', 'LookupSource'),
|
||||
_alias('Lookup::Target', 'LookupTarget'),
|
||||
// alias for grandpa internal, as used in polkadot
|
||||
_alias('grandpa::', ''),
|
||||
// specific for session internal
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
import { Compact, Option, Raw, Vec } from '@polkadot/types/codec';
|
||||
import { Bytes, Data, Fixed64, H160, H256, H512, IdentityFields, Null, StorageData, StorageKey, Text, Type, U256, bool, i128, i16, i256, i32, i64, i8, u128, u16, u256, u32, u64, u8, usize } from '@polkadot/types/primitive';
|
||||
import { AccountId, AccountIdOf, AccountIndex, Address, AssetId, Balance, BalanceOf, Block, BlockNumber, Call, ChangesTrieConfiguration, Consensus, ConsensusEngineId, Digest, DigestItem, DispatchClass, DispatchInfo, DispatchInfoTo190, EcdsaSignature, Ed25519Signature, Extrinsic, ExtrinsicEra, ExtrinsicPayload, ExtrinsicPayloadUnknown, ExtrinsicPayloadV1, ExtrinsicPayloadV2, ExtrinsicPayloadV3, ExtrinsicPayloadV4, ExtrinsicSignatureV1, ExtrinsicSignatureV2, ExtrinsicSignatureV3, ExtrinsicSignatureV4, ExtrinsicUnknown, ExtrinsicV1, ExtrinsicV2, ExtrinsicV3, ExtrinsicV4, Hash, Header, ImmortalEra, Index, Justification, KeyTypeId, KeyValue, LockIdentifier, Moment, MortalEra, MultiSignature, Origin, Perbill, Percent, Permill, Perquintill, Phantom, PhantomData, PreRuntime, Seal, SealV0, Signature, SignedBlock, SignerPayload, Sr25519Signature, ValidatorId, Weight, WeightMultiplier } from '@polkadot/types/interfaces/runtime';
|
||||
import { AccountId, AccountIdOf, AccountIndex, Address, AssetId, Balance, BalanceOf, Block, BlockNumber, Call, ChangesTrieConfiguration, Consensus, ConsensusEngineId, Digest, DigestItem, DispatchClass, DispatchInfo, DispatchInfoTo190, EcdsaSignature, Ed25519Signature, Extrinsic, ExtrinsicEra, ExtrinsicPayload, ExtrinsicPayloadUnknown, ExtrinsicPayloadV1, ExtrinsicPayloadV2, ExtrinsicPayloadV3, ExtrinsicPayloadV4, ExtrinsicSignatureV1, ExtrinsicSignatureV2, ExtrinsicSignatureV3, ExtrinsicSignatureV4, ExtrinsicUnknown, ExtrinsicV1, ExtrinsicV2, ExtrinsicV3, ExtrinsicV4, Hash, Header, ImmortalEra, Index, Justification, KeyTypeId, KeyValue, LockIdentifier, LookupSource, LookupTarget, Moment, MortalEra, MultiSignature, Origin, Perbill, Percent, Permill, Perquintill, Phantom, PhantomData, PreRuntime, Seal, SealV0, Signature, SignedBlock, SignerPayload, Sr25519Signature, ValidatorId, Weight, WeightMultiplier } from '@polkadot/types/interfaces/runtime';
|
||||
import { InclusionHeight, Uncle, UncleEntryItem } from '@polkadot/types/interfaces/authorship';
|
||||
import { RawAuraPreDigest } from '@polkadot/types/interfaces/aura';
|
||||
import { BabeAuthorityWeight, BabeBlockWeight, BabeWeight, MaybeVrf, RawBabePreDigest, RawBabePreDigestCompat, RawBabePreDigestPrimary, RawBabePreDigestPrimaryTo159, RawBabePreDigestSecondary, RawBabePreDigestSecondaryTo159, RawBabePreDigestTo159, SlotNumber, VrfData, VrfProof } from '@polkadot/types/interfaces/babe';
|
||||
@@ -258,6 +258,12 @@ export interface InterfaceRegistry {
|
||||
LockIdentifier: LockIdentifier;
|
||||
'Option<LockIdentifier>': Option<LockIdentifier>;
|
||||
'Vec<LockIdentifier>': Vec<LockIdentifier>;
|
||||
LookupSource: LookupSource;
|
||||
'Option<LookupSource>': Option<LookupSource>;
|
||||
'Vec<LookupSource>': Vec<LookupSource>;
|
||||
LookupTarget: LookupTarget;
|
||||
'Option<LookupTarget>': Option<LookupTarget>;
|
||||
'Vec<LookupTarget>': Vec<LookupTarget>;
|
||||
Moment: Moment;
|
||||
'Compact<Moment>': Compact<Moment>;
|
||||
'Option<Moment>': Option<Moment>;
|
||||
|
||||
@@ -68,6 +68,8 @@ export default {
|
||||
KeyValue: '(StorageKey, StorageData)',
|
||||
KeyTypeId: 'u32',
|
||||
LockIdentifier: '[u8; 8]',
|
||||
LookupSource: 'Address',
|
||||
LookupTarget: 'AccountId',
|
||||
Moment: 'u64',
|
||||
Origin: 'GenericOrigin',
|
||||
Perbill: 'u32',
|
||||
|
||||
@@ -159,6 +159,12 @@ export interface KeyValue extends ITuple<[StorageKey, StorageData]> {}
|
||||
/** @name LockIdentifier */
|
||||
export interface LockIdentifier extends Uint8Array, Codec {}
|
||||
|
||||
/** @name LookupSource */
|
||||
export interface LookupSource extends Address {}
|
||||
|
||||
/** @name LookupTarget */
|
||||
export interface LookupTarget extends AccountId {}
|
||||
|
||||
/** @name Moment */
|
||||
export interface Moment extends u64 {}
|
||||
|
||||
|
||||
@@ -12,6 +12,9 @@ const TYPES_MODULES: Record<string, OverrideModuleType> = {
|
||||
identity: {
|
||||
Judgement: 'IdentityJudgement'
|
||||
},
|
||||
parachains: {
|
||||
Id: 'ParaId'
|
||||
},
|
||||
society: {
|
||||
Judgement: 'SocietyJudgement',
|
||||
Vote: 'SocietyVote'
|
||||
@@ -41,6 +44,7 @@ const TYPES_KUSAMA_VERSIONED: OverrideVersionedType[] = [
|
||||
BalanceLock: 'BalanceLockTo212',
|
||||
DispatchError: 'DispatchErrorTo198',
|
||||
Keys: 'SessionKeys5',
|
||||
LookupSource: 'Address',
|
||||
SlashingSpans: 'SlashingSpansTo204'
|
||||
}
|
||||
},
|
||||
@@ -49,14 +53,23 @@ const TYPES_KUSAMA_VERSIONED: OverrideVersionedType[] = [
|
||||
types: {
|
||||
BalanceLock: 'BalanceLockTo212',
|
||||
Keys: 'SessionKeys5',
|
||||
LookupSource: 'Address',
|
||||
SlashingSpans: 'SlashingSpansTo204'
|
||||
}
|
||||
},
|
||||
{
|
||||
minmax: [1043, undefined],
|
||||
minmax: [1043, 1045],
|
||||
types: {
|
||||
BalanceLock: 'BalanceLockTo212',
|
||||
Keys: 'SessionKeys5'
|
||||
Keys: 'SessionKeys5',
|
||||
LookupSource: 'Address'
|
||||
}
|
||||
},
|
||||
{
|
||||
minmax: [1046, undefined],
|
||||
types: {
|
||||
Keys: 'SessionKeys5',
|
||||
LookupSource: 'AccountId'
|
||||
}
|
||||
}
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user