@aeternity/aepp-sdk 11.0.0 → 12.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (442) hide show
  1. package/LICENSE +1 -1
  2. package/dist/aepp-sdk.browser-script.js +1 -1
  3. package/dist/aepp-sdk.browser-script.js.LICENSE.txt +0 -22
  4. package/dist/aepp-sdk.browser-script.js.map +1 -1
  5. package/dist/aepp-sdk.browser.js +2 -1
  6. package/dist/aepp-sdk.browser.js.LICENSE.txt +1 -0
  7. package/dist/aepp-sdk.browser.js.map +1 -1
  8. package/dist/aepp-sdk.js +20764 -1
  9. package/dist/aepp-sdk.js.map +1 -1
  10. package/es/AeSdk.d.ts +37 -0
  11. package/es/AeSdk.mjs +81 -0
  12. package/es/AeSdk.mjs.map +1 -0
  13. package/es/AeSdkAepp.d.ts +70 -0
  14. package/es/AeSdkAepp.mjs +176 -0
  15. package/es/AeSdkAepp.mjs.map +1 -0
  16. package/es/AeSdkBase.d.ts +213 -0
  17. package/es/AeSdkBase.mjs +314 -0
  18. package/es/AeSdkBase.mjs.map +1 -0
  19. package/es/AeSdkWallet.d.ts +104 -0
  20. package/es/AeSdkWallet.mjs +326 -0
  21. package/es/AeSdkWallet.mjs.map +1 -0
  22. package/es/Node.d.ts +41 -0
  23. package/es/Node.mjs +147 -0
  24. package/es/Node.mjs.map +1 -0
  25. package/es/account/Base.d.ts +68 -0
  26. package/es/account/Base.mjs +123 -0
  27. package/es/account/Base.mjs.map +1 -0
  28. package/es/account/Memory.d.ts +26 -0
  29. package/es/account/Memory.mjs +103 -0
  30. package/es/account/Memory.mjs.map +1 -0
  31. package/es/account/Rpc.d.ts +27 -0
  32. package/es/account/Rpc.mjs +80 -0
  33. package/es/account/Rpc.mjs.map +1 -0
  34. package/es/aens.d.ts +222 -0
  35. package/es/aens.mjs +338 -0
  36. package/es/aens.mjs.map +1 -0
  37. package/es/aepp-wallet-communication/connection/Browser.d.ts +33 -0
  38. package/es/aepp-wallet-communication/connection/Browser.mjs +73 -0
  39. package/es/aepp-wallet-communication/connection/Browser.mjs.map +1 -0
  40. package/es/aepp-wallet-communication/connection/BrowserRuntime.d.ts +18 -0
  41. package/es/aepp-wallet-communication/connection/BrowserRuntime.mjs +58 -0
  42. package/es/aepp-wallet-communication/connection/BrowserRuntime.mjs.map +1 -0
  43. package/es/aepp-wallet-communication/connection/BrowserWindowMessage.d.ts +36 -0
  44. package/es/aepp-wallet-communication/connection/BrowserWindowMessage.mjs +146 -0
  45. package/es/aepp-wallet-communication/connection/BrowserWindowMessage.mjs.map +1 -0
  46. package/es/aepp-wallet-communication/connection-proxy.d.ts +11 -0
  47. package/{src/utils/crypto-ts.ts → es/aepp-wallet-communication/connection-proxy.mjs} +16 -11
  48. package/es/aepp-wallet-communication/connection-proxy.mjs.map +1 -0
  49. package/es/aepp-wallet-communication/rpc/RpcClient.d.ts +34 -0
  50. package/es/aepp-wallet-communication/rpc/RpcClient.mjs +169 -0
  51. package/es/aepp-wallet-communication/rpc/RpcClient.mjs.map +1 -0
  52. package/es/aepp-wallet-communication/rpc/types.d.ts +77 -0
  53. package/es/aepp-wallet-communication/rpc/types.mjs +3 -0
  54. package/es/aepp-wallet-communication/rpc/types.mjs.map +1 -0
  55. package/es/aepp-wallet-communication/schema.d.ts +105 -46
  56. package/es/aepp-wallet-communication/schema.mjs +251 -0
  57. package/es/aepp-wallet-communication/schema.mjs.map +1 -0
  58. package/es/aepp-wallet-communication/wallet-detector.d.ts +25 -0
  59. package/es/aepp-wallet-communication/wallet-detector.mjs +62 -0
  60. package/es/aepp-wallet-communication/wallet-detector.mjs.map +1 -0
  61. package/es/apis/compiler/compiler.d.ts +92 -0
  62. package/es/apis/compiler/compiler.mjs +576 -0
  63. package/es/apis/compiler/compiler.mjs.map +1 -0
  64. package/es/apis/compiler/index.d.ts +2 -0
  65. package/es/apis/compiler/index.mjs +3 -0
  66. package/es/apis/compiler/index.mjs.map +1 -0
  67. package/es/apis/compiler/models/index.d.ts +248 -0
  68. package/es/apis/compiler/models/index.mjs +48 -0
  69. package/es/apis/compiler/models/index.mjs.map +1 -0
  70. package/es/apis/compiler/models/mappers.d.ts +23 -0
  71. package/es/apis/compiler/models/mappers.mjs +585 -0
  72. package/es/apis/compiler/models/mappers.mjs.map +1 -0
  73. package/es/apis/compiler/models/parameters.d.ts +13 -0
  74. package/es/apis/compiler/models/parameters.mjs +71 -0
  75. package/es/apis/compiler/models/parameters.mjs.map +1 -0
  76. package/es/apis/node/index.d.ts +2 -0
  77. package/es/apis/node/index.mjs +3 -0
  78. package/es/apis/node/index.mjs.map +1 -0
  79. package/es/apis/node/models/index.d.ts +1065 -0
  80. package/es/apis/node/models/index.mjs +2 -0
  81. package/es/apis/node/models/index.mjs.map +1 -0
  82. package/es/apis/node/models/mappers.d.ts +95 -0
  83. package/es/apis/node/models/mappers.mjs +4166 -0
  84. package/es/apis/node/models/mappers.mjs.map +1 -0
  85. package/es/apis/node/models/parameters.d.ts +17 -0
  86. package/es/apis/node/models/parameters.mjs +165 -0
  87. package/es/apis/node/models/parameters.mjs.map +1 -0
  88. package/es/apis/node/node.d.ts +215 -0
  89. package/es/apis/node/node.mjs +1165 -0
  90. package/es/apis/node/node.mjs.map +1 -0
  91. package/es/chain.d.ts +248 -0
  92. package/es/chain.mjs +560 -0
  93. package/es/chain.mjs.map +1 -0
  94. package/es/channel/handlers.d.ts +34 -0
  95. package/es/channel/handlers.mjs +164 -131
  96. package/es/channel/handlers.mjs.map +1 -1
  97. package/es/channel/index.d.ts +625 -0
  98. package/es/channel/index.mjs +897 -902
  99. package/es/channel/index.mjs.map +1 -1
  100. package/es/channel/internal.d.ts +101 -0
  101. package/es/channel/internal.mjs +138 -88
  102. package/es/channel/internal.mjs.map +1 -1
  103. package/es/contract/Compiler.d.ts +18 -0
  104. package/es/contract/Compiler.mjs +68 -0
  105. package/es/contract/Compiler.mjs.map +1 -0
  106. package/es/contract/aci.d.ts +127 -0
  107. package/es/contract/aci.mjs +225 -193
  108. package/es/contract/aci.mjs.map +1 -1
  109. package/es/contract/ga.d.ts +69 -0
  110. package/es/contract/ga.mjs +195 -0
  111. package/es/contract/ga.mjs.map +1 -0
  112. package/es/contract/methods.d.ts +71 -0
  113. package/es/contract/methods.mjs +104 -0
  114. package/es/contract/methods.mjs.map +1 -0
  115. package/es/deprecated/index.d.ts +143 -0
  116. package/es/deprecated/index.mjs +162 -0
  117. package/es/deprecated/index.mjs.map +1 -0
  118. package/es/deprecated/methods.d.ts +18 -0
  119. package/es/deprecated/methods.mjs +26 -0
  120. package/es/deprecated/methods.mjs.map +1 -0
  121. package/es/index.d.ts +35 -0
  122. package/es/index.mjs +35 -40
  123. package/es/index.mjs.map +1 -1
  124. package/es/oracle.d.ts +161 -0
  125. package/es/oracle.mjs +306 -0
  126. package/es/oracle.mjs.map +1 -0
  127. package/es/spend.d.ts +62 -0
  128. package/es/spend.mjs +111 -0
  129. package/es/spend.mjs.map +1 -0
  130. package/es/tx/builder/address.d.ts +25 -0
  131. package/es/tx/builder/address.mjs +45 -0
  132. package/es/tx/builder/address.mjs.map +1 -0
  133. package/es/tx/builder/constants.d.ts +70 -0
  134. package/es/tx/builder/constants.mjs +122 -0
  135. package/es/tx/builder/constants.mjs.map +1 -0
  136. package/es/tx/builder/field-types/coin-amount.d.ts +13 -0
  137. package/es/tx/builder/field-types/coin-amount.mjs +26 -0
  138. package/es/tx/builder/field-types/coin-amount.mjs.map +1 -0
  139. package/es/tx/builder/field-types/deposit.d.ts +15 -0
  140. package/es/tx/builder/field-types/deposit.mjs +19 -0
  141. package/es/tx/builder/field-types/deposit.mjs.map +1 -0
  142. package/es/tx/builder/field-types/fee.d.ts +25 -0
  143. package/es/tx/builder/field-types/fee.mjs +150 -0
  144. package/es/tx/builder/field-types/fee.mjs.map +1 -0
  145. package/es/tx/builder/field-types/field.d.ts +6 -0
  146. package/es/tx/builder/field-types/field.mjs +15 -0
  147. package/es/tx/builder/field-types/field.mjs.map +1 -0
  148. package/es/tx/builder/field-types/gas-limit.d.ts +12 -0
  149. package/es/tx/builder/field-types/gas-limit.mjs +33 -0
  150. package/es/tx/builder/field-types/gas-limit.mjs.map +1 -0
  151. package/es/tx/builder/field-types/gas-price.d.ts +8 -0
  152. package/es/tx/builder/field-types/gas-price.mjs +18 -0
  153. package/es/tx/builder/field-types/gas-price.mjs.map +1 -0
  154. package/es/tx/builder/field-types/index.d.ts +70 -0
  155. package/es/tx/builder/field-types/index.mjs +25 -0
  156. package/es/tx/builder/field-types/index.mjs.map +1 -0
  157. package/es/tx/builder/field-types/name-fee.d.ts +20 -0
  158. package/es/tx/builder/field-types/name-fee.mjs +24 -0
  159. package/es/tx/builder/field-types/name-fee.mjs.map +1 -0
  160. package/es/tx/builder/field-types/name-id.d.ts +14 -0
  161. package/es/tx/builder/field-types/name-id.mjs +19 -0
  162. package/es/tx/builder/field-types/name-id.mjs.map +1 -0
  163. package/es/tx/builder/field-types/name.d.ts +13 -0
  164. package/es/tx/builder/field-types/name.mjs +18 -0
  165. package/es/tx/builder/field-types/name.mjs.map +1 -0
  166. package/es/tx/builder/field-types/short-u-int.d.ts +6 -0
  167. package/es/tx/builder/field-types/short-u-int.mjs +12 -0
  168. package/es/tx/builder/field-types/short-u-int.mjs.map +1 -0
  169. package/es/tx/builder/field-types/u-int.d.ts +8 -0
  170. package/es/tx/builder/field-types/u-int.mjs +14 -0
  171. package/es/tx/builder/field-types/u-int.mjs.map +1 -0
  172. package/es/tx/builder/helpers.d.ts +125 -0
  173. package/es/tx/builder/helpers.mjs +94 -240
  174. package/es/tx/builder/helpers.mjs.map +1 -1
  175. package/es/tx/builder/index.d.ts +88 -0
  176. package/es/tx/builder/index.mjs +167 -358
  177. package/es/tx/builder/index.mjs.map +1 -1
  178. package/es/tx/builder/schema.d.ts +1201 -0
  179. package/es/tx/builder/schema.mjs +175 -664
  180. package/es/tx/builder/schema.mjs.map +1 -1
  181. package/es/tx/index.d.ts +64 -0
  182. package/es/tx/index.mjs +151 -265
  183. package/es/tx/index.mjs.map +1 -1
  184. package/es/tx/validator.d.ts +20 -0
  185. package/es/tx/validator.mjs +104 -124
  186. package/es/tx/validator.mjs.map +1 -1
  187. package/es/typings/@aeternity__argon2-browser/index.d.mjs +2 -0
  188. package/es/typings/@aeternity__argon2-browser/index.d.mjs.map +1 -0
  189. package/es/typings/@aeternity__uuid/index.d.mjs +2 -0
  190. package/es/typings/@aeternity__uuid/index.d.mjs.map +1 -0
  191. package/es/typings/bip32-path/index.d.mjs +2 -0
  192. package/es/typings/bip32-path/index.d.mjs.map +1 -0
  193. package/es/typings/blakejs/index.d.mjs.map +1 -1
  194. package/es/typings/sha-js/index.d.mjs +2 -0
  195. package/es/typings/sha-js/index.d.mjs.map +1 -0
  196. package/es/typings/tweetnacl-auth/index.d.mjs +2 -0
  197. package/es/typings/tweetnacl-auth/index.d.mjs.map +1 -0
  198. package/es/utils/amount-formatter.d.ts +42 -0
  199. package/es/utils/amount-formatter.mjs +36 -49
  200. package/es/utils/amount-formatter.mjs.map +1 -1
  201. package/es/utils/autorest.d.ts +6 -0
  202. package/es/utils/autorest.mjs +97 -0
  203. package/es/utils/autorest.mjs.map +1 -0
  204. package/es/utils/bignumber.d.ts +13 -0
  205. package/es/utils/bignumber.mjs +11 -8
  206. package/es/utils/bignumber.mjs.map +1 -1
  207. package/es/{bytes.d.ts → utils/bytes.d.ts} +10 -13
  208. package/es/utils/bytes.mjs +11 -15
  209. package/es/utils/bytes.mjs.map +1 -1
  210. package/es/utils/crypto.d.ts +88 -0
  211. package/es/utils/crypto.mjs +64 -108
  212. package/es/utils/crypto.mjs.map +1 -1
  213. package/es/utils/encoder-types.d.ts +61 -0
  214. package/es/utils/encoder-types.mjs +36 -0
  215. package/es/utils/encoder-types.mjs.map +1 -0
  216. package/es/utils/encoder.d.ts +25 -0
  217. package/es/utils/encoder.mjs +118 -0
  218. package/es/utils/encoder.mjs.map +1 -0
  219. package/es/{errors.d.ts → utils/errors.d.ts} +246 -59
  220. package/es/utils/errors.mjs +313 -136
  221. package/es/utils/errors.mjs.map +1 -1
  222. package/es/utils/hd-wallet.d.ts +50 -0
  223. package/es/utils/hd-wallet.mjs +86 -45
  224. package/es/utils/hd-wallet.mjs.map +1 -1
  225. package/es/utils/json-big.d.ts +5 -0
  226. package/es/utils/json-big.mjs +12 -16
  227. package/es/utils/json-big.mjs.map +1 -1
  228. package/es/utils/keystore.d.ts +51 -0
  229. package/es/utils/keystore.mjs +101 -194
  230. package/es/utils/keystore.mjs.map +1 -1
  231. package/es/{mptree.d.ts → utils/mptree.d.ts} +6 -9
  232. package/es/utils/mptree.mjs +22 -18
  233. package/es/utils/mptree.mjs.map +1 -1
  234. package/es/utils/other.d.ts +20 -0
  235. package/es/utils/other.mjs +32 -35
  236. package/es/utils/other.mjs.map +1 -1
  237. package/es/utils/semver-satisfies.d.ts +1 -0
  238. package/es/utils/semver-satisfies.mjs +2 -2
  239. package/es/utils/semver-satisfies.mjs.map +1 -1
  240. package/es/utils/string.d.ts +24 -0
  241. package/es/utils/string.mjs +8 -10
  242. package/es/utils/string.mjs.map +1 -1
  243. package/package.json +56 -42
  244. package/src/AeSdk.ts +68 -0
  245. package/src/AeSdkAepp.ts +176 -0
  246. package/src/AeSdkBase.ts +338 -0
  247. package/src/AeSdkWallet.ts +348 -0
  248. package/src/Node.ts +173 -0
  249. package/src/account/Base.ts +124 -0
  250. package/src/account/Memory.ts +98 -0
  251. package/src/account/Rpc.ts +69 -0
  252. package/src/aens.ts +407 -0
  253. package/src/aepp-wallet-communication/connection/Browser.ts +71 -0
  254. package/src/aepp-wallet-communication/connection/BrowserRuntime.ts +59 -0
  255. package/src/aepp-wallet-communication/connection/BrowserWindowMessage.ts +122 -0
  256. package/{es/utils/crypto-ts.mjs → src/aepp-wallet-communication/connection-proxy.ts} +18 -18
  257. package/src/aepp-wallet-communication/rpc/RpcClient.ts +143 -0
  258. package/src/aepp-wallet-communication/rpc/types.ts +66 -0
  259. package/src/aepp-wallet-communication/schema.ts +224 -0
  260. package/src/aepp-wallet-communication/wallet-detector.ts +72 -0
  261. package/src/apis/compiler/code-model-v4.yaml +2649 -0
  262. package/src/apis/compiler/compiler.ts +585 -0
  263. package/src/apis/compiler/index.ts +2 -0
  264. package/src/apis/compiler/models/index.ts +301 -0
  265. package/src/apis/compiler/models/mappers.ts +583 -0
  266. package/src/apis/compiler/models/parameters.ts +93 -0
  267. package/src/apis/node/code-model-v4.yaml +10080 -0
  268. package/src/apis/node/index.ts +2 -0
  269. package/src/apis/node/models/index.ts +1257 -0
  270. package/src/apis/node/models/mappers.ts +4280 -0
  271. package/src/apis/node/models/parameters.ts +188 -0
  272. package/src/apis/node/node.ts +1299 -0
  273. package/src/chain.ts +502 -0
  274. package/src/channel/handlers.ts +817 -0
  275. package/src/channel/index.ts +1025 -0
  276. package/src/channel/internal.ts +361 -0
  277. package/src/contract/Compiler.ts +67 -0
  278. package/src/contract/aci.ts +538 -0
  279. package/src/contract/ga.ts +199 -0
  280. package/src/contract/methods.ts +123 -0
  281. package/src/deprecated/index.ts +170 -0
  282. package/src/deprecated/methods.ts +25 -0
  283. package/src/index.ts +56 -0
  284. package/src/oracle.ts +364 -0
  285. package/src/spend.ts +164 -0
  286. package/src/tx/builder/address.ts +50 -0
  287. package/src/tx/builder/constants.ts +126 -0
  288. package/src/tx/builder/field-types/coin-amount.ts +27 -0
  289. package/src/tx/builder/field-types/deposit.ts +21 -0
  290. package/src/tx/builder/field-types/fee.ts +143 -0
  291. package/src/tx/builder/field-types/field.ts +9 -0
  292. package/src/tx/builder/field-types/gas-limit.ts +41 -0
  293. package/src/tx/builder/field-types/gas-price.ts +16 -0
  294. package/src/tx/builder/field-types/index.ts +45 -0
  295. package/src/tx/builder/field-types/name-fee.ts +32 -0
  296. package/src/tx/builder/field-types/name-id.ts +20 -0
  297. package/src/tx/builder/field-types/name.ts +18 -0
  298. package/src/tx/builder/field-types/short-u-int.ts +11 -0
  299. package/src/tx/builder/field-types/u-int.ts +16 -0
  300. package/src/tx/builder/helpers.ts +248 -0
  301. package/src/tx/builder/index.ts +400 -0
  302. package/src/tx/builder/schema.ts +727 -0
  303. package/src/tx/index.ts +192 -0
  304. package/src/tx/validator.ts +230 -0
  305. package/src/typings/@aeternity__argon2-browser/index.d.ts +3 -0
  306. package/src/typings/@aeternity__uuid/index.d.ts +5 -0
  307. package/src/typings/bip32-path/index.d.ts +33 -0
  308. package/src/typings/blakejs/index.d.ts +4 -32
  309. package/src/typings/sha-js/index.d.ts +5 -0
  310. package/src/typings/tweetnacl-auth/index.d.ts +14 -0
  311. package/src/utils/amount-formatter.ts +56 -69
  312. package/src/utils/autorest.ts +93 -0
  313. package/src/utils/bignumber.ts +11 -12
  314. package/src/utils/bytes.ts +29 -31
  315. package/src/utils/crypto.ts +205 -0
  316. package/src/utils/encoder-types.ts +63 -0
  317. package/src/utils/encoder.ts +146 -0
  318. package/src/utils/errors.ts +482 -366
  319. package/src/utils/hd-wallet.ts +166 -0
  320. package/src/utils/json-big.ts +27 -0
  321. package/src/utils/keystore.ts +182 -0
  322. package/src/utils/mptree.ts +64 -61
  323. package/src/utils/other.ts +34 -41
  324. package/src/utils/semver-satisfies.ts +15 -11
  325. package/src/utils/string.ts +18 -20
  326. package/es/account/base.mjs +0 -179
  327. package/es/account/base.mjs.map +0 -1
  328. package/es/account/memory.mjs +0 -99
  329. package/es/account/memory.mjs.map +0 -1
  330. package/es/account/multiple.mjs +0 -179
  331. package/es/account/multiple.mjs.map +0 -1
  332. package/es/ae/aens.mjs +0 -404
  333. package/es/ae/aens.mjs.map +0 -1
  334. package/es/ae/aepp.mjs +0 -45
  335. package/es/ae/aepp.mjs.map +0 -1
  336. package/es/ae/contract.mjs +0 -159
  337. package/es/ae/contract.mjs.map +0 -1
  338. package/es/ae/index.mjs +0 -207
  339. package/es/ae/index.mjs.map +0 -1
  340. package/es/ae/oracle.mjs +0 -339
  341. package/es/ae/oracle.mjs.map +0 -1
  342. package/es/ae/universal.mjs +0 -45
  343. package/es/ae/universal.mjs.map +0 -1
  344. package/es/ae/wallet.mjs +0 -50
  345. package/es/ae/wallet.mjs.map +0 -1
  346. package/es/amount-formatter.d.ts +0 -58
  347. package/es/bignumber.d.ts +0 -18
  348. package/es/chain/index.mjs +0 -272
  349. package/es/chain/index.mjs.map +0 -1
  350. package/es/chain/node.mjs +0 -442
  351. package/es/chain/node.mjs.map +0 -1
  352. package/es/contract/compiler.mjs +0 -115
  353. package/es/contract/compiler.mjs.map +0 -1
  354. package/es/contract/ga/helpers.mjs +0 -30
  355. package/es/contract/ga/helpers.mjs.map +0 -1
  356. package/es/contract/ga/index.mjs +0 -178
  357. package/es/contract/ga/index.mjs.map +0 -1
  358. package/es/crypto-ts.d.ts +0 -9
  359. package/es/node-pool/index.mjs +0 -188
  360. package/es/node-pool/index.mjs.map +0 -1
  361. package/es/node.mjs +0 -133
  362. package/es/node.mjs.map +0 -1
  363. package/es/other.d.ts +0 -31
  364. package/es/semver-satisfies.d.ts +0 -1
  365. package/es/string.d.ts +0 -26
  366. package/es/tx/builder/field-types.mjs +0 -74
  367. package/es/tx/builder/field-types.mjs.map +0 -1
  368. package/es/tx/tx-object.mjs +0 -283
  369. package/es/tx/tx-object.mjs.map +0 -1
  370. package/es/tx/tx.mjs +0 -938
  371. package/es/tx/tx.mjs.map +0 -1
  372. package/es/utils/aepp-wallet-communication/connection/browser-runtime.mjs +0 -132
  373. package/es/utils/aepp-wallet-communication/connection/browser-runtime.mjs.map +0 -1
  374. package/es/utils/aepp-wallet-communication/connection/browser-window-message.mjs +0 -183
  375. package/es/utils/aepp-wallet-communication/connection/browser-window-message.mjs.map +0 -1
  376. package/es/utils/aepp-wallet-communication/connection/index.mjs +0 -87
  377. package/es/utils/aepp-wallet-communication/connection/index.mjs.map +0 -1
  378. package/es/utils/aepp-wallet-communication/content-script-bridge.mjs +0 -98
  379. package/es/utils/aepp-wallet-communication/content-script-bridge.mjs.map +0 -1
  380. package/es/utils/aepp-wallet-communication/helpers.mjs +0 -92
  381. package/es/utils/aepp-wallet-communication/helpers.mjs.map +0 -1
  382. package/es/utils/aepp-wallet-communication/rpc/aepp-rpc.mjs +0 -375
  383. package/es/utils/aepp-wallet-communication/rpc/aepp-rpc.mjs.map +0 -1
  384. package/es/utils/aepp-wallet-communication/rpc/rpc-client.mjs +0 -275
  385. package/es/utils/aepp-wallet-communication/rpc/rpc-client.mjs.map +0 -1
  386. package/es/utils/aepp-wallet-communication/rpc/wallet-rpc.mjs +0 -541
  387. package/es/utils/aepp-wallet-communication/rpc/wallet-rpc.mjs.map +0 -1
  388. package/es/utils/aepp-wallet-communication/schema.mjs +0 -102
  389. package/es/utils/aepp-wallet-communication/schema.mjs.map +0 -1
  390. package/es/utils/aepp-wallet-communication/wallet-detector.mjs +0 -110
  391. package/es/utils/aepp-wallet-communication/wallet-detector.mjs.map +0 -1
  392. package/es/utils/async-init.mjs +0 -64
  393. package/es/utils/async-init.mjs.map +0 -1
  394. package/es/utils/crypto-ts.mjs.map +0 -1
  395. package/es/utils/swagger.mjs +0 -164
  396. package/es/utils/swagger.mjs.map +0 -1
  397. package/src/account/base.js +0 -153
  398. package/src/account/memory.js +0 -83
  399. package/src/account/multiple.js +0 -162
  400. package/src/ae/aens.js +0 -361
  401. package/src/ae/aepp.js +0 -45
  402. package/src/ae/contract.js +0 -148
  403. package/src/ae/index.js +0 -168
  404. package/src/ae/oracle.js +0 -311
  405. package/src/ae/universal.js +0 -47
  406. package/src/ae/wallet.js +0 -50
  407. package/src/chain/index.js +0 -269
  408. package/src/chain/node.js +0 -320
  409. package/src/channel/handlers.js +0 -673
  410. package/src/channel/index.js +0 -898
  411. package/src/channel/internal.js +0 -237
  412. package/src/contract/aci.js +0 -376
  413. package/src/contract/compiler.js +0 -100
  414. package/src/contract/ga/helpers.js +0 -19
  415. package/src/contract/ga/index.js +0 -150
  416. package/src/index.js +0 -89
  417. package/src/node-pool/index.js +0 -172
  418. package/src/node.js +0 -116
  419. package/src/tx/builder/field-types.js +0 -61
  420. package/src/tx/builder/helpers.js +0 -380
  421. package/src/tx/builder/index.js +0 -465
  422. package/src/tx/builder/schema.js +0 -1197
  423. package/src/tx/index.js +0 -301
  424. package/src/tx/tx-object.js +0 -187
  425. package/src/tx/tx.js +0 -631
  426. package/src/tx/validator.js +0 -181
  427. package/src/utils/aepp-wallet-communication/connection/browser-runtime.js +0 -119
  428. package/src/utils/aepp-wallet-communication/connection/browser-window-message.js +0 -165
  429. package/src/utils/aepp-wallet-communication/connection/index.js +0 -85
  430. package/src/utils/aepp-wallet-communication/content-script-bridge.js +0 -86
  431. package/src/utils/aepp-wallet-communication/helpers.js +0 -60
  432. package/src/utils/aepp-wallet-communication/rpc/aepp-rpc.js +0 -294
  433. package/src/utils/aepp-wallet-communication/rpc/rpc-client.js +0 -232
  434. package/src/utils/aepp-wallet-communication/rpc/wallet-rpc.js +0 -401
  435. package/src/utils/aepp-wallet-communication/schema.ts +0 -80
  436. package/src/utils/aepp-wallet-communication/wallet-detector.js +0 -92
  437. package/src/utils/async-init.js +0 -45
  438. package/src/utils/crypto.js +0 -229
  439. package/src/utils/hd-wallet.js +0 -100
  440. package/src/utils/json-big.js +0 -26
  441. package/src/utils/keystore.js +0 -219
  442. package/src/utils/swagger.js +0 -156
