@near-kit-tool-box/fun 0.1.7 → 0.2.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 (281) hide show
  1. package/dist/fun/ft/ft_balance_of_fun_json.d.ts +4 -0
  2. package/dist/fun/ft/ft_balance_of_fun_json.d.ts.map +1 -0
  3. package/dist/fun/ft/ft_balance_of_fun_json.js +9 -0
  4. package/dist/fun/ft/ft_balance_of_fun_json.js.map +1 -0
  5. package/dist/fun/ft/ft_metadata_fun_json.d.ts +4 -0
  6. package/dist/fun/ft/ft_metadata_fun_json.d.ts.map +1 -0
  7. package/dist/fun/ft/ft_metadata_fun_json.js +10 -0
  8. package/dist/fun/ft/ft_metadata_fun_json.js.map +1 -0
  9. package/dist/fun/ft/ft_storage_deposit_fun_json.d.ts +3 -0
  10. package/dist/fun/ft/ft_storage_deposit_fun_json.d.ts.map +1 -0
  11. package/dist/fun/ft/ft_storage_deposit_fun_json.js +9 -0
  12. package/dist/fun/ft/ft_storage_deposit_fun_json.js.map +1 -0
  13. package/dist/fun/ft/ft_total_supply_fun_json.d.ts +3 -0
  14. package/dist/fun/ft/ft_total_supply_fun_json.d.ts.map +1 -0
  15. package/dist/fun/ft/ft_total_supply_fun_json.js +9 -0
  16. package/dist/fun/ft/ft_total_supply_fun_json.js.map +1 -0
  17. package/dist/fun/ft/ft_transfer_call_fun_json.d.ts +4 -0
  18. package/dist/fun/ft/ft_transfer_call_fun_json.d.ts.map +1 -0
  19. package/dist/fun/ft/ft_transfer_call_fun_json.js +9 -0
  20. package/dist/fun/ft/ft_transfer_call_fun_json.js.map +1 -0
  21. package/dist/fun/ft/ft_transfer_fun_json.d.ts +4 -0
  22. package/dist/fun/ft/ft_transfer_fun_json.d.ts.map +1 -0
  23. package/dist/fun/ft/ft_transfer_fun_json.js +9 -0
  24. package/dist/fun/ft/ft_transfer_fun_json.js.map +1 -0
  25. package/dist/fun/greeting/greeting_get_greeting_fun_json.d.ts +3 -0
  26. package/dist/fun/greeting/greeting_get_greeting_fun_json.d.ts.map +1 -0
  27. package/dist/fun/greeting/greeting_get_greeting_fun_json.js +9 -0
  28. package/dist/fun/greeting/greeting_get_greeting_fun_json.js.map +1 -0
  29. package/dist/fun/greeting/greeting_set_greeting_fun_json.d.ts +4 -0
  30. package/dist/fun/greeting/greeting_set_greeting_fun_json.d.ts.map +1 -0
  31. package/dist/fun/greeting/greeting_set_greeting_fun_json.js +9 -0
  32. package/dist/fun/greeting/greeting_set_greeting_fun_json.js.map +1 -0
  33. package/dist/fun/near/near_add_key_fun_json.d.ts +4 -0
  34. package/dist/fun/near/near_add_key_fun_json.d.ts.map +1 -0
  35. package/dist/fun/near/near_add_key_fun_json.js +11 -0
  36. package/dist/fun/near/near_add_key_fun_json.js.map +1 -0
  37. package/dist/fun/near/near_create_account_fun_json.d.ts +3 -0
  38. package/dist/fun/near/near_create_account_fun_json.d.ts.map +1 -0
  39. package/dist/fun/near/near_create_account_fun_json.js +9 -0
  40. package/dist/fun/near/near_create_account_fun_json.js.map +1 -0
  41. package/dist/fun/near/near_delete_account_fun_json.d.ts +4 -0
  42. package/dist/fun/near/near_delete_account_fun_json.d.ts.map +1 -0
  43. package/dist/fun/near/near_delete_account_fun_json.js +11 -0
  44. package/dist/fun/near/near_delete_account_fun_json.js.map +1 -0
  45. package/dist/fun/near/near_delete_key_fun_json.d.ts +4 -0
  46. package/dist/fun/near/near_delete_key_fun_json.d.ts.map +1 -0
  47. package/dist/fun/near/near_delete_key_fun_json.js +11 -0
  48. package/dist/fun/near/near_delete_key_fun_json.js.map +1 -0
  49. package/dist/fun/pool/pool_deposit_and_stake_fun_json.d.ts +4 -0
  50. package/dist/fun/pool/pool_deposit_and_stake_fun_json.d.ts.map +1 -0
  51. package/dist/fun/pool/pool_deposit_and_stake_fun_json.js +9 -0
  52. package/dist/fun/pool/pool_deposit_and_stake_fun_json.js.map +1 -0
  53. package/dist/fun/pool/pool_get_accounts_fun_json.d.ts +3 -0
  54. package/dist/fun/pool/pool_get_accounts_fun_json.d.ts.map +1 -0
  55. package/dist/fun/pool/pool_get_accounts_fun_json.js +9 -0
  56. package/dist/fun/pool/pool_get_accounts_fun_json.js.map +1 -0
  57. package/dist/fun/pool/pool_get_number_of_accounts_fun_json.d.ts +3 -0
  58. package/dist/fun/pool/pool_get_number_of_accounts_fun_json.d.ts.map +1 -0
  59. package/dist/fun/pool/pool_get_number_of_accounts_fun_json.js +9 -0
  60. package/dist/fun/pool/pool_get_number_of_accounts_fun_json.js.map +1 -0
  61. package/dist/fun/pool/pool_ping_fun_json.d.ts +3 -0
  62. package/dist/fun/pool/pool_ping_fun_json.d.ts.map +1 -0
  63. package/dist/fun/pool/pool_ping_fun_json.js +11 -0
  64. package/dist/fun/pool/pool_ping_fun_json.js.map +1 -0
  65. package/dist/fun/pumpopoly_world/pumpopoly_world_elite_move_fun_json.d.ts +3 -0
  66. package/dist/fun/pumpopoly_world/pumpopoly_world_elite_move_fun_json.d.ts.map +1 -0
  67. package/dist/fun/pumpopoly_world/pumpopoly_world_elite_move_fun_json.js +9 -0
  68. package/dist/fun/pumpopoly_world/pumpopoly_world_elite_move_fun_json.js.map +1 -0
  69. package/dist/fun/pumpopoly_world/pumpopoly_world_move_player_fun_json.d.ts +3 -0
  70. package/dist/fun/pumpopoly_world/pumpopoly_world_move_player_fun_json.d.ts.map +1 -0
  71. package/dist/fun/pumpopoly_world/pumpopoly_world_move_player_fun_json.js +9 -0
  72. package/dist/fun/pumpopoly_world/pumpopoly_world_move_player_fun_json.js.map +1 -0
  73. package/dist/fun/rhea_ammv2/rhea_ammv2_add_simple_pool_fun_json.d.ts +4 -0
  74. package/dist/fun/rhea_ammv2/rhea_ammv2_add_simple_pool_fun_json.d.ts.map +1 -0
  75. package/dist/fun/rhea_ammv2/rhea_ammv2_add_simple_pool_fun_json.js +9 -0
  76. package/dist/fun/rhea_ammv2/rhea_ammv2_add_simple_pool_fun_json.js.map +1 -0
  77. package/dist/fun/rhea_ammv2/rhea_ammv2_get_deposits_fun_json.d.ts +4 -0
  78. package/dist/fun/rhea_ammv2/rhea_ammv2_get_deposits_fun_json.d.ts.map +1 -0
  79. package/dist/fun/rhea_ammv2/rhea_ammv2_get_deposits_fun_json.js +9 -0
  80. package/dist/fun/rhea_ammv2/rhea_ammv2_get_deposits_fun_json.js.map +1 -0
  81. package/dist/fun/rhea_ammv2/rhea_ammv2_get_number_of_pools_fun_json.d.ts +3 -0
  82. package/dist/fun/rhea_ammv2/rhea_ammv2_get_number_of_pools_fun_json.d.ts.map +1 -0
  83. package/dist/fun/rhea_ammv2/rhea_ammv2_get_number_of_pools_fun_json.js +9 -0
  84. package/dist/fun/rhea_ammv2/rhea_ammv2_get_number_of_pools_fun_json.js.map +1 -0
  85. package/dist/fun/rhea_ammv2/rhea_ammv2_get_pool_fun_json.d.ts +4 -0
  86. package/dist/fun/rhea_ammv2/rhea_ammv2_get_pool_fun_json.d.ts.map +1 -0
  87. package/dist/fun/rhea_ammv2/rhea_ammv2_get_pool_fun_json.js +9 -0
  88. package/dist/fun/rhea_ammv2/rhea_ammv2_get_pool_fun_json.js.map +1 -0
  89. package/dist/fun/rhea_ammv2/rhea_ammv2_get_pools_fun_json.d.ts +4 -0
  90. package/dist/fun/rhea_ammv2/rhea_ammv2_get_pools_fun_json.d.ts.map +1 -0
  91. package/dist/fun/rhea_ammv2/rhea_ammv2_get_pools_fun_json.js +9 -0
  92. package/dist/fun/rhea_ammv2/rhea_ammv2_get_pools_fun_json.js.map +1 -0
  93. package/dist/fun/rhea_ammv2/rhea_ammv2_get_return_fun_json.d.ts +4 -0
  94. package/dist/fun/rhea_ammv2/rhea_ammv2_get_return_fun_json.d.ts.map +1 -0
  95. package/dist/fun/rhea_ammv2/rhea_ammv2_get_return_fun_json.js +14 -0
  96. package/dist/fun/rhea_ammv2/rhea_ammv2_get_return_fun_json.js.map +1 -0
  97. package/dist/fun/rhea_ammv2/rhea_ammv2_storage_balance_of_fun_json.d.ts +4 -0
  98. package/dist/fun/rhea_ammv2/rhea_ammv2_storage_balance_of_fun_json.d.ts.map +1 -0
  99. package/dist/fun/rhea_ammv2/rhea_ammv2_storage_balance_of_fun_json.js +9 -0
  100. package/dist/fun/rhea_ammv2/rhea_ammv2_storage_balance_of_fun_json.js.map +1 -0
  101. package/dist/fun/rhea_ammv2/rhea_ammv2_storage_deposit_fun_json.d.ts +4 -0
  102. package/dist/fun/rhea_ammv2/rhea_ammv2_storage_deposit_fun_json.d.ts.map +1 -0
  103. package/dist/fun/rhea_ammv2/rhea_ammv2_storage_deposit_fun_json.js +9 -0
  104. package/dist/fun/rhea_ammv2/rhea_ammv2_storage_deposit_fun_json.js.map +1 -0
  105. package/dist/fun/rhea_ammv2/rhea_ammv2_swap_fun_json.d.ts +4 -0
  106. package/dist/fun/rhea_ammv2/rhea_ammv2_swap_fun_json.d.ts.map +1 -0
  107. package/dist/fun/rhea_ammv2/rhea_ammv2_swap_fun_json.js +9 -0
  108. package/dist/fun/rhea_ammv2/rhea_ammv2_swap_fun_json.js.map +1 -0
  109. package/dist/fun/rhea_ammv2/rhea_ammv2_withdraw_fun_json.d.ts +4 -0
  110. package/dist/fun/rhea_ammv2/rhea_ammv2_withdraw_fun_json.d.ts.map +1 -0
  111. package/dist/fun/rhea_ammv2/rhea_ammv2_withdraw_fun_json.js +14 -0
  112. package/dist/fun/rhea_ammv2/rhea_ammv2_withdraw_fun_json.js.map +1 -0
  113. package/dist/fun/wrap_near/wrap_near_deposit_fun_json.d.ts +4 -0
  114. package/dist/fun/wrap_near/wrap_near_deposit_fun_json.d.ts.map +1 -0
  115. package/dist/fun/wrap_near/wrap_near_deposit_fun_json.js +9 -0
  116. package/dist/fun/wrap_near/wrap_near_deposit_fun_json.js.map +1 -0
  117. package/dist/fun/wrap_near/wrap_near_withdraw_fun_json.d.ts +3 -0
  118. package/dist/fun/wrap_near/wrap_near_withdraw_fun_json.d.ts.map +1 -0
  119. package/dist/fun/wrap_near/wrap_near_withdraw_fun_json.js +9 -0
  120. package/dist/fun/wrap_near/wrap_near_withdraw_fun_json.js.map +1 -0
  121. package/dist/index.d.ts +39 -16
  122. package/dist/index.d.ts.map +1 -1
  123. package/dist/index.js +55 -28
  124. package/dist/index.js.map +1 -1
  125. package/dist/lib/args/ft_args.d.ts +7 -0
  126. package/dist/lib/args/ft_args.d.ts.map +1 -0
  127. package/dist/lib/args/ft_args.js +10 -0
  128. package/dist/lib/args/ft_args.js.map +1 -0
  129. package/dist/lib/args/greeting_args.d.ts +4 -0
  130. package/dist/lib/args/greeting_args.d.ts.map +1 -0
  131. package/dist/lib/args/greeting_args.js +10 -0
  132. package/dist/lib/args/greeting_args.js.map +1 -0
  133. package/dist/lib/{contract_rhea_args.d.ts → args/rhea_ammv2_args.d.ts} +6 -6
  134. package/dist/lib/args/rhea_ammv2_args.d.ts.map +1 -0
  135. package/dist/lib/args/rhea_ammv2_args.js +11 -0
  136. package/dist/lib/args/rhea_ammv2_args.js.map +1 -0
  137. package/dist/lib/const_id/contract_id_const_type.d.ts +6 -0
  138. package/dist/lib/const_id/contract_id_const_type.d.ts.map +1 -0
  139. package/dist/lib/const_id/contract_id_const_type.js +8 -0
  140. package/dist/lib/const_id/contract_id_const_type.js.map +1 -0
  141. package/dist/lib/const_id/greeting_contract_id_const.d.ts +4 -0
  142. package/dist/lib/const_id/greeting_contract_id_const.d.ts.map +1 -0
  143. package/dist/lib/const_id/greeting_contract_id_const.js +13 -0
  144. package/dist/lib/const_id/greeting_contract_id_const.js.map +1 -0
  145. package/dist/lib/const_id/index.d.ts +7 -0
  146. package/dist/lib/const_id/index.d.ts.map +1 -0
  147. package/dist/lib/const_id/index.js +22 -0
  148. package/dist/lib/const_id/index.js.map +1 -0
  149. package/dist/lib/const_id/near_tld_contract_id_const.d.ts +4 -0
  150. package/dist/lib/const_id/near_tld_contract_id_const.d.ts.map +1 -0
  151. package/dist/lib/const_id/near_tld_contract_id_const.js +13 -0
  152. package/dist/lib/const_id/near_tld_contract_id_const.js.map +1 -0
  153. package/dist/lib/const_id/pumpopoly_world_contract_id_const.d.ts +4 -0
  154. package/dist/lib/const_id/pumpopoly_world_contract_id_const.d.ts.map +1 -0
  155. package/dist/lib/const_id/pumpopoly_world_contract_id_const.js +13 -0
  156. package/dist/lib/const_id/pumpopoly_world_contract_id_const.js.map +1 -0
  157. package/dist/lib/const_id/rhea_ammv2_contract_id_const.d.ts +4 -0
  158. package/dist/lib/const_id/rhea_ammv2_contract_id_const.d.ts.map +1 -0
  159. package/dist/lib/const_id/rhea_ammv2_contract_id_const.js +13 -0
  160. package/dist/lib/const_id/rhea_ammv2_contract_id_const.js.map +1 -0
  161. package/dist/lib/const_id/wrap_near_contract_id_const.d.ts +4 -0
  162. package/dist/lib/const_id/wrap_near_contract_id_const.d.ts.map +1 -0
  163. package/dist/lib/const_id/wrap_near_contract_id_const.js +13 -0
  164. package/dist/lib/const_id/wrap_near_contract_id_const.js.map +1 -0
  165. package/dist/lib/methods/index.d.ts +8 -0
  166. package/dist/lib/methods/index.d.ts.map +1 -0
  167. package/dist/lib/methods/index.js +16 -0
  168. package/dist/lib/methods/index.js.map +1 -0
  169. package/dist/lib/methods/methods_ft.d.ts +15 -0
  170. package/dist/lib/methods/methods_ft.d.ts.map +1 -0
  171. package/dist/lib/methods/methods_ft.js +22 -0
  172. package/dist/lib/methods/methods_ft.js.map +1 -0
  173. package/dist/lib/methods/methods_greeting.d.ts +5 -0
  174. package/dist/lib/methods/methods_greeting.d.ts.map +1 -0
  175. package/dist/lib/methods/methods_greeting.js +12 -0
  176. package/dist/lib/methods/methods_greeting.js.map +1 -0
  177. package/dist/lib/methods/methods_near.d.ts +14 -0
  178. package/dist/lib/methods/methods_near.d.ts.map +1 -0
  179. package/dist/lib/methods/methods_near.js +24 -0
  180. package/dist/lib/methods/methods_near.js.map +1 -0
  181. package/dist/lib/methods/methods_pool.d.ts +55 -0
  182. package/dist/lib/methods/methods_pool.d.ts.map +1 -0
  183. package/dist/lib/methods/methods_pool.js +63 -0
  184. package/dist/lib/methods/methods_pool.js.map +1 -0
  185. package/dist/lib/methods/methods_pumpopoly_world.d.ts +37 -0
  186. package/dist/lib/methods/methods_pumpopoly_world.d.ts.map +1 -0
  187. package/dist/lib/methods/methods_pumpopoly_world.js +45 -0
  188. package/dist/lib/methods/methods_pumpopoly_world.js.map +1 -0
  189. package/dist/lib/methods/methods_rhea_ammv2.d.ts +164 -0
  190. package/dist/lib/methods/methods_rhea_ammv2.d.ts.map +1 -0
  191. package/dist/lib/methods/methods_rhea_ammv2.js +171 -0
  192. package/dist/lib/methods/methods_rhea_ammv2.js.map +1 -0
  193. package/dist/lib/methods/methods_wrap_near.d.ts +18 -0
  194. package/dist/lib/methods/methods_wrap_near.d.ts.map +1 -0
  195. package/dist/lib/methods/methods_wrap_near.js +26 -0
  196. package/dist/lib/methods/methods_wrap_near.js.map +1 -0
  197. package/dist/types/{ft_metadata_types.d.ts → ft_metadata_get_response_type.d.ts} +1 -1
  198. package/dist/types/ft_metadata_get_response_type.d.ts.map +1 -0
  199. package/dist/types/{ft_metadata_types.js → ft_metadata_get_response_type.js} +1 -1
  200. package/dist/types/ft_metadata_get_response_type.js.map +1 -0
  201. package/dist/types/rhea_ammv2_get_deposits_type.d.ts +4 -0
  202. package/dist/types/rhea_ammv2_get_deposits_type.d.ts.map +1 -0
  203. package/dist/types/rhea_ammv2_get_deposits_type.js +15 -0
  204. package/dist/types/rhea_ammv2_get_deposits_type.js.map +1 -0
  205. package/dist/types/{rhea_ref_types.d.ts → rhea_ammv2_get_pool_type.d.ts} +4 -11
  206. package/dist/types/rhea_ammv2_get_pool_type.d.ts.map +1 -0
  207. package/dist/types/rhea_ammv2_get_pool_type.js +13 -0
  208. package/dist/types/rhea_ammv2_get_pool_type.js.map +1 -0
  209. package/dist/types/storage_balance_of_response_type.d.ts +5 -0
  210. package/dist/types/storage_balance_of_response_type.d.ts.map +1 -0
  211. package/dist/types/storage_balance_of_response_type.js +13 -0
  212. package/dist/types/storage_balance_of_response_type.js.map +1 -0
  213. package/package.json +5 -10
  214. package/dist/fun/ft/ft_fun.d.ts +0 -3583
  215. package/dist/fun/ft/ft_fun.d.ts.map +0 -1
  216. package/dist/fun/ft/ft_fun.js +0 -54
  217. package/dist/fun/ft/ft_fun.js.map +0 -1
  218. package/dist/fun/greeting/greeting_get_fun.d.ts +0 -3
  219. package/dist/fun/greeting/greeting_get_fun.d.ts.map +0 -1
  220. package/dist/fun/greeting/greeting_get_fun.js +0 -9
  221. package/dist/fun/greeting/greeting_get_fun.js.map +0 -1
  222. package/dist/fun/greeting/greeting_set_fun.d.ts +0 -1195
  223. package/dist/fun/greeting/greeting_set_fun.d.ts.map +0 -1
  224. package/dist/fun/greeting/greeting_set_fun.js +0 -9
  225. package/dist/fun/greeting/greeting_set_fun.js.map +0 -1
  226. package/dist/fun/near/add_key_near.d.ts +0 -1194
  227. package/dist/fun/near/add_key_near.d.ts.map +0 -1
  228. package/dist/fun/near/add_key_near.js +0 -11
  229. package/dist/fun/near/add_key_near.js.map +0 -1
  230. package/dist/fun/near/create_account_near.d.ts +0 -1194
  231. package/dist/fun/near/create_account_near.d.ts.map +0 -1
  232. package/dist/fun/near/create_account_near.js +0 -10
  233. package/dist/fun/near/create_account_near.js.map +0 -1
  234. package/dist/fun/near/delete_account_fun.d.ts +0 -1194
  235. package/dist/fun/near/delete_account_fun.d.ts.map +0 -1
  236. package/dist/fun/near/delete_account_fun.js +0 -11
  237. package/dist/fun/near/delete_account_fun.js.map +0 -1
  238. package/dist/fun/near/delete_key_near.d.ts +0 -1194
  239. package/dist/fun/near/delete_key_near.d.ts.map +0 -1
  240. package/dist/fun/near/delete_key_near.js +0 -11
  241. package/dist/fun/near/delete_key_near.js.map +0 -1
  242. package/dist/fun/near/wrap_near.d.ts +0 -2387
  243. package/dist/fun/near/wrap_near.d.ts.map +0 -1
  244. package/dist/fun/near/wrap_near.js +0 -16
  245. package/dist/fun/near/wrap_near.js.map +0 -1
  246. package/dist/fun/pool/pool_fun.d.ts +0 -2390
  247. package/dist/fun/pool/pool_fun.d.ts.map +0 -1
  248. package/dist/fun/pool/pool_fun.js +0 -37
  249. package/dist/fun/pool/pool_fun.js.map +0 -1
  250. package/dist/fun/pumpopoly/pumpopoly_world_fun.d.ts +0 -2386
  251. package/dist/fun/pumpopoly/pumpopoly_world_fun.d.ts.map +0 -1
  252. package/dist/fun/pumpopoly/pumpopoly_world_fun.js +0 -20
  253. package/dist/fun/pumpopoly/pumpopoly_world_fun.js.map +0 -1
  254. package/dist/fun/rhea/rhea_call_fun.d.ts +0 -4772
  255. package/dist/fun/rhea/rhea_call_fun.d.ts.map +0 -1
  256. package/dist/fun/rhea/rhea_call_fun.js +0 -43
  257. package/dist/fun/rhea/rhea_call_fun.js.map +0 -1
  258. package/dist/fun/rhea/rhea_view_fun.d.ts +0 -10
  259. package/dist/fun/rhea/rhea_view_fun.d.ts.map +0 -1
  260. package/dist/fun/rhea/rhea_view_fun.js +0 -56
  261. package/dist/fun/rhea/rhea_view_fun.js.map +0 -1
  262. package/dist/lib/contract_ft_args.d.ts +0 -7
  263. package/dist/lib/contract_ft_args.d.ts.map +0 -1
  264. package/dist/lib/contract_ft_args.js +0 -3
  265. package/dist/lib/contract_ft_args.js.map +0 -1
  266. package/dist/lib/contract_greeting_args.d.ts +0 -4
  267. package/dist/lib/contract_greeting_args.d.ts.map +0 -1
  268. package/dist/lib/contract_greeting_args.js +0 -3
  269. package/dist/lib/contract_greeting_args.js.map +0 -1
  270. package/dist/lib/contract_greeting_const.d.ts +0 -5
  271. package/dist/lib/contract_greeting_const.d.ts.map +0 -1
  272. package/dist/lib/contract_greeting_const.js +0 -8
  273. package/dist/lib/contract_greeting_const.js.map +0 -1
  274. package/dist/lib/contract_rhea_args.d.ts.map +0 -1
  275. package/dist/lib/contract_rhea_args.js +0 -11
  276. package/dist/lib/contract_rhea_args.js.map +0 -1
  277. package/dist/types/ft_metadata_types.d.ts.map +0 -1
  278. package/dist/types/ft_metadata_types.js.map +0 -1
  279. package/dist/types/rhea_ref_types.d.ts.map +0 -1
  280. package/dist/types/rhea_ref_types.js +0 -15
  281. package/dist/types/rhea_ref_types.js.map +0 -1
