Open boyswan opened 1 year ago
The actual contract(s) (wasm + Abi or .contract file is just as useful) & used messages/transactions on the contract(s) is missing here.
The actual contract(s) (wasm + Abi or .contract file is just as useful) & used messages/transactions on the contract(s) is missing here.
Sorry about that!
The events from the metadata:
"events": [
{
"args": [
{
"docs": [],
"indexed": false,
"label": "from",
"type": {
"displayName": [
"Option"
],
"type": 38
}
},
{
"docs": [],
"indexed": false,
"label": "to",
"type": {
"displayName": [
"Option"
],
"type": 38
}
},
{
"docs": [],
"indexed": false,
"label": "id",
"type": {
"displayName": [
"Id"
],
"type": 12
}
}
],
"docs": [],
"label": "Transfer"
},
{
"args": [
{
"docs": [],
"indexed": true,
"label": "from",
"type": {
"displayName": [
"AccountId"
],
"type": 0
}
},
{
"docs": [],
"indexed": true,
"label": "to",
"type": {
"displayName": [
"AccountId"
],
"type": 0
}
},
{
"docs": [],
"indexed": true,
"label": "id",
"type": {
"displayName": [
"Option"
],
"type": 33
}
},
{
"docs": [],
"indexed": false,
"label": "approved",
"type": {
"displayName": [
"bool"
],
"type": 15
}
}
],
"docs": [
" Event emitted when a token approve occurs."
],
"label": "Approval"
}
],
Do you have a .contract
bundle to share to test through on this?
The indexed
does look weird through, it has been a long time since I touched contracts, but cannot recall anything in the Abi named indexed
, so could well be something weird here. Hence a contract to play through with is quite critical.
The contract is in a bit of a tricky state as it's part of many other contracts that are required to be deployed in order for it to function. I'll see if I can put together a trimmed down version that replicates the behaviour. I am using ink 4.1.0
.
I would certainly appreciate that.
Hopefully this should work. I think it's too large for rococo if you're planning to use the contracts ui (works on astar shibuya testnet)
{"source":{"hash":"0x4165bede6b0abd9016f77561a6ae14ff335af5437ec70efbb653776b18751515","language":"ink! 4.1.0","compiler":"rustc 1.70.0-nightly","wasm":"0x0061736d01000000014f0e60027f7f0060037f7f7f0060017f0060027f7f017f60037f7f7f017f60017f017f60047f7f7f7f017f60037e7e7f0060000060037f7e7e0060047f7f7f7f0060037f7f7e006000017f60027e7f0002f0010c057365616c310b6765745f73746f726167650006057365616c3005696e7075740000057365616c3007616464726573730000057365616c300d6465706f7369745f6576656e74000a057365616c320b7365745f73746f726167650006057365616c310d636c6561725f73746f726167650003057365616c3110636f6e7461696e735f73746f726167650003057365616c300b7365616c5f72657475726e0001057365616c300f686173685f626c616b65325f3235360001057365616c300663616c6c65720000057365616c301176616c75655f7472616e73666572726564000003656e76066d656d6f7279020102100354530400000000010101000000000102030b010100000000050002020000000000050c03030004010101050000000200000000000202020d07070002000000080008000100000100090000090100000001000004000608017f01418080040b071102066465706c6f7900480463616c6c004a0afdb201532b01017f037f2002200346047f200005200020036a200120036a2d00003a0000200341016a21030c010b0b0b6401017f024002400240024041012000280200220241066b200241054d1b41016b0e03010203000b20014100100d200120002d0004100d0f0b20014101100d20002001100e0f0b20014102100d200120002d0004100d0f0b20014103100d20014100100d0b2d01017f2000280208220220002802044904402000200241016a360208200028020020026a20013a00000f0b000b7500024002400240024002400240200028020041016b0e050102030405000b20014100100d200041086a2802002000410c6a280200200110100f0b20014101100d0f0b20014102100d0f0b20014103100d0f0b20014104100d0f0b20014105100d200041086a2802002000410c6a280200200110100bb70101047f230041306b2202240002402000280204220420002802082203490d0020002802002105200241003602082002200420036b22043602042002200320056a2205360200200128020020012802042002101020022001280208410d10112002280208220120022802044b0d0020022002280200200110122002410036022820022004360224200220053602202002200241206a1013200320022802286a22012003490d0020002001360208200241306a24000f0b000b2c01017f230041106b220324002003200136020c2003410c6a200210162002200020011011200341106a24000b4801027f024002402000280208220320026a22042003490d00200420002802044b0d00200420036b2002470d01200028020020036a20012002100b1a200020043602080f0b000b000bb00101077f230041206b2203240020004200370000200041186a22044200370000200041106a22054200370000200041086a220642003700000240200241214f0440200341186a22074200370300200341106a22084200370300200341086a22094200370300200342003703002001200220031008200420072903003700002005200829030037000020062009290300370000200020032903003700000c010b200020012002100b1a0b200341206a24000b0a0020012000412010110bb50101047f230041306b2202240002402000280204220420002802082203490d0020002802002105200241003602082002200420036b22043602042002200320056a220536020020012802002001280204200210102001280208200210132002280208220120022802044b0d0020022002280200200110122002410036022820022004360224200220053602202002200241206a1013200320022802286a22012003490d0020002001360208200241306a24000f0b000b7501037f230041206b220224002002200136020c02402000280204220320002802082201490d0020002802002104200241003602182002200320016b3602142002200120046a3602102002410c6a200241106a10162001200120022802186a22014b0d0020002001360208200241206a24000f0b000b550020002802002200413f4d044020012000410274100d0f0b200041ffff004d044020004102744101722001104d0f0b200041ffffffff034d044020004102744102722001101f0f0b20014103100d20002001101f0bc30101027f230041206b2203240020031018024041012003101945044020004108360204200041063a0000200041086a41013a00000c010b200320014201101a20032802002204410a460440200341186a200241186a290000370300200341106a200241106a290000370300200341086a200241086a29000037030020032002290000370300200020012003101b0c010b200041086a2003290204370200200041106a2003410c6a280200360200200041063a0000200020043602040b200341206a24000b6d01017f230041106b2201240020014180800136020c419083042001410c6a1009200041918304290000370001200041096a41998304290000370000200041116a41a18304290000370000200041186a41a883042900003700002000419083042d00003a0000200141106a24000b5d01017f230041206b220224002002200136020c20022000360208200242808001370214200241908304360210200241086a200241106a10472002280218220020022802144b0440000b200228021020001006200241206a2400417f470b5e02027f017e024002402002500440410d21030c010b411121032002200129032022027c22052002540d00410a21042001290310500d012005200141186a290300220258200250720d010b200020033a0004410621040b200020043602000be00202047f017e230041a0016b2203240002400240200129032042017c220750450440200341033a000020032007370308200341306a2204200241186a290000370300200341286a2205200241106a290000370300200341206a2206200241086a29000037030020032002290000370318200341e0006a2003101e20032d00600d01200341186a2202200341011031200320021022200341003a0038200341f9006a2004290300370000200341f1006a2005290300370000200341e9006a200629030037000020032003290318370061200341013a006020034198016a200341106a29030037030020034190016a200341086a2903003703002003200329030037038801200341386a200341e0006a20034188016a103220002007370308200041033a0000200120073703200c020b20004106360204200041063a0000200041086a41113a00000c010b200041063a0000200041033602040b200341a0016a24000b7d01017f230041306b220324002003200236020420032001360200200341fc8204360224200341f8820436022020032003360228200341086a200341206a101d20032d00084107460440000b20002003290308370300200041106a200341186a290300370300200041086a200341106a290300370300200341306a24000b870201047f230041206b220224002002428080013702042002419083043602002001280200200141046a2802002002105520012802082002105802402002280204220420022802082201490d00200228020021032002200420016b220436020020032001200120036a2203200210002101200420022802002205490d00024002400240410c20012001410c4f1b0e0401030300030b200041063a00000c010b2002200536021c200220033602182002200241186a102820022d00002201410647044020002002290001370001200041106a200241106a290000370000200041096a200241096a290000370000200020013a00000c010b200041073b01000b200241206a24000f0b000bae0201047f230041206b2202240020024280800137020420024190830436020041b48ca0e6012002101f20012002102002402002280204220420022802082201490d00200228020021032002200420016b220436020020032001200120036a2201200210002103200420022802002205490d002000027f02400240410c20032003410c4f1b0e0400030301030b20054120490d02200241086a200141096a290000370300200241106a200141116a290000370300200241176a200141186a290000370000200220012900013703004101210320012d00000c010b4100210341000b3a0001200020033a0000200020022903003700022000410a6a200241086a290300370000200041126a200241106a290300370000200041196a200241176a290000370000200241206a24000f0b000b2601017f230041106b220224002002200036020c20012002410c6a41041011200241106a24000b96010002400240024002400240024020002d000041016b0e050102030405000b20014100100d20002d00012001103a0f0b20014101100d20002f01022001104d0f0b20014102100d20002802042001101f0f0b20014103100d2000290308200110400f0b20014104100d2000290308200041106a290300200110420f0b20014105100d200041086a2802002000410c6a280200200110100b8e0201037f230041106b2201240020014280800137020420014190830436020041ebdcfef1072001101f2000280200200110132000280204200110130240027f2000280208220228020045044020012802082200200128020422024f0d022001280200220320006a41003a0000200041016a0c010b2001280208220020012802044f0d01200128020020006a41013a00002001200041016a360208200228020020011020200128020421022001280200210320012802080b220020024b0d002001200220006b220236020020032000200020036a20011000210020022001280200490d004101210202400240410c20002000410c4f1b0e0401020200020b410021020b200141106a240020020f0b000b910101037f230041106b2202240020024280800137020420024190830436020041b48ca0e6012002101f20002002102002402002280204220420022802082200490d0020022802002103200241003602082002200420006b3602042002200020036a3602002001200210132002280208220120022802044b0d00200320002002280200200110041a200241106a24000f0b000b5101017f230041106b2201240020014280800137020420014190830436020041b48ca0e6012001101f2000200110202001280208220020012802044b0440000b2001280200200010051a200141106a24000bcf0101037f230041106b2201240020014280800137020420014190830436020041ebdcfef1072001101f2000280200200110132000280204200110130240027f2000280208220228020045044020012802082200200128020422024f0d022001280200220320006a41003a0000200041016a0c010b2001280208220020012802044f0d01200128020020006a41013a00002001200041016a360208200228020020011020200128020421022001280200210320012802080b220020024b0d002003200010051a200141106a24000f0b000ba20101037f230041106b22022400200241086a2001102641012103024020022802080d00200128020422044120490d002000200228020c3602042001200441206b36020420012001280200220141206a360200200041086a2001290000370000200041106a200141086a290000370000200041186a200141106a290000370000200041206a200141186a290000370000410021030b20002003360200200241106a24000b4601017f20012802042202410449047f4101052001200241046b36020420012001280200220141046a3602002001280000210241000b210120002002360204200020013602000b9e0101017f230041d0006b22022400200241286a20011028024020022d00284106470440200241406b2001102920022802440440200241206a200241c8006a280200360200200241086a200241306a290300370300200241106a200241386a2903003703002002200229034037031820022002290328370300200020024128100b1a0c020b200041063a00000c010b200041063a00000b200241d0006a24000b8c0502047f037e230041f0006b22022400200241386a200110340240024002400240024002400240024020022d003841017145044020022d00390e06010203040507060b200041063a00000c070b20022001104b20022d000041017145044020022d00012101200041003a0000200020013a00010c070b200041063a00000c060b2001280204220341024f0440200041013a0000200128020022042f000021052001200341026b3602042001200441026a360200200020053b01020c060b200041063a00000c050b200241086a200110262002280208450440200228020c2101200041023a0000200020013602040c050b200041063a00000c040b200241106a210320012802042204410849047e4201052001200441086b36020420012001280200220141086a3602002001290000210642000b210720032006370308200320073703002002290310a745044020022903182106200041033a0000200020063703080c040b200041063a00000c030b200241206a210320012802042204411049047e4201052001200441106b36020420012001280200220141106a360200200141086a29000021062001290000210742000b21082003200737030820032008370300200341106a20063703002002290320a7450440200241306a290300210620022903282107200041043a000020002007370308200041106a20063703000c030b200041063a00000c020b200041063a00000c010b200241d0006a2001102920022802540440200241e8006a200241d8006a2802002201360200200241cc006a2001360000200220022903502206370360200041053a00002002200637004420002002290041370001200041086a200241c8006a2900003700000c010b200041063a00000b200241f0006a24000bfa0201067f230041306b22022400200241186a200110340240024020022d00184101710d00024020022d0019220341037122044103470440024002400240200441016b0e020102000b200341fc017141027621030c030b200220033a0025200241013a002420022001360220200241003b012c200241206a2002412c6a4102105c0d0320022f012c220341ff014d0d03200341027621030c020b200220033a0025200241013a0024200220013602202002410036022c200241206a2002412c6a4104105c0d02200228022c220341808004490d02200341027621030c010b200341044f0d01200241106a2001102620022802100d0120022802142203418080808004490d010b2003200128020422044d0440200241086a20034101103020022802082105200228020c200128020022062003100b21072001200420036b3602042001200320066a3602002000200336020820002007360204200020053602000c020b200041003602040c010b200041003602040b200241306a24000ba70101047f230041106b2201240020014280800137020420014190830436020041b4a5b3d1062001101f20002001101f02402001280204220020012802082202490d00200128020021032001200020026b220436020020032002200220036a2203200110002102200420012802002200490d004100210402400240410c20022002410c4f1b0e0400020201020b20004104490d01200328000021040b200141106a240020040f0b000b5502027f027e230041206b22002400200041106a22014200370300200042003703082000411036021c200041086a2000411c6a100a2001290300210220002903082103200041206a2400410541042002200384501b0b0b0020002001102d4101730b4601037f027f41202102034041002002450d011a200241016b210220012d0000210320002d00002104200041016a2100200141016a210120032004460d000b200420036b0b450bd70102047f027e230041206b2202240020022001360208200241848304360204200241f882043602002002428080013702142002419083043602102002200241106a105702402002280214220420022802182201490d00200228021021032002200420016b220436021020032001200120036a2201200241106a10002103200420022802102205490d00027e02400240410c20032003410c4f1b0e0400030301030b20054110490d0220012900002106200141086a2900000c010b42000b21072000200637030020002007370308200241206a24000f0b000b5b01017f230041106b220324002003418483043602082003200136020420032000360200027f4101200310210d001a41002002280200450d001a200320023602082003200136020420032000360200200310210b200341106a24000b900201047f230041106b2205240002402001450440410121020c010b200141004e0440200541086a2106027f2001417f73411f7622032001450d001a41888304280200210202402001200120036a41016b410020036b7122044d04404100200220046a22032002490d021a418c83042802002003490440200441ffff036a22032004490d02200341107640002202417f46200241ffff0371200247720d022002411074220220034180807c716a22032002490d02418c830420033602004100200220046a22032002490d031a0b41888304200336020020020c020b000b41000b21032006200136020420062003360200200528020822020d010b000b2000200236020420002001360200200541106a24000b3101017f230041106b220324002003200036020c2003410c6a2001105d20020440418483042001105d0b200341106a24000b7901017f230041d0016b22032400200341206a20004121100b1a200341c1006a20014121100b1a200341186a200241106a290300370300200341106a200241086a29030037030020032002290300370308200341f0006a200341086a41e000100b1a20034200370368200341e8006a1037200341d0016a24000b4201027f230041106b22012400200141086a2000103420012d0009210020012d00082102200141106a240041024101410220004101461b410020001b20024101711b0b3c01017f200020012802042202047f2001200241016b36020420012001280200220141016a36020020012d00000520010b3a000120002002453a00000b0f002001200041ff0171410047100d0b7501017f230041306b22022400200241086a2001101e2000027f20022d00084504402000410436020441010c010b20002002290009370001200041196a200241216a290000370000200041116a200241196a290000370000200041096a200241116a29000037000041000b3a0000200241306a24000bdf05020a7f017e230041d0016b22012400200141086a200041e800100b1a20014190830436027020014280800137027402400240024002402001290308500440200141f0006a41011015200141a8016a2200200141f8006a280200360200200120012903703703a001200141a0016a41948004100f20012802a401220220002802002200490d0420012802a00121032001200220006b22023602a4012001200020036a22043602a0010c010b200141f0006a41041015200141a8016a2200200141f8006a280200360200200120012903703703a001200141a0016a220241b08004100f200141c8016a22032000280200360200200120012903a0013703c0012001200141106a2206360288012001411336028401200141bc800436028001200141c0016a20014180016a101420002003280200360200200120012903c0013703a0012001200141306a2207360298012001411136029401200141cf800436029001200220014190016a101420012802a401220220002802002200490d0320012802a0012103200141003602a8012001200220006b22043602a4012001200020036a22083602a00141e080044111200141a0016a22051010200141d0006a22092005103820012802a801220520012802a4014b0d03200141a0016a220a20012802a00120051012200141003602c801200120043602c401200120083602c001200a200141c0016a10132000200020012802c8016a22004b200020024b720d0320012903082001200220006b22023602a4012001200020036a22043602a0014200520d010b2002450d02200441003a0000200141013602a801200141286a200141a0016a22021039200141c9006a20021039200141106a200210200c010b2002450d01200441013a0000200141013602a8012006200141a0016a22021013200720021013200920021038200141e8006a2d00002002103a0b20012802a801220220012802a4014b0d002003200020012802a00120021003200141d0016a24000f0b000b200020002d0000410646044020014100100d0f0b20014101100d2000200110200b210020002d000045044020014100100d0f0b20014101100d200041016a200110130b2601017f230041106b22022400200220003a000f20012002410f6a41011011200241106a24000b9b0101027f230041106b22022400200241808001360204200241908304360200024002402001280200220341074704404190830441003a00002003410646044041022101200241023602084191830441003a00000c030b4191830441013a00002002410236020820012002100e0c010b4190830441013a000020024101360208200210440b2002280208220141818001490d00000b200020011043000b4801017f4190830441003a0000410321020240200141ff017141034604404191830441003a0000410221020c010b4192830420013a00004191830441013a00000b200020021043000b4701017f230041106b220124002001419083043602004190830441003a0000200142808081801037020420002001101f20012802082200418180014f0440000b410020001043000b4701017f230041106b220124002001419083043602004190830441003a0000200142808081801037020420002001103a20012802082200418180014f0440000b410020001043000bf70101047f230041106b2201240020014280800137020420014190830436020041002001101f02402001280204220420012802082202490d0020012802002103200141003602082001200420026b3602042001200220036a36020020002d002820011035200041296a2d00002001103520002d002a2001103a2000412b6a2d00002001103520002d002c200110352000412d6a2d00002001103520002d002e20011035200029032020011040200041106a290300200041186a290300200110412000290300200041086a290300200110422001280208220020012802044b0d00200320022001280200200010041a200141106a24000f0b000b2601017f230041106b22022400200220003703082001200241086a41081011200241106a24000b1b00200050044020024100100d0f0b20024101100d2001200210400b2a01017f230041106b2203240020032001370308200320003703002002200341101011200341106a24000b0d0020004190830420011007000b080020004101100d0b8b0101027f230041206b2202240020022001103441072103024020022d00004101710d00410621030240024020022d00010e020200010b200241086a2001102820022d000822034106460d0020002002290009370001200041106a200241186a290000370000200041096a200241116a2900003700000c010b410721030b200020033a0000200241206a24000b6201017f230041306b220224002002200136022c2002200036022820024280800137020c200241908304360208200241286a200241086a104720022802102200200228020c4b0440000b2002280208200010051a200241086a1018200241306a24000b1c0041f482042001105a20002802002001101f2000280204200110130baf0101027f230041e0006b2200240002400240102b41ff01714105470d0020004180800136023041908304200041306a100120002802302201418180014f0d00200141044f044041908304280200419bddf6f405460d020b410141011049000b000b200041106a4200370300200041086a4200370300200041276a42003700002000420037030020004200370320200041306a220120004130100b1a2001103f4190830441003b0100410041021043000b29002000027f20014504404190830441003a000041010c010b419083044181023b010041020b1043000bc25f02147f0b7e230041e0036b220024000240024002400240024002400240024002400240024002400240027f02400240027f02400240027f024002400240024002400240102b41ff01714105470d002000418080013602c00141908304200041c0016a100120002802c0012207418180014f0d000240024020074104490d002000419483043602c0032000200741046b22023602c403419083042802002208411876210320084110762105200841087621060240024002400240024002400240024002400240024002400240200841ff0171220841ea016b0e0a010d0d0d060d0d020d07000b02400240024002400240024002400240024002400240200841e2006b0e07010e171717170f000b02402008410f6b0e03121705000b0240200841c7006b0e0402171708000b0240200841ee006b0e040a171713000b0240200841cd016b0e03041714000b20084119460d0220084131460d052008413b460d0c2008418301460d06200841c101460d08200841ff0147200641ff017141a2014772200541ff017141fa0047200341df004772720d16410421070c170b200641ff017141840147200541ff017141134772200341fe0147720d15410021070c160b200641ff017141900147200541ff017141f5014772200341da004720024120497272200741246b412049720d14419a830433010021184196830435010041ac8304290200211941a483042902002117419c83042902002116419583042d00002103419483042d00002105200041d483043602c0032000200741c4006b3602c403200041cd8304280000360238200041d0830428000036003b41bc8304290200211441b48304290200211b41cc83042d0000210441c48304290200211a200041c0016a200041c0036a104520002d00c001220d4107460d142018422086842115200041f7006a200041d0016a290000370000200041f0006a200041c9016a290000370300200020002900c101370368200020002802383602e0022000200028003b3600e302201b4208882118201ba72102410121070c150b200641ff0171413247200541ff017141a8014772200341b00147200241204972720d13200041b483043602c0032000200741246b3602c403419a830433010021144196830435010041ac8304290200211941a483042902002117419c83042902002116419583042d00002103419483042d00002105200041c0016a200041c0036a104520002d00c0014107460d1320002802c403450d13200020002802c003220241016a3602c0034102210720022d0000220441024f0d13201442208684211520002903c001221b4208882118200041c8016a290300211420002903d001211a201ba721020c140b200641ff017122064103460d11200641e70147200541ff017141e5014772200341df0047200241204972720d12419b8304290000221442108821152014420888a7210341b38304310000211941a38304290000211641ab83042900002117419783042800002101419583042f00002109419483042d0000210b2014a72105410321070c130b200641ff017141e80047200541ff017141e2004772200341cd0047720d11200041c0016a200041c0036a102820002d00c00122054106460d1120003501c20120003301c60142208684211520002903d001211720002903c801211620002d00c1012103410521070c120b200641ff0171412847200541ff017141d60147722003411b47200241204972720d10200041b483043602c0032000200741246b3602c403419a830433010021184196830435010041ac8304290200211941a483042902002117419c83042902002116419583042d00002103419483042d00002105200041c0016a200041c0036a102820002d00c00122024106460d1020003100c701211b20003300c501211c20003500c101211d20002903d001211a20002903c8012114200041386a200041c0036a1029200028023c450d102018422086842115201d201c201b42108684422086842118200041ea006a200041c3006a2d00003a0000200020002800393602e0022000200028003c3600e302200020002f00413b016820002d0038210420002d0040210d410621070c110b200641ff017141da0147200541ff0171413b4772200341b20147200241044972720d0f2000419883043602c0032000200741086b3602c403419483042802002101410721070c100b200641ff017141c00147200541ff017141e2004772200341fd0147720d0e200041c0016a200041c0036a102520002802c0010d0e41082107200041c8016a290300221442108821152014420888a72103200041d0016a2903002116200041e0016a2903002119200041d8016a290300211720002802c40121012014a721050c0f0b200641ff017141d90147200541ff017141ac0147722003411847720d0d200041c0016a200041c0036a102520002802c0010d0d200041c8016a290300221442108821152014420888a72103200041d0016a2903002116200041e0016a2903002119200041d8016a290300211720002802c40121012014a72105410921070c0e0b200641ff017141cf0047200541ff017141094772200341910147720d0c200041c0016a200041c0036a102520002802c0010d0c200041c8016a290300221442108821152014420888a72103200041d0016a2903002116200041e0016a2903002119200041d8016a290300211720002802c40121012014a72105410a21070c0d0b200641ff017141f10147200541ff0171412447722003418a0147720d0b200041c0016a200041c0036a102520002802c0010d0b200041c8016a290300221442108821152014420888a72103200041d0016a2903002116200041e0016a2903002119200041d8016a290300211720002802c40121012014a72105410b21070c0c0b200641ff0171419d0147200541ff017141c8004772200341d10147720d0a200041c0016a200041c0036a102720002d00c00122054106460d0a20002903e0012214420888211820003501c20120003301c60142208684211520002903d801211920002903d001211720002903c801211620002d00c10121032014a72102410c21070c0b0b200641ff017141cf0147200541ff017141b5014772200341114720024120497272200741246b411049720d09419c8304290200211641948304290200211441ac8304290200211941a483042902002117200041c483043602c0032000200741346b3602c4032014421088211541b48304290200221a42088821182014420888a721032014a7210541bc83042902002114201aa72102410e21070c0a0b200641ff017141c90147200541ff01714187014772200341fa0047200241204972720d08200041b483043602c0032000200741246b3602c403419a830433010021144196830435010041ac8304290200211941a483042902002117419c83042902002116419583042d00002103419483042d00002105200041c0016a200041c0036a102820002d00c00122024106460d08201442208684211520003500c10120003300c50120003100c7014210868442208684211820002903d001211a20002903c8012114410f21070c090b200641ff017141930147200541ff017141d90147720d072003411b460d050c070b200641ff017141e40147200541ff017141c8004772200341dc014720024120497272200741246b410849720d06419c8304290200211641948304290200211441ac8304290200211941a483042902002117200041bc83043602c00320002007412c6b3602c4032014421088211541b48304290200221a42088821182014420888a721032014a72105201aa72102411121070c070b200641ff0171418e0147200541ff017141354772200341bf0147720d05411221070c060b200641ff0171418c0147200541ff017141d0004772200341890147200241204972720d04200041b483043602c0032000200741246b3602c403419b8304290000221442108821152014420888a7210341b38304310000211941a38304290000211641ab83042900002117419783042800002101419583042f00002109419483042d0000210b2014a72105411321070c050b200641ff0171413647200541ff0171411447722003410d47200241084972720d032000419c83043602c00320002007410c6b3602c40341948304290200221642108821152016420888a721032016a72105411421070c040b200641ff017141dd0147200541ff0171419a014772200341a20147720d02411521070c030b200041c0016a200041c0036a102720002d00c00122054106460d0120002903e0012214420888211820003501c20120003301c60142208684211520002903d801211920002903d001211720002903c801211620002d00c10121032014a72102411021070c020b200541ff017141c00047200341d00147722002411049720d00200041a483043602c00341948304290200221742108821152017420888a72103419c830429020021162017a72105410d21070c010b410141011049000b200041206a200041f0006a290300370300200041276a200041f7006a290000370000200020002800e302360033200020002802e002360230200020002903683703182000428080013702c4012000419083043602c0014100200041c0016a101f20002802c401220a20002802c8012206490d0020002802c00121082000200a20066b220a3602c00120082006200620086a2208200041c0016a10002106200a20002802c001220c49410c20062006410c4f1b720d002000200c3602c401200020083602c001200041c0016a103341ff0171220f4102460d00200041c0016a103341ff017122064102460d00200041106a200041c0016a104b20002d00104101710d0020002d0011210c200041c0016a103341ff017122104102460d00200041c0016a103341ff017122114102460d00200041c0016a103341ff017122124102460d00200041c0016a103341ff017122134102460d0020002802c40122084108490d00200020002802c001220a41086a3602c00120084108460d00200a290000211d200020002802c001220e41016a3602c001200841096b210a4200211b02400240200e2d00000e020100020b200a4108490d01200020002802c001220e41086a3602c001200841116b210a200e290000211c4201211b0b200a4110490d002002ad42ff018320184208868421182005ad42ff01832003ad42ff01834208862015421086848421154108210320002802c0012205290000211e2000200541086a2900003703402000201e370338200020133a0066200020124101713a0065200020113a00642000201041017122053a00632000200c3a0062200020064101713a00612000200f3a00602000201d3703582000201c3703502000201b370348024002400240024002400240024002400240024002400240024002400240024002400240200741016b0e1500010214030405060708090a0b0c0d0e0f1f201021130b200041e8016a2014370300200041fc016a200028003336000020004189026a200041206a29030037000020004190026a200041276a290000370000200020183703e001200020163703c801200020153703c001200020043a00f8012000201a3703f001200020193703d801200020173703d001200020002802303600f9012000200d3a0080022000200029031837008102230041c0016b22012400200141086a200041c0016a220241d800100b1a200141f0006a200141d8006a290300370300200141e8006a200141d0006a2903003703002001200129034837036020014190016a200241186a29000037030020014188016a200241106a29000037030020014180016a200241086a29000037030020012002290000370378200141b0016a200141406b290300370300200141a8016a200141386a290300370300200141a0016a200141306a29030037030020012001290328370398012001200141e0006a410020012d00604106471b3602bc01200141f8006a20014198016a200141bc016a102f200141c0016a2400103e000b200020143703c802200020183703c0022000201a3703d002200020163703e802200020153703e002200020193703f802200020173703f002200041c0036a1018027f027f0240200241ff01714106470440200041c0016a200041c0026a101e20002d00c001450d0120004186036a220320002d00c30122013a0000200041a0036a2205200041d0016a2802002206360200200041a6036a20013a000020004190036a2006360200200020002f00c10122013b0184032000200041c8016a2903002214370398032000200041d4016a2902003703a8022000200041d9016a2900003700ad02200020013b01a403200020143703880320002802c4012101200020002900ad023700ad03200020002903a8023703a803200020032d00003a006a200020002f0184033b01682000200136006b200041f7006a2005280200360000200020002903980337006f20004180016a20002900ad02370000200020002903a80237007b200404404101200041e8006a200041e0026a102d0d031a0b200041e8006a200041c0036a102c04404102200041e8006a200041c0036a41848304102f450d031a0b200041d8036a20002900ad03370000200041cf036a20004190036a280200360000200020002f01a4033b01c003200020013600c30320002000290388033700c703200020002903a8033700d3032000200041a6036a2d00003a00c2030b024020044504402000200041c0026a4100200241ff01714106471b3602682000200041e8006a3602c8012000200041e0026a3602c4012000200041c0036a3602c001200041c0016a10240c010b2000428080013702c4012000419083043602c00141ebdcfef107200041c0016a2201101f200041c0036a20011013200041e0026a20011013027f200241ff01712202410646044020002802c801220120002802c40122064f0d1620002802c001220320016a41003a0000200141016a0c010b20002802c801220120002802c4014f0d1520002802c00120016a41013a00002000200141016a3602c801200041c0026a410020024106471b200041c0016a102020002802c401210620002802c001210320002802c8010b220120064b0d1420032001200120036a410010041a0b20004180016a200041d8036a290300370300200041f8006a200041d0036a290300370300200041f0006a200041c8036a29030037030020004190016a200041e8026a29030037030020004198016a200041f0026a290300370300200041a0016a200041f8026a290300370300200041b0016a200041c8026a290300370300200041b8016a200041d0026a290300370300200020002903c003370368200020002903e00237038801200020002903c0023703a801200041c8016a200041e8006a41d800100b1a200041a0026a20043a0000200042013703c001200041c0016a220110372001200041386a4130100b1a2001103f4106210241000c020b41040b210241010b2106200041cc016a200041f0006a280200360200200020002902683702c4010c250b200041cf016a2016370000200020153700c701200020193c00df01200020173700d701200020013600c301200020093b00c1012000200b3a00c001230041406a22012400200141306a200041c0016a220241186a290000370300200141286a200241106a290000370300200141206a200241086a290000370300200120022900003703182001200141186a36023c200141086a2001413c6a102e2001280208200141406b2400103d000b200020163703c801200020153703c001200020173703d001230041206b22022400200241106a200041c0016a220141086a290300370300200241186a200141106a2903003703002002200041386a36020020022001290300370308200041e8006a2204200241086a101e200241206a2400200141017220044121100b1a200041003a00c001230041106b22022400200241808001360204200241908304360200024020012d00004504404190830441003a000020024101360208200141016a200210390c010b4190830441013a000020024101360208200210440b20022802082201418180014f0440000b0c260b200020143703b002200020183703a8022000201a3703b802200020163703c802200020153703c002200020193703d802200020173703d002200041c0016a200041a8026a103620002d00c0010d1120004186036a220120002d00c30122023a0000200041c8036a2204200041d0016a2802002203360200200041a6036a220520023a0000200041a0036a22062003360200200020002f00c10122023b0184032000200041c8016a29030022143703c0032000200041d4016a2902003703682000200041d9016a220329000037006d200020023b01a403200020143703980320002802c40121022000200029006d37008d032000200029036837038803200020012d00003a00e202200020002f0184033b01e002200020023600e302200041ef026a2004280200360000200020002903c0033700e702200041f8026a200029006d370000200020002903683700f302200041c0036a22011018200041e0026a2001102c450d102000200041a8026a3602c001200041e0026a200041c0036a200041c0016a102f0d104102210241010c130b2001102a103d000b20002016370370200020153703682000201937038001200020173703782001102a2102200041c0016a2204101841012103027f4101200220041019450d001a41022001200041e8006a10190d001a200020013602c0032000200041e8006a3602c4032000428080013702c4012000419083043602c001200041c0036a200041c0016a104720002802c801220120002802c4014b0d0c4100210320002802c00122022001200120026a410010041a200041c0016a220110182001200041386a4130100b1a2001103f41030b210120032001103c000b200041cc016a2016370200200020153702c401200020193702dc01200020173702d401200020013602c001230041206b22012400200041c0016a2202280200200141186a2002411c6a290000370300200141106a200241146a290000370300200141086a2002410c6a2900003703002001200229000437030020011019200141206a2400103e000b2001102a200041c0016a22031018410121024101210620031019450d1d200020163703c801200020153703c001200020193703d801200020173703d0012001200041c0016a10190d100c1d0b2000201637037020002015370368200020193703800120002017370378200041c0016a22041018410021022004200041e8006a102c450440200041d8016a220420004180016a2203290300370300200041d0016a2205200041f8006a2206290300370300200041c8016a2207200041f0006a2208290300370300200020002903683703c001410121022001200041c0016a10190d110b41010c110b200020163703c801200020153703c001200020183703e001200020193703d801200020173703d001200041e8006a210341002106230041306b22042400200041c0016a22012802202105200128021c200441106a200141106a290300370300200441086a200141086a290300370300200420012903003703002004428080013702242004419083043602204182c7b4d979200441206a2202101f200420021020200520021010024002402004280224220220042802282205490d00200428022021072004200220056b220236022020072005200520076a2208200441206a10002105200220042802202209490d004100210702400240410c20052005410c4f1b0e0400020201020b2004200936021c20042008360218200441206a200441186a102920042802242207450d0120042802282102200428022021060b200320023602082003200736020420032006360200200441306a24000c010b000b200041cc016a200041f0006a280200360200200020002903683702c401200041003602c001230041106b22022400200241808001360204200241908304360200024041918304027f20012802004504404190830441003a00004100200141086a2802002204450d011a4191830441013a00002002410236020802402001410c6a2802002201413f4d04404192830420014102743a0000200241033602080c010b200141ffff004d0440200220014102744101723b010e20022002410e6a410210110c010b200141ffffffff034d044020014102744102722002101f0c010b4192830441033a00002002410336020820012002101f0b20022004200110112002280208220141818001490d02000b4190830441013a000041010b3a000041022101200241023602080b0c1f0b2000201637037020002015370368200041c0016a41848304200041e8006a101c20002d00c00122024106462201047f410405200041e2026a20002d00c3013a0000200041c8036a200041d0016a280200360200200020002f00c1013b01e002200020002903c8013703c00320002802d401210520002802c4010b2104200041d0016a200041c8036a280200360200200020002f01e0023b00c1012000200041e2026a2d00003a00c301200020043602c401200020002903c0033703c8010c1c0b200020163703c801200020153703c001200020193703d801200020173703d001200020143703c803200020183703c0032000200041c0016a3602c002200041e8006a200041c0026a200041c0036a101c20002d006822024106462201047f410405200041aa036a20002d006b3a0000200041e8026a200041f8006a280200360200200020002f00693b01a803200020002903703703e002200028027c2105200028026c0b2104200041d0016a200041e8026a280200360200200020002f01a8033b00c1012000200041aa036a2d00003a00c301200020043602c401200020002903e0023703c8010c1b0b200020143703c802200020183703c0022000201a3703d002200020163703c803200020153703c003200020193703d803200020173703d003200041c0016a200041c0026a103620002d00c0010d0e200041c0026a22011023200041c0036a20014101104c20004181016a200041d8036a290300370000200041f9006a200041d0036a290300370000200041f1006a200041c8036a290300370000200020002903c003370069200041013a0068200041003a00c001200041f0026a200041d0026a290300370300200041e8026a200041c8026a290300370300200020002903c0023703e002200041e8006a200041c0016a200041e0026a10320c0f0b200041c0016a2201101820004101200110192204047f200041d0016a2016370300200041d8016a2017370300200020153703c8012000418080043602c00120004280800137026c200041908304360268419cefe1ea05200041e8006a2201101f200041c8016a20011020200028026c220320002802702201490d0420002802682102200041003602702000200320016b36026c2000200120026a3602682019422088a72018a7200041e8006a101020002802702203200028026c4b0d04200220012000280268200310041a200041c0016a2201200041386a4130100b1a2001103f410a0541080b3602c001200041013a00c4012004410173230041106b2201240020014180800136020420014190830436020002400240200041c0016a22022802002203410b4704404190830441003a00002003410a46044041022102200141023602084191830441003a00000c030b4191830441013a00002001410236020820022001100c0c010b4190830441013a000020014101360208200110440b2001280208220241818001490d00000b20021043000b200041c0016a22011018410121024200211a4201211441062106410120011019450d15200c4101460440410921030c160b200041013a00622000428080013702c4012000419083043602c0014100200041c0016a101f20002802c401220420002802c8012201490d0220002802c0012102200041003602c8012000200420016b3602c4012000200120026a3602c0014101200041c0016a2204103a20052004103520002802c801220420002802c4014b0d022002200120002802c001200410041a200041c0016a200041386a2018101a20002802c0012203410a460440201d42017c2214500d03201420187c221c2014540d032014201c5404400340200020163703c801200020153703c001200020193703d801200020173703d001200041e8006a200041386a200041c0016a101b20002d00684106460d04201842017d221850450d000b0b201c500d0341002102200041003a0062200041c0016a2201200041386a4130100b1a201442807e83211a201c42017d21162001103f410321060c160b20002802cc01210220002902c40121140c140b200041033a006820002015370370200041c0016a200041e8006a101e4101210420002d00c001450440410421070c130b200041d0016a2015370300200041033a00c8012000418080043602c00120004280800137026c200041908304360268419cefe1ea05200041e8006a2201101f200041c8016a20011020200028026c220320002802702201490d01200028026821022000200320016b220636026820022001200120026a2205200041e8006a10002101200620002802682202490d010240410c20012001410c4f1b0e0400020212020b200020023602c403200020053602c003200041e8006a200041c0036a1029200028026c2206450d01410021042000280268024020002802702205450440410021050c010b200541076b22014100200120054d1b210a200641036a417c7120066b220d417f46210c41002102034002400240200220066a2d00002208411874411875220b41004e0440200c200d20026b410371720d0102402002200a4f0d000340200220066a220141046a280200200128020072418081828478710d012002200241086a22024b0d082002200a490d000b0b41002104200220054f0d0420022005200220054b1b21010340200220066a2c00004100480d032001200241016a2202470d000b0c040b4106210741012104411021010240024002400240200841f180046a2d000041026b0e030002011a0b200241016a220220054f0d19200220066a2c000041bf7f4c0d020c190b200241016a220920054f0d18200620096a2c000021090240024002400240200841f0016b0e050100000002000b200b410f6a41ff017141024b0d1b20094140480d020c1b0b200941f0006a41ff01714130490d010c1a0b2009418f7f4a0d190b200241026a220820054f0d18200620086a2c000041bf7f4a0d18200241036a220220054f0d18200220066a2c000041bf7f4c0d010c180b200241016a220920054f0d17200620096a2c00002109024002400240200841e001470440200841ed01460d01200b411f6a41ff0171410c490d02200b417e71416e470d1b20094140480d030c1b0b200941607141a07f460d020c1a0b200941a07f480d010c190b200941bf7f4a0d180b200241026a220220054f0d17200220066a2c000041bf7f4a0d170b200241016a21020c010b200241016a21020b20022005490d000b410021040b2101410a21070c120b2000280278210220002903702114200028026c21030c120b000b230041106b22012400200141848304102e200129030021142000200141086a29030037030820002014370300200141106a24002000290300200041086a290300230041106b220124002001419083043602004190830441003a00002001428080818010370204200110420c150b230041306b2201240020014180800136022c419083042001412c6a1002200141106a220441998304290000370300200141186a220341a183042900003703002001411f6a220541a88304290000370000200141918304290000370308419083042d000021062001412041001030200128020021072001280204220220063a000020022001290308370001200241096a2004290300370000200241116a2003290300370000200241186a2005290000370000200041e8006a2204410c6a4120360200200441086a200236020020042007360204200441053a0000200141306a2400200041d0016a200041f8006a290300370300200041c8016a200041f0006a290300370300200020002903683703c001230041106b220124002001418080013602042001419083043602000240200041c0016a22022d00004106470440200141013602084190830441003a00002002200110200c010b4190830441013a000020014101360208200110440b0c140b2000200041e8006a22043602c8012000200041c0036a3602c4012000200041e0026a22073602c0012000200041a8026a2201360268200041c0016a22081024200720014100104c20011023200041c0026a2207200141001031200120071022200041f0006a200029039803370300200041f8006a2006280200360200200041fc006a20002903880337020020004181016a200029008d03370000200020052d00003a006b200020002f01a4033b00692000200236026c200041013a00682003200041d8026a290300370000200041d1016a200041d0026a290300370000200041c9016a200041c8026a290300370000200020002903c0023700c101200041013a00c001200041b8036a200041b8026a290300370300200041b0036a200041b0026a290300370300200020002903a8023703a80320042008200041a8036a10320c010b200041b0036a200041d0016a2802003602002000200041c8016a2903003703a803410120002802c40122024106470d011a0b200041c0016a2201200041386a4130100b1a2001103f4106210241000b2106200041cc016a200041b0036a280200360200200020002903a8033702c4010c0e0b200020153703c001200020193703d801200020173703d001200020163703c8012001200041c0016a220110462001200041386a4130100b1a2001103f41032106410021020c0c0b200420032903003703002005200629030037030020072008290300370300200020002903683703c0012001200041c0016a220110462001200041386a4130100b1a2001103f4103210241000b2002103c000b200041f0006a200041d0016a2802003602002000200041c8016a290300370368410120002802c40122064106470d011a0b200041c0016a2201200041386a4130100b1a2001103f4106210641000b200041cc016a200041f0006a280200360200200020002903683702c401200020063602c001200041c0016a103b000b230041106b220124002001419083043602004190830441003a00002001428080818010370204201b201c200110410c090b200041cf016a2016370000200020153700c701200020193c00df01200020173700d701200020013600c301200020093b00c1012000200b3a00c001200041e8006a200041386a200041c0016a101720002d00684106462201450440200041c0016a2202200041386a4130100b1a2002103f0b200041d0016a200041f8006a290300370300200041c8016a200041f0006a290300370300200020002903683703c001230041106b220224002002418080013602042002419083043602000240200041c0016a22042d0000220341074704404190830441003a000020034106470440200241023602084191830441003a00002004200210200c020b4191830441013a000020024102360208200441046a2002100c0c010b4190830441013a000020024101360208200210440b0c0a0b230041406a22012400200141206a22021018200141086a200041386a22042002101720012d00084106460440000b200141406b2400200041c0016a220120044130100b1a2001103f410041001049000b41062107411021010b200020053602cc01200020063602c801200020013602c401200020073602c001230041106b220124002001418080013602042001419083043602000240200041c0016a22022802002203410b4704404190830441003a00002003410a460440200141023602084191830441003a0000200241086a2802002002410c6a280200200110100c020b4191830441013a00002001410236020820022001100c0c010b4190830441013a000020014101360208200110440b20012802082201418180014f0440000b200420011043000b200041003a0062201442807e83211a2002ad2117410121020b200020163703e001200041033a00d801200020173703d001200020033602c401200020063a00c0012000201a201442ff0183843703c801230041106b220124002001418080013602042001419083043602000240200041c0016a22042d0000220341074704404190830441003a000020034106470440200141023602084191830441003a0000200420011020200441186a200110200c020b4191830441013a000020014102360208200441046a2001100c0c010b4190830441013a000020014101360208200110440b20012802082201418180014f0440000b200220011043000b20022006103c000b200020023602c0012006200041c0016a103b000b200020053602d401200020023a00c001230041106b220224002002418080013602042002419083043602000240200041c0016a22042d0000220341074704404190830441003a000020034106470440200241023602084191830441003a00002004200210200c020b4191830441013a000020024102360208200441046a2002100e0c010b4190830441013a000020024101360208200210440b0c020b20012802082201418180014f0440000b0b410020011043000b20022802082202418180014f0440000b200120021043000b3801017f230041106b22022400200241086a2001103420022d00092101200020022d00084101713a0000200020013a0001200241106a24000b3101017f230041106b220324002003200036020c2003410c6a2001104e20020440418483042001104e0b200341106a24000b2601017f230041106b22022400200220003b010e20012002410e6a41021011200241106a24000bc30502067f057e23004190016b22022400200241106a20002001104f02402002290310a74101460440200241206a290300210920022002290318220b3703282002200937033020022000102e20022903002208200241086a290300220c84500d012002200842017d220a3703382002200c2008200a56ad7c42017d2208370340200a200b8520082009858450450440200220003602602002200241386a360264200241fc820436028401200241f88204360280012002200241e0006a36028801200241e8006a20024180016a101d20022d006822034107460d02200241d7006a2204200241f8006a2205290000370000200241d0006a2206200241f1006a22072900003703002002200229006937034820034106460d02200520042900003700002007200629030037000020022002290348370069200220033a006820022000360280012002200241286a36028401200241fc820436024c200241f88204360248200220024180016a2203360250200241c8006a2204200241e8006a220510502002200036028001200220053602840120024180830436024c200241f882043602482002200336025020042002290328200241306a29030010510b20022000360280012002200241386a36028401200241fc820436024c200241f88204360248200220024180016a36025020024280800137026c200241908304360268200241c8006a200241e8006a105220022802702203200228026c4b0d012002280268200310051a2002200136028401200220003602800120024180830436024c200241f88204360248200220024180016a36025020024280800137026c200241908304360268200241c8006a200241e8006a105320022802702201200228026c4b0d012002280268200110051a2002200036027020024184830436026c200241f88204360268200241e8006a2002290338200241406b29030010540b20024190016a24000f0b000be40102037f037e230041206b220324002003200236020c2003200136020820034280800137021420034190830436021041f8820441808304200341106a22011055200341086a2001105602402003280214220420032802182201490d00200328021021022003200420016b220436021020022001200120026a2201200341106a10002102200420032802102205490d0002400240410c20022002410c4f1b0e0400020201020b20054110490d01200141086a290000210720012900002108420121060b2000200837030820002006370300200041106a2007370300200341206a24000f0b000b870101037f230041106b2202240020024280800137020420024190830436020020002002105202402002280204220420022802082200490d0020022802002103200241003602082002200420006b3602042002200020036a3602002001200210202002280208220120022802044b0d00200320002002280200200110041a200241106a24000f0b000b890101037f230041106b2203240020034280800137020420034190830436020020002003105302402003280204220420032802082200490d0020032802002105200341003602082003200420006b3602042003200020056a36020020012002200310422003280208220420032802044b0d00200520002003280200200410041a200341106a24000f0b000b1c002000280200200041046a280200200110592000280208200110580b1c002000280200200041046a280200200110592000280208200110560b890101037f230041106b2203240020034280800137020420034190830436020020002003105702402003280204220420032802082200490d0020032802002105200341003602082003200420006b3602042003200020056a36020020012002200310422003280208220420032802044b0d00200520002003280200200410041a200341106a24000f0b000b2f01017f230041106b2203240020002002105a2003200128020036020c20022003410c6a41041011200341106a24000b140020002802002001105b2000280204200110200b1c002000280200200041046a2802002001105920002802082001105b0b210020002802002001105b20002802042200290300200041086a290300200110420b0e0020002002105a20012002105a0b0b0020002802002001101f0b2100200028020045044020014100100d0f0b20014101100d2000280200200110130b8f0101017f20002d00042103200041003a0004027f0240200345044041012000280200220028020422032002490d021a2001200028020022012002100b1a0c010b2001200041056a2d00003a00004101200028020022002802042203200241016b2202490d011a200141016a200028020022012002100b1a0b2000200320026b3602042000200120026a36020041000b0b950202037f047e230041d0006b22022400200241106a20002001104f024002402002290310a745044020022000102e2002290300220542017c22072005542203200241086a29030022062003ad7c220820065420052007581b0d022002200036023020024184830436022c200241f88204360228200241286a2007200810540c010b200241206a2903002106200229031821050b20022005370328200220063703302002200136023c20022000360238200241808304360244200241f882043602402002200241386a2203360248200241406b2204200520061051200220003602382002200241286a36023c200241fc8204360244200241f8820436024020022003360248200420011050200241d0006a24000f0b000b0bc8020300418080040bf1019c77585d4b65793a3a5472616e736665720000008801010000000000040001004b65793a3a417070726f76616c0000008801010000000000200001004b65793a3a417070726f76616c3a3a66726f6d4b65793a3a417070726f76616c3a3a746f4b65793a3a417070726f76616c3a3a696401010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010041b382040b330202020202020202020202020202020202020202020202020202020202020303030303030303030303030303030304040404040041f482040b0d75b15d5d40a232ca0200000001","build_info":{"build_mode":"Release","cargo_contract_version":"2.1.0","rust_toolchain":"nightly-x86_64-unknown-linux-gnu","wasm_opt_settings":{"keep_debug_symbols":false,"optimization_passes":"Z"}}},"contract":{"name":"collection_demo","version":"0.1.0","authors":["[your_name] <[your_email]>"]},"spec":{"constructors":[{"args":[],"docs":["Instantiate new RMRK contract"],"label":"new","payable":false,"returnType":{"displayName":["ink_primitives","ConstructorResult"],"type":9},"selector":"0x9bae9d5e"}],"docs":[],"events":[{"args":[{"docs":[],"indexed":false,"label":"from","type":{"displayName":["Option"],"type":15}},{"docs":[],"indexed":false,"label":"to","type":{"displayName":["Option"],"type":15}},{"docs":[],"indexed":false,"label":"id","type":{"displayName":["Id"],"type":13}}],"docs":[],"label":"Transfer"},{"args":[{"docs":[],"indexed":true,"label":"from","type":{"displayName":["AccountId"],"type":0}},{"docs":[],"indexed":true,"label":"to","type":{"displayName":["AccountId"],"type":0}},{"docs":[],"indexed":true,"label":"id","type":{"displayName":["Option"],"type":17}},{"docs":[],"indexed":false,"label":"approved","type":{"displayName":["bool"],"type":19}}],"docs":[" Event emitted when a token approve occurs."],"label":"Approval"}],"lang_error":{"displayName":["ink","LangError"],"type":10},"messages":[{"args":[],"docs":[],"label":"mint","mutates":true,"payable":false,"returnType":{"displayName":["ink","MessageResult"],"type":9},"selector":"0xcfdd9aa2"},{"args":[],"docs":[" Returns current NFT total supply."],"label":"PSP34::total_supply","mutates":false,"payable":false,"returnType":{"displayName":["ink","MessageResult"],"type":11},"selector":"0x628413fe"},{"args":[],"docs":[" Returns the collection `Id` of the NFT token.",""," This can represents the relationship between tokens/contracts/pallets."],"label":"PSP34::collection_id","mutates":false,"payable":false,"returnType":{"displayName":["ink","MessageResult"],"type":12},"selector":"0xffa27a5f"},{"args":[{"label":"id","type":{"displayName":["psp34_external","OwnerOfInput1"],"type":13}}],"docs":[" Returns the owner of the token if any."],"label":"PSP34::owner_of","mutates":false,"payable":false,"returnType":{"displayName":["ink","MessageResult"],"type":14},"selector":"0x1168624d"},{"args":[{"label":"owner","type":{"displayName":["psp34_external","BalanceOfInput1"],"type":0}}],"docs":[" Returns the balance of the owner.",""," This represents the amount of unique tokens the owner has."],"label":"PSP34::balance_of","mutates":false,"payable":false,"returnType":{"displayName":["ink","MessageResult"],"type":16},"selector":"0xcde7e55f"},{"args":[{"label":"owner","type":{"displayName":["psp34_external","AllowanceInput1"],"type":0}},{"label":"operator","type":{"displayName":["psp34_external","AllowanceInput2"],"type":0}},{"label":"id","type":{"displayName":["psp34_external","AllowanceInput3"],"type":17}}],"docs":[" Returns `true` if the operator is approved by the owner to withdraw `id` token."," If `id` is `None`, returns `true` if the operator is approved to withdraw all owner's tokens."],"label":"PSP34::allowance","mutates":false,"payable":false,"returnType":{"displayName":["ink","MessageResult"],"type":18},"selector":"0x4790f55a"},{"args":[{"label":"operator","type":{"displayName":["psp34_external","ApproveInput1"],"type":0}},{"label":"id","type":{"displayName":["psp34_external","ApproveInput2"],"type":17}},{"label":"approved","type":{"displayName":["psp34_external","ApproveInput3"],"type":19}}],"docs":[" Approves `operator` to withdraw the `id` token from the caller's account."," If `id` is `None` approves or disapproves the operator for all tokens of the caller.",""," On success a `Approval` event is emitted.",""," # Errors",""," Returns `SelfApprove` error if it is self approve.",""," Returns `NotApproved` error if caller is not owner of `id`."],"label":"PSP34::approve","mutates":true,"payable":false,"returnType":{"displayName":["ink","MessageResult"],"type":20},"selector":"0x1932a8b0"},{"args":[{"label":"to","type":{"displayName":["psp34_external","TransferInput1"],"type":0}},{"label":"id","type":{"displayName":["psp34_external","TransferInput2"],"type":13}},{"label":"data","type":{"displayName":["psp34_external","TransferInput3"],"type":8}}],"docs":[" Transfer approved or owned token from caller.",""," On success a `Transfer` event is emitted.",""," # Errors",""," Returns `TokenNotExists` error if `id` does not exist.",""," Returns `NotApproved` error if `from` doesn't have allowance for transferring.",""," Returns `SafeTransferCheckFailed` error if `to` doesn't accept transfer."],"label":"PSP34::transfer","mutates":true,"payable":false,"returnType":{"displayName":["ink","MessageResult"],"type":20},"selector":"0x3128d61b"},{"args":[{"label":"role","type":{"displayName":["accesscontrol_external","GetRoleAdminInput1"],"type":5}}],"docs":[" Returns the admin role that controls `role`. See `grant_role` and `revoke_role`."],"label":"AccessControl::get_role_admin","mutates":false,"payable":false,"returnType":{"displayName":["ink","MessageResult"],"type":16},"selector":"0x83da3bb2"},{"args":[{"label":"role","type":{"displayName":["accesscontrol_external","RevokeRoleInput1"],"type":5}},{"label":"account","type":{"displayName":["accesscontrol_external","RevokeRoleInput2"],"type":0}}],"docs":[" Revokes `role` from `account`.",""," On success a `RoleRevoked` event is emitted.",""," # Errors",""," Returns with `MissingRole` error if caller can't grant the `role` or if `account` doesn't have `role`."],"label":"AccessControl::revoke_role","mutates":true,"payable":false,"returnType":{"displayName":["ink","MessageResult"],"type":23},"selector":"0x6e4f0991"},{"args":[{"label":"role","type":{"displayName":["accesscontrol_external","GrantRoleInput1"],"type":5}},{"label":"account","type":{"displayName":["accesscontrol_external","GrantRoleInput2"],"type":0}}],"docs":[" Grants `role` to `account`.",""," On success a `RoleGranted` event is emitted.",""," # Errors",""," Returns with `MissingRole` error if caller can't grant the role."," Returns with `RoleRedundant` error `account` has `role`."],"label":"AccessControl::grant_role","mutates":true,"payable":false,"returnType":{"displayName":["ink","MessageResult"],"type":23},"selector":"0x4ac062fd"},{"args":[{"label":"role","type":{"displayName":["accesscontrol_external","HasRoleInput1"],"type":5}},{"label":"address","type":{"displayName":["accesscontrol_external","HasRoleInput2"],"type":0}}],"docs":[" Returns `true` if `account` has been granted `role`."],"label":"AccessControl::has_role","mutates":false,"payable":false,"returnType":{"displayName":["ink","MessageResult"],"type":18},"selector":"0xc1d9ac18"},{"args":[{"label":"role","type":{"displayName":["accesscontrol_external","RenounceRoleInput1"],"type":5}},{"label":"account","type":{"displayName":["accesscontrol_external","RenounceRoleInput2"],"type":0}}],"docs":[" Revokes `role` from the calling account."," Roles are often managed via `grant_role` and `revoke_role`: this function's"," purpose is to provide a mechanism for accounts to lose their privileges"," if they are compromised (such as when a trusted device is misplaced).",""," On success a `RoleRevoked` event is emitted.",""," # Errors",""," Returns with `InvalidCaller` error if caller is not `account`."," Returns with `MissingRole` error if `account` doesn't have `role`."],"label":"AccessControl::renounce_role","mutates":true,"payable":false,"returnType":{"displayName":["ink","MessageResult"],"type":23},"selector":"0xeaf1248a"},{"args":[{"label":"id","type":{"displayName":["psp34metadata_external","GetAttributeInput1"],"type":13}},{"label":"key","type":{"displayName":["psp34metadata_external","GetAttributeInput2"],"type":8}}],"docs":[" Returns the attribute of `id` for the given `key`.",""," If `id` is a collection id of the token, it returns attributes for collection."],"label":"PSP34Metadata::get_attribute","mutates":false,"payable":false,"returnType":{"displayName":["ink","MessageResult"],"type":26},"selector":"0xf19d48d1"},{"args":[{"label":"owner","type":{"displayName":["psp34enumerable_external","OwnersTokenByIndexInput1"],"type":0}},{"label":"index","type":{"displayName":["psp34enumerable_external","OwnersTokenByIndexInput2"],"type":7}}],"docs":[" Returns a token `Id` owned by `owner` at a given `index` of its token list."," Use along with `balance_of` to enumerate all of ``owner``'s tokens.",""," The start index is zero."],"label":"PSP34Enumerable::owners_token_by_index","mutates":false,"payable":false,"returnType":{"displayName":["ink","MessageResult"],"type":28},"selector":"0x3bcfb511"},{"args":[{"label":"index","type":{"displayName":["psp34enumerable_external","TokenByIndexInput1"],"type":7}}],"docs":[" Returns a token `Id` at a given `index` of all the tokens stored by the contract."," Use along with `total_supply` to enumerate all tokens.",""," The start index is zero."],"label":"PSP34Enumerable::token_by_index","mutates":false,"payable":false,"returnType":{"displayName":["ink","MessageResult"],"type":28},"selector":"0xcd0340d0"},{"args":[{"label":"account","type":{"displayName":["psp34burnable_external","BurnInput1"],"type":0}},{"label":"id","type":{"displayName":["psp34burnable_external","BurnInput2"],"type":13}}],"docs":[" Destroys token with id equal to `id` from `account`",""," Caller must be approved to transfer tokens from `account`"," or to transfer token with `id`"],"label":"PSP34Burnable::burn","mutates":true,"payable":false,"returnType":{"displayName":["ink","MessageResult"],"type":20},"selector":"0x63c9877a"},{"args":[{"label":"token_id","type":{"displayName":["minting_external","TokenUriInput1"],"type":6}}],"docs":[" Get URI for the token Id."],"label":"Minting::token_uri","mutates":false,"payable":false,"returnType":{"displayName":["ink","MessageResult"],"type":30},"selector":"0x7136140d"},{"args":[],"docs":[" Get max supply of tokens."],"label":"Minting::max_supply","mutates":false,"payable":false,"returnType":{"displayName":["ink","MessageResult"],"type":36},"selector":"0xf38e35bf"},{"args":[{"label":"token_id","type":{"displayName":["minting_external","AssignMetadataInput1"],"type":13}},{"label":"metadata","type":{"displayName":["minting_external","AssignMetadataInput2"],"type":8}}],"docs":[" Assign metadata to specified token."],"label":"Minting::assign_metadata","mutates":true,"payable":false,"returnType":{"displayName":["ink","MessageResult"],"type":38},"selector":"0x6893d91b"},{"args":[{"label":"to","type":{"displayName":["minting_external","MintInput1"],"type":0}}],"docs":[" Mint one or more tokens."],"label":"Minting::mint","mutates":true,"payable":false,"returnType":{"displayName":["ink","MessageResult"],"type":40},"selector":"0x0f8c5089"},{"args":[{"label":"to","type":{"displayName":["minting_external","MintManyInput1"],"type":0}},{"label":"mint_amount","type":{"displayName":["minting_external","MintManyInput2"],"type":6}}],"docs":[" Mint many to specified account."],"label":"Minting::mint_many","mutates":true,"payable":false,"returnType":{"displayName":["ink","MessageResult"],"type":42},"selector":"0xeee448dc"}]},"storage":{"root":{"layout":{"struct":{"fields":[{"layout":{"struct":{"fields":[{"layout":{"root":{"layout":{"leaf":{"key":"0x1cc80634","ty":0}},"root_key":"0x1cc80634"}},"name":"token_owner"},{"layout":{"root":{"layout":{"leaf":{"key":"0x7e3fae6b","ty":3}},"root_key":"0x7e3fae6b"}},"name":"operator_approvals"},{"layout":{"struct":{"fields":[{"layout":{"root":{"layout":{"enum":{"dispatchKey":"0xca32a240","name":"Id","variants":{"0":{"fields":[{"layout":{"leaf":{"key":"0xca32a240","ty":2}},"name":"0"}],"name":"U8"},"1":{"fields":[{"layout":{"leaf":{"key":"0xca32a240","ty":4}},"name":"0"}],"name":"U16"},"2":{"fields":[{"layout":{"leaf":{"key":"0xca32a240","ty":5}},"name":"0"}],"name":"U32"},"3":{"fields":[{"layout":{"leaf":{"key":"0xca32a240","ty":6}},"name":"0"}],"name":"U64"},"4":{"fields":[{"layout":{"leaf":{"key":"0xca32a240","ty":7}},"name":"0"}],"name":"U128"},"5":{"fields":[{"layout":{"leaf":{"key":"0xca32a240","ty":8}},"name":"0"}],"name":"Bytes"}}}},"root_key":"0xca32a240"}},"name":"enumerable"},{"layout":{"enum":{"dispatchKey":"0x00000000","name":"Option","variants":{"0":{"fields":[],"name":"None"},"1":{"fields":[{"layout":{"leaf":{"key":"0x00000000","ty":3}},"name":"0"}],"name":"Some"}}}},"name":"_reserved"}],"name":"Balances"}},"name":"balances"},{"layout":{"enum":{"dispatchKey":"0x00000000","name":"Option","variants":{"0":{"fields":[],"name":"None"},"1":{"fields":[{"layout":{"leaf":{"key":"0x00000000","ty":3}},"name":"0"}],"name":"Some"}}}},"name":"_reserved"}],"name":"Data"}},"name":"psp34"},{"layout":{"struct":{"fields":[{"layout":{"leaf":{"key":"0x00000000","ty":2}},"name":"status"},{"layout":{"enum":{"dispatchKey":"0x00000000","name":"Option","variants":{"0":{"fields":[],"name":"None"},"1":{"fields":[{"layout":{"leaf":{"key":"0x00000000","ty":3}},"name":"0"}],"name":"Some"}}}},"name":"_reserved"}],"name":"Data"}},"name":"guard"},{"layout":{"struct":{"fields":[{"layout":{"root":{"layout":{"leaf":{"key":"0x6a2cd2b4","ty":5}},"root_key":"0x6a2cd2b4"}},"name":"admin_roles"},{"layout":{"struct":{"fields":[{"layout":{"root":{"layout":{"leaf":{"key":"0x5d5db175","ty":3}},"root_key":"0x5d5db175"}},"name":"members"},{"layout":{"enum":{"dispatchKey":"0x00000000","name":"Option","variants":{"0":{"fields":[],"name":"None"},"1":{"fields":[{"layout":{"leaf":{"key":"0x00000000","ty":3}},"name":"0"}],"name":"Some"}}}},"name":"_reserved"}],"name":"Members"}},"name":"members"},{"layout":{"enum":{"dispatchKey":"0x00000000","name":"Option","variants":{"0":{"fields":[],"name":"None"},"1":{"fields":[{"layout":{"leaf":{"key":"0x00000000","ty":3}},"name":"0"}],"name":"Some"}}}},"name":"_reserved"}],"name":"Data"}},"name":"access"},{"layout":{"struct":{"fields":[{"layout":{"root":{"layout":{"leaf":{"key":"0x9b2d2382","ty":8}},"root_key":"0x9b2d2382"}},"name":"attributes"},{"layout":{"enum":{"dispatchKey":"0x00000000","name":"Option","variants":{"0":{"fields":[],"name":"None"},"1":{"fields":[{"layout":{"leaf":{"key":"0x00000000","ty":3}},"name":"0"}],"name":"Some"}}}},"name":"_reserved"}],"name":"Data"}},"name":"metadata"},{"layout":{"struct":{"fields":[{"layout":{"leaf":{"key":"0x00000000","ty":6}},"name":"last_token_id"},{"layout":{"enum":{"dispatchKey":"0x00000000","name":"Option","variants":{"0":{"fields":[],"name":"None"},"1":{"fields":[{"layout":{"leaf":{"key":"0x00000000","ty":6}},"name":"0"}],"name":"Some"}}}},"name":"max_supply"},{"layout":{"leaf":{"key":"0x00000000","ty":7}},"name":"price_per_mint"},{"layout":{"root":{"layout":{"leaf":{"key":"0x5d58779c","ty":8}},"root_key":"0x5d58779c"}},"name":"nft_metadata"}],"name":"MintingData"}},"name":"minting"}],"name":"Key"}},"root_key":"0x00000000"}},"types":[{"id":0,"type":{"def":{"composite":{"fields":[{"type":1,"typeName":"[u8; 32]"}]}},"path":["ink_primitives","types","AccountId"]}},{"id":1,"type":{"def":{"array":{"len":32,"type":2}}}},{"id":2,"type":{"def":{"primitive":"u8"}}},{"id":3,"type":{"def":{"tuple":[]}}},{"id":4,"type":{"def":{"primitive":"u16"}}},{"id":5,"type":{"def":{"primitive":"u32"}}},{"id":6,"type":{"def":{"primitive":"u64"}}},{"id":7,"type":{"def":{"primitive":"u128"}}},{"id":8,"type":{"def":{"sequence":{"type":2}}}},{"id":9,"type":{"def":{"variant":{"variants":[{"fields":[{"type":3}],"index":0,"name":"Ok"},{"fields":[{"type":10}],"index":1,"name":"Err"}]}},"params":[{"name":"T","type":3},{"name":"E","type":10}],"path":["Result"]}},{"id":10,"type":{"def":{"variant":{"variants":[{"index":1,"name":"CouldNotReadInput"}]}},"path":["ink_primitives","LangError"]}},{"id":11,"type":{"def":{"variant":{"variants":[{"fields":[{"type":7}],"index":0,"name":"Ok"},{"fields":[{"type":10}],"index":1,"name":"Err"}]}},"params":[{"name":"T","type":7},{"name":"E","type":10}],"path":["Result"]}},{"id":12,"type":{"def":{"variant":{"variants":[{"fields":[{"type":13}],"index":0,"name":"Ok"},{"fields":[{"type":10}],"index":1,"name":"Err"}]}},"params":[{"name":"T","type":13},{"name":"E","type":10}],"path":["Result"]}},{"id":13,"type":{"def":{"variant":{"variants":[{"fields":[{"type":2,"typeName":"u8"}],"index":0,"name":"U8"},{"fields":[{"type":4,"typeName":"u16"}],"index":1,"name":"U16"},{"fields":[{"type":5,"typeName":"u32"}],"index":2,"name":"U32"},{"fields":[{"type":6,"typeName":"u64"}],"index":3,"name":"U64"},{"fields":[{"type":7,"typeName":"u128"}],"index":4,"name":"U128"},{"fields":[{"type":8,"typeName":"Vec<u8>"}],"index":5,"name":"Bytes"}]}},"path":["openbrush_contracts","traits","types","Id"]}},{"id":14,"type":{"def":{"variant":{"variants":[{"fields":[{"type":15}],"index":0,"name":"Ok"},{"fields":[{"type":10}],"index":1,"name":"Err"}]}},"params":[{"name":"T","type":15},{"name":"E","type":10}],"path":["Result"]}},{"id":15,"type":{"def":{"variant":{"variants":[{"index":0,"name":"None"},{"fields":[{"type":0}],"index":1,"name":"Some"}]}},"params":[{"name":"T","type":0}],"path":["Option"]}},{"id":16,"type":{"def":{"variant":{"variants":[{"fields":[{"type":5}],"index":0,"name":"Ok"},{"fields":[{"type":10}],"index":1,"name":"Err"}]}},"params":[{"name":"T","type":5},{"name":"E","type":10}],"path":["Result"]}},{"id":17,"type":{"def":{"variant":{"variants":[{"index":0,"name":"None"},{"fields":[{"type":13}],"index":1,"name":"Some"}]}},"params":[{"name":"T","type":13}],"path":["Option"]}},{"id":18,"type":{"def":{"variant":{"variants":[{"fields":[{"type":19}],"index":0,"name":"Ok"},{"fields":[{"type":10}],"index":1,"name":"Err"}]}},"params":[{"name":"T","type":19},{"name":"E","type":10}],"path":["Result"]}},{"id":19,"type":{"def":{"primitive":"bool"}}},{"id":20,"type":{"def":{"variant":{"variants":[{"fields":[{"type":21}],"index":0,"name":"Ok"},{"fields":[{"type":10}],"index":1,"name":"Err"}]}},"params":[{"name":"T","type":21},{"name":"E","type":10}],"path":["Result"]}},{"id":21,"type":{"def":{"variant":{"variants":[{"fields":[{"type":3}],"index":0,"name":"Ok"},{"fields":[{"type":22}],"index":1,"name":"Err"}]}},"params":[{"name":"T","type":3},{"name":"E","type":22}],"path":["Result"]}},{"id":22,"type":{"def":{"variant":{"variants":[{"fields":[{"type":8,"typeName":"String"}],"index":0,"name":"Custom"},{"index":1,"name":"SelfApprove"},{"index":2,"name":"NotApproved"},{"index":3,"name":"TokenExists"},{"index":4,"name":"TokenNotExists"},{"fields":[{"type":8,"typeName":"String"}],"index":5,"name":"SafeTransferCheckFailed"}]}},"path":["openbrush_contracts","traits","errors","psp34","PSP34Error"]}},{"id":23,"type":{"def":{"variant":{"variants":[{"fields":[{"type":24}],"index":0,"name":"Ok"},{"fields":[{"type":10}],"index":1,"name":"Err"}]}},"params":[{"name":"T","type":24},{"name":"E","type":10}],"path":["Result"]}},{"id":24,"type":{"def":{"variant":{"variants":[{"fields":[{"type":3}],"index":0,"name":"Ok"},{"fields":[{"type":25}],"index":1,"name":"Err"}]}},"params":[{"name":"T","type":3},{"name":"E","type":25}],"path":["Result"]}},{"id":25,"type":{"def":{"variant":{"variants":[{"index":0,"name":"InvalidCaller"},{"index":1,"name":"MissingRole"},{"index":2,"name":"RoleRedundant"}]}},"path":["openbrush_contracts","traits","errors","access_control","AccessControlError"]}},{"id":26,"type":{"def":{"variant":{"variants":[{"fields":[{"type":27}],"index":0,"name":"Ok"},{"fields":[{"type":10}],"index":1,"name":"Err"}]}},"params":[{"name":"T","type":27},{"name":"E","type":10}],"path":["Result"]}},{"id":27,"type":{"def":{"variant":{"variants":[{"index":0,"name":"None"},{"fields":[{"type":8}],"index":1,"name":"Some"}]}},"params":[{"name":"T","type":8}],"path":["Option"]}},{"id":28,"type":{"def":{"variant":{"variants":[{"fields":[{"type":29}],"index":0,"name":"Ok"},{"fields":[{"type":10}],"index":1,"name":"Err"}]}},"params":[{"name":"T","type":29},{"name":"E","type":10}],"path":["Result"]}},{"id":29,"type":{"def":{"variant":{"variants":[{"fields":[{"type":13}],"index":0,"name":"Ok"},{"fields":[{"type":22}],"index":1,"name":"Err"}]}},"params":[{"name":"T","type":13},{"name":"E","type":22}],"path":["Result"]}},{"id":30,"type":{"def":{"variant":{"variants":[{"fields":[{"type":31}],"index":0,"name":"Ok"},{"fields":[{"type":10}],"index":1,"name":"Err"}]}},"params":[{"name":"T","type":31},{"name":"E","type":10}],"path":["Result"]}},{"id":31,"type":{"def":{"variant":{"variants":[{"fields":[{"type":32}],"index":0,"name":"Ok"},{"fields":[{"type":33}],"index":1,"name":"Err"}]}},"params":[{"name":"T","type":32},{"name":"E","type":33}],"path":["Result"]}},{"id":32,"type":{"def":{"primitive":"str"}}},{"id":33,"type":{"def":{"variant":{"variants":[{"fields":[{"type":34,"typeName":"RmrkError"}],"index":0,"name":"Rmrk"},{"fields":[{"type":22,"typeName":"PSP34Error"}],"index":1,"name":"PSP34"},{"fields":[{"type":25,"typeName":"AccessControlError"}],"index":2,"name":"AccessControl"},{"fields":[{"type":35,"typeName":"ReentrancyGuardError"}],"index":3,"name":"Reentrancy"}]}},"path":["rmrk_common","errors","Error"]}},{"id":34,"type":{"def":{"variant":{"variants":[{"index":0,"name":"AcceptedAssetsMissing"},{"index":1,"name":"AddingPendingAsset"},{"index":2,"name":"AddingPendingChild"},{"index":3,"name":"AddressNotEquippable"},{"index":4,"name":"AlreadyAddedAsset"},{"index":5,"name":"AlreadyAddedChild"},{"index":6,"name":"AssetHasNoParts"},{"index":7,"name":"AssetIdAlreadyExists"},{"index":8,"name":"AssetIdNotFound"},{"index":9,"name":"AssetIdNotEquippable"},{"index":10,"name":"BadConfig"},{"index":11,"name":"BadMintValue"},{"index":12,"name":"BadPriorityLength"},{"index":13,"name":"CannotMintZeroTokens"},{"index":14,"name":"CatalogNotFoundForAsset"},{"index":15,"name":"ChildNotFound"},{"index":16,"name":"UriNotFound"},{"index":17,"name":"CollectionIsFull"},{"index":18,"name":"InvalidAssetId"},{"index":19,"name":"InvalidParentId"},{"index":20,"name":"InvalidTokenId"},{"index":21,"name":"NotEquipped"},{"index":22,"name":"NotTokenOwner"},{"index":23,"name":"PartIsNotSlot"},{"index":24,"name":"SlotAlreayUsed"},{"index":25,"name":"TargetAssetCannotReceiveSlot"},{"index":26,"name":"UnknownEquippableAsset"},{"index":27,"name":"UnknownPart"},{"index":28,"name":"UnknownPartId"},{"index":29,"name":"WithdrawalFailed"}]}},"path":["rmrk_common","errors","RmrkError"]}},{"id":35,"type":{"def":{"variant":{"variants":[{"index":0,"name":"ReentrantCall"}]}},"path":["openbrush_contracts","traits","errors","reentrancy_guard","ReentrancyGuardError"]}},{"id":36,"type":{"def":{"variant":{"variants":[{"fields":[{"type":37}],"index":0,"name":"Ok"},{"fields":[{"type":10}],"index":1,"name":"Err"}]}},"params":[{"name":"T","type":37},{"name":"E","type":10}],"path":["Result"]}},{"id":37,"type":{"def":{"variant":{"variants":[{"index":0,"name":"None"},{"fields":[{"type":6}],"index":1,"name":"Some"}]}},"params":[{"name":"T","type":6}],"path":["Option"]}},{"id":38,"type":{"def":{"variant":{"variants":[{"fields":[{"type":39}],"index":0,"name":"Ok"},{"fields":[{"type":10}],"index":1,"name":"Err"}]}},"params":[{"name":"T","type":39},{"name":"E","type":10}],"path":["Result"]}},{"id":39,"type":{"def":{"variant":{"variants":[{"fields":[{"type":3}],"index":0,"name":"Ok"},{"fields":[{"type":33}],"index":1,"name":"Err"}]}},"params":[{"name":"T","type":3},{"name":"E","type":33}],"path":["Result"]}},{"id":40,"type":{"def":{"variant":{"variants":[{"fields":[{"type":41}],"index":0,"name":"Ok"},{"fields":[{"type":10}],"index":1,"name":"Err"}]}},"params":[{"name":"T","type":41},{"name":"E","type":10}],"path":["Result"]}},{"id":41,"type":{"def":{"variant":{"variants":[{"fields":[{"type":13}],"index":0,"name":"Ok"},{"fields":[{"type":33}],"index":1,"name":"Err"}]}},"params":[{"name":"T","type":13},{"name":"E","type":33}],"path":["Result"]}},{"id":42,"type":{"def":{"variant":{"variants":[{"fields":[{"type":43}],"index":0,"name":"Ok"},{"fields":[{"type":10}],"index":1,"name":"Err"}]}},"params":[{"name":"T","type":43},{"name":"E","type":10}],"path":["Result"]}},{"id":43,"type":{"def":{"variant":{"variants":[{"fields":[{"type":44}],"index":0,"name":"Ok"},{"fields":[{"type":33}],"index":1,"name":"Err"}]}},"params":[{"name":"T","type":44},{"name":"E","type":33}],"path":["Result"]}},{"id":44,"type":{"def":{"tuple":[13,13]}}}],"version":"4"}
Thank you. I'll deploy against a local running Substrate.
Sorry for being a PITA, could you walk me through the process & transactions to use to test? (It is deployed to a local chain)
Thus far I'm stuck at calling mint()
(it traps, so no luck there).
Since all balances are 0 I assumed that would be a first step...
Apologies for the lack of input here - I will update with info
I think I found the route cause of this error. The problem originates at this line.
The problem is that the code assumes that the contract event is generated by the contract that is called directly here. However, this contract can call other contracts and they will also be able to emit events. These events can then not be decoded properly because here only the abi of the directly called contract is used.
As an example, I instantiated two contracts at the following addresses:
5F99zaNcvTPGiDEAC3TNhrb15P71ZGvmXZR1YBjvQgYrVvog
5CuJGztzQqTif6wgPn3JHFaQKBXmTuBxf4Ko8bVKnFgShAng
The first contract calls the second contract. Each contract will emit an event when called.
When calling the first contract the runtime will emit the following two relevant events:
"event": {
"method": "ContractEmitted",
"section": "contracts",
"index": "0x0803",
"data": {
"contract": "5F99zaNcvTPGiDEAC3TNhrb15P71ZGvmXZR1YBjvQgYrVvog",
"data": "0x00250fa54ec09dd8d8cc308d5174978f07d87b9e7abff0c95de07d9d4de9d5023b250fa54ec09dd8d8cc308d5174978f07d87b9e7abff0c95de07d9d4de9d5023b"
}
}
"event": {
"method": "ContractEmitted",
"section": "contracts",
"index": "0x0803",
"data": {
"contract": "5CuJGztzQqTif6wgPn3JHFaQKBXmTuBxf4Ko8bVKnFgShAng",
"data": "0x018819aa2b617708c03168743a76f584bbf6ca8474d8c4195dcf34838b94e3a2f7250fa54ec09dd8d8cc308d5174978f07d87b9e7abff0c95de07d9d4de9d5023b0a00000000000000000000000000000000000000000000000000000000000000"
}
},
The first event is emitted by contract 5F99zaNcvTPGiDEAC3TNhrb15P71ZGvmXZR1YBjvQgYrVvog
and can be decoded correctly.
The second event is emitted by contract 5CuJGztzQqTif6wgPn3JHFaQKBXmTuBxf4Ko8bVKnFgShAng
and the this.abi
will not be able to decode it. In fact the first byte 0x01
refers to the second event type of the contract but there is only one event type defined in the first contract (whereas there are two event types defined in the second contract so that the prefix 0x01
is valid). In my case the call to decodeEvent
will then output the following error:
CONTRACT: Unable to decode contract event: Unable to find event with index 1
Errors are being thrown when trying to decode contract events (either automatically via
contractEvents
or manually viaabi.decode
The event I'm calling is from the openbrush PSP34 example
Which is called:
I have tried both with and without topics. I am however able to decode them using
@subsquid/ink-abi
instead of polkadot.js abi.Version: 10.2.2
Environment:
Language: