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