mother.json 29 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376
  1. {
  2. "source": {
  3. "hash": "0xd3f781649eacf23e57a65b0dd8f59142c92e6e2cd4656da874a594431d7399a9",
  4. "language": "ink! 5.0.0",
  5. "compiler": "rustc 1.73.0",
  6. "build_info": {
  7. "build_mode": "Debug",
  8. "cargo_contract_version": "4.0.2",
  9. "rust_toolchain": "stable-x86_64-unknown-linux-gnu",
  10. "wasm_opt_settings": {
  11. "keep_debug_symbols": false,
  12. "optimization_passes": "Z"
  13. }
  14. }
  15. },
  16. "contract": {
  17. "name": "mother",
  18. "version": "5.0.0",
  19. "authors": [
  20. "Parity Technologies <admin@parity.io>"
  21. ],
  22. "description": "Mother of all contracts"
  23. },
  24. "image": null,
  25. "spec": {
  26. "constructors": [
  27. {
  28. "args": [
  29. {
  30. "label": "auction",
  31. "type": {
  32. "displayName": [
  33. "Auction"
  34. ],
  35. "type": 24
  36. }
  37. }
  38. ],
  39. "default": false,
  40. "docs": [],
  41. "label": "new",
  42. "payable": false,
  43. "returnType": {
  44. "displayName": [
  45. "ink_primitives",
  46. "ConstructorResult"
  47. ],
  48. "type": 29
  49. },
  50. "selector": "0x9bae9d5e"
  51. },
  52. {
  53. "args": [],
  54. "default": false,
  55. "docs": [],
  56. "label": "new_default",
  57. "payable": false,
  58. "returnType": {
  59. "displayName": [
  60. "ink_primitives",
  61. "ConstructorResult"
  62. ],
  63. "type": 29
  64. },
  65. "selector": "0x61ef7e3e"
  66. },
  67. {
  68. "args": [
  69. {
  70. "label": "fail",
  71. "type": {
  72. "displayName": [
  73. "bool"
  74. ],
  75. "type": 11
  76. }
  77. }
  78. ],
  79. "default": false,
  80. "docs": [
  81. "Demonstrates the ability to fail a constructor safely."
  82. ],
  83. "label": "failed_new",
  84. "payable": false,
  85. "returnType": {
  86. "displayName": [
  87. "ink_primitives",
  88. "ConstructorResult"
  89. ],
  90. "type": 31
  91. },
  92. "selector": "0x87a495f6"
  93. }
  94. ],
  95. "docs": [],
  96. "environment": {
  97. "accountId": {
  98. "displayName": [
  99. "AccountId"
  100. ],
  101. "type": 8
  102. },
  103. "balance": {
  104. "displayName": [
  105. "Balance"
  106. ],
  107. "type": 9
  108. },
  109. "blockNumber": {
  110. "displayName": [
  111. "BlockNumber"
  112. ],
  113. "type": 10
  114. },
  115. "chainExtension": {
  116. "displayName": [
  117. "ChainExtension"
  118. ],
  119. "type": 38
  120. },
  121. "hash": {
  122. "displayName": [
  123. "Hash"
  124. ],
  125. "type": 1
  126. },
  127. "maxEventTopics": 4,
  128. "staticBufferSize": 16384,
  129. "timestamp": {
  130. "displayName": [
  131. "Timestamp"
  132. ],
  133. "type": 37
  134. }
  135. },
  136. "events": [
  137. {
  138. "args": [
  139. {
  140. "docs": [],
  141. "indexed": false,
  142. "label": "auction",
  143. "type": {
  144. "displayName": [
  145. "Auction"
  146. ],
  147. "type": 24
  148. }
  149. }
  150. ],
  151. "docs": [
  152. "Event emitted when an auction being echoed."
  153. ],
  154. "label": "AuctionEchoed",
  155. "module_path": "mother::mother",
  156. "signature_topic": "0x9f3c1597e0c1071a300ddb58b0474976b0d066c9a445c8a4677e5cebb5f8980a"
  157. }
  158. ],
  159. "lang_error": {
  160. "displayName": [
  161. "ink",
  162. "LangError"
  163. ],
  164. "type": 30
  165. },
  166. "messages": [
  167. {
  168. "args": [
  169. {
  170. "label": "auction",
  171. "type": {
  172. "displayName": [
  173. "Auction"
  174. ],
  175. "type": 24
  176. }
  177. }
  178. ],
  179. "default": false,
  180. "docs": [
  181. " Takes an auction data struct as input and returns it back."
  182. ],
  183. "label": "echo_auction",
  184. "mutates": true,
  185. "payable": false,
  186. "returnType": {
  187. "displayName": [
  188. "ink",
  189. "MessageResult"
  190. ],
  191. "type": 34
  192. },
  193. "selector": "0xbc7ac4cf"
  194. },
  195. {
  196. "args": [
  197. {
  198. "label": "fail",
  199. "type": {
  200. "displayName": [
  201. "Option"
  202. ],
  203. "type": 35
  204. }
  205. }
  206. ],
  207. "default": false,
  208. "docs": [
  209. " Fails contract execution in the required way."
  210. ],
  211. "label": "revert_or_trap",
  212. "mutates": true,
  213. "payable": false,
  214. "returnType": {
  215. "displayName": [
  216. "ink",
  217. "MessageResult"
  218. ],
  219. "type": 31
  220. },
  221. "selector": "0xe62a1df5"
  222. },
  223. {
  224. "args": [
  225. {
  226. "label": "_message",
  227. "type": {
  228. "displayName": [
  229. "String"
  230. ],
  231. "type": 0
  232. }
  233. }
  234. ],
  235. "default": false,
  236. "docs": [
  237. " Prints the specified string into node's debug log."
  238. ],
  239. "label": "debug_log",
  240. "mutates": true,
  241. "payable": false,
  242. "returnType": {
  243. "displayName": [
  244. "ink",
  245. "MessageResult"
  246. ],
  247. "type": 29
  248. },
  249. "selector": "0x238582df"
  250. },
  251. {
  252. "args": [
  253. {
  254. "label": "message",
  255. "type": {
  256. "displayName": [
  257. "String"
  258. ],
  259. "type": 0
  260. }
  261. }
  262. ],
  263. "default": false,
  264. "docs": [
  265. " Mutates the input string to return \"Hello, { name }\""
  266. ],
  267. "label": "mut_hello_world",
  268. "mutates": false,
  269. "payable": false,
  270. "returnType": {
  271. "displayName": [
  272. "ink",
  273. "MessageResult"
  274. ],
  275. "type": 36
  276. },
  277. "selector": "0x23c47128"
  278. }
  279. ]
  280. },
  281. "storage": {
  282. "root": {
  283. "layout": {
  284. "struct": {
  285. "fields": [
  286. {
  287. "layout": {
  288. "struct": {
  289. "fields": [
  290. {
  291. "layout": {
  292. "leaf": {
  293. "key": "0x00000000",
  294. "ty": 0
  295. }
  296. },
  297. "name": "name"
  298. },
  299. {
  300. "layout": {
  301. "leaf": {
  302. "key": "0x00000000",
  303. "ty": 1
  304. }
  305. },
  306. "name": "subject"
  307. },
  308. {
  309. "layout": {
  310. "struct": {
  311. "fields": [
  312. {
  313. "layout": {
  314. "leaf": {
  315. "key": "0x00000000",
  316. "ty": 4
  317. }
  318. },
  319. "name": "0"
  320. }
  321. ],
  322. "name": "Bids"
  323. }
  324. },
  325. "name": "bids"
  326. },
  327. {
  328. "layout": {
  329. "array": {
  330. "layout": {
  331. "leaf": {
  332. "key": "0x00000000",
  333. "ty": 10
  334. }
  335. },
  336. "len": 3,
  337. "offset": "0x00000000"
  338. }
  339. },
  340. "name": "terms"
  341. },
  342. {
  343. "layout": {
  344. "enum": {
  345. "dispatchKey": "0x00000000",
  346. "name": "Status",
  347. "variants": {
  348. "0": {
  349. "fields": [],
  350. "name": "NotStarted"
  351. },
  352. "1": {
  353. "fields": [],
  354. "name": "OpeningPeriod"
  355. },
  356. "2": {
  357. "fields": [
  358. {
  359. "layout": {
  360. "leaf": {
  361. "key": "0x00000000",
  362. "ty": 10
  363. }
  364. },
  365. "name": "0"
  366. }
  367. ],
  368. "name": "EndingPeriod"
  369. },
  370. "3": {
  371. "fields": [
  372. {
  373. "layout": {
  374. "enum": {
  375. "dispatchKey": "0x00000000",
  376. "name": "Outline",
  377. "variants": {
  378. "0": {
  379. "fields": [],
  380. "name": "NoWinner"
  381. },
  382. "1": {
  383. "fields": [],
  384. "name": "WinnerDetected"
  385. },
  386. "2": {
  387. "fields": [],
  388. "name": "PayoutCompleted"
  389. }
  390. }
  391. }
  392. },
  393. "name": "0"
  394. }
  395. ],
  396. "name": "Ended"
  397. },
  398. "4": {
  399. "fields": [
  400. {
  401. "layout": {
  402. "leaf": {
  403. "key": "0x00000000",
  404. "ty": 10
  405. }
  406. },
  407. "name": "0"
  408. }
  409. ],
  410. "name": "RfDelay"
  411. }
  412. }
  413. }
  414. },
  415. "name": "status"
  416. },
  417. {
  418. "layout": {
  419. "leaf": {
  420. "key": "0x00000000",
  421. "ty": 11
  422. }
  423. },
  424. "name": "finalized"
  425. },
  426. {
  427. "layout": {
  428. "leaf": {
  429. "key": "0x00000000",
  430. "ty": 12
  431. }
  432. },
  433. "name": "vector"
  434. }
  435. ],
  436. "name": "Auction"
  437. }
  438. },
  439. "name": "auction"
  440. },
  441. {
  442. "layout": {
  443. "root": {
  444. "layout": {
  445. "leaf": {
  446. "key": "0x2b6e3a01",
  447. "ty": 9
  448. }
  449. },
  450. "root_key": "0x2b6e3a01",
  451. "ty": 13
  452. }
  453. },
  454. "name": "balances"
  455. },
  456. {
  457. "layout": {
  458. "root": {
  459. "layout": {
  460. "leaf": {
  461. "key": "0x8482a36e",
  462. "ty": 0
  463. }
  464. },
  465. "root_key": "0x8482a36e",
  466. "ty": 18
  467. }
  468. },
  469. "name": "log"
  470. }
  471. ],
  472. "name": "Mother"
  473. }
  474. },
  475. "root_key": "0x00000000",
  476. "ty": 23
  477. }
  478. },
  479. "types": [
  480. {
  481. "id": 0,
  482. "type": {
  483. "def": {
  484. "primitive": "str"
  485. }
  486. }
  487. },
  488. {
  489. "id": 1,
  490. "type": {
  491. "def": {
  492. "composite": {
  493. "fields": [
  494. {
  495. "type": 2,
  496. "typeName": "[u8; 32]"
  497. }
  498. ]
  499. }
  500. },
  501. "path": [
  502. "ink_primitives",
  503. "types",
  504. "Hash"
  505. ]
  506. }
  507. },
  508. {
  509. "id": 2,
  510. "type": {
  511. "def": {
  512. "array": {
  513. "len": 32,
  514. "type": 3
  515. }
  516. }
  517. }
  518. },
  519. {
  520. "id": 3,
  521. "type": {
  522. "def": {
  523. "primitive": "u8"
  524. }
  525. }
  526. },
  527. {
  528. "id": 4,
  529. "type": {
  530. "def": {
  531. "sequence": {
  532. "type": 5
  533. }
  534. }
  535. }
  536. },
  537. {
  538. "id": 5,
  539. "type": {
  540. "def": {
  541. "sequence": {
  542. "type": 6
  543. }
  544. }
  545. }
  546. },
  547. {
  548. "id": 6,
  549. "type": {
  550. "def": {
  551. "variant": {
  552. "variants": [
  553. {
  554. "index": 0,
  555. "name": "None"
  556. },
  557. {
  558. "fields": [
  559. {
  560. "type": 7
  561. }
  562. ],
  563. "index": 1,
  564. "name": "Some"
  565. }
  566. ]
  567. }
  568. },
  569. "params": [
  570. {
  571. "name": "T",
  572. "type": 7
  573. }
  574. ],
  575. "path": [
  576. "Option"
  577. ]
  578. }
  579. },
  580. {
  581. "id": 7,
  582. "type": {
  583. "def": {
  584. "tuple": [
  585. 8,
  586. 9
  587. ]
  588. }
  589. }
  590. },
  591. {
  592. "id": 8,
  593. "type": {
  594. "def": {
  595. "composite": {
  596. "fields": [
  597. {
  598. "type": 2,
  599. "typeName": "[u8; 32]"
  600. }
  601. ]
  602. }
  603. },
  604. "path": [
  605. "ink_primitives",
  606. "types",
  607. "AccountId"
  608. ]
  609. }
  610. },
  611. {
  612. "id": 9,
  613. "type": {
  614. "def": {
  615. "primitive": "u128"
  616. }
  617. }
  618. },
  619. {
  620. "id": 10,
  621. "type": {
  622. "def": {
  623. "primitive": "u32"
  624. }
  625. }
  626. },
  627. {
  628. "id": 11,
  629. "type": {
  630. "def": {
  631. "primitive": "bool"
  632. }
  633. }
  634. },
  635. {
  636. "id": 12,
  637. "type": {
  638. "def": {
  639. "sequence": {
  640. "type": 3
  641. }
  642. }
  643. }
  644. },
  645. {
  646. "id": 13,
  647. "type": {
  648. "def": {
  649. "composite": {}
  650. },
  651. "params": [
  652. {
  653. "name": "K",
  654. "type": 8
  655. },
  656. {
  657. "name": "V",
  658. "type": 9
  659. },
  660. {
  661. "name": "KeyType",
  662. "type": 14
  663. }
  664. ],
  665. "path": [
  666. "ink_storage",
  667. "lazy",
  668. "mapping",
  669. "Mapping"
  670. ]
  671. }
  672. },
  673. {
  674. "id": 14,
  675. "type": {
  676. "def": {
  677. "composite": {}
  678. },
  679. "params": [
  680. {
  681. "name": "L",
  682. "type": 15
  683. },
  684. {
  685. "name": "R",
  686. "type": 16
  687. }
  688. ],
  689. "path": [
  690. "ink_storage_traits",
  691. "impls",
  692. "ResolverKey"
  693. ]
  694. }
  695. },
  696. {
  697. "id": 15,
  698. "type": {
  699. "def": {
  700. "composite": {}
  701. },
  702. "path": [
  703. "ink_storage_traits",
  704. "impls",
  705. "AutoKey"
  706. ]
  707. }
  708. },
  709. {
  710. "id": 16,
  711. "type": {
  712. "def": {
  713. "composite": {}
  714. },
  715. "params": [
  716. {
  717. "name": "ParentKey",
  718. "type": 17
  719. }
  720. ],
  721. "path": [
  722. "ink_storage_traits",
  723. "impls",
  724. "ManualKey"
  725. ]
  726. }
  727. },
  728. {
  729. "id": 17,
  730. "type": {
  731. "def": {
  732. "tuple": []
  733. }
  734. }
  735. },
  736. {
  737. "id": 18,
  738. "type": {
  739. "def": {
  740. "composite": {
  741. "fields": [
  742. {
  743. "name": "len",
  744. "type": 21,
  745. "typeName": "Lazy<u32, KeyType>"
  746. },
  747. {
  748. "name": "elements",
  749. "type": 22,
  750. "typeName": "Mapping<u32, V, KeyType>"
  751. }
  752. ]
  753. }
  754. },
  755. "params": [
  756. {
  757. "name": "V",
  758. "type": 0
  759. },
  760. {
  761. "name": "KeyType",
  762. "type": 19
  763. }
  764. ],
  765. "path": [
  766. "ink_storage",
  767. "lazy",
  768. "vec",
  769. "StorageVec"
  770. ]
  771. }
  772. },
  773. {
  774. "id": 19,
  775. "type": {
  776. "def": {
  777. "composite": {}
  778. },
  779. "params": [
  780. {
  781. "name": "L",
  782. "type": 15
  783. },
  784. {
  785. "name": "R",
  786. "type": 20
  787. }
  788. ],
  789. "path": [
  790. "ink_storage_traits",
  791. "impls",
  792. "ResolverKey"
  793. ]
  794. }
  795. },
  796. {
  797. "id": 20,
  798. "type": {
  799. "def": {
  800. "composite": {}
  801. },
  802. "params": [
  803. {
  804. "name": "ParentKey",
  805. "type": 17
  806. }
  807. ],
  808. "path": [
  809. "ink_storage_traits",
  810. "impls",
  811. "ManualKey"
  812. ]
  813. }
  814. },
  815. {
  816. "id": 21,
  817. "type": {
  818. "def": {
  819. "composite": {}
  820. },
  821. "params": [
  822. {
  823. "name": "V",
  824. "type": 10
  825. },
  826. {
  827. "name": "KeyType",
  828. "type": 19
  829. }
  830. ],
  831. "path": [
  832. "ink_storage",
  833. "lazy",
  834. "Lazy"
  835. ]
  836. }
  837. },
  838. {
  839. "id": 22,
  840. "type": {
  841. "def": {
  842. "composite": {}
  843. },
  844. "params": [
  845. {
  846. "name": "K",
  847. "type": 10
  848. },
  849. {
  850. "name": "V",
  851. "type": 0
  852. },
  853. {
  854. "name": "KeyType",
  855. "type": 19
  856. }
  857. ],
  858. "path": [
  859. "ink_storage",
  860. "lazy",
  861. "mapping",
  862. "Mapping"
  863. ]
  864. }
  865. },
  866. {
  867. "id": 23,
  868. "type": {
  869. "def": {
  870. "composite": {
  871. "fields": [
  872. {
  873. "name": "auction",
  874. "type": 24,
  875. "typeName": "<Auction as::ink::storage::traits::AutoStorableHint<::ink::\nstorage::traits::ManualKey<1146968252u32, ()>,>>::Type"
  876. },
  877. {
  878. "name": "balances",
  879. "type": 13,
  880. "typeName": "<Mapping<AccountId, Balance> as::ink::storage::traits::\nAutoStorableHint<::ink::storage::traits::ManualKey<20606507u32, ()\n>,>>::Type"
  881. },
  882. {
  883. "name": "log",
  884. "type": 18,
  885. "typeName": "<StorageVec<String> as::ink::storage::traits::AutoStorableHint<\n::ink::storage::traits::ManualKey<1856209540u32, ()>,>>::Type"
  886. }
  887. ]
  888. }
  889. },
  890. "path": [
  891. "mother",
  892. "mother",
  893. "Mother"
  894. ]
  895. }
  896. },
  897. {
  898. "id": 24,
  899. "type": {
  900. "def": {
  901. "composite": {
  902. "fields": [
  903. {
  904. "name": "name",
  905. "type": 0,
  906. "typeName": "String"
  907. },
  908. {
  909. "name": "subject",
  910. "type": 1,
  911. "typeName": "Hash"
  912. },
  913. {
  914. "name": "bids",
  915. "type": 25,
  916. "typeName": "Bids"
  917. },
  918. {
  919. "name": "terms",
  920. "type": 26,
  921. "typeName": "[BlockNumber; 3]"
  922. },
  923. {
  924. "name": "status",
  925. "type": 27,
  926. "typeName": "Status"
  927. },
  928. {
  929. "name": "finalized",
  930. "type": 11,
  931. "typeName": "bool"
  932. },
  933. {
  934. "name": "vector",
  935. "type": 12,
  936. "typeName": "Vec<u8>"
  937. }
  938. ]
  939. }
  940. },
  941. "path": [
  942. "mother",
  943. "mother",
  944. "Auction"
  945. ]
  946. }
  947. },
  948. {
  949. "id": 25,
  950. "type": {
  951. "def": {
  952. "composite": {
  953. "fields": [
  954. {
  955. "type": 4,
  956. "typeName": "Vec<Vec<Option<(AccountId, Balance)>>>"
  957. }
  958. ]
  959. }
  960. },
  961. "path": [
  962. "mother",
  963. "mother",
  964. "Bids"
  965. ]
  966. }
  967. },
  968. {
  969. "id": 26,
  970. "type": {
  971. "def": {
  972. "array": {
  973. "len": 3,
  974. "type": 10
  975. }
  976. }
  977. }
  978. },
  979. {
  980. "id": 27,
  981. "type": {
  982. "def": {
  983. "variant": {
  984. "variants": [
  985. {
  986. "index": 0,
  987. "name": "NotStarted"
  988. },
  989. {
  990. "index": 1,
  991. "name": "OpeningPeriod"
  992. },
  993. {
  994. "fields": [
  995. {
  996. "type": 10,
  997. "typeName": "BlockNumber"
  998. }
  999. ],
  1000. "index": 2,
  1001. "name": "EndingPeriod"
  1002. },
  1003. {
  1004. "fields": [
  1005. {
  1006. "type": 28,
  1007. "typeName": "Outline"
  1008. }
  1009. ],
  1010. "index": 3,
  1011. "name": "Ended"
  1012. },
  1013. {
  1014. "fields": [
  1015. {
  1016. "type": 10,
  1017. "typeName": "BlockNumber"
  1018. }
  1019. ],
  1020. "index": 4,
  1021. "name": "RfDelay"
  1022. }
  1023. ]
  1024. }
  1025. },
  1026. "path": [
  1027. "mother",
  1028. "mother",
  1029. "Status"
  1030. ]
  1031. }
  1032. },
  1033. {
  1034. "id": 28,
  1035. "type": {
  1036. "def": {
  1037. "variant": {
  1038. "variants": [
  1039. {
  1040. "index": 0,
  1041. "name": "NoWinner"
  1042. },
  1043. {
  1044. "index": 1,
  1045. "name": "WinnerDetected"
  1046. },
  1047. {
  1048. "index": 2,
  1049. "name": "PayoutCompleted"
  1050. }
  1051. ]
  1052. }
  1053. },
  1054. "path": [
  1055. "mother",
  1056. "mother",
  1057. "Outline"
  1058. ]
  1059. }
  1060. },
  1061. {
  1062. "id": 29,
  1063. "type": {
  1064. "def": {
  1065. "variant": {
  1066. "variants": [
  1067. {
  1068. "fields": [
  1069. {
  1070. "type": 17
  1071. }
  1072. ],
  1073. "index": 0,
  1074. "name": "Ok"
  1075. },
  1076. {
  1077. "fields": [
  1078. {
  1079. "type": 30
  1080. }
  1081. ],
  1082. "index": 1,
  1083. "name": "Err"
  1084. }
  1085. ]
  1086. }
  1087. },
  1088. "params": [
  1089. {
  1090. "name": "T",
  1091. "type": 17
  1092. },
  1093. {
  1094. "name": "E",
  1095. "type": 30
  1096. }
  1097. ],
  1098. "path": [
  1099. "Result"
  1100. ]
  1101. }
  1102. },
  1103. {
  1104. "id": 30,
  1105. "type": {
  1106. "def": {
  1107. "variant": {
  1108. "variants": [
  1109. {
  1110. "index": 1,
  1111. "name": "CouldNotReadInput"
  1112. }
  1113. ]
  1114. }
  1115. },
  1116. "path": [
  1117. "ink_primitives",
  1118. "LangError"
  1119. ]
  1120. }
  1121. },
  1122. {
  1123. "id": 31,
  1124. "type": {
  1125. "def": {
  1126. "variant": {
  1127. "variants": [
  1128. {
  1129. "fields": [
  1130. {
  1131. "type": 32
  1132. }
  1133. ],
  1134. "index": 0,
  1135. "name": "Ok"
  1136. },
  1137. {
  1138. "fields": [
  1139. {
  1140. "type": 30
  1141. }
  1142. ],
  1143. "index": 1,
  1144. "name": "Err"
  1145. }
  1146. ]
  1147. }
  1148. },
  1149. "params": [
  1150. {
  1151. "name": "T",
  1152. "type": 32
  1153. },
  1154. {
  1155. "name": "E",
  1156. "type": 30
  1157. }
  1158. ],
  1159. "path": [
  1160. "Result"
  1161. ]
  1162. }
  1163. },
  1164. {
  1165. "id": 32,
  1166. "type": {
  1167. "def": {
  1168. "variant": {
  1169. "variants": [
  1170. {
  1171. "fields": [
  1172. {
  1173. "type": 17
  1174. }
  1175. ],
  1176. "index": 0,
  1177. "name": "Ok"
  1178. },
  1179. {
  1180. "fields": [
  1181. {
  1182. "type": 33
  1183. }
  1184. ],
  1185. "index": 1,
  1186. "name": "Err"
  1187. }
  1188. ]
  1189. }
  1190. },
  1191. "params": [
  1192. {
  1193. "name": "T",
  1194. "type": 17
  1195. },
  1196. {
  1197. "name": "E",
  1198. "type": 33
  1199. }
  1200. ],
  1201. "path": [
  1202. "Result"
  1203. ]
  1204. }
  1205. },
  1206. {
  1207. "id": 33,
  1208. "type": {
  1209. "def": {
  1210. "variant": {
  1211. "variants": [
  1212. {
  1213. "fields": [
  1214. {
  1215. "type": 0,
  1216. "typeName": "String"
  1217. }
  1218. ],
  1219. "index": 0,
  1220. "name": "Revert"
  1221. },
  1222. {
  1223. "index": 1,
  1224. "name": "Panic"
  1225. }
  1226. ]
  1227. }
  1228. },
  1229. "path": [
  1230. "mother",
  1231. "mother",
  1232. "Failure"
  1233. ]
  1234. }
  1235. },
  1236. {
  1237. "id": 34,
  1238. "type": {
  1239. "def": {
  1240. "variant": {
  1241. "variants": [
  1242. {
  1243. "fields": [
  1244. {
  1245. "type": 24
  1246. }
  1247. ],
  1248. "index": 0,
  1249. "name": "Ok"
  1250. },
  1251. {
  1252. "fields": [
  1253. {
  1254. "type": 30
  1255. }
  1256. ],
  1257. "index": 1,
  1258. "name": "Err"
  1259. }
  1260. ]
  1261. }
  1262. },
  1263. "params": [
  1264. {
  1265. "name": "T",
  1266. "type": 24
  1267. },
  1268. {
  1269. "name": "E",
  1270. "type": 30
  1271. }
  1272. ],
  1273. "path": [
  1274. "Result"
  1275. ]
  1276. }
  1277. },
  1278. {
  1279. "id": 35,
  1280. "type": {
  1281. "def": {
  1282. "variant": {
  1283. "variants": [
  1284. {
  1285. "index": 0,
  1286. "name": "None"
  1287. },
  1288. {
  1289. "fields": [
  1290. {
  1291. "type": 33
  1292. }
  1293. ],
  1294. "index": 1,
  1295. "name": "Some"
  1296. }
  1297. ]
  1298. }
  1299. },
  1300. "params": [
  1301. {
  1302. "name": "T",
  1303. "type": 33
  1304. }
  1305. ],
  1306. "path": [
  1307. "Option"
  1308. ]
  1309. }
  1310. },
  1311. {
  1312. "id": 36,
  1313. "type": {
  1314. "def": {
  1315. "variant": {
  1316. "variants": [
  1317. {
  1318. "fields": [
  1319. {
  1320. "type": 0
  1321. }
  1322. ],
  1323. "index": 0,
  1324. "name": "Ok"
  1325. },
  1326. {
  1327. "fields": [
  1328. {
  1329. "type": 30
  1330. }
  1331. ],
  1332. "index": 1,
  1333. "name": "Err"
  1334. }
  1335. ]
  1336. }
  1337. },
  1338. "params": [
  1339. {
  1340. "name": "T",
  1341. "type": 0
  1342. },
  1343. {
  1344. "name": "E",
  1345. "type": 30
  1346. }
  1347. ],
  1348. "path": [
  1349. "Result"
  1350. ]
  1351. }
  1352. },
  1353. {
  1354. "id": 37,
  1355. "type": {
  1356. "def": {
  1357. "primitive": "u64"
  1358. }
  1359. }
  1360. },
  1361. {
  1362. "id": 38,
  1363. "type": {
  1364. "def": {
  1365. "variant": {}
  1366. },
  1367. "path": [
  1368. "ink_env",
  1369. "types",
  1370. "NoChainExtension"
  1371. ]
  1372. }
  1373. }
  1374. ],
  1375. "version": 5
  1376. }