Skip to content
Open
Show file tree
Hide file tree
Changes from 23 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
169 changes: 169 additions & 0 deletions abi/ClaimV6Helper.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,169 @@
[
{
"inputs": [
{
"internalType": "address",
"name": "hubAddress",
"type": "address"
}
],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"inputs": [
{
"internalType": "string",
"name": "msg",
"type": "string"
}
],
"name": "UnauthorizedAccess",
"type": "error"
},
{
"inputs": [],
"name": "ZeroAddressHub",
"type": "error"
},
{
"inputs": [],
"name": "SCALE18",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "hub",
"outputs": [
{
"internalType": "contract Hub",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "initialize",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "name",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "pure",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "epoch",
"type": "uint256"
},
{
"internalType": "uint72",
"name": "identityId",
"type": "uint72"
},
{
"internalType": "bytes32",
"name": "delegatorKey",
"type": "bytes32"
}
],
"name": "prepareForStakeChangeV6External",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bool",
"name": "_status",
"type": "bool"
}
],
"name": "setStatus",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "stakingStorage",
"outputs": [
{
"internalType": "contract StakingStorage",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "status",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "v6_randomSamplingStorage",
"outputs": [
{
"internalType": "contract V6_RandomSamplingStorage",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "version",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "pure",
"type": "function"
}
]
13 changes: 13 additions & 0 deletions abi/Profile.json
Original file line number Diff line number Diff line change
Expand Up @@ -379,6 +379,19 @@
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "v6_delegatorsInfo",
"outputs": [
{
"internalType": "contract V6_DelegatorsInfo",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "version",
Expand Down
109 changes: 86 additions & 23 deletions abi/Staking.json
Original file line number Diff line number Diff line change
Expand Up @@ -190,29 +190,6 @@
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint72",
"name": "identityId",
"type": "uint72"
},
{
"internalType": "uint256[]",
"name": "epochs",
"type": "uint256[]"
},
{
"internalType": "address[]",
"name": "delegators",
"type": "address[]"
}
],
"name": "batchClaimDelegatorRewards",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
Expand Down Expand Up @@ -275,6 +252,19 @@
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "claimV6Helper",
"outputs": [
{
"internalType": "contract ClaimV6Helper",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "delegatorsInfo",
Expand Down Expand Up @@ -386,6 +376,35 @@
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "epoch",
"type": "uint256"
},
{
"internalType": "uint72",
"name": "identityId",
"type": "uint72"
},
{
"internalType": "bytes32",
"name": "delegatorKey",
"type": "bytes32"
}
],
"name": "prepareForStakeChangeExternal",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "profileStorage",
Expand Down Expand Up @@ -585,6 +604,50 @@
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "v6_delegatorsInfo",
"outputs": [
{
"internalType": "contract V6_DelegatorsInfo",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "v6_randomSamplingStorage",
"outputs": [
{
"internalType": "contract V6_RandomSamplingStorage",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint72",
"name": "identityId",
"type": "uint72"
},
{
"internalType": "address",
"name": "delegator",
"type": "address"
}
],
"name": "validateDelegatorEpochClaimsExternal",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "version",
Expand Down
Loading
Loading