diff --git a/finance/token-swap/anchor-v1/Anchor.toml b/finance/token-swap/anchor-v1/Anchor.toml index 432990a4..18297122 100644 --- a/finance/token-swap/anchor-v1/Anchor.toml +++ b/finance/token-swap/anchor-v1/Anchor.toml @@ -8,7 +8,7 @@ resolution = true skip-lint = false [programs.devnet] -swap_example = "AsGVFxWqEn8icRBFQApxJe68x3r9zvfSbmiEzYFATGYn" +swap_example = "GahM6PrXesrBkHiGJ5no4EskLNnVBCaSwVKbM4UtzyK6" [provider] diff --git a/finance/token-swap/anchor-v1/programs/token-swap/src/state/pool_config.rs b/finance/token-swap/anchor-v1/programs/token-swap/src/state/pool_config.rs index 4a238c55..26df7bea 100644 --- a/finance/token-swap/anchor-v1/programs/token-swap/src/state/pool_config.rs +++ b/finance/token-swap/anchor-v1/programs/token-swap/src/state/pool_config.rs @@ -32,12 +32,12 @@ pub struct PoolConfig { /// Mint of token B. pub mint_b: Pubkey, - /// Admin's accumulated fee claim on token A, in base units. Sits + /// Admin's accumulated fee claim on token A, in minor units. Sits /// physically in `pool_a` but is excluded from the LP curve and from /// LP-withdrawable amounts. Swept by `claim_admin_fees`. pub admin_fees_owed_a: u64, - /// Admin's accumulated fee claim on token B, in base units. Sits + /// Admin's accumulated fee claim on token B, in minor units. Sits /// physically in `pool_b` but is excluded from the LP curve and from /// LP-withdrawable amounts. Swept by `claim_admin_fees`. pub admin_fees_owed_b: u64, diff --git a/finance/token-swap/anchor/Anchor.toml b/finance/token-swap/anchor/Anchor.toml index 432990a4..18297122 100644 --- a/finance/token-swap/anchor/Anchor.toml +++ b/finance/token-swap/anchor/Anchor.toml @@ -8,7 +8,7 @@ resolution = true skip-lint = false [programs.devnet] -swap_example = "AsGVFxWqEn8icRBFQApxJe68x3r9zvfSbmiEzYFATGYn" +swap_example = "GahM6PrXesrBkHiGJ5no4EskLNnVBCaSwVKbM4UtzyK6" [provider] diff --git a/finance/token-swap/anchor/programs/token-swap/src/state/pool_config.rs b/finance/token-swap/anchor/programs/token-swap/src/state/pool_config.rs index c8feb92b..8de3ab06 100644 --- a/finance/token-swap/anchor/programs/token-swap/src/state/pool_config.rs +++ b/finance/token-swap/anchor/programs/token-swap/src/state/pool_config.rs @@ -32,12 +32,12 @@ pub struct PoolConfig { /// Mint of token B. pub mint_b: Address, - /// Admin's accumulated fee claim on token A, in base units. Sits + /// Admin's accumulated fee claim on token A, in minor units. Sits /// physically in `pool_a` but is excluded from the LP curve and from /// LP-withdrawable amounts. Swept by `claim_admin_fees`. pub admin_fees_owed_a: u64, - /// Admin's accumulated fee claim on token B, in base units. Sits + /// Admin's accumulated fee claim on token B, in minor units. Sits /// physically in `pool_b` but is excluded from the LP curve and from /// LP-withdrawable amounts. Swept by `claim_admin_fees`. pub admin_fees_owed_b: u64, diff --git a/finance/token-swap/quasar/src/state.rs b/finance/token-swap/quasar/src/state.rs index 89be5cbc..6983840f 100644 --- a/finance/token-swap/quasar/src/state.rs +++ b/finance/token-swap/quasar/src/state.rs @@ -55,11 +55,11 @@ pub struct PoolConfig { pub pool_a: Address, /// The pool's token B reserve, recorded and checked as `pool_a` is. pub pool_b: Address, - /// Admin's accumulated fee claim on token A, in base units. Sits + /// Admin's accumulated fee claim on token A, in minor units. Sits /// physically in `pool_a` but excluded from the LP curve and from /// LP-withdrawable amounts. Swept by `claim_admin_fees`. pub admin_fees_owed_a: u64, - /// Admin's accumulated fee claim on token B, in base units. Sits + /// Admin's accumulated fee claim on token B, in minor units. Sits /// physically in `pool_b` but excluded from the LP curve and from /// LP-withdrawable amounts. Swept by `claim_admin_fees`. pub admin_fees_owed_b: u64,