Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: update houston contracts #45

Merged
merged 1 commit into from
Jun 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 18 additions & 4 deletions web/src/contracts.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,15 @@ import RocketNodeManager from "./generated/contracts/RocketNodeManager.json";
import RocketRewardsPool from "./generated/contracts/RocketRewardsPool.json";
import RocketStorageK from "./generated/contracts/RocketStorage.json";

// This names, locates, and defines the interface to the contracts we use.
// The address can change during a rocketpool upgrade. The first `address` is the latest address.
// But we hang onto the old addresses for things like searching all event logs.
const contracts = {
RocketMerkleDistributorMainnet: {
address: "0x7eccbbd05830edf593d30005b8f69e965af4d59f",
address: [
"0x5cE71E603B138F7e65029Cc1918C0566ed0dBD4B",
"0x7eccbbd05830edf593d30005b8f69e965af4d59f",
],
abi: RocketMerkleDistributorMainnet.abi,
},
RocketMinipoolBase: {
Expand All @@ -21,26 +27,34 @@ const contracts = {
},
RocketMinipoolManager: {
address: [
"0x6d010C43d4e96D74C422f2e27370AF48711B49bF", // latest
"0x09fbCE43e4021a3F69C4599FF00362b83edA501E",
"0x6d010C43d4e96D74C422f2e27370AF48711B49bF",
"0x84d11b65e026f7aa08f5497dd3593fb083410b71",
"0x6293b8abc1f36afb22406be5f96d893072a8cf3a",
],
abi: RocketMinipoolManager.abi,
},
RocketNetworkPrices: {
address: "0x751826b107672360b764327631cc5764515ffc37",
address: [
"0x25E54Bf48369b8FB25bB79d3a3Ff7F3BA448E382",
"0x751826b107672360b764327631cc5764515ffc37",
],
abi: RocketNetworkPrices.abi,
},
RocketNodeDistributorInterface: {
// see RocketNodeManager.Read.getNodeDetails -> .feeDistributorAddress
abi: RocketNodeDistributorInterface.abi,
},
RocketNodeManager: {
address: "0x89F478E6Cc24f052103628f36598D4C14Da3D287",
address: [
"0x2b52479F6ea009907e46fc43e91064D1b92Fdc86",
"0x89F478E6Cc24f052103628f36598D4C14Da3D287",
],
abi: RocketNodeManager.abi,
},
RocketRewardsPool: {
address: [
"0xEE4d2A71cF479e0D3d0c3c2C923dbfEB57E73111",
"0xA805d68b61956BC92d556F2bE6d18747adAeEe82",
"0x594Fb75D3dc2DFa0150Ad03F99F97817747dd4E1",
],
Expand Down
26 changes: 26 additions & 0 deletions web/src/generated/contracts/RocketMerkleDistributorMainnet.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,32 @@
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "claimOutstandingEth",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_address",
"type": "address"
}
],
"name": "getOutstandingEth",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
Expand Down
Loading
Loading