@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,4772 +0,0 @@
1
- import { Near } from "near-kit";
2
- import type { ref_args_params_interface, ref_swap_action_type } from "../../lib/contract_rhea_args";
3
- import type { AmountInput } from "../../types/AmountInput";
4
- export declare function ref_storage_deposit_function(near: Near, rhea_contractId: string, amount: AmountInput): Promise<{
5
- final_execution_status: "NONE";
6
- transaction?: {
7
- hash: string;
8
- signer_id: string;
9
- receiver_id: string;
10
- nonce: number;
11
- } | undefined;
12
- status?: "Pending" | "Unknown" | {
13
- SuccessValue: string;
14
- } | {
15
- SuccessReceiptId: string;
16
- } | {
17
- Failure: {
18
- [x: string]: any;
19
- error_message?: string | undefined;
20
- error_type?: string | undefined;
21
- };
22
- } | undefined;
23
- transaction_outcome?: {
24
- id: string;
25
- outcome: {
26
- logs: string[];
27
- receipt_ids: string[];
28
- gas_burnt: number;
29
- tokens_burnt: string;
30
- executor_id: string;
31
- status: "Pending" | "Unknown" | {
32
- SuccessValue: string;
33
- } | {
34
- SuccessReceiptId: string;
35
- } | {
36
- Failure: {
37
- [x: string]: any;
38
- error_message?: string | undefined;
39
- error_type?: string | undefined;
40
- };
41
- };
42
- metadata?: {
43
- gas_profile?: {
44
- [x: string]: any;
45
- cost?: string | undefined;
46
- cost_category?: string | undefined;
47
- gas_used?: string | undefined;
48
- }[] | null | undefined;
49
- version: 4;
50
- contracts?: ({
51
- local: string;
52
- } | {
53
- global_hash: string;
54
- } | {
55
- global_account_id: string;
56
- } | null)[] | null | undefined;
57
- } | {
58
- gas_profile?: {
59
- [x: string]: any;
60
- cost?: string | undefined;
61
- cost_category?: string | undefined;
62
- gas_used?: string | undefined;
63
- }[] | null | undefined;
64
- version: 1 | 2 | 3;
65
- } | {
66
- gas_profile?: {
67
- [x: string]: any;
68
- cost?: string | undefined;
69
- cost_category?: string | undefined;
70
- gas_used?: string | undefined;
71
- }[] | null | undefined;
72
- version: number;
73
- } | undefined;
74
- };
75
- block_hash: string;
76
- proof: {
77
- hash: string;
78
- direction: "Left" | "Right";
79
- }[];
80
- } | undefined;
81
- receipts_outcome?: {
82
- id: string;
83
- outcome: {
84
- logs: string[];
85
- receipt_ids: string[];
86
- gas_burnt: number;
87
- tokens_burnt: string;
88
- executor_id: string;
89
- status: "Pending" | "Unknown" | {
90
- SuccessValue: string;
91
- } | {
92
- SuccessReceiptId: string;
93
- } | {
94
- Failure: {
95
- [x: string]: any;
96
- error_message?: string | undefined;
97
- error_type?: string | undefined;
98
- };
99
- };
100
- metadata?: {
101
- gas_profile?: {
102
- [x: string]: any;
103
- cost?: string | undefined;
104
- cost_category?: string | undefined;
105
- gas_used?: string | undefined;
106
- }[] | null | undefined;
107
- version: 4;
108
- contracts?: ({
109
- local: string;
110
- } | {
111
- global_hash: string;
112
- } | {
113
- global_account_id: string;
114
- } | null)[] | null | undefined;
115
- } | {
116
- gas_profile?: {
117
- [x: string]: any;
118
- cost?: string | undefined;
119
- cost_category?: string | undefined;
120
- gas_used?: string | undefined;
121
- }[] | null | undefined;
122
- version: 1 | 2 | 3;
123
- } | {
124
- gas_profile?: {
125
- [x: string]: any;
126
- cost?: string | undefined;
127
- cost_category?: string | undefined;
128
- gas_used?: string | undefined;
129
- }[] | null | undefined;
130
- version: number;
131
- } | undefined;
132
- };
133
- block_hash: string;
134
- proof: {
135
- hash: string;
136
- direction: "Left" | "Right";
137
- }[];
138
- }[] | undefined;
139
- } | {
140
- final_execution_status: "INCLUDED";
141
- transaction?: {
142
- hash: string;
143
- signer_id: string;
144
- receiver_id: string;
145
- nonce: number;
146
- } | undefined;
147
- status?: "Pending" | "Unknown" | {
148
- SuccessValue: string;
149
- } | {
150
- SuccessReceiptId: string;
151
- } | {
152
- Failure: {
153
- [x: string]: any;
154
- error_message?: string | undefined;
155
- error_type?: string | undefined;
156
- };
157
- } | undefined;
158
- transaction_outcome?: {
159
- id: string;
160
- outcome: {
161
- logs: string[];
162
- receipt_ids: string[];
163
- gas_burnt: number;
164
- tokens_burnt: string;
165
- executor_id: string;
166
- status: "Pending" | "Unknown" | {
167
- SuccessValue: string;
168
- } | {
169
- SuccessReceiptId: string;
170
- } | {
171
- Failure: {
172
- [x: string]: any;
173
- error_message?: string | undefined;
174
- error_type?: string | undefined;
175
- };
176
- };
177
- metadata?: {
178
- gas_profile?: {
179
- [x: string]: any;
180
- cost?: string | undefined;
181
- cost_category?: string | undefined;
182
- gas_used?: string | undefined;
183
- }[] | null | undefined;
184
- version: 4;
185
- contracts?: ({
186
- local: string;
187
- } | {
188
- global_hash: string;
189
- } | {
190
- global_account_id: string;
191
- } | null)[] | null | undefined;
192
- } | {
193
- gas_profile?: {
194
- [x: string]: any;
195
- cost?: string | undefined;
196
- cost_category?: string | undefined;
197
- gas_used?: string | undefined;
198
- }[] | null | undefined;
199
- version: 1 | 2 | 3;
200
- } | {
201
- gas_profile?: {
202
- [x: string]: any;
203
- cost?: string | undefined;
204
- cost_category?: string | undefined;
205
- gas_used?: string | undefined;
206
- }[] | null | undefined;
207
- version: number;
208
- } | undefined;
209
- };
210
- block_hash: string;
211
- proof: {
212
- hash: string;
213
- direction: "Left" | "Right";
214
- }[];
215
- } | undefined;
216
- receipts_outcome?: {
217
- id: string;
218
- outcome: {
219
- logs: string[];
220
- receipt_ids: string[];
221
- gas_burnt: number;
222
- tokens_burnt: string;
223
- executor_id: string;
224
- status: "Pending" | "Unknown" | {
225
- SuccessValue: string;
226
- } | {
227
- SuccessReceiptId: string;
228
- } | {
229
- Failure: {
230
- [x: string]: any;
231
- error_message?: string | undefined;
232
- error_type?: string | undefined;
233
- };
234
- };
235
- metadata?: {
236
- gas_profile?: {
237
- [x: string]: any;
238
- cost?: string | undefined;
239
- cost_category?: string | undefined;
240
- gas_used?: string | undefined;
241
- }[] | null | undefined;
242
- version: 4;
243
- contracts?: ({
244
- local: string;
245
- } | {
246
- global_hash: string;
247
- } | {
248
- global_account_id: string;
249
- } | null)[] | null | undefined;
250
- } | {
251
- gas_profile?: {
252
- [x: string]: any;
253
- cost?: string | undefined;
254
- cost_category?: string | undefined;
255
- gas_used?: string | undefined;
256
- }[] | null | undefined;
257
- version: 1 | 2 | 3;
258
- } | {
259
- gas_profile?: {
260
- [x: string]: any;
261
- cost?: string | undefined;
262
- cost_category?: string | undefined;
263
- gas_used?: string | undefined;
264
- }[] | null | undefined;
265
- version: number;
266
- } | undefined;
267
- };
268
- block_hash: string;
269
- proof: {
270
- hash: string;
271
- direction: "Left" | "Right";
272
- }[];
273
- }[] | undefined;
274
- } | {
275
- final_execution_status: "INCLUDED_FINAL";
276
- transaction?: {
277
- hash: string;
278
- signer_id: string;
279
- receiver_id: string;
280
- nonce: number;
281
- } | undefined;
282
- status?: "Pending" | "Unknown" | {
283
- SuccessValue: string;
284
- } | {
285
- SuccessReceiptId: string;
286
- } | {
287
- Failure: {
288
- [x: string]: any;
289
- error_message?: string | undefined;
290
- error_type?: string | undefined;
291
- };
292
- } | undefined;
293
- transaction_outcome?: {
294
- id: string;
295
- outcome: {
296
- logs: string[];
297
- receipt_ids: string[];
298
- gas_burnt: number;
299
- tokens_burnt: string;
300
- executor_id: string;
301
- status: "Pending" | "Unknown" | {
302
- SuccessValue: string;
303
- } | {
304
- SuccessReceiptId: string;
305
- } | {
306
- Failure: {
307
- [x: string]: any;
308
- error_message?: string | undefined;
309
- error_type?: string | undefined;
310
- };
311
- };
312
- metadata?: {
313
- gas_profile?: {
314
- [x: string]: any;
315
- cost?: string | undefined;
316
- cost_category?: string | undefined;
317
- gas_used?: string | undefined;
318
- }[] | null | undefined;
319
- version: 4;
320
- contracts?: ({
321
- local: string;
322
- } | {
323
- global_hash: string;
324
- } | {
325
- global_account_id: string;
326
- } | null)[] | null | undefined;
327
- } | {
328
- gas_profile?: {
329
- [x: string]: any;
330
- cost?: string | undefined;
331
- cost_category?: string | undefined;
332
- gas_used?: string | undefined;
333
- }[] | null | undefined;
334
- version: 1 | 2 | 3;
335
- } | {
336
- gas_profile?: {
337
- [x: string]: any;
338
- cost?: string | undefined;
339
- cost_category?: string | undefined;
340
- gas_used?: string | undefined;
341
- }[] | null | undefined;
342
- version: number;
343
- } | undefined;
344
- };
345
- block_hash: string;
346
- proof: {
347
- hash: string;
348
- direction: "Left" | "Right";
349
- }[];
350
- } | undefined;
351
- receipts_outcome?: {
352
- id: string;
353
- outcome: {
354
- logs: string[];
355
- receipt_ids: string[];
356
- gas_burnt: number;
357
- tokens_burnt: string;
358
- executor_id: string;
359
- status: "Pending" | "Unknown" | {
360
- SuccessValue: string;
361
- } | {
362
- SuccessReceiptId: string;
363
- } | {
364
- Failure: {
365
- [x: string]: any;
366
- error_message?: string | undefined;
367
- error_type?: string | undefined;
368
- };
369
- };
370
- metadata?: {
371
- gas_profile?: {
372
- [x: string]: any;
373
- cost?: string | undefined;
374
- cost_category?: string | undefined;
375
- gas_used?: string | undefined;
376
- }[] | null | undefined;
377
- version: 4;
378
- contracts?: ({
379
- local: string;
380
- } | {
381
- global_hash: string;
382
- } | {
383
- global_account_id: string;
384
- } | null)[] | null | undefined;
385
- } | {
386
- gas_profile?: {
387
- [x: string]: any;
388
- cost?: string | undefined;
389
- cost_category?: string | undefined;
390
- gas_used?: string | undefined;
391
- }[] | null | undefined;
392
- version: 1 | 2 | 3;
393
- } | {
394
- gas_profile?: {
395
- [x: string]: any;
396
- cost?: string | undefined;
397
- cost_category?: string | undefined;
398
- gas_used?: string | undefined;
399
- }[] | null | undefined;
400
- version: number;
401
- } | undefined;
402
- };
403
- block_hash: string;
404
- proof: {
405
- hash: string;
406
- direction: "Left" | "Right";
407
- }[];
408
- }[] | undefined;
409
- } | {
410
- final_execution_status: "EXECUTED_OPTIMISTIC";
411
- status: "Pending" | "Unknown" | {
412
- SuccessValue: string;
413
- } | {
414
- SuccessReceiptId: string;
415
- } | {
416
- Failure: {
417
- [x: string]: any;
418
- error_message?: string | undefined;
419
- error_type?: string | undefined;
420
- };
421
- };
422
- transaction: {
423
- signer_id: string;
424
- public_key: string;
425
- nonce: number;
426
- receiver_id: string;
427
- actions: ("CreateAccount" | {
428
- CreateAccount: Record<string, never>;
429
- } | {
430
- Transfer: {
431
- deposit: string;
432
- };
433
- } | {
434
- FunctionCall: {
435
- method_name: string;
436
- args: string;
437
- gas: number;
438
- deposit: string;
439
- };
440
- } | {
441
- DeployContract: {
442
- code: string;
443
- };
444
- } | {
445
- DeployGlobalContract: {
446
- code: string;
447
- };
448
- } | {
449
- DeployGlobalContractByAccountId: {
450
- code: string;
451
- };
452
- } | {
453
- Stake: {
454
- stake: string;
455
- public_key: string;
456
- };
457
- } | {
458
- AddKey: {
459
- public_key: string;
460
- access_key: {
461
- nonce: number;
462
- permission: "FullAccess" | {
463
- FunctionCall: {
464
- receiver_id: string;
465
- method_names: string[];
466
- allowance?: string | null | undefined;
467
- };
468
- } | {
469
- GasKeyFunctionCall: {
470
- balance: string;
471
- num_nonces: number;
472
- receiver_id: string;
473
- method_names: string[];
474
- allowance?: string | null | undefined;
475
- };
476
- } | {
477
- GasKeyFullAccess: {
478
- balance: string;
479
- num_nonces: number;
480
- };
481
- };
482
- };
483
- };
484
- } | {
485
- DeleteKey: {
486
- public_key: string;
487
- };
488
- } | {
489
- DeleteAccount: {
490
- beneficiary_id: string;
491
- };
492
- } | {
493
- UseGlobalContract: {
494
- code_hash: string;
495
- };
496
- } | {
497
- UseGlobalContractByAccountId: {
498
- account_id: string;
499
- };
500
- } | {
501
- Delegate: {
502
- delegate_action: {
503
- sender_id: string;
504
- receiver_id: string;
505
- actions: any[];
506
- nonce: number;
507
- max_block_height: number;
508
- public_key: string;
509
- };
510
- signature: string;
511
- };
512
- } | {
513
- DeterministicStateInit: {
514
- deposit: string;
515
- };
516
- } | {
517
- TransferToGasKey: {
518
- public_key: string;
519
- deposit: string;
520
- };
521
- } | {
522
- WithdrawFromGasKey: {
523
- public_key: string;
524
- amount: string;
525
- };
526
- } | {
527
- DelegateV2: {
528
- delegate_action: {
529
- V2: {
530
- sender_id: string;
531
- receiver_id: string;
532
- actions: any[];
533
- nonce: {
534
- Nonce: {
535
- nonce: number;
536
- };
537
- } | {
538
- GasKeyNonce: {
539
- nonce: number;
540
- nonce_index: number;
541
- };
542
- };
543
- max_block_height: number;
544
- public_key: string;
545
- };
546
- };
547
- signature: string;
548
- };
549
- })[];
550
- signature: string;
551
- hash: string;
552
- priority_fee?: number | undefined;
553
- nonce_mode?: "monotonic" | "strict" | null | undefined;
554
- };
555
- transaction_outcome: {
556
- id: string;
557
- outcome: {
558
- logs: string[];
559
- receipt_ids: string[];
560
- gas_burnt: number;
561
- tokens_burnt: string;
562
- executor_id: string;
563
- status: "Pending" | "Unknown" | {
564
- SuccessValue: string;
565
- } | {
566
- SuccessReceiptId: string;
567
- } | {
568
- Failure: {
569
- [x: string]: any;
570
- error_message?: string | undefined;
571
- error_type?: string | undefined;
572
- };
573
- };
574
- metadata?: {
575
- gas_profile?: {
576
- [x: string]: any;
577
- cost?: string | undefined;
578
- cost_category?: string | undefined;
579
- gas_used?: string | undefined;
580
- }[] | null | undefined;
581
- version: 4;
582
- contracts?: ({
583
- local: string;
584
- } | {
585
- global_hash: string;
586
- } | {
587
- global_account_id: string;
588
- } | null)[] | null | undefined;
589
- } | {
590
- gas_profile?: {
591
- [x: string]: any;
592
- cost?: string | undefined;
593
- cost_category?: string | undefined;
594
- gas_used?: string | undefined;
595
- }[] | null | undefined;
596
- version: 1 | 2 | 3;
597
- } | {
598
- gas_profile?: {
599
- [x: string]: any;
600
- cost?: string | undefined;
601
- cost_category?: string | undefined;
602
- gas_used?: string | undefined;
603
- }[] | null | undefined;
604
- version: number;
605
- } | undefined;
606
- };
607
- block_hash: string;
608
- proof: {
609
- hash: string;
610
- direction: "Left" | "Right";
611
- }[];
612
- };
613
- receipts_outcome: {
614
- id: string;
615
- outcome: {
616
- logs: string[];
617
- receipt_ids: string[];
618
- gas_burnt: number;
619
- tokens_burnt: string;
620
- executor_id: string;
621
- status: "Pending" | "Unknown" | {
622
- SuccessValue: string;
623
- } | {
624
- SuccessReceiptId: string;
625
- } | {
626
- Failure: {
627
- [x: string]: any;
628
- error_message?: string | undefined;
629
- error_type?: string | undefined;
630
- };
631
- };
632
- metadata?: {
633
- gas_profile?: {
634
- [x: string]: any;
635
- cost?: string | undefined;
636
- cost_category?: string | undefined;
637
- gas_used?: string | undefined;
638
- }[] | null | undefined;
639
- version: 4;
640
- contracts?: ({
641
- local: string;
642
- } | {
643
- global_hash: string;
644
- } | {
645
- global_account_id: string;
646
- } | null)[] | null | undefined;
647
- } | {
648
- gas_profile?: {
649
- [x: string]: any;
650
- cost?: string | undefined;
651
- cost_category?: string | undefined;
652
- gas_used?: string | undefined;
653
- }[] | null | undefined;
654
- version: 1 | 2 | 3;
655
- } | {
656
- gas_profile?: {
657
- [x: string]: any;
658
- cost?: string | undefined;
659
- cost_category?: string | undefined;
660
- gas_used?: string | undefined;
661
- }[] | null | undefined;
662
- version: number;
663
- } | undefined;
664
- };
665
- block_hash: string;
666
- proof: {
667
- hash: string;
668
- direction: "Left" | "Right";
669
- }[];
670
- }[];
671
- } | {
672
- final_execution_status: "EXECUTED";
673
- status: "Pending" | "Unknown" | {
674
- SuccessValue: string;
675
- } | {
676
- SuccessReceiptId: string;
677
- } | {
678
- Failure: {
679
- [x: string]: any;
680
- error_message?: string | undefined;
681
- error_type?: string | undefined;
682
- };
683
- };
684
- transaction: {
685
- signer_id: string;
686
- public_key: string;
687
- nonce: number;
688
- receiver_id: string;
689
- actions: ("CreateAccount" | {
690
- CreateAccount: Record<string, never>;
691
- } | {
692
- Transfer: {
693
- deposit: string;
694
- };
695
- } | {
696
- FunctionCall: {
697
- method_name: string;
698
- args: string;
699
- gas: number;
700
- deposit: string;
701
- };
702
- } | {
703
- DeployContract: {
704
- code: string;
705
- };
706
- } | {
707
- DeployGlobalContract: {
708
- code: string;
709
- };
710
- } | {
711
- DeployGlobalContractByAccountId: {
712
- code: string;
713
- };
714
- } | {
715
- Stake: {
716
- stake: string;
717
- public_key: string;
718
- };
719
- } | {
720
- AddKey: {
721
- public_key: string;
722
- access_key: {
723
- nonce: number;
724
- permission: "FullAccess" | {
725
- FunctionCall: {
726
- receiver_id: string;
727
- method_names: string[];
728
- allowance?: string | null | undefined;
729
- };
730
- } | {
731
- GasKeyFunctionCall: {
732
- balance: string;
733
- num_nonces: number;
734
- receiver_id: string;
735
- method_names: string[];
736
- allowance?: string | null | undefined;
737
- };
738
- } | {
739
- GasKeyFullAccess: {
740
- balance: string;
741
- num_nonces: number;
742
- };
743
- };
744
- };
745
- };
746
- } | {
747
- DeleteKey: {
748
- public_key: string;
749
- };
750
- } | {
751
- DeleteAccount: {
752
- beneficiary_id: string;
753
- };
754
- } | {
755
- UseGlobalContract: {
756
- code_hash: string;
757
- };
758
- } | {
759
- UseGlobalContractByAccountId: {
760
- account_id: string;
761
- };
762
- } | {
763
- Delegate: {
764
- delegate_action: {
765
- sender_id: string;
766
- receiver_id: string;
767
- actions: any[];
768
- nonce: number;
769
- max_block_height: number;
770
- public_key: string;
771
- };
772
- signature: string;
773
- };
774
- } | {
775
- DeterministicStateInit: {
776
- deposit: string;
777
- };
778
- } | {
779
- TransferToGasKey: {
780
- public_key: string;
781
- deposit: string;
782
- };
783
- } | {
784
- WithdrawFromGasKey: {
785
- public_key: string;
786
- amount: string;
787
- };
788
- } | {
789
- DelegateV2: {
790
- delegate_action: {
791
- V2: {
792
- sender_id: string;
793
- receiver_id: string;
794
- actions: any[];
795
- nonce: {
796
- Nonce: {
797
- nonce: number;
798
- };
799
- } | {
800
- GasKeyNonce: {
801
- nonce: number;
802
- nonce_index: number;
803
- };
804
- };
805
- max_block_height: number;
806
- public_key: string;
807
- };
808
- };
809
- signature: string;
810
- };
811
- })[];
812
- signature: string;
813
- hash: string;
814
- priority_fee?: number | undefined;
815
- nonce_mode?: "monotonic" | "strict" | null | undefined;
816
- };
817
- transaction_outcome: {
818
- id: string;
819
- outcome: {
820
- logs: string[];
821
- receipt_ids: string[];
822
- gas_burnt: number;
823
- tokens_burnt: string;
824
- executor_id: string;
825
- status: "Pending" | "Unknown" | {
826
- SuccessValue: string;
827
- } | {
828
- SuccessReceiptId: string;
829
- } | {
830
- Failure: {
831
- [x: string]: any;
832
- error_message?: string | undefined;
833
- error_type?: string | undefined;
834
- };
835
- };
836
- metadata?: {
837
- gas_profile?: {
838
- [x: string]: any;
839
- cost?: string | undefined;
840
- cost_category?: string | undefined;
841
- gas_used?: string | undefined;
842
- }[] | null | undefined;
843
- version: 4;
844
- contracts?: ({
845
- local: string;
846
- } | {
847
- global_hash: string;
848
- } | {
849
- global_account_id: string;
850
- } | null)[] | null | undefined;
851
- } | {
852
- gas_profile?: {
853
- [x: string]: any;
854
- cost?: string | undefined;
855
- cost_category?: string | undefined;
856
- gas_used?: string | undefined;
857
- }[] | null | undefined;
858
- version: 1 | 2 | 3;
859
- } | {
860
- gas_profile?: {
861
- [x: string]: any;
862
- cost?: string | undefined;
863
- cost_category?: string | undefined;
864
- gas_used?: string | undefined;
865
- }[] | null | undefined;
866
- version: number;
867
- } | undefined;
868
- };
869
- block_hash: string;
870
- proof: {
871
- hash: string;
872
- direction: "Left" | "Right";
873
- }[];
874
- };
875
- receipts_outcome: {
876
- id: string;
877
- outcome: {
878
- logs: string[];
879
- receipt_ids: string[];
880
- gas_burnt: number;
881
- tokens_burnt: string;
882
- executor_id: string;
883
- status: "Pending" | "Unknown" | {
884
- SuccessValue: string;
885
- } | {
886
- SuccessReceiptId: string;
887
- } | {
888
- Failure: {
889
- [x: string]: any;
890
- error_message?: string | undefined;
891
- error_type?: string | undefined;
892
- };
893
- };
894
- metadata?: {
895
- gas_profile?: {
896
- [x: string]: any;
897
- cost?: string | undefined;
898
- cost_category?: string | undefined;
899
- gas_used?: string | undefined;
900
- }[] | null | undefined;
901
- version: 4;
902
- contracts?: ({
903
- local: string;
904
- } | {
905
- global_hash: string;
906
- } | {
907
- global_account_id: string;
908
- } | null)[] | null | undefined;
909
- } | {
910
- gas_profile?: {
911
- [x: string]: any;
912
- cost?: string | undefined;
913
- cost_category?: string | undefined;
914
- gas_used?: string | undefined;
915
- }[] | null | undefined;
916
- version: 1 | 2 | 3;
917
- } | {
918
- gas_profile?: {
919
- [x: string]: any;
920
- cost?: string | undefined;
921
- cost_category?: string | undefined;
922
- gas_used?: string | undefined;
923
- }[] | null | undefined;
924
- version: number;
925
- } | undefined;
926
- };
927
- block_hash: string;
928
- proof: {
929
- hash: string;
930
- direction: "Left" | "Right";
931
- }[];
932
- }[];
933
- } | {
934
- final_execution_status: "FINAL";
935
- status: "Pending" | "Unknown" | {
936
- SuccessValue: string;
937
- } | {
938
- SuccessReceiptId: string;
939
- } | {
940
- Failure: {
941
- [x: string]: any;
942
- error_message?: string | undefined;
943
- error_type?: string | undefined;
944
- };
945
- };
946
- transaction: {
947
- signer_id: string;
948
- public_key: string;
949
- nonce: number;
950
- receiver_id: string;
951
- actions: ("CreateAccount" | {
952
- CreateAccount: Record<string, never>;
953
- } | {
954
- Transfer: {
955
- deposit: string;
956
- };
957
- } | {
958
- FunctionCall: {
959
- method_name: string;
960
- args: string;
961
- gas: number;
962
- deposit: string;
963
- };
964
- } | {
965
- DeployContract: {
966
- code: string;
967
- };
968
- } | {
969
- DeployGlobalContract: {
970
- code: string;
971
- };
972
- } | {
973
- DeployGlobalContractByAccountId: {
974
- code: string;
975
- };
976
- } | {
977
- Stake: {
978
- stake: string;
979
- public_key: string;
980
- };
981
- } | {
982
- AddKey: {
983
- public_key: string;
984
- access_key: {
985
- nonce: number;
986
- permission: "FullAccess" | {
987
- FunctionCall: {
988
- receiver_id: string;
989
- method_names: string[];
990
- allowance?: string | null | undefined;
991
- };
992
- } | {
993
- GasKeyFunctionCall: {
994
- balance: string;
995
- num_nonces: number;
996
- receiver_id: string;
997
- method_names: string[];
998
- allowance?: string | null | undefined;
999
- };
1000
- } | {
1001
- GasKeyFullAccess: {
1002
- balance: string;
1003
- num_nonces: number;
1004
- };
1005
- };
1006
- };
1007
- };
1008
- } | {
1009
- DeleteKey: {
1010
- public_key: string;
1011
- };
1012
- } | {
1013
- DeleteAccount: {
1014
- beneficiary_id: string;
1015
- };
1016
- } | {
1017
- UseGlobalContract: {
1018
- code_hash: string;
1019
- };
1020
- } | {
1021
- UseGlobalContractByAccountId: {
1022
- account_id: string;
1023
- };
1024
- } | {
1025
- Delegate: {
1026
- delegate_action: {
1027
- sender_id: string;
1028
- receiver_id: string;
1029
- actions: any[];
1030
- nonce: number;
1031
- max_block_height: number;
1032
- public_key: string;
1033
- };
1034
- signature: string;
1035
- };
1036
- } | {
1037
- DeterministicStateInit: {
1038
- deposit: string;
1039
- };
1040
- } | {
1041
- TransferToGasKey: {
1042
- public_key: string;
1043
- deposit: string;
1044
- };
1045
- } | {
1046
- WithdrawFromGasKey: {
1047
- public_key: string;
1048
- amount: string;
1049
- };
1050
- } | {
1051
- DelegateV2: {
1052
- delegate_action: {
1053
- V2: {
1054
- sender_id: string;
1055
- receiver_id: string;
1056
- actions: any[];
1057
- nonce: {
1058
- Nonce: {
1059
- nonce: number;
1060
- };
1061
- } | {
1062
- GasKeyNonce: {
1063
- nonce: number;
1064
- nonce_index: number;
1065
- };
1066
- };
1067
- max_block_height: number;
1068
- public_key: string;
1069
- };
1070
- };
1071
- signature: string;
1072
- };
1073
- })[];
1074
- signature: string;
1075
- hash: string;
1076
- priority_fee?: number | undefined;
1077
- nonce_mode?: "monotonic" | "strict" | null | undefined;
1078
- };
1079
- transaction_outcome: {
1080
- id: string;
1081
- outcome: {
1082
- logs: string[];
1083
- receipt_ids: string[];
1084
- gas_burnt: number;
1085
- tokens_burnt: string;
1086
- executor_id: string;
1087
- status: "Pending" | "Unknown" | {
1088
- SuccessValue: string;
1089
- } | {
1090
- SuccessReceiptId: string;
1091
- } | {
1092
- Failure: {
1093
- [x: string]: any;
1094
- error_message?: string | undefined;
1095
- error_type?: string | undefined;
1096
- };
1097
- };
1098
- metadata?: {
1099
- gas_profile?: {
1100
- [x: string]: any;
1101
- cost?: string | undefined;
1102
- cost_category?: string | undefined;
1103
- gas_used?: string | undefined;
1104
- }[] | null | undefined;
1105
- version: 4;
1106
- contracts?: ({
1107
- local: string;
1108
- } | {
1109
- global_hash: string;
1110
- } | {
1111
- global_account_id: string;
1112
- } | null)[] | null | undefined;
1113
- } | {
1114
- gas_profile?: {
1115
- [x: string]: any;
1116
- cost?: string | undefined;
1117
- cost_category?: string | undefined;
1118
- gas_used?: string | undefined;
1119
- }[] | null | undefined;
1120
- version: 1 | 2 | 3;
1121
- } | {
1122
- gas_profile?: {
1123
- [x: string]: any;
1124
- cost?: string | undefined;
1125
- cost_category?: string | undefined;
1126
- gas_used?: string | undefined;
1127
- }[] | null | undefined;
1128
- version: number;
1129
- } | undefined;
1130
- };
1131
- block_hash: string;
1132
- proof: {
1133
- hash: string;
1134
- direction: "Left" | "Right";
1135
- }[];
1136
- };
1137
- receipts_outcome: {
1138
- id: string;
1139
- outcome: {
1140
- logs: string[];
1141
- receipt_ids: string[];
1142
- gas_burnt: number;
1143
- tokens_burnt: string;
1144
- executor_id: string;
1145
- status: "Pending" | "Unknown" | {
1146
- SuccessValue: string;
1147
- } | {
1148
- SuccessReceiptId: string;
1149
- } | {
1150
- Failure: {
1151
- [x: string]: any;
1152
- error_message?: string | undefined;
1153
- error_type?: string | undefined;
1154
- };
1155
- };
1156
- metadata?: {
1157
- gas_profile?: {
1158
- [x: string]: any;
1159
- cost?: string | undefined;
1160
- cost_category?: string | undefined;
1161
- gas_used?: string | undefined;
1162
- }[] | null | undefined;
1163
- version: 4;
1164
- contracts?: ({
1165
- local: string;
1166
- } | {
1167
- global_hash: string;
1168
- } | {
1169
- global_account_id: string;
1170
- } | null)[] | null | undefined;
1171
- } | {
1172
- gas_profile?: {
1173
- [x: string]: any;
1174
- cost?: string | undefined;
1175
- cost_category?: string | undefined;
1176
- gas_used?: string | undefined;
1177
- }[] | null | undefined;
1178
- version: 1 | 2 | 3;
1179
- } | {
1180
- gas_profile?: {
1181
- [x: string]: any;
1182
- cost?: string | undefined;
1183
- cost_category?: string | undefined;
1184
- gas_used?: string | undefined;
1185
- }[] | null | undefined;
1186
- version: number;
1187
- } | undefined;
1188
- };
1189
- block_hash: string;
1190
- proof: {
1191
- hash: string;
1192
- direction: "Left" | "Right";
1193
- }[];
1194
- }[];
1195
- }>;
1196
- export declare function ref_swap_function(near: Near, rhea_contractId: string, swap_actions: ref_swap_action_type[], referral_id: ref_args_params_interface["referral_id"]): Promise<{
1197
- final_execution_status: "NONE";
1198
- transaction?: {
1199
- hash: string;
1200
- signer_id: string;
1201
- receiver_id: string;
1202
- nonce: number;
1203
- } | undefined;
1204
- status?: "Pending" | "Unknown" | {
1205
- SuccessValue: string;
1206
- } | {
1207
- SuccessReceiptId: string;
1208
- } | {
1209
- Failure: {
1210
- [x: string]: any;
1211
- error_message?: string | undefined;
1212
- error_type?: string | undefined;
1213
- };
1214
- } | undefined;
1215
- transaction_outcome?: {
1216
- id: string;
1217
- outcome: {
1218
- logs: string[];
1219
- receipt_ids: string[];
1220
- gas_burnt: number;
1221
- tokens_burnt: string;
1222
- executor_id: string;
1223
- status: "Pending" | "Unknown" | {
1224
- SuccessValue: string;
1225
- } | {
1226
- SuccessReceiptId: string;
1227
- } | {
1228
- Failure: {
1229
- [x: string]: any;
1230
- error_message?: string | undefined;
1231
- error_type?: string | undefined;
1232
- };
1233
- };
1234
- metadata?: {
1235
- gas_profile?: {
1236
- [x: string]: any;
1237
- cost?: string | undefined;
1238
- cost_category?: string | undefined;
1239
- gas_used?: string | undefined;
1240
- }[] | null | undefined;
1241
- version: 4;
1242
- contracts?: ({
1243
- local: string;
1244
- } | {
1245
- global_hash: string;
1246
- } | {
1247
- global_account_id: string;
1248
- } | null)[] | null | undefined;
1249
- } | {
1250
- gas_profile?: {
1251
- [x: string]: any;
1252
- cost?: string | undefined;
1253
- cost_category?: string | undefined;
1254
- gas_used?: string | undefined;
1255
- }[] | null | undefined;
1256
- version: 1 | 2 | 3;
1257
- } | {
1258
- gas_profile?: {
1259
- [x: string]: any;
1260
- cost?: string | undefined;
1261
- cost_category?: string | undefined;
1262
- gas_used?: string | undefined;
1263
- }[] | null | undefined;
1264
- version: number;
1265
- } | undefined;
1266
- };
1267
- block_hash: string;
1268
- proof: {
1269
- hash: string;
1270
- direction: "Left" | "Right";
1271
- }[];
1272
- } | undefined;
1273
- receipts_outcome?: {
1274
- id: string;
1275
- outcome: {
1276
- logs: string[];
1277
- receipt_ids: string[];
1278
- gas_burnt: number;
1279
- tokens_burnt: string;
1280
- executor_id: string;
1281
- status: "Pending" | "Unknown" | {
1282
- SuccessValue: string;
1283
- } | {
1284
- SuccessReceiptId: string;
1285
- } | {
1286
- Failure: {
1287
- [x: string]: any;
1288
- error_message?: string | undefined;
1289
- error_type?: string | undefined;
1290
- };
1291
- };
1292
- metadata?: {
1293
- gas_profile?: {
1294
- [x: string]: any;
1295
- cost?: string | undefined;
1296
- cost_category?: string | undefined;
1297
- gas_used?: string | undefined;
1298
- }[] | null | undefined;
1299
- version: 4;
1300
- contracts?: ({
1301
- local: string;
1302
- } | {
1303
- global_hash: string;
1304
- } | {
1305
- global_account_id: string;
1306
- } | null)[] | null | undefined;
1307
- } | {
1308
- gas_profile?: {
1309
- [x: string]: any;
1310
- cost?: string | undefined;
1311
- cost_category?: string | undefined;
1312
- gas_used?: string | undefined;
1313
- }[] | null | undefined;
1314
- version: 1 | 2 | 3;
1315
- } | {
1316
- gas_profile?: {
1317
- [x: string]: any;
1318
- cost?: string | undefined;
1319
- cost_category?: string | undefined;
1320
- gas_used?: string | undefined;
1321
- }[] | null | undefined;
1322
- version: number;
1323
- } | undefined;
1324
- };
1325
- block_hash: string;
1326
- proof: {
1327
- hash: string;
1328
- direction: "Left" | "Right";
1329
- }[];
1330
- }[] | undefined;
1331
- } | {
1332
- final_execution_status: "INCLUDED";
1333
- transaction?: {
1334
- hash: string;
1335
- signer_id: string;
1336
- receiver_id: string;
1337
- nonce: number;
1338
- } | undefined;
1339
- status?: "Pending" | "Unknown" | {
1340
- SuccessValue: string;
1341
- } | {
1342
- SuccessReceiptId: string;
1343
- } | {
1344
- Failure: {
1345
- [x: string]: any;
1346
- error_message?: string | undefined;
1347
- error_type?: string | undefined;
1348
- };
1349
- } | undefined;
1350
- transaction_outcome?: {
1351
- id: string;
1352
- outcome: {
1353
- logs: string[];
1354
- receipt_ids: string[];
1355
- gas_burnt: number;
1356
- tokens_burnt: string;
1357
- executor_id: string;
1358
- status: "Pending" | "Unknown" | {
1359
- SuccessValue: string;
1360
- } | {
1361
- SuccessReceiptId: string;
1362
- } | {
1363
- Failure: {
1364
- [x: string]: any;
1365
- error_message?: string | undefined;
1366
- error_type?: string | undefined;
1367
- };
1368
- };
1369
- metadata?: {
1370
- gas_profile?: {
1371
- [x: string]: any;
1372
- cost?: string | undefined;
1373
- cost_category?: string | undefined;
1374
- gas_used?: string | undefined;
1375
- }[] | null | undefined;
1376
- version: 4;
1377
- contracts?: ({
1378
- local: string;
1379
- } | {
1380
- global_hash: string;
1381
- } | {
1382
- global_account_id: string;
1383
- } | null)[] | null | undefined;
1384
- } | {
1385
- gas_profile?: {
1386
- [x: string]: any;
1387
- cost?: string | undefined;
1388
- cost_category?: string | undefined;
1389
- gas_used?: string | undefined;
1390
- }[] | null | undefined;
1391
- version: 1 | 2 | 3;
1392
- } | {
1393
- gas_profile?: {
1394
- [x: string]: any;
1395
- cost?: string | undefined;
1396
- cost_category?: string | undefined;
1397
- gas_used?: string | undefined;
1398
- }[] | null | undefined;
1399
- version: number;
1400
- } | undefined;
1401
- };
1402
- block_hash: string;
1403
- proof: {
1404
- hash: string;
1405
- direction: "Left" | "Right";
1406
- }[];
1407
- } | undefined;
1408
- receipts_outcome?: {
1409
- id: string;
1410
- outcome: {
1411
- logs: string[];
1412
- receipt_ids: string[];
1413
- gas_burnt: number;
1414
- tokens_burnt: string;
1415
- executor_id: string;
1416
- status: "Pending" | "Unknown" | {
1417
- SuccessValue: string;
1418
- } | {
1419
- SuccessReceiptId: string;
1420
- } | {
1421
- Failure: {
1422
- [x: string]: any;
1423
- error_message?: string | undefined;
1424
- error_type?: string | undefined;
1425
- };
1426
- };
1427
- metadata?: {
1428
- gas_profile?: {
1429
- [x: string]: any;
1430
- cost?: string | undefined;
1431
- cost_category?: string | undefined;
1432
- gas_used?: string | undefined;
1433
- }[] | null | undefined;
1434
- version: 4;
1435
- contracts?: ({
1436
- local: string;
1437
- } | {
1438
- global_hash: string;
1439
- } | {
1440
- global_account_id: string;
1441
- } | null)[] | null | undefined;
1442
- } | {
1443
- gas_profile?: {
1444
- [x: string]: any;
1445
- cost?: string | undefined;
1446
- cost_category?: string | undefined;
1447
- gas_used?: string | undefined;
1448
- }[] | null | undefined;
1449
- version: 1 | 2 | 3;
1450
- } | {
1451
- gas_profile?: {
1452
- [x: string]: any;
1453
- cost?: string | undefined;
1454
- cost_category?: string | undefined;
1455
- gas_used?: string | undefined;
1456
- }[] | null | undefined;
1457
- version: number;
1458
- } | undefined;
1459
- };
1460
- block_hash: string;
1461
- proof: {
1462
- hash: string;
1463
- direction: "Left" | "Right";
1464
- }[];
1465
- }[] | undefined;
1466
- } | {
1467
- final_execution_status: "INCLUDED_FINAL";
1468
- transaction?: {
1469
- hash: string;
1470
- signer_id: string;
1471
- receiver_id: string;
1472
- nonce: number;
1473
- } | undefined;
1474
- status?: "Pending" | "Unknown" | {
1475
- SuccessValue: string;
1476
- } | {
1477
- SuccessReceiptId: string;
1478
- } | {
1479
- Failure: {
1480
- [x: string]: any;
1481
- error_message?: string | undefined;
1482
- error_type?: string | undefined;
1483
- };
1484
- } | undefined;
1485
- transaction_outcome?: {
1486
- id: string;
1487
- outcome: {
1488
- logs: string[];
1489
- receipt_ids: string[];
1490
- gas_burnt: number;
1491
- tokens_burnt: string;
1492
- executor_id: string;
1493
- status: "Pending" | "Unknown" | {
1494
- SuccessValue: string;
1495
- } | {
1496
- SuccessReceiptId: string;
1497
- } | {
1498
- Failure: {
1499
- [x: string]: any;
1500
- error_message?: string | undefined;
1501
- error_type?: string | undefined;
1502
- };
1503
- };
1504
- metadata?: {
1505
- gas_profile?: {
1506
- [x: string]: any;
1507
- cost?: string | undefined;
1508
- cost_category?: string | undefined;
1509
- gas_used?: string | undefined;
1510
- }[] | null | undefined;
1511
- version: 4;
1512
- contracts?: ({
1513
- local: string;
1514
- } | {
1515
- global_hash: string;
1516
- } | {
1517
- global_account_id: string;
1518
- } | null)[] | null | undefined;
1519
- } | {
1520
- gas_profile?: {
1521
- [x: string]: any;
1522
- cost?: string | undefined;
1523
- cost_category?: string | undefined;
1524
- gas_used?: string | undefined;
1525
- }[] | null | undefined;
1526
- version: 1 | 2 | 3;
1527
- } | {
1528
- gas_profile?: {
1529
- [x: string]: any;
1530
- cost?: string | undefined;
1531
- cost_category?: string | undefined;
1532
- gas_used?: string | undefined;
1533
- }[] | null | undefined;
1534
- version: number;
1535
- } | undefined;
1536
- };
1537
- block_hash: string;
1538
- proof: {
1539
- hash: string;
1540
- direction: "Left" | "Right";
1541
- }[];
1542
- } | undefined;
1543
- receipts_outcome?: {
1544
- id: string;
1545
- outcome: {
1546
- logs: string[];
1547
- receipt_ids: string[];
1548
- gas_burnt: number;
1549
- tokens_burnt: string;
1550
- executor_id: string;
1551
- status: "Pending" | "Unknown" | {
1552
- SuccessValue: string;
1553
- } | {
1554
- SuccessReceiptId: string;
1555
- } | {
1556
- Failure: {
1557
- [x: string]: any;
1558
- error_message?: string | undefined;
1559
- error_type?: string | undefined;
1560
- };
1561
- };
1562
- metadata?: {
1563
- gas_profile?: {
1564
- [x: string]: any;
1565
- cost?: string | undefined;
1566
- cost_category?: string | undefined;
1567
- gas_used?: string | undefined;
1568
- }[] | null | undefined;
1569
- version: 4;
1570
- contracts?: ({
1571
- local: string;
1572
- } | {
1573
- global_hash: string;
1574
- } | {
1575
- global_account_id: string;
1576
- } | null)[] | null | undefined;
1577
- } | {
1578
- gas_profile?: {
1579
- [x: string]: any;
1580
- cost?: string | undefined;
1581
- cost_category?: string | undefined;
1582
- gas_used?: string | undefined;
1583
- }[] | null | undefined;
1584
- version: 1 | 2 | 3;
1585
- } | {
1586
- gas_profile?: {
1587
- [x: string]: any;
1588
- cost?: string | undefined;
1589
- cost_category?: string | undefined;
1590
- gas_used?: string | undefined;
1591
- }[] | null | undefined;
1592
- version: number;
1593
- } | undefined;
1594
- };
1595
- block_hash: string;
1596
- proof: {
1597
- hash: string;
1598
- direction: "Left" | "Right";
1599
- }[];
1600
- }[] | undefined;
1601
- } | {
1602
- final_execution_status: "EXECUTED_OPTIMISTIC";
1603
- status: "Pending" | "Unknown" | {
1604
- SuccessValue: string;
1605
- } | {
1606
- SuccessReceiptId: string;
1607
- } | {
1608
- Failure: {
1609
- [x: string]: any;
1610
- error_message?: string | undefined;
1611
- error_type?: string | undefined;
1612
- };
1613
- };
1614
- transaction: {
1615
- signer_id: string;
1616
- public_key: string;
1617
- nonce: number;
1618
- receiver_id: string;
1619
- actions: ("CreateAccount" | {
1620
- CreateAccount: Record<string, never>;
1621
- } | {
1622
- Transfer: {
1623
- deposit: string;
1624
- };
1625
- } | {
1626
- FunctionCall: {
1627
- method_name: string;
1628
- args: string;
1629
- gas: number;
1630
- deposit: string;
1631
- };
1632
- } | {
1633
- DeployContract: {
1634
- code: string;
1635
- };
1636
- } | {
1637
- DeployGlobalContract: {
1638
- code: string;
1639
- };
1640
- } | {
1641
- DeployGlobalContractByAccountId: {
1642
- code: string;
1643
- };
1644
- } | {
1645
- Stake: {
1646
- stake: string;
1647
- public_key: string;
1648
- };
1649
- } | {
1650
- AddKey: {
1651
- public_key: string;
1652
- access_key: {
1653
- nonce: number;
1654
- permission: "FullAccess" | {
1655
- FunctionCall: {
1656
- receiver_id: string;
1657
- method_names: string[];
1658
- allowance?: string | null | undefined;
1659
- };
1660
- } | {
1661
- GasKeyFunctionCall: {
1662
- balance: string;
1663
- num_nonces: number;
1664
- receiver_id: string;
1665
- method_names: string[];
1666
- allowance?: string | null | undefined;
1667
- };
1668
- } | {
1669
- GasKeyFullAccess: {
1670
- balance: string;
1671
- num_nonces: number;
1672
- };
1673
- };
1674
- };
1675
- };
1676
- } | {
1677
- DeleteKey: {
1678
- public_key: string;
1679
- };
1680
- } | {
1681
- DeleteAccount: {
1682
- beneficiary_id: string;
1683
- };
1684
- } | {
1685
- UseGlobalContract: {
1686
- code_hash: string;
1687
- };
1688
- } | {
1689
- UseGlobalContractByAccountId: {
1690
- account_id: string;
1691
- };
1692
- } | {
1693
- Delegate: {
1694
- delegate_action: {
1695
- sender_id: string;
1696
- receiver_id: string;
1697
- actions: any[];
1698
- nonce: number;
1699
- max_block_height: number;
1700
- public_key: string;
1701
- };
1702
- signature: string;
1703
- };
1704
- } | {
1705
- DeterministicStateInit: {
1706
- deposit: string;
1707
- };
1708
- } | {
1709
- TransferToGasKey: {
1710
- public_key: string;
1711
- deposit: string;
1712
- };
1713
- } | {
1714
- WithdrawFromGasKey: {
1715
- public_key: string;
1716
- amount: string;
1717
- };
1718
- } | {
1719
- DelegateV2: {
1720
- delegate_action: {
1721
- V2: {
1722
- sender_id: string;
1723
- receiver_id: string;
1724
- actions: any[];
1725
- nonce: {
1726
- Nonce: {
1727
- nonce: number;
1728
- };
1729
- } | {
1730
- GasKeyNonce: {
1731
- nonce: number;
1732
- nonce_index: number;
1733
- };
1734
- };
1735
- max_block_height: number;
1736
- public_key: string;
1737
- };
1738
- };
1739
- signature: string;
1740
- };
1741
- })[];
1742
- signature: string;
1743
- hash: string;
1744
- priority_fee?: number | undefined;
1745
- nonce_mode?: "monotonic" | "strict" | null | undefined;
1746
- };
1747
- transaction_outcome: {
1748
- id: string;
1749
- outcome: {
1750
- logs: string[];
1751
- receipt_ids: string[];
1752
- gas_burnt: number;
1753
- tokens_burnt: string;
1754
- executor_id: string;
1755
- status: "Pending" | "Unknown" | {
1756
- SuccessValue: string;
1757
- } | {
1758
- SuccessReceiptId: string;
1759
- } | {
1760
- Failure: {
1761
- [x: string]: any;
1762
- error_message?: string | undefined;
1763
- error_type?: string | undefined;
1764
- };
1765
- };
1766
- metadata?: {
1767
- gas_profile?: {
1768
- [x: string]: any;
1769
- cost?: string | undefined;
1770
- cost_category?: string | undefined;
1771
- gas_used?: string | undefined;
1772
- }[] | null | undefined;
1773
- version: 4;
1774
- contracts?: ({
1775
- local: string;
1776
- } | {
1777
- global_hash: string;
1778
- } | {
1779
- global_account_id: string;
1780
- } | null)[] | null | undefined;
1781
- } | {
1782
- gas_profile?: {
1783
- [x: string]: any;
1784
- cost?: string | undefined;
1785
- cost_category?: string | undefined;
1786
- gas_used?: string | undefined;
1787
- }[] | null | undefined;
1788
- version: 1 | 2 | 3;
1789
- } | {
1790
- gas_profile?: {
1791
- [x: string]: any;
1792
- cost?: string | undefined;
1793
- cost_category?: string | undefined;
1794
- gas_used?: string | undefined;
1795
- }[] | null | undefined;
1796
- version: number;
1797
- } | undefined;
1798
- };
1799
- block_hash: string;
1800
- proof: {
1801
- hash: string;
1802
- direction: "Left" | "Right";
1803
- }[];
1804
- };
1805
- receipts_outcome: {
1806
- id: string;
1807
- outcome: {
1808
- logs: string[];
1809
- receipt_ids: string[];
1810
- gas_burnt: number;
1811
- tokens_burnt: string;
1812
- executor_id: string;
1813
- status: "Pending" | "Unknown" | {
1814
- SuccessValue: string;
1815
- } | {
1816
- SuccessReceiptId: string;
1817
- } | {
1818
- Failure: {
1819
- [x: string]: any;
1820
- error_message?: string | undefined;
1821
- error_type?: string | undefined;
1822
- };
1823
- };
1824
- metadata?: {
1825
- gas_profile?: {
1826
- [x: string]: any;
1827
- cost?: string | undefined;
1828
- cost_category?: string | undefined;
1829
- gas_used?: string | undefined;
1830
- }[] | null | undefined;
1831
- version: 4;
1832
- contracts?: ({
1833
- local: string;
1834
- } | {
1835
- global_hash: string;
1836
- } | {
1837
- global_account_id: string;
1838
- } | null)[] | null | undefined;
1839
- } | {
1840
- gas_profile?: {
1841
- [x: string]: any;
1842
- cost?: string | undefined;
1843
- cost_category?: string | undefined;
1844
- gas_used?: string | undefined;
1845
- }[] | null | undefined;
1846
- version: 1 | 2 | 3;
1847
- } | {
1848
- gas_profile?: {
1849
- [x: string]: any;
1850
- cost?: string | undefined;
1851
- cost_category?: string | undefined;
1852
- gas_used?: string | undefined;
1853
- }[] | null | undefined;
1854
- version: number;
1855
- } | undefined;
1856
- };
1857
- block_hash: string;
1858
- proof: {
1859
- hash: string;
1860
- direction: "Left" | "Right";
1861
- }[];
1862
- }[];
1863
- } | {
1864
- final_execution_status: "EXECUTED";
1865
- status: "Pending" | "Unknown" | {
1866
- SuccessValue: string;
1867
- } | {
1868
- SuccessReceiptId: string;
1869
- } | {
1870
- Failure: {
1871
- [x: string]: any;
1872
- error_message?: string | undefined;
1873
- error_type?: string | undefined;
1874
- };
1875
- };
1876
- transaction: {
1877
- signer_id: string;
1878
- public_key: string;
1879
- nonce: number;
1880
- receiver_id: string;
1881
- actions: ("CreateAccount" | {
1882
- CreateAccount: Record<string, never>;
1883
- } | {
1884
- Transfer: {
1885
- deposit: string;
1886
- };
1887
- } | {
1888
- FunctionCall: {
1889
- method_name: string;
1890
- args: string;
1891
- gas: number;
1892
- deposit: string;
1893
- };
1894
- } | {
1895
- DeployContract: {
1896
- code: string;
1897
- };
1898
- } | {
1899
- DeployGlobalContract: {
1900
- code: string;
1901
- };
1902
- } | {
1903
- DeployGlobalContractByAccountId: {
1904
- code: string;
1905
- };
1906
- } | {
1907
- Stake: {
1908
- stake: string;
1909
- public_key: string;
1910
- };
1911
- } | {
1912
- AddKey: {
1913
- public_key: string;
1914
- access_key: {
1915
- nonce: number;
1916
- permission: "FullAccess" | {
1917
- FunctionCall: {
1918
- receiver_id: string;
1919
- method_names: string[];
1920
- allowance?: string | null | undefined;
1921
- };
1922
- } | {
1923
- GasKeyFunctionCall: {
1924
- balance: string;
1925
- num_nonces: number;
1926
- receiver_id: string;
1927
- method_names: string[];
1928
- allowance?: string | null | undefined;
1929
- };
1930
- } | {
1931
- GasKeyFullAccess: {
1932
- balance: string;
1933
- num_nonces: number;
1934
- };
1935
- };
1936
- };
1937
- };
1938
- } | {
1939
- DeleteKey: {
1940
- public_key: string;
1941
- };
1942
- } | {
1943
- DeleteAccount: {
1944
- beneficiary_id: string;
1945
- };
1946
- } | {
1947
- UseGlobalContract: {
1948
- code_hash: string;
1949
- };
1950
- } | {
1951
- UseGlobalContractByAccountId: {
1952
- account_id: string;
1953
- };
1954
- } | {
1955
- Delegate: {
1956
- delegate_action: {
1957
- sender_id: string;
1958
- receiver_id: string;
1959
- actions: any[];
1960
- nonce: number;
1961
- max_block_height: number;
1962
- public_key: string;
1963
- };
1964
- signature: string;
1965
- };
1966
- } | {
1967
- DeterministicStateInit: {
1968
- deposit: string;
1969
- };
1970
- } | {
1971
- TransferToGasKey: {
1972
- public_key: string;
1973
- deposit: string;
1974
- };
1975
- } | {
1976
- WithdrawFromGasKey: {
1977
- public_key: string;
1978
- amount: string;
1979
- };
1980
- } | {
1981
- DelegateV2: {
1982
- delegate_action: {
1983
- V2: {
1984
- sender_id: string;
1985
- receiver_id: string;
1986
- actions: any[];
1987
- nonce: {
1988
- Nonce: {
1989
- nonce: number;
1990
- };
1991
- } | {
1992
- GasKeyNonce: {
1993
- nonce: number;
1994
- nonce_index: number;
1995
- };
1996
- };
1997
- max_block_height: number;
1998
- public_key: string;
1999
- };
2000
- };
2001
- signature: string;
2002
- };
2003
- })[];
2004
- signature: string;
2005
- hash: string;
2006
- priority_fee?: number | undefined;
2007
- nonce_mode?: "monotonic" | "strict" | null | undefined;
2008
- };
2009
- transaction_outcome: {
2010
- id: string;
2011
- outcome: {
2012
- logs: string[];
2013
- receipt_ids: string[];
2014
- gas_burnt: number;
2015
- tokens_burnt: string;
2016
- executor_id: string;
2017
- status: "Pending" | "Unknown" | {
2018
- SuccessValue: string;
2019
- } | {
2020
- SuccessReceiptId: string;
2021
- } | {
2022
- Failure: {
2023
- [x: string]: any;
2024
- error_message?: string | undefined;
2025
- error_type?: string | undefined;
2026
- };
2027
- };
2028
- metadata?: {
2029
- gas_profile?: {
2030
- [x: string]: any;
2031
- cost?: string | undefined;
2032
- cost_category?: string | undefined;
2033
- gas_used?: string | undefined;
2034
- }[] | null | undefined;
2035
- version: 4;
2036
- contracts?: ({
2037
- local: string;
2038
- } | {
2039
- global_hash: string;
2040
- } | {
2041
- global_account_id: string;
2042
- } | null)[] | null | undefined;
2043
- } | {
2044
- gas_profile?: {
2045
- [x: string]: any;
2046
- cost?: string | undefined;
2047
- cost_category?: string | undefined;
2048
- gas_used?: string | undefined;
2049
- }[] | null | undefined;
2050
- version: 1 | 2 | 3;
2051
- } | {
2052
- gas_profile?: {
2053
- [x: string]: any;
2054
- cost?: string | undefined;
2055
- cost_category?: string | undefined;
2056
- gas_used?: string | undefined;
2057
- }[] | null | undefined;
2058
- version: number;
2059
- } | undefined;
2060
- };
2061
- block_hash: string;
2062
- proof: {
2063
- hash: string;
2064
- direction: "Left" | "Right";
2065
- }[];
2066
- };
2067
- receipts_outcome: {
2068
- id: string;
2069
- outcome: {
2070
- logs: string[];
2071
- receipt_ids: string[];
2072
- gas_burnt: number;
2073
- tokens_burnt: string;
2074
- executor_id: string;
2075
- status: "Pending" | "Unknown" | {
2076
- SuccessValue: string;
2077
- } | {
2078
- SuccessReceiptId: string;
2079
- } | {
2080
- Failure: {
2081
- [x: string]: any;
2082
- error_message?: string | undefined;
2083
- error_type?: string | undefined;
2084
- };
2085
- };
2086
- metadata?: {
2087
- gas_profile?: {
2088
- [x: string]: any;
2089
- cost?: string | undefined;
2090
- cost_category?: string | undefined;
2091
- gas_used?: string | undefined;
2092
- }[] | null | undefined;
2093
- version: 4;
2094
- contracts?: ({
2095
- local: string;
2096
- } | {
2097
- global_hash: string;
2098
- } | {
2099
- global_account_id: string;
2100
- } | null)[] | null | undefined;
2101
- } | {
2102
- gas_profile?: {
2103
- [x: string]: any;
2104
- cost?: string | undefined;
2105
- cost_category?: string | undefined;
2106
- gas_used?: string | undefined;
2107
- }[] | null | undefined;
2108
- version: 1 | 2 | 3;
2109
- } | {
2110
- gas_profile?: {
2111
- [x: string]: any;
2112
- cost?: string | undefined;
2113
- cost_category?: string | undefined;
2114
- gas_used?: string | undefined;
2115
- }[] | null | undefined;
2116
- version: number;
2117
- } | undefined;
2118
- };
2119
- block_hash: string;
2120
- proof: {
2121
- hash: string;
2122
- direction: "Left" | "Right";
2123
- }[];
2124
- }[];
2125
- } | {
2126
- final_execution_status: "FINAL";
2127
- status: "Pending" | "Unknown" | {
2128
- SuccessValue: string;
2129
- } | {
2130
- SuccessReceiptId: string;
2131
- } | {
2132
- Failure: {
2133
- [x: string]: any;
2134
- error_message?: string | undefined;
2135
- error_type?: string | undefined;
2136
- };
2137
- };
2138
- transaction: {
2139
- signer_id: string;
2140
- public_key: string;
2141
- nonce: number;
2142
- receiver_id: string;
2143
- actions: ("CreateAccount" | {
2144
- CreateAccount: Record<string, never>;
2145
- } | {
2146
- Transfer: {
2147
- deposit: string;
2148
- };
2149
- } | {
2150
- FunctionCall: {
2151
- method_name: string;
2152
- args: string;
2153
- gas: number;
2154
- deposit: string;
2155
- };
2156
- } | {
2157
- DeployContract: {
2158
- code: string;
2159
- };
2160
- } | {
2161
- DeployGlobalContract: {
2162
- code: string;
2163
- };
2164
- } | {
2165
- DeployGlobalContractByAccountId: {
2166
- code: string;
2167
- };
2168
- } | {
2169
- Stake: {
2170
- stake: string;
2171
- public_key: string;
2172
- };
2173
- } | {
2174
- AddKey: {
2175
- public_key: string;
2176
- access_key: {
2177
- nonce: number;
2178
- permission: "FullAccess" | {
2179
- FunctionCall: {
2180
- receiver_id: string;
2181
- method_names: string[];
2182
- allowance?: string | null | undefined;
2183
- };
2184
- } | {
2185
- GasKeyFunctionCall: {
2186
- balance: string;
2187
- num_nonces: number;
2188
- receiver_id: string;
2189
- method_names: string[];
2190
- allowance?: string | null | undefined;
2191
- };
2192
- } | {
2193
- GasKeyFullAccess: {
2194
- balance: string;
2195
- num_nonces: number;
2196
- };
2197
- };
2198
- };
2199
- };
2200
- } | {
2201
- DeleteKey: {
2202
- public_key: string;
2203
- };
2204
- } | {
2205
- DeleteAccount: {
2206
- beneficiary_id: string;
2207
- };
2208
- } | {
2209
- UseGlobalContract: {
2210
- code_hash: string;
2211
- };
2212
- } | {
2213
- UseGlobalContractByAccountId: {
2214
- account_id: string;
2215
- };
2216
- } | {
2217
- Delegate: {
2218
- delegate_action: {
2219
- sender_id: string;
2220
- receiver_id: string;
2221
- actions: any[];
2222
- nonce: number;
2223
- max_block_height: number;
2224
- public_key: string;
2225
- };
2226
- signature: string;
2227
- };
2228
- } | {
2229
- DeterministicStateInit: {
2230
- deposit: string;
2231
- };
2232
- } | {
2233
- TransferToGasKey: {
2234
- public_key: string;
2235
- deposit: string;
2236
- };
2237
- } | {
2238
- WithdrawFromGasKey: {
2239
- public_key: string;
2240
- amount: string;
2241
- };
2242
- } | {
2243
- DelegateV2: {
2244
- delegate_action: {
2245
- V2: {
2246
- sender_id: string;
2247
- receiver_id: string;
2248
- actions: any[];
2249
- nonce: {
2250
- Nonce: {
2251
- nonce: number;
2252
- };
2253
- } | {
2254
- GasKeyNonce: {
2255
- nonce: number;
2256
- nonce_index: number;
2257
- };
2258
- };
2259
- max_block_height: number;
2260
- public_key: string;
2261
- };
2262
- };
2263
- signature: string;
2264
- };
2265
- })[];
2266
- signature: string;
2267
- hash: string;
2268
- priority_fee?: number | undefined;
2269
- nonce_mode?: "monotonic" | "strict" | null | undefined;
2270
- };
2271
- transaction_outcome: {
2272
- id: string;
2273
- outcome: {
2274
- logs: string[];
2275
- receipt_ids: string[];
2276
- gas_burnt: number;
2277
- tokens_burnt: string;
2278
- executor_id: string;
2279
- status: "Pending" | "Unknown" | {
2280
- SuccessValue: string;
2281
- } | {
2282
- SuccessReceiptId: string;
2283
- } | {
2284
- Failure: {
2285
- [x: string]: any;
2286
- error_message?: string | undefined;
2287
- error_type?: string | undefined;
2288
- };
2289
- };
2290
- metadata?: {
2291
- gas_profile?: {
2292
- [x: string]: any;
2293
- cost?: string | undefined;
2294
- cost_category?: string | undefined;
2295
- gas_used?: string | undefined;
2296
- }[] | null | undefined;
2297
- version: 4;
2298
- contracts?: ({
2299
- local: string;
2300
- } | {
2301
- global_hash: string;
2302
- } | {
2303
- global_account_id: string;
2304
- } | null)[] | null | undefined;
2305
- } | {
2306
- gas_profile?: {
2307
- [x: string]: any;
2308
- cost?: string | undefined;
2309
- cost_category?: string | undefined;
2310
- gas_used?: string | undefined;
2311
- }[] | null | undefined;
2312
- version: 1 | 2 | 3;
2313
- } | {
2314
- gas_profile?: {
2315
- [x: string]: any;
2316
- cost?: string | undefined;
2317
- cost_category?: string | undefined;
2318
- gas_used?: string | undefined;
2319
- }[] | null | undefined;
2320
- version: number;
2321
- } | undefined;
2322
- };
2323
- block_hash: string;
2324
- proof: {
2325
- hash: string;
2326
- direction: "Left" | "Right";
2327
- }[];
2328
- };
2329
- receipts_outcome: {
2330
- id: string;
2331
- outcome: {
2332
- logs: string[];
2333
- receipt_ids: string[];
2334
- gas_burnt: number;
2335
- tokens_burnt: string;
2336
- executor_id: string;
2337
- status: "Pending" | "Unknown" | {
2338
- SuccessValue: string;
2339
- } | {
2340
- SuccessReceiptId: string;
2341
- } | {
2342
- Failure: {
2343
- [x: string]: any;
2344
- error_message?: string | undefined;
2345
- error_type?: string | undefined;
2346
- };
2347
- };
2348
- metadata?: {
2349
- gas_profile?: {
2350
- [x: string]: any;
2351
- cost?: string | undefined;
2352
- cost_category?: string | undefined;
2353
- gas_used?: string | undefined;
2354
- }[] | null | undefined;
2355
- version: 4;
2356
- contracts?: ({
2357
- local: string;
2358
- } | {
2359
- global_hash: string;
2360
- } | {
2361
- global_account_id: string;
2362
- } | null)[] | null | undefined;
2363
- } | {
2364
- gas_profile?: {
2365
- [x: string]: any;
2366
- cost?: string | undefined;
2367
- cost_category?: string | undefined;
2368
- gas_used?: string | undefined;
2369
- }[] | null | undefined;
2370
- version: 1 | 2 | 3;
2371
- } | {
2372
- gas_profile?: {
2373
- [x: string]: any;
2374
- cost?: string | undefined;
2375
- cost_category?: string | undefined;
2376
- gas_used?: string | undefined;
2377
- }[] | null | undefined;
2378
- version: number;
2379
- } | undefined;
2380
- };
2381
- block_hash: string;
2382
- proof: {
2383
- hash: string;
2384
- direction: "Left" | "Right";
2385
- }[];
2386
- }[];
2387
- }>;
2388
- export declare function ref_withdraw_function(near: Near, rhea_contractId: string, amount: ref_args_params_interface["amount"], token_id: ref_args_params_interface["token_id"]): Promise<{
2389
- final_execution_status: "NONE";
2390
- transaction?: {
2391
- hash: string;
2392
- signer_id: string;
2393
- receiver_id: string;
2394
- nonce: number;
2395
- } | undefined;
2396
- status?: "Pending" | "Unknown" | {
2397
- SuccessValue: string;
2398
- } | {
2399
- SuccessReceiptId: string;
2400
- } | {
2401
- Failure: {
2402
- [x: string]: any;
2403
- error_message?: string | undefined;
2404
- error_type?: string | undefined;
2405
- };
2406
- } | undefined;
2407
- transaction_outcome?: {
2408
- id: string;
2409
- outcome: {
2410
- logs: string[];
2411
- receipt_ids: string[];
2412
- gas_burnt: number;
2413
- tokens_burnt: string;
2414
- executor_id: string;
2415
- status: "Pending" | "Unknown" | {
2416
- SuccessValue: string;
2417
- } | {
2418
- SuccessReceiptId: string;
2419
- } | {
2420
- Failure: {
2421
- [x: string]: any;
2422
- error_message?: string | undefined;
2423
- error_type?: string | undefined;
2424
- };
2425
- };
2426
- metadata?: {
2427
- gas_profile?: {
2428
- [x: string]: any;
2429
- cost?: string | undefined;
2430
- cost_category?: string | undefined;
2431
- gas_used?: string | undefined;
2432
- }[] | null | undefined;
2433
- version: 4;
2434
- contracts?: ({
2435
- local: string;
2436
- } | {
2437
- global_hash: string;
2438
- } | {
2439
- global_account_id: string;
2440
- } | null)[] | null | undefined;
2441
- } | {
2442
- gas_profile?: {
2443
- [x: string]: any;
2444
- cost?: string | undefined;
2445
- cost_category?: string | undefined;
2446
- gas_used?: string | undefined;
2447
- }[] | null | undefined;
2448
- version: 1 | 2 | 3;
2449
- } | {
2450
- gas_profile?: {
2451
- [x: string]: any;
2452
- cost?: string | undefined;
2453
- cost_category?: string | undefined;
2454
- gas_used?: string | undefined;
2455
- }[] | null | undefined;
2456
- version: number;
2457
- } | undefined;
2458
- };
2459
- block_hash: string;
2460
- proof: {
2461
- hash: string;
2462
- direction: "Left" | "Right";
2463
- }[];
2464
- } | undefined;
2465
- receipts_outcome?: {
2466
- id: string;
2467
- outcome: {
2468
- logs: string[];
2469
- receipt_ids: string[];
2470
- gas_burnt: number;
2471
- tokens_burnt: string;
2472
- executor_id: string;
2473
- status: "Pending" | "Unknown" | {
2474
- SuccessValue: string;
2475
- } | {
2476
- SuccessReceiptId: string;
2477
- } | {
2478
- Failure: {
2479
- [x: string]: any;
2480
- error_message?: string | undefined;
2481
- error_type?: string | undefined;
2482
- };
2483
- };
2484
- metadata?: {
2485
- gas_profile?: {
2486
- [x: string]: any;
2487
- cost?: string | undefined;
2488
- cost_category?: string | undefined;
2489
- gas_used?: string | undefined;
2490
- }[] | null | undefined;
2491
- version: 4;
2492
- contracts?: ({
2493
- local: string;
2494
- } | {
2495
- global_hash: string;
2496
- } | {
2497
- global_account_id: string;
2498
- } | null)[] | null | undefined;
2499
- } | {
2500
- gas_profile?: {
2501
- [x: string]: any;
2502
- cost?: string | undefined;
2503
- cost_category?: string | undefined;
2504
- gas_used?: string | undefined;
2505
- }[] | null | undefined;
2506
- version: 1 | 2 | 3;
2507
- } | {
2508
- gas_profile?: {
2509
- [x: string]: any;
2510
- cost?: string | undefined;
2511
- cost_category?: string | undefined;
2512
- gas_used?: string | undefined;
2513
- }[] | null | undefined;
2514
- version: number;
2515
- } | undefined;
2516
- };
2517
- block_hash: string;
2518
- proof: {
2519
- hash: string;
2520
- direction: "Left" | "Right";
2521
- }[];
2522
- }[] | undefined;
2523
- } | {
2524
- final_execution_status: "INCLUDED";
2525
- transaction?: {
2526
- hash: string;
2527
- signer_id: string;
2528
- receiver_id: string;
2529
- nonce: number;
2530
- } | undefined;
2531
- status?: "Pending" | "Unknown" | {
2532
- SuccessValue: string;
2533
- } | {
2534
- SuccessReceiptId: string;
2535
- } | {
2536
- Failure: {
2537
- [x: string]: any;
2538
- error_message?: string | undefined;
2539
- error_type?: string | undefined;
2540
- };
2541
- } | undefined;
2542
- transaction_outcome?: {
2543
- id: string;
2544
- outcome: {
2545
- logs: string[];
2546
- receipt_ids: string[];
2547
- gas_burnt: number;
2548
- tokens_burnt: string;
2549
- executor_id: string;
2550
- status: "Pending" | "Unknown" | {
2551
- SuccessValue: string;
2552
- } | {
2553
- SuccessReceiptId: string;
2554
- } | {
2555
- Failure: {
2556
- [x: string]: any;
2557
- error_message?: string | undefined;
2558
- error_type?: string | undefined;
2559
- };
2560
- };
2561
- metadata?: {
2562
- gas_profile?: {
2563
- [x: string]: any;
2564
- cost?: string | undefined;
2565
- cost_category?: string | undefined;
2566
- gas_used?: string | undefined;
2567
- }[] | null | undefined;
2568
- version: 4;
2569
- contracts?: ({
2570
- local: string;
2571
- } | {
2572
- global_hash: string;
2573
- } | {
2574
- global_account_id: string;
2575
- } | null)[] | null | undefined;
2576
- } | {
2577
- gas_profile?: {
2578
- [x: string]: any;
2579
- cost?: string | undefined;
2580
- cost_category?: string | undefined;
2581
- gas_used?: string | undefined;
2582
- }[] | null | undefined;
2583
- version: 1 | 2 | 3;
2584
- } | {
2585
- gas_profile?: {
2586
- [x: string]: any;
2587
- cost?: string | undefined;
2588
- cost_category?: string | undefined;
2589
- gas_used?: string | undefined;
2590
- }[] | null | undefined;
2591
- version: number;
2592
- } | undefined;
2593
- };
2594
- block_hash: string;
2595
- proof: {
2596
- hash: string;
2597
- direction: "Left" | "Right";
2598
- }[];
2599
- } | undefined;
2600
- receipts_outcome?: {
2601
- id: string;
2602
- outcome: {
2603
- logs: string[];
2604
- receipt_ids: string[];
2605
- gas_burnt: number;
2606
- tokens_burnt: string;
2607
- executor_id: string;
2608
- status: "Pending" | "Unknown" | {
2609
- SuccessValue: string;
2610
- } | {
2611
- SuccessReceiptId: string;
2612
- } | {
2613
- Failure: {
2614
- [x: string]: any;
2615
- error_message?: string | undefined;
2616
- error_type?: string | undefined;
2617
- };
2618
- };
2619
- metadata?: {
2620
- gas_profile?: {
2621
- [x: string]: any;
2622
- cost?: string | undefined;
2623
- cost_category?: string | undefined;
2624
- gas_used?: string | undefined;
2625
- }[] | null | undefined;
2626
- version: 4;
2627
- contracts?: ({
2628
- local: string;
2629
- } | {
2630
- global_hash: string;
2631
- } | {
2632
- global_account_id: string;
2633
- } | null)[] | null | undefined;
2634
- } | {
2635
- gas_profile?: {
2636
- [x: string]: any;
2637
- cost?: string | undefined;
2638
- cost_category?: string | undefined;
2639
- gas_used?: string | undefined;
2640
- }[] | null | undefined;
2641
- version: 1 | 2 | 3;
2642
- } | {
2643
- gas_profile?: {
2644
- [x: string]: any;
2645
- cost?: string | undefined;
2646
- cost_category?: string | undefined;
2647
- gas_used?: string | undefined;
2648
- }[] | null | undefined;
2649
- version: number;
2650
- } | undefined;
2651
- };
2652
- block_hash: string;
2653
- proof: {
2654
- hash: string;
2655
- direction: "Left" | "Right";
2656
- }[];
2657
- }[] | undefined;
2658
- } | {
2659
- final_execution_status: "INCLUDED_FINAL";
2660
- transaction?: {
2661
- hash: string;
2662
- signer_id: string;
2663
- receiver_id: string;
2664
- nonce: number;
2665
- } | undefined;
2666
- status?: "Pending" | "Unknown" | {
2667
- SuccessValue: string;
2668
- } | {
2669
- SuccessReceiptId: string;
2670
- } | {
2671
- Failure: {
2672
- [x: string]: any;
2673
- error_message?: string | undefined;
2674
- error_type?: string | undefined;
2675
- };
2676
- } | undefined;
2677
- transaction_outcome?: {
2678
- id: string;
2679
- outcome: {
2680
- logs: string[];
2681
- receipt_ids: string[];
2682
- gas_burnt: number;
2683
- tokens_burnt: string;
2684
- executor_id: string;
2685
- status: "Pending" | "Unknown" | {
2686
- SuccessValue: string;
2687
- } | {
2688
- SuccessReceiptId: string;
2689
- } | {
2690
- Failure: {
2691
- [x: string]: any;
2692
- error_message?: string | undefined;
2693
- error_type?: string | undefined;
2694
- };
2695
- };
2696
- metadata?: {
2697
- gas_profile?: {
2698
- [x: string]: any;
2699
- cost?: string | undefined;
2700
- cost_category?: string | undefined;
2701
- gas_used?: string | undefined;
2702
- }[] | null | undefined;
2703
- version: 4;
2704
- contracts?: ({
2705
- local: string;
2706
- } | {
2707
- global_hash: string;
2708
- } | {
2709
- global_account_id: string;
2710
- } | null)[] | null | undefined;
2711
- } | {
2712
- gas_profile?: {
2713
- [x: string]: any;
2714
- cost?: string | undefined;
2715
- cost_category?: string | undefined;
2716
- gas_used?: string | undefined;
2717
- }[] | null | undefined;
2718
- version: 1 | 2 | 3;
2719
- } | {
2720
- gas_profile?: {
2721
- [x: string]: any;
2722
- cost?: string | undefined;
2723
- cost_category?: string | undefined;
2724
- gas_used?: string | undefined;
2725
- }[] | null | undefined;
2726
- version: number;
2727
- } | undefined;
2728
- };
2729
- block_hash: string;
2730
- proof: {
2731
- hash: string;
2732
- direction: "Left" | "Right";
2733
- }[];
2734
- } | undefined;
2735
- receipts_outcome?: {
2736
- id: string;
2737
- outcome: {
2738
- logs: string[];
2739
- receipt_ids: string[];
2740
- gas_burnt: number;
2741
- tokens_burnt: string;
2742
- executor_id: string;
2743
- status: "Pending" | "Unknown" | {
2744
- SuccessValue: string;
2745
- } | {
2746
- SuccessReceiptId: string;
2747
- } | {
2748
- Failure: {
2749
- [x: string]: any;
2750
- error_message?: string | undefined;
2751
- error_type?: string | undefined;
2752
- };
2753
- };
2754
- metadata?: {
2755
- gas_profile?: {
2756
- [x: string]: any;
2757
- cost?: string | undefined;
2758
- cost_category?: string | undefined;
2759
- gas_used?: string | undefined;
2760
- }[] | null | undefined;
2761
- version: 4;
2762
- contracts?: ({
2763
- local: string;
2764
- } | {
2765
- global_hash: string;
2766
- } | {
2767
- global_account_id: string;
2768
- } | null)[] | null | undefined;
2769
- } | {
2770
- gas_profile?: {
2771
- [x: string]: any;
2772
- cost?: string | undefined;
2773
- cost_category?: string | undefined;
2774
- gas_used?: string | undefined;
2775
- }[] | null | undefined;
2776
- version: 1 | 2 | 3;
2777
- } | {
2778
- gas_profile?: {
2779
- [x: string]: any;
2780
- cost?: string | undefined;
2781
- cost_category?: string | undefined;
2782
- gas_used?: string | undefined;
2783
- }[] | null | undefined;
2784
- version: number;
2785
- } | undefined;
2786
- };
2787
- block_hash: string;
2788
- proof: {
2789
- hash: string;
2790
- direction: "Left" | "Right";
2791
- }[];
2792
- }[] | undefined;
2793
- } | {
2794
- final_execution_status: "EXECUTED_OPTIMISTIC";
2795
- status: "Pending" | "Unknown" | {
2796
- SuccessValue: string;
2797
- } | {
2798
- SuccessReceiptId: string;
2799
- } | {
2800
- Failure: {
2801
- [x: string]: any;
2802
- error_message?: string | undefined;
2803
- error_type?: string | undefined;
2804
- };
2805
- };
2806
- transaction: {
2807
- signer_id: string;
2808
- public_key: string;
2809
- nonce: number;
2810
- receiver_id: string;
2811
- actions: ("CreateAccount" | {
2812
- CreateAccount: Record<string, never>;
2813
- } | {
2814
- Transfer: {
2815
- deposit: string;
2816
- };
2817
- } | {
2818
- FunctionCall: {
2819
- method_name: string;
2820
- args: string;
2821
- gas: number;
2822
- deposit: string;
2823
- };
2824
- } | {
2825
- DeployContract: {
2826
- code: string;
2827
- };
2828
- } | {
2829
- DeployGlobalContract: {
2830
- code: string;
2831
- };
2832
- } | {
2833
- DeployGlobalContractByAccountId: {
2834
- code: string;
2835
- };
2836
- } | {
2837
- Stake: {
2838
- stake: string;
2839
- public_key: string;
2840
- };
2841
- } | {
2842
- AddKey: {
2843
- public_key: string;
2844
- access_key: {
2845
- nonce: number;
2846
- permission: "FullAccess" | {
2847
- FunctionCall: {
2848
- receiver_id: string;
2849
- method_names: string[];
2850
- allowance?: string | null | undefined;
2851
- };
2852
- } | {
2853
- GasKeyFunctionCall: {
2854
- balance: string;
2855
- num_nonces: number;
2856
- receiver_id: string;
2857
- method_names: string[];
2858
- allowance?: string | null | undefined;
2859
- };
2860
- } | {
2861
- GasKeyFullAccess: {
2862
- balance: string;
2863
- num_nonces: number;
2864
- };
2865
- };
2866
- };
2867
- };
2868
- } | {
2869
- DeleteKey: {
2870
- public_key: string;
2871
- };
2872
- } | {
2873
- DeleteAccount: {
2874
- beneficiary_id: string;
2875
- };
2876
- } | {
2877
- UseGlobalContract: {
2878
- code_hash: string;
2879
- };
2880
- } | {
2881
- UseGlobalContractByAccountId: {
2882
- account_id: string;
2883
- };
2884
- } | {
2885
- Delegate: {
2886
- delegate_action: {
2887
- sender_id: string;
2888
- receiver_id: string;
2889
- actions: any[];
2890
- nonce: number;
2891
- max_block_height: number;
2892
- public_key: string;
2893
- };
2894
- signature: string;
2895
- };
2896
- } | {
2897
- DeterministicStateInit: {
2898
- deposit: string;
2899
- };
2900
- } | {
2901
- TransferToGasKey: {
2902
- public_key: string;
2903
- deposit: string;
2904
- };
2905
- } | {
2906
- WithdrawFromGasKey: {
2907
- public_key: string;
2908
- amount: string;
2909
- };
2910
- } | {
2911
- DelegateV2: {
2912
- delegate_action: {
2913
- V2: {
2914
- sender_id: string;
2915
- receiver_id: string;
2916
- actions: any[];
2917
- nonce: {
2918
- Nonce: {
2919
- nonce: number;
2920
- };
2921
- } | {
2922
- GasKeyNonce: {
2923
- nonce: number;
2924
- nonce_index: number;
2925
- };
2926
- };
2927
- max_block_height: number;
2928
- public_key: string;
2929
- };
2930
- };
2931
- signature: string;
2932
- };
2933
- })[];
2934
- signature: string;
2935
- hash: string;
2936
- priority_fee?: number | undefined;
2937
- nonce_mode?: "monotonic" | "strict" | null | undefined;
2938
- };
2939
- transaction_outcome: {
2940
- id: string;
2941
- outcome: {
2942
- logs: string[];
2943
- receipt_ids: string[];
2944
- gas_burnt: number;
2945
- tokens_burnt: string;
2946
- executor_id: string;
2947
- status: "Pending" | "Unknown" | {
2948
- SuccessValue: string;
2949
- } | {
2950
- SuccessReceiptId: string;
2951
- } | {
2952
- Failure: {
2953
- [x: string]: any;
2954
- error_message?: string | undefined;
2955
- error_type?: string | undefined;
2956
- };
2957
- };
2958
- metadata?: {
2959
- gas_profile?: {
2960
- [x: string]: any;
2961
- cost?: string | undefined;
2962
- cost_category?: string | undefined;
2963
- gas_used?: string | undefined;
2964
- }[] | null | undefined;
2965
- version: 4;
2966
- contracts?: ({
2967
- local: string;
2968
- } | {
2969
- global_hash: string;
2970
- } | {
2971
- global_account_id: string;
2972
- } | null)[] | null | undefined;
2973
- } | {
2974
- gas_profile?: {
2975
- [x: string]: any;
2976
- cost?: string | undefined;
2977
- cost_category?: string | undefined;
2978
- gas_used?: string | undefined;
2979
- }[] | null | undefined;
2980
- version: 1 | 2 | 3;
2981
- } | {
2982
- gas_profile?: {
2983
- [x: string]: any;
2984
- cost?: string | undefined;
2985
- cost_category?: string | undefined;
2986
- gas_used?: string | undefined;
2987
- }[] | null | undefined;
2988
- version: number;
2989
- } | undefined;
2990
- };
2991
- block_hash: string;
2992
- proof: {
2993
- hash: string;
2994
- direction: "Left" | "Right";
2995
- }[];
2996
- };
2997
- receipts_outcome: {
2998
- id: string;
2999
- outcome: {
3000
- logs: string[];
3001
- receipt_ids: string[];
3002
- gas_burnt: number;
3003
- tokens_burnt: string;
3004
- executor_id: string;
3005
- status: "Pending" | "Unknown" | {
3006
- SuccessValue: string;
3007
- } | {
3008
- SuccessReceiptId: string;
3009
- } | {
3010
- Failure: {
3011
- [x: string]: any;
3012
- error_message?: string | undefined;
3013
- error_type?: string | undefined;
3014
- };
3015
- };
3016
- metadata?: {
3017
- gas_profile?: {
3018
- [x: string]: any;
3019
- cost?: string | undefined;
3020
- cost_category?: string | undefined;
3021
- gas_used?: string | undefined;
3022
- }[] | null | undefined;
3023
- version: 4;
3024
- contracts?: ({
3025
- local: string;
3026
- } | {
3027
- global_hash: string;
3028
- } | {
3029
- global_account_id: string;
3030
- } | null)[] | null | undefined;
3031
- } | {
3032
- gas_profile?: {
3033
- [x: string]: any;
3034
- cost?: string | undefined;
3035
- cost_category?: string | undefined;
3036
- gas_used?: string | undefined;
3037
- }[] | null | undefined;
3038
- version: 1 | 2 | 3;
3039
- } | {
3040
- gas_profile?: {
3041
- [x: string]: any;
3042
- cost?: string | undefined;
3043
- cost_category?: string | undefined;
3044
- gas_used?: string | undefined;
3045
- }[] | null | undefined;
3046
- version: number;
3047
- } | undefined;
3048
- };
3049
- block_hash: string;
3050
- proof: {
3051
- hash: string;
3052
- direction: "Left" | "Right";
3053
- }[];
3054
- }[];
3055
- } | {
3056
- final_execution_status: "EXECUTED";
3057
- status: "Pending" | "Unknown" | {
3058
- SuccessValue: string;
3059
- } | {
3060
- SuccessReceiptId: string;
3061
- } | {
3062
- Failure: {
3063
- [x: string]: any;
3064
- error_message?: string | undefined;
3065
- error_type?: string | undefined;
3066
- };
3067
- };
3068
- transaction: {
3069
- signer_id: string;
3070
- public_key: string;
3071
- nonce: number;
3072
- receiver_id: string;
3073
- actions: ("CreateAccount" | {
3074
- CreateAccount: Record<string, never>;
3075
- } | {
3076
- Transfer: {
3077
- deposit: string;
3078
- };
3079
- } | {
3080
- FunctionCall: {
3081
- method_name: string;
3082
- args: string;
3083
- gas: number;
3084
- deposit: string;
3085
- };
3086
- } | {
3087
- DeployContract: {
3088
- code: string;
3089
- };
3090
- } | {
3091
- DeployGlobalContract: {
3092
- code: string;
3093
- };
3094
- } | {
3095
- DeployGlobalContractByAccountId: {
3096
- code: string;
3097
- };
3098
- } | {
3099
- Stake: {
3100
- stake: string;
3101
- public_key: string;
3102
- };
3103
- } | {
3104
- AddKey: {
3105
- public_key: string;
3106
- access_key: {
3107
- nonce: number;
3108
- permission: "FullAccess" | {
3109
- FunctionCall: {
3110
- receiver_id: string;
3111
- method_names: string[];
3112
- allowance?: string | null | undefined;
3113
- };
3114
- } | {
3115
- GasKeyFunctionCall: {
3116
- balance: string;
3117
- num_nonces: number;
3118
- receiver_id: string;
3119
- method_names: string[];
3120
- allowance?: string | null | undefined;
3121
- };
3122
- } | {
3123
- GasKeyFullAccess: {
3124
- balance: string;
3125
- num_nonces: number;
3126
- };
3127
- };
3128
- };
3129
- };
3130
- } | {
3131
- DeleteKey: {
3132
- public_key: string;
3133
- };
3134
- } | {
3135
- DeleteAccount: {
3136
- beneficiary_id: string;
3137
- };
3138
- } | {
3139
- UseGlobalContract: {
3140
- code_hash: string;
3141
- };
3142
- } | {
3143
- UseGlobalContractByAccountId: {
3144
- account_id: string;
3145
- };
3146
- } | {
3147
- Delegate: {
3148
- delegate_action: {
3149
- sender_id: string;
3150
- receiver_id: string;
3151
- actions: any[];
3152
- nonce: number;
3153
- max_block_height: number;
3154
- public_key: string;
3155
- };
3156
- signature: string;
3157
- };
3158
- } | {
3159
- DeterministicStateInit: {
3160
- deposit: string;
3161
- };
3162
- } | {
3163
- TransferToGasKey: {
3164
- public_key: string;
3165
- deposit: string;
3166
- };
3167
- } | {
3168
- WithdrawFromGasKey: {
3169
- public_key: string;
3170
- amount: string;
3171
- };
3172
- } | {
3173
- DelegateV2: {
3174
- delegate_action: {
3175
- V2: {
3176
- sender_id: string;
3177
- receiver_id: string;
3178
- actions: any[];
3179
- nonce: {
3180
- Nonce: {
3181
- nonce: number;
3182
- };
3183
- } | {
3184
- GasKeyNonce: {
3185
- nonce: number;
3186
- nonce_index: number;
3187
- };
3188
- };
3189
- max_block_height: number;
3190
- public_key: string;
3191
- };
3192
- };
3193
- signature: string;
3194
- };
3195
- })[];
3196
- signature: string;
3197
- hash: string;
3198
- priority_fee?: number | undefined;
3199
- nonce_mode?: "monotonic" | "strict" | null | undefined;
3200
- };
3201
- transaction_outcome: {
3202
- id: string;
3203
- outcome: {
3204
- logs: string[];
3205
- receipt_ids: string[];
3206
- gas_burnt: number;
3207
- tokens_burnt: string;
3208
- executor_id: string;
3209
- status: "Pending" | "Unknown" | {
3210
- SuccessValue: string;
3211
- } | {
3212
- SuccessReceiptId: string;
3213
- } | {
3214
- Failure: {
3215
- [x: string]: any;
3216
- error_message?: string | undefined;
3217
- error_type?: string | undefined;
3218
- };
3219
- };
3220
- metadata?: {
3221
- gas_profile?: {
3222
- [x: string]: any;
3223
- cost?: string | undefined;
3224
- cost_category?: string | undefined;
3225
- gas_used?: string | undefined;
3226
- }[] | null | undefined;
3227
- version: 4;
3228
- contracts?: ({
3229
- local: string;
3230
- } | {
3231
- global_hash: string;
3232
- } | {
3233
- global_account_id: string;
3234
- } | null)[] | null | undefined;
3235
- } | {
3236
- gas_profile?: {
3237
- [x: string]: any;
3238
- cost?: string | undefined;
3239
- cost_category?: string | undefined;
3240
- gas_used?: string | undefined;
3241
- }[] | null | undefined;
3242
- version: 1 | 2 | 3;
3243
- } | {
3244
- gas_profile?: {
3245
- [x: string]: any;
3246
- cost?: string | undefined;
3247
- cost_category?: string | undefined;
3248
- gas_used?: string | undefined;
3249
- }[] | null | undefined;
3250
- version: number;
3251
- } | undefined;
3252
- };
3253
- block_hash: string;
3254
- proof: {
3255
- hash: string;
3256
- direction: "Left" | "Right";
3257
- }[];
3258
- };
3259
- receipts_outcome: {
3260
- id: string;
3261
- outcome: {
3262
- logs: string[];
3263
- receipt_ids: string[];
3264
- gas_burnt: number;
3265
- tokens_burnt: string;
3266
- executor_id: string;
3267
- status: "Pending" | "Unknown" | {
3268
- SuccessValue: string;
3269
- } | {
3270
- SuccessReceiptId: string;
3271
- } | {
3272
- Failure: {
3273
- [x: string]: any;
3274
- error_message?: string | undefined;
3275
- error_type?: string | undefined;
3276
- };
3277
- };
3278
- metadata?: {
3279
- gas_profile?: {
3280
- [x: string]: any;
3281
- cost?: string | undefined;
3282
- cost_category?: string | undefined;
3283
- gas_used?: string | undefined;
3284
- }[] | null | undefined;
3285
- version: 4;
3286
- contracts?: ({
3287
- local: string;
3288
- } | {
3289
- global_hash: string;
3290
- } | {
3291
- global_account_id: string;
3292
- } | null)[] | null | undefined;
3293
- } | {
3294
- gas_profile?: {
3295
- [x: string]: any;
3296
- cost?: string | undefined;
3297
- cost_category?: string | undefined;
3298
- gas_used?: string | undefined;
3299
- }[] | null | undefined;
3300
- version: 1 | 2 | 3;
3301
- } | {
3302
- gas_profile?: {
3303
- [x: string]: any;
3304
- cost?: string | undefined;
3305
- cost_category?: string | undefined;
3306
- gas_used?: string | undefined;
3307
- }[] | null | undefined;
3308
- version: number;
3309
- } | undefined;
3310
- };
3311
- block_hash: string;
3312
- proof: {
3313
- hash: string;
3314
- direction: "Left" | "Right";
3315
- }[];
3316
- }[];
3317
- } | {
3318
- final_execution_status: "FINAL";
3319
- status: "Pending" | "Unknown" | {
3320
- SuccessValue: string;
3321
- } | {
3322
- SuccessReceiptId: string;
3323
- } | {
3324
- Failure: {
3325
- [x: string]: any;
3326
- error_message?: string | undefined;
3327
- error_type?: string | undefined;
3328
- };
3329
- };
3330
- transaction: {
3331
- signer_id: string;
3332
- public_key: string;
3333
- nonce: number;
3334
- receiver_id: string;
3335
- actions: ("CreateAccount" | {
3336
- CreateAccount: Record<string, never>;
3337
- } | {
3338
- Transfer: {
3339
- deposit: string;
3340
- };
3341
- } | {
3342
- FunctionCall: {
3343
- method_name: string;
3344
- args: string;
3345
- gas: number;
3346
- deposit: string;
3347
- };
3348
- } | {
3349
- DeployContract: {
3350
- code: string;
3351
- };
3352
- } | {
3353
- DeployGlobalContract: {
3354
- code: string;
3355
- };
3356
- } | {
3357
- DeployGlobalContractByAccountId: {
3358
- code: string;
3359
- };
3360
- } | {
3361
- Stake: {
3362
- stake: string;
3363
- public_key: string;
3364
- };
3365
- } | {
3366
- AddKey: {
3367
- public_key: string;
3368
- access_key: {
3369
- nonce: number;
3370
- permission: "FullAccess" | {
3371
- FunctionCall: {
3372
- receiver_id: string;
3373
- method_names: string[];
3374
- allowance?: string | null | undefined;
3375
- };
3376
- } | {
3377
- GasKeyFunctionCall: {
3378
- balance: string;
3379
- num_nonces: number;
3380
- receiver_id: string;
3381
- method_names: string[];
3382
- allowance?: string | null | undefined;
3383
- };
3384
- } | {
3385
- GasKeyFullAccess: {
3386
- balance: string;
3387
- num_nonces: number;
3388
- };
3389
- };
3390
- };
3391
- };
3392
- } | {
3393
- DeleteKey: {
3394
- public_key: string;
3395
- };
3396
- } | {
3397
- DeleteAccount: {
3398
- beneficiary_id: string;
3399
- };
3400
- } | {
3401
- UseGlobalContract: {
3402
- code_hash: string;
3403
- };
3404
- } | {
3405
- UseGlobalContractByAccountId: {
3406
- account_id: string;
3407
- };
3408
- } | {
3409
- Delegate: {
3410
- delegate_action: {
3411
- sender_id: string;
3412
- receiver_id: string;
3413
- actions: any[];
3414
- nonce: number;
3415
- max_block_height: number;
3416
- public_key: string;
3417
- };
3418
- signature: string;
3419
- };
3420
- } | {
3421
- DeterministicStateInit: {
3422
- deposit: string;
3423
- };
3424
- } | {
3425
- TransferToGasKey: {
3426
- public_key: string;
3427
- deposit: string;
3428
- };
3429
- } | {
3430
- WithdrawFromGasKey: {
3431
- public_key: string;
3432
- amount: string;
3433
- };
3434
- } | {
3435
- DelegateV2: {
3436
- delegate_action: {
3437
- V2: {
3438
- sender_id: string;
3439
- receiver_id: string;
3440
- actions: any[];
3441
- nonce: {
3442
- Nonce: {
3443
- nonce: number;
3444
- };
3445
- } | {
3446
- GasKeyNonce: {
3447
- nonce: number;
3448
- nonce_index: number;
3449
- };
3450
- };
3451
- max_block_height: number;
3452
- public_key: string;
3453
- };
3454
- };
3455
- signature: string;
3456
- };
3457
- })[];
3458
- signature: string;
3459
- hash: string;
3460
- priority_fee?: number | undefined;
3461
- nonce_mode?: "monotonic" | "strict" | null | undefined;
3462
- };
3463
- transaction_outcome: {
3464
- id: string;
3465
- outcome: {
3466
- logs: string[];
3467
- receipt_ids: string[];
3468
- gas_burnt: number;
3469
- tokens_burnt: string;
3470
- executor_id: string;
3471
- status: "Pending" | "Unknown" | {
3472
- SuccessValue: string;
3473
- } | {
3474
- SuccessReceiptId: string;
3475
- } | {
3476
- Failure: {
3477
- [x: string]: any;
3478
- error_message?: string | undefined;
3479
- error_type?: string | undefined;
3480
- };
3481
- };
3482
- metadata?: {
3483
- gas_profile?: {
3484
- [x: string]: any;
3485
- cost?: string | undefined;
3486
- cost_category?: string | undefined;
3487
- gas_used?: string | undefined;
3488
- }[] | null | undefined;
3489
- version: 4;
3490
- contracts?: ({
3491
- local: string;
3492
- } | {
3493
- global_hash: string;
3494
- } | {
3495
- global_account_id: string;
3496
- } | null)[] | null | undefined;
3497
- } | {
3498
- gas_profile?: {
3499
- [x: string]: any;
3500
- cost?: string | undefined;
3501
- cost_category?: string | undefined;
3502
- gas_used?: string | undefined;
3503
- }[] | null | undefined;
3504
- version: 1 | 2 | 3;
3505
- } | {
3506
- gas_profile?: {
3507
- [x: string]: any;
3508
- cost?: string | undefined;
3509
- cost_category?: string | undefined;
3510
- gas_used?: string | undefined;
3511
- }[] | null | undefined;
3512
- version: number;
3513
- } | undefined;
3514
- };
3515
- block_hash: string;
3516
- proof: {
3517
- hash: string;
3518
- direction: "Left" | "Right";
3519
- }[];
3520
- };
3521
- receipts_outcome: {
3522
- id: string;
3523
- outcome: {
3524
- logs: string[];
3525
- receipt_ids: string[];
3526
- gas_burnt: number;
3527
- tokens_burnt: string;
3528
- executor_id: string;
3529
- status: "Pending" | "Unknown" | {
3530
- SuccessValue: string;
3531
- } | {
3532
- SuccessReceiptId: string;
3533
- } | {
3534
- Failure: {
3535
- [x: string]: any;
3536
- error_message?: string | undefined;
3537
- error_type?: string | undefined;
3538
- };
3539
- };
3540
- metadata?: {
3541
- gas_profile?: {
3542
- [x: string]: any;
3543
- cost?: string | undefined;
3544
- cost_category?: string | undefined;
3545
- gas_used?: string | undefined;
3546
- }[] | null | undefined;
3547
- version: 4;
3548
- contracts?: ({
3549
- local: string;
3550
- } | {
3551
- global_hash: string;
3552
- } | {
3553
- global_account_id: string;
3554
- } | null)[] | null | undefined;
3555
- } | {
3556
- gas_profile?: {
3557
- [x: string]: any;
3558
- cost?: string | undefined;
3559
- cost_category?: string | undefined;
3560
- gas_used?: string | undefined;
3561
- }[] | null | undefined;
3562
- version: 1 | 2 | 3;
3563
- } | {
3564
- gas_profile?: {
3565
- [x: string]: any;
3566
- cost?: string | undefined;
3567
- cost_category?: string | undefined;
3568
- gas_used?: string | undefined;
3569
- }[] | null | undefined;
3570
- version: number;
3571
- } | undefined;
3572
- };
3573
- block_hash: string;
3574
- proof: {
3575
- hash: string;
3576
- direction: "Left" | "Right";
3577
- }[];
3578
- }[];
3579
- }>;
3580
- export declare function ref_add_simple_pool_function(near: Near, rhea_contractId: string, fee: ref_args_params_interface["fee"], tokens: ref_args_params_interface["tokens"]): Promise<{
3581
- final_execution_status: "NONE";
3582
- transaction?: {
3583
- hash: string;
3584
- signer_id: string;
3585
- receiver_id: string;
3586
- nonce: number;
3587
- } | undefined;
3588
- status?: "Pending" | "Unknown" | {
3589
- SuccessValue: string;
3590
- } | {
3591
- SuccessReceiptId: string;
3592
- } | {
3593
- Failure: {
3594
- [x: string]: any;
3595
- error_message?: string | undefined;
3596
- error_type?: string | undefined;
3597
- };
3598
- } | undefined;
3599
- transaction_outcome?: {
3600
- id: string;
3601
- outcome: {
3602
- logs: string[];
3603
- receipt_ids: string[];
3604
- gas_burnt: number;
3605
- tokens_burnt: string;
3606
- executor_id: string;
3607
- status: "Pending" | "Unknown" | {
3608
- SuccessValue: string;
3609
- } | {
3610
- SuccessReceiptId: string;
3611
- } | {
3612
- Failure: {
3613
- [x: string]: any;
3614
- error_message?: string | undefined;
3615
- error_type?: string | undefined;
3616
- };
3617
- };
3618
- metadata?: {
3619
- gas_profile?: {
3620
- [x: string]: any;
3621
- cost?: string | undefined;
3622
- cost_category?: string | undefined;
3623
- gas_used?: string | undefined;
3624
- }[] | null | undefined;
3625
- version: 4;
3626
- contracts?: ({
3627
- local: string;
3628
- } | {
3629
- global_hash: string;
3630
- } | {
3631
- global_account_id: string;
3632
- } | null)[] | null | undefined;
3633
- } | {
3634
- gas_profile?: {
3635
- [x: string]: any;
3636
- cost?: string | undefined;
3637
- cost_category?: string | undefined;
3638
- gas_used?: string | undefined;
3639
- }[] | null | undefined;
3640
- version: 1 | 2 | 3;
3641
- } | {
3642
- gas_profile?: {
3643
- [x: string]: any;
3644
- cost?: string | undefined;
3645
- cost_category?: string | undefined;
3646
- gas_used?: string | undefined;
3647
- }[] | null | undefined;
3648
- version: number;
3649
- } | undefined;
3650
- };
3651
- block_hash: string;
3652
- proof: {
3653
- hash: string;
3654
- direction: "Left" | "Right";
3655
- }[];
3656
- } | undefined;
3657
- receipts_outcome?: {
3658
- id: string;
3659
- outcome: {
3660
- logs: string[];
3661
- receipt_ids: string[];
3662
- gas_burnt: number;
3663
- tokens_burnt: string;
3664
- executor_id: string;
3665
- status: "Pending" | "Unknown" | {
3666
- SuccessValue: string;
3667
- } | {
3668
- SuccessReceiptId: string;
3669
- } | {
3670
- Failure: {
3671
- [x: string]: any;
3672
- error_message?: string | undefined;
3673
- error_type?: string | undefined;
3674
- };
3675
- };
3676
- metadata?: {
3677
- gas_profile?: {
3678
- [x: string]: any;
3679
- cost?: string | undefined;
3680
- cost_category?: string | undefined;
3681
- gas_used?: string | undefined;
3682
- }[] | null | undefined;
3683
- version: 4;
3684
- contracts?: ({
3685
- local: string;
3686
- } | {
3687
- global_hash: string;
3688
- } | {
3689
- global_account_id: string;
3690
- } | null)[] | null | undefined;
3691
- } | {
3692
- gas_profile?: {
3693
- [x: string]: any;
3694
- cost?: string | undefined;
3695
- cost_category?: string | undefined;
3696
- gas_used?: string | undefined;
3697
- }[] | null | undefined;
3698
- version: 1 | 2 | 3;
3699
- } | {
3700
- gas_profile?: {
3701
- [x: string]: any;
3702
- cost?: string | undefined;
3703
- cost_category?: string | undefined;
3704
- gas_used?: string | undefined;
3705
- }[] | null | undefined;
3706
- version: number;
3707
- } | undefined;
3708
- };
3709
- block_hash: string;
3710
- proof: {
3711
- hash: string;
3712
- direction: "Left" | "Right";
3713
- }[];
3714
- }[] | undefined;
3715
- } | {
3716
- final_execution_status: "INCLUDED";
3717
- transaction?: {
3718
- hash: string;
3719
- signer_id: string;
3720
- receiver_id: string;
3721
- nonce: number;
3722
- } | undefined;
3723
- status?: "Pending" | "Unknown" | {
3724
- SuccessValue: string;
3725
- } | {
3726
- SuccessReceiptId: string;
3727
- } | {
3728
- Failure: {
3729
- [x: string]: any;
3730
- error_message?: string | undefined;
3731
- error_type?: string | undefined;
3732
- };
3733
- } | undefined;
3734
- transaction_outcome?: {
3735
- id: string;
3736
- outcome: {
3737
- logs: string[];
3738
- receipt_ids: string[];
3739
- gas_burnt: number;
3740
- tokens_burnt: string;
3741
- executor_id: string;
3742
- status: "Pending" | "Unknown" | {
3743
- SuccessValue: string;
3744
- } | {
3745
- SuccessReceiptId: string;
3746
- } | {
3747
- Failure: {
3748
- [x: string]: any;
3749
- error_message?: string | undefined;
3750
- error_type?: string | undefined;
3751
- };
3752
- };
3753
- metadata?: {
3754
- gas_profile?: {
3755
- [x: string]: any;
3756
- cost?: string | undefined;
3757
- cost_category?: string | undefined;
3758
- gas_used?: string | undefined;
3759
- }[] | null | undefined;
3760
- version: 4;
3761
- contracts?: ({
3762
- local: string;
3763
- } | {
3764
- global_hash: string;
3765
- } | {
3766
- global_account_id: string;
3767
- } | null)[] | null | undefined;
3768
- } | {
3769
- gas_profile?: {
3770
- [x: string]: any;
3771
- cost?: string | undefined;
3772
- cost_category?: string | undefined;
3773
- gas_used?: string | undefined;
3774
- }[] | null | undefined;
3775
- version: 1 | 2 | 3;
3776
- } | {
3777
- gas_profile?: {
3778
- [x: string]: any;
3779
- cost?: string | undefined;
3780
- cost_category?: string | undefined;
3781
- gas_used?: string | undefined;
3782
- }[] | null | undefined;
3783
- version: number;
3784
- } | undefined;
3785
- };
3786
- block_hash: string;
3787
- proof: {
3788
- hash: string;
3789
- direction: "Left" | "Right";
3790
- }[];
3791
- } | undefined;
3792
- receipts_outcome?: {
3793
- id: string;
3794
- outcome: {
3795
- logs: string[];
3796
- receipt_ids: string[];
3797
- gas_burnt: number;
3798
- tokens_burnt: string;
3799
- executor_id: string;
3800
- status: "Pending" | "Unknown" | {
3801
- SuccessValue: string;
3802
- } | {
3803
- SuccessReceiptId: string;
3804
- } | {
3805
- Failure: {
3806
- [x: string]: any;
3807
- error_message?: string | undefined;
3808
- error_type?: string | undefined;
3809
- };
3810
- };
3811
- metadata?: {
3812
- gas_profile?: {
3813
- [x: string]: any;
3814
- cost?: string | undefined;
3815
- cost_category?: string | undefined;
3816
- gas_used?: string | undefined;
3817
- }[] | null | undefined;
3818
- version: 4;
3819
- contracts?: ({
3820
- local: string;
3821
- } | {
3822
- global_hash: string;
3823
- } | {
3824
- global_account_id: string;
3825
- } | null)[] | null | undefined;
3826
- } | {
3827
- gas_profile?: {
3828
- [x: string]: any;
3829
- cost?: string | undefined;
3830
- cost_category?: string | undefined;
3831
- gas_used?: string | undefined;
3832
- }[] | null | undefined;
3833
- version: 1 | 2 | 3;
3834
- } | {
3835
- gas_profile?: {
3836
- [x: string]: any;
3837
- cost?: string | undefined;
3838
- cost_category?: string | undefined;
3839
- gas_used?: string | undefined;
3840
- }[] | null | undefined;
3841
- version: number;
3842
- } | undefined;
3843
- };
3844
- block_hash: string;
3845
- proof: {
3846
- hash: string;
3847
- direction: "Left" | "Right";
3848
- }[];
3849
- }[] | undefined;
3850
- } | {
3851
- final_execution_status: "INCLUDED_FINAL";
3852
- transaction?: {
3853
- hash: string;
3854
- signer_id: string;
3855
- receiver_id: string;
3856
- nonce: number;
3857
- } | undefined;
3858
- status?: "Pending" | "Unknown" | {
3859
- SuccessValue: string;
3860
- } | {
3861
- SuccessReceiptId: string;
3862
- } | {
3863
- Failure: {
3864
- [x: string]: any;
3865
- error_message?: string | undefined;
3866
- error_type?: string | undefined;
3867
- };
3868
- } | undefined;
3869
- transaction_outcome?: {
3870
- id: string;
3871
- outcome: {
3872
- logs: string[];
3873
- receipt_ids: string[];
3874
- gas_burnt: number;
3875
- tokens_burnt: string;
3876
- executor_id: string;
3877
- status: "Pending" | "Unknown" | {
3878
- SuccessValue: string;
3879
- } | {
3880
- SuccessReceiptId: string;
3881
- } | {
3882
- Failure: {
3883
- [x: string]: any;
3884
- error_message?: string | undefined;
3885
- error_type?: string | undefined;
3886
- };
3887
- };
3888
- metadata?: {
3889
- gas_profile?: {
3890
- [x: string]: any;
3891
- cost?: string | undefined;
3892
- cost_category?: string | undefined;
3893
- gas_used?: string | undefined;
3894
- }[] | null | undefined;
3895
- version: 4;
3896
- contracts?: ({
3897
- local: string;
3898
- } | {
3899
- global_hash: string;
3900
- } | {
3901
- global_account_id: string;
3902
- } | null)[] | null | undefined;
3903
- } | {
3904
- gas_profile?: {
3905
- [x: string]: any;
3906
- cost?: string | undefined;
3907
- cost_category?: string | undefined;
3908
- gas_used?: string | undefined;
3909
- }[] | null | undefined;
3910
- version: 1 | 2 | 3;
3911
- } | {
3912
- gas_profile?: {
3913
- [x: string]: any;
3914
- cost?: string | undefined;
3915
- cost_category?: string | undefined;
3916
- gas_used?: string | undefined;
3917
- }[] | null | undefined;
3918
- version: number;
3919
- } | undefined;
3920
- };
3921
- block_hash: string;
3922
- proof: {
3923
- hash: string;
3924
- direction: "Left" | "Right";
3925
- }[];
3926
- } | undefined;
3927
- receipts_outcome?: {
3928
- id: string;
3929
- outcome: {
3930
- logs: string[];
3931
- receipt_ids: string[];
3932
- gas_burnt: number;
3933
- tokens_burnt: string;
3934
- executor_id: string;
3935
- status: "Pending" | "Unknown" | {
3936
- SuccessValue: string;
3937
- } | {
3938
- SuccessReceiptId: string;
3939
- } | {
3940
- Failure: {
3941
- [x: string]: any;
3942
- error_message?: string | undefined;
3943
- error_type?: string | undefined;
3944
- };
3945
- };
3946
- metadata?: {
3947
- gas_profile?: {
3948
- [x: string]: any;
3949
- cost?: string | undefined;
3950
- cost_category?: string | undefined;
3951
- gas_used?: string | undefined;
3952
- }[] | null | undefined;
3953
- version: 4;
3954
- contracts?: ({
3955
- local: string;
3956
- } | {
3957
- global_hash: string;
3958
- } | {
3959
- global_account_id: string;
3960
- } | null)[] | null | undefined;
3961
- } | {
3962
- gas_profile?: {
3963
- [x: string]: any;
3964
- cost?: string | undefined;
3965
- cost_category?: string | undefined;
3966
- gas_used?: string | undefined;
3967
- }[] | null | undefined;
3968
- version: 1 | 2 | 3;
3969
- } | {
3970
- gas_profile?: {
3971
- [x: string]: any;
3972
- cost?: string | undefined;
3973
- cost_category?: string | undefined;
3974
- gas_used?: string | undefined;
3975
- }[] | null | undefined;
3976
- version: number;
3977
- } | undefined;
3978
- };
3979
- block_hash: string;
3980
- proof: {
3981
- hash: string;
3982
- direction: "Left" | "Right";
3983
- }[];
3984
- }[] | undefined;
3985
- } | {
3986
- final_execution_status: "EXECUTED_OPTIMISTIC";
3987
- status: "Pending" | "Unknown" | {
3988
- SuccessValue: string;
3989
- } | {
3990
- SuccessReceiptId: string;
3991
- } | {
3992
- Failure: {
3993
- [x: string]: any;
3994
- error_message?: string | undefined;
3995
- error_type?: string | undefined;
3996
- };
3997
- };
3998
- transaction: {
3999
- signer_id: string;
4000
- public_key: string;
4001
- nonce: number;
4002
- receiver_id: string;
4003
- actions: ("CreateAccount" | {
4004
- CreateAccount: Record<string, never>;
4005
- } | {
4006
- Transfer: {
4007
- deposit: string;
4008
- };
4009
- } | {
4010
- FunctionCall: {
4011
- method_name: string;
4012
- args: string;
4013
- gas: number;
4014
- deposit: string;
4015
- };
4016
- } | {
4017
- DeployContract: {
4018
- code: string;
4019
- };
4020
- } | {
4021
- DeployGlobalContract: {
4022
- code: string;
4023
- };
4024
- } | {
4025
- DeployGlobalContractByAccountId: {
4026
- code: string;
4027
- };
4028
- } | {
4029
- Stake: {
4030
- stake: string;
4031
- public_key: string;
4032
- };
4033
- } | {
4034
- AddKey: {
4035
- public_key: string;
4036
- access_key: {
4037
- nonce: number;
4038
- permission: "FullAccess" | {
4039
- FunctionCall: {
4040
- receiver_id: string;
4041
- method_names: string[];
4042
- allowance?: string | null | undefined;
4043
- };
4044
- } | {
4045
- GasKeyFunctionCall: {
4046
- balance: string;
4047
- num_nonces: number;
4048
- receiver_id: string;
4049
- method_names: string[];
4050
- allowance?: string | null | undefined;
4051
- };
4052
- } | {
4053
- GasKeyFullAccess: {
4054
- balance: string;
4055
- num_nonces: number;
4056
- };
4057
- };
4058
- };
4059
- };
4060
- } | {
4061
- DeleteKey: {
4062
- public_key: string;
4063
- };
4064
- } | {
4065
- DeleteAccount: {
4066
- beneficiary_id: string;
4067
- };
4068
- } | {
4069
- UseGlobalContract: {
4070
- code_hash: string;
4071
- };
4072
- } | {
4073
- UseGlobalContractByAccountId: {
4074
- account_id: string;
4075
- };
4076
- } | {
4077
- Delegate: {
4078
- delegate_action: {
4079
- sender_id: string;
4080
- receiver_id: string;
4081
- actions: any[];
4082
- nonce: number;
4083
- max_block_height: number;
4084
- public_key: string;
4085
- };
4086
- signature: string;
4087
- };
4088
- } | {
4089
- DeterministicStateInit: {
4090
- deposit: string;
4091
- };
4092
- } | {
4093
- TransferToGasKey: {
4094
- public_key: string;
4095
- deposit: string;
4096
- };
4097
- } | {
4098
- WithdrawFromGasKey: {
4099
- public_key: string;
4100
- amount: string;
4101
- };
4102
- } | {
4103
- DelegateV2: {
4104
- delegate_action: {
4105
- V2: {
4106
- sender_id: string;
4107
- receiver_id: string;
4108
- actions: any[];
4109
- nonce: {
4110
- Nonce: {
4111
- nonce: number;
4112
- };
4113
- } | {
4114
- GasKeyNonce: {
4115
- nonce: number;
4116
- nonce_index: number;
4117
- };
4118
- };
4119
- max_block_height: number;
4120
- public_key: string;
4121
- };
4122
- };
4123
- signature: string;
4124
- };
4125
- })[];
4126
- signature: string;
4127
- hash: string;
4128
- priority_fee?: number | undefined;
4129
- nonce_mode?: "monotonic" | "strict" | null | undefined;
4130
- };
4131
- transaction_outcome: {
4132
- id: string;
4133
- outcome: {
4134
- logs: string[];
4135
- receipt_ids: string[];
4136
- gas_burnt: number;
4137
- tokens_burnt: string;
4138
- executor_id: string;
4139
- status: "Pending" | "Unknown" | {
4140
- SuccessValue: string;
4141
- } | {
4142
- SuccessReceiptId: string;
4143
- } | {
4144
- Failure: {
4145
- [x: string]: any;
4146
- error_message?: string | undefined;
4147
- error_type?: string | undefined;
4148
- };
4149
- };
4150
- metadata?: {
4151
- gas_profile?: {
4152
- [x: string]: any;
4153
- cost?: string | undefined;
4154
- cost_category?: string | undefined;
4155
- gas_used?: string | undefined;
4156
- }[] | null | undefined;
4157
- version: 4;
4158
- contracts?: ({
4159
- local: string;
4160
- } | {
4161
- global_hash: string;
4162
- } | {
4163
- global_account_id: string;
4164
- } | null)[] | null | undefined;
4165
- } | {
4166
- gas_profile?: {
4167
- [x: string]: any;
4168
- cost?: string | undefined;
4169
- cost_category?: string | undefined;
4170
- gas_used?: string | undefined;
4171
- }[] | null | undefined;
4172
- version: 1 | 2 | 3;
4173
- } | {
4174
- gas_profile?: {
4175
- [x: string]: any;
4176
- cost?: string | undefined;
4177
- cost_category?: string | undefined;
4178
- gas_used?: string | undefined;
4179
- }[] | null | undefined;
4180
- version: number;
4181
- } | undefined;
4182
- };
4183
- block_hash: string;
4184
- proof: {
4185
- hash: string;
4186
- direction: "Left" | "Right";
4187
- }[];
4188
- };
4189
- receipts_outcome: {
4190
- id: string;
4191
- outcome: {
4192
- logs: string[];
4193
- receipt_ids: string[];
4194
- gas_burnt: number;
4195
- tokens_burnt: string;
4196
- executor_id: string;
4197
- status: "Pending" | "Unknown" | {
4198
- SuccessValue: string;
4199
- } | {
4200
- SuccessReceiptId: string;
4201
- } | {
4202
- Failure: {
4203
- [x: string]: any;
4204
- error_message?: string | undefined;
4205
- error_type?: string | undefined;
4206
- };
4207
- };
4208
- metadata?: {
4209
- gas_profile?: {
4210
- [x: string]: any;
4211
- cost?: string | undefined;
4212
- cost_category?: string | undefined;
4213
- gas_used?: string | undefined;
4214
- }[] | null | undefined;
4215
- version: 4;
4216
- contracts?: ({
4217
- local: string;
4218
- } | {
4219
- global_hash: string;
4220
- } | {
4221
- global_account_id: string;
4222
- } | null)[] | null | undefined;
4223
- } | {
4224
- gas_profile?: {
4225
- [x: string]: any;
4226
- cost?: string | undefined;
4227
- cost_category?: string | undefined;
4228
- gas_used?: string | undefined;
4229
- }[] | null | undefined;
4230
- version: 1 | 2 | 3;
4231
- } | {
4232
- gas_profile?: {
4233
- [x: string]: any;
4234
- cost?: string | undefined;
4235
- cost_category?: string | undefined;
4236
- gas_used?: string | undefined;
4237
- }[] | null | undefined;
4238
- version: number;
4239
- } | undefined;
4240
- };
4241
- block_hash: string;
4242
- proof: {
4243
- hash: string;
4244
- direction: "Left" | "Right";
4245
- }[];
4246
- }[];
4247
- } | {
4248
- final_execution_status: "EXECUTED";
4249
- status: "Pending" | "Unknown" | {
4250
- SuccessValue: string;
4251
- } | {
4252
- SuccessReceiptId: string;
4253
- } | {
4254
- Failure: {
4255
- [x: string]: any;
4256
- error_message?: string | undefined;
4257
- error_type?: string | undefined;
4258
- };
4259
- };
4260
- transaction: {
4261
- signer_id: string;
4262
- public_key: string;
4263
- nonce: number;
4264
- receiver_id: string;
4265
- actions: ("CreateAccount" | {
4266
- CreateAccount: Record<string, never>;
4267
- } | {
4268
- Transfer: {
4269
- deposit: string;
4270
- };
4271
- } | {
4272
- FunctionCall: {
4273
- method_name: string;
4274
- args: string;
4275
- gas: number;
4276
- deposit: string;
4277
- };
4278
- } | {
4279
- DeployContract: {
4280
- code: string;
4281
- };
4282
- } | {
4283
- DeployGlobalContract: {
4284
- code: string;
4285
- };
4286
- } | {
4287
- DeployGlobalContractByAccountId: {
4288
- code: string;
4289
- };
4290
- } | {
4291
- Stake: {
4292
- stake: string;
4293
- public_key: string;
4294
- };
4295
- } | {
4296
- AddKey: {
4297
- public_key: string;
4298
- access_key: {
4299
- nonce: number;
4300
- permission: "FullAccess" | {
4301
- FunctionCall: {
4302
- receiver_id: string;
4303
- method_names: string[];
4304
- allowance?: string | null | undefined;
4305
- };
4306
- } | {
4307
- GasKeyFunctionCall: {
4308
- balance: string;
4309
- num_nonces: number;
4310
- receiver_id: string;
4311
- method_names: string[];
4312
- allowance?: string | null | undefined;
4313
- };
4314
- } | {
4315
- GasKeyFullAccess: {
4316
- balance: string;
4317
- num_nonces: number;
4318
- };
4319
- };
4320
- };
4321
- };
4322
- } | {
4323
- DeleteKey: {
4324
- public_key: string;
4325
- };
4326
- } | {
4327
- DeleteAccount: {
4328
- beneficiary_id: string;
4329
- };
4330
- } | {
4331
- UseGlobalContract: {
4332
- code_hash: string;
4333
- };
4334
- } | {
4335
- UseGlobalContractByAccountId: {
4336
- account_id: string;
4337
- };
4338
- } | {
4339
- Delegate: {
4340
- delegate_action: {
4341
- sender_id: string;
4342
- receiver_id: string;
4343
- actions: any[];
4344
- nonce: number;
4345
- max_block_height: number;
4346
- public_key: string;
4347
- };
4348
- signature: string;
4349
- };
4350
- } | {
4351
- DeterministicStateInit: {
4352
- deposit: string;
4353
- };
4354
- } | {
4355
- TransferToGasKey: {
4356
- public_key: string;
4357
- deposit: string;
4358
- };
4359
- } | {
4360
- WithdrawFromGasKey: {
4361
- public_key: string;
4362
- amount: string;
4363
- };
4364
- } | {
4365
- DelegateV2: {
4366
- delegate_action: {
4367
- V2: {
4368
- sender_id: string;
4369
- receiver_id: string;
4370
- actions: any[];
4371
- nonce: {
4372
- Nonce: {
4373
- nonce: number;
4374
- };
4375
- } | {
4376
- GasKeyNonce: {
4377
- nonce: number;
4378
- nonce_index: number;
4379
- };
4380
- };
4381
- max_block_height: number;
4382
- public_key: string;
4383
- };
4384
- };
4385
- signature: string;
4386
- };
4387
- })[];
4388
- signature: string;
4389
- hash: string;
4390
- priority_fee?: number | undefined;
4391
- nonce_mode?: "monotonic" | "strict" | null | undefined;
4392
- };
4393
- transaction_outcome: {
4394
- id: string;
4395
- outcome: {
4396
- logs: string[];
4397
- receipt_ids: string[];
4398
- gas_burnt: number;
4399
- tokens_burnt: string;
4400
- executor_id: string;
4401
- status: "Pending" | "Unknown" | {
4402
- SuccessValue: string;
4403
- } | {
4404
- SuccessReceiptId: string;
4405
- } | {
4406
- Failure: {
4407
- [x: string]: any;
4408
- error_message?: string | undefined;
4409
- error_type?: string | undefined;
4410
- };
4411
- };
4412
- metadata?: {
4413
- gas_profile?: {
4414
- [x: string]: any;
4415
- cost?: string | undefined;
4416
- cost_category?: string | undefined;
4417
- gas_used?: string | undefined;
4418
- }[] | null | undefined;
4419
- version: 4;
4420
- contracts?: ({
4421
- local: string;
4422
- } | {
4423
- global_hash: string;
4424
- } | {
4425
- global_account_id: string;
4426
- } | null)[] | null | undefined;
4427
- } | {
4428
- gas_profile?: {
4429
- [x: string]: any;
4430
- cost?: string | undefined;
4431
- cost_category?: string | undefined;
4432
- gas_used?: string | undefined;
4433
- }[] | null | undefined;
4434
- version: 1 | 2 | 3;
4435
- } | {
4436
- gas_profile?: {
4437
- [x: string]: any;
4438
- cost?: string | undefined;
4439
- cost_category?: string | undefined;
4440
- gas_used?: string | undefined;
4441
- }[] | null | undefined;
4442
- version: number;
4443
- } | undefined;
4444
- };
4445
- block_hash: string;
4446
- proof: {
4447
- hash: string;
4448
- direction: "Left" | "Right";
4449
- }[];
4450
- };
4451
- receipts_outcome: {
4452
- id: string;
4453
- outcome: {
4454
- logs: string[];
4455
- receipt_ids: string[];
4456
- gas_burnt: number;
4457
- tokens_burnt: string;
4458
- executor_id: string;
4459
- status: "Pending" | "Unknown" | {
4460
- SuccessValue: string;
4461
- } | {
4462
- SuccessReceiptId: string;
4463
- } | {
4464
- Failure: {
4465
- [x: string]: any;
4466
- error_message?: string | undefined;
4467
- error_type?: string | undefined;
4468
- };
4469
- };
4470
- metadata?: {
4471
- gas_profile?: {
4472
- [x: string]: any;
4473
- cost?: string | undefined;
4474
- cost_category?: string | undefined;
4475
- gas_used?: string | undefined;
4476
- }[] | null | undefined;
4477
- version: 4;
4478
- contracts?: ({
4479
- local: string;
4480
- } | {
4481
- global_hash: string;
4482
- } | {
4483
- global_account_id: string;
4484
- } | null)[] | null | undefined;
4485
- } | {
4486
- gas_profile?: {
4487
- [x: string]: any;
4488
- cost?: string | undefined;
4489
- cost_category?: string | undefined;
4490
- gas_used?: string | undefined;
4491
- }[] | null | undefined;
4492
- version: 1 | 2 | 3;
4493
- } | {
4494
- gas_profile?: {
4495
- [x: string]: any;
4496
- cost?: string | undefined;
4497
- cost_category?: string | undefined;
4498
- gas_used?: string | undefined;
4499
- }[] | null | undefined;
4500
- version: number;
4501
- } | undefined;
4502
- };
4503
- block_hash: string;
4504
- proof: {
4505
- hash: string;
4506
- direction: "Left" | "Right";
4507
- }[];
4508
- }[];
4509
- } | {
4510
- final_execution_status: "FINAL";
4511
- status: "Pending" | "Unknown" | {
4512
- SuccessValue: string;
4513
- } | {
4514
- SuccessReceiptId: string;
4515
- } | {
4516
- Failure: {
4517
- [x: string]: any;
4518
- error_message?: string | undefined;
4519
- error_type?: string | undefined;
4520
- };
4521
- };
4522
- transaction: {
4523
- signer_id: string;
4524
- public_key: string;
4525
- nonce: number;
4526
- receiver_id: string;
4527
- actions: ("CreateAccount" | {
4528
- CreateAccount: Record<string, never>;
4529
- } | {
4530
- Transfer: {
4531
- deposit: string;
4532
- };
4533
- } | {
4534
- FunctionCall: {
4535
- method_name: string;
4536
- args: string;
4537
- gas: number;
4538
- deposit: string;
4539
- };
4540
- } | {
4541
- DeployContract: {
4542
- code: string;
4543
- };
4544
- } | {
4545
- DeployGlobalContract: {
4546
- code: string;
4547
- };
4548
- } | {
4549
- DeployGlobalContractByAccountId: {
4550
- code: string;
4551
- };
4552
- } | {
4553
- Stake: {
4554
- stake: string;
4555
- public_key: string;
4556
- };
4557
- } | {
4558
- AddKey: {
4559
- public_key: string;
4560
- access_key: {
4561
- nonce: number;
4562
- permission: "FullAccess" | {
4563
- FunctionCall: {
4564
- receiver_id: string;
4565
- method_names: string[];
4566
- allowance?: string | null | undefined;
4567
- };
4568
- } | {
4569
- GasKeyFunctionCall: {
4570
- balance: string;
4571
- num_nonces: number;
4572
- receiver_id: string;
4573
- method_names: string[];
4574
- allowance?: string | null | undefined;
4575
- };
4576
- } | {
4577
- GasKeyFullAccess: {
4578
- balance: string;
4579
- num_nonces: number;
4580
- };
4581
- };
4582
- };
4583
- };
4584
- } | {
4585
- DeleteKey: {
4586
- public_key: string;
4587
- };
4588
- } | {
4589
- DeleteAccount: {
4590
- beneficiary_id: string;
4591
- };
4592
- } | {
4593
- UseGlobalContract: {
4594
- code_hash: string;
4595
- };
4596
- } | {
4597
- UseGlobalContractByAccountId: {
4598
- account_id: string;
4599
- };
4600
- } | {
4601
- Delegate: {
4602
- delegate_action: {
4603
- sender_id: string;
4604
- receiver_id: string;
4605
- actions: any[];
4606
- nonce: number;
4607
- max_block_height: number;
4608
- public_key: string;
4609
- };
4610
- signature: string;
4611
- };
4612
- } | {
4613
- DeterministicStateInit: {
4614
- deposit: string;
4615
- };
4616
- } | {
4617
- TransferToGasKey: {
4618
- public_key: string;
4619
- deposit: string;
4620
- };
4621
- } | {
4622
- WithdrawFromGasKey: {
4623
- public_key: string;
4624
- amount: string;
4625
- };
4626
- } | {
4627
- DelegateV2: {
4628
- delegate_action: {
4629
- V2: {
4630
- sender_id: string;
4631
- receiver_id: string;
4632
- actions: any[];
4633
- nonce: {
4634
- Nonce: {
4635
- nonce: number;
4636
- };
4637
- } | {
4638
- GasKeyNonce: {
4639
- nonce: number;
4640
- nonce_index: number;
4641
- };
4642
- };
4643
- max_block_height: number;
4644
- public_key: string;
4645
- };
4646
- };
4647
- signature: string;
4648
- };
4649
- })[];
4650
- signature: string;
4651
- hash: string;
4652
- priority_fee?: number | undefined;
4653
- nonce_mode?: "monotonic" | "strict" | null | undefined;
4654
- };
4655
- transaction_outcome: {
4656
- id: string;
4657
- outcome: {
4658
- logs: string[];
4659
- receipt_ids: string[];
4660
- gas_burnt: number;
4661
- tokens_burnt: string;
4662
- executor_id: string;
4663
- status: "Pending" | "Unknown" | {
4664
- SuccessValue: string;
4665
- } | {
4666
- SuccessReceiptId: string;
4667
- } | {
4668
- Failure: {
4669
- [x: string]: any;
4670
- error_message?: string | undefined;
4671
- error_type?: string | undefined;
4672
- };
4673
- };
4674
- metadata?: {
4675
- gas_profile?: {
4676
- [x: string]: any;
4677
- cost?: string | undefined;
4678
- cost_category?: string | undefined;
4679
- gas_used?: string | undefined;
4680
- }[] | null | undefined;
4681
- version: 4;
4682
- contracts?: ({
4683
- local: string;
4684
- } | {
4685
- global_hash: string;
4686
- } | {
4687
- global_account_id: string;
4688
- } | null)[] | null | undefined;
4689
- } | {
4690
- gas_profile?: {
4691
- [x: string]: any;
4692
- cost?: string | undefined;
4693
- cost_category?: string | undefined;
4694
- gas_used?: string | undefined;
4695
- }[] | null | undefined;
4696
- version: 1 | 2 | 3;
4697
- } | {
4698
- gas_profile?: {
4699
- [x: string]: any;
4700
- cost?: string | undefined;
4701
- cost_category?: string | undefined;
4702
- gas_used?: string | undefined;
4703
- }[] | null | undefined;
4704
- version: number;
4705
- } | undefined;
4706
- };
4707
- block_hash: string;
4708
- proof: {
4709
- hash: string;
4710
- direction: "Left" | "Right";
4711
- }[];
4712
- };
4713
- receipts_outcome: {
4714
- id: string;
4715
- outcome: {
4716
- logs: string[];
4717
- receipt_ids: string[];
4718
- gas_burnt: number;
4719
- tokens_burnt: string;
4720
- executor_id: string;
4721
- status: "Pending" | "Unknown" | {
4722
- SuccessValue: string;
4723
- } | {
4724
- SuccessReceiptId: string;
4725
- } | {
4726
- Failure: {
4727
- [x: string]: any;
4728
- error_message?: string | undefined;
4729
- error_type?: string | undefined;
4730
- };
4731
- };
4732
- metadata?: {
4733
- gas_profile?: {
4734
- [x: string]: any;
4735
- cost?: string | undefined;
4736
- cost_category?: string | undefined;
4737
- gas_used?: string | undefined;
4738
- }[] | null | undefined;
4739
- version: 4;
4740
- contracts?: ({
4741
- local: string;
4742
- } | {
4743
- global_hash: string;
4744
- } | {
4745
- global_account_id: string;
4746
- } | null)[] | null | undefined;
4747
- } | {
4748
- gas_profile?: {
4749
- [x: string]: any;
4750
- cost?: string | undefined;
4751
- cost_category?: string | undefined;
4752
- gas_used?: string | undefined;
4753
- }[] | null | undefined;
4754
- version: 1 | 2 | 3;
4755
- } | {
4756
- gas_profile?: {
4757
- [x: string]: any;
4758
- cost?: string | undefined;
4759
- cost_category?: string | undefined;
4760
- gas_used?: string | undefined;
4761
- }[] | null | undefined;
4762
- version: number;
4763
- } | undefined;
4764
- };
4765
- block_hash: string;
4766
- proof: {
4767
- hash: string;
4768
- direction: "Left" | "Right";
4769
- }[];
4770
- }[];
4771
- }>;
4772
- //# sourceMappingURL=rhea_call_fun.d.ts.map