Moudy
56ee93b5b7
merge main into feat-caller-program-id-and-flash-swap
2026-04-07 19:44:55 +02:00
Moudy
b22a989fbc
merge main into feat-caller-program-id-and-flash-swap
2026-04-07 19:27:27 +02:00
Sergio Chouhy
1ba80f7631
count mandatory clock tx in max_block_size
2026-04-06 21:34:03 -03:00
Sergio Chouhy
ed1926b38a
use Timestamp instead of u64
2026-04-06 13:21:39 -03:00
Sergio Chouhy
015999b3a5
add clock usage example programs
2026-04-04 00:23:43 -03:00
Moudy
5273c9e076
fix: rebuild artifacts
2026-04-04 00:44:50 +02:00
Moudy
324750e618
fix: remove unfulfilled large_enum_variant expect, add backticks in docs, rebuild artifacts
2026-04-04 00:04:40 +02:00
Sergio Chouhy
34de497d4d
add test
2026-04-03 18:44:28 -03:00
Moudy
dca3d1a18d
fix: rebuild artifacts
2026-04-03 23:36:36 +02:00
Moudy
bc0583368d
fix: set is_authorized on PDA accounts in flash swap chained calls
2026-04-03 15:18:23 +02:00
Moudy
74e16db68f
fix: apply formatting and rebuild artifacts
2026-04-03 01:17:42 +02:00
Moudy
88e3b368c3
fix: rebuild artifacts
2026-04-03 00:58:11 +02:00
Moudy
d105a51c04
fix: rebuild artifacts
2026-04-03 00:58:11 +02:00
Moudy
65166e8fcc
fix: rebuild artifacts
2026-04-03 00:58:11 +02:00
Sergio Chouhy
4d5010f044
Merge branch 'main' into schouhy/add-block-context-system-accounts
2026-04-02 19:48:55 -03:00
Sergio Chouhy
b525447e2d
refactor so that indexer checks clock constraints
2026-04-02 18:30:10 -03:00
Sergio Chouhy
29d66d2c2d
small refactor
2026-04-02 17:40:58 -03:00
Moudy
67bb1809de
fix: rebuild artifacts
2026-04-02 20:38:02 +02:00
Andrea Franz
7d75eb2d59
chore(programs/amm): rename Swap to SwapExactInput
2026-04-02 16:10:12 +02:00
Sergio Chouhy
3c5a1c9d0a
Merge branch 'main' into schouhy/add-block-context-system-accounts
2026-03-31 20:53:10 -03:00
Moudy
e3edabcaa2
rebuild artifacts after ValidityWindow struct change
2026-03-31 15:47:43 +02:00
Moudy
12bdc256d4
rebuild artifacts
2026-03-31 14:55:37 +02:00
Moudy
be2b2db1f5
rebuild artifacts after rebase onto main
2026-03-31 13:58:53 +02:00
Moudy
d861f2018c
rebuild artifacts with validity_window field in ProgramOutput
2026-03-31 13:47:03 +02:00
Sergio Chouhy
867d8dac90
artifacts
2026-03-31 01:57:57 -03:00
Sergio Chouhy
d8ffa22b81
add more clock accounts
2026-03-31 01:39:02 -03:00
Sergio Chouhy
7078e403ed
add timestamp to clock
2026-03-30 23:50:54 -03:00
Daniil Polyakov
6780f1c9a4
feat: protect from public pda griefing attacks
2026-03-28 01:23:57 +03:00
Sergio Chouhy
73fdc1d70c
artifacts
2026-03-26 18:30:03 -03:00
Sergio Chouhy
acf609ecc8
Merge branch 'main' into schouhy/add-block-context
2026-03-26 13:24:46 -03:00
r4bbit
0ed91e869e
feat(programs): add Associated Token Account program with wallet CLI and tutorial
...
Introduce the ATA program, which derives deterministic per-token holding
accounts from (owner, token_definition) via SHA256, eliminating the need
to manually create and track holding account IDs.
Program (programs/associated_token_account/):
- Create, Transfer, and Burn instructions with PDA-based authorization
- Deterministic address derivation: SHA256(owner || definition) → seed → AccountId
- Idempotent Create (no-op if ATA already exists)
Wallet CLI (`wallet ata`):
- `address` — derive ATA address locally (no network call)
- `create` — initialize an ATA on-chain
- `send` — transfer tokens from owner's ATA to a recipient
- `burn` — burn tokens from owner's ATA
- `list` — query ATAs across multiple token definitions
Usage:
wallet deploy-program artifacts/program_methods/associated_token_account.bin
wallet ata address --owner <ID> --token-definition <DEF_ID>
wallet ata create --owner Public/<ID> --token-definition <DEF_ID>
wallet ata send --from Public/<ID> --token-definition <DEF_ID> --to <RECIPIENT> --amount 100
wallet ata burn --holder Public/<ID> --token-definition <DEF_ID> --amount 50
wallet ata list --owner <ID> --token-definition <DEF1> <DEF2>
Includes tutorial: docs/LEZ testnet v0.1 tutorials/associated-token-accounts.md
2026-03-26 13:19:29 +01:00
Sergio Chouhy
c5cbfa375b
artifacts
2026-03-25 20:58:55 -03:00
Sergio Chouhy
3324bcf391
add sequencer checks
2026-03-25 20:02:13 -03:00
Sergio Chouhy
356a84132a
build artifacts
2026-03-25 18:02:38 -03:00
Sergio Chouhy
79d70b3a66
add test for empty intersection in circuit
2026-03-25 17:33:27 -03:00
Sergio Chouhy
414abe32ba
artifacts
2026-03-20 15:53:05 -03:00
Sergio Chouhy
a7779f7816
artifacts
2026-03-20 14:11:09 -03:00
jonesmarvin8
6f77c75b9c
Issue 257 - update ds and add ds to commitment ( #397 )
...
* initialize branch
* minor errors
* update artifacts and lint
* lint fix
2026-03-20 10:39:04 -04:00
Sergio Chouhy
646fcc5390
push artifacts
2026-03-19 20:14:07 -03:00
Sergio Chouhy
a069004451
add validity window checks on privacy preserving transactions
2026-03-19 18:32:54 -03:00
Sergio Chouhy
7bbd2dd5d7
add public validity window checks
2026-03-19 15:03:45 -03:00
Sergio Chouhy
895dd942cf
add validity range to program output
2026-03-19 12:10:02 -03:00
jonesmarvin8
2cecf71c93
additional lint fixes
2026-03-18 14:06:56 -04:00
jonesmarvin8
5d9980cf63
lint fixes
2026-03-18 13:10:36 -04:00
jonesmarvin8
0bcb626adc
lint fixes
2026-03-18 10:28:52 -04:00
jonesmarvin8
ba8fdf4f29
fix conflicts from merging main
2026-03-17 19:16:09 -04:00
jonesmarvin8
b44e066e84
fix constructor
2026-03-17 09:29:00 -04:00
fryorcraken
55c930d784
update artifacts
2026-03-16 14:35:29 +11:00
Pravdyvy
cf92157728
fix: artifacts updates
2026-03-05 14:41:52 +02:00
Andrea Franz
fee1ab30e9
chore(programs/amm): fix initial LP supply calculations
...
ift-ts:sc:logos:2026q1-amm-core-improvements:fix-initial-lp-calc
2026-02-27 09:21:43 +01:00