@galacticcouncil/descriptors 1.7.0 → 1.8.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/build/common-types.d.ts +9195 -4367
- package/build/descriptors-XM6FUHC6.mjs +29 -0
- package/build/hub.d.ts +2047 -475
- package/build/hub_metadata-VJMVMCZ3.mjs +6 -0
- package/build/hydration.d.ts +17 -6
- package/build/{hydration_metadata-O7WNNEDP.mjs → hydration_metadata-KGTJ7Y2K.mjs} +1 -1
- package/build/index.d.ts +1 -1
- package/build/index.js +48 -8
- package/build/index.mjs +50 -10
- package/build/metadataTypes-FWGCMXKE.mjs +6 -0
- package/build/metadataTypes.d.ts +1 -1
- package/package.json +2 -2
- package/build/descriptors-I7ZFETXF.mjs +0 -29
- package/build/hub_metadata-YPWNLSXS.mjs +0 -6
- package/build/metadataTypes-EDB66P6C.mjs +0 -6
package/build/hydration.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { StorageDescriptor, PlainDescriptor, TxDescriptor, RuntimeDescriptor, Enum, ApisFromDef, QueryFromPalletsDef, TxFromPalletsDef, EventsFromPalletsDef, ErrorsFromPalletsDef, ConstFromPalletsDef, ViewFnsFromPalletsDef, SS58String, FixedSizeBinary, Binary, FixedSizeArray } from "polkadot-api";
|
|
2
|
-
import { I5sesotjlssv2d, Iffmde3ekjedi9, I4mddgoa69c0a2,
|
|
2
|
+
import { I5sesotjlssv2d, Iffmde3ekjedi9, I4mddgoa69c0a2, I8truhrlr21i31, I95g6i7ilua7lq, Ieniouoqkq4icf, Phase, Ibgl04rn6nbfm6, Ic3orq32is6lrl, Ibonvg03jegqd2, If9jidduiuq7vv, Ifj0li5nn5unet, I4c0s5cioidn76, I8ikpj86u2na1q, Icbsch55a85u5u, I5ugnv0dol8v8t, I1ksaufim9dq1c, Ielgh4t8o7rcvt, I3rvqhkck00laj, I9jd27rnpm8ttv, Ibn3i0ad6beo5l, I5aq7tv9lofc3v, I10uqvdcdcld3o, I3fgr93o42d9hi, Ihjc2vmjfhsmq, I663kh18bno0fo, I6ouflveob4eli, I1p5pqg6bllgtl, Ibvb0fi020hjcf, If87m5gtpa546f, I4ojmnsk1dchql, Iesq88051ch8ht, Idqn78enhf4jrq, Ia7pdug7cdsg8g, Ic02kut0350gb0, Ifitc0q6ckjb3j, Idi27giun0mb9q, Idud3fdh64aqp9, Ie7atdsih6q14b, I4totqt881mlti, Id32h28hjj1tch, I66gvo4ilpv28i, Ifn6q3equiq9qi, I8kbiofpboejrm, I9ae1049tiuvhb, I1os9h4ivict7u, Isa48262v9oqu, In7a38730s6qs, If15el53dd76v9, I9s0ave7t0vnrk, Ic6nglu2db2c36, Ie5fbn0f5capo3, Ia9ai1mp1viqjd, I3btog7m617l6b, Icbccs0ug47ilf, Ivm3oem3tagcb, Ida2ijjar0n0j3, Ing3etrevsfg0, Ietsl92b11kilg, Icqdi7b9m95ug3, Ieuqv44kptstcs, I6vhvcln14dp4d, Ievca65alkkho9, I2qkf9i0e8mf1f, Iefviakco48cs2, Iakb7idgif10m8, Id7aqsj1u6b2r2, Icah19jgge5j3e, I2bi2kbaaunr13, Ifc3gfgolmaqf7, I651losl68jmo5, I5dlvf0cogf3c3, Ie6nueo20p04gk, Icojrb9unj3i10, Ib9aiguc778ujf, If4ebvclj2ugvi, I9paqujeb1fpv6, Iakevv83i18n4r, If2ssl12kcglhg, Iabk8ljl5g8c86, Ic76kfh5ebqkpl, Icrujen33bbibf, I5gi8h3e5lkbeq, Ibgm4rnf22lal1, I8mmaab8je28oo, I6r0pr82pbiftt, If1007933akv96, Ifmc9boeeia623, Ibplkiqg5rvr3e, Icnmrtlo128skq, Icojqvn3afk41n, I4g15ko4u63fja, If08sfhqn8ujfr, Ic4rgfgksgmm3e, I3dj14b7k3rkm5, Id9a618nkek66, Ibqa86mpddqkku, Ifogockjiq4b3, I2r0n4gcrs974b, Ie6kgk6f04rsvk, Ibkook56hopvp8, Itom7fk49o0c9, I1fl9qh2r1hf29, I4arjljr6dpflb, I45rl58hfs7m0h, Ic952bubvq4k7d, I1p1369d52j8jd, HydrationXcmVersionedXcm, Ic0c3req3mlc1l, I4q39t5hn830vp, HydrationXcmVersionedAssetId, I7ocn4njqde3v5, HydrationXcmVersionedLocation, I5rlt6h8ph553n, Iathhdqc4u75dj, Iadi05terfo8g5, Id7gbjkmpq2tgm, I9ccclo765c81g, I35p85j063s0il, Id5qsstfl1fkb3, I3ii6nera7pkr8 } from "./common-types";
|
|
3
3
|
type AnonymousEnum<T extends {}> = T & {
|
|
4
4
|
__anonymous: true;
|
|
5
5
|
};
|
|
@@ -61,7 +61,7 @@ type IStorage = {
|
|
|
61
61
|
* Events have a large in-memory size. Box the events to not go out-of-memory
|
|
62
62
|
* just in case someone still reads them from within the runtime.
|
|
63
63
|
*/
|
|
64
|
-
Events: StorageDescriptor<[], Anonymize<
|
|
64
|
+
Events: StorageDescriptor<[], Anonymize<I8truhrlr21i31>, false, never>;
|
|
65
65
|
/**
|
|
66
66
|
* The number of events in the `Events<T>` list.
|
|
67
67
|
*/
|
|
@@ -3999,6 +3999,16 @@ type IError = {
|
|
|
3999
3999
|
*/
|
|
4000
4000
|
ChallengePeriodUpdateFailed: PlainDescriptor<undefined>;
|
|
4001
4001
|
};
|
|
4002
|
+
IsmpParachain: {
|
|
4003
|
+
/**
|
|
4004
|
+
* Only Parachain Consensus updates should be passed in the inherents.
|
|
4005
|
+
*/
|
|
4006
|
+
InvalidConsensusStateId: PlainDescriptor<undefined>;
|
|
4007
|
+
/**
|
|
4008
|
+
* ValidationData must be updated only once in a block.
|
|
4009
|
+
*/
|
|
4010
|
+
ConsensusAlreadyUpdated: PlainDescriptor<undefined>;
|
|
4011
|
+
};
|
|
4002
4012
|
TokenGateway: {
|
|
4003
4013
|
/**
|
|
4004
4014
|
* A asset that has not been registered
|
|
@@ -4398,11 +4408,11 @@ type IRuntimeCalls = {
|
|
|
4398
4408
|
/**
|
|
4399
4409
|
|
|
4400
4410
|
*/
|
|
4401
|
-
call: RuntimeDescriptor<[from: FixedSizeBinary<20>, to: FixedSizeBinary<20>, data: Binary, value: Anonymize<I4totqt881mlti>, gas_limit: Anonymize<I4totqt881mlti>, max_fee_per_gas: Anonymize<Ic4rgfgksgmm3e>, max_priority_fee_per_gas: Anonymize<Ic4rgfgksgmm3e>, nonce: Anonymize<Ic4rgfgksgmm3e>, estimate: boolean, access_list: Anonymize<I3dj14b7k3rkm5>], Anonymize<
|
|
4411
|
+
call: RuntimeDescriptor<[from: FixedSizeBinary<20>, to: FixedSizeBinary<20>, data: Binary, value: Anonymize<I4totqt881mlti>, gas_limit: Anonymize<I4totqt881mlti>, max_fee_per_gas: Anonymize<Ic4rgfgksgmm3e>, max_priority_fee_per_gas: Anonymize<Ic4rgfgksgmm3e>, nonce: Anonymize<Ic4rgfgksgmm3e>, estimate: boolean, access_list: Anonymize<I3dj14b7k3rkm5>], Anonymize<Id9a618nkek66>>;
|
|
4402
4412
|
/**
|
|
4403
4413
|
|
|
4404
4414
|
*/
|
|
4405
|
-
create: RuntimeDescriptor<[from: FixedSizeBinary<20>, data: Binary, value: Anonymize<I4totqt881mlti>, gas_limit: Anonymize<I4totqt881mlti>, max_fee_per_gas: Anonymize<Ic4rgfgksgmm3e>, max_priority_fee_per_gas: Anonymize<Ic4rgfgksgmm3e>, nonce: Anonymize<Ic4rgfgksgmm3e>, estimate: boolean, access_list: Anonymize<I3dj14b7k3rkm5>], Anonymize<
|
|
4415
|
+
create: RuntimeDescriptor<[from: FixedSizeBinary<20>, data: Binary, value: Anonymize<I4totqt881mlti>, gas_limit: Anonymize<I4totqt881mlti>, max_fee_per_gas: Anonymize<Ic4rgfgksgmm3e>, max_priority_fee_per_gas: Anonymize<Ic4rgfgksgmm3e>, nonce: Anonymize<Ic4rgfgksgmm3e>, estimate: boolean, access_list: Anonymize<I3dj14b7k3rkm5>], Anonymize<Ibqa86mpddqkku>>;
|
|
4406
4416
|
/**
|
|
4407
4417
|
* Return the current block.
|
|
4408
4418
|
*/
|
|
@@ -4511,11 +4521,11 @@ type IRuntimeCalls = {
|
|
|
4511
4521
|
/**
|
|
4512
4522
|
* Dry run call.
|
|
4513
4523
|
*/
|
|
4514
|
-
dry_run_call: RuntimeDescriptor<[origin: Anonymize<Iathhdqc4u75dj>, call: Anonymize<Iadi05terfo8g5>], Anonymize<
|
|
4524
|
+
dry_run_call: RuntimeDescriptor<[origin: Anonymize<Iathhdqc4u75dj>, call: Anonymize<Iadi05terfo8g5>], Anonymize<Id7gbjkmpq2tgm>>;
|
|
4515
4525
|
/**
|
|
4516
4526
|
* Dry run XCM program
|
|
4517
4527
|
*/
|
|
4518
|
-
dry_run_xcm: RuntimeDescriptor<[origin_location: HydrationXcmVersionedLocation, xcm: HydrationXcmVersionedXcm], Anonymize<
|
|
4528
|
+
dry_run_xcm: RuntimeDescriptor<[origin_location: HydrationXcmVersionedLocation, xcm: HydrationXcmVersionedXcm], Anonymize<I9ccclo765c81g>>;
|
|
4519
4529
|
};
|
|
4520
4530
|
/**
|
|
4521
4531
|
|
|
@@ -4666,6 +4676,7 @@ type AllInteractions = {
|
|
|
4666
4676
|
CollatorSelection: ['TooManyCandidates', 'TooFewEligibleCollators', 'AlreadyCandidate', 'NotCandidate', 'TooManyInvulnerables', 'AlreadyInvulnerable', 'NotInvulnerable', 'NoAssociatedValidatorId', 'ValidatorNotRegistered', 'InsertToCandidateListFailed', 'RemoveFromCandidateListFailed', 'DepositTooLow', 'UpdateCandidateListFailed', 'InsufficientBond', 'TargetIsNotCandidate', 'IdenticalDeposit', 'InvalidUnreserve'];
|
|
4667
4677
|
Session: ['InvalidProof', 'NoAssociatedValidatorId', 'DuplicatedKey', 'NoKeys', 'NoAccount'];
|
|
4668
4678
|
Ismp: ['InvalidMessage', 'MessageNotFound', 'ConsensusClientCreationFailed', 'UnbondingPeriodUpdateFailed', 'ChallengePeriodUpdateFailed'];
|
|
4679
|
+
IsmpParachain: ['InvalidConsensusStateId', 'ConsensusAlreadyUpdated'];
|
|
4669
4680
|
TokenGateway: ['UnregisteredAsset', 'AssetTeleportError', 'CoprocessorNotConfigured', 'DispatchError', 'AssetCreationError', 'AssetDecimalsNotFound', 'NotInitialized', 'UnknownAsset', 'NotAssetOwner'];
|
|
4670
4681
|
EmaOracle: ['TooManyUniqueEntries', 'OnTradeValueZero', 'OracleNotFound', 'AssetNotFound', 'PriceOutsideAllowedRange'];
|
|
4671
4682
|
Broadcast: ['ExecutionCallStackOverflow', 'ExecutionCallStackUnderflow'];
|