From 9a3bf5a0a045b7a24f9ce0367a0f248cb3b1ff91 Mon Sep 17 00:00:00 2001 From: alexcos20 Date: Wed, 2 Oct 2024 11:46:59 +0300 Subject: [PATCH] sapphire deployment --- addresses/address.json | 3 ++- scripts/deploy_batchpayments.js | 9 +++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/addresses/address.json b/addresses/address.json index 3c1190ad..0c2d5e01 100755 --- a/addresses/address.json +++ b/addresses/address.json @@ -320,7 +320,8 @@ "DFRewards": "0xc37F8341Ac6e4a94538302bCd4d49Cf0852D30C0", "DFStrategyV1": "0x3c21a90599b5B7f37014cA5Bf30d3f1b73d7e391", "PredictoorHelper": "0xE9397625Df9B63f0C152f975234b7988b54710B8", - "AccessListFactory": "0x12bB8D85a091A69A07E22E52d4567dBB91568f52" + "AccessListFactory": "0x12bB8D85a091A69A07E22E52d4567dBB91568f52", + "BatchPayments": "0x9497d1d64F2aFeBcd4f9916Eef3d9094E5Df962f" }, "optimism_sepolia": { "chainId": 11155420, diff --git a/scripts/deploy_batchpayments.js b/scripts/deploy_batchpayments.js index a1e57cf6..d9e49da7 100644 --- a/scripts/deploy_batchpayments.js +++ b/scripts/deploy_batchpayments.js @@ -40,6 +40,15 @@ async function main() { let sleepAmount = 10; console.log("Using chain "+networkDetails.chainId); switch (networkDetails.chainId) { + case 23294: + networkName = "oasis_saphire"; + OceanTokenAddress = "0x39d22B78A7651A76Ffbde2aaAB5FD92666Aca520"; + OPFOwner = '0x086E7F0588755af5AF5f8194542Fd8328238F3C1' + routerOwner = OPFOwner; + sleepAmount = 30 + gasPrice = ethers.utils.parseUnits('100', 'gwei') + gasLimit = 15000000 + break; default: OPFOwner = "0x0d27cd67c4A3fd3Eb9C7C757582f59089F058167"; networkName = "development";