118 Commits

Author SHA1 Message Date
jonesmarvin8
2e37e20014 format 2025-12-09 15:36:46 -05:00
jonesmarvin8
471611f848 fixed new definition 2025-12-09 14:42:58 -05:00
jonesmarvin8
6bc983d50b added pda support 2025-12-08 22:05:51 -05:00
jonesmarvin8
65681a5b74 minor fixes (does not run/test) 2025-12-08 13:19:30 -05:00
jonesmarvin8
d77185ded4 uses burn/mint/AccountPostState 2025-12-07 20:34:26 -05:00
jonesmarvin8
4bcfbb9bee Merge branch 'marvin/token_burn_mint' into simple_amm 2025-12-07 20:31:16 -05:00
jonesmarvin8
5a1d37d607 update burn/mint to use AccountPostState 2025-12-07 20:29:25 -05:00
jonesmarvin8
c6e68ff9b1
Merge pull request #226 from logos-blockchain/main
main into burn
2025-12-07 20:27:27 -05:00
jonesmarvin8
8506f5948f Merge branch 'main' into simple_amm 2025-12-06 20:07:12 -05:00
jonesmarvin8
a11155e441 Merge branch 'simple_amm' of https://github.com/logos-blockchain/lssa into simple_amm 2025-12-06 20:03:14 -05:00
jonesmarvin8
3a3c6f5507 state tests fixed and clean up 2025-12-06 20:03:05 -05:00
jonesmarvin8
106b33a57f
Merge pull request #225 from logos-blockchain/marvin/token_burn_mint
Marvin/token burn mint
2025-12-06 16:45:11 -05:00
jonesmarvin8
ea27eeb929 fixed add and remove logic, and tests 2025-12-06 14:52:18 -05:00
jonesmarvin8
c6cde35203 added burn/mint and tests 2025-12-05 21:01:36 -05:00
Sergio Chouhy
7e971a6c4d Merge branch 'main' into schouhy/implement-pda-for-public-accounts 2025-12-05 10:00:23 -03:00
jonesmarvin8
97f2e93f8a initialize branch 2025-12-04 21:55:12 -05:00
jonesmarvin8
b1ad51f5b9 logic fixes and streamlining examples
fixed remove_liquidity logic and added enum/constructors for examples
2025-12-04 21:53:58 -05:00
Sergio Chouhy
a84b18f22c remove unnecessary type annotation 2025-12-04 16:46:43 -03:00
Sergio Chouhy
cf9c567e29 remove pub attribute 2025-12-04 16:26:40 -03:00
Sergio Chouhy
ed949c07b1 nit 2025-12-03 17:38:45 -03:00
Sergio Chouhy
8a269858c5 improve struct interface 2025-12-03 16:54:57 -03:00
Sergio Chouhy
d677db7f4e add account post state struct with claiming request field 2025-12-03 15:17:33 -03:00
jonesmarvin8
90d6580377 simplified swap logic
removed branching logic from swap logic, and adjusted tests accordingly.
2025-12-02 17:21:49 -05:00
jonesmarvin8
c0c1228e10 fixed accountId 2025-12-02 15:20:16 -05:00
jonesmarvin8
3e9f0f9384 fixed omitted vault checks
Previous versions mistakenly used token_definition instead of vault account id to check for vaults.

Functions and corresponding tests fixed.

Minor error in arithmetic in state.rs for remove_liquidity fixed.
2025-12-02 13:40:54 -05:00
jonesmarvin8
93ee75a339 additional tests
Tests for chain_calls included in amm.rs,
All tests in state.rs
2025-12-02 13:40:53 -05:00
jonesmarvin8
352b97910a state tests written 2025-12-02 13:40:11 -05:00
jonesmarvin8
0a645281c6 token_program non-deterministic issue 2025-12-02 13:40:11 -05:00
jonesmarvin8
9da684b7c6 fixed some deterministic issues 2025-12-02 13:40:11 -05:00
jonesmarvin8
5547f0635c attempted test functions in state.rs
Additional minor clean up in amm.rs
2025-12-02 13:40:10 -05:00
jonesmarvin8
2166bbfe03 test fixes and comments 2025-12-02 13:37:40 -05:00
jonesmarvin8
853d4d6b59 Tests written 2025-12-02 13:36:07 -05:00
jonesmarvin8
a426839b3b Updated based on chain calls fixes 2025-12-02 13:36:07 -05:00
jonesmarvin8
10d42f352b AMM functions written 2025-12-02 13:33:00 -05:00
Sergio Chouhy
dcef017f9b nit 2025-12-02 12:12:56 -03:00
Sergio Chouhy
3d529d19fa solve comments 2025-12-02 10:48:21 -03:00
Sergio Chouhy
c7bcd20a38 add init function to the token program 2025-11-28 14:16:54 -03:00
Sergio Chouhy
ed00876800 Merge branch 'schouhy/add-init-function-to-token-program' into schouhy/implement-pda-for-public-accounts 2025-11-28 14:16:26 -03:00
Sergio Chouhy
dd5db5b32c add init function to the token program 2025-11-28 11:52:02 -03:00
Sergio Chouhy
1989fd25a1 add pinata token example and test 2025-11-28 11:10:00 -03:00
Sergio Chouhy
702882c6ee
Merge pull request #161 from vacp2p/schouhy/add-multi-chain-calls
Add multi chain calls
2025-11-27 12:39:23 -03:00
Sergio Chouhy
a3e07347a4 Merge branch 'schouhy/add-multi-chain-calls' into schouhy/implement-pda-for-public-accounts 2025-11-27 12:05:09 -03:00
Pravdyvy
ef73336aa5 fix: borsh derivation on publci transactions 2025-11-18 17:52:46 +02:00
Sergio Chouhy
a94440fa1f rename 2025-11-12 19:18:04 -03:00
Sergio Chouhy
2e582e7874 add multi chain calls 2025-11-12 19:08:46 -03:00
Sergio Chouhy
48fc643952 add chained call test 2025-10-30 09:36:20 -03:00
Sergio Chouhy
3a27719392 add tail-chain logic for public transactions 2025-10-29 13:40:56 -03:00
Sergio Chouhy
6d9d6b3d28 add chained_call field to program output 2025-10-29 00:40:56 -03:00
Sergio Chouhy
a14b15d123 add Cargo.lock 2025-10-25 00:34:02 -03:00
Sergio Chouhy
2da861c2d2 Merge branch 'main' into schouhy/add-program-deployment-transactions 2025-10-20 22:47:18 -03:00