Skip to content

Commit 6f381da

Browse files
author
Jebitok
committed
Finish Base Deployment Configurations and Deploy the UTT Proxy Contract to Base
1 parent 7eb480e commit 6f381da

8 files changed

Lines changed: 931 additions & 2 deletions

File tree

.openzeppelin/base-sepolia.json

Lines changed: 882 additions & 0 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Additionally, we have `Lock` deployments from [Unlock Protocol](https://unlock-p
3737

3838
- UTT contract on Ethereum Testnet (Sepolia):
3939
- Upgradable proxy: [0x537BE61c5EFB865Df53CA55eeA07ceEe5d5fB162](https://sepolia.etherscan.io/address/0x537BE61c5EFB865Df53CA55eeA07ceEe5d5fB162)
40-
- Current implementation: [0x89fA6ee038f3b4D8C050c6E1709Fa3d19d9be49E](https://sepolia.etherscan.io/address/0x8408F3D9E02E3965b4396d1abD395a0e7E5DE162)
40+
- Current implementation: [0x89fA6ee038f3b4D8C050c6E1709Fa3d19d9be49E](https://sepolia.etherscan.io/address/0x89fa6ee038f3b4d8c050c6e1709fa3d19d9be49e)
4141
- Oracle operator contract: [0x9F0E25966DdCEa17524CED8bC8Fe2C78a29B5cAA](https://sepolia.etherscan.io/address/0x9F0E25966DdCEa17524CED8bC8Fe2C78a29B5cAA)
4242
- UTU Coin (mock): [0xC3586558ddb1Cc6C7c5338691842b8d5F47D253d](https://sepolia.etherscan.io/address/0xC3586558ddb1Cc6C7c5338691842b8d5F47D253d)
4343
- Unlock Protocol UTU Lock: [0x833601B71Ee6Bc5f62416DCc54a5e329BD04b9A5](https://app.unlock-protocol.com/locks/lock?address=0x833601B71Ee6Bc5f62416DCc54a5e329BD04b9A5&network=11155111)
@@ -62,6 +62,11 @@ Additionally, we have `Lock` deployments from [Unlock Protocol](https://unlock-p
6262
- Current implementation: [0xbdF3b87B410C50Ba9620d8Ac416A81e6bF7296eF](https://sepolia-blockscout.lisk.com/address/0xbdF3b87B410C50Ba9620d8Ac416A81e6bF7296eF)
6363
- Oracle operator contract: [0xC3586558ddb1Cc6C7c5338691842b8d5F47D253d](https://sepolia-blockscout.lisk.com/address/0xC3586558ddb1Cc6C7c5338691842b8d5F47D253d)
6464
- UTU Coin (bridged from Ethereum Sepolia testnet): [0x4b82a31EBCD41fD4b98123cF141853aCD1166875](https://sepolia-blockscout.lisk.com/address/0x4b82a31EBCD41fD4b98123cF141853aCD1166875)
65+
- UTT contract on Base Testnet (Sepolia):
66+
- Upgradable proxy: [0x2b4F9c644b0C8010bB26Fc572001A156F9371C48](https://base-sepolia.blockscout.com/address/0x2b4F9c644b0C8010bB26Fc572001A156F9371C48)
67+
- Current implementation: [0xbdF3b87B410C50Ba9620d8Ac416A81e6bF7296eF](https://base-sepolia.blockscout.com/address/0xbdF3b87B410C50Ba9620d8Ac416A81e6bF7296eF)
68+
- Oracle operator contract: [0xC3586558ddb1Cc6C7c5338691842b8d5F47D253d](https://base-sepolia.blockscout.com/address/0xC3586558ddb1Cc6C7c5338691842b8d5F47D253d)
69+
- UTU Coin (bridged from Ethereum Sepolia testnet): [0x6934c1F62a6d28a573E2b4071a754DDd29B81E54](https://base-sepolia.blockscout.com/address/0x6934c1F62a6d28a573E2b4071a754DDd29B81E54)
6570

6671

6772
## Building, Testing
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
export __PROXY_JOB_VALUE_NETWORK="base"
2+
export __PROXY_JOB_VALUE_PROXY_NETWORK_ID="8453"
3+
export __PROXY_JOB_VALUE_PROXY_ORACLE_OPERATOR_ADDRESS="0x68d806F671dcBdaF0bB7f4E836EE2dFe30Ba131C"
4+
export __PROXY_JOB_VALUE_UTT_PROXY_ENDORSE_EXTERNAL_JOB_ID="4c489da7-6e08-405b-8cf5-21afc6a65cd5"
5+
export __PROXY_JOB_VALUE_UTT_PROXY_CLAIM_REWARD_EXTERNAL_JOB_ID="dd1d4701-12d7-4e1f-847c-499b57ca5495"

hardhat.config.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,6 @@ const config = {
161161
testnet_base: {
162162
url: process.env.TESTNET_BASE_URL,
163163
accounts: [process.env.TEST_PRIVATE_KEY ?? ""],
164-
// gasPrice: 1000000000, // Is this necessary? (copied from https://akanimorex.hashnode.dev/mastering-lisk-a-step-by-step-guide-to-deploying-your-smart-contract-cm04gf1bt000009lf2loi3l56#heading-configuring-your-hardhat-with-lisk)
165164
},
166165
ropsten: {
167166
url: process.env.ROPSTEN_URL || "",
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
const { ethers } = require("hardhat");
2+
3+
4+
module.exports = [
5+
10000, // test value
6+
"0xf64991a3C1C448df967e5DC8e8Cc1D3b3BD0034f", // testnet_base oracle
7+
"0eec7e1dd0d2476ca1a872dfb6633f48", // testnet_base job id
8+
ethers.parseEther("0.0001"), // testnet_base fee
9+
"0xE4aB69C077896252FAFBD49EFD26B5D171A32410", // testnet_base link token address
10+
];
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
const { ethers } = require("hardhat");
2+
3+
module.exports = [
4+
// BASE testnet self-deployed link token address
5+
"0x6934c1F62a6d28a573E2b4071a754DDd29B81E54",
6+
];

scripts/deploy.proxy.args.base.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
const { ethers } = require("hardhat");
2+
3+
4+
// value for proxy on optimism goerli testnet
5+
module.exports = [
6+
"", // oracle operator contract
7+
"4c489da76e08405b8cf521afc6a65cd5", // job id for UTT Proxy Endorse
8+
ethers.parseEther("0.0000001"), // operator LINK fee
9+
"0xB7dA7E0B8C1f82A647066C34eE2317A5AC6Adc09", // link token address
10+
"dd1d470112d74e1f847c499b57ca5495", // job id for UTT Proxy Claim Rewards
11+
];
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
const { ethers } = require("hardhat");
2+
3+
4+
// value for proxy on base sepolia testnet
5+
module.exports = [
6+
"0xC3586558ddb1Cc6C7c5338691842b8d5F47D253d", // oracle operator contract
7+
"30d3f168244f40788be35c05f6c5924f", // job id for UTT Proxy Endorse
8+
ethers.parseEther("0.0000001"), // operator LINK fee
9+
"0x778D2e75d1D09aDd600f2f1C44c9980C4c63f24F", // link token address
10+
"2d3086720bcd4847bf088ffb976d9508", // job id for UTT Proxy Claim Rewards
11+
];

0 commit comments

Comments
 (0)