@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 +0,0 @@
1
- {"version":3,"file":"ft_fun.d.ts","sourceRoot":"","sources":["../../../src/fun/ft/ft_fun.ts"],"names":[],"mappings":"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"}
@@ -1,54 +0,0 @@
1
- import { Near } from "near-kit";
2
- import { ft_methods_const } from "@sleet-js/ft-methods-const";
3
- import { FT_METADATA_TYPE_Z_CONST } from "../../types/ft_metadata_types";
4
- // ===========================================
5
- // view
6
- // ft_balance_of
7
- // ft_total_supply_fun
8
- // ft_metadata_fun
9
- // call
10
- // ft_transfer
11
- // ft_transfer_call
12
- // storage_deposit
13
- // ===========================================
14
- // VIEW
15
- // ===========================================
16
- // ft_balance_of
17
- export async function ft_balance_of_fun(near, ft_contractId, account_id) {
18
- const result = await near.view(ft_contractId, ft_methods_const.ft_balance_of, { account_id: account_id });
19
- return result;
20
- }
21
- // ===========================================
22
- // ft_total_supply_fun
23
- export async function ft_total_supply_fun(near, ft_contractId) {
24
- const result = await near.view(ft_contractId, ft_methods_const.ft_total_supply);
25
- return result;
26
- }
27
- // ===========================================
28
- // ft_metadata
29
- export async function ft_metadata_fun(near, ft_contractId) {
30
- const result = await near.view(ft_contractId, ft_methods_const.ft_metadata, {});
31
- return FT_METADATA_TYPE_Z_CONST.parse(result);
32
- }
33
- // ===========================================
34
- // CALL
35
- // ===========================================
36
- // ft_transfer
37
- export async function ft_transfer_fun(near, ft_contractId, receiver_id, amount) {
38
- const result = await near.call(ft_contractId, ft_methods_const.ft_transfer, { amount: amount, receiver_id: receiver_id }, { attachedDeposit: "0.000000000000000000000001 NEAR" });
39
- return result;
40
- }
41
- // ===========================================
42
- // ft_transfer_call
43
- export async function ft_transfer_call_fun(near, ft_contractId, receiver_id, msg, amount) {
44
- const result = await near.call(ft_contractId, ft_methods_const.ft_transfer_call, { msg: msg, amount: amount, receiver_id: receiver_id }, { attachedDeposit: "0.000000000000000000000001 NEAR", gas: "50 Tgas" });
45
- return result;
46
- }
47
- // ===========================================
48
- // storage_deposit
49
- export async function ft_storage_deposit_fun(near, ft_contractId) {
50
- const result = await near.call(ft_contractId, ft_methods_const.storage_deposit, {}, { attachedDeposit: "0.00125 NEAR" });
51
- return result;
52
- }
53
- // ===========================================
54
- //# sourceMappingURL=ft_fun.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ft_fun.js","sourceRoot":"","sources":["../../../src/fun/ft/ft_fun.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAI9D,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,8CAA8C;AAC9C,OAAO;AACP,gBAAgB;AAChB,sBAAsB;AACtB,kBAAkB;AAClB,OAAO;AACP,cAAc;AACd,mBAAmB;AACnB,kBAAkB;AAClB,8CAA8C;AAC9C,OAAO;AACP,8CAA8C;AAC9C,gBAAgB;AAChB,MAAM,CAAC,KAAK,UAAU,iBAAiB,CACrC,IAAU,EACV,aAAqB,EACrB,UAAkD;IAElD,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,IAAI,CAC5B,aAAa,EACb,gBAAgB,CAAC,aAAa,EAC9B,EAAE,UAAU,EAAE,UAAU,EAAE,CAC3B,CAAC;IACF,OAAO,MAAgB,CAAC;AAC1B,CAAC;AACD,8CAA8C;AAC9C,sBAAsB;AACtB,MAAM,CAAC,KAAK,UAAU,mBAAmB,CACvC,IAAU,EACV,aAAqB;IAErB,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,IAAI,CAC5B,aAAa,EACb,gBAAgB,CAAC,eAAe,CACjC,CAAC;IACF,OAAO,MAAgB,CAAC;AAC1B,CAAC;AACD,8CAA8C;AAC9C,cAAc;AACd,MAAM,CAAC,KAAK,UAAU,eAAe,CACnC,IAAU,EACV,aAAqB;IAErB,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,IAAI,CAC5B,aAAa,EACb,gBAAgB,CAAC,WAAW,EAC5B,EAAE,CACH,CAAC;IACF,OAAO,wBAAwB,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;AAChD,CAAC;AACD,8CAA8C;AAC9C,OAAO;AACP,8CAA8C;AAC9C,cAAc;AACd,MAAM,CAAC,KAAK,UAAU,eAAe,CACnC,IAAU,EACV,aAAqB,EACrB,WAAoD,EACpD,MAA0C;IAE1C,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,IAAI,CAC5B,aAAa,EACb,gBAAgB,CAAC,WAAW,EAC5B,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,WAAW,EAAE,EAC5C,EAAE,eAAe,EAAE,iCAAiC,EAAE,CACvD,CAAC;IACF,OAAO,MAA+B,CAAC;AACzC,CAAC;AACD,8CAA8C;AAC9C,mBAAmB;AACnB,MAAM,CAAC,KAAK,UAAU,oBAAoB,CACxC,IAAU,EACV,aAAqB,EACrB,WAAoD,EACpD,GAAoC,EACpC,MAA0C;IAE1C,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,IAAI,CAC5B,aAAa,EACb,gBAAgB,CAAC,gBAAgB,EACjC,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,WAAW,EAAE,EACtD,EAAE,eAAe,EAAE,iCAAiC,EAAE,GAAG,EAAE,SAAS,EAAE,CACvE,CAAC;IACF,OAAO,MAA+B,CAAC;AACzC,CAAC;AACD,8CAA8C;AAC9C,kBAAkB;AAClB,MAAM,CAAC,KAAK,UAAU,sBAAsB,CAC1C,IAAU,EACV,aAAqB;IAErB,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,IAAI,CAC5B,aAAa,EACb,gBAAgB,CAAC,eAAe,EAChC,EAAE,EACF,EAAE,eAAe,EAAE,cAAc,EAAE,CACpC,CAAC;IACF,OAAO,MAA+B,CAAC;AACzC,CAAC;AACD,8CAA8C"}
@@ -1,3 +0,0 @@
1
- import { Near } from "near-kit";
2
- export declare function greeting_get_greeting_fun(near: Near, greeting_contractId: string): Promise<string>;
3
- //# sourceMappingURL=greeting_get_fun.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"greeting_get_fun.d.ts","sourceRoot":"","sources":["../../../src/fun/greeting/greeting_get_fun.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AAGhC,wBAAsB,yBAAyB,CAC7C,IAAI,EAAE,IAAI,EACV,mBAAmB,EAAE,MAAM,mBAO5B"}
@@ -1,9 +0,0 @@
1
- import { Near } from "near-kit";
2
- import { greeting_contract_methods } from "../../lib/contract_greeting_const";
3
- // ===========================================
4
- export async function greeting_get_greeting_fun(near, greeting_contractId) {
5
- const result = await near.view(greeting_contractId, greeting_contract_methods.get_greeting);
6
- return result;
7
- }
8
- // ===========================================
9
- //# sourceMappingURL=greeting_get_fun.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"greeting_get_fun.js","sourceRoot":"","sources":["../../../src/fun/greeting/greeting_get_fun.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,yBAAyB,EAAE,MAAM,mCAAmC,CAAC;AAC9E,8CAA8C;AAC9C,MAAM,CAAC,KAAK,UAAU,yBAAyB,CAC7C,IAAU,EACV,mBAA2B;IAE3B,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,IAAI,CAC5B,mBAAmB,EACnB,yBAAyB,CAAC,YAAY,CACvC,CAAC;IACF,OAAO,MAAgB,CAAC;AAC1B,CAAC;AACD,8CAA8C"}
@@ -1,535 +0,0 @@
1
- import { Near } from "near-kit";
2
- import type { greeting_args_params_interface } from "../../lib/contract_greeting_args";
3
- export declare function greeting_set_greeting_fun(near: Near, greeting_contractId: string, greeting: greeting_args_params_interface["greeting"]): Promise<{
4
- final_execution_status: "NONE";
5
- transaction?: {
6
- hash: string;
7
- signer_id: string;
8
- receiver_id: string;
9
- nonce: number;
10
- } | undefined;
11
- } | {
12
- final_execution_status: "INCLUDED";
13
- transaction?: {
14
- hash: string;
15
- signer_id: string;
16
- receiver_id: string;
17
- nonce: number;
18
- } | undefined;
19
- } | {
20
- final_execution_status: "INCLUDED_FINAL";
21
- transaction?: {
22
- hash: string;
23
- signer_id: string;
24
- receiver_id: string;
25
- nonce: number;
26
- } | undefined;
27
- } | {
28
- final_execution_status: "EXECUTED_OPTIMISTIC";
29
- status: "Unknown" | "Pending" | {
30
- SuccessValue: string;
31
- } | {
32
- SuccessReceiptId: string;
33
- } | {
34
- Failure: {
35
- [x: string]: any;
36
- error_message?: string | undefined;
37
- error_type?: string | undefined;
38
- };
39
- };
40
- transaction: {
41
- signer_id: string;
42
- public_key: string;
43
- nonce: number;
44
- receiver_id: string;
45
- actions: ("CreateAccount" | {
46
- CreateAccount: Record<string, never>;
47
- } | {
48
- Transfer: {
49
- deposit: string;
50
- };
51
- } | {
52
- FunctionCall: {
53
- method_name: string;
54
- args: string;
55
- gas: number;
56
- deposit: string;
57
- };
58
- } | {
59
- DeployContract: {
60
- code: string;
61
- };
62
- } | {
63
- DeployGlobalContract: {
64
- code: string;
65
- };
66
- } | {
67
- DeployGlobalContractByAccountId: {
68
- code: string;
69
- };
70
- } | {
71
- Stake: {
72
- stake: string;
73
- public_key: string;
74
- };
75
- } | {
76
- AddKey: {
77
- public_key: string;
78
- access_key: {
79
- nonce: number;
80
- permission: "FullAccess" | {
81
- FunctionCall: {
82
- receiver_id: string;
83
- method_names: string[];
84
- allowance?: string | null | undefined;
85
- };
86
- };
87
- };
88
- };
89
- } | {
90
- DeleteKey: {
91
- public_key: string;
92
- };
93
- } | {
94
- DeleteAccount: {
95
- beneficiary_id: string;
96
- };
97
- } | {
98
- UseGlobalContract: {
99
- code_hash: string;
100
- };
101
- } | {
102
- UseGlobalContractByAccountId: {
103
- account_id: string;
104
- };
105
- } | {
106
- Delegate: {
107
- delegate_action: {
108
- sender_id: string;
109
- receiver_id: string;
110
- actions: any[];
111
- nonce: number;
112
- max_block_height: number;
113
- public_key: string;
114
- };
115
- signature: string;
116
- };
117
- } | {
118
- DeterministicStateInit: {
119
- deposit: string;
120
- };
121
- })[];
122
- signature: string;
123
- hash: string;
124
- priority_fee?: number | undefined;
125
- };
126
- transaction_outcome: {
127
- id: string;
128
- outcome: {
129
- logs: string[];
130
- receipt_ids: string[];
131
- gas_burnt: number;
132
- tokens_burnt: string;
133
- executor_id: string;
134
- status: "Unknown" | "Pending" | {
135
- SuccessValue: string;
136
- } | {
137
- SuccessReceiptId: string;
138
- } | {
139
- Failure: {
140
- [x: string]: any;
141
- error_message?: string | undefined;
142
- error_type?: string | undefined;
143
- };
144
- };
145
- metadata?: {
146
- version: number;
147
- gas_profile?: {
148
- [x: string]: any;
149
- cost?: string | undefined;
150
- cost_category?: string | undefined;
151
- gas_used?: string | undefined;
152
- }[] | null | undefined;
153
- } | undefined;
154
- };
155
- block_hash: string;
156
- proof: {
157
- hash: string;
158
- direction: "Left" | "Right";
159
- }[];
160
- };
161
- receipts_outcome: {
162
- id: string;
163
- outcome: {
164
- logs: string[];
165
- receipt_ids: string[];
166
- gas_burnt: number;
167
- tokens_burnt: string;
168
- executor_id: string;
169
- status: "Unknown" | "Pending" | {
170
- SuccessValue: string;
171
- } | {
172
- SuccessReceiptId: string;
173
- } | {
174
- Failure: {
175
- [x: string]: any;
176
- error_message?: string | undefined;
177
- error_type?: string | undefined;
178
- };
179
- };
180
- metadata?: {
181
- version: number;
182
- gas_profile?: {
183
- [x: string]: any;
184
- cost?: string | undefined;
185
- cost_category?: string | undefined;
186
- gas_used?: string | undefined;
187
- }[] | null | undefined;
188
- } | undefined;
189
- };
190
- block_hash: string;
191
- proof: {
192
- hash: string;
193
- direction: "Left" | "Right";
194
- }[];
195
- }[];
196
- } | {
197
- final_execution_status: "EXECUTED";
198
- status: "Unknown" | "Pending" | {
199
- SuccessValue: string;
200
- } | {
201
- SuccessReceiptId: string;
202
- } | {
203
- Failure: {
204
- [x: string]: any;
205
- error_message?: string | undefined;
206
- error_type?: string | undefined;
207
- };
208
- };
209
- transaction: {
210
- signer_id: string;
211
- public_key: string;
212
- nonce: number;
213
- receiver_id: string;
214
- actions: ("CreateAccount" | {
215
- CreateAccount: Record<string, never>;
216
- } | {
217
- Transfer: {
218
- deposit: string;
219
- };
220
- } | {
221
- FunctionCall: {
222
- method_name: string;
223
- args: string;
224
- gas: number;
225
- deposit: string;
226
- };
227
- } | {
228
- DeployContract: {
229
- code: string;
230
- };
231
- } | {
232
- DeployGlobalContract: {
233
- code: string;
234
- };
235
- } | {
236
- DeployGlobalContractByAccountId: {
237
- code: string;
238
- };
239
- } | {
240
- Stake: {
241
- stake: string;
242
- public_key: string;
243
- };
244
- } | {
245
- AddKey: {
246
- public_key: string;
247
- access_key: {
248
- nonce: number;
249
- permission: "FullAccess" | {
250
- FunctionCall: {
251
- receiver_id: string;
252
- method_names: string[];
253
- allowance?: string | null | undefined;
254
- };
255
- };
256
- };
257
- };
258
- } | {
259
- DeleteKey: {
260
- public_key: string;
261
- };
262
- } | {
263
- DeleteAccount: {
264
- beneficiary_id: string;
265
- };
266
- } | {
267
- UseGlobalContract: {
268
- code_hash: string;
269
- };
270
- } | {
271
- UseGlobalContractByAccountId: {
272
- account_id: string;
273
- };
274
- } | {
275
- Delegate: {
276
- delegate_action: {
277
- sender_id: string;
278
- receiver_id: string;
279
- actions: any[];
280
- nonce: number;
281
- max_block_height: number;
282
- public_key: string;
283
- };
284
- signature: string;
285
- };
286
- } | {
287
- DeterministicStateInit: {
288
- deposit: string;
289
- };
290
- })[];
291
- signature: string;
292
- hash: string;
293
- priority_fee?: number | undefined;
294
- };
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: "Unknown" | "Pending" | {
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
- version: number;
316
- gas_profile?: {
317
- [x: string]: any;
318
- cost?: string | undefined;
319
- cost_category?: string | undefined;
320
- gas_used?: string | undefined;
321
- }[] | null | undefined;
322
- } | undefined;
323
- };
324
- block_hash: string;
325
- proof: {
326
- hash: string;
327
- direction: "Left" | "Right";
328
- }[];
329
- };
330
- receipts_outcome: {
331
- id: string;
332
- outcome: {
333
- logs: string[];
334
- receipt_ids: string[];
335
- gas_burnt: number;
336
- tokens_burnt: string;
337
- executor_id: string;
338
- status: "Unknown" | "Pending" | {
339
- SuccessValue: string;
340
- } | {
341
- SuccessReceiptId: string;
342
- } | {
343
- Failure: {
344
- [x: string]: any;
345
- error_message?: string | undefined;
346
- error_type?: string | undefined;
347
- };
348
- };
349
- metadata?: {
350
- version: number;
351
- gas_profile?: {
352
- [x: string]: any;
353
- cost?: string | undefined;
354
- cost_category?: string | undefined;
355
- gas_used?: string | undefined;
356
- }[] | null | undefined;
357
- } | undefined;
358
- };
359
- block_hash: string;
360
- proof: {
361
- hash: string;
362
- direction: "Left" | "Right";
363
- }[];
364
- }[];
365
- } | {
366
- final_execution_status: "FINAL";
367
- status: "Unknown" | "Pending" | {
368
- SuccessValue: string;
369
- } | {
370
- SuccessReceiptId: string;
371
- } | {
372
- Failure: {
373
- [x: string]: any;
374
- error_message?: string | undefined;
375
- error_type?: string | undefined;
376
- };
377
- };
378
- transaction: {
379
- signer_id: string;
380
- public_key: string;
381
- nonce: number;
382
- receiver_id: string;
383
- actions: ("CreateAccount" | {
384
- CreateAccount: Record<string, never>;
385
- } | {
386
- Transfer: {
387
- deposit: string;
388
- };
389
- } | {
390
- FunctionCall: {
391
- method_name: string;
392
- args: string;
393
- gas: number;
394
- deposit: string;
395
- };
396
- } | {
397
- DeployContract: {
398
- code: string;
399
- };
400
- } | {
401
- DeployGlobalContract: {
402
- code: string;
403
- };
404
- } | {
405
- DeployGlobalContractByAccountId: {
406
- code: string;
407
- };
408
- } | {
409
- Stake: {
410
- stake: string;
411
- public_key: string;
412
- };
413
- } | {
414
- AddKey: {
415
- public_key: string;
416
- access_key: {
417
- nonce: number;
418
- permission: "FullAccess" | {
419
- FunctionCall: {
420
- receiver_id: string;
421
- method_names: string[];
422
- allowance?: string | null | undefined;
423
- };
424
- };
425
- };
426
- };
427
- } | {
428
- DeleteKey: {
429
- public_key: string;
430
- };
431
- } | {
432
- DeleteAccount: {
433
- beneficiary_id: string;
434
- };
435
- } | {
436
- UseGlobalContract: {
437
- code_hash: string;
438
- };
439
- } | {
440
- UseGlobalContractByAccountId: {
441
- account_id: string;
442
- };
443
- } | {
444
- Delegate: {
445
- delegate_action: {
446
- sender_id: string;
447
- receiver_id: string;
448
- actions: any[];
449
- nonce: number;
450
- max_block_height: number;
451
- public_key: string;
452
- };
453
- signature: string;
454
- };
455
- } | {
456
- DeterministicStateInit: {
457
- deposit: string;
458
- };
459
- })[];
460
- signature: string;
461
- hash: string;
462
- priority_fee?: number | undefined;
463
- };
464
- transaction_outcome: {
465
- id: string;
466
- outcome: {
467
- logs: string[];
468
- receipt_ids: string[];
469
- gas_burnt: number;
470
- tokens_burnt: string;
471
- executor_id: string;
472
- status: "Unknown" | "Pending" | {
473
- SuccessValue: string;
474
- } | {
475
- SuccessReceiptId: string;
476
- } | {
477
- Failure: {
478
- [x: string]: any;
479
- error_message?: string | undefined;
480
- error_type?: string | undefined;
481
- };
482
- };
483
- metadata?: {
484
- version: number;
485
- gas_profile?: {
486
- [x: string]: any;
487
- cost?: string | undefined;
488
- cost_category?: string | undefined;
489
- gas_used?: string | undefined;
490
- }[] | null | undefined;
491
- } | undefined;
492
- };
493
- block_hash: string;
494
- proof: {
495
- hash: string;
496
- direction: "Left" | "Right";
497
- }[];
498
- };
499
- receipts_outcome: {
500
- id: string;
501
- outcome: {
502
- logs: string[];
503
- receipt_ids: string[];
504
- gas_burnt: number;
505
- tokens_burnt: string;
506
- executor_id: string;
507
- status: "Unknown" | "Pending" | {
508
- SuccessValue: string;
509
- } | {
510
- SuccessReceiptId: string;
511
- } | {
512
- Failure: {
513
- [x: string]: any;
514
- error_message?: string | undefined;
515
- error_type?: string | undefined;
516
- };
517
- };
518
- metadata?: {
519
- version: number;
520
- gas_profile?: {
521
- [x: string]: any;
522
- cost?: string | undefined;
523
- cost_category?: string | undefined;
524
- gas_used?: string | undefined;
525
- }[] | null | undefined;
526
- } | undefined;
527
- };
528
- block_hash: string;
529
- proof: {
530
- hash: string;
531
- direction: "Left" | "Right";
532
- }[];
533
- }[];
534
- }>;
535
- //# sourceMappingURL=greeting_set_fun.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"greeting_set_fun.d.ts","sourceRoot":"","sources":["../../../src/fun/greeting/greeting_set_fun.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AAGhC,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,kCAAkC,CAAC;AAEvF,wBAAsB,yBAAyB,CAC7C,IAAI,EAAE,IAAI,EACV,mBAAmB,EAAE,MAAM,EAC3B,QAAQ,EAAE,8BAA8B,CAAC,UAAU,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GASrD"}
@@ -1,9 +0,0 @@
1
- import { Near } from "near-kit";
2
- import { greeting_contract_methods } from "../../lib/contract_greeting_const";
3
- // ===========================================
4
- export async function greeting_set_greeting_fun(near, greeting_contractId, greeting) {
5
- const result = await near.call(greeting_contractId, greeting_contract_methods.set_greeting, { greeting: greeting }, { gas: "3 Tgas" });
6
- return result;
7
- }
8
- // ===========================================
9
- //# sourceMappingURL=greeting_set_fun.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"greeting_set_fun.js","sourceRoot":"","sources":["../../../src/fun/greeting/greeting_set_fun.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AAEhC,OAAO,EAAE,yBAAyB,EAAE,MAAM,mCAAmC,CAAC;AAE9E,8CAA8C;AAC9C,MAAM,CAAC,KAAK,UAAU,yBAAyB,CAC7C,IAAU,EACV,mBAA2B,EAC3B,QAAoD;IAEpD,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,IAAI,CAC5B,mBAAmB,EACnB,yBAAyB,CAAC,YAAY,EACtC,EAAE,QAAQ,EAAE,QAAQ,EAAE,EACtB,EAAE,GAAG,EAAE,QAAQ,EAAE,CAClB,CAAC;IACF,OAAO,MAA+B,CAAC;AACzC,CAAC;AACD,8CAA8C"}