@parity/product-sdk-descriptors 0.7.0 → 0.9.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 +0 -4
- package/chains/devnet-asset-hub/.papi/polkadot-api.json +1 -1
- package/chains/devnet-asset-hub/generated/dist/{devnet_asset_hub_metadata-ECXPhx7J.js → devnet_asset_hub_metadata-DPRqW8eH.js} +1 -1
- package/chains/devnet-asset-hub/generated/dist/index.js +2 -2
- package/chains/devnet-individuality/.papi/polkadot-api.json +1 -1
- package/chains/devnet-individuality/generated/dist/{devnet_individuality_metadata-D_Q26UoG.js → devnet_individuality_metadata-Bn9N9BNx.js} +1 -1
- package/chains/devnet-individuality/generated/dist/index.js +2 -2
- package/chains/kusama-asset-hub/.papi/polkadot-api.json +1 -1
- package/chains/kusama-asset-hub/generated/dist/common-types.d.ts +502 -390
- package/chains/kusama-asset-hub/generated/dist/descriptors-DISR3KIi.js +25 -0
- package/chains/kusama-asset-hub/generated/dist/index.d.ts +1 -1
- package/chains/kusama-asset-hub/generated/dist/index.js +5 -6
- package/chains/kusama-asset-hub/generated/dist/kusama_asset_hub.d.ts +464 -300
- package/chains/kusama-asset-hub/generated/dist/kusama_asset_hub_metadata-DXHUHPNj.js +3 -0
- package/chains/kusama-asset-hub/generated/dist/metadataTypes-D7CQu3b0.js +3 -0
- package/chains/kusama-asset-hub/generated/dist/metadataTypes.d.ts +1 -1
- package/chains/paseo-asset-hub/.papi/polkadot-api.json +1 -1
- package/chains/paseo-asset-hub/generated/dist/common-types.d.ts +154 -157
- package/chains/paseo-asset-hub/generated/dist/{descriptors-DhUtfABq.js → descriptors-CimFu30S.js} +1 -1
- package/chains/paseo-asset-hub/generated/dist/index.js +4 -4
- package/chains/paseo-asset-hub/generated/dist/metadataTypes-Bo4aVwWD.js +3 -0
- package/chains/paseo-asset-hub/generated/dist/metadataTypes.d.ts +1 -1
- package/chains/paseo-asset-hub/generated/dist/paseo_asset_hub.d.ts +73 -87
- package/chains/{summit-asset-hub/generated/dist/summit_asset_hub_metadata-PvlcOpIm.js → paseo-asset-hub/generated/dist/paseo_asset_hub_metadata-CWOk3DU-.js} +1 -1
- package/chains/paseo-bulletin/.papi/polkadot-api.json +1 -1
- package/chains/paseo-bulletin/generated/dist/common-types.d.ts +200 -220
- package/chains/paseo-bulletin/generated/dist/descriptors-YjGUL06H.js +25 -0
- package/chains/paseo-bulletin/generated/dist/index.js +4 -4
- package/chains/paseo-bulletin/generated/dist/metadataTypes-BYRh30V_.js +3 -0
- package/chains/paseo-bulletin/generated/dist/metadataTypes.d.ts +1 -1
- package/chains/paseo-bulletin/generated/dist/paseo_bulletin.d.ts +179 -179
- package/chains/paseo-bulletin/generated/dist/paseo_bulletin_metadata-CWv0bj9A.js +3 -0
- package/chains/paseo-individuality/.papi/polkadot-api.json +1 -1
- package/chains/paseo-individuality/generated/dist/common-types.d.ts +142 -68
- package/chains/paseo-individuality/generated/dist/{descriptors-BPDSgyWs.js → descriptors-SCgI2-0R.js} +1 -1
- package/chains/paseo-individuality/generated/dist/index.js +4 -4
- package/chains/{summit-individuality/generated/dist/metadataTypes.d.ts → paseo-individuality/generated/dist/metadataTypes-B1qG4QkU.js} +3 -2
- package/chains/paseo-individuality/generated/dist/metadataTypes.d.ts +1 -1
- package/chains/paseo-individuality/generated/dist/paseo_individuality.d.ts +93 -38
- package/chains/paseo-individuality/generated/dist/paseo_individuality_metadata-DRo0inTN.js +3 -0
- package/chains/polkadot-asset-hub/.papi/polkadot-api.json +1 -1
- package/chains/polkadot-asset-hub/generated/dist/common-types.d.ts +343 -155
- package/chains/polkadot-asset-hub/generated/dist/descriptors-BwnkDiaI.js +25 -0
- package/chains/polkadot-asset-hub/generated/dist/index.d.ts +1 -1
- package/chains/polkadot-asset-hub/generated/dist/index.js +5 -6
- package/chains/polkadot-asset-hub/generated/dist/metadataTypes--EQ8pxh1.js +3 -0
- package/chains/polkadot-asset-hub/generated/dist/metadataTypes.d.ts +1 -1
- package/chains/polkadot-asset-hub/generated/dist/polkadot_asset_hub.d.ts +375 -86
- package/chains/polkadot-asset-hub/generated/dist/polkadot_asset_hub_metadata-CN_MTTeF.js +3 -0
- package/package.json +1 -13
- package/chains/kusama-asset-hub/generated/dist/descriptors-DgSoa2t9.js +0 -25
- package/chains/kusama-asset-hub/generated/dist/kusama_asset_hub_metadata-DMsyqc9c.js +0 -3
- package/chains/kusama-asset-hub/generated/dist/metadataTypes-c7k6GZcy.js +0 -3
- package/chains/paseo-asset-hub/generated/dist/metadataTypes-D0TOPqAM.js +0 -3
- package/chains/paseo-asset-hub/generated/dist/paseo_asset_hub_metadata-BeiFoQh7.js +0 -3
- package/chains/paseo-bulletin/generated/dist/descriptors-C-v9L1q4.js +0 -25
- package/chains/paseo-bulletin/generated/dist/metadataTypes-GA7L2eXx.js +0 -3
- package/chains/paseo-bulletin/generated/dist/paseo_bulletin_metadata-B9gNyCCl.js +0 -3
- package/chains/paseo-individuality/generated/dist/metadataTypes-B3fJT8lX.js +0 -3
- package/chains/paseo-individuality/generated/dist/paseo_individuality_metadata-CoVMbneS.js +0 -3
- package/chains/polkadot-asset-hub/generated/dist/descriptors-CoscEQ9e.js +0 -25
- package/chains/polkadot-asset-hub/generated/dist/metadataTypes-Dk55glaU.js +0 -3
- package/chains/polkadot-asset-hub/generated/dist/polkadot_asset_hub_metadata-BEYst3UH.js +0 -3
- package/chains/summit-asset-hub/.papi/polkadot-api.json +0 -12
- package/chains/summit-asset-hub/generated/dist/common-types.d.ts +0 -16940
- package/chains/summit-asset-hub/generated/dist/common.d.ts +0 -1
- package/chains/summit-asset-hub/generated/dist/descriptors-B8WL4bSQ.js +0 -25
- package/chains/summit-asset-hub/generated/dist/descriptors.d.ts +0 -1
- package/chains/summit-asset-hub/generated/dist/index.d.ts +0 -10
- package/chains/summit-asset-hub/generated/dist/index.js +0 -116
- package/chains/summit-asset-hub/generated/dist/metadataTypes-D0TOPqAM.js +0 -3
- package/chains/summit-asset-hub/generated/dist/metadataTypes.d.ts +0 -2
- package/chains/summit-asset-hub/generated/dist/summit_asset_hub.d.ts +0 -16379
- package/chains/summit-asset-hub/generated/dist/summit_asset_hub_metadata.d.ts +0 -2
- package/chains/summit-bulletin/.papi/polkadot-api.json +0 -12
- package/chains/summit-bulletin/generated/dist/common-types.d.ts +0 -4594
- package/chains/summit-bulletin/generated/dist/common.d.ts +0 -1
- package/chains/summit-bulletin/generated/dist/descriptors-BDn18GWW.js +0 -25
- package/chains/summit-bulletin/generated/dist/descriptors.d.ts +0 -1
- package/chains/summit-bulletin/generated/dist/index.d.ts +0 -10
- package/chains/summit-bulletin/generated/dist/index.js +0 -88
- package/chains/summit-bulletin/generated/dist/metadataTypes-GA7L2eXx.js +0 -3
- package/chains/summit-bulletin/generated/dist/metadataTypes.d.ts +0 -2
- package/chains/summit-bulletin/generated/dist/summit_bulletin.d.ts +0 -3976
- package/chains/summit-bulletin/generated/dist/summit_bulletin_metadata-B9gNyCCl.js +0 -3
- package/chains/summit-bulletin/generated/dist/summit_bulletin_metadata.d.ts +0 -2
- package/chains/summit-individuality/.papi/polkadot-api.json +0 -12
- package/chains/summit-individuality/generated/dist/common-types.d.ts +0 -10638
- package/chains/summit-individuality/generated/dist/common.d.ts +0 -1
- package/chains/summit-individuality/generated/dist/descriptors-DlbXAv0U.js +0 -25
- package/chains/summit-individuality/generated/dist/descriptors.d.ts +0 -1
- package/chains/summit-individuality/generated/dist/index.d.ts +0 -10
- package/chains/summit-individuality/generated/dist/index.js +0 -87
- package/chains/summit-individuality/generated/dist/metadataTypes-B3fJT8lX.js +0 -3
- package/chains/summit-individuality/generated/dist/summit_individuality.d.ts +0 -10192
- package/chains/summit-individuality/generated/dist/summit_individuality_metadata-CoVMbneS.js +0 -3
- package/chains/summit-individuality/generated/dist/summit_individuality_metadata.d.ts +0 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { StorageDescriptor, PlainDescriptor, TxDescriptor, RuntimeDescriptor, Enum, ApisFromDef, QueryFromPalletsDef, TxFromPalletsDef, EventsFromPalletsDef, ErrorsFromPalletsDef, ConstFromPalletsDef, ViewFnsFromPalletsDef, SS58String, SizedHex, FixedSizeArray } from "polkadot-api";
|
|
2
|
-
import type { I5sesotjlssv2d, Iffmde3ekjedi9, I4mddgoa69c0a2,
|
|
2
|
+
import type { I5sesotjlssv2d, Iffmde3ekjedi9, I4mddgoa69c0a2, I53co5gms9hjn4, I95g6i7ilua7lq, Ieniouoqkq4icf, Phase, Ibgl04rn6nbfm6, I4q39t5hn830vp, I8re9183nrhr3n, I1v7jbnil3tjns, I8jgj1nhcr2dg8, Ifn6q3equiq9qi, Ia3sb0vgvovhtg, Iav8k1edbj86k7, Itom7fk49o0c9, I4i91h98n3cv1b, I4iumukclgj8ej, Iqnbvitf7a7l3, I48i407regf59r, I6r5cbv8ttrb09, Inofn0qqbjtb9, Iepbsvlk3qceij, I1q8tnt1cluu5j, I8ds64oj6581v0, Ia7pdug7cdsg8g, Iafsev9pf8ur2h, I9bin2jc70qt6q, TransactionPaymentReleases, Ifmlh2ccap0uke, Icd998p53cb80u, Iecn3tfn6gr5ce, Icm182d6u507gc, I9jd27rnpm8ttv, I9i4rhi4dg5bdo, I7mhb4q0v4cblf, Ia2lhg7l2hilo3, Ifi4da1gej1fri, Ifvgo9568rpmqc, I82jm9g7pufuel, Ic5m5lp1oioo8r, I6cs1itejju2vv, Icgljjb6j82uhn, I9pvau8qut93lg, I5g2vv0ckl2m8b, Ifup3lg9ro8a0f, I5qfubnuvrnqn6, I8t3u2dv73ahbd, I7vlvrrl2pnbgk, Ie0rpl5bahldfk, XcmPalletVersionMigrationStage, I7e5oaj2qi4kl1, Ie849h3gncgvok, Iat62vud7hlod2, Ict03eedr8de9s, Ibkm2gcn4pji30, XcmVersionedLocation, Idh2ug6ou4a8og, Iejeo53sea6n4q, I53esa2ms463bk, Ib4jhb8tt3uung, In7a38730s6qs, Ibtil0ss5munbk, I9s0ave7t0vnrk, I4fo08joqmcqnm, I9s2ue1goudgqc, XcmV5Junctions, Iasb8k6ash5mjn, I8ofcg5rbj0g2c, I4adgbll7gku4i, I6pjjpfvhvcfru, I9pj91mj79qekl, I39uah9nss64h9, Ik64dknsq7k08, Ib51vk42m1po4n, Ial23jn8hp0aen, Ifpj261e8s63m3, Idcr6u6361oad9, I9nqp66v0721n1, Idk1ivh3nldv2l, Ib3877m4t1f6f4, I3a0ttnbnho23s, Ia06u24rop478l, Ibou4u1engb441, Id6nbvqoqdj4o2, I95iqep3b8snn9, I4ktuaksf5i1gk, I9bqtpv2ii35mp, I9j7pagd6d4bda, I2h9pmio37r7fb, Ibmr18suc9ikh9, I9iq22t0burs89, I5u8olqbbvfnvf, I5utcetro501ir, Itrlf5b2o2l8q, Icegg8a2cqf1gu, I2i8iea6e4ne1j, I4jotama61aldv, I4cbvqmqadhrea, I3rfugj0vt1ug5, Ifq8h9n7vmgpf0, Ifa480ahjcunq, Ic4jjdr1cl5bit, I9j03oeh6p8l87, I7d71c6b0ekmt9, Ifccifqltb5obi, Iadtsfv699cq8b, Ialpmgmhr3gk5r, I3sdol54kg5jaq, I8fougodaj6di6, I81vt5eq60l4b6, I3vh014cqgmrfd, Ia5cotcvi888ln, I21jsa919m88fd, Iegif7m3upfe1k, I9kt8c221c83ln, Ic76kfh5ebqkpl, Icscpmubum33bq, I21d2olof7eb60, Ibgm4rnf22lal1, Ie68np0vpihith, I9bnv6lu0crf1q, Iauhjqifrdklq7, Ie1uso9m8rt5cf, I40pqum1mu8qg3, I1r4c2ghbtvjuc, Ic10m30chc0lcl, I8k3rnvpeeh4hv, I8a5t0g4sf473u, Ia82mnkmeo2rhc, I1k0qrucdt7nvm, I1jm8m1rh9e20v, Icbccs0ug47ilf, I855j4i3kr8ko1, In8uc40udid6u, Idd7hd99u0ho0n, Iafscmv8tjf0ou, I100l07kaehdlp, I6gnbnvip5vvdi, I4kk4g4d2s2suj, I9b2gg2oq3m0lm, Ib4uj9dnrigfnf, I1n4jf0e68vkg0, If1co0pilmi7oq, I666bl2fqjkejo, Iae74gjak1qibn, I3escdojpj0551, Icv68aq8841478, Ic262ibdoec56a, Iflcfm9b6nlmdd, Ijrsf4mnp3eka, Id5fm4p8lj5qgi, I8tjvj9uq4b7hi, I3qt1hgg4djhgb, I4fooe9dun9o0t, I8mvf14goplnni, Ie09mpthond7d6, I1ispultrc7caq, Iph9c4rn81ub2, Ier2cke86dqbr2, Ibi0s841005et5, I395h9meqpi2hf, I66jdpl6lile9j, Ifa84va5usjhbs, I7qnibt85843h4, Iecest14o0pmc2, I5i6clrj1m1v3f, Ife9a8l1jn5dhf, I1srmrc4hmsm4, I39t01nnod9109, I6v8sm60vvkmk7, I1qmtmbe5so8r3, Ih99m6ehpcar7, Idgorhsbgdq2ap, I9ubb2kqevnu6t, I2hq50pu2kdjpo, I9acqruh7322g2, I137t1cld92pod, I61d51nv4cou88, If8u5kl4h8070m, Ibmuil6p3vl83l, I7lul91g50ae87, Icl7nl1rfeog3i, Iasr6pj6shs0fl, I2uqmls7kcdnii, Idg69klialbkb8, I7r6b7145022pp, I30pg328m00nr3, Icmrn7bogp28cs, I7m9b5plj4h5ot, I9onhk772nfs4f, I3l6bnksrmt56r, Idh09k0l2pmdcg, I7uoiphbm0tj4r, I512p1n7qt24l8, I6s1nbislhk619, I3gghqnh2mj0is, I6iv852roh6t3h, I9oc2o6itbiopq, Ibslgga81p36aa, I1rvj4ubaplho0, Ia3uu7lqcc1q1i, I7crucfnonitkn, I7tmrp94r9sq4n, I8gbrfnqiahbu3, I5rtkmhm2dng4u, I5r8t4iaend96p, I9vodnt2k1kha, I4ao1le27fcisl, Ih4ursllob8fg, Iaqet9jc3ihboe, Ic952bubvq4k7d, I2v50gu3s1aqk6, Iabpgqcjikia83, I8mflc2aitj4n3, If7uv525tdvv7a, I2an1fs2eiebjp, TransactionValidityTransactionSource, I9ask1o4tfvcvs, I4ph3d1eepnmr1, Icerf8h8pdu8ss, I6spmpef2c7svf, Iei2mvq0mjvt81, I88472ck6vehhv, Iftvbctbo05fu4, XcmVersionedXcm, Ic0c3req3mlc1l, XcmVersionedAssetId, I7ocn4njqde3v5, Iek7ha36da9mf5, I9cqlcs1cfiqgk, I7lvr1kelguodv, I2erankq0dcrdh, Ieh6nis3hdbtgi, XcmVersionedAsset, Icujp6hmv35vbn, I4tjame31218k9, I5gif8vomct5i8, Ic1d4u2opv3fst, If4oj302humfb5, I8p068g003vpi6, I3fo6882e5tjh8, If5dekqlo7be3f, I3oi105i165rd5, Ie9sr1iqcg3cgm, I1mqgk2tmnn9i2, I6lr8sctk0bi4e, I2lf4fk0dlf3ka } from "./common-types";
|
|
3
3
|
type AnonymousEnum<T extends {}> = T & {
|
|
4
4
|
__anonymous: true;
|
|
5
5
|
};
|
|
@@ -63,7 +63,7 @@ type IStorage = {
|
|
|
63
63
|
* Events have a large in-memory size. Box the events to not go out-of-memory
|
|
64
64
|
* just in case someone still reads them from within the runtime.
|
|
65
65
|
*/
|
|
66
|
-
Events: StorageDescriptor<[], Anonymize<
|
|
66
|
+
Events: StorageDescriptor<[], Anonymize<I53co5gms9hjn4>, false, never>;
|
|
67
67
|
/**
|
|
68
68
|
* The number of events in the `Events<T>` list.
|
|
69
69
|
*/
|
|
@@ -431,9 +431,11 @@ type IStorage = {
|
|
|
431
431
|
};
|
|
432
432
|
TransactionStorage: {
|
|
433
433
|
/**
|
|
434
|
-
* Authorizations, keyed by scope.
|
|
434
|
+
* Authorizations, keyed by scope. `pub` for cross-pallet read access from
|
|
435
|
+
* `pallet-bulletin-data-renewal`'s tests (consumed via `check_authorization`
|
|
436
|
+
* in production).
|
|
435
437
|
*/
|
|
436
|
-
Authorizations: StorageDescriptor<[Key: Anonymize<Icd998p53cb80u>], Anonymize<
|
|
438
|
+
Authorizations: StorageDescriptor<[Key: Anonymize<Icd998p53cb80u>], Anonymize<Ifmlh2ccap0uke>, true, never>;
|
|
437
439
|
/**
|
|
438
440
|
* List of accounts allowed to give authorizations.
|
|
439
441
|
*/
|
|
@@ -441,7 +443,7 @@ type IStorage = {
|
|
|
441
443
|
/**
|
|
442
444
|
* Collection of transaction metadata by block number.
|
|
443
445
|
*/
|
|
444
|
-
Transactions: StorageDescriptor<[Key: number], Anonymize<
|
|
446
|
+
Transactions: StorageDescriptor<[Key: number], Anonymize<Icm182d6u507gc>, true, never>;
|
|
445
447
|
/**
|
|
446
448
|
* Storage fee per byte.
|
|
447
449
|
*/
|
|
@@ -461,33 +463,41 @@ type IStorage = {
|
|
|
461
463
|
/**
|
|
462
464
|
|
|
463
465
|
*/
|
|
464
|
-
BlockTransactions: StorageDescriptor<[], Anonymize<
|
|
466
|
+
BlockTransactions: StorageDescriptor<[], Anonymize<Icm182d6u507gc>, false, never>;
|
|
465
467
|
/**
|
|
466
468
|
* Maps content hash to its most recent (block_number, tx_index) location.
|
|
469
|
+
*
|
|
470
|
+
* `pub` for cross-pallet writes from `pallet-bulletin-data-renewal` (each
|
|
471
|
+
* renewal updates the mapping to the new `(block, index)`). Reads outside this pallet should
|
|
472
|
+
* go through [`Pallet::lookup_by_content_hash`].
|
|
467
473
|
*/
|
|
468
474
|
TransactionByContentHash: StorageDescriptor<[Key: SizedHex<32>], Anonymize<I9jd27rnpm8ttv>, true, never>;
|
|
469
475
|
/**
|
|
470
|
-
*
|
|
476
|
+
* Was the proof checked in this block?
|
|
471
477
|
*/
|
|
472
|
-
|
|
478
|
+
ProofChecked: StorageDescriptor<[], boolean, false, never>;
|
|
479
|
+
};
|
|
480
|
+
DataRenewal: {
|
|
473
481
|
/**
|
|
474
|
-
*
|
|
475
|
-
*
|
|
476
|
-
* Populated by `on_initialize` when a block's data is about to expire.
|
|
477
|
-
* Cleared by the `apply_block_inherents` mandatory inherent executed in the same block.
|
|
482
|
+
* Renewal registrations by content hash.
|
|
478
483
|
*/
|
|
479
|
-
|
|
484
|
+
Renewals: StorageDescriptor<[Key: SizedHex<32>], Anonymize<I9i4rhi4dg5bdo>, true, never>;
|
|
480
485
|
/**
|
|
481
|
-
*
|
|
486
|
+
* Transactions that must be auto-renewed in the current block.
|
|
487
|
+
*
|
|
488
|
+
* Populated by [`OnObsoleteTransactions::handle_obsolete`] when a block's data is
|
|
489
|
+
* about to expire. Cleared by the [`Pallet::process_pending_renewals`] mandatory
|
|
490
|
+
* inherent executed in the same block.
|
|
482
491
|
*/
|
|
483
|
-
|
|
492
|
+
PendingAutoRenewals: StorageDescriptor<[], Anonymize<I7mhb4q0v4cblf>, false, never>;
|
|
484
493
|
/**
|
|
485
494
|
* Chain-wide total of currently-on-chain renewed bytes. Source of truth for the
|
|
486
495
|
* chain-wide hard cap: a `renew` of `size` bytes is rejected when
|
|
487
496
|
* `PermanentStorageUsed + size > MaxPermanentStorageSize`.
|
|
488
497
|
*
|
|
489
|
-
* Bumped on each successful
|
|
490
|
-
*
|
|
498
|
+
* Bumped on each successful renew consume. Decremented by
|
|
499
|
+
* [`OnObsoleteTransactions::handle_obsolete`] when an obsolete
|
|
500
|
+
* `Transactions[block]` is removed: each `meta == Renew` entry contributes its
|
|
491
501
|
* `size` to the decrement.
|
|
492
502
|
*/
|
|
493
503
|
PermanentStorageUsed: StorageDescriptor<[], bigint, false, never>;
|
|
@@ -881,7 +891,7 @@ type ICalls = {
|
|
|
881
891
|
* and the error of the failed call. If all were successful, then the `BatchCompleted`
|
|
882
892
|
* event is deposited.
|
|
883
893
|
*/
|
|
884
|
-
batch: TxDescriptor<Anonymize<
|
|
894
|
+
batch: TxDescriptor<Anonymize<I9nqp66v0721n1>>;
|
|
885
895
|
/**
|
|
886
896
|
* Send a call through an indexed pseudonym of the sender.
|
|
887
897
|
*
|
|
@@ -897,7 +907,7 @@ type ICalls = {
|
|
|
897
907
|
*
|
|
898
908
|
* The dispatch origin for this call must be _Signed_.
|
|
899
909
|
*/
|
|
900
|
-
as_derivative: TxDescriptor<Anonymize<
|
|
910
|
+
as_derivative: TxDescriptor<Anonymize<Idk1ivh3nldv2l>>;
|
|
901
911
|
/**
|
|
902
912
|
* Send a batch of dispatch calls and atomically execute them.
|
|
903
913
|
* The whole transaction will rollback and fail if any of the calls failed.
|
|
@@ -913,7 +923,7 @@ type ICalls = {
|
|
|
913
923
|
* ## Complexity
|
|
914
924
|
* - O(C) where C is the number of calls to be batched.
|
|
915
925
|
*/
|
|
916
|
-
batch_all: TxDescriptor<Anonymize<
|
|
926
|
+
batch_all: TxDescriptor<Anonymize<I9nqp66v0721n1>>;
|
|
917
927
|
/**
|
|
918
928
|
* Dispatches a function call with a provided origin.
|
|
919
929
|
*
|
|
@@ -922,7 +932,7 @@ type ICalls = {
|
|
|
922
932
|
* ## Complexity
|
|
923
933
|
* - O(1).
|
|
924
934
|
*/
|
|
925
|
-
dispatch_as: TxDescriptor<Anonymize<
|
|
935
|
+
dispatch_as: TxDescriptor<Anonymize<Ib3877m4t1f6f4>>;
|
|
926
936
|
/**
|
|
927
937
|
* Send a batch of dispatch calls.
|
|
928
938
|
* Unlike `batch`, it allows errors and won't interrupt.
|
|
@@ -938,7 +948,7 @@ type ICalls = {
|
|
|
938
948
|
* ## Complexity
|
|
939
949
|
* - O(C) where C is the number of calls to be batched.
|
|
940
950
|
*/
|
|
941
|
-
force_batch: TxDescriptor<Anonymize<
|
|
951
|
+
force_batch: TxDescriptor<Anonymize<I9nqp66v0721n1>>;
|
|
942
952
|
/**
|
|
943
953
|
* Dispatch a function call with a specified weight.
|
|
944
954
|
*
|
|
@@ -947,7 +957,7 @@ type ICalls = {
|
|
|
947
957
|
*
|
|
948
958
|
* The dispatch origin for this call must be _Root_.
|
|
949
959
|
*/
|
|
950
|
-
with_weight: TxDescriptor<Anonymize<
|
|
960
|
+
with_weight: TxDescriptor<Anonymize<I3a0ttnbnho23s>>;
|
|
951
961
|
/**
|
|
952
962
|
* Dispatch a fallback call in the event the main call fails to execute.
|
|
953
963
|
* May be called from any origin except `None`.
|
|
@@ -973,7 +983,7 @@ type ICalls = {
|
|
|
973
983
|
* - Some use cases might involve submitting a `batch` type call in either main, fallback
|
|
974
984
|
* or both.
|
|
975
985
|
*/
|
|
976
|
-
if_else: TxDescriptor<Anonymize<
|
|
986
|
+
if_else: TxDescriptor<Anonymize<Ia06u24rop478l>>;
|
|
977
987
|
/**
|
|
978
988
|
* Dispatches a function call with a provided origin.
|
|
979
989
|
*
|
|
@@ -981,7 +991,7 @@ type ICalls = {
|
|
|
981
991
|
*
|
|
982
992
|
* The dispatch origin for this call must be _Root_.
|
|
983
993
|
*/
|
|
984
|
-
dispatch_as_fallible: TxDescriptor<Anonymize<
|
|
994
|
+
dispatch_as_fallible: TxDescriptor<Anonymize<Ib3877m4t1f6f4>>;
|
|
985
995
|
};
|
|
986
996
|
MultiBlockMigrations: {
|
|
987
997
|
/**
|
|
@@ -1129,36 +1139,6 @@ type ICalls = {
|
|
|
1129
1139
|
* Emits [`Stored`](Event::Stored) when successful.
|
|
1130
1140
|
*/
|
|
1131
1141
|
store_with_cid_config: TxDescriptor<Anonymize<Icegg8a2cqf1gu>>;
|
|
1132
|
-
/**
|
|
1133
|
-
* Schedule a **one-shot** auto-renewal of previously stored data. The renewal fires
|
|
1134
|
-
* exactly once, when the data reaches its `RetentionPeriod` boundary, and then the
|
|
1135
|
-
* registration is removed. For continuous renewal, use
|
|
1136
|
-
* [`enable_auto_renew`](Self::enable_auto_renew) instead.
|
|
1137
|
-
*
|
|
1138
|
-
* `entry` identifies the data either by `(block, index)` or by content hash.
|
|
1139
|
-
*
|
|
1140
|
-
* Feeless. Registration cost (one transaction unit) is charged in `check_signed`;
|
|
1141
|
-
* the eventual renewal cycle charges bytes against `bytes_permanent` and the
|
|
1142
|
-
* chain-wide cap.
|
|
1143
|
-
*
|
|
1144
|
-
* Rejects with [`AutoRenewalAlreadyEnabled`](Error::AutoRenewalAlreadyEnabled) if a
|
|
1145
|
-
* scheduled renewal already exists for this content hash.
|
|
1146
|
-
*
|
|
1147
|
-
* Emits [`RenewalEnabled`](Event::RenewalEnabled) `{ recurring: false }`.
|
|
1148
|
-
*
|
|
1149
|
-
* For synchronous renewal at dispatch time, see [`force_renew`](Self::force_renew).
|
|
1150
|
-
*/
|
|
1151
|
-
renew: TxDescriptor<Anonymize<I7d71c6b0ekmt9>>;
|
|
1152
|
-
/**
|
|
1153
|
-
* Immediately renew previously stored data, synchronous at dispatch time.
|
|
1154
|
-
*
|
|
1155
|
-
* Authorization is required (as with [`store`](Self::store)). Charges `info.size`
|
|
1156
|
-
* against `bytes_permanent` (per-account renew cap) and `PermanentStorageUsed`
|
|
1157
|
-
* (chain-wide cap).
|
|
1158
|
-
*
|
|
1159
|
-
* Emits [`Renewed`](Event::Renewed) when successful.
|
|
1160
|
-
*/
|
|
1161
|
-
force_renew: TxDescriptor<Anonymize<I7d71c6b0ekmt9>>;
|
|
1162
1142
|
/**
|
|
1163
1143
|
* Authorize an account to store up to `bytes` of arbitrary data in `transactions`
|
|
1164
1144
|
* boost-tier transactions. The authorization will expire after a configured number
|
|
@@ -1263,68 +1243,11 @@ type ICalls = {
|
|
|
1263
1243
|
*/
|
|
1264
1244
|
refresh_preimage_authorization: TxDescriptor<Anonymize<I3rfugj0vt1ug5>>;
|
|
1265
1245
|
/**
|
|
1266
|
-
*
|
|
1267
|
-
*
|
|
1268
|
-
* **Recurring scheduler with pre-paid first cycle.** The extension's
|
|
1269
|
-
* `check_signed` charges `bytes_permanent`, `PermanentStorageUsed`, and
|
|
1270
|
-
* one tx slot at registration (same hard-cap accounting as `force_renew`
|
|
1271
|
-
* / one-shot `renew`). The registration is inserted as
|
|
1272
|
-
* [`RenewalData`] `{ recurring: true, paid: true }`. The first renewal
|
|
1273
|
-
* cycle fires at the next `RetentionPeriod` boundary **without**
|
|
1274
|
-
* re-charging — the slot is already paid for; the cycle then flips
|
|
1275
|
-
* `paid` to `false`. From that point on, every subsequent cycle charges
|
|
1276
|
-
* the owner's authorization in [`Self::do_process_auto_renewals`],
|
|
1277
|
-
* dropping the registration with [`Event::AutoRenewalFailed`] if the
|
|
1278
|
-
* quota is exhausted at cycle time.
|
|
1279
|
-
*
|
|
1280
|
-
* Feeless: no token fee. Spam is bounded structurally by the up-front
|
|
1281
|
-
* hard-cap charge — the caller cannot over-schedule past their
|
|
1282
|
-
* `bytes_allowance` or the chain-wide `MaxPermanentStorageSize`.
|
|
1283
|
-
* [`Self::disable_auto_renew`] additionally rejects the owner while
|
|
1284
|
-
* `paid` is `true`, so the prepayment cannot be reclaimed before the
|
|
1285
|
-
* first cycle fires.
|
|
1286
|
-
*
|
|
1287
|
-
* Emits [`RenewalEnabled`](Event::RenewalEnabled) `{ recurring: true }`
|
|
1288
|
-
* for the registration; the first actual renewal is emitted as
|
|
1289
|
-
* [`DataAutoRenewed`](Event::DataAutoRenewed) at cycle time.
|
|
1290
|
-
*/
|
|
1291
|
-
enable_auto_renew: TxDescriptor<Anonymize<I3rfugj0vt1ug5>>;
|
|
1292
|
-
/**
|
|
1293
|
-
* Disable automatic renewal for a piece of data.
|
|
1294
|
-
*
|
|
1295
|
-
* Signed: the caller must be the account that originally enabled the renewal,
|
|
1296
|
-
* and the registration must not be in its prepaid window — see
|
|
1297
|
-
* [`Error::CannotDisablePrepaidAutoRenewal`]. Both registrations from
|
|
1298
|
-
* [`Pallet::renew`] and [`Pallet::enable_auto_renew`] start with `paid: true`;
|
|
1299
|
-
* the owner has to wait for the first cycle to consume the prepayment before
|
|
1300
|
-
* they can disable.
|
|
1301
|
-
*
|
|
1302
|
-
* Root: bypasses the owner check and the prepaid-window check
|
|
1303
|
-
* (governance/cleanup).
|
|
1304
|
-
*
|
|
1305
|
-
* Feeless: no token fee and no authorization is consumed. Signed admission is
|
|
1306
|
-
* gated in [`check_signed`](Self::check_signed) on ownership and the prepaid
|
|
1307
|
-
* flag, so a caller can issue at most one successful `disable_auto_renew` per
|
|
1308
|
-
* registration it owns — and only after the first cycle has fired.
|
|
1309
|
-
*
|
|
1310
|
-
* Emits [`AutoRenewalDisabled`](Event::AutoRenewalDisabled) when successful.
|
|
1311
|
-
*/
|
|
1312
|
-
disable_auto_renew: TxDescriptor<Anonymize<I3rfugj0vt1ug5>>;
|
|
1313
|
-
/**
|
|
1314
|
-
* Composite block-level inherent: optionally validates a transaction storage proof and
|
|
1315
|
-
* always drains [`PendingAutoRenewals`].
|
|
1316
|
-
*
|
|
1317
|
-
* `ProvideInherent::create_inherent` only returns a single `Call`, but this pallet
|
|
1318
|
-
* has two block-end concerns — verifying the storage proof for the block at
|
|
1319
|
-
* `n - RetentionPeriod`, and renewing entries flagged via [`AutoRenewals`] before
|
|
1320
|
-
* they expire at `n - RetentionPeriod - 1`. Both effects collapse into this single
|
|
1321
|
-
* mandatory inherent so that block authors emit one extrinsic that satisfies both
|
|
1322
|
-
* `on_finalize` invariants (`ProofChecked` and "PendingAutoRenewals empty").
|
|
1246
|
+
* Block-level mandatory inherent for the transaction-storage proof.
|
|
1323
1247
|
*
|
|
1324
1248
|
* `proof` is `Some` when the inherent data provider supplied one; otherwise the
|
|
1325
|
-
* proof step is skipped (early or empty blocks). The
|
|
1326
|
-
*
|
|
1327
|
-
* have populated `PendingAutoRenewals`.
|
|
1249
|
+
* proof step is skipped (early or empty blocks). The companion drain of pending
|
|
1250
|
+
* auto-renewals lives in `pallet-bulletin-data-renewal`'s own inherent.
|
|
1328
1251
|
*/
|
|
1329
1252
|
apply_block_inherents: TxDescriptor<Anonymize<Ifq8h9n7vmgpf0>>;
|
|
1330
1253
|
/**
|
|
@@ -1379,6 +1302,47 @@ type ICalls = {
|
|
|
1379
1302
|
|
|
1380
1303
|
*/
|
|
1381
1304
|
promote: TxDescriptor<Anonymize<Ic4jjdr1cl5bit>>;
|
|
1305
|
+
/**
|
|
1306
|
+
* V2 variant of [`Self::promote`]: identical body, but the authorize hook
|
|
1307
|
+
* requires the user's signature to additionally cover the chain genesis
|
|
1308
|
+
* hash and a hash of the recipients list (see [`signing_payload_v2`]).
|
|
1309
|
+
*/
|
|
1310
|
+
promote_v2: TxDescriptor<Anonymize<I9j03oeh6p8l87>>;
|
|
1311
|
+
};
|
|
1312
|
+
DataRenewal: {
|
|
1313
|
+
/**
|
|
1314
|
+
* Schedule a one-shot auto-renewal. Fires once at the
|
|
1315
|
+
* `RetentionPeriod` boundary, then the registration is removed.
|
|
1316
|
+
* Prepaid at registration; see [`force_renew`](Self::force_renew) for
|
|
1317
|
+
* synchronous renewal or [`enable_auto_renew`](Self::enable_auto_renew)
|
|
1318
|
+
* for recurring.
|
|
1319
|
+
*/
|
|
1320
|
+
renew: TxDescriptor<Anonymize<I7d71c6b0ekmt9>>;
|
|
1321
|
+
/**
|
|
1322
|
+
* Renew previously stored data synchronously. Charges `info.size` against
|
|
1323
|
+
* the caller's `bytes_permanent` and the chain-wide `PermanentStorageUsed`.
|
|
1324
|
+
*/
|
|
1325
|
+
force_renew: TxDescriptor<Anonymize<I7d71c6b0ekmt9>>;
|
|
1326
|
+
/**
|
|
1327
|
+
* Register recurring auto-renewal for `content_hash`. First cycle is
|
|
1328
|
+
* prepaid at registration (`paid = true`); subsequent cycles charge
|
|
1329
|
+
* the owner's authorization in `do_process_auto_renewals` and
|
|
1330
|
+
* drop the registration on quota exhaustion with
|
|
1331
|
+
* [`Event::AutoRenewalFailed`].
|
|
1332
|
+
*/
|
|
1333
|
+
enable_auto_renew: TxDescriptor<Anonymize<I3rfugj0vt1ug5>>;
|
|
1334
|
+
/**
|
|
1335
|
+
* Disable auto-renewal. Signed callers must own the registration AND
|
|
1336
|
+
* wait for the prepaid first cycle to have fired (else
|
|
1337
|
+
* [`Error::CannotDisablePrepaidAutoRenewal`]). Root bypasses both
|
|
1338
|
+
* checks.
|
|
1339
|
+
*/
|
|
1340
|
+
disable_auto_renew: TxDescriptor<Anonymize<I3rfugj0vt1ug5>>;
|
|
1341
|
+
/**
|
|
1342
|
+
* Mandatory inherent: drain [`PendingAutoRenewals`] for the current
|
|
1343
|
+
* block. Refunds to the actually-drained count via `PostDispatchInfo`.
|
|
1344
|
+
*/
|
|
1345
|
+
process_pending_renewals: TxDescriptor<undefined>;
|
|
1382
1346
|
};
|
|
1383
1347
|
CollatorSelection: {
|
|
1384
1348
|
/**
|
|
@@ -1843,7 +1807,7 @@ type ICalls = {
|
|
|
1843
1807
|
/**
|
|
1844
1808
|
* Authenticates the sudo key and dispatches a function call with `Root` origin.
|
|
1845
1809
|
*/
|
|
1846
|
-
sudo: TxDescriptor<Anonymize<
|
|
1810
|
+
sudo: TxDescriptor<Anonymize<Ic10m30chc0lcl>>;
|
|
1847
1811
|
/**
|
|
1848
1812
|
* Authenticates the sudo key and dispatches a function call with `Root` origin.
|
|
1849
1813
|
* This function does not check the weight of the call, and instead allows the
|
|
@@ -1851,7 +1815,7 @@ type ICalls = {
|
|
|
1851
1815
|
*
|
|
1852
1816
|
* The dispatch origin for this call must be _Signed_.
|
|
1853
1817
|
*/
|
|
1854
|
-
sudo_unchecked_weight: TxDescriptor<Anonymize<
|
|
1818
|
+
sudo_unchecked_weight: TxDescriptor<Anonymize<I3a0ttnbnho23s>>;
|
|
1855
1819
|
/**
|
|
1856
1820
|
* Authenticates the current sudo key and sets the given AccountId (`new`) as the new sudo
|
|
1857
1821
|
* key.
|
|
@@ -1863,7 +1827,7 @@ type ICalls = {
|
|
|
1863
1827
|
*
|
|
1864
1828
|
* The dispatch origin for this call must be _Signed_.
|
|
1865
1829
|
*/
|
|
1866
|
-
sudo_as: TxDescriptor<Anonymize<
|
|
1830
|
+
sudo_as: TxDescriptor<Anonymize<I8a5t0g4sf473u>>;
|
|
1867
1831
|
/**
|
|
1868
1832
|
* Permanently removes the sudo key.
|
|
1869
1833
|
*
|
|
@@ -1881,7 +1845,7 @@ type IEvent = {
|
|
|
1881
1845
|
/**
|
|
1882
1846
|
* An extrinsic failed.
|
|
1883
1847
|
*/
|
|
1884
|
-
ExtrinsicFailed: PlainDescriptor<Anonymize<
|
|
1848
|
+
ExtrinsicFailed: PlainDescriptor<Anonymize<I1k0qrucdt7nvm>>;
|
|
1885
1849
|
/**
|
|
1886
1850
|
* `:code` was updated to the code with the given hash.
|
|
1887
1851
|
*/
|
|
@@ -1905,7 +1869,7 @@ type IEvent = {
|
|
|
1905
1869
|
/**
|
|
1906
1870
|
* An invalid authorized upgrade was rejected while trying to apply it.
|
|
1907
1871
|
*/
|
|
1908
|
-
RejectedInvalidAuthorizedUpgrade: PlainDescriptor<Anonymize<
|
|
1872
|
+
RejectedInvalidAuthorizedUpgrade: PlainDescriptor<Anonymize<In8uc40udid6u>>;
|
|
1909
1873
|
};
|
|
1910
1874
|
ParachainSystem: {
|
|
1911
1875
|
/**
|
|
@@ -1938,7 +1902,7 @@ type IEvent = {
|
|
|
1938
1902
|
* Batch of dispatches did not complete fully. Index of first failing dispatch given, as
|
|
1939
1903
|
* well as the error.
|
|
1940
1904
|
*/
|
|
1941
|
-
BatchInterrupted: PlainDescriptor<Anonymize<
|
|
1905
|
+
BatchInterrupted: PlainDescriptor<Anonymize<I4kk4g4d2s2suj>>;
|
|
1942
1906
|
/**
|
|
1943
1907
|
* Batch of dispatches completed fully with no error.
|
|
1944
1908
|
*/
|
|
@@ -1954,11 +1918,11 @@ type IEvent = {
|
|
|
1954
1918
|
/**
|
|
1955
1919
|
* A single item within a Batch of dispatches has completed with error.
|
|
1956
1920
|
*/
|
|
1957
|
-
ItemFailed: PlainDescriptor<Anonymize<
|
|
1921
|
+
ItemFailed: PlainDescriptor<Anonymize<I9b2gg2oq3m0lm>>;
|
|
1958
1922
|
/**
|
|
1959
1923
|
* A call was dispatched.
|
|
1960
1924
|
*/
|
|
1961
|
-
DispatchedAs: PlainDescriptor<Anonymize<
|
|
1925
|
+
DispatchedAs: PlainDescriptor<Anonymize<Ib4uj9dnrigfnf>>;
|
|
1962
1926
|
/**
|
|
1963
1927
|
* Main call was dispatched.
|
|
1964
1928
|
*/
|
|
@@ -1966,7 +1930,7 @@ type IEvent = {
|
|
|
1966
1930
|
/**
|
|
1967
1931
|
* The fallback call was dispatched.
|
|
1968
1932
|
*/
|
|
1969
|
-
IfElseFallbackCalled: PlainDescriptor<Anonymize<
|
|
1933
|
+
IfElseFallbackCalled: PlainDescriptor<Anonymize<I1n4jf0e68vkg0>>;
|
|
1970
1934
|
};
|
|
1971
1935
|
MultiBlockMigrations: {
|
|
1972
1936
|
/**
|
|
@@ -2152,10 +2116,6 @@ type IEvent = {
|
|
|
2152
2116
|
* Stored data under specified index.
|
|
2153
2117
|
*/
|
|
2154
2118
|
Stored: PlainDescriptor<Anonymize<I395h9meqpi2hf>>;
|
|
2155
|
-
/**
|
|
2156
|
-
* Renewed data under specified index.
|
|
2157
|
-
*/
|
|
2158
|
-
Renewed: PlainDescriptor<Anonymize<I66jdpl6lile9j>>;
|
|
2159
2119
|
/**
|
|
2160
2120
|
* Storage proof was successfully checked.
|
|
2161
2121
|
*/
|
|
@@ -2198,6 +2158,12 @@ type IEvent = {
|
|
|
2198
2158
|
* An authorizer was removed from the allowed list due to budget exhaustion.
|
|
2199
2159
|
*/
|
|
2200
2160
|
ExhaustedAuthorizerRemoved: PlainDescriptor<Anonymize<I4cbvqmqadhrea>>;
|
|
2161
|
+
};
|
|
2162
|
+
DataRenewal: {
|
|
2163
|
+
/**
|
|
2164
|
+
* Renewed data under specified index.
|
|
2165
|
+
*/
|
|
2166
|
+
Renewed: PlainDescriptor<Anonymize<I66jdpl6lile9j>>;
|
|
2201
2167
|
/**
|
|
2202
2168
|
* A renewal was enabled for `content_hash` by `who`.
|
|
2203
2169
|
*/
|
|
@@ -2216,7 +2182,7 @@ type IEvent = {
|
|
|
2216
2182
|
*/
|
|
2217
2183
|
AutoRenewalFailed: PlainDescriptor<Anonymize<I5i6clrj1m1v3f>>;
|
|
2218
2184
|
/**
|
|
2219
|
-
* `PermanentStorageUsed` changed (a `renew` bumped it, or the
|
|
2185
|
+
* `PermanentStorageUsed` changed (a `renew` bumped it, or the obsolete sweep
|
|
2220
2186
|
* decremented it). Off-chain capacity-planning consumers can drive their dashboards
|
|
2221
2187
|
* from these.
|
|
2222
2188
|
*/
|
|
@@ -2487,7 +2453,7 @@ type IEvent = {
|
|
|
2487
2453
|
/**
|
|
2488
2454
|
* A sudo call just took place.
|
|
2489
2455
|
*/
|
|
2490
|
-
Sudid: PlainDescriptor<Anonymize<
|
|
2456
|
+
Sudid: PlainDescriptor<Anonymize<I8gbrfnqiahbu3>>;
|
|
2491
2457
|
/**
|
|
2492
2458
|
* The sudo key has been updated.
|
|
2493
2459
|
*/
|
|
@@ -2499,7 +2465,7 @@ type IEvent = {
|
|
|
2499
2465
|
/**
|
|
2500
2466
|
* A [sudo_as](Pallet::sudo_as) call just took place.
|
|
2501
2467
|
*/
|
|
2502
|
-
SudoAsDone: PlainDescriptor<Anonymize<
|
|
2468
|
+
SudoAsDone: PlainDescriptor<Anonymize<I8gbrfnqiahbu3>>;
|
|
2503
2469
|
};
|
|
2504
2470
|
};
|
|
2505
2471
|
type IError = {
|
|
@@ -2687,16 +2653,6 @@ type IError = {
|
|
|
2687
2653
|
* Authorization has not expired.
|
|
2688
2654
|
*/
|
|
2689
2655
|
AuthorizationNotExpired: PlainDescriptor<undefined>;
|
|
2690
|
-
/**
|
|
2691
|
-
* Renew rejected: would push the signer's `bytes_permanent` past their
|
|
2692
|
-
* `bytes_allowance` (per-account hard cap).
|
|
2693
|
-
*/
|
|
2694
|
-
PermanentAllowanceExceeded: PlainDescriptor<undefined>;
|
|
2695
|
-
/**
|
|
2696
|
-
* Renew rejected: would push `PermanentStorageUsed` past
|
|
2697
|
-
* `MaxPermanentStorageSize` (chain-wide hard cap).
|
|
2698
|
-
*/
|
|
2699
|
-
ChainPermanentCapReached: PlainDescriptor<undefined>;
|
|
2700
2656
|
/**
|
|
2701
2657
|
* Content hash was not calculated.
|
|
2702
2658
|
*/
|
|
@@ -2710,6 +2666,31 @@ type IError = {
|
|
|
2710
2666
|
* axes AND (if `valid_until` is set) has not yet expired.
|
|
2711
2667
|
*/
|
|
2712
2668
|
AuthorizerBudgetNotExhausted: PlainDescriptor<undefined>;
|
|
2669
|
+
/**
|
|
2670
|
+
* `valid_until` supplied to `add_authorizer` is in the past (`<= now`, would
|
|
2671
|
+
* expire immediately). Pass `None` for no expiration.
|
|
2672
|
+
*/
|
|
2673
|
+
InvalidValidUntil: PlainDescriptor<undefined>;
|
|
2674
|
+
/**
|
|
2675
|
+
* `authorize_account` / `authorize_preimage` called by a signer whose
|
|
2676
|
+
* `AllowedAuthorizers` budget cannot cover the requested
|
|
2677
|
+
* `transactions` / `bytes` (or `max_size`).
|
|
2678
|
+
*/
|
|
2679
|
+
InsufficientAuthorizerBudget: PlainDescriptor<undefined>;
|
|
2680
|
+
};
|
|
2681
|
+
DataRenewal: {
|
|
2682
|
+
/**
|
|
2683
|
+
* Attempted to call `force_renew` outside of block execution.
|
|
2684
|
+
*/
|
|
2685
|
+
BadContext: PlainDescriptor<undefined>;
|
|
2686
|
+
/**
|
|
2687
|
+
* Renewed extrinsic is not found.
|
|
2688
|
+
*/
|
|
2689
|
+
RenewedNotFound: PlainDescriptor<undefined>;
|
|
2690
|
+
/**
|
|
2691
|
+
* Block already contains the maximum number of transactions.
|
|
2692
|
+
*/
|
|
2693
|
+
TooManyTransactions: PlainDescriptor<undefined>;
|
|
2713
2694
|
/**
|
|
2714
2695
|
* Auto-renewal is already enabled for this content hash.
|
|
2715
2696
|
*/
|
|
@@ -2724,21 +2705,15 @@ type IError = {
|
|
|
2724
2705
|
NotAutoRenewalOwner: PlainDescriptor<undefined>;
|
|
2725
2706
|
/**
|
|
2726
2707
|
* `disable_auto_renew` rejected: the registration has been prepaid for its next
|
|
2727
|
-
* cycle
|
|
2728
|
-
*
|
|
2708
|
+
* cycle and cannot be disabled by the owner until the cycle fires and consumes
|
|
2709
|
+
* the prepayment. Root can still disable for governance cleanup.
|
|
2729
2710
|
*/
|
|
2730
2711
|
CannotDisablePrepaidAutoRenewal: PlainDescriptor<undefined>;
|
|
2731
2712
|
/**
|
|
2732
|
-
*
|
|
2733
|
-
*
|
|
2734
|
-
*/
|
|
2735
|
-
InvalidValidUntil: PlainDescriptor<undefined>;
|
|
2736
|
-
/**
|
|
2737
|
-
* `authorize_account` / `authorize_preimage` called by a signer whose
|
|
2738
|
-
* `AllowedAuthorizers` budget cannot cover the requested
|
|
2739
|
-
* `transactions` / `bytes` (or `max_size`).
|
|
2713
|
+
* Data size of the renewed entry is not in the allowed range. Appended last: the
|
|
2714
|
+
* earlier indices are wire-visible.
|
|
2740
2715
|
*/
|
|
2741
|
-
|
|
2716
|
+
BadDataSize: PlainDescriptor<undefined>;
|
|
2742
2717
|
};
|
|
2743
2718
|
CollatorSelection: {
|
|
2744
2719
|
/**
|
|
@@ -3158,31 +3133,33 @@ type IConstants = {
|
|
|
3158
3133
|
* Maximum data set in a single transaction in bytes.
|
|
3159
3134
|
*/
|
|
3160
3135
|
MaxTransactionSize: PlainDescriptor<number>;
|
|
3161
|
-
/**
|
|
3162
|
-
* Cap, in bytes, on total permanent storage (via `renew`) committed across
|
|
3163
|
-
* all authorizations. Tracks chain-wide capacity for permanent data.
|
|
3164
|
-
*/
|
|
3165
|
-
MaxPermanentStorageSize: PlainDescriptor<bigint>;
|
|
3166
3136
|
/**
|
|
3167
3137
|
* Authorizations expire after this many blocks.
|
|
3168
3138
|
*/
|
|
3169
3139
|
AuthorizationPeriod: PlainDescriptor<number>;
|
|
3170
3140
|
/**
|
|
3171
|
-
*
|
|
3141
|
+
* Pool params for signed and preimage-authorized `store`. One prefix is safe: they
|
|
3142
|
+
* tag on `(who, content_hash)` and `content_hash` respectively.
|
|
3143
|
+
*/
|
|
3144
|
+
StoreTxParams: PlainDescriptor<Anonymize<I9s2ue1goudgqc>>;
|
|
3145
|
+
/**
|
|
3146
|
+
* Pool params for `authorize_*` and `refresh_*`, which validate untagged.
|
|
3172
3147
|
*/
|
|
3173
|
-
|
|
3148
|
+
AuthorizeTxParams: PlainDescriptor<Anonymize<I9s2ue1goudgqc>>;
|
|
3174
3149
|
/**
|
|
3175
|
-
*
|
|
3150
|
+
* Pool params for `remove_expired_account_authorization`. The three cleanup calls get
|
|
3151
|
+
* their own items because two provide `who` and a `ContentHash` encodes like an
|
|
3152
|
+
* `AccountId32`, so they need distinct prefixes despite shared pricing.
|
|
3176
3153
|
*/
|
|
3177
|
-
|
|
3154
|
+
RemoveExpiredAccountAuthorizationTxParams: PlainDescriptor<Anonymize<I9s2ue1goudgqc>>;
|
|
3178
3155
|
/**
|
|
3179
|
-
*
|
|
3156
|
+
* Pool params for `remove_expired_preimage_authorization`.
|
|
3180
3157
|
*/
|
|
3181
|
-
|
|
3158
|
+
RemoveExpiredPreimageAuthorizationTxParams: PlainDescriptor<Anonymize<I9s2ue1goudgqc>>;
|
|
3182
3159
|
/**
|
|
3183
|
-
*
|
|
3160
|
+
* Pool params for `remove_exhausted_authorizer`.
|
|
3184
3161
|
*/
|
|
3185
|
-
|
|
3162
|
+
RemoveExhaustedAuthorizerTxParams: PlainDescriptor<Anonymize<I9s2ue1goudgqc>>;
|
|
3186
3163
|
};
|
|
3187
3164
|
HopPromotion: {
|
|
3188
3165
|
/**
|
|
@@ -3190,6 +3167,24 @@ type IConstants = {
|
|
|
3190
3167
|
* submit timestamp and the on-chain time when validating a promotion.
|
|
3191
3168
|
*/
|
|
3192
3169
|
SubmitTimestampTolerance: PlainDescriptor<bigint>;
|
|
3170
|
+
/**
|
|
3171
|
+
* Pool params for `promote`. `integrity_test` enforces its priority below `store`'s.
|
|
3172
|
+
*/
|
|
3173
|
+
PromoteTxParams: PlainDescriptor<Anonymize<I9s2ue1goudgqc>>;
|
|
3174
|
+
};
|
|
3175
|
+
DataRenewal: {
|
|
3176
|
+
/**
|
|
3177
|
+
* Cap, in bytes, on total permanent storage (via `renew`) committed across
|
|
3178
|
+
* all authorizations. Tracks chain-wide capacity for permanent data.
|
|
3179
|
+
*/
|
|
3180
|
+
MaxPermanentStorageSize: PlainDescriptor<bigint>;
|
|
3181
|
+
/**
|
|
3182
|
+
* Pool params for every renewal call. One prefix, so at most one of `renew`,
|
|
3183
|
+
* `force_renew` and `enable_auto_renew` per account and content hash is queued at
|
|
3184
|
+
* a time. Preimage `force_renew` tags on the content hash alone, so it dedups
|
|
3185
|
+
* separately.
|
|
3186
|
+
*/
|
|
3187
|
+
RenewTxParams: PlainDescriptor<Anonymize<I9s2ue1goudgqc>>;
|
|
3193
3188
|
};
|
|
3194
3189
|
CollatorSelection: {
|
|
3195
3190
|
/**
|
|
@@ -3451,7 +3446,7 @@ type IRuntimeCalls = {
|
|
|
3451
3446
|
* Returns an inclusion outcome which specifies if this extrinsic is included in
|
|
3452
3447
|
* this block or not.
|
|
3453
3448
|
*/
|
|
3454
|
-
apply_extrinsic: RuntimeDescriptor<[extrinsic: Uint8Array], Anonymize<
|
|
3449
|
+
apply_extrinsic: RuntimeDescriptor<[extrinsic: Uint8Array], Anonymize<I8mflc2aitj4n3>>;
|
|
3455
3450
|
/**
|
|
3456
3451
|
* Finish the current block.
|
|
3457
3452
|
*/
|
|
@@ -3549,11 +3544,11 @@ type IRuntimeCalls = {
|
|
|
3549
3544
|
/**
|
|
3550
3545
|
* Query information of a dispatch class, weight, and fee of a given encoded `Call`.
|
|
3551
3546
|
*/
|
|
3552
|
-
query_call_info: RuntimeDescriptor<[call: Anonymize<
|
|
3547
|
+
query_call_info: RuntimeDescriptor<[call: Anonymize<I88472ck6vehhv>, len: number], Anonymize<I6spmpef2c7svf>>;
|
|
3553
3548
|
/**
|
|
3554
3549
|
* Query fee details of a given encoded `Call`.
|
|
3555
3550
|
*/
|
|
3556
|
-
query_call_fee_details: RuntimeDescriptor<[call: Anonymize<
|
|
3551
|
+
query_call_fee_details: RuntimeDescriptor<[call: Anonymize<I88472ck6vehhv>, len: number], Anonymize<Iei2mvq0mjvt81>>;
|
|
3557
3552
|
/**
|
|
3558
3553
|
* Query the output of the current `WeightToFee` given some input.
|
|
3559
3554
|
*/
|
|
@@ -3631,11 +3626,11 @@ type IRuntimeCalls = {
|
|
|
3631
3626
|
/**
|
|
3632
3627
|
* Dry run call V2.
|
|
3633
3628
|
*/
|
|
3634
|
-
dry_run_call: RuntimeDescriptor<[origin: Anonymize<I9cqlcs1cfiqgk>, call: Anonymize<
|
|
3629
|
+
dry_run_call: RuntimeDescriptor<[origin: Anonymize<I9cqlcs1cfiqgk>, call: Anonymize<I88472ck6vehhv>, result_xcms_version: number], Anonymize<I7lvr1kelguodv>>;
|
|
3635
3630
|
/**
|
|
3636
3631
|
* Dry run XCM program
|
|
3637
3632
|
*/
|
|
3638
|
-
dry_run_xcm: RuntimeDescriptor<[origin_location: XcmVersionedLocation, xcm: XcmVersionedXcm], Anonymize<
|
|
3633
|
+
dry_run_xcm: RuntimeDescriptor<[origin_location: XcmVersionedLocation, xcm: XcmVersionedXcm], Anonymize<I2erankq0dcrdh>>;
|
|
3639
3634
|
};
|
|
3640
3635
|
/**
|
|
3641
3636
|
* API for useful conversions between XCM `Location` and `AccountId`.
|
|
@@ -3818,7 +3813,7 @@ type IRuntimeCalls = {
|
|
|
3818
3813
|
parachain_id: RuntimeDescriptor<[], number>;
|
|
3819
3814
|
};
|
|
3820
3815
|
};
|
|
3821
|
-
export type Paseo_bulletinDispatchError = Anonymize<
|
|
3816
|
+
export type Paseo_bulletinDispatchError = Anonymize<I2lf4fk0dlf3ka>;
|
|
3822
3817
|
type IAsset = PlainDescriptor<void>;
|
|
3823
3818
|
export type Paseo_bulletinExtensions = {};
|
|
3824
3819
|
type PalletsTypedef = {
|
|
@@ -3849,7 +3844,7 @@ export type Paseo_bulletinEvents = EventsFromPalletsDef<PalletsTypedef>;
|
|
|
3849
3844
|
export type Paseo_bulletinErrors = ErrorsFromPalletsDef<PalletsTypedef>;
|
|
3850
3845
|
export type Paseo_bulletinConstants = ConstFromPalletsDef<PalletsTypedef>;
|
|
3851
3846
|
export type Paseo_bulletinViewFns = ViewFnsFromPalletsDef<PalletsTypedef>;
|
|
3852
|
-
export type Paseo_bulletinCallData = Anonymize<
|
|
3847
|
+
export type Paseo_bulletinCallData = Anonymize<I88472ck6vehhv> & {
|
|
3853
3848
|
value: {
|
|
3854
3849
|
type: string;
|
|
3855
3850
|
};
|
|
@@ -3863,7 +3858,8 @@ type AllInteractions = {
|
|
|
3863
3858
|
MultiBlockMigrations: ['Cursor', 'Historic'];
|
|
3864
3859
|
Balances: ['TotalIssuance', 'InactiveIssuance', 'Account', 'Locks', 'Reserves', 'Holds', 'Freezes'];
|
|
3865
3860
|
TransactionPayment: ['NextFeeMultiplier', 'StorageVersion', 'TxPaymentCredit'];
|
|
3866
|
-
TransactionStorage: ['Authorizations', 'AllowedAuthorizers', 'Transactions', 'ByteFee', 'EntryFee', 'RetentionPeriod', 'BlockTransactions', 'TransactionByContentHash', '
|
|
3861
|
+
TransactionStorage: ['Authorizations', 'AllowedAuthorizers', 'Transactions', 'ByteFee', 'EntryFee', 'RetentionPeriod', 'BlockTransactions', 'TransactionByContentHash', 'ProofChecked'];
|
|
3862
|
+
DataRenewal: ['Renewals', 'PendingAutoRenewals', 'PermanentStorageUsed'];
|
|
3867
3863
|
Authorship: ['Author'];
|
|
3868
3864
|
CollatorSelection: ['Invulnerables', 'CandidateList', 'LastAuthoredBlock', 'DesiredCandidates', 'CandidacyBond'];
|
|
3869
3865
|
Session: ['Validators', 'CurrentIndex', 'QueuedChanged', 'QueuedKeys', 'DisabledValidators', 'NextKeys', 'KeyOwner', 'ExternallySetKeys'];
|
|
@@ -3881,8 +3877,9 @@ type AllInteractions = {
|
|
|
3881
3877
|
Utility: ['batch', 'as_derivative', 'batch_all', 'dispatch_as', 'force_batch', 'with_weight', 'if_else', 'dispatch_as_fallible'];
|
|
3882
3878
|
MultiBlockMigrations: ['force_set_cursor', 'force_set_active_cursor', 'force_onboard_mbms', 'clear_historic'];
|
|
3883
3879
|
Balances: ['transfer_allow_death', 'force_transfer', 'transfer_keep_alive', 'transfer_all', 'force_unreserve', 'upgrade_accounts', 'force_set_balance', 'force_adjust_total_issuance', 'burn'];
|
|
3884
|
-
TransactionStorage: ['store', 'store_with_cid_config', '
|
|
3885
|
-
HopPromotion: ['promote'];
|
|
3880
|
+
TransactionStorage: ['store', 'store_with_cid_config', 'authorize_account', 'authorize_preimage', 'remove_expired_account_authorization', 'remove_expired_preimage_authorization', 'refresh_account_authorization', 'refresh_preimage_authorization', 'apply_block_inherents', 'add_authorizer', 'remove_authorizer', 'remove_exhausted_authorizer'];
|
|
3881
|
+
HopPromotion: ['promote', 'promote_v2'];
|
|
3882
|
+
DataRenewal: ['renew', 'force_renew', 'enable_auto_renew', 'disable_auto_renew', 'process_pending_renewals'];
|
|
3886
3883
|
CollatorSelection: ['set_invulnerables', 'set_desired_candidates', 'set_candidacy_bond', 'register_as_candidate', 'leave_intent', 'add_invulnerable', 'remove_invulnerable', 'update_bond', 'take_candidate_slot'];
|
|
3887
3884
|
Session: ['set_keys', 'purge_keys'];
|
|
3888
3885
|
XcmpQueue: ['suspend_xcm_execution', 'resume_xcm_execution', 'update_suspend_threshold', 'update_drop_threshold', 'update_resume_threshold'];
|
|
@@ -3898,7 +3895,8 @@ type AllInteractions = {
|
|
|
3898
3895
|
Balances: ['Endowed', 'DustLost', 'Transfer', 'BalanceSet', 'Reserved', 'Unreserved', 'ReserveRepatriated', 'Deposit', 'Withdraw', 'Slashed', 'Minted', 'MintedCredit', 'Burned', 'BurnedDebt', 'Suspended', 'Restored', 'Upgraded', 'Issued', 'Rescinded', 'Locked', 'Unlocked', 'Frozen', 'Thawed', 'TotalIssuanceForced', 'Held', 'BurnedHeld', 'TransferOnHold', 'TransferAndHold', 'Released', 'Unexpected'];
|
|
3899
3896
|
TransactionPayment: ['TransactionFeePaid'];
|
|
3900
3897
|
SkipFeelessPayment: ['FeeSkipped'];
|
|
3901
|
-
TransactionStorage: ['Stored', '
|
|
3898
|
+
TransactionStorage: ['Stored', 'ProofChecked', 'AccountAuthorized', 'AccountAuthorizationRefreshed', 'PreimageAuthorized', 'PreimageAuthorizationRefreshed', 'ExpiredAccountAuthorizationRemoved', 'ExpiredPreimageAuthorizationRemoved', 'AuthorizerAdded', 'AuthorizerRemoved', 'ExhaustedAuthorizerRemoved'];
|
|
3899
|
+
DataRenewal: ['Renewed', 'RenewalEnabled', 'AutoRenewalDisabled', 'DataAutoRenewed', 'AutoRenewalFailed', 'PermanentStorageUsedUpdated', 'PermanentStorageNearCap'];
|
|
3902
3900
|
CollatorSelection: ['NewInvulnerables', 'InvulnerableAdded', 'InvulnerableRemoved', 'NewDesiredCandidates', 'NewCandidacyBond', 'CandidateAdded', 'CandidateBondUpdated', 'CandidateRemoved', 'CandidateReplaced', 'InvalidInvulnerableSkipped'];
|
|
3903
3901
|
Session: ['NewSession', 'NewQueued', 'ValidatorDisabled', 'ValidatorReenabled'];
|
|
3904
3902
|
XcmpQueue: ['XcmpMessageSent'];
|
|
@@ -3913,7 +3911,8 @@ type AllInteractions = {
|
|
|
3913
3911
|
Utility: ['TooManyCalls'];
|
|
3914
3912
|
MultiBlockMigrations: ['Ongoing'];
|
|
3915
3913
|
Balances: ['VestingBalance', 'LiquidityRestrictions', 'InsufficientBalance', 'ExistentialDeposit', 'Expendability', 'ExistingVestingSchedule', 'DeadAccount', 'TooManyReserves', 'TooManyHolds', 'TooManyFreezes', 'IssuanceDeactivated', 'DeltaZero'];
|
|
3916
|
-
TransactionStorage: ['BadContext', 'BadDataSize', 'TooManyTransactions', 'NotConfigured', 'RenewedNotFound', 'UnexpectedProof', 'InvalidProof', 'MissingProof', 'MissingStateData', 'DoubleCheck', 'ProofNotChecked', 'AuthorizationNotFound', 'AuthorizationNotExpired', '
|
|
3914
|
+
TransactionStorage: ['BadContext', 'BadDataSize', 'TooManyTransactions', 'NotConfigured', 'RenewedNotFound', 'UnexpectedProof', 'InvalidProof', 'MissingProof', 'MissingStateData', 'DoubleCheck', 'ProofNotChecked', 'AuthorizationNotFound', 'AuthorizationNotExpired', 'InvalidContentHash', 'AuthorizerNotFound', 'AuthorizerBudgetNotExhausted', 'InvalidValidUntil', 'InsufficientAuthorizerBudget'];
|
|
3915
|
+
DataRenewal: ['BadContext', 'RenewedNotFound', 'TooManyTransactions', 'AutoRenewalAlreadyEnabled', 'AutoRenewalNotEnabled', 'NotAutoRenewalOwner', 'CannotDisablePrepaidAutoRenewal', 'BadDataSize'];
|
|
3917
3916
|
CollatorSelection: ['TooManyCandidates', 'TooFewEligibleCollators', 'AlreadyCandidate', 'NotCandidate', 'TooManyInvulnerables', 'AlreadyInvulnerable', 'NotInvulnerable', 'NoAssociatedValidatorId', 'ValidatorNotRegistered', 'InsertToCandidateListFailed', 'RemoveFromCandidateListFailed', 'DepositTooLow', 'UpdateCandidateListFailed', 'InsufficientBond', 'TargetIsNotCandidate', 'IdenticalDeposit', 'InvalidUnreserve'];
|
|
3918
3917
|
Session: ['InvalidProof', 'NoAssociatedValidatorId', 'DuplicatedKey', 'NoKeys', 'NoAccount'];
|
|
3919
3918
|
XcmpQueue: ['BadQueueConfig', 'AlreadySuspended', 'AlreadyResumed', 'TooManyActiveOutboundChannels', 'TooBig'];
|
|
@@ -3929,8 +3928,9 @@ type AllInteractions = {
|
|
|
3929
3928
|
MultiBlockMigrations: ['CursorMaxLen', 'IdentifierMaxLen'];
|
|
3930
3929
|
Balances: ['ExistentialDeposit', 'MaxLocks', 'MaxReserves', 'MaxFreezes'];
|
|
3931
3930
|
TransactionPayment: ['OperationalFeeMultiplier'];
|
|
3932
|
-
TransactionStorage: ['MaxBlockTransactions', 'MaxTransactionSize', '
|
|
3933
|
-
HopPromotion: ['SubmitTimestampTolerance'];
|
|
3931
|
+
TransactionStorage: ['MaxBlockTransactions', 'MaxTransactionSize', 'AuthorizationPeriod', 'StoreTxParams', 'AuthorizeTxParams', 'RemoveExpiredAccountAuthorizationTxParams', 'RemoveExpiredPreimageAuthorizationTxParams', 'RemoveExhaustedAuthorizerTxParams'];
|
|
3932
|
+
HopPromotion: ['SubmitTimestampTolerance', 'PromoteTxParams'];
|
|
3933
|
+
DataRenewal: ['MaxPermanentStorageSize', 'RenewTxParams'];
|
|
3934
3934
|
CollatorSelection: ['PotId', 'MaxCandidates', 'MinEligibleCollators', 'MaxInvulnerables', 'KickThreshold', 'pot_account'];
|
|
3935
3935
|
Session: ['KeyDeposit'];
|
|
3936
3936
|
Aura: ['SlotDuration'];
|