Skip to content

Commit

Permalink
feat: config for rari
Browse files Browse the repository at this point in the history
  • Loading branch information
CarsonCase committed Oct 30, 2024
1 parent 5af10cd commit f6f0d56
Show file tree
Hide file tree
Showing 3 changed files with 122 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ check-configs:

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}
@export LIVE_DEPLOY_READ_FILE_NAME=$(file) && forge test --mp test/LiveDeploy.t.sol --fork-url=${L1_RPC_URL} -vvv

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}
@export LIVE_DEPLOY_READ_FILE_NAME=$(file) && forge test --mp test/LiveDeploy.t.sol --fork-url=${L2_RPC_URL} -vvv

deployL1:
@echo "Setting environment variable LIVE_DEPLOY_READ_FILE_NAME to $(file)"
Expand Down
63 changes: 63 additions & 0 deletions deployment-config/rariETH-L1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
{
"protocolAdmin": "0x0000000000417626Ef34D62C4DC189b021603f2F",
"base": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
"boringVaultAndBaseDecimals": "18",
"boringVault": {
"boringVaultSalt": "0x1000000000000000000000000000000000000000000000000000000000000015",
"boringVaultName": "Rari ETH",
"boringVaultSymbol": "rariETH",
"address": "0x0000000000000000000000000000000000000000"
},
"manager": {
"managerSalt": "0x2000000000000000000000000000000000000000000000000000000000000015",
"address": "0x0000000000000000000000000000000000000000"
},
"accountant": {
"accountantSalt": "0x3000000000000000000000000000000000000000000000000000000000000015",
"payoutAddress": "0x0000000000417626Ef34D62C4DC189b021603f2F",
"allowedExchangeRateChangeUpper": "10030",
"allowedExchangeRateChangeLower": "9980",
"minimumUpdateDelayInSeconds": "3600",
"managementFee": "0",
"address": "0x0000000000000000000000000000000000000000"
},
"teller": {
"tellerSalt": "0x4000000000000000000000000000000000000000000000000000000000000015",
"maxGasForPeer": 200000,
"minGasForPeer": 60000,
"peerEid": 30235,
"tellerContractName": "MultiChainLayerZeroTellerWithMultiAssetSupport",
"opMessenger": "0x0000000000000000000000000000000000000000",
"assets": [
"0xcd5fe23c85820f7b72d0926fc9b05b43e359b7ee",
"0xbf5495efe5db9ce00f80364c8b423567e58d2110",
"0xFAe103DC9cf190eD75350761e95403b7b8aFa6c0",
"0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0",
"0x9Ba021B0a9b958B5E75cE9f6dff97C7eE52cb3E6"
],
"dvnIfNoDefault": {
"required": [
"0x589dEDbD617e0CBcB916A9223F4d1300c294236b"
],
"optional": [
"0x380275805876Ff19055EA900CDb2B46a94ecF20D",
"0x8FafAE7Dd957044088b3d0F67359C327c6200d18",
"0xa59BA433ac34D2927232918Ef5B2eaAfcF130BA5"
],
"blockConfirmationsRequiredIfNoDefault": 15,
"optionalThreshold": 2
},
"address": "0x0000000000000000000000000000000000000000"
},
"rolesAuthority": {
"rolesAuthoritySalt": "0x5000000000000000000000000000000000000000000000000000000000000015",
"strategist": "0x0000000000417626Ef34D62C4DC189b021603f2F",
"exchangeRateBot": "0x0000000000417626Ef34D62C4DC189b021603f2F",
"pauser": "0xe5CcB29Cb9C886da329098A184302E2D5Ff0cD9E",
"address": "0x0000000000000000000000000000000000000000"
},
"decoder": {
"decoderSalt": "0x600000000000000000000000000000000000000000000000000000000000000b",
"address": "0x0000000000000000000000000000000000000000"
}
}
57 changes: 57 additions & 0 deletions deployment-config/rariETH-L2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
{
"protocolAdmin": "0x0000000000417626Ef34D62C4DC189b021603f2F",
"base": "0x160345fC359604fC6e70E3c5fAcbdE5F7A9342d8",
"boringVaultAndBaseDecimals": "18",
"boringVault": {
"boringVaultSalt": "0x1000000000000000000000000000000000000000000000000000000000000015",
"boringVaultName": "Rari ETH",
"boringVaultSymbol": "rariETH",
"address": "0x0000000000000000000000000000000000000000"
},
"manager": {
"managerSalt": "0x2000000000000000000000000000000000000000000000000000000000000015",
"address": "0x0000000000000000000000000000000000000000"
},
"accountant": {
"accountantSalt": "0x3000000000000000000000000000000000000000000000000000000000000015",
"payoutAddress": "0x0000000000417626Ef34D62C4DC189b021603f2F",
"allowedExchangeRateChangeUpper": "10030",
"allowedExchangeRateChangeLower": "9980",
"minimumUpdateDelayInSeconds": "3600",
"managementFee": "0",
"address": "0x0000000000000000000000000000000000000000"
},
"teller": {
"tellerSalt": "0x4000000000000000000000000000000000000000000000000000000000000015",
"maxGasForPeer": 200000,
"minGasForPeer": 60000,
"peerEid": 30101,
"tellerContractName": "MultiChainLayerZeroTellerWithMultiAssetSupport",
"opMessenger": "0x0000000000000000000000000000000000000000",
"assets": [],
"dvnIfNoDefault": {
"required": [
"0x0b5e5452d0c9da1bb5fb0664f48313e9667d7820"
],
"optional": [
"0xdd7b5e1db4aafd5c8ec3b764efb8ed265aa5445b",
"0x2fa870cee4da57de84d1db36759d4716ad7e5038",
"0xb53648ca1aa054a80159c1175c03679fdc76bf88"
],
"blockConfirmationsRequiredIfNoDefault": 15,
"optionalThreshold": 2
},
"address": "0x0000000000000000000000000000000000000000"
},
"rolesAuthority": {
"rolesAuthoritySalt": "0x5000000000000000000000000000000000000000000000000000000000000015",
"strategist": "0x0000000000417626Ef34D62C4DC189b021603f2F",
"exchangeRateBot": "0x0000000000417626Ef34D62C4DC189b021603f2F",
"pauser": "0xe5CcB29Cb9C886da329098A184302E2D5Ff0cD9E",
"address": "0x0000000000000000000000000000000000000000"
},
"decoder": {
"decoderSalt": "0x600000000000000000000000000000000000000000000000000000000000000b",
"address": "0x0000000000000000000000000000000000000000"
}
}

0 comments on commit f6f0d56

Please sign in to comment.