mirror of
https://github.com/logos-blockchain/lssa.git
synced 2026-02-28 09:13:11 +00:00
initialize branch
This commit is contained in:
parent
89ce9f322a
commit
8095408e1b
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -24,7 +24,6 @@ risc0-binfmt = "3.0.2"
|
||||
|
||||
[dev-dependencies]
|
||||
token_core.workspace = true
|
||||
amm_core.workspace = true
|
||||
test_program_methods.workspace = true
|
||||
|
||||
env_logger.workspace = true
|
||||
@ -34,3 +33,4 @@ test-case = "3.3.1"
|
||||
[features]
|
||||
default = []
|
||||
prove = ["risc0-zkvm/prove"]
|
||||
test-utils = []
|
||||
@ -11,6 +11,7 @@ use crate::program::ProgramId;
|
||||
pub mod data;
|
||||
|
||||
pub type Nonce = u128;
|
||||
pub type Balance = u128;
|
||||
|
||||
/// Account to be used both in public and private contexts
|
||||
#[derive(
|
||||
@ -18,7 +19,7 @@ pub type Nonce = u128;
|
||||
)]
|
||||
pub struct Account {
|
||||
pub program_owner: ProgramId,
|
||||
pub balance: u128,
|
||||
pub balance: Balance,
|
||||
pub data: Data,
|
||||
pub nonce: Nonce,
|
||||
}
|
||||
|
||||
1355
nssa/src/state.rs
1355
nssa/src/state.rs
File diff suppressed because it is too large
Load Diff
@ -8,3 +8,4 @@ license = { workspace = true }
|
||||
nssa_core.workspace = true
|
||||
token_core.workspace = true
|
||||
amm_core.workspace = true
|
||||
nssa.workspace = true
|
||||
1344
programs/amm/src/full_tests.rs
Normal file
1344
programs/amm/src/full_tests.rs
Normal file
File diff suppressed because it is too large
Load Diff
@ -8,3 +8,4 @@ pub mod remove;
|
||||
pub mod swap;
|
||||
|
||||
mod tests;
|
||||
mod full_tests;
|
||||
Loading…
x
Reference in New Issue
Block a user