@totochain/client 0.1.0 → 0.2.0
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/README.md +52 -28
- package/_cjs/accounts/substrateSigner.js +4 -1
- package/_cjs/actions/attestation/attest.d.cts +14 -9
- package/_cjs/actions/attestation/attest.js +6 -6
- package/_cjs/actions/attestation/index.d.cts +1 -1
- package/_cjs/actions/index.d.cts +1 -1
- package/_cjs/actions/index.js +1 -1
- package/_cjs/actions/{fractionalNft → puzzlePieces}/getCollectionsCount.js +1 -1
- package/_cjs/actions/{fractionalNft → puzzlePieces}/getItemsCount.js +1 -1
- package/_cjs/actions/{fractionalNft → puzzlePieces}/getOwner.js +1 -1
- package/_cjs/actions/puzzlePieces/getPendingWildcards.d.cts +8 -0
- package/_cjs/actions/puzzlePieces/getPendingWildcards.js +9 -0
- package/_cjs/actions/puzzlePieces/getTotalPuzzlePiecesMinted.d.cts +7 -0
- package/_cjs/actions/puzzlePieces/getTotalPuzzlePiecesMinted.js +8 -0
- package/_cjs/actions/{fractionalNft → puzzlePieces}/getWildcardCollectionId.js +1 -1
- package/_cjs/actions/{fractionalNft → puzzlePieces}/getWildcardDistributionMap.js +1 -1
- package/_cjs/actions/{fractionalNft → puzzlePieces}/getWildcardThreshold.js +1 -1
- package/_cjs/actions/{fractionalNft → puzzlePieces}/index.d.cts +5 -5
- package/_cjs/actions/{fractionalNft → puzzlePieces}/index.js +5 -5
- package/_cjs/actions/puzzlePieces/types.d.cts +5 -0
- package/_cjs/actions/rewardPool/index.d.cts +0 -4
- package/_cjs/actions/rewardPool/index.js +1 -5
- package/_cjs/client/compatibility.d.cts +16 -0
- package/_cjs/client/compatibility.js +60 -0
- package/_cjs/client/createClient.d.cts +2 -0
- package/_cjs/client/createClient.js +11 -0
- package/_cjs/crypto/index.d.cts +0 -2
- package/_cjs/crypto/index.js +1 -4
- package/_cjs/did/didUri.d.cts +11 -0
- package/_cjs/did/didUri.js +14 -0
- package/_cjs/index.d.cts +7 -4
- package/_cjs/index.js +9 -4
- package/_cjs/plugins/index.d.cts +2 -2
- package/_cjs/plugins/index.js +3 -3
- package/_cjs/plugins/{fractionalNft.d.cts → puzzlePieces.d.cts} +7 -10
- package/_cjs/plugins/{fractionalNft.js → puzzlePieces.js} +6 -6
- package/_cjs/plugins/rewardPool.d.cts +0 -5
- package/_cjs/plugins/rewardPool.js +0 -2
- package/_cjs/rpc/call.js +17 -1
- package/_cjs/rpc/definitions.js +49 -65
- package/_cjs/rpc/types.js +8 -12
- package/_esm/accounts/substrateSigner.js +5 -2
- package/_esm/actions/attestation/attest.js +6 -6
- package/_esm/actions/index.js +1 -1
- package/_esm/actions/{fractionalNft → puzzlePieces}/getCollectionsCount.js +1 -1
- package/_esm/actions/{fractionalNft → puzzlePieces}/getItemsCount.js +1 -1
- package/_esm/actions/{fractionalNft → puzzlePieces}/getOwner.js +1 -1
- package/_esm/actions/puzzlePieces/getPendingWildcards.js +6 -0
- package/_esm/actions/puzzlePieces/getTotalPuzzlePiecesMinted.js +5 -0
- package/_esm/actions/{fractionalNft → puzzlePieces}/getWildcardCollectionId.js +1 -1
- package/_esm/actions/{fractionalNft → puzzlePieces}/getWildcardDistributionMap.js +1 -1
- package/_esm/actions/{fractionalNft → puzzlePieces}/getWildcardThreshold.js +1 -1
- package/_esm/actions/{fractionalNft → puzzlePieces}/index.js +2 -2
- package/_esm/actions/rewardPool/index.js +0 -2
- package/_esm/client/compatibility.js +55 -0
- package/_esm/client/createClient.js +11 -0
- package/_esm/crypto/index.js +0 -1
- package/_esm/did/didUri.js +11 -0
- package/_esm/index.js +4 -2
- package/_esm/plugins/index.js +1 -1
- package/_esm/plugins/{fractionalNft.js → puzzlePieces.js} +5 -5
- package/_esm/plugins/rewardPool.js +1 -3
- package/_esm/rpc/call.js +17 -1
- package/_esm/rpc/definitions.js +49 -65
- package/_esm/rpc/types.js +8 -12
- package/_types/accounts/substrateSigner.d.ts.map +1 -1
- package/_types/actions/attestation/attest.d.ts +14 -9
- package/_types/actions/attestation/attest.d.ts.map +1 -1
- package/_types/actions/attestation/index.d.ts +1 -1
- package/_types/actions/attestation/index.d.ts.map +1 -1
- package/_types/actions/index.d.ts +1 -1
- package/_types/actions/index.d.ts.map +1 -1
- package/_types/actions/puzzlePieces/getCollectionsCount.d.ts.map +1 -0
- package/_types/actions/puzzlePieces/getItemsCount.d.ts.map +1 -0
- package/_types/actions/puzzlePieces/getOwner.d.ts.map +1 -0
- package/_types/actions/puzzlePieces/getPendingWildcards.d.ts +8 -0
- package/_types/actions/puzzlePieces/getPendingWildcards.d.ts.map +1 -0
- package/_types/actions/puzzlePieces/getTotalPuzzlePiecesMinted.d.ts +7 -0
- package/_types/actions/puzzlePieces/getTotalPuzzlePiecesMinted.d.ts.map +1 -0
- package/_types/actions/puzzlePieces/getWildcardCollectionId.d.ts.map +1 -0
- package/_types/actions/puzzlePieces/getWildcardDistributionMap.d.ts.map +1 -0
- package/_types/actions/puzzlePieces/getWildcardThreshold.d.ts.map +1 -0
- package/_types/actions/{fractionalNft → puzzlePieces}/index.d.ts +5 -5
- package/_types/actions/puzzlePieces/index.d.ts.map +1 -0
- package/_types/actions/puzzlePieces/types.d.ts +5 -0
- package/_types/actions/puzzlePieces/types.d.ts.map +1 -0
- package/_types/actions/rewardPool/index.d.ts +0 -4
- package/_types/actions/rewardPool/index.d.ts.map +1 -1
- package/_types/client/compatibility.d.ts +16 -0
- package/_types/client/compatibility.d.ts.map +1 -0
- package/_types/client/createClient.d.ts +2 -0
- package/_types/client/createClient.d.ts.map +1 -1
- package/_types/crypto/index.d.ts +0 -2
- package/_types/crypto/index.d.ts.map +1 -1
- package/_types/did/didUri.d.ts +11 -0
- package/_types/did/didUri.d.ts.map +1 -0
- package/_types/index.d.ts +7 -4
- package/_types/index.d.ts.map +1 -1
- package/_types/plugins/index.d.ts +2 -2
- package/_types/plugins/index.d.ts.map +1 -1
- package/_types/plugins/{fractionalNft.d.ts → puzzlePieces.d.ts} +7 -10
- package/_types/plugins/puzzlePieces.d.ts.map +1 -0
- package/_types/plugins/rewardPool.d.ts +0 -5
- package/_types/plugins/rewardPool.d.ts.map +1 -1
- package/_types/rpc/call.d.ts.map +1 -1
- package/_types/rpc/definitions.d.ts.map +1 -1
- package/_types/rpc/types.d.ts.map +1 -1
- package/package.json +1 -1
- package/_cjs/actions/fractionalNft/getNftInfo.d.cts +0 -9
- package/_cjs/actions/fractionalNft/getNftInfo.js +0 -12
- package/_cjs/actions/fractionalNft/getTotalFnftsMinted.d.cts +0 -7
- package/_cjs/actions/fractionalNft/getTotalFnftsMinted.js +0 -8
- package/_cjs/actions/fractionalNft/types.d.cts +0 -10
- package/_cjs/actions/rewardPool/getCollectionIds.d.cts +0 -7
- package/_cjs/actions/rewardPool/getCollectionIds.js +0 -8
- package/_cjs/actions/rewardPool/getItemIds.d.cts +0 -8
- package/_cjs/actions/rewardPool/getItemIds.js +0 -8
- package/_cjs/crypto/claimHash.d.cts +0 -23
- package/_cjs/crypto/claimHash.js +0 -38
- package/_esm/actions/fractionalNft/getNftInfo.js +0 -9
- package/_esm/actions/fractionalNft/getTotalFnftsMinted.js +0 -5
- package/_esm/actions/rewardPool/getCollectionIds.js +0 -5
- package/_esm/actions/rewardPool/getItemIds.js +0 -5
- package/_esm/crypto/claimHash.js +0 -34
- package/_types/actions/fractionalNft/getCollectionsCount.d.ts.map +0 -1
- package/_types/actions/fractionalNft/getItemsCount.d.ts.map +0 -1
- package/_types/actions/fractionalNft/getNftInfo.d.ts +0 -9
- package/_types/actions/fractionalNft/getNftInfo.d.ts.map +0 -1
- package/_types/actions/fractionalNft/getOwner.d.ts.map +0 -1
- package/_types/actions/fractionalNft/getTotalFnftsMinted.d.ts +0 -7
- package/_types/actions/fractionalNft/getTotalFnftsMinted.d.ts.map +0 -1
- package/_types/actions/fractionalNft/getWildcardCollectionId.d.ts.map +0 -1
- package/_types/actions/fractionalNft/getWildcardDistributionMap.d.ts.map +0 -1
- package/_types/actions/fractionalNft/getWildcardThreshold.d.ts.map +0 -1
- package/_types/actions/fractionalNft/index.d.ts.map +0 -1
- package/_types/actions/fractionalNft/types.d.ts +0 -10
- package/_types/actions/fractionalNft/types.d.ts.map +0 -1
- package/_types/actions/rewardPool/getCollectionIds.d.ts +0 -7
- package/_types/actions/rewardPool/getCollectionIds.d.ts.map +0 -1
- package/_types/actions/rewardPool/getItemIds.d.ts +0 -8
- package/_types/actions/rewardPool/getItemIds.d.ts.map +0 -1
- package/_types/crypto/claimHash.d.ts +0 -23
- package/_types/crypto/claimHash.d.ts.map +0 -1
- package/_types/plugins/fractionalNft.d.ts.map +0 -1
- /package/_cjs/actions/{fractionalNft → puzzlePieces}/getCollectionsCount.d.cts +0 -0
- /package/_cjs/actions/{fractionalNft → puzzlePieces}/getItemsCount.d.cts +0 -0
- /package/_cjs/actions/{fractionalNft → puzzlePieces}/getOwner.d.cts +0 -0
- /package/_cjs/actions/{fractionalNft → puzzlePieces}/getWildcardCollectionId.d.cts +0 -0
- /package/_cjs/actions/{fractionalNft → puzzlePieces}/getWildcardDistributionMap.d.cts +0 -0
- /package/_cjs/actions/{fractionalNft → puzzlePieces}/getWildcardThreshold.d.cts +0 -0
- /package/_cjs/actions/{fractionalNft → puzzlePieces}/types.js +0 -0
- /package/_esm/actions/{fractionalNft → puzzlePieces}/types.js +0 -0
- /package/_types/actions/{fractionalNft → puzzlePieces}/getCollectionsCount.d.ts +0 -0
- /package/_types/actions/{fractionalNft → puzzlePieces}/getItemsCount.d.ts +0 -0
- /package/_types/actions/{fractionalNft → puzzlePieces}/getOwner.d.ts +0 -0
- /package/_types/actions/{fractionalNft → puzzlePieces}/getWildcardCollectionId.d.ts +0 -0
- /package/_types/actions/{fractionalNft → puzzlePieces}/getWildcardDistributionMap.d.ts +0 -0
- /package/_types/actions/{fractionalNft → puzzlePieces}/getWildcardThreshold.d.ts +0 -0
package/_esm/rpc/call.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { RPC_DEFINITIONS } from './definitions.js';
|
|
1
2
|
export async function callRpc(client, section, method, ...params) {
|
|
2
3
|
const rpc = client.api.rpc;
|
|
3
4
|
const fn = rpc[section]?.[method];
|
|
@@ -5,5 +6,20 @@ export async function callRpc(client, section, method, ...params) {
|
|
|
5
6
|
throw new Error(`The node does not expose ${section}_${method}. ` +
|
|
6
7
|
`Check it was built with the ${section} RPC extension.`);
|
|
7
8
|
}
|
|
8
|
-
|
|
9
|
+
// An omitted required parameter is refused: sent as null, it would encode as a default
|
|
10
|
+
// value — poll 0, collection 0 — and the call would answer for that instead.
|
|
11
|
+
const definitions = RPC_DEFINITIONS[section]?.[method]?.params ?? [];
|
|
12
|
+
params.forEach((param, index) => {
|
|
13
|
+
const definition = definitions[index];
|
|
14
|
+
if (param === undefined && definition && !definition.isOptional) {
|
|
15
|
+
throw new Error(`Missing required parameter ${definition.name} for ${section}_${method}`);
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
// An omitted optional parameter followed by a given one is sent as null, so the ones after
|
|
19
|
+
// it keep their positions. Omitted parameters at the end are left off instead:
|
|
20
|
+
// `@polkadot/api` encodes a null `at` as the zero block hash, not as an absent one.
|
|
21
|
+
let count = params.length;
|
|
22
|
+
while (count > 0 && params[count - 1] === undefined)
|
|
23
|
+
count -= 1;
|
|
24
|
+
return fn(...params.slice(0, count).map((param) => param ?? null));
|
|
9
25
|
}
|
package/_esm/rpc/definitions.js
CHANGED
|
@@ -54,58 +54,6 @@ export const RPC_DEFINITIONS = {
|
|
|
54
54
|
type: '(u32, u64, u32)',
|
|
55
55
|
},
|
|
56
56
|
},
|
|
57
|
-
fractionalNft: {
|
|
58
|
-
wildcardThreshold: {
|
|
59
|
-
description: 'Mints required before a wildcard is distributed',
|
|
60
|
-
params: [{ name: 'at', type: 'BlockHash', isOptional: true }],
|
|
61
|
-
type: 'Option<u32>',
|
|
62
|
-
},
|
|
63
|
-
wildcardCollectionId: {
|
|
64
|
-
description: 'Collection wildcards are minted into',
|
|
65
|
-
params: [{ name: 'at', type: 'BlockHash', isOptional: true }],
|
|
66
|
-
type: 'Option<u32>',
|
|
67
|
-
},
|
|
68
|
-
wildcardDistributionMap: {
|
|
69
|
-
description: 'Scheduled wildcard distributions, by block',
|
|
70
|
-
params: [{ name: 'at', type: 'BlockHash', isOptional: true }],
|
|
71
|
-
type: 'Vec<(u32, u32)>',
|
|
72
|
-
},
|
|
73
|
-
totalFnftsMinted: {
|
|
74
|
-
description: 'Total fractional NFTs minted',
|
|
75
|
-
params: [{ name: 'at', type: 'BlockHash', isOptional: true }],
|
|
76
|
-
type: 'Option<u32>',
|
|
77
|
-
},
|
|
78
|
-
collectionsCount: {
|
|
79
|
-
description: 'Number of collections',
|
|
80
|
-
params: [{ name: 'at', type: 'BlockHash', isOptional: true }],
|
|
81
|
-
type: 'u32',
|
|
82
|
-
},
|
|
83
|
-
itemsCount: {
|
|
84
|
-
description: 'Number of items in a collection',
|
|
85
|
-
params: [
|
|
86
|
-
{ name: 'collectionId', type: 'u32' },
|
|
87
|
-
{ name: 'at', type: 'BlockHash', isOptional: true },
|
|
88
|
-
],
|
|
89
|
-
type: 'u32',
|
|
90
|
-
},
|
|
91
|
-
nftInfo: {
|
|
92
|
-
description: 'Contract address and token id backing a collection',
|
|
93
|
-
params: [
|
|
94
|
-
{ name: 'collectionId', type: 'u32' },
|
|
95
|
-
{ name: 'at', type: 'BlockHash', isOptional: true },
|
|
96
|
-
],
|
|
97
|
-
type: 'NftInfo',
|
|
98
|
-
},
|
|
99
|
-
owner: {
|
|
100
|
-
description: 'Owner of one item, if it exists',
|
|
101
|
-
params: [
|
|
102
|
-
{ name: 'collectionId', type: 'u32' },
|
|
103
|
-
{ name: 'itemId', type: 'u32' },
|
|
104
|
-
{ name: 'at', type: 'BlockHash', isOptional: true },
|
|
105
|
-
],
|
|
106
|
-
type: 'Option<AccountId>',
|
|
107
|
-
},
|
|
108
|
-
},
|
|
109
57
|
handshake: {
|
|
110
58
|
hasHandshakeCompleted: {
|
|
111
59
|
description: 'Whether two accounts completed a handshake',
|
|
@@ -214,6 +162,55 @@ export const RPC_DEFINITIONS = {
|
|
|
214
162
|
type: 'u32',
|
|
215
163
|
},
|
|
216
164
|
},
|
|
165
|
+
puzzlePieces: {
|
|
166
|
+
wildcardThreshold: {
|
|
167
|
+
description: 'Mints required before a wildcard is distributed',
|
|
168
|
+
params: [{ name: 'at', type: 'BlockHash', isOptional: true }],
|
|
169
|
+
type: 'Option<u32>',
|
|
170
|
+
},
|
|
171
|
+
wildcardCollectionId: {
|
|
172
|
+
description: 'Collection wildcards are minted into',
|
|
173
|
+
params: [{ name: 'at', type: 'BlockHash', isOptional: true }],
|
|
174
|
+
type: 'Option<u32>',
|
|
175
|
+
},
|
|
176
|
+
wildcardDistributionMap: {
|
|
177
|
+
description: 'Scheduled wildcard distributions, by block',
|
|
178
|
+
params: [{ name: 'at', type: 'BlockHash', isOptional: true }],
|
|
179
|
+
type: 'Vec<(u32, u32)>',
|
|
180
|
+
},
|
|
181
|
+
pendingWildcards: {
|
|
182
|
+
description: 'Wildcards owed but not yet minted into the distribution map',
|
|
183
|
+
params: [{ name: 'at', type: 'BlockHash', isOptional: true }],
|
|
184
|
+
type: 'u32',
|
|
185
|
+
},
|
|
186
|
+
totalPuzzlePiecesMinted: {
|
|
187
|
+
description: 'Total puzzle pieces minted',
|
|
188
|
+
params: [{ name: 'at', type: 'BlockHash', isOptional: true }],
|
|
189
|
+
type: 'Option<u32>',
|
|
190
|
+
},
|
|
191
|
+
collectionsCount: {
|
|
192
|
+
description: 'Number of collections',
|
|
193
|
+
params: [{ name: 'at', type: 'BlockHash', isOptional: true }],
|
|
194
|
+
type: 'u32',
|
|
195
|
+
},
|
|
196
|
+
itemsCount: {
|
|
197
|
+
description: 'Number of items in a collection',
|
|
198
|
+
params: [
|
|
199
|
+
{ name: 'collectionId', type: 'u32' },
|
|
200
|
+
{ name: 'at', type: 'BlockHash', isOptional: true },
|
|
201
|
+
],
|
|
202
|
+
type: 'u32',
|
|
203
|
+
},
|
|
204
|
+
owner: {
|
|
205
|
+
description: 'Owner of one item, if it exists',
|
|
206
|
+
params: [
|
|
207
|
+
{ name: 'collectionId', type: 'u32' },
|
|
208
|
+
{ name: 'itemId', type: 'u32' },
|
|
209
|
+
{ name: 'at', type: 'BlockHash', isOptional: true },
|
|
210
|
+
],
|
|
211
|
+
type: 'Option<AccountId>',
|
|
212
|
+
},
|
|
213
|
+
},
|
|
217
214
|
referral: {
|
|
218
215
|
activeReferralsCount: {
|
|
219
216
|
description: 'Number of accounts in the referral subtree rooted at this account',
|
|
@@ -315,19 +312,6 @@ export const RPC_DEFINITIONS = {
|
|
|
315
312
|
params: [{ name: 'at', type: 'BlockHash', isOptional: true }],
|
|
316
313
|
type: 'u128',
|
|
317
314
|
},
|
|
318
|
-
collectionIds: {
|
|
319
|
-
description: 'Collections the reward pool holds items in',
|
|
320
|
-
params: [{ name: 'at', type: 'BlockHash', isOptional: true }],
|
|
321
|
-
type: 'Vec<u32>',
|
|
322
|
-
},
|
|
323
|
-
itemIds: {
|
|
324
|
-
description: 'Items the reward pool holds in one collection',
|
|
325
|
-
params: [
|
|
326
|
-
{ name: 'collectionId', type: 'u32' },
|
|
327
|
-
{ name: 'at', type: 'BlockHash', isOptional: true },
|
|
328
|
-
],
|
|
329
|
-
type: 'Vec<u32>',
|
|
330
|
-
},
|
|
331
315
|
},
|
|
332
316
|
techCommitteeManager: {
|
|
333
317
|
candidates: {
|
package/_esm/rpc/types.js
CHANGED
|
@@ -3,20 +3,16 @@ export const CHAIN_TYPES = {
|
|
|
3
3
|
parent: 'Option<AccountId>',
|
|
4
4
|
children: 'Vec<AccountId>',
|
|
5
5
|
},
|
|
6
|
-
NftInfo: {
|
|
7
|
-
address: 'H160',
|
|
8
|
-
token_id: 'U256',
|
|
9
|
-
},
|
|
10
6
|
Pagination: {
|
|
11
7
|
page: 'Option<u32>',
|
|
12
|
-
|
|
8
|
+
pageSize: 'Option<u32>',
|
|
13
9
|
},
|
|
14
10
|
PaginatedResponse: {
|
|
15
11
|
items: 'Vec<AccountId>',
|
|
16
12
|
total: 'Option<u32>',
|
|
17
13
|
page: 'u32',
|
|
18
|
-
|
|
19
|
-
|
|
14
|
+
pageSize: 'u32',
|
|
15
|
+
hasMore: 'bool',
|
|
20
16
|
},
|
|
21
17
|
VoteDirection: {
|
|
22
18
|
_enum: ['Aye', 'Nay'],
|
|
@@ -24,7 +20,7 @@ export const CHAIN_TYPES = {
|
|
|
24
20
|
VoteRecord: {
|
|
25
21
|
direction: 'VoteDirection',
|
|
26
22
|
reputation: 'u32',
|
|
27
|
-
|
|
23
|
+
votedAt: 'u32',
|
|
28
24
|
},
|
|
29
25
|
ReputationTally: {
|
|
30
26
|
ayes: 'u128',
|
|
@@ -33,10 +29,10 @@ export const CHAIN_TYPES = {
|
|
|
33
29
|
electorate: 'u128',
|
|
34
30
|
},
|
|
35
31
|
ActivityReputationInfo: {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
32
|
+
currentReputation: 'u32',
|
|
33
|
+
rawReputation: 'u32',
|
|
34
|
+
lastActivityBlock: 'u32',
|
|
35
|
+
blocksSinceActivity: 'u32',
|
|
40
36
|
},
|
|
41
37
|
ActivityReputationPage: {
|
|
42
38
|
entries: 'Vec<(AccountId, u32)>',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"substrateSigner.d.ts","sourceRoot":"","sources":["../../src/accounts/substrateSigner.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAgB,MAAM,qBAAqB,CAAC;AAEhE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAI7C,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,UAAU,EAAE,MAAM,EAAE,UAAU,GAAG,MAAM,
|
|
1
|
+
{"version":3,"file":"substrateSigner.d.ts","sourceRoot":"","sources":["../../src/accounts/substrateSigner.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAgB,MAAM,qBAAqB,CAAC;AAEhE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAI7C,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,UAAU,EAAE,MAAM,EAAE,UAAU,GAAG,MAAM,CA+C7E"}
|
|
@@ -1,16 +1,21 @@
|
|
|
1
1
|
import type { Client } from '../../client/types.js';
|
|
2
2
|
import type { Address, Hash } from '../../types/index.js';
|
|
3
3
|
import type { Extrinsic } from '../did/createDid.js';
|
|
4
|
+
/** The pair that identifies an attestation: the chain holds at most one per subject and CType. */
|
|
4
5
|
export interface AttestParameters {
|
|
5
|
-
claimHash: Hash;
|
|
6
|
-
ctypeHash: Hash;
|
|
7
6
|
subject: Address;
|
|
7
|
+
ctypeHash: Hash;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* One issuance of an attestation. The chain never reuses an issuance id, so revoking or removing
|
|
11
|
+
* by it cannot reach a later re-attestation of the same subject and CType: the call fails with
|
|
12
|
+
* `IssuanceMismatch` instead. Read the id from `api.query.attestation.attestations(subject,
|
|
13
|
+
* ctypeHash)` (`issuanceId`) or from the `AttestationCreated` event.
|
|
14
|
+
*/
|
|
15
|
+
export interface AttestationIssuanceParameters extends AttestParameters {
|
|
16
|
+
issuanceId: bigint;
|
|
8
17
|
}
|
|
9
|
-
export declare function attest(client: Client, {
|
|
10
|
-
export declare function revokeAttestation(client: Client, {
|
|
11
|
-
|
|
12
|
-
}): Extrinsic;
|
|
13
|
-
export declare function removeAttestation(client: Client, { claimHash }: {
|
|
14
|
-
claimHash: Hash;
|
|
15
|
-
}): Extrinsic;
|
|
18
|
+
export declare function attest(client: Client, { subject, ctypeHash }: AttestParameters): Extrinsic;
|
|
19
|
+
export declare function revokeAttestation(client: Client, { subject, ctypeHash, issuanceId }: AttestationIssuanceParameters): Extrinsic;
|
|
20
|
+
export declare function removeAttestation(client: Client, { subject, ctypeHash, issuanceId }: AttestationIssuanceParameters): Extrinsic;
|
|
16
21
|
//# sourceMappingURL=attest.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"attest.d.ts","sourceRoot":"","sources":["../../../src/actions/attestation/attest.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAErD,MAAM,WAAW,gBAAgB;IAC/B,
|
|
1
|
+
{"version":3,"file":"attest.d.ts","sourceRoot":"","sources":["../../../src/actions/attestation/attest.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAErD,kGAAkG;AAClG,MAAM,WAAW,gBAAgB;IAC/B,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,IAAI,CAAC;CACjB;AAED;;;;;GAKG;AACH,MAAM,WAAW,6BAA8B,SAAQ,gBAAgB;IACrE,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,EAAE,OAAO,EAAE,SAAS,EAAE,EAAE,gBAAgB,GAAG,SAAS,CAE1F;AAED,wBAAgB,iBAAiB,CAC/B,MAAM,EAAE,MAAM,EACd,EAAE,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,EAAE,6BAA6B,GAChE,SAAS,CAEX;AAED,wBAAgB,iBAAiB,CAC/B,MAAM,EAAE,MAAM,EACd,EAAE,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,EAAE,6BAA6B,GAChE,SAAS,CAEX"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/actions/attestation/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAC3E,YAAY,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/actions/attestation/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAC3E,YAAY,EAAE,gBAAgB,EAAE,6BAA6B,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export * from './activityTracker/index.js';
|
|
2
2
|
export * from './attestation/index.js';
|
|
3
3
|
export * from './did/index.js';
|
|
4
|
-
export * from './fractionalNft/index.js';
|
|
5
4
|
export * from './handshake/index.js';
|
|
6
5
|
export * from './potential/index.js';
|
|
6
|
+
export * from './puzzlePieces/index.js';
|
|
7
7
|
export * from './referral/index.js';
|
|
8
8
|
export * from './reputationVoting/index.js';
|
|
9
9
|
export * from './rewardPool/index.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/actions/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC;AACvC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/actions/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC;AACvC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,yBAAyB,CAAC;AACxC,cAAc,qBAAqB,CAAC;AACpC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,uBAAuB,CAAC;AACtC,cAAc,iCAAiC,CAAC;AAChD,cAAc,6BAA6B,CAAC;AAE5C,OAAO,EACL,mBAAmB,EACnB,iBAAiB,EACjB,gBAAgB,EAChB,kBAAkB,EAClB,uBAAuB,EACvB,aAAa,GACd,MAAM,oBAAoB,CAAC;AAC5B,YAAY,EAAE,uBAAuB,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getCollectionsCount.d.ts","sourceRoot":"","sources":["../../../src/actions/puzzlePieces/getCollectionsCount.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAGtD,MAAM,WAAW,6BAA6B;IAC5C,EAAE,CAAC,EAAE,SAAS,CAAC;CAChB;AAED,wBAAsB,mBAAmB,CACvC,MAAM,EAAE,MAAM,EACd,EAAE,EAAE,EAAE,GAAE,6BAAkC,GACzC,OAAO,CAAC,MAAM,CAAC,CAGjB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getItemsCount.d.ts","sourceRoot":"","sources":["../../../src/actions/puzzlePieces/getItemsCount.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAGtD,MAAM,WAAW,uBAAuB;IACtC,YAAY,EAAE,MAAM,CAAC;IACrB,EAAE,CAAC,EAAE,SAAS,CAAC;CAChB;AAED,wBAAsB,aAAa,CACjC,MAAM,EAAE,MAAM,EACd,EAAE,YAAY,EAAE,EAAE,EAAE,EAAE,uBAAuB,GAC5C,OAAO,CAAC,MAAM,CAAC,CAGjB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getOwner.d.ts","sourceRoot":"","sources":["../../../src/actions/puzzlePieces/getOwner.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,KAAK,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAG/D,MAAM,WAAW,kBAAkB;IACjC,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,EAAE,CAAC,EAAE,SAAS,CAAC;CAChB;AAED,wBAAsB,QAAQ,CAC5B,MAAM,EAAE,MAAM,EACd,EAAE,YAAY,EAAE,MAAM,EAAE,EAAE,EAAE,EAAE,kBAAkB,GAC/C,OAAO,CAAC,OAAO,GAAG,IAAI,CAAC,CAUzB"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { Client } from '../../client/types.js';
|
|
2
|
+
import type { BlockHash } from '../../types/index.js';
|
|
3
|
+
export interface GetPendingWildcardsParameters {
|
|
4
|
+
at?: BlockHash;
|
|
5
|
+
}
|
|
6
|
+
/** Wildcards owed but not yet minted into the distribution map. */
|
|
7
|
+
export declare function getPendingWildcards(client: Client, { at }?: GetPendingWildcardsParameters): Promise<number>;
|
|
8
|
+
//# sourceMappingURL=getPendingWildcards.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getPendingWildcards.d.ts","sourceRoot":"","sources":["../../../src/actions/puzzlePieces/getPendingWildcards.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAGtD,MAAM,WAAW,6BAA6B;IAC5C,EAAE,CAAC,EAAE,SAAS,CAAC;CAChB;AAED,mEAAmE;AACnE,wBAAsB,mBAAmB,CACvC,MAAM,EAAE,MAAM,EACd,EAAE,EAAE,EAAE,GAAE,6BAAkC,GACzC,OAAO,CAAC,MAAM,CAAC,CAGjB"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Client } from '../../client/types.js';
|
|
2
|
+
import type { BlockHash } from '../../types/index.js';
|
|
3
|
+
export interface GetTotalPuzzlePiecesMintedParameters {
|
|
4
|
+
at?: BlockHash;
|
|
5
|
+
}
|
|
6
|
+
export declare function getTotalPuzzlePiecesMinted(client: Client, { at }?: GetTotalPuzzlePiecesMintedParameters): Promise<number | null>;
|
|
7
|
+
//# sourceMappingURL=getTotalPuzzlePiecesMinted.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getTotalPuzzlePiecesMinted.d.ts","sourceRoot":"","sources":["../../../src/actions/puzzlePieces/getTotalPuzzlePiecesMinted.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAGtD,MAAM,WAAW,oCAAoC;IACnD,EAAE,CAAC,EAAE,SAAS,CAAC;CAChB;AAED,wBAAsB,0BAA0B,CAC9C,MAAM,EAAE,MAAM,EACd,EAAE,EAAE,EAAE,GAAE,oCAAyC,GAChD,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAGxB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getWildcardCollectionId.d.ts","sourceRoot":"","sources":["../../../src/actions/puzzlePieces/getWildcardCollectionId.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAGtD,MAAM,WAAW,iCAAiC;IAChD,EAAE,CAAC,EAAE,SAAS,CAAC;CAChB;AAED,wBAAsB,uBAAuB,CAC3C,MAAM,EAAE,MAAM,EACd,EAAE,EAAE,EAAE,GAAE,iCAAsC,GAC7C,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAGxB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getWildcardDistributionMap.d.ts","sourceRoot":"","sources":["../../../src/actions/puzzlePieces/getWildcardDistributionMap.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAGvD,MAAM,WAAW,oCAAoC;IACnD,EAAE,CAAC,EAAE,SAAS,CAAC;CAChB;AAED,wBAAsB,0BAA0B,CAC9C,MAAM,EAAE,MAAM,EACd,EAAE,EAAE,EAAE,GAAE,oCAAyC,GAChD,OAAO,CAAC,oBAAoB,EAAE,CAAC,CAIjC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getWildcardThreshold.d.ts","sourceRoot":"","sources":["../../../src/actions/puzzlePieces/getWildcardThreshold.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAGtD,MAAM,WAAW,8BAA8B;IAC7C,EAAE,CAAC,EAAE,SAAS,CAAC;CAChB;AAED,wBAAsB,oBAAoB,CACxC,MAAM,EAAE,MAAM,EACd,EAAE,EAAE,EAAE,GAAE,8BAAmC,GAC1C,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAGxB"}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
export { getCollectionsCount } from './getCollectionsCount.js';
|
|
2
2
|
export { getItemsCount } from './getItemsCount.js';
|
|
3
|
-
export { getNftInfo } from './getNftInfo.js';
|
|
4
3
|
export { getOwner } from './getOwner.js';
|
|
5
|
-
export {
|
|
4
|
+
export { getPendingWildcards } from './getPendingWildcards.js';
|
|
5
|
+
export { getTotalPuzzlePiecesMinted } from './getTotalPuzzlePiecesMinted.js';
|
|
6
6
|
export { getWildcardCollectionId } from './getWildcardCollectionId.js';
|
|
7
7
|
export { getWildcardDistributionMap } from './getWildcardDistributionMap.js';
|
|
8
8
|
export { getWildcardThreshold } from './getWildcardThreshold.js';
|
|
9
|
-
export type {
|
|
9
|
+
export type { WildcardDistribution } from './types.js';
|
|
10
10
|
export type { GetCollectionsCountParameters } from './getCollectionsCount.js';
|
|
11
11
|
export type { GetItemsCountParameters } from './getItemsCount.js';
|
|
12
|
-
export type { GetNftInfoParameters } from './getNftInfo.js';
|
|
13
12
|
export type { GetOwnerParameters } from './getOwner.js';
|
|
14
|
-
export type {
|
|
13
|
+
export type { GetPendingWildcardsParameters } from './getPendingWildcards.js';
|
|
14
|
+
export type { GetTotalPuzzlePiecesMintedParameters } from './getTotalPuzzlePiecesMinted.js';
|
|
15
15
|
export type { GetWildcardCollectionIdParameters } from './getWildcardCollectionId.js';
|
|
16
16
|
export type { GetWildcardDistributionMapParameters } from './getWildcardDistributionMap.js';
|
|
17
17
|
export type { GetWildcardThresholdParameters } from './getWildcardThreshold.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/actions/puzzlePieces/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAC7E,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAC7E,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAEjE,YAAY,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AACvD,YAAY,EAAE,6BAA6B,EAAE,MAAM,0BAA0B,CAAC;AAC9E,YAAY,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AAClE,YAAY,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AACxD,YAAY,EAAE,6BAA6B,EAAE,MAAM,0BAA0B,CAAC;AAC9E,YAAY,EAAE,oCAAoC,EAAE,MAAM,iCAAiC,CAAC;AAC5F,YAAY,EAAE,iCAAiC,EAAE,MAAM,8BAA8B,CAAC;AACtF,YAAY,EAAE,oCAAoC,EAAE,MAAM,iCAAiC,CAAC;AAC5F,YAAY,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/actions/puzzlePieces/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,oBAAoB;IACnC,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;CAChB"}
|
|
@@ -1,9 +1,5 @@
|
|
|
1
|
-
export { getCollectionIds } from './getCollectionIds.js';
|
|
2
|
-
export { getItemIds } from './getItemIds.js';
|
|
3
1
|
export { getRewardPoolAccount } from './getRewardPoolAccount.js';
|
|
4
2
|
export { getRewardPoolBalance } from './getRewardPoolBalance.js';
|
|
5
|
-
export type { GetCollectionIdsParameters } from './getCollectionIds.js';
|
|
6
|
-
export type { GetItemIdsParameters } from './getItemIds.js';
|
|
7
3
|
export type { GetRewardPoolAccountParameters } from './getRewardPoolAccount.js';
|
|
8
4
|
export type { GetRewardPoolBalanceParameters } from './getRewardPoolBalance.js';
|
|
9
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/actions/rewardPool/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/actions/rewardPool/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAEjE,YAAY,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAChF,YAAY,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { ApiPromise } from '@polkadot/api';
|
|
2
|
+
/** The runtime this client is written against. */
|
|
3
|
+
export declare const SPEC_NAME = "totochain";
|
|
4
|
+
/** Every call an action builds, with the arguments it passes, as the node's metadata lists them. */
|
|
5
|
+
export declare const EXPECTED_CALLS: Readonly<Record<string, string>>;
|
|
6
|
+
/** Thrown by `createClient` in strict mode when the node does not match this client. */
|
|
7
|
+
export declare class IncompatibleNodeError extends Error {
|
|
8
|
+
readonly problems: readonly string[];
|
|
9
|
+
constructor(problems: readonly string[]);
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Lists every way the connected node differs from what this client sends: the runtime, the
|
|
13
|
+
* calls the actions build and the custom RPCs. Empty when they match.
|
|
14
|
+
*/
|
|
15
|
+
export declare function checkCompatibility(api: ApiPromise): string[];
|
|
16
|
+
//# sourceMappingURL=compatibility.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"compatibility.d.ts","sourceRoot":"","sources":["../../src/client/compatibility.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAGhD,kDAAkD;AAClD,eAAO,MAAM,SAAS,cAAc,CAAC;AAErC,oGAAoG;AACpG,eAAO,MAAM,cAAc,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAM3D,CAAC;AAEF,wFAAwF;AACxF,qBAAa,qBAAsB,SAAQ,KAAK;IAC9C,QAAQ,CAAC,QAAQ,EAAE,SAAS,MAAM,EAAE,CAAC;gBAEzB,QAAQ,EAAE,SAAS,MAAM,EAAE;CAKxC;AAED;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,UAAU,GAAG,MAAM,EAAE,CAkC5D"}
|
|
@@ -3,6 +3,8 @@ import type { Client, Plugin } from './types.js';
|
|
|
3
3
|
export interface CreateClientOptions {
|
|
4
4
|
url: string;
|
|
5
5
|
timeoutMs?: number;
|
|
6
|
+
/** When the node does not match this client: log a warning (default), throw, or skip the check. */
|
|
7
|
+
compatibility?: 'warn' | 'strict' | 'off';
|
|
6
8
|
}
|
|
7
9
|
export declare function createClientFromApi(api: ApiPromise): Client;
|
|
8
10
|
export declare function createClient(options: CreateClientOptions): Promise<Client>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createClient.d.ts","sourceRoot":"","sources":["../../src/client/createClient.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAc,MAAM,eAAe,CAAC;AAEvD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"createClient.d.ts","sourceRoot":"","sources":["../../src/client/createClient.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAc,MAAM,eAAe,CAAC;AAEvD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AAKjD,MAAM,WAAW,mBAAmB;IAClC,GAAG,EAAE,MAAM,CAAC;IACZ,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,mGAAmG;IACnG,aAAa,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,KAAK,CAAC;CAC3C;AAED,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,UAAU,GAAG,MAAM,CAQ3D;AAED,wBAAsB,YAAY,CAAC,OAAO,EAAE,mBAAmB,GAAG,OAAO,CAAC,MAAM,CAAC,CAoBhF;AAED,YAAY,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC"}
|
package/_types/crypto/index.d.ts
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
1
|
export { canonicalCTypeBytes, ctypeHash } from './ctypeHash.js';
|
|
2
|
-
export { deriveClaimHash, didUri } from './claimHash.js';
|
|
3
2
|
export type { CTypeSchema } from './ctypeHash.js';
|
|
4
|
-
export type { DeriveClaimHashParameters, DidUri } from './claimHash.js';
|
|
5
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/crypto/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/crypto/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAEhE,YAAY,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export type DidUri = `did:toto:${string}`;
|
|
2
|
+
/**
|
|
3
|
+
* Renders an address as its DID URI: `did:toto:` followed by the address without its `0x`.
|
|
4
|
+
*
|
|
5
|
+
* The address is passed through verbatim, case included. Nothing hashes the string and the chain
|
|
6
|
+
* never sees it — the DID and attestation pallets identify the account by its typed H160 — so the
|
|
7
|
+
* case carries no meaning, and two URIs for one account can differ in case alone. Lowercase the
|
|
8
|
+
* address first if you compare URIs as strings; `pallet_did::did_uri` renders lowercase.
|
|
9
|
+
*/
|
|
10
|
+
export declare function didUri(address: `0x${string}`): DidUri;
|
|
11
|
+
//# sourceMappingURL=didUri.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"didUri.d.ts","sourceRoot":"","sources":["../../src/did/didUri.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,MAAM,GAAG,YAAY,MAAM,EAAE,CAAC;AAE1C;;;;;;;GAOG;AACH,wBAAgB,MAAM,CAAC,OAAO,EAAE,KAAK,MAAM,EAAE,GAAG,MAAM,CAErD"}
|
package/_types/index.d.ts
CHANGED
|
@@ -1,15 +1,18 @@
|
|
|
1
1
|
export { createClient, createClientFromApi } from './client/createClient.js';
|
|
2
2
|
export type { CreateClientOptions } from './client/createClient.js';
|
|
3
|
+
export { checkCompatibility, EXPECTED_CALLS, IncompatibleNodeError, SPEC_NAME, } from './client/compatibility.js';
|
|
3
4
|
export type { Client, Plugin } from './client/types.js';
|
|
4
|
-
export { activityTrackerPlugin,
|
|
5
|
-
export type { ActivityTrackerCapability,
|
|
5
|
+
export { activityTrackerPlugin, handshakePlugin, potentialPlugin, puzzlePiecesPlugin, referralPlugin, reputationVotingPlugin, rewardPoolPlugin, techCommitteeManagerPlugin, validatorManagerPlugin, } from './plugins/index.js';
|
|
6
|
+
export type { ActivityTrackerCapability, HandshakeCapability, PotentialCapability, PuzzlePiecesCapability, ReferralCapability, ReputationVotingCapability, RewardPoolCapability, TechCommitteeManagerCapability, ValidatorManagerCapability, } from './plugins/index.js';
|
|
6
7
|
export { RPC_DEFINITIONS } from './rpc/definitions.js';
|
|
7
8
|
export { CHAIN_TYPES } from './rpc/types.js';
|
|
8
9
|
export { TOTOCHAIN_DEFINITIONS, typesBundle } from './rpc/bundle.js';
|
|
9
10
|
export type { Address, BlockHash, Pagination, PaginatedResponse } from './types/index.js';
|
|
10
11
|
export { DEFAULT_PAGE_SIZE, MAX_PAGE_SIZE } from './types/index.js';
|
|
11
|
-
export { canonicalCTypeBytes, ctypeHash
|
|
12
|
-
export type { CTypeSchema
|
|
12
|
+
export { canonicalCTypeBytes, ctypeHash } from './crypto/index.js';
|
|
13
|
+
export type { CTypeSchema } from './crypto/index.js';
|
|
14
|
+
export { didUri } from './did/didUri.js';
|
|
15
|
+
export type { DidUri } from './did/didUri.js';
|
|
13
16
|
export { REGISTERED_CTYPES } from './ctypes/index.js';
|
|
14
17
|
export type { RegisteredCType } from './ctypes/index.js';
|
|
15
18
|
export { DispatchFailedError, isDispatchFailure, NotIncludedError, SubmitTimeoutError, SubscriptionFailedError, submitAndWait, } from './actions/submitAndWait.js';
|
package/_types/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC7E,YAAY,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AACpE,YAAY,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAExD,OAAO,EACL,qBAAqB,EACrB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC7E,YAAY,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AACpE,OAAO,EACL,kBAAkB,EAClB,cAAc,EACd,qBAAqB,EACrB,SAAS,GACV,MAAM,2BAA2B,CAAC;AACnC,YAAY,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAExD,OAAO,EACL,qBAAqB,EACrB,eAAe,EACf,eAAe,EACf,kBAAkB,EAClB,cAAc,EACd,sBAAsB,EACtB,gBAAgB,EAChB,0BAA0B,EAC1B,sBAAsB,GACvB,MAAM,oBAAoB,CAAC;AAC5B,YAAY,EACV,yBAAyB,EACzB,mBAAmB,EACnB,mBAAmB,EACnB,sBAAsB,EACtB,kBAAkB,EAClB,0BAA0B,EAC1B,oBAAoB,EACpB,8BAA8B,EAC9B,0BAA0B,GAC3B,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,qBAAqB,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAErE,YAAY,EAAE,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAC1F,OAAO,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEpE,OAAO,EAAE,mBAAmB,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AACnE,YAAY,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAErD,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACzC,YAAY,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAE9C,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACtD,YAAY,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEzD,OAAO,EACL,mBAAmB,EACnB,iBAAiB,EACjB,gBAAgB,EAChB,kBAAkB,EAClB,uBAAuB,EACvB,aAAa,GACd,MAAM,4BAA4B,CAAC;AACpC,YAAY,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAE9E,OAAO,EACL,SAAS,EACT,YAAY,EACZ,cAAc,EACd,gBAAgB,EAChB,WAAW,GACZ,MAAM,mBAAmB,CAAC;AAC3B,YAAY,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEzD,OAAO,EACL,OAAO,EACP,SAAS,EACT,aAAa,EACb,aAAa,EACb,YAAY,EACZ,cAAc,EACd,eAAe,EACf,gBAAgB,EAChB,cAAc,EACd,KAAK,EACL,iBAAiB,GAClB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,YAAY,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAC5F,YAAY,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC"}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
export { activityTrackerPlugin } from './activityTracker.js';
|
|
2
|
-
export { fractionalNftPlugin } from './fractionalNft.js';
|
|
3
2
|
export { handshakePlugin } from './handshake.js';
|
|
4
3
|
export { potentialPlugin } from './potential.js';
|
|
4
|
+
export { puzzlePiecesPlugin } from './puzzlePieces.js';
|
|
5
5
|
export { referralPlugin } from './referral.js';
|
|
6
6
|
export { reputationVotingPlugin } from './reputationVoting.js';
|
|
7
7
|
export { rewardPoolPlugin } from './rewardPool.js';
|
|
8
8
|
export { techCommitteeManagerPlugin } from './techCommitteeManager.js';
|
|
9
9
|
export { validatorManagerPlugin } from './validatorManager.js';
|
|
10
10
|
export type { ActivityTrackerCapability } from './activityTracker.js';
|
|
11
|
-
export type { FractionalNftCapability } from './fractionalNft.js';
|
|
12
11
|
export type { HandshakeCapability } from './handshake.js';
|
|
13
12
|
export type { PotentialCapability } from './potential.js';
|
|
13
|
+
export type { PuzzlePiecesCapability } from './puzzlePieces.js';
|
|
14
14
|
export type { ReferralCapability } from './referral.js';
|
|
15
15
|
export type { ReputationVotingCapability } from './reputationVoting.js';
|
|
16
16
|
export type { RewardPoolCapability } from './rewardPool.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/plugins/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/plugins/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAC/D,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,0BAA0B,EAAE,MAAM,2BAA2B,CAAC;AACvE,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,YAAY,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AACtE,YAAY,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAC1D,YAAY,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAC1D,YAAY,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AAChE,YAAY,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AACxD,YAAY,EAAE,0BAA0B,EAAE,MAAM,uBAAuB,CAAC;AACxE,YAAY,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAC5D,YAAY,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAChF,YAAY,EAAE,0BAA0B,EAAE,MAAM,uBAAuB,CAAC"}
|
|
@@ -1,24 +1,21 @@
|
|
|
1
1
|
import type { Client } from '../client/types.js';
|
|
2
2
|
import type { Address, BlockHash } from '../types/index.js';
|
|
3
|
-
import type {
|
|
3
|
+
import type { WildcardDistribution } from '../actions/puzzlePieces/types.js';
|
|
4
4
|
interface At {
|
|
5
5
|
at?: BlockHash;
|
|
6
6
|
}
|
|
7
|
-
export interface
|
|
8
|
-
|
|
7
|
+
export interface PuzzlePiecesCapability {
|
|
8
|
+
puzzlePieces: {
|
|
9
9
|
getWildcardThreshold(p?: At): Promise<number | null>;
|
|
10
10
|
getWildcardCollectionId(p?: At): Promise<number | null>;
|
|
11
11
|
getWildcardDistributionMap(p?: At): Promise<WildcardDistribution[]>;
|
|
12
|
-
|
|
12
|
+
getPendingWildcards(p?: At): Promise<number>;
|
|
13
|
+
getTotalPuzzlePiecesMinted(p?: At): Promise<number | null>;
|
|
13
14
|
getCollectionsCount(p?: At): Promise<number>;
|
|
14
15
|
getItemsCount(p: {
|
|
15
16
|
collectionId: number;
|
|
16
17
|
at?: BlockHash;
|
|
17
18
|
}): Promise<number>;
|
|
18
|
-
getNftInfo(p: {
|
|
19
|
-
collectionId: number;
|
|
20
|
-
at?: BlockHash;
|
|
21
|
-
}): Promise<NftInfo>;
|
|
22
19
|
getOwner(p: {
|
|
23
20
|
collectionId: number;
|
|
24
21
|
itemId: number;
|
|
@@ -26,6 +23,6 @@ export interface FractionalNftCapability {
|
|
|
26
23
|
}): Promise<Address | null>;
|
|
27
24
|
};
|
|
28
25
|
}
|
|
29
|
-
export declare function
|
|
26
|
+
export declare function puzzlePiecesPlugin(): (client: Client) => PuzzlePiecesCapability;
|
|
30
27
|
export {};
|
|
31
|
-
//# sourceMappingURL=
|
|
28
|
+
//# sourceMappingURL=puzzlePieces.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"puzzlePieces.d.ts","sourceRoot":"","sources":["../../src/plugins/puzzlePieces.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AAY7E,UAAU,EAAE;IACV,EAAE,CAAC,EAAE,SAAS,CAAC;CAChB;AAED,MAAM,WAAW,sBAAsB;IACrC,YAAY,EAAE;QACZ,oBAAoB,CAAC,CAAC,CAAC,EAAE,EAAE,GAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;QACrD,uBAAuB,CAAC,CAAC,CAAC,EAAE,EAAE,GAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;QACxD,0BAA0B,CAAC,CAAC,CAAC,EAAE,EAAE,GAAG,OAAO,CAAC,oBAAoB,EAAE,CAAC,CAAC;QACpE,mBAAmB,CAAC,CAAC,CAAC,EAAE,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;QAC7C,0BAA0B,CAAC,CAAC,CAAC,EAAE,EAAE,GAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;QAC3D,mBAAmB,CAAC,CAAC,CAAC,EAAE,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;QAC7C,aAAa,CAAC,CAAC,EAAE;YAAE,YAAY,EAAE,MAAM,CAAC;YAAC,EAAE,CAAC,EAAE,SAAS,CAAA;SAAE,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;QAC5E,QAAQ,CAAC,CAAC,EAAE;YAAE,YAAY,EAAE,MAAM,CAAC;YAAC,MAAM,EAAE,MAAM,CAAC;YAAC,EAAE,CAAC,EAAE,SAAS,CAAA;SAAE,GAAG,OAAO,CAAC,OAAO,GAAG,IAAI,CAAC,CAAC;KAChG,CAAC;CACH;AAED,wBAAgB,kBAAkB,KACxB,QAAQ,MAAM,KAAG,sBAAsB,CAYhD"}
|
|
@@ -7,11 +7,6 @@ export interface RewardPoolCapability {
|
|
|
7
7
|
rewardPool: {
|
|
8
8
|
getAccount(p?: At): Promise<Address>;
|
|
9
9
|
getBalance(p?: At): Promise<bigint>;
|
|
10
|
-
getCollectionIds(p?: At): Promise<number[]>;
|
|
11
|
-
getItemIds(p: {
|
|
12
|
-
collectionId: number;
|
|
13
|
-
at?: BlockHash;
|
|
14
|
-
}): Promise<number[]>;
|
|
15
10
|
};
|
|
16
11
|
}
|
|
17
12
|
export declare function rewardPoolPlugin(): (client: Client) => RewardPoolCapability;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rewardPool.d.ts","sourceRoot":"","sources":["../../src/plugins/rewardPool.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"rewardPool.d.ts","sourceRoot":"","sources":["../../src/plugins/rewardPool.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAG5D,UAAU,EAAE;IACV,EAAE,CAAC,EAAE,SAAS,CAAC;CAChB;AAED,MAAM,WAAW,oBAAoB;IACnC,UAAU,EAAE;QACV,UAAU,CAAC,CAAC,CAAC,EAAE,EAAE,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;QACrC,UAAU,CAAC,CAAC,CAAC,EAAE,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;KACrC,CAAC;CACH;AAED,wBAAgB,gBAAgB,KACtB,QAAQ,MAAM,KAAG,oBAAoB,CAM9C"}
|
package/_types/rpc/call.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"call.d.ts","sourceRoot":"","sources":["../../src/rpc/call.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AACnD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"call.d.ts","sourceRoot":"","sources":["../../src/rpc/call.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AACnD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAGjD,wBAAsB,OAAO,CAAC,MAAM,SAAS,KAAK,EAChD,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,MAAM,EACd,GAAG,MAAM,EAAE,OAAO,EAAE,GACnB,OAAO,CAAC,MAAM,CAAC,CA2BjB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"definitions.d.ts","sourceRoot":"","sources":["../../src/rpc/definitions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAE3D,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,
|
|
1
|
+
{"version":3,"file":"definitions.d.ts","sourceRoot":"","sources":["../../src/rpc/definitions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAE3D,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,CA0XzE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/rpc/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAE3D,eAAO,MAAM,WAAW,EAAE,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/rpc/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAE3D,eAAO,MAAM,WAAW,EAAE,aAwCzB,CAAC"}
|