Logo
Explore Help
Sign In
logos-blockchain/lez-programs
1
0
Fork 0
You've already forked lez-programs
mirror of https://github.com/logos-blockchain/lez-programs.git synced 2026-05-19 15:39:28 +00:00
Code Issues Packages Projects Releases Wiki Activity
lez-programs/amm/core/Cargo.toml

12 lines
442 B
TOML
Raw Normal View History

chore: initial repository setup for programs
2026-03-17 18:08:53 +01:00
[package]
name = "amm_core"
version = "0.1.0"
edition = "2021"
[dependencies]
chore: update `spel` and `logos-execution-zone` dependencies This removes the need to depend on a custom version, since the necessary changes have landed in `spel` upstream.
2026-04-01 14:03:03 +02:00
nssa_core = { git = "https://github.com/logos-blockchain/logos-execution-zone.git", rev = "ffcbc15972adbf557939bf3e2852af276422631b", features = ["host"] }
feat(amm): add SyncReserves instruction Adds a new `SyncReserves` instruction that updates a pool's recorded reserves to match the actual vault balances. This allows the pool to absorb donations (direct token transfers to vaults) without breaking the invariant — only upward adjustments are permitted; vaults may not be under-collateralized relative to reserves. Vault reading helpers (`read_fungible_holding`, `read_vault_fungible_balances`) are implemented in `amm_core` so they can be shared across instructions without crossing crate boundaries.
2026-04-08 10:57:47 -03:00
token_core = { path = "../../token/core" }
chore: initial repository setup for programs
2026-03-17 18:08:53 +01:00
borsh = { version = "1.5", features = ["derive"] }
serde = { version = "1.0", features = ["derive"] }
risc0-zkvm = { version = "=3.0.5", default-features = false }
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.0 Page: 18ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API