@polkadot/api-augment 8.11.3 → 8.12.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/kusama/consts.js +3 -1
- package/cjs/kusama/errors.js +3 -1
- package/cjs/kusama/events.js +3 -1
- package/cjs/kusama/query.js +3 -1
- package/cjs/kusama/runtime.js +3 -1
- package/cjs/kusama/tx.js +3 -1
- package/cjs/packageInfo.js +1 -1
- package/cjs/polkadot/consts.js +3 -1
- package/cjs/polkadot/errors.js +3 -1
- package/cjs/polkadot/events.js +3 -1
- package/cjs/polkadot/query.js +3 -1
- package/cjs/polkadot/runtime.js +3 -1
- package/cjs/polkadot/tx.js +3 -1
- package/cjs/substrate/consts.js +3 -1
- package/cjs/substrate/errors.js +3 -1
- package/cjs/substrate/events.js +3 -1
- package/cjs/substrate/query.js +3 -1
- package/cjs/substrate/runtime.js +3 -1
- package/cjs/substrate/tx.js +3 -1
- package/kusama/consts.d.ts +1 -0
- package/kusama/consts.js +6 -1
- package/kusama/errors.d.ts +1 -0
- package/kusama/errors.js +6 -1
- package/kusama/events.d.ts +1 -0
- package/kusama/events.js +6 -1
- package/kusama/query.d.ts +1 -0
- package/kusama/query.js +6 -1
- package/kusama/runtime.d.ts +2 -1
- package/kusama/runtime.js +6 -1
- package/kusama/tx.d.ts +57 -22
- package/kusama/tx.js +6 -1
- package/package.json +7 -7
- package/packageInfo.js +1 -1
- package/polkadot/consts.d.ts +1 -0
- package/polkadot/consts.js +6 -1
- package/polkadot/errors.d.ts +1 -0
- package/polkadot/errors.js +6 -1
- package/polkadot/events.d.ts +1 -0
- package/polkadot/events.js +6 -1
- package/polkadot/query.d.ts +1 -0
- package/polkadot/query.js +6 -1
- package/polkadot/runtime.d.ts +2 -1
- package/polkadot/runtime.js +6 -1
- package/polkadot/tx.d.ts +57 -22
- package/polkadot/tx.js +6 -1
- package/substrate/consts.d.ts +1 -0
- package/substrate/consts.js +6 -1
- package/substrate/errors.d.ts +1 -0
- package/substrate/errors.js +6 -1
- package/substrate/events.d.ts +1 -0
- package/substrate/events.js +6 -1
- package/substrate/query.d.ts +2 -1
- package/substrate/query.js +6 -1
- package/substrate/runtime.d.ts +5 -4
- package/substrate/runtime.js +6 -1
- package/substrate/tx.d.ts +59 -25
- package/substrate/tx.js +6 -1
package/substrate/tx.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import '@polkadot/api-base/types/submittable';
|
|
1
2
|
import type { ApiTypes, AugmentedSubmittable, SubmittableExtrinsic, SubmittableExtrinsicFunction } from '@polkadot/api-base/types';
|
|
2
3
|
import type { Data } from '@polkadot/types';
|
|
3
4
|
import type { Bytes, Compact, Option, U8aFixed, Vec, WrapperKeepOpaque, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
|
@@ -268,7 +269,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
268
269
|
* - 1 storage write (codec `O(1)`) for deleting the old `prime` and setting the new one
|
|
269
270
|
* # </weight>
|
|
270
271
|
**/
|
|
271
|
-
setMembers: AugmentedSubmittable<(newMembers: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], prime: Option<AccountId32> | null |
|
|
272
|
+
setMembers: AugmentedSubmittable<(newMembers: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], prime: Option<AccountId32> | null | Uint8Array | AccountId32 | string, oldCount: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>, Option<AccountId32>, u32]>;
|
|
272
273
|
/**
|
|
273
274
|
* Add an aye or nay vote for the sender to the given proposal.
|
|
274
275
|
*
|
|
@@ -1590,7 +1591,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1590
1591
|
Address32: any;
|
|
1591
1592
|
} | {
|
|
1592
1593
|
Address20: any;
|
|
1593
|
-
} | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array, gasLimit: Compact<u64> | AnyNumber | Uint8Array, storageDepositLimit: Option<Compact<u128>> | null |
|
|
1594
|
+
} | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array, gasLimit: Compact<u64> | AnyNumber | Uint8Array, storageDepositLimit: Option<Compact<u128>> | null | Uint8Array | Compact<u128> | AnyNumber, data: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>, Compact<u64>, Option<Compact<u128>>, Bytes]>;
|
|
1594
1595
|
/**
|
|
1595
1596
|
* Instantiates a contract from a previously deployed wasm binary.
|
|
1596
1597
|
*
|
|
@@ -1598,7 +1599,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1598
1599
|
* code deployment step. Instead, the `code_hash` of an on-chain deployed wasm binary
|
|
1599
1600
|
* must be supplied.
|
|
1600
1601
|
**/
|
|
1601
|
-
instantiate: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array, gasLimit: Compact<u64> | AnyNumber | Uint8Array, storageDepositLimit: Option<Compact<u128>> | null |
|
|
1602
|
+
instantiate: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array, gasLimit: Compact<u64> | AnyNumber | Uint8Array, storageDepositLimit: Option<Compact<u128>> | null | Uint8Array | Compact<u128> | AnyNumber, codeHash: H256 | string | Uint8Array, data: Bytes | string | Uint8Array, salt: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, Compact<u64>, Option<Compact<u128>>, H256, Bytes, Bytes]>;
|
|
1602
1603
|
/**
|
|
1603
1604
|
* Instantiates a new contract from the supplied `code` optionally transferring
|
|
1604
1605
|
* some balance.
|
|
@@ -1627,7 +1628,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1627
1628
|
* - The `value` is transferred to the new account.
|
|
1628
1629
|
* - The `deploy` function is executed in the context of the newly-created account.
|
|
1629
1630
|
**/
|
|
1630
|
-
instantiateWithCode: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array, gasLimit: Compact<u64> | AnyNumber | Uint8Array, storageDepositLimit: Option<Compact<u128>> | null |
|
|
1631
|
+
instantiateWithCode: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array, gasLimit: Compact<u64> | AnyNumber | Uint8Array, storageDepositLimit: Option<Compact<u128>> | null | Uint8Array | Compact<u128> | AnyNumber, code: Bytes | string | Uint8Array, data: Bytes | string | Uint8Array, salt: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, Compact<u64>, Option<Compact<u128>>, Bytes, Bytes, Bytes]>;
|
|
1631
1632
|
/**
|
|
1632
1633
|
* Remove the code stored under `code_hash` and refund the deposit to its owner.
|
|
1633
1634
|
*
|
|
@@ -1676,7 +1677,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1676
1677
|
* only be instantiated by permissioned entities. The same is true when uploading
|
|
1677
1678
|
* through [`Self::instantiate_with_code`].
|
|
1678
1679
|
**/
|
|
1679
|
-
uploadCode: AugmentedSubmittable<(code: Bytes | string | Uint8Array, storageDepositLimit: Option<Compact<u128>> | null |
|
|
1680
|
+
uploadCode: AugmentedSubmittable<(code: Bytes | string | Uint8Array, storageDepositLimit: Option<Compact<u128>> | null | Uint8Array | Compact<u128> | AnyNumber) => SubmittableExtrinsic<ApiType>, [Bytes, Option<Compact<u128>>]>;
|
|
1680
1681
|
/**
|
|
1681
1682
|
* Generic tx
|
|
1682
1683
|
**/
|
|
@@ -1759,7 +1760,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1759
1760
|
* Weight: `O(R + log R)` where R is the number of polls that `target` has voted on.
|
|
1760
1761
|
* Weight is calculated for the maximum number of vote.
|
|
1761
1762
|
**/
|
|
1762
|
-
removeVote: AugmentedSubmittable<(clazz: Option<u16> | null |
|
|
1763
|
+
removeVote: AugmentedSubmittable<(clazz: Option<u16> | null | Uint8Array | u16 | AnyNumber, index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Option<u16>, u32]>;
|
|
1763
1764
|
/**
|
|
1764
1765
|
* Undelegate the voting power of the sending account for a particular class of polls.
|
|
1765
1766
|
*
|
|
@@ -1941,7 +1942,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1941
1942
|
* - 1 storage write (codec `O(1)`) for deleting the old `prime` and setting the new one
|
|
1942
1943
|
* # </weight>
|
|
1943
1944
|
**/
|
|
1944
|
-
setMembers: AugmentedSubmittable<(newMembers: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], prime: Option<AccountId32> | null |
|
|
1945
|
+
setMembers: AugmentedSubmittable<(newMembers: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], prime: Option<AccountId32> | null | Uint8Array | AccountId32 | string, oldCount: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>, Option<AccountId32>, u32]>;
|
|
1945
1946
|
/**
|
|
1946
1947
|
* Add an aye or nay vote for the sender to the given proposal.
|
|
1947
1948
|
*
|
|
@@ -1983,7 +1984,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1983
1984
|
* Weight: `O(p)` (though as this is an high-privilege dispatch, we assume it has a
|
|
1984
1985
|
* reasonable value).
|
|
1985
1986
|
**/
|
|
1986
|
-
blacklist: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, maybeRefIndex: Option<u32> | null |
|
|
1987
|
+
blacklist: AugmentedSubmittable<(proposalHash: H256 | string | Uint8Array, maybeRefIndex: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [H256, Option<u32>]>;
|
|
1987
1988
|
/**
|
|
1988
1989
|
* Remove a proposal.
|
|
1989
1990
|
*
|
|
@@ -2313,7 +2314,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2313
2314
|
* This can only be called when [`Phase::Emergency`] is enabled, as an alternative to
|
|
2314
2315
|
* calling [`Call::set_emergency_election_result`].
|
|
2315
2316
|
**/
|
|
2316
|
-
governanceFallback: AugmentedSubmittable<(maybeMaxVoters: Option<u32> | null |
|
|
2317
|
+
governanceFallback: AugmentedSubmittable<(maybeMaxVoters: Option<u32> | null | Uint8Array | u32 | AnyNumber, maybeMaxTargets: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u32>, Option<u32>]>;
|
|
2317
2318
|
/**
|
|
2318
2319
|
* Set a solution in the queue, to be handed out to the client of this pallet in the next
|
|
2319
2320
|
* call to `ElectionProvider::elect`.
|
|
@@ -2335,7 +2336,11 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2335
2336
|
*
|
|
2336
2337
|
* This check can be turned off by setting the value to `None`.
|
|
2337
2338
|
**/
|
|
2338
|
-
setMinimumUntrustedScore: AugmentedSubmittable<(maybeNextScore: Option<SpNposElectionsElectionScore> | null |
|
|
2339
|
+
setMinimumUntrustedScore: AugmentedSubmittable<(maybeNextScore: Option<SpNposElectionsElectionScore> | null | Uint8Array | SpNposElectionsElectionScore | {
|
|
2340
|
+
minimalStake?: any;
|
|
2341
|
+
sumStake?: any;
|
|
2342
|
+
sumStakeSquared?: any;
|
|
2343
|
+
} | string) => SubmittableExtrinsic<ApiType>, [Option<SpNposElectionsElectionScore>]>;
|
|
2339
2344
|
/**
|
|
2340
2345
|
* Submit a solution for the signed phase.
|
|
2341
2346
|
*
|
|
@@ -3215,7 +3220,10 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3215
3220
|
* - Write: Multisig Storage, [Caller Account]
|
|
3216
3221
|
* # </weight>
|
|
3217
3222
|
**/
|
|
3218
|
-
approveAsMulti: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], maybeTimepoint: Option<PalletMultisigTimepoint> | null |
|
|
3223
|
+
approveAsMulti: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], maybeTimepoint: Option<PalletMultisigTimepoint> | null | Uint8Array | PalletMultisigTimepoint | {
|
|
3224
|
+
height?: any;
|
|
3225
|
+
index?: any;
|
|
3226
|
+
} | string, callHash: U8aFixed | string | Uint8Array, maxWeight: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, Vec<AccountId32>, Option<PalletMultisigTimepoint>, U8aFixed, u64]>;
|
|
3219
3227
|
/**
|
|
3220
3228
|
* Register approval for a dispatch to be made from a deterministic composite account if
|
|
3221
3229
|
* approved by a total of `threshold - 1` of `other_signatories`.
|
|
@@ -3263,7 +3271,10 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3263
3271
|
* - Plus Call Weight
|
|
3264
3272
|
* # </weight>
|
|
3265
3273
|
**/
|
|
3266
|
-
asMulti: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], maybeTimepoint: Option<PalletMultisigTimepoint> | null |
|
|
3274
|
+
asMulti: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], maybeTimepoint: Option<PalletMultisigTimepoint> | null | Uint8Array | PalletMultisigTimepoint | {
|
|
3275
|
+
height?: any;
|
|
3276
|
+
index?: any;
|
|
3277
|
+
} | string, call: WrapperKeepOpaque<Call> | object | string | Uint8Array, storeCall: bool | boolean | Uint8Array, maxWeight: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, Vec<AccountId32>, Option<PalletMultisigTimepoint>, WrapperKeepOpaque<Call>, bool, u64]>;
|
|
3267
3278
|
/**
|
|
3268
3279
|
* Immediately dispatch a multi-signature call using a single approval from the caller.
|
|
3269
3280
|
*
|
|
@@ -3683,7 +3694,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3683
3694
|
* Weight is a function of the number of proxies the user has (P).
|
|
3684
3695
|
* # </weight>
|
|
3685
3696
|
**/
|
|
3686
|
-
proxy: AugmentedSubmittable<(real: AccountId32 | string | Uint8Array, forceProxyType: Option<NodeRuntimeProxyType> | null |
|
|
3697
|
+
proxy: AugmentedSubmittable<(real: AccountId32 | string | Uint8Array, forceProxyType: Option<NodeRuntimeProxyType> | null | Uint8Array | NodeRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, Option<NodeRuntimeProxyType>, Call]>;
|
|
3687
3698
|
/**
|
|
3688
3699
|
* Dispatch the given `call` from an account that the sender is authorized for through
|
|
3689
3700
|
* `add_proxy`.
|
|
@@ -3703,7 +3714,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3703
3714
|
* - P: the number of proxies the user has.
|
|
3704
3715
|
* # </weight>
|
|
3705
3716
|
**/
|
|
3706
|
-
proxyAnnounced: AugmentedSubmittable<(delegate: AccountId32 | string | Uint8Array, real: AccountId32 | string | Uint8Array, forceProxyType: Option<NodeRuntimeProxyType> | null |
|
|
3717
|
+
proxyAnnounced: AugmentedSubmittable<(delegate: AccountId32 | string | Uint8Array, real: AccountId32 | string | Uint8Array, forceProxyType: Option<NodeRuntimeProxyType> | null | Uint8Array | NodeRuntimeProxyType | 'Any' | 'NonTransfer' | 'Governance' | 'Staking' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, AccountId32, Option<NodeRuntimeProxyType>, Call]>;
|
|
3707
3718
|
/**
|
|
3708
3719
|
* Remove the given announcement of a delegate.
|
|
3709
3720
|
*
|
|
@@ -4174,7 +4185,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4174
4185
|
/**
|
|
4175
4186
|
* Anonymously schedule a task.
|
|
4176
4187
|
**/
|
|
4177
|
-
schedule: AugmentedSubmittable<(when: u32 | AnyNumber | Uint8Array, maybePeriodic: Option<ITuple<[u32, u32]>> | null |
|
|
4188
|
+
schedule: AugmentedSubmittable<(when: u32 | AnyNumber | Uint8Array, maybePeriodic: Option<ITuple<[u32, u32]>> | null | Uint8Array | ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], priority: u8 | AnyNumber | Uint8Array, call: FrameSupportScheduleMaybeHashed | {
|
|
4178
4189
|
Value: any;
|
|
4179
4190
|
} | {
|
|
4180
4191
|
Hash: any;
|
|
@@ -4186,7 +4197,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4186
4197
|
* Same as [`schedule`].
|
|
4187
4198
|
* # </weight>
|
|
4188
4199
|
**/
|
|
4189
|
-
scheduleAfter: AugmentedSubmittable<(after: u32 | AnyNumber | Uint8Array, maybePeriodic: Option<ITuple<[u32, u32]>> | null |
|
|
4200
|
+
scheduleAfter: AugmentedSubmittable<(after: u32 | AnyNumber | Uint8Array, maybePeriodic: Option<ITuple<[u32, u32]>> | null | Uint8Array | ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], priority: u8 | AnyNumber | Uint8Array, call: FrameSupportScheduleMaybeHashed | {
|
|
4190
4201
|
Value: any;
|
|
4191
4202
|
} | {
|
|
4192
4203
|
Hash: any;
|
|
@@ -4194,7 +4205,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4194
4205
|
/**
|
|
4195
4206
|
* Schedule a named task.
|
|
4196
4207
|
**/
|
|
4197
|
-
scheduleNamed: AugmentedSubmittable<(id: Bytes | string | Uint8Array, when: u32 | AnyNumber | Uint8Array, maybePeriodic: Option<ITuple<[u32, u32]>> | null |
|
|
4208
|
+
scheduleNamed: AugmentedSubmittable<(id: Bytes | string | Uint8Array, when: u32 | AnyNumber | Uint8Array, maybePeriodic: Option<ITuple<[u32, u32]>> | null | Uint8Array | ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], priority: u8 | AnyNumber | Uint8Array, call: FrameSupportScheduleMaybeHashed | {
|
|
4198
4209
|
Value: any;
|
|
4199
4210
|
} | {
|
|
4200
4211
|
Hash: any;
|
|
@@ -4206,7 +4217,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4206
4217
|
* Same as [`schedule_named`](Self::schedule_named).
|
|
4207
4218
|
* # </weight>
|
|
4208
4219
|
**/
|
|
4209
|
-
scheduleNamedAfter: AugmentedSubmittable<(id: Bytes | string | Uint8Array, after: u32 | AnyNumber | Uint8Array, maybePeriodic: Option<ITuple<[u32, u32]>> | null |
|
|
4220
|
+
scheduleNamedAfter: AugmentedSubmittable<(id: Bytes | string | Uint8Array, after: u32 | AnyNumber | Uint8Array, maybePeriodic: Option<ITuple<[u32, u32]>> | null | Uint8Array | ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], priority: u8 | AnyNumber | Uint8Array, call: FrameSupportScheduleMaybeHashed | {
|
|
4210
4221
|
Value: any;
|
|
4211
4222
|
} | {
|
|
4212
4223
|
Hash: any;
|
|
@@ -5141,7 +5152,10 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5141
5152
|
*
|
|
5142
5153
|
* The dispatch origin of this call must be [`Config::ControlOrigin`].
|
|
5143
5154
|
**/
|
|
5144
|
-
controlAutoMigration: AugmentedSubmittable<(maybeConfig: Option<PalletStateTrieMigrationMigrationLimits> | null |
|
|
5155
|
+
controlAutoMigration: AugmentedSubmittable<(maybeConfig: Option<PalletStateTrieMigrationMigrationLimits> | null | Uint8Array | PalletStateTrieMigrationMigrationLimits | {
|
|
5156
|
+
size_?: any;
|
|
5157
|
+
item?: any;
|
|
5158
|
+
} | string) => SubmittableExtrinsic<ApiType>, [Option<PalletStateTrieMigrationMigrationLimits>]>;
|
|
5145
5159
|
/**
|
|
5146
5160
|
* Forcefully set the progress the running migration.
|
|
5147
5161
|
*
|
|
@@ -5472,7 +5486,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5472
5486
|
* - 1 storage write (codec `O(1)`) for deleting the old `prime` and setting the new one
|
|
5473
5487
|
* # </weight>
|
|
5474
5488
|
**/
|
|
5475
|
-
setMembers: AugmentedSubmittable<(newMembers: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], prime: Option<AccountId32> | null |
|
|
5489
|
+
setMembers: AugmentedSubmittable<(newMembers: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], prime: Option<AccountId32> | null | Uint8Array | AccountId32 | string, oldCount: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>, Option<AccountId32>, u32]>;
|
|
5476
5490
|
/**
|
|
5477
5491
|
* Add an aye or nay vote for the sender to the given proposal.
|
|
5478
5492
|
*
|
|
@@ -5881,7 +5895,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5881
5895
|
* Weight: `O(1)`
|
|
5882
5896
|
* Modes: `check_owner.is_some()`.
|
|
5883
5897
|
**/
|
|
5884
|
-
burn: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, item: u32 | AnyNumber | Uint8Array, checkOwner: Option<MultiAddress> | null |
|
|
5898
|
+
burn: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, item: u32 | AnyNumber | Uint8Array, checkOwner: Option<MultiAddress> | null | Uint8Array | MultiAddress | {
|
|
5899
|
+
Id: any;
|
|
5900
|
+
} | {
|
|
5901
|
+
Index: any;
|
|
5902
|
+
} | {
|
|
5903
|
+
Raw: any;
|
|
5904
|
+
} | {
|
|
5905
|
+
Address32: any;
|
|
5906
|
+
} | {
|
|
5907
|
+
Address20: any;
|
|
5908
|
+
} | string) => SubmittableExtrinsic<ApiType>, [u32, u32, Option<MultiAddress>]>;
|
|
5885
5909
|
/**
|
|
5886
5910
|
* Cancel the prior approval for the transfer of an item by a delegate.
|
|
5887
5911
|
*
|
|
@@ -5900,7 +5924,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5900
5924
|
*
|
|
5901
5925
|
* Weight: `O(1)`
|
|
5902
5926
|
**/
|
|
5903
|
-
cancelApproval: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, item: u32 | AnyNumber | Uint8Array, maybeCheckDelegate: Option<MultiAddress> | null |
|
|
5927
|
+
cancelApproval: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, item: u32 | AnyNumber | Uint8Array, maybeCheckDelegate: Option<MultiAddress> | null | Uint8Array | MultiAddress | {
|
|
5928
|
+
Id: any;
|
|
5929
|
+
} | {
|
|
5930
|
+
Index: any;
|
|
5931
|
+
} | {
|
|
5932
|
+
Raw: any;
|
|
5933
|
+
} | {
|
|
5934
|
+
Address32: any;
|
|
5935
|
+
} | {
|
|
5936
|
+
Address20: any;
|
|
5937
|
+
} | string) => SubmittableExtrinsic<ApiType>, [u32, u32, Option<MultiAddress>]>;
|
|
5904
5938
|
/**
|
|
5905
5939
|
* Clear an attribute for a collection or item.
|
|
5906
5940
|
*
|
|
@@ -5917,7 +5951,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5917
5951
|
*
|
|
5918
5952
|
* Weight: `O(1)`
|
|
5919
5953
|
**/
|
|
5920
|
-
clearAttribute: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, maybeItem: Option<u32> | null |
|
|
5954
|
+
clearAttribute: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, maybeItem: Option<u32> | null | Uint8Array | u32 | AnyNumber, key: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Option<u32>, Bytes]>;
|
|
5921
5955
|
/**
|
|
5922
5956
|
* Clear the metadata for a collection.
|
|
5923
5957
|
*
|
|
@@ -6170,7 +6204,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
6170
6204
|
*
|
|
6171
6205
|
* Emits `OwnershipAcceptanceChanged`.
|
|
6172
6206
|
**/
|
|
6173
|
-
setAcceptOwnership: AugmentedSubmittable<(maybeCollection: Option<u32> | null |
|
|
6207
|
+
setAcceptOwnership: AugmentedSubmittable<(maybeCollection: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u32>]>;
|
|
6174
6208
|
/**
|
|
6175
6209
|
* Set an attribute for a collection or item.
|
|
6176
6210
|
*
|
|
@@ -6190,7 +6224,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
6190
6224
|
*
|
|
6191
6225
|
* Weight: `O(1)`
|
|
6192
6226
|
**/
|
|
6193
|
-
setAttribute: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, maybeItem: Option<u32> | null |
|
|
6227
|
+
setAttribute: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, maybeItem: Option<u32> | null | Uint8Array | u32 | AnyNumber, key: Bytes | string | Uint8Array, value: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Option<u32>, Bytes, Bytes]>;
|
|
6194
6228
|
/**
|
|
6195
6229
|
* Set the maximum amount of items a collection could have.
|
|
6196
6230
|
*
|
package/substrate/tx.js
CHANGED
|
@@ -1 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
// Auto-generated via `yarn polkadot-types-from-chain`, do not edit
|
|
2
|
+
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// import type lookup before we augment - in some environments
|
|
5
|
+
// this is required to allow for ambient/previous definitions
|
|
6
|
+
import '@polkadot/api-base/types/submittable'; // declare module
|