@near-kit-tool-box/fun 0.1.7 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (281) hide show
  1. package/dist/fun/ft/ft_balance_of_fun_json.d.ts +4 -0
  2. package/dist/fun/ft/ft_balance_of_fun_json.d.ts.map +1 -0
  3. package/dist/fun/ft/ft_balance_of_fun_json.js +9 -0
  4. package/dist/fun/ft/ft_balance_of_fun_json.js.map +1 -0
  5. package/dist/fun/ft/ft_metadata_fun_json.d.ts +4 -0
  6. package/dist/fun/ft/ft_metadata_fun_json.d.ts.map +1 -0
  7. package/dist/fun/ft/ft_metadata_fun_json.js +10 -0
  8. package/dist/fun/ft/ft_metadata_fun_json.js.map +1 -0
  9. package/dist/fun/ft/ft_storage_deposit_fun_json.d.ts +3 -0
  10. package/dist/fun/ft/ft_storage_deposit_fun_json.d.ts.map +1 -0
  11. package/dist/fun/ft/ft_storage_deposit_fun_json.js +9 -0
  12. package/dist/fun/ft/ft_storage_deposit_fun_json.js.map +1 -0
  13. package/dist/fun/ft/ft_total_supply_fun_json.d.ts +3 -0
  14. package/dist/fun/ft/ft_total_supply_fun_json.d.ts.map +1 -0
  15. package/dist/fun/ft/ft_total_supply_fun_json.js +9 -0
  16. package/dist/fun/ft/ft_total_supply_fun_json.js.map +1 -0
  17. package/dist/fun/ft/ft_transfer_call_fun_json.d.ts +4 -0
  18. package/dist/fun/ft/ft_transfer_call_fun_json.d.ts.map +1 -0
  19. package/dist/fun/ft/ft_transfer_call_fun_json.js +9 -0
  20. package/dist/fun/ft/ft_transfer_call_fun_json.js.map +1 -0
  21. package/dist/fun/ft/ft_transfer_fun_json.d.ts +4 -0
  22. package/dist/fun/ft/ft_transfer_fun_json.d.ts.map +1 -0
  23. package/dist/fun/ft/ft_transfer_fun_json.js +9 -0
  24. package/dist/fun/ft/ft_transfer_fun_json.js.map +1 -0
  25. package/dist/fun/greeting/greeting_get_greeting_fun_json.d.ts +3 -0
  26. package/dist/fun/greeting/greeting_get_greeting_fun_json.d.ts.map +1 -0
  27. package/dist/fun/greeting/greeting_get_greeting_fun_json.js +9 -0
  28. package/dist/fun/greeting/greeting_get_greeting_fun_json.js.map +1 -0
  29. package/dist/fun/greeting/greeting_set_greeting_fun_json.d.ts +4 -0
  30. package/dist/fun/greeting/greeting_set_greeting_fun_json.d.ts.map +1 -0
  31. package/dist/fun/greeting/greeting_set_greeting_fun_json.js +9 -0
  32. package/dist/fun/greeting/greeting_set_greeting_fun_json.js.map +1 -0
  33. package/dist/fun/near/near_add_key_fun_json.d.ts +4 -0
  34. package/dist/fun/near/near_add_key_fun_json.d.ts.map +1 -0
  35. package/dist/fun/near/near_add_key_fun_json.js +11 -0
  36. package/dist/fun/near/near_add_key_fun_json.js.map +1 -0
  37. package/dist/fun/near/near_create_account_fun_json.d.ts +3 -0
  38. package/dist/fun/near/near_create_account_fun_json.d.ts.map +1 -0
  39. package/dist/fun/near/near_create_account_fun_json.js +9 -0
  40. package/dist/fun/near/near_create_account_fun_json.js.map +1 -0
  41. package/dist/fun/near/near_delete_account_fun_json.d.ts +4 -0
  42. package/dist/fun/near/near_delete_account_fun_json.d.ts.map +1 -0
  43. package/dist/fun/near/near_delete_account_fun_json.js +11 -0
  44. package/dist/fun/near/near_delete_account_fun_json.js.map +1 -0
  45. package/dist/fun/near/near_delete_key_fun_json.d.ts +4 -0
  46. package/dist/fun/near/near_delete_key_fun_json.d.ts.map +1 -0
  47. package/dist/fun/near/near_delete_key_fun_json.js +11 -0
  48. package/dist/fun/near/near_delete_key_fun_json.js.map +1 -0
  49. package/dist/fun/pool/pool_deposit_and_stake_fun_json.d.ts +4 -0
  50. package/dist/fun/pool/pool_deposit_and_stake_fun_json.d.ts.map +1 -0
  51. package/dist/fun/pool/pool_deposit_and_stake_fun_json.js +9 -0
  52. package/dist/fun/pool/pool_deposit_and_stake_fun_json.js.map +1 -0
  53. package/dist/fun/pool/pool_get_accounts_fun_json.d.ts +3 -0
  54. package/dist/fun/pool/pool_get_accounts_fun_json.d.ts.map +1 -0
  55. package/dist/fun/pool/pool_get_accounts_fun_json.js +9 -0
  56. package/dist/fun/pool/pool_get_accounts_fun_json.js.map +1 -0
  57. package/dist/fun/pool/pool_get_number_of_accounts_fun_json.d.ts +3 -0
  58. package/dist/fun/pool/pool_get_number_of_accounts_fun_json.d.ts.map +1 -0
  59. package/dist/fun/pool/pool_get_number_of_accounts_fun_json.js +9 -0
  60. package/dist/fun/pool/pool_get_number_of_accounts_fun_json.js.map +1 -0
  61. package/dist/fun/pool/pool_ping_fun_json.d.ts +3 -0
  62. package/dist/fun/pool/pool_ping_fun_json.d.ts.map +1 -0
  63. package/dist/fun/pool/pool_ping_fun_json.js +11 -0
  64. package/dist/fun/pool/pool_ping_fun_json.js.map +1 -0
  65. package/dist/fun/pumpopoly_world/pumpopoly_world_elite_move_fun_json.d.ts +3 -0
  66. package/dist/fun/pumpopoly_world/pumpopoly_world_elite_move_fun_json.d.ts.map +1 -0
  67. package/dist/fun/pumpopoly_world/pumpopoly_world_elite_move_fun_json.js +9 -0
  68. package/dist/fun/pumpopoly_world/pumpopoly_world_elite_move_fun_json.js.map +1 -0
  69. package/dist/fun/pumpopoly_world/pumpopoly_world_move_player_fun_json.d.ts +3 -0
  70. package/dist/fun/pumpopoly_world/pumpopoly_world_move_player_fun_json.d.ts.map +1 -0
  71. package/dist/fun/pumpopoly_world/pumpopoly_world_move_player_fun_json.js +9 -0
  72. package/dist/fun/pumpopoly_world/pumpopoly_world_move_player_fun_json.js.map +1 -0
  73. package/dist/fun/rhea_ammv2/rhea_ammv2_add_simple_pool_fun_json.d.ts +4 -0
  74. package/dist/fun/rhea_ammv2/rhea_ammv2_add_simple_pool_fun_json.d.ts.map +1 -0
  75. package/dist/fun/rhea_ammv2/rhea_ammv2_add_simple_pool_fun_json.js +9 -0
  76. package/dist/fun/rhea_ammv2/rhea_ammv2_add_simple_pool_fun_json.js.map +1 -0
  77. package/dist/fun/rhea_ammv2/rhea_ammv2_get_deposits_fun_json.d.ts +4 -0
  78. package/dist/fun/rhea_ammv2/rhea_ammv2_get_deposits_fun_json.d.ts.map +1 -0
  79. package/dist/fun/rhea_ammv2/rhea_ammv2_get_deposits_fun_json.js +9 -0
  80. package/dist/fun/rhea_ammv2/rhea_ammv2_get_deposits_fun_json.js.map +1 -0
  81. package/dist/fun/rhea_ammv2/rhea_ammv2_get_number_of_pools_fun_json.d.ts +3 -0
  82. package/dist/fun/rhea_ammv2/rhea_ammv2_get_number_of_pools_fun_json.d.ts.map +1 -0
  83. package/dist/fun/rhea_ammv2/rhea_ammv2_get_number_of_pools_fun_json.js +9 -0
  84. package/dist/fun/rhea_ammv2/rhea_ammv2_get_number_of_pools_fun_json.js.map +1 -0
  85. package/dist/fun/rhea_ammv2/rhea_ammv2_get_pool_fun_json.d.ts +4 -0
  86. package/dist/fun/rhea_ammv2/rhea_ammv2_get_pool_fun_json.d.ts.map +1 -0
  87. package/dist/fun/rhea_ammv2/rhea_ammv2_get_pool_fun_json.js +9 -0
  88. package/dist/fun/rhea_ammv2/rhea_ammv2_get_pool_fun_json.js.map +1 -0
  89. package/dist/fun/rhea_ammv2/rhea_ammv2_get_pools_fun_json.d.ts +4 -0
  90. package/dist/fun/rhea_ammv2/rhea_ammv2_get_pools_fun_json.d.ts.map +1 -0
  91. package/dist/fun/rhea_ammv2/rhea_ammv2_get_pools_fun_json.js +9 -0
  92. package/dist/fun/rhea_ammv2/rhea_ammv2_get_pools_fun_json.js.map +1 -0
  93. package/dist/fun/rhea_ammv2/rhea_ammv2_get_return_fun_json.d.ts +4 -0
  94. package/dist/fun/rhea_ammv2/rhea_ammv2_get_return_fun_json.d.ts.map +1 -0
  95. package/dist/fun/rhea_ammv2/rhea_ammv2_get_return_fun_json.js +14 -0
  96. package/dist/fun/rhea_ammv2/rhea_ammv2_get_return_fun_json.js.map +1 -0
  97. package/dist/fun/rhea_ammv2/rhea_ammv2_storage_balance_of_fun_json.d.ts +4 -0
  98. package/dist/fun/rhea_ammv2/rhea_ammv2_storage_balance_of_fun_json.d.ts.map +1 -0
  99. package/dist/fun/rhea_ammv2/rhea_ammv2_storage_balance_of_fun_json.js +9 -0
  100. package/dist/fun/rhea_ammv2/rhea_ammv2_storage_balance_of_fun_json.js.map +1 -0
  101. package/dist/fun/rhea_ammv2/rhea_ammv2_storage_deposit_fun_json.d.ts +4 -0
  102. package/dist/fun/rhea_ammv2/rhea_ammv2_storage_deposit_fun_json.d.ts.map +1 -0
  103. package/dist/fun/rhea_ammv2/rhea_ammv2_storage_deposit_fun_json.js +9 -0
  104. package/dist/fun/rhea_ammv2/rhea_ammv2_storage_deposit_fun_json.js.map +1 -0
  105. package/dist/fun/rhea_ammv2/rhea_ammv2_swap_fun_json.d.ts +4 -0
  106. package/dist/fun/rhea_ammv2/rhea_ammv2_swap_fun_json.d.ts.map +1 -0
  107. package/dist/fun/rhea_ammv2/rhea_ammv2_swap_fun_json.js +9 -0
  108. package/dist/fun/rhea_ammv2/rhea_ammv2_swap_fun_json.js.map +1 -0
  109. package/dist/fun/rhea_ammv2/rhea_ammv2_withdraw_fun_json.d.ts +4 -0
  110. package/dist/fun/rhea_ammv2/rhea_ammv2_withdraw_fun_json.d.ts.map +1 -0
  111. package/dist/fun/rhea_ammv2/rhea_ammv2_withdraw_fun_json.js +14 -0
  112. package/dist/fun/rhea_ammv2/rhea_ammv2_withdraw_fun_json.js.map +1 -0
  113. package/dist/fun/wrap_near/wrap_near_deposit_fun_json.d.ts +4 -0
  114. package/dist/fun/wrap_near/wrap_near_deposit_fun_json.d.ts.map +1 -0
  115. package/dist/fun/wrap_near/wrap_near_deposit_fun_json.js +9 -0
  116. package/dist/fun/wrap_near/wrap_near_deposit_fun_json.js.map +1 -0
  117. package/dist/fun/wrap_near/wrap_near_withdraw_fun_json.d.ts +3 -0
  118. package/dist/fun/wrap_near/wrap_near_withdraw_fun_json.d.ts.map +1 -0
  119. package/dist/fun/wrap_near/wrap_near_withdraw_fun_json.js +9 -0
  120. package/dist/fun/wrap_near/wrap_near_withdraw_fun_json.js.map +1 -0
  121. package/dist/index.d.ts +39 -16
  122. package/dist/index.d.ts.map +1 -1
  123. package/dist/index.js +55 -28
  124. package/dist/index.js.map +1 -1
  125. package/dist/lib/args/ft_args.d.ts +7 -0
  126. package/dist/lib/args/ft_args.d.ts.map +1 -0
  127. package/dist/lib/args/ft_args.js +10 -0
  128. package/dist/lib/args/ft_args.js.map +1 -0
  129. package/dist/lib/args/greeting_args.d.ts +4 -0
  130. package/dist/lib/args/greeting_args.d.ts.map +1 -0
  131. package/dist/lib/args/greeting_args.js +10 -0
  132. package/dist/lib/args/greeting_args.js.map +1 -0
  133. package/dist/lib/{contract_rhea_args.d.ts → args/rhea_ammv2_args.d.ts} +6 -6
  134. package/dist/lib/args/rhea_ammv2_args.d.ts.map +1 -0
  135. package/dist/lib/args/rhea_ammv2_args.js +11 -0
  136. package/dist/lib/args/rhea_ammv2_args.js.map +1 -0
  137. package/dist/lib/const_id/contract_id_const_type.d.ts +6 -0
  138. package/dist/lib/const_id/contract_id_const_type.d.ts.map +1 -0
  139. package/dist/lib/const_id/contract_id_const_type.js +8 -0
  140. package/dist/lib/const_id/contract_id_const_type.js.map +1 -0
  141. package/dist/lib/const_id/greeting_contract_id_const.d.ts +4 -0
  142. package/dist/lib/const_id/greeting_contract_id_const.d.ts.map +1 -0
  143. package/dist/lib/const_id/greeting_contract_id_const.js +13 -0
  144. package/dist/lib/const_id/greeting_contract_id_const.js.map +1 -0
  145. package/dist/lib/const_id/index.d.ts +7 -0
  146. package/dist/lib/const_id/index.d.ts.map +1 -0
  147. package/dist/lib/const_id/index.js +22 -0
  148. package/dist/lib/const_id/index.js.map +1 -0
  149. package/dist/lib/const_id/near_tld_contract_id_const.d.ts +4 -0
  150. package/dist/lib/const_id/near_tld_contract_id_const.d.ts.map +1 -0
  151. package/dist/lib/const_id/near_tld_contract_id_const.js +13 -0
  152. package/dist/lib/const_id/near_tld_contract_id_const.js.map +1 -0
  153. package/dist/lib/const_id/pumpopoly_world_contract_id_const.d.ts +4 -0
  154. package/dist/lib/const_id/pumpopoly_world_contract_id_const.d.ts.map +1 -0
  155. package/dist/lib/const_id/pumpopoly_world_contract_id_const.js +13 -0
  156. package/dist/lib/const_id/pumpopoly_world_contract_id_const.js.map +1 -0
  157. package/dist/lib/const_id/rhea_ammv2_contract_id_const.d.ts +4 -0
  158. package/dist/lib/const_id/rhea_ammv2_contract_id_const.d.ts.map +1 -0
  159. package/dist/lib/const_id/rhea_ammv2_contract_id_const.js +13 -0
  160. package/dist/lib/const_id/rhea_ammv2_contract_id_const.js.map +1 -0
  161. package/dist/lib/const_id/wrap_near_contract_id_const.d.ts +4 -0
  162. package/dist/lib/const_id/wrap_near_contract_id_const.d.ts.map +1 -0
  163. package/dist/lib/const_id/wrap_near_contract_id_const.js +13 -0
  164. package/dist/lib/const_id/wrap_near_contract_id_const.js.map +1 -0
  165. package/dist/lib/methods/index.d.ts +8 -0
  166. package/dist/lib/methods/index.d.ts.map +1 -0
  167. package/dist/lib/methods/index.js +16 -0
  168. package/dist/lib/methods/index.js.map +1 -0
  169. package/dist/lib/methods/methods_ft.d.ts +15 -0
  170. package/dist/lib/methods/methods_ft.d.ts.map +1 -0
  171. package/dist/lib/methods/methods_ft.js +22 -0
  172. package/dist/lib/methods/methods_ft.js.map +1 -0
  173. package/dist/lib/methods/methods_greeting.d.ts +5 -0
  174. package/dist/lib/methods/methods_greeting.d.ts.map +1 -0
  175. package/dist/lib/methods/methods_greeting.js +12 -0
  176. package/dist/lib/methods/methods_greeting.js.map +1 -0
  177. package/dist/lib/methods/methods_near.d.ts +14 -0
  178. package/dist/lib/methods/methods_near.d.ts.map +1 -0
  179. package/dist/lib/methods/methods_near.js +24 -0
  180. package/dist/lib/methods/methods_near.js.map +1 -0
  181. package/dist/lib/methods/methods_pool.d.ts +55 -0
  182. package/dist/lib/methods/methods_pool.d.ts.map +1 -0
  183. package/dist/lib/methods/methods_pool.js +63 -0
  184. package/dist/lib/methods/methods_pool.js.map +1 -0
  185. package/dist/lib/methods/methods_pumpopoly_world.d.ts +37 -0
  186. package/dist/lib/methods/methods_pumpopoly_world.d.ts.map +1 -0
  187. package/dist/lib/methods/methods_pumpopoly_world.js +45 -0
  188. package/dist/lib/methods/methods_pumpopoly_world.js.map +1 -0
  189. package/dist/lib/methods/methods_rhea_ammv2.d.ts +164 -0
  190. package/dist/lib/methods/methods_rhea_ammv2.d.ts.map +1 -0
  191. package/dist/lib/methods/methods_rhea_ammv2.js +171 -0
  192. package/dist/lib/methods/methods_rhea_ammv2.js.map +1 -0
  193. package/dist/lib/methods/methods_wrap_near.d.ts +18 -0
  194. package/dist/lib/methods/methods_wrap_near.d.ts.map +1 -0
  195. package/dist/lib/methods/methods_wrap_near.js +26 -0
  196. package/dist/lib/methods/methods_wrap_near.js.map +1 -0
  197. package/dist/types/{ft_metadata_types.d.ts → ft_metadata_get_response_type.d.ts} +1 -1
  198. package/dist/types/ft_metadata_get_response_type.d.ts.map +1 -0
  199. package/dist/types/{ft_metadata_types.js → ft_metadata_get_response_type.js} +1 -1
  200. package/dist/types/ft_metadata_get_response_type.js.map +1 -0
  201. package/dist/types/rhea_ammv2_get_deposits_type.d.ts +4 -0
  202. package/dist/types/rhea_ammv2_get_deposits_type.d.ts.map +1 -0
  203. package/dist/types/rhea_ammv2_get_deposits_type.js +15 -0
  204. package/dist/types/rhea_ammv2_get_deposits_type.js.map +1 -0
  205. package/dist/types/{rhea_ref_types.d.ts → rhea_ammv2_get_pool_type.d.ts} +4 -11
  206. package/dist/types/rhea_ammv2_get_pool_type.d.ts.map +1 -0
  207. package/dist/types/rhea_ammv2_get_pool_type.js +13 -0
  208. package/dist/types/rhea_ammv2_get_pool_type.js.map +1 -0
  209. package/dist/types/storage_balance_of_response_type.d.ts +5 -0
  210. package/dist/types/storage_balance_of_response_type.d.ts.map +1 -0
  211. package/dist/types/storage_balance_of_response_type.js +13 -0
  212. package/dist/types/storage_balance_of_response_type.js.map +1 -0
  213. package/package.json +5 -10
  214. package/dist/fun/ft/ft_fun.d.ts +0 -3583
  215. package/dist/fun/ft/ft_fun.d.ts.map +0 -1
  216. package/dist/fun/ft/ft_fun.js +0 -54
  217. package/dist/fun/ft/ft_fun.js.map +0 -1
  218. package/dist/fun/greeting/greeting_get_fun.d.ts +0 -3
  219. package/dist/fun/greeting/greeting_get_fun.d.ts.map +0 -1
  220. package/dist/fun/greeting/greeting_get_fun.js +0 -9
  221. package/dist/fun/greeting/greeting_get_fun.js.map +0 -1
  222. package/dist/fun/greeting/greeting_set_fun.d.ts +0 -1195
  223. package/dist/fun/greeting/greeting_set_fun.d.ts.map +0 -1
  224. package/dist/fun/greeting/greeting_set_fun.js +0 -9
  225. package/dist/fun/greeting/greeting_set_fun.js.map +0 -1
  226. package/dist/fun/near/add_key_near.d.ts +0 -1194
  227. package/dist/fun/near/add_key_near.d.ts.map +0 -1
  228. package/dist/fun/near/add_key_near.js +0 -11
  229. package/dist/fun/near/add_key_near.js.map +0 -1
  230. package/dist/fun/near/create_account_near.d.ts +0 -1194
  231. package/dist/fun/near/create_account_near.d.ts.map +0 -1
  232. package/dist/fun/near/create_account_near.js +0 -10
  233. package/dist/fun/near/create_account_near.js.map +0 -1
  234. package/dist/fun/near/delete_account_fun.d.ts +0 -1194
  235. package/dist/fun/near/delete_account_fun.d.ts.map +0 -1
  236. package/dist/fun/near/delete_account_fun.js +0 -11
  237. package/dist/fun/near/delete_account_fun.js.map +0 -1
  238. package/dist/fun/near/delete_key_near.d.ts +0 -1194
  239. package/dist/fun/near/delete_key_near.d.ts.map +0 -1
  240. package/dist/fun/near/delete_key_near.js +0 -11
  241. package/dist/fun/near/delete_key_near.js.map +0 -1
  242. package/dist/fun/near/wrap_near.d.ts +0 -2387
  243. package/dist/fun/near/wrap_near.d.ts.map +0 -1
  244. package/dist/fun/near/wrap_near.js +0 -16
  245. package/dist/fun/near/wrap_near.js.map +0 -1
  246. package/dist/fun/pool/pool_fun.d.ts +0 -2390
  247. package/dist/fun/pool/pool_fun.d.ts.map +0 -1
  248. package/dist/fun/pool/pool_fun.js +0 -37
  249. package/dist/fun/pool/pool_fun.js.map +0 -1
  250. package/dist/fun/pumpopoly/pumpopoly_world_fun.d.ts +0 -2386
  251. package/dist/fun/pumpopoly/pumpopoly_world_fun.d.ts.map +0 -1
  252. package/dist/fun/pumpopoly/pumpopoly_world_fun.js +0 -20
  253. package/dist/fun/pumpopoly/pumpopoly_world_fun.js.map +0 -1
  254. package/dist/fun/rhea/rhea_call_fun.d.ts +0 -4772
  255. package/dist/fun/rhea/rhea_call_fun.d.ts.map +0 -1
  256. package/dist/fun/rhea/rhea_call_fun.js +0 -43
  257. package/dist/fun/rhea/rhea_call_fun.js.map +0 -1
  258. package/dist/fun/rhea/rhea_view_fun.d.ts +0 -10
  259. package/dist/fun/rhea/rhea_view_fun.d.ts.map +0 -1
  260. package/dist/fun/rhea/rhea_view_fun.js +0 -56
  261. package/dist/fun/rhea/rhea_view_fun.js.map +0 -1
  262. package/dist/lib/contract_ft_args.d.ts +0 -7
  263. package/dist/lib/contract_ft_args.d.ts.map +0 -1
  264. package/dist/lib/contract_ft_args.js +0 -3
  265. package/dist/lib/contract_ft_args.js.map +0 -1
  266. package/dist/lib/contract_greeting_args.d.ts +0 -4
  267. package/dist/lib/contract_greeting_args.d.ts.map +0 -1
  268. package/dist/lib/contract_greeting_args.js +0 -3
  269. package/dist/lib/contract_greeting_args.js.map +0 -1
  270. package/dist/lib/contract_greeting_const.d.ts +0 -5
  271. package/dist/lib/contract_greeting_const.d.ts.map +0 -1
  272. package/dist/lib/contract_greeting_const.js +0 -8
  273. package/dist/lib/contract_greeting_const.js.map +0 -1
  274. package/dist/lib/contract_rhea_args.d.ts.map +0 -1
  275. package/dist/lib/contract_rhea_args.js +0 -11
  276. package/dist/lib/contract_rhea_args.js.map +0 -1
  277. package/dist/types/ft_metadata_types.d.ts.map +0 -1
  278. package/dist/types/ft_metadata_types.js.map +0 -1
  279. package/dist/types/rhea_ref_types.d.ts.map +0 -1
  280. package/dist/types/rhea_ref_types.js +0 -15
  281. package/dist/types/rhea_ref_types.js.map +0 -1
