Go to file
microwavedcola1 bd5a82a3f3
Update README.md
2022-01-28 11:01:46 +01:00
.github/workflows First commit 2022-01-28 10:22:59 +01:00
programs/dasheri not needed 2022-01-28 10:42:38 +01:00
.gitignore First commit 2022-01-28 10:22:59 +01:00
Cargo.lock First commit 2022-01-28 10:22:59 +01:00
Cargo.toml First commit 2022-01-28 10:22:59 +01:00
README.md Update README.md 2022-01-28 11:01:46 +01:00
run-test-custom-mango-fixture.sh First commit 2022-01-28 10:22:59 +01:00

README.md

programs
└── dasheri
    ├── Cargo.toml
    ├── Xargo.toml
    ├── src
    │   ├── ids.rs
    │   ├── iou # example of minting iou tokens when depositing to a mango account 
    │   │   ├── instructions
    │   │   ├── mod.rs
    │   │   └── state
    │   ├── lib.rs
    │   └── pool # example of pooling assets and creating a mango account representing the whole pool
    │       ├── error.rs
    │       ├── instructions
    │       ├── mod.rs
    │       └── state
    └── tests
        ├── fixtures
        │   ├── mango.so
        │   └── serum_dex.so
        ├── program_test
        │   ├── assertions.rs
        │   ├── cookies.rs
        │   ├── mod.rs
        │   └── scenarios.rs
        ├── test_iou.rs # test for iou tokens
        └── test_pool.rs # test for pool

This anchor project should serve as a starter kit or example to compose with mango-v3 using anchor. It currently provides 2 examples and various inline todos on how to extend this.

Use cases

  • pool - pooled market making, pooled liquidator which can liquidate other large accounts
  • iou - iou tokens via a gateway to mango's borrowing and lending