31bd72e84a
This gives us better compatibility with released anchor versions. Instead of using AccountLoaderDynamic<MangoAccount>, we now use a standard AccountLoader<MangoAccountFixed>. This will generally work (except for load_init(), which is dangerous). A new trait, MangoAccountLoader, provides load_full(), load_full_mut() etc on the AccountLoader<MangoAccountFixed> to create accessor structs that can read and write to the dynamic part of the mango account data. |
||
---|---|---|
.. | ||
src | ||
.env.example | ||
.gitignore | ||
Cargo.toml | ||
Dockerfile.liquidator |