@@ -1,1194 +0,0 @@
1
- import { Near } from "near-kit";
2
- export declare function add_key_fun(near: Near, signerId: string, publicKey: string, permission: Parameters<ReturnType<typeof near.transaction>["addKey"]>[1]): 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
- status?: "Pending" | "Unknown" | {
11
- SuccessValue: string;
12
- } | {
13
- SuccessReceiptId: string;
14
- } | {
15
- Failure: {
16
- [x: string]: any;
17
- error_message?: string | undefined;
18
- error_type?: string | undefined;
19
- };
20
- } | undefined;
21
- transaction_outcome?: {
22
- id: string;
23
- outcome: {
24
- logs: string[];
25
- receipt_ids: string[];
26
- gas_burnt: number;
27
- tokens_burnt: string;
28
- executor_id: string;
29
- status: "Pending" | "Unknown" | {
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
- metadata?: {
41
- gas_profile?: {
42
- [x: string]: any;
43
- cost?: string | undefined;
44
- cost_category?: string | undefined;
45
- gas_used?: string | undefined;
46
- }[] | null | undefined;
47
- version: 4;
48
- contracts?: ({
49
- local: string;
50
- } | {
51
- global_hash: string;
52
- } | {
53
- global_account_id: string;
54
- } | null)[] | null | undefined;
55
- } | {
56
- gas_profile?: {
57
- [x: string]: any;
58
- cost?: string | undefined;
59
- cost_category?: string | undefined;
60
- gas_used?: string | undefined;
61
- }[] | null | undefined;
62
- version: 1 | 2 | 3;
63
- } | {
64
- gas_profile?: {
65
- [x: string]: any;
66
- cost?: string | undefined;
67
- cost_category?: string | undefined;
68
- gas_used?: string | undefined;
69
- }[] | null | undefined;
70
- version: number;
71
- } | undefined;
72
- };
73
- block_hash: string;
74
- proof: {
75
- hash: string;
76
- direction: "Left" | "Right";
77
- }[];
78
- } | undefined;
79
- receipts_outcome?: {
80
- id: string;
81
- outcome: {
82
- logs: string[];
83
- receipt_ids: string[];
84
- gas_burnt: number;
85
- tokens_burnt: string;
86
- executor_id: string;
87
- status: "Pending" | "Unknown" | {
88
- SuccessValue: string;
89
- } | {
90
- SuccessReceiptId: string;
91
- } | {
92
- Failure: {
93
- [x: string]: any;
94
- error_message?: string | undefined;
95
- error_type?: string | undefined;
96
- };
97
- };
98
- metadata?: {
99
- gas_profile?: {
100
- [x: string]: any;
101
- cost?: string | undefined;
102
- cost_category?: string | undefined;
103
- gas_used?: string | undefined;
104
- }[] | null | undefined;
105
- version: 4;
106
- contracts?: ({
107
- local: string;
108
- } | {
109
- global_hash: string;
110
- } | {
111
- global_account_id: string;
112
- } | null)[] | null | undefined;
113
- } | {
114
- gas_profile?: {
115
- [x: string]: any;
116
- cost?: string | undefined;
117
- cost_category?: string | undefined;
118
- gas_used?: string | undefined;
119
- }[] | null | undefined;
120
- version: 1 | 2 | 3;
121
- } | {
122
- gas_profile?: {
123
- [x: string]: any;
124
- cost?: string | undefined;
125
- cost_category?: string | undefined;
126
- gas_used?: string | undefined;
127
- }[] | null | undefined;
128
- version: number;
129
- } | undefined;
130
- };
131
- block_hash: string;
132
- proof: {
133
- hash: string;
134
- direction: "Left" | "Right";
135
- }[];
136
- }[] | undefined;
137
- } | {
138
- final_execution_status: "INCLUDED";
139
- transaction?: {
140
- hash: string;
141
- signer_id: string;
142
- receiver_id: string;
143
- nonce: number;
144
- } | undefined;
145
- status?: "Pending" | "Unknown" | {
146
- SuccessValue: string;
147
- } | {
148
- SuccessReceiptId: string;
149
- } | {
150
- Failure: {
151
- [x: string]: any;
152
- error_message?: string | undefined;
153
- error_type?: string | undefined;
154
- };
155
- } | undefined;
156
- transaction_outcome?: {
157
- id: string;
158
- outcome: {
159
- logs: string[];
160
- receipt_ids: string[];
161
- gas_burnt: number;
162
- tokens_burnt: string;
163
- executor_id: string;
164
- status: "Pending" | "Unknown" | {
165
- SuccessValue: string;
166
- } | {
167
- SuccessReceiptId: string;
168
- } | {
169
- Failure: {
170
- [x: string]: any;
171
- error_message?: string | undefined;
172
- error_type?: string | undefined;
173
- };
174
- };
175
- metadata?: {
176
- gas_profile?: {
177
- [x: string]: any;
178
- cost?: string | undefined;
179
- cost_category?: string | undefined;
180
- gas_used?: string | undefined;
181
- }[] | null | undefined;
182
- version: 4;
183
- contracts?: ({
184
- local: string;
185
- } | {
186
- global_hash: string;
187
- } | {
188
- global_account_id: string;
189
- } | null)[] | null | undefined;
190
- } | {
191
- gas_profile?: {
192
- [x: string]: any;
193
- cost?: string | undefined;
194
- cost_category?: string | undefined;
195
- gas_used?: string | undefined;
196
- }[] | null | undefined;
197
- version: 1 | 2 | 3;
198
- } | {
199
- gas_profile?: {
200
- [x: string]: any;
201
- cost?: string | undefined;
202
- cost_category?: string | undefined;
203
- gas_used?: string | undefined;
204
- }[] | null | undefined;
205
- version: number;
206
- } | undefined;
207
- };
208
- block_hash: string;
209
- proof: {
210
- hash: string;
211
- direction: "Left" | "Right";
212
- }[];
213
- } | undefined;
214
- receipts_outcome?: {
215
- id: string;
216
- outcome: {
217
- logs: string[];
218
- receipt_ids: string[];
219
- gas_burnt: number;
220
- tokens_burnt: string;
221
- executor_id: string;
222
- status: "Pending" | "Unknown" | {
223
- SuccessValue: string;
224
- } | {
225
- SuccessReceiptId: string;
226
- } | {
227
- Failure: {
228
- [x: string]: any;
229
- error_message?: string | undefined;
230
- error_type?: string | undefined;
231
- };
232
- };
233
- metadata?: {
234
- gas_profile?: {
235
- [x: string]: any;
236
- cost?: string | undefined;
237
- cost_category?: string | undefined;
238
- gas_used?: string | undefined;
239
- }[] | null | undefined;
240
- version: 4;
241
- contracts?: ({
242
- local: string;
243
- } | {
244
- global_hash: string;
245
- } | {
246
- global_account_id: string;
247
- } | null)[] | null | undefined;
248
- } | {
249
- gas_profile?: {
250
- [x: string]: any;
251
- cost?: string | undefined;
252
- cost_category?: string | undefined;
253
- gas_used?: string | undefined;
254
- }[] | null | undefined;
255
- version: 1 | 2 | 3;
256
- } | {
257
- gas_profile?: {
258
- [x: string]: any;
259
- cost?: string | undefined;
260
- cost_category?: string | undefined;
261
- gas_used?: string | undefined;
262
- }[] | null | undefined;
263
- version: number;
264
- } | undefined;
265
- };
266
- block_hash: string;
267
- proof: {
268
- hash: string;
269
- direction: "Left" | "Right";
270
- }[];
271
- }[] | undefined;
272
- } | {
273
- final_execution_status: "INCLUDED_FINAL";
274
- transaction?: {
275
- hash: string;
276
- signer_id: string;
277
- receiver_id: string;
278
- nonce: number;
279
- } | undefined;
280
- status?: "Pending" | "Unknown" | {
281
- SuccessValue: string;
282
- } | {
283
- SuccessReceiptId: string;
284
- } | {
285
- Failure: {
286
- [x: string]: any;
287
- error_message?: string | undefined;
288
- error_type?: string | undefined;
289
- };
290
- } | undefined;
291
- transaction_outcome?: {
292
- id: string;
293
- outcome: {
294
- logs: string[];
295
- receipt_ids: string[];
296
- gas_burnt: number;
297
- tokens_burnt: string;
298
- executor_id: string;
299
- status: "Pending" | "Unknown" | {
300
- SuccessValue: string;
301
- } | {
302
- SuccessReceiptId: string;
303
- } | {
304
- Failure: {
305
- [x: string]: any;
306
- error_message?: string | undefined;
307
- error_type?: string | undefined;
308
- };
309
- };
310
- metadata?: {
311
- gas_profile?: {
312
- [x: string]: any;
313
- cost?: string | undefined;
314
- cost_category?: string | undefined;
315
- gas_used?: string | undefined;
316
- }[] | null | undefined;
317
- version: 4;
318
- contracts?: ({
319
- local: string;
320
- } | {
321
- global_hash: string;
322
- } | {
323
- global_account_id: string;
324
- } | null)[] | null | undefined;
325
- } | {
326
- gas_profile?: {
327
- [x: string]: any;
328
- cost?: string | undefined;
329
- cost_category?: string | undefined;
330
- gas_used?: string | undefined;
331
- }[] | null | undefined;
332
- version: 1 | 2 | 3;
333
- } | {
334
- gas_profile?: {
335
- [x: string]: any;
336
- cost?: string | undefined;
337
- cost_category?: string | undefined;
338
- gas_used?: string | undefined;
339
- }[] | null | undefined;
340
- version: number;
341
- } | undefined;
342
- };
343
- block_hash: string;
344
- proof: {
345
- hash: string;
346
- direction: "Left" | "Right";
347
- }[];
348
- } | undefined;
349
- receipts_outcome?: {
350
- id: string;
351
- outcome: {
352
- logs: string[];
353
- receipt_ids: string[];
354
- gas_burnt: number;
355
- tokens_burnt: string;
356
- executor_id: string;
357
- status: "Pending" | "Unknown" | {
358
- SuccessValue: string;
359
- } | {
360
- SuccessReceiptId: string;
361
- } | {
362
- Failure: {
363
- [x: string]: any;
364
- error_message?: string | undefined;
365
- error_type?: string | undefined;
366
- };
367
- };
368
- metadata?: {
369
- gas_profile?: {
370
- [x: string]: any;
371
- cost?: string | undefined;
372
- cost_category?: string | undefined;
373
- gas_used?: string | undefined;
374
- }[] | null | undefined;
375
- version: 4;
376
- contracts?: ({
377
- local: string;
378
- } | {
379
- global_hash: string;
380
- } | {
381
- global_account_id: string;
382
- } | null)[] | null | undefined;
383
- } | {
384
- gas_profile?: {
385
- [x: string]: any;
386
- cost?: string | undefined;
387
- cost_category?: string | undefined;
388
- gas_used?: string | undefined;
389
- }[] | null | undefined;
390
- version: 1 | 2 | 3;
391
- } | {
392
- gas_profile?: {
393
- [x: string]: any;
394
- cost?: string | undefined;
395
- cost_category?: string | undefined;
396
- gas_used?: string | undefined;
397
- }[] | null | undefined;
398
- version: number;
399
- } | undefined;
400
- };
401
- block_hash: string;
402
- proof: {
403
- hash: string;
404
- direction: "Left" | "Right";
405
- }[];
406
- }[] | undefined;
407
- } | {
408
- final_execution_status: "EXECUTED_OPTIMISTIC";
409
- status: "Pending" | "Unknown" | {
410
- SuccessValue: string;
411
- } | {
412
- SuccessReceiptId: string;
413
- } | {
414
- Failure: {
415
- [x: string]: any;
416
- error_message?: string | undefined;
417
- error_type?: string | undefined;
418
- };
419
- };
420
- transaction: {
421
- signer_id: string;
422
- public_key: string;
423
- nonce: number;
424
- receiver_id: string;
425
- actions: ("CreateAccount" | {
426
- CreateAccount: Record<string, never>;
427
- } | {
428
- Transfer: {
429
- deposit: string;
430
- };
431
- } | {
432
- FunctionCall: {
433
- method_name: string;
434
- args: string;
435
- gas: number;
436
- deposit: string;
437
- };
438
- } | {
439
- DeployContract: {
440
- code: string;
441
- };
442
- } | {
443
- DeployGlobalContract: {
444
- code: string;
445
- };
446
- } | {
447
- DeployGlobalContractByAccountId: {
448
- code: string;
449
- };
450
- } | {
451
- Stake: {
452
- stake: string;
453
- public_key: string;
454
- };
455
- } | {
456
- AddKey: {
457
- public_key: string;
458
- access_key: {
459
- nonce: number;
460
- permission: "FullAccess" | {
461
- FunctionCall: {
462
- receiver_id: string;
463
- method_names: string[];
464
- allowance?: string | null | undefined;
465
- };
466
- } | {
467
- GasKeyFunctionCall: {
468
- balance: string;
469
- num_nonces: number;
470
- receiver_id: string;
471
- method_names: string[];
472
- allowance?: string | null | undefined;
473
- };
474
- } | {
475
- GasKeyFullAccess: {
476
- balance: string;
477
- num_nonces: number;
478
- };
479
- };
480
- };
481
- };
482
- } | {
483
- DeleteKey: {
484
- public_key: string;
485
- };
486
- } | {
487
- DeleteAccount: {
488
- beneficiary_id: string;
489
- };
490
- } | {
491
- UseGlobalContract: {
492
- code_hash: string;
493
- };
494
- } | {
495
- UseGlobalContractByAccountId: {
496
- account_id: string;
497
- };
498
- } | {
499
- Delegate: {
500
- delegate_action: {
501
- sender_id: string;
502
- receiver_id: string;
503
- actions: any[];
504
- nonce: number;
505
- max_block_height: number;
506
- public_key: string;
507
- };
508
- signature: string;
509
- };
510
- } | {
511
- DeterministicStateInit: {
512
- deposit: string;
513
- };
514
- } | {
515
- TransferToGasKey: {
516
- public_key: string;
517
- deposit: string;
518
- };
519
- } | {
520
- WithdrawFromGasKey: {
521
- public_key: string;
522
- amount: string;
523
- };
524
- } | {
525
- DelegateV2: {
526
- delegate_action: {
527
- V2: {
528
- sender_id: string;
529
- receiver_id: string;
530
- actions: any[];
531
- nonce: {
532
- Nonce: {
533
- nonce: number;
534
- };
535
- } | {
536
- GasKeyNonce: {
537
- nonce: number;
538
- nonce_index: number;
539
- };
540
- };
541
- max_block_height: number;
542
- public_key: string;
543
- };
544
- };
545
- signature: string;
546
- };
547
- })[];
548
- signature: string;
549
- hash: string;
550
- priority_fee?: number | undefined;
551
- nonce_mode?: "monotonic" | "strict" | null | undefined;
552
- };
553
- transaction_outcome: {
554
- id: string;
555
- outcome: {
556
- logs: string[];
557
- receipt_ids: string[];
558
- gas_burnt: number;
559
- tokens_burnt: string;
560
- executor_id: string;
561
- status: "Pending" | "Unknown" | {
562
- SuccessValue: string;
563
- } | {
564
- SuccessReceiptId: string;
565
- } | {
566
- Failure: {
567
- [x: string]: any;
568
- error_message?: string | undefined;
569
- error_type?: string | undefined;
570
- };
571
- };
572
- metadata?: {
573
- gas_profile?: {
574
- [x: string]: any;
575
- cost?: string | undefined;
576
- cost_category?: string | undefined;
577
- gas_used?: string | undefined;
578
- }[] | null | undefined;
579
- version: 4;
580
- contracts?: ({
581
- local: string;
582
- } | {
583
- global_hash: string;
584
- } | {
585
- global_account_id: string;
586
- } | null)[] | null | undefined;
587
- } | {
588
- gas_profile?: {
589
- [x: string]: any;
590
- cost?: string | undefined;
591
- cost_category?: string | undefined;
592
- gas_used?: string | undefined;
593
- }[] | null | undefined;
594
- version: 1 | 2 | 3;
595
- } | {
596
- gas_profile?: {
597
- [x: string]: any;
598
- cost?: string | undefined;
599
- cost_category?: string | undefined;
600
- gas_used?: string | undefined;
601
- }[] | null | undefined;
602
- version: number;
603
- } | undefined;
604
- };
605
- block_hash: string;
606
- proof: {
607
- hash: string;
608
- direction: "Left" | "Right";
609
- }[];
610
- };
611
- receipts_outcome: {
612
- id: string;
613
- outcome: {
614
- logs: string[];
615
- receipt_ids: string[];
616
- gas_burnt: number;
617
- tokens_burnt: string;
618
- executor_id: string;
619
- status: "Pending" | "Unknown" | {
620
- SuccessValue: string;
621
- } | {
622
- SuccessReceiptId: string;
623
- } | {
624
- Failure: {
625
- [x: string]: any;
626
- error_message?: string | undefined;
627
- error_type?: string | undefined;
628
- };
629
- };
630
- metadata?: {
631
- gas_profile?: {
632
- [x: string]: any;
633
- cost?: string | undefined;
634
- cost_category?: string | undefined;
635
- gas_used?: string | undefined;
636
- }[] | null | undefined;
637
- version: 4;
638
- contracts?: ({
639
- local: string;
640
- } | {
641
- global_hash: string;
642
- } | {
643
- global_account_id: string;
644
- } | null)[] | null | undefined;
645
- } | {
646
- gas_profile?: {
647
- [x: string]: any;
648
- cost?: string | undefined;
649
- cost_category?: string | undefined;
650
- gas_used?: string | undefined;
651
- }[] | null | undefined;
652
- version: 1 | 2 | 3;
653
- } | {
654
- gas_profile?: {
655
- [x: string]: any;
656
- cost?: string | undefined;
657
- cost_category?: string | undefined;
658
- gas_used?: string | undefined;
659
- }[] | null | undefined;
660
- version: number;
661
- } | undefined;
662
- };
663
- block_hash: string;
664
- proof: {
665
- hash: string;
666
- direction: "Left" | "Right";
667
- }[];
668
- }[];
669
- } | {
670
- final_execution_status: "EXECUTED";
671
- status: "Pending" | "Unknown" | {
672
- SuccessValue: string;
673
- } | {
674
- SuccessReceiptId: string;
675
- } | {
676
- Failure: {
677
- [x: string]: any;
678
- error_message?: string | undefined;
679
- error_type?: string | undefined;
680
- };
681
- };
682
- transaction: {
683
- signer_id: string;
684
- public_key: string;
685
- nonce: number;
686
- receiver_id: string;
687
- actions: ("CreateAccount" | {
688
- CreateAccount: Record<string, never>;
689
- } | {
690
- Transfer: {
691
- deposit: string;
692
- };
693
- } | {
694
- FunctionCall: {
695
- method_name: string;
696
- args: string;
697
- gas: number;
698
- deposit: string;
699
- };
700
- } | {
701
- DeployContract: {
702
- code: string;
703
- };
704
- } | {
705
- DeployGlobalContract: {
706
- code: string;
707
- };
708
- } | {
709
- DeployGlobalContractByAccountId: {
710
- code: string;
711
- };
712
- } | {
713
- Stake: {
714
- stake: string;
715
- public_key: string;
716
- };
717
- } | {
718
- AddKey: {
719
- public_key: string;
720
- access_key: {
721
- nonce: number;
722
- permission: "FullAccess" | {
723
- FunctionCall: {
724
- receiver_id: string;
725
- method_names: string[];
726
- allowance?: string | null | undefined;
727
- };
728
- } | {
729
- GasKeyFunctionCall: {
730
- balance: string;
731
- num_nonces: number;
732
- receiver_id: string;
733
- method_names: string[];
734
- allowance?: string | null | undefined;
735
- };
736
- } | {
737
- GasKeyFullAccess: {
738
- balance: string;
739
- num_nonces: number;
740
- };
741
- };
742
- };
743
- };
744
- } | {
745
- DeleteKey: {
746
- public_key: string;
747
- };
748
- } | {
749
- DeleteAccount: {
750
- beneficiary_id: string;
751
- };
752
- } | {
753
- UseGlobalContract: {
754
- code_hash: string;
755
- };
756
- } | {
757
- UseGlobalContractByAccountId: {
758
- account_id: string;
759
- };
760
- } | {
761
- Delegate: {
762
- delegate_action: {
763
- sender_id: string;
764
- receiver_id: string;
765
- actions: any[];
766
- nonce: number;
767
- max_block_height: number;
768
- public_key: string;
769
- };
770
- signature: string;
771
- };
772
- } | {
773
- DeterministicStateInit: {
774
- deposit: string;
775
- };
776
- } | {
777
- TransferToGasKey: {
778
- public_key: string;
779
- deposit: string;
780
- };
781
- } | {
782
- WithdrawFromGasKey: {
783
- public_key: string;
784
- amount: string;
785
- };
786
- } | {
787
- DelegateV2: {
788
- delegate_action: {
789
- V2: {
790
- sender_id: string;
791
- receiver_id: string;
792
- actions: any[];
793
- nonce: {
794
- Nonce: {
795
- nonce: number;
796
- };
797
- } | {
798
- GasKeyNonce: {
799
- nonce: number;
800
- nonce_index: number;
801
- };
802
- };
803
- max_block_height: number;
804
- public_key: string;
805
- };
806
- };
807
- signature: string;
808
- };
809
- })[];
810
- signature: string;
811
- hash: string;
812
- priority_fee?: number | undefined;
813
- nonce_mode?: "monotonic" | "strict" | null | undefined;
814
- };
815
- transaction_outcome: {
816
- id: string;
817
- outcome: {
818
- logs: string[];
819
- receipt_ids: string[];
820
- gas_burnt: number;
821
- tokens_burnt: string;
822
- executor_id: string;
823
- status: "Pending" | "Unknown" | {
824
- SuccessValue: string;
825
- } | {
826
- SuccessReceiptId: string;
827
- } | {
828
- Failure: {
829
- [x: string]: any;
830
- error_message?: string | undefined;
831
- error_type?: string | undefined;
832
- };
833
- };
834
- metadata?: {
835
- gas_profile?: {
836
- [x: string]: any;
837
- cost?: string | undefined;
838
- cost_category?: string | undefined;
839
- gas_used?: string | undefined;
840
- }[] | null | undefined;
841
- version: 4;
842
- contracts?: ({
843
- local: string;
844
- } | {
845
- global_hash: string;
846
- } | {
847
- global_account_id: string;
848
- } | null)[] | null | undefined;
849
- } | {
850
- gas_profile?: {
851
- [x: string]: any;
852
- cost?: string | undefined;
853
- cost_category?: string | undefined;
854
- gas_used?: string | undefined;
855
- }[] | null | undefined;
856
- version: 1 | 2 | 3;
857
- } | {
858
- gas_profile?: {
859
- [x: string]: any;
860
- cost?: string | undefined;
861
- cost_category?: string | undefined;
862
- gas_used?: string | undefined;
863
- }[] | null | undefined;
864
- version: number;
865
- } | undefined;
866
- };
867
- block_hash: string;
868
- proof: {
869
- hash: string;
870
- direction: "Left" | "Right";
871
- }[];
872
- };
873
- receipts_outcome: {
874
- id: string;
875
- outcome: {
876
- logs: string[];
877
- receipt_ids: string[];
878
- gas_burnt: number;
879
- tokens_burnt: string;
880
- executor_id: string;
881
- status: "Pending" | "Unknown" | {
882
- SuccessValue: string;
883
- } | {
884
- SuccessReceiptId: string;
885
- } | {
886
- Failure: {
887
- [x: string]: any;
888
- error_message?: string | undefined;
889
- error_type?: string | undefined;
890
- };
891
- };
892
- metadata?: {
893
- gas_profile?: {
894
- [x: string]: any;
895
- cost?: string | undefined;
896
- cost_category?: string | undefined;
897
- gas_used?: string | undefined;
898
- }[] | null | undefined;
899
- version: 4;
900
- contracts?: ({
901
- local: string;
902
- } | {
903
- global_hash: string;
904
- } | {
905
- global_account_id: string;
906
- } | null)[] | null | undefined;
907
- } | {
908
- gas_profile?: {
909
- [x: string]: any;
910
- cost?: string | undefined;
911
- cost_category?: string | undefined;
912
- gas_used?: string | undefined;
913
- }[] | null | undefined;
914
- version: 1 | 2 | 3;
915
- } | {
916
- gas_profile?: {
917
- [x: string]: any;
918
- cost?: string | undefined;
919
- cost_category?: string | undefined;
920
- gas_used?: string | undefined;
921
- }[] | null | undefined;
922
- version: number;
923
- } | undefined;
924
- };
925
- block_hash: string;
926
- proof: {
927
- hash: string;
928
- direction: "Left" | "Right";
929
- }[];
930
- }[];
931
- } | {
932
- final_execution_status: "FINAL";
933
- status: "Pending" | "Unknown" | {
934
- SuccessValue: string;
935
- } | {
936
- SuccessReceiptId: string;
937
- } | {
938
- Failure: {
939
- [x: string]: any;
940
- error_message?: string | undefined;
941
- error_type?: string | undefined;
942
- };
943
- };
944
- transaction: {
945
- signer_id: string;
946
- public_key: string;
947
- nonce: number;
948
- receiver_id: string;
949
- actions: ("CreateAccount" | {
950
- CreateAccount: Record<string, never>;
951
- } | {
952
- Transfer: {
953
- deposit: string;
954
- };
955
- } | {
956
- FunctionCall: {
957
- method_name: string;
958
- args: string;
959
- gas: number;
960
- deposit: string;
961
- };
962
- } | {
963
- DeployContract: {
964
- code: string;
965
- };
966
- } | {
967
- DeployGlobalContract: {
968
- code: string;
969
- };
970
- } | {
971
- DeployGlobalContractByAccountId: {
972
- code: string;
973
- };
974
- } | {
975
- Stake: {
976
- stake: string;
977
- public_key: string;
978
- };
979
- } | {
980
- AddKey: {
981
- public_key: string;
982
- access_key: {
983
- nonce: number;
984
- permission: "FullAccess" | {
985
- FunctionCall: {
986
- receiver_id: string;
987
- method_names: string[];
988
- allowance?: string | null | undefined;
989
- };
990
- } | {
991
- GasKeyFunctionCall: {
992
- balance: string;
993
- num_nonces: number;
994
- receiver_id: string;
995
- method_names: string[];
996
- allowance?: string | null | undefined;
997
- };
998
- } | {
999
- GasKeyFullAccess: {
1000
- balance: string;
1001
- num_nonces: number;
1002
- };
1003
- };
1004
- };
1005
- };
1006
- } | {
1007
- DeleteKey: {
1008
- public_key: string;
1009
- };
1010
- } | {
1011
- DeleteAccount: {
1012
- beneficiary_id: string;
1013
- };
1014
- } | {
1015
- UseGlobalContract: {
1016
- code_hash: string;
1017
- };
1018
- } | {
1019
- UseGlobalContractByAccountId: {
1020
- account_id: string;
1021
- };
1022
- } | {
1023
- Delegate: {
1024
- delegate_action: {
1025
- sender_id: string;
1026
- receiver_id: string;
1027
- actions: any[];
1028
- nonce: number;
1029
- max_block_height: number;
1030
- public_key: string;
1031
- };
1032
- signature: string;
1033
- };
1034
- } | {
1035
- DeterministicStateInit: {
1036
- deposit: string;
1037
- };
1038
- } | {
1039
- TransferToGasKey: {
1040
- public_key: string;
1041
- deposit: string;
1042
- };
1043
- } | {
1044
- WithdrawFromGasKey: {
1045
- public_key: string;
1046
- amount: string;
1047
- };
1048
- } | {
1049
- DelegateV2: {
1050
- delegate_action: {
1051
- V2: {
1052
- sender_id: string;
1053
- receiver_id: string;
1054
- actions: any[];
1055
- nonce: {
1056
- Nonce: {
1057
- nonce: number;
1058
- };
1059
- } | {
1060
- GasKeyNonce: {
1061
- nonce: number;
1062
- nonce_index: number;
1063
- };
1064
- };
1065
- max_block_height: number;
1066
- public_key: string;
1067
- };
1068
- };
1069
- signature: string;
1070
- };
1071
- })[];
1072
- signature: string;
1073
- hash: string;
1074
- priority_fee?: number | undefined;
1075
- nonce_mode?: "monotonic" | "strict" | null | undefined;
1076
- };
1077
- transaction_outcome: {
1078
- id: string;
1079
- outcome: {
1080
- logs: string[];
1081
- receipt_ids: string[];
1082
- gas_burnt: number;
1083
- tokens_burnt: string;
1084
- executor_id: string;
1085
- status: "Pending" | "Unknown" | {
1086
- SuccessValue: string;
1087
- } | {
1088
- SuccessReceiptId: string;
1089
- } | {
1090
- Failure: {
1091
- [x: string]: any;
1092
- error_message?: string | undefined;
1093
- error_type?: string | undefined;
1094
- };
1095
- };
1096
- metadata?: {
1097
- gas_profile?: {
1098
- [x: string]: any;
1099
- cost?: string | undefined;
1100
- cost_category?: string | undefined;
1101
- gas_used?: string | undefined;
1102
- }[] | null | undefined;
1103
- version: 4;
1104
- contracts?: ({
1105
- local: string;
1106
- } | {
1107
- global_hash: string;
1108
- } | {
1109
- global_account_id: string;
1110
- } | null)[] | null | undefined;
1111
- } | {
1112
- gas_profile?: {
1113
- [x: string]: any;
1114
- cost?: string | undefined;
1115
- cost_category?: string | undefined;
1116
- gas_used?: string | undefined;
1117
- }[] | null | undefined;
1118
- version: 1 | 2 | 3;
1119
- } | {
1120
- gas_profile?: {
1121
- [x: string]: any;
1122
- cost?: string | undefined;
1123
- cost_category?: string | undefined;
1124
- gas_used?: string | undefined;
1125
- }[] | null | undefined;
1126
- version: number;
1127
- } | undefined;
1128
- };
1129
- block_hash: string;
1130
- proof: {
1131
- hash: string;
1132
- direction: "Left" | "Right";
1133
- }[];
1134
- };
1135
- receipts_outcome: {
1136
- id: string;
1137
- outcome: {
1138
- logs: string[];
1139
- receipt_ids: string[];
1140
- gas_burnt: number;
1141
- tokens_burnt: string;
1142
- executor_id: string;
1143
- status: "Pending" | "Unknown" | {
1144
- SuccessValue: string;
1145
- } | {
1146
- SuccessReceiptId: string;
1147
- } | {
1148
- Failure: {
1149
- [x: string]: any;
1150
- error_message?: string | undefined;
1151
- error_type?: string | undefined;
1152
- };
1153
- };
1154
- metadata?: {
1155
- gas_profile?: {
1156
- [x: string]: any;
1157
- cost?: string | undefined;
1158
- cost_category?: string | undefined;
1159
- gas_used?: string | undefined;
1160
- }[] | null | undefined;
1161
- version: 4;
1162
- contracts?: ({
1163
- local: string;
1164
- } | {
1165
- global_hash: string;
1166
- } | {
1167
- global_account_id: string;
1168
- } | null)[] | null | undefined;
1169
- } | {
1170
- gas_profile?: {
1171
- [x: string]: any;
1172
- cost?: string | undefined;
1173
- cost_category?: string | undefined;
1174
- gas_used?: string | undefined;
1175
- }[] | null | undefined;
1176
- version: 1 | 2 | 3;
1177
- } | {
1178
- gas_profile?: {
1179
- [x: string]: any;
1180
- cost?: string | undefined;
1181
- cost_category?: string | undefined;
1182
- gas_used?: string | undefined;
1183
- }[] | null | undefined;
1184
- version: number;
1185
- } | undefined;
1186
- };
1187
- block_hash: string;
1188
- proof: {
1189
- hash: string;
1190
- direction: "Left" | "Right";
1191
- }[];
1192
- }[];
1193
- }>;
1194
- //# sourceMappingURL=add_key_near.d.ts.map