@galacticcouncil/descriptors 1.4.0-pr193-92a6b4e → 1.4.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 +885 -707
- package/build/descriptors-TCMSBHWH.mjs +27 -0
- package/build/hydration.d.ts +773 -889
- package/build/hydration_metadata-QN4QUJWP.mjs +6 -0
- package/build/index.js +4 -4
- package/build/index.mjs +4 -4
- package/build/metadataTypes-GLMI47Y2.mjs +6 -0
- package/build/metadataTypes.d.ts +1 -1
- package/package.json +1 -1
- package/build/descriptors-TQ7UPY4I.mjs +0 -27
- package/build/hydration_metadata-R2ASQUSJ.mjs +0 -6
- package/build/metadataTypes-IZSQ4W7X.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, I9uhc34jhaso4b, I95g6i7ilua7lq, Ieniouoqkq4icf, Phase, Ibgl04rn6nbfm6, I1q8tnt1cluu5j, I8ds64oj6581v0, Ia7pdug7cdsg8g, I3oiqtmlj7klbr, I9bin2jc70qt6q, TransactionPaymentReleases, Iegmj7n48sc3am, Icgljjb6j82uhn, Ie9j1itogtv7p5, PreimageOldRequestStatus, PreimageRequestStatus, I4pact7n2e9a0i, I1evsr8hplu1lg, I910puuahutflf, I4nfjdef0ibh44, I74af64m08r6as, I9bhbof2vim227, I6ouflveob4eli, I6mhebgj62g585, I3vhcedhm4hpvm, I526daka7j7b17, Ifanv2kvm586s4, I5rsgtofmn5lli, Idned7t7knml6b, I2itl2k1j2q8nf, I8nj9dlo7lnbb3, Iba9inugg1atvo, Ib23vkkc52tqbu, Ic5m5lp1oioo8r, Ick2k1hvh0bm22, I99bb69usss9gs, Ia2lhg7l2hilo3, I8fkfedbgu1sn3, Iegjdtqhbb6qh9, I9p9lq3rej5bhc, Iag146hmjgqfgj, I8uo3fpd3bcc6f, Ianufjuplcj6u4, Ic3orq32is6lrl, I95l2k9b1re95f, I2mv9dvsaj3kcr, I200n1ov5tbcvr, I7781vnk0rm9eq, Ie2iqtdb0stqo1, I974uplh4fafs4, Ic9nev69d8grv1, If354jrdedj0pj, Ib17t3992hb64n, I215mkl885p4da, ConvictionVotingVoteVoting, If9jidduiuq7vv, I7l9ov6gsk96cm, Ifj0li5nn5unet, I4c0s5cioidn76, Isibf8mrredhc, I8ikpj86u2na1q, Icbsch55a85u5u, Idkbvh6dahk1v7, I5ugnv0dol8v8t, I1ksaufim9dq1c, Ielgh4t8o7rcvt, I3rvqhkck00laj, I9jd27rnpm8ttv, I7bcpl5g2rcql5, I4vdvk2616mp4t, Iep7au1720bm0e, I48olja7kd2ijk, I7qjksqmdos4g7, I4kv0johj9i346, Ibn3i0ad6beo5l, I10uqvdcdcld3o, I3fgr93o42d9hi, Ihjc2vmjfhsmq, I663kh18bno0fo, I1p5pqg6bllgtl, Idlhlfhnnl97ji, I4ojmnsk1dchql, Iesq88051ch8ht, I9qpa0evftgoo5, I4qc61lpfqml75, I1stghsu756nk9, Ic02kut0350gb0, I199nnq793ql30, I7jidl7qnnq87c, I82cps8ng2jtug, Ic17drnrq0rtgi, Idi27giun0mb9q, Idud3fdh64aqp9, Ie7atdsih6q14b, I4totqt881mlti, Id32h28hjj1tch, I66gvo4ilpv28i, Iehnqcepg34ufg, Id2tibj9h7evc8, I56u24ncejr5kt, I1v7jbnil3tjns, I8jgj1nhcr2dg8, Ifn6q3equiq9qi, Ia3sb0vgvovhtg, Iav8k1edbj86k7, Itom7fk49o0c9, I4i91h98n3cv1b, I4iumukclgj8ej, Iqnbvitf7a7l3, I6r5cbv8ttrb09, I4q39t5hn830vp, XcmPalletQueryStatus, Ic4qvh5df9s5gp, I7vlvrrl2pnbgk, I50sjs3s5lud21, XcmPalletVersionMigrationStage, I50qp0ij7h62g2, Iteuj23is2ed5, I3rp19gb4dadaa, Iegrepoo0c1jc5, Ib77b0fp1a6mjr, I5g2vv0ckl2m8b, Ifup3lg9ro8a0f, Idh2ug6ou4a8og, Iejeo53sea6n4q, I53esa2ms463bk, Ib4jhb8tt3uung, Id0as9l3s817qs, Ifmurjhsco5svb, Ifi4da1gej1fri, Ifvgo9568rpmqc, I82jm9g7pufuel, I6cs1itejju2vv, I7dp637m60bg7s, Ifmar1ir5rft6l, I1os9h4ivict7u, Isa48262v9oqu, I7k4nkfs24tj3, In7a38730s6qs, If15el53dd76v9, I9s0ave7t0vnrk, Ic6nglu2db2c36, Ibafpkl9hhno69, I9m0752cdvui5o, Ie5fbn0f5capo3, Ia9ai1mp1viqjd, Ie4gu6f3b6uctq, Iasb8k6ash5mjn, I8ofcg5rbj0g2c, I4adgbll7gku4i, I6pjjpfvhvcfru, I9pj91mj79qekl, I39uah9nss64h9, Ik64dknsq7k08, Ib51vk42m1po4n, Idcr6u6361oad9, I1o12ibtjm10ot, I8vn14j8a40qm, I493o732nahjlr, Id5fm4p8lj5qgi, Ibmr18suc9ikh9, I4og34pg4ruv5d, I5u8olqbbvfnvf, I5utcetro501ir, Ic1e6uvbf8ado3, Ie7oqvfdar8r2, I6v8sm60vvkmk7, I92pum5p0t4pat, Idscf6boak49q1, Icm9m0qeemu66d, I6qq5nnbjegi8u, I666bl2fqjkejo, I191r6u4o6s29a, I8c0c7rd2lblj3, Icj9mflg2i4oe4, Iu99rkjmhi56v, I82nfqfkd48n10, I1jm8m1rh9e20v, I3o5j3bli1pd8e, Icbccs0ug47ilf, I2kds5jji7slh8, Ia9mkdf6l44shb, I9l2s4klu0831o, I2ctrt5nqb8o7c, I711qahikocb1c, I93c18nim2s66c, Id6gojh30v9ib2, Ica5n28rlj0lk6, I14p0q0qs0fqbj, Ie3u4phm019a8l, I9jie72r7q6717, I3alo542n0mgp, I2rg5btjrsqec0, I21r37il499a97, Ie5l999tf7t2te, I1moso5oagpiea, Ibeb4n9vpjefp3, Id7murq9s9fg6h, Ied9mja4bq7va8, I4f7jul8ljs54r, I5agg650597e49, I2ev73t79f46tb, Iab64mce6q91i, I7ji3jng252el9, I3v9h9f3mpm1l8, I9mnj4k4u8ls2c, I2kt2u1flctk2q, Iaa13icjlsj13d, I98vh5ccjtf1ev, I3al0eab2u0gt2, I7hhej9ji2h5gt, I6fuug4i4r04hi, I38jfk5li8iang, I2e37li0m4eequ, I60tljjfjtq6a2, I2dtrijkm5601t, Ib2obgji960euh, Ie6dn4p5chsk1u, I2vi5dr4528rgv, I1pm30k3i4438u, I2oih0a83cgqic, I2e1ekg17a2uj2, I9uff8o8g5b5av, I1acluqiqlacck, Idkqesere66fs7, Ifs54vj2idl9k4, I12790u9m0tmst, Iagqnn33ba6eeq, Ifvu3o01u3ve25, Ideaemvoneh309, I3d9o9d7epp66v, I3rrsthr03bsf8, I1it6nfuocs3uo, I83qeclck631s2, I846j8gk91gp4q, I4apbr3d7b110l, I9svbf1ionsuba, I63enm20toa64c, I92ucef7ff2o7l, I88sl1jplq27bh, I2970lus2v0qct, I1vsbo63n9pu69, I3fatc2oi4mp63, I1j3v9uknthnij, I6ng2cdk1vvip6, I62ht2i39rtkaa, Ichf8eu9t3dtc2, I9e4bfe80t2int, I9oai3q0an1tbo, I90ivo9n6p6nqo, Idj9k8sn80h3m6, I64f3h3tf92u6f, Ifnmu9mlmgtdbf, I7psec5e6ghc64, I2psb0sladd863, I585tk8khua0gk, I3ut99di214ru2, Iemkp87d26vsbh, I4ahfrt5dscf6q, Idnsr2pndm36h0, Itcpv4hqecjfj, I8steo882k7qns, I9qtj66dgng975, I5f178ab6b89t3, Iduerupfbc8ruc, I1q9ffekvj417t, Icbio0e1f0034b, I8c0vkqjjipnuj, I1adbcfi5uc62r, Ibf6ucefn8fh49, I4q47u65qosg7e, I11jcgems8sdco, Iejcu4gr9du24t, I9hlpdu483dt8k, I4a8hon12idk34, Ia5le7udkgbaq9, Ib2p3kr78drjc1, Ida2ijjar0n0j3, Ing3etrevsfg0, Ietsl92b11kilg, Icqdi7b9m95ug3, Ieuqv44kptstcs, I6vhvcln14dp4d, Ievca65alkkho9, I2qkf9i0e8mf1f, Iefviakco48cs2, Iakb7idgif10m8, Id7aqsj1u6b2r2, Icah19jgge5j3e, I2bi2kbaaunr13, Ian208gj7nqkdo, I81d44muu393rf, I3iojc1k1m6nu7, I9q8qmop6bko5m, Ial2ta95n8ff3b, Iammrvujtc5lnk, I87j02rt3f17j8, Iasmn3c065hq91, Ia5kd7m19ap7ge, Ieq7brqoubndin, Ie8ft8rd6cil27, I2k37dcoppgins, Ia05t9pjenemsb, I4rm8rabbdt645, I9sh4kg79d0vn, I5k5ne4orot4oe, Idtg418thlu95, I8utns9aeu3t6o, I35cf63e7kg5on, Ibq6b0nsk23kj8, I2i1tilmsb1rl1, I4l0u1h71fhj81, Ib0voua2mn0e9p, I2lu1qfhumniu5, I610p36i3b2gsq, Ii64qoo6q5lth, I3qt1hgg4djhgb, I77a9b6eik0rui, Ics8sn0t3vlpat, I6p5nbogrodkcc, I7pgj3rnfo83eg, Ic11mlh16sngai, I4vbsn8c7ui70f, I60m5cjc6e18ab, Iauknf9up388mv, Ieh252ua9757u1, Iest0fomljvrb6, I2d6orhhgh5et2, I61qqrdtcoqkmf, Ijqmlm7h71nc1, I3i06ijrvdoq97, Ibc2f5cr6dqguj, Ict41p83kvak7n, I3qhjmr9i9etho, I13ss7bvftqcnq, Ic3gahhrcopfnt, I9n7ns8k72amhv, I2co61imvsepb6, Icjk91npopm3h9, Ie03o0h06lol9p, I1ko6jcqv0sqm4, I6a1eig522s2p0, I7mcjnqos9shs1, I6ap0qjh5n5817, Ionfhf9va2t31, I2q5tg6q1ekfm6, Ics51ctc9oasbt, Ibbvcet1pv1l61, I67bpqa7o2ocua, I2holodggoluon, Ib5umq5uf644jr, I9r83fr4b3rmmj, I24s4g6gkj5oec, Iapqe6jot9df6, If64i3fucaastf, Ietluscr05n0a8, Idcabvplu05lea, I2ncccle6pmhd9, I92bnd3pe0civj, Ic84i538n8bl8j, Ia8ogbeici6lip, Itmchvgqfl28g, I10hmgseei3j6r, I8p4numg1r4ojm, Idtucog650c7f8, I4kvfua9fqrpi2, I7t5blhj97u8r7, I21qpgggberqt3, Id7r4m9aulb7sn, Ielqbuofrsq2ri, I3hno1r9147mro, Iaihikf7d0fpt7, Iaehj4ajaudum7, Id83ilm95if0sl, I82r4tvnf2s05i, I2pi935s6uqbh, Ib9aiguc778ujf, I9kh2rsujv5e38, I5n4sebgkfr760, I787h0od92j8h7, Ifs1i5fk9cqvr6, I2eu2ba92jur2b, I4va38a22flppg, Ieg3fd8p4pkt10, I8kg5ll427kfqq, I467333262q1l9, I60v7bikk54tpu, Ifpj261e8s63m3, I9paqujeb1fpv6, Iakevv83i18n4r, If2ssl12kcglhg, Iabk8ljl5g8c86, Ic76kfh5ebqkpl, Icrujen33bbibf, I5gi8h3e5lkbeq, Ibgm4rnf22lal1, I8mmaab8je28oo, I6r0pr82pbiftt, I40pqum1mu8qg3, I1r4c2ghbtvjuc, I6t8mv3ij8f6jn, Idu1ujel33jksu, I1ii8c8cvda9o5, I40fog3d0qlub1, Ibahh2k28pd3rl, Iaif2nhfhk9qc0, Ifccifqltb5obi, Iadtsfv699cq8b, Ialpmgmhr3gk5r, I4cbvqmqadhrea, I3sdol54kg5jaq, I8fougodaj6di6, I81vt5eq60l4b6, Iabgdocrka40v9, I1mgp2bgbi0s5n, Ia82mnkmeo2rhc, I9nlsgr5tfcpop, I855j4i3kr8ko1, Icv68aq8841478, Ic262ibdoec56a, Iflcfm9b6nlmdd, Ijrsf4mnp3eka, I8tjvj9uq4b7hi, I4fooe9dun9o0t, Ier2cke86dqbr2, I1o37fpk9vgbri, I859063tfqget1, I8iksqi3eani0a, I16enopmju1p0q, I43kq8qudg7pq9, I76riseemre533, Ie5v6njpckr05b, I38bmcrmh852rk, I4hcillge8de5f, I8usdc6tg7829p, Ifeg7nelldbms5, I8irmtb4bt3f4, Iu8nj6pbeqo09, Iep1lmt6q3s6r3, I1fac16213rie2, Ifjt77oc391o43, Itvt1jsipv0lc, Ick3mveut33f44, Ibdqerrooruuq9, I8u2ba9jeiu6q0, I7ieadb293k6b4, I3peh714diura8, I62ffgu6q2478o, I10r7il4gvbcae, I2c00i2bngegk9, Iet7kfijhihjik, I2vrbos7ogo6ps, Iffeo46j957abe, I4ljshcevmm3p2, Iaofef34v2445a, Ie3gphha4ejh40, I4b66js88p45m8, I50d9r8lrdga93, I27avf13g71mla, Ift6f10887nk72, I7qc53b1tvqjg2, I7rukb7fiibqm1, Iak7fhrgb9jnnq, Iep7an7g10jgpc, Ierev02d74bpoa, Ic836gl3ins837, Ic3vmcebni2jj7, I2ur0oeqg495j8, I3opji3hcv2fmd, Iep27ialq4a7o7, Iasu5jvoqr43mv, Ie60gfjs4jhjtt, I5qolde99acmd1, I86naabrotue2j, I2r637rurl4t61, Iar6hlsh10hqst, I89nkv9adctj3n, I5seehdocrcoau, Ic2kg6kak0gd23, I2odpdgf7k5003, Ifmob7l1au7mdj, Iagqcb06kbevb1, Iec8defeh924b6, I2na29tt2afp0j, I9qfchhljqsjjl, I229ijht536qdu, I62nte77gksm0f, I9cg2delv92pvq, Ilhp45uime5tp, I4f1hv034jf1dt, Ibctpusqmmqkts, I6cn8fgvhihc8u, Iaa8ldhnekkm2a, Ir72g75rutn0i, I7i2rquf9o1sc4, I32ndibr4v59gl, Ichvhj93no2r9s, Ibo4guh1r2d417, I5bdik3e9dtr9m, Idml4kfacbec4q, I5po34152rrdd1, I8gu0uupiacpfc, I3qaapujidulnv, I5u2c8nrbcec0n, I193fovq1blcqu, I4qeb32vu4p1o2, Icatb69nkfsv2d, Iao3tfuiovep78, I1cq0joe6ba7us, I8p8774nu1gec7, I58kb78e8933i0, Idhf8n2m782jc6, I8qbcd8kjt9b35, I9fddbmtajbhgk, I16oglmrf6q8h2, I56vurdc4pd324, Iv3iro9hpdvcu, I725512ll00rul, Ibnohbnq46n24i, If1007933akv96, I11glevchscfbg, Ifrsdu7763lo3e, I1rcm9o2k31p0u, I90op6i3kabg2t, If7ps0a75qku2k, I4qcsbrcg45e5p, I2gupahud9i8tv, I3c8uq5e593bac, I88qo502j1hm6r, I44sqbdseede38, I203slt75ll6b5, I9buamva6m987d, I931cottvong90, I15i908ukdv01j, I3md9r9ud9jcmi, I4rlrhubptb25s, Ibb0j2hs2i32f5, Iae6luacdfosbm, Idvrgp2jjkjaee, I6q2a2o24kbh1n, Iflfus32kckdgg, I7e9lbuqrul79d, Idpc6o3gv6oduv, I789ltv1nd8rlg, I5nm6uebbrcvd2, I1966f4idd9els, I8hof8vbjel5j0, Ic20as3skakdjb, Ieg2h8ei7d5hi, I8c5lgkcpg07sj, Ieas3thfe5cojl, I32su7o3fj1ksq, I82vqlr4shhaso, I2age4ibb0qdmq, I4do2q74i35m, Iehf2srrsvlrt4, I1a3321bv4rsn2, Ibmagsilt697o6, I73g6utvpcmklb, I4uo49pmivhb33, Ifmc9boeeia623, Iea4g5ovhnolus, I8363i1h1dgh0n, Ibqjgs3foip9fb, I4o7otrppfgqfl, I4h1hamhsvt02v, Ibil4nv30gc4gi, I2k8785n6tr14a, I1mm5epgr01rv3, Ia4163nej70ub3, Iec641q1s1ifm2, I4rrqp6atse8pe, Ia0dionc8vba5c, I140nraqvlukpk, Irs8utdvl0ftp, I812gfe6tbkjp5, Iumh462jqskl8, I88rod389g4u8f, I800ao1sp2p8qb, Ia3c82eadg79bj, Ienusoeb625ftq, Idd7hd99u0ho0n, Iafscmv8tjf0ou, I100l07kaehdlp, I6gnbnvip5vvdi, I2aatv5i0cb96a, Ib9msr5sr8t3dn, I3le5tr7ugg6l2, I3iun9sig164po, I2uqmls7kcdnii, Idg69klialbkb8, I13jboebjcbglr, I30pg328m00nr3, I381dkhrurdhrs, Ic8hi3qr11vngc, Ibjdlecumfu7q7, Ia9ems1kg7laoc, I92fq0fa45vi3, Id01dpp0dn2cj0, I6nu8k62ck9o8o, I6s1nbislhk619, Iea25i7vqm7ot3, I137t1cld92pod, I1rvj4ubaplho0, Ia3uu7lqcc1q1i, I7crucfnonitkn, I7tmrp94r9sq4n, Id3ajno3thjgec, Ic04t5m0ihvrp5, I7id9rd759h17f, I39t01nnod9109, I1qmtmbe5so8r3, Ih99m6ehpcar7, Idgorhsbgdq2ap, I9ubb2kqevnu6t, I2hq50pu2kdjpo, I24lhsedeb3v58, Ibplkiqg5rvr3e, Icnmrtlo128skq, Icojqvn3afk41n, Iaqet9jc3ihboe, Ic952bubvq4k7d, I2v50gu3s1aqk6, Iabpgqcjikia83, Ibfpn9u4lmbmeh, If7uv525tdvv7a, I2an1fs2eiebjp, TransactionValidityTransactionSource, Iajbob6uln5jct, Icerf8h8pdu8ss, Ic1d4u2opv3fst, I4g15ko4u63fja, I6spmpef2c7svf, Iei2mvq0mjvt81, If08sfhqn8ujfr, Ic4rgfgksgmm3e, I3dj14b7k3rkm5, I7nr81um14s9o6, I9sth4k4p99u3p, Ifogockjiq4b3, I2r0n4gcrs974b, Ie6kgk6f04rsvk, Ibkook56hopvp8, I1fl9qh2r1hf29, I4arjljr6dpflb, I45rl58hfs7m0h, I6fr2mqud652ga, Ihfphjolmsqq1, I1p1369d52j8jd, XcmVersionedXcm, Ic0c3req3mlc1l, XcmVersionedAssetId, I7ocn4njqde3v5, XcmVersionedLocation, I5rlt6h8ph553n, I8rbu1vdc38cnp, Ieq9i70jh4r8fl, I7gtncval3f31r, Ieh6nis3hdbtgi, Ic0hbkpnq21991, I35p85j063s0il, Id5qsstfl1fkb3, I3ii6nera7pkr8, Ie9sr1iqcg3cgm, I1mqgk2tmnn9i2, I6lr8sctk0bi4e, Ibsd2i1qrri6jt } from "./common-types";
|
|
2
|
+
import { I5sesotjlssv2d, Iffmde3ekjedi9, I4mddgoa69c0a2, I8b11817odi77a, I95g6i7ilua7lq, Ieniouoqkq4icf, Phase, Ibgl04rn6nbfm6, I1q8tnt1cluu5j, I8ds64oj6581v0, Ia7pdug7cdsg8g, I3oiqtmlj7klbr, I9bin2jc70qt6q, TransactionPaymentReleases, Iegmj7n48sc3am, Icgljjb6j82uhn, Ie9j1itogtv7p5, PreimageOldRequestStatus, PreimageRequestStatus, I4pact7n2e9a0i, I1evsr8hplu1lg, I910puuahutflf, I4nfjdef0ibh44, I74af64m08r6as, I9bhbof2vim227, I6ouflveob4eli, I6mhebgj62g585, I3vhcedhm4hpvm, I526daka7j7b17, Ifanv2kvm586s4, I5rsgtofmn5lli, Idned7t7knml6b, I2itl2k1j2q8nf, Ic5m5lp1oioo8r, I6c43drp887phj, I99bb69usss9gs, Ia2lhg7l2hilo3, Iegjdtqhbb6qh9, I9p9lq3rej5bhc, Iag146hmjgqfgj, I8uo3fpd3bcc6f, Ianufjuplcj6u4, Ic3orq32is6lrl, I95l2k9b1re95f, I2mv9dvsaj3kcr, I200n1ov5tbcvr, I7781vnk0rm9eq, Ie2iqtdb0stqo1, I974uplh4fafs4, Ic9nev69d8grv1, If354jrdedj0pj, Ib17t3992hb64n, I215mkl885p4da, ConvictionVotingVoteVoting, If9jidduiuq7vv, Ibonvg03jegqd2, Ifj0li5nn5unet, I4c0s5cioidn76, Isibf8mrredhc, I8ikpj86u2na1q, Icbsch55a85u5u, Idkbvh6dahk1v7, I5ugnv0dol8v8t, I1ksaufim9dq1c, Ielgh4t8o7rcvt, I3rvqhkck00laj, I9jd27rnpm8ttv, I7bcpl5g2rcql5, I4vdvk2616mp4t, Iep7au1720bm0e, I48olja7kd2ijk, I94ue2k0qjjmh, I14tu3k4kt0e26, I4kv0johj9i346, Ibn3i0ad6beo5l, I5aq7tv9lofc3v, I10uqvdcdcld3o, I3fgr93o42d9hi, Ihjc2vmjfhsmq, I663kh18bno0fo, I1p5pqg6bllgtl, Ibvb0fi020hjcf, If87m5gtpa546f, I4ojmnsk1dchql, Iesq88051ch8ht, I9qpa0evftgoo5, I4qc61lpfqml75, I1stghsu756nk9, Idqn78enhf4jrq, Ic02kut0350gb0, I199nnq793ql30, I7jidl7qnnq87c, I82cps8ng2jtug, Ifitc0q6ckjb3j, Idi27giun0mb9q, Idud3fdh64aqp9, Ie7atdsih6q14b, I4totqt881mlti, Id32h28hjj1tch, I66gvo4ilpv28i, I2q8d4829ff4jd, I208fp43uepvqb, I56u24ncejr5kt, I1v7jbnil3tjns, I8jgj1nhcr2dg8, Ifn6q3equiq9qi, Ia3sb0vgvovhtg, Iav8k1edbj86k7, Itom7fk49o0c9, I4i91h98n3cv1b, I4iumukclgj8ej, Iqnbvitf7a7l3, I6r5cbv8ttrb09, I4q39t5hn830vp, XcmPalletQueryStatus, Ic4qvh5df9s5gp, I7vlvrrl2pnbgk, I50sjs3s5lud21, XcmPalletVersionMigrationStage, I50qp0ij7h62g2, Iteuj23is2ed5, I3rp19gb4dadaa, Iegrepoo0c1jc5, Ib77b0fp1a6mjr, I5g2vv0ckl2m8b, Ifup3lg9ro8a0f, Idh2ug6ou4a8og, Iejeo53sea6n4q, I53esa2ms463bk, Ib4jhb8tt3uung, Id0as9l3s817qs, Ifmurjhsco5svb, Ifi4da1gej1fri, Ifvgo9568rpmqc, I82jm9g7pufuel, I6cs1itejju2vv, I8kbiofpboejrm, I9ae1049tiuvhb, I1os9h4ivict7u, Isa48262v9oqu, I7k4nkfs24tj3, In7a38730s6qs, If15el53dd76v9, I9s0ave7t0vnrk, Ic6nglu2db2c36, Ibafpkl9hhno69, I9m0752cdvui5o, Ie5fbn0f5capo3, Ia9ai1mp1viqjd, Ie4gu6f3b6uctq, Iasb8k6ash5mjn, I8ofcg5rbj0g2c, I4adgbll7gku4i, I6pjjpfvhvcfru, I9pj91mj79qekl, I39uah9nss64h9, Ik64dknsq7k08, Ib51vk42m1po4n, Idcr6u6361oad9, I1o12ibtjm10ot, I8vn14j8a40qm, I493o732nahjlr, Id5fm4p8lj5qgi, Ibmr18suc9ikh9, I4og34pg4ruv5d, I5u8olqbbvfnvf, I5utcetro501ir, Ic1e6uvbf8ado3, Ie7oqvfdar8r2, I6v8sm60vvkmk7, I92pum5p0t4pat, Idscf6boak49q1, Icm9m0qeemu66d, I6qq5nnbjegi8u, I666bl2fqjkejo, Iagml1jgp94hrb, Iae77e4qe7jsnl, I551ut68qoq89v, Ia8hh29toi1nvl, I82nfqfkd48n10, I1jm8m1rh9e20v, I3o5j3bli1pd8e, Icbccs0ug47ilf, I2kds5jji7slh8, Ia9mkdf6l44shb, I9l2s4klu0831o, I2ctrt5nqb8o7c, I711qahikocb1c, I93c18nim2s66c, Id6gojh30v9ib2, Ica5n28rlj0lk6, I14p0q0qs0fqbj, Ie3u4phm019a8l, I9jie72r7q6717, I3alo542n0mgp, I2rg5btjrsqec0, I21r37il499a97, Ie5l999tf7t2te, I1moso5oagpiea, Ibeb4n9vpjefp3, Id7murq9s9fg6h, Ied9mja4bq7va8, I4f7jul8ljs54r, I5agg650597e49, I2ev73t79f46tb, Iab64mce6q91i, I7ji3jng252el9, I3v9h9f3mpm1l8, I9mnj4k4u8ls2c, I2kt2u1flctk2q, I38jfk5li8iang, I4b58fcokqnatd, I42fdtnr0bce1h, I2dtrijkm5601t, Ib2obgji960euh, I23p5jf4uevg27, I2e1ekg17a2uj2, I9uff8o8g5b5av, I1acluqiqlacck, Idkqesere66fs7, Ifs54vj2idl9k4, I2gso5r86avn0v, I2p3q9d3gs5ik8, I66kf07ob6fj5h, Ideaemvoneh309, I3d9o9d7epp66v, I3rrsthr03bsf8, I1it6nfuocs3uo, I83qeclck631s2, I846j8gk91gp4q, I4apbr3d7b110l, I9svbf1ionsuba, I63enm20toa64c, I92ucef7ff2o7l, I88sl1jplq27bh, I2970lus2v0qct, I1vsbo63n9pu69, I3fatc2oi4mp63, I1j3v9uknthnij, I6ng2cdk1vvip6, I62ht2i39rtkaa, Ichf8eu9t3dtc2, I9e4bfe80t2int, I9oai3q0an1tbo, I90ivo9n6p6nqo, Idj9k8sn80h3m6, I64f3h3tf92u6f, Ifnmu9mlmgtdbf, I7psec5e6ghc64, I2psb0sladd863, I585tk8khua0gk, I3ut99di214ru2, Iemkp87d26vsbh, I4ahfrt5dscf6q, Idnsr2pndm36h0, Itcpv4hqecjfj, I8steo882k7qns, I9qtj66dgng975, I5f178ab6b89t3, Iduerupfbc8ruc, Idmp3d9eg1lpon, Icbio0e1f0034b, I8c0vkqjjipnuj, I1adbcfi5uc62r, Ibf6ucefn8fh49, Ido81hgut23md6, I751qqvaehf2dt, Iejcu4gr9du24t, I9hlpdu483dt8k, I4a8hon12idk34, Ia5le7udkgbaq9, Ib2p3kr78drjc1, Ida2ijjar0n0j3, Ing3etrevsfg0, Ietsl92b11kilg, Icqdi7b9m95ug3, Ieuqv44kptstcs, I6vhvcln14dp4d, Ievca65alkkho9, I2qkf9i0e8mf1f, Iefviakco48cs2, Iakb7idgif10m8, Id7aqsj1u6b2r2, Icah19jgge5j3e, I2bi2kbaaunr13, Ian208gj7nqkdo, I81d44muu393rf, I3iojc1k1m6nu7, I9q8qmop6bko5m, Ial2ta95n8ff3b, Iammrvujtc5lnk, I87j02rt3f17j8, Iasmn3c065hq91, Ia5kd7m19ap7ge, Ieq7brqoubndin, Ie8ft8rd6cil27, I2k37dcoppgins, Ia05t9pjenemsb, I4rm8rabbdt645, I9sh4kg79d0vn, I5k5ne4orot4oe, Idtg418thlu95, I8utns9aeu3t6o, I35cf63e7kg5on, Ibq6b0nsk23kj8, I2i1tilmsb1rl1, I4l0u1h71fhj81, I5qnn28n6p0qll, If4ebvclj2ugvi, Ifc3gfgolmaqf7, I651losl68jmo5, I5dlvf0cogf3c3, Ie6nueo20p04gk, Imgejls0d51oq, I3qt1hgg4djhgb, I77a9b6eik0rui, Ics8sn0t3vlpat, I6p5nbogrodkcc, I7pgj3rnfo83eg, Ic11mlh16sngai, I4vbsn8c7ui70f, I60m5cjc6e18ab, Iauknf9up388mv, Ieh252ua9757u1, Iest0fomljvrb6, I2d6orhhgh5et2, I8ij5e2p0aqu6i, Ijqmlm7h71nc1, Ibmmi1tbvqjkf9, I4f24vd3pvt9k, I3i06ijrvdoq97, Ibc2f5cr6dqguj, I4pj97i2e0a0rb, I3qhjmr9i9etho, I13ss7bvftqcnq, Ic3gahhrcopfnt, I9n7ns8k72amhv, I2co61imvsepb6, Icjk91npopm3h9, Ie03o0h06lol9p, I1ko6jcqv0sqm4, I6a1eig522s2p0, I7mcjnqos9shs1, I6ap0qjh5n5817, Ionfhf9va2t31, I7ac77tpv6n2an, Ics51ctc9oasbt, I9f388t40fmtpk, Ie6d997npqi7i1, I5c1masltr8a0p, Ie3e48phue9bu5, Ia6cch7ainm5jo, Iajpteohigflga, Ibbvcet1pv1l61, I67bpqa7o2ocua, I2holodggoluon, Ib5umq5uf644jr, I9r83fr4b3rmmj, I24s4g6gkj5oec, Iapqe6jot9df6, If64i3fucaastf, Ietluscr05n0a8, Idcabvplu05lea, I2ncccle6pmhd9, I92bnd3pe0civj, Ic84i538n8bl8j, Ia8ogbeici6lip, Itmchvgqfl28g, I10hmgseei3j6r, I8p4numg1r4ojm, Idtucog650c7f8, I4kvfua9fqrpi2, I7t5blhj97u8r7, I21qpgggberqt3, Id7r4m9aulb7sn, Ielqbuofrsq2ri, I3hno1r9147mro, Iaihikf7d0fpt7, Iaehj4ajaudum7, Id83ilm95if0sl, I82r4tvnf2s05i, Icojrb9unj3i10, Ib9aiguc778ujf, If717qi93ptgpe, I5n4sebgkfr760, Id843oqfk17p28, Ifs1i5fk9cqvr6, Iajckkqa1nnbou, Icdn8al2st9dvj, Ieg3fd8p4pkt10, I8kg5ll427kfqq, I467333262q1l9, I60v7bikk54tpu, Ifpj261e8s63m3, I9paqujeb1fpv6, Iakevv83i18n4r, If2ssl12kcglhg, Iabk8ljl5g8c86, Ic76kfh5ebqkpl, Icrujen33bbibf, I5gi8h3e5lkbeq, Ibgm4rnf22lal1, I8mmaab8je28oo, I6r0pr82pbiftt, I40pqum1mu8qg3, I1r4c2ghbtvjuc, I6t8mv3ij8f6jn, Idu1ujel33jksu, I1ii8c8cvda9o5, I40fog3d0qlub1, Ibahh2k28pd3rl, Iaif2nhfhk9qc0, Ifccifqltb5obi, Iadtsfv699cq8b, Ialpmgmhr3gk5r, I4cbvqmqadhrea, I3sdol54kg5jaq, I8fougodaj6di6, I81vt5eq60l4b6, Iabgdocrka40v9, I1mgp2bgbi0s5n, Ia82mnkmeo2rhc, I8r4aieb1ssb4f, I855j4i3kr8ko1, Icv68aq8841478, Ic262ibdoec56a, Iflcfm9b6nlmdd, Ijrsf4mnp3eka, I8tjvj9uq4b7hi, I4fooe9dun9o0t, Ier2cke86dqbr2, I1o37fpk9vgbri, I859063tfqget1, I8iksqi3eani0a, I16enopmju1p0q, I43kq8qudg7pq9, I76riseemre533, Ie5v6njpckr05b, I38bmcrmh852rk, I4hcillge8de5f, I8usdc6tg7829p, I4uh1fq0qqpf5o, I1ofejmsmshuso, Ifnqdavuhjiv8r, Iep1lmt6q3s6r3, I1fac16213rie2, Ifjt77oc391o43, Itvt1jsipv0lc, Ick3mveut33f44, Ibdqerrooruuq9, I8u2ba9jeiu6q0, I7ieadb293k6b4, I3peh714diura8, I62ffgu6q2478o, I10r7il4gvbcae, I2c00i2bngegk9, Iet7kfijhihjik, I2vrbos7ogo6ps, Iffeo46j957abe, I4ljshcevmm3p2, Ift6f10887nk72, I7qc53b1tvqjg2, I98hgambi0pist, Iak7fhrgb9jnnq, Ic3vmcebni2jj7, I2ur0oeqg495j8, I3opji3hcv2fmd, Iep27ialq4a7o7, Iasu5jvoqr43mv, I529tipghbmk8u, I5qolde99acmd1, I86naabrotue2j, I2r637rurl4t61, Iar6hlsh10hqst, I89nkv9adctj3n, I5seehdocrcoau, Ic2kg6kak0gd23, I2odpdgf7k5003, Ifmob7l1au7mdj, Iagqcb06kbevb1, Iec8defeh924b6, I2na29tt2afp0j, I9qfchhljqsjjl, I229ijht536qdu, I62nte77gksm0f, I9cg2delv92pvq, Ilhp45uime5tp, I4f1hv034jf1dt, I3g8msgr18to3p, I6cn8fgvhihc8u, Iaa8ldhnekkm2a, Ir72g75rutn0i, I7i2rquf9o1sc4, I32ndibr4v59gl, Ichvhj93no2r9s, Ibo4guh1r2d417, I5bdik3e9dtr9m, Idml4kfacbec4q, I5po34152rrdd1, I8gu0uupiacpfc, I3qaapujidulnv, I5u2c8nrbcec0n, I193fovq1blcqu, I4qeb32vu4p1o2, Icatb69nkfsv2d, Iao3tfuiovep78, I1cq0joe6ba7us, I8p8774nu1gec7, I58kb78e8933i0, Idhf8n2m782jc6, I8qbcd8kjt9b35, I9fddbmtajbhgk, I16oglmrf6q8h2, I56vurdc4pd324, Iv3iro9hpdvcu, I725512ll00rul, Ibnohbnq46n24i, If1007933akv96, I11glevchscfbg, Iepgfued24hpeb, Ifrsdu7763lo3e, I1rcm9o2k31p0u, I90op6i3kabg2t, If7ps0a75qku2k, I4qcsbrcg45e5p, I2gupahud9i8tv, I59jkmlks7g3ck, I88qo502j1hm6r, I44sqbdseede38, I203slt75ll6b5, I9buamva6m987d, I931cottvong90, I15i908ukdv01j, I3md9r9ud9jcmi, I4rlrhubptb25s, Ibb0j2hs2i32f5, Iae6luacdfosbm, Idvrgp2jjkjaee, I6q2a2o24kbh1n, Iflfus32kckdgg, I7e9lbuqrul79d, Idpc6o3gv6oduv, I789ltv1nd8rlg, I5nm6uebbrcvd2, I1966f4idd9els, I8hof8vbjel5j0, Ic20as3skakdjb, Ieg2h8ei7d5hi, I8c5lgkcpg07sj, Ieas3thfe5cojl, I32su7o3fj1ksq, Iac6dfqlo4u73t, Id2vo4qi5agnp0, I6k4kj0v2ro6sb, I4243hifj8lu9n, I82m2k02o0m2g2, I82vqlr4shhaso, I2age4ibb0qdmq, I4do2q74i35m, Iehf2srrsvlrt4, I1a3321bv4rsn2, Ibmagsilt697o6, I73g6utvpcmklb, I4uo49pmivhb33, Ifmc9boeeia623, Iea4g5ovhnolus, I8363i1h1dgh0n, Ibqjgs3foip9fb, I4o7otrppfgqfl, I4h1hamhsvt02v, Ibil4nv30gc4gi, I2k8785n6tr14a, I1mm5epgr01rv3, Ia4163nej70ub3, Iec641q1s1ifm2, I4rrqp6atse8pe, I4t1p53ss00k9n, I140nraqvlukpk, Irs8utdvl0ftp, I816ndt8f0o7bo, Iumh462jqskl8, I9lvggssnq8q57, I34p2kpdh169oe, Ia3c82eadg79bj, Ienusoeb625ftq, Idd7hd99u0ho0n, Iafscmv8tjf0ou, I100l07kaehdlp, I6gnbnvip5vvdi, I2aatv5i0cb96a, Ib9msr5sr8t3dn, I3le5tr7ugg6l2, I3iun9sig164po, I2uqmls7kcdnii, Idg69klialbkb8, I13jboebjcbglr, I30pg328m00nr3, I381dkhrurdhrs, Ic8hi3qr11vngc, Ibjdlecumfu7q7, Ia9ems1kg7laoc, I92fq0fa45vi3, Id01dpp0dn2cj0, I6nu8k62ck9o8o, I6s1nbislhk619, Iea25i7vqm7ot3, I137t1cld92pod, I1rvj4ubaplho0, Ia3uu7lqcc1q1i, I7crucfnonitkn, I7tmrp94r9sq4n, Id3ajno3thjgec, Ic04t5m0ihvrp5, I7id9rd759h17f, I39t01nnod9109, I1qmtmbe5so8r3, Ih99m6ehpcar7, Idgorhsbgdq2ap, I9ubb2kqevnu6t, I2hq50pu2kdjpo, Iflbjpb22ffvu4, Ibplkiqg5rvr3e, Icnmrtlo128skq, Icojqvn3afk41n, Iaqet9jc3ihboe, Ic952bubvq4k7d, I2v50gu3s1aqk6, Iabpgqcjikia83, Iemoogi4pod9je, If7uv525tdvv7a, I2an1fs2eiebjp, TransactionValidityTransactionSource, Iajbob6uln5jct, Icerf8h8pdu8ss, Ic1d4u2opv3fst, I4g15ko4u63fja, I6spmpef2c7svf, Iei2mvq0mjvt81, If08sfhqn8ujfr, Ic4rgfgksgmm3e, I3dj14b7k3rkm5, I6jjdlit6ip0v2, I3jgo13jo62eap, Ifogockjiq4b3, I2r0n4gcrs974b, Ie6kgk6f04rsvk, Ibkook56hopvp8, I1fl9qh2r1hf29, I4arjljr6dpflb, I45rl58hfs7m0h, I6fr2mqud652ga, Ihfphjolmsqq1, I1p1369d52j8jd, XcmVersionedXcm, Ic0c3req3mlc1l, XcmVersionedAssetId, I7ocn4njqde3v5, XcmVersionedLocation, I5rlt6h8ph553n, Iathhdqc4u75dj, Iu35mn8gagoqa, Ia5ed032pojlpv, Ieh6nis3hdbtgi, Ic0hbkpnq21991, I35p85j063s0il, Id5qsstfl1fkb3, I3ii6nera7pkr8, Ie9sr1iqcg3cgm, I1mqgk2tmnn9i2, I6lr8sctk0bi4e, Ics48kf47718nc } 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<I8b11817odi77a>, false, never>;
|
|
65
65
|
/**
|
|
66
66
|
* The number of events in the `Events<T>` list.
|
|
67
67
|
*/
|
|
@@ -358,66 +358,6 @@ type IStorage = {
|
|
|
358
358
|
*/
|
|
359
359
|
MetadataOf: StorageDescriptor<[Key: Anonymize<I2itl2k1j2q8nf>], FixedSizeBinary<32>, true, never>;
|
|
360
360
|
};
|
|
361
|
-
Elections: {
|
|
362
|
-
/**
|
|
363
|
-
* The current elected members.
|
|
364
|
-
*
|
|
365
|
-
* Invariant: Always sorted based on account id.
|
|
366
|
-
*/
|
|
367
|
-
Members: StorageDescriptor<[], Anonymize<I8nj9dlo7lnbb3>, false, never>;
|
|
368
|
-
/**
|
|
369
|
-
* The current reserved runners-up.
|
|
370
|
-
*
|
|
371
|
-
* Invariant: Always sorted based on rank (worse to best). Upon removal of a member, the
|
|
372
|
-
* last (i.e. _best_) runner-up will be replaced.
|
|
373
|
-
*/
|
|
374
|
-
RunnersUp: StorageDescriptor<[], Anonymize<I8nj9dlo7lnbb3>, false, never>;
|
|
375
|
-
/**
|
|
376
|
-
* The present candidate list. A current member or runner-up can never enter this vector
|
|
377
|
-
* and is always implicitly assumed to be a candidate.
|
|
378
|
-
*
|
|
379
|
-
* Second element is the deposit.
|
|
380
|
-
*
|
|
381
|
-
* Invariant: Always sorted based on account id.
|
|
382
|
-
*/
|
|
383
|
-
Candidates: StorageDescriptor<[], Anonymize<Iba9inugg1atvo>, false, never>;
|
|
384
|
-
/**
|
|
385
|
-
* The total number of vote rounds that have happened, excluding the upcoming one.
|
|
386
|
-
*/
|
|
387
|
-
ElectionRounds: StorageDescriptor<[], number, false, never>;
|
|
388
|
-
/**
|
|
389
|
-
* Votes and locked stake of a particular voter.
|
|
390
|
-
*
|
|
391
|
-
* TWOX-NOTE: SAFE as `AccountId` is a crypto hash.
|
|
392
|
-
*/
|
|
393
|
-
Voting: StorageDescriptor<[Key: SS58String], Anonymize<Ib23vkkc52tqbu>, false, never>;
|
|
394
|
-
};
|
|
395
|
-
Council: {
|
|
396
|
-
/**
|
|
397
|
-
* The hashes of the active proposals.
|
|
398
|
-
*/
|
|
399
|
-
Proposals: StorageDescriptor<[], Anonymize<Ic5m5lp1oioo8r>, false, never>;
|
|
400
|
-
/**
|
|
401
|
-
* Actual proposal for a given hash, if it's current.
|
|
402
|
-
*/
|
|
403
|
-
ProposalOf: StorageDescriptor<[Key: FixedSizeBinary<32>], Anonymize<Ick2k1hvh0bm22>, true, never>;
|
|
404
|
-
/**
|
|
405
|
-
* Votes on a given proposal, if it is ongoing.
|
|
406
|
-
*/
|
|
407
|
-
Voting: StorageDescriptor<[Key: FixedSizeBinary<32>], Anonymize<I99bb69usss9gs>, true, never>;
|
|
408
|
-
/**
|
|
409
|
-
* Proposals so far.
|
|
410
|
-
*/
|
|
411
|
-
ProposalCount: StorageDescriptor<[], number, false, never>;
|
|
412
|
-
/**
|
|
413
|
-
* The current members of the collective. This is stored sorted (just by value).
|
|
414
|
-
*/
|
|
415
|
-
Members: StorageDescriptor<[], Anonymize<Ia2lhg7l2hilo3>, false, never>;
|
|
416
|
-
/**
|
|
417
|
-
* The prime member that helps determine the default vote behavior in case of abstentions.
|
|
418
|
-
*/
|
|
419
|
-
Prime: StorageDescriptor<[], SS58String, true, never>;
|
|
420
|
-
};
|
|
421
361
|
TechnicalCommittee: {
|
|
422
362
|
/**
|
|
423
363
|
* The hashes of the active proposals.
|
|
@@ -426,7 +366,7 @@ type IStorage = {
|
|
|
426
366
|
/**
|
|
427
367
|
* Actual proposal for a given hash, if it's current.
|
|
428
368
|
*/
|
|
429
|
-
ProposalOf: StorageDescriptor<[Key: FixedSizeBinary<32>], Anonymize<
|
|
369
|
+
ProposalOf: StorageDescriptor<[Key: FixedSizeBinary<32>], Anonymize<I6c43drp887phj>, true, never>;
|
|
430
370
|
/**
|
|
431
371
|
* Votes on a given proposal, if it is ongoing.
|
|
432
372
|
*/
|
|
@@ -444,19 +384,6 @@ type IStorage = {
|
|
|
444
384
|
*/
|
|
445
385
|
Prime: StorageDescriptor<[], SS58String, true, never>;
|
|
446
386
|
};
|
|
447
|
-
Tips: {
|
|
448
|
-
/**
|
|
449
|
-
* TipsMap that are not yet completed. Keyed by the hash of `(reason, who)` from the value.
|
|
450
|
-
* This has the insecure enumerable hash function since the key itself is already
|
|
451
|
-
* guaranteed to be a secure hash.
|
|
452
|
-
*/
|
|
453
|
-
Tips: StorageDescriptor<[Key: FixedSizeBinary<32>], Anonymize<I8fkfedbgu1sn3>, true, never>;
|
|
454
|
-
/**
|
|
455
|
-
* Simple preimage lookup from the reason's hash to the original data. Again, has an
|
|
456
|
-
* insecure enumerable hash since the key is guaranteed to be the result of a secure hash.
|
|
457
|
-
*/
|
|
458
|
-
Reasons: StorageDescriptor<[Key: FixedSizeBinary<32>], Binary, true, never>;
|
|
459
|
-
};
|
|
460
387
|
Proxy: {
|
|
461
388
|
/**
|
|
462
389
|
* The set of account proxies. Maps the account which has delegated to the accounts
|
|
@@ -560,7 +487,7 @@ type IStorage = {
|
|
|
560
487
|
/**
|
|
561
488
|
* Information concerning any given referendum.
|
|
562
489
|
*/
|
|
563
|
-
ReferendumInfoFor: StorageDescriptor<[Key: number], Anonymize<
|
|
490
|
+
ReferendumInfoFor: StorageDescriptor<[Key: number], Anonymize<Ibonvg03jegqd2>, true, never>;
|
|
564
491
|
/**
|
|
565
492
|
* The sorted list of referenda ready to be decided but not yet being decided, ordered by
|
|
566
493
|
* conviction-weighted approvals.
|
|
@@ -748,6 +675,10 @@ type IStorage = {
|
|
|
748
675
|
* Add liquidity volumes per asset
|
|
749
676
|
*/
|
|
750
677
|
AllowedAddLiquidityAmountPerAsset: StorageDescriptor<[Key: number], Anonymize<I48olja7kd2ijk>, true, never>;
|
|
678
|
+
/**
|
|
679
|
+
|
|
680
|
+
*/
|
|
681
|
+
AssetLockdownState: StorageDescriptor<[Key: number], Anonymize<I94ue2k0qjjmh>, true, never>;
|
|
751
682
|
/**
|
|
752
683
|
* Liquidity limits of assets for removing liquidity.
|
|
753
684
|
* If not set, returns the default limit.
|
|
@@ -762,7 +693,7 @@ type IStorage = {
|
|
|
762
693
|
/**
|
|
763
694
|
* Storing routes for asset pairs
|
|
764
695
|
*/
|
|
765
|
-
Routes: StorageDescriptor<[Key: Anonymize<I4kv0johj9i346>], Anonymize<
|
|
696
|
+
Routes: StorageDescriptor<[Key: Anonymize<I4kv0johj9i346>], Anonymize<I14tu3k4kt0e26>, true, never>;
|
|
766
697
|
};
|
|
767
698
|
DynamicFees: {
|
|
768
699
|
/**
|
|
@@ -770,6 +701,10 @@ type IStorage = {
|
|
|
770
701
|
* Stored as (Asset fee, Protocol fee, Block number)
|
|
771
702
|
*/
|
|
772
703
|
AssetFee: StorageDescriptor<[Key: number], Anonymize<Ibn3i0ad6beo5l>, true, never>;
|
|
704
|
+
/**
|
|
705
|
+
* Stores per-asset fee configuration (Fixed or Dynamic)
|
|
706
|
+
*/
|
|
707
|
+
AssetFeeConfiguration: StorageDescriptor<[Key: number], Anonymize<I5aq7tv9lofc3v>, true, never>;
|
|
773
708
|
};
|
|
774
709
|
Staking: {
|
|
775
710
|
/**
|
|
@@ -813,11 +748,15 @@ type IStorage = {
|
|
|
813
748
|
/**
|
|
814
749
|
* Pool peg info.
|
|
815
750
|
*/
|
|
816
|
-
PoolPegs: StorageDescriptor<[Key: number], Anonymize<
|
|
751
|
+
PoolPegs: StorageDescriptor<[Key: number], Anonymize<Ibvb0fi020hjcf>, true, never>;
|
|
817
752
|
/**
|
|
818
753
|
* Tradability state of pool assets.
|
|
819
754
|
*/
|
|
820
755
|
AssetTradability: StorageDescriptor<Anonymize<I9jd27rnpm8ttv>, number, false, never>;
|
|
756
|
+
/**
|
|
757
|
+
* Temporary pool state storage. Used to save a state of pool in a single block.
|
|
758
|
+
*/
|
|
759
|
+
PoolSnapshots: StorageDescriptor<[Key: number], Anonymize<If87m5gtpa546f>, true, never>;
|
|
821
760
|
};
|
|
822
761
|
Bonds: {
|
|
823
762
|
/**
|
|
@@ -911,6 +850,34 @@ type IStorage = {
|
|
|
911
850
|
*/
|
|
912
851
|
BorrowingContract: StorageDescriptor<[], FixedSizeBinary<20>, false, never>;
|
|
913
852
|
};
|
|
853
|
+
HSM: {
|
|
854
|
+
/**
|
|
855
|
+
* List of approved assets that Hollar can be purchased with
|
|
856
|
+
*
|
|
857
|
+
* This storage maps asset IDs to their collateral configuration information.
|
|
858
|
+
* Only assets in this map can be used to mint or redeem Hollar through HSM.
|
|
859
|
+
* Each collateral has specific parameters controlling its usage in the HSM mechanism.
|
|
860
|
+
*/
|
|
861
|
+
Collaterals: StorageDescriptor<[Key: number], Anonymize<Idqn78enhf4jrq>, true, never>;
|
|
862
|
+
/**
|
|
863
|
+
* Amount of Hollar bought with an asset in a single block
|
|
864
|
+
*
|
|
865
|
+
* This storage tracks how much Hollar has been bought back by HSM for each collateral
|
|
866
|
+
* asset within the current block. This is used to enforce rate limiting on Hollar redemptions.
|
|
867
|
+
* Values are reset to zero at the end of each block in on_finalize.
|
|
868
|
+
*/
|
|
869
|
+
HollarAmountReceived: StorageDescriptor<[Key: number], bigint, false, never>;
|
|
870
|
+
/**
|
|
871
|
+
* Address of the flash loan receiver.
|
|
872
|
+
*/
|
|
873
|
+
FlashMinter: StorageDescriptor<[], FixedSizeBinary<20>, true, never>;
|
|
874
|
+
};
|
|
875
|
+
Parameters: {
|
|
876
|
+
/**
|
|
877
|
+
|
|
878
|
+
*/
|
|
879
|
+
IsTestnet: StorageDescriptor<[], boolean, false, never>;
|
|
880
|
+
};
|
|
914
881
|
Tokens: {
|
|
915
882
|
/**
|
|
916
883
|
* The total issuance of a token type.
|
|
@@ -971,7 +938,11 @@ type IStorage = {
|
|
|
971
938
|
/**
|
|
972
939
|
* Current building block's transactions and receipts.
|
|
973
940
|
*/
|
|
974
|
-
Pending: StorageDescriptor<[], Anonymize<
|
|
941
|
+
Pending: StorageDescriptor<[Key: number], Anonymize<Ifitc0q6ckjb3j>, true, never>;
|
|
942
|
+
/**
|
|
943
|
+
* Counter for the related counted storage map
|
|
944
|
+
*/
|
|
945
|
+
CounterForPending: StorageDescriptor<[], number, false, never>;
|
|
975
946
|
/**
|
|
976
947
|
* The current Ethereum block.
|
|
977
948
|
*/
|
|
@@ -1043,7 +1014,7 @@ type IStorage = {
|
|
|
1043
1014
|
/**
|
|
1044
1015
|
* Storing schedule details
|
|
1045
1016
|
*/
|
|
1046
|
-
Schedules: StorageDescriptor<[Key: number], Anonymize<
|
|
1017
|
+
Schedules: StorageDescriptor<[Key: number], Anonymize<I2q8d4829ff4jd>, true, never>;
|
|
1047
1018
|
/**
|
|
1048
1019
|
* Storing schedule ownership
|
|
1049
1020
|
*/
|
|
@@ -1073,7 +1044,7 @@ type IStorage = {
|
|
|
1073
1044
|
/**
|
|
1074
1045
|
* Items to be executed, indexed by the block number that they should be executed on.
|
|
1075
1046
|
*/
|
|
1076
|
-
Agenda: StorageDescriptor<[Key: number], Anonymize<
|
|
1047
|
+
Agenda: StorageDescriptor<[Key: number], Anonymize<I208fp43uepvqb>, false, never>;
|
|
1077
1048
|
/**
|
|
1078
1049
|
* Retry configurations for items to be executed, indexed by task address.
|
|
1079
1050
|
*/
|
|
@@ -1507,13 +1478,13 @@ type IStorage = {
|
|
|
1507
1478
|
/**
|
|
1508
1479
|
* Accumulator for oracle data in current block that will be recorded at the end of the block.
|
|
1509
1480
|
*/
|
|
1510
|
-
Accumulator: StorageDescriptor<[], Anonymize<
|
|
1481
|
+
Accumulator: StorageDescriptor<[], Anonymize<I8kbiofpboejrm>, false, never>;
|
|
1511
1482
|
/**
|
|
1512
1483
|
* Oracle storage keyed by data source, involved asset ids and the period length of the oracle.
|
|
1513
1484
|
*
|
|
1514
1485
|
* Stores the data entry as well as the block number when the oracle was first initialized.
|
|
1515
1486
|
*/
|
|
1516
|
-
Oracles: StorageDescriptor<Anonymize<I1os9h4ivict7u>, Anonymize<
|
|
1487
|
+
Oracles: StorageDescriptor<Anonymize<I1os9h4ivict7u>, Anonymize<I9ae1049tiuvhb>, true, never>;
|
|
1517
1488
|
/**
|
|
1518
1489
|
* Assets that are whitelisted and tracked by the pallet.
|
|
1519
1490
|
*/
|
|
@@ -1927,7 +1898,7 @@ type ICalls = {
|
|
|
1927
1898
|
* and the error of the failed call. If all were successful, then the `BatchCompleted`
|
|
1928
1899
|
* event is deposited.
|
|
1929
1900
|
*/
|
|
1930
|
-
batch: TxDescriptor<Anonymize<
|
|
1901
|
+
batch: TxDescriptor<Anonymize<Iagml1jgp94hrb>>;
|
|
1931
1902
|
/**
|
|
1932
1903
|
* Send a call through an indexed pseudonym of the sender.
|
|
1933
1904
|
*
|
|
@@ -1943,7 +1914,7 @@ type ICalls = {
|
|
|
1943
1914
|
*
|
|
1944
1915
|
* The dispatch origin for this call must be _Signed_.
|
|
1945
1916
|
*/
|
|
1946
|
-
as_derivative: TxDescriptor<Anonymize<
|
|
1917
|
+
as_derivative: TxDescriptor<Anonymize<Iae77e4qe7jsnl>>;
|
|
1947
1918
|
/**
|
|
1948
1919
|
* Send a batch of dispatch calls and atomically execute them.
|
|
1949
1920
|
* The whole transaction will rollback and fail if any of the calls failed.
|
|
@@ -1959,7 +1930,7 @@ type ICalls = {
|
|
|
1959
1930
|
* ## Complexity
|
|
1960
1931
|
* - O(C) where C is the number of calls to be batched.
|
|
1961
1932
|
*/
|
|
1962
|
-
batch_all: TxDescriptor<Anonymize<
|
|
1933
|
+
batch_all: TxDescriptor<Anonymize<Iagml1jgp94hrb>>;
|
|
1963
1934
|
/**
|
|
1964
1935
|
* Dispatches a function call with a provided origin.
|
|
1965
1936
|
*
|
|
@@ -1968,7 +1939,7 @@ type ICalls = {
|
|
|
1968
1939
|
* ## Complexity
|
|
1969
1940
|
* - O(1).
|
|
1970
1941
|
*/
|
|
1971
|
-
dispatch_as: TxDescriptor<Anonymize<
|
|
1942
|
+
dispatch_as: TxDescriptor<Anonymize<I551ut68qoq89v>>;
|
|
1972
1943
|
/**
|
|
1973
1944
|
* Send a batch of dispatch calls.
|
|
1974
1945
|
* Unlike `batch`, it allows errors and won't interrupt.
|
|
@@ -1984,7 +1955,7 @@ type ICalls = {
|
|
|
1984
1955
|
* ## Complexity
|
|
1985
1956
|
* - O(C) where C is the number of calls to be batched.
|
|
1986
1957
|
*/
|
|
1987
|
-
force_batch: TxDescriptor<Anonymize<
|
|
1958
|
+
force_batch: TxDescriptor<Anonymize<Iagml1jgp94hrb>>;
|
|
1988
1959
|
/**
|
|
1989
1960
|
* Dispatch a function call with a specified weight.
|
|
1990
1961
|
*
|
|
@@ -1993,7 +1964,7 @@ type ICalls = {
|
|
|
1993
1964
|
*
|
|
1994
1965
|
* The dispatch origin for this call must be _Root_.
|
|
1995
1966
|
*/
|
|
1996
|
-
with_weight: TxDescriptor<Anonymize<
|
|
1967
|
+
with_weight: TxDescriptor<Anonymize<Ia8hh29toi1nvl>>;
|
|
1997
1968
|
};
|
|
1998
1969
|
Preimage: {
|
|
1999
1970
|
/**
|
|
@@ -2548,220 +2519,6 @@ type ICalls = {
|
|
|
2548
2519
|
*/
|
|
2549
2520
|
force_remove_vote: TxDescriptor<Anonymize<I7ji3jng252el9>>;
|
|
2550
2521
|
};
|
|
2551
|
-
Elections: {
|
|
2552
|
-
/**
|
|
2553
|
-
* Vote for a set of candidates for the upcoming round of election. This can be called to
|
|
2554
|
-
* set the initial votes, or update already existing votes.
|
|
2555
|
-
*
|
|
2556
|
-
* Upon initial voting, `value` units of `who`'s balance is locked and a deposit amount is
|
|
2557
|
-
* reserved. The deposit is based on the number of votes and can be updated over time.
|
|
2558
|
-
*
|
|
2559
|
-
* The `votes` should:
|
|
2560
|
-
* - not be empty.
|
|
2561
|
-
* - be less than the number of possible candidates. Note that all current members and
|
|
2562
|
-
* runners-up are also automatically candidates for the next round.
|
|
2563
|
-
*
|
|
2564
|
-
* If `value` is more than `who`'s free balance, then the maximum of the two is used.
|
|
2565
|
-
*
|
|
2566
|
-
* The dispatch origin of this call must be signed.
|
|
2567
|
-
*
|
|
2568
|
-
* ### Warning
|
|
2569
|
-
*
|
|
2570
|
-
* It is the responsibility of the caller to **NOT** place all of their balance into the
|
|
2571
|
-
* lock and keep some for further operations.
|
|
2572
|
-
*/
|
|
2573
|
-
vote: TxDescriptor<Anonymize<Iaa13icjlsj13d>>;
|
|
2574
|
-
/**
|
|
2575
|
-
* Remove `origin` as a voter.
|
|
2576
|
-
*
|
|
2577
|
-
* This removes the lock and returns the deposit.
|
|
2578
|
-
*
|
|
2579
|
-
* The dispatch origin of this call must be signed and be a voter.
|
|
2580
|
-
*/
|
|
2581
|
-
remove_voter: TxDescriptor<undefined>;
|
|
2582
|
-
/**
|
|
2583
|
-
* Submit oneself for candidacy. A fixed amount of deposit is recorded.
|
|
2584
|
-
*
|
|
2585
|
-
* All candidates are wiped at the end of the term. They either become a member/runner-up,
|
|
2586
|
-
* or leave the system while their deposit is slashed.
|
|
2587
|
-
*
|
|
2588
|
-
* The dispatch origin of this call must be signed.
|
|
2589
|
-
*
|
|
2590
|
-
* ### Warning
|
|
2591
|
-
*
|
|
2592
|
-
* Even if a candidate ends up being a member, they must call [`Call::renounce_candidacy`]
|
|
2593
|
-
* to get their deposit back. Losing the spot in an election will always lead to a slash.
|
|
2594
|
-
*
|
|
2595
|
-
* The number of current candidates must be provided as witness data.
|
|
2596
|
-
* ## Complexity
|
|
2597
|
-
* O(C + log(C)) where C is candidate_count.
|
|
2598
|
-
*/
|
|
2599
|
-
submit_candidacy: TxDescriptor<Anonymize<I98vh5ccjtf1ev>>;
|
|
2600
|
-
/**
|
|
2601
|
-
* Renounce one's intention to be a candidate for the next election round. 3 potential
|
|
2602
|
-
* outcomes exist:
|
|
2603
|
-
*
|
|
2604
|
-
* - `origin` is a candidate and not elected in any set. In this case, the deposit is
|
|
2605
|
-
* unreserved, returned and origin is removed as a candidate.
|
|
2606
|
-
* - `origin` is a current runner-up. In this case, the deposit is unreserved, returned and
|
|
2607
|
-
* origin is removed as a runner-up.
|
|
2608
|
-
* - `origin` is a current member. In this case, the deposit is unreserved and origin is
|
|
2609
|
-
* removed as a member, consequently not being a candidate for the next round anymore.
|
|
2610
|
-
* Similar to [`remove_member`](Self::remove_member), if replacement runners exists, they
|
|
2611
|
-
* are immediately used. If the prime is renouncing, then no prime will exist until the
|
|
2612
|
-
* next round.
|
|
2613
|
-
*
|
|
2614
|
-
* The dispatch origin of this call must be signed, and have one of the above roles.
|
|
2615
|
-
* The type of renouncing must be provided as witness data.
|
|
2616
|
-
*
|
|
2617
|
-
* ## Complexity
|
|
2618
|
-
* - Renouncing::Candidate(count): O(count + log(count))
|
|
2619
|
-
* - Renouncing::Member: O(1)
|
|
2620
|
-
* - Renouncing::RunnerUp: O(1)
|
|
2621
|
-
*/
|
|
2622
|
-
renounce_candidacy: TxDescriptor<Anonymize<I3al0eab2u0gt2>>;
|
|
2623
|
-
/**
|
|
2624
|
-
* Remove a particular member from the set. This is effective immediately and the bond of
|
|
2625
|
-
* the outgoing member is slashed.
|
|
2626
|
-
*
|
|
2627
|
-
* If a runner-up is available, then the best runner-up will be removed and replaces the
|
|
2628
|
-
* outgoing member. Otherwise, if `rerun_election` is `true`, a new phragmen election is
|
|
2629
|
-
* started, else, nothing happens.
|
|
2630
|
-
*
|
|
2631
|
-
* If `slash_bond` is set to true, the bond of the member being removed is slashed. Else,
|
|
2632
|
-
* it is returned.
|
|
2633
|
-
*
|
|
2634
|
-
* The dispatch origin of this call must be root.
|
|
2635
|
-
*
|
|
2636
|
-
* Note that this does not affect the designated block number of the next election.
|
|
2637
|
-
*
|
|
2638
|
-
* ## Complexity
|
|
2639
|
-
* - Check details of remove_and_replace_member() and do_phragmen().
|
|
2640
|
-
*/
|
|
2641
|
-
remove_member: TxDescriptor<Anonymize<I7hhej9ji2h5gt>>;
|
|
2642
|
-
/**
|
|
2643
|
-
* Clean all voters who are defunct (i.e. they do not serve any purpose at all). The
|
|
2644
|
-
* deposit of the removed voters are returned.
|
|
2645
|
-
*
|
|
2646
|
-
* This is an root function to be used only for cleaning the state.
|
|
2647
|
-
*
|
|
2648
|
-
* The dispatch origin of this call must be root.
|
|
2649
|
-
*
|
|
2650
|
-
* ## Complexity
|
|
2651
|
-
* - Check is_defunct_voter() details.
|
|
2652
|
-
*/
|
|
2653
|
-
clean_defunct_voters: TxDescriptor<Anonymize<I6fuug4i4r04hi>>;
|
|
2654
|
-
};
|
|
2655
|
-
Council: {
|
|
2656
|
-
/**
|
|
2657
|
-
* Set the collective's membership.
|
|
2658
|
-
*
|
|
2659
|
-
* - `new_members`: The new member list. Be nice to the chain and provide it sorted.
|
|
2660
|
-
* - `prime`: The prime member whose vote sets the default.
|
|
2661
|
-
* - `old_count`: The upper bound for the previous number of members in storage. Used for
|
|
2662
|
-
* weight estimation.
|
|
2663
|
-
*
|
|
2664
|
-
* The dispatch of this call must be `SetMembersOrigin`.
|
|
2665
|
-
*
|
|
2666
|
-
* NOTE: Does not enforce the expected `MaxMembers` limit on the amount of members, but
|
|
2667
|
-
* the weight estimations rely on it to estimate dispatchable weight.
|
|
2668
|
-
*
|
|
2669
|
-
* # WARNING:
|
|
2670
|
-
*
|
|
2671
|
-
* The `pallet-collective` can also be managed by logic outside of the pallet through the
|
|
2672
|
-
* implementation of the trait [`ChangeMembers`].
|
|
2673
|
-
* Any call to `set_members` must be careful that the member set doesn't get out of sync
|
|
2674
|
-
* with other logic managing the member set.
|
|
2675
|
-
*
|
|
2676
|
-
* ## Complexity:
|
|
2677
|
-
* - `O(MP + N)` where:
|
|
2678
|
-
* - `M` old-members-count (code- and governance-bounded)
|
|
2679
|
-
* - `N` new-members-count (code- and governance-bounded)
|
|
2680
|
-
* - `P` proposals-count (code-bounded)
|
|
2681
|
-
*/
|
|
2682
|
-
set_members: TxDescriptor<Anonymize<I38jfk5li8iang>>;
|
|
2683
|
-
/**
|
|
2684
|
-
* Dispatch a proposal from a member using the `Member` origin.
|
|
2685
|
-
*
|
|
2686
|
-
* Origin must be a member of the collective.
|
|
2687
|
-
*
|
|
2688
|
-
* ## Complexity:
|
|
2689
|
-
* - `O(B + M + P)` where:
|
|
2690
|
-
* - `B` is `proposal` size in bytes (length-fee-bounded)
|
|
2691
|
-
* - `M` members-count (code-bounded)
|
|
2692
|
-
* - `P` complexity of dispatching `proposal`
|
|
2693
|
-
*/
|
|
2694
|
-
execute: TxDescriptor<Anonymize<I2e37li0m4eequ>>;
|
|
2695
|
-
/**
|
|
2696
|
-
* Add a new proposal to either be voted on or executed directly.
|
|
2697
|
-
*
|
|
2698
|
-
* Requires the sender to be member.
|
|
2699
|
-
*
|
|
2700
|
-
* `threshold` determines whether `proposal` is executed directly (`threshold < 2`)
|
|
2701
|
-
* or put up for voting.
|
|
2702
|
-
*
|
|
2703
|
-
* ## Complexity
|
|
2704
|
-
* - `O(B + M + P1)` or `O(B + M + P2)` where:
|
|
2705
|
-
* - `B` is `proposal` size in bytes (length-fee-bounded)
|
|
2706
|
-
* - `M` is members-count (code- and governance-bounded)
|
|
2707
|
-
* - branching is influenced by `threshold` where:
|
|
2708
|
-
* - `P1` is proposal execution complexity (`threshold < 2`)
|
|
2709
|
-
* - `P2` is proposals-count (code-bounded) (`threshold >= 2`)
|
|
2710
|
-
*/
|
|
2711
|
-
propose: TxDescriptor<Anonymize<I60tljjfjtq6a2>>;
|
|
2712
|
-
/**
|
|
2713
|
-
* Add an aye or nay vote for the sender to the given proposal.
|
|
2714
|
-
*
|
|
2715
|
-
* Requires the sender to be a member.
|
|
2716
|
-
*
|
|
2717
|
-
* Transaction fees will be waived if the member is voting on any particular proposal
|
|
2718
|
-
* for the first time and the call is successful. Subsequent vote changes will charge a
|
|
2719
|
-
* fee.
|
|
2720
|
-
* ## Complexity
|
|
2721
|
-
* - `O(M)` where `M` is members-count (code- and governance-bounded)
|
|
2722
|
-
*/
|
|
2723
|
-
vote: TxDescriptor<Anonymize<I2dtrijkm5601t>>;
|
|
2724
|
-
/**
|
|
2725
|
-
* Disapprove a proposal, close, and remove it from the system, regardless of its current
|
|
2726
|
-
* state.
|
|
2727
|
-
*
|
|
2728
|
-
* Must be called by the Root origin.
|
|
2729
|
-
*
|
|
2730
|
-
* Parameters:
|
|
2731
|
-
* * `proposal_hash`: The hash of the proposal that should be disapproved.
|
|
2732
|
-
*
|
|
2733
|
-
* ## Complexity
|
|
2734
|
-
* O(P) where P is the number of max proposals
|
|
2735
|
-
*/
|
|
2736
|
-
disapprove_proposal: TxDescriptor<Anonymize<I2ev73t79f46tb>>;
|
|
2737
|
-
/**
|
|
2738
|
-
* Close a vote that is either approved, disapproved or whose voting period has ended.
|
|
2739
|
-
*
|
|
2740
|
-
* May be called by any signed account in order to finish voting and close the proposal.
|
|
2741
|
-
*
|
|
2742
|
-
* If called before the end of the voting period it will only close the vote if it is
|
|
2743
|
-
* has enough votes to be approved or disapproved.
|
|
2744
|
-
*
|
|
2745
|
-
* If called after the end of the voting period abstentions are counted as rejections
|
|
2746
|
-
* unless there is a prime member set and the prime member cast an approval.
|
|
2747
|
-
*
|
|
2748
|
-
* If the close operation completes successfully with disapproval, the transaction fee will
|
|
2749
|
-
* be waived. Otherwise execution of the approved operation will be charged to the caller.
|
|
2750
|
-
*
|
|
2751
|
-
* + `proposal_weight_bound`: The maximum amount of weight consumed by executing the closed
|
|
2752
|
-
* proposal.
|
|
2753
|
-
* + `length_bound`: The upper bound for the length of the proposal in storage. Checked via
|
|
2754
|
-
* `storage::read` so it is `size_of::<u32>() == 4` larger than the pure length.
|
|
2755
|
-
*
|
|
2756
|
-
* ## Complexity
|
|
2757
|
-
* - `O(B + M + P1 + P2)` where:
|
|
2758
|
-
* - `B` is `proposal` size in bytes (length-fee-bounded)
|
|
2759
|
-
* - `M` is members-count (code- and governance-bounded)
|
|
2760
|
-
* - `P1` is the complexity of `proposal` preimage.
|
|
2761
|
-
* - `P2` is proposal-count (code-bounded)
|
|
2762
|
-
*/
|
|
2763
|
-
close: TxDescriptor<Anonymize<Ib2obgji960euh>>;
|
|
2764
|
-
};
|
|
2765
2522
|
TechnicalCommittee: {
|
|
2766
2523
|
/**
|
|
2767
2524
|
* Set the collective's membership.
|
|
@@ -2801,7 +2558,7 @@ type ICalls = {
|
|
|
2801
2558
|
* - `M` members-count (code-bounded)
|
|
2802
2559
|
* - `P` complexity of dispatching `proposal`
|
|
2803
2560
|
*/
|
|
2804
|
-
execute: TxDescriptor<Anonymize<
|
|
2561
|
+
execute: TxDescriptor<Anonymize<I4b58fcokqnatd>>;
|
|
2805
2562
|
/**
|
|
2806
2563
|
* Add a new proposal to either be voted on or executed directly.
|
|
2807
2564
|
*
|
|
@@ -2818,7 +2575,7 @@ type ICalls = {
|
|
|
2818
2575
|
* - `P1` is proposal execution complexity (`threshold < 2`)
|
|
2819
2576
|
* - `P2` is proposals-count (code-bounded) (`threshold >= 2`)
|
|
2820
2577
|
*/
|
|
2821
|
-
propose: TxDescriptor<Anonymize<
|
|
2578
|
+
propose: TxDescriptor<Anonymize<I42fdtnr0bce1h>>;
|
|
2822
2579
|
/**
|
|
2823
2580
|
* Add an aye or nay vote for the sender to the given proposal.
|
|
2824
2581
|
*
|
|
@@ -2872,121 +2629,6 @@ type ICalls = {
|
|
|
2872
2629
|
*/
|
|
2873
2630
|
close: TxDescriptor<Anonymize<Ib2obgji960euh>>;
|
|
2874
2631
|
};
|
|
2875
|
-
Tips: {
|
|
2876
|
-
/**
|
|
2877
|
-
* Report something `reason` that deserves a tip and claim any eventual the finder's fee.
|
|
2878
|
-
*
|
|
2879
|
-
* The dispatch origin for this call must be _Signed_.
|
|
2880
|
-
*
|
|
2881
|
-
* Payment: `TipReportDepositBase` will be reserved from the origin account, as well as
|
|
2882
|
-
* `DataDepositPerByte` for each byte in `reason`.
|
|
2883
|
-
*
|
|
2884
|
-
* - `reason`: The reason for, or the thing that deserves, the tip; generally this will be
|
|
2885
|
-
* a UTF-8-encoded URL.
|
|
2886
|
-
* - `who`: The account which should be credited for the tip.
|
|
2887
|
-
*
|
|
2888
|
-
* Emits `NewTip` if successful.
|
|
2889
|
-
*
|
|
2890
|
-
* ## Complexity
|
|
2891
|
-
* - `O(R)` where `R` length of `reason`.
|
|
2892
|
-
* - encoding and hashing of 'reason'
|
|
2893
|
-
*/
|
|
2894
|
-
report_awesome: TxDescriptor<Anonymize<Ie6dn4p5chsk1u>>;
|
|
2895
|
-
/**
|
|
2896
|
-
* Retract a prior tip-report from `report_awesome`, and cancel the process of tipping.
|
|
2897
|
-
*
|
|
2898
|
-
* If successful, the original deposit will be unreserved.
|
|
2899
|
-
*
|
|
2900
|
-
* The dispatch origin for this call must be _Signed_ and the tip identified by `hash`
|
|
2901
|
-
* must have been reported by the signing account through `report_awesome` (and not
|
|
2902
|
-
* through `tip_new`).
|
|
2903
|
-
*
|
|
2904
|
-
* - `hash`: The identity of the open tip for which a tip value is declared. This is formed
|
|
2905
|
-
* as the hash of the tuple of the original tip `reason` and the beneficiary account ID.
|
|
2906
|
-
*
|
|
2907
|
-
* Emits `TipRetracted` if successful.
|
|
2908
|
-
*
|
|
2909
|
-
* ## Complexity
|
|
2910
|
-
* - `O(1)`
|
|
2911
|
-
* - Depends on the length of `T::Hash` which is fixed.
|
|
2912
|
-
*/
|
|
2913
|
-
retract_tip: TxDescriptor<Anonymize<I1jm8m1rh9e20v>>;
|
|
2914
|
-
/**
|
|
2915
|
-
* Give a tip for something new; no finder's fee will be taken.
|
|
2916
|
-
*
|
|
2917
|
-
* The dispatch origin for this call must be _Signed_ and the signing account must be a
|
|
2918
|
-
* member of the `Tippers` set.
|
|
2919
|
-
*
|
|
2920
|
-
* - `reason`: The reason for, or the thing that deserves, the tip; generally this will be
|
|
2921
|
-
* a UTF-8-encoded URL.
|
|
2922
|
-
* - `who`: The account which should be credited for the tip.
|
|
2923
|
-
* - `tip_value`: The amount of tip that the sender would like to give. The median tip
|
|
2924
|
-
* value of active tippers will be given to the `who`.
|
|
2925
|
-
*
|
|
2926
|
-
* Emits `NewTip` if successful.
|
|
2927
|
-
*
|
|
2928
|
-
* ## Complexity
|
|
2929
|
-
* - `O(R + T)` where `R` length of `reason`, `T` is the number of tippers.
|
|
2930
|
-
* - `O(T)`: decoding `Tipper` vec of length `T`. `T` is charged as upper bound given by
|
|
2931
|
-
* `ContainsLengthBound`. The actual cost depends on the implementation of
|
|
2932
|
-
* `T::Tippers`.
|
|
2933
|
-
* - `O(R)`: hashing and encoding of reason of length `R`
|
|
2934
|
-
*/
|
|
2935
|
-
tip_new: TxDescriptor<Anonymize<I2vi5dr4528rgv>>;
|
|
2936
|
-
/**
|
|
2937
|
-
* Declare a tip value for an already-open tip.
|
|
2938
|
-
*
|
|
2939
|
-
* The dispatch origin for this call must be _Signed_ and the signing account must be a
|
|
2940
|
-
* member of the `Tippers` set.
|
|
2941
|
-
*
|
|
2942
|
-
* - `hash`: The identity of the open tip for which a tip value is declared. This is formed
|
|
2943
|
-
* as the hash of the tuple of the hash of the original tip `reason` and the beneficiary
|
|
2944
|
-
* account ID.
|
|
2945
|
-
* - `tip_value`: The amount of tip that the sender would like to give. The median tip
|
|
2946
|
-
* value of active tippers will be given to the `who`.
|
|
2947
|
-
*
|
|
2948
|
-
* Emits `TipClosing` if the threshold of tippers has been reached and the countdown period
|
|
2949
|
-
* has started.
|
|
2950
|
-
*
|
|
2951
|
-
* ## Complexity
|
|
2952
|
-
* - `O(T)` where `T` is the number of tippers. decoding `Tipper` vec of length `T`, insert
|
|
2953
|
-
* tip and check closing, `T` is charged as upper bound given by `ContainsLengthBound`.
|
|
2954
|
-
* The actual cost depends on the implementation of `T::Tippers`.
|
|
2955
|
-
*
|
|
2956
|
-
* Actually weight could be lower as it depends on how many tips are in `OpenTip` but it
|
|
2957
|
-
* is weighted as if almost full i.e of length `T-1`.
|
|
2958
|
-
*/
|
|
2959
|
-
tip: TxDescriptor<Anonymize<I1pm30k3i4438u>>;
|
|
2960
|
-
/**
|
|
2961
|
-
* Close and payout a tip.
|
|
2962
|
-
*
|
|
2963
|
-
* The dispatch origin for this call must be _Signed_.
|
|
2964
|
-
*
|
|
2965
|
-
* The tip identified by `hash` must have finished its countdown period.
|
|
2966
|
-
*
|
|
2967
|
-
* - `hash`: The identity of the open tip for which a tip value is declared. This is formed
|
|
2968
|
-
* as the hash of the tuple of the original tip `reason` and the beneficiary account ID.
|
|
2969
|
-
*
|
|
2970
|
-
* ## Complexity
|
|
2971
|
-
* - : `O(T)` where `T` is the number of tippers. decoding `Tipper` vec of length `T`. `T`
|
|
2972
|
-
* is charged as upper bound given by `ContainsLengthBound`. The actual cost depends on
|
|
2973
|
-
* the implementation of `T::Tippers`.
|
|
2974
|
-
*/
|
|
2975
|
-
close_tip: TxDescriptor<Anonymize<I1jm8m1rh9e20v>>;
|
|
2976
|
-
/**
|
|
2977
|
-
* Remove and slash an already-open tip.
|
|
2978
|
-
*
|
|
2979
|
-
* May only be called from `T::RejectOrigin`.
|
|
2980
|
-
*
|
|
2981
|
-
* As a result, the finder is slashed and the deposits are lost.
|
|
2982
|
-
*
|
|
2983
|
-
* Emits `TipSlashed` if successful.
|
|
2984
|
-
*
|
|
2985
|
-
* ## Complexity
|
|
2986
|
-
* - O(1).
|
|
2987
|
-
*/
|
|
2988
|
-
slash_tip: TxDescriptor<Anonymize<I1jm8m1rh9e20v>>;
|
|
2989
|
-
};
|
|
2990
2632
|
Proxy: {
|
|
2991
2633
|
/**
|
|
2992
2634
|
* Dispatch the given `call` from an account that the sender is authorised for through
|
|
@@ -2999,7 +2641,7 @@ type ICalls = {
|
|
|
2999
2641
|
* - `force_proxy_type`: Specify the exact proxy type to be used and checked for this call.
|
|
3000
2642
|
* - `call`: The call to be made by the `real` account.
|
|
3001
2643
|
*/
|
|
3002
|
-
proxy: TxDescriptor<Anonymize<
|
|
2644
|
+
proxy: TxDescriptor<Anonymize<I23p5jf4uevg27>>;
|
|
3003
2645
|
/**
|
|
3004
2646
|
* Register a proxy account for the sender that is able to make calls on its behalf.
|
|
3005
2647
|
*
|
|
@@ -3128,7 +2770,7 @@ type ICalls = {
|
|
|
3128
2770
|
* - `force_proxy_type`: Specify the exact proxy type to be used and checked for this call.
|
|
3129
2771
|
* - `call`: The call to be made by the `real` account.
|
|
3130
2772
|
*/
|
|
3131
|
-
proxy_announced: TxDescriptor<Anonymize<
|
|
2773
|
+
proxy_announced: TxDescriptor<Anonymize<I2gso5r86avn0v>>;
|
|
3132
2774
|
};
|
|
3133
2775
|
Multisig: {
|
|
3134
2776
|
/**
|
|
@@ -3145,7 +2787,7 @@ type ICalls = {
|
|
|
3145
2787
|
* ## Complexity
|
|
3146
2788
|
* O(Z + C) where Z is the length of the call and C its execution weight.
|
|
3147
2789
|
*/
|
|
3148
|
-
as_multi_threshold_1: TxDescriptor<Anonymize<
|
|
2790
|
+
as_multi_threshold_1: TxDescriptor<Anonymize<I2p3q9d3gs5ik8>>;
|
|
3149
2791
|
/**
|
|
3150
2792
|
* Register approval for a dispatch to be made from a deterministic composite account if
|
|
3151
2793
|
* approved by a total of `threshold - 1` of `other_signatories`.
|
|
@@ -3187,7 +2829,7 @@ type ICalls = {
|
|
|
3187
2829
|
* - Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit
|
|
3188
2830
|
* taken for its lifetime of `DepositBase + threshold * DepositFactor`.
|
|
3189
2831
|
*/
|
|
3190
|
-
as_multi: TxDescriptor<Anonymize<
|
|
2832
|
+
as_multi: TxDescriptor<Anonymize<I66kf07ob6fj5h>>;
|
|
3191
2833
|
/**
|
|
3192
2834
|
* Register approval for a dispatch to be made from a deterministic composite account if
|
|
3193
2835
|
* approved by a total of `threshold - 1` of `other_signatories`.
|
|
@@ -3884,7 +3526,7 @@ type ICalls = {
|
|
|
3884
3526
|
*
|
|
3885
3527
|
* Emits `Submitted`.
|
|
3886
3528
|
*/
|
|
3887
|
-
submit: TxDescriptor<Anonymize<
|
|
3529
|
+
submit: TxDescriptor<Anonymize<Idmp3d9eg1lpon>>;
|
|
3888
3530
|
/**
|
|
3889
3531
|
* Post the Decision Deposit for a referendum.
|
|
3890
3532
|
*
|
|
@@ -3980,17 +3622,17 @@ type ICalls = {
|
|
|
3980
3622
|
/**
|
|
3981
3623
|
|
|
3982
3624
|
*/
|
|
3983
|
-
dispatch_whitelisted_call_with_preimage: TxDescriptor<Anonymize<
|
|
3625
|
+
dispatch_whitelisted_call_with_preimage: TxDescriptor<Anonymize<Ido81hgut23md6>>;
|
|
3984
3626
|
};
|
|
3985
3627
|
Dispatcher: {
|
|
3986
3628
|
/**
|
|
3987
3629
|
|
|
3988
3630
|
*/
|
|
3989
|
-
dispatch_as_treasury: TxDescriptor<Anonymize<
|
|
3631
|
+
dispatch_as_treasury: TxDescriptor<Anonymize<Ido81hgut23md6>>;
|
|
3990
3632
|
/**
|
|
3991
3633
|
|
|
3992
3634
|
*/
|
|
3993
|
-
dispatch_as_aave_manager: TxDescriptor<Anonymize<
|
|
3635
|
+
dispatch_as_aave_manager: TxDescriptor<Anonymize<Ido81hgut23md6>>;
|
|
3994
3636
|
/**
|
|
3995
3637
|
* Sets the Aave manager account to be used as origin for dispatching calls.
|
|
3996
3638
|
*
|
|
@@ -4006,7 +3648,7 @@ type ICalls = {
|
|
|
4006
3648
|
* This allows executing calls with additional weight (gas) limit.
|
|
4007
3649
|
* The extra gas is not refunded, even if not used.
|
|
4008
3650
|
*/
|
|
4009
|
-
dispatch_with_extra_gas: TxDescriptor<Anonymize<
|
|
3651
|
+
dispatch_with_extra_gas: TxDescriptor<Anonymize<I751qqvaehf2dt>>;
|
|
4010
3652
|
};
|
|
4011
3653
|
AssetRegistry: {
|
|
4012
3654
|
/**
|
|
@@ -4721,6 +4363,49 @@ type ICalls = {
|
|
|
4721
4363
|
*
|
|
4722
4364
|
*/
|
|
4723
4365
|
set_remove_liquidity_limit: TxDescriptor<Anonymize<I4l0u1h71fhj81>>;
|
|
4366
|
+
/**
|
|
4367
|
+
* Lockdown an asset for minting
|
|
4368
|
+
*
|
|
4369
|
+
* Can be called only by an authority origin
|
|
4370
|
+
*
|
|
4371
|
+
* Parameters:
|
|
4372
|
+
* - `origin`: The dispatch origin for this call. Must be `AuthorityOrigin`
|
|
4373
|
+
* - `asset_id`: The identifier of an asset
|
|
4374
|
+
* - `until`: The block number until which the asset is locked
|
|
4375
|
+
*
|
|
4376
|
+
* /// Emits `AssetLockdowned` event when successful.
|
|
4377
|
+
*/
|
|
4378
|
+
lockdown_asset: TxDescriptor<Anonymize<I5qnn28n6p0qll>>;
|
|
4379
|
+
/**
|
|
4380
|
+
* Remove asset lockdown regardless of the state.
|
|
4381
|
+
*
|
|
4382
|
+
* Can be called only by an authority origin
|
|
4383
|
+
*
|
|
4384
|
+
* Parameters:
|
|
4385
|
+
*
|
|
4386
|
+
* - `origin`: The dispatch origin for this call. Must be `AuthorityOrigin`
|
|
4387
|
+
* - `asset_id`: The identifier of an asset
|
|
4388
|
+
*
|
|
4389
|
+
* Emits `AssetLockdownRemoved` event when successful.
|
|
4390
|
+
*/
|
|
4391
|
+
force_lift_lockdown: TxDescriptor<Anonymize<Ia5le7udkgbaq9>>;
|
|
4392
|
+
/**
|
|
4393
|
+
* Release deposit of an asset.
|
|
4394
|
+
*
|
|
4395
|
+
* It releases all the pallet reserved balance of the asset for the given account
|
|
4396
|
+
*
|
|
4397
|
+
* Can be called by any origin, but only if the asset is not in active lockdown.
|
|
4398
|
+
*
|
|
4399
|
+
* The caller does not pay for this call if successful.
|
|
4400
|
+
*
|
|
4401
|
+
* Parameters:
|
|
4402
|
+
* - `origin`: The dispatch origin for this call. Can be signed or root.
|
|
4403
|
+
* - `who`: The account that is saving the deposit.
|
|
4404
|
+
* - `asset_id`: The identifier of the asset.
|
|
4405
|
+
*
|
|
4406
|
+
* Emits `DepositReleased` event when successful.
|
|
4407
|
+
*/
|
|
4408
|
+
release_deposit: TxDescriptor<Anonymize<If4ebvclj2ugvi>>;
|
|
4724
4409
|
};
|
|
4725
4410
|
Router: {
|
|
4726
4411
|
/**
|
|
@@ -4738,7 +4423,7 @@ type ICalls = {
|
|
|
4738
4423
|
*
|
|
4739
4424
|
* Emits `RouteExecuted` when successful.
|
|
4740
4425
|
*/
|
|
4741
|
-
sell: TxDescriptor<Anonymize<
|
|
4426
|
+
sell: TxDescriptor<Anonymize<Ifc3gfgolmaqf7>>;
|
|
4742
4427
|
/**
|
|
4743
4428
|
* Executes a buy with a series of trades specified in the route.
|
|
4744
4429
|
* The price for each trade is determined by the corresponding AMM.
|
|
@@ -4754,7 +4439,7 @@ type ICalls = {
|
|
|
4754
4439
|
*
|
|
4755
4440
|
* Emits `RouteExecuted` when successful.
|
|
4756
4441
|
*/
|
|
4757
|
-
buy: TxDescriptor<Anonymize<
|
|
4442
|
+
buy: TxDescriptor<Anonymize<I651losl68jmo5>>;
|
|
4758
4443
|
/**
|
|
4759
4444
|
* Sets the on-chain route for a given asset pair.
|
|
4760
4445
|
*
|
|
@@ -4778,7 +4463,7 @@ type ICalls = {
|
|
|
4778
4463
|
* Fails with `RouteUpdateIsNotSuccessful` error when failed to set the route
|
|
4779
4464
|
*
|
|
4780
4465
|
*/
|
|
4781
|
-
set_route: TxDescriptor<Anonymize<
|
|
4466
|
+
set_route: TxDescriptor<Anonymize<I5dlvf0cogf3c3>>;
|
|
4782
4467
|
/**
|
|
4783
4468
|
* Force inserts the on-chain route for a given asset pair, so there is no any validation for the route
|
|
4784
4469
|
*
|
|
@@ -4795,7 +4480,7 @@ type ICalls = {
|
|
|
4795
4480
|
* Emits `RouteUpdated` when successful.
|
|
4796
4481
|
*
|
|
4797
4482
|
*/
|
|
4798
|
-
force_insert_route: TxDescriptor<Anonymize<
|
|
4483
|
+
force_insert_route: TxDescriptor<Anonymize<I5dlvf0cogf3c3>>;
|
|
4799
4484
|
/**
|
|
4800
4485
|
* Executes a sell with a series of trades specified in the route.
|
|
4801
4486
|
* It sells all reducible user balance of `asset_in`
|
|
@@ -4812,7 +4497,31 @@ type ICalls = {
|
|
|
4812
4497
|
* Emits `RouteExecuted` when successful.
|
|
4813
4498
|
*
|
|
4814
4499
|
*/
|
|
4815
|
-
sell_all: TxDescriptor<Anonymize<
|
|
4500
|
+
sell_all: TxDescriptor<Anonymize<Ie6nueo20p04gk>>;
|
|
4501
|
+
};
|
|
4502
|
+
DynamicFees: {
|
|
4503
|
+
/**
|
|
4504
|
+
* Set fee configuration for an asset
|
|
4505
|
+
*
|
|
4506
|
+
* This function allows setting either fixed or dynamic fee configuration for a specific asset.
|
|
4507
|
+
*
|
|
4508
|
+
* # Arguments
|
|
4509
|
+
* * `origin` - Root origin required
|
|
4510
|
+
* * `asset_id` - The asset ID to configure
|
|
4511
|
+
* * `config` - Fee configuration (Fixed or Dynamic)
|
|
4512
|
+
*/
|
|
4513
|
+
set_asset_fee: TxDescriptor<Anonymize<Imgejls0d51oq>>;
|
|
4514
|
+
/**
|
|
4515
|
+
* Remove fee configuration for an asset (will use default parameters)
|
|
4516
|
+
*
|
|
4517
|
+
* This function removes any custom fee configuration for the specified asset.
|
|
4518
|
+
* After removal, the asset will use the default dynamic fee parameters configured in the runtime.
|
|
4519
|
+
*
|
|
4520
|
+
* # Arguments
|
|
4521
|
+
* * `origin` - Root origin required
|
|
4522
|
+
* * `asset_id` - The asset ID to remove configuration for
|
|
4523
|
+
*/
|
|
4524
|
+
remove_asset_fee: TxDescriptor<Anonymize<Ia5le7udkgbaq9>>;
|
|
4816
4525
|
};
|
|
4817
4526
|
Staking: {
|
|
4818
4527
|
/**
|
|
@@ -5127,7 +4836,7 @@ type ICalls = {
|
|
|
5127
4836
|
* - `IncorrectAssetDecimals`: If the assets have different decimals.
|
|
5128
4837
|
*
|
|
5129
4838
|
*/
|
|
5130
|
-
create_pool_with_pegs: TxDescriptor<Anonymize<
|
|
4839
|
+
create_pool_with_pegs: TxDescriptor<Anonymize<I8ij5e2p0aqu6i>>;
|
|
5131
4840
|
/**
|
|
5132
4841
|
* Add liquidity to selected pool.
|
|
5133
4842
|
*
|
|
@@ -5149,6 +4858,47 @@ type ICalls = {
|
|
|
5149
4858
|
* Emits `pallet_broadcast::Swapped` event when successful.
|
|
5150
4859
|
*/
|
|
5151
4860
|
add_assets_liquidity: TxDescriptor<Anonymize<Ijqmlm7h71nc1>>;
|
|
4861
|
+
/**
|
|
4862
|
+
* Update the peg source for a specific asset in a pool.
|
|
4863
|
+
*
|
|
4864
|
+
* This function allows updating the peg source for an asset within a pool.
|
|
4865
|
+
* The pool must exist and have pegs configured. The asset must be part of the pool.
|
|
4866
|
+
* The current price is always preserved when updating the peg source.
|
|
4867
|
+
*
|
|
4868
|
+
* Parameters:
|
|
4869
|
+
* - `origin`: Must be `T::AuthorityOrigin`.
|
|
4870
|
+
* - `pool_id`: The ID of the pool containing the asset.
|
|
4871
|
+
* - `asset_id`: The ID of the asset whose peg source is to be updated.
|
|
4872
|
+
* - `peg_source`: The new peg source for the asset.
|
|
4873
|
+
*
|
|
4874
|
+
* Emits `PoolPegSourceUpdated` event when successful.
|
|
4875
|
+
*
|
|
4876
|
+
* # Errors
|
|
4877
|
+
* - `PoolNotFound`: If the specified pool does not exist.
|
|
4878
|
+
* - `NoPegSource`: If the pool does not have pegs configured.
|
|
4879
|
+
* - `AssetNotInPool`: If the specified asset is not part of the pool.
|
|
4880
|
+
*
|
|
4881
|
+
*/
|
|
4882
|
+
update_asset_peg_source: TxDescriptor<Anonymize<Ibmmi1tbvqjkf9>>;
|
|
4883
|
+
/**
|
|
4884
|
+
* Update the maximum peg update percentage for a pool.
|
|
4885
|
+
*
|
|
4886
|
+
* This function allows updating the maximum percentage by which peg values
|
|
4887
|
+
* can change in a pool with pegs configured.
|
|
4888
|
+
*
|
|
4889
|
+
* Parameters:
|
|
4890
|
+
* - `origin`: Must be `T::AuthorityOrigin`.
|
|
4891
|
+
* - `pool_id`: The ID of the pool to update.
|
|
4892
|
+
* - `max_peg_update`: The new maximum peg update percentage.
|
|
4893
|
+
*
|
|
4894
|
+
* Emits `PoolMaxPegUpdateUpdated` event when successful.
|
|
4895
|
+
*
|
|
4896
|
+
* # Errors
|
|
4897
|
+
* - `PoolNotFound`: If the specified pool does not exist.
|
|
4898
|
+
* - `NoPegSource`: If the pool does not have pegs configured.
|
|
4899
|
+
*
|
|
4900
|
+
*/
|
|
4901
|
+
update_pool_max_peg_update: TxDescriptor<Anonymize<I4f24vd3pvt9k>>;
|
|
5152
4902
|
};
|
|
5153
4903
|
Bonds: {
|
|
5154
4904
|
/**
|
|
@@ -5214,7 +4964,7 @@ type ICalls = {
|
|
|
5214
4964
|
* Emits `Executed` event when successful.
|
|
5215
4965
|
*
|
|
5216
4966
|
*/
|
|
5217
|
-
settle_otc_order: TxDescriptor<Anonymize<
|
|
4967
|
+
settle_otc_order: TxDescriptor<Anonymize<I4pj97i2e0a0rb>>;
|
|
5218
4968
|
};
|
|
5219
4969
|
LBP: {
|
|
5220
4970
|
/**
|
|
@@ -5425,67 +5175,225 @@ type ICalls = {
|
|
|
5425
5175
|
* Signer account is linked to the referral account of the code.
|
|
5426
5176
|
*
|
|
5427
5177
|
* Parameters:
|
|
5428
|
-
* - `code`: Code to use to link the signer account to.
|
|
5178
|
+
* - `code`: Code to use to link the signer account to.
|
|
5179
|
+
*
|
|
5180
|
+
* Emits `CodeLinked` event when successful.
|
|
5181
|
+
*/
|
|
5182
|
+
link_code: TxDescriptor<Anonymize<I6pjjpfvhvcfru>>;
|
|
5183
|
+
/**
|
|
5184
|
+
* Convert accrued asset amount to reward currency.
|
|
5185
|
+
*
|
|
5186
|
+
* Parameters:
|
|
5187
|
+
* - `asset_id`: Id of an asset to convert to RewardAsset.
|
|
5188
|
+
*
|
|
5189
|
+
* Emits `Converted` event when successful.
|
|
5190
|
+
*/
|
|
5191
|
+
convert: TxDescriptor<Anonymize<Ia5le7udkgbaq9>>;
|
|
5192
|
+
/**
|
|
5193
|
+
* Claim accumulated rewards
|
|
5194
|
+
*
|
|
5195
|
+
* IF there is any asset in the reward pot, all is converted to RewardCurrency first.
|
|
5196
|
+
*
|
|
5197
|
+
* Reward amount is calculated based on the shares of the signer account.
|
|
5198
|
+
*
|
|
5199
|
+
* if the signer account is referrer account, total accumulated rewards is updated as well as referrer level if reached.
|
|
5200
|
+
*
|
|
5201
|
+
* Emits `Claimed` event when successful.
|
|
5202
|
+
*/
|
|
5203
|
+
claim_rewards: TxDescriptor<undefined>;
|
|
5204
|
+
/**
|
|
5205
|
+
* Set asset reward percentages
|
|
5206
|
+
*
|
|
5207
|
+
* Parameters:
|
|
5208
|
+
* - `asset_id`: asset id
|
|
5209
|
+
* - `level`: level
|
|
5210
|
+
* - `rewards`: reward fee percentages
|
|
5211
|
+
*
|
|
5212
|
+
* Emits `AssetRewardsUpdated` event when successful.
|
|
5213
|
+
*/
|
|
5214
|
+
set_reward_percentage: TxDescriptor<Anonymize<Ionfhf9va2t31>>;
|
|
5215
|
+
};
|
|
5216
|
+
Liquidation: {
|
|
5217
|
+
/**
|
|
5218
|
+
* Liquidates an existing money market position.
|
|
5219
|
+
*
|
|
5220
|
+
* Performs a flash loan to get funds to pay for the debt.
|
|
5221
|
+
* Received collateral is swapped and the profit is transferred to `FeeReceiver`.
|
|
5222
|
+
*
|
|
5223
|
+
* Parameters:
|
|
5224
|
+
* - `origin`: Signed origin.
|
|
5225
|
+
* - `collateral_asset`: Asset ID used as collateral in the MM position.
|
|
5226
|
+
* - `debt_asset`: Asset ID used as debt in the MM position.
|
|
5227
|
+
* - `user`: EVM address of the MM position that we want to liquidate.
|
|
5228
|
+
* - `debt_to_cover`: Amount of debt we want to liquidate.
|
|
5229
|
+
* - `route`: The route we trade against. Required for the fee calculation.
|
|
5230
|
+
*
|
|
5231
|
+
* Emits `Liquidated` event when successful.
|
|
5232
|
+
*
|
|
5233
|
+
*/
|
|
5234
|
+
liquidate: TxDescriptor<Anonymize<I7ac77tpv6n2an>>;
|
|
5235
|
+
/**
|
|
5236
|
+
* Set the borrowing market contract address.
|
|
5237
|
+
*/
|
|
5238
|
+
set_borrowing_contract: TxDescriptor<Anonymize<Ics51ctc9oasbt>>;
|
|
5239
|
+
};
|
|
5240
|
+
HSM: {
|
|
5241
|
+
/**
|
|
5242
|
+
* Add a new collateral asset
|
|
5243
|
+
*
|
|
5244
|
+
* This function adds a new asset as an approved collateral for Hollar. Only callable by
|
|
5245
|
+
* the governance (root origin).
|
|
5246
|
+
*
|
|
5247
|
+
* Parameters:
|
|
5248
|
+
* - `origin`: Must be Root
|
|
5249
|
+
* - `asset_id`: Asset ID to be added as collateral
|
|
5250
|
+
* - `pool_id`: StableSwap pool ID where this asset and Hollar are paired
|
|
5251
|
+
* - `purchase_fee`: Fee applied when buying Hollar with this asset (added to purchase price)
|
|
5252
|
+
* - `max_buy_price_coefficient`: Maximum buy price coefficient for HSM to buy back Hollar
|
|
5253
|
+
* - `buy_back_fee`: Fee applied when buying back Hollar (subtracted from buy price)
|
|
5254
|
+
* - `buyback_rate`: Parameter that controls how quickly HSM can buy Hollar with this asset
|
|
5255
|
+
* - `max_in_holding`: Optional maximum amount of collateral HSM can hold
|
|
5256
|
+
*
|
|
5257
|
+
* Emits:
|
|
5258
|
+
* - `CollateralAdded` when the collateral is successfully added
|
|
5259
|
+
*
|
|
5260
|
+
* Errors:
|
|
5261
|
+
* - `AssetAlreadyApproved` if the asset is already registered as a collateral
|
|
5262
|
+
* - `PoolAlreadyHasCollateral` if another asset from the same pool is already approved
|
|
5263
|
+
* - `HollarNotInPool` if Hollar is not found in the specified pool
|
|
5264
|
+
* - `AssetNotInPool` if the collateral asset is not found in the specified pool
|
|
5265
|
+
* - Other errors from underlying calls
|
|
5266
|
+
*/
|
|
5267
|
+
add_collateral_asset: TxDescriptor<Anonymize<I9f388t40fmtpk>>;
|
|
5268
|
+
/**
|
|
5269
|
+
* Remove a collateral asset
|
|
5270
|
+
*
|
|
5271
|
+
* Removes an asset from the approved collaterals list. Only callable by the governance (root origin).
|
|
5272
|
+
* The collateral must have a zero balance in the HSM account before it can be removed.
|
|
5273
|
+
*
|
|
5274
|
+
* Parameters:
|
|
5275
|
+
* - `origin`: Must be Root
|
|
5276
|
+
* - `asset_id`: Asset ID to remove from collaterals
|
|
5429
5277
|
*
|
|
5430
|
-
* Emits
|
|
5278
|
+
* Emits:
|
|
5279
|
+
* - `CollateralRemoved` when the collateral is successfully removed
|
|
5280
|
+
*
|
|
5281
|
+
* Errors:
|
|
5282
|
+
* - `AssetNotApproved` if the asset is not a registered collateral
|
|
5283
|
+
* - `CollateralNotEmpty` if the HSM account still holds some of this asset
|
|
5431
5284
|
*/
|
|
5432
|
-
|
|
5285
|
+
remove_collateral_asset: TxDescriptor<Anonymize<Ia5le7udkgbaq9>>;
|
|
5433
5286
|
/**
|
|
5434
|
-
*
|
|
5287
|
+
* Update collateral asset parameters
|
|
5288
|
+
*
|
|
5289
|
+
* Updates the parameters for an existing collateral asset. Only callable by the governance (root origin).
|
|
5290
|
+
* Each parameter is optional and only provided parameters will be updated.
|
|
5435
5291
|
*
|
|
5436
5292
|
* Parameters:
|
|
5437
|
-
* - `
|
|
5293
|
+
* - `origin`: Must be Root
|
|
5294
|
+
* - `asset_id`: Asset ID to update
|
|
5295
|
+
* - `purchase_fee`: New purchase fee (optional)
|
|
5296
|
+
* - `max_buy_price_coefficient`: New max buy price coefficient (optional)
|
|
5297
|
+
* - `buy_back_fee`: New buy back fee (optional)
|
|
5298
|
+
* - `buyback_rate`: New buyback rate parameter (optional)
|
|
5299
|
+
* - `max_in_holding`: New maximum holding amount (optional)
|
|
5438
5300
|
*
|
|
5439
|
-
* Emits
|
|
5301
|
+
* Emits:
|
|
5302
|
+
* - `CollateralUpdated` when the collateral is successfully updated
|
|
5303
|
+
*
|
|
5304
|
+
* Errors:
|
|
5305
|
+
* - `AssetNotApproved` if the asset is not a registered collateral
|
|
5440
5306
|
*/
|
|
5441
|
-
|
|
5307
|
+
update_collateral_asset: TxDescriptor<Anonymize<Ie6d997npqi7i1>>;
|
|
5442
5308
|
/**
|
|
5443
|
-
*
|
|
5309
|
+
* Sell asset to HSM
|
|
5444
5310
|
*
|
|
5445
|
-
*
|
|
5311
|
+
* This function allows users to:
|
|
5312
|
+
* 1. Sell Hollar back to HSM in exchange for collateral assets
|
|
5313
|
+
* 2. Sell collateral assets to HSM in exchange for newly minted Hollar
|
|
5446
5314
|
*
|
|
5447
|
-
*
|
|
5315
|
+
* The valid pairs must include Hollar as one side and an approved collateral as the other side.
|
|
5448
5316
|
*
|
|
5449
|
-
*
|
|
5317
|
+
* Parameters:
|
|
5318
|
+
* - `origin`: Account selling the asset
|
|
5319
|
+
* - `asset_in`: Asset ID being sold
|
|
5320
|
+
* - `asset_out`: Asset ID being bought
|
|
5321
|
+
* - `amount_in`: Amount of asset_in to sell
|
|
5322
|
+
* - `slippage_limit`: Minimum amount out for slippage protection
|
|
5450
5323
|
*
|
|
5451
|
-
* Emits
|
|
5324
|
+
* Emits:
|
|
5325
|
+
* - `Swapped3` when the sell is successful
|
|
5326
|
+
*
|
|
5327
|
+
* Errors:
|
|
5328
|
+
* - `InvalidAssetPair` if the pair is not Hollar and an approved collateral
|
|
5329
|
+
* - `AssetNotApproved` if the collateral asset isn't registered
|
|
5330
|
+
* - `SlippageLimitExceeded` if the amount received is less than the slippage limit
|
|
5331
|
+
* - `MaxBuyBackExceeded` if the sell would exceed the maximum buy back rate
|
|
5332
|
+
* - `MaxBuyPriceExceeded` if the sell would exceed the maximum buy price
|
|
5333
|
+
* - `InsufficientCollateralBalance` if HSM doesn't have enough collateral
|
|
5334
|
+
* - `InvalidEVMInteraction` if there's an error interacting with the Hollar ERC20 contract
|
|
5335
|
+
* - Other errors from underlying calls
|
|
5452
5336
|
*/
|
|
5453
|
-
|
|
5337
|
+
sell: TxDescriptor<Anonymize<I5c1masltr8a0p>>;
|
|
5454
5338
|
/**
|
|
5455
|
-
*
|
|
5339
|
+
* Buy asset from HSM
|
|
5340
|
+
*
|
|
5341
|
+
* This function allows users to:
|
|
5342
|
+
* 1. Buy Hollar from HSM using collateral assets
|
|
5343
|
+
* 2. Buy collateral assets from HSM using Hollar
|
|
5344
|
+
*
|
|
5345
|
+
* The valid pairs must include Hollar as one side and an approved collateral as the other side.
|
|
5456
5346
|
*
|
|
5457
5347
|
* Parameters:
|
|
5458
|
-
* - `
|
|
5459
|
-
* - `
|
|
5460
|
-
* - `
|
|
5348
|
+
* - `origin`: Account buying the asset
|
|
5349
|
+
* - `asset_in`: Asset ID being sold by the user
|
|
5350
|
+
* - `asset_out`: Asset ID being bought by the user
|
|
5351
|
+
* - `amount_out`: Amount of asset_out to buy
|
|
5352
|
+
* - `slippage_limit`: Maximum amount in for slippage protection
|
|
5461
5353
|
*
|
|
5462
|
-
* Emits
|
|
5354
|
+
* Emits:
|
|
5355
|
+
* - `Swapped3` when the buy is successful
|
|
5356
|
+
*
|
|
5357
|
+
* Errors:
|
|
5358
|
+
* - `InvalidAssetPair` if the pair is not Hollar and an approved collateral
|
|
5359
|
+
* - `AssetNotApproved` if the collateral asset isn't registered
|
|
5360
|
+
* - `SlippageLimitExceeded` if the amount input exceeds the slippage limit
|
|
5361
|
+
* - `MaxHoldingExceeded` if the buy would cause HSM to exceed its maximum holding
|
|
5362
|
+
* - `InvalidEVMInteraction` if there's an error interacting with the Hollar ERC20 contract
|
|
5363
|
+
* - Other errors from underlying calls
|
|
5463
5364
|
*/
|
|
5464
|
-
|
|
5465
|
-
};
|
|
5466
|
-
Liquidation: {
|
|
5365
|
+
buy: TxDescriptor<Anonymize<Ie3e48phue9bu5>>;
|
|
5467
5366
|
/**
|
|
5468
|
-
*
|
|
5367
|
+
* Execute arbitrage opportunity between HSM and collateral stable pool
|
|
5469
5368
|
*
|
|
5470
|
-
*
|
|
5471
|
-
*
|
|
5369
|
+
* This call is designed to be triggered automatically by offchain workers. It:
|
|
5370
|
+
* 1. Detects price imbalances between HSM and a stable pool for a collateral
|
|
5371
|
+
* 2. If an opportunity exists, mints Hollar, swaps it for collateral on HSM
|
|
5372
|
+
* 3. Swaps that collateral for Hollar on the stable pool
|
|
5373
|
+
* 4. Burns the Hollar received from the arbitrage
|
|
5374
|
+
*
|
|
5375
|
+
* This helps maintain the peg of Hollar by profiting from and correcting price imbalances.
|
|
5376
|
+
* The call is unsigned and should only be executed by offchain workers.
|
|
5472
5377
|
*
|
|
5473
5378
|
* Parameters:
|
|
5474
|
-
* - `origin`:
|
|
5475
|
-
* - `
|
|
5476
|
-
* - `debt_asset`: Asset ID used as debt in the MM position.
|
|
5477
|
-
* - `user`: EVM address of the MM position that we want to liquidate.
|
|
5478
|
-
* - `debt_to_cover`: Amount of debt we want to liquidate.
|
|
5479
|
-
* - `route`: The route we trade against. Required for the fee calculation.
|
|
5379
|
+
* - `origin`: Must be None (unsigned)
|
|
5380
|
+
* - `collateral_asset_id`: The ID of the collateral asset to check for arbitrage
|
|
5480
5381
|
*
|
|
5481
|
-
* Emits
|
|
5382
|
+
* Emits:
|
|
5383
|
+
* - `ArbitrageExecuted` when the arbitrage is successful
|
|
5482
5384
|
*
|
|
5385
|
+
* Errors:
|
|
5386
|
+
* - `AssetNotApproved` if the asset is not a registered collateral
|
|
5387
|
+
* - `NoArbitrageOpportunity` if there's no profitable arbitrage opportunity
|
|
5388
|
+
* - `MaxBuyPriceExceeded` if the arbitrage would exceed the maximum buy price
|
|
5389
|
+
* - `InvalidEVMInteraction` if there's an error interacting with the Hollar ERC20 contract
|
|
5390
|
+
* - Other errors from underlying calls
|
|
5483
5391
|
*/
|
|
5484
|
-
|
|
5392
|
+
execute_arbitrage: TxDescriptor<Anonymize<Ia6cch7ainm5jo>>;
|
|
5485
5393
|
/**
|
|
5486
|
-
|
|
5394
|
+
|
|
5487
5395
|
*/
|
|
5488
|
-
|
|
5396
|
+
set_flash_minter: TxDescriptor<Anonymize<Iajpteohigflga>>;
|
|
5489
5397
|
};
|
|
5490
5398
|
Tokens: {
|
|
5491
5399
|
/**
|
|
@@ -6008,7 +5916,7 @@ type ICalls = {
|
|
|
6008
5916
|
* Emits `Scheduled` and `ExecutionPlanned` event when successful.
|
|
6009
5917
|
*
|
|
6010
5918
|
*/
|
|
6011
|
-
schedule: TxDescriptor<Anonymize<
|
|
5919
|
+
schedule: TxDescriptor<Anonymize<Icojrb9unj3i10>>;
|
|
6012
5920
|
/**
|
|
6013
5921
|
* Terminates a DCA schedule and remove it completely from the chain.
|
|
6014
5922
|
*
|
|
@@ -6023,12 +5931,28 @@ type ICalls = {
|
|
|
6023
5931
|
*
|
|
6024
5932
|
*/
|
|
6025
5933
|
terminate: TxDescriptor<Anonymize<Ib9aiguc778ujf>>;
|
|
5934
|
+
/**
|
|
5935
|
+
* Unlocks DCA reserves of provided asset for the caller if they have no active schedules.
|
|
5936
|
+
*
|
|
5937
|
+
* This is a utility function to help users recover their reserved funds in case
|
|
5938
|
+
* a DCA schedule was terminated but left some reserved amounts.
|
|
5939
|
+
*
|
|
5940
|
+
* This can only be called when the user has no active DCA schedules.
|
|
5941
|
+
*
|
|
5942
|
+
* Parameters:
|
|
5943
|
+
* - `origin`: The account to unlock reserves for (must be signed)
|
|
5944
|
+
* - `asset_id`: The asset ID for which reserves should be unlocked.
|
|
5945
|
+
*
|
|
5946
|
+
* Emits `ReserveUnlocked` event when successful.
|
|
5947
|
+
*
|
|
5948
|
+
*/
|
|
5949
|
+
unlock_reserves: TxDescriptor<Anonymize<If4ebvclj2ugvi>>;
|
|
6026
5950
|
};
|
|
6027
5951
|
Scheduler: {
|
|
6028
5952
|
/**
|
|
6029
5953
|
* Anonymously schedule a task.
|
|
6030
5954
|
*/
|
|
6031
|
-
schedule: TxDescriptor<Anonymize<
|
|
5955
|
+
schedule: TxDescriptor<Anonymize<If717qi93ptgpe>>;
|
|
6032
5956
|
/**
|
|
6033
5957
|
* Cancel an anonymously scheduled task.
|
|
6034
5958
|
*/
|
|
@@ -6036,7 +5960,7 @@ type ICalls = {
|
|
|
6036
5960
|
/**
|
|
6037
5961
|
* Schedule a named task.
|
|
6038
5962
|
*/
|
|
6039
|
-
schedule_named: TxDescriptor<Anonymize<
|
|
5963
|
+
schedule_named: TxDescriptor<Anonymize<Id843oqfk17p28>>;
|
|
6040
5964
|
/**
|
|
6041
5965
|
* Cancel a named scheduled task.
|
|
6042
5966
|
*/
|
|
@@ -6044,11 +5968,11 @@ type ICalls = {
|
|
|
6044
5968
|
/**
|
|
6045
5969
|
* Anonymously schedule a task after a delay.
|
|
6046
5970
|
*/
|
|
6047
|
-
schedule_after: TxDescriptor<Anonymize<
|
|
5971
|
+
schedule_after: TxDescriptor<Anonymize<Iajckkqa1nnbou>>;
|
|
6048
5972
|
/**
|
|
6049
5973
|
* Schedule a named task after a delay.
|
|
6050
5974
|
*/
|
|
6051
|
-
schedule_named_after: TxDescriptor<Anonymize<
|
|
5975
|
+
schedule_named_after: TxDescriptor<Anonymize<Icdn8al2st9dvj>>;
|
|
6052
5976
|
/**
|
|
6053
5977
|
* Set a retry configuration for a task so that, in case its scheduled run fails, it will
|
|
6054
5978
|
* be retried after `period` blocks, for a total amount of `retries` retries or until it
|
|
@@ -6649,7 +6573,7 @@ type IEvent = {
|
|
|
6649
6573
|
/**
|
|
6650
6574
|
* An extrinsic failed.
|
|
6651
6575
|
*/
|
|
6652
|
-
ExtrinsicFailed: PlainDescriptor<Anonymize<
|
|
6576
|
+
ExtrinsicFailed: PlainDescriptor<Anonymize<I8r4aieb1ssb4f>>;
|
|
6653
6577
|
/**
|
|
6654
6578
|
* `:code` was updated.
|
|
6655
6579
|
*/
|
|
@@ -6848,7 +6772,7 @@ type IEvent = {
|
|
|
6848
6772
|
* Batch of dispatches did not complete fully. Index of first failing dispatch given, as
|
|
6849
6773
|
* well as the error.
|
|
6850
6774
|
*/
|
|
6851
|
-
BatchInterrupted: PlainDescriptor<Anonymize<
|
|
6775
|
+
BatchInterrupted: PlainDescriptor<Anonymize<I4uh1fq0qqpf5o>>;
|
|
6852
6776
|
/**
|
|
6853
6777
|
* Batch of dispatches completed fully with no error.
|
|
6854
6778
|
*/
|
|
@@ -6864,11 +6788,11 @@ type IEvent = {
|
|
|
6864
6788
|
/**
|
|
6865
6789
|
* A single item within a Batch of dispatches has completed with error.
|
|
6866
6790
|
*/
|
|
6867
|
-
ItemFailed: PlainDescriptor<Anonymize<
|
|
6791
|
+
ItemFailed: PlainDescriptor<Anonymize<I1ofejmsmshuso>>;
|
|
6868
6792
|
/**
|
|
6869
6793
|
* A call was dispatched.
|
|
6870
6794
|
*/
|
|
6871
|
-
DispatchedAs: PlainDescriptor<Anonymize<
|
|
6795
|
+
DispatchedAs: PlainDescriptor<Anonymize<Ifnqdavuhjiv8r>>;
|
|
6872
6796
|
};
|
|
6873
6797
|
Preimage: {
|
|
6874
6798
|
/**
|
|
@@ -7026,77 +6950,6 @@ type IEvent = {
|
|
|
7026
6950
|
*/
|
|
7027
6951
|
MetadataTransferred: PlainDescriptor<Anonymize<I4ljshcevmm3p2>>;
|
|
7028
6952
|
};
|
|
7029
|
-
Elections: {
|
|
7030
|
-
/**
|
|
7031
|
-
* A new term with new_members. This indicates that enough candidates existed to run
|
|
7032
|
-
* the election, not that enough have has been elected. The inner value must be examined
|
|
7033
|
-
* for this purpose. A `NewTerm(\[\])` indicates that some candidates got their bond
|
|
7034
|
-
* slashed and none were elected, whilst `EmptyTerm` means that no candidates existed to
|
|
7035
|
-
* begin with.
|
|
7036
|
-
*/
|
|
7037
|
-
NewTerm: PlainDescriptor<Anonymize<Iaofef34v2445a>>;
|
|
7038
|
-
/**
|
|
7039
|
-
* No (or not enough) candidates existed for this round. This is different from
|
|
7040
|
-
* `NewTerm(\[\])`. See the description of `NewTerm`.
|
|
7041
|
-
*/
|
|
7042
|
-
EmptyTerm: PlainDescriptor<undefined>;
|
|
7043
|
-
/**
|
|
7044
|
-
* Internal error happened while trying to perform election.
|
|
7045
|
-
*/
|
|
7046
|
-
ElectionError: PlainDescriptor<undefined>;
|
|
7047
|
-
/**
|
|
7048
|
-
* A member has been removed. This should always be followed by either `NewTerm` or
|
|
7049
|
-
* `EmptyTerm`.
|
|
7050
|
-
*/
|
|
7051
|
-
MemberKicked: PlainDescriptor<Anonymize<Ie3gphha4ejh40>>;
|
|
7052
|
-
/**
|
|
7053
|
-
* Someone has renounced their candidacy.
|
|
7054
|
-
*/
|
|
7055
|
-
Renounced: PlainDescriptor<Anonymize<I4b66js88p45m8>>;
|
|
7056
|
-
/**
|
|
7057
|
-
* A candidate was slashed by amount due to failing to obtain a seat as member or
|
|
7058
|
-
* runner-up.
|
|
7059
|
-
*
|
|
7060
|
-
* Note that old members and runners-up are also candidates.
|
|
7061
|
-
*/
|
|
7062
|
-
CandidateSlashed: PlainDescriptor<Anonymize<I50d9r8lrdga93>>;
|
|
7063
|
-
/**
|
|
7064
|
-
* A seat holder was slashed by amount by being forcefully removed from the set.
|
|
7065
|
-
*/
|
|
7066
|
-
SeatHolderSlashed: PlainDescriptor<Anonymize<I27avf13g71mla>>;
|
|
7067
|
-
};
|
|
7068
|
-
Council: {
|
|
7069
|
-
/**
|
|
7070
|
-
* A motion (given hash) has been proposed (by given account) with a threshold (given
|
|
7071
|
-
* `MemberCount`).
|
|
7072
|
-
*/
|
|
7073
|
-
Proposed: PlainDescriptor<Anonymize<Ift6f10887nk72>>;
|
|
7074
|
-
/**
|
|
7075
|
-
* A motion (given hash) has been voted on by given account, leaving
|
|
7076
|
-
* a tally (yes votes and no votes given respectively as `MemberCount`).
|
|
7077
|
-
*/
|
|
7078
|
-
Voted: PlainDescriptor<Anonymize<I7qc53b1tvqjg2>>;
|
|
7079
|
-
/**
|
|
7080
|
-
* A motion was approved by the required threshold.
|
|
7081
|
-
*/
|
|
7082
|
-
Approved: PlainDescriptor<Anonymize<I2ev73t79f46tb>>;
|
|
7083
|
-
/**
|
|
7084
|
-
* A motion was not approved by the required threshold.
|
|
7085
|
-
*/
|
|
7086
|
-
Disapproved: PlainDescriptor<Anonymize<I2ev73t79f46tb>>;
|
|
7087
|
-
/**
|
|
7088
|
-
* A motion was executed; result will be `Ok` if it returned without error.
|
|
7089
|
-
*/
|
|
7090
|
-
Executed: PlainDescriptor<Anonymize<I7rukb7fiibqm1>>;
|
|
7091
|
-
/**
|
|
7092
|
-
* A single member did some action; result will be `Ok` if it returned without error.
|
|
7093
|
-
*/
|
|
7094
|
-
MemberExecuted: PlainDescriptor<Anonymize<I7rukb7fiibqm1>>;
|
|
7095
|
-
/**
|
|
7096
|
-
* A proposal was closed because its threshold was reached or after its duration was up.
|
|
7097
|
-
*/
|
|
7098
|
-
Closed: PlainDescriptor<Anonymize<Iak7fhrgb9jnnq>>;
|
|
7099
|
-
};
|
|
7100
6953
|
TechnicalCommittee: {
|
|
7101
6954
|
/**
|
|
7102
6955
|
* A motion (given hash) has been proposed (by given account) with a threshold (given
|
|
@@ -7119,43 +6972,21 @@ type IEvent = {
|
|
|
7119
6972
|
/**
|
|
7120
6973
|
* A motion was executed; result will be `Ok` if it returned without error.
|
|
7121
6974
|
*/
|
|
7122
|
-
Executed: PlainDescriptor<Anonymize<
|
|
6975
|
+
Executed: PlainDescriptor<Anonymize<I98hgambi0pist>>;
|
|
7123
6976
|
/**
|
|
7124
6977
|
* A single member did some action; result will be `Ok` if it returned without error.
|
|
7125
6978
|
*/
|
|
7126
|
-
MemberExecuted: PlainDescriptor<Anonymize<
|
|
6979
|
+
MemberExecuted: PlainDescriptor<Anonymize<I98hgambi0pist>>;
|
|
7127
6980
|
/**
|
|
7128
6981
|
* A proposal was closed because its threshold was reached or after its duration was up.
|
|
7129
6982
|
*/
|
|
7130
6983
|
Closed: PlainDescriptor<Anonymize<Iak7fhrgb9jnnq>>;
|
|
7131
6984
|
};
|
|
7132
|
-
Tips: {
|
|
7133
|
-
/**
|
|
7134
|
-
* A new tip suggestion has been opened.
|
|
7135
|
-
*/
|
|
7136
|
-
NewTip: PlainDescriptor<Anonymize<Iep7an7g10jgpc>>;
|
|
7137
|
-
/**
|
|
7138
|
-
* A tip suggestion has reached threshold and is closing.
|
|
7139
|
-
*/
|
|
7140
|
-
TipClosing: PlainDescriptor<Anonymize<Iep7an7g10jgpc>>;
|
|
7141
|
-
/**
|
|
7142
|
-
* A tip suggestion has been closed.
|
|
7143
|
-
*/
|
|
7144
|
-
TipClosed: PlainDescriptor<Anonymize<Ierev02d74bpoa>>;
|
|
7145
|
-
/**
|
|
7146
|
-
* A tip suggestion has been retracted.
|
|
7147
|
-
*/
|
|
7148
|
-
TipRetracted: PlainDescriptor<Anonymize<Iep7an7g10jgpc>>;
|
|
7149
|
-
/**
|
|
7150
|
-
* A tip suggestion has been slashed.
|
|
7151
|
-
*/
|
|
7152
|
-
TipSlashed: PlainDescriptor<Anonymize<Ic836gl3ins837>>;
|
|
7153
|
-
};
|
|
7154
6985
|
Proxy: {
|
|
7155
6986
|
/**
|
|
7156
6987
|
* A proxy was executed correctly, with the given.
|
|
7157
6988
|
*/
|
|
7158
|
-
ProxyExecuted: PlainDescriptor<Anonymize<
|
|
6989
|
+
ProxyExecuted: PlainDescriptor<Anonymize<Ifnqdavuhjiv8r>>;
|
|
7159
6990
|
/**
|
|
7160
6991
|
* A pure account has been created by new proxy with given
|
|
7161
6992
|
* disambiguation index and proxy type.
|
|
@@ -7186,7 +7017,7 @@ type IEvent = {
|
|
|
7186
7017
|
/**
|
|
7187
7018
|
* A multisig operation has been executed.
|
|
7188
7019
|
*/
|
|
7189
|
-
MultisigExecuted: PlainDescriptor<Anonymize<
|
|
7020
|
+
MultisigExecuted: PlainDescriptor<Anonymize<I529tipghbmk8u>>;
|
|
7190
7021
|
/**
|
|
7191
7022
|
* A multisig operation has been cancelled.
|
|
7192
7023
|
*/
|
|
@@ -7419,17 +7250,17 @@ type IEvent = {
|
|
|
7419
7250
|
/**
|
|
7420
7251
|
|
|
7421
7252
|
*/
|
|
7422
|
-
WhitelistedCallDispatched: PlainDescriptor<Anonymize<
|
|
7253
|
+
WhitelistedCallDispatched: PlainDescriptor<Anonymize<I3g8msgr18to3p>>;
|
|
7423
7254
|
};
|
|
7424
7255
|
Dispatcher: {
|
|
7425
7256
|
/**
|
|
7426
7257
|
|
|
7427
7258
|
*/
|
|
7428
|
-
TreasuryManagerCallDispatched: PlainDescriptor<Anonymize<
|
|
7259
|
+
TreasuryManagerCallDispatched: PlainDescriptor<Anonymize<I3g8msgr18to3p>>;
|
|
7429
7260
|
/**
|
|
7430
7261
|
|
|
7431
7262
|
*/
|
|
7432
|
-
AaveManagerCallDispatched: PlainDescriptor<Anonymize<
|
|
7263
|
+
AaveManagerCallDispatched: PlainDescriptor<Anonymize<I3g8msgr18to3p>>;
|
|
7433
7264
|
};
|
|
7434
7265
|
AssetRegistry: {
|
|
7435
7266
|
/**
|
|
@@ -7651,6 +7482,18 @@ type IEvent = {
|
|
|
7651
7482
|
* Remove liquidity limit of an asset was changed.
|
|
7652
7483
|
*/
|
|
7653
7484
|
RemoveLiquidityLimitChanged: PlainDescriptor<Anonymize<I4l0u1h71fhj81>>;
|
|
7485
|
+
/**
|
|
7486
|
+
* Asset went to lockdown
|
|
7487
|
+
*/
|
|
7488
|
+
AssetLockdown: PlainDescriptor<Anonymize<I5qnn28n6p0qll>>;
|
|
7489
|
+
/**
|
|
7490
|
+
* Asset lockdown was removed
|
|
7491
|
+
*/
|
|
7492
|
+
AssetLockdownRemoved: PlainDescriptor<Anonymize<Ia5le7udkgbaq9>>;
|
|
7493
|
+
/**
|
|
7494
|
+
* All reserved amount of deposit was released
|
|
7495
|
+
*/
|
|
7496
|
+
DepositReleased: PlainDescriptor<Anonymize<If4ebvclj2ugvi>>;
|
|
7654
7497
|
};
|
|
7655
7498
|
Router: {
|
|
7656
7499
|
/**
|
|
@@ -7662,6 +7505,16 @@ type IEvent = {
|
|
|
7662
7505
|
*/
|
|
7663
7506
|
RouteUpdated: PlainDescriptor<Anonymize<I11glevchscfbg>>;
|
|
7664
7507
|
};
|
|
7508
|
+
DynamicFees: {
|
|
7509
|
+
/**
|
|
7510
|
+
* Asset fee configuration has been set
|
|
7511
|
+
*/
|
|
7512
|
+
AssetFeeConfigSet: PlainDescriptor<Anonymize<Iepgfued24hpeb>>;
|
|
7513
|
+
/**
|
|
7514
|
+
* Asset fee configuration has been removed
|
|
7515
|
+
*/
|
|
7516
|
+
AssetFeeConfigRemoved: PlainDescriptor<Anonymize<Ia5le7udkgbaq9>>;
|
|
7517
|
+
};
|
|
7665
7518
|
Staking: {
|
|
7666
7519
|
/**
|
|
7667
7520
|
* New staking position was created and NFT was minted.
|
|
@@ -7692,7 +7545,7 @@ type IEvent = {
|
|
|
7692
7545
|
/**
|
|
7693
7546
|
* A pool was created.
|
|
7694
7547
|
*/
|
|
7695
|
-
PoolCreated: PlainDescriptor<Anonymize<
|
|
7548
|
+
PoolCreated: PlainDescriptor<Anonymize<I59jkmlks7g3ck>>;
|
|
7696
7549
|
/**
|
|
7697
7550
|
* Pool fee has been updated.
|
|
7698
7551
|
*/
|
|
@@ -7727,6 +7580,14 @@ type IEvent = {
|
|
|
7727
7580
|
* A pool has been destroyed.
|
|
7728
7581
|
*/
|
|
7729
7582
|
PoolDestroyed: PlainDescriptor<Anonymize<I931cottvong90>>;
|
|
7583
|
+
/**
|
|
7584
|
+
* Pool peg source has been updated.
|
|
7585
|
+
*/
|
|
7586
|
+
PoolPegSourceUpdated: PlainDescriptor<Anonymize<Ibmmi1tbvqjkf9>>;
|
|
7587
|
+
/**
|
|
7588
|
+
* Pool max peg update has been updated.
|
|
7589
|
+
*/
|
|
7590
|
+
PoolMaxPegUpdateUpdated: PlainDescriptor<Anonymize<I4f24vd3pvt9k>>;
|
|
7730
7591
|
};
|
|
7731
7592
|
Bonds: {
|
|
7732
7593
|
/**
|
|
@@ -7836,6 +7697,54 @@ type IEvent = {
|
|
|
7836
7697
|
*/
|
|
7837
7698
|
Liquidated: PlainDescriptor<Anonymize<I32su7o3fj1ksq>>;
|
|
7838
7699
|
};
|
|
7700
|
+
HSM: {
|
|
7701
|
+
/**
|
|
7702
|
+
* A new collateral asset was added
|
|
7703
|
+
*
|
|
7704
|
+
* Parameters:
|
|
7705
|
+
* - `asset_id`: The ID of the asset added as collateral
|
|
7706
|
+
* - `pool_id`: The StableSwap pool ID where this asset belongs
|
|
7707
|
+
* - `purchase_fee`: Fee applied when buying Hollar with this asset
|
|
7708
|
+
* - `max_buy_price_coefficient`: Maximum buy price coefficient for HSM to buy back Hollar
|
|
7709
|
+
* - `buy_back_fee`: Fee applied when buying back Hollar
|
|
7710
|
+
* - `buyback_rate`: Parameter that controls how quickly HSM can buy Hollar with this asset
|
|
7711
|
+
*/
|
|
7712
|
+
CollateralAdded: PlainDescriptor<Anonymize<Iac6dfqlo4u73t>>;
|
|
7713
|
+
/**
|
|
7714
|
+
* A collateral asset was removed
|
|
7715
|
+
*
|
|
7716
|
+
* Parameters:
|
|
7717
|
+
* - `asset_id`: The ID of the asset removed from collaterals
|
|
7718
|
+
* - `amount`: The amount of the asset that was returned (should be zero)
|
|
7719
|
+
*/
|
|
7720
|
+
CollateralRemoved: PlainDescriptor<Anonymize<Id2vo4qi5agnp0>>;
|
|
7721
|
+
/**
|
|
7722
|
+
* A collateral asset was updated
|
|
7723
|
+
*
|
|
7724
|
+
* Parameters:
|
|
7725
|
+
* - `asset_id`: The ID of the updated collateral asset
|
|
7726
|
+
* - `purchase_fee`: New purchase fee if updated (None if not changed)
|
|
7727
|
+
* - `max_buy_price_coefficient`: New max buy price coefficient if updated (None if not changed)
|
|
7728
|
+
* - `buy_back_fee`: New buy back fee if updated (None if not changed)
|
|
7729
|
+
* - `buyback_rate`: New buyback rate if updated (None if not changed)
|
|
7730
|
+
*/
|
|
7731
|
+
CollateralUpdated: PlainDescriptor<Anonymize<I6k4kj0v2ro6sb>>;
|
|
7732
|
+
/**
|
|
7733
|
+
* Arbitrage executed successfully
|
|
7734
|
+
*
|
|
7735
|
+
* Parameters:
|
|
7736
|
+
* - `asset_id`: The collateral asset used in the arbitrage
|
|
7737
|
+
* - `hollar_amount`: Amount of Hollar that was included in the arbitrage operation
|
|
7738
|
+
*/
|
|
7739
|
+
ArbitrageExecuted: PlainDescriptor<Anonymize<I4243hifj8lu9n>>;
|
|
7740
|
+
/**
|
|
7741
|
+
* Flash minter address set
|
|
7742
|
+
*
|
|
7743
|
+
* Parameters:
|
|
7744
|
+
* - `flash_minter`: The EVM address of the flash minter contract
|
|
7745
|
+
*/
|
|
7746
|
+
FlashMinterSet: PlainDescriptor<Anonymize<I82m2k02o0m2g2>>;
|
|
7747
|
+
};
|
|
7839
7748
|
Tokens: {
|
|
7840
7749
|
/**
|
|
7841
7750
|
* An account was created with some free balance.
|
|
@@ -8073,7 +7982,7 @@ type IEvent = {
|
|
|
8073
7982
|
/**
|
|
8074
7983
|
* The DCA is scheduled for next execution
|
|
8075
7984
|
*/
|
|
8076
|
-
Scheduled: PlainDescriptor<Anonymize<
|
|
7985
|
+
Scheduled: PlainDescriptor<Anonymize<I4t1p53ss00k9n>>;
|
|
8077
7986
|
/**
|
|
8078
7987
|
* The DCA is planned for blocknumber
|
|
8079
7988
|
*/
|
|
@@ -8085,11 +7994,11 @@ type IEvent = {
|
|
|
8085
7994
|
/**
|
|
8086
7995
|
* The DCA trade execution is failed
|
|
8087
7996
|
*/
|
|
8088
|
-
TradeFailed: PlainDescriptor<Anonymize<
|
|
7997
|
+
TradeFailed: PlainDescriptor<Anonymize<I816ndt8f0o7bo>>;
|
|
8089
7998
|
/**
|
|
8090
7999
|
* The DCA is terminated and completely removed from the chain
|
|
8091
8000
|
*/
|
|
8092
|
-
Terminated: PlainDescriptor<Anonymize<
|
|
8001
|
+
Terminated: PlainDescriptor<Anonymize<I816ndt8f0o7bo>>;
|
|
8093
8002
|
/**
|
|
8094
8003
|
* The DCA is completed and completely removed from the chain
|
|
8095
8004
|
*/
|
|
@@ -8097,7 +8006,11 @@ type IEvent = {
|
|
|
8097
8006
|
/**
|
|
8098
8007
|
* Randomness generation failed possibly coming from missing data about relay chain
|
|
8099
8008
|
*/
|
|
8100
|
-
RandomnessGenerationFailed: PlainDescriptor<Anonymize<
|
|
8009
|
+
RandomnessGenerationFailed: PlainDescriptor<Anonymize<I9lvggssnq8q57>>;
|
|
8010
|
+
/**
|
|
8011
|
+
* DCA reserve for the given asset have been unlocked for a user
|
|
8012
|
+
*/
|
|
8013
|
+
ReserveUnlocked: PlainDescriptor<Anonymize<If4ebvclj2ugvi>>;
|
|
8101
8014
|
};
|
|
8102
8015
|
Scheduler: {
|
|
8103
8016
|
/**
|
|
@@ -8111,7 +8024,7 @@ type IEvent = {
|
|
|
8111
8024
|
/**
|
|
8112
8025
|
* Dispatched some task.
|
|
8113
8026
|
*/
|
|
8114
|
-
Dispatched: PlainDescriptor<Anonymize<
|
|
8027
|
+
Dispatched: PlainDescriptor<Anonymize<I34p2kpdh169oe>>;
|
|
8115
8028
|
/**
|
|
8116
8029
|
* Set a retry configuration for some task.
|
|
8117
8030
|
*/
|
|
@@ -8428,7 +8341,7 @@ type IEvent = {
|
|
|
8428
8341
|
* as Swapped contained wrong filler account on AAVE trades
|
|
8429
8342
|
*
|
|
8430
8343
|
*/
|
|
8431
|
-
Swapped3: PlainDescriptor<Anonymize<
|
|
8344
|
+
Swapped3: PlainDescriptor<Anonymize<Iflbjpb22ffvu4>>;
|
|
8432
8345
|
};
|
|
8433
8346
|
};
|
|
8434
8347
|
type IError = {
|
|
@@ -8773,214 +8686,98 @@ type IError = {
|
|
|
8773
8686
|
*/
|
|
8774
8687
|
ValueLow: PlainDescriptor<undefined>;
|
|
8775
8688
|
/**
|
|
8776
|
-
* Proposal does not exist
|
|
8777
|
-
*/
|
|
8778
|
-
ProposalMissing: PlainDescriptor<undefined>;
|
|
8779
|
-
/**
|
|
8780
|
-
* Cannot cancel the same proposal twice
|
|
8781
|
-
*/
|
|
8782
|
-
AlreadyCanceled: PlainDescriptor<undefined>;
|
|
8783
|
-
/**
|
|
8784
|
-
* Proposal already made
|
|
8785
|
-
*/
|
|
8786
|
-
DuplicateProposal: PlainDescriptor<undefined>;
|
|
8787
|
-
/**
|
|
8788
|
-
* Proposal still blacklisted
|
|
8789
|
-
*/
|
|
8790
|
-
ProposalBlacklisted: PlainDescriptor<undefined>;
|
|
8791
|
-
/**
|
|
8792
|
-
* Next external proposal not simple majority
|
|
8793
|
-
*/
|
|
8794
|
-
NotSimpleMajority: PlainDescriptor<undefined>;
|
|
8795
|
-
/**
|
|
8796
|
-
* Invalid hash
|
|
8797
|
-
*/
|
|
8798
|
-
InvalidHash: PlainDescriptor<undefined>;
|
|
8799
|
-
/**
|
|
8800
|
-
* No external proposal
|
|
8801
|
-
*/
|
|
8802
|
-
NoProposal: PlainDescriptor<undefined>;
|
|
8803
|
-
/**
|
|
8804
|
-
* Identity may not veto a proposal twice
|
|
8805
|
-
*/
|
|
8806
|
-
AlreadyVetoed: PlainDescriptor<undefined>;
|
|
8807
|
-
/**
|
|
8808
|
-
* Vote given for invalid referendum
|
|
8809
|
-
*/
|
|
8810
|
-
ReferendumInvalid: PlainDescriptor<undefined>;
|
|
8811
|
-
/**
|
|
8812
|
-
* No proposals waiting
|
|
8813
|
-
*/
|
|
8814
|
-
NoneWaiting: PlainDescriptor<undefined>;
|
|
8815
|
-
/**
|
|
8816
|
-
* The given account did not vote on the referendum.
|
|
8817
|
-
*/
|
|
8818
|
-
NotVoter: PlainDescriptor<undefined>;
|
|
8819
|
-
/**
|
|
8820
|
-
* The actor has no permission to conduct the action.
|
|
8821
|
-
*/
|
|
8822
|
-
NoPermission: PlainDescriptor<undefined>;
|
|
8823
|
-
/**
|
|
8824
|
-
* The account is already delegating.
|
|
8825
|
-
*/
|
|
8826
|
-
AlreadyDelegating: PlainDescriptor<undefined>;
|
|
8827
|
-
/**
|
|
8828
|
-
* Too high a balance was provided that the account cannot afford.
|
|
8829
|
-
*/
|
|
8830
|
-
InsufficientFunds: PlainDescriptor<undefined>;
|
|
8831
|
-
/**
|
|
8832
|
-
* The account is not currently delegating.
|
|
8833
|
-
*/
|
|
8834
|
-
NotDelegating: PlainDescriptor<undefined>;
|
|
8835
|
-
/**
|
|
8836
|
-
* The account currently has votes attached to it and the operation cannot succeed until
|
|
8837
|
-
* these are removed, either through `unvote` or `reap_vote`.
|
|
8838
|
-
*/
|
|
8839
|
-
VotesExist: PlainDescriptor<undefined>;
|
|
8840
|
-
/**
|
|
8841
|
-
* The instant referendum origin is currently disallowed.
|
|
8842
|
-
*/
|
|
8843
|
-
InstantNotAllowed: PlainDescriptor<undefined>;
|
|
8844
|
-
/**
|
|
8845
|
-
* Delegation to oneself makes no sense.
|
|
8846
|
-
*/
|
|
8847
|
-
Nonsense: PlainDescriptor<undefined>;
|
|
8848
|
-
/**
|
|
8849
|
-
* Invalid upper bound.
|
|
8850
|
-
*/
|
|
8851
|
-
WrongUpperBound: PlainDescriptor<undefined>;
|
|
8852
|
-
/**
|
|
8853
|
-
* Maximum number of votes reached.
|
|
8854
|
-
*/
|
|
8855
|
-
MaxVotesReached: PlainDescriptor<undefined>;
|
|
8856
|
-
/**
|
|
8857
|
-
* Maximum number of items reached.
|
|
8858
|
-
*/
|
|
8859
|
-
TooMany: PlainDescriptor<undefined>;
|
|
8860
|
-
/**
|
|
8861
|
-
* Voting period too low
|
|
8862
|
-
*/
|
|
8863
|
-
VotingPeriodLow: PlainDescriptor<undefined>;
|
|
8864
|
-
/**
|
|
8865
|
-
* The preimage does not exist.
|
|
8866
|
-
*/
|
|
8867
|
-
PreimageNotExist: PlainDescriptor<undefined>;
|
|
8868
|
-
};
|
|
8869
|
-
Elections: {
|
|
8870
|
-
/**
|
|
8871
|
-
* Cannot vote when no candidates or members exist.
|
|
8872
|
-
*/
|
|
8873
|
-
UnableToVote: PlainDescriptor<undefined>;
|
|
8874
|
-
/**
|
|
8875
|
-
* Must vote for at least one candidate.
|
|
8876
|
-
*/
|
|
8877
|
-
NoVotes: PlainDescriptor<undefined>;
|
|
8878
|
-
/**
|
|
8879
|
-
* Cannot vote more than candidates.
|
|
8880
|
-
*/
|
|
8881
|
-
TooManyVotes: PlainDescriptor<undefined>;
|
|
8882
|
-
/**
|
|
8883
|
-
* Cannot vote more than maximum allowed.
|
|
8884
|
-
*/
|
|
8885
|
-
MaximumVotesExceeded: PlainDescriptor<undefined>;
|
|
8886
|
-
/**
|
|
8887
|
-
* Cannot vote with stake less than minimum balance.
|
|
8888
|
-
*/
|
|
8889
|
-
LowBalance: PlainDescriptor<undefined>;
|
|
8890
|
-
/**
|
|
8891
|
-
* Voter can not pay voting bond.
|
|
8689
|
+
* Proposal does not exist
|
|
8892
8690
|
*/
|
|
8893
|
-
|
|
8691
|
+
ProposalMissing: PlainDescriptor<undefined>;
|
|
8894
8692
|
/**
|
|
8895
|
-
*
|
|
8693
|
+
* Cannot cancel the same proposal twice
|
|
8896
8694
|
*/
|
|
8897
|
-
|
|
8695
|
+
AlreadyCanceled: PlainDescriptor<undefined>;
|
|
8898
8696
|
/**
|
|
8899
|
-
*
|
|
8697
|
+
* Proposal already made
|
|
8900
8698
|
*/
|
|
8901
|
-
|
|
8699
|
+
DuplicateProposal: PlainDescriptor<undefined>;
|
|
8902
8700
|
/**
|
|
8903
|
-
*
|
|
8701
|
+
* Proposal still blacklisted
|
|
8904
8702
|
*/
|
|
8905
|
-
|
|
8703
|
+
ProposalBlacklisted: PlainDescriptor<undefined>;
|
|
8906
8704
|
/**
|
|
8907
|
-
*
|
|
8705
|
+
* Next external proposal not simple majority
|
|
8908
8706
|
*/
|
|
8909
|
-
|
|
8707
|
+
NotSimpleMajority: PlainDescriptor<undefined>;
|
|
8910
8708
|
/**
|
|
8911
|
-
*
|
|
8709
|
+
* Invalid hash
|
|
8912
8710
|
*/
|
|
8913
|
-
|
|
8711
|
+
InvalidHash: PlainDescriptor<undefined>;
|
|
8914
8712
|
/**
|
|
8915
|
-
*
|
|
8713
|
+
* No external proposal
|
|
8916
8714
|
*/
|
|
8917
|
-
|
|
8715
|
+
NoProposal: PlainDescriptor<undefined>;
|
|
8918
8716
|
/**
|
|
8919
|
-
*
|
|
8717
|
+
* Identity may not veto a proposal twice
|
|
8920
8718
|
*/
|
|
8921
|
-
|
|
8719
|
+
AlreadyVetoed: PlainDescriptor<undefined>;
|
|
8922
8720
|
/**
|
|
8923
|
-
*
|
|
8721
|
+
* Vote given for invalid referendum
|
|
8924
8722
|
*/
|
|
8925
|
-
|
|
8723
|
+
ReferendumInvalid: PlainDescriptor<undefined>;
|
|
8926
8724
|
/**
|
|
8927
|
-
*
|
|
8725
|
+
* No proposals waiting
|
|
8928
8726
|
*/
|
|
8929
|
-
|
|
8727
|
+
NoneWaiting: PlainDescriptor<undefined>;
|
|
8930
8728
|
/**
|
|
8931
|
-
* The
|
|
8729
|
+
* The given account did not vote on the referendum.
|
|
8932
8730
|
*/
|
|
8933
|
-
|
|
8731
|
+
NotVoter: PlainDescriptor<undefined>;
|
|
8934
8732
|
/**
|
|
8935
|
-
*
|
|
8733
|
+
* The actor has no permission to conduct the action.
|
|
8936
8734
|
*/
|
|
8937
|
-
|
|
8938
|
-
};
|
|
8939
|
-
Council: {
|
|
8735
|
+
NoPermission: PlainDescriptor<undefined>;
|
|
8940
8736
|
/**
|
|
8941
|
-
*
|
|
8737
|
+
* The account is already delegating.
|
|
8942
8738
|
*/
|
|
8943
|
-
|
|
8739
|
+
AlreadyDelegating: PlainDescriptor<undefined>;
|
|
8944
8740
|
/**
|
|
8945
|
-
*
|
|
8741
|
+
* Too high a balance was provided that the account cannot afford.
|
|
8946
8742
|
*/
|
|
8947
|
-
|
|
8743
|
+
InsufficientFunds: PlainDescriptor<undefined>;
|
|
8948
8744
|
/**
|
|
8949
|
-
*
|
|
8745
|
+
* The account is not currently delegating.
|
|
8950
8746
|
*/
|
|
8951
|
-
|
|
8747
|
+
NotDelegating: PlainDescriptor<undefined>;
|
|
8952
8748
|
/**
|
|
8953
|
-
*
|
|
8749
|
+
* The account currently has votes attached to it and the operation cannot succeed until
|
|
8750
|
+
* these are removed, either through `unvote` or `reap_vote`.
|
|
8954
8751
|
*/
|
|
8955
|
-
|
|
8752
|
+
VotesExist: PlainDescriptor<undefined>;
|
|
8956
8753
|
/**
|
|
8957
|
-
*
|
|
8754
|
+
* The instant referendum origin is currently disallowed.
|
|
8958
8755
|
*/
|
|
8959
|
-
|
|
8756
|
+
InstantNotAllowed: PlainDescriptor<undefined>;
|
|
8960
8757
|
/**
|
|
8961
|
-
*
|
|
8758
|
+
* Delegation to oneself makes no sense.
|
|
8962
8759
|
*/
|
|
8963
|
-
|
|
8760
|
+
Nonsense: PlainDescriptor<undefined>;
|
|
8964
8761
|
/**
|
|
8965
|
-
*
|
|
8762
|
+
* Invalid upper bound.
|
|
8966
8763
|
*/
|
|
8967
|
-
|
|
8764
|
+
WrongUpperBound: PlainDescriptor<undefined>;
|
|
8968
8765
|
/**
|
|
8969
|
-
*
|
|
8766
|
+
* Maximum number of votes reached.
|
|
8970
8767
|
*/
|
|
8971
|
-
|
|
8768
|
+
MaxVotesReached: PlainDescriptor<undefined>;
|
|
8972
8769
|
/**
|
|
8973
|
-
*
|
|
8770
|
+
* Maximum number of items reached.
|
|
8974
8771
|
*/
|
|
8975
|
-
|
|
8772
|
+
TooMany: PlainDescriptor<undefined>;
|
|
8976
8773
|
/**
|
|
8977
|
-
*
|
|
8774
|
+
* Voting period too low
|
|
8978
8775
|
*/
|
|
8979
|
-
|
|
8776
|
+
VotingPeriodLow: PlainDescriptor<undefined>;
|
|
8980
8777
|
/**
|
|
8981
|
-
*
|
|
8778
|
+
* The preimage does not exist.
|
|
8982
8779
|
*/
|
|
8983
|
-
|
|
8780
|
+
PreimageNotExist: PlainDescriptor<undefined>;
|
|
8984
8781
|
};
|
|
8985
8782
|
TechnicalCommittee: {
|
|
8986
8783
|
/**
|
|
@@ -9028,36 +8825,6 @@ type IError = {
|
|
|
9028
8825
|
*/
|
|
9029
8826
|
PrimeAccountNotMember: PlainDescriptor<undefined>;
|
|
9030
8827
|
};
|
|
9031
|
-
Tips: {
|
|
9032
|
-
/**
|
|
9033
|
-
* The reason given is just too big.
|
|
9034
|
-
*/
|
|
9035
|
-
ReasonTooBig: PlainDescriptor<undefined>;
|
|
9036
|
-
/**
|
|
9037
|
-
* The tip was already found/started.
|
|
9038
|
-
*/
|
|
9039
|
-
AlreadyKnown: PlainDescriptor<undefined>;
|
|
9040
|
-
/**
|
|
9041
|
-
* The tip hash is unknown.
|
|
9042
|
-
*/
|
|
9043
|
-
UnknownTip: PlainDescriptor<undefined>;
|
|
9044
|
-
/**
|
|
9045
|
-
* The tip given was too generous.
|
|
9046
|
-
*/
|
|
9047
|
-
MaxTipAmountExceeded: PlainDescriptor<undefined>;
|
|
9048
|
-
/**
|
|
9049
|
-
* The account attempting to retract the tip is not the finder of the tip.
|
|
9050
|
-
*/
|
|
9051
|
-
NotFinder: PlainDescriptor<undefined>;
|
|
9052
|
-
/**
|
|
9053
|
-
* The tip cannot be claimed/closed because there are not enough tippers yet.
|
|
9054
|
-
*/
|
|
9055
|
-
StillOpen: PlainDescriptor<undefined>;
|
|
9056
|
-
/**
|
|
9057
|
-
* The tip cannot be claimed/closed because it's still in the countdown period.
|
|
9058
|
-
*/
|
|
9059
|
-
Premature: PlainDescriptor<undefined>;
|
|
9060
|
-
};
|
|
9061
8828
|
Proxy: {
|
|
9062
8829
|
/**
|
|
9063
8830
|
* There are too many proxies registered or too many announcements pending.
|
|
@@ -9658,10 +9425,6 @@ type IError = {
|
|
|
9658
9425
|
* Liquidity mining is in `active` or `terminated` state and action cannot be completed.
|
|
9659
9426
|
*/
|
|
9660
9427
|
LiquidityMiningIsNotStopped: PlainDescriptor<undefined>;
|
|
9661
|
-
/**
|
|
9662
|
-
* LP shares amount is not valid.
|
|
9663
|
-
*/
|
|
9664
|
-
InvalidDepositAmount: PlainDescriptor<undefined>;
|
|
9665
9428
|
/**
|
|
9666
9429
|
* Account is not allowed to perform action.
|
|
9667
9430
|
*/
|
|
@@ -9747,6 +9510,10 @@ type IError = {
|
|
|
9747
9510
|
* `incentivized_asset` is not registered in asset registry.
|
|
9748
9511
|
*/
|
|
9749
9512
|
IncentivizedAssetNotRegistered: PlainDescriptor<undefined>;
|
|
9513
|
+
/**
|
|
9514
|
+
* Provided `amm_pool_id` doesn't match deposit's `amm_pool_id`.
|
|
9515
|
+
*/
|
|
9516
|
+
AmmPoolIdMismatch: PlainDescriptor<undefined>;
|
|
9750
9517
|
/**
|
|
9751
9518
|
* Action cannot be completed because unexpected error has occurred. This should be reported
|
|
9752
9519
|
* to protocol maintainers.
|
|
@@ -9845,6 +9612,20 @@ type IError = {
|
|
|
9845
9612
|
* Asset is not allowed to have a limit
|
|
9846
9613
|
*/
|
|
9847
9614
|
NotAllowed: PlainDescriptor<undefined>;
|
|
9615
|
+
/**
|
|
9616
|
+
* Asset still in lockdown as it reached the allowed deposit limit for the period
|
|
9617
|
+
* Query the `asset_lockdown_state` storage to determine until which block the asset is locked,
|
|
9618
|
+
* so that the deposit can be released afterward.
|
|
9619
|
+
*/
|
|
9620
|
+
AssetInLockdown: PlainDescriptor<undefined>;
|
|
9621
|
+
/**
|
|
9622
|
+
* Asset is not in a lockdown
|
|
9623
|
+
*/
|
|
9624
|
+
AssetNotInLockdown: PlainDescriptor<undefined>;
|
|
9625
|
+
/**
|
|
9626
|
+
* Invalid amount to save deposit
|
|
9627
|
+
*/
|
|
9628
|
+
InvalidAmount: PlainDescriptor<undefined>;
|
|
9848
9629
|
};
|
|
9849
9630
|
Router: {
|
|
9850
9631
|
/**
|
|
@@ -9888,6 +9669,12 @@ type IError = {
|
|
|
9888
9669
|
*/
|
|
9889
9670
|
NotAllowed: PlainDescriptor<undefined>;
|
|
9890
9671
|
};
|
|
9672
|
+
DynamicFees: {
|
|
9673
|
+
/**
|
|
9674
|
+
* Invalid fee parameters provided
|
|
9675
|
+
*/
|
|
9676
|
+
InvalidFeeParameters: PlainDescriptor<undefined>;
|
|
9677
|
+
};
|
|
9891
9678
|
Staking: {
|
|
9892
9679
|
/**
|
|
9893
9680
|
* Balance is too low.
|
|
@@ -10052,6 +9839,10 @@ type IError = {
|
|
|
10052
9839
|
* Creating pool with pegs is not allowed for asset with different decimals.
|
|
10053
9840
|
*/
|
|
10054
9841
|
IncorrectAssetDecimals: PlainDescriptor<undefined>;
|
|
9842
|
+
/**
|
|
9843
|
+
* Pool does not have pegs configured.
|
|
9844
|
+
*/
|
|
9845
|
+
NoPegSource: PlainDescriptor<undefined>;
|
|
10055
9846
|
};
|
|
10056
9847
|
Bonds: {
|
|
10057
9848
|
/**
|
|
@@ -10390,6 +10181,142 @@ type IError = {
|
|
|
10390
10181
|
* Liquidation was not profitable enough to repay flash loan
|
|
10391
10182
|
*/
|
|
10392
10183
|
NotProfitable: PlainDescriptor<undefined>;
|
|
10184
|
+
/**
|
|
10185
|
+
* Flash minter contract address not set. It is required for Hollar liquidations.
|
|
10186
|
+
*/
|
|
10187
|
+
FlashMinterNotSet: PlainDescriptor<undefined>;
|
|
10188
|
+
/**
|
|
10189
|
+
* Invalid liquidation data provided
|
|
10190
|
+
*/
|
|
10191
|
+
InvalidLiquidationData: PlainDescriptor<undefined>;
|
|
10192
|
+
};
|
|
10193
|
+
HSM: {
|
|
10194
|
+
/**
|
|
10195
|
+
* Asset is not approved as collateral
|
|
10196
|
+
*
|
|
10197
|
+
* The operation attempted to use an asset that is not registered as an approved collateral.
|
|
10198
|
+
*/
|
|
10199
|
+
AssetNotApproved: PlainDescriptor<undefined>;
|
|
10200
|
+
/**
|
|
10201
|
+
* Asset is already approved as collateral
|
|
10202
|
+
*
|
|
10203
|
+
* Attempted to add an asset that is already registered as a collateral.
|
|
10204
|
+
*/
|
|
10205
|
+
AssetAlreadyApproved: PlainDescriptor<undefined>;
|
|
10206
|
+
/**
|
|
10207
|
+
* Another asset from the same pool is already approved
|
|
10208
|
+
*
|
|
10209
|
+
* Only one asset from each StableSwap pool can be used as collateral.
|
|
10210
|
+
*/
|
|
10211
|
+
PoolAlreadyHasCollateral: PlainDescriptor<undefined>;
|
|
10212
|
+
/**
|
|
10213
|
+
* Invalid asset pair, must be Hollar and approved collateral
|
|
10214
|
+
*
|
|
10215
|
+
* The asset pair for buy/sell operations must include Hollar as one side and an approved collateral as the other.
|
|
10216
|
+
*/
|
|
10217
|
+
InvalidAssetPair: PlainDescriptor<undefined>;
|
|
10218
|
+
/**
|
|
10219
|
+
* Max buy price exceeded
|
|
10220
|
+
*
|
|
10221
|
+
* The calculated buy price exceeds the maximum allowed buy price for the collateral.
|
|
10222
|
+
*/
|
|
10223
|
+
MaxBuyPriceExceeded: PlainDescriptor<undefined>;
|
|
10224
|
+
/**
|
|
10225
|
+
* Max buy back amount in single block exceeded
|
|
10226
|
+
*
|
|
10227
|
+
* The amount of Hollar being sold to HSM exceeds the maximum allowed in a single block for this collateral.
|
|
10228
|
+
*/
|
|
10229
|
+
MaxBuyBackExceeded: PlainDescriptor<undefined>;
|
|
10230
|
+
/**
|
|
10231
|
+
* Max holding amount for collateral exceeded
|
|
10232
|
+
*
|
|
10233
|
+
* The operation would cause the HSM to hold more of the collateral than the configured maximum.
|
|
10234
|
+
*/
|
|
10235
|
+
MaxHoldingExceeded: PlainDescriptor<undefined>;
|
|
10236
|
+
/**
|
|
10237
|
+
* Slippage limit exceeded
|
|
10238
|
+
*
|
|
10239
|
+
* The calculated amount is worse than the provided slippage limit.
|
|
10240
|
+
*/
|
|
10241
|
+
SlippageLimitExceeded: PlainDescriptor<undefined>;
|
|
10242
|
+
/**
|
|
10243
|
+
* Invalid EVM contract interaction
|
|
10244
|
+
*
|
|
10245
|
+
* The call to the EVM contract (GHO Hollar token) failed.
|
|
10246
|
+
*/
|
|
10247
|
+
InvalidEVMInteraction: PlainDescriptor<undefined>;
|
|
10248
|
+
/**
|
|
10249
|
+
* Decimal retrieval failed
|
|
10250
|
+
*
|
|
10251
|
+
* Failed to retrieve the decimal information for an asset.
|
|
10252
|
+
*/
|
|
10253
|
+
DecimalRetrievalFailed: PlainDescriptor<undefined>;
|
|
10254
|
+
/**
|
|
10255
|
+
* No arbitrage opportunity
|
|
10256
|
+
*
|
|
10257
|
+
* There is no profitable arbitrage opportunity for the specified collateral.
|
|
10258
|
+
*/
|
|
10259
|
+
NoArbitrageOpportunity: PlainDescriptor<undefined>;
|
|
10260
|
+
/**
|
|
10261
|
+
* Offchain lock error
|
|
10262
|
+
*
|
|
10263
|
+
* Failed to acquire the lock for offchain workers, likely because another operation is in progress.
|
|
10264
|
+
*/
|
|
10265
|
+
OffchainLockError: PlainDescriptor<undefined>;
|
|
10266
|
+
/**
|
|
10267
|
+
* Asset not in the pool
|
|
10268
|
+
*
|
|
10269
|
+
* The specified asset was not found in the pool.
|
|
10270
|
+
*/
|
|
10271
|
+
AssetNotFound: PlainDescriptor<undefined>;
|
|
10272
|
+
/**
|
|
10273
|
+
* Provided pool state is invalid
|
|
10274
|
+
*
|
|
10275
|
+
* The retrieved pool state has inconsistent or invalid data.
|
|
10276
|
+
*/
|
|
10277
|
+
InvalidPoolState: PlainDescriptor<undefined>;
|
|
10278
|
+
/**
|
|
10279
|
+
* Collateral is not empty
|
|
10280
|
+
*
|
|
10281
|
+
* Cannot remove a collateral asset that still has a non-zero balance in the HSM account.
|
|
10282
|
+
*/
|
|
10283
|
+
CollateralNotEmpty: PlainDescriptor<undefined>;
|
|
10284
|
+
/**
|
|
10285
|
+
* Asset not in the pool
|
|
10286
|
+
*
|
|
10287
|
+
* The collateral asset is not present in the specified pool.
|
|
10288
|
+
*/
|
|
10289
|
+
AssetNotInPool: PlainDescriptor<undefined>;
|
|
10290
|
+
/**
|
|
10291
|
+
* Hollar is not in the pool
|
|
10292
|
+
*
|
|
10293
|
+
* The Hollar asset is not present in the specified pool.
|
|
10294
|
+
*/
|
|
10295
|
+
HollarNotInPool: PlainDescriptor<undefined>;
|
|
10296
|
+
/**
|
|
10297
|
+
* Insufficient collateral balance
|
|
10298
|
+
*
|
|
10299
|
+
* The HSM does not have enough of the collateral asset to complete the operation.
|
|
10300
|
+
*/
|
|
10301
|
+
InsufficientCollateralBalance: PlainDescriptor<undefined>;
|
|
10302
|
+
/**
|
|
10303
|
+
* GHO Contract address not found
|
|
10304
|
+
*
|
|
10305
|
+
* The EVM address for the GHO (Hollar) token contract was not found.
|
|
10306
|
+
*/
|
|
10307
|
+
HollarContractAddressNotFound: PlainDescriptor<undefined>;
|
|
10308
|
+
/**
|
|
10309
|
+
* HSM contains maximum number of allowed collateral assets.
|
|
10310
|
+
*/
|
|
10311
|
+
MaxNumberOfCollateralsReached: PlainDescriptor<undefined>;
|
|
10312
|
+
/**
|
|
10313
|
+
* Flash minter address not set
|
|
10314
|
+
*/
|
|
10315
|
+
FlashMinterNotSet: PlainDescriptor<undefined>;
|
|
10316
|
+
/**
|
|
10317
|
+
* Provided arbitrage data is invalid
|
|
10318
|
+
*/
|
|
10319
|
+
InvalidArbitrageData: PlainDescriptor<undefined>;
|
|
10393
10320
|
};
|
|
10394
10321
|
Tokens: {
|
|
10395
10322
|
/**
|
|
@@ -10600,6 +10527,10 @@ type IError = {
|
|
|
10600
10527
|
* No global farm - yield farm pairs specified to join
|
|
10601
10528
|
*/
|
|
10602
10529
|
NoFarmsSpecified: PlainDescriptor<undefined>;
|
|
10530
|
+
/**
|
|
10531
|
+
* Failed to calculate value of xyk shares
|
|
10532
|
+
*/
|
|
10533
|
+
FailedToValueShares: PlainDescriptor<undefined>;
|
|
10603
10534
|
};
|
|
10604
10535
|
XYKWarehouseLM: {
|
|
10605
10536
|
/**
|
|
@@ -10626,10 +10557,6 @@ type IError = {
|
|
|
10626
10557
|
* Liquidity mining is in `active` or `terminated` state and action cannot be completed.
|
|
10627
10558
|
*/
|
|
10628
10559
|
LiquidityMiningIsNotStopped: PlainDescriptor<undefined>;
|
|
10629
|
-
/**
|
|
10630
|
-
* LP shares amount is not valid.
|
|
10631
|
-
*/
|
|
10632
|
-
InvalidDepositAmount: PlainDescriptor<undefined>;
|
|
10633
10560
|
/**
|
|
10634
10561
|
* Account is not allowed to perform action.
|
|
10635
10562
|
*/
|
|
@@ -10715,6 +10642,10 @@ type IError = {
|
|
|
10715
10642
|
* `incentivized_asset` is not registered in asset registry.
|
|
10716
10643
|
*/
|
|
10717
10644
|
IncentivizedAssetNotRegistered: PlainDescriptor<undefined>;
|
|
10645
|
+
/**
|
|
10646
|
+
* Provided `amm_pool_id` doesn't match deposit's `amm_pool_id`.
|
|
10647
|
+
*/
|
|
10648
|
+
AmmPoolIdMismatch: PlainDescriptor<undefined>;
|
|
10718
10649
|
/**
|
|
10719
10650
|
* Action cannot be completed because unexpected error has occurred. This should be reported
|
|
10720
10651
|
* to protocol maintainers.
|
|
@@ -10794,6 +10725,14 @@ type IError = {
|
|
|
10794
10725
|
* Stability threshold cannot be higher than `MaxConfigurablePriceDifferenceBetweenBlock`
|
|
10795
10726
|
*/
|
|
10796
10727
|
StabilityThresholdTooHigh: PlainDescriptor<undefined>;
|
|
10728
|
+
/**
|
|
10729
|
+
* User still has active DCA schedules and cannot unlock reserves
|
|
10730
|
+
*/
|
|
10731
|
+
HasActiveSchedules: PlainDescriptor<undefined>;
|
|
10732
|
+
/**
|
|
10733
|
+
* No reserves are locked for the user for the given asset
|
|
10734
|
+
*/
|
|
10735
|
+
NoReservesLocked: PlainDescriptor<undefined>;
|
|
10797
10736
|
};
|
|
10798
10737
|
Scheduler: {
|
|
10799
10738
|
/**
|
|
@@ -11501,106 +11440,12 @@ type IConstants = {
|
|
|
11501
11440
|
*/
|
|
11502
11441
|
MaxBlacklisted: PlainDescriptor<number>;
|
|
11503
11442
|
};
|
|
11504
|
-
Elections: {
|
|
11505
|
-
/**
|
|
11506
|
-
* Identifier for the elections-phragmen pallet's lock
|
|
11507
|
-
*/
|
|
11508
|
-
PalletId: PlainDescriptor<FixedSizeBinary<8>>;
|
|
11509
|
-
/**
|
|
11510
|
-
* How much should be locked up in order to submit one's candidacy.
|
|
11511
|
-
*/
|
|
11512
|
-
CandidacyBond: PlainDescriptor<bigint>;
|
|
11513
|
-
/**
|
|
11514
|
-
* Base deposit associated with voting.
|
|
11515
|
-
*
|
|
11516
|
-
* This should be sensibly high to economically ensure the pallet cannot be attacked by
|
|
11517
|
-
* creating a gigantic number of votes.
|
|
11518
|
-
*/
|
|
11519
|
-
VotingBondBase: PlainDescriptor<bigint>;
|
|
11520
|
-
/**
|
|
11521
|
-
* The amount of bond that need to be locked for each vote (32 bytes).
|
|
11522
|
-
*/
|
|
11523
|
-
VotingBondFactor: PlainDescriptor<bigint>;
|
|
11524
|
-
/**
|
|
11525
|
-
* Number of members to elect.
|
|
11526
|
-
*/
|
|
11527
|
-
DesiredMembers: PlainDescriptor<number>;
|
|
11528
|
-
/**
|
|
11529
|
-
* Number of runners_up to keep.
|
|
11530
|
-
*/
|
|
11531
|
-
DesiredRunnersUp: PlainDescriptor<number>;
|
|
11532
|
-
/**
|
|
11533
|
-
* How long each seat is kept. This defines the next block number at which an election
|
|
11534
|
-
* round will happen. If set to zero, no elections are ever triggered and the module will
|
|
11535
|
-
* be in passive mode.
|
|
11536
|
-
*/
|
|
11537
|
-
TermDuration: PlainDescriptor<number>;
|
|
11538
|
-
/**
|
|
11539
|
-
* The maximum number of candidates in a phragmen election.
|
|
11540
|
-
*
|
|
11541
|
-
* Warning: This impacts the size of the election which is run onchain. Chose wisely, and
|
|
11542
|
-
* consider how it will impact `T::WeightInfo::election_phragmen`.
|
|
11543
|
-
*
|
|
11544
|
-
* When this limit is reached no more candidates are accepted in the election.
|
|
11545
|
-
*/
|
|
11546
|
-
MaxCandidates: PlainDescriptor<number>;
|
|
11547
|
-
/**
|
|
11548
|
-
* The maximum number of voters to allow in a phragmen election.
|
|
11549
|
-
*
|
|
11550
|
-
* Warning: This impacts the size of the election which is run onchain. Chose wisely, and
|
|
11551
|
-
* consider how it will impact `T::WeightInfo::election_phragmen`.
|
|
11552
|
-
*
|
|
11553
|
-
* When the limit is reached the new voters are ignored.
|
|
11554
|
-
*/
|
|
11555
|
-
MaxVoters: PlainDescriptor<number>;
|
|
11556
|
-
/**
|
|
11557
|
-
* Maximum numbers of votes per voter.
|
|
11558
|
-
*
|
|
11559
|
-
* Warning: This impacts the size of the election which is run onchain. Chose wisely, and
|
|
11560
|
-
* consider how it will impact `T::WeightInfo::election_phragmen`.
|
|
11561
|
-
*/
|
|
11562
|
-
MaxVotesPerVoter: PlainDescriptor<number>;
|
|
11563
|
-
};
|
|
11564
|
-
Council: {
|
|
11565
|
-
/**
|
|
11566
|
-
* The maximum weight of a dispatch call that can be proposed and executed.
|
|
11567
|
-
*/
|
|
11568
|
-
MaxProposalWeight: PlainDescriptor<Anonymize<I4q39t5hn830vp>>;
|
|
11569
|
-
};
|
|
11570
11443
|
TechnicalCommittee: {
|
|
11571
11444
|
/**
|
|
11572
11445
|
* The maximum weight of a dispatch call that can be proposed and executed.
|
|
11573
11446
|
*/
|
|
11574
11447
|
MaxProposalWeight: PlainDescriptor<Anonymize<I4q39t5hn830vp>>;
|
|
11575
11448
|
};
|
|
11576
|
-
Tips: {
|
|
11577
|
-
/**
|
|
11578
|
-
* Maximum acceptable reason length.
|
|
11579
|
-
*
|
|
11580
|
-
* Benchmarks depend on this value, be sure to update weights file when changing this value
|
|
11581
|
-
*/
|
|
11582
|
-
MaximumReasonLength: PlainDescriptor<number>;
|
|
11583
|
-
/**
|
|
11584
|
-
* The amount held on deposit per byte within the tip report reason or bounty description.
|
|
11585
|
-
*/
|
|
11586
|
-
DataDepositPerByte: PlainDescriptor<bigint>;
|
|
11587
|
-
/**
|
|
11588
|
-
* The period for which a tip remains open after is has achieved threshold tippers.
|
|
11589
|
-
*/
|
|
11590
|
-
TipCountdown: PlainDescriptor<number>;
|
|
11591
|
-
/**
|
|
11592
|
-
* The percent of the final tip which goes to the original reporter of the tip.
|
|
11593
|
-
*/
|
|
11594
|
-
TipFindersFee: PlainDescriptor<number>;
|
|
11595
|
-
/**
|
|
11596
|
-
* The non-zero amount held on deposit for placing a tip report.
|
|
11597
|
-
*/
|
|
11598
|
-
TipReportDepositBase: PlainDescriptor<bigint>;
|
|
11599
|
-
/**
|
|
11600
|
-
* The maximum amount for a single tip.
|
|
11601
|
-
*/
|
|
11602
|
-
MaxTipAmount: PlainDescriptor<bigint>;
|
|
11603
|
-
};
|
|
11604
11449
|
Proxy: {
|
|
11605
11450
|
/**
|
|
11606
11451
|
* The base amount of currency needed to reserve for creating a proxy.
|
|
@@ -12127,6 +11972,24 @@ type IConstants = {
|
|
|
12127
11972
|
* Account who receives the profit.
|
|
12128
11973
|
*/
|
|
12129
11974
|
ProfitReceiver: PlainDescriptor<SS58String>;
|
|
11975
|
+
/**
|
|
11976
|
+
* Asset ID of Hollar
|
|
11977
|
+
*/
|
|
11978
|
+
HollarId: PlainDescriptor<number>;
|
|
11979
|
+
};
|
|
11980
|
+
HSM: {
|
|
11981
|
+
/**
|
|
11982
|
+
* Asset ID of Hollar
|
|
11983
|
+
*/
|
|
11984
|
+
HollarId: PlainDescriptor<number>;
|
|
11985
|
+
/**
|
|
11986
|
+
* Pallet ID to determine HSM account
|
|
11987
|
+
*/
|
|
11988
|
+
PalletId: PlainDescriptor<FixedSizeBinary<8>>;
|
|
11989
|
+
/**
|
|
11990
|
+
* The gas limit for the execution of EVM calls
|
|
11991
|
+
*/
|
|
11992
|
+
GasLimit: PlainDescriptor<bigint>;
|
|
12130
11993
|
};
|
|
12131
11994
|
Tokens: {
|
|
12132
11995
|
/**
|
|
@@ -12171,6 +12034,14 @@ type IConstants = {
|
|
|
12171
12034
|
* NFT collection id for liquidity mining's deposit nfts.
|
|
12172
12035
|
*/
|
|
12173
12036
|
NFTCollectionId: PlainDescriptor<bigint>;
|
|
12037
|
+
/**
|
|
12038
|
+
* Oracle source identifier for this pallet.
|
|
12039
|
+
*/
|
|
12040
|
+
OracleSource: PlainDescriptor<FixedSizeBinary<8>>;
|
|
12041
|
+
/**
|
|
12042
|
+
* Oracle's liquidity aggregation period.
|
|
12043
|
+
*/
|
|
12044
|
+
OraclePeriod: PlainDescriptor<Anonymize<I9m0752cdvui5o>>;
|
|
12174
12045
|
};
|
|
12175
12046
|
XYKWarehouseLM: {
|
|
12176
12047
|
/**
|
|
@@ -12420,7 +12291,7 @@ type IRuntimeCalls = {
|
|
|
12420
12291
|
* Returns an inclusion outcome which specifies if this extrinsic is included in
|
|
12421
12292
|
* this block or not.
|
|
12422
12293
|
*/
|
|
12423
|
-
apply_extrinsic: RuntimeDescriptor<[extrinsic: Binary], Anonymize<
|
|
12294
|
+
apply_extrinsic: RuntimeDescriptor<[extrinsic: Binary], Anonymize<Iemoogi4pod9je>>;
|
|
12424
12295
|
/**
|
|
12425
12296
|
* Finish the current block.
|
|
12426
12297
|
*/
|
|
@@ -12586,11 +12457,11 @@ type IRuntimeCalls = {
|
|
|
12586
12457
|
/**
|
|
12587
12458
|
|
|
12588
12459
|
*/
|
|
12589
|
-
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<
|
|
12460
|
+
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<I6jjdlit6ip0v2>>;
|
|
12590
12461
|
/**
|
|
12591
12462
|
|
|
12592
12463
|
*/
|
|
12593
|
-
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<
|
|
12464
|
+
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<I3jgo13jo62eap>>;
|
|
12594
12465
|
/**
|
|
12595
12466
|
* Return the current block.
|
|
12596
12467
|
*/
|
|
@@ -12660,6 +12531,19 @@ type IRuntimeCalls = {
|
|
|
12660
12531
|
*/
|
|
12661
12532
|
account_id: RuntimeDescriptor<[evm_address: FixedSizeBinary<20>], SS58String>;
|
|
12662
12533
|
};
|
|
12534
|
+
/**
|
|
12535
|
+
* The API to query AssetId <-> EVM address conversions.
|
|
12536
|
+
*/
|
|
12537
|
+
Erc20MappingApi: {
|
|
12538
|
+
/**
|
|
12539
|
+
* Get the EVM address of the asset.
|
|
12540
|
+
*/
|
|
12541
|
+
asset_address: RuntimeDescriptor<[asset_id: number], FixedSizeBinary<20>>;
|
|
12542
|
+
/**
|
|
12543
|
+
* Get the asset id corresponding to EVM address. If not found, returns `None`.
|
|
12544
|
+
*/
|
|
12545
|
+
address_to_asset: RuntimeDescriptor<[address: FixedSizeBinary<20>], Anonymize<I4arjljr6dpflb>>;
|
|
12546
|
+
};
|
|
12663
12547
|
/**
|
|
12664
12548
|
* A trait of XCM payment API.
|
|
12665
12549
|
*
|
|
@@ -12753,11 +12637,11 @@ type IRuntimeCalls = {
|
|
|
12753
12637
|
/**
|
|
12754
12638
|
* Dry run call.
|
|
12755
12639
|
*/
|
|
12756
|
-
dry_run_call: RuntimeDescriptor<[origin: Anonymize<
|
|
12640
|
+
dry_run_call: RuntimeDescriptor<[origin: Anonymize<Iathhdqc4u75dj>, call: Anonymize<I6c43drp887phj>], Anonymize<Iu35mn8gagoqa>>;
|
|
12757
12641
|
/**
|
|
12758
12642
|
* Dry run XCM program
|
|
12759
12643
|
*/
|
|
12760
|
-
dry_run_xcm: RuntimeDescriptor<[origin_location: XcmVersionedLocation, xcm: XcmVersionedXcm], Anonymize<
|
|
12644
|
+
dry_run_xcm: RuntimeDescriptor<[origin_location: XcmVersionedLocation, xcm: XcmVersionedXcm], Anonymize<Ia5ed032pojlpv>>;
|
|
12761
12645
|
};
|
|
12762
12646
|
/**
|
|
12763
12647
|
* API for useful conversions between XCM `Location` and `AccountId`.
|
|
@@ -12845,7 +12729,7 @@ type IRuntimeCalls = {
|
|
|
12845
12729
|
};
|
|
12846
12730
|
};
|
|
12847
12731
|
type IAsset = PlainDescriptor<void>;
|
|
12848
|
-
export type HydrationDispatchError = Anonymize<
|
|
12732
|
+
export type HydrationDispatchError = Anonymize<Ics48kf47718nc>;
|
|
12849
12733
|
type PalletsTypedef = {
|
|
12850
12734
|
__storage: IStorage;
|
|
12851
12735
|
__tx: ICalls;
|
|
@@ -12873,7 +12757,7 @@ export type HydrationEvents = EventsFromPalletsDef<PalletsTypedef>;
|
|
|
12873
12757
|
export type HydrationErrors = ErrorsFromPalletsDef<PalletsTypedef>;
|
|
12874
12758
|
export type HydrationConstants = ConstFromPalletsDef<PalletsTypedef>;
|
|
12875
12759
|
export type HydrationViewFns = ViewFnsFromPalletsDef<PalletsTypedef>;
|
|
12876
|
-
export type HydrationCallData = Anonymize<
|
|
12760
|
+
export type HydrationCallData = Anonymize<I6c43drp887phj> & {
|
|
12877
12761
|
value: {
|
|
12878
12762
|
type: string;
|
|
12879
12763
|
};
|