factory- a main contract for deployment.token- a contract that represents each uni and stores its disciplines and matches
cargo build --target wasm32-unknown-unknown --profile testnet --features testnetnear dev-deploy target/wasm32-unknown-unknown/testnet/factory.wasmnear call $ACCOUNT new '{"owner_id": "'$OWNER_ACCOUNT'"}' --accountId $OWNER_ACCOUNTnear call $ACCOUNT add_uni '{"uni_name": "'$UNI_NAME'", "uni_owner_id": "'$UNI_OWNER_ID'"}' --accountId $OWNER_ACCOUNT --deposit 10 --gas 300000000000000near view $ACCOUNT ownernear view $ACCOUNT get_unisnear call $UNI_ACCOUNT add_discipline '{"discipline": "Math"}' --accountId $UNI_OWNER_IDnear call $UNI_ACCOUNT add_match '{"discipline_match": "SuperMath", "discipline": "Math"}' --accountId $UNI_OWNER_IDnear call $UNI_ACCOUNT delete_match '{"discipline_match": "SuperMath"}' --accountId $UNI_OWNER_IDnear call $UNI_ACCOUNT delete_discipline '{"discipline": "Math"}' --accountId $UNI_OWNER_IDnear view $UNI_ACCOUNT get_disciplinesnear view $UNI_ACCOUNT get_all_matchesnear view $UNI_ACCOUNT get_discipline_matches '{"discipline": "Math"}'near view $UNI_ACCOUNT get_match '{"discipline_match": "SuperMath"}'