@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
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ft_fun.d.ts","sourceRoot":"","sources":["../../../src/fun/ft/ft_fun.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AAEhC,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAE3E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAetE,wBAAsB,iBAAiB,CACrC,IAAI,EAAE,IAAI,EACV,aAAa,EAAE,MAAM,EACrB,UAAU,EAAE,wBAAwB,CAAC,YAAY,CAAC,mBAQnD;AAGD,wBAAsB,mBAAmB,CACvC,IAAI,EAAE,IAAI,EACV,aAAa,EAAE,MAAM,mBAOtB;AAGD,wBAAsB,eAAe,CACnC,IAAI,EAAE,IAAI,EACV,aAAa,EAAE,MAAM,GACpB,OAAO,CAAC,gBAAgB,CAAC,CAO3B;AAKD,wBAAs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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAStB"}
|
package/dist/fun/ft/ft_fun.js
DELETED
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { Near } from "near-kit";
|
|
2
|
-
import { ft_methods_const } from "@sleet-js/ft-methods-const";
|
|
3
|
-
import { FT_METADATA_TYPE_Z_CONST } from "../../types/ft_metadata_types";
|
|
4
|
-
// ===========================================
|
|
5
|
-
// view
|
|
6
|
-
// ft_balance_of
|
|
7
|
-
// ft_total_supply_fun
|
|
8
|
-
// ft_metadata_fun
|
|
9
|
-
// call
|
|
10
|
-
// ft_transfer
|
|
11
|
-
// ft_transfer_call
|
|
12
|
-
// storage_deposit
|
|
13
|
-
// ===========================================
|
|
14
|
-
// VIEW
|
|
15
|
-
// ===========================================
|
|
16
|
-
// ft_balance_of
|
|
17
|
-
export async function ft_balance_of_fun(near, ft_contractId, account_id) {
|
|
18
|
-
const result = await near.view(ft_contractId, ft_methods_const.ft_balance_of, { account_id: account_id });
|
|
19
|
-
return result;
|
|
20
|
-
}
|
|
21
|
-
// ===========================================
|
|
22
|
-
// ft_total_supply_fun
|
|
23
|
-
export async function ft_total_supply_fun(near, ft_contractId) {
|
|
24
|
-
const result = await near.view(ft_contractId, ft_methods_const.ft_total_supply);
|
|
25
|
-
return result;
|
|
26
|
-
}
|
|
27
|
-
// ===========================================
|
|
28
|
-
// ft_metadata
|
|
29
|
-
export async function ft_metadata_fun(near, ft_contractId) {
|
|
30
|
-
const result = await near.view(ft_contractId, ft_methods_const.ft_metadata, {});
|
|
31
|
-
return FT_METADATA_TYPE_Z_CONST.parse(result);
|
|
32
|
-
}
|
|
33
|
-
// ===========================================
|
|
34
|
-
// CALL
|
|
35
|
-
// ===========================================
|
|
36
|
-
// ft_transfer
|
|
37
|
-
export async function ft_transfer_fun(near, ft_contractId, receiver_id, amount) {
|
|
38
|
-
const result = await near.call(ft_contractId, ft_methods_const.ft_transfer, { amount: amount, receiver_id: receiver_id }, { attachedDeposit: "0.000000000000000000000001 NEAR" });
|
|
39
|
-
return result;
|
|
40
|
-
}
|
|
41
|
-
// ===========================================
|
|
42
|
-
// ft_transfer_call
|
|
43
|
-
export async function ft_transfer_call_fun(near, ft_contractId, receiver_id, msg, amount) {
|
|
44
|
-
const result = await near.call(ft_contractId, ft_methods_const.ft_transfer_call, { msg: msg, amount: amount, receiver_id: receiver_id }, { attachedDeposit: "0.000000000000000000000001 NEAR", gas: "50 Tgas" });
|
|
45
|
-
return result;
|
|
46
|
-
}
|
|
47
|
-
// ===========================================
|
|
48
|
-
// storage_deposit
|
|
49
|
-
export async function ft_storage_deposit_fun(near, ft_contractId) {
|
|
50
|
-
const result = await near.call(ft_contractId, ft_methods_const.storage_deposit, {}, { attachedDeposit: "0.00125 NEAR" });
|
|
51
|
-
return result;
|
|
52
|
-
}
|
|
53
|
-
// ===========================================
|
|
54
|
-
//# sourceMappingURL=ft_fun.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ft_fun.js","sourceRoot":"","sources":["../../../src/fun/ft/ft_fun.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAI9D,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,8CAA8C;AAC9C,OAAO;AACP,gBAAgB;AAChB,sBAAsB;AACtB,kBAAkB;AAClB,OAAO;AACP,cAAc;AACd,mBAAmB;AACnB,kBAAkB;AAClB,8CAA8C;AAC9C,OAAO;AACP,8CAA8C;AAC9C,gBAAgB;AAChB,MAAM,CAAC,KAAK,UAAU,iBAAiB,CACrC,IAAU,EACV,aAAqB,EACrB,UAAkD;IAElD,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,IAAI,CAC5B,aAAa,EACb,gBAAgB,CAAC,aAAa,EAC9B,EAAE,UAAU,EAAE,UAAU,EAAE,CAC3B,CAAC;IACF,OAAO,MAAgB,CAAC;AAC1B,CAAC;AACD,8CAA8C;AAC9C,sBAAsB;AACtB,MAAM,CAAC,KAAK,UAAU,mBAAmB,CACvC,IAAU,EACV,aAAqB;IAErB,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,IAAI,CAC5B,aAAa,EACb,gBAAgB,CAAC,eAAe,CACjC,CAAC;IACF,OAAO,MAAg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ACb,gBAAgB,CAAC,eAAe,EAChC,EAAE,EACF,EAAE,eAAe,EAAE,cAAc,EAAE,CACpC,CAAC;IACF,OAAO,MAA+B,CAAC;AACzC,CAAC;AACD,8CAA8C"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"greeting_get_fun.d.ts","sourceRoot":"","sources":["../../../src/fun/greeting/greeting_get_fun.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AAGhC,wBAAsB,yBAAyB,CAC7C,IAAI,EAAE,IAAI,EACV,mBAAmB,EAAE,MAAM,mBAO5B"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Near } from "near-kit";
|
|
2
|
-
import { greeting_contract_methods } from "../../lib/contract_greeting_const";
|
|
3
|
-
// ===========================================
|
|
4
|
-
export async function greeting_get_greeting_fun(near, greeting_contractId) {
|
|
5
|
-
const result = await near.view(greeting_contractId, greeting_contract_methods.get_greeting);
|
|
6
|
-
return result;
|
|
7
|
-
}
|
|
8
|
-
// ===========================================
|
|
9
|
-
//# sourceMappingURL=greeting_get_fun.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"greeting_get_fun.js","sourceRoot":"","sources":["../../../src/fun/greeting/greeting_get_fun.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,yBAAyB,EAAE,MAAM,mCAAmC,CAAC;AAC9E,8CAA8C;AAC9C,MAAM,CAAC,KAAK,UAAU,yBAAyB,CAC7C,IAAU,EACV,mBAA2B;IAE3B,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,IAAI,CAC5B,mBAAmB,EACnB,yBAAyB,CAAC,YAAY,CACvC,CAAC;IACF,OAAO,MAAgB,CAAC;AAC1B,CAAC;AACD,8CAA8C"}
|