This repository has been archived by the owner on Jan 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 383
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(rocket-pool): Fix minipool balances (#2583)
- Loading branch information
Showing
10 changed files
with
4,561 additions
and
18 deletions.
There are no files selected for viewing
225 changes: 225 additions & 0 deletions
225
src/apps/rocket-pool/contracts/abis/rocket-minipool-manager.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,234 @@ | ||
[ | ||
{ | ||
"inputs": [ | ||
{ "internalType": "contract RocketStorageInterface", "name": "_rocketStorageAddress", "type": "address" } | ||
], | ||
"stateMutability": "nonpayable", | ||
"type": "constructor" | ||
}, | ||
{ | ||
"anonymous": false, | ||
"inputs": [ | ||
{ "indexed": true, "internalType": "address", "name": "minipool", "type": "address" }, | ||
{ "indexed": true, "internalType": "address", "name": "node", "type": "address" }, | ||
{ "indexed": false, "internalType": "uint256", "name": "time", "type": "uint256" } | ||
], | ||
"name": "MinipoolCreated", | ||
"type": "event" | ||
}, | ||
{ | ||
"anonymous": false, | ||
"inputs": [ | ||
{ "indexed": true, "internalType": "address", "name": "minipool", "type": "address" }, | ||
{ "indexed": true, "internalType": "address", "name": "node", "type": "address" }, | ||
{ "indexed": false, "internalType": "uint256", "name": "time", "type": "uint256" } | ||
], | ||
"name": "MinipoolDestroyed", | ||
"type": "event" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ "internalType": "address", "name": "_nodeAddress", "type": "address" }, | ||
{ "internalType": "enum MinipoolDeposit", "name": "_depositType", "type": "uint8" }, | ||
{ "internalType": "uint256", "name": "_salt", "type": "uint256" } | ||
], | ||
"name": "createMinipool", | ||
"outputs": [{ "internalType": "contract RocketMinipoolInterface", "name": "", "type": "address" }], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [{ "internalType": "address", "name": "_nodeAddress", "type": "address" }], | ||
"name": "decrementNodeStakingMinipoolCount", | ||
"outputs": [], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ "inputs": [], "name": "destroyMinipool", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, | ||
{ | ||
"inputs": [], | ||
"name": "getActiveMinipoolCount", | ||
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "getFinalisedMinipoolCount", | ||
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [{ "internalType": "uint256", "name": "_index", "type": "uint256" }], | ||
"name": "getMinipoolAt", | ||
"outputs": [{ "internalType": "address", "name": "", "type": "address" }], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [{ "internalType": "bytes", "name": "_pubkey", "type": "bytes" }], | ||
"name": "getMinipoolByPubkey", | ||
"outputs": [{ "internalType": "address", "name": "", "type": "address" }], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "getMinipoolBytecode", | ||
"outputs": [{ "internalType": "bytes", "name": "", "type": "bytes" }], | ||
"stateMutability": "pure", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "getMinipoolCount", | ||
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ "internalType": "uint256", "name": "offset", "type": "uint256" }, | ||
{ "internalType": "uint256", "name": "limit", "type": "uint256" } | ||
], | ||
"name": "getMinipoolCountPerStatus", | ||
"outputs": [ | ||
{ "internalType": "uint256", "name": "initialisedCount", "type": "uint256" }, | ||
{ "internalType": "uint256", "name": "prelaunchCount", "type": "uint256" }, | ||
{ "internalType": "uint256", "name": "stakingCount", "type": "uint256" }, | ||
{ "internalType": "uint256", "name": "withdrawableCount", "type": "uint256" }, | ||
{ "internalType": "uint256", "name": "dissolvedCount", "type": "uint256" } | ||
], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [{ "internalType": "address", "name": "_minipoolAddress", "type": "address" }], | ||
"name": "getMinipoolDestroyed", | ||
"outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [{ "internalType": "address", "name": "_minipoolAddress", "type": "address" }], | ||
"name": "getMinipoolExists", | ||
"outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [{ "internalType": "address", "name": "_minipoolAddress", "type": "address" }], | ||
"name": "getMinipoolPubkey", | ||
"outputs": [{ "internalType": "bytes", "name": "", "type": "bytes" }], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [{ "internalType": "address", "name": "_minipoolAddress", "type": "address" }], | ||
"name": "getMinipoolWithdrawalCredentials", | ||
"outputs": [{ "internalType": "bytes", "name": "", "type": "bytes" }], | ||
"stateMutability": "pure", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [{ "internalType": "address", "name": "_nodeAddress", "type": "address" }], | ||
"name": "getNodeActiveMinipoolCount", | ||
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [{ "internalType": "address", "name": "_nodeAddress", "type": "address" }], | ||
"name": "getNodeFinalisedMinipoolCount", | ||
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ "internalType": "address", "name": "_nodeAddress", "type": "address" }, | ||
{ "internalType": "uint256", "name": "_index", "type": "uint256" } | ||
], | ||
"name": "getNodeMinipoolAt", | ||
"outputs": [{ "internalType": "address", "name": "", "type": "address" }], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [{ "internalType": "address", "name": "_nodeAddress", "type": "address" }], | ||
"name": "getNodeMinipoolCount", | ||
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [{ "internalType": "address", "name": "_nodeAddress", "type": "address" }], | ||
"name": "getNodeStakingMinipoolCount", | ||
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ "internalType": "address", "name": "_nodeAddress", "type": "address" }, | ||
{ "internalType": "uint256", "name": "_index", "type": "uint256" } | ||
], | ||
"name": "getNodeValidatingMinipoolAt", | ||
"outputs": [{ "internalType": "address", "name": "", "type": "address" }], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [{ "internalType": "address", "name": "_nodeAddress", "type": "address" }], | ||
"name": "getNodeValidatingMinipoolCount", | ||
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ "internalType": "uint256", "name": "offset", "type": "uint256" }, | ||
{ "internalType": "uint256", "name": "limit", "type": "uint256" } | ||
], | ||
"name": "getPrelaunchMinipools", | ||
"outputs": [{ "internalType": "address[]", "name": "", "type": "address[]" }], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "getStakingMinipoolCount", | ||
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [{ "internalType": "address", "name": "_nodeAddress", "type": "address" }], | ||
"name": "incrementNodeFinalisedMinipoolCount", | ||
"outputs": [], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [{ "internalType": "address", "name": "_nodeAddress", "type": "address" }], | ||
"name": "incrementNodeStakingMinipoolCount", | ||
"outputs": [], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [{ "internalType": "bytes", "name": "_pubkey", "type": "bytes" }], | ||
"name": "setMinipoolPubkey", | ||
"outputs": [], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "version", | ||
"outputs": [{ "internalType": "uint8", "name": "", "type": "uint8" }], | ||
"stateMutability": "view", | ||
"type": "function" | ||
} | ||
] |
Oops, something went wrong.