generated from AngleProtocol/boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: add disputer contract, scripts and tests * chore: uniformize hardhat config accounts * feat: handle infinite approval & format headers * scripts: skip some chains * fix: dispute test * feat: add whitelisted addresses * fix: deployer address * chore: deployments * feat: add set distributor and owner scripts * feat: add normal deploy Disputer script * fix: set correctly owner and deployer of disputer * refactor: revert owner to deployer * feat: import CoreBorrow contract * feat: add foundry deploy scripts * wip: prepare sdk bump * feat: bump sdk * feat: add setters to deploy script * feat: add fund disputer whitelist script * feat: add mintAgla script * feat: add deployCreateX script * feat: update merklDeploy script * feat: add some control on deployer address and multisig address * feat: verify createX is deployed * feat: deploy script improvements * refactor: create transferInitialFunds function for better readability * fix: initialize core args * fix: add missing merkl deployer in funding * chore: update foundry.toml * feat: remove CreateX deployment from main script * feat: add Distributor, DistributorCreator and Disputer scripts * refactor: improve scripts * refactor: remove hardhat for foundry * refactor: clean imports & useless files * refactor: clean tests * refactor: minor tests fixes * ci: remove hardhat * ci: rename registry-token env * ci: fix bunfig.toml token * fix: update bunfig.toml token * ci: setup repo in coverage job * feat: verify standard create2 is deployed * feat: merge puffer token wrapper * refactor(scripts): add parameterless run functions * docs(README): add script instructions * feat: add swell * fix: foundry.toml swell rpc * fix: fork test * refactor: delete TokenLocker.sol * feat(scripts): add FundDisputer script * feat(scripts): add Disputer WithdrawFunds script * refactor(ci): move coverage to separate workflow * fix: typos * fix: foundry.toml typo * chore: bump sdk * feat(script): add ToggleDispute script --------- Co-authored-by: picodes <[email protected]>
- Loading branch information
Showing
602 changed files
with
13,640,951 additions
and
20,358 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,50 +1,20 @@ | ||
## Add URI and BIP39 mnemonic, and etherscan API key for every network that you plan to use | ||
## These are used in `hardhat.config.ts` (see `nodeUrl` and `accounts` calls in network definitions) | ||
|
||
#ETH_NODE_URI_MAINNET="" | ||
#MNEMONIC_MAINNET="" | ||
#MAINNET_ETHERSCAN_API_KEY="" | ||
|
||
#ETH_NODE_URI_POLYGON="" | ||
#MNEMONIC_POLYGON="" | ||
#POLYGON_ETHERSCAN_API_KEY="" | ||
|
||
#ETH_NODE_URI_ARBITRUM="" | ||
#MNEMONIC_ARBITRUM="" | ||
#ARBITRUM_ETHERSCAN_API_KEY="" | ||
|
||
# DEPLOYER_PRIVATE_KEY="" | ||
|
||
# ETH_NODE_URI_MODE= | ||
# ETHERSCAN_API_KEY_MODE="" | ||
# MODE_ETHERSCAN_API_KEY="" | ||
|
||
# ETH_NODE_URI_ASTAR= | ||
# ETHERSCAN_API_KEY_ASTAR="" | ||
# MODE_ETHERSCAN_API_ASTAR="" | ||
|
||
# ETH_NODE_URI_ASTARZKEVM= | ||
# ETHERSCAN_API_KEY_ASTARZKEVM="" | ||
# MODE_ETHERSCAN_API_ASTARZKEVM="" | ||
|
||
#ETH_NODE_URI_ROOTSTOCK= | ||
#ROOTSTOCK_ETHERSCAN_API_KEY="" | ||
|
||
#ETH_NODE_URI_TAIKO= | ||
#TAIKO_ETHERSCAN_API_KEY="" | ||
|
||
#ETH_NODE_URI_SEI= | ||
#SEI_ETHERSCAN_API_KEY="" | ||
|
||
#ETH_NODE_URI_MOONBEAM= | ||
#MOONBEAM_ETHERSCAN_API_KEY="" | ||
|
||
#ETH_NODE_URI_SKALE= | ||
#SKALE_ETHERSCAN_API_KEY="" | ||
|
||
#ETH_NODE_URI_CELO= | ||
#CELO_ETHERSCAN_API_KEY="" | ||
|
||
#ETH_NODE_URI_FRAXTAL= | ||
#FRAXTAL_ETHERSCAN_API_KEY="" | ||
|
||
## These are used in foundry.toml | ||
|
||
# Global Settings | ||
DEPLOYER_ADDRESS="" | ||
DEPLOYER_PRIVATE_KEY="" # PRIVATE KEY of 0xA9DdD91249DFdd450E81E1c56Ab60E1A62651701 | ||
MERKL_DEPLOYER_PRIVATE_KEY="" # PRIVATE KEY of 0x9f76a95AA7535bb0893cf88A146396e00ed21A12 | ||
MNEMONIC="" | ||
|
||
#HARDHAT_IGNITION_CONFIRM_DEPLOYMENT=false # uncomment to ignore deployments validation | ||
DEPLOY_SALT="" | ||
|
||
# Localhost (chainId: X) | ||
LOCALHOST_NODE_URI="http://127.0.0.1:8545" | ||
LOCALHOST_MNEMONIC="" | ||
LOCALHOST_ETHERSCAN_API_KEY="" | ||
|
||
# <NETWORK> (chainId: <CHAIN_ID>) | ||
<NETWORK>_NODE_URI="" | ||
<NETWORK>_MNEMONIC="" | ||
<NETWORK>_ETHERSCAN_API_KEY="" |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.