@@ -1,3583 +0,0 @@
1
- import { Near } from "near-kit";
2
- import type { ft_args_params_interface } from "../../lib/contract_ft_args";
3
- import type { FT_METADATA_TYPE } from "../../types/ft_metadata_types";
4
- export declare function ft_balance_of_fun(near: Near, ft_contractId: string, account_id: ft_args_params_interface["account_id"]): Promise<string>;
5
- export declare function ft_total_supply_fun(near: Near, ft_contractId: string): Promise<string>;
6
- export declare function ft_metadata_fun(near: Near, ft_contractId: string): Promise<FT_METADATA_TYPE>;
7
- export declare function ft_transfer_fun(near: Near, ft_contractId: string, receiver_id: ft_args_params_interface["receiver_id"], amount: ft_args_params_interface["amount"]): Promise<{
8
- final_execution_status: "NONE";
9
- transaction?: {
10
- hash: string;
11
- signer_id: string;
12
- receiver_id: string;
13
- nonce: number;
14
- } | undefined;
15
- status?: "Pending" | "Unknown" | {
16
- SuccessValue: string;
17
- } | {
18
- SuccessReceiptId: string;
19
- } | {
20
- Failure: {
21
- [x: string]: any;
22
- error_message?: string | undefined;
23
- error_type?: string | undefined;
24
- };
25
- } | undefined;
26
- transaction_outcome?: {
27
- id: string;
28
- outcome: {
29
- logs: string[];
30
- receipt_ids: string[];
31
- gas_burnt: number;
32
- tokens_burnt: string;
33
- executor_id: string;
34
- status: "Pending" | "Unknown" | {
35
- SuccessValue: string;
36
- } | {
37
- SuccessReceiptId: string;
38
- } | {
39
- Failure: {
40
- [x: string]: any;
41
- error_message?: string | undefined;
42
- error_type?: string | undefined;
43
- };
44
- };
45
- metadata?: {
46
- gas_profile?: {
47
- [x: string]: any;
48
- cost?: string | undefined;
49
- cost_category?: string | undefined;
50
- gas_used?: string | undefined;
51
- }[] | null | undefined;
52
- version: 4;
53
- contracts?: ({
54
- local: string;
55
- } | {
56
- global_hash: string;
57
- } | {
58
- global_account_id: string;
59
- } | null)[] | null | undefined;
60
- } | {
61
- gas_profile?: {
62
- [x: string]: any;
63
- cost?: string | undefined;
64
- cost_category?: string | undefined;
65
- gas_used?: string | undefined;
66
- }[] | null | undefined;
67
- version: 1 | 2 | 3;
68
- } | {
69
- gas_profile?: {
70
- [x: string]: any;
71
- cost?: string | undefined;
72
- cost_category?: string | undefined;
73
- gas_used?: string | undefined;
74
- }[] | null | undefined;
75
- version: number;
76
- } | undefined;
77
- };
78
- block_hash: string;
79
- proof: {
80
- hash: string;
81
- direction: "Left" | "Right";
82
- }[];
83
- } | undefined;
84
- receipts_outcome?: {
85
- id: string;
86
- outcome: {
87
- logs: string[];
88
- receipt_ids: string[];
89
- gas_burnt: number;
90
- tokens_burnt: string;
91
- executor_id: string;
92
- status: "Pending" | "Unknown" | {
93
- SuccessValue: string;
94
- } | {
95
- SuccessReceiptId: string;
96
- } | {
97
- Failure: {
98
- [x: string]: any;
99
- error_message?: string | undefined;
100
- error_type?: string | undefined;
101
- };
102
- };
103
- metadata?: {
104
- gas_profile?: {
105
- [x: string]: any;
106
- cost?: string | undefined;
107
- cost_category?: string | undefined;
108
- gas_used?: string | undefined;
109
- }[] | null | undefined;
110
- version: 4;
111
- contracts?: ({
112
- local: string;
113
- } | {
114
- global_hash: string;
115
- } | {
116
- global_account_id: string;
117
- } | null)[] | null | undefined;
118
- } | {
119
- gas_profile?: {
120
- [x: string]: any;
121
- cost?: string | undefined;
122
- cost_category?: string | undefined;
123
- gas_used?: string | undefined;
124
- }[] | null | undefined;
125
- version: 1 | 2 | 3;
126
- } | {
127
- gas_profile?: {
128
- [x: string]: any;
129
- cost?: string | undefined;
130
- cost_category?: string | undefined;
131
- gas_used?: string | undefined;
132
- }[] | null | undefined;
133
- version: number;
134
- } | undefined;
135
- };
136
- block_hash: string;
137
- proof: {
138
- hash: string;
139
- direction: "Left" | "Right";
140
- }[];
141
- }[] | undefined;
142
- } | {
143
- final_execution_status: "INCLUDED";
144
- transaction?: {
145
- hash: string;
146
- signer_id: string;
147
- receiver_id: string;
148
- nonce: number;
149
- } | undefined;
150
- status?: "Pending" | "Unknown" | {
151
- SuccessValue: string;
152
- } | {
153
- SuccessReceiptId: string;
154
- } | {
155
- Failure: {
156
- [x: string]: any;
157
- error_message?: string | undefined;
158
- error_type?: string | undefined;
159
- };
160
- } | undefined;
161
- transaction_outcome?: {
162
- id: string;
163
- outcome: {
164
- logs: string[];
165
- receipt_ids: string[];
166
- gas_burnt: number;
167
- tokens_burnt: string;
168
- executor_id: string;
169
- status: "Pending" | "Unknown" | {
170
- SuccessValue: string;
171
- } | {
172
- SuccessReceiptId: string;
173
- } | {
174
- Failure: {
175
- [x: string]: any;
176
- error_message?: string | undefined;
177
- error_type?: string | undefined;
178
- };
179
- };
180
- metadata?: {
181
- gas_profile?: {
182
- [x: string]: any;
183
- cost?: string | undefined;
184
- cost_category?: string | undefined;
185
- gas_used?: string | undefined;
186
- }[] | null | undefined;
187
- version: 4;
188
- contracts?: ({
189
- local: string;
190
- } | {
191
- global_hash: string;
192
- } | {
193
- global_account_id: string;
194
- } | null)[] | null | undefined;
195
- } | {
196
- gas_profile?: {
197
- [x: string]: any;
198
- cost?: string | undefined;
199
- cost_category?: string | undefined;
200
- gas_used?: string | undefined;
201
- }[] | null | undefined;
202
- version: 1 | 2 | 3;
203
- } | {
204
- gas_profile?: {
205
- [x: string]: any;
206
- cost?: string | undefined;
207
- cost_category?: string | undefined;
208
- gas_used?: string | undefined;
209
- }[] | null | undefined;
210
- version: number;
211
- } | undefined;
212
- };
213
- block_hash: string;
214
- proof: {
215
- hash: string;
216
- direction: "Left" | "Right";
217
- }[];
218
- } | undefined;
219
- receipts_outcome?: {
220
- id: string;
221
- outcome: {
222
- logs: string[];
223
- receipt_ids: string[];
224
- gas_burnt: number;
225
- tokens_burnt: string;
226
- executor_id: string;
227
- status: "Pending" | "Unknown" | {
228
- SuccessValue: string;
229
- } | {
230
- SuccessReceiptId: string;
231
- } | {
232
- Failure: {
233
- [x: string]: any;
234
- error_message?: string | undefined;
235
- error_type?: string | undefined;
236
- };
237
- };
238
- metadata?: {
239
- gas_profile?: {
240
- [x: string]: any;
241
- cost?: string | undefined;
242
- cost_category?: string | undefined;
243
- gas_used?: string | undefined;
244
- }[] | null | undefined;
245
- version: 4;
246
- contracts?: ({
247
- local: string;
248
- } | {
249
- global_hash: string;
250
- } | {
251
- global_account_id: string;
252
- } | null)[] | null | undefined;
253
- } | {
254
- gas_profile?: {
255
- [x: string]: any;
256
- cost?: string | undefined;
257
- cost_category?: string | undefined;
258
- gas_used?: string | undefined;
259
- }[] | null | undefined;
260
- version: 1 | 2 | 3;
261
- } | {
262
- gas_profile?: {
263
- [x: string]: any;
264
- cost?: string | undefined;
265
- cost_category?: string | undefined;
266
- gas_used?: string | undefined;
267
- }[] | null | undefined;
268
- version: number;
269
- } | undefined;
270
- };
271
- block_hash: string;
272
- proof: {
273
- hash: string;
274
- direction: "Left" | "Right";
275
- }[];
276
- }[] | undefined;
277
- } | {
278
- final_execution_status: "INCLUDED_FINAL";
279
- transaction?: {
280
- hash: string;
281
- signer_id: string;
282
- receiver_id: string;
283
- nonce: number;
284
- } | undefined;
285
- status?: "Pending" | "Unknown" | {
286
- SuccessValue: string;
287
- } | {
288
- SuccessReceiptId: string;
289
- } | {
290
- Failure: {
291
- [x: string]: any;
292
- error_message?: string | undefined;
293
- error_type?: string | undefined;
294
- };
295
- } | undefined;
296
- transaction_outcome?: {
297
- id: string;
298
- outcome: {
299
- logs: string[];
300
- receipt_ids: string[];
301
- gas_burnt: number;
302
- tokens_burnt: string;
303
- executor_id: string;
304
- status: "Pending" | "Unknown" | {
305
- SuccessValue: string;
306
- } | {
307
- SuccessReceiptId: string;
308
- } | {
309
- Failure: {
310
- [x: string]: any;
311
- error_message?: string | undefined;
312
- error_type?: string | undefined;
313
- };
314
- };
315
- metadata?: {
316
- gas_profile?: {
317
- [x: string]: any;
318
- cost?: string | undefined;
319
- cost_category?: string | undefined;
320
- gas_used?: string | undefined;
321
- }[] | null | undefined;
322
- version: 4;
323
- contracts?: ({
324
- local: string;
325
- } | {
326
- global_hash: string;
327
- } | {
328
- global_account_id: string;
329
- } | null)[] | null | undefined;
330
- } | {
331
- gas_profile?: {
332
- [x: string]: any;
333
- cost?: string | undefined;
334
- cost_category?: string | undefined;
335
- gas_used?: string | undefined;
336
- }[] | null | undefined;
337
- version: 1 | 2 | 3;
338
- } | {
339
- gas_profile?: {
340
- [x: string]: any;
341
- cost?: string | undefined;
342
- cost_category?: string | undefined;
343
- gas_used?: string | undefined;
344
- }[] | null | undefined;
345
- version: number;
346
- } | undefined;
347
- };
348
- block_hash: string;
349
- proof: {
350
- hash: string;
351
- direction: "Left" | "Right";
352
- }[];
353
- } | undefined;
354
- receipts_outcome?: {
355
- id: string;
356
- outcome: {
357
- logs: string[];
358
- receipt_ids: string[];
359
- gas_burnt: number;
360
- tokens_burnt: string;
361
- executor_id: string;
362
- status: "Pending" | "Unknown" | {
363
- SuccessValue: string;
364
- } | {
365
- SuccessReceiptId: string;
366
- } | {
367
- Failure: {
368
- [x: string]: any;
369
- error_message?: string | undefined;
370
- error_type?: string | undefined;
371
- };
372
- };
373
- metadata?: {
374
- gas_profile?: {
375
- [x: string]: any;
376
- cost?: string | undefined;
377
- cost_category?: string | undefined;
378
- gas_used?: string | undefined;
379
- }[] | null | undefined;
380
- version: 4;
381
- contracts?: ({
382
- local: string;
383
- } | {
384
- global_hash: string;
385
- } | {
386
- global_account_id: string;
387
- } | null)[] | null | undefined;
388
- } | {
389
- gas_profile?: {
390
- [x: string]: any;
391
- cost?: string | undefined;
392
- cost_category?: string | undefined;
393
- gas_used?: string | undefined;
394
- }[] | null | undefined;
395
- version: 1 | 2 | 3;
396
- } | {
397
- gas_profile?: {
398
- [x: string]: any;
399
- cost?: string | undefined;
400
- cost_category?: string | undefined;
401
- gas_used?: string | undefined;
402
- }[] | null | undefined;
403
- version: number;
404
- } | undefined;
405
- };
406
- block_hash: string;
407
- proof: {
408
- hash: string;
409
- direction: "Left" | "Right";
410
- }[];
411
- }[] | undefined;
412
- } | {
413
- final_execution_status: "EXECUTED_OPTIMISTIC";
414
- status: "Pending" | "Unknown" | {
415
- SuccessValue: string;
416
- } | {
417
- SuccessReceiptId: string;
418
- } | {
419
- Failure: {
420
- [x: string]: any;
421
- error_message?: string | undefined;
422
- error_type?: string | undefined;
423
- };
424
- };
425
- transaction: {
426
- signer_id: string;
427
- public_key: string;
428
- nonce: number;
429
- receiver_id: string;
430
- actions: ("CreateAccount" | {
431
- CreateAccount: Record<string, never>;
432
- } | {
433
- Transfer: {
434
- deposit: string;
435
- };
436
- } | {
437
- FunctionCall: {
438
- method_name: string;
439
- args: string;
440
- gas: number;
441
- deposit: string;
442
- };
443
- } | {
444
- DeployContract: {
445
- code: string;
446
- };
447
- } | {
448
- DeployGlobalContract: {
449
- code: string;
450
- };
451
- } | {
452
- DeployGlobalContractByAccountId: {
453
- code: string;
454
- };
455
- } | {
456
- Stake: {
457
- stake: string;
458
- public_key: string;
459
- };
460
- } | {
461
- AddKey: {
462
- public_key: string;
463
- access_key: {
464
- nonce: number;
465
- permission: "FullAccess" | {
466
- FunctionCall: {
467
- receiver_id: string;
468
- method_names: string[];
469
- allowance?: string | null | undefined;
470
- };
471
- } | {
472
- GasKeyFunctionCall: {
473
- balance: string;
474
- num_nonces: number;
475
- receiver_id: string;
476
- method_names: string[];
477
- allowance?: string | null | undefined;
478
- };
479
- } | {
480
- GasKeyFullAccess: {
481
- balance: string;
482
- num_nonces: number;
483
- };
484
- };
485
- };
486
- };
487
- } | {
488
- DeleteKey: {
489
- public_key: string;
490
- };
491
- } | {
492
- DeleteAccount: {
493
- beneficiary_id: string;
494
- };
495
- } | {
496
- UseGlobalContract: {
497
- code_hash: string;
498
- };
499
- } | {
500
- UseGlobalContractByAccountId: {
501
- account_id: string;
502
- };
503
- } | {
504
- Delegate: {
505
- delegate_action: {
506
- sender_id: string;
507
- receiver_id: string;
508
- actions: any[];
509
- nonce: number;
510
- max_block_height: number;
511
- public_key: string;
512
- };
513
- signature: string;
514
- };
515
- } | {
516
- DeterministicStateInit: {
517
- deposit: string;
518
- };
519
- } | {
520
- TransferToGasKey: {
521
- public_key: string;
522
- deposit: string;
523
- };
524
- } | {
525
- WithdrawFromGasKey: {
526
- public_key: string;
527
- amount: string;
528
- };
529
- } | {
530
- DelegateV2: {
531
- delegate_action: {
532
- V2: {
533
- sender_id: string;
534
- receiver_id: string;
535
- actions: any[];
536
- nonce: {
537
- Nonce: {
538
- nonce: number;
539
- };
540
- } | {
541
- GasKeyNonce: {
542
- nonce: number;
543
- nonce_index: number;
544
- };
545
- };
546
- max_block_height: number;
547
- public_key: string;
548
- };
549
- };
550
- signature: string;
551
- };
552
- })[];
553
- signature: string;
554
- hash: string;
555
- priority_fee?: number | undefined;
556
- nonce_mode?: "monotonic" | "strict" | null | undefined;
557
- };
558
- transaction_outcome: {
559
- id: string;
560
- outcome: {
561
- logs: string[];
562
- receipt_ids: string[];
563
- gas_burnt: number;
564
- tokens_burnt: string;
565
- executor_id: string;
566
- status: "Pending" | "Unknown" | {
567
- SuccessValue: string;
568
- } | {
569
- SuccessReceiptId: string;
570
- } | {
571
- Failure: {
572
- [x: string]: any;
573
- error_message?: string | undefined;
574
- error_type?: string | undefined;
575
- };
576
- };
577
- metadata?: {
578
- gas_profile?: {
579
- [x: string]: any;
580
- cost?: string | undefined;
581
- cost_category?: string | undefined;
582
- gas_used?: string | undefined;
583
- }[] | null | undefined;
584
- version: 4;
585
- contracts?: ({
586
- local: string;
587
- } | {
588
- global_hash: string;
589
- } | {
590
- global_account_id: string;
591
- } | null)[] | null | undefined;
592
- } | {
593
- gas_profile?: {
594
- [x: string]: any;
595
- cost?: string | undefined;
596
- cost_category?: string | undefined;
597
- gas_used?: string | undefined;
598
- }[] | null | undefined;
599
- version: 1 | 2 | 3;
600
- } | {
601
- gas_profile?: {
602
- [x: string]: any;
603
- cost?: string | undefined;
604
- cost_category?: string | undefined;
605
- gas_used?: string | undefined;
606
- }[] | null | undefined;
607
- version: number;
608
- } | undefined;
609
- };
610
- block_hash: string;
611
- proof: {
612
- hash: string;
613
- direction: "Left" | "Right";
614
- }[];
615
- };
616
- receipts_outcome: {
617
- id: string;
618
- outcome: {
619
- logs: string[];
620
- receipt_ids: string[];
621
- gas_burnt: number;
622
- tokens_burnt: string;
623
- executor_id: string;
624
- status: "Pending" | "Unknown" | {
625
- SuccessValue: string;
626
- } | {
627
- SuccessReceiptId: string;
628
- } | {
629
- Failure: {
630
- [x: string]: any;
631
- error_message?: string | undefined;
632
- error_type?: string | undefined;
633
- };
634
- };
635
- metadata?: {
636
- gas_profile?: {
637
- [x: string]: any;
638
- cost?: string | undefined;
639
- cost_category?: string | undefined;
640
- gas_used?: string | undefined;
641
- }[] | null | undefined;
642
- version: 4;
643
- contracts?: ({
644
- local: string;
645
- } | {
646
- global_hash: string;
647
- } | {
648
- global_account_id: string;
649
- } | null)[] | null | undefined;
650
- } | {
651
- gas_profile?: {
652
- [x: string]: any;
653
- cost?: string | undefined;
654
- cost_category?: string | undefined;
655
- gas_used?: string | undefined;
656
- }[] | null | undefined;
657
- version: 1 | 2 | 3;
658
- } | {
659
- gas_profile?: {
660
- [x: string]: any;
661
- cost?: string | undefined;
662
- cost_category?: string | undefined;
663
- gas_used?: string | undefined;
664
- }[] | null | undefined;
665
- version: number;
666
- } | undefined;
667
- };
668
- block_hash: string;
669
- proof: {
670
- hash: string;
671
- direction: "Left" | "Right";
672
- }[];
673
- }[];
674
- } | {
675
- final_execution_status: "EXECUTED";
676
- status: "Pending" | "Unknown" | {
677
- SuccessValue: string;
678
- } | {
679
- SuccessReceiptId: string;
680
- } | {
681
- Failure: {
682
- [x: string]: any;
683
- error_message?: string | undefined;
684
- error_type?: string | undefined;
685
- };
686
- };
687
- transaction: {
688
- signer_id: string;
689
- public_key: string;
690
- nonce: number;
691
- receiver_id: string;
692
- actions: ("CreateAccount" | {
693
- CreateAccount: Record<string, never>;
694
- } | {
695
- Transfer: {
696
- deposit: string;
697
- };
698
- } | {
699
- FunctionCall: {
700
- method_name: string;
701
- args: string;
702
- gas: number;
703
- deposit: string;
704
- };
705
- } | {
706
- DeployContract: {
707
- code: string;
708
- };
709
- } | {
710
- DeployGlobalContract: {
711
- code: string;
712
- };
713
- } | {
714
- DeployGlobalContractByAccountId: {
715
- code: string;
716
- };
717
- } | {
718
- Stake: {
719
- stake: string;
720
- public_key: string;
721
- };
722
- } | {
723
- AddKey: {
724
- public_key: string;
725
- access_key: {
726
- nonce: number;
727
- permission: "FullAccess" | {
728
- FunctionCall: {
729
- receiver_id: string;
730
- method_names: string[];
731
- allowance?: string | null | undefined;
732
- };
733
- } | {
734
- GasKeyFunctionCall: {
735
- balance: string;
736
- num_nonces: number;
737
- receiver_id: string;
738
- method_names: string[];
739
- allowance?: string | null | undefined;
740
- };
741
- } | {
742
- GasKeyFullAccess: {
743
- balance: string;
744
- num_nonces: number;
745
- };
746
- };
747
- };
748
- };
749
- } | {
750
- DeleteKey: {
751
- public_key: string;
752
- };
753
- } | {
754
- DeleteAccount: {
755
- beneficiary_id: string;
756
- };
757
- } | {
758
- UseGlobalContract: {
759
- code_hash: string;
760
- };
761
- } | {
762
- UseGlobalContractByAccountId: {
763
- account_id: string;
764
- };
765
- } | {
766
- Delegate: {
767
- delegate_action: {
768
- sender_id: string;
769
- receiver_id: string;
770
- actions: any[];
771
- nonce: number;
772
- max_block_height: number;
773
- public_key: string;
774
- };
775
- signature: string;
776
- };
777
- } | {
778
- DeterministicStateInit: {
779
- deposit: string;
780
- };
781
- } | {
782
- TransferToGasKey: {
783
- public_key: string;
784
- deposit: string;
785
- };
786
- } | {
787
- WithdrawFromGasKey: {
788
- public_key: string;
789
- amount: string;
790
- };
791
- } | {
792
- DelegateV2: {
793
- delegate_action: {
794
- V2: {
795
- sender_id: string;
796
- receiver_id: string;
797
- actions: any[];
798
- nonce: {
799
- Nonce: {
800
- nonce: number;
801
- };
802
- } | {
803
- GasKeyNonce: {
804
- nonce: number;
805
- nonce_index: number;
806
- };
807
- };
808
- max_block_height: number;
809
- public_key: string;
810
- };
811
- };
812
- signature: string;
813
- };
814
- })[];
815
- signature: string;
816
- hash: string;
817
- priority_fee?: number | undefined;
818
- nonce_mode?: "monotonic" | "strict" | null | undefined;
819
- };
820
- transaction_outcome: {
821
- id: string;
822
- outcome: {
823
- logs: string[];
824
- receipt_ids: string[];
825
- gas_burnt: number;
826
- tokens_burnt: string;
827
- executor_id: string;
828
- status: "Pending" | "Unknown" | {
829
- SuccessValue: string;
830
- } | {
831
- SuccessReceiptId: string;
832
- } | {
833
- Failure: {
834
- [x: string]: any;
835
- error_message?: string | undefined;
836
- error_type?: string | undefined;
837
- };
838
- };
839
- metadata?: {
840
- gas_profile?: {
841
- [x: string]: any;
842
- cost?: string | undefined;
843
- cost_category?: string | undefined;
844
- gas_used?: string | undefined;
845
- }[] | null | undefined;
846
- version: 4;
847
- contracts?: ({
848
- local: string;
849
- } | {
850
- global_hash: string;
851
- } | {
852
- global_account_id: string;
853
- } | null)[] | null | undefined;
854
- } | {
855
- gas_profile?: {
856
- [x: string]: any;
857
- cost?: string | undefined;
858
- cost_category?: string | undefined;
859
- gas_used?: string | undefined;
860
- }[] | null | undefined;
861
- version: 1 | 2 | 3;
862
- } | {
863
- gas_profile?: {
864
- [x: string]: any;
865
- cost?: string | undefined;
866
- cost_category?: string | undefined;
867
- gas_used?: string | undefined;
868
- }[] | null | undefined;
869
- version: number;
870
- } | undefined;
871
- };
872
- block_hash: string;
873
- proof: {
874
- hash: string;
875
- direction: "Left" | "Right";
876
- }[];
877
- };
878
- receipts_outcome: {
879
- id: string;
880
- outcome: {
881
- logs: string[];
882
- receipt_ids: string[];
883
- gas_burnt: number;
884
- tokens_burnt: string;
885
- executor_id: string;
886
- status: "Pending" | "Unknown" | {
887
- SuccessValue: string;
888
- } | {
889
- SuccessReceiptId: string;
890
- } | {
891
- Failure: {
892
- [x: string]: any;
893
- error_message?: string | undefined;
894
- error_type?: string | undefined;
895
- };
896
- };
897
- metadata?: {
898
- gas_profile?: {
899
- [x: string]: any;
900
- cost?: string | undefined;
901
- cost_category?: string | undefined;
902
- gas_used?: string | undefined;
903
- }[] | null | undefined;
904
- version: 4;
905
- contracts?: ({
906
- local: string;
907
- } | {
908
- global_hash: string;
909
- } | {
910
- global_account_id: string;
911
- } | null)[] | null | undefined;
912
- } | {
913
- gas_profile?: {
914
- [x: string]: any;
915
- cost?: string | undefined;
916
- cost_category?: string | undefined;
917
- gas_used?: string | undefined;
918
- }[] | null | undefined;
919
- version: 1 | 2 | 3;
920
- } | {
921
- gas_profile?: {
922
- [x: string]: any;
923
- cost?: string | undefined;
924
- cost_category?: string | undefined;
925
- gas_used?: string | undefined;
926
- }[] | null | undefined;
927
- version: number;
928
- } | undefined;
929
- };
930
- block_hash: string;
931
- proof: {
932
- hash: string;
933
- direction: "Left" | "Right";
934
- }[];
935
- }[];
936
- } | {
937
- final_execution_status: "FINAL";
938
- status: "Pending" | "Unknown" | {
939
- SuccessValue: string;
940
- } | {
941
- SuccessReceiptId: string;
942
- } | {
943
- Failure: {
944
- [x: string]: any;
945
- error_message?: string | undefined;
946
- error_type?: string | undefined;
947
- };
948
- };
949
- transaction: {
950
- signer_id: string;
951
- public_key: string;
952
- nonce: number;
953
- receiver_id: string;
954
- actions: ("CreateAccount" | {
955
- CreateAccount: Record<string, never>;
956
- } | {
957
- Transfer: {
958
- deposit: string;
959
- };
960
- } | {
961
- FunctionCall: {
962
- method_name: string;
963
- args: string;
964
- gas: number;
965
- deposit: string;
966
- };
967
- } | {
968
- DeployContract: {
969
- code: string;
970
- };
971
- } | {
972
- DeployGlobalContract: {
973
- code: string;
974
- };
975
- } | {
976
- DeployGlobalContractByAccountId: {
977
- code: string;
978
- };
979
- } | {
980
- Stake: {
981
- stake: string;
982
- public_key: string;
983
- };
984
- } | {
985
- AddKey: {
986
- public_key: string;
987
- access_key: {
988
- nonce: number;
989
- permission: "FullAccess" | {
990
- FunctionCall: {
991
- receiver_id: string;
992
- method_names: string[];
993
- allowance?: string | null | undefined;
994
- };
995
- } | {
996
- GasKeyFunctionCall: {
997
- balance: string;
998
- num_nonces: number;
999
- receiver_id: string;
1000
- method_names: string[];
1001
- allowance?: string | null | undefined;
1002
- };
1003
- } | {
1004
- GasKeyFullAccess: {
1005
- balance: string;
1006
- num_nonces: number;
1007
- };
1008
- };
1009
- };
1010
- };
1011
- } | {
1012
- DeleteKey: {
1013
- public_key: string;
1014
- };
1015
- } | {
1016
- DeleteAccount: {
1017
- beneficiary_id: string;
1018
- };
1019
- } | {
1020
- UseGlobalContract: {
1021
- code_hash: string;
1022
- };
1023
- } | {
1024
- UseGlobalContractByAccountId: {
1025
- account_id: string;
1026
- };
1027
- } | {
1028
- Delegate: {
1029
- delegate_action: {
1030
- sender_id: string;
1031
- receiver_id: string;
1032
- actions: any[];
1033
- nonce: number;
1034
- max_block_height: number;
1035
- public_key: string;
1036
- };
1037
- signature: string;
1038
- };
1039
- } | {
1040
- DeterministicStateInit: {
1041
- deposit: string;
1042
- };
1043
- } | {
1044
- TransferToGasKey: {
1045
- public_key: string;
1046
- deposit: string;
1047
- };
1048
- } | {
1049
- WithdrawFromGasKey: {
1050
- public_key: string;
1051
- amount: string;
1052
- };
1053
- } | {
1054
- DelegateV2: {
1055
- delegate_action: {
1056
- V2: {
1057
- sender_id: string;
1058
- receiver_id: string;
1059
- actions: any[];
1060
- nonce: {
1061
- Nonce: {
1062
- nonce: number;
1063
- };
1064
- } | {
1065
- GasKeyNonce: {
1066
- nonce: number;
1067
- nonce_index: number;
1068
- };
1069
- };
1070
- max_block_height: number;
1071
- public_key: string;
1072
- };
1073
- };
1074
- signature: string;
1075
- };
1076
- })[];
1077
- signature: string;
1078
- hash: string;
1079
- priority_fee?: number | undefined;
1080
- nonce_mode?: "monotonic" | "strict" | null | undefined;
1081
- };
1082
- transaction_outcome: {
1083
- id: string;
1084
- outcome: {
1085
- logs: string[];
1086
- receipt_ids: string[];
1087
- gas_burnt: number;
1088
- tokens_burnt: string;
1089
- executor_id: string;
1090
- status: "Pending" | "Unknown" | {
1091
- SuccessValue: string;
1092
- } | {
1093
- SuccessReceiptId: string;
1094
- } | {
1095
- Failure: {
1096
- [x: string]: any;
1097
- error_message?: string | undefined;
1098
- error_type?: string | undefined;
1099
- };
1100
- };
1101
- metadata?: {
1102
- gas_profile?: {
1103
- [x: string]: any;
1104
- cost?: string | undefined;
1105
- cost_category?: string | undefined;
1106
- gas_used?: string | undefined;
1107
- }[] | null | undefined;
1108
- version: 4;
1109
- contracts?: ({
1110
- local: string;
1111
- } | {
1112
- global_hash: string;
1113
- } | {
1114
- global_account_id: string;
1115
- } | null)[] | null | undefined;
1116
- } | {
1117
- gas_profile?: {
1118
- [x: string]: any;
1119
- cost?: string | undefined;
1120
- cost_category?: string | undefined;
1121
- gas_used?: string | undefined;
1122
- }[] | null | undefined;
1123
- version: 1 | 2 | 3;
1124
- } | {
1125
- gas_profile?: {
1126
- [x: string]: any;
1127
- cost?: string | undefined;
1128
- cost_category?: string | undefined;
1129
- gas_used?: string | undefined;
1130
- }[] | null | undefined;
1131
- version: number;
1132
- } | undefined;
1133
- };
1134
- block_hash: string;
1135
- proof: {
1136
- hash: string;
1137
- direction: "Left" | "Right";
1138
- }[];
1139
- };
1140
- receipts_outcome: {
1141
- id: string;
1142
- outcome: {
1143
- logs: string[];
1144
- receipt_ids: string[];
1145
- gas_burnt: number;
1146
- tokens_burnt: string;
1147
- executor_id: string;
1148
- status: "Pending" | "Unknown" | {
1149
- SuccessValue: string;
1150
- } | {
1151
- SuccessReceiptId: string;
1152
- } | {
1153
- Failure: {
1154
- [x: string]: any;
1155
- error_message?: string | undefined;
1156
- error_type?: string | undefined;
1157
- };
1158
- };
1159
- metadata?: {
1160
- gas_profile?: {
1161
- [x: string]: any;
1162
- cost?: string | undefined;
1163
- cost_category?: string | undefined;
1164
- gas_used?: string | undefined;
1165
- }[] | null | undefined;
1166
- version: 4;
1167
- contracts?: ({
1168
- local: string;
1169
- } | {
1170
- global_hash: string;
1171
- } | {
1172
- global_account_id: string;
1173
- } | null)[] | null | undefined;
1174
- } | {
1175
- gas_profile?: {
1176
- [x: string]: any;
1177
- cost?: string | undefined;
1178
- cost_category?: string | undefined;
1179
- gas_used?: string | undefined;
1180
- }[] | null | undefined;
1181
- version: 1 | 2 | 3;
1182
- } | {
1183
- gas_profile?: {
1184
- [x: string]: any;
1185
- cost?: string | undefined;
1186
- cost_category?: string | undefined;
1187
- gas_used?: string | undefined;
1188
- }[] | null | undefined;
1189
- version: number;
1190
- } | undefined;
1191
- };
1192
- block_hash: string;
1193
- proof: {
1194
- hash: string;
1195
- direction: "Left" | "Right";
1196
- }[];
1197
- }[];
1198
- }>;
1199
- export declare function ft_transfer_call_fun(near: Near, ft_contractId: string, receiver_id: ft_args_params_interface["receiver_id"], msg: ft_args_params_interface["msg"], amount: ft_args_params_interface["amount"]): Promise<{
1200
- final_execution_status: "NONE";
1201
- transaction?: {
1202
- hash: string;
1203
- signer_id: string;
1204
- receiver_id: string;
1205
- nonce: number;
1206
- } | undefined;
1207
- status?: "Pending" | "Unknown" | {
1208
- SuccessValue: string;
1209
- } | {
1210
- SuccessReceiptId: string;
1211
- } | {
1212
- Failure: {
1213
- [x: string]: any;
1214
- error_message?: string | undefined;
1215
- error_type?: string | undefined;
1216
- };
1217
- } | undefined;
1218
- transaction_outcome?: {
1219
- id: string;
1220
- outcome: {
1221
- logs: string[];
1222
- receipt_ids: string[];
1223
- gas_burnt: number;
1224
- tokens_burnt: string;
1225
- executor_id: string;
1226
- status: "Pending" | "Unknown" | {
1227
- SuccessValue: string;
1228
- } | {
1229
- SuccessReceiptId: string;
1230
- } | {
1231
- Failure: {
1232
- [x: string]: any;
1233
- error_message?: string | undefined;
1234
- error_type?: string | undefined;
1235
- };
1236
- };
1237
- metadata?: {
1238
- gas_profile?: {
1239
- [x: string]: any;
1240
- cost?: string | undefined;
1241
- cost_category?: string | undefined;
1242
- gas_used?: string | undefined;
1243
- }[] | null | undefined;
1244
- version: 4;
1245
- contracts?: ({
1246
- local: string;
1247
- } | {
1248
- global_hash: string;
1249
- } | {
1250
- global_account_id: string;
1251
- } | null)[] | null | undefined;
1252
- } | {
1253
- gas_profile?: {
1254
- [x: string]: any;
1255
- cost?: string | undefined;
1256
- cost_category?: string | undefined;
1257
- gas_used?: string | undefined;
1258
- }[] | null | undefined;
1259
- version: 1 | 2 | 3;
1260
- } | {
1261
- gas_profile?: {
1262
- [x: string]: any;
1263
- cost?: string | undefined;
1264
- cost_category?: string | undefined;
1265
- gas_used?: string | undefined;
1266
- }[] | null | undefined;
1267
- version: number;
1268
- } | undefined;
1269
- };
1270
- block_hash: string;
1271
- proof: {
1272
- hash: string;
1273
- direction: "Left" | "Right";
1274
- }[];
1275
- } | undefined;
1276
- receipts_outcome?: {
1277
- id: string;
1278
- outcome: {
1279
- logs: string[];
1280
- receipt_ids: string[];
1281
- gas_burnt: number;
1282
- tokens_burnt: string;
1283
- executor_id: string;
1284
- status: "Pending" | "Unknown" | {
1285
- SuccessValue: string;
1286
- } | {
1287
- SuccessReceiptId: string;
1288
- } | {
1289
- Failure: {
1290
- [x: string]: any;
1291
- error_message?: string | undefined;
1292
- error_type?: string | undefined;
1293
- };
1294
- };
1295
- metadata?: {
1296
- gas_profile?: {
1297
- [x: string]: any;
1298
- cost?: string | undefined;
1299
- cost_category?: string | undefined;
1300
- gas_used?: string | undefined;
1301
- }[] | null | undefined;
1302
- version: 4;
1303
- contracts?: ({
1304
- local: string;
1305
- } | {
1306
- global_hash: string;
1307
- } | {
1308
- global_account_id: string;
1309
- } | null)[] | null | undefined;
1310
- } | {
1311
- gas_profile?: {
1312
- [x: string]: any;
1313
- cost?: string | undefined;
1314
- cost_category?: string | undefined;
1315
- gas_used?: string | undefined;
1316
- }[] | null | undefined;
1317
- version: 1 | 2 | 3;
1318
- } | {
1319
- gas_profile?: {
1320
- [x: string]: any;
1321
- cost?: string | undefined;
1322
- cost_category?: string | undefined;
1323
- gas_used?: string | undefined;
1324
- }[] | null | undefined;
1325
- version: number;
1326
- } | undefined;
1327
- };
1328
- block_hash: string;
1329
- proof: {
1330
- hash: string;
1331
- direction: "Left" | "Right";
1332
- }[];
1333
- }[] | undefined;
1334
- } | {
1335
- final_execution_status: "INCLUDED";
1336
- transaction?: {
1337
- hash: string;
1338
- signer_id: string;
1339
- receiver_id: string;
1340
- nonce: number;
1341
- } | undefined;
1342
- status?: "Pending" | "Unknown" | {
1343
- SuccessValue: string;
1344
- } | {
1345
- SuccessReceiptId: string;
1346
- } | {
1347
- Failure: {
1348
- [x: string]: any;
1349
- error_message?: string | undefined;
1350
- error_type?: string | undefined;
1351
- };
1352
- } | undefined;
1353
- transaction_outcome?: {
1354
- id: string;
1355
- outcome: {
1356
- logs: string[];
1357
- receipt_ids: string[];
1358
- gas_burnt: number;
1359
- tokens_burnt: string;
1360
- executor_id: string;
1361
- status: "Pending" | "Unknown" | {
1362
- SuccessValue: string;
1363
- } | {
1364
- SuccessReceiptId: string;
1365
- } | {
1366
- Failure: {
1367
- [x: string]: any;
1368
- error_message?: string | undefined;
1369
- error_type?: string | undefined;
1370
- };
1371
- };
1372
- metadata?: {
1373
- gas_profile?: {
1374
- [x: string]: any;
1375
- cost?: string | undefined;
1376
- cost_category?: string | undefined;
1377
- gas_used?: string | undefined;
1378
- }[] | null | undefined;
1379
- version: 4;
1380
- contracts?: ({
1381
- local: string;
1382
- } | {
1383
- global_hash: string;
1384
- } | {
1385
- global_account_id: string;
1386
- } | null)[] | null | undefined;
1387
- } | {
1388
- gas_profile?: {
1389
- [x: string]: any;
1390
- cost?: string | undefined;
1391
- cost_category?: string | undefined;
1392
- gas_used?: string | undefined;
1393
- }[] | null | undefined;
1394
- version: 1 | 2 | 3;
1395
- } | {
1396
- gas_profile?: {
1397
- [x: string]: any;
1398
- cost?: string | undefined;
1399
- cost_category?: string | undefined;
1400
- gas_used?: string | undefined;
1401
- }[] | null | undefined;
1402
- version: number;
1403
- } | undefined;
1404
- };
1405
- block_hash: string;
1406
- proof: {
1407
- hash: string;
1408
- direction: "Left" | "Right";
1409
- }[];
1410
- } | undefined;
1411
- receipts_outcome?: {
1412
- id: string;
1413
- outcome: {
1414
- logs: string[];
1415
- receipt_ids: string[];
1416
- gas_burnt: number;
1417
- tokens_burnt: string;
1418
- executor_id: string;
1419
- status: "Pending" | "Unknown" | {
1420
- SuccessValue: string;
1421
- } | {
1422
- SuccessReceiptId: string;
1423
- } | {
1424
- Failure: {
1425
- [x: string]: any;
1426
- error_message?: string | undefined;
1427
- error_type?: string | undefined;
1428
- };
1429
- };
1430
- metadata?: {
1431
- gas_profile?: {
1432
- [x: string]: any;
1433
- cost?: string | undefined;
1434
- cost_category?: string | undefined;
1435
- gas_used?: string | undefined;
1436
- }[] | null | undefined;
1437
- version: 4;
1438
- contracts?: ({
1439
- local: string;
1440
- } | {
1441
- global_hash: string;
1442
- } | {
1443
- global_account_id: string;
1444
- } | null)[] | null | undefined;
1445
- } | {
1446
- gas_profile?: {
1447
- [x: string]: any;
1448
- cost?: string | undefined;
1449
- cost_category?: string | undefined;
1450
- gas_used?: string | undefined;
1451
- }[] | null | undefined;
1452
- version: 1 | 2 | 3;
1453
- } | {
1454
- gas_profile?: {
1455
- [x: string]: any;
1456
- cost?: string | undefined;
1457
- cost_category?: string | undefined;
1458
- gas_used?: string | undefined;
1459
- }[] | null | undefined;
1460
- version: number;
1461
- } | undefined;
1462
- };
1463
- block_hash: string;
1464
- proof: {
1465
- hash: string;
1466
- direction: "Left" | "Right";
1467
- }[];
1468
- }[] | undefined;
1469
- } | {
1470
- final_execution_status: "INCLUDED_FINAL";
1471
- transaction?: {
1472
- hash: string;
1473
- signer_id: string;
1474
- receiver_id: string;
1475
- nonce: number;
1476
- } | undefined;
1477
- status?: "Pending" | "Unknown" | {
1478
- SuccessValue: string;
1479
- } | {
1480
- SuccessReceiptId: string;
1481
- } | {
1482
- Failure: {
1483
- [x: string]: any;
1484
- error_message?: string | undefined;
1485
- error_type?: string | undefined;
1486
- };
1487
- } | undefined;
1488
- transaction_outcome?: {
1489
- id: string;
1490
- outcome: {
1491
- logs: string[];
1492
- receipt_ids: string[];
1493
- gas_burnt: number;
1494
- tokens_burnt: string;
1495
- executor_id: string;
1496
- status: "Pending" | "Unknown" | {
1497
- SuccessValue: string;
1498
- } | {
1499
- SuccessReceiptId: string;
1500
- } | {
1501
- Failure: {
1502
- [x: string]: any;
1503
- error_message?: string | undefined;
1504
- error_type?: string | undefined;
1505
- };
1506
- };
1507
- metadata?: {
1508
- gas_profile?: {
1509
- [x: string]: any;
1510
- cost?: string | undefined;
1511
- cost_category?: string | undefined;
1512
- gas_used?: string | undefined;
1513
- }[] | null | undefined;
1514
- version: 4;
1515
- contracts?: ({
1516
- local: string;
1517
- } | {
1518
- global_hash: string;
1519
- } | {
1520
- global_account_id: string;
1521
- } | null)[] | null | undefined;
1522
- } | {
1523
- gas_profile?: {
1524
- [x: string]: any;
1525
- cost?: string | undefined;
1526
- cost_category?: string | undefined;
1527
- gas_used?: string | undefined;
1528
- }[] | null | undefined;
1529
- version: 1 | 2 | 3;
1530
- } | {
1531
- gas_profile?: {
1532
- [x: string]: any;
1533
- cost?: string | undefined;
1534
- cost_category?: string | undefined;
1535
- gas_used?: string | undefined;
1536
- }[] | null | undefined;
1537
- version: number;
1538
- } | undefined;
1539
- };
1540
- block_hash: string;
1541
- proof: {
1542
- hash: string;
1543
- direction: "Left" | "Right";
1544
- }[];
1545
- } | undefined;
1546
- receipts_outcome?: {
1547
- id: string;
1548
- outcome: {
1549
- logs: string[];
1550
- receipt_ids: string[];
1551
- gas_burnt: number;
1552
- tokens_burnt: string;
1553
- executor_id: string;
1554
- status: "Pending" | "Unknown" | {
1555
- SuccessValue: string;
1556
- } | {
1557
- SuccessReceiptId: string;
1558
- } | {
1559
- Failure: {
1560
- [x: string]: any;
1561
- error_message?: string | undefined;
1562
- error_type?: string | undefined;
1563
- };
1564
- };
1565
- metadata?: {
1566
- gas_profile?: {
1567
- [x: string]: any;
1568
- cost?: string | undefined;
1569
- cost_category?: string | undefined;
1570
- gas_used?: string | undefined;
1571
- }[] | null | undefined;
1572
- version: 4;
1573
- contracts?: ({
1574
- local: string;
1575
- } | {
1576
- global_hash: string;
1577
- } | {
1578
- global_account_id: string;
1579
- } | null)[] | null | undefined;
1580
- } | {
1581
- gas_profile?: {
1582
- [x: string]: any;
1583
- cost?: string | undefined;
1584
- cost_category?: string | undefined;
1585
- gas_used?: string | undefined;
1586
- }[] | null | undefined;
1587
- version: 1 | 2 | 3;
1588
- } | {
1589
- gas_profile?: {
1590
- [x: string]: any;
1591
- cost?: string | undefined;
1592
- cost_category?: string | undefined;
1593
- gas_used?: string | undefined;
1594
- }[] | null | undefined;
1595
- version: number;
1596
- } | undefined;
1597
- };
1598
- block_hash: string;
1599
- proof: {
1600
- hash: string;
1601
- direction: "Left" | "Right";
1602
- }[];
1603
- }[] | undefined;
1604
- } | {
1605
- final_execution_status: "EXECUTED_OPTIMISTIC";
1606
- status: "Pending" | "Unknown" | {
1607
- SuccessValue: string;
1608
- } | {
1609
- SuccessReceiptId: string;
1610
- } | {
1611
- Failure: {
1612
- [x: string]: any;
1613
- error_message?: string | undefined;
1614
- error_type?: string | undefined;
1615
- };
1616
- };
1617
- transaction: {
1618
- signer_id: string;
1619
- public_key: string;
1620
- nonce: number;
1621
- receiver_id: string;
1622
- actions: ("CreateAccount" | {
1623
- CreateAccount: Record<string, never>;
1624
- } | {
1625
- Transfer: {
1626
- deposit: string;
1627
- };
1628
- } | {
1629
- FunctionCall: {
1630
- method_name: string;
1631
- args: string;
1632
- gas: number;
1633
- deposit: string;
1634
- };
1635
- } | {
1636
- DeployContract: {
1637
- code: string;
1638
- };
1639
- } | {
1640
- DeployGlobalContract: {
1641
- code: string;
1642
- };
1643
- } | {
1644
- DeployGlobalContractByAccountId: {
1645
- code: string;
1646
- };
1647
- } | {
1648
- Stake: {
1649
- stake: string;
1650
- public_key: string;
1651
- };
1652
- } | {
1653
- AddKey: {
1654
- public_key: string;
1655
- access_key: {
1656
- nonce: number;
1657
- permission: "FullAccess" | {
1658
- FunctionCall: {
1659
- receiver_id: string;
1660
- method_names: string[];
1661
- allowance?: string | null | undefined;
1662
- };
1663
- } | {
1664
- GasKeyFunctionCall: {
1665
- balance: string;
1666
- num_nonces: number;
1667
- receiver_id: string;
1668
- method_names: string[];
1669
- allowance?: string | null | undefined;
1670
- };
1671
- } | {
1672
- GasKeyFullAccess: {
1673
- balance: string;
1674
- num_nonces: number;
1675
- };
1676
- };
1677
- };
1678
- };
1679
- } | {
1680
- DeleteKey: {
1681
- public_key: string;
1682
- };
1683
- } | {
1684
- DeleteAccount: {
1685
- beneficiary_id: string;
1686
- };
1687
- } | {
1688
- UseGlobalContract: {
1689
- code_hash: string;
1690
- };
1691
- } | {
1692
- UseGlobalContractByAccountId: {
1693
- account_id: string;
1694
- };
1695
- } | {
1696
- Delegate: {
1697
- delegate_action: {
1698
- sender_id: string;
1699
- receiver_id: string;
1700
- actions: any[];
1701
- nonce: number;
1702
- max_block_height: number;
1703
- public_key: string;
1704
- };
1705
- signature: string;
1706
- };
1707
- } | {
1708
- DeterministicStateInit: {
1709
- deposit: string;
1710
- };
1711
- } | {
1712
- TransferToGasKey: {
1713
- public_key: string;
1714
- deposit: string;
1715
- };
1716
- } | {
1717
- WithdrawFromGasKey: {
1718
- public_key: string;
1719
- amount: string;
1720
- };
1721
- } | {
1722
- DelegateV2: {
1723
- delegate_action: {
1724
- V2: {
1725
- sender_id: string;
1726
- receiver_id: string;
1727
- actions: any[];
1728
- nonce: {
1729
- Nonce: {
1730
- nonce: number;
1731
- };
1732
- } | {
1733
- GasKeyNonce: {
1734
- nonce: number;
1735
- nonce_index: number;
1736
- };
1737
- };
1738
- max_block_height: number;
1739
- public_key: string;
1740
- };
1741
- };
1742
- signature: string;
1743
- };
1744
- })[];
1745
- signature: string;
1746
- hash: string;
1747
- priority_fee?: number | undefined;
1748
- nonce_mode?: "monotonic" | "strict" | null | undefined;
1749
- };
1750
- transaction_outcome: {
1751
- id: string;
1752
- outcome: {
1753
- logs: string[];
1754
- receipt_ids: string[];
1755
- gas_burnt: number;
1756
- tokens_burnt: string;
1757
- executor_id: string;
1758
- status: "Pending" | "Unknown" | {
1759
- SuccessValue: string;
1760
- } | {
1761
- SuccessReceiptId: string;
1762
- } | {
1763
- Failure: {
1764
- [x: string]: any;
1765
- error_message?: string | undefined;
1766
- error_type?: string | undefined;
1767
- };
1768
- };
1769
- metadata?: {
1770
- gas_profile?: {
1771
- [x: string]: any;
1772
- cost?: string | undefined;
1773
- cost_category?: string | undefined;
1774
- gas_used?: string | undefined;
1775
- }[] | null | undefined;
1776
- version: 4;
1777
- contracts?: ({
1778
- local: string;
1779
- } | {
1780
- global_hash: string;
1781
- } | {
1782
- global_account_id: string;
1783
- } | null)[] | null | undefined;
1784
- } | {
1785
- gas_profile?: {
1786
- [x: string]: any;
1787
- cost?: string | undefined;
1788
- cost_category?: string | undefined;
1789
- gas_used?: string | undefined;
1790
- }[] | null | undefined;
1791
- version: 1 | 2 | 3;
1792
- } | {
1793
- gas_profile?: {
1794
- [x: string]: any;
1795
- cost?: string | undefined;
1796
- cost_category?: string | undefined;
1797
- gas_used?: string | undefined;
1798
- }[] | null | undefined;
1799
- version: number;
1800
- } | undefined;
1801
- };
1802
- block_hash: string;
1803
- proof: {
1804
- hash: string;
1805
- direction: "Left" | "Right";
1806
- }[];
1807
- };
1808
- receipts_outcome: {
1809
- id: string;
1810
- outcome: {
1811
- logs: string[];
1812
- receipt_ids: string[];
1813
- gas_burnt: number;
1814
- tokens_burnt: string;
1815
- executor_id: string;
1816
- status: "Pending" | "Unknown" | {
1817
- SuccessValue: string;
1818
- } | {
1819
- SuccessReceiptId: string;
1820
- } | {
1821
- Failure: {
1822
- [x: string]: any;
1823
- error_message?: string | undefined;
1824
- error_type?: string | undefined;
1825
- };
1826
- };
1827
- metadata?: {
1828
- gas_profile?: {
1829
- [x: string]: any;
1830
- cost?: string | undefined;
1831
- cost_category?: string | undefined;
1832
- gas_used?: string | undefined;
1833
- }[] | null | undefined;
1834
- version: 4;
1835
- contracts?: ({
1836
- local: string;
1837
- } | {
1838
- global_hash: string;
1839
- } | {
1840
- global_account_id: string;
1841
- } | null)[] | null | undefined;
1842
- } | {
1843
- gas_profile?: {
1844
- [x: string]: any;
1845
- cost?: string | undefined;
1846
- cost_category?: string | undefined;
1847
- gas_used?: string | undefined;
1848
- }[] | null | undefined;
1849
- version: 1 | 2 | 3;
1850
- } | {
1851
- gas_profile?: {
1852
- [x: string]: any;
1853
- cost?: string | undefined;
1854
- cost_category?: string | undefined;
1855
- gas_used?: string | undefined;
1856
- }[] | null | undefined;
1857
- version: number;
1858
- } | undefined;
1859
- };
1860
- block_hash: string;
1861
- proof: {
1862
- hash: string;
1863
- direction: "Left" | "Right";
1864
- }[];
1865
- }[];
1866
- } | {
1867
- final_execution_status: "EXECUTED";
1868
- status: "Pending" | "Unknown" | {
1869
- SuccessValue: string;
1870
- } | {
1871
- SuccessReceiptId: string;
1872
- } | {
1873
- Failure: {
1874
- [x: string]: any;
1875
- error_message?: string | undefined;
1876
- error_type?: string | undefined;
1877
- };
1878
- };
1879
- transaction: {
1880
- signer_id: string;
1881
- public_key: string;
1882
- nonce: number;
1883
- receiver_id: string;
1884
- actions: ("CreateAccount" | {
1885
- CreateAccount: Record<string, never>;
1886
- } | {
1887
- Transfer: {
1888
- deposit: string;
1889
- };
1890
- } | {
1891
- FunctionCall: {
1892
- method_name: string;
1893
- args: string;
1894
- gas: number;
1895
- deposit: string;
1896
- };
1897
- } | {
1898
- DeployContract: {
1899
- code: string;
1900
- };
1901
- } | {
1902
- DeployGlobalContract: {
1903
- code: string;
1904
- };
1905
- } | {
1906
- DeployGlobalContractByAccountId: {
1907
- code: string;
1908
- };
1909
- } | {
1910
- Stake: {
1911
- stake: string;
1912
- public_key: string;
1913
- };
1914
- } | {
1915
- AddKey: {
1916
- public_key: string;
1917
- access_key: {
1918
- nonce: number;
1919
- permission: "FullAccess" | {
1920
- FunctionCall: {
1921
- receiver_id: string;
1922
- method_names: string[];
1923
- allowance?: string | null | undefined;
1924
- };
1925
- } | {
1926
- GasKeyFunctionCall: {
1927
- balance: string;
1928
- num_nonces: number;
1929
- receiver_id: string;
1930
- method_names: string[];
1931
- allowance?: string | null | undefined;
1932
- };
1933
- } | {
1934
- GasKeyFullAccess: {
1935
- balance: string;
1936
- num_nonces: number;
1937
- };
1938
- };
1939
- };
1940
- };
1941
- } | {
1942
- DeleteKey: {
1943
- public_key: string;
1944
- };
1945
- } | {
1946
- DeleteAccount: {
1947
- beneficiary_id: string;
1948
- };
1949
- } | {
1950
- UseGlobalContract: {
1951
- code_hash: string;
1952
- };
1953
- } | {
1954
- UseGlobalContractByAccountId: {
1955
- account_id: string;
1956
- };
1957
- } | {
1958
- Delegate: {
1959
- delegate_action: {
1960
- sender_id: string;
1961
- receiver_id: string;
1962
- actions: any[];
1963
- nonce: number;
1964
- max_block_height: number;
1965
- public_key: string;
1966
- };
1967
- signature: string;
1968
- };
1969
- } | {
1970
- DeterministicStateInit: {
1971
- deposit: string;
1972
- };
1973
- } | {
1974
- TransferToGasKey: {
1975
- public_key: string;
1976
- deposit: string;
1977
- };
1978
- } | {
1979
- WithdrawFromGasKey: {
1980
- public_key: string;
1981
- amount: string;
1982
- };
1983
- } | {
1984
- DelegateV2: {
1985
- delegate_action: {
1986
- V2: {
1987
- sender_id: string;
1988
- receiver_id: string;
1989
- actions: any[];
1990
- nonce: {
1991
- Nonce: {
1992
- nonce: number;
1993
- };
1994
- } | {
1995
- GasKeyNonce: {
1996
- nonce: number;
1997
- nonce_index: number;
1998
- };
1999
- };
2000
- max_block_height: number;
2001
- public_key: string;
2002
- };
2003
- };
2004
- signature: string;
2005
- };
2006
- })[];
2007
- signature: string;
2008
- hash: string;
2009
- priority_fee?: number | undefined;
2010
- nonce_mode?: "monotonic" | "strict" | null | undefined;
2011
- };
2012
- transaction_outcome: {
2013
- id: string;
2014
- outcome: {
2015
- logs: string[];
2016
- receipt_ids: string[];
2017
- gas_burnt: number;
2018
- tokens_burnt: string;
2019
- executor_id: string;
2020
- status: "Pending" | "Unknown" | {
2021
- SuccessValue: string;
2022
- } | {
2023
- SuccessReceiptId: string;
2024
- } | {
2025
- Failure: {
2026
- [x: string]: any;
2027
- error_message?: string | undefined;
2028
- error_type?: string | undefined;
2029
- };
2030
- };
2031
- metadata?: {
2032
- gas_profile?: {
2033
- [x: string]: any;
2034
- cost?: string | undefined;
2035
- cost_category?: string | undefined;
2036
- gas_used?: string | undefined;
2037
- }[] | null | undefined;
2038
- version: 4;
2039
- contracts?: ({
2040
- local: string;
2041
- } | {
2042
- global_hash: string;
2043
- } | {
2044
- global_account_id: string;
2045
- } | null)[] | null | undefined;
2046
- } | {
2047
- gas_profile?: {
2048
- [x: string]: any;
2049
- cost?: string | undefined;
2050
- cost_category?: string | undefined;
2051
- gas_used?: string | undefined;
2052
- }[] | null | undefined;
2053
- version: 1 | 2 | 3;
2054
- } | {
2055
- gas_profile?: {
2056
- [x: string]: any;
2057
- cost?: string | undefined;
2058
- cost_category?: string | undefined;
2059
- gas_used?: string | undefined;
2060
- }[] | null | undefined;
2061
- version: number;
2062
- } | undefined;
2063
- };
2064
- block_hash: string;
2065
- proof: {
2066
- hash: string;
2067
- direction: "Left" | "Right";
2068
- }[];
2069
- };
2070
- receipts_outcome: {
2071
- id: string;
2072
- outcome: {
2073
- logs: string[];
2074
- receipt_ids: string[];
2075
- gas_burnt: number;
2076
- tokens_burnt: string;
2077
- executor_id: string;
2078
- status: "Pending" | "Unknown" | {
2079
- SuccessValue: string;
2080
- } | {
2081
- SuccessReceiptId: string;
2082
- } | {
2083
- Failure: {
2084
- [x: string]: any;
2085
- error_message?: string | undefined;
2086
- error_type?: string | undefined;
2087
- };
2088
- };
2089
- metadata?: {
2090
- gas_profile?: {
2091
- [x: string]: any;
2092
- cost?: string | undefined;
2093
- cost_category?: string | undefined;
2094
- gas_used?: string | undefined;
2095
- }[] | null | undefined;
2096
- version: 4;
2097
- contracts?: ({
2098
- local: string;
2099
- } | {
2100
- global_hash: string;
2101
- } | {
2102
- global_account_id: string;
2103
- } | null)[] | null | undefined;
2104
- } | {
2105
- gas_profile?: {
2106
- [x: string]: any;
2107
- cost?: string | undefined;
2108
- cost_category?: string | undefined;
2109
- gas_used?: string | undefined;
2110
- }[] | null | undefined;
2111
- version: 1 | 2 | 3;
2112
- } | {
2113
- gas_profile?: {
2114
- [x: string]: any;
2115
- cost?: string | undefined;
2116
- cost_category?: string | undefined;
2117
- gas_used?: string | undefined;
2118
- }[] | null | undefined;
2119
- version: number;
2120
- } | undefined;
2121
- };
2122
- block_hash: string;
2123
- proof: {
2124
- hash: string;
2125
- direction: "Left" | "Right";
2126
- }[];
2127
- }[];
2128
- } | {
2129
- final_execution_status: "FINAL";
2130
- status: "Pending" | "Unknown" | {
2131
- SuccessValue: string;
2132
- } | {
2133
- SuccessReceiptId: string;
2134
- } | {
2135
- Failure: {
2136
- [x: string]: any;
2137
- error_message?: string | undefined;
2138
- error_type?: string | undefined;
2139
- };
2140
- };
2141
- transaction: {
2142
- signer_id: string;
2143
- public_key: string;
2144
- nonce: number;
2145
- receiver_id: string;
2146
- actions: ("CreateAccount" | {
2147
- CreateAccount: Record<string, never>;
2148
- } | {
2149
- Transfer: {
2150
- deposit: string;
2151
- };
2152
- } | {
2153
- FunctionCall: {
2154
- method_name: string;
2155
- args: string;
2156
- gas: number;
2157
- deposit: string;
2158
- };
2159
- } | {
2160
- DeployContract: {
2161
- code: string;
2162
- };
2163
- } | {
2164
- DeployGlobalContract: {
2165
- code: string;
2166
- };
2167
- } | {
2168
- DeployGlobalContractByAccountId: {
2169
- code: string;
2170
- };
2171
- } | {
2172
- Stake: {
2173
- stake: string;
2174
- public_key: string;
2175
- };
2176
- } | {
2177
- AddKey: {
2178
- public_key: string;
2179
- access_key: {
2180
- nonce: number;
2181
- permission: "FullAccess" | {
2182
- FunctionCall: {
2183
- receiver_id: string;
2184
- method_names: string[];
2185
- allowance?: string | null | undefined;
2186
- };
2187
- } | {
2188
- GasKeyFunctionCall: {
2189
- balance: string;
2190
- num_nonces: number;
2191
- receiver_id: string;
2192
- method_names: string[];
2193
- allowance?: string | null | undefined;
2194
- };
2195
- } | {
2196
- GasKeyFullAccess: {
2197
- balance: string;
2198
- num_nonces: number;
2199
- };
2200
- };
2201
- };
2202
- };
2203
- } | {
2204
- DeleteKey: {
2205
- public_key: string;
2206
- };
2207
- } | {
2208
- DeleteAccount: {
2209
- beneficiary_id: string;
2210
- };
2211
- } | {
2212
- UseGlobalContract: {
2213
- code_hash: string;
2214
- };
2215
- } | {
2216
- UseGlobalContractByAccountId: {
2217
- account_id: string;
2218
- };
2219
- } | {
2220
- Delegate: {
2221
- delegate_action: {
2222
- sender_id: string;
2223
- receiver_id: string;
2224
- actions: any[];
2225
- nonce: number;
2226
- max_block_height: number;
2227
- public_key: string;
2228
- };
2229
- signature: string;
2230
- };
2231
- } | {
2232
- DeterministicStateInit: {
2233
- deposit: string;
2234
- };
2235
- } | {
2236
- TransferToGasKey: {
2237
- public_key: string;
2238
- deposit: string;
2239
- };
2240
- } | {
2241
- WithdrawFromGasKey: {
2242
- public_key: string;
2243
- amount: string;
2244
- };
2245
- } | {
2246
- DelegateV2: {
2247
- delegate_action: {
2248
- V2: {
2249
- sender_id: string;
2250
- receiver_id: string;
2251
- actions: any[];
2252
- nonce: {
2253
- Nonce: {
2254
- nonce: number;
2255
- };
2256
- } | {
2257
- GasKeyNonce: {
2258
- nonce: number;
2259
- nonce_index: number;
2260
- };
2261
- };
2262
- max_block_height: number;
2263
- public_key: string;
2264
- };
2265
- };
2266
- signature: string;
2267
- };
2268
- })[];
2269
- signature: string;
2270
- hash: string;
2271
- priority_fee?: number | undefined;
2272
- nonce_mode?: "monotonic" | "strict" | null | undefined;
2273
- };
2274
- transaction_outcome: {
2275
- id: string;
2276
- outcome: {
2277
- logs: string[];
2278
- receipt_ids: string[];
2279
- gas_burnt: number;
2280
- tokens_burnt: string;
2281
- executor_id: string;
2282
- status: "Pending" | "Unknown" | {
2283
- SuccessValue: string;
2284
- } | {
2285
- SuccessReceiptId: string;
2286
- } | {
2287
- Failure: {
2288
- [x: string]: any;
2289
- error_message?: string | undefined;
2290
- error_type?: string | undefined;
2291
- };
2292
- };
2293
- metadata?: {
2294
- gas_profile?: {
2295
- [x: string]: any;
2296
- cost?: string | undefined;
2297
- cost_category?: string | undefined;
2298
- gas_used?: string | undefined;
2299
- }[] | null | undefined;
2300
- version: 4;
2301
- contracts?: ({
2302
- local: string;
2303
- } | {
2304
- global_hash: string;
2305
- } | {
2306
- global_account_id: string;
2307
- } | null)[] | null | undefined;
2308
- } | {
2309
- gas_profile?: {
2310
- [x: string]: any;
2311
- cost?: string | undefined;
2312
- cost_category?: string | undefined;
2313
- gas_used?: string | undefined;
2314
- }[] | null | undefined;
2315
- version: 1 | 2 | 3;
2316
- } | {
2317
- gas_profile?: {
2318
- [x: string]: any;
2319
- cost?: string | undefined;
2320
- cost_category?: string | undefined;
2321
- gas_used?: string | undefined;
2322
- }[] | null | undefined;
2323
- version: number;
2324
- } | undefined;
2325
- };
2326
- block_hash: string;
2327
- proof: {
2328
- hash: string;
2329
- direction: "Left" | "Right";
2330
- }[];
2331
- };
2332
- receipts_outcome: {
2333
- id: string;
2334
- outcome: {
2335
- logs: string[];
2336
- receipt_ids: string[];
2337
- gas_burnt: number;
2338
- tokens_burnt: string;
2339
- executor_id: string;
2340
- status: "Pending" | "Unknown" | {
2341
- SuccessValue: string;
2342
- } | {
2343
- SuccessReceiptId: string;
2344
- } | {
2345
- Failure: {
2346
- [x: string]: any;
2347
- error_message?: string | undefined;
2348
- error_type?: string | undefined;
2349
- };
2350
- };
2351
- metadata?: {
2352
- gas_profile?: {
2353
- [x: string]: any;
2354
- cost?: string | undefined;
2355
- cost_category?: string | undefined;
2356
- gas_used?: string | undefined;
2357
- }[] | null | undefined;
2358
- version: 4;
2359
- contracts?: ({
2360
- local: string;
2361
- } | {
2362
- global_hash: string;
2363
- } | {
2364
- global_account_id: string;
2365
- } | null)[] | null | undefined;
2366
- } | {
2367
- gas_profile?: {
2368
- [x: string]: any;
2369
- cost?: string | undefined;
2370
- cost_category?: string | undefined;
2371
- gas_used?: string | undefined;
2372
- }[] | null | undefined;
2373
- version: 1 | 2 | 3;
2374
- } | {
2375
- gas_profile?: {
2376
- [x: string]: any;
2377
- cost?: string | undefined;
2378
- cost_category?: string | undefined;
2379
- gas_used?: string | undefined;
2380
- }[] | null | undefined;
2381
- version: number;
2382
- } | undefined;
2383
- };
2384
- block_hash: string;
2385
- proof: {
2386
- hash: string;
2387
- direction: "Left" | "Right";
2388
- }[];
2389
- }[];
2390
- }>;
2391
- export declare function ft_storage_deposit_fun(near: Near, ft_contractId: string): Promise<{
2392
- final_execution_status: "NONE";
2393
- transaction?: {
2394
- hash: string;
2395
- signer_id: string;
2396
- receiver_id: string;
2397
- nonce: number;
2398
- } | undefined;
2399
- status?: "Pending" | "Unknown" | {
2400
- SuccessValue: string;
2401
- } | {
2402
- SuccessReceiptId: string;
2403
- } | {
2404
- Failure: {
2405
- [x: string]: any;
2406
- error_message?: string | undefined;
2407
- error_type?: string | undefined;
2408
- };
2409
- } | undefined;
2410
- transaction_outcome?: {
2411
- id: string;
2412
- outcome: {
2413
- logs: string[];
2414
- receipt_ids: string[];
2415
- gas_burnt: number;
2416
- tokens_burnt: string;
2417
- executor_id: string;
2418
- status: "Pending" | "Unknown" | {
2419
- SuccessValue: string;
2420
- } | {
2421
- SuccessReceiptId: string;
2422
- } | {
2423
- Failure: {
2424
- [x: string]: any;
2425
- error_message?: string | undefined;
2426
- error_type?: string | undefined;
2427
- };
2428
- };
2429
- metadata?: {
2430
- gas_profile?: {
2431
- [x: string]: any;
2432
- cost?: string | undefined;
2433
- cost_category?: string | undefined;
2434
- gas_used?: string | undefined;
2435
- }[] | null | undefined;
2436
- version: 4;
2437
- contracts?: ({
2438
- local: string;
2439
- } | {
2440
- global_hash: string;
2441
- } | {
2442
- global_account_id: string;
2443
- } | null)[] | null | undefined;
2444
- } | {
2445
- gas_profile?: {
2446
- [x: string]: any;
2447
- cost?: string | undefined;
2448
- cost_category?: string | undefined;
2449
- gas_used?: string | undefined;
2450
- }[] | null | undefined;
2451
- version: 1 | 2 | 3;
2452
- } | {
2453
- gas_profile?: {
2454
- [x: string]: any;
2455
- cost?: string | undefined;
2456
- cost_category?: string | undefined;
2457
- gas_used?: string | undefined;
2458
- }[] | null | undefined;
2459
- version: number;
2460
- } | undefined;
2461
- };
2462
- block_hash: string;
2463
- proof: {
2464
- hash: string;
2465
- direction: "Left" | "Right";
2466
- }[];
2467
- } | undefined;
2468
- receipts_outcome?: {
2469
- id: string;
2470
- outcome: {
2471
- logs: string[];
2472
- receipt_ids: string[];
2473
- gas_burnt: number;
2474
- tokens_burnt: string;
2475
- executor_id: string;
2476
- status: "Pending" | "Unknown" | {
2477
- SuccessValue: string;
2478
- } | {
2479
- SuccessReceiptId: string;
2480
- } | {
2481
- Failure: {
2482
- [x: string]: any;
2483
- error_message?: string | undefined;
2484
- error_type?: string | undefined;
2485
- };
2486
- };
2487
- metadata?: {
2488
- gas_profile?: {
2489
- [x: string]: any;
2490
- cost?: string | undefined;
2491
- cost_category?: string | undefined;
2492
- gas_used?: string | undefined;
2493
- }[] | null | undefined;
2494
- version: 4;
2495
- contracts?: ({
2496
- local: string;
2497
- } | {
2498
- global_hash: string;
2499
- } | {
2500
- global_account_id: string;
2501
- } | null)[] | null | undefined;
2502
- } | {
2503
- gas_profile?: {
2504
- [x: string]: any;
2505
- cost?: string | undefined;
2506
- cost_category?: string | undefined;
2507
- gas_used?: string | undefined;
2508
- }[] | null | undefined;
2509
- version: 1 | 2 | 3;
2510
- } | {
2511
- gas_profile?: {
2512
- [x: string]: any;
2513
- cost?: string | undefined;
2514
- cost_category?: string | undefined;
2515
- gas_used?: string | undefined;
2516
- }[] | null | undefined;
2517
- version: number;
2518
- } | undefined;
2519
- };
2520
- block_hash: string;
2521
- proof: {
2522
- hash: string;
2523
- direction: "Left" | "Right";
2524
- }[];
2525
- }[] | undefined;
2526
- } | {
2527
- final_execution_status: "INCLUDED";
2528
- transaction?: {
2529
- hash: string;
2530
- signer_id: string;
2531
- receiver_id: string;
2532
- nonce: number;
2533
- } | undefined;
2534
- status?: "Pending" | "Unknown" | {
2535
- SuccessValue: string;
2536
- } | {
2537
- SuccessReceiptId: string;
2538
- } | {
2539
- Failure: {
2540
- [x: string]: any;
2541
- error_message?: string | undefined;
2542
- error_type?: string | undefined;
2543
- };
2544
- } | undefined;
2545
- transaction_outcome?: {
2546
- id: string;
2547
- outcome: {
2548
- logs: string[];
2549
- receipt_ids: string[];
2550
- gas_burnt: number;
2551
- tokens_burnt: string;
2552
- executor_id: string;
2553
- status: "Pending" | "Unknown" | {
2554
- SuccessValue: string;
2555
- } | {
2556
- SuccessReceiptId: string;
2557
- } | {
2558
- Failure: {
2559
- [x: string]: any;
2560
- error_message?: string | undefined;
2561
- error_type?: string | undefined;
2562
- };
2563
- };
2564
- metadata?: {
2565
- gas_profile?: {
2566
- [x: string]: any;
2567
- cost?: string | undefined;
2568
- cost_category?: string | undefined;
2569
- gas_used?: string | undefined;
2570
- }[] | null | undefined;
2571
- version: 4;
2572
- contracts?: ({
2573
- local: string;
2574
- } | {
2575
- global_hash: string;
2576
- } | {
2577
- global_account_id: string;
2578
- } | null)[] | null | undefined;
2579
- } | {
2580
- gas_profile?: {
2581
- [x: string]: any;
2582
- cost?: string | undefined;
2583
- cost_category?: string | undefined;
2584
- gas_used?: string | undefined;
2585
- }[] | null | undefined;
2586
- version: 1 | 2 | 3;
2587
- } | {
2588
- gas_profile?: {
2589
- [x: string]: any;
2590
- cost?: string | undefined;
2591
- cost_category?: string | undefined;
2592
- gas_used?: string | undefined;
2593
- }[] | null | undefined;
2594
- version: number;
2595
- } | undefined;
2596
- };
2597
- block_hash: string;
2598
- proof: {
2599
- hash: string;
2600
- direction: "Left" | "Right";
2601
- }[];
2602
- } | undefined;
2603
- receipts_outcome?: {
2604
- id: string;
2605
- outcome: {
2606
- logs: string[];
2607
- receipt_ids: string[];
2608
- gas_burnt: number;
2609
- tokens_burnt: string;
2610
- executor_id: string;
2611
- status: "Pending" | "Unknown" | {
2612
- SuccessValue: string;
2613
- } | {
2614
- SuccessReceiptId: string;
2615
- } | {
2616
- Failure: {
2617
- [x: string]: any;
2618
- error_message?: string | undefined;
2619
- error_type?: string | undefined;
2620
- };
2621
- };
2622
- metadata?: {
2623
- gas_profile?: {
2624
- [x: string]: any;
2625
- cost?: string | undefined;
2626
- cost_category?: string | undefined;
2627
- gas_used?: string | undefined;
2628
- }[] | null | undefined;
2629
- version: 4;
2630
- contracts?: ({
2631
- local: string;
2632
- } | {
2633
- global_hash: string;
2634
- } | {
2635
- global_account_id: string;
2636
- } | null)[] | null | undefined;
2637
- } | {
2638
- gas_profile?: {
2639
- [x: string]: any;
2640
- cost?: string | undefined;
2641
- cost_category?: string | undefined;
2642
- gas_used?: string | undefined;
2643
- }[] | null | undefined;
2644
- version: 1 | 2 | 3;
2645
- } | {
2646
- gas_profile?: {
2647
- [x: string]: any;
2648
- cost?: string | undefined;
2649
- cost_category?: string | undefined;
2650
- gas_used?: string | undefined;
2651
- }[] | null | undefined;
2652
- version: number;
2653
- } | undefined;
2654
- };
2655
- block_hash: string;
2656
- proof: {
2657
- hash: string;
2658
- direction: "Left" | "Right";
2659
- }[];
2660
- }[] | undefined;
2661
- } | {
2662
- final_execution_status: "INCLUDED_FINAL";
2663
- transaction?: {
2664
- hash: string;
2665
- signer_id: string;
2666
- receiver_id: string;
2667
- nonce: number;
2668
- } | undefined;
2669
- status?: "Pending" | "Unknown" | {
2670
- SuccessValue: string;
2671
- } | {
2672
- SuccessReceiptId: string;
2673
- } | {
2674
- Failure: {
2675
- [x: string]: any;
2676
- error_message?: string | undefined;
2677
- error_type?: string | undefined;
2678
- };
2679
- } | undefined;
2680
- transaction_outcome?: {
2681
- id: string;
2682
- outcome: {
2683
- logs: string[];
2684
- receipt_ids: string[];
2685
- gas_burnt: number;
2686
- tokens_burnt: string;
2687
- executor_id: string;
2688
- status: "Pending" | "Unknown" | {
2689
- SuccessValue: string;
2690
- } | {
2691
- SuccessReceiptId: string;
2692
- } | {
2693
- Failure: {
2694
- [x: string]: any;
2695
- error_message?: string | undefined;
2696
- error_type?: string | undefined;
2697
- };
2698
- };
2699
- metadata?: {
2700
- gas_profile?: {
2701
- [x: string]: any;
2702
- cost?: string | undefined;
2703
- cost_category?: string | undefined;
2704
- gas_used?: string | undefined;
2705
- }[] | null | undefined;
2706
- version: 4;
2707
- contracts?: ({
2708
- local: string;
2709
- } | {
2710
- global_hash: string;
2711
- } | {
2712
- global_account_id: string;
2713
- } | null)[] | null | undefined;
2714
- } | {
2715
- gas_profile?: {
2716
- [x: string]: any;
2717
- cost?: string | undefined;
2718
- cost_category?: string | undefined;
2719
- gas_used?: string | undefined;
2720
- }[] | null | undefined;
2721
- version: 1 | 2 | 3;
2722
- } | {
2723
- gas_profile?: {
2724
- [x: string]: any;
2725
- cost?: string | undefined;
2726
- cost_category?: string | undefined;
2727
- gas_used?: string | undefined;
2728
- }[] | null | undefined;
2729
- version: number;
2730
- } | undefined;
2731
- };
2732
- block_hash: string;
2733
- proof: {
2734
- hash: string;
2735
- direction: "Left" | "Right";
2736
- }[];
2737
- } | undefined;
2738
- receipts_outcome?: {
2739
- id: string;
2740
- outcome: {
2741
- logs: string[];
2742
- receipt_ids: string[];
2743
- gas_burnt: number;
2744
- tokens_burnt: string;
2745
- executor_id: string;
2746
- status: "Pending" | "Unknown" | {
2747
- SuccessValue: string;
2748
- } | {
2749
- SuccessReceiptId: string;
2750
- } | {
2751
- Failure: {
2752
- [x: string]: any;
2753
- error_message?: string | undefined;
2754
- error_type?: string | undefined;
2755
- };
2756
- };
2757
- metadata?: {
2758
- gas_profile?: {
2759
- [x: string]: any;
2760
- cost?: string | undefined;
2761
- cost_category?: string | undefined;
2762
- gas_used?: string | undefined;
2763
- }[] | null | undefined;
2764
- version: 4;
2765
- contracts?: ({
2766
- local: string;
2767
- } | {
2768
- global_hash: string;
2769
- } | {
2770
- global_account_id: string;
2771
- } | null)[] | null | undefined;
2772
- } | {
2773
- gas_profile?: {
2774
- [x: string]: any;
2775
- cost?: string | undefined;
2776
- cost_category?: string | undefined;
2777
- gas_used?: string | undefined;
2778
- }[] | null | undefined;
2779
- version: 1 | 2 | 3;
2780
- } | {
2781
- gas_profile?: {
2782
- [x: string]: any;
2783
- cost?: string | undefined;
2784
- cost_category?: string | undefined;
2785
- gas_used?: string | undefined;
2786
- }[] | null | undefined;
2787
- version: number;
2788
- } | undefined;
2789
- };
2790
- block_hash: string;
2791
- proof: {
2792
- hash: string;
2793
- direction: "Left" | "Right";
2794
- }[];
2795
- }[] | undefined;
2796
- } | {
2797
- final_execution_status: "EXECUTED_OPTIMISTIC";
2798
- status: "Pending" | "Unknown" | {
2799
- SuccessValue: string;
2800
- } | {
2801
- SuccessReceiptId: string;
2802
- } | {
2803
- Failure: {
2804
- [x: string]: any;
2805
- error_message?: string | undefined;
2806
- error_type?: string | undefined;
2807
- };
2808
- };
2809
- transaction: {
2810
- signer_id: string;
2811
- public_key: string;
2812
- nonce: number;
2813
- receiver_id: string;
2814
- actions: ("CreateAccount" | {
2815
- CreateAccount: Record<string, never>;
2816
- } | {
2817
- Transfer: {
2818
- deposit: string;
2819
- };
2820
- } | {
2821
- FunctionCall: {
2822
- method_name: string;
2823
- args: string;
2824
- gas: number;
2825
- deposit: string;
2826
- };
2827
- } | {
2828
- DeployContract: {
2829
- code: string;
2830
- };
2831
- } | {
2832
- DeployGlobalContract: {
2833
- code: string;
2834
- };
2835
- } | {
2836
- DeployGlobalContractByAccountId: {
2837
- code: string;
2838
- };
2839
- } | {
2840
- Stake: {
2841
- stake: string;
2842
- public_key: string;
2843
- };
2844
- } | {
2845
- AddKey: {
2846
- public_key: string;
2847
- access_key: {
2848
- nonce: number;
2849
- permission: "FullAccess" | {
2850
- FunctionCall: {
2851
- receiver_id: string;
2852
- method_names: string[];
2853
- allowance?: string | null | undefined;
2854
- };
2855
- } | {
2856
- GasKeyFunctionCall: {
2857
- balance: string;
2858
- num_nonces: number;
2859
- receiver_id: string;
2860
- method_names: string[];
2861
- allowance?: string | null | undefined;
2862
- };
2863
- } | {
2864
- GasKeyFullAccess: {
2865
- balance: string;
2866
- num_nonces: number;
2867
- };
2868
- };
2869
- };
2870
- };
2871
- } | {
2872
- DeleteKey: {
2873
- public_key: string;
2874
- };
2875
- } | {
2876
- DeleteAccount: {
2877
- beneficiary_id: string;
2878
- };
2879
- } | {
2880
- UseGlobalContract: {
2881
- code_hash: string;
2882
- };
2883
- } | {
2884
- UseGlobalContractByAccountId: {
2885
- account_id: string;
2886
- };
2887
- } | {
2888
- Delegate: {
2889
- delegate_action: {
2890
- sender_id: string;
2891
- receiver_id: string;
2892
- actions: any[];
2893
- nonce: number;
2894
- max_block_height: number;
2895
- public_key: string;
2896
- };
2897
- signature: string;
2898
- };
2899
- } | {
2900
- DeterministicStateInit: {
2901
- deposit: string;
2902
- };
2903
- } | {
2904
- TransferToGasKey: {
2905
- public_key: string;
2906
- deposit: string;
2907
- };
2908
- } | {
2909
- WithdrawFromGasKey: {
2910
- public_key: string;
2911
- amount: string;
2912
- };
2913
- } | {
2914
- DelegateV2: {
2915
- delegate_action: {
2916
- V2: {
2917
- sender_id: string;
2918
- receiver_id: string;
2919
- actions: any[];
2920
- nonce: {
2921
- Nonce: {
2922
- nonce: number;
2923
- };
2924
- } | {
2925
- GasKeyNonce: {
2926
- nonce: number;
2927
- nonce_index: number;
2928
- };
2929
- };
2930
- max_block_height: number;
2931
- public_key: string;
2932
- };
2933
- };
2934
- signature: string;
2935
- };
2936
- })[];
2937
- signature: string;
2938
- hash: string;
2939
- priority_fee?: number | undefined;
2940
- nonce_mode?: "monotonic" | "strict" | null | undefined;
2941
- };
2942
- transaction_outcome: {
2943
- id: string;
2944
- outcome: {
2945
- logs: string[];
2946
- receipt_ids: string[];
2947
- gas_burnt: number;
2948
- tokens_burnt: string;
2949
- executor_id: string;
2950
- status: "Pending" | "Unknown" | {
2951
- SuccessValue: string;
2952
- } | {
2953
- SuccessReceiptId: string;
2954
- } | {
2955
- Failure: {
2956
- [x: string]: any;
2957
- error_message?: string | undefined;
2958
- error_type?: string | undefined;
2959
- };
2960
- };
2961
- metadata?: {
2962
- gas_profile?: {
2963
- [x: string]: any;
2964
- cost?: string | undefined;
2965
- cost_category?: string | undefined;
2966
- gas_used?: string | undefined;
2967
- }[] | null | undefined;
2968
- version: 4;
2969
- contracts?: ({
2970
- local: string;
2971
- } | {
2972
- global_hash: string;
2973
- } | {
2974
- global_account_id: string;
2975
- } | null)[] | null | undefined;
2976
- } | {
2977
- gas_profile?: {
2978
- [x: string]: any;
2979
- cost?: string | undefined;
2980
- cost_category?: string | undefined;
2981
- gas_used?: string | undefined;
2982
- }[] | null | undefined;
2983
- version: 1 | 2 | 3;
2984
- } | {
2985
- gas_profile?: {
2986
- [x: string]: any;
2987
- cost?: string | undefined;
2988
- cost_category?: string | undefined;
2989
- gas_used?: string | undefined;
2990
- }[] | null | undefined;
2991
- version: number;
2992
- } | undefined;
2993
- };
2994
- block_hash: string;
2995
- proof: {
2996
- hash: string;
2997
- direction: "Left" | "Right";
2998
- }[];
2999
- };
3000
- receipts_outcome: {
3001
- id: string;
3002
- outcome: {
3003
- logs: string[];
3004
- receipt_ids: string[];
3005
- gas_burnt: number;
3006
- tokens_burnt: string;
3007
- executor_id: string;
3008
- status: "Pending" | "Unknown" | {
3009
- SuccessValue: string;
3010
- } | {
3011
- SuccessReceiptId: string;
3012
- } | {
3013
- Failure: {
3014
- [x: string]: any;
3015
- error_message?: string | undefined;
3016
- error_type?: string | undefined;
3017
- };
3018
- };
3019
- metadata?: {
3020
- gas_profile?: {
3021
- [x: string]: any;
3022
- cost?: string | undefined;
3023
- cost_category?: string | undefined;
3024
- gas_used?: string | undefined;
3025
- }[] | null | undefined;
3026
- version: 4;
3027
- contracts?: ({
3028
- local: string;
3029
- } | {
3030
- global_hash: string;
3031
- } | {
3032
- global_account_id: string;
3033
- } | null)[] | null | undefined;
3034
- } | {
3035
- gas_profile?: {
3036
- [x: string]: any;
3037
- cost?: string | undefined;
3038
- cost_category?: string | undefined;
3039
- gas_used?: string | undefined;
3040
- }[] | null | undefined;
3041
- version: 1 | 2 | 3;
3042
- } | {
3043
- gas_profile?: {
3044
- [x: string]: any;
3045
- cost?: string | undefined;
3046
- cost_category?: string | undefined;
3047
- gas_used?: string | undefined;
3048
- }[] | null | undefined;
3049
- version: number;
3050
- } | undefined;
3051
- };
3052
- block_hash: string;
3053
- proof: {
3054
- hash: string;
3055
- direction: "Left" | "Right";
3056
- }[];
3057
- }[];
3058
- } | {
3059
- final_execution_status: "EXECUTED";
3060
- status: "Pending" | "Unknown" | {
3061
- SuccessValue: string;
3062
- } | {
3063
- SuccessReceiptId: string;
3064
- } | {
3065
- Failure: {
3066
- [x: string]: any;
3067
- error_message?: string | undefined;
3068
- error_type?: string | undefined;
3069
- };
3070
- };
3071
- transaction: {
3072
- signer_id: string;
3073
- public_key: string;
3074
- nonce: number;
3075
- receiver_id: string;
3076
- actions: ("CreateAccount" | {
3077
- CreateAccount: Record<string, never>;
3078
- } | {
3079
- Transfer: {
3080
- deposit: string;
3081
- };
3082
- } | {
3083
- FunctionCall: {
3084
- method_name: string;
3085
- args: string;
3086
- gas: number;
3087
- deposit: string;
3088
- };
3089
- } | {
3090
- DeployContract: {
3091
- code: string;
3092
- };
3093
- } | {
3094
- DeployGlobalContract: {
3095
- code: string;
3096
- };
3097
- } | {
3098
- DeployGlobalContractByAccountId: {
3099
- code: string;
3100
- };
3101
- } | {
3102
- Stake: {
3103
- stake: string;
3104
- public_key: string;
3105
- };
3106
- } | {
3107
- AddKey: {
3108
- public_key: string;
3109
- access_key: {
3110
- nonce: number;
3111
- permission: "FullAccess" | {
3112
- FunctionCall: {
3113
- receiver_id: string;
3114
- method_names: string[];
3115
- allowance?: string | null | undefined;
3116
- };
3117
- } | {
3118
- GasKeyFunctionCall: {
3119
- balance: string;
3120
- num_nonces: number;
3121
- receiver_id: string;
3122
- method_names: string[];
3123
- allowance?: string | null | undefined;
3124
- };
3125
- } | {
3126
- GasKeyFullAccess: {
3127
- balance: string;
3128
- num_nonces: number;
3129
- };
3130
- };
3131
- };
3132
- };
3133
- } | {
3134
- DeleteKey: {
3135
- public_key: string;
3136
- };
3137
- } | {
3138
- DeleteAccount: {
3139
- beneficiary_id: string;
3140
- };
3141
- } | {
3142
- UseGlobalContract: {
3143
- code_hash: string;
3144
- };
3145
- } | {
3146
- UseGlobalContractByAccountId: {
3147
- account_id: string;
3148
- };
3149
- } | {
3150
- Delegate: {
3151
- delegate_action: {
3152
- sender_id: string;
3153
- receiver_id: string;
3154
- actions: any[];
3155
- nonce: number;
3156
- max_block_height: number;
3157
- public_key: string;
3158
- };
3159
- signature: string;
3160
- };
3161
- } | {
3162
- DeterministicStateInit: {
3163
- deposit: string;
3164
- };
3165
- } | {
3166
- TransferToGasKey: {
3167
- public_key: string;
3168
- deposit: string;
3169
- };
3170
- } | {
3171
- WithdrawFromGasKey: {
3172
- public_key: string;
3173
- amount: string;
3174
- };
3175
- } | {
3176
- DelegateV2: {
3177
- delegate_action: {
3178
- V2: {
3179
- sender_id: string;
3180
- receiver_id: string;
3181
- actions: any[];
3182
- nonce: {
3183
- Nonce: {
3184
- nonce: number;
3185
- };
3186
- } | {
3187
- GasKeyNonce: {
3188
- nonce: number;
3189
- nonce_index: number;
3190
- };
3191
- };
3192
- max_block_height: number;
3193
- public_key: string;
3194
- };
3195
- };
3196
- signature: string;
3197
- };
3198
- })[];
3199
- signature: string;
3200
- hash: string;
3201
- priority_fee?: number | undefined;
3202
- nonce_mode?: "monotonic" | "strict" | null | undefined;
3203
- };
3204
- transaction_outcome: {
3205
- id: string;
3206
- outcome: {
3207
- logs: string[];
3208
- receipt_ids: string[];
3209
- gas_burnt: number;
3210
- tokens_burnt: string;
3211
- executor_id: string;
3212
- status: "Pending" | "Unknown" | {
3213
- SuccessValue: string;
3214
- } | {
3215
- SuccessReceiptId: string;
3216
- } | {
3217
- Failure: {
3218
- [x: string]: any;
3219
- error_message?: string | undefined;
3220
- error_type?: string | undefined;
3221
- };
3222
- };
3223
- metadata?: {
3224
- gas_profile?: {
3225
- [x: string]: any;
3226
- cost?: string | undefined;
3227
- cost_category?: string | undefined;
3228
- gas_used?: string | undefined;
3229
- }[] | null | undefined;
3230
- version: 4;
3231
- contracts?: ({
3232
- local: string;
3233
- } | {
3234
- global_hash: string;
3235
- } | {
3236
- global_account_id: string;
3237
- } | null)[] | null | undefined;
3238
- } | {
3239
- gas_profile?: {
3240
- [x: string]: any;
3241
- cost?: string | undefined;
3242
- cost_category?: string | undefined;
3243
- gas_used?: string | undefined;
3244
- }[] | null | undefined;
3245
- version: 1 | 2 | 3;
3246
- } | {
3247
- gas_profile?: {
3248
- [x: string]: any;
3249
- cost?: string | undefined;
3250
- cost_category?: string | undefined;
3251
- gas_used?: string | undefined;
3252
- }[] | null | undefined;
3253
- version: number;
3254
- } | undefined;
3255
- };
3256
- block_hash: string;
3257
- proof: {
3258
- hash: string;
3259
- direction: "Left" | "Right";
3260
- }[];
3261
- };
3262
- receipts_outcome: {
3263
- id: string;
3264
- outcome: {
3265
- logs: string[];
3266
- receipt_ids: string[];
3267
- gas_burnt: number;
3268
- tokens_burnt: string;
3269
- executor_id: string;
3270
- status: "Pending" | "Unknown" | {
3271
- SuccessValue: string;
3272
- } | {
3273
- SuccessReceiptId: string;
3274
- } | {
3275
- Failure: {
3276
- [x: string]: any;
3277
- error_message?: string | undefined;
3278
- error_type?: string | undefined;
3279
- };
3280
- };
3281
- metadata?: {
3282
- gas_profile?: {
3283
- [x: string]: any;
3284
- cost?: string | undefined;
3285
- cost_category?: string | undefined;
3286
- gas_used?: string | undefined;
3287
- }[] | null | undefined;
3288
- version: 4;
3289
- contracts?: ({
3290
- local: string;
3291
- } | {
3292
- global_hash: string;
3293
- } | {
3294
- global_account_id: string;
3295
- } | null)[] | null | undefined;
3296
- } | {
3297
- gas_profile?: {
3298
- [x: string]: any;
3299
- cost?: string | undefined;
3300
- cost_category?: string | undefined;
3301
- gas_used?: string | undefined;
3302
- }[] | null | undefined;
3303
- version: 1 | 2 | 3;
3304
- } | {
3305
- gas_profile?: {
3306
- [x: string]: any;
3307
- cost?: string | undefined;
3308
- cost_category?: string | undefined;
3309
- gas_used?: string | undefined;
3310
- }[] | null | undefined;
3311
- version: number;
3312
- } | undefined;
3313
- };
3314
- block_hash: string;
3315
- proof: {
3316
- hash: string;
3317
- direction: "Left" | "Right";
3318
- }[];
3319
- }[];
3320
- } | {
3321
- final_execution_status: "FINAL";
3322
- status: "Pending" | "Unknown" | {
3323
- SuccessValue: string;
3324
- } | {
3325
- SuccessReceiptId: string;
3326
- } | {
3327
- Failure: {
3328
- [x: string]: any;
3329
- error_message?: string | undefined;
3330
- error_type?: string | undefined;
3331
- };
3332
- };
3333
- transaction: {
3334
- signer_id: string;
3335
- public_key: string;
3336
- nonce: number;
3337
- receiver_id: string;
3338
- actions: ("CreateAccount" | {
3339
- CreateAccount: Record<string, never>;
3340
- } | {
3341
- Transfer: {
3342
- deposit: string;
3343
- };
3344
- } | {
3345
- FunctionCall: {
3346
- method_name: string;
3347
- args: string;
3348
- gas: number;
3349
- deposit: string;
3350
- };
3351
- } | {
3352
- DeployContract: {
3353
- code: string;
3354
- };
3355
- } | {
3356
- DeployGlobalContract: {
3357
- code: string;
3358
- };
3359
- } | {
3360
- DeployGlobalContractByAccountId: {
3361
- code: string;
3362
- };
3363
- } | {
3364
- Stake: {
3365
- stake: string;
3366
- public_key: string;
3367
- };
3368
- } | {
3369
- AddKey: {
3370
- public_key: string;
3371
- access_key: {
3372
- nonce: number;
3373
- permission: "FullAccess" | {
3374
- FunctionCall: {
3375
- receiver_id: string;
3376
- method_names: string[];
3377
- allowance?: string | null | undefined;
3378
- };
3379
- } | {
3380
- GasKeyFunctionCall: {
3381
- balance: string;
3382
- num_nonces: number;
3383
- receiver_id: string;
3384
- method_names: string[];
3385
- allowance?: string | null | undefined;
3386
- };
3387
- } | {
3388
- GasKeyFullAccess: {
3389
- balance: string;
3390
- num_nonces: number;
3391
- };
3392
- };
3393
- };
3394
- };
3395
- } | {
3396
- DeleteKey: {
3397
- public_key: string;
3398
- };
3399
- } | {
3400
- DeleteAccount: {
3401
- beneficiary_id: string;
3402
- };
3403
- } | {
3404
- UseGlobalContract: {
3405
- code_hash: string;
3406
- };
3407
- } | {
3408
- UseGlobalContractByAccountId: {
3409
- account_id: string;
3410
- };
3411
- } | {
3412
- Delegate: {
3413
- delegate_action: {
3414
- sender_id: string;
3415
- receiver_id: string;
3416
- actions: any[];
3417
- nonce: number;
3418
- max_block_height: number;
3419
- public_key: string;
3420
- };
3421
- signature: string;
3422
- };
3423
- } | {
3424
- DeterministicStateInit: {
3425
- deposit: string;
3426
- };
3427
- } | {
3428
- TransferToGasKey: {
3429
- public_key: string;
3430
- deposit: string;
3431
- };
3432
- } | {
3433
- WithdrawFromGasKey: {
3434
- public_key: string;
3435
- amount: string;
3436
- };
3437
- } | {
3438
- DelegateV2: {
3439
- delegate_action: {
3440
- V2: {
3441
- sender_id: string;
3442
- receiver_id: string;
3443
- actions: any[];
3444
- nonce: {
3445
- Nonce: {
3446
- nonce: number;
3447
- };
3448
- } | {
3449
- GasKeyNonce: {
3450
- nonce: number;
3451
- nonce_index: number;
3452
- };
3453
- };
3454
- max_block_height: number;
3455
- public_key: string;
3456
- };
3457
- };
3458
- signature: string;
3459
- };
3460
- })[];
3461
- signature: string;
3462
- hash: string;
3463
- priority_fee?: number | undefined;
3464
- nonce_mode?: "monotonic" | "strict" | null | undefined;
3465
- };
3466
- transaction_outcome: {
3467
- id: string;
3468
- outcome: {
3469
- logs: string[];
3470
- receipt_ids: string[];
3471
- gas_burnt: number;
3472
- tokens_burnt: string;
3473
- executor_id: string;
3474
- status: "Pending" | "Unknown" | {
3475
- SuccessValue: string;
3476
- } | {
3477
- SuccessReceiptId: string;
3478
- } | {
3479
- Failure: {
3480
- [x: string]: any;
3481
- error_message?: string | undefined;
3482
- error_type?: string | undefined;
3483
- };
3484
- };
3485
- metadata?: {
3486
- gas_profile?: {
3487
- [x: string]: any;
3488
- cost?: string | undefined;
3489
- cost_category?: string | undefined;
3490
- gas_used?: string | undefined;
3491
- }[] | null | undefined;
3492
- version: 4;
3493
- contracts?: ({
3494
- local: string;
3495
- } | {
3496
- global_hash: string;
3497
- } | {
3498
- global_account_id: string;
3499
- } | null)[] | null | undefined;
3500
- } | {
3501
- gas_profile?: {
3502
- [x: string]: any;
3503
- cost?: string | undefined;
3504
- cost_category?: string | undefined;
3505
- gas_used?: string | undefined;
3506
- }[] | null | undefined;
3507
- version: 1 | 2 | 3;
3508
- } | {
3509
- gas_profile?: {
3510
- [x: string]: any;
3511
- cost?: string | undefined;
3512
- cost_category?: string | undefined;
3513
- gas_used?: string | undefined;
3514
- }[] | null | undefined;
3515
- version: number;
3516
- } | undefined;
3517
- };
3518
- block_hash: string;
3519
- proof: {
3520
- hash: string;
3521
- direction: "Left" | "Right";
3522
- }[];
3523
- };
3524
- receipts_outcome: {
3525
- id: string;
3526
- outcome: {
3527
- logs: string[];
3528
- receipt_ids: string[];
3529
- gas_burnt: number;
3530
- tokens_burnt: string;
3531
- executor_id: string;
3532
- status: "Pending" | "Unknown" | {
3533
- SuccessValue: string;
3534
- } | {
3535
- SuccessReceiptId: string;
3536
- } | {
3537
- Failure: {
3538
- [x: string]: any;
3539
- error_message?: string | undefined;
3540
- error_type?: string | undefined;
3541
- };
3542
- };
3543
- metadata?: {
3544
- gas_profile?: {
3545
- [x: string]: any;
3546
- cost?: string | undefined;
3547
- cost_category?: string | undefined;
3548
- gas_used?: string | undefined;
3549
- }[] | null | undefined;
3550
- version: 4;
3551
- contracts?: ({
3552
- local: string;
3553
- } | {
3554
- global_hash: string;
3555
- } | {
3556
- global_account_id: string;
3557
- } | null)[] | null | undefined;
3558
- } | {
3559
- gas_profile?: {
3560
- [x: string]: any;
3561
- cost?: string | undefined;
3562
- cost_category?: string | undefined;
3563
- gas_used?: string | undefined;
3564
- }[] | null | undefined;
3565
- version: 1 | 2 | 3;
3566
- } | {
3567
- gas_profile?: {
3568
- [x: string]: any;
3569
- cost?: string | undefined;
3570
- cost_category?: string | undefined;
3571
- gas_used?: string | undefined;
3572
- }[] | null | undefined;
3573
- version: number;
3574
- } | undefined;
3575
- };
3576
- block_hash: string;
3577
- proof: {
3578
- hash: string;
3579
- direction: "Left" | "Right";
3580
- }[];
3581
- }[];
3582
- }>;
3583
- //# sourceMappingURL=ft_fun.d.ts.map