@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,2390 +0,0 @@
1
- import { Near } from "near-kit";
2
- import type { POOL_GET_ACCOUNTS_ACCOUNTS_TYPE } from "../../types/pool_types";
3
- import type { AmountInput } from "@near-kit-tool-box/fun";
4
- export declare function pool_get_number_of_accounts_fun(near: Near, pool_contractId: string): Promise<number>;
5
- export declare function pool_get_accounts_fun(near: Near, pool_contractId: string, from_index: number, limit: number): Promise<POOL_GET_ACCOUNTS_ACCOUNTS_TYPE>;
6
- export declare function pool_deposit_and_stake_fun(near: Near, pool_contractId: string, attachedDeposit: AmountInput): Promise<{
7
- final_execution_status: "NONE";
8
- transaction?: {
9
- hash: string;
10
- signer_id: string;
11
- receiver_id: string;
12
- nonce: number;
13
- } | undefined;
14
- status?: "Pending" | "Unknown" | {
15
- SuccessValue: string;
16
- } | {
17
- SuccessReceiptId: string;
18
- } | {
19
- Failure: {
20
- [x: string]: any;
21
- error_message?: string | undefined;
22
- error_type?: string | undefined;
23
- };
24
- } | undefined;
25
- transaction_outcome?: {
26
- id: string;
27
- outcome: {
28
- logs: string[];
29
- receipt_ids: string[];
30
- gas_burnt: number;
31
- tokens_burnt: string;
32
- executor_id: string;
33
- status: "Pending" | "Unknown" | {
34
- SuccessValue: string;
35
- } | {
36
- SuccessReceiptId: string;
37
- } | {
38
- Failure: {
39
- [x: string]: any;
40
- error_message?: string | undefined;
41
- error_type?: string | undefined;
42
- };
43
- };
44
- metadata?: {
45
- gas_profile?: {
46
- [x: string]: any;
47
- cost?: string | undefined;
48
- cost_category?: string | undefined;
49
- gas_used?: string | undefined;
50
- }[] | null | undefined;
51
- version: 4;
52
- contracts?: ({
53
- local: string;
54
- } | {
55
- global_hash: string;
56
- } | {
57
- global_account_id: string;
58
- } | null)[] | null | undefined;
59
- } | {
60
- gas_profile?: {
61
- [x: string]: any;
62
- cost?: string | undefined;
63
- cost_category?: string | undefined;
64
- gas_used?: string | undefined;
65
- }[] | null | undefined;
66
- version: 1 | 2 | 3;
67
- } | {
68
- gas_profile?: {
69
- [x: string]: any;
70
- cost?: string | undefined;
71
- cost_category?: string | undefined;
72
- gas_used?: string | undefined;
73
- }[] | null | undefined;
74
- version: number;
75
- } | undefined;
76
- };
77
- block_hash: string;
78
- proof: {
79
- hash: string;
80
- direction: "Left" | "Right";
81
- }[];
82
- } | undefined;
83
- receipts_outcome?: {
84
- id: string;
85
- outcome: {
86
- logs: string[];
87
- receipt_ids: string[];
88
- gas_burnt: number;
89
- tokens_burnt: string;
90
- executor_id: string;
91
- status: "Pending" | "Unknown" | {
92
- SuccessValue: string;
93
- } | {
94
- SuccessReceiptId: string;
95
- } | {
96
- Failure: {
97
- [x: string]: any;
98
- error_message?: string | undefined;
99
- error_type?: string | undefined;
100
- };
101
- };
102
- metadata?: {
103
- gas_profile?: {
104
- [x: string]: any;
105
- cost?: string | undefined;
106
- cost_category?: string | undefined;
107
- gas_used?: string | undefined;
108
- }[] | null | undefined;
109
- version: 4;
110
- contracts?: ({
111
- local: string;
112
- } | {
113
- global_hash: string;
114
- } | {
115
- global_account_id: string;
116
- } | null)[] | null | undefined;
117
- } | {
118
- gas_profile?: {
119
- [x: string]: any;
120
- cost?: string | undefined;
121
- cost_category?: string | undefined;
122
- gas_used?: string | undefined;
123
- }[] | null | undefined;
124
- version: 1 | 2 | 3;
125
- } | {
126
- gas_profile?: {
127
- [x: string]: any;
128
- cost?: string | undefined;
129
- cost_category?: string | undefined;
130
- gas_used?: string | undefined;
131
- }[] | null | undefined;
132
- version: number;
133
- } | undefined;
134
- };
135
- block_hash: string;
136
- proof: {
137
- hash: string;
138
- direction: "Left" | "Right";
139
- }[];
140
- }[] | undefined;
141
- } | {
142
- final_execution_status: "INCLUDED";
143
- transaction?: {
144
- hash: string;
145
- signer_id: string;
146
- receiver_id: string;
147
- nonce: number;
148
- } | undefined;
149
- status?: "Pending" | "Unknown" | {
150
- SuccessValue: string;
151
- } | {
152
- SuccessReceiptId: string;
153
- } | {
154
- Failure: {
155
- [x: string]: any;
156
- error_message?: string | undefined;
157
- error_type?: string | undefined;
158
- };
159
- } | undefined;
160
- transaction_outcome?: {
161
- id: string;
162
- outcome: {
163
- logs: string[];
164
- receipt_ids: string[];
165
- gas_burnt: number;
166
- tokens_burnt: string;
167
- executor_id: string;
168
- status: "Pending" | "Unknown" | {
169
- SuccessValue: string;
170
- } | {
171
- SuccessReceiptId: string;
172
- } | {
173
- Failure: {
174
- [x: string]: any;
175
- error_message?: string | undefined;
176
- error_type?: string | undefined;
177
- };
178
- };
179
- metadata?: {
180
- gas_profile?: {
181
- [x: string]: any;
182
- cost?: string | undefined;
183
- cost_category?: string | undefined;
184
- gas_used?: string | undefined;
185
- }[] | null | undefined;
186
- version: 4;
187
- contracts?: ({
188
- local: string;
189
- } | {
190
- global_hash: string;
191
- } | {
192
- global_account_id: string;
193
- } | null)[] | null | undefined;
194
- } | {
195
- gas_profile?: {
196
- [x: string]: any;
197
- cost?: string | undefined;
198
- cost_category?: string | undefined;
199
- gas_used?: string | undefined;
200
- }[] | null | undefined;
201
- version: 1 | 2 | 3;
202
- } | {
203
- gas_profile?: {
204
- [x: string]: any;
205
- cost?: string | undefined;
206
- cost_category?: string | undefined;
207
- gas_used?: string | undefined;
208
- }[] | null | undefined;
209
- version: number;
210
- } | undefined;
211
- };
212
- block_hash: string;
213
- proof: {
214
- hash: string;
215
- direction: "Left" | "Right";
216
- }[];
217
- } | undefined;
218
- receipts_outcome?: {
219
- id: string;
220
- outcome: {
221
- logs: string[];
222
- receipt_ids: string[];
223
- gas_burnt: number;
224
- tokens_burnt: string;
225
- executor_id: string;
226
- status: "Pending" | "Unknown" | {
227
- SuccessValue: string;
228
- } | {
229
- SuccessReceiptId: string;
230
- } | {
231
- Failure: {
232
- [x: string]: any;
233
- error_message?: string | undefined;
234
- error_type?: string | undefined;
235
- };
236
- };
237
- metadata?: {
238
- gas_profile?: {
239
- [x: string]: any;
240
- cost?: string | undefined;
241
- cost_category?: string | undefined;
242
- gas_used?: string | undefined;
243
- }[] | null | undefined;
244
- version: 4;
245
- contracts?: ({
246
- local: string;
247
- } | {
248
- global_hash: string;
249
- } | {
250
- global_account_id: string;
251
- } | null)[] | null | undefined;
252
- } | {
253
- gas_profile?: {
254
- [x: string]: any;
255
- cost?: string | undefined;
256
- cost_category?: string | undefined;
257
- gas_used?: string | undefined;
258
- }[] | null | undefined;
259
- version: 1 | 2 | 3;
260
- } | {
261
- gas_profile?: {
262
- [x: string]: any;
263
- cost?: string | undefined;
264
- cost_category?: string | undefined;
265
- gas_used?: string | undefined;
266
- }[] | null | undefined;
267
- version: number;
268
- } | undefined;
269
- };
270
- block_hash: string;
271
- proof: {
272
- hash: string;
273
- direction: "Left" | "Right";
274
- }[];
275
- }[] | undefined;
276
- } | {
277
- final_execution_status: "INCLUDED_FINAL";
278
- transaction?: {
279
- hash: string;
280
- signer_id: string;
281
- receiver_id: string;
282
- nonce: number;
283
- } | undefined;
284
- status?: "Pending" | "Unknown" | {
285
- SuccessValue: string;
286
- } | {
287
- SuccessReceiptId: string;
288
- } | {
289
- Failure: {
290
- [x: string]: any;
291
- error_message?: string | undefined;
292
- error_type?: string | undefined;
293
- };
294
- } | undefined;
295
- transaction_outcome?: {
296
- id: string;
297
- outcome: {
298
- logs: string[];
299
- receipt_ids: string[];
300
- gas_burnt: number;
301
- tokens_burnt: string;
302
- executor_id: string;
303
- status: "Pending" | "Unknown" | {
304
- SuccessValue: string;
305
- } | {
306
- SuccessReceiptId: string;
307
- } | {
308
- Failure: {
309
- [x: string]: any;
310
- error_message?: string | undefined;
311
- error_type?: string | undefined;
312
- };
313
- };
314
- metadata?: {
315
- gas_profile?: {
316
- [x: string]: any;
317
- cost?: string | undefined;
318
- cost_category?: string | undefined;
319
- gas_used?: string | undefined;
320
- }[] | null | undefined;
321
- version: 4;
322
- contracts?: ({
323
- local: string;
324
- } | {
325
- global_hash: string;
326
- } | {
327
- global_account_id: string;
328
- } | null)[] | null | undefined;
329
- } | {
330
- gas_profile?: {
331
- [x: string]: any;
332
- cost?: string | undefined;
333
- cost_category?: string | undefined;
334
- gas_used?: string | undefined;
335
- }[] | null | undefined;
336
- version: 1 | 2 | 3;
337
- } | {
338
- gas_profile?: {
339
- [x: string]: any;
340
- cost?: string | undefined;
341
- cost_category?: string | undefined;
342
- gas_used?: string | undefined;
343
- }[] | null | undefined;
344
- version: number;
345
- } | undefined;
346
- };
347
- block_hash: string;
348
- proof: {
349
- hash: string;
350
- direction: "Left" | "Right";
351
- }[];
352
- } | undefined;
353
- receipts_outcome?: {
354
- id: string;
355
- outcome: {
356
- logs: string[];
357
- receipt_ids: string[];
358
- gas_burnt: number;
359
- tokens_burnt: string;
360
- executor_id: string;
361
- status: "Pending" | "Unknown" | {
362
- SuccessValue: string;
363
- } | {
364
- SuccessReceiptId: string;
365
- } | {
366
- Failure: {
367
- [x: string]: any;
368
- error_message?: string | undefined;
369
- error_type?: string | undefined;
370
- };
371
- };
372
- metadata?: {
373
- gas_profile?: {
374
- [x: string]: any;
375
- cost?: string | undefined;
376
- cost_category?: string | undefined;
377
- gas_used?: string | undefined;
378
- }[] | null | undefined;
379
- version: 4;
380
- contracts?: ({
381
- local: string;
382
- } | {
383
- global_hash: string;
384
- } | {
385
- global_account_id: string;
386
- } | null)[] | null | undefined;
387
- } | {
388
- gas_profile?: {
389
- [x: string]: any;
390
- cost?: string | undefined;
391
- cost_category?: string | undefined;
392
- gas_used?: string | undefined;
393
- }[] | null | undefined;
394
- version: 1 | 2 | 3;
395
- } | {
396
- gas_profile?: {
397
- [x: string]: any;
398
- cost?: string | undefined;
399
- cost_category?: string | undefined;
400
- gas_used?: string | undefined;
401
- }[] | null | undefined;
402
- version: number;
403
- } | undefined;
404
- };
405
- block_hash: string;
406
- proof: {
407
- hash: string;
408
- direction: "Left" | "Right";
409
- }[];
410
- }[] | undefined;
411
- } | {
412
- final_execution_status: "EXECUTED_OPTIMISTIC";
413
- status: "Pending" | "Unknown" | {
414
- SuccessValue: string;
415
- } | {
416
- SuccessReceiptId: string;
417
- } | {
418
- Failure: {
419
- [x: string]: any;
420
- error_message?: string | undefined;
421
- error_type?: string | undefined;
422
- };
423
- };
424
- transaction: {
425
- signer_id: string;
426
- public_key: string;
427
- nonce: number;
428
- receiver_id: string;
429
- actions: ("CreateAccount" | {
430
- CreateAccount: Record<string, never>;
431
- } | {
432
- Transfer: {
433
- deposit: string;
434
- };
435
- } | {
436
- FunctionCall: {
437
- method_name: string;
438
- args: string;
439
- gas: number;
440
- deposit: string;
441
- };
442
- } | {
443
- DeployContract: {
444
- code: string;
445
- };
446
- } | {
447
- DeployGlobalContract: {
448
- code: string;
449
- };
450
- } | {
451
- DeployGlobalContractByAccountId: {
452
- code: string;
453
- };
454
- } | {
455
- Stake: {
456
- stake: string;
457
- public_key: string;
458
- };
459
- } | {
460
- AddKey: {
461
- public_key: string;
462
- access_key: {
463
- nonce: number;
464
- permission: "FullAccess" | {
465
- FunctionCall: {
466
- receiver_id: string;
467
- method_names: string[];
468
- allowance?: string | null | undefined;
469
- };
470
- } | {
471
- GasKeyFunctionCall: {
472
- balance: string;
473
- num_nonces: number;
474
- receiver_id: string;
475
- method_names: string[];
476
- allowance?: string | null | undefined;
477
- };
478
- } | {
479
- GasKeyFullAccess: {
480
- balance: string;
481
- num_nonces: number;
482
- };
483
- };
484
- };
485
- };
486
- } | {
487
- DeleteKey: {
488
- public_key: string;
489
- };
490
- } | {
491
- DeleteAccount: {
492
- beneficiary_id: string;
493
- };
494
- } | {
495
- UseGlobalContract: {
496
- code_hash: string;
497
- };
498
- } | {
499
- UseGlobalContractByAccountId: {
500
- account_id: string;
501
- };
502
- } | {
503
- Delegate: {
504
- delegate_action: {
505
- sender_id: string;
506
- receiver_id: string;
507
- actions: any[];
508
- nonce: number;
509
- max_block_height: number;
510
- public_key: string;
511
- };
512
- signature: string;
513
- };
514
- } | {
515
- DeterministicStateInit: {
516
- deposit: string;
517
- };
518
- } | {
519
- TransferToGasKey: {
520
- public_key: string;
521
- deposit: string;
522
- };
523
- } | {
524
- WithdrawFromGasKey: {
525
- public_key: string;
526
- amount: string;
527
- };
528
- } | {
529
- DelegateV2: {
530
- delegate_action: {
531
- V2: {
532
- sender_id: string;
533
- receiver_id: string;
534
- actions: any[];
535
- nonce: {
536
- Nonce: {
537
- nonce: number;
538
- };
539
- } | {
540
- GasKeyNonce: {
541
- nonce: number;
542
- nonce_index: number;
543
- };
544
- };
545
- max_block_height: number;
546
- public_key: string;
547
- };
548
- };
549
- signature: string;
550
- };
551
- })[];
552
- signature: string;
553
- hash: string;
554
- priority_fee?: number | undefined;
555
- nonce_mode?: "monotonic" | "strict" | null | undefined;
556
- };
557
- transaction_outcome: {
558
- id: string;
559
- outcome: {
560
- logs: string[];
561
- receipt_ids: string[];
562
- gas_burnt: number;
563
- tokens_burnt: string;
564
- executor_id: string;
565
- status: "Pending" | "Unknown" | {
566
- SuccessValue: string;
567
- } | {
568
- SuccessReceiptId: string;
569
- } | {
570
- Failure: {
571
- [x: string]: any;
572
- error_message?: string | undefined;
573
- error_type?: string | undefined;
574
- };
575
- };
576
- metadata?: {
577
- gas_profile?: {
578
- [x: string]: any;
579
- cost?: string | undefined;
580
- cost_category?: string | undefined;
581
- gas_used?: string | undefined;
582
- }[] | null | undefined;
583
- version: 4;
584
- contracts?: ({
585
- local: string;
586
- } | {
587
- global_hash: string;
588
- } | {
589
- global_account_id: string;
590
- } | null)[] | null | undefined;
591
- } | {
592
- gas_profile?: {
593
- [x: string]: any;
594
- cost?: string | undefined;
595
- cost_category?: string | undefined;
596
- gas_used?: string | undefined;
597
- }[] | null | undefined;
598
- version: 1 | 2 | 3;
599
- } | {
600
- gas_profile?: {
601
- [x: string]: any;
602
- cost?: string | undefined;
603
- cost_category?: string | undefined;
604
- gas_used?: string | undefined;
605
- }[] | null | undefined;
606
- version: number;
607
- } | undefined;
608
- };
609
- block_hash: string;
610
- proof: {
611
- hash: string;
612
- direction: "Left" | "Right";
613
- }[];
614
- };
615
- receipts_outcome: {
616
- id: string;
617
- outcome: {
618
- logs: string[];
619
- receipt_ids: string[];
620
- gas_burnt: number;
621
- tokens_burnt: string;
622
- executor_id: string;
623
- status: "Pending" | "Unknown" | {
624
- SuccessValue: string;
625
- } | {
626
- SuccessReceiptId: string;
627
- } | {
628
- Failure: {
629
- [x: string]: any;
630
- error_message?: string | undefined;
631
- error_type?: string | undefined;
632
- };
633
- };
634
- metadata?: {
635
- gas_profile?: {
636
- [x: string]: any;
637
- cost?: string | undefined;
638
- cost_category?: string | undefined;
639
- gas_used?: string | undefined;
640
- }[] | null | undefined;
641
- version: 4;
642
- contracts?: ({
643
- local: string;
644
- } | {
645
- global_hash: string;
646
- } | {
647
- global_account_id: string;
648
- } | null)[] | null | undefined;
649
- } | {
650
- gas_profile?: {
651
- [x: string]: any;
652
- cost?: string | undefined;
653
- cost_category?: string | undefined;
654
- gas_used?: string | undefined;
655
- }[] | null | undefined;
656
- version: 1 | 2 | 3;
657
- } | {
658
- gas_profile?: {
659
- [x: string]: any;
660
- cost?: string | undefined;
661
- cost_category?: string | undefined;
662
- gas_used?: string | undefined;
663
- }[] | null | undefined;
664
- version: number;
665
- } | undefined;
666
- };
667
- block_hash: string;
668
- proof: {
669
- hash: string;
670
- direction: "Left" | "Right";
671
- }[];
672
- }[];
673
- } | {
674
- final_execution_status: "EXECUTED";
675
- status: "Pending" | "Unknown" | {
676
- SuccessValue: string;
677
- } | {
678
- SuccessReceiptId: string;
679
- } | {
680
- Failure: {
681
- [x: string]: any;
682
- error_message?: string | undefined;
683
- error_type?: string | undefined;
684
- };
685
- };
686
- transaction: {
687
- signer_id: string;
688
- public_key: string;
689
- nonce: number;
690
- receiver_id: string;
691
- actions: ("CreateAccount" | {
692
- CreateAccount: Record<string, never>;
693
- } | {
694
- Transfer: {
695
- deposit: string;
696
- };
697
- } | {
698
- FunctionCall: {
699
- method_name: string;
700
- args: string;
701
- gas: number;
702
- deposit: string;
703
- };
704
- } | {
705
- DeployContract: {
706
- code: string;
707
- };
708
- } | {
709
- DeployGlobalContract: {
710
- code: string;
711
- };
712
- } | {
713
- DeployGlobalContractByAccountId: {
714
- code: string;
715
- };
716
- } | {
717
- Stake: {
718
- stake: string;
719
- public_key: string;
720
- };
721
- } | {
722
- AddKey: {
723
- public_key: string;
724
- access_key: {
725
- nonce: number;
726
- permission: "FullAccess" | {
727
- FunctionCall: {
728
- receiver_id: string;
729
- method_names: string[];
730
- allowance?: string | null | undefined;
731
- };
732
- } | {
733
- GasKeyFunctionCall: {
734
- balance: string;
735
- num_nonces: number;
736
- receiver_id: string;
737
- method_names: string[];
738
- allowance?: string | null | undefined;
739
- };
740
- } | {
741
- GasKeyFullAccess: {
742
- balance: string;
743
- num_nonces: number;
744
- };
745
- };
746
- };
747
- };
748
- } | {
749
- DeleteKey: {
750
- public_key: string;
751
- };
752
- } | {
753
- DeleteAccount: {
754
- beneficiary_id: string;
755
- };
756
- } | {
757
- UseGlobalContract: {
758
- code_hash: string;
759
- };
760
- } | {
761
- UseGlobalContractByAccountId: {
762
- account_id: string;
763
- };
764
- } | {
765
- Delegate: {
766
- delegate_action: {
767
- sender_id: string;
768
- receiver_id: string;
769
- actions: any[];
770
- nonce: number;
771
- max_block_height: number;
772
- public_key: string;
773
- };
774
- signature: string;
775
- };
776
- } | {
777
- DeterministicStateInit: {
778
- deposit: string;
779
- };
780
- } | {
781
- TransferToGasKey: {
782
- public_key: string;
783
- deposit: string;
784
- };
785
- } | {
786
- WithdrawFromGasKey: {
787
- public_key: string;
788
- amount: string;
789
- };
790
- } | {
791
- DelegateV2: {
792
- delegate_action: {
793
- V2: {
794
- sender_id: string;
795
- receiver_id: string;
796
- actions: any[];
797
- nonce: {
798
- Nonce: {
799
- nonce: number;
800
- };
801
- } | {
802
- GasKeyNonce: {
803
- nonce: number;
804
- nonce_index: number;
805
- };
806
- };
807
- max_block_height: number;
808
- public_key: string;
809
- };
810
- };
811
- signature: string;
812
- };
813
- })[];
814
- signature: string;
815
- hash: string;
816
- priority_fee?: number | undefined;
817
- nonce_mode?: "monotonic" | "strict" | null | undefined;
818
- };
819
- transaction_outcome: {
820
- id: string;
821
- outcome: {
822
- logs: string[];
823
- receipt_ids: string[];
824
- gas_burnt: number;
825
- tokens_burnt: string;
826
- executor_id: string;
827
- status: "Pending" | "Unknown" | {
828
- SuccessValue: string;
829
- } | {
830
- SuccessReceiptId: string;
831
- } | {
832
- Failure: {
833
- [x: string]: any;
834
- error_message?: string | undefined;
835
- error_type?: string | undefined;
836
- };
837
- };
838
- metadata?: {
839
- gas_profile?: {
840
- [x: string]: any;
841
- cost?: string | undefined;
842
- cost_category?: string | undefined;
843
- gas_used?: string | undefined;
844
- }[] | null | undefined;
845
- version: 4;
846
- contracts?: ({
847
- local: string;
848
- } | {
849
- global_hash: string;
850
- } | {
851
- global_account_id: string;
852
- } | null)[] | null | undefined;
853
- } | {
854
- gas_profile?: {
855
- [x: string]: any;
856
- cost?: string | undefined;
857
- cost_category?: string | undefined;
858
- gas_used?: string | undefined;
859
- }[] | null | undefined;
860
- version: 1 | 2 | 3;
861
- } | {
862
- gas_profile?: {
863
- [x: string]: any;
864
- cost?: string | undefined;
865
- cost_category?: string | undefined;
866
- gas_used?: string | undefined;
867
- }[] | null | undefined;
868
- version: number;
869
- } | undefined;
870
- };
871
- block_hash: string;
872
- proof: {
873
- hash: string;
874
- direction: "Left" | "Right";
875
- }[];
876
- };
877
- receipts_outcome: {
878
- id: string;
879
- outcome: {
880
- logs: string[];
881
- receipt_ids: string[];
882
- gas_burnt: number;
883
- tokens_burnt: string;
884
- executor_id: string;
885
- status: "Pending" | "Unknown" | {
886
- SuccessValue: string;
887
- } | {
888
- SuccessReceiptId: string;
889
- } | {
890
- Failure: {
891
- [x: string]: any;
892
- error_message?: string | undefined;
893
- error_type?: string | undefined;
894
- };
895
- };
896
- metadata?: {
897
- gas_profile?: {
898
- [x: string]: any;
899
- cost?: string | undefined;
900
- cost_category?: string | undefined;
901
- gas_used?: string | undefined;
902
- }[] | null | undefined;
903
- version: 4;
904
- contracts?: ({
905
- local: string;
906
- } | {
907
- global_hash: string;
908
- } | {
909
- global_account_id: string;
910
- } | null)[] | null | undefined;
911
- } | {
912
- gas_profile?: {
913
- [x: string]: any;
914
- cost?: string | undefined;
915
- cost_category?: string | undefined;
916
- gas_used?: string | undefined;
917
- }[] | null | undefined;
918
- version: 1 | 2 | 3;
919
- } | {
920
- gas_profile?: {
921
- [x: string]: any;
922
- cost?: string | undefined;
923
- cost_category?: string | undefined;
924
- gas_used?: string | undefined;
925
- }[] | null | undefined;
926
- version: number;
927
- } | undefined;
928
- };
929
- block_hash: string;
930
- proof: {
931
- hash: string;
932
- direction: "Left" | "Right";
933
- }[];
934
- }[];
935
- } | {
936
- final_execution_status: "FINAL";
937
- status: "Pending" | "Unknown" | {
938
- SuccessValue: string;
939
- } | {
940
- SuccessReceiptId: string;
941
- } | {
942
- Failure: {
943
- [x: string]: any;
944
- error_message?: string | undefined;
945
- error_type?: string | undefined;
946
- };
947
- };
948
- transaction: {
949
- signer_id: string;
950
- public_key: string;
951
- nonce: number;
952
- receiver_id: string;
953
- actions: ("CreateAccount" | {
954
- CreateAccount: Record<string, never>;
955
- } | {
956
- Transfer: {
957
- deposit: string;
958
- };
959
- } | {
960
- FunctionCall: {
961
- method_name: string;
962
- args: string;
963
- gas: number;
964
- deposit: string;
965
- };
966
- } | {
967
- DeployContract: {
968
- code: string;
969
- };
970
- } | {
971
- DeployGlobalContract: {
972
- code: string;
973
- };
974
- } | {
975
- DeployGlobalContractByAccountId: {
976
- code: string;
977
- };
978
- } | {
979
- Stake: {
980
- stake: string;
981
- public_key: string;
982
- };
983
- } | {
984
- AddKey: {
985
- public_key: string;
986
- access_key: {
987
- nonce: number;
988
- permission: "FullAccess" | {
989
- FunctionCall: {
990
- receiver_id: string;
991
- method_names: string[];
992
- allowance?: string | null | undefined;
993
- };
994
- } | {
995
- GasKeyFunctionCall: {
996
- balance: string;
997
- num_nonces: number;
998
- receiver_id: string;
999
- method_names: string[];
1000
- allowance?: string | null | undefined;
1001
- };
1002
- } | {
1003
- GasKeyFullAccess: {
1004
- balance: string;
1005
- num_nonces: number;
1006
- };
1007
- };
1008
- };
1009
- };
1010
- } | {
1011
- DeleteKey: {
1012
- public_key: string;
1013
- };
1014
- } | {
1015
- DeleteAccount: {
1016
- beneficiary_id: string;
1017
- };
1018
- } | {
1019
- UseGlobalContract: {
1020
- code_hash: string;
1021
- };
1022
- } | {
1023
- UseGlobalContractByAccountId: {
1024
- account_id: string;
1025
- };
1026
- } | {
1027
- Delegate: {
1028
- delegate_action: {
1029
- sender_id: string;
1030
- receiver_id: string;
1031
- actions: any[];
1032
- nonce: number;
1033
- max_block_height: number;
1034
- public_key: string;
1035
- };
1036
- signature: string;
1037
- };
1038
- } | {
1039
- DeterministicStateInit: {
1040
- deposit: string;
1041
- };
1042
- } | {
1043
- TransferToGasKey: {
1044
- public_key: string;
1045
- deposit: string;
1046
- };
1047
- } | {
1048
- WithdrawFromGasKey: {
1049
- public_key: string;
1050
- amount: string;
1051
- };
1052
- } | {
1053
- DelegateV2: {
1054
- delegate_action: {
1055
- V2: {
1056
- sender_id: string;
1057
- receiver_id: string;
1058
- actions: any[];
1059
- nonce: {
1060
- Nonce: {
1061
- nonce: number;
1062
- };
1063
- } | {
1064
- GasKeyNonce: {
1065
- nonce: number;
1066
- nonce_index: number;
1067
- };
1068
- };
1069
- max_block_height: number;
1070
- public_key: string;
1071
- };
1072
- };
1073
- signature: string;
1074
- };
1075
- })[];
1076
- signature: string;
1077
- hash: string;
1078
- priority_fee?: number | undefined;
1079
- nonce_mode?: "monotonic" | "strict" | null | undefined;
1080
- };
1081
- transaction_outcome: {
1082
- id: string;
1083
- outcome: {
1084
- logs: string[];
1085
- receipt_ids: string[];
1086
- gas_burnt: number;
1087
- tokens_burnt: string;
1088
- executor_id: string;
1089
- status: "Pending" | "Unknown" | {
1090
- SuccessValue: string;
1091
- } | {
1092
- SuccessReceiptId: string;
1093
- } | {
1094
- Failure: {
1095
- [x: string]: any;
1096
- error_message?: string | undefined;
1097
- error_type?: string | undefined;
1098
- };
1099
- };
1100
- metadata?: {
1101
- gas_profile?: {
1102
- [x: string]: any;
1103
- cost?: string | undefined;
1104
- cost_category?: string | undefined;
1105
- gas_used?: string | undefined;
1106
- }[] | null | undefined;
1107
- version: 4;
1108
- contracts?: ({
1109
- local: string;
1110
- } | {
1111
- global_hash: string;
1112
- } | {
1113
- global_account_id: string;
1114
- } | null)[] | null | undefined;
1115
- } | {
1116
- gas_profile?: {
1117
- [x: string]: any;
1118
- cost?: string | undefined;
1119
- cost_category?: string | undefined;
1120
- gas_used?: string | undefined;
1121
- }[] | null | undefined;
1122
- version: 1 | 2 | 3;
1123
- } | {
1124
- gas_profile?: {
1125
- [x: string]: any;
1126
- cost?: string | undefined;
1127
- cost_category?: string | undefined;
1128
- gas_used?: string | undefined;
1129
- }[] | null | undefined;
1130
- version: number;
1131
- } | undefined;
1132
- };
1133
- block_hash: string;
1134
- proof: {
1135
- hash: string;
1136
- direction: "Left" | "Right";
1137
- }[];
1138
- };
1139
- receipts_outcome: {
1140
- id: string;
1141
- outcome: {
1142
- logs: string[];
1143
- receipt_ids: string[];
1144
- gas_burnt: number;
1145
- tokens_burnt: string;
1146
- executor_id: string;
1147
- status: "Pending" | "Unknown" | {
1148
- SuccessValue: string;
1149
- } | {
1150
- SuccessReceiptId: string;
1151
- } | {
1152
- Failure: {
1153
- [x: string]: any;
1154
- error_message?: string | undefined;
1155
- error_type?: string | undefined;
1156
- };
1157
- };
1158
- metadata?: {
1159
- gas_profile?: {
1160
- [x: string]: any;
1161
- cost?: string | undefined;
1162
- cost_category?: string | undefined;
1163
- gas_used?: string | undefined;
1164
- }[] | null | undefined;
1165
- version: 4;
1166
- contracts?: ({
1167
- local: string;
1168
- } | {
1169
- global_hash: string;
1170
- } | {
1171
- global_account_id: string;
1172
- } | null)[] | null | undefined;
1173
- } | {
1174
- gas_profile?: {
1175
- [x: string]: any;
1176
- cost?: string | undefined;
1177
- cost_category?: string | undefined;
1178
- gas_used?: string | undefined;
1179
- }[] | null | undefined;
1180
- version: 1 | 2 | 3;
1181
- } | {
1182
- gas_profile?: {
1183
- [x: string]: any;
1184
- cost?: string | undefined;
1185
- cost_category?: string | undefined;
1186
- gas_used?: string | undefined;
1187
- }[] | null | undefined;
1188
- version: number;
1189
- } | undefined;
1190
- };
1191
- block_hash: string;
1192
- proof: {
1193
- hash: string;
1194
- direction: "Left" | "Right";
1195
- }[];
1196
- }[];
1197
- }>;
1198
- export declare function pool_ping_fun(near: Near, pool_contractId: string): Promise<{
1199
- final_execution_status: "NONE";
1200
- transaction?: {
1201
- hash: string;
1202
- signer_id: string;
1203
- receiver_id: string;
1204
- nonce: number;
1205
- } | undefined;
1206
- status?: "Pending" | "Unknown" | {
1207
- SuccessValue: string;
1208
- } | {
1209
- SuccessReceiptId: string;
1210
- } | {
1211
- Failure: {
1212
- [x: string]: any;
1213
- error_message?: string | undefined;
1214
- error_type?: string | undefined;
1215
- };
1216
- } | undefined;
1217
- transaction_outcome?: {
1218
- id: string;
1219
- outcome: {
1220
- logs: string[];
1221
- receipt_ids: string[];
1222
- gas_burnt: number;
1223
- tokens_burnt: string;
1224
- executor_id: string;
1225
- status: "Pending" | "Unknown" | {
1226
- SuccessValue: string;
1227
- } | {
1228
- SuccessReceiptId: string;
1229
- } | {
1230
- Failure: {
1231
- [x: string]: any;
1232
- error_message?: string | undefined;
1233
- error_type?: string | undefined;
1234
- };
1235
- };
1236
- metadata?: {
1237
- gas_profile?: {
1238
- [x: string]: any;
1239
- cost?: string | undefined;
1240
- cost_category?: string | undefined;
1241
- gas_used?: string | undefined;
1242
- }[] | null | undefined;
1243
- version: 4;
1244
- contracts?: ({
1245
- local: string;
1246
- } | {
1247
- global_hash: string;
1248
- } | {
1249
- global_account_id: string;
1250
- } | null)[] | null | undefined;
1251
- } | {
1252
- gas_profile?: {
1253
- [x: string]: any;
1254
- cost?: string | undefined;
1255
- cost_category?: string | undefined;
1256
- gas_used?: string | undefined;
1257
- }[] | null | undefined;
1258
- version: 1 | 2 | 3;
1259
- } | {
1260
- gas_profile?: {
1261
- [x: string]: any;
1262
- cost?: string | undefined;
1263
- cost_category?: string | undefined;
1264
- gas_used?: string | undefined;
1265
- }[] | null | undefined;
1266
- version: number;
1267
- } | undefined;
1268
- };
1269
- block_hash: string;
1270
- proof: {
1271
- hash: string;
1272
- direction: "Left" | "Right";
1273
- }[];
1274
- } | undefined;
1275
- receipts_outcome?: {
1276
- id: string;
1277
- outcome: {
1278
- logs: string[];
1279
- receipt_ids: string[];
1280
- gas_burnt: number;
1281
- tokens_burnt: string;
1282
- executor_id: string;
1283
- status: "Pending" | "Unknown" | {
1284
- SuccessValue: string;
1285
- } | {
1286
- SuccessReceiptId: string;
1287
- } | {
1288
- Failure: {
1289
- [x: string]: any;
1290
- error_message?: string | undefined;
1291
- error_type?: string | undefined;
1292
- };
1293
- };
1294
- metadata?: {
1295
- gas_profile?: {
1296
- [x: string]: any;
1297
- cost?: string | undefined;
1298
- cost_category?: string | undefined;
1299
- gas_used?: string | undefined;
1300
- }[] | null | undefined;
1301
- version: 4;
1302
- contracts?: ({
1303
- local: string;
1304
- } | {
1305
- global_hash: string;
1306
- } | {
1307
- global_account_id: string;
1308
- } | null)[] | null | undefined;
1309
- } | {
1310
- gas_profile?: {
1311
- [x: string]: any;
1312
- cost?: string | undefined;
1313
- cost_category?: string | undefined;
1314
- gas_used?: string | undefined;
1315
- }[] | null | undefined;
1316
- version: 1 | 2 | 3;
1317
- } | {
1318
- gas_profile?: {
1319
- [x: string]: any;
1320
- cost?: string | undefined;
1321
- cost_category?: string | undefined;
1322
- gas_used?: string | undefined;
1323
- }[] | null | undefined;
1324
- version: number;
1325
- } | undefined;
1326
- };
1327
- block_hash: string;
1328
- proof: {
1329
- hash: string;
1330
- direction: "Left" | "Right";
1331
- }[];
1332
- }[] | undefined;
1333
- } | {
1334
- final_execution_status: "INCLUDED";
1335
- transaction?: {
1336
- hash: string;
1337
- signer_id: string;
1338
- receiver_id: string;
1339
- nonce: number;
1340
- } | undefined;
1341
- status?: "Pending" | "Unknown" | {
1342
- SuccessValue: string;
1343
- } | {
1344
- SuccessReceiptId: string;
1345
- } | {
1346
- Failure: {
1347
- [x: string]: any;
1348
- error_message?: string | undefined;
1349
- error_type?: string | undefined;
1350
- };
1351
- } | undefined;
1352
- transaction_outcome?: {
1353
- id: string;
1354
- outcome: {
1355
- logs: string[];
1356
- receipt_ids: string[];
1357
- gas_burnt: number;
1358
- tokens_burnt: string;
1359
- executor_id: string;
1360
- status: "Pending" | "Unknown" | {
1361
- SuccessValue: string;
1362
- } | {
1363
- SuccessReceiptId: string;
1364
- } | {
1365
- Failure: {
1366
- [x: string]: any;
1367
- error_message?: string | undefined;
1368
- error_type?: string | undefined;
1369
- };
1370
- };
1371
- metadata?: {
1372
- gas_profile?: {
1373
- [x: string]: any;
1374
- cost?: string | undefined;
1375
- cost_category?: string | undefined;
1376
- gas_used?: string | undefined;
1377
- }[] | null | undefined;
1378
- version: 4;
1379
- contracts?: ({
1380
- local: string;
1381
- } | {
1382
- global_hash: string;
1383
- } | {
1384
- global_account_id: string;
1385
- } | null)[] | null | undefined;
1386
- } | {
1387
- gas_profile?: {
1388
- [x: string]: any;
1389
- cost?: string | undefined;
1390
- cost_category?: string | undefined;
1391
- gas_used?: string | undefined;
1392
- }[] | null | undefined;
1393
- version: 1 | 2 | 3;
1394
- } | {
1395
- gas_profile?: {
1396
- [x: string]: any;
1397
- cost?: string | undefined;
1398
- cost_category?: string | undefined;
1399
- gas_used?: string | undefined;
1400
- }[] | null | undefined;
1401
- version: number;
1402
- } | undefined;
1403
- };
1404
- block_hash: string;
1405
- proof: {
1406
- hash: string;
1407
- direction: "Left" | "Right";
1408
- }[];
1409
- } | undefined;
1410
- receipts_outcome?: {
1411
- id: string;
1412
- outcome: {
1413
- logs: string[];
1414
- receipt_ids: string[];
1415
- gas_burnt: number;
1416
- tokens_burnt: string;
1417
- executor_id: string;
1418
- status: "Pending" | "Unknown" | {
1419
- SuccessValue: string;
1420
- } | {
1421
- SuccessReceiptId: string;
1422
- } | {
1423
- Failure: {
1424
- [x: string]: any;
1425
- error_message?: string | undefined;
1426
- error_type?: string | undefined;
1427
- };
1428
- };
1429
- metadata?: {
1430
- gas_profile?: {
1431
- [x: string]: any;
1432
- cost?: string | undefined;
1433
- cost_category?: string | undefined;
1434
- gas_used?: string | undefined;
1435
- }[] | null | undefined;
1436
- version: 4;
1437
- contracts?: ({
1438
- local: string;
1439
- } | {
1440
- global_hash: string;
1441
- } | {
1442
- global_account_id: string;
1443
- } | null)[] | null | undefined;
1444
- } | {
1445
- gas_profile?: {
1446
- [x: string]: any;
1447
- cost?: string | undefined;
1448
- cost_category?: string | undefined;
1449
- gas_used?: string | undefined;
1450
- }[] | null | undefined;
1451
- version: 1 | 2 | 3;
1452
- } | {
1453
- gas_profile?: {
1454
- [x: string]: any;
1455
- cost?: string | undefined;
1456
- cost_category?: string | undefined;
1457
- gas_used?: string | undefined;
1458
- }[] | null | undefined;
1459
- version: number;
1460
- } | undefined;
1461
- };
1462
- block_hash: string;
1463
- proof: {
1464
- hash: string;
1465
- direction: "Left" | "Right";
1466
- }[];
1467
- }[] | undefined;
1468
- } | {
1469
- final_execution_status: "INCLUDED_FINAL";
1470
- transaction?: {
1471
- hash: string;
1472
- signer_id: string;
1473
- receiver_id: string;
1474
- nonce: number;
1475
- } | undefined;
1476
- status?: "Pending" | "Unknown" | {
1477
- SuccessValue: string;
1478
- } | {
1479
- SuccessReceiptId: string;
1480
- } | {
1481
- Failure: {
1482
- [x: string]: any;
1483
- error_message?: string | undefined;
1484
- error_type?: string | undefined;
1485
- };
1486
- } | undefined;
1487
- transaction_outcome?: {
1488
- id: string;
1489
- outcome: {
1490
- logs: string[];
1491
- receipt_ids: string[];
1492
- gas_burnt: number;
1493
- tokens_burnt: string;
1494
- executor_id: string;
1495
- status: "Pending" | "Unknown" | {
1496
- SuccessValue: string;
1497
- } | {
1498
- SuccessReceiptId: string;
1499
- } | {
1500
- Failure: {
1501
- [x: string]: any;
1502
- error_message?: string | undefined;
1503
- error_type?: string | undefined;
1504
- };
1505
- };
1506
- metadata?: {
1507
- gas_profile?: {
1508
- [x: string]: any;
1509
- cost?: string | undefined;
1510
- cost_category?: string | undefined;
1511
- gas_used?: string | undefined;
1512
- }[] | null | undefined;
1513
- version: 4;
1514
- contracts?: ({
1515
- local: string;
1516
- } | {
1517
- global_hash: string;
1518
- } | {
1519
- global_account_id: string;
1520
- } | null)[] | null | undefined;
1521
- } | {
1522
- gas_profile?: {
1523
- [x: string]: any;
1524
- cost?: string | undefined;
1525
- cost_category?: string | undefined;
1526
- gas_used?: string | undefined;
1527
- }[] | null | undefined;
1528
- version: 1 | 2 | 3;
1529
- } | {
1530
- gas_profile?: {
1531
- [x: string]: any;
1532
- cost?: string | undefined;
1533
- cost_category?: string | undefined;
1534
- gas_used?: string | undefined;
1535
- }[] | null | undefined;
1536
- version: number;
1537
- } | undefined;
1538
- };
1539
- block_hash: string;
1540
- proof: {
1541
- hash: string;
1542
- direction: "Left" | "Right";
1543
- }[];
1544
- } | undefined;
1545
- receipts_outcome?: {
1546
- id: string;
1547
- outcome: {
1548
- logs: string[];
1549
- receipt_ids: string[];
1550
- gas_burnt: number;
1551
- tokens_burnt: string;
1552
- executor_id: string;
1553
- status: "Pending" | "Unknown" | {
1554
- SuccessValue: string;
1555
- } | {
1556
- SuccessReceiptId: string;
1557
- } | {
1558
- Failure: {
1559
- [x: string]: any;
1560
- error_message?: string | undefined;
1561
- error_type?: string | undefined;
1562
- };
1563
- };
1564
- metadata?: {
1565
- gas_profile?: {
1566
- [x: string]: any;
1567
- cost?: string | undefined;
1568
- cost_category?: string | undefined;
1569
- gas_used?: string | undefined;
1570
- }[] | null | undefined;
1571
- version: 4;
1572
- contracts?: ({
1573
- local: string;
1574
- } | {
1575
- global_hash: string;
1576
- } | {
1577
- global_account_id: string;
1578
- } | null)[] | null | undefined;
1579
- } | {
1580
- gas_profile?: {
1581
- [x: string]: any;
1582
- cost?: string | undefined;
1583
- cost_category?: string | undefined;
1584
- gas_used?: string | undefined;
1585
- }[] | null | undefined;
1586
- version: 1 | 2 | 3;
1587
- } | {
1588
- gas_profile?: {
1589
- [x: string]: any;
1590
- cost?: string | undefined;
1591
- cost_category?: string | undefined;
1592
- gas_used?: string | undefined;
1593
- }[] | null | undefined;
1594
- version: number;
1595
- } | undefined;
1596
- };
1597
- block_hash: string;
1598
- proof: {
1599
- hash: string;
1600
- direction: "Left" | "Right";
1601
- }[];
1602
- }[] | undefined;
1603
- } | {
1604
- final_execution_status: "EXECUTED_OPTIMISTIC";
1605
- status: "Pending" | "Unknown" | {
1606
- SuccessValue: string;
1607
- } | {
1608
- SuccessReceiptId: string;
1609
- } | {
1610
- Failure: {
1611
- [x: string]: any;
1612
- error_message?: string | undefined;
1613
- error_type?: string | undefined;
1614
- };
1615
- };
1616
- transaction: {
1617
- signer_id: string;
1618
- public_key: string;
1619
- nonce: number;
1620
- receiver_id: string;
1621
- actions: ("CreateAccount" | {
1622
- CreateAccount: Record<string, never>;
1623
- } | {
1624
- Transfer: {
1625
- deposit: string;
1626
- };
1627
- } | {
1628
- FunctionCall: {
1629
- method_name: string;
1630
- args: string;
1631
- gas: number;
1632
- deposit: string;
1633
- };
1634
- } | {
1635
- DeployContract: {
1636
- code: string;
1637
- };
1638
- } | {
1639
- DeployGlobalContract: {
1640
- code: string;
1641
- };
1642
- } | {
1643
- DeployGlobalContractByAccountId: {
1644
- code: string;
1645
- };
1646
- } | {
1647
- Stake: {
1648
- stake: string;
1649
- public_key: string;
1650
- };
1651
- } | {
1652
- AddKey: {
1653
- public_key: string;
1654
- access_key: {
1655
- nonce: number;
1656
- permission: "FullAccess" | {
1657
- FunctionCall: {
1658
- receiver_id: string;
1659
- method_names: string[];
1660
- allowance?: string | null | undefined;
1661
- };
1662
- } | {
1663
- GasKeyFunctionCall: {
1664
- balance: string;
1665
- num_nonces: number;
1666
- receiver_id: string;
1667
- method_names: string[];
1668
- allowance?: string | null | undefined;
1669
- };
1670
- } | {
1671
- GasKeyFullAccess: {
1672
- balance: string;
1673
- num_nonces: number;
1674
- };
1675
- };
1676
- };
1677
- };
1678
- } | {
1679
- DeleteKey: {
1680
- public_key: string;
1681
- };
1682
- } | {
1683
- DeleteAccount: {
1684
- beneficiary_id: string;
1685
- };
1686
- } | {
1687
- UseGlobalContract: {
1688
- code_hash: string;
1689
- };
1690
- } | {
1691
- UseGlobalContractByAccountId: {
1692
- account_id: string;
1693
- };
1694
- } | {
1695
- Delegate: {
1696
- delegate_action: {
1697
- sender_id: string;
1698
- receiver_id: string;
1699
- actions: any[];
1700
- nonce: number;
1701
- max_block_height: number;
1702
- public_key: string;
1703
- };
1704
- signature: string;
1705
- };
1706
- } | {
1707
- DeterministicStateInit: {
1708
- deposit: string;
1709
- };
1710
- } | {
1711
- TransferToGasKey: {
1712
- public_key: string;
1713
- deposit: string;
1714
- };
1715
- } | {
1716
- WithdrawFromGasKey: {
1717
- public_key: string;
1718
- amount: string;
1719
- };
1720
- } | {
1721
- DelegateV2: {
1722
- delegate_action: {
1723
- V2: {
1724
- sender_id: string;
1725
- receiver_id: string;
1726
- actions: any[];
1727
- nonce: {
1728
- Nonce: {
1729
- nonce: number;
1730
- };
1731
- } | {
1732
- GasKeyNonce: {
1733
- nonce: number;
1734
- nonce_index: number;
1735
- };
1736
- };
1737
- max_block_height: number;
1738
- public_key: string;
1739
- };
1740
- };
1741
- signature: string;
1742
- };
1743
- })[];
1744
- signature: string;
1745
- hash: string;
1746
- priority_fee?: number | undefined;
1747
- nonce_mode?: "monotonic" | "strict" | null | undefined;
1748
- };
1749
- transaction_outcome: {
1750
- id: string;
1751
- outcome: {
1752
- logs: string[];
1753
- receipt_ids: string[];
1754
- gas_burnt: number;
1755
- tokens_burnt: string;
1756
- executor_id: string;
1757
- status: "Pending" | "Unknown" | {
1758
- SuccessValue: string;
1759
- } | {
1760
- SuccessReceiptId: string;
1761
- } | {
1762
- Failure: {
1763
- [x: string]: any;
1764
- error_message?: string | undefined;
1765
- error_type?: string | undefined;
1766
- };
1767
- };
1768
- metadata?: {
1769
- gas_profile?: {
1770
- [x: string]: any;
1771
- cost?: string | undefined;
1772
- cost_category?: string | undefined;
1773
- gas_used?: string | undefined;
1774
- }[] | null | undefined;
1775
- version: 4;
1776
- contracts?: ({
1777
- local: string;
1778
- } | {
1779
- global_hash: string;
1780
- } | {
1781
- global_account_id: string;
1782
- } | null)[] | null | undefined;
1783
- } | {
1784
- gas_profile?: {
1785
- [x: string]: any;
1786
- cost?: string | undefined;
1787
- cost_category?: string | undefined;
1788
- gas_used?: string | undefined;
1789
- }[] | null | undefined;
1790
- version: 1 | 2 | 3;
1791
- } | {
1792
- gas_profile?: {
1793
- [x: string]: any;
1794
- cost?: string | undefined;
1795
- cost_category?: string | undefined;
1796
- gas_used?: string | undefined;
1797
- }[] | null | undefined;
1798
- version: number;
1799
- } | undefined;
1800
- };
1801
- block_hash: string;
1802
- proof: {
1803
- hash: string;
1804
- direction: "Left" | "Right";
1805
- }[];
1806
- };
1807
- receipts_outcome: {
1808
- id: string;
1809
- outcome: {
1810
- logs: string[];
1811
- receipt_ids: string[];
1812
- gas_burnt: number;
1813
- tokens_burnt: string;
1814
- executor_id: string;
1815
- status: "Pending" | "Unknown" | {
1816
- SuccessValue: string;
1817
- } | {
1818
- SuccessReceiptId: string;
1819
- } | {
1820
- Failure: {
1821
- [x: string]: any;
1822
- error_message?: string | undefined;
1823
- error_type?: string | undefined;
1824
- };
1825
- };
1826
- metadata?: {
1827
- gas_profile?: {
1828
- [x: string]: any;
1829
- cost?: string | undefined;
1830
- cost_category?: string | undefined;
1831
- gas_used?: string | undefined;
1832
- }[] | null | undefined;
1833
- version: 4;
1834
- contracts?: ({
1835
- local: string;
1836
- } | {
1837
- global_hash: string;
1838
- } | {
1839
- global_account_id: string;
1840
- } | null)[] | null | undefined;
1841
- } | {
1842
- gas_profile?: {
1843
- [x: string]: any;
1844
- cost?: string | undefined;
1845
- cost_category?: string | undefined;
1846
- gas_used?: string | undefined;
1847
- }[] | null | undefined;
1848
- version: 1 | 2 | 3;
1849
- } | {
1850
- gas_profile?: {
1851
- [x: string]: any;
1852
- cost?: string | undefined;
1853
- cost_category?: string | undefined;
1854
- gas_used?: string | undefined;
1855
- }[] | null | undefined;
1856
- version: number;
1857
- } | undefined;
1858
- };
1859
- block_hash: string;
1860
- proof: {
1861
- hash: string;
1862
- direction: "Left" | "Right";
1863
- }[];
1864
- }[];
1865
- } | {
1866
- final_execution_status: "EXECUTED";
1867
- status: "Pending" | "Unknown" | {
1868
- SuccessValue: string;
1869
- } | {
1870
- SuccessReceiptId: string;
1871
- } | {
1872
- Failure: {
1873
- [x: string]: any;
1874
- error_message?: string | undefined;
1875
- error_type?: string | undefined;
1876
- };
1877
- };
1878
- transaction: {
1879
- signer_id: string;
1880
- public_key: string;
1881
- nonce: number;
1882
- receiver_id: string;
1883
- actions: ("CreateAccount" | {
1884
- CreateAccount: Record<string, never>;
1885
- } | {
1886
- Transfer: {
1887
- deposit: string;
1888
- };
1889
- } | {
1890
- FunctionCall: {
1891
- method_name: string;
1892
- args: string;
1893
- gas: number;
1894
- deposit: string;
1895
- };
1896
- } | {
1897
- DeployContract: {
1898
- code: string;
1899
- };
1900
- } | {
1901
- DeployGlobalContract: {
1902
- code: string;
1903
- };
1904
- } | {
1905
- DeployGlobalContractByAccountId: {
1906
- code: string;
1907
- };
1908
- } | {
1909
- Stake: {
1910
- stake: string;
1911
- public_key: string;
1912
- };
1913
- } | {
1914
- AddKey: {
1915
- public_key: string;
1916
- access_key: {
1917
- nonce: number;
1918
- permission: "FullAccess" | {
1919
- FunctionCall: {
1920
- receiver_id: string;
1921
- method_names: string[];
1922
- allowance?: string | null | undefined;
1923
- };
1924
- } | {
1925
- GasKeyFunctionCall: {
1926
- balance: string;
1927
- num_nonces: number;
1928
- receiver_id: string;
1929
- method_names: string[];
1930
- allowance?: string | null | undefined;
1931
- };
1932
- } | {
1933
- GasKeyFullAccess: {
1934
- balance: string;
1935
- num_nonces: number;
1936
- };
1937
- };
1938
- };
1939
- };
1940
- } | {
1941
- DeleteKey: {
1942
- public_key: string;
1943
- };
1944
- } | {
1945
- DeleteAccount: {
1946
- beneficiary_id: string;
1947
- };
1948
- } | {
1949
- UseGlobalContract: {
1950
- code_hash: string;
1951
- };
1952
- } | {
1953
- UseGlobalContractByAccountId: {
1954
- account_id: string;
1955
- };
1956
- } | {
1957
- Delegate: {
1958
- delegate_action: {
1959
- sender_id: string;
1960
- receiver_id: string;
1961
- actions: any[];
1962
- nonce: number;
1963
- max_block_height: number;
1964
- public_key: string;
1965
- };
1966
- signature: string;
1967
- };
1968
- } | {
1969
- DeterministicStateInit: {
1970
- deposit: string;
1971
- };
1972
- } | {
1973
- TransferToGasKey: {
1974
- public_key: string;
1975
- deposit: string;
1976
- };
1977
- } | {
1978
- WithdrawFromGasKey: {
1979
- public_key: string;
1980
- amount: string;
1981
- };
1982
- } | {
1983
- DelegateV2: {
1984
- delegate_action: {
1985
- V2: {
1986
- sender_id: string;
1987
- receiver_id: string;
1988
- actions: any[];
1989
- nonce: {
1990
- Nonce: {
1991
- nonce: number;
1992
- };
1993
- } | {
1994
- GasKeyNonce: {
1995
- nonce: number;
1996
- nonce_index: number;
1997
- };
1998
- };
1999
- max_block_height: number;
2000
- public_key: string;
2001
- };
2002
- };
2003
- signature: string;
2004
- };
2005
- })[];
2006
- signature: string;
2007
- hash: string;
2008
- priority_fee?: number | undefined;
2009
- nonce_mode?: "monotonic" | "strict" | null | undefined;
2010
- };
2011
- transaction_outcome: {
2012
- id: string;
2013
- outcome: {
2014
- logs: string[];
2015
- receipt_ids: string[];
2016
- gas_burnt: number;
2017
- tokens_burnt: string;
2018
- executor_id: string;
2019
- status: "Pending" | "Unknown" | {
2020
- SuccessValue: string;
2021
- } | {
2022
- SuccessReceiptId: string;
2023
- } | {
2024
- Failure: {
2025
- [x: string]: any;
2026
- error_message?: string | undefined;
2027
- error_type?: string | undefined;
2028
- };
2029
- };
2030
- metadata?: {
2031
- gas_profile?: {
2032
- [x: string]: any;
2033
- cost?: string | undefined;
2034
- cost_category?: string | undefined;
2035
- gas_used?: string | undefined;
2036
- }[] | null | undefined;
2037
- version: 4;
2038
- contracts?: ({
2039
- local: string;
2040
- } | {
2041
- global_hash: string;
2042
- } | {
2043
- global_account_id: string;
2044
- } | null)[] | null | undefined;
2045
- } | {
2046
- gas_profile?: {
2047
- [x: string]: any;
2048
- cost?: string | undefined;
2049
- cost_category?: string | undefined;
2050
- gas_used?: string | undefined;
2051
- }[] | null | undefined;
2052
- version: 1 | 2 | 3;
2053
- } | {
2054
- gas_profile?: {
2055
- [x: string]: any;
2056
- cost?: string | undefined;
2057
- cost_category?: string | undefined;
2058
- gas_used?: string | undefined;
2059
- }[] | null | undefined;
2060
- version: number;
2061
- } | undefined;
2062
- };
2063
- block_hash: string;
2064
- proof: {
2065
- hash: string;
2066
- direction: "Left" | "Right";
2067
- }[];
2068
- };
2069
- receipts_outcome: {
2070
- id: string;
2071
- outcome: {
2072
- logs: string[];
2073
- receipt_ids: string[];
2074
- gas_burnt: number;
2075
- tokens_burnt: string;
2076
- executor_id: string;
2077
- status: "Pending" | "Unknown" | {
2078
- SuccessValue: string;
2079
- } | {
2080
- SuccessReceiptId: string;
2081
- } | {
2082
- Failure: {
2083
- [x: string]: any;
2084
- error_message?: string | undefined;
2085
- error_type?: string | undefined;
2086
- };
2087
- };
2088
- metadata?: {
2089
- gas_profile?: {
2090
- [x: string]: any;
2091
- cost?: string | undefined;
2092
- cost_category?: string | undefined;
2093
- gas_used?: string | undefined;
2094
- }[] | null | undefined;
2095
- version: 4;
2096
- contracts?: ({
2097
- local: string;
2098
- } | {
2099
- global_hash: string;
2100
- } | {
2101
- global_account_id: string;
2102
- } | null)[] | null | undefined;
2103
- } | {
2104
- gas_profile?: {
2105
- [x: string]: any;
2106
- cost?: string | undefined;
2107
- cost_category?: string | undefined;
2108
- gas_used?: string | undefined;
2109
- }[] | null | undefined;
2110
- version: 1 | 2 | 3;
2111
- } | {
2112
- gas_profile?: {
2113
- [x: string]: any;
2114
- cost?: string | undefined;
2115
- cost_category?: string | undefined;
2116
- gas_used?: string | undefined;
2117
- }[] | null | undefined;
2118
- version: number;
2119
- } | undefined;
2120
- };
2121
- block_hash: string;
2122
- proof: {
2123
- hash: string;
2124
- direction: "Left" | "Right";
2125
- }[];
2126
- }[];
2127
- } | {
2128
- final_execution_status: "FINAL";
2129
- status: "Pending" | "Unknown" | {
2130
- SuccessValue: string;
2131
- } | {
2132
- SuccessReceiptId: string;
2133
- } | {
2134
- Failure: {
2135
- [x: string]: any;
2136
- error_message?: string | undefined;
2137
- error_type?: string | undefined;
2138
- };
2139
- };
2140
- transaction: {
2141
- signer_id: string;
2142
- public_key: string;
2143
- nonce: number;
2144
- receiver_id: string;
2145
- actions: ("CreateAccount" | {
2146
- CreateAccount: Record<string, never>;
2147
- } | {
2148
- Transfer: {
2149
- deposit: string;
2150
- };
2151
- } | {
2152
- FunctionCall: {
2153
- method_name: string;
2154
- args: string;
2155
- gas: number;
2156
- deposit: string;
2157
- };
2158
- } | {
2159
- DeployContract: {
2160
- code: string;
2161
- };
2162
- } | {
2163
- DeployGlobalContract: {
2164
- code: string;
2165
- };
2166
- } | {
2167
- DeployGlobalContractByAccountId: {
2168
- code: string;
2169
- };
2170
- } | {
2171
- Stake: {
2172
- stake: string;
2173
- public_key: string;
2174
- };
2175
- } | {
2176
- AddKey: {
2177
- public_key: string;
2178
- access_key: {
2179
- nonce: number;
2180
- permission: "FullAccess" | {
2181
- FunctionCall: {
2182
- receiver_id: string;
2183
- method_names: string[];
2184
- allowance?: string | null | undefined;
2185
- };
2186
- } | {
2187
- GasKeyFunctionCall: {
2188
- balance: string;
2189
- num_nonces: number;
2190
- receiver_id: string;
2191
- method_names: string[];
2192
- allowance?: string | null | undefined;
2193
- };
2194
- } | {
2195
- GasKeyFullAccess: {
2196
- balance: string;
2197
- num_nonces: number;
2198
- };
2199
- };
2200
- };
2201
- };
2202
- } | {
2203
- DeleteKey: {
2204
- public_key: string;
2205
- };
2206
- } | {
2207
- DeleteAccount: {
2208
- beneficiary_id: string;
2209
- };
2210
- } | {
2211
- UseGlobalContract: {
2212
- code_hash: string;
2213
- };
2214
- } | {
2215
- UseGlobalContractByAccountId: {
2216
- account_id: string;
2217
- };
2218
- } | {
2219
- Delegate: {
2220
- delegate_action: {
2221
- sender_id: string;
2222
- receiver_id: string;
2223
- actions: any[];
2224
- nonce: number;
2225
- max_block_height: number;
2226
- public_key: string;
2227
- };
2228
- signature: string;
2229
- };
2230
- } | {
2231
- DeterministicStateInit: {
2232
- deposit: string;
2233
- };
2234
- } | {
2235
- TransferToGasKey: {
2236
- public_key: string;
2237
- deposit: string;
2238
- };
2239
- } | {
2240
- WithdrawFromGasKey: {
2241
- public_key: string;
2242
- amount: string;
2243
- };
2244
- } | {
2245
- DelegateV2: {
2246
- delegate_action: {
2247
- V2: {
2248
- sender_id: string;
2249
- receiver_id: string;
2250
- actions: any[];
2251
- nonce: {
2252
- Nonce: {
2253
- nonce: number;
2254
- };
2255
- } | {
2256
- GasKeyNonce: {
2257
- nonce: number;
2258
- nonce_index: number;
2259
- };
2260
- };
2261
- max_block_height: number;
2262
- public_key: string;
2263
- };
2264
- };
2265
- signature: string;
2266
- };
2267
- })[];
2268
- signature: string;
2269
- hash: string;
2270
- priority_fee?: number | undefined;
2271
- nonce_mode?: "monotonic" | "strict" | null | undefined;
2272
- };
2273
- transaction_outcome: {
2274
- id: string;
2275
- outcome: {
2276
- logs: string[];
2277
- receipt_ids: string[];
2278
- gas_burnt: number;
2279
- tokens_burnt: string;
2280
- executor_id: string;
2281
- status: "Pending" | "Unknown" | {
2282
- SuccessValue: string;
2283
- } | {
2284
- SuccessReceiptId: string;
2285
- } | {
2286
- Failure: {
2287
- [x: string]: any;
2288
- error_message?: string | undefined;
2289
- error_type?: string | undefined;
2290
- };
2291
- };
2292
- metadata?: {
2293
- gas_profile?: {
2294
- [x: string]: any;
2295
- cost?: string | undefined;
2296
- cost_category?: string | undefined;
2297
- gas_used?: string | undefined;
2298
- }[] | null | undefined;
2299
- version: 4;
2300
- contracts?: ({
2301
- local: string;
2302
- } | {
2303
- global_hash: string;
2304
- } | {
2305
- global_account_id: string;
2306
- } | null)[] | null | undefined;
2307
- } | {
2308
- gas_profile?: {
2309
- [x: string]: any;
2310
- cost?: string | undefined;
2311
- cost_category?: string | undefined;
2312
- gas_used?: string | undefined;
2313
- }[] | null | undefined;
2314
- version: 1 | 2 | 3;
2315
- } | {
2316
- gas_profile?: {
2317
- [x: string]: any;
2318
- cost?: string | undefined;
2319
- cost_category?: string | undefined;
2320
- gas_used?: string | undefined;
2321
- }[] | null | undefined;
2322
- version: number;
2323
- } | undefined;
2324
- };
2325
- block_hash: string;
2326
- proof: {
2327
- hash: string;
2328
- direction: "Left" | "Right";
2329
- }[];
2330
- };
2331
- receipts_outcome: {
2332
- id: string;
2333
- outcome: {
2334
- logs: string[];
2335
- receipt_ids: string[];
2336
- gas_burnt: number;
2337
- tokens_burnt: string;
2338
- executor_id: string;
2339
- status: "Pending" | "Unknown" | {
2340
- SuccessValue: string;
2341
- } | {
2342
- SuccessReceiptId: string;
2343
- } | {
2344
- Failure: {
2345
- [x: string]: any;
2346
- error_message?: string | undefined;
2347
- error_type?: string | undefined;
2348
- };
2349
- };
2350
- metadata?: {
2351
- gas_profile?: {
2352
- [x: string]: any;
2353
- cost?: string | undefined;
2354
- cost_category?: string | undefined;
2355
- gas_used?: string | undefined;
2356
- }[] | null | undefined;
2357
- version: 4;
2358
- contracts?: ({
2359
- local: string;
2360
- } | {
2361
- global_hash: string;
2362
- } | {
2363
- global_account_id: string;
2364
- } | null)[] | null | undefined;
2365
- } | {
2366
- gas_profile?: {
2367
- [x: string]: any;
2368
- cost?: string | undefined;
2369
- cost_category?: string | undefined;
2370
- gas_used?: string | undefined;
2371
- }[] | null | undefined;
2372
- version: 1 | 2 | 3;
2373
- } | {
2374
- gas_profile?: {
2375
- [x: string]: any;
2376
- cost?: string | undefined;
2377
- cost_category?: string | undefined;
2378
- gas_used?: string | undefined;
2379
- }[] | null | undefined;
2380
- version: number;
2381
- } | undefined;
2382
- };
2383
- block_hash: string;
2384
- proof: {
2385
- hash: string;
2386
- direction: "Left" | "Right";
2387
- }[];
2388
- }[];
2389
- }>;
2390
- //# sourceMappingURL=pool_fun.d.ts.map