Skip to content

Commit

Permalink
feat: deploy metal (#77)
Browse files Browse the repository at this point in the history
  • Loading branch information
simplyoptimistic authored Dec 18, 2024
1 parent 1bc6f6c commit 015a59a
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ Velodrome has a live bug bounty hosted on ([Immunefi](https://immunefi.com/bount
| Optimism | [Addresses](https://github.com/velodrome-finance/superchain-slipstream/blob/main/deployment-addresses/root-optimism.json) | [v1.0](https://github.com/velodrome-finance/superchain-slipstream/commit/63b2e08a11f42d91dc6f8487643ecb3d79e745c4) |
| Mode | [Addresses](https://github.com/velodrome-finance/superchain-slipstream/blob/main/deployment-addresses/mode.json) | [v1.0](https://github.com/velodrome-finance/superchain-slipstream/commit/63b2e08a11f42d91dc6f8487643ecb3d79e745c4) |
| Lisk | [Addresses](https://github.com/velodrome-finance/superchain-slipstream/blob/main/deployment-addresses/lisk.json) | [v1.0](https://github.com/velodrome-finance/superchain-slipstream/commit/63b2e08a11f42d91dc6f8487643ecb3d79e745c4) |
| Fraxtal | [Addresses](https://github.com/velodrome-finance/superchain-slipstream/blob/main/deployment-addresses/fraxtal.json) | [v1.0](https://github.com/velodrome-finance/superchain-slipstream/commit/63b2e08a11f42d91dc6f8487643ecb3d79e745c4) |
| Fraxtal | [Addresses](https://github.com/velodrome-finance/superchain-slipstream/blob/main/deployment-addresses/fraxtal.json) | [v1.0](https://github.com/velodrome-finance/superchain-slipstream/commit/63b2e08a11f42d91dc6f8487643ecb3d79e745c4) |
| Metal | [Addresses](https://github.com/velodrome-finance/superchain-slipstream/blob/main/deployment-addresses/metal.json) | [v1.0](https://github.com/velodrome-finance/superchain-slipstream/commit/63b2e08a11f42d91dc6f8487643ecb3d79e745c4) |

See the main [Superchain repository](https://github.com/velodrome-finance/superchain-contracts) for the core root contracts.
13 changes: 13 additions & 0 deletions deployment-addresses/metal.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"leafGaugeFactory: ": "0xeAD23f606643E387a073D0EE8718602291ffaAeB",
"leafPoolFactory: ": "0x04625B046C69577EfC40e6c0Bb83CDBAfab5a55F",
"leafPoolImplementation: ": "0x321f7Dfb9B2eA9131B8C17691CF6e01E5c149cA8",
"mixedQuoter: ": "0x2f7150B288ef1cc553207bD9fbd40D4e0e093B24",
"nft: ": "0x991d5546C4B442B4c5fdc4c8B8b8d131DEB24702",
"nftDescriptor: ": "0xf13bd1AFdf4f8b394928228F8FD122DC225f9140",
"quoter: ": "0x3FA596fAC2D6f7d16E01984897Ac04200Cb9cA05",
"slipstreamSugar": "0x222ed297aF0560030136AE652d39fa40E1B72818",
"swapFeeModule: ": "0x6812eefC19deB79D5191b52f4B763260d9F3C238",
"swapRouter: ": "0x63951637d667f23D5251DEdc0f9123D22d8595be",
"unstakedFeeModule: ": "0xFF02E0330bD42976754FB37CBFfd9549473E1E60"
}
4 changes: 3 additions & 1 deletion foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,11 @@ lisk = "${LISK_RPC_URL}"
mode = "${MODE_RPC_URL}"
bob = "${BOB_RPC_URL}"
fraxtal = "${FRAXTAL_RPC_URL}"
metal = "${METAL_RPC_URL}"

[etherscan]
optimism_goerli = { key = "${OPTIMISM_GOERLI_ETHERSCAN_API_KEY}", url = "${OPTIMISM_GOERLI_ETHERSCAN_VERIFIER_URL}" }
optimism = { key = "${OPTIMISM_ETHERSCAN_API_KEY}", url = "${OPTIMISM_ETHERSCAN_VERIFIER_URL}" }
mode = { key = "${MODE_ETHERSCAN_API_KEY}", url = "${MODE_ETHERSCAN_VERIFIER_URL}" }
fraxtal = { key = "${FRAXTAL_ETHERSCAN_API_KEY}", url = "${FRAXTAL_ETHERSCAN_VERIFIER_URL}" }
fraxtal = { key = "${FRAXTAL_ETHERSCAN_API_KEY}", url = "${FRAXTAL_ETHERSCAN_VERIFIER_URL}" }
metal = { key = "NA", url = "${METAL_ETHERSCAN_VERIFIER_URL}" }
23 changes: 23 additions & 0 deletions script/deployParameters/metal/DeployLeafCL.s.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
// SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.7.6;
pragma abicoder v2;

import "script/01_DeployLeafBaseFixture.s.sol";

contract DeployLeafCL is DeployLeafBaseFixture {
function setUp() public override {
_params = DeployLeafBaseFixture.DeploymentParameters({
weth: 0x4200000000000000000000000000000000000006,
leafVoter: 0x97cDBCe21B6fd0585d29E539B1B99dAd328a1123,
factoryV2: 0x31832f2a97Fd20664D76Cc421207669b55CE4BC0,
xVelo: 0x7f9AdFbd38b669F03d1d11000Bc76b9AaEA28A81,
messageBridge: 0xF278761576f45472bdD721EACA19317cE159c011,
team: 0x6fF6F4485375C4D194c3C6F3FC15D53409697FcA,
poolFactoryOwner: 0x6fF6F4485375C4D194c3C6F3FC15D53409697FcA,
feeManager: 0x6fF6F4485375C4D194c3C6F3FC15D53409697FcA,
nftName: "Slipstream Position NFT v1.2",
nftSymbol: "VELO-CL-POS",
outputFilename: "metal.json"
});
}
}

0 comments on commit 015a59a

Please sign in to comment.