mango-v3/program
dafyddd dcfe4cd60c fix cargo fmt 2022-07-09 10:13:04 -07:00
..
src fix cargo fmt 2022-07-09 10:13:04 -07:00
tests Remove has_no_spot_market and is_empty from TokenInfo 2022-06-23 12:46:48 +02:00
Cargo.toml update version and add changelog for v3.5.1 2022-07-08 16:08:23 -07:00
README.md
devnet_deploy.sh Dd/serum max ts (#170) 2022-04-18 17:07:23 -04:00

README.md

Tests

cargo test-bpf -- --show-output

Deploy to devnet

cargo build-bpf && solana program deploy -k ~/.config/solana/devnet.json --program-id viQTKtBmaGvx3nugHcvijedy9ApbDowqiGYq35qAJqq ./target/deploy/mango.so

Log Events

If you make changes to the log events defined in mango-logs/src/lib.rs, make sure to generate the IDL and copy it over to mango-client-v3 for use in transaction logs scraper:

anchor build -p mango_logs
cp ~/blockworks-foundation/mango-v3/target/idl/mango_logs.json ~/blockworks-foundation/mango-client-v3/src/mango_logs.json