Skip to content

Commit

Permalink
chore: fix spelling error and remove base from chain specific config …
Browse files Browse the repository at this point in the history
…to deployment specific config
  • Loading branch information
junkim012 committed Aug 22, 2024
1 parent 32b51d6 commit c7505de
Show file tree
Hide file tree
Showing 11 changed files with 14 additions and 10 deletions.
2 changes: 2 additions & 0 deletions deployment-config/boba-eth-l1-08-09-24.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"protocolAdmin": "0x0000000000417626Ef34D62C4DC189b021603f2F",
"base": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
"baseDecimals": "18",
"boringVault": {
"boringVaultSalt": "0x1000000000000000000000000000000000000000000000000000000000000001",
"boringVaultName": "Boba Native Yield Nucleus Token",
Expand Down
2 changes: 2 additions & 0 deletions deployment-config/boba-eth-l2-08-09-24.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"protocolAdmin": "0x0888c3D797E13892C5e67cD802F93Ffe55Ea2826",
"base": "0xDeadDeAddeAddEAddeadDEaDDEAdDeaDDeAD0000",
"baseDecimals": "18",
"boringVault": {
"boringVaultSalt": "0x1000000000000000000000000000000000000000000000000000000000000001",
"boringVaultName": "Boba Native Yield Nucleus Token",
Expand Down
1 change: 0 additions & 1 deletion deployment-config/chains/1.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"base": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
"balancerVault": "0xBA12222222228d8Ba445958a75a0704d566BF2C8",
"opMessenger": "0x25ace71c97B33Cc4729CF772ae268934F7ab5fA1",
"lzEndpoint": "0x1a44076050125825900e736c501f859c50fE728c",
Expand Down
1 change: 0 additions & 1 deletion deployment-config/chains/1329.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"base": "0x160345fC359604fC6e70E3c5fAcbdE5F7A9342d8",
"balancerVault": "0x0000000000000000000000000000000000000000",
"lzEndpoint": "0x1a44076050125825900e736c501f859c50fE728c"
}
1 change: 0 additions & 1 deletion deployment-config/chains/252.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"base": "0xFC00000000000000000000000000000000000006",
"balancerVault": "0x0000000000000000000000000000000000000000",
"lzEndpoint": "0x1a44076050125825900e736c501f859c50fE728c"
}
2 changes: 2 additions & 0 deletions deployment-config/fraxtal-eth-l1-08-13-24.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"protocolAdmin": "0x0000000000417626Ef34D62C4DC189b021603f2F",
"base": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
"baseDecimals": "18",
"boringVault": {
"boringVaultSalt": "0x1000000000000000000000000000000000000000000000000000000000000002",
"boringVaultName": "Fraxtal Native Yield Nucleus Token",
Expand Down
2 changes: 2 additions & 0 deletions deployment-config/fraxtal-eth-l2-08-13-24.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"protocolAdmin": "0x0888c3D797E13892C5e67cD802F93Ffe55Ea2826",
"base": "0xFC00000000000000000000000000000000000006",
"baseDecimals": "18",
"boringVault": {
"boringVaultSalt": "0x1000000000000000000000000000000000000000000000000000000000000002",
"boringVaultName": "Fraxtal Native Yield Nucleus Token",
Expand Down
3 changes: 2 additions & 1 deletion deployment-config/sei-eth-l1-08-08-24.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"protocolAdmin": "0x0000000000417626Ef34D62C4DC189b021603f2F",

"base": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
"baseDecimals": "18",
"boringVault":{
"boringVaultSalt": "0x100000000000000000000000000000000000000000000000000000000000000a",
"boringVaultName": "Sei Native Yield Nucleus Token",
Expand Down
3 changes: 2 additions & 1 deletion deployment-config/sei-eth-l2-08-08-24.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"protocolAdmin": "0xF2dE1311C5b2C1BD94de996DA13F80010453e505",

"base": "0x160345fC359604fC6e70E3c5fAcbdE5F7A9342d8",
"baseDecimals": "18",
"boringVault":{
"boringVaultSalt": "0x1000000000000000000000000000000000000000000000000000000000000000",
"boringVaultName": "Sei Native Yield Nucleus Token",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,6 @@ contract DeployAccountantWithRateProviders is BaseScript {
startingExchangeRate == 10 ** config.baseDecimals,
"starting exchange rate must be equal to base decimals"
);
// TODO This could now be removed since starting exchange rate must always be enforced to be equal to base
// decimals.
// require(startingExchangeRate == 1e18, "starting exchange rate must be 1e18");
}
// Create Contract
bytes memory creationCode = type(AccountantWithRateProviders).creationCode;
Expand Down
4 changes: 2 additions & 2 deletions src/helper/GenericRateProvider.sol
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ contract GenericRateProvider is IRateProvider {

constructor(
address _target,
bytes4 _selctor,
bytes4 _selector,
bytes32 _staticArgument0,
bytes32 _staticArgument1,
bytes32 _staticArgument2,
Expand All @@ -43,7 +43,7 @@ contract GenericRateProvider is IRateProvider {
bytes32 _staticArgument7
) {
target = _target;
selector = _selctor;
selector = _selector;
staticArgument0 = _staticArgument0;
staticArgument1 = _staticArgument1;
staticArgument2 = _staticArgument2;
Expand Down

0 comments on commit c7505de

Please sign in to comment.