export CONTRACT_ID="dev-1661196610363-39728493289974"
export CONTRACT_ID="v2.nativo-auctions.testnet"
near call $CONTRACT_ID new '{"owner_account_id": "dokxo.testnet","treasury_account_id": "dokxo.testnet","contract_interest": 800,"contract_fee": 200 }' --accountId dokxo.testnet
./build.sh
./migrate.sh
near view $CONTRACT_ID get_contract_owmer
near view $CONTRACT_ID get_contract_treasury
near view $CONTRACT_ID get_contract_interest
near view $CONTRACT_ID get_payment_period
near view $CONTRACT_ID get_contract_fee
near view $CONTRACT_ID is_ntv_enable_minting
near view $CONTRACT_ID get_auctions_actives
near view $CONTRACT_ID get_auctions_amount_sold
near view $CONTRACT_ID get_auctions_current_ath
near view $CONTRACT_ID get_auctions_stats
near view $CONTRACT_ID market_accounts
near call $CONTRACT_ID set_new_owner '{"new_owner":"dokxo.testnet"}' --accountId v1.nativo-auctions.testnet
near call $CONTRACT_ID set_new_treasury '{"new_treasury":"dokxo.testnet"}' --accountId dokxo.testnet
near call $CONTRACT_ID set_new_contract_interest '{"new_contract_interest":100}' --accountId dokxo.testnet
near call $CONTRACT_ID set_new_contract_fee '{"new_contract_fee":100}' --accountId dokxo.testnet
near call $CONTRACT_ID set_new_payment_period '{"new_payment_period":900}' --accountId dokxo.testnet
near call $CONTRACT_ID set_is_minting_ntv '{"is_enable":true}' --accountId dokxo.testnet
near view $CONTRACT_ID get_nfts_for_auction '{"from_index":"0","limit":50}'
near view $CONTRACT_ID get_all_nfts_for_auction '{"from_index":"0","limit":50}'
near view $CONTRACT_ID get_last_auction
near view $CONTRACT_ID get_nft_auction '{"auction_id":4}'
near call $CONTRACT_ID bid_for_nft '{"auction_id":0}' --accountId darkdokxo.testnet --deposit 0.5
near view $CONTRACT_ID auctions_for_owner '{"account_id":"dokxo_test.testnet","from_index":"0","limit":50}'
near view $CONTRACT_ID auction_supply_for_owner '{"account_id":"alexiaab.testnet","from_index":"0","limit":50}'
near view $CONTRACT_ID auctions_for_bidder '{"account_id":"alexiaab.testnet","from_index":"0","limit":50}'
near view $CONTRACT_ID auction_supply_for_bidder '{"account_id":"alexiaab.testnet","from_index":"0","limit":50}'
near call $CONTRACT_ID withdraw_nft_owner '{"auction_id":28}' --accountId dokxo.testnet --depositYocto 1 --gas 100000000000000
near call $CONTRACT_ID withdraw_nft_auctioner ‘{“auction_id”:15}’ --accountId joehank.testnet --depositYocto 1 --gas 100000000000000
near call $CONTRACT_ID claim_nft_winner '{"auction_id":0}' --accountId dokxo.testnet --depositYocto 1 --gas 100000000000000
near call alst77.mintspace2.testnet nft_transfer_call '{"receiver_id": "dev-1648670267690-23487881027419","token_id":"0", "msg": "{\"auction_amount_requested\": 100000000000000000000000000 }"}' --accountId alan_test.testnet --depositYocto 1 --gas 300000000000000
near view alst77.mintspace2.testnet nft_token '{"token_id":"0"}'
near call paras-token-v2.testnet nft_transfer_call '{"receiver_id": "dev-1647921766612-74437195022952","token_id": "299:9", "msg": "{\"auction_requested\": \"100000000000000000000000000\"}"}' --accountId alan_test.testnet --depositYocto 1 --gas 300000000000000
near view paras-token-v2.testnet nft_token '{"token_id":"299:9"}'
near call minterv2.nativo-minter.testnet nft_transfer_call '{"receiver_id": "v2.nativo-auctions.testnet","token_id":"70", "msg": "{ \"auction_amount_requested\": \"100000000000000000000000\" }"}' --accountId dokxo_test.testnet --depositYocto 1 --gas 300000000000000
near view minterv2.nativo-minter.testnet nft_token '{"token_id":"70"}'
near call minterv2.nativo-minter.testnet nft_transfer '{"receiver_id": "alexiaab.testnet", "token_id": "85", "memo": "Go Team :)"}' --accountId v1.nativo-auctions.testnet --depositYocto 1
near delete v1.nativo-auctions.testnet nativo-auctions.testnet
near create-account v2.nativo-auctions.testnet --masterAccount nativo-auctions.testnet