Skip to content

0.1.6 audit#154

Merged
andrewsource147 merged 12 commits intorelease_0.1.6from
0.1.6_audit
Dec 8, 2025
Merged

0.1.6 audit#154
andrewsource147 merged 12 commits intorelease_0.1.6from
0.1.6_audit

Conversation

@andrewsource147
Copy link
Contributor

No description provided.

@andrewsource147 andrewsource147 merged commit 6b3dced into release_0.1.6 Dec 8, 2025
6 checks passed
@andrewsource147 andrewsource147 deleted the 0.1.6_audit branch December 8, 2025 16:04
andrewsource147 added a commit that referenced this pull request Dec 26, 2025
* operator role

* feat: fee scheduler based on market cap

* update changelog, pump version

* remove quote contraints (#50)

* remove quote contraints

* remove quote constraints in new endpoint

* update changelog

* update changelog

---------

Co-authored-by: defi0x1 <cristiando0902@gmail.com>

* Feat/update pool fees (#119)

* feat: add new endpoint to update pool fees

* update after self review

* chore: minor refactor (#125)

* minor fix

---------

Co-authored-by: Andrew Nguyen <cuong.hv.dtvt@gmail.com>
Co-authored-by: kampung-tech <codewithgun@gmail.com>

* add warning for claiming partner fee endpoint and update doc (#128)

* add warning for claiming partner fee endpoint

* update doc

* Update pool version (#131)

* feat

* test max fee 99% (#132)

* test max fee 99%

* refactor

* Test (#133)

* test max fee 99%

* refactor

* minor fixs

* fix

* trigger

* remove branch

---------

Co-authored-by: defi0x1 <34453681+defi0x1@users.noreply.github.com>
Co-authored-by: defi0x1 <cristiando0902@gmail.com>

* migrate test to litesvm (#135)

* migrate to liteSVM

* fix tests

* cleanup

* Remove deprecated events (#136)

* removed deprecated events

* fixs comments

* minor: remove minor

* fix test after rebase

* Pinocchio swap hot path rebase (#127)

* poc: Pinocchio hot path

* implement event handler with pinocchio

* Refactor entrypoint

* fix token2022

* refactor, resolve conflicts

* add test pinocchio swap (#139)

* WIP

* assert: event decoded data

* assert: swap error code

* trigger cicd

* update: refactor test & add CUs consumed

* fix unwrap (#140)

* validate account to match with anchor context (#141)

* validate account to match with anchor context

* add: validates & errors code

* add: test error code deserialize instruction params

* minor: remove comments

* test: add more test

---------

Co-authored-by: defi0x1 <cristiando0902@gmail.com>

* other fixes

* update CI

---------

Co-authored-by: andrewsource147 <31321699+andrewsource147@users.noreply.github.com>
Co-authored-by: Andrew Nguyen <cuong.hv.dtvt@gmail.com>

* update error code

* fix based comments

* fix based comments 2

* fix based comments 3

---------

Co-authored-by: Arrowana <Arrowana@users.noreply.github.com>
Co-authored-by: defi0x1 <34453681+defi0x1@users.noreply.github.com>

* fix: swap mode infallible (#143)

* 0.1.6 audit (#154)

* fix (#148)

* fix typo (#146)

* fix: add validation for number_of_period (#150)

* fix: improper error code (#151)

* Missing bound checks for accounts.split_at_unchecked() in p_entrypoint() (#155)

* Missing account data size and alignment checks (#156)

* rename price_step_bps (#157)

* Infinite loop in validate_single_swap_instruction will cause swap TX to fail (#158)

* Incorrect max fee validation for update_pool_fees (#159)

* Incorrect error messages used for update_pool_fees (#160)

* fix: conflict remaining accounts (#147)

* fix: conflict remaining accounts

* update: remain account index

* update changelog

* update: load operator from account info

* fix: based comments

* fix test

* add: validate account data size

* minor: fix error code

* refactor

---------

Co-authored-by: Andrew Nguyen <cuong.hv.dtvt@gmail.com>

* invalid event emit (#161)

---------

Co-authored-by: defi0x1 <34453681+defi0x1@users.noreply.github.com>

---------

Co-authored-by: defi0x1 <cristiando0902@gmail.com>
Co-authored-by: defi0x1 <34453681+defi0x1@users.noreply.github.com>
Co-authored-by: kampung-tech <codewithgun@gmail.com>
Co-authored-by: Arrowana <Arrowana@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants