anchor_version = "0.24.2"

[features]
seeds = false

[registry]
url = "https://anchor.projectserum.com"

[provider]
cluster = "localnet"
wallet = "~/.config/solana/id.json"

[programs.localnet]
pyth = { address = "FsJ3A3u2vn5cTVofAjvy6y5kwABJAqYWpe4975bi2epH", idl = "./deps/psyfi-euros/target/idl/pyth.json" }
psy_stake = "pSystkitWgLkzprdAvraP8DSBiXwee715wiSXGJe8yr"
psyfi_euros = { address = "PSYFiYqguvMXwpDooGdYV6mju92YEbFobbvW617VNcq", idl = "./deps/psyfi-euros/target/idl/psyfi_euros.json" }

[[test.genesis]]
address = "PSYFiYqguvMXwpDooGdYV6mju92YEbFobbvW617VNcq"
program = "./deps/psyfi-euros/target/deploy/psyfi_euros.so"

[[test.genesis]]
address = "FsJ3A3u2vn5cTVofAjvy6y5kwABJAqYWpe4975bi2epH"
program = "./deps/psyfi-euros/target/deploy/pyth.so"

[scripts]
test = "yarn run ts-mocha -p ./tsconfig.json -t 1000000 tests/**/*.ts"
# test = "yarn run ts-mocha -p ./tsconfig.json -t 1000000 tests/create_stake_pool.ts"
# test = "yarn run ts-mocha -p ./tsconfig.json -t 1000000 tests/update_stake_pool.ts"
# test = "yarn run ts-mocha -p ./tsconfig.json -t 1000000 tests/reward_pool.ts"
# test = "yarn run ts-mocha -p ./tsconfig.json -t 1000000 tests/create_reward_record.ts"
# test = "yarn run ts-mocha -p ./tsconfig.json -t 1000000 tests/update_reward_record.ts"
# test = "yarn run ts-mocha -p ./tsconfig.json -t 1000000 tests/create_staking_record.ts"
# test = "yarn run ts-mocha -p ./tsconfig.json -t 1000000 tests/stake_token.ts"
# test = "yarn run ts-mocha -p ./tsconfig.json -t 1000000 tests/unstake_token.ts"
# test = "yarn run ts-mocha -p ./tsconfig.json -t 1000000 tests/claim_reward.ts"
# test = "yarn run ts-mocha -p ./tsconfig.json -t 1000000 tests/distribution_strategy.ts"
# test = "yarn run ts-mocha -p ./tsconfig.json -t 1000000 tests/sequence.ts"