@@ -0,0 +1,2649 @@
1
+ !CodeModel
2
+ info: !Info
3
+ description: This is the [Aeternity](https://www.aeternity.com/) compiler API.
4
+ contact:
5
+ email: apiteam@aeternity.com
6
+ termsOfService: https://www.aeternity.com/terms/
7
+ title: compiler
8
+ schemas: !Schemas
9
+ numbers:
10
+ - !NumberSchema &ref_9
11
+ type: integer
12
+ apiVersions:
13
+ - !ApiVersion
14
+ version: 6.1.0
15
+ precision: 32
16
+ language: !Languages
17
+ default:
18
+ name: ErrorPosCol
19
+ description: ''
20
+ protocol: !Protocols {}
21
+ - !NumberSchema &ref_11
22
+ type: integer
23
+ apiVersions:
24
+ - !ApiVersion
25
+ version: 6.1.0
26
+ precision: 32
27
+ language: !Languages
28
+ default:
29
+ name: ErrorPosLine
30
+ description: ''
31
+ protocol: !Protocols {}
32
+ strings:
33
+ - !StringSchema &ref_0
34
+ type: string
35
+ language: !Languages
36
+ default:
37
+ name: String
38
+ description: simple string
39
+ protocol: !Protocols {}
40
+ - !StringSchema &ref_1
41
+ type: string
42
+ apiVersions:
43
+ - !ApiVersion
44
+ version: 6.1.0
45
+ language: !Languages
46
+ default:
47
+ name: ContractCode
48
+ description: ''
49
+ protocol: !Protocols {}
50
+ - !StringSchema &ref_4
51
+ type: string
52
+ apiVersions:
53
+ - !ApiVersion
54
+ version: 6.1.0
55
+ language: !Languages
56
+ default:
57
+ name: CompileOptsSrcFile
58
+ description: Name of contract source file - only used in error messages
59
+ protocol: !Protocols {}
60
+ - !StringSchema &ref_6
61
+ type: string
62
+ apiVersions:
63
+ - !ApiVersion
64
+ version: 6.1.0
65
+ language: !Languages
66
+ default:
67
+ name: ACIInterface
68
+ description: ''
69
+ protocol: !Protocols {}
70
+ - !StringSchema &ref_7
71
+ type: string
72
+ apiVersions:
73
+ - !ApiVersion
74
+ version: 6.1.0
75
+ language: !Languages
76
+ default:
77
+ name: CompilerErrorContext
78
+ description: ''
79
+ protocol: !Protocols {}
80
+ - !StringSchema &ref_8
81
+ type: string
82
+ apiVersions:
83
+ - !ApiVersion
84
+ version: 6.1.0
85
+ language: !Languages
86
+ default:
87
+ name: CompilerErrorMessage
88
+ description: ''
89
+ protocol: !Protocols {}
90
+ - !StringSchema &ref_10
91
+ type: string
92
+ apiVersions:
93
+ - !ApiVersion
94
+ version: 6.1.0
95
+ language: !Languages
96
+ default:
97
+ name: ErrorPosFile
98
+ description: ''
99
+ protocol: !Protocols {}
100
+ - !StringSchema &ref_12
101
+ type: string
102
+ apiVersions:
103
+ - !ApiVersion
104
+ version: 6.1.0
105
+ language: !Languages
106
+ default:
107
+ name: CompilerErrorType
108
+ description: ''
109
+ protocol: !Protocols {}
110
+ - !StringSchema &ref_14
111
+ type: string
112
+ apiVersions:
113
+ - !ApiVersion
114
+ version: 6.1.0
115
+ language: !Languages
116
+ default:
117
+ name: ErrorReason
118
+ description: ''
119
+ protocol: !Protocols {}
120
+ - !StringSchema &ref_15
121
+ type: string
122
+ apiVersions:
123
+ - !ApiVersion
124
+ version: 6.1.0
125
+ language: !Languages
126
+ default:
127
+ name: APIVersion
128
+ description: API compiler version
129
+ protocol: !Protocols {}
130
+ - !StringSchema &ref_16
131
+ type: string
132
+ apiVersions:
133
+ - !ApiVersion
134
+ version: 6.1.0
135
+ language: !Languages
136
+ default:
137
+ name: EncodedByteArray
138
+ description: Prefixed (cb_) Base64Check encoded byte array
139
+ protocol: !Protocols {}
140
+ - !StringSchema &ref_17
141
+ type: string
142
+ apiVersions:
143
+ - !ApiVersion
144
+ version: 6.1.0
145
+ language: !Languages
146
+ default:
147
+ name: CompilerVersion
148
+ description: Sophia compiler version
149
+ protocol: !Protocols {}
150
+ - !StringSchema &ref_18
151
+ type: string
152
+ apiVersions:
153
+ - !ApiVersion
154
+ version: 6.1.0
155
+ language: !Languages
156
+ default:
157
+ name: SophiaCallResultInputCallResult
158
+ description: Call result type (ok | revert | error)
159
+ protocol: !Protocols {}
160
+ - !StringSchema &ref_19
161
+ type: string
162
+ apiVersions:
163
+ - !ApiVersion
164
+ version: 6.1.0
165
+ language: !Languages
166
+ default:
167
+ name: SophiaCallResultInputCallValue
168
+ description: Call result value (ABI encoded data or error string)
169
+ protocol: !Protocols {}
170
+ - !StringSchema &ref_20
171
+ type: string
172
+ apiVersions:
173
+ - !ApiVersion
174
+ version: 6.1.0
175
+ language: !Languages
176
+ default:
177
+ name: SophiaCallResultInputFunction
178
+ description: Name of the called function
179
+ protocol: !Protocols {}
180
+ - !StringSchema &ref_21
181
+ type: string
182
+ apiVersions:
183
+ - !ApiVersion
184
+ version: 6.1.0
185
+ language: !Languages
186
+ default:
187
+ name: SophiaCallResultInputSource
188
+ description: (Possibly partial) Sophia contract code/interface
189
+ protocol: !Protocols {}
190
+ - !StringSchema &ref_23
191
+ type: string
192
+ apiVersions:
193
+ - !ApiVersion
194
+ version: 6.1.0
195
+ language: !Languages
196
+ default:
197
+ name: BytecodeCallResultInputCallResult
198
+ description: Call result type (ok | revert | error)
199
+ protocol: !Protocols {}
200
+ - !StringSchema &ref_24
201
+ type: string
202
+ apiVersions:
203
+ - !ApiVersion
204
+ version: 6.1.0
205
+ language: !Languages
206
+ default:
207
+ name: BytecodeCallResultInputCallValue
208
+ description: Call result value (ABI encoded data or error string)
209
+ protocol: !Protocols {}
210
+ - !StringSchema &ref_25
211
+ type: string
212
+ apiVersions:
213
+ - !ApiVersion
214
+ version: 6.1.0
215
+ language: !Languages
216
+ default:
217
+ name: BytecodeCallResultInputFunction
218
+ description: Name of the called function
219
+ protocol: !Protocols {}
220
+ - !StringSchema &ref_26
221
+ type: string
222
+ apiVersions:
223
+ - !ApiVersion
224
+ version: 6.1.0
225
+ language: !Languages
226
+ default:
227
+ name: DecodedCallresultFunction
228
+ description: ''
229
+ protocol: !Protocols {}
230
+ - !StringSchema &ref_28
231
+ type: string
232
+ apiVersions:
233
+ - !ApiVersion
234
+ version: 6.1.0
235
+ language: !Languages
236
+ default:
237
+ name: DecodedCalldataFunction
238
+ description: ''
239
+ protocol: !Protocols {}
240
+ - !StringSchema &ref_29
241
+ type: string
242
+ apiVersions:
243
+ - !ApiVersion
244
+ version: 6.1.0
245
+ language: !Languages
246
+ default:
247
+ name: DecodeCalldataSourceFunction
248
+ description: Name of the function to call
249
+ protocol: !Protocols {}
250
+ - !StringSchema &ref_30
251
+ type: string
252
+ apiVersions:
253
+ - !ApiVersion
254
+ version: 6.1.0
255
+ language: !Languages
256
+ default:
257
+ name: DecodeCalldataSource
258
+ description: (Possibly partial) Sophia contract code
259
+ protocol: !Protocols {}
260
+ - !StringSchema &ref_31
261
+ type: string
262
+ apiVersions:
263
+ - !ApiVersion
264
+ version: 6.1.0
265
+ language: !Languages
266
+ default:
267
+ name: SophiaBinaryData
268
+ description: ''
269
+ protocol: !Protocols {}
270
+ - !StringSchema &ref_32
271
+ type: string
272
+ apiVersions:
273
+ - !ApiVersion
274
+ version: 6.1.0
275
+ language: !Languages
276
+ default:
277
+ name: SophiaBinaryDataSophiaType
278
+ description: ''
279
+ protocol: !Protocols {}
280
+ - !StringSchema &ref_33
281
+ type: string
282
+ apiVersions:
283
+ - !ApiVersion
284
+ version: 6.1.0
285
+ language: !Languages
286
+ default:
287
+ name: FunctionCallInputArgumentsItem
288
+ description: ''
289
+ protocol: !Protocols {}
290
+ - !StringSchema &ref_34
291
+ type: string
292
+ apiVersions:
293
+ - !ApiVersion
294
+ version: 6.1.0
295
+ language: !Languages
296
+ default:
297
+ name: FunctionCallInputFunction
298
+ description: Name of function to call
299
+ protocol: !Protocols {}
300
+ - !StringSchema &ref_35
301
+ type: string
302
+ apiVersions:
303
+ - !ApiVersion
304
+ version: 6.1.0
305
+ language: !Languages
306
+ default:
307
+ name: FunctionCallInputSource
308
+ description: (Possibly partial) Sophia contract code
309
+ protocol: !Protocols {}
310
+ - !StringSchema &ref_36
311
+ type: string
312
+ apiVersions:
313
+ - !ApiVersion
314
+ version: 6.1.0
315
+ language: !Languages
316
+ default:
317
+ name: FateAssembler
318
+ description: Fate assembler code
319
+ protocol: !Protocols {}
320
+ - !StringSchema &ref_37
321
+ type: string
322
+ apiVersions:
323
+ - !ApiVersion
324
+ version: 6.1.0
325
+ language: !Languages
326
+ default:
327
+ name: ValidateByteCodeInputSource
328
+ description: Sophia contract source code
329
+ protocol: !Protocols {}
330
+ choices:
331
+ - !ChoiceSchema &ref_2
332
+ choices:
333
+ - !ChoiceValue
334
+ value: fate
335
+ language:
336
+ default:
337
+ name: Fate
338
+ description: ''
339
+ - !ChoiceValue
340
+ value: aevm
341
+ language:
342
+ default:
343
+ name: Aevm
344
+ description: ''
345
+ type: choice
346
+ apiVersions:
347
+ - !ApiVersion
348
+ version: 6.1.0
349
+ choiceType: *ref_0
350
+ language: !Languages
351
+ default:
352
+ name: CompileOptsBackend
353
+ description: Compiler backend; fate | aevm
354
+ protocol: !Protocols {}
355
+ - !ChoiceSchema &ref_22
356
+ choices:
357
+ - !ChoiceValue
358
+ value: fate
359
+ language:
360
+ default:
361
+ name: Fate
362
+ description: ''
363
+ - !ChoiceValue
364
+ value: aevm
365
+ language:
366
+ default:
367
+ name: Aevm
368
+ description: ''
369
+ type: choice
370
+ apiVersions:
371
+ - !ApiVersion
372
+ version: 6.1.0
373
+ choiceType: *ref_0
374
+ language: !Languages
375
+ default:
376
+ name: BytecodeCallResultInputBackend
377
+ description: Compiler backend; fate | aevm
378
+ protocol: !Protocols {}
379
+ - !ChoiceSchema &ref_27
380
+ choices:
381
+ - !ChoiceValue
382
+ value: fate
383
+ language:
384
+ default:
385
+ name: Fate
386
+ description: ''
387
+ - !ChoiceValue
388
+ value: aevm
389
+ language:
390
+ default:
391
+ name: Aevm
392
+ description: ''
393
+ type: choice
394
+ apiVersions:
395
+ - !ApiVersion
396
+ version: 6.1.0
397
+ choiceType: *ref_0
398
+ language: !Languages
399
+ default:
400
+ name: DecodeCalldataBytecodeBackend
401
+ description: Compiler backend; fate | aevm
402
+ protocol: !Protocols {}
403
+ constants:
404
+ - !ConstantSchema &ref_43
405
+ type: constant
406
+ value: !ConstantValue
407
+ value: application/json
408
+ valueType: *ref_0
409
+ language: !Languages
410
+ default:
411
+ name: ApplicationJson
412
+ description: Content Type 'application/json'
413
+ protocol: !Protocols {}
414
+ - !ConstantSchema &ref_45
415
+ type: constant
416
+ value: !ConstantValue
417
+ value: application/json
418
+ valueType: *ref_0
419
+ language: !Languages
420
+ default:
421
+ name: Accept
422
+ description: 'Accept: application/json'
423
+ protocol: !Protocols {}
424
+ any:
425
+ - !AnySchema &ref_62
426
+ type: any
427
+ language: !Languages
428
+ default:
429
+ name: any
430
+ description: Anything
431
+ protocol: !Protocols {}
432
+ anyObjects:
433
+ - !AnyObjectSchema &ref_3
434
+ type: any-object
435
+ language: !Languages
436
+ default:
437
+ name: AnyObject
438
+ description: Any object
439
+ protocol: !Protocols {}
440
+ objects:
441
+ - !ObjectSchema &ref_44
442
+ type: object
443
+ apiVersions:
444
+ - !ApiVersion
445
+ version: 6.1.0
446
+ properties:
447
+ - !Property
448
+ schema: *ref_1
449
+ required: true
450
+ serializedName: code
451
+ language: !Languages
452
+ default:
453
+ name: code
454
+ description: ''
455
+ protocol: !Protocols {}
456
+ - !Property
457
+ schema: !ObjectSchema &ref_5
458
+ type: object
459
+ apiVersions:
460
+ - !ApiVersion
461
+ version: 6.1.0
462
+ properties:
463
+ - !Property
464
+ schema: *ref_2
465
+ serializedName: backend
466
+ language: !Languages
467
+ default:
468
+ name: backend
469
+ description: Compiler backend; fate | aevm
470
+ protocol: !Protocols {}
471
+ - !Property
472
+ schema: *ref_3
473
+ serializedName: file_system
474
+ language: !Languages
475
+ default:
476
+ name: fileSystem
477
+ description: An explicit file system, mapping file names to file content
478
+ protocol: !Protocols {}
479
+ - !Property
480
+ schema: *ref_4
481
+ serializedName: src_file
482
+ language: !Languages
483
+ default:
484
+ name: srcFile
485
+ description: Name of contract source file - only used in error messages
486
+ protocol: !Protocols {}
487
+ serializationFormats:
488
+ - json
489
+ usage:
490
+ - input
491
+ language: !Languages
492
+ default:
493
+ name: CompileOpts
494
+ description: ''
495
+ namespace: ''
496
+ protocol: !Protocols {}
497
+ required: true
498
+ serializedName: options
499
+ language: !Languages
500
+ default:
501
+ name: options
502
+ description: ''
503
+ protocol: !Protocols {}
504
+ serializationFormats:
505
+ - json
506
+ usage:
507
+ - input
508
+ language: !Languages
509
+ default:
510
+ name: Contract
511
+ description: ''
512
+ namespace: ''
513
+ protocol: !Protocols {}
514
+ - *ref_5
515
+ - !ObjectSchema &ref_48
516
+ type: object
517
+ apiVersions:
518
+ - !ApiVersion
519
+ version: 6.1.0
520
+ properties:
521
+ - !Property
522
+ schema: *ref_3
523
+ required: true
524
+ serializedName: encoded_aci
525
+ language: !Languages
526
+ default:
527
+ name: encodedAci
528
+ description: Any object
529
+ protocol: !Protocols {}
530
+ - !Property
531
+ schema: !ArraySchema &ref_38
532
+ type: array
533
+ apiVersions:
534
+ - !ApiVersion
535
+ version: 6.1.0
536
+ elementType: *ref_3
537
+ language: !Languages
538
+ default:
539
+ name: ACIExternalEncodedAci
540
+ description: Array of AnyObject
541
+ protocol: !Protocols {}
542
+ required: false
543
+ serializedName: external_encoded_aci
544
+ language: !Languages
545
+ default:
546
+ name: externalEncodedAci
547
+ description: ''
548
+ protocol: !Protocols {}
549
+ - !Property
550
+ schema: *ref_6
551
+ required: true
552
+ serializedName: interface
553
+ language: !Languages
554
+ default:
555
+ name: interface
556
+ description: ''
557
+ protocol: !Protocols {}
558
+ serializationFormats:
559
+ - json
560
+ usage:
561
+ - output
562
+ language: !Languages
563
+ default:
564
+ name: ACI
565
+ description: ''
566
+ namespace: ''
567
+ protocol: !Protocols {}
568
+ - !ObjectSchema &ref_39
569
+ type: object
570
+ apiVersions:
571
+ - !ApiVersion
572
+ version: 6.1.0
573
+ properties:
574
+ - !Property
575
+ schema: *ref_7
576
+ required: false
577
+ serializedName: context
578
+ language: !Languages
579
+ default:
580
+ name: context
581
+ description: ''
582
+ protocol: !Protocols {}
583
+ - !Property
584
+ schema: *ref_8
585
+ required: true
586
+ serializedName: message
587
+ language: !Languages
588
+ default:
589
+ name: message
590
+ description: ''
591
+ protocol: !Protocols {}
592
+ - !Property
593
+ schema: !ObjectSchema &ref_13
594
+ type: object
595
+ apiVersions:
596
+ - !ApiVersion
597
+ version: 6.1.0
598
+ properties:
599
+ - !Property
600
+ schema: *ref_9
601
+ required: true
602
+ serializedName: col
603
+ language: !Languages
604
+ default:
605
+ name: col
606
+ description: ''
607
+ protocol: !Protocols {}
608
+ - !Property
609
+ schema: *ref_10
610
+ required: false
611
+ serializedName: file
612
+ language: !Languages
613
+ default:
614
+ name: file
615
+ description: ''
616
+ protocol: !Protocols {}
617
+ - !Property
618
+ schema: *ref_11
619
+ required: true
620
+ serializedName: line
621
+ language: !Languages
622
+ default:
623
+ name: line
624
+ description: ''
625
+ protocol: !Protocols {}
626
+ serializationFormats:
627
+ - json
628
+ usage:
629
+ - exception
630
+ language: !Languages
631
+ default:
632
+ name: ErrorPos
633
+ description: ''
634
+ namespace: ''
635
+ protocol: !Protocols {}
636
+ required: true
637
+ serializedName: pos
638
+ language: !Languages
639
+ default:
640
+ name: pos
641
+ description: ''
642
+ protocol: !Protocols {}
643
+ - !Property
644
+ schema: *ref_12
645
+ required: true
646
+ serializedName: type
647
+ language: !Languages
648
+ default:
649
+ name: type
650
+ description: ''
651
+ protocol: !Protocols {}
652
+ serializationFormats:
653
+ - json
654
+ usage:
655
+ - exception
656
+ language: !Languages
657
+ default:
658
+ name: CompilerError
659
+ description: ''
660
+ namespace: ''
661
+ protocol: !Protocols {}
662
+ - *ref_13
663
+ - !ObjectSchema &ref_50
664
+ type: object
665
+ apiVersions:
666
+ - !ApiVersion
667
+ version: 6.1.0
668
+ properties:
669
+ - !Property
670
+ schema: *ref_14
671
+ required: true
672
+ serializedName: reason
673
+ language: !Languages
674
+ default:
675
+ name: reason
676
+ description: ''
677
+ protocol: !Protocols {}
678
+ serializationFormats:
679
+ - json
680
+ usage:
681
+ - exception
682
+ language: !Languages
683
+ default:
684
+ name: Error
685
+ description: ''
686
+ namespace: ''
687
+ protocol: !Protocols {}
688
+ - !ObjectSchema &ref_51
689
+ type: object
690
+ apiVersions:
691
+ - !ApiVersion
692
+ version: 6.1.0
693
+ properties:
694
+ - !Property
695
+ schema: *ref_15
696
+ required: true
697
+ serializedName: api-version
698
+ language: !Languages
699
+ default:
700
+ name: apiVersion
701
+ description: API compiler version
702
+ protocol: !Protocols {}
703
+ serializationFormats:
704
+ - json
705
+ usage:
706
+ - output
707
+ language: !Languages
708
+ default:
709
+ name: APIVersion
710
+ description: ''
711
+ namespace: ''
712
+ protocol: !Protocols {}
713
+ - !ObjectSchema &ref_54
714
+ type: object
715
+ apiVersions:
716
+ - !ApiVersion
717
+ version: 6.1.0
718
+ properties:
719
+ - !Property
720
+ schema: *ref_16
721
+ required: true
722
+ serializedName: bytecode
723
+ language: !Languages
724
+ default:
725
+ name: bytecode
726
+ description: Prefixed (cb_) Base64Check encoded byte array
727
+ protocol: !Protocols {}
728
+ serializationFormats:
729
+ - json
730
+ usage:
731
+ - output
732
+ language: !Languages
733
+ default:
734
+ name: ByteCode
735
+ description: ''
736
+ namespace: ''
737
+ protocol: !Protocols {}
738
+ - !ObjectSchema &ref_55
739
+ type: object
740
+ apiVersions:
741
+ - !ApiVersion
742
+ version: 6.1.0
743
+ properties:
744
+ - !Property
745
+ schema: *ref_16
746
+ required: true
747
+ serializedName: bytecode
748
+ language: !Languages
749
+ default:
750
+ name: bytecode
751
+ description: Compiled contract
752
+ protocol: !Protocols {}
753
+ serializationFormats:
754
+ - json
755
+ usage:
756
+ - input
757
+ language: !Languages
758
+ default:
759
+ name: ByteCodeInput
760
+ description: ''
761
+ namespace: ''
762
+ protocol: !Protocols {}
763
+ - !ObjectSchema &ref_58
764
+ type: object
765
+ apiVersions:
766
+ - !ApiVersion
767
+ version: 6.1.0
768
+ properties:
769
+ - !Property
770
+ schema: *ref_17
771
+ required: true
772
+ serializedName: version
773
+ language: !Languages
774
+ default:
775
+ name: version
776
+ description: Sophia compiler version
777
+ protocol: !Protocols {}
778
+ serializationFormats:
779
+ - json
780
+ usage:
781
+ - output
782
+ language: !Languages
783
+ default:
784
+ name: CompilerVersion
785
+ description: ''
786
+ namespace: ''
787
+ protocol: !Protocols {}
788
+ - !ObjectSchema &ref_59
789
+ type: object
790
+ apiVersions:
791
+ - !ApiVersion
792
+ version: 6.1.0
793
+ properties:
794
+ - !Property
795
+ schema: *ref_18
796
+ required: true
797
+ serializedName: call-result
798
+ language: !Languages
799
+ default:
800
+ name: callResult
801
+ description: Call result type (ok | revert | error)
802
+ protocol: !Protocols {}
803
+ - !Property
804
+ schema: *ref_19
805
+ required: true
806
+ serializedName: call-value
807
+ language: !Languages
808
+ default:
809
+ name: callValue
810
+ description: Call result value (ABI encoded data or error string)
811
+ protocol: !Protocols {}
812
+ - !Property
813
+ schema: *ref_20
814
+ required: true
815
+ serializedName: function
816
+ language: !Languages
817
+ default:
818
+ name: function
819
+ description: Name of the called function
820
+ protocol: !Protocols {}
821
+ - !Property
822
+ schema: *ref_5
823
+ required: false
824
+ serializedName: options
825
+ language: !Languages
826
+ default:
827
+ name: options
828
+ description: ''
829
+ protocol: !Protocols {}
830
+ - !Property
831
+ schema: *ref_21
832
+ required: true
833
+ serializedName: source
834
+ language: !Languages
835
+ default:
836
+ name: source
837
+ description: (Possibly partial) Sophia contract code/interface
838
+ protocol: !Protocols {}
839
+ serializationFormats:
840
+ - json
841
+ usage:
842
+ - input
843
+ language: !Languages
844
+ default:
845
+ name: SophiaCallResultInput
846
+ description: ''
847
+ namespace: ''
848
+ protocol: !Protocols {}
849
+ - !ObjectSchema &ref_63
850
+ type: object
851
+ apiVersions:
852
+ - !ApiVersion
853
+ version: 6.1.0
854
+ properties:
855
+ - !Property
856
+ schema: *ref_22
857
+ required: false
858
+ serializedName: backend
859
+ language: !Languages
860
+ default:
861
+ name: backend
862
+ description: Compiler backend; fate | aevm
863
+ protocol: !Protocols {}
864
+ - !Property
865
+ schema: *ref_16
866
+ required: true
867
+ serializedName: bytecode
868
+ language: !Languages
869
+ default:
870
+ name: bytecode
871
+ description: Compiled contract
872
+ protocol: !Protocols {}
873
+ - !Property
874
+ schema: *ref_23
875
+ required: true
876
+ serializedName: call-result
877
+ language: !Languages
878
+ default:
879
+ name: callResult
880
+ description: Call result type (ok | revert | error)
881
+ protocol: !Protocols {}
882
+ - !Property
883
+ schema: *ref_24
884
+ required: true
885
+ serializedName: call-value
886
+ language: !Languages
887
+ default:
888
+ name: callValue
889
+ description: Call result value (ABI encoded data or error string)
890
+ protocol: !Protocols {}
891
+ - !Property
892
+ schema: *ref_25
893
+ required: true
894
+ serializedName: function
895
+ language: !Languages
896
+ default:
897
+ name: function
898
+ description: Name of the called function
899
+ protocol: !Protocols {}
900
+ serializationFormats:
901
+ - json
902
+ usage:
903
+ - input
904
+ language: !Languages
905
+ default:
906
+ name: BytecodeCallResultInput
907
+ description: ''
908
+ namespace: ''
909
+ protocol: !Protocols {}
910
+ - !ObjectSchema &ref_66
911
+ type: object
912
+ apiVersions:
913
+ - !ApiVersion
914
+ version: 6.1.0
915
+ properties:
916
+ - !Property
917
+ schema: *ref_26
918
+ required: true
919
+ serializedName: function
920
+ language: !Languages
921
+ default:
922
+ name: function
923
+ description: ''
924
+ protocol: !Protocols {}
925
+ - !Property
926
+ schema: *ref_3
927
+ required: true
928
+ serializedName: result
929
+ language: !Languages
930
+ default:
931
+ name: result
932
+ description: Any object
933
+ protocol: !Protocols {}
934
+ serializationFormats:
935
+ - json
936
+ usage:
937
+ - output
938
+ language: !Languages
939
+ default:
940
+ name: DecodedCallresult
941
+ description: ''
942
+ namespace: ''
943
+ protocol: !Protocols {}
944
+ - !ObjectSchema &ref_67
945
+ type: object
946
+ apiVersions:
947
+ - !ApiVersion
948
+ version: 6.1.0
949
+ properties:
950
+ - !Property
951
+ schema: *ref_27
952
+ required: false
953
+ serializedName: backend
954
+ language: !Languages
955
+ default:
956
+ name: backend
957
+ description: Compiler backend; fate | aevm
958
+ protocol: !Protocols {}
959
+ - !Property
960
+ schema: *ref_16
961
+ required: true
962
+ serializedName: bytecode
963
+ language: !Languages
964
+ default:
965
+ name: bytecode
966
+ description: Compiled contract
967
+ protocol: !Protocols {}
968
+ - !Property
969
+ schema: *ref_16
970
+ required: true
971
+ serializedName: calldata
972
+ language: !Languages
973
+ default:
974
+ name: calldata
975
+ description: Calldata to dissect
976
+ protocol: !Protocols {}
977
+ serializationFormats:
978
+ - json
979
+ usage:
980
+ - input
981
+ language: !Languages
982
+ default:
983
+ name: DecodeCalldataBytecode
984
+ description: ''
985
+ namespace: ''
986
+ protocol: !Protocols {}
987
+ - !ObjectSchema &ref_70
988
+ type: object
989
+ apiVersions:
990
+ - !ApiVersion
991
+ version: 6.1.0
992
+ properties:
993
+ - !Property
994
+ schema: !ArraySchema &ref_40
995
+ type: array
996
+ apiVersions:
997
+ - !ApiVersion
998
+ version: 6.1.0
999
+ elementType: *ref_3
1000
+ language: !Languages
1001
+ default:
1002
+ name: DecodedCalldataArguments
1003
+ description: Array of AnyObject
1004
+ protocol: !Protocols {}
1005
+ required: true
1006
+ serializedName: arguments
1007
+ language: !Languages
1008
+ default:
1009
+ name: arguments
1010
+ description: ''
1011
+ protocol: !Protocols {}
1012
+ - !Property
1013
+ schema: *ref_28
1014
+ required: true
1015
+ serializedName: function
1016
+ language: !Languages
1017
+ default:
1018
+ name: function
1019
+ description: ''
1020
+ protocol: !Protocols {}
1021
+ serializationFormats:
1022
+ - json
1023
+ usage:
1024
+ - output
1025
+ language: !Languages
1026
+ default:
1027
+ name: DecodedCalldata
1028
+ description: ''
1029
+ namespace: ''
1030
+ protocol: !Protocols {}
1031
+ - !ObjectSchema &ref_71
1032
+ type: object
1033
+ apiVersions:
1034
+ - !ApiVersion
1035
+ version: 6.1.0
1036
+ properties:
1037
+ - !Property
1038
+ schema: *ref_16
1039
+ required: true
1040
+ serializedName: calldata
1041
+ language: !Languages
1042
+ default:
1043
+ name: calldata
1044
+ description: Calldata to dissect
1045
+ protocol: !Protocols {}
1046
+ - !Property
1047
+ schema: *ref_29
1048
+ required: true
1049
+ serializedName: function
1050
+ language: !Languages
1051
+ default:
1052
+ name: function
1053
+ description: Name of the function to call
1054
+ protocol: !Protocols {}
1055
+ - !Property
1056
+ schema: *ref_5
1057
+ required: false
1058
+ serializedName: options
1059
+ language: !Languages
1060
+ default:
1061
+ name: options
1062
+ description: ''
1063
+ protocol: !Protocols {}
1064
+ - !Property
1065
+ schema: *ref_30
1066
+ required: true
1067
+ serializedName: source
1068
+ language: !Languages
1069
+ default:
1070
+ name: source
1071
+ description: (Possibly partial) Sophia contract code
1072
+ protocol: !Protocols {}
1073
+ serializationFormats:
1074
+ - json
1075
+ usage:
1076
+ - input
1077
+ language: !Languages
1078
+ default:
1079
+ name: DecodeCalldataSource
1080
+ description: ''
1081
+ namespace: ''
1082
+ protocol: !Protocols {}
1083
+ - !ObjectSchema &ref_74
1084
+ type: object
1085
+ apiVersions:
1086
+ - !ApiVersion
1087
+ version: 6.1.0
1088
+ properties:
1089
+ - !Property
1090
+ schema: *ref_31
1091
+ required: true
1092
+ serializedName: data
1093
+ language: !Languages
1094
+ default:
1095
+ name: data
1096
+ description: ''
1097
+ protocol: !Protocols {}
1098
+ - !Property
1099
+ schema: *ref_32
1100
+ required: true
1101
+ serializedName: sophia-type
1102
+ language: !Languages
1103
+ default:
1104
+ name: sophiaType
1105
+ description: ''
1106
+ protocol: !Protocols {}
1107
+ serializationFormats:
1108
+ - json
1109
+ usage:
1110
+ - input
1111
+ language: !Languages
1112
+ default:
1113
+ name: SophiaBinaryData
1114
+ description: ''
1115
+ namespace: ''
1116
+ protocol: !Protocols {}
1117
+ - !ObjectSchema &ref_77
1118
+ type: object
1119
+ apiVersions:
1120
+ - !ApiVersion
1121
+ version: 6.1.0
1122
+ properties:
1123
+ - !Property
1124
+ schema: *ref_3
1125
+ required: true
1126
+ serializedName: data
1127
+ language: !Languages
1128
+ default:
1129
+ name: data
1130
+ description: Any object
1131
+ protocol: !Protocols {}
1132
+ serializationFormats:
1133
+ - json
1134
+ usage:
1135
+ - output
1136
+ language: !Languages
1137
+ default:
1138
+ name: SophiaJsonData
1139
+ description: ''
1140
+ namespace: ''
1141
+ protocol: !Protocols {}
1142
+ - !ObjectSchema &ref_78
1143
+ type: object
1144
+ apiVersions:
1145
+ - !ApiVersion
1146
+ version: 6.1.0
1147
+ properties:
1148
+ - !Property
1149
+ schema: !ArraySchema &ref_41
1150
+ type: array
1151
+ apiVersions:
1152
+ - !ApiVersion
1153
+ version: 6.1.0
1154
+ elementType: *ref_33
1155
+ language: !Languages
1156
+ default:
1157
+ name: FunctionCallInputArguments
1158
+ description: Array of function call arguments
1159
+ protocol: !Protocols {}
1160
+ required: true
1161
+ serializedName: arguments
1162
+ language: !Languages
1163
+ default:
1164
+ name: arguments
1165
+ description: Array of function call arguments
1166
+ protocol: !Protocols {}
1167
+ - !Property
1168
+ schema: *ref_34
1169
+ required: true
1170
+ serializedName: function
1171
+ language: !Languages
1172
+ default:
1173
+ name: function
1174
+ description: Name of function to call
1175
+ protocol: !Protocols {}
1176
+ - !Property
1177
+ schema: *ref_5
1178
+ required: false
1179
+ serializedName: options
1180
+ language: !Languages
1181
+ default:
1182
+ name: options
1183
+ description: ''
1184
+ protocol: !Protocols {}
1185
+ - !Property
1186
+ schema: *ref_35
1187
+ required: true
1188
+ serializedName: source
1189
+ language: !Languages
1190
+ default:
1191
+ name: source
1192
+ description: (Possibly partial) Sophia contract code
1193
+ protocol: !Protocols {}
1194
+ serializationFormats:
1195
+ - json
1196
+ usage:
1197
+ - input
1198
+ language: !Languages
1199
+ default:
1200
+ name: FunctionCallInput
1201
+ description: ''
1202
+ namespace: ''
1203
+ protocol: !Protocols {}
1204
+ - !ObjectSchema &ref_81
1205
+ type: object
1206
+ apiVersions:
1207
+ - !ApiVersion
1208
+ version: 6.1.0
1209
+ properties:
1210
+ - !Property
1211
+ schema: *ref_16
1212
+ required: true
1213
+ serializedName: calldata
1214
+ language: !Languages
1215
+ default:
1216
+ name: calldata
1217
+ description: Prefixed (cb_) Base64Check encoded byte array
1218
+ protocol: !Protocols {}
1219
+ serializationFormats:
1220
+ - json
1221
+ usage:
1222
+ - output
1223
+ language: !Languages
1224
+ default:
1225
+ name: Calldata
1226
+ description: ''
1227
+ namespace: ''
1228
+ protocol: !Protocols {}
1229
+ - !ObjectSchema &ref_84
1230
+ type: object
1231
+ apiVersions:
1232
+ - !ApiVersion
1233
+ version: 6.1.0
1234
+ properties:
1235
+ - !Property
1236
+ schema: *ref_36
1237
+ required: true
1238
+ serializedName: fate-assembler
1239
+ language: !Languages
1240
+ default:
1241
+ name: fateAssembler
1242
+ description: Fate assembler code
1243
+ protocol: !Protocols {}
1244
+ serializationFormats:
1245
+ - json
1246
+ usage:
1247
+ - output
1248
+ language: !Languages
1249
+ default:
1250
+ name: FateAssembler
1251
+ description: ''
1252
+ namespace: ''
1253
+ protocol: !Protocols {}
1254
+ - !ObjectSchema &ref_85
1255
+ type: object
1256
+ apiVersions:
1257
+ - !ApiVersion
1258
+ version: 6.1.0
1259
+ properties:
1260
+ - !Property
1261
+ schema: *ref_16
1262
+ required: true
1263
+ serializedName: bytecode
1264
+ language: !Languages
1265
+ default:
1266
+ name: bytecode
1267
+ description: Compiled contract
1268
+ protocol: !Protocols {}
1269
+ - !Property
1270
+ schema: *ref_5
1271
+ required: true
1272
+ serializedName: options
1273
+ language: !Languages
1274
+ default:
1275
+ name: options
1276
+ description: ''
1277
+ protocol: !Protocols {}
1278
+ - !Property
1279
+ schema: *ref_37
1280
+ required: true
1281
+ serializedName: source
1282
+ language: !Languages
1283
+ default:
1284
+ name: source
1285
+ description: Sophia contract source code
1286
+ protocol: !Protocols {}
1287
+ serializationFormats:
1288
+ - json
1289
+ usage:
1290
+ - input
1291
+ language: !Languages
1292
+ default:
1293
+ name: ValidateByteCodeInput
1294
+ description: ''
1295
+ namespace: ''
1296
+ protocol: !Protocols {}
1297
+ arrays:
1298
+ - *ref_38
1299
+ - !ArraySchema &ref_49
1300
+ type: array
1301
+ apiVersions:
1302
+ - !ApiVersion
1303
+ version: 6.1.0
1304
+ elementType: *ref_39
1305
+ language: !Languages
1306
+ default:
1307
+ name: CompilerErrors
1308
+ description: Array of CompilerError
1309
+ protocol: !Protocols {}
1310
+ - *ref_40
1311
+ - *ref_41
1312
+ globalParameters:
1313
+ - !Parameter &ref_42
1314
+ schema: *ref_0
1315
+ clientDefaultValue: ''
1316
+ implementation: Client
1317
+ origin: modelerfour:synthesized/host
1318
+ required: true
1319
+ extensions:
1320
+ x-ms-skip-url-encoding: true
1321
+ language: !Languages
1322
+ default:
1323
+ name: $host
1324
+ description: server parameter
1325
+ serializedName: $host
1326
+ protocol: !Protocols
1327
+ http: !HttpParameter
1328
+ in: uri
1329
+ operationGroups:
1330
+ - !OperationGroup
1331
+ $key: ''
1332
+ operations:
1333
+ - !Operation
1334
+ operationId: GenerateACI
1335
+ apiVersions:
1336
+ - !ApiVersion
1337
+ version: 6.1.0
1338
+ parameters:
1339
+ - *ref_42
1340
+ requestMediaTypes:
1341
+ application/json: !Request &ref_47
1342
+ parameters:
1343
+ - !Parameter
1344
+ schema: *ref_43
1345
+ implementation: Method
1346
+ origin: modelerfour:synthesized/content-type
1347
+ required: true
1348
+ language: !Languages
1349
+ default:
1350
+ name: contentType
1351
+ description: Body Parameter content-type
1352
+ serializedName: Content-Type
1353
+ protocol: !Protocols
1354
+ http: !HttpParameter
1355
+ in: header
1356
+ - !Parameter &ref_46
1357
+ schema: *ref_44
1358
+ implementation: Method
1359
+ required: true
1360
+ language: !Languages
1361
+ default:
1362
+ name: body
1363
+ description: contract code
1364
+ protocol: !Protocols
1365
+ http: !HttpParameter
1366
+ in: body
1367
+ style: json
1368
+ - !Parameter
1369
+ schema: *ref_45
1370
+ implementation: Method
1371
+ origin: modelerfour:synthesized/accept
1372
+ required: true
1373
+ language: !Languages
1374
+ default:
1375
+ name: accept
1376
+ description: Accept header
1377
+ serializedName: Accept
1378
+ protocol: !Protocols
1379
+ http: !HttpParameter
1380
+ in: header
1381
+ signatureParameters:
1382
+ - *ref_46
1383
+ language: !Languages
1384
+ default:
1385
+ name: ''
1386
+ description: ''
1387
+ protocol: !Protocols
1388
+ http: !HttpWithBodyRequest
1389
+ path: /aci
1390
+ method: post
1391
+ knownMediaType: json
1392
+ mediaTypes:
1393
+ - application/json
1394
+ uri: '{$host}'
1395
+ requests:
1396
+ - *ref_47
1397
+ signatureParameters: []
1398
+ responses:
1399
+ - !SchemaResponse
1400
+ schema: *ref_48
1401
+ language: !Languages
1402
+ default:
1403
+ name: ''
1404
+ description: ACI for contract
1405
+ protocol: !Protocols
1406
+ http: !HttpResponse
1407
+ knownMediaType: json
1408
+ mediaTypes:
1409
+ - application/json
1410
+ statusCodes:
1411
+ - '200'
1412
+ exceptions:
1413
+ - !SchemaResponse
1414
+ schema: *ref_49
1415
+ extensions:
1416
+ x-ms-error-response: true
1417
+ language: !Languages
1418
+ default:
1419
+ name: ''
1420
+ description: Compiler errors
1421
+ protocol: !Protocols
1422
+ http: !HttpResponse
1423
+ knownMediaType: json
1424
+ mediaTypes:
1425
+ - application/json
1426
+ statusCodes:
1427
+ - '400'
1428
+ language: !Languages
1429
+ default:
1430
+ name: GenerateACI
1431
+ description: Generate an Aeternity Contract Interface (ACI) for contract
1432
+ protocol: !Protocols {}
1433
+ - !Operation
1434
+ operationId: Api
1435
+ apiVersions:
1436
+ - !ApiVersion
1437
+ version: 6.1.0
1438
+ parameters:
1439
+ - *ref_42
1440
+ requests:
1441
+ - !Request
1442
+ parameters:
1443
+ - !Parameter
1444
+ schema: *ref_45
1445
+ implementation: Method
1446
+ origin: modelerfour:synthesized/accept
1447
+ required: true
1448
+ language: !Languages
1449
+ default:
1450
+ name: accept
1451
+ description: Accept header
1452
+ serializedName: Accept
1453
+ protocol: !Protocols
1454
+ http: !HttpParameter
1455
+ in: header
1456
+ signatureParameters: []
1457
+ language: !Languages
1458
+ default:
1459
+ name: ''
1460
+ description: ''
1461
+ protocol: !Protocols
1462
+ http: !HttpRequest
1463
+ path: /api
1464
+ method: get
1465
+ uri: '{$host}'
1466
+ signatureParameters: []
1467
+ responses:
1468
+ - !SchemaResponse
1469
+ schema: *ref_3
1470
+ language: !Languages
1471
+ default:
1472
+ name: ''
1473
+ description: API description
1474
+ protocol: !Protocols
1475
+ http: !HttpResponse
1476
+ knownMediaType: json
1477
+ mediaTypes:
1478
+ - application/json
1479
+ statusCodes:
1480
+ - '200'
1481
+ exceptions:
1482
+ - !SchemaResponse
1483
+ schema: *ref_50
1484
+ extensions:
1485
+ x-ms-error-response: true
1486
+ language: !Languages
1487
+ default:
1488
+ name: ''
1489
+ description: Error
1490
+ protocol: !Protocols
1491
+ http: !HttpResponse
1492
+ knownMediaType: json
1493
+ mediaTypes:
1494
+ - application/json
1495
+ statusCodes:
1496
+ - '400'
1497
+ language: !Languages
1498
+ default:
1499
+ name: Api
1500
+ description: Get the Api description
1501
+ protocol: !Protocols {}
1502
+ - !Operation
1503
+ operationId: APIVersion
1504
+ apiVersions:
1505
+ - !ApiVersion
1506
+ version: 6.1.0
1507
+ parameters:
1508
+ - *ref_42
1509
+ requests:
1510
+ - !Request
1511
+ parameters:
1512
+ - !Parameter
1513
+ schema: *ref_45
1514
+ implementation: Method
1515
+ origin: modelerfour:synthesized/accept
1516
+ required: true
1517
+ language: !Languages
1518
+ default:
1519
+ name: accept
1520
+ description: Accept header
1521
+ serializedName: Accept
1522
+ protocol: !Protocols
1523
+ http: !HttpParameter
1524
+ in: header
1525
+ signatureParameters: []
1526
+ language: !Languages
1527
+ default:
1528
+ name: ''
1529
+ description: ''
1530
+ protocol: !Protocols
1531
+ http: !HttpRequest
1532
+ path: /api-version
1533
+ method: get
1534
+ uri: '{$host}'
1535
+ signatureParameters: []
1536
+ responses:
1537
+ - !SchemaResponse
1538
+ schema: *ref_51
1539
+ language: !Languages
1540
+ default:
1541
+ name: ''
1542
+ description: Sophia compiler version
1543
+ protocol: !Protocols
1544
+ http: !HttpResponse
1545
+ knownMediaType: json
1546
+ mediaTypes:
1547
+ - application/json
1548
+ statusCodes:
1549
+ - '200'
1550
+ exceptions:
1551
+ - !SchemaResponse
1552
+ schema: *ref_50
1553
+ extensions:
1554
+ x-ms-error-response: true
1555
+ language: !Languages
1556
+ default:
1557
+ name: ''
1558
+ description: Error
1559
+ protocol: !Protocols
1560
+ http: !HttpResponse
1561
+ knownMediaType: json
1562
+ mediaTypes:
1563
+ - application/json
1564
+ statusCodes:
1565
+ - '500'
1566
+ language: !Languages
1567
+ default:
1568
+ name: APIVersion
1569
+ description: Get the version of the API
1570
+ protocol: !Protocols {}
1571
+ - !Operation
1572
+ operationId: CompileContract
1573
+ apiVersions:
1574
+ - !ApiVersion
1575
+ version: 6.1.0
1576
+ parameters:
1577
+ - *ref_42
1578
+ requestMediaTypes:
1579
+ application/json: !Request &ref_53
1580
+ parameters:
1581
+ - !Parameter
1582
+ schema: *ref_43
1583
+ implementation: Method
1584
+ origin: modelerfour:synthesized/content-type
1585
+ required: true
1586
+ language: !Languages
1587
+ default:
1588
+ name: contentType
1589
+ description: Body Parameter content-type
1590
+ serializedName: Content-Type
1591
+ protocol: !Protocols
1592
+ http: !HttpParameter
1593
+ in: header
1594
+ - !Parameter &ref_52
1595
+ schema: *ref_44
1596
+ implementation: Method
1597
+ required: true
1598
+ language: !Languages
1599
+ default:
1600
+ name: body
1601
+ description: contract code
1602
+ protocol: !Protocols
1603
+ http: !HttpParameter
1604
+ in: body
1605
+ style: json
1606
+ - !Parameter
1607
+ schema: *ref_45
1608
+ implementation: Method
1609
+ origin: modelerfour:synthesized/accept
1610
+ required: true
1611
+ language: !Languages
1612
+ default:
1613
+ name: accept
1614
+ description: Accept header
1615
+ serializedName: Accept
1616
+ protocol: !Protocols
1617
+ http: !HttpParameter
1618
+ in: header
1619
+ signatureParameters:
1620
+ - *ref_52
1621
+ language: !Languages
1622
+ default:
1623
+ name: ''
1624
+ description: ''
1625
+ protocol: !Protocols
1626
+ http: !HttpWithBodyRequest
1627
+ path: /compile
1628
+ method: post
1629
+ knownMediaType: json
1630
+ mediaTypes:
1631
+ - application/json
1632
+ uri: '{$host}'
1633
+ requests:
1634
+ - *ref_53
1635
+ signatureParameters: []
1636
+ responses:
1637
+ - !SchemaResponse
1638
+ schema: *ref_54
1639
+ language: !Languages
1640
+ default:
1641
+ name: ''
1642
+ description: Byte code response
1643
+ protocol: !Protocols
1644
+ http: !HttpResponse
1645
+ knownMediaType: json
1646
+ mediaTypes:
1647
+ - application/json
1648
+ statusCodes:
1649
+ - '200'
1650
+ exceptions:
1651
+ - !SchemaResponse
1652
+ schema: *ref_49
1653
+ extensions:
1654
+ x-ms-error-response: true
1655
+ language: !Languages
1656
+ default:
1657
+ name: ''
1658
+ description: Invalid contract
1659
+ protocol: !Protocols
1660
+ http: !HttpResponse
1661
+ knownMediaType: json
1662
+ mediaTypes:
1663
+ - application/json
1664
+ statusCodes:
1665
+ - '400'
1666
+ language: !Languages
1667
+ default:
1668
+ name: CompileContract
1669
+ description: Compile a sophia contract from source and return byte code
1670
+ protocol: !Protocols {}
1671
+ - !Operation
1672
+ operationId: GetCompilerVersion
1673
+ apiVersions:
1674
+ - !ApiVersion
1675
+ version: 6.1.0
1676
+ parameters:
1677
+ - *ref_42
1678
+ requestMediaTypes:
1679
+ application/json: !Request &ref_57
1680
+ parameters:
1681
+ - !Parameter
1682
+ schema: *ref_43
1683
+ implementation: Method
1684
+ origin: modelerfour:synthesized/content-type
1685
+ required: true
1686
+ language: !Languages
1687
+ default:
1688
+ name: contentType
1689
+ description: Body Parameter content-type
1690
+ serializedName: Content-Type
1691
+ protocol: !Protocols
1692
+ http: !HttpParameter
1693
+ in: header
1694
+ - !Parameter &ref_56
1695
+ schema: *ref_55
1696
+ implementation: Method
1697
+ required: true
1698
+ language: !Languages
1699
+ default:
1700
+ name: body
1701
+ description: contract byte array
1702
+ protocol: !Protocols
1703
+ http: !HttpParameter
1704
+ in: body
1705
+ style: json
1706
+ - !Parameter
1707
+ schema: *ref_45
1708
+ implementation: Method
1709
+ origin: modelerfour:synthesized/accept
1710
+ required: true
1711
+ language: !Languages
1712
+ default:
1713
+ name: accept
1714
+ description: Accept header
1715
+ serializedName: Accept
1716
+ protocol: !Protocols
1717
+ http: !HttpParameter
1718
+ in: header
1719
+ signatureParameters:
1720
+ - *ref_56
1721
+ language: !Languages
1722
+ default:
1723
+ name: ''
1724
+ description: ''
1725
+ protocol: !Protocols
1726
+ http: !HttpWithBodyRequest
1727
+ path: /compiler-version
1728
+ method: post
1729
+ knownMediaType: json
1730
+ mediaTypes:
1731
+ - application/json
1732
+ uri: '{$host}'
1733
+ requests:
1734
+ - *ref_57
1735
+ signatureParameters: []
1736
+ responses:
1737
+ - !SchemaResponse
1738
+ schema: *ref_58
1739
+ language: !Languages
1740
+ default:
1741
+ name: ''
1742
+ description: The compiler version
1743
+ protocol: !Protocols
1744
+ http: !HttpResponse
1745
+ knownMediaType: json
1746
+ mediaTypes:
1747
+ - application/json
1748
+ statusCodes:
1749
+ - '200'
1750
+ exceptions:
1751
+ - !SchemaResponse
1752
+ schema: *ref_50
1753
+ extensions:
1754
+ x-ms-error-response: true
1755
+ language: !Languages
1756
+ default:
1757
+ name: ''
1758
+ description: Invalid data
1759
+ protocol: !Protocols
1760
+ http: !HttpResponse
1761
+ knownMediaType: json
1762
+ mediaTypes:
1763
+ - application/json
1764
+ statusCodes:
1765
+ - '400'
1766
+ language: !Languages
1767
+ default:
1768
+ name: GetCompilerVersion
1769
+ description: Extract compiler version from bytecode
1770
+ protocol: !Protocols {}
1771
+ - !Operation
1772
+ operationId: DecodeCallResult
1773
+ apiVersions:
1774
+ - !ApiVersion
1775
+ version: 6.1.0
1776
+ parameters:
1777
+ - *ref_42
1778
+ requestMediaTypes:
1779
+ application/json: !Request &ref_61
1780
+ parameters:
1781
+ - !Parameter
1782
+ schema: *ref_43
1783
+ implementation: Method
1784
+ origin: modelerfour:synthesized/content-type
1785
+ required: true
1786
+ language: !Languages
1787
+ default:
1788
+ name: contentType
1789
+ description: Body Parameter content-type
1790
+ serializedName: Content-Type
1791
+ protocol: !Protocols
1792
+ http: !HttpParameter
1793
+ in: header
1794
+ - !Parameter &ref_60
1795
+ schema: *ref_59
1796
+ implementation: Method
1797
+ required: true
1798
+ language: !Languages
1799
+ default:
1800
+ name: body
1801
+ description: Binary data in Sophia ABI format
1802
+ protocol: !Protocols
1803
+ http: !HttpParameter
1804
+ in: body
1805
+ style: json
1806
+ - !Parameter
1807
+ schema: *ref_45
1808
+ implementation: Method
1809
+ origin: modelerfour:synthesized/accept
1810
+ required: true
1811
+ language: !Languages
1812
+ default:
1813
+ name: accept
1814
+ description: Accept header
1815
+ serializedName: Accept
1816
+ protocol: !Protocols
1817
+ http: !HttpParameter
1818
+ in: header
1819
+ signatureParameters:
1820
+ - *ref_60
1821
+ language: !Languages
1822
+ default:
1823
+ name: ''
1824
+ description: ''
1825
+ protocol: !Protocols
1826
+ http: !HttpWithBodyRequest
1827
+ path: /decode-call-result
1828
+ method: post
1829
+ knownMediaType: json
1830
+ mediaTypes:
1831
+ - application/json
1832
+ uri: '{$host}'
1833
+ requests:
1834
+ - *ref_61
1835
+ signatureParameters: []
1836
+ responses:
1837
+ - !SchemaResponse
1838
+ schema: *ref_62
1839
+ language: !Languages
1840
+ default:
1841
+ name: ''
1842
+ description: Json encoded data
1843
+ protocol: !Protocols
1844
+ http: !HttpResponse
1845
+ knownMediaType: json
1846
+ mediaTypes:
1847
+ - application/json
1848
+ statusCodes:
1849
+ - '200'
1850
+ exceptions:
1851
+ - !SchemaResponse
1852
+ schema: *ref_49
1853
+ extensions:
1854
+ x-ms-error-response: true
1855
+ language: !Languages
1856
+ default:
1857
+ name: ''
1858
+ description: Invalid data
1859
+ protocol: !Protocols
1860
+ http: !HttpResponse
1861
+ knownMediaType: json
1862
+ mediaTypes:
1863
+ - application/json
1864
+ statusCodes:
1865
+ - '400'
1866
+ language: !Languages
1867
+ default:
1868
+ name: DecodeCallResult
1869
+ description: Decode the result of contract call
1870
+ protocol: !Protocols {}
1871
+ - !Operation
1872
+ operationId: DecodeCallResultBytecode
1873
+ apiVersions:
1874
+ - !ApiVersion
1875
+ version: 6.1.0
1876
+ parameters:
1877
+ - *ref_42
1878
+ requestMediaTypes:
1879
+ application/json: !Request &ref_65
1880
+ parameters:
1881
+ - !Parameter
1882
+ schema: *ref_43
1883
+ implementation: Method
1884
+ origin: modelerfour:synthesized/content-type
1885
+ required: true
1886
+ language: !Languages
1887
+ default:
1888
+ name: contentType
1889
+ description: Body Parameter content-type
1890
+ serializedName: Content-Type
1891
+ protocol: !Protocols
1892
+ http: !HttpParameter
1893
+ in: header
1894
+ - !Parameter &ref_64
1895
+ schema: *ref_63
1896
+ implementation: Method
1897
+ required: true
1898
+ language: !Languages
1899
+ default:
1900
+ name: body
1901
+ description: Call result + compiled contract
1902
+ protocol: !Protocols
1903
+ http: !HttpParameter
1904
+ in: body
1905
+ style: json
1906
+ - !Parameter
1907
+ schema: *ref_45
1908
+ implementation: Method
1909
+ origin: modelerfour:synthesized/accept
1910
+ required: true
1911
+ language: !Languages
1912
+ default:
1913
+ name: accept
1914
+ description: Accept header
1915
+ serializedName: Accept
1916
+ protocol: !Protocols
1917
+ http: !HttpParameter
1918
+ in: header
1919
+ signatureParameters:
1920
+ - *ref_64
1921
+ language: !Languages
1922
+ default:
1923
+ name: ''
1924
+ description: ''
1925
+ protocol: !Protocols
1926
+ http: !HttpWithBodyRequest
1927
+ path: /decode-call-result/bytecode
1928
+ method: post
1929
+ knownMediaType: json
1930
+ mediaTypes:
1931
+ - application/json
1932
+ uri: '{$host}'
1933
+ requests:
1934
+ - *ref_65
1935
+ signatureParameters: []
1936
+ responses:
1937
+ - !SchemaResponse
1938
+ schema: *ref_66
1939
+ language: !Languages
1940
+ default:
1941
+ name: ''
1942
+ description: Json encoded data
1943
+ protocol: !Protocols
1944
+ http: !HttpResponse
1945
+ knownMediaType: json
1946
+ mediaTypes:
1947
+ - application/json
1948
+ statusCodes:
1949
+ - '200'
1950
+ exceptions:
1951
+ - !SchemaResponse
1952
+ schema: *ref_49
1953
+ extensions:
1954
+ x-ms-error-response: true
1955
+ language: !Languages
1956
+ default:
1957
+ name: ''
1958
+ description: Invalid data
1959
+ protocol: !Protocols
1960
+ http: !HttpResponse
1961
+ knownMediaType: json
1962
+ mediaTypes:
1963
+ - application/json
1964
+ statusCodes:
1965
+ - '400'
1966
+ language: !Languages
1967
+ default:
1968
+ name: DecodeCallResultBytecode
1969
+ description: Decode the result of contract call from Bytecode
1970
+ protocol: !Protocols {}
1971
+ - !Operation
1972
+ operationId: DecodeCalldataBytecode
1973
+ apiVersions:
1974
+ - !ApiVersion
1975
+ version: 6.1.0
1976
+ parameters:
1977
+ - *ref_42
1978
+ requestMediaTypes:
1979
+ application/json: !Request &ref_69
1980
+ parameters:
1981
+ - !Parameter
1982
+ schema: *ref_43
1983
+ implementation: Method
1984
+ origin: modelerfour:synthesized/content-type
1985
+ required: true
1986
+ language: !Languages
1987
+ default:
1988
+ name: contentType
1989
+ description: Body Parameter content-type
1990
+ serializedName: Content-Type
1991
+ protocol: !Protocols
1992
+ http: !HttpParameter
1993
+ in: header
1994
+ - !Parameter &ref_68
1995
+ schema: *ref_67
1996
+ implementation: Method
1997
+ required: true
1998
+ language: !Languages
1999
+ default:
2000
+ name: body
2001
+ description: Calldata + compiled contract
2002
+ protocol: !Protocols
2003
+ http: !HttpParameter
2004
+ in: body
2005
+ style: json
2006
+ - !Parameter
2007
+ schema: *ref_45
2008
+ implementation: Method
2009
+ origin: modelerfour:synthesized/accept
2010
+ required: true
2011
+ language: !Languages
2012
+ default:
2013
+ name: accept
2014
+ description: Accept header
2015
+ serializedName: Accept
2016
+ protocol: !Protocols
2017
+ http: !HttpParameter
2018
+ in: header
2019
+ signatureParameters:
2020
+ - *ref_68
2021
+ language: !Languages
2022
+ default:
2023
+ name: ''
2024
+ description: ''
2025
+ protocol: !Protocols
2026
+ http: !HttpWithBodyRequest
2027
+ path: /decode-calldata/bytecode
2028
+ method: post
2029
+ knownMediaType: json
2030
+ mediaTypes:
2031
+ - application/json
2032
+ uri: '{$host}'
2033
+ requests:
2034
+ - *ref_69
2035
+ signatureParameters: []
2036
+ responses:
2037
+ - !SchemaResponse
2038
+ schema: *ref_70
2039
+ language: !Languages
2040
+ default:
2041
+ name: ''
2042
+ description: Binary encoded calldata
2043
+ protocol: !Protocols
2044
+ http: !HttpResponse
2045
+ knownMediaType: json
2046
+ mediaTypes:
2047
+ - application/json
2048
+ statusCodes:
2049
+ - '200'
2050
+ exceptions:
2051
+ - !SchemaResponse
2052
+ schema: *ref_50
2053
+ extensions:
2054
+ x-ms-error-response: true
2055
+ language: !Languages
2056
+ default:
2057
+ name: ''
2058
+ description: Invalid contract
2059
+ protocol: !Protocols
2060
+ http: !HttpResponse
2061
+ knownMediaType: json
2062
+ mediaTypes:
2063
+ - application/json
2064
+ statusCodes:
2065
+ - '400'
2066
+ language: !Languages
2067
+ default:
2068
+ name: DecodeCalldataBytecode
2069
+ description: Identify function name and arguments in Calldata for a compiled contract
2070
+ protocol: !Protocols {}
2071
+ - !Operation
2072
+ operationId: DecodeCalldataSource
2073
+ apiVersions:
2074
+ - !ApiVersion
2075
+ version: 6.1.0
2076
+ parameters:
2077
+ - *ref_42
2078
+ requestMediaTypes:
2079
+ application/json: !Request &ref_73
2080
+ parameters:
2081
+ - !Parameter
2082
+ schema: *ref_43
2083
+ implementation: Method
2084
+ origin: modelerfour:synthesized/content-type
2085
+ required: true
2086
+ language: !Languages
2087
+ default:
2088
+ name: contentType
2089
+ description: Body Parameter content-type
2090
+ serializedName: Content-Type
2091
+ protocol: !Protocols
2092
+ http: !HttpParameter
2093
+ in: header
2094
+ - !Parameter &ref_72
2095
+ schema: *ref_71
2096
+ implementation: Method
2097
+ required: true
2098
+ language: !Languages
2099
+ default:
2100
+ name: body
2101
+ description: Calldata + contract (stub) code
2102
+ protocol: !Protocols
2103
+ http: !HttpParameter
2104
+ in: body
2105
+ style: json
2106
+ - !Parameter
2107
+ schema: *ref_45
2108
+ implementation: Method
2109
+ origin: modelerfour:synthesized/accept
2110
+ required: true
2111
+ language: !Languages
2112
+ default:
2113
+ name: accept
2114
+ description: Accept header
2115
+ serializedName: Accept
2116
+ protocol: !Protocols
2117
+ http: !HttpParameter
2118
+ in: header
2119
+ signatureParameters:
2120
+ - *ref_72
2121
+ language: !Languages
2122
+ default:
2123
+ name: ''
2124
+ description: ''
2125
+ protocol: !Protocols
2126
+ http: !HttpWithBodyRequest
2127
+ path: /decode-calldata/source
2128
+ method: post
2129
+ knownMediaType: json
2130
+ mediaTypes:
2131
+ - application/json
2132
+ uri: '{$host}'
2133
+ requests:
2134
+ - *ref_73
2135
+ signatureParameters: []
2136
+ responses:
2137
+ - !SchemaResponse
2138
+ schema: *ref_70
2139
+ language: !Languages
2140
+ default:
2141
+ name: ''
2142
+ description: Binary encoded calldata
2143
+ protocol: !Protocols
2144
+ http: !HttpResponse
2145
+ knownMediaType: json
2146
+ mediaTypes:
2147
+ - application/json
2148
+ statusCodes:
2149
+ - '200'
2150
+ exceptions:
2151
+ - !SchemaResponse
2152
+ schema: *ref_49
2153
+ extensions:
2154
+ x-ms-error-response: true
2155
+ language: !Languages
2156
+ default:
2157
+ name: ''
2158
+ description: Invalid data
2159
+ protocol: !Protocols
2160
+ http: !HttpResponse
2161
+ knownMediaType: json
2162
+ mediaTypes:
2163
+ - application/json
2164
+ statusCodes:
2165
+ - '400'
2166
+ language: !Languages
2167
+ default:
2168
+ name: DecodeCalldataSource
2169
+ description: Identify function name and arguments in Calldata for a (partial) contract
2170
+ protocol: !Protocols {}
2171
+ - !Operation
2172
+ operationId: DecodeData
2173
+ apiVersions:
2174
+ - !ApiVersion
2175
+ version: 6.1.0
2176
+ parameters:
2177
+ - *ref_42
2178
+ requestMediaTypes:
2179
+ application/json: !Request &ref_76
2180
+ parameters:
2181
+ - !Parameter
2182
+ schema: *ref_43
2183
+ implementation: Method
2184
+ origin: modelerfour:synthesized/content-type
2185
+ required: true
2186
+ language: !Languages
2187
+ default:
2188
+ name: contentType
2189
+ description: Body Parameter content-type
2190
+ serializedName: Content-Type
2191
+ protocol: !Protocols
2192
+ http: !HttpParameter
2193
+ in: header
2194
+ - !Parameter &ref_75
2195
+ schema: *ref_74
2196
+ implementation: Method
2197
+ required: true
2198
+ language: !Languages
2199
+ default:
2200
+ name: body
2201
+ description: Binary data in Sophia ABI format
2202
+ protocol: !Protocols
2203
+ http: !HttpParameter
2204
+ in: body
2205
+ style: json
2206
+ - !Parameter
2207
+ schema: *ref_45
2208
+ implementation: Method
2209
+ origin: modelerfour:synthesized/accept
2210
+ required: true
2211
+ language: !Languages
2212
+ default:
2213
+ name: accept
2214
+ description: Accept header
2215
+ serializedName: Accept
2216
+ protocol: !Protocols
2217
+ http: !HttpParameter
2218
+ in: header
2219
+ signatureParameters:
2220
+ - *ref_75
2221
+ language: !Languages
2222
+ default:
2223
+ name: ''
2224
+ description: ''
2225
+ protocol: !Protocols
2226
+ http: !HttpWithBodyRequest
2227
+ path: /decode-data
2228
+ method: post
2229
+ knownMediaType: json
2230
+ mediaTypes:
2231
+ - application/json
2232
+ uri: '{$host}'
2233
+ requests:
2234
+ - *ref_76
2235
+ signatureParameters: []
2236
+ responses:
2237
+ - !SchemaResponse
2238
+ schema: *ref_77
2239
+ language: !Languages
2240
+ default:
2241
+ name: ''
2242
+ description: Json encoded data
2243
+ protocol: !Protocols
2244
+ http: !HttpResponse
2245
+ knownMediaType: json
2246
+ mediaTypes:
2247
+ - application/json
2248
+ statusCodes:
2249
+ - '200'
2250
+ exceptions:
2251
+ - !SchemaResponse
2252
+ schema: *ref_49
2253
+ extensions:
2254
+ x-ms-error-response: true
2255
+ language: !Languages
2256
+ default:
2257
+ name: ''
2258
+ description: Invalid data
2259
+ protocol: !Protocols
2260
+ http: !HttpResponse
2261
+ knownMediaType: json
2262
+ mediaTypes:
2263
+ - application/json
2264
+ statusCodes:
2265
+ - '400'
2266
+ language: !Languages
2267
+ default:
2268
+ name: DecodeData
2269
+ description: Decode data as retuned by a contract call. - Legacy decoding
2270
+ protocol: !Protocols {}
2271
+ - !Operation
2272
+ operationId: EncodeCalldata
2273
+ apiVersions:
2274
+ - !ApiVersion
2275
+ version: 6.1.0
2276
+ parameters:
2277
+ - *ref_42
2278
+ requestMediaTypes:
2279
+ application/json: !Request &ref_80
2280
+ parameters:
2281
+ - !Parameter
2282
+ schema: *ref_43
2283
+ implementation: Method
2284
+ origin: modelerfour:synthesized/content-type
2285
+ required: true
2286
+ language: !Languages
2287
+ default:
2288
+ name: contentType
2289
+ description: Body Parameter content-type
2290
+ serializedName: Content-Type
2291
+ protocol: !Protocols
2292
+ http: !HttpParameter
2293
+ in: header
2294
+ - !Parameter &ref_79
2295
+ schema: *ref_78
2296
+ implementation: Method
2297
+ required: true
2298
+ language: !Languages
2299
+ default:
2300
+ name: body
2301
+ description: Sophia function call - contract code + function name + arguments
2302
+ protocol: !Protocols
2303
+ http: !HttpParameter
2304
+ in: body
2305
+ style: json
2306
+ - !Parameter
2307
+ schema: *ref_45
2308
+ implementation: Method
2309
+ origin: modelerfour:synthesized/accept
2310
+ required: true
2311
+ language: !Languages
2312
+ default:
2313
+ name: accept
2314
+ description: Accept header
2315
+ serializedName: Accept
2316
+ protocol: !Protocols
2317
+ http: !HttpParameter
2318
+ in: header
2319
+ signatureParameters:
2320
+ - *ref_79
2321
+ language: !Languages
2322
+ default:
2323
+ name: ''
2324
+ description: ''
2325
+ protocol: !Protocols
2326
+ http: !HttpWithBodyRequest
2327
+ path: /encode-calldata
2328
+ method: post
2329
+ knownMediaType: json
2330
+ mediaTypes:
2331
+ - application/json
2332
+ uri: '{$host}'
2333
+ requests:
2334
+ - *ref_80
2335
+ signatureParameters: []
2336
+ responses:
2337
+ - !SchemaResponse
2338
+ schema: *ref_81
2339
+ language: !Languages
2340
+ default:
2341
+ name: ''
2342
+ description: Binary encoded calldata
2343
+ protocol: !Protocols
2344
+ http: !HttpResponse
2345
+ knownMediaType: json
2346
+ mediaTypes:
2347
+ - application/json
2348
+ statusCodes:
2349
+ - '200'
2350
+ exceptions:
2351
+ - !SchemaResponse
2352
+ schema: *ref_49
2353
+ extensions:
2354
+ x-ms-error-response: true
2355
+ language: !Languages
2356
+ default:
2357
+ name: ''
2358
+ description: Invalid contract
2359
+ protocol: !Protocols
2360
+ http: !HttpResponse
2361
+ knownMediaType: json
2362
+ mediaTypes:
2363
+ - application/json
2364
+ statusCodes:
2365
+ - '400'
2366
+ language: !Languages
2367
+ default:
2368
+ name: EncodeCalldata
2369
+ description: Encode Sophia function call according to sophia ABI.
2370
+ protocol: !Protocols {}
2371
+ - !Operation
2372
+ operationId: GetFateAssemblerCode
2373
+ apiVersions:
2374
+ - !ApiVersion
2375
+ version: 6.1.0
2376
+ parameters:
2377
+ - *ref_42
2378
+ requestMediaTypes:
2379
+ application/json: !Request &ref_83
2380
+ parameters:
2381
+ - !Parameter
2382
+ schema: *ref_43
2383
+ implementation: Method
2384
+ origin: modelerfour:synthesized/content-type
2385
+ required: true
2386
+ language: !Languages
2387
+ default:
2388
+ name: contentType
2389
+ description: Body Parameter content-type
2390
+ serializedName: Content-Type
2391
+ protocol: !Protocols
2392
+ http: !HttpParameter
2393
+ in: header
2394
+ - !Parameter &ref_82
2395
+ schema: *ref_55
2396
+ implementation: Method
2397
+ required: true
2398
+ language: !Languages
2399
+ default:
2400
+ name: body
2401
+ description: contract byte array
2402
+ protocol: !Protocols
2403
+ http: !HttpParameter
2404
+ in: body
2405
+ style: json
2406
+ - !Parameter
2407
+ schema: *ref_45
2408
+ implementation: Method
2409
+ origin: modelerfour:synthesized/accept
2410
+ required: true
2411
+ language: !Languages
2412
+ default:
2413
+ name: accept
2414
+ description: Accept header
2415
+ serializedName: Accept
2416
+ protocol: !Protocols
2417
+ http: !HttpParameter
2418
+ in: header
2419
+ signatureParameters:
2420
+ - *ref_82
2421
+ language: !Languages
2422
+ default:
2423
+ name: ''
2424
+ description: ''
2425
+ protocol: !Protocols
2426
+ http: !HttpWithBodyRequest
2427
+ path: /fate-assembler
2428
+ method: post
2429
+ knownMediaType: json
2430
+ mediaTypes:
2431
+ - application/json
2432
+ uri: '{$host}'
2433
+ requests:
2434
+ - *ref_83
2435
+ signatureParameters: []
2436
+ responses:
2437
+ - !SchemaResponse
2438
+ schema: *ref_84
2439
+ language: !Languages
2440
+ default:
2441
+ name: ''
2442
+ description: The FATE assembler
2443
+ protocol: !Protocols
2444
+ http: !HttpResponse
2445
+ knownMediaType: json
2446
+ mediaTypes:
2447
+ - application/json
2448
+ statusCodes:
2449
+ - '200'
2450
+ exceptions:
2451
+ - !SchemaResponse
2452
+ schema: *ref_50
2453
+ extensions:
2454
+ x-ms-error-response: true
2455
+ language: !Languages
2456
+ default:
2457
+ name: ''
2458
+ description: Invalid data
2459
+ protocol: !Protocols
2460
+ http: !HttpResponse
2461
+ knownMediaType: json
2462
+ mediaTypes:
2463
+ - application/json
2464
+ statusCodes:
2465
+ - '400'
2466
+ language: !Languages
2467
+ default:
2468
+ name: GetFateAssemblerCode
2469
+ description: Get FATE assembler code from bytecode
2470
+ protocol: !Protocols {}
2471
+ - !Operation
2472
+ operationId: ValidateByteCode
2473
+ apiVersions:
2474
+ - !ApiVersion
2475
+ version: 6.1.0
2476
+ parameters:
2477
+ - *ref_42
2478
+ requestMediaTypes:
2479
+ application/json: !Request &ref_87
2480
+ parameters:
2481
+ - !Parameter
2482
+ schema: *ref_43
2483
+ implementation: Method
2484
+ origin: modelerfour:synthesized/content-type
2485
+ required: true
2486
+ language: !Languages
2487
+ default:
2488
+ name: contentType
2489
+ description: Body Parameter content-type
2490
+ serializedName: Content-Type
2491
+ protocol: !Protocols
2492
+ http: !HttpParameter
2493
+ in: header
2494
+ - !Parameter &ref_86
2495
+ schema: *ref_85
2496
+ implementation: Method
2497
+ required: true
2498
+ language: !Languages
2499
+ default:
2500
+ name: body
2501
+ description: contract byte array and source code
2502
+ protocol: !Protocols
2503
+ http: !HttpParameter
2504
+ in: body
2505
+ style: json
2506
+ - !Parameter
2507
+ schema: *ref_45
2508
+ implementation: Method
2509
+ origin: modelerfour:synthesized/accept
2510
+ required: true
2511
+ language: !Languages
2512
+ default:
2513
+ name: accept
2514
+ description: Accept header
2515
+ serializedName: Accept
2516
+ protocol: !Protocols
2517
+ http: !HttpParameter
2518
+ in: header
2519
+ signatureParameters:
2520
+ - *ref_86
2521
+ language: !Languages
2522
+ default:
2523
+ name: ''
2524
+ description: ''
2525
+ protocol: !Protocols
2526
+ http: !HttpWithBodyRequest
2527
+ path: /validate-byte-code
2528
+ method: post
2529
+ knownMediaType: json
2530
+ mediaTypes:
2531
+ - application/json
2532
+ uri: '{$host}'
2533
+ requests:
2534
+ - *ref_87
2535
+ signatureParameters: []
2536
+ responses:
2537
+ - !Response
2538
+ language: !Languages
2539
+ default:
2540
+ name: ''
2541
+ description: Validation successful
2542
+ protocol: !Protocols
2543
+ http: !HttpResponse
2544
+ statusCodes:
2545
+ - '200'
2546
+ exceptions:
2547
+ - !SchemaResponse
2548
+ schema: *ref_49
2549
+ extensions:
2550
+ x-ms-error-response: true
2551
+ language: !Languages
2552
+ default:
2553
+ name: ''
2554
+ description: Invalid contract
2555
+ protocol: !Protocols
2556
+ http: !HttpResponse
2557
+ knownMediaType: json
2558
+ mediaTypes:
2559
+ - application/json
2560
+ statusCodes:
2561
+ - '400'
2562
+ language: !Languages
2563
+ default:
2564
+ name: ValidateByteCode
2565
+ description: Verify that an encoded byte array is the result of compiling a given contract
2566
+ protocol: !Protocols {}
2567
+ - !Operation
2568
+ operationId: Version
2569
+ apiVersions:
2570
+ - !ApiVersion
2571
+ version: 6.1.0
2572
+ parameters:
2573
+ - *ref_42
2574
+ requests:
2575
+ - !Request
2576
+ parameters:
2577
+ - !Parameter
2578
+ schema: *ref_45
2579
+ implementation: Method
2580
+ origin: modelerfour:synthesized/accept
2581
+ required: true
2582
+ language: !Languages
2583
+ default:
2584
+ name: accept
2585
+ description: Accept header
2586
+ serializedName: Accept
2587
+ protocol: !Protocols
2588
+ http: !HttpParameter
2589
+ in: header
2590
+ signatureParameters: []
2591
+ language: !Languages
2592
+ default:
2593
+ name: ''
2594
+ description: ''
2595
+ protocol: !Protocols
2596
+ http: !HttpRequest
2597
+ path: /version
2598
+ method: get
2599
+ uri: '{$host}'
2600
+ signatureParameters: []
2601
+ responses:
2602
+ - !SchemaResponse
2603
+ schema: *ref_58
2604
+ language: !Languages
2605
+ default:
2606
+ name: ''
2607
+ description: Sophia compiler version
2608
+ protocol: !Protocols
2609
+ http: !HttpResponse
2610
+ knownMediaType: json
2611
+ mediaTypes:
2612
+ - application/json
2613
+ statusCodes:
2614
+ - '200'
2615
+ exceptions:
2616
+ - !SchemaResponse
2617
+ schema: *ref_50
2618
+ extensions:
2619
+ x-ms-error-response: true
2620
+ language: !Languages
2621
+ default:
2622
+ name: ''
2623
+ description: Error
2624
+ protocol: !Protocols
2625
+ http: !HttpResponse
2626
+ knownMediaType: json
2627
+ mediaTypes:
2628
+ - application/json
2629
+ statusCodes:
2630
+ - '500'
2631
+ language: !Languages
2632
+ default:
2633
+ name: Version
2634
+ description: Get the version of the underlying Sophia compiler version
2635
+ protocol: !Protocols {}
2636
+ language: !Languages
2637
+ default:
2638
+ name: ''
2639
+ description: ''
2640
+ protocol: !Protocols {}
2641
+ security: !Security
2642
+ authenticationRequired: false
2643
+ schemes: []
2644
+ language: !Languages
2645
+ default:
2646
+ name: Compiler
2647
+ description: ''
2648
+ protocol: !Protocols
2649
+ http: !HttpModel {}