-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14 from Ion-Protocol/carson/dvm-script
DVN script added to LZ deployment
- Loading branch information
Showing
51 changed files
with
2,256 additions
and
373 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 |
---|---|---|
|
@@ -18,4 +18,6 @@ docs/ | |
broadcast/* | ||
|
||
# Bun | ||
node_modules/ | ||
node_modules/ | ||
|
||
.vscode |
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 |
---|---|---|
@@ -0,0 +1,46 @@ | ||
include .env | ||
|
||
checkL1: | ||
@echo "Setting environment variable LIVE_DEPLOY_READ_FILE_NAME to $(file)" | ||
@export LIVE_DEPLOY_READ_FILE_NAME=$(file) && forge test --mp test/LiveDeploy.t.sol --fork-url=${L1_RPC_URL} | ||
|
||
checkL2: | ||
@echo "Setting environment variable LIVE_DEPLOY_READ_FILE_NAME to $(file)" | ||
@export LIVE_DEPLOY_READ_FILE_NAME=$(file) && forge test --mp test/LiveDeploy.t.sol --fork-url=${L2_RPC_URL} | ||
|
||
deployL1: | ||
@echo "Setting environment variable LIVE_DEPLOY_READ_FILE_NAME to $(file)" | ||
@export LIVE_DEPLOY_READ_FILE_NAME=$(file) && forge script script/deploy/deployAll.s.sol --sig "run(string)" $(file) --fork-url=${L1_RPC_URL} | ||
|
||
deployL2: | ||
@echo "Setting environment variable LIVE_DEPLOY_READ_FILE_NAME to $(file)" | ||
@export LIVE_DEPLOY_READ_FILE_NAME=$(file) && forge script script/deploy/deployAll.s.sol --sig "run(string)" $(file) --fork-url=${L1_RPC_URL} | ||
|
||
live-deployL1: | ||
@echo "Setting environment variable LIVE_DEPLOY_READ_FILE_NAME to $(file)" | ||
@export LIVE_DEPLOY_READ_FILE_NAME=$(file) && forge script script/deploy/deployAll.s.sol --sig "run(string)" $(file) --fork-url=${L1_RPC_URL} --private-key=$(PRIVATE_KEY) --broadcast --slow --verify | ||
|
||
live-deployL2: | ||
@echo "Setting environment variable LIVE_DEPLOY_READ_FILE_NAME to $(file)" | ||
@export LIVE_DEPLOY_READ_FILE_NAME=$(file) && forge script script/deploy/deployAll.s.sol --sig "run(string)" $(file) --fork-url=${L1_RPC_URL} --private-key=$(PRIVATE_KEY) --broadcast --slow --verify | ||
|
||
prettier: | ||
prettier --write '**/*.{md,yml,yaml,ts,js}' | ||
|
||
solhint: | ||
solhint -w 0 'src/**/*.sol' | ||
|
||
slither: | ||
slither src | ||
|
||
prepare: | ||
husky | ||
|
||
deploy-createx-l1: | ||
forge script script/DeployCustomCreatex.s.sol --rpc-url $L1_RPC_URL --private-key $PRIVATE_KEY --slow --no-metadata | ||
|
||
deploy-createx-l2: | ||
forge script script/DeployCustomCreatex.s.sol --rpc-url $L2_RPC_URL --private-key $PRIVATE_KEY --slow --no-metadata | ||
|
||
check-configs: | ||
bun lzConfigCheck.cjs |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"name": "Ethereum Sepolia", | ||
"balancerVault": "0xBA12222222228d8Ba445958a75a0704d566BF2C8", | ||
"lzEndpoint": "0x6EDCE65403992e310A62460808c4b910D972f10f" | ||
} |
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,4 +1,5 @@ | ||
{ | ||
"name": "Sei", | ||
"balancerVault": "0x0000000000000000000000000000000000000000", | ||
"lzEndpoint": "0x1a44076050125825900e736c501f859c50fE728c" | ||
} |
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,4 +1,5 @@ | ||
{ | ||
"name": "Fraxtal", | ||
"balancerVault": "0x0000000000000000000000000000000000000000", | ||
"lzEndpoint": "0x1a44076050125825900e736c501f859c50fE728c" | ||
} |
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,4 +1,5 @@ | ||
{ | ||
"name": "Boba", | ||
"balancerVault": "0x0000000000000000000000000000000000000000", | ||
"lzEndpoint": "0x0000000000000000000000000000000000000000" | ||
} |
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 |
---|---|---|
@@ -0,0 +1,57 @@ | ||
{ | ||
"base": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2", | ||
"protocolAdmin": "0x0000000000417626Ef34D62C4DC189b021603f2F", | ||
"boringVaultAndBaseDecimals": "18", | ||
"boringVault": { | ||
"boringVaultSalt": "0x1ddd634c506ad203da17ff00000000000000000000000000000000000000001c", | ||
"boringVaultName": "Nucleus Vault", | ||
"boringVaultSymbol": "NV", | ||
"address": "0x0000000000E7Ab44153eEBEF2343ba5289F65dAC" | ||
}, | ||
"manager": { | ||
"managerSalt": "0x30432d4b4ec00003b4a25000000000000000000000000000000000000000001c", | ||
"address": "0x0000000000fAd6Db23abdC1a85621B97bd1Dc82f" | ||
}, | ||
"accountant": { | ||
"accountantSalt": "0x6a184dbea6f3cc0318679f00000000000000000000000000000000000000001c", | ||
"payoutAddress": "0x0000000000417626Ef34D62C4DC189b021603f2F", | ||
"allowedExchangeRateChangeUpper": "10003", | ||
"allowedExchangeRateChangeLower": "9998", | ||
"minimumUpdateDelayInSeconds": "3600", | ||
"managementFee": "2000", | ||
"address": "0x00000000004F96C07B83e86600D86F9479bB43fa" | ||
}, | ||
"teller": { | ||
"tellerSalt": "0x51f8968749a56d01202c9100000000000000000000000000000000000000001c", | ||
"maxGasForPeer": 100000, | ||
"minGasForPeer": 0, | ||
"peerEid": 30280, | ||
"tellerContractName": "TellerWithMultiAssetSupport", | ||
"assets": [ | ||
], | ||
"dvnIfNoDefault": { | ||
"required": [ | ||
"0x589dEDbD617e0CBcB916A9223F4d1300c294236b" | ||
], | ||
"optional": [ | ||
"0x380275805876Ff19055EA900CDb2B46a94ecF20D", | ||
"0x8FafAE7Dd957044088b3d0F67359C327c6200d18", | ||
"0xa59BA433ac34D2927232918Ef5B2eaAfcF130BA5", | ||
"0xe552485d02EDd3067FE7FCbD4dd56BB1D3A998D2" | ||
], | ||
"blockConfirmationsRequiredIfNoDefault": 15, | ||
"optionalThreshold": 1 | ||
}, | ||
"address": "0x00000000004F96C07B83e86600D86F0000000000" | ||
}, | ||
"rolesAuthority": { | ||
"rolesAuthoritySalt": "0x66bbc3b3b3000b01466a3a00000000000000000000000000000000000000001c", | ||
"strategist": "0xC2d99d76bb9D46BF8Ec9449E4DfAE48C30CF0839", | ||
"exchangeRateBot": "0x00000000004F96C07B83e86600D86F0000000000", | ||
"address": "0x00000000004F96C07B83e86600D86F0000000000" | ||
}, | ||
"decoder": { | ||
"decoderSalt": "0x48b53893da2e0b0248268c00000000000000000000000000000000000000001c", | ||
"address": "0x00000000004F96C07B83e86600D86F0000000000" | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,56 @@ | ||
{ | ||
"base":"0x160345fC359604fC6e70E3c5fAcbdE5F7A9342d8", | ||
"protocolAdmin": "0xF2dE1311C5b2C1BD94de996DA13F80010453e505", | ||
"boringVaultAndBaseDecimals": "18", | ||
"boringVault": { | ||
"boringVaultSalt": "0x1ddd634c506ad203da17ff00000000000000000000000000000000000000000e", | ||
"boringVaultName": "Nucleus Vault", | ||
"boringVaultSymbol": "NV", | ||
"address": "0x0000000000E7Ab44153eEBEF2343ba5289F65dAC" | ||
}, | ||
"manager": { | ||
"managerSalt": "0x30432d4b4ec00003b4a25000000000000000000000000000000000000000000e", | ||
"address": "0x0000000000fAd6Db23abdC1a85621B97bd1Dc82f" | ||
}, | ||
"accountant": { | ||
"accountantSalt": "0x6a184dbea6f3cc0318679f00000000000000000000000000000000000000000e", | ||
"payoutAddress": "0x0000000000417626Ef34D62C4DC189b021603f2F", | ||
"allowedExchangeRateChangeUpper": "10003", | ||
"allowedExchangeRateChangeLower": "9998", | ||
"minimumUpdateDelayInSeconds": "3600", | ||
"managementFee": "2000", | ||
"address": "0x00000000004F96C07B83e86600D86F9479bB43fa" | ||
}, | ||
"teller": { | ||
"tellerSalt": "0x51f8968749a56d01202c9100000000000000000000000000000000000000000e", | ||
"maxGasForPeer": 100000, | ||
"minGasForPeer": 0, | ||
"peerEid": 30280, | ||
"tellerContractName": "TellerWithMultiAssetSupport", | ||
"assets": [], | ||
"dvnIfNoDefault": { | ||
"required": [ | ||
"0x6788f52439aca6bff597d3eec2dc9a44b8fee842" | ||
], | ||
"optional": [ | ||
"0x1feb08b1a53a9710afce82d380b8c2833c69a37e", | ||
"0x87048402c32632b7c4d0a892d82bc1160e8b2393", | ||
"0xd24972c11f91c1bb9eaee97ec96bb9c33cf7af24", | ||
"0xbd00c87850416db0995ef8030b104f875e1bdd15" | ||
], | ||
"blockConfirmationsRequiredIfNoDefault": 15, | ||
"optionalThreshold": 1 | ||
}, | ||
"address": "0x00000000004F96C07B83e86600D86F0000000000" | ||
}, | ||
"rolesAuthority": { | ||
"rolesAuthoritySalt": "0x66bbc3b3b3000b01466a3a00000000000000000000000000000000000000000e", | ||
"strategist": "0xC2d99d76bb9D46BF8Ec9449E4DfAE48C30CF0839", | ||
"exchangeRateBot": "0x00000000004F96C07B83e86600D86F0000000000", | ||
"address": "0x00000000004F96C07B83e86600D86F0000000000" | ||
}, | ||
"decoder": { | ||
"decoderSalt": "0x48b53893da2e0b0248268c00000000000000000000000000000000000000000e", | ||
"address": "0x00000000004F96C07B83e86600D86F0000000000" | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,57 @@ | ||
{ | ||
"base": "0x0893A950E8f80B21658ba35D39d9AB00cCa95589", | ||
"protocolAdmin": "0x0000000000417626Ef34D62C4DC189b021603f2F", | ||
"boringVaultAndBaseDecimals": "8", | ||
"boringVault": { | ||
"boringVaultSalt": "0x1ddd634c506ad203da17ff000000000000000000000000000000000000000011", | ||
"boringVaultName": "Form BTC", | ||
"boringVaultSymbol": "FBTC", | ||
"address": "0x0000000000000000000000000000000000000000" | ||
}, | ||
"manager": { | ||
"managerSalt": "0x30432d4b4ec00003b4a250000000000000000000000000000000000000000011", | ||
"address": "0x0000000000000000000000000000000000000000" | ||
}, | ||
"accountant": { | ||
"accountantSalt": "0x6a184dbea6f3cc0318679f000000000000000000000000000000000000000011", | ||
"payoutAddress": "0x0000000000417626Ef34D62C4DC189b021603f2F", | ||
"allowedExchangeRateChangeUpper": "10003", | ||
"allowedExchangeRateChangeLower": "9998", | ||
"minimumUpdateDelayInSeconds": "3600", | ||
"managementFee": "0", | ||
"address": "0x0000000000000000000000000000000000000000" | ||
}, | ||
"teller": { | ||
"tellerSalt": "0x51f8968749a56d01202c91000000000000000000000000000000000000000011", | ||
"maxGasForPeer": 100000, | ||
"minGasForPeer": 0, | ||
"peerEid": 40270, | ||
"tellerContractName": "TellerWithMultiAssetSupport", | ||
"opMessenger": "0x58Cc85b8D04EA49cC6DBd3CbFFd00B4B8D6cb3ef", | ||
"assets": [], | ||
"dvnIfNoDefault": { | ||
"required": [ | ||
"0x589dEDbD617e0CBcB916A9223F4d1300c294236b" | ||
], | ||
"optional": [ | ||
"0x380275805876Ff19055EA900CDb2B46a94ecF20D", | ||
"0x8FafAE7Dd957044088b3d0F67359C327c6200d18", | ||
"0xa59BA433ac34D2927232918Ef5B2eaAfcF130BA5", | ||
"0xe552485d02EDd3067FE7FCbD4dd56BB1D3A998D2" | ||
], | ||
"blockConfirmationsRequiredIfNoDefault": 15, | ||
"optionalThreshold": 1 | ||
}, | ||
"address": "0x0000000000000000000000000000000000000000" | ||
}, | ||
"rolesAuthority": { | ||
"rolesAuthoritySalt": "0x66bbc3b3b3000b01466a3a000000000000000000000000000000000000000011", | ||
"strategist": "0x0000000000417626Ef34D62C4DC189b021603f2F", | ||
"exchangeRateBot": "0x0000000000417626Ef34D62C4DC189b021603f2F", | ||
"address": "0x0000000000000000000000000000000000000000" | ||
}, | ||
"decoder": { | ||
"decoderSalt": "0x48b53893da2e0b0248268c000000000000000000000000000000000000000011", | ||
"address": "0x0000000000000000000000000000000000000000" | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,59 @@ | ||
{ | ||
"base": "0xee44150250AfF3E6aC25539765F056EDb7F85D7B", | ||
"protocolAdmin": "0x0000000000417626Ef34D62C4DC189b021603f2F", | ||
"boringVaultAndBaseDecimals": "18", | ||
"boringVault": { | ||
"boringVaultSalt": "0x1ddd634c506ad203da17ff00000000000000000000000000000000000000000e", | ||
"boringVaultName": "Form ETH", | ||
"boringVaultSymbol": "FETH", | ||
"address": "0x0000000000000000000000000000000000000000" | ||
}, | ||
"manager": { | ||
"managerSalt": "0x30432d4b4ec00003b4a25000000000000000000000000000000000000000000e", | ||
"address": "0x0000000000000000000000000000000000000000" | ||
}, | ||
"accountant": { | ||
"accountantSalt": "0x6a184dbea6f3cc0318679f00000000000000000000000000000000000000000e", | ||
"payoutAddress": "0x0000000000417626Ef34D62C4DC189b021603f2F", | ||
"allowedExchangeRateChangeUpper": "10003", | ||
"allowedExchangeRateChangeLower": "9998", | ||
"minimumUpdateDelayInSeconds": "3600", | ||
"managementFee": "0", | ||
"address": "0x0000000000000000000000000000000000000000" | ||
}, | ||
"teller": { | ||
"tellerSalt": "0x51f8968749a56d01202c9100000000000000000000000000000000000000000e", | ||
"maxGasForPeer": 100000, | ||
"minGasForPeer": 0, | ||
"peerEid": 40270, | ||
"tellerContractName": "TellerWithMultiAssetSupport", | ||
"opMessenger": "0x58Cc85b8D04EA49cC6DBd3CbFFd00B4B8D6cb3ef", | ||
"assets": [ | ||
|
||
], | ||
"dvnIfNoDefault": { | ||
"required": [ | ||
"0x589dEDbD617e0CBcB916A9223F4d1300c294236b" | ||
], | ||
"optional": [ | ||
"0x380275805876Ff19055EA900CDb2B46a94ecF20D", | ||
"0x8FafAE7Dd957044088b3d0F67359C327c6200d18", | ||
"0xa59BA433ac34D2927232918Ef5B2eaAfcF130BA5", | ||
"0xe552485d02EDd3067FE7FCbD4dd56BB1D3A998D2" | ||
], | ||
"blockConfirmationsRequiredIfNoDefault": 15, | ||
"optionalThreshold": 1 | ||
}, | ||
"address": "0x0000000000000000000000000000000000000000" | ||
}, | ||
"rolesAuthority": { | ||
"rolesAuthoritySalt": "0x66bbc3b3b3000b01466a3a00000000000000000000000000000000000000000e", | ||
"strategist": "0x0000000000417626Ef34D62C4DC189b021603f2F", | ||
"exchangeRateBot": "0x0000000000417626Ef34D62C4DC189b021603f2F", | ||
"address": "0x0000000000000000000000000000000000000000" | ||
}, | ||
"decoder": { | ||
"decoderSalt": "0x48b53893da2e0b0248268c00000000000000000000000000000000000000000e", | ||
"address": "0x0000000000000000000000000000000000000000" | ||
} | ||
} |
Oops, something went wrong.