Meme coin on NEAR
npm run build:contracts
npm run dev:contract:update
NEAR_ID=
CONTRACT_ID=$(<neardev/dev-account)
LP_CONTRACT_ID=liquidity.$CONTRACT_ID
BURN_CONTRACT_ID=burn.$CONTRACT_ID
near call $CONTRACT_ID open_box '' --accountId $NEAR_ID --deposit 0.05
near view $CONTRACT_ID get_user_rewards '{"owner_id":"'$NEAR_ID'"}'
near view $CONTRACT_ID get_total_stats
near view $CONTRACT_ID get_leaderboards ''
near view $CONTRACT_ID ft_total_supply ''
near view $CONTRACT_ID ft_balance_of '{"account_id":"'$NEAR_ID'"}'
near call $CONTRACT_ID ft_transfer '{"receiver_id":"'$LP_CONTRACT_ID'","amount":"1000"}' --accountId $NEAR_ID --depositYocto 1
near view $CONTRACT_ID ft_balance_of '{"account_id":"'$CONTRACT_ID'"}'
near view $CONTRACT_ID ft_balance_of '{"account_id":"'$LP_CONTRACT_ID'"}'
near view $CONTRACT_ID ft_balance_of '{"account_id":"'$BURN_CONTRACT_ID'"}'
ACCOUNT_ID=
ADD_COUNT=10
near call $CONTRACT_ID add_additional_premium '{"account_id":"'$ACCOUNT_ID'","amount":'$ADD_COUNT'}' --accountId $NEAR_ID
ACCOUNT_ID=
near view $CONTRACT_ID user_premium_boxes_left '{"account_id":"'$ACCOUNT_ID'"}'