jonesmarvin8
d77185ded4
uses burn/mint/AccountPostState
2025-12-07 20:34:26 -05:00
jonesmarvin8
8506f5948f
Merge branch 'main' into simple_amm
2025-12-06 20:07:12 -05:00
jonesmarvin8
3a3c6f5507
state tests fixed and clean up
2025-12-06 20:03:05 -05:00
jonesmarvin8
ea27eeb929
fixed add and remove logic, and tests
2025-12-06 14:52:18 -05:00
Sergio Chouhy
7e971a6c4d
Merge branch 'main' into schouhy/implement-pda-for-public-accounts
2025-12-05 10:00:23 -03: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
44b4c53d04
add test that initialized accounts cannot be claimed
2025-12-03 17:36:53 -03:00
Sergio Chouhy
91fe8ced6e
add test
2025-12-03 17:07:31 -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
863ed888ad
minor fix to remove_liquidity
...
Fixed line 2767 to use delta_lp in liquidity_pool_cap
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
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
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
1989fd25a1
add pinata token example and test
2025-11-28 11:10:00 -03:00
Sergio Chouhy
e61a971790
add test and refactor chain_caller program
2025-11-27 13:53:25 -03:00
Sergio Chouhy
d1d2292028
fmt
2025-11-26 20:13:23 -03:00
Sergio Chouhy
12e21c935c
Merge branch 'main' into schouhy/add-multi-chain-calls
2025-11-26 17:12:35 -03:00
Daniil Polyakov
a714e3c563
feat: enhance rustfmt config
2025-11-26 00:33:09 +03:00
Daniil Polyakov
ea9c659fb1
refactor: rename Address to AccountId
2025-11-25 21:38:07 +03:00
Sergio Chouhy
fd4ebde1fb
fix account passing mechanism
2025-11-17 15:43:01 -03:00
Sergio Chouhy
c7b415b2f4
add max depth reached error for chained calls
2025-11-12 19:55:02 -03:00
Sergio Chouhy
2e582e7874
add multi chain calls
2025-11-12 19:08:46 -03:00
Sergio Chouhy
12974f6f6b
refactor
2025-10-30 14:10:33 -03:00
Sergio Chouhy
0fb72e452f
fix claiming mechanism for chained calls
2025-10-30 10:52:53 -03:00
Sergio Chouhy
48fc643952
add chained call test
2025-10-30 09:36:20 -03:00
Sergio Chouhy
19215ee009
rename V01State to V02State
2025-10-16 16:24:18 -03:00
Sergio Chouhy
da28f3317b
add transition function for program deployment
2025-10-15 17:28:50 -03:00
Sergio Chouhy
54c54199d7
wip
2025-10-14 17:15:04 -03:00
Sergio Chouhy
667ad5a532
Merge branch 'main' into schouhy/fix-non-uniqueness-of-private-account-ids
2025-10-07 12:56:57 -03:00
Sergio Chouhy
ed9682bf58
Merge branch 'main' into schouhy/add-check-for-repeated-account-ids-in-circuit
2025-10-07 09:49:53 -03:00
Sergio Chouhy
63436955c6
add nullifier for private account initialization
2025-10-03 20:47:37 -03:00
Sergio Chouhy
8b70da517c
add check and test
2025-10-03 18:43:09 -03:00
Sergio Chouhy
aa8b138945
fmt clippy
2025-10-02 08:58:57 -03:00
Sergio Chouhy
86f61e5ac9
fix impl
2025-10-02 08:40:52 -03:00
Sergio Chouhy
4bd5494370
wip
2025-09-30 15:30:28 -03:00
Sergio Chouhy
36beca9c7c
Merge branch 'main' into schouhy/add-token-program
2025-09-29 16:00:53 -03:00
Oleksandr Pravdyvyi
8d9e7764aa
Merge branch 'main' into Pravdyvy/wallet-privacy-preserving-transactions
2025-09-26 09:15:25 +03:00
Sergio Chouhy
bedcccb633
Merge branch 'schouhy/change-authorization-mechanism' into schouhy/add-token-program
2025-09-25 12:52:17 -03:00
Sergio Chouhy
4a755a0c23
Merge branch 'main' into schouhy/change-authorization-mechanism
2025-09-25 12:39:13 -03:00
Oleksandr Pravdyvyi
2ce773705d
Merge branch 'main' into Pravdyvy/wallet-privacy-preserving-transactions
2025-09-24 16:53:22 +03:00
Sergio Chouhy
ae0c589d1e
Merge pull request #111 from vacp2p/schouhy/add-pinata-program
...
Add piñata program
2025-09-24 09:44:53 -03:00
Oleksandr Pravdyvyi
0d68bec358
Merge branch 'main' into Pravdyvy/wallet-privacy-preserving-transactions
2025-09-23 15:50:06 +03:00
Pravdyvy
6fda3d84dd
Merge pull request #110 from vacp2p/Pravdyvy/key-protocol-update-private
...
Key protocol update (private)
2025-09-20 04:57:35 +03:00
Sergio Chouhy
4f67ff0c35
Merge branch 'main' into schouhy/change-authorization-mechanism
2025-09-18 17:09:02 -03:00
Sergio Chouhy
cca835e016
Merge branch 'main' into schouhy/add-pinata-program
2025-09-18 16:50:52 -03:00