- To generate testcases from csv's, run unit tests and run multitests:
make test - Skip multitest generation and just run already compiled tests:
make testfast - Checking sizes of contracts:
yarn run sizes
- adding a liquidity without borrowing vAUSD (uses extra gas)
x.y.z.YYMMDD- x - Major (protocol api significant change, for example when a roadmap milestone acomplished)
- y - Minor (may have some minor api changes and deployment script changes)
- z - Patch (bugfix/optimization that doesn't affect deployment script/api)
NOTE: In an agile development we will do at least one Patch-level release each sprint.
important
use .mainnet.empty.json as initial file to update contracts information while deploy
define env value
FORK_RPC_URL=<fork rpc url>
IMPERSONATE_ACCOUNT=<impersonate address>
note
if found `failed ProviderError: resource not found` try remove `.mainnet.json` in `.openzeppelin`
- run
yarn compileif contracts is already compiled with stabled code, you can skip this step - run
yarn deploy:aldex-core
deploy Libraries, AldexDeployer, AldexBank, Ausd, AldexBankConfig, ConcentratedLiquidityPoolFactory, etc.. - run
yarn deploy:oracle
deploy ChainlinkPriceOracle, OracleChecker, setChainlinkPriceOracle on AldexBankConfig, setOracleChecker on AldexBank - run
yarn deploy:strategy-outside-swap
deploy UniswapV3StrategyOutsideSwap and whitelist on AldexBank - run
yarn deploy:concentrated-pool
deploy cl pools with custom inputs variable insideconcentrated-liquidity-pool.ts - run
yarn deploy:concentrated-pool-helper
- run
yarn config:set-oracle-checker-config
set expired time and tolerance bps per token - run
yarn config:set-oracle-prices
set price via chainlink address per token - run
yarn config:update-ausd-max-debt-limitset max debt per token on AldexBank
