Skip to content

Commit

Permalink
fix: adding oracle address
Browse files Browse the repository at this point in the history
  • Loading branch information
kupermind committed Oct 27, 2024
1 parent 59398d4 commit 8c94013
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 7 deletions.
9 changes: 7 additions & 2 deletions abis/0.8.28/MemeBase.json

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion contracts/MemeBase.sol
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,8 @@ contract MemeBase {
address _factory,
address _l2TokenRelayer,
address _balancerVault,
bytes32 _balancerPoolId
bytes32 _balancerPoolId,
address _oracle
) {
olas = _olas;
usdc = _usdc;
Expand All @@ -172,6 +173,7 @@ contract MemeBase {
l2TokenRelayer = _l2TokenRelayer;
balancerVault = _balancerVault;
balancerPoolId = _balancerPoolId;
oracle = _oracle;
}

/// @dev Summons meme token.
Expand Down
2 changes: 1 addition & 1 deletion scripts/deployment/deploy_01_meme_base.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ async function main() {
console.log("You are signing the following transaction: MemeBase.connect(EOA).deploy()");
const memeBase = await MemeBase.connect(EOA).deploy(parsedData.olasAddress, parsedData.usdcAddress,
parsedData.wethAddress, parsedData.routerAddress, parsedData.factoryAddress, parsedData.l2StandardBridgeAddress,
parsedData.balancerVaultAddress, parsedData.balancerPoolId);
parsedData.balancerVaultAddress, parsedData.balancerPoolId, parsedData.oracleAddress);
const result = await memeBase.deployed();

// Transaction details
Expand Down
2 changes: 1 addition & 1 deletion scripts/deployment/globals_base_mainnet.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"contractVerification":true,"useLedger":true,"derivationPath":"m/44'/60'/2'/0/0","providerName":"base","networkURL":"https://mainnet.base.org","gasPriceInGwei":"2","olasAddress":"0x54330d28ca3357F294334BDC454a032e7f353416","usdcAddress":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","wethAddress":"0x4200000000000000000000000000000000000006","routerAddress":"0x4752ba5dbc23f44d87826276bf6fd6b1c372ad24","factoryAddress":"0x8909Dc15e40173Ff4699343b6eB8132c65e18eC6","l2StandardBridgeAddress":"0x4200000000000000000000000000000000000010","balancerVaultAddress":"0xBA12222222228d8Ba445958a75a0704d566BF2C8","balancerPoolId":"0x5332584890d6e415a6dc910254d6430b8aab7e69000200000000000000000103"}
{"contractVerification":true,"useLedger":true,"derivationPath":"m/44'/60'/2'/0/0","providerName":"base","networkURL":"https://mainnet.base.org","gasPriceInGwei":"2","olasAddress":"0x54330d28ca3357F294334BDC454a032e7f353416","usdcAddress":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","wethAddress":"0x4200000000000000000000000000000000000006","routerAddress":"0x4752ba5dbc23f44d87826276bf6fd6b1c372ad24","factoryAddress":"0x8909Dc15e40173Ff4699343b6eB8132c65e18eC6","l2StandardBridgeAddress":"0x4200000000000000000000000000000000000010","balancerVaultAddress":"0xBA12222222228d8Ba445958a75a0704d566BF2C8","balancerPoolId":"0x5332584890d6e415a6dc910254d6430b8aab7e69000200000000000000000103","oracleAddress":"0x71041dddad3595F9CEd3DcCFBe3D1F4b0a16Bb70"}
2 changes: 1 addition & 1 deletion scripts/deployment/globals_base_sepolia.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"contractVerification":true,"useLedger":false,"derivationPath":"m/44'/60'/2'/0/0","providerName":"baseSepolia","networkURL":"https://sepolia.base.org","gasPriceInGwei":"1","olasAddress":"0x54330d28ca3357F294334BDC454a032e7f353416","usdcAddress":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","wethAddress":"0x4200000000000000000000000000000000000006","routerAddress":"0x4752ba5dbc23f44d87826276bf6fd6b1c372ad24","factoryAddress":"0x8909Dc15e40173Ff4699343b6eB8132c65e18eC6","l2StandardBridgeAddress":"0x4200000000000000000000000000000000000010","balancerVaultAddress":"0xBA12222222228d8Ba445958a75a0704d566BF2C8","balancerPoolId":"0x5332584890d6e415a6dc910254d6430b8aab7e69000200000000000000000103"}
{"contractVerification":true,"useLedger":false,"derivationPath":"m/44'/60'/2'/0/0","providerName":"baseSepolia","networkURL":"https://sepolia.base.org","gasPriceInGwei":"1","olasAddress":"0x54330d28ca3357F294334BDC454a032e7f353416","usdcAddress":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","wethAddress":"0x4200000000000000000000000000000000000006","routerAddress":"0x4752ba5dbc23f44d87826276bf6fd6b1c372ad24","factoryAddress":"0x8909Dc15e40173Ff4699343b6eB8132c65e18eC6","l2StandardBridgeAddress":"0x4200000000000000000000000000000000000010","balancerVaultAddress":"0xBA12222222228d8Ba445958a75a0704d566BF2C8","balancerPoolId":"0x5332584890d6e415a6dc910254d6430b8aab7e69000200000000000000000103","oracleAddress":"0x71041dddad3595F9CEd3DcCFBe3D1F4b0a16Bb70"}
3 changes: 2 additions & 1 deletion scripts/deployment/verify_01_meme_base.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ module.exports = [
parsedData.factoryAddress,
parsedData.l2StandardBridgeAddress,
parsedData.balancerVaultAddress,
parsedData.balancerPoolId
parsedData.balancerPoolId,
parsedData.oracleAddress
];

0 comments on commit 8c94013

Please sign in to comment.