* Add foundry deployment script and config * Add generated by foundry build artifact for Treasury * Add shortcut commands for goerli deployment * Switch to a production version of predicting a deployment address * Lower gas price * Fix a copy-paste error * Productionise and final test
26 lines
1.1 KiB
JSON
26 lines
1.1 KiB
JSON
{
|
|
"name": "@0x/governance",
|
|
"version": "1.0.0",
|
|
"description": "Governance implementation for the 0x protocol and treasury",
|
|
"main": "index.js",
|
|
"directories": {
|
|
"lib": "lib",
|
|
"test": "test"
|
|
},
|
|
"scripts": {
|
|
"test": "forge test",
|
|
"build": "forge build",
|
|
"build:smt": "FOUNDRY_PROFILE=smt forge build",
|
|
"test:integration": "source .env && FOUNDRY_PROFILE=integration forge test --fork-url $MAINNET_RPC_URL --fork-block-number 16884148 -vvv",
|
|
"goerli:deploy:zrxtoken": "source .env && forge script script/DeployToken.s.sol:Deploy --rpc-url $GOERLI_RPC_URL --broadcast --slow -vvvv",
|
|
"goerli:deploy:governance": "source .env && forge script script/DeployGovernance.s.sol:Deploy --rpc-url $GOERLI_RPC_URL --broadcast --slow -vvvv",
|
|
"mainnet:deploy:governance": "source .env && forge script script/DeployGovernance.s.sol:Deploy --rpc-url $MAINNET_RPC_URL --broadcast --slow -vvvv"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/0xProject/protocol.git"
|
|
},
|
|
"license": "Apache-2.0",
|
|
"dependencies": {}
|
|
}
|