@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.
- package/dist/fun/ft/ft_balance_of_fun_json.d.ts +4 -0
- package/dist/fun/ft/ft_balance_of_fun_json.d.ts.map +1 -0
- package/dist/fun/ft/ft_balance_of_fun_json.js +9 -0
- package/dist/fun/ft/ft_balance_of_fun_json.js.map +1 -0
- package/dist/fun/ft/ft_metadata_fun_json.d.ts +4 -0
- package/dist/fun/ft/ft_metadata_fun_json.d.ts.map +1 -0
- package/dist/fun/ft/ft_metadata_fun_json.js +10 -0
- package/dist/fun/ft/ft_metadata_fun_json.js.map +1 -0
- package/dist/fun/ft/ft_storage_deposit_fun_json.d.ts +3 -0
- package/dist/fun/ft/ft_storage_deposit_fun_json.d.ts.map +1 -0
- package/dist/fun/ft/ft_storage_deposit_fun_json.js +9 -0
- package/dist/fun/ft/ft_storage_deposit_fun_json.js.map +1 -0
- package/dist/fun/ft/ft_total_supply_fun_json.d.ts +3 -0
- package/dist/fun/ft/ft_total_supply_fun_json.d.ts.map +1 -0
- package/dist/fun/ft/ft_total_supply_fun_json.js +9 -0
- package/dist/fun/ft/ft_total_supply_fun_json.js.map +1 -0
- package/dist/fun/ft/ft_transfer_call_fun_json.d.ts +4 -0
- package/dist/fun/ft/ft_transfer_call_fun_json.d.ts.map +1 -0
- package/dist/fun/ft/ft_transfer_call_fun_json.js +9 -0
- package/dist/fun/ft/ft_transfer_call_fun_json.js.map +1 -0
- package/dist/fun/ft/ft_transfer_fun_json.d.ts +4 -0
- package/dist/fun/ft/ft_transfer_fun_json.d.ts.map +1 -0
- package/dist/fun/ft/ft_transfer_fun_json.js +9 -0
- package/dist/fun/ft/ft_transfer_fun_json.js.map +1 -0
- package/dist/fun/greeting/greeting_get_greeting_fun_json.d.ts +3 -0
- package/dist/fun/greeting/greeting_get_greeting_fun_json.d.ts.map +1 -0
- package/dist/fun/greeting/greeting_get_greeting_fun_json.js +9 -0
- package/dist/fun/greeting/greeting_get_greeting_fun_json.js.map +1 -0
- package/dist/fun/greeting/greeting_set_greeting_fun_json.d.ts +4 -0
- package/dist/fun/greeting/greeting_set_greeting_fun_json.d.ts.map +1 -0
- package/dist/fun/greeting/greeting_set_greeting_fun_json.js +9 -0
- package/dist/fun/greeting/greeting_set_greeting_fun_json.js.map +1 -0
- package/dist/fun/near/near_add_key_fun_json.d.ts +4 -0
- package/dist/fun/near/near_add_key_fun_json.d.ts.map +1 -0
- package/dist/fun/near/near_add_key_fun_json.js +11 -0
- package/dist/fun/near/near_add_key_fun_json.js.map +1 -0
- package/dist/fun/near/near_create_account_fun_json.d.ts +3 -0
- package/dist/fun/near/near_create_account_fun_json.d.ts.map +1 -0
- package/dist/fun/near/near_create_account_fun_json.js +9 -0
- package/dist/fun/near/near_create_account_fun_json.js.map +1 -0
- package/dist/fun/near/near_delete_account_fun_json.d.ts +4 -0
- package/dist/fun/near/near_delete_account_fun_json.d.ts.map +1 -0
- package/dist/fun/near/near_delete_account_fun_json.js +11 -0
- package/dist/fun/near/near_delete_account_fun_json.js.map +1 -0
- package/dist/fun/near/near_delete_key_fun_json.d.ts +4 -0
- package/dist/fun/near/near_delete_key_fun_json.d.ts.map +1 -0
- package/dist/fun/near/near_delete_key_fun_json.js +11 -0
- package/dist/fun/near/near_delete_key_fun_json.js.map +1 -0
- package/dist/fun/pool/pool_deposit_and_stake_fun_json.d.ts +4 -0
- package/dist/fun/pool/pool_deposit_and_stake_fun_json.d.ts.map +1 -0
- package/dist/fun/pool/pool_deposit_and_stake_fun_json.js +9 -0
- package/dist/fun/pool/pool_deposit_and_stake_fun_json.js.map +1 -0
- package/dist/fun/pool/pool_get_accounts_fun_json.d.ts +3 -0
- package/dist/fun/pool/pool_get_accounts_fun_json.d.ts.map +1 -0
- package/dist/fun/pool/pool_get_accounts_fun_json.js +9 -0
- package/dist/fun/pool/pool_get_accounts_fun_json.js.map +1 -0
- package/dist/fun/pool/pool_get_number_of_accounts_fun_json.d.ts +3 -0
- package/dist/fun/pool/pool_get_number_of_accounts_fun_json.d.ts.map +1 -0
- package/dist/fun/pool/pool_get_number_of_accounts_fun_json.js +9 -0
- package/dist/fun/pool/pool_get_number_of_accounts_fun_json.js.map +1 -0
- package/dist/fun/pool/pool_ping_fun_json.d.ts +3 -0
- package/dist/fun/pool/pool_ping_fun_json.d.ts.map +1 -0
- package/dist/fun/pool/pool_ping_fun_json.js +11 -0
- package/dist/fun/pool/pool_ping_fun_json.js.map +1 -0
- package/dist/fun/pumpopoly_world/pumpopoly_world_elite_move_fun_json.d.ts +3 -0
- package/dist/fun/pumpopoly_world/pumpopoly_world_elite_move_fun_json.d.ts.map +1 -0
- package/dist/fun/pumpopoly_world/pumpopoly_world_elite_move_fun_json.js +9 -0
- package/dist/fun/pumpopoly_world/pumpopoly_world_elite_move_fun_json.js.map +1 -0
- package/dist/fun/pumpopoly_world/pumpopoly_world_move_player_fun_json.d.ts +3 -0
- package/dist/fun/pumpopoly_world/pumpopoly_world_move_player_fun_json.d.ts.map +1 -0
- package/dist/fun/pumpopoly_world/pumpopoly_world_move_player_fun_json.js +9 -0
- package/dist/fun/pumpopoly_world/pumpopoly_world_move_player_fun_json.js.map +1 -0
- package/dist/fun/rhea_ammv2/rhea_ammv2_add_simple_pool_fun_json.d.ts +4 -0
- package/dist/fun/rhea_ammv2/rhea_ammv2_add_simple_pool_fun_json.d.ts.map +1 -0
- package/dist/fun/rhea_ammv2/rhea_ammv2_add_simple_pool_fun_json.js +9 -0
- package/dist/fun/rhea_ammv2/rhea_ammv2_add_simple_pool_fun_json.js.map +1 -0
- package/dist/fun/rhea_ammv2/rhea_ammv2_get_deposits_fun_json.d.ts +4 -0
- package/dist/fun/rhea_ammv2/rhea_ammv2_get_deposits_fun_json.d.ts.map +1 -0
- package/dist/fun/rhea_ammv2/rhea_ammv2_get_deposits_fun_json.js +9 -0
- package/dist/fun/rhea_ammv2/rhea_ammv2_get_deposits_fun_json.js.map +1 -0
- package/dist/fun/rhea_ammv2/rhea_ammv2_get_number_of_pools_fun_json.d.ts +3 -0
- package/dist/fun/rhea_ammv2/rhea_ammv2_get_number_of_pools_fun_json.d.ts.map +1 -0
- package/dist/fun/rhea_ammv2/rhea_ammv2_get_number_of_pools_fun_json.js +9 -0
- package/dist/fun/rhea_ammv2/rhea_ammv2_get_number_of_pools_fun_json.js.map +1 -0
- package/dist/fun/rhea_ammv2/rhea_ammv2_get_pool_fun_json.d.ts +4 -0
- package/dist/fun/rhea_ammv2/rhea_ammv2_get_pool_fun_json.d.ts.map +1 -0
- package/dist/fun/rhea_ammv2/rhea_ammv2_get_pool_fun_json.js +9 -0
- package/dist/fun/rhea_ammv2/rhea_ammv2_get_pool_fun_json.js.map +1 -0
- package/dist/fun/rhea_ammv2/rhea_ammv2_get_pools_fun_json.d.ts +4 -0
- package/dist/fun/rhea_ammv2/rhea_ammv2_get_pools_fun_json.d.ts.map +1 -0
- package/dist/fun/rhea_ammv2/rhea_ammv2_get_pools_fun_json.js +9 -0
- package/dist/fun/rhea_ammv2/rhea_ammv2_get_pools_fun_json.js.map +1 -0
- package/dist/fun/rhea_ammv2/rhea_ammv2_get_return_fun_json.d.ts +4 -0
- package/dist/fun/rhea_ammv2/rhea_ammv2_get_return_fun_json.d.ts.map +1 -0
- package/dist/fun/rhea_ammv2/rhea_ammv2_get_return_fun_json.js +14 -0
- package/dist/fun/rhea_ammv2/rhea_ammv2_get_return_fun_json.js.map +1 -0
- package/dist/fun/rhea_ammv2/rhea_ammv2_storage_balance_of_fun_json.d.ts +4 -0
- package/dist/fun/rhea_ammv2/rhea_ammv2_storage_balance_of_fun_json.d.ts.map +1 -0
- package/dist/fun/rhea_ammv2/rhea_ammv2_storage_balance_of_fun_json.js +9 -0
- package/dist/fun/rhea_ammv2/rhea_ammv2_storage_balance_of_fun_json.js.map +1 -0
- package/dist/fun/rhea_ammv2/rhea_ammv2_storage_deposit_fun_json.d.ts +4 -0
- package/dist/fun/rhea_ammv2/rhea_ammv2_storage_deposit_fun_json.d.ts.map +1 -0
- package/dist/fun/rhea_ammv2/rhea_ammv2_storage_deposit_fun_json.js +9 -0
- package/dist/fun/rhea_ammv2/rhea_ammv2_storage_deposit_fun_json.js.map +1 -0
- package/dist/fun/rhea_ammv2/rhea_ammv2_swap_fun_json.d.ts +4 -0
- package/dist/fun/rhea_ammv2/rhea_ammv2_swap_fun_json.d.ts.map +1 -0
- package/dist/fun/rhea_ammv2/rhea_ammv2_swap_fun_json.js +9 -0
- package/dist/fun/rhea_ammv2/rhea_ammv2_swap_fun_json.js.map +1 -0
- package/dist/fun/rhea_ammv2/rhea_ammv2_withdraw_fun_json.d.ts +4 -0
- package/dist/fun/rhea_ammv2/rhea_ammv2_withdraw_fun_json.d.ts.map +1 -0
- package/dist/fun/rhea_ammv2/rhea_ammv2_withdraw_fun_json.js +14 -0
- package/dist/fun/rhea_ammv2/rhea_ammv2_withdraw_fun_json.js.map +1 -0
- package/dist/fun/wrap_near/wrap_near_deposit_fun_json.d.ts +4 -0
- package/dist/fun/wrap_near/wrap_near_deposit_fun_json.d.ts.map +1 -0
- package/dist/fun/wrap_near/wrap_near_deposit_fun_json.js +9 -0
- package/dist/fun/wrap_near/wrap_near_deposit_fun_json.js.map +1 -0
- package/dist/fun/wrap_near/wrap_near_withdraw_fun_json.d.ts +3 -0
- package/dist/fun/wrap_near/wrap_near_withdraw_fun_json.d.ts.map +1 -0
- package/dist/fun/wrap_near/wrap_near_withdraw_fun_json.js +9 -0
- package/dist/fun/wrap_near/wrap_near_withdraw_fun_json.js.map +1 -0
- package/dist/index.d.ts +39 -16
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +55 -28
- package/dist/index.js.map +1 -1
- package/dist/lib/args/ft_args.d.ts +7 -0
- package/dist/lib/args/ft_args.d.ts.map +1 -0
- package/dist/lib/args/ft_args.js +10 -0
- package/dist/lib/args/ft_args.js.map +1 -0
- package/dist/lib/args/greeting_args.d.ts +4 -0
- package/dist/lib/args/greeting_args.d.ts.map +1 -0
- package/dist/lib/args/greeting_args.js +10 -0
- package/dist/lib/args/greeting_args.js.map +1 -0
- package/dist/lib/{contract_rhea_args.d.ts → args/rhea_ammv2_args.d.ts} +6 -6
- package/dist/lib/args/rhea_ammv2_args.d.ts.map +1 -0
- package/dist/lib/args/rhea_ammv2_args.js +11 -0
- package/dist/lib/args/rhea_ammv2_args.js.map +1 -0
- package/dist/lib/const_id/contract_id_const_type.d.ts +6 -0
- package/dist/lib/const_id/contract_id_const_type.d.ts.map +1 -0
- package/dist/lib/const_id/contract_id_const_type.js +8 -0
- package/dist/lib/const_id/contract_id_const_type.js.map +1 -0
- package/dist/lib/const_id/greeting_contract_id_const.d.ts +4 -0
- package/dist/lib/const_id/greeting_contract_id_const.d.ts.map +1 -0
- package/dist/lib/const_id/greeting_contract_id_const.js +13 -0
- package/dist/lib/const_id/greeting_contract_id_const.js.map +1 -0
- package/dist/lib/const_id/index.d.ts +7 -0
- package/dist/lib/const_id/index.d.ts.map +1 -0
- package/dist/lib/const_id/index.js +22 -0
- package/dist/lib/const_id/index.js.map +1 -0
- package/dist/lib/const_id/near_tld_contract_id_const.d.ts +4 -0
- package/dist/lib/const_id/near_tld_contract_id_const.d.ts.map +1 -0
- package/dist/lib/const_id/near_tld_contract_id_const.js +13 -0
- package/dist/lib/const_id/near_tld_contract_id_const.js.map +1 -0
- package/dist/lib/const_id/pumpopoly_world_contract_id_const.d.ts +4 -0
- package/dist/lib/const_id/pumpopoly_world_contract_id_const.d.ts.map +1 -0
- package/dist/lib/const_id/pumpopoly_world_contract_id_const.js +13 -0
- package/dist/lib/const_id/pumpopoly_world_contract_id_const.js.map +1 -0
- package/dist/lib/const_id/rhea_ammv2_contract_id_const.d.ts +4 -0
- package/dist/lib/const_id/rhea_ammv2_contract_id_const.d.ts.map +1 -0
- package/dist/lib/const_id/rhea_ammv2_contract_id_const.js +13 -0
- package/dist/lib/const_id/rhea_ammv2_contract_id_const.js.map +1 -0
- package/dist/lib/const_id/wrap_near_contract_id_const.d.ts +4 -0
- package/dist/lib/const_id/wrap_near_contract_id_const.d.ts.map +1 -0
- package/dist/lib/const_id/wrap_near_contract_id_const.js +13 -0
- package/dist/lib/const_id/wrap_near_contract_id_const.js.map +1 -0
- package/dist/lib/methods/index.d.ts +8 -0
- package/dist/lib/methods/index.d.ts.map +1 -0
- package/dist/lib/methods/index.js +16 -0
- package/dist/lib/methods/index.js.map +1 -0
- package/dist/lib/methods/methods_ft.d.ts +15 -0
- package/dist/lib/methods/methods_ft.d.ts.map +1 -0
- package/dist/lib/methods/methods_ft.js +22 -0
- package/dist/lib/methods/methods_ft.js.map +1 -0
- package/dist/lib/methods/methods_greeting.d.ts +5 -0
- package/dist/lib/methods/methods_greeting.d.ts.map +1 -0
- package/dist/lib/methods/methods_greeting.js +12 -0
- package/dist/lib/methods/methods_greeting.js.map +1 -0
- package/dist/lib/methods/methods_near.d.ts +14 -0
- package/dist/lib/methods/methods_near.d.ts.map +1 -0
- package/dist/lib/methods/methods_near.js +24 -0
- package/dist/lib/methods/methods_near.js.map +1 -0
- package/dist/lib/methods/methods_pool.d.ts +55 -0
- package/dist/lib/methods/methods_pool.d.ts.map +1 -0
- package/dist/lib/methods/methods_pool.js +63 -0
- package/dist/lib/methods/methods_pool.js.map +1 -0
- package/dist/lib/methods/methods_pumpopoly_world.d.ts +37 -0
- package/dist/lib/methods/methods_pumpopoly_world.d.ts.map +1 -0
- package/dist/lib/methods/methods_pumpopoly_world.js +45 -0
- package/dist/lib/methods/methods_pumpopoly_world.js.map +1 -0
- package/dist/lib/methods/methods_rhea_ammv2.d.ts +164 -0
- package/dist/lib/methods/methods_rhea_ammv2.d.ts.map +1 -0
- package/dist/lib/methods/methods_rhea_ammv2.js +171 -0
- package/dist/lib/methods/methods_rhea_ammv2.js.map +1 -0
- package/dist/lib/methods/methods_wrap_near.d.ts +18 -0
- package/dist/lib/methods/methods_wrap_near.d.ts.map +1 -0
- package/dist/lib/methods/methods_wrap_near.js +26 -0
- package/dist/lib/methods/methods_wrap_near.js.map +1 -0
- package/dist/types/{ft_metadata_types.d.ts → ft_metadata_get_response_type.d.ts} +1 -1
- package/dist/types/ft_metadata_get_response_type.d.ts.map +1 -0
- package/dist/types/{ft_metadata_types.js → ft_metadata_get_response_type.js} +1 -1
- package/dist/types/ft_metadata_get_response_type.js.map +1 -0
- package/dist/types/rhea_ammv2_get_deposits_type.d.ts +4 -0
- package/dist/types/rhea_ammv2_get_deposits_type.d.ts.map +1 -0
- package/dist/types/rhea_ammv2_get_deposits_type.js +15 -0
- package/dist/types/rhea_ammv2_get_deposits_type.js.map +1 -0
- package/dist/types/{rhea_ref_types.d.ts → rhea_ammv2_get_pool_type.d.ts} +4 -11
- package/dist/types/rhea_ammv2_get_pool_type.d.ts.map +1 -0
- package/dist/types/rhea_ammv2_get_pool_type.js +13 -0
- package/dist/types/rhea_ammv2_get_pool_type.js.map +1 -0
- package/dist/types/storage_balance_of_response_type.d.ts +5 -0
- package/dist/types/storage_balance_of_response_type.d.ts.map +1 -0
- package/dist/types/storage_balance_of_response_type.js +13 -0
- package/dist/types/storage_balance_of_response_type.js.map +1 -0
- package/package.json +5 -10
- package/dist/fun/ft/ft_fun.d.ts +0 -3583
- package/dist/fun/ft/ft_fun.d.ts.map +0 -1
- package/dist/fun/ft/ft_fun.js +0 -54
- package/dist/fun/ft/ft_fun.js.map +0 -1
- package/dist/fun/greeting/greeting_get_fun.d.ts +0 -3
- package/dist/fun/greeting/greeting_get_fun.d.ts.map +0 -1
- package/dist/fun/greeting/greeting_get_fun.js +0 -9
- package/dist/fun/greeting/greeting_get_fun.js.map +0 -1
- package/dist/fun/greeting/greeting_set_fun.d.ts +0 -1195
- package/dist/fun/greeting/greeting_set_fun.d.ts.map +0 -1
- package/dist/fun/greeting/greeting_set_fun.js +0 -9
- package/dist/fun/greeting/greeting_set_fun.js.map +0 -1
- package/dist/fun/near/add_key_near.d.ts +0 -1194
- package/dist/fun/near/add_key_near.d.ts.map +0 -1
- package/dist/fun/near/add_key_near.js +0 -11
- package/dist/fun/near/add_key_near.js.map +0 -1
- package/dist/fun/near/create_account_near.d.ts +0 -1194
- package/dist/fun/near/create_account_near.d.ts.map +0 -1
- package/dist/fun/near/create_account_near.js +0 -10
- package/dist/fun/near/create_account_near.js.map +0 -1
- package/dist/fun/near/delete_account_fun.d.ts +0 -1194
- package/dist/fun/near/delete_account_fun.d.ts.map +0 -1
- package/dist/fun/near/delete_account_fun.js +0 -11
- package/dist/fun/near/delete_account_fun.js.map +0 -1
- package/dist/fun/near/delete_key_near.d.ts +0 -1194
- package/dist/fun/near/delete_key_near.d.ts.map +0 -1
- package/dist/fun/near/delete_key_near.js +0 -11
- package/dist/fun/near/delete_key_near.js.map +0 -1
- package/dist/fun/near/wrap_near.d.ts +0 -2387
- package/dist/fun/near/wrap_near.d.ts.map +0 -1
- package/dist/fun/near/wrap_near.js +0 -16
- package/dist/fun/near/wrap_near.js.map +0 -1
- package/dist/fun/pool/pool_fun.d.ts +0 -2390
- package/dist/fun/pool/pool_fun.d.ts.map +0 -1
- package/dist/fun/pool/pool_fun.js +0 -37
- package/dist/fun/pool/pool_fun.js.map +0 -1
- package/dist/fun/pumpopoly/pumpopoly_world_fun.d.ts +0 -2386
- package/dist/fun/pumpopoly/pumpopoly_world_fun.d.ts.map +0 -1
- package/dist/fun/pumpopoly/pumpopoly_world_fun.js +0 -20
- package/dist/fun/pumpopoly/pumpopoly_world_fun.js.map +0 -1
- package/dist/fun/rhea/rhea_call_fun.d.ts +0 -4772
- package/dist/fun/rhea/rhea_call_fun.d.ts.map +0 -1
- package/dist/fun/rhea/rhea_call_fun.js +0 -43
- package/dist/fun/rhea/rhea_call_fun.js.map +0 -1
- package/dist/fun/rhea/rhea_view_fun.d.ts +0 -10
- package/dist/fun/rhea/rhea_view_fun.d.ts.map +0 -1
- package/dist/fun/rhea/rhea_view_fun.js +0 -56
- package/dist/fun/rhea/rhea_view_fun.js.map +0 -1
- package/dist/lib/contract_ft_args.d.ts +0 -7
- package/dist/lib/contract_ft_args.d.ts.map +0 -1
- package/dist/lib/contract_ft_args.js +0 -3
- package/dist/lib/contract_ft_args.js.map +0 -1
- package/dist/lib/contract_greeting_args.d.ts +0 -4
- package/dist/lib/contract_greeting_args.d.ts.map +0 -1
- package/dist/lib/contract_greeting_args.js +0 -3
- package/dist/lib/contract_greeting_args.js.map +0 -1
- package/dist/lib/contract_greeting_const.d.ts +0 -5
- package/dist/lib/contract_greeting_const.d.ts.map +0 -1
- package/dist/lib/contract_greeting_const.js +0 -8
- package/dist/lib/contract_greeting_const.js.map +0 -1
- package/dist/lib/contract_rhea_args.d.ts.map +0 -1
- package/dist/lib/contract_rhea_args.js +0 -11
- package/dist/lib/contract_rhea_args.js.map +0 -1
- package/dist/types/ft_metadata_types.d.ts.map +0 -1
- package/dist/types/ft_metadata_types.js.map +0 -1
- package/dist/types/rhea_ref_types.d.ts.map +0 -1
- package/dist/types/rhea_ref_types.js +0 -15
- package/dist/types/rhea_ref_types.js.map +0 -1
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { rhea_ammv2_methods_const } from "../../lib/methods/methods_rhea_ammv2";
|
|
2
|
+
// =================================================
|
|
3
|
+
export async function rhea_ammv2_get_pools_fun_json(near, rhea_ammv2_contractId, from_index, limit) {
|
|
4
|
+
const result = await near.view(rhea_ammv2_contractId, rhea_ammv2_methods_const.get_pools, { from_index, limit });
|
|
5
|
+
return result;
|
|
6
|
+
}
|
|
7
|
+
// =================================================
|
|
8
|
+
// copyright 2026 by sleet.near
|
|
9
|
+
//# sourceMappingURL=rhea_ammv2_get_pools_fun_json.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rhea_ammv2_get_pools_fun_json.js","sourceRoot":"","sources":["../../../src/fun/rhea_ammv2/rhea_ammv2_get_pools_fun_json.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,wBAAwB,EAAE,MAAM,sCAAsC,CAAC;AAEhF,oDAAoD;AACpD,MAAM,CAAC,KAAK,UAAU,6BAA6B,CACjD,IAAU,EACV,qBAA6B,EAC7B,UAAyC,EACzC,KAA+B;IAE/B,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,IAAI,CAC5B,qBAAqB,EACrB,wBAAwB,CAAC,SAAS,EAClC,EAAE,UAAU,EAAE,KAAK,EAAE,CACtB,CAAC;IACF,OAAO,MAAM,CAAC;AAChB,CAAC;AACD,oDAAoD;AACpD,+BAA+B"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { Near } from "near-kit";
|
|
2
|
+
import type { rhea_ammv2_args } from "../../lib/args/rhea_ammv2_args";
|
|
3
|
+
export declare function rhea_ammv2_get_return_fun_json(near: Near, rhea_ammv2_contractId: string, pool_id: rhea_ammv2_args["pool_id"], token_in: rhea_ammv2_args["token_in"], amount_in: rhea_ammv2_args["amount_in"], token_out: rhea_ammv2_args["token_out"]): Promise<string>;
|
|
4
|
+
//# sourceMappingURL=rhea_ammv2_get_return_fun_json.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rhea_ammv2_get_return_fun_json.d.ts","sourceRoot":"","sources":["../../../src/fun/rhea_ammv2/rhea_ammv2_get_return_fun_json.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AAErC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAEtE,wBAAsB,8BAA8B,CAClD,IAAI,EAAE,IAAI,EACV,qBAAqB,EAAE,MAAM,EAC7B,OAAO,EAAE,eAAe,CAAC,SAAS,CAAC,EACnC,QAAQ,EAAE,eAAe,CAAC,UAAU,CAAC,EACrC,SAAS,EAAE,eAAe,CAAC,WAAW,CAAC,EACvC,SAAS,EAAE,eAAe,CAAC,WAAW,CAAC,GACtC,OAAO,CAAC,MAAM,CAAC,CAYjB"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { rhea_ammv2_methods_const } from "../../lib/methods/methods_rhea_ammv2";
|
|
2
|
+
// =================================================
|
|
3
|
+
export async function rhea_ammv2_get_return_fun_json(near, rhea_ammv2_contractId, pool_id, token_in, amount_in, token_out) {
|
|
4
|
+
const result = await near.view(rhea_ammv2_contractId, rhea_ammv2_methods_const.get_return, {
|
|
5
|
+
pool_id,
|
|
6
|
+
token_in,
|
|
7
|
+
amount_in,
|
|
8
|
+
token_out,
|
|
9
|
+
});
|
|
10
|
+
return result;
|
|
11
|
+
}
|
|
12
|
+
// =================================================
|
|
13
|
+
// copyright 2026 by sleet.near
|
|
14
|
+
//# sourceMappingURL=rhea_ammv2_get_return_fun_json.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rhea_ammv2_get_return_fun_json.js","sourceRoot":"","sources":["../../../src/fun/rhea_ammv2/rhea_ammv2_get_return_fun_json.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,wBAAwB,EAAE,MAAM,sCAAsC,CAAC;AAEhF,oDAAoD;AACpD,MAAM,CAAC,KAAK,UAAU,8BAA8B,CAClD,IAAU,EACV,qBAA6B,EAC7B,OAAmC,EACnC,QAAqC,EACrC,SAAuC,EACvC,SAAuC;IAEvC,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,IAAI,CAC5B,qBAAqB,EACrB,wBAAwB,CAAC,UAAU,EACnC;QACE,OAAO;QACP,QAAQ;QACR,SAAS;QACT,SAAS;KACV,CACF,CAAC;IACF,OAAO,MAAgB,CAAC;AAC1B,CAAC;AACD,oDAAoD;AACpD,+BAA+B"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { Near } from "near-kit";
|
|
2
|
+
import type { rhea_ammv2_args } from "../../lib/args/rhea_ammv2_args";
|
|
3
|
+
export declare function rhea_ammv2_storage_balance_of_fun_json(near: Near, rhea_ammv2_contractId: string, account_id: rhea_ammv2_args["account_id"]): Promise<unknown>;
|
|
4
|
+
//# sourceMappingURL=rhea_ammv2_storage_balance_of_fun_json.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rhea_ammv2_storage_balance_of_fun_json.d.ts","sourceRoot":"","sources":["../../../src/fun/rhea_ammv2/rhea_ammv2_storage_balance_of_fun_json.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AAErC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAEtE,wBAAsB,sCAAsC,CAC1D,IAAI,EAAE,IAAI,EACV,qBAAqB,EAAE,MAAM,EAC7B,UAAU,EAAE,eAAe,CAAC,YAAY,CAAC,GACxC,OAAO,CAAC,OAAO,CAAC,CAOlB"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { rhea_ammv2_methods_const } from "../../lib/methods/methods_rhea_ammv2";
|
|
2
|
+
// =================================================
|
|
3
|
+
export async function rhea_ammv2_storage_balance_of_fun_json(near, rhea_ammv2_contractId, account_id) {
|
|
4
|
+
const result = await near.view(rhea_ammv2_contractId, rhea_ammv2_methods_const.storage_balance_of, { account_id });
|
|
5
|
+
return result;
|
|
6
|
+
}
|
|
7
|
+
// =================================================
|
|
8
|
+
// copyright 2026 by sleet.near
|
|
9
|
+
//# sourceMappingURL=rhea_ammv2_storage_balance_of_fun_json.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rhea_ammv2_storage_balance_of_fun_json.js","sourceRoot":"","sources":["../../../src/fun/rhea_ammv2/rhea_ammv2_storage_balance_of_fun_json.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,wBAAwB,EAAE,MAAM,sCAAsC,CAAC;AAEhF,oDAAoD;AACpD,MAAM,CAAC,KAAK,UAAU,sCAAsC,CAC1D,IAAU,EACV,qBAA6B,EAC7B,UAAyC;IAEzC,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,IAAI,CAC5B,qBAAqB,EACrB,wBAAwB,CAAC,kBAAkB,EAC3C,EAAE,UAAU,EAAE,CACf,CAAC;IACF,OAAO,MAAM,CAAC;AAChB,CAAC;AACD,oDAAoD;AACpD,+BAA+B"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { FinalExecutionOutcome, Near } from "near-kit";
|
|
2
|
+
import type { AmountInput } from "../../types/AmountInput";
|
|
3
|
+
export declare function rhea_ammv2_storage_deposit_fun_json(near: Near, rhea_ammv2_contractId: string, attachedDeposit: AmountInput): Promise<FinalExecutionOutcome>;
|
|
4
|
+
//# sourceMappingURL=rhea_ammv2_storage_deposit_fun_json.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rhea_ammv2_storage_deposit_fun_json.d.ts","sourceRoot":"","sources":["../../../src/fun/rhea_ammv2/rhea_ammv2_storage_deposit_fun_json.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,qBAAqB,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AAE5D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAE3D,wBAAsB,mCAAmC,CACvD,IAAI,EAAE,IAAI,EACV,qBAAqB,EAAE,MAAM,EAC7B,eAAe,EAAE,WAAW,GAC3B,OAAO,CAAC,qBAAqB,CAAC,CAQhC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { rhea_ammv2_methods_const } from "../../lib/methods/methods_rhea_ammv2";
|
|
2
|
+
// =================================================
|
|
3
|
+
export async function rhea_ammv2_storage_deposit_fun_json(near, rhea_ammv2_contractId, attachedDeposit) {
|
|
4
|
+
const result = await near.call(rhea_ammv2_contractId, rhea_ammv2_methods_const.storage_deposit, {}, { attachedDeposit });
|
|
5
|
+
return result;
|
|
6
|
+
}
|
|
7
|
+
// =================================================
|
|
8
|
+
// copyright 2026 by sleet.near
|
|
9
|
+
//# sourceMappingURL=rhea_ammv2_storage_deposit_fun_json.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rhea_ammv2_storage_deposit_fun_json.js","sourceRoot":"","sources":["../../../src/fun/rhea_ammv2/rhea_ammv2_storage_deposit_fun_json.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,wBAAwB,EAAE,MAAM,sCAAsC,CAAC;AAEhF,oDAAoD;AACpD,MAAM,CAAC,KAAK,UAAU,mCAAmC,CACvD,IAAU,EACV,qBAA6B,EAC7B,eAA4B;IAE5B,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,IAAI,CAC5B,qBAAqB,EACrB,wBAAwB,CAAC,eAAe,EACxC,EAAE,EACF,EAAE,eAAe,EAAE,CACpB,CAAC;IACF,OAAO,MAAM,CAAC;AAChB,CAAC;AACD,oDAAoD;AACpD,+BAA+B"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { FinalExecutionOutcome, Near } from "near-kit";
|
|
2
|
+
import type { rhea_ammv2_args, rhea_ammv2_swap_action_type } from "../../lib/args/rhea_ammv2_args";
|
|
3
|
+
export declare function rhea_ammv2_swap_fun_json(near: Near, rhea_ammv2_contractId: string, actions: rhea_ammv2_swap_action_type[], referral_id: rhea_ammv2_args["referral_id"]): Promise<FinalExecutionOutcome>;
|
|
4
|
+
//# sourceMappingURL=rhea_ammv2_swap_fun_json.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rhea_ammv2_swap_fun_json.d.ts","sourceRoot":"","sources":["../../../src/fun/rhea_ammv2/rhea_ammv2_swap_fun_json.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,qBAAqB,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AAE5D,OAAO,KAAK,EACV,eAAe,EACf,2BAA2B,EAC5B,MAAM,gCAAgC,CAAC;AAExC,wBAAsB,wBAAwB,CAC5C,IAAI,EAAE,IAAI,EACV,qBAAqB,EAAE,MAAM,EAC7B,OAAO,EAAE,2BAA2B,EAAE,EACtC,WAAW,EAAE,eAAe,CAAC,aAAa,CAAC,GAC1C,OAAO,CAAC,qBAAqB,CAAC,CAOhC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { rhea_ammv2_methods_const } from "../../lib/methods/methods_rhea_ammv2";
|
|
2
|
+
// =================================================
|
|
3
|
+
export async function rhea_ammv2_swap_fun_json(near, rhea_ammv2_contractId, actions, referral_id) {
|
|
4
|
+
const result = await near.call(rhea_ammv2_contractId, rhea_ammv2_methods_const.swap, { actions, referral_id });
|
|
5
|
+
return result;
|
|
6
|
+
}
|
|
7
|
+
// =================================================
|
|
8
|
+
// copyright 2026 by sleet.near
|
|
9
|
+
//# sourceMappingURL=rhea_ammv2_swap_fun_json.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rhea_ammv2_swap_fun_json.js","sourceRoot":"","sources":["../../../src/fun/rhea_ammv2/rhea_ammv2_swap_fun_json.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,wBAAwB,EAAE,MAAM,sCAAsC,CAAC;AAKhF,oDAAoD;AACpD,MAAM,CAAC,KAAK,UAAU,wBAAwB,CAC5C,IAAU,EACV,qBAA6B,EAC7B,OAAsC,EACtC,WAA2C;IAE3C,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,IAAI,CAC5B,qBAAqB,EACrB,wBAAwB,CAAC,IAAI,EAC7B,EAAE,OAAO,EAAE,WAAW,EAAE,CACzB,CAAC;IACF,OAAO,MAAM,CAAC;AAChB,CAAC;AACD,oDAAoD;AACpD,+BAA+B"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { FinalExecutionOutcome, Near } from "near-kit";
|
|
2
|
+
import type { rhea_ammv2_args } from "../../lib/args/rhea_ammv2_args";
|
|
3
|
+
export declare function rhea_ammv2_withdraw_fun_json(near: Near, rhea_ammv2_contractId: string, amount: rhea_ammv2_args["amount"], token_id: rhea_ammv2_args["token_id"]): Promise<FinalExecutionOutcome>;
|
|
4
|
+
//# sourceMappingURL=rhea_ammv2_withdraw_fun_json.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rhea_ammv2_withdraw_fun_json.d.ts","sourceRoot":"","sources":["../../../src/fun/rhea_ammv2/rhea_ammv2_withdraw_fun_json.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,qBAAqB,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AAE5D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAEtE,wBAAsB,4BAA4B,CAChD,IAAI,EAAE,IAAI,EACV,qBAAqB,EAAE,MAAM,EAC7B,MAAM,EAAE,eAAe,CAAC,QAAQ,CAAC,EACjC,QAAQ,EAAE,eAAe,CAAC,UAAU,CAAC,GACpC,OAAO,CAAC,qBAAqB,CAAC,CAYhC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { rhea_ammv2_methods_const } from "../../lib/methods/methods_rhea_ammv2";
|
|
2
|
+
// =================================================
|
|
3
|
+
export async function rhea_ammv2_withdraw_fun_json(near, rhea_ammv2_contractId, amount, token_id) {
|
|
4
|
+
const result = await near.call(rhea_ammv2_contractId, rhea_ammv2_methods_const.withdraw, {
|
|
5
|
+
amount,
|
|
6
|
+
token_id,
|
|
7
|
+
unregister: false,
|
|
8
|
+
skip_unwrap_near: false,
|
|
9
|
+
});
|
|
10
|
+
return result;
|
|
11
|
+
}
|
|
12
|
+
// =================================================
|
|
13
|
+
// copyright 2026 by sleet.near
|
|
14
|
+
//# sourceMappingURL=rhea_ammv2_withdraw_fun_json.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rhea_ammv2_withdraw_fun_json.js","sourceRoot":"","sources":["../../../src/fun/rhea_ammv2/rhea_ammv2_withdraw_fun_json.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,wBAAwB,EAAE,MAAM,sCAAsC,CAAC;AAEhF,oDAAoD;AACpD,MAAM,CAAC,KAAK,UAAU,4BAA4B,CAChD,IAAU,EACV,qBAA6B,EAC7B,MAAiC,EACjC,QAAqC;IAErC,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,IAAI,CAC5B,qBAAqB,EACrB,wBAAwB,CAAC,QAAQ,EACjC;QACE,MAAM;QACN,QAAQ;QACR,UAAU,EAAE,KAAK;QACjB,gBAAgB,EAAE,KAAK;KACxB,CACF,CAAC;IACF,OAAO,MAAM,CAAC;AAChB,CAAC;AACD,oDAAoD;AACpD,+BAA+B"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { FinalExecutionOutcome, Near } from "near-kit";
|
|
2
|
+
import type { AmountInput } from "../../types/AmountInput";
|
|
3
|
+
export declare function wrap_near_deposit_fun_json(near: Near, wrap_contractId: string, amount: AmountInput): Promise<FinalExecutionOutcome>;
|
|
4
|
+
//# sourceMappingURL=wrap_near_deposit_fun_json.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wrap_near_deposit_fun_json.d.ts","sourceRoot":"","sources":["../../../src/fun/wrap_near/wrap_near_deposit_fun_json.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,qBAAqB,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AAE5D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAE3D,wBAAsB,0BAA0B,CAC9C,IAAI,EAAE,IAAI,EACV,eAAe,EAAE,MAAM,EACvB,MAAM,EAAE,WAAW,GAClB,OAAO,CAAC,qBAAqB,CAAC,CAQhC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { wrap_near_methods_const } from "../../lib/methods/methods_wrap_near";
|
|
2
|
+
// =================================================
|
|
3
|
+
export async function wrap_near_deposit_fun_json(near, wrap_contractId, amount) {
|
|
4
|
+
const result = await near.call(wrap_contractId, wrap_near_methods_const.near_deposit, {}, { attachedDeposit: amount });
|
|
5
|
+
return result;
|
|
6
|
+
}
|
|
7
|
+
// =================================================
|
|
8
|
+
// copyright 2026 by sleet.near
|
|
9
|
+
//# sourceMappingURL=wrap_near_deposit_fun_json.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wrap_near_deposit_fun_json.js","sourceRoot":"","sources":["../../../src/fun/wrap_near/wrap_near_deposit_fun_json.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAE9E,oDAAoD;AACpD,MAAM,CAAC,KAAK,UAAU,0BAA0B,CAC9C,IAAU,EACV,eAAuB,EACvB,MAAmB;IAEnB,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,IAAI,CAC5B,eAAe,EACf,uBAAuB,CAAC,YAAY,EACpC,EAAE,EACF,EAAE,eAAe,EAAE,MAAM,EAAE,CAC5B,CAAC;IACF,OAAO,MAAM,CAAC;AAChB,CAAC;AACD,oDAAoD;AACpD,+BAA+B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wrap_near_withdraw_fun_json.d.ts","sourceRoot":"","sources":["../../../src/fun/wrap_near/wrap_near_withdraw_fun_json.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,qBAAqB,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AAG5D,wBAAsB,2BAA2B,CAC/C,IAAI,EAAE,IAAI,EACV,eAAe,EAAE,MAAM,EACvB,MAAM,EAAE,MAAM,GACb,OAAO,CAAC,qBAAqB,CAAC,CAQhC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { wrap_near_methods_const } from "../../lib/methods/methods_wrap_near";
|
|
2
|
+
// =================================================
|
|
3
|
+
export async function wrap_near_withdraw_fun_json(near, wrap_contractId, amount) {
|
|
4
|
+
const result = await near.call(wrap_contractId, wrap_near_methods_const.near_withdraw, { amount }, { attachedDeposit: "1 yocto" });
|
|
5
|
+
return result;
|
|
6
|
+
}
|
|
7
|
+
// =================================================
|
|
8
|
+
// copyright 2026 by sleet.near
|
|
9
|
+
//# sourceMappingURL=wrap_near_withdraw_fun_json.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wrap_near_withdraw_fun_json.js","sourceRoot":"","sources":["../../../src/fun/wrap_near/wrap_near_withdraw_fun_json.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,oDAAoD;AACpD,MAAM,CAAC,KAAK,UAAU,2BAA2B,CAC/C,IAAU,EACV,eAAuB,EACvB,MAAc;IAEd,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,IAAI,CAC5B,eAAe,EACf,uBAAuB,CAAC,aAAa,EACrC,EAAE,MAAM,EAAE,EACV,EAAE,eAAe,EAAE,SAAS,EAAE,CAC/B,CAAC;IACF,OAAO,MAAM,CAAC;AAChB,CAAC;AACD,oDAAoD;AACpD,+BAA+B"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,18 +1,41 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
4
|
-
export {
|
|
5
|
-
export {
|
|
6
|
-
export {
|
|
7
|
-
export {
|
|
8
|
-
export {
|
|
9
|
-
export {
|
|
10
|
-
export {
|
|
11
|
-
export {
|
|
12
|
-
export {
|
|
1
|
+
export { rhea_ammv2_get_number_of_pools_fun_json } from "./fun/rhea_ammv2/rhea_ammv2_get_number_of_pools_fun_json";
|
|
2
|
+
export { rhea_ammv2_get_pool_fun_json } from "./fun/rhea_ammv2/rhea_ammv2_get_pool_fun_json";
|
|
3
|
+
export { rhea_ammv2_get_pools_fun_json } from "./fun/rhea_ammv2/rhea_ammv2_get_pools_fun_json";
|
|
4
|
+
export { rhea_ammv2_get_deposits_fun_json } from "./fun/rhea_ammv2/rhea_ammv2_get_deposits_fun_json";
|
|
5
|
+
export { rhea_ammv2_get_return_fun_json } from "./fun/rhea_ammv2/rhea_ammv2_get_return_fun_json";
|
|
6
|
+
export { rhea_ammv2_storage_balance_of_fun_json } from "./fun/rhea_ammv2/rhea_ammv2_storage_balance_of_fun_json";
|
|
7
|
+
export { rhea_ammv2_storage_deposit_fun_json } from "./fun/rhea_ammv2/rhea_ammv2_storage_deposit_fun_json";
|
|
8
|
+
export { rhea_ammv2_swap_fun_json } from "./fun/rhea_ammv2/rhea_ammv2_swap_fun_json";
|
|
9
|
+
export { rhea_ammv2_withdraw_fun_json } from "./fun/rhea_ammv2/rhea_ammv2_withdraw_fun_json";
|
|
10
|
+
export { rhea_ammv2_add_simple_pool_fun_json } from "./fun/rhea_ammv2/rhea_ammv2_add_simple_pool_fun_json";
|
|
11
|
+
export { ft_balance_of_fun_json } from "./fun/ft/ft_balance_of_fun_json";
|
|
12
|
+
export { ft_total_supply_fun_json } from "./fun/ft/ft_total_supply_fun_json";
|
|
13
|
+
export { ft_metadata_fun_json } from "./fun/ft/ft_metadata_fun_json";
|
|
14
|
+
export { ft_transfer_fun_json } from "./fun/ft/ft_transfer_fun_json";
|
|
15
|
+
export { ft_transfer_call_fun_json } from "./fun/ft/ft_transfer_call_fun_json";
|
|
16
|
+
export { ft_storage_deposit_fun_json } from "./fun/ft/ft_storage_deposit_fun_json";
|
|
17
|
+
export { greeting_get_greeting_fun_json } from "./fun/greeting/greeting_get_greeting_fun_json";
|
|
18
|
+
export { greeting_set_greeting_fun_json } from "./fun/greeting/greeting_set_greeting_fun_json";
|
|
19
|
+
export { near_create_account_fun_json } from "./fun/near/near_create_account_fun_json";
|
|
20
|
+
export { near_add_key_fun_json } from "./fun/near/near_add_key_fun_json";
|
|
21
|
+
export { near_delete_key_fun_json } from "./fun/near/near_delete_key_fun_json";
|
|
22
|
+
export { near_delete_account_fun_json } from "./fun/near/near_delete_account_fun_json";
|
|
23
|
+
export { wrap_near_deposit_fun_json } from "./fun/wrap_near/wrap_near_deposit_fun_json";
|
|
24
|
+
export { wrap_near_withdraw_fun_json } from "./fun/wrap_near/wrap_near_withdraw_fun_json";
|
|
25
|
+
export { pumpopoly_world_move_player_fun_json } from "./fun/pumpopoly_world/pumpopoly_world_move_player_fun_json";
|
|
26
|
+
export { pumpopoly_world_elite_move_fun_json } from "./fun/pumpopoly_world/pumpopoly_world_elite_move_fun_json";
|
|
27
|
+
export { pool_get_number_of_accounts_fun_json } from "./fun/pool/pool_get_number_of_accounts_fun_json";
|
|
28
|
+
export { pool_get_accounts_fun_json } from "./fun/pool/pool_get_accounts_fun_json";
|
|
29
|
+
export { pool_deposit_and_stake_fun_json } from "./fun/pool/pool_deposit_and_stake_fun_json";
|
|
30
|
+
export { pool_ping_fun_json } from "./fun/pool/pool_ping_fun_json";
|
|
13
31
|
export type { AmountInput } from "./types/AmountInput";
|
|
14
|
-
export type { FT_METADATA_TYPE } from "./types/
|
|
15
|
-
export type {
|
|
16
|
-
export type {
|
|
17
|
-
export type {
|
|
32
|
+
export type { FT_METADATA_TYPE } from "./types/ft_metadata_get_response_type";
|
|
33
|
+
export type { RHEA_AMMV2_GET_POOL_TYPE } from "./types/rhea_ammv2_get_pool_type";
|
|
34
|
+
export type { RHEA_AMMV2_GET_DEPOSITS_TYPE } from "./types/rhea_ammv2_get_deposits_type";
|
|
35
|
+
export type { STORAGE_BALANCE_OF_RESPONSE_TYPE } from "./types/storage_balance_of_response_type";
|
|
36
|
+
export type { greeting_args } from "./lib/args/greeting_args";
|
|
37
|
+
export type { ft_args } from "./lib/args/ft_args";
|
|
38
|
+
export type { rhea_ammv2_args, rhea_ammv2_swap_action_type, rhea_ammv2_swap_function_args, } from "./lib/args/rhea_ammv2_args";
|
|
39
|
+
export * from "./lib/methods";
|
|
40
|
+
export * from "./lib/const_id";
|
|
18
41
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,uCAAuC,EAAE,MAAM,0DAA0D,CAAC;AACnH,OAAO,EAAE,4BAA4B,EAAE,MAAM,+CAA+C,CAAC;AAC7F,OAAO,EAAE,6BAA6B,EAAE,MAAM,gDAAgD,CAAC;AAC/F,OAAO,EAAE,gCAAgC,EAAE,MAAM,mDAAmD,CAAC;AACrG,OAAO,EAAE,8BAA8B,EAAE,MAAM,iDAAiD,CAAC;AACjG,OAAO,EAAE,sCAAsC,EAAE,MAAM,yDAAyD,CAAC;AACjH,OAAO,EAAE,mCAAmC,EAAE,MAAM,sDAAsD,CAAC;AAC3G,OAAO,EAAE,wBAAwB,EAAE,MAAM,2CAA2C,CAAC;AACrF,OAAO,EAAE,4BAA4B,EAAE,MAAM,+CAA+C,CAAC;AAC7F,OAAO,EAAE,mCAAmC,EAAE,MAAM,sDAAsD,CAAC;AAI3G,OAAO,EAAE,sBAAsB,EAAE,MAAM,iCAAiC,CAAC;AACzE,OAAO,EAAE,wBAAwB,EAAE,MAAM,mCAAmC,CAAC;AAC7E,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AACrE,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AACrE,OAAO,EAAE,yBAAyB,EAAE,MAAM,oCAAoC,CAAC;AAC/E,OAAO,EAAE,2BAA2B,EAAE,MAAM,sCAAsC,CAAC;AAInF,OAAO,EAAE,8BAA8B,EAAE,MAAM,+CAA+C,CAAC;AAC/F,OAAO,EAAE,8BAA8B,EAAE,MAAM,+CAA+C,CAAC;AAI/F,OAAO,EAAE,4BAA4B,EAAE,MAAM,yCAAyC,CAAC;AACvF,OAAO,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AACzE,OAAO,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAC;AAC/E,OAAO,EAAE,4BAA4B,EAAE,MAAM,yCAAyC,CAAC;AAIvF,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AACxF,OAAO,EAAE,2BAA2B,EAAE,MAAM,6CAA6C,CAAC;AAI1F,OAAO,EAAE,oCAAoC,EAAE,MAAM,4DAA4D,CAAC;AAClH,OAAO,EAAE,mCAAmC,EAAE,MAAM,2DAA2D,CAAC;AAIhH,OAAO,EAAE,oCAAoC,EAAE,MAAM,iDAAiD,CAAC;AACvG,OAAO,EAAE,0BAA0B,EAAE,MAAM,uCAAuC,CAAC;AACnF,OAAO,EAAE,+BAA+B,EAAE,MAAM,4CAA4C,CAAC;AAC7F,OAAO,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAInE,YAAY,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AACvD,YAAY,EAAE,gBAAgB,EAAE,MAAM,uCAAuC,CAAC;AAC9E,YAAY,EAAE,wBAAwB,EAAE,MAAM,kCAAkC,CAAC;AACjF,YAAY,EAAE,4BAA4B,EAAE,MAAM,sCAAsC,CAAC;AACzF,YAAY,EAAE,gCAAgC,EAAE,MAAM,0CAA0C,CAAC;AACjG,YAAY,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAC9D,YAAY,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAClD,YAAY,EACV,eAAe,EACf,2BAA2B,EAC3B,6BAA6B,GAC9B,MAAM,4BAA4B,CAAC;AAIpC,cAAc,eAAe,CAAC;AAI9B,cAAc,gBAAgB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,32 +1,59 @@
|
|
|
1
1
|
// ===========================================
|
|
2
|
-
// fun
|
|
3
|
-
//
|
|
4
|
-
//
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
//
|
|
8
|
-
//
|
|
9
|
-
export {
|
|
10
|
-
|
|
11
|
-
export {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
export {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
export {
|
|
18
|
-
|
|
19
|
-
//
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
export {
|
|
24
|
-
export {
|
|
25
|
-
export {
|
|
26
|
-
export {
|
|
27
|
-
//
|
|
28
|
-
//
|
|
29
|
-
export {
|
|
2
|
+
// @near-kit-tool-box/fun — public barrel.
|
|
3
|
+
//
|
|
4
|
+
// Re-exports every helper function, the shared method-name constants,
|
|
5
|
+
// and the per-network contract id constants.
|
|
6
|
+
// ===========================================
|
|
7
|
+
// ---------- rhea_ammv2 ----------
|
|
8
|
+
// ===========================================
|
|
9
|
+
export { rhea_ammv2_get_number_of_pools_fun_json } from "./fun/rhea_ammv2/rhea_ammv2_get_number_of_pools_fun_json";
|
|
10
|
+
export { rhea_ammv2_get_pool_fun_json } from "./fun/rhea_ammv2/rhea_ammv2_get_pool_fun_json";
|
|
11
|
+
export { rhea_ammv2_get_pools_fun_json } from "./fun/rhea_ammv2/rhea_ammv2_get_pools_fun_json";
|
|
12
|
+
export { rhea_ammv2_get_deposits_fun_json } from "./fun/rhea_ammv2/rhea_ammv2_get_deposits_fun_json";
|
|
13
|
+
export { rhea_ammv2_get_return_fun_json } from "./fun/rhea_ammv2/rhea_ammv2_get_return_fun_json";
|
|
14
|
+
export { rhea_ammv2_storage_balance_of_fun_json } from "./fun/rhea_ammv2/rhea_ammv2_storage_balance_of_fun_json";
|
|
15
|
+
export { rhea_ammv2_storage_deposit_fun_json } from "./fun/rhea_ammv2/rhea_ammv2_storage_deposit_fun_json";
|
|
16
|
+
export { rhea_ammv2_swap_fun_json } from "./fun/rhea_ammv2/rhea_ammv2_swap_fun_json";
|
|
17
|
+
export { rhea_ammv2_withdraw_fun_json } from "./fun/rhea_ammv2/rhea_ammv2_withdraw_fun_json";
|
|
18
|
+
export { rhea_ammv2_add_simple_pool_fun_json } from "./fun/rhea_ammv2/rhea_ammv2_add_simple_pool_fun_json";
|
|
19
|
+
// ---------- ft (NEP-141 / NEP-145) ----------
|
|
20
|
+
// ===========================================
|
|
21
|
+
export { ft_balance_of_fun_json } from "./fun/ft/ft_balance_of_fun_json";
|
|
22
|
+
export { ft_total_supply_fun_json } from "./fun/ft/ft_total_supply_fun_json";
|
|
23
|
+
export { ft_metadata_fun_json } from "./fun/ft/ft_metadata_fun_json";
|
|
24
|
+
export { ft_transfer_fun_json } from "./fun/ft/ft_transfer_fun_json";
|
|
25
|
+
export { ft_transfer_call_fun_json } from "./fun/ft/ft_transfer_call_fun_json";
|
|
26
|
+
export { ft_storage_deposit_fun_json } from "./fun/ft/ft_storage_deposit_fun_json";
|
|
27
|
+
// ---------- greeting ----------
|
|
28
|
+
// ===========================================
|
|
29
|
+
export { greeting_get_greeting_fun_json } from "./fun/greeting/greeting_get_greeting_fun_json";
|
|
30
|
+
export { greeting_set_greeting_fun_json } from "./fun/greeting/greeting_set_greeting_fun_json";
|
|
31
|
+
// ---------- NEAR / linkdrop / local actions ----------
|
|
32
|
+
// ===========================================
|
|
33
|
+
export { near_create_account_fun_json } from "./fun/near/near_create_account_fun_json";
|
|
34
|
+
export { near_add_key_fun_json } from "./fun/near/near_add_key_fun_json";
|
|
35
|
+
export { near_delete_key_fun_json } from "./fun/near/near_delete_key_fun_json";
|
|
36
|
+
export { near_delete_account_fun_json } from "./fun/near/near_delete_account_fun_json";
|
|
37
|
+
// ---------- wrap_near ----------
|
|
38
|
+
// ===========================================
|
|
39
|
+
export { wrap_near_deposit_fun_json } from "./fun/wrap_near/wrap_near_deposit_fun_json";
|
|
40
|
+
export { wrap_near_withdraw_fun_json } from "./fun/wrap_near/wrap_near_withdraw_fun_json";
|
|
41
|
+
// ---------- pumpopoly world ----------
|
|
42
|
+
// ===========================================
|
|
43
|
+
export { pumpopoly_world_move_player_fun_json } from "./fun/pumpopoly_world/pumpopoly_world_move_player_fun_json";
|
|
44
|
+
export { pumpopoly_world_elite_move_fun_json } from "./fun/pumpopoly_world/pumpopoly_world_elite_move_fun_json";
|
|
45
|
+
// ---------- pool (staking pool) ----------
|
|
46
|
+
// ===========================================
|
|
47
|
+
export { pool_get_number_of_accounts_fun_json } from "./fun/pool/pool_get_number_of_accounts_fun_json";
|
|
48
|
+
export { pool_get_accounts_fun_json } from "./fun/pool/pool_get_accounts_fun_json";
|
|
49
|
+
export { pool_deposit_and_stake_fun_json } from "./fun/pool/pool_deposit_and_stake_fun_json";
|
|
50
|
+
export { pool_ping_fun_json } from "./fun/pool/pool_ping_fun_json";
|
|
51
|
+
// ---------- shared method-name constants ----------
|
|
52
|
+
// ===========================================
|
|
53
|
+
export * from "./lib/methods";
|
|
54
|
+
// ---------- shared per-network contract id constants ----------
|
|
55
|
+
// ===========================================
|
|
56
|
+
export * from "./lib/const_id";
|
|
30
57
|
// ===========================================
|
|
31
58
|
// copyright 2026 by sleet.near
|
|
32
59
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,8CAA8C;AAC9C,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,8CAA8C;AAC9C,0CAA0C;AAC1C,EAAE;AACF,sEAAsE;AACtE,6CAA6C;AAC7C,8CAA8C;AAE9C,mCAAmC;AACnC,8CAA8C;AAC9C,OAAO,EAAE,uCAAuC,EAAE,MAAM,0DAA0D,CAAC;AACnH,OAAO,EAAE,4BAA4B,EAAE,MAAM,+CAA+C,CAAC;AAC7F,OAAO,EAAE,6BAA6B,EAAE,MAAM,gDAAgD,CAAC;AAC/F,OAAO,EAAE,gCAAgC,EAAE,MAAM,mDAAmD,CAAC;AACrG,OAAO,EAAE,8BAA8B,EAAE,MAAM,iDAAiD,CAAC;AACjG,OAAO,EAAE,sCAAsC,EAAE,MAAM,yDAAyD,CAAC;AACjH,OAAO,EAAE,mCAAmC,EAAE,MAAM,sDAAsD,CAAC;AAC3G,OAAO,EAAE,wBAAwB,EAAE,MAAM,2CAA2C,CAAC;AACrF,OAAO,EAAE,4BAA4B,EAAE,MAAM,+CAA+C,CAAC;AAC7F,OAAO,EAAE,mCAAmC,EAAE,MAAM,sDAAsD,CAAC;AAE3G,+CAA+C;AAC/C,8CAA8C;AAC9C,OAAO,EAAE,sBAAsB,EAAE,MAAM,iCAAiC,CAAC;AACzE,OAAO,EAAE,wBAAwB,EAAE,MAAM,mCAAmC,CAAC;AAC7E,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AACrE,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AACrE,OAAO,EAAE,yBAAyB,EAAE,MAAM,oCAAoC,CAAC;AAC/E,OAAO,EAAE,2BAA2B,EAAE,MAAM,sCAAsC,CAAC;AAEnF,iCAAiC;AACjC,8CAA8C;AAC9C,OAAO,EAAE,8BAA8B,EAAE,MAAM,+CAA+C,CAAC;AAC/F,OAAO,EAAE,8BAA8B,EAAE,MAAM,+CAA+C,CAAC;AAE/F,wDAAwD;AACxD,8CAA8C;AAC9C,OAAO,EAAE,4BAA4B,EAAE,MAAM,yCAAyC,CAAC;AACvF,OAAO,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AACzE,OAAO,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAC;AAC/E,OAAO,EAAE,4BAA4B,EAAE,MAAM,yCAAyC,CAAC;AAEvF,kCAAkC;AAClC,8CAA8C;AAC9C,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AACxF,OAAO,EAAE,2BAA2B,EAAE,MAAM,6CAA6C,CAAC;AAE1F,wCAAwC;AACxC,8CAA8C;AAC9C,OAAO,EAAE,oCAAoC,EAAE,MAAM,4DAA4D,CAAC;AAClH,OAAO,EAAE,mCAAmC,EAAE,MAAM,2DAA2D,CAAC;AAEhH,4CAA4C;AAC5C,8CAA8C;AAC9C,OAAO,EAAE,oCAAoC,EAAE,MAAM,iDAAiD,CAAC;AACvG,OAAO,EAAE,0BAA0B,EAAE,MAAM,uCAAuC,CAAC;AACnF,OAAO,EAAE,+BAA+B,EAAE,MAAM,4CAA4C,CAAC;AAC7F,OAAO,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAiBnE,qDAAqD;AACrD,8CAA8C;AAC9C,cAAc,eAAe,CAAC;AAE9B,iEAAiE;AACjE,8CAA8C;AAC9C,cAAc,gBAAgB,CAAC;AAE/B,8CAA8C;AAC9C,+BAA+B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ft_args.d.ts","sourceRoot":"","sources":["../../../src/lib/args/ft_args.ts"],"names":[],"mappings":"AAQA,MAAM,WAAW,OAAO;IACtB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,GAAG,EAAE,MAAM,CAAC;CACb"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// =================================================
|
|
2
|
+
// ft_args
|
|
3
|
+
//
|
|
4
|
+
// Parameter type map for the NEP-141/NEP-145 fungible-token helper
|
|
5
|
+
// functions exported from `src/fun/ft/`.
|
|
6
|
+
// =================================================
|
|
7
|
+
export {};
|
|
8
|
+
// =================================================
|
|
9
|
+
// copyright 2026 by sleet.near
|
|
10
|
+
//# sourceMappingURL=ft_args.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ft_args.js","sourceRoot":"","sources":["../../../src/lib/args/ft_args.ts"],"names":[],"mappings":"AAAA,oDAAoD;AACpD,UAAU;AACV,EAAE;AACF,mEAAmE;AACnE,yCAAyC;AACzC,oDAAoD;;AASpD,oDAAoD;AACpD,+BAA+B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"greeting_args.d.ts","sourceRoot":"","sources":["../../../src/lib/args/greeting_args.ts"],"names":[],"mappings":"AAQA,MAAM,WAAW,aAAa;IAC5B,QAAQ,EAAE,MAAM,CAAC;CAClB"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// =================================================
|
|
2
|
+
// greeting_args
|
|
3
|
+
//
|
|
4
|
+
// Parameter type map for the greeting contract helper functions
|
|
5
|
+
// exported from `src/fun/greeting/`.
|
|
6
|
+
// =================================================
|
|
7
|
+
export {};
|
|
8
|
+
// =================================================
|
|
9
|
+
// copyright 2026 by sleet.near
|
|
10
|
+
//# sourceMappingURL=greeting_args.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"greeting_args.js","sourceRoot":"","sources":["../../../src/lib/args/greeting_args.ts"],"names":[],"mappings":"AAAA,oDAAoD;AACpD,gBAAgB;AAChB,EAAE;AACF,gEAAgE;AAChE,qCAAqC;AACrC,oDAAoD;;AAMpD,oDAAoD;AACpD,+BAA+B"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export interface
|
|
1
|
+
export interface rhea_ammv2_args {
|
|
2
2
|
from_index: number;
|
|
3
3
|
limit: number;
|
|
4
4
|
fee: number;
|
|
@@ -14,15 +14,15 @@ export interface ref_args_params_interface {
|
|
|
14
14
|
token_out: string;
|
|
15
15
|
min_amount_out: string;
|
|
16
16
|
}
|
|
17
|
-
export type
|
|
17
|
+
export type rhea_ammv2_swap_action_type = {
|
|
18
18
|
pool_id: number;
|
|
19
19
|
token_in: string;
|
|
20
20
|
amount_in?: string;
|
|
21
21
|
token_out: string;
|
|
22
22
|
min_amount_out: string;
|
|
23
23
|
};
|
|
24
|
-
export interface
|
|
25
|
-
actions:
|
|
26
|
-
referral_id:
|
|
24
|
+
export interface rhea_ammv2_swap_function_args {
|
|
25
|
+
actions: rhea_ammv2_swap_action_type[];
|
|
26
|
+
referral_id: rhea_ammv2_args["referral_id"];
|
|
27
27
|
}
|
|
28
|
-
//# sourceMappingURL=
|
|
28
|
+
//# sourceMappingURL=rhea_ammv2_args.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rhea_ammv2_args.d.ts","sourceRoot":"","sources":["../../../src/lib/args/rhea_ammv2_args.ts"],"names":[],"mappings":"AASA,MAAM,WAAW,eAAe;IAE9B,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IAEd,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,EAAE,CAAC;IAEjB,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;IAEpB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,cAAc,EAAE,MAAM,CAAC;CACxB;AAGD,MAAM,MAAM,2BAA2B,GAAG;IACxC,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;AAGF,MAAM,WAAW,6BAA6B;IAC5C,OAAO,EAAE,2BAA2B,EAAE,CAAC;IACvC,WAAW,EAAE,eAAe,CAAC,aAAa,CAAC,CAAC;CAC7C"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// =================================================
|
|
2
|
+
// rhea_ammv2_args
|
|
3
|
+
//
|
|
4
|
+
// Parameter type map for every rhea_ammv2 view/call function exported
|
|
5
|
+
// from this package. Each method gets its own slice of the args it
|
|
6
|
+
// actually consumes.
|
|
7
|
+
// =================================================
|
|
8
|
+
export {};
|
|
9
|
+
// =================================================
|
|
10
|
+
// copyright 2026 by sleet.near
|
|
11
|
+
//# sourceMappingURL=rhea_ammv2_args.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rhea_ammv2_args.js","sourceRoot":"","sources":["../../../src/lib/args/rhea_ammv2_args.ts"],"names":[],"mappings":"AAAA,oDAAoD;AACpD,kBAAkB;AAClB,EAAE;AACF,sEAAsE;AACtE,mEAAmE;AACnE,qBAAqB;AACrB,oDAAoD;;AAsCpD,oDAAoD;AACpD,+BAA+B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contract_id_const_type.d.ts","sourceRoot":"","sources":["../../../src/lib/const_id/contract_id_const_type.ts"],"names":[],"mappings":"AAMA,MAAM,WAAW,sBAAsB;IACrC,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,MAAM,UAAU,GAAG,SAAS,GAAG,SAAS,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// =================================================
|
|
2
|
+
// Shared `CONTRACT_ID_CONST_TYPE` shape used by every dual-network
|
|
3
|
+
// const file in this folder.
|
|
4
|
+
// =================================================
|
|
5
|
+
export {};
|
|
6
|
+
// =================================================
|
|
7
|
+
// copyright 2026 by sleet.near
|
|
8
|
+
//# sourceMappingURL=contract_id_const_type.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contract_id_const_type.js","sourceRoot":"","sources":["../../../src/lib/const_id/contract_id_const_type.ts"],"names":[],"mappings":"AAAA,oDAAoD;AACpD,mEAAmE;AACnE,6BAA6B;AAC7B,oDAAoD;;AASpD,oDAAoD;AACpD,+BAA+B"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { CONTRACT_ID_CONST_TYPE, NETWORK_ID } from "./contract_id_const_type";
|
|
2
|
+
export declare const GREETING_CONTRACT_ID_CONST: CONTRACT_ID_CONST_TYPE;
|
|
3
|
+
export declare function greeting_contractid(network: NETWORK_ID): string;
|
|
4
|
+
//# sourceMappingURL=greeting_contract_id_const.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"greeting_contract_id_const.d.ts","sourceRoot":"","sources":["../../../src/lib/const_id/greeting_contract_id_const.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,sBAAsB,EACtB,UAAU,EACX,MAAM,0BAA0B,CAAC;AAGlC,eAAO,MAAM,0BAA0B,EAAE,sBAGxC,CAAC;AAIF,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,UAAU,GAAG,MAAM,CAE/D"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// =================================================
|
|
2
|
+
export const GREETING_CONTRACT_ID_CONST = {
|
|
3
|
+
testnet: "hello.sleet.testnet",
|
|
4
|
+
mainnet: "hello.sleet.near",
|
|
5
|
+
};
|
|
6
|
+
// =================================================
|
|
7
|
+
// Returns the greeting contract id for the given network.
|
|
8
|
+
export function greeting_contractid(network) {
|
|
9
|
+
return GREETING_CONTRACT_ID_CONST[network];
|
|
10
|
+
}
|
|
11
|
+
// =================================================
|
|
12
|
+
// copyright 2026 by sleet.near
|
|
13
|
+
//# sourceMappingURL=greeting_contract_id_const.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"greeting_contract_id_const.js","sourceRoot":"","sources":["../../../src/lib/const_id/greeting_contract_id_const.ts"],"names":[],"mappings":"AAQA,oDAAoD;AACpD,MAAM,CAAC,MAAM,0BAA0B,GAA2B;IAChE,OAAO,EAAE,qBAAqB;IAC9B,OAAO,EAAE,kBAAkB;CAC5B,CAAC;AAEF,oDAAoD;AACpD,0DAA0D;AAC1D,MAAM,UAAU,mBAAmB,CAAC,OAAmB;IACrD,OAAO,0BAA0B,CAAC,OAAO,CAAC,CAAC;AAC7C,CAAC;AACD,oDAAoD;AACpD,+BAA+B"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export * from "./contract_id_const_type";
|
|
2
|
+
export * from "./rhea_ammv2_contract_id_const";
|
|
3
|
+
export * from "./wrap_near_contract_id_const";
|
|
4
|
+
export * from "./near_tld_contract_id_const";
|
|
5
|
+
export * from "./greeting_contract_id_const";
|
|
6
|
+
export * from "./pumpopoly_world_contract_id_const";
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/const_id/index.ts"],"names":[],"mappings":"AAcA,cAAc,0BAA0B,CAAC;AACzC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,qCAAqC,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
// =================================================
|
|
2
|
+
// Contract id constants for NEAR contracts.
|
|
3
|
+
//
|
|
4
|
+
// One file per contract in this folder, each containing the
|
|
5
|
+
// `CONTRACT_ID_CONST_TYPE` (testnet / mainnet) pair plus a
|
|
6
|
+
// `*_contractid(network)` resolver helper.
|
|
7
|
+
//
|
|
8
|
+
// Staking pools are intentionally absent from this folder: they're
|
|
9
|
+
// per-validator deployments with no single canonical id on either
|
|
10
|
+
// network. Pass the concrete pool account id to the pool_*_fun_json
|
|
11
|
+
// helpers at the call site.
|
|
12
|
+
// =================================================
|
|
13
|
+
// =================================================
|
|
14
|
+
export * from "./contract_id_const_type";
|
|
15
|
+
export * from "./rhea_ammv2_contract_id_const";
|
|
16
|
+
export * from "./wrap_near_contract_id_const";
|
|
17
|
+
export * from "./near_tld_contract_id_const";
|
|
18
|
+
export * from "./greeting_contract_id_const";
|
|
19
|
+
export * from "./pumpopoly_world_contract_id_const";
|
|
20
|
+
// =================================================
|
|
21
|
+
// copyright 2026 by sleet.near
|
|
22
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/lib/const_id/index.ts"],"names":[],"mappings":"AAAA,oDAAoD;AACpD,4CAA4C;AAC5C,EAAE;AACF,4DAA4D;AAC5D,2DAA2D;AAC3D,2CAA2C;AAC3C,EAAE;AACF,mEAAmE;AACnE,kEAAkE;AAClE,oEAAoE;AACpE,4BAA4B;AAC5B,oDAAoD;AAEpD,oDAAoD;AACpD,cAAc,0BAA0B,CAAC;AACzC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,qCAAqC,CAAC;AACpD,oDAAoD;AACpD,+BAA+B"}
|