@polymeshassociation/polymesh-sdk 20.0.0 → 20.1.0-alpha.2
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/CHANGELOG.md +2 -19
- package/README.md +1 -1
- package/api/client/AccountManagement.d.ts +1 -1
- package/api/client/AccountManagement.d.ts.map +1 -1
- package/api/client/AccountManagement.js +1 -1
- package/api/client/AccountManagement.js.map +1 -1
- package/api/client/Claims.js +4 -4
- package/api/client/Claims.js.map +1 -1
- package/api/entities/{MultiSig → Account/MultiSig}/index.d.ts +4 -4
- package/api/entities/Account/MultiSig/index.d.ts.map +1 -0
- package/api/entities/{MultiSig → Account/MultiSig}/index.js +5 -5
- package/api/entities/Account/MultiSig/index.js.map +1 -0
- package/api/entities/{MultiSig → Account/MultiSig}/types.d.ts +1 -1
- package/api/entities/Account/MultiSig/types.d.ts.map +1 -0
- package/api/entities/Account/MultiSig/types.js.map +1 -0
- package/api/entities/Account/helpers.d.ts +18 -0
- package/api/entities/Account/helpers.d.ts.map +1 -0
- package/api/entities/Account/helpers.js +136 -0
- package/api/entities/Account/helpers.js.map +1 -0
- package/api/entities/{Account.d.ts → Account/index.d.ts} +14 -6
- package/api/entities/Account/index.d.ts.map +1 -0
- package/api/entities/{Account.js → Account/index.js} +61 -157
- package/api/entities/Account/index.js.map +1 -0
- package/api/entities/Account/types.d.ts +58 -0
- package/api/entities/Account/types.d.ts.map +1 -0
- package/api/entities/Account/types.js +44 -0
- package/api/entities/Account/types.js.map +1 -0
- package/api/entities/DividendDistribution/index.js +2 -2
- package/api/entities/DividendDistribution/index.js.map +1 -1
- package/api/entities/Identity/AssetPermissions.js +2 -2
- package/api/entities/Identity/AssetPermissions.js.map +1 -1
- package/api/entities/Identity/index.js +2 -2
- package/api/entities/Identity/index.js.map +1 -1
- package/api/entities/Instruction/index.d.ts +2 -1
- package/api/entities/Instruction/index.d.ts.map +1 -1
- package/api/entities/Instruction/index.js.map +1 -1
- package/api/entities/Offering/index.js +2 -2
- package/api/entities/Offering/index.js.map +1 -1
- package/api/entities/Portfolio/index.js +1 -1
- package/api/entities/Portfolio/index.js.map +1 -1
- package/api/entities/Venue/index.js +1 -1
- package/api/entities/Venue/index.js.map +1 -1
- package/api/entities/types.d.ts +1 -1
- package/api/entities/types.d.ts.map +1 -1
- package/api/entities/types.js +1 -1
- package/api/entities/types.js.map +1 -1
- package/api/procedures/utils.js +2 -2
- package/api/procedures/utils.js.map +1 -1
- package/base/Context.js +2 -2
- package/base/Context.js.map +1 -1
- package/generated/types.d.ts +9 -3
- package/generated/types.d.ts.map +1 -1
- package/generated/types.js +6 -0
- package/generated/types.js.map +1 -1
- package/internal.d.ts +1 -1
- package/internal.d.ts.map +1 -1
- package/internal.js +1 -1
- package/internal.js.map +1 -1
- package/middleware/queriesV2.d.ts +1 -0
- package/middleware/queriesV2.d.ts.map +1 -1
- package/middleware/queriesV2.js +30 -30
- package/middleware/queriesV2.js.map +1 -1
- package/middleware/typesV2.d.ts +1215 -13
- package/middleware/typesV2.d.ts.map +1 -1
- package/middleware/typesV2.js +53 -13
- package/middleware/typesV2.js.map +1 -1
- package/npm-package/polymeshassociation-polymesh-sdk-20.1.0-alpha.2.tgz +0 -0
- package/package.json +70 -57
- package/polkadot/augment-api-consts.d.ts +31 -10
- package/polkadot/augment-api-consts.d.ts.map +1 -1
- package/polkadot/augment-api-errors.d.ts +46 -17
- package/polkadot/augment-api-errors.d.ts.map +1 -1
- package/polkadot/augment-api-events.d.ts +77 -12
- package/polkadot/augment-api-events.d.ts.map +1 -1
- package/polkadot/augment-api-query.d.ts +16 -14
- package/polkadot/augment-api-query.d.ts.map +1 -1
- package/polkadot/augment-api-rpc.d.ts +32 -10
- package/polkadot/augment-api-rpc.d.ts.map +1 -1
- package/polkadot/augment-api-runtime.d.ts +239 -0
- package/polkadot/augment-api-runtime.d.ts.map +1 -0
- package/polkadot/augment-api-runtime.js +8 -0
- package/polkadot/augment-api-runtime.js.map +1 -0
- package/polkadot/augment-api-tx.d.ts +172 -58
- package/polkadot/augment-api-tx.d.ts.map +1 -1
- package/polkadot/augment-types.d.ts +89 -15
- package/polkadot/augment-types.d.ts.map +1 -1
- package/polkadot/definitions.d.ts +1 -0
- package/polkadot/definitions.d.ts.map +1 -1
- package/polkadot/definitions.js +3 -1
- package/polkadot/definitions.js.map +1 -1
- package/polkadot/lookup.d.ts +543 -413
- package/polkadot/lookup.d.ts.map +1 -1
- package/polkadot/lookup.js +600 -455
- package/polkadot/lookup.js.map +1 -1
- package/polkadot/nft/definitions.d.ts +16 -0
- package/polkadot/nft/definitions.d.ts.map +1 -0
- package/polkadot/nft/definitions.js +35 -0
- package/polkadot/nft/definitions.js.map +1 -0
- package/polkadot/nft/index.d.ts +2 -0
- package/polkadot/nft/index.d.ts.map +1 -0
- package/polkadot/nft/index.js +20 -0
- package/polkadot/nft/index.js.map +1 -0
- package/polkadot/nft/types.d.ts +2 -0
- package/polkadot/nft/types.d.ts.map +1 -0
- package/polkadot/nft/types.js +5 -0
- package/polkadot/nft/types.js.map +1 -0
- package/polkadot/registry.d.ts +19 -13
- package/polkadot/registry.d.ts.map +1 -1
- package/polkadot/schema.d.ts +11 -0
- package/polkadot/schema.d.ts.map +1 -1
- package/polkadot/schema.js +28 -0
- package/polkadot/schema.js.map +1 -1
- package/polkadot/types-lookup.d.ts +599 -470
- package/polkadot/types-lookup.d.ts.map +1 -1
- package/polkadot/types.d.ts +1 -0
- package/polkadot/types.d.ts.map +1 -1
- package/polkadot/types.js +1 -0
- package/polkadot/types.js.map +1 -1
- package/types/index.d.ts +3 -0
- package/types/index.d.ts.map +1 -1
- package/types/index.js.map +1 -1
- package/utils/constants.d.ts +2 -2
- package/utils/constants.js +2 -2
- package/utils/conversion.d.ts +1 -5
- package/utils/conversion.d.ts.map +1 -1
- package/utils/conversion.js +4 -11
- package/utils/conversion.js.map +1 -1
- package/utils/internal.d.ts +6 -2
- package/utils/internal.d.ts.map +1 -1
- package/utils/internal.js +28 -1
- package/utils/internal.js.map +1 -1
- package/api/entities/Account.d.ts.map +0 -1
- package/api/entities/Account.js.map +0 -1
- package/api/entities/MultiSig/index.d.ts.map +0 -1
- package/api/entities/MultiSig/index.js.map +0 -1
- package/api/entities/MultiSig/types.d.ts.map +0 -1
- package/api/entities/MultiSig/types.js.map +0 -1
- package/npm-package/polymeshassociation-polymesh-sdk-20.0.0.tgz +0 -0
- /package/api/entities/{MultiSig → Account/MultiSig}/types.js +0 -0
|
@@ -0,0 +1,239 @@
|
|
|
1
|
+
import '@polkadot/api-base/types/calls';
|
|
2
|
+
import type { ApiTypes, AugmentedCall, DecoratedCallBase } from '@polkadot/api-base/types';
|
|
3
|
+
import type { Bytes, Null, Option, Vec, u32 } from '@polkadot/types-codec';
|
|
4
|
+
import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
|
|
5
|
+
import type { BabeEquivocationProof, BabeGenesisConfiguration, Epoch, OpaqueKeyOwnershipProof } from '@polkadot/types/interfaces/babe';
|
|
6
|
+
import type { CheckInherentsResult, InherentData } from '@polkadot/types/interfaces/blockbuilder';
|
|
7
|
+
import type { BlockHash } from '@polkadot/types/interfaces/chain';
|
|
8
|
+
import type { AuthorityId } from '@polkadot/types/interfaces/consensus';
|
|
9
|
+
import type { CodeSource, CodeUploadResult, ContractExecResult, ContractInstantiateResult } from '@polkadot/types/interfaces/contracts';
|
|
10
|
+
import type { Extrinsic } from '@polkadot/types/interfaces/extrinsics';
|
|
11
|
+
import type { AuthorityList, GrandpaEquivocationProof, SetId } from '@polkadot/types/interfaces/grandpa';
|
|
12
|
+
import type { OpaqueMetadata } from '@polkadot/types/interfaces/metadata';
|
|
13
|
+
import type { FeeDetails, RuntimeDispatchInfo } from '@polkadot/types/interfaces/payment';
|
|
14
|
+
import type { AccountId, Balance, Block, Call, Header, Index, KeyTypeId, Slot, WeightV2 } from '@polkadot/types/interfaces/runtime';
|
|
15
|
+
import type { RuntimeVersion } from '@polkadot/types/interfaces/state';
|
|
16
|
+
import type { ApplyExtrinsicResult } from '@polkadot/types/interfaces/system';
|
|
17
|
+
import type { TransactionSource, TransactionValidity } from '@polkadot/types/interfaces/txqueue';
|
|
18
|
+
import type { IExtrinsic, Observable } from '@polkadot/types/types';
|
|
19
|
+
export declare type __AugmentedCall<ApiType extends ApiTypes> = AugmentedCall<ApiType>;
|
|
20
|
+
export declare type __DecoratedCallBase<ApiType extends ApiTypes> = DecoratedCallBase<ApiType>;
|
|
21
|
+
declare module '@polkadot/api-base/types/calls' {
|
|
22
|
+
interface AugmentedCalls<ApiType extends ApiTypes> {
|
|
23
|
+
/** 0xbc9d89904f5b923f/1 */
|
|
24
|
+
accountNonceApi: {
|
|
25
|
+
/**
|
|
26
|
+
* The API to query account nonce (aka transaction index)
|
|
27
|
+
**/
|
|
28
|
+
accountNonce: AugmentedCall<ApiType, (accountId: AccountId | string | Uint8Array) => Observable<Index>>;
|
|
29
|
+
};
|
|
30
|
+
/** 0x687ad44ad37f03c2/1 */
|
|
31
|
+
authorityDiscoveryApi: {
|
|
32
|
+
/**
|
|
33
|
+
* Retrieve authority identifiers of the current and next authority set.
|
|
34
|
+
**/
|
|
35
|
+
authorities: AugmentedCall<ApiType, () => Observable<Vec<AuthorityId>>>;
|
|
36
|
+
};
|
|
37
|
+
/** 0xcbca25e39f142387/2 */
|
|
38
|
+
babeApi: {
|
|
39
|
+
/**
|
|
40
|
+
* Return the genesis configuration for BABE. The configuration is only read on genesis.
|
|
41
|
+
**/
|
|
42
|
+
configuration: AugmentedCall<ApiType, () => Observable<BabeGenesisConfiguration>>;
|
|
43
|
+
/**
|
|
44
|
+
* Returns information regarding the current epoch.
|
|
45
|
+
**/
|
|
46
|
+
currentEpoch: AugmentedCall<ApiType, () => Observable<Epoch>>;
|
|
47
|
+
/**
|
|
48
|
+
* Returns the slot that started the current epoch.
|
|
49
|
+
**/
|
|
50
|
+
currentEpochStart: AugmentedCall<ApiType, () => Observable<Slot>>;
|
|
51
|
+
/**
|
|
52
|
+
* Generates a proof of key ownership for the given authority in the current epoch.
|
|
53
|
+
**/
|
|
54
|
+
generateKeyOwnershipProof: AugmentedCall<ApiType, (slot: Slot | AnyNumber | Uint8Array, authorityId: AuthorityId | string | Uint8Array) => Observable<Option<OpaqueKeyOwnershipProof>>>;
|
|
55
|
+
/**
|
|
56
|
+
* Returns information regarding the next epoch (which was already previously announced).
|
|
57
|
+
**/
|
|
58
|
+
nextEpoch: AugmentedCall<ApiType, () => Observable<Epoch>>;
|
|
59
|
+
/**
|
|
60
|
+
* Submits an unsigned extrinsic to report an equivocation.
|
|
61
|
+
**/
|
|
62
|
+
submitReportEquivocationUnsignedExtrinsic: AugmentedCall<ApiType, (equivocationProof: BabeEquivocationProof | {
|
|
63
|
+
offender?: any;
|
|
64
|
+
slotNumber?: any;
|
|
65
|
+
firstHeader?: any;
|
|
66
|
+
secondHeader?: any;
|
|
67
|
+
} | string | Uint8Array, keyOwnerProof: OpaqueKeyOwnershipProof | string | Uint8Array) => Observable<Option<Null>>>;
|
|
68
|
+
};
|
|
69
|
+
/** 0x40fe3ad401f8959a/6 */
|
|
70
|
+
blockBuilder: {
|
|
71
|
+
/**
|
|
72
|
+
* Apply the given extrinsic.
|
|
73
|
+
**/
|
|
74
|
+
applyExtrinsic: AugmentedCall<ApiType, (extrinsic: Extrinsic | IExtrinsic | string | Uint8Array) => Observable<ApplyExtrinsicResult>>;
|
|
75
|
+
/**
|
|
76
|
+
* Check that the inherents are valid.
|
|
77
|
+
**/
|
|
78
|
+
checkInherents: AugmentedCall<ApiType, (block: Block | {
|
|
79
|
+
header?: any;
|
|
80
|
+
extrinsics?: any;
|
|
81
|
+
} | string | Uint8Array, data: InherentData | {
|
|
82
|
+
data?: any;
|
|
83
|
+
} | string | Uint8Array) => Observable<CheckInherentsResult>>;
|
|
84
|
+
/**
|
|
85
|
+
* Finish the current block.
|
|
86
|
+
**/
|
|
87
|
+
finalizeBlock: AugmentedCall<ApiType, () => Observable<Header>>;
|
|
88
|
+
/**
|
|
89
|
+
* Generate inherent extrinsics.
|
|
90
|
+
**/
|
|
91
|
+
inherentExtrinsics: AugmentedCall<ApiType, (inherent: InherentData | {
|
|
92
|
+
data?: any;
|
|
93
|
+
} | string | Uint8Array) => Observable<Vec<Extrinsic>>>;
|
|
94
|
+
};
|
|
95
|
+
/** 0x68b66ba122c93fa7/2 */
|
|
96
|
+
contractsApi: {
|
|
97
|
+
/**
|
|
98
|
+
* Perform a call from a specified account to a given contract.
|
|
99
|
+
**/
|
|
100
|
+
call: AugmentedCall<ApiType, (origin: AccountId | string | Uint8Array, dest: AccountId | string | Uint8Array, value: Balance | AnyNumber | Uint8Array, gasLimit: Option<WeightV2> | null | Uint8Array | WeightV2 | {
|
|
101
|
+
refTime?: any;
|
|
102
|
+
proofSize?: any;
|
|
103
|
+
} | string, storageDepositLimit: Option<Balance> | null | Uint8Array | Balance | AnyNumber, inputData: Bytes | string | Uint8Array) => Observable<ContractExecResult>>;
|
|
104
|
+
/**
|
|
105
|
+
* Query a given storage key in a given contract.
|
|
106
|
+
**/
|
|
107
|
+
getStorage: AugmentedCall<ApiType, (address: AccountId | string | Uint8Array, key: Bytes | string | Uint8Array) => Observable<Option<Bytes>>>;
|
|
108
|
+
/**
|
|
109
|
+
* Instantiate a new contract.
|
|
110
|
+
**/
|
|
111
|
+
instantiate: AugmentedCall<ApiType, (origin: AccountId | string | Uint8Array, value: Balance | AnyNumber | Uint8Array, gasLimit: Option<WeightV2> | null | Uint8Array | WeightV2 | {
|
|
112
|
+
refTime?: any;
|
|
113
|
+
proofSize?: any;
|
|
114
|
+
} | string, storageDepositLimit: Option<Balance> | null | Uint8Array | Balance | AnyNumber, code: CodeSource | {
|
|
115
|
+
Upload: any;
|
|
116
|
+
} | {
|
|
117
|
+
Existing: any;
|
|
118
|
+
} | string | Uint8Array, data: Bytes | string | Uint8Array, salt: Bytes | string | Uint8Array) => Observable<ContractInstantiateResult>>;
|
|
119
|
+
/**
|
|
120
|
+
* Upload new code without instantiating a contract from it.
|
|
121
|
+
**/
|
|
122
|
+
uploadCode: AugmentedCall<ApiType, (origin: AccountId | string | Uint8Array, code: Bytes | string | Uint8Array, storageDepositLimit: Option<Balance> | null | Uint8Array | Balance | AnyNumber) => Observable<CodeUploadResult>>;
|
|
123
|
+
};
|
|
124
|
+
/** 0xdf6acb689907609b/4 */
|
|
125
|
+
core: {
|
|
126
|
+
/**
|
|
127
|
+
* Execute the given block.
|
|
128
|
+
**/
|
|
129
|
+
executeBlock: AugmentedCall<ApiType, (block: Block | {
|
|
130
|
+
header?: any;
|
|
131
|
+
extrinsics?: any;
|
|
132
|
+
} | string | Uint8Array) => Observable<Null>>;
|
|
133
|
+
/**
|
|
134
|
+
* Initialize a block with the given header.
|
|
135
|
+
**/
|
|
136
|
+
initializeBlock: AugmentedCall<ApiType, (header: Header | {
|
|
137
|
+
parentHash?: any;
|
|
138
|
+
number?: any;
|
|
139
|
+
stateRoot?: any;
|
|
140
|
+
extrinsicsRoot?: any;
|
|
141
|
+
digest?: any;
|
|
142
|
+
} | string | Uint8Array) => Observable<Null>>;
|
|
143
|
+
/**
|
|
144
|
+
* Returns the version of the runtime.
|
|
145
|
+
**/
|
|
146
|
+
version: AugmentedCall<ApiType, () => Observable<RuntimeVersion>>;
|
|
147
|
+
};
|
|
148
|
+
/** 0xed99c5acb25eedf5/3 */
|
|
149
|
+
grandpaApi: {
|
|
150
|
+
/**
|
|
151
|
+
* Get current GRANDPA authority set id.
|
|
152
|
+
**/
|
|
153
|
+
currentSetId: AugmentedCall<ApiType, () => Observable<SetId>>;
|
|
154
|
+
/**
|
|
155
|
+
* Generates a proof of key ownership for the given authority in the given set.
|
|
156
|
+
**/
|
|
157
|
+
generateKeyOwnershipProof: AugmentedCall<ApiType, (setId: SetId | AnyNumber | Uint8Array, authorityId: AuthorityId | string | Uint8Array) => Observable<Option<OpaqueKeyOwnershipProof>>>;
|
|
158
|
+
/**
|
|
159
|
+
* Get the current GRANDPA authorities and weights. This should not change except for when changes are scheduled and the corresponding delay has passed.
|
|
160
|
+
**/
|
|
161
|
+
grandpaAuthorities: AugmentedCall<ApiType, () => Observable<AuthorityList>>;
|
|
162
|
+
/**
|
|
163
|
+
* Submits an unsigned extrinsic to report an equivocation.
|
|
164
|
+
**/
|
|
165
|
+
submitReportEquivocationUnsignedExtrinsic: AugmentedCall<ApiType, (equivocationProof: GrandpaEquivocationProof | {
|
|
166
|
+
setId?: any;
|
|
167
|
+
equivocation?: any;
|
|
168
|
+
} | string | Uint8Array, keyOwnerProof: OpaqueKeyOwnershipProof | string | Uint8Array) => Observable<Option<Null>>>;
|
|
169
|
+
};
|
|
170
|
+
/** 0x37e397fc7c91f5e4/1 */
|
|
171
|
+
metadata: {
|
|
172
|
+
/**
|
|
173
|
+
* Returns the metadata of a runtime
|
|
174
|
+
**/
|
|
175
|
+
metadata: AugmentedCall<ApiType, () => Observable<OpaqueMetadata>>;
|
|
176
|
+
};
|
|
177
|
+
/** 0xf78b278be53f454c/2 */
|
|
178
|
+
offchainWorkerApi: {
|
|
179
|
+
/**
|
|
180
|
+
* Starts the off-chain task for given block header.
|
|
181
|
+
**/
|
|
182
|
+
offchainWorker: AugmentedCall<ApiType, (header: Header | {
|
|
183
|
+
parentHash?: any;
|
|
184
|
+
number?: any;
|
|
185
|
+
stateRoot?: any;
|
|
186
|
+
extrinsicsRoot?: any;
|
|
187
|
+
digest?: any;
|
|
188
|
+
} | string | Uint8Array) => Observable<Null>>;
|
|
189
|
+
};
|
|
190
|
+
/** 0xab3c0572291feb8b/1 */
|
|
191
|
+
sessionKeys: {
|
|
192
|
+
/**
|
|
193
|
+
* Decode the given public session keys.
|
|
194
|
+
**/
|
|
195
|
+
decodeSessionKeys: AugmentedCall<ApiType, (encoded: Bytes | string | Uint8Array) => Observable<Option<Vec<ITuple<[Bytes, KeyTypeId]>>>>>;
|
|
196
|
+
/**
|
|
197
|
+
* Generate a set of session keys with optionally using the given seed.
|
|
198
|
+
**/
|
|
199
|
+
generateSessionKeys: AugmentedCall<ApiType, (seed: Option<Bytes> | null | Uint8Array | Bytes | string) => Observable<Bytes>>;
|
|
200
|
+
};
|
|
201
|
+
/** 0x18ef58a3b67ba770/1 */
|
|
202
|
+
stakingApi: {
|
|
203
|
+
/**
|
|
204
|
+
* Returns the nominations quota for a nominator with a given balance.
|
|
205
|
+
**/
|
|
206
|
+
nominationsQuota: AugmentedCall<ApiType, (balance: Balance | AnyNumber | Uint8Array) => Observable<u32>>;
|
|
207
|
+
};
|
|
208
|
+
/** 0xd2bc9897eed08f15/3 */
|
|
209
|
+
taggedTransactionQueue: {
|
|
210
|
+
/**
|
|
211
|
+
* Validate the transaction.
|
|
212
|
+
**/
|
|
213
|
+
validateTransaction: AugmentedCall<ApiType, (source: TransactionSource | 'InBlock' | 'Local' | 'External' | number | Uint8Array, tx: Extrinsic | IExtrinsic | string | Uint8Array, blockHash: BlockHash | string | Uint8Array) => Observable<TransactionValidity>>;
|
|
214
|
+
};
|
|
215
|
+
/** 0x37c8bb1350a9a2a8/2 */
|
|
216
|
+
transactionPaymentApi: {
|
|
217
|
+
/**
|
|
218
|
+
* The transaction fee details
|
|
219
|
+
**/
|
|
220
|
+
queryFeeDetails: AugmentedCall<ApiType, (uxt: Extrinsic | IExtrinsic | string | Uint8Array, len: u32 | AnyNumber | Uint8Array) => Observable<FeeDetails>>;
|
|
221
|
+
/**
|
|
222
|
+
* The transaction info
|
|
223
|
+
**/
|
|
224
|
+
queryInfo: AugmentedCall<ApiType, (uxt: Extrinsic | IExtrinsic | string | Uint8Array, len: u32 | AnyNumber | Uint8Array) => Observable<RuntimeDispatchInfo>>;
|
|
225
|
+
};
|
|
226
|
+
/** 0xf3ff14d5ab527059/2 */
|
|
227
|
+
transactionPaymentCallApi: {
|
|
228
|
+
/**
|
|
229
|
+
* The call fee details
|
|
230
|
+
**/
|
|
231
|
+
queryCallFeeDetails: AugmentedCall<ApiType, (call: Call | IMethod | string | Uint8Array, len: u32 | AnyNumber | Uint8Array) => Observable<FeeDetails>>;
|
|
232
|
+
/**
|
|
233
|
+
* The call info
|
|
234
|
+
**/
|
|
235
|
+
queryCallInfo: AugmentedCall<ApiType, (call: Call | IMethod | string | Uint8Array, len: u32 | AnyNumber | Uint8Array) => Observable<RuntimeDispatchInfo>>;
|
|
236
|
+
};
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
//# sourceMappingURL=augment-api-runtime.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"augment-api-runtime.d.ts","sourceRoot":"","sources":["../../src/polkadot/augment-api-runtime.ts"],"names":[],"mappings":"AAKA,OAAO,gCAAgC,CAAC;AAExC,OAAO,KAAK,EAAE,QAAQ,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAC3F,OAAO,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,uBAAuB,CAAC;AAC3E,OAAO,KAAK,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAC;AAC9E,OAAO,KAAK,EACV,qBAAqB,EACrB,wBAAwB,EACxB,KAAK,EACL,uBAAuB,EACxB,MAAM,iCAAiC,CAAC;AACzC,OAAO,KAAK,EAAE,oBAAoB,EAAE,YAAY,EAAE,MAAM,yCAAyC,CAAC;AAClG,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAClE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sCAAsC,CAAC;AACxE,OAAO,KAAK,EACV,UAAU,EACV,gBAAgB,EAChB,kBAAkB,EAClB,yBAAyB,EAC1B,MAAM,sCAAsC,CAAC;AAC9C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uCAAuC,CAAC;AACvE,OAAO,KAAK,EACV,aAAa,EACb,wBAAwB,EACxB,KAAK,EACN,MAAM,oCAAoC,CAAC;AAC5C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qCAAqC,CAA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G,UAAU,KAC9B,UAAU,CAAC,mBAAmB,CAAC,CACrC,CAAC;SACH,CAAC;KACH;CACF"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Auto-generated via `yarn polkadot-types-from-chain`, do not edit
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
// import type lookup before we augment - in some environments
|
|
6
|
+
// this is required to allow for ambient/previous definitions
|
|
7
|
+
require("@polkadot/api-base/types/calls");
|
|
8
|
+
//# sourceMappingURL=augment-api-runtime.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"augment-api-runtime.js","sourceRoot":"","sources":["../../src/polkadot/augment-api-runtime.ts"],"names":[],"mappings":";AAAA,mEAAmE;AACnE,oBAAoB;;AAEpB,8DAA8D;AAC9D,6DAA6D;AAC7D,0CAAwC"}
|