@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,534 +0,0 @@
1
- import { Near } from "near-kit";
2
- export declare function delete_account_fun(near: Near, signerId: string, beneficiary: string): Promise<{
3
- final_execution_status: "NONE";
4
- transaction?: {
5
- hash: string;
6
- signer_id: string;
7
- receiver_id: string;
8
- nonce: number;
9
- } | undefined;
10
- } | {
11
- final_execution_status: "INCLUDED";
12
- transaction?: {
13
- hash: string;
14
- signer_id: string;
15
- receiver_id: string;
16
- nonce: number;
17
- } | undefined;
18
- } | {
19
- final_execution_status: "INCLUDED_FINAL";
20
- transaction?: {
21
- hash: string;
22
- signer_id: string;
23
- receiver_id: string;
24
- nonce: number;
25
- } | undefined;
26
- } | {
27
- final_execution_status: "EXECUTED_OPTIMISTIC";
28
- status: "Unknown" | "Pending" | {
29
- SuccessValue: string;
30
- } | {
31
- SuccessReceiptId: string;
32
- } | {
33
- Failure: {
34
- [x: string]: any;
35
- error_message?: string | undefined;
36
- error_type?: string | undefined;
37
- };
38
- };
39
- transaction: {
40
- signer_id: string;
41
- public_key: string;
42
- nonce: number;
43
- receiver_id: string;
44
- actions: ("CreateAccount" | {
45
- CreateAccount: Record<string, never>;
46
- } | {
47
- Transfer: {
48
- deposit: string;
49
- };
50
- } | {
51
- FunctionCall: {
52
- method_name: string;
53
- args: string;
54
- gas: number;
55
- deposit: string;
56
- };
57
- } | {
58
- DeployContract: {
59
- code: string;
60
- };
61
- } | {
62
- DeployGlobalContract: {
63
- code: string;
64
- };
65
- } | {
66
- DeployGlobalContractByAccountId: {
67
- code: string;
68
- };
69
- } | {
70
- Stake: {
71
- stake: string;
72
- public_key: string;
73
- };
74
- } | {
75
- AddKey: {
76
- public_key: string;
77
- access_key: {
78
- nonce: number;
79
- permission: "FullAccess" | {
80
- FunctionCall: {
81
- receiver_id: string;
82
- method_names: string[];
83
- allowance?: string | null | undefined;
84
- };
85
- };
86
- };
87
- };
88
- } | {
89
- DeleteKey: {
90
- public_key: string;
91
- };
92
- } | {
93
- DeleteAccount: {
94
- beneficiary_id: string;
95
- };
96
- } | {
97
- UseGlobalContract: {
98
- code_hash: string;
99
- };
100
- } | {
101
- UseGlobalContractByAccountId: {
102
- account_id: string;
103
- };
104
- } | {
105
- Delegate: {
106
- delegate_action: {
107
- sender_id: string;
108
- receiver_id: string;
109
- actions: any[];
110
- nonce: number;
111
- max_block_height: number;
112
- public_key: string;
113
- };
114
- signature: string;
115
- };
116
- } | {
117
- DeterministicStateInit: {
118
- deposit: string;
119
- };
120
- })[];
121
- signature: string;
122
- hash: string;
123
- priority_fee?: number | undefined;
124
- };
125
- transaction_outcome: {
126
- id: string;
127
- outcome: {
128
- logs: string[];
129
- receipt_ids: string[];
130
- gas_burnt: number;
131
- tokens_burnt: string;
132
- executor_id: string;
133
- status: "Unknown" | "Pending" | {
134
- SuccessValue: string;
135
- } | {
136
- SuccessReceiptId: string;
137
- } | {
138
- Failure: {
139
- [x: string]: any;
140
- error_message?: string | undefined;
141
- error_type?: string | undefined;
142
- };
143
- };
144
- metadata?: {
145
- version: number;
146
- gas_profile?: {
147
- [x: string]: any;
148
- cost?: string | undefined;
149
- cost_category?: string | undefined;
150
- gas_used?: string | undefined;
151
- }[] | null | undefined;
152
- } | undefined;
153
- };
154
- block_hash: string;
155
- proof: {
156
- hash: string;
157
- direction: "Left" | "Right";
158
- }[];
159
- };
160
- receipts_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: "Unknown" | "Pending" | {
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
- version: number;
181
- gas_profile?: {
182
- [x: string]: any;
183
- cost?: string | undefined;
184
- cost_category?: string | undefined;
185
- gas_used?: string | undefined;
186
- }[] | null | undefined;
187
- } | undefined;
188
- };
189
- block_hash: string;
190
- proof: {
191
- hash: string;
192
- direction: "Left" | "Right";
193
- }[];
194
- }[];
195
- } | {
196
- final_execution_status: "EXECUTED";
197
- status: "Unknown" | "Pending" | {
198
- SuccessValue: string;
199
- } | {
200
- SuccessReceiptId: string;
201
- } | {
202
- Failure: {
203
- [x: string]: any;
204
- error_message?: string | undefined;
205
- error_type?: string | undefined;
206
- };
207
- };
208
- transaction: {
209
- signer_id: string;
210
- public_key: string;
211
- nonce: number;
212
- receiver_id: string;
213
- actions: ("CreateAccount" | {
214
- CreateAccount: Record<string, never>;
215
- } | {
216
- Transfer: {
217
- deposit: string;
218
- };
219
- } | {
220
- FunctionCall: {
221
- method_name: string;
222
- args: string;
223
- gas: number;
224
- deposit: string;
225
- };
226
- } | {
227
- DeployContract: {
228
- code: string;
229
- };
230
- } | {
231
- DeployGlobalContract: {
232
- code: string;
233
- };
234
- } | {
235
- DeployGlobalContractByAccountId: {
236
- code: string;
237
- };
238
- } | {
239
- Stake: {
240
- stake: string;
241
- public_key: string;
242
- };
243
- } | {
244
- AddKey: {
245
- public_key: string;
246
- access_key: {
247
- nonce: number;
248
- permission: "FullAccess" | {
249
- FunctionCall: {
250
- receiver_id: string;
251
- method_names: string[];
252
- allowance?: string | null | undefined;
253
- };
254
- };
255
- };
256
- };
257
- } | {
258
- DeleteKey: {
259
- public_key: string;
260
- };
261
- } | {
262
- DeleteAccount: {
263
- beneficiary_id: string;
264
- };
265
- } | {
266
- UseGlobalContract: {
267
- code_hash: string;
268
- };
269
- } | {
270
- UseGlobalContractByAccountId: {
271
- account_id: string;
272
- };
273
- } | {
274
- Delegate: {
275
- delegate_action: {
276
- sender_id: string;
277
- receiver_id: string;
278
- actions: any[];
279
- nonce: number;
280
- max_block_height: number;
281
- public_key: string;
282
- };
283
- signature: string;
284
- };
285
- } | {
286
- DeterministicStateInit: {
287
- deposit: string;
288
- };
289
- })[];
290
- signature: string;
291
- hash: string;
292
- priority_fee?: number | undefined;
293
- };
294
- transaction_outcome: {
295
- id: string;
296
- outcome: {
297
- logs: string[];
298
- receipt_ids: string[];
299
- gas_burnt: number;
300
- tokens_burnt: string;
301
- executor_id: string;
302
- status: "Unknown" | "Pending" | {
303
- SuccessValue: string;
304
- } | {
305
- SuccessReceiptId: string;
306
- } | {
307
- Failure: {
308
- [x: string]: any;
309
- error_message?: string | undefined;
310
- error_type?: string | undefined;
311
- };
312
- };
313
- metadata?: {
314
- version: number;
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
- } | undefined;
322
- };
323
- block_hash: string;
324
- proof: {
325
- hash: string;
326
- direction: "Left" | "Right";
327
- }[];
328
- };
329
- receipts_outcome: {
330
- id: string;
331
- outcome: {
332
- logs: string[];
333
- receipt_ids: string[];
334
- gas_burnt: number;
335
- tokens_burnt: string;
336
- executor_id: string;
337
- status: "Unknown" | "Pending" | {
338
- SuccessValue: string;
339
- } | {
340
- SuccessReceiptId: string;
341
- } | {
342
- Failure: {
343
- [x: string]: any;
344
- error_message?: string | undefined;
345
- error_type?: string | undefined;
346
- };
347
- };
348
- metadata?: {
349
- version: number;
350
- gas_profile?: {
351
- [x: string]: any;
352
- cost?: string | undefined;
353
- cost_category?: string | undefined;
354
- gas_used?: string | undefined;
355
- }[] | null | undefined;
356
- } | undefined;
357
- };
358
- block_hash: string;
359
- proof: {
360
- hash: string;
361
- direction: "Left" | "Right";
362
- }[];
363
- }[];
364
- } | {
365
- final_execution_status: "FINAL";
366
- status: "Unknown" | "Pending" | {
367
- SuccessValue: string;
368
- } | {
369
- SuccessReceiptId: string;
370
- } | {
371
- Failure: {
372
- [x: string]: any;
373
- error_message?: string | undefined;
374
- error_type?: string | undefined;
375
- };
376
- };
377
- transaction: {
378
- signer_id: string;
379
- public_key: string;
380
- nonce: number;
381
- receiver_id: string;
382
- actions: ("CreateAccount" | {
383
- CreateAccount: Record<string, never>;
384
- } | {
385
- Transfer: {
386
- deposit: string;
387
- };
388
- } | {
389
- FunctionCall: {
390
- method_name: string;
391
- args: string;
392
- gas: number;
393
- deposit: string;
394
- };
395
- } | {
396
- DeployContract: {
397
- code: string;
398
- };
399
- } | {
400
- DeployGlobalContract: {
401
- code: string;
402
- };
403
- } | {
404
- DeployGlobalContractByAccountId: {
405
- code: string;
406
- };
407
- } | {
408
- Stake: {
409
- stake: string;
410
- public_key: string;
411
- };
412
- } | {
413
- AddKey: {
414
- public_key: string;
415
- access_key: {
416
- nonce: number;
417
- permission: "FullAccess" | {
418
- FunctionCall: {
419
- receiver_id: string;
420
- method_names: string[];
421
- allowance?: string | null | undefined;
422
- };
423
- };
424
- };
425
- };
426
- } | {
427
- DeleteKey: {
428
- public_key: string;
429
- };
430
- } | {
431
- DeleteAccount: {
432
- beneficiary_id: string;
433
- };
434
- } | {
435
- UseGlobalContract: {
436
- code_hash: string;
437
- };
438
- } | {
439
- UseGlobalContractByAccountId: {
440
- account_id: string;
441
- };
442
- } | {
443
- Delegate: {
444
- delegate_action: {
445
- sender_id: string;
446
- receiver_id: string;
447
- actions: any[];
448
- nonce: number;
449
- max_block_height: number;
450
- public_key: string;
451
- };
452
- signature: string;
453
- };
454
- } | {
455
- DeterministicStateInit: {
456
- deposit: string;
457
- };
458
- })[];
459
- signature: string;
460
- hash: string;
461
- priority_fee?: number | undefined;
462
- };
463
- transaction_outcome: {
464
- id: string;
465
- outcome: {
466
- logs: string[];
467
- receipt_ids: string[];
468
- gas_burnt: number;
469
- tokens_burnt: string;
470
- executor_id: string;
471
- status: "Unknown" | "Pending" | {
472
- SuccessValue: string;
473
- } | {
474
- SuccessReceiptId: string;
475
- } | {
476
- Failure: {
477
- [x: string]: any;
478
- error_message?: string | undefined;
479
- error_type?: string | undefined;
480
- };
481
- };
482
- metadata?: {
483
- version: number;
484
- gas_profile?: {
485
- [x: string]: any;
486
- cost?: string | undefined;
487
- cost_category?: string | undefined;
488
- gas_used?: string | undefined;
489
- }[] | null | undefined;
490
- } | undefined;
491
- };
492
- block_hash: string;
493
- proof: {
494
- hash: string;
495
- direction: "Left" | "Right";
496
- }[];
497
- };
498
- receipts_outcome: {
499
- id: string;
500
- outcome: {
501
- logs: string[];
502
- receipt_ids: string[];
503
- gas_burnt: number;
504
- tokens_burnt: string;
505
- executor_id: string;
506
- status: "Unknown" | "Pending" | {
507
- SuccessValue: string;
508
- } | {
509
- SuccessReceiptId: string;
510
- } | {
511
- Failure: {
512
- [x: string]: any;
513
- error_message?: string | undefined;
514
- error_type?: string | undefined;
515
- };
516
- };
517
- metadata?: {
518
- version: number;
519
- gas_profile?: {
520
- [x: string]: any;
521
- cost?: string | undefined;
522
- cost_category?: string | undefined;
523
- gas_used?: string | undefined;
524
- }[] | null | undefined;
525
- } | undefined;
526
- };
527
- block_hash: string;
528
- proof: {
529
- hash: string;
530
- direction: "Left" | "Right";
531
- }[];
532
- }[];
533
- }>;
534
- //# sourceMappingURL=delete_account_fun.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"delete_account_fun.d.ts","sourceRoot":"","sources":["../../../src/fun/near/delete_account_fun.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AAGhC,wBAAsB,kBAAkB,CACtC,IAAI,EAAE,IAAI,EACV,QAAQ,EAAE,MAAM,EAChB,WAAW,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAOpB"}
@@ -1,11 +0,0 @@
1
- import { Near } from "near-kit";
2
- // ===========================================
3
- export async function delete_account_fun(near, signerId, beneficiary) {
4
- const result = await near
5
- .transaction(signerId)
6
- .deleteAccount({ beneficiary: beneficiary })
7
- .send();
8
- return result;
9
- }
10
- // ===========================================
11
- //# sourceMappingURL=delete_account_fun.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"delete_account_fun.js","sourceRoot":"","sources":["../../../src/fun/near/delete_account_fun.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AAEhC,8CAA8C;AAC9C,MAAM,CAAC,KAAK,UAAU,kBAAkB,CACtC,IAAU,EACV,QAAgB,EAChB,WAAmB;IAEnB,MAAM,MAAM,GAAG,MAAM,IAAI;SACtB,WAAW,CAAC,QAAQ,CAAC;SACrB,aAAa,CAAC,EAAE,WAAW,EAAE,WAAW,EAAE,CAAC;SAC3C,IAAI,EAAE,CAAC;IACV,OAAO,MAA+B,CAAC;AACzC,CAAC;AACD,8CAA8C"}