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