@near-kit-tool-box/fun 0.1.5 → 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 -1603
  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 -535
  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 -534
  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 -534
  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 -534
  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 -534
  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 -1067
  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 -1070
  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 -1066
  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 -2132
  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,1603 +0,0 @@
1
- import { Near } from "near-kit";
2
- import type { ft_args_params_interface } from "../../lib/contract_ft_args";
3
- import type { FT_METADATA_TYPE } from "../../types/ft_metadata_types";
4
- export declare function ft_balance_of_fun(near: Near, ft_contractId: string, account_id: ft_args_params_interface["account_id"]): Promise<string>;
5
- export declare function ft_total_supply_fun(near: Near, ft_contractId: string): Promise<string>;
6
- export declare function ft_metadata_fun(near: Near, ft_contractId: string): Promise<FT_METADATA_TYPE>;
7
- export declare function ft_transfer_fun(near: Near, ft_contractId: string, receiver_id: ft_args_params_interface["receiver_id"], amount: ft_args_params_interface["amount"]): Promise<{
8
- final_execution_status: "NONE";
9
- transaction?: {
10
- hash: string;
11
- signer_id: string;
12
- receiver_id: string;
13
- nonce: number;
14
- } | undefined;
15
- } | {
16
- final_execution_status: "INCLUDED";
17
- transaction?: {
18
- hash: string;
19
- signer_id: string;
20
- receiver_id: string;
21
- nonce: number;
22
- } | undefined;
23
- } | {
24
- final_execution_status: "INCLUDED_FINAL";
25
- transaction?: {
26
- hash: string;
27
- signer_id: string;
28
- receiver_id: string;
29
- nonce: number;
30
- } | undefined;
31
- } | {
32
- final_execution_status: "EXECUTED_OPTIMISTIC";
33
- status: "Unknown" | "Pending" | {
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
- transaction: {
45
- signer_id: string;
46
- public_key: string;
47
- nonce: number;
48
- receiver_id: string;
49
- actions: ("CreateAccount" | {
50
- CreateAccount: Record<string, never>;
51
- } | {
52
- Transfer: {
53
- deposit: string;
54
- };
55
- } | {
56
- FunctionCall: {
57
- method_name: string;
58
- args: string;
59
- gas: number;
60
- deposit: string;
61
- };
62
- } | {
63
- DeployContract: {
64
- code: string;
65
- };
66
- } | {
67
- DeployGlobalContract: {
68
- code: string;
69
- };
70
- } | {
71
- DeployGlobalContractByAccountId: {
72
- code: string;
73
- };
74
- } | {
75
- Stake: {
76
- stake: string;
77
- public_key: string;
78
- };
79
- } | {
80
- AddKey: {
81
- public_key: string;
82
- access_key: {
83
- nonce: number;
84
- permission: "FullAccess" | {
85
- FunctionCall: {
86
- receiver_id: string;
87
- method_names: string[];
88
- allowance?: string | null | undefined;
89
- };
90
- };
91
- };
92
- };
93
- } | {
94
- DeleteKey: {
95
- public_key: string;
96
- };
97
- } | {
98
- DeleteAccount: {
99
- beneficiary_id: string;
100
- };
101
- } | {
102
- UseGlobalContract: {
103
- code_hash: string;
104
- };
105
- } | {
106
- UseGlobalContractByAccountId: {
107
- account_id: string;
108
- };
109
- } | {
110
- Delegate: {
111
- delegate_action: {
112
- sender_id: string;
113
- receiver_id: string;
114
- actions: any[];
115
- nonce: number;
116
- max_block_height: number;
117
- public_key: string;
118
- };
119
- signature: string;
120
- };
121
- } | {
122
- DeterministicStateInit: {
123
- deposit: string;
124
- };
125
- })[];
126
- signature: string;
127
- hash: string;
128
- priority_fee?: number | undefined;
129
- };
130
- transaction_outcome: {
131
- id: string;
132
- outcome: {
133
- logs: string[];
134
- receipt_ids: string[];
135
- gas_burnt: number;
136
- tokens_burnt: string;
137
- executor_id: string;
138
- status: "Unknown" | "Pending" | {
139
- SuccessValue: string;
140
- } | {
141
- SuccessReceiptId: string;
142
- } | {
143
- Failure: {
144
- [x: string]: any;
145
- error_message?: string | undefined;
146
- error_type?: string | undefined;
147
- };
148
- };
149
- metadata?: {
150
- version: number;
151
- gas_profile?: {
152
- [x: string]: any;
153
- cost?: string | undefined;
154
- cost_category?: string | undefined;
155
- gas_used?: string | undefined;
156
- }[] | null | undefined;
157
- } | undefined;
158
- };
159
- block_hash: string;
160
- proof: {
161
- hash: string;
162
- direction: "Left" | "Right";
163
- }[];
164
- };
165
- receipts_outcome: {
166
- id: string;
167
- outcome: {
168
- logs: string[];
169
- receipt_ids: string[];
170
- gas_burnt: number;
171
- tokens_burnt: string;
172
- executor_id: string;
173
- status: "Unknown" | "Pending" | {
174
- SuccessValue: string;
175
- } | {
176
- SuccessReceiptId: string;
177
- } | {
178
- Failure: {
179
- [x: string]: any;
180
- error_message?: string | undefined;
181
- error_type?: string | undefined;
182
- };
183
- };
184
- metadata?: {
185
- version: number;
186
- gas_profile?: {
187
- [x: string]: any;
188
- cost?: string | undefined;
189
- cost_category?: string | undefined;
190
- gas_used?: string | undefined;
191
- }[] | null | undefined;
192
- } | undefined;
193
- };
194
- block_hash: string;
195
- proof: {
196
- hash: string;
197
- direction: "Left" | "Right";
198
- }[];
199
- }[];
200
- } | {
201
- final_execution_status: "EXECUTED";
202
- status: "Unknown" | "Pending" | {
203
- SuccessValue: string;
204
- } | {
205
- SuccessReceiptId: string;
206
- } | {
207
- Failure: {
208
- [x: string]: any;
209
- error_message?: string | undefined;
210
- error_type?: string | undefined;
211
- };
212
- };
213
- transaction: {
214
- signer_id: string;
215
- public_key: string;
216
- nonce: number;
217
- receiver_id: string;
218
- actions: ("CreateAccount" | {
219
- CreateAccount: Record<string, never>;
220
- } | {
221
- Transfer: {
222
- deposit: string;
223
- };
224
- } | {
225
- FunctionCall: {
226
- method_name: string;
227
- args: string;
228
- gas: number;
229
- deposit: string;
230
- };
231
- } | {
232
- DeployContract: {
233
- code: string;
234
- };
235
- } | {
236
- DeployGlobalContract: {
237
- code: string;
238
- };
239
- } | {
240
- DeployGlobalContractByAccountId: {
241
- code: string;
242
- };
243
- } | {
244
- Stake: {
245
- stake: string;
246
- public_key: string;
247
- };
248
- } | {
249
- AddKey: {
250
- public_key: string;
251
- access_key: {
252
- nonce: number;
253
- permission: "FullAccess" | {
254
- FunctionCall: {
255
- receiver_id: string;
256
- method_names: string[];
257
- allowance?: string | null | undefined;
258
- };
259
- };
260
- };
261
- };
262
- } | {
263
- DeleteKey: {
264
- public_key: string;
265
- };
266
- } | {
267
- DeleteAccount: {
268
- beneficiary_id: string;
269
- };
270
- } | {
271
- UseGlobalContract: {
272
- code_hash: string;
273
- };
274
- } | {
275
- UseGlobalContractByAccountId: {
276
- account_id: string;
277
- };
278
- } | {
279
- Delegate: {
280
- delegate_action: {
281
- sender_id: string;
282
- receiver_id: string;
283
- actions: any[];
284
- nonce: number;
285
- max_block_height: number;
286
- public_key: string;
287
- };
288
- signature: string;
289
- };
290
- } | {
291
- DeterministicStateInit: {
292
- deposit: string;
293
- };
294
- })[];
295
- signature: string;
296
- hash: string;
297
- priority_fee?: number | undefined;
298
- };
299
- transaction_outcome: {
300
- id: string;
301
- outcome: {
302
- logs: string[];
303
- receipt_ids: string[];
304
- gas_burnt: number;
305
- tokens_burnt: string;
306
- executor_id: string;
307
- status: "Unknown" | "Pending" | {
308
- SuccessValue: string;
309
- } | {
310
- SuccessReceiptId: string;
311
- } | {
312
- Failure: {
313
- [x: string]: any;
314
- error_message?: string | undefined;
315
- error_type?: string | undefined;
316
- };
317
- };
318
- metadata?: {
319
- version: number;
320
- gas_profile?: {
321
- [x: string]: any;
322
- cost?: string | undefined;
323
- cost_category?: string | undefined;
324
- gas_used?: string | undefined;
325
- }[] | null | undefined;
326
- } | undefined;
327
- };
328
- block_hash: string;
329
- proof: {
330
- hash: string;
331
- direction: "Left" | "Right";
332
- }[];
333
- };
334
- receipts_outcome: {
335
- id: string;
336
- outcome: {
337
- logs: string[];
338
- receipt_ids: string[];
339
- gas_burnt: number;
340
- tokens_burnt: string;
341
- executor_id: string;
342
- status: "Unknown" | "Pending" | {
343
- SuccessValue: string;
344
- } | {
345
- SuccessReceiptId: string;
346
- } | {
347
- Failure: {
348
- [x: string]: any;
349
- error_message?: string | undefined;
350
- error_type?: string | undefined;
351
- };
352
- };
353
- metadata?: {
354
- version: number;
355
- gas_profile?: {
356
- [x: string]: any;
357
- cost?: string | undefined;
358
- cost_category?: string | undefined;
359
- gas_used?: string | undefined;
360
- }[] | null | undefined;
361
- } | undefined;
362
- };
363
- block_hash: string;
364
- proof: {
365
- hash: string;
366
- direction: "Left" | "Right";
367
- }[];
368
- }[];
369
- } | {
370
- final_execution_status: "FINAL";
371
- status: "Unknown" | "Pending" | {
372
- SuccessValue: string;
373
- } | {
374
- SuccessReceiptId: string;
375
- } | {
376
- Failure: {
377
- [x: string]: any;
378
- error_message?: string | undefined;
379
- error_type?: string | undefined;
380
- };
381
- };
382
- transaction: {
383
- signer_id: string;
384
- public_key: string;
385
- nonce: number;
386
- receiver_id: string;
387
- actions: ("CreateAccount" | {
388
- CreateAccount: Record<string, never>;
389
- } | {
390
- Transfer: {
391
- deposit: string;
392
- };
393
- } | {
394
- FunctionCall: {
395
- method_name: string;
396
- args: string;
397
- gas: number;
398
- deposit: string;
399
- };
400
- } | {
401
- DeployContract: {
402
- code: string;
403
- };
404
- } | {
405
- DeployGlobalContract: {
406
- code: string;
407
- };
408
- } | {
409
- DeployGlobalContractByAccountId: {
410
- code: string;
411
- };
412
- } | {
413
- Stake: {
414
- stake: string;
415
- public_key: string;
416
- };
417
- } | {
418
- AddKey: {
419
- public_key: string;
420
- access_key: {
421
- nonce: number;
422
- permission: "FullAccess" | {
423
- FunctionCall: {
424
- receiver_id: string;
425
- method_names: string[];
426
- allowance?: string | null | undefined;
427
- };
428
- };
429
- };
430
- };
431
- } | {
432
- DeleteKey: {
433
- public_key: string;
434
- };
435
- } | {
436
- DeleteAccount: {
437
- beneficiary_id: string;
438
- };
439
- } | {
440
- UseGlobalContract: {
441
- code_hash: string;
442
- };
443
- } | {
444
- UseGlobalContractByAccountId: {
445
- account_id: string;
446
- };
447
- } | {
448
- Delegate: {
449
- delegate_action: {
450
- sender_id: string;
451
- receiver_id: string;
452
- actions: any[];
453
- nonce: number;
454
- max_block_height: number;
455
- public_key: string;
456
- };
457
- signature: string;
458
- };
459
- } | {
460
- DeterministicStateInit: {
461
- deposit: string;
462
- };
463
- })[];
464
- signature: string;
465
- hash: string;
466
- priority_fee?: number | undefined;
467
- };
468
- transaction_outcome: {
469
- id: string;
470
- outcome: {
471
- logs: string[];
472
- receipt_ids: string[];
473
- gas_burnt: number;
474
- tokens_burnt: string;
475
- executor_id: string;
476
- status: "Unknown" | "Pending" | {
477
- SuccessValue: string;
478
- } | {
479
- SuccessReceiptId: string;
480
- } | {
481
- Failure: {
482
- [x: string]: any;
483
- error_message?: string | undefined;
484
- error_type?: string | undefined;
485
- };
486
- };
487
- metadata?: {
488
- version: number;
489
- gas_profile?: {
490
- [x: string]: any;
491
- cost?: string | undefined;
492
- cost_category?: string | undefined;
493
- gas_used?: string | undefined;
494
- }[] | null | undefined;
495
- } | undefined;
496
- };
497
- block_hash: string;
498
- proof: {
499
- hash: string;
500
- direction: "Left" | "Right";
501
- }[];
502
- };
503
- receipts_outcome: {
504
- id: string;
505
- outcome: {
506
- logs: string[];
507
- receipt_ids: string[];
508
- gas_burnt: number;
509
- tokens_burnt: string;
510
- executor_id: string;
511
- status: "Unknown" | "Pending" | {
512
- SuccessValue: string;
513
- } | {
514
- SuccessReceiptId: string;
515
- } | {
516
- Failure: {
517
- [x: string]: any;
518
- error_message?: string | undefined;
519
- error_type?: string | undefined;
520
- };
521
- };
522
- metadata?: {
523
- version: number;
524
- gas_profile?: {
525
- [x: string]: any;
526
- cost?: string | undefined;
527
- cost_category?: string | undefined;
528
- gas_used?: string | undefined;
529
- }[] | null | undefined;
530
- } | undefined;
531
- };
532
- block_hash: string;
533
- proof: {
534
- hash: string;
535
- direction: "Left" | "Right";
536
- }[];
537
- }[];
538
- }>;
539
- export declare function ft_transfer_call_fun(near: Near, ft_contractId: string, receiver_id: ft_args_params_interface["receiver_id"], msg: ft_args_params_interface["msg"], amount: ft_args_params_interface["amount"]): Promise<{
540
- final_execution_status: "NONE";
541
- transaction?: {
542
- hash: string;
543
- signer_id: string;
544
- receiver_id: string;
545
- nonce: number;
546
- } | undefined;
547
- } | {
548
- final_execution_status: "INCLUDED";
549
- transaction?: {
550
- hash: string;
551
- signer_id: string;
552
- receiver_id: string;
553
- nonce: number;
554
- } | undefined;
555
- } | {
556
- final_execution_status: "INCLUDED_FINAL";
557
- transaction?: {
558
- hash: string;
559
- signer_id: string;
560
- receiver_id: string;
561
- nonce: number;
562
- } | undefined;
563
- } | {
564
- final_execution_status: "EXECUTED_OPTIMISTIC";
565
- status: "Unknown" | "Pending" | {
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
- transaction: {
577
- signer_id: string;
578
- public_key: string;
579
- nonce: number;
580
- receiver_id: string;
581
- actions: ("CreateAccount" | {
582
- CreateAccount: Record<string, never>;
583
- } | {
584
- Transfer: {
585
- deposit: string;
586
- };
587
- } | {
588
- FunctionCall: {
589
- method_name: string;
590
- args: string;
591
- gas: number;
592
- deposit: string;
593
- };
594
- } | {
595
- DeployContract: {
596
- code: string;
597
- };
598
- } | {
599
- DeployGlobalContract: {
600
- code: string;
601
- };
602
- } | {
603
- DeployGlobalContractByAccountId: {
604
- code: string;
605
- };
606
- } | {
607
- Stake: {
608
- stake: string;
609
- public_key: string;
610
- };
611
- } | {
612
- AddKey: {
613
- public_key: string;
614
- access_key: {
615
- nonce: number;
616
- permission: "FullAccess" | {
617
- FunctionCall: {
618
- receiver_id: string;
619
- method_names: string[];
620
- allowance?: string | null | undefined;
621
- };
622
- };
623
- };
624
- };
625
- } | {
626
- DeleteKey: {
627
- public_key: string;
628
- };
629
- } | {
630
- DeleteAccount: {
631
- beneficiary_id: string;
632
- };
633
- } | {
634
- UseGlobalContract: {
635
- code_hash: string;
636
- };
637
- } | {
638
- UseGlobalContractByAccountId: {
639
- account_id: string;
640
- };
641
- } | {
642
- Delegate: {
643
- delegate_action: {
644
- sender_id: string;
645
- receiver_id: string;
646
- actions: any[];
647
- nonce: number;
648
- max_block_height: number;
649
- public_key: string;
650
- };
651
- signature: string;
652
- };
653
- } | {
654
- DeterministicStateInit: {
655
- deposit: string;
656
- };
657
- })[];
658
- signature: string;
659
- hash: string;
660
- priority_fee?: number | undefined;
661
- };
662
- transaction_outcome: {
663
- id: string;
664
- outcome: {
665
- logs: string[];
666
- receipt_ids: string[];
667
- gas_burnt: number;
668
- tokens_burnt: string;
669
- executor_id: string;
670
- status: "Unknown" | "Pending" | {
671
- SuccessValue: string;
672
- } | {
673
- SuccessReceiptId: string;
674
- } | {
675
- Failure: {
676
- [x: string]: any;
677
- error_message?: string | undefined;
678
- error_type?: string | undefined;
679
- };
680
- };
681
- metadata?: {
682
- version: number;
683
- gas_profile?: {
684
- [x: string]: any;
685
- cost?: string | undefined;
686
- cost_category?: string | undefined;
687
- gas_used?: string | undefined;
688
- }[] | null | undefined;
689
- } | undefined;
690
- };
691
- block_hash: string;
692
- proof: {
693
- hash: string;
694
- direction: "Left" | "Right";
695
- }[];
696
- };
697
- receipts_outcome: {
698
- id: string;
699
- outcome: {
700
- logs: string[];
701
- receipt_ids: string[];
702
- gas_burnt: number;
703
- tokens_burnt: string;
704
- executor_id: string;
705
- status: "Unknown" | "Pending" | {
706
- SuccessValue: string;
707
- } | {
708
- SuccessReceiptId: string;
709
- } | {
710
- Failure: {
711
- [x: string]: any;
712
- error_message?: string | undefined;
713
- error_type?: string | undefined;
714
- };
715
- };
716
- metadata?: {
717
- version: number;
718
- gas_profile?: {
719
- [x: string]: any;
720
- cost?: string | undefined;
721
- cost_category?: string | undefined;
722
- gas_used?: string | undefined;
723
- }[] | null | undefined;
724
- } | undefined;
725
- };
726
- block_hash: string;
727
- proof: {
728
- hash: string;
729
- direction: "Left" | "Right";
730
- }[];
731
- }[];
732
- } | {
733
- final_execution_status: "EXECUTED";
734
- status: "Unknown" | "Pending" | {
735
- SuccessValue: string;
736
- } | {
737
- SuccessReceiptId: string;
738
- } | {
739
- Failure: {
740
- [x: string]: any;
741
- error_message?: string | undefined;
742
- error_type?: string | undefined;
743
- };
744
- };
745
- transaction: {
746
- signer_id: string;
747
- public_key: string;
748
- nonce: number;
749
- receiver_id: string;
750
- actions: ("CreateAccount" | {
751
- CreateAccount: Record<string, never>;
752
- } | {
753
- Transfer: {
754
- deposit: string;
755
- };
756
- } | {
757
- FunctionCall: {
758
- method_name: string;
759
- args: string;
760
- gas: number;
761
- deposit: string;
762
- };
763
- } | {
764
- DeployContract: {
765
- code: string;
766
- };
767
- } | {
768
- DeployGlobalContract: {
769
- code: string;
770
- };
771
- } | {
772
- DeployGlobalContractByAccountId: {
773
- code: string;
774
- };
775
- } | {
776
- Stake: {
777
- stake: string;
778
- public_key: string;
779
- };
780
- } | {
781
- AddKey: {
782
- public_key: string;
783
- access_key: {
784
- nonce: number;
785
- permission: "FullAccess" | {
786
- FunctionCall: {
787
- receiver_id: string;
788
- method_names: string[];
789
- allowance?: string | null | undefined;
790
- };
791
- };
792
- };
793
- };
794
- } | {
795
- DeleteKey: {
796
- public_key: string;
797
- };
798
- } | {
799
- DeleteAccount: {
800
- beneficiary_id: string;
801
- };
802
- } | {
803
- UseGlobalContract: {
804
- code_hash: string;
805
- };
806
- } | {
807
- UseGlobalContractByAccountId: {
808
- account_id: string;
809
- };
810
- } | {
811
- Delegate: {
812
- delegate_action: {
813
- sender_id: string;
814
- receiver_id: string;
815
- actions: any[];
816
- nonce: number;
817
- max_block_height: number;
818
- public_key: string;
819
- };
820
- signature: string;
821
- };
822
- } | {
823
- DeterministicStateInit: {
824
- deposit: string;
825
- };
826
- })[];
827
- signature: string;
828
- hash: string;
829
- priority_fee?: number | undefined;
830
- };
831
- transaction_outcome: {
832
- id: string;
833
- outcome: {
834
- logs: string[];
835
- receipt_ids: string[];
836
- gas_burnt: number;
837
- tokens_burnt: string;
838
- executor_id: string;
839
- status: "Unknown" | "Pending" | {
840
- SuccessValue: string;
841
- } | {
842
- SuccessReceiptId: string;
843
- } | {
844
- Failure: {
845
- [x: string]: any;
846
- error_message?: string | undefined;
847
- error_type?: string | undefined;
848
- };
849
- };
850
- metadata?: {
851
- version: number;
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
- } | undefined;
859
- };
860
- block_hash: string;
861
- proof: {
862
- hash: string;
863
- direction: "Left" | "Right";
864
- }[];
865
- };
866
- receipts_outcome: {
867
- id: string;
868
- outcome: {
869
- logs: string[];
870
- receipt_ids: string[];
871
- gas_burnt: number;
872
- tokens_burnt: string;
873
- executor_id: string;
874
- status: "Unknown" | "Pending" | {
875
- SuccessValue: string;
876
- } | {
877
- SuccessReceiptId: string;
878
- } | {
879
- Failure: {
880
- [x: string]: any;
881
- error_message?: string | undefined;
882
- error_type?: string | undefined;
883
- };
884
- };
885
- metadata?: {
886
- version: number;
887
- gas_profile?: {
888
- [x: string]: any;
889
- cost?: string | undefined;
890
- cost_category?: string | undefined;
891
- gas_used?: string | undefined;
892
- }[] | null | undefined;
893
- } | undefined;
894
- };
895
- block_hash: string;
896
- proof: {
897
- hash: string;
898
- direction: "Left" | "Right";
899
- }[];
900
- }[];
901
- } | {
902
- final_execution_status: "FINAL";
903
- status: "Unknown" | "Pending" | {
904
- SuccessValue: string;
905
- } | {
906
- SuccessReceiptId: string;
907
- } | {
908
- Failure: {
909
- [x: string]: any;
910
- error_message?: string | undefined;
911
- error_type?: string | undefined;
912
- };
913
- };
914
- transaction: {
915
- signer_id: string;
916
- public_key: string;
917
- nonce: number;
918
- receiver_id: string;
919
- actions: ("CreateAccount" | {
920
- CreateAccount: Record<string, never>;
921
- } | {
922
- Transfer: {
923
- deposit: string;
924
- };
925
- } | {
926
- FunctionCall: {
927
- method_name: string;
928
- args: string;
929
- gas: number;
930
- deposit: string;
931
- };
932
- } | {
933
- DeployContract: {
934
- code: string;
935
- };
936
- } | {
937
- DeployGlobalContract: {
938
- code: string;
939
- };
940
- } | {
941
- DeployGlobalContractByAccountId: {
942
- code: string;
943
- };
944
- } | {
945
- Stake: {
946
- stake: string;
947
- public_key: string;
948
- };
949
- } | {
950
- AddKey: {
951
- public_key: string;
952
- access_key: {
953
- nonce: number;
954
- permission: "FullAccess" | {
955
- FunctionCall: {
956
- receiver_id: string;
957
- method_names: string[];
958
- allowance?: string | null | undefined;
959
- };
960
- };
961
- };
962
- };
963
- } | {
964
- DeleteKey: {
965
- public_key: string;
966
- };
967
- } | {
968
- DeleteAccount: {
969
- beneficiary_id: string;
970
- };
971
- } | {
972
- UseGlobalContract: {
973
- code_hash: string;
974
- };
975
- } | {
976
- UseGlobalContractByAccountId: {
977
- account_id: string;
978
- };
979
- } | {
980
- Delegate: {
981
- delegate_action: {
982
- sender_id: string;
983
- receiver_id: string;
984
- actions: any[];
985
- nonce: number;
986
- max_block_height: number;
987
- public_key: string;
988
- };
989
- signature: string;
990
- };
991
- } | {
992
- DeterministicStateInit: {
993
- deposit: string;
994
- };
995
- })[];
996
- signature: string;
997
- hash: string;
998
- priority_fee?: number | undefined;
999
- };
1000
- transaction_outcome: {
1001
- id: string;
1002
- outcome: {
1003
- logs: string[];
1004
- receipt_ids: string[];
1005
- gas_burnt: number;
1006
- tokens_burnt: string;
1007
- executor_id: string;
1008
- status: "Unknown" | "Pending" | {
1009
- SuccessValue: string;
1010
- } | {
1011
- SuccessReceiptId: string;
1012
- } | {
1013
- Failure: {
1014
- [x: string]: any;
1015
- error_message?: string | undefined;
1016
- error_type?: string | undefined;
1017
- };
1018
- };
1019
- metadata?: {
1020
- version: number;
1021
- gas_profile?: {
1022
- [x: string]: any;
1023
- cost?: string | undefined;
1024
- cost_category?: string | undefined;
1025
- gas_used?: string | undefined;
1026
- }[] | null | undefined;
1027
- } | undefined;
1028
- };
1029
- block_hash: string;
1030
- proof: {
1031
- hash: string;
1032
- direction: "Left" | "Right";
1033
- }[];
1034
- };
1035
- receipts_outcome: {
1036
- id: string;
1037
- outcome: {
1038
- logs: string[];
1039
- receipt_ids: string[];
1040
- gas_burnt: number;
1041
- tokens_burnt: string;
1042
- executor_id: string;
1043
- status: "Unknown" | "Pending" | {
1044
- SuccessValue: string;
1045
- } | {
1046
- SuccessReceiptId: string;
1047
- } | {
1048
- Failure: {
1049
- [x: string]: any;
1050
- error_message?: string | undefined;
1051
- error_type?: string | undefined;
1052
- };
1053
- };
1054
- metadata?: {
1055
- version: number;
1056
- gas_profile?: {
1057
- [x: string]: any;
1058
- cost?: string | undefined;
1059
- cost_category?: string | undefined;
1060
- gas_used?: string | undefined;
1061
- }[] | null | undefined;
1062
- } | undefined;
1063
- };
1064
- block_hash: string;
1065
- proof: {
1066
- hash: string;
1067
- direction: "Left" | "Right";
1068
- }[];
1069
- }[];
1070
- }>;
1071
- export declare function ft_storage_deposit_fun(near: Near, ft_contractId: string): Promise<{
1072
- final_execution_status: "NONE";
1073
- transaction?: {
1074
- hash: string;
1075
- signer_id: string;
1076
- receiver_id: string;
1077
- nonce: number;
1078
- } | undefined;
1079
- } | {
1080
- final_execution_status: "INCLUDED";
1081
- transaction?: {
1082
- hash: string;
1083
- signer_id: string;
1084
- receiver_id: string;
1085
- nonce: number;
1086
- } | undefined;
1087
- } | {
1088
- final_execution_status: "INCLUDED_FINAL";
1089
- transaction?: {
1090
- hash: string;
1091
- signer_id: string;
1092
- receiver_id: string;
1093
- nonce: number;
1094
- } | undefined;
1095
- } | {
1096
- final_execution_status: "EXECUTED_OPTIMISTIC";
1097
- status: "Unknown" | "Pending" | {
1098
- SuccessValue: string;
1099
- } | {
1100
- SuccessReceiptId: string;
1101
- } | {
1102
- Failure: {
1103
- [x: string]: any;
1104
- error_message?: string | undefined;
1105
- error_type?: string | undefined;
1106
- };
1107
- };
1108
- transaction: {
1109
- signer_id: string;
1110
- public_key: string;
1111
- nonce: number;
1112
- receiver_id: string;
1113
- actions: ("CreateAccount" | {
1114
- CreateAccount: Record<string, never>;
1115
- } | {
1116
- Transfer: {
1117
- deposit: string;
1118
- };
1119
- } | {
1120
- FunctionCall: {
1121
- method_name: string;
1122
- args: string;
1123
- gas: number;
1124
- deposit: string;
1125
- };
1126
- } | {
1127
- DeployContract: {
1128
- code: string;
1129
- };
1130
- } | {
1131
- DeployGlobalContract: {
1132
- code: string;
1133
- };
1134
- } | {
1135
- DeployGlobalContractByAccountId: {
1136
- code: string;
1137
- };
1138
- } | {
1139
- Stake: {
1140
- stake: string;
1141
- public_key: string;
1142
- };
1143
- } | {
1144
- AddKey: {
1145
- public_key: string;
1146
- access_key: {
1147
- nonce: number;
1148
- permission: "FullAccess" | {
1149
- FunctionCall: {
1150
- receiver_id: string;
1151
- method_names: string[];
1152
- allowance?: string | null | undefined;
1153
- };
1154
- };
1155
- };
1156
- };
1157
- } | {
1158
- DeleteKey: {
1159
- public_key: string;
1160
- };
1161
- } | {
1162
- DeleteAccount: {
1163
- beneficiary_id: string;
1164
- };
1165
- } | {
1166
- UseGlobalContract: {
1167
- code_hash: string;
1168
- };
1169
- } | {
1170
- UseGlobalContractByAccountId: {
1171
- account_id: string;
1172
- };
1173
- } | {
1174
- Delegate: {
1175
- delegate_action: {
1176
- sender_id: string;
1177
- receiver_id: string;
1178
- actions: any[];
1179
- nonce: number;
1180
- max_block_height: number;
1181
- public_key: string;
1182
- };
1183
- signature: string;
1184
- };
1185
- } | {
1186
- DeterministicStateInit: {
1187
- deposit: string;
1188
- };
1189
- })[];
1190
- signature: string;
1191
- hash: string;
1192
- priority_fee?: number | undefined;
1193
- };
1194
- transaction_outcome: {
1195
- id: string;
1196
- outcome: {
1197
- logs: string[];
1198
- receipt_ids: string[];
1199
- gas_burnt: number;
1200
- tokens_burnt: string;
1201
- executor_id: string;
1202
- status: "Unknown" | "Pending" | {
1203
- SuccessValue: string;
1204
- } | {
1205
- SuccessReceiptId: string;
1206
- } | {
1207
- Failure: {
1208
- [x: string]: any;
1209
- error_message?: string | undefined;
1210
- error_type?: string | undefined;
1211
- };
1212
- };
1213
- metadata?: {
1214
- version: number;
1215
- gas_profile?: {
1216
- [x: string]: any;
1217
- cost?: string | undefined;
1218
- cost_category?: string | undefined;
1219
- gas_used?: string | undefined;
1220
- }[] | null | undefined;
1221
- } | undefined;
1222
- };
1223
- block_hash: string;
1224
- proof: {
1225
- hash: string;
1226
- direction: "Left" | "Right";
1227
- }[];
1228
- };
1229
- receipts_outcome: {
1230
- id: string;
1231
- outcome: {
1232
- logs: string[];
1233
- receipt_ids: string[];
1234
- gas_burnt: number;
1235
- tokens_burnt: string;
1236
- executor_id: string;
1237
- status: "Unknown" | "Pending" | {
1238
- SuccessValue: string;
1239
- } | {
1240
- SuccessReceiptId: string;
1241
- } | {
1242
- Failure: {
1243
- [x: string]: any;
1244
- error_message?: string | undefined;
1245
- error_type?: string | undefined;
1246
- };
1247
- };
1248
- metadata?: {
1249
- version: number;
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
- } | undefined;
1257
- };
1258
- block_hash: string;
1259
- proof: {
1260
- hash: string;
1261
- direction: "Left" | "Right";
1262
- }[];
1263
- }[];
1264
- } | {
1265
- final_execution_status: "EXECUTED";
1266
- status: "Unknown" | "Pending" | {
1267
- SuccessValue: string;
1268
- } | {
1269
- SuccessReceiptId: string;
1270
- } | {
1271
- Failure: {
1272
- [x: string]: any;
1273
- error_message?: string | undefined;
1274
- error_type?: string | undefined;
1275
- };
1276
- };
1277
- transaction: {
1278
- signer_id: string;
1279
- public_key: string;
1280
- nonce: number;
1281
- receiver_id: string;
1282
- actions: ("CreateAccount" | {
1283
- CreateAccount: Record<string, never>;
1284
- } | {
1285
- Transfer: {
1286
- deposit: string;
1287
- };
1288
- } | {
1289
- FunctionCall: {
1290
- method_name: string;
1291
- args: string;
1292
- gas: number;
1293
- deposit: string;
1294
- };
1295
- } | {
1296
- DeployContract: {
1297
- code: string;
1298
- };
1299
- } | {
1300
- DeployGlobalContract: {
1301
- code: string;
1302
- };
1303
- } | {
1304
- DeployGlobalContractByAccountId: {
1305
- code: string;
1306
- };
1307
- } | {
1308
- Stake: {
1309
- stake: string;
1310
- public_key: string;
1311
- };
1312
- } | {
1313
- AddKey: {
1314
- public_key: string;
1315
- access_key: {
1316
- nonce: number;
1317
- permission: "FullAccess" | {
1318
- FunctionCall: {
1319
- receiver_id: string;
1320
- method_names: string[];
1321
- allowance?: string | null | undefined;
1322
- };
1323
- };
1324
- };
1325
- };
1326
- } | {
1327
- DeleteKey: {
1328
- public_key: string;
1329
- };
1330
- } | {
1331
- DeleteAccount: {
1332
- beneficiary_id: string;
1333
- };
1334
- } | {
1335
- UseGlobalContract: {
1336
- code_hash: string;
1337
- };
1338
- } | {
1339
- UseGlobalContractByAccountId: {
1340
- account_id: string;
1341
- };
1342
- } | {
1343
- Delegate: {
1344
- delegate_action: {
1345
- sender_id: string;
1346
- receiver_id: string;
1347
- actions: any[];
1348
- nonce: number;
1349
- max_block_height: number;
1350
- public_key: string;
1351
- };
1352
- signature: string;
1353
- };
1354
- } | {
1355
- DeterministicStateInit: {
1356
- deposit: string;
1357
- };
1358
- })[];
1359
- signature: string;
1360
- hash: string;
1361
- priority_fee?: number | undefined;
1362
- };
1363
- transaction_outcome: {
1364
- id: string;
1365
- outcome: {
1366
- logs: string[];
1367
- receipt_ids: string[];
1368
- gas_burnt: number;
1369
- tokens_burnt: string;
1370
- executor_id: string;
1371
- status: "Unknown" | "Pending" | {
1372
- SuccessValue: string;
1373
- } | {
1374
- SuccessReceiptId: string;
1375
- } | {
1376
- Failure: {
1377
- [x: string]: any;
1378
- error_message?: string | undefined;
1379
- error_type?: string | undefined;
1380
- };
1381
- };
1382
- metadata?: {
1383
- version: number;
1384
- gas_profile?: {
1385
- [x: string]: any;
1386
- cost?: string | undefined;
1387
- cost_category?: string | undefined;
1388
- gas_used?: string | undefined;
1389
- }[] | null | undefined;
1390
- } | undefined;
1391
- };
1392
- block_hash: string;
1393
- proof: {
1394
- hash: string;
1395
- direction: "Left" | "Right";
1396
- }[];
1397
- };
1398
- receipts_outcome: {
1399
- id: string;
1400
- outcome: {
1401
- logs: string[];
1402
- receipt_ids: string[];
1403
- gas_burnt: number;
1404
- tokens_burnt: string;
1405
- executor_id: string;
1406
- status: "Unknown" | "Pending" | {
1407
- SuccessValue: string;
1408
- } | {
1409
- SuccessReceiptId: string;
1410
- } | {
1411
- Failure: {
1412
- [x: string]: any;
1413
- error_message?: string | undefined;
1414
- error_type?: string | undefined;
1415
- };
1416
- };
1417
- metadata?: {
1418
- version: number;
1419
- gas_profile?: {
1420
- [x: string]: any;
1421
- cost?: string | undefined;
1422
- cost_category?: string | undefined;
1423
- gas_used?: string | undefined;
1424
- }[] | null | undefined;
1425
- } | undefined;
1426
- };
1427
- block_hash: string;
1428
- proof: {
1429
- hash: string;
1430
- direction: "Left" | "Right";
1431
- }[];
1432
- }[];
1433
- } | {
1434
- final_execution_status: "FINAL";
1435
- status: "Unknown" | "Pending" | {
1436
- SuccessValue: string;
1437
- } | {
1438
- SuccessReceiptId: string;
1439
- } | {
1440
- Failure: {
1441
- [x: string]: any;
1442
- error_message?: string | undefined;
1443
- error_type?: string | undefined;
1444
- };
1445
- };
1446
- transaction: {
1447
- signer_id: string;
1448
- public_key: string;
1449
- nonce: number;
1450
- receiver_id: string;
1451
- actions: ("CreateAccount" | {
1452
- CreateAccount: Record<string, never>;
1453
- } | {
1454
- Transfer: {
1455
- deposit: string;
1456
- };
1457
- } | {
1458
- FunctionCall: {
1459
- method_name: string;
1460
- args: string;
1461
- gas: number;
1462
- deposit: string;
1463
- };
1464
- } | {
1465
- DeployContract: {
1466
- code: string;
1467
- };
1468
- } | {
1469
- DeployGlobalContract: {
1470
- code: string;
1471
- };
1472
- } | {
1473
- DeployGlobalContractByAccountId: {
1474
- code: string;
1475
- };
1476
- } | {
1477
- Stake: {
1478
- stake: string;
1479
- public_key: string;
1480
- };
1481
- } | {
1482
- AddKey: {
1483
- public_key: string;
1484
- access_key: {
1485
- nonce: number;
1486
- permission: "FullAccess" | {
1487
- FunctionCall: {
1488
- receiver_id: string;
1489
- method_names: string[];
1490
- allowance?: string | null | undefined;
1491
- };
1492
- };
1493
- };
1494
- };
1495
- } | {
1496
- DeleteKey: {
1497
- public_key: string;
1498
- };
1499
- } | {
1500
- DeleteAccount: {
1501
- beneficiary_id: string;
1502
- };
1503
- } | {
1504
- UseGlobalContract: {
1505
- code_hash: string;
1506
- };
1507
- } | {
1508
- UseGlobalContractByAccountId: {
1509
- account_id: string;
1510
- };
1511
- } | {
1512
- Delegate: {
1513
- delegate_action: {
1514
- sender_id: string;
1515
- receiver_id: string;
1516
- actions: any[];
1517
- nonce: number;
1518
- max_block_height: number;
1519
- public_key: string;
1520
- };
1521
- signature: string;
1522
- };
1523
- } | {
1524
- DeterministicStateInit: {
1525
- deposit: string;
1526
- };
1527
- })[];
1528
- signature: string;
1529
- hash: string;
1530
- priority_fee?: number | undefined;
1531
- };
1532
- transaction_outcome: {
1533
- id: string;
1534
- outcome: {
1535
- logs: string[];
1536
- receipt_ids: string[];
1537
- gas_burnt: number;
1538
- tokens_burnt: string;
1539
- executor_id: string;
1540
- status: "Unknown" | "Pending" | {
1541
- SuccessValue: string;
1542
- } | {
1543
- SuccessReceiptId: string;
1544
- } | {
1545
- Failure: {
1546
- [x: string]: any;
1547
- error_message?: string | undefined;
1548
- error_type?: string | undefined;
1549
- };
1550
- };
1551
- metadata?: {
1552
- version: number;
1553
- gas_profile?: {
1554
- [x: string]: any;
1555
- cost?: string | undefined;
1556
- cost_category?: string | undefined;
1557
- gas_used?: string | undefined;
1558
- }[] | null | undefined;
1559
- } | undefined;
1560
- };
1561
- block_hash: string;
1562
- proof: {
1563
- hash: string;
1564
- direction: "Left" | "Right";
1565
- }[];
1566
- };
1567
- receipts_outcome: {
1568
- id: string;
1569
- outcome: {
1570
- logs: string[];
1571
- receipt_ids: string[];
1572
- gas_burnt: number;
1573
- tokens_burnt: string;
1574
- executor_id: string;
1575
- status: "Unknown" | "Pending" | {
1576
- SuccessValue: string;
1577
- } | {
1578
- SuccessReceiptId: string;
1579
- } | {
1580
- Failure: {
1581
- [x: string]: any;
1582
- error_message?: string | undefined;
1583
- error_type?: string | undefined;
1584
- };
1585
- };
1586
- metadata?: {
1587
- version: number;
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
- } | undefined;
1595
- };
1596
- block_hash: string;
1597
- proof: {
1598
- hash: string;
1599
- direction: "Left" | "Right";
1600
- }[];
1601
- }[];
1602
- }>;
1603
- //# sourceMappingURL=ft_fun.d.ts.map