1.2.5 • Published 1 month ago

@axor-dao/governance v1.2.5

Weekly downloads
-
License
-
Repository
-
Last release
1 month ago

Prepare

  • use Nodejs 18
npm i
npm run compile

Run Test

Test safety module

npx hardhat test test/safety-module/*.ts

Test liquidity module

npx hardhat test test/liquidity-module/wind-down-borrowing-pool.spec.ts

Deploy

  1. Compile source code of project axor-governance-contracts
npm run compile
  1. Config .env
ALCHEMY_KEY=
SEPOLIA_ETHERSCAN_API_KEY=
PRIVATE_KEY=<your-private-key>
ARB_SCAN_API_KEY=
  1. Config arbitrum testnet network at hardhat.config.ts

  2. Run tasks to deploy

npx hardhat deploy:phase-1

npx hardhat deploy:phase-2

npx hardhat deploy:phase-3
  1. After deploy, can get list address at file ./tasks/deployed/Contract

  2. Verify contract Use these files to verify contracts Update file ./verify-phase-1.sh Update file ./verify-phase-2.sh

1.2.5

1 month ago

1.2.4

1 month ago

1.2.3

2 months ago

1.2.2

2 months ago

1.2.0

2 months ago

1.1.9

2 months ago

1.1.8

2 months ago

1.1.7

2 months ago

1.1.6

2 months ago

1.2.1

2 months ago

1.1.5

2 months ago

1.0.7

2 months ago

1.0.6

2 months ago

1.0.5

2 months ago

1.0.4

3 months ago

1.0.3

3 months ago

1.0.2

3 months ago

1.0.1

3 months ago

1.0.0

3 months ago