4502c6dcf9
* feat(accumulator_updater): initial skeleton for accumulator_udpater program Initial layout for accumulator updater program. Includes mock-cpi-caller which is meant to represent pyth oracle(or any future allowed program) that will call the accumulator updater program. All implementation details are open for discussion/subject to change * test(accumulator_updater): add additional checks in tests and minor clean up * chore(accumulator_updater): misc clean-up * refactor(accumulator_updater): added comments & to-dos and minor refactoring to address PR comments * feat(accumulator_updater): nmanual serialization for mock-cpi-caller schemas & use zero-copy * chore(accumulator-updater): misc clean-up * refactor(accumulator-updater): rename parameter in accumulator-updater::initalize ix for consistency * style(accumulator-updater): switch PriceAccountType enum variants to camelcase * refactor(accumulator-updater): address PR comments rename schema to message & associated price messages, remove unncessary comments, changed addAllowedProgram to setAllowedPrograms * refactor(accumulator-updater): address more PR comments consolidate SetAllowedPrograms and UpdateWhitelistAuthority into one context * style(accumulator-updater): minor style fixes to address PR comments * feat(accumulator-updater): implement update-inputs ix, add bump to AccumulatorInput header * feat(accumulator-updater): implement update ix * refactor(accumulator-updater): refactor ixs & state into modules * docs(accumulator-updater): add comments for ixs * feat(accumulator-updater): consolidate add/update_inputs into emit_inputs ix (#743) * refactor(accumulator-updater): clean up unused fn, rename fns * fix(accumulator-updater): fix error from resolving merge conflicts * refactor(accumulator_updater): address PR comments Remove account_type, rename emit_inputs to put_all to be more similar to a Map interface, added AccumulatorHeader::CURRENT_VERSION * docs(accumulator_updater): add docs for AccumulatorInput struct |
||
---|---|---|
.. | ||
migrations | ||
programs | ||
tests | ||
.gitignore | ||
.prettierignore | ||
Anchor.toml | ||
Cargo.lock | ||
Cargo.toml | ||
NOTES.md | ||
package.json | ||
tsconfig.json | ||
yarn.lock |