File tree Expand file tree Collapse file tree 4 files changed +742
-2
lines changed
noir-projects/noir-contracts/contracts/app/amm_contract/src Expand file tree Collapse file tree 4 files changed +742
-2
lines changed Original file line number Diff line number Diff line change 11mod lib ;
22mod config ;
3+ mod test ;
34
45use dep::aztec::macros::aztec ;
56
@@ -54,9 +55,9 @@ pub contract AMM {
5455
5556 /// Amount of liquidity which gets locked when liquidity is provided for the first time. Its purpose is to prevent
5657 /// the pool from ever emptying which could lead to undefined behavior.
57- global MINIMUM_LIQUIDITY : u128 = 1000 ;
58+ pub global MINIMUM_LIQUIDITY : u128 = 1000 ;
5859 /// We set it to 99 times the minimum liquidity. That way the first LP gets 99% of the value of their deposit.
59- global INITIAL_LIQUIDITY : u128 = 99000 ;
60+ pub global INITIAL_LIQUIDITY : u128 = 99000 ;
6061
6162 // TODO(#9480): Either deploy the liquidity contract in the constructor or verify it that it corresponds to what
6263 // this contract expects (i.e. that the AMM has permission to mint and burn).
Original file line number Diff line number Diff line change 1+ mod test ;
2+ pub (crate ) mod utils ;
You can’t perform that action at this time.
0 commit comments