Skip to content

Commit

Permalink
feat: merge UpdateTargetValidatorLimits and UpdateTargetValidatorLimi…
Browse files Browse the repository at this point in the history
…tsV2
  • Loading branch information
katamarinaki committed Oct 10, 2024
1 parent 001ac46 commit 83c644a
Show file tree
Hide file tree
Showing 16 changed files with 105 additions and 1,382 deletions.
67 changes: 63 additions & 4 deletions abi/dvt/SDVTRegistry.abi.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,19 @@
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{ "name": "_nodeOperatorId", "type": "uint256" },
{ "name": "_targetLimitMode", "type": "uint256" },
{ "name": "_targetLimit", "type": "uint256" }
],
"name": "updateTargetValidatorsLimits",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
Expand Down Expand Up @@ -168,6 +181,15 @@
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [],
"name": "finalizeUpgrade_v3",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [],
Expand All @@ -189,6 +211,15 @@
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "getRewardDistributionState",
"outputs": [{ "name": "", "type": "uint8" }],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
Expand Down Expand Up @@ -310,12 +341,12 @@
"type": "function"
},
{
"constant": true,
"constant": false,
"inputs": [{ "name": "", "type": "uint256" }],
"name": "onRewardsMinted",
"outputs": [],
"payable": false,
"stateMutability": "view",
"stateMutability": "nonpayable",
"type": "function"
},
{
Expand All @@ -327,6 +358,15 @@
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [],
"name": "distributeReward",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [],
Expand Down Expand Up @@ -509,7 +549,7 @@
"inputs": [{ "name": "_nodeOperatorId", "type": "uint256" }],
"name": "getNodeOperatorSummary",
"outputs": [
{ "name": "isTargetLimitActive", "type": "bool" },
{ "name": "targetLimitMode", "type": "uint256" },
{ "name": "targetValidatorsCount", "type": "uint256" },
{ "name": "stuckValidatorsCount", "type": "uint256" },
{ "name": "refundedValidatorsCount", "type": "uint256" },
Expand Down Expand Up @@ -547,6 +587,18 @@
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{ "name": "_nodeOperatorIds", "type": "bytes" },
{ "name": "_vettedSigningKeysCounts", "type": "bytes" }
],
"name": "decreaseVettedSigningKeysCount",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
Expand Down Expand Up @@ -763,6 +815,12 @@
"name": "RewardsDistributed",
"type": "event"
},
{
"anonymous": false,
"inputs": [{ "indexed": false, "name": "state", "type": "uint8" }],
"name": "RewardDistributionStateChanged",
"type": "event"
},
{
"anonymous": false,
"inputs": [
Expand Down Expand Up @@ -848,7 +906,8 @@
"anonymous": false,
"inputs": [
{ "indexed": true, "name": "nodeOperatorId", "type": "uint256" },
{ "indexed": false, "name": "targetValidatorsCount", "type": "uint256" }
{ "indexed": false, "name": "targetValidatorsCount", "type": "uint256" },
{ "indexed": false, "name": "targetLimitMode", "type": "uint256" }
],
"name": "TargetValidatorsCountChanged",
"type": "event"
Expand Down
Loading

0 comments on commit 83c644a

Please sign in to comment.