converts mainnet, lynx, and tapir registries to the new format; Removes historical registries.

pull/3275/head
Kieran Prasch 2023-10-01 21:57:22 +02:00
parent 1858f49a99
commit b7c7b23114
23 changed files with 84 additions and 7173 deletions

View File

@ -1,36 +0,0 @@
# Registries of NuCypher Networks
This directory contains an authoritative source of contract registries for several NuCypher networks.
These registries comprise the official addresses and ABIs for the networks' smart contracts.
## Current deployments
* `mainnet`: The main NuCypher Network, offering cryptographic runtimes for secrets management and dynamic access control 🚀
* [**NuCypherToken**](https://etherscan.io/address/0x4fE83213D56308330EC302a8BD641f1d0113A4Cc): `0x4fE83213D56308330EC302a8BD641f1d0113A4Cc`
* [**StakingEscrow (Dispatcher)**](https://etherscan.io/address/0xbbD3C0C794F40c4f993B03F65343aCC6fcfCb2e2): `0xbbD3C0C794F40c4f993B03F65343aCC6fcfCb2e2`
* [**PolicyManager (Dispatcher)**](https://etherscan.io/address/0x67E4A942c067Ff25cE7705B69C318cA2Dfa54D64): `0x67E4A942c067Ff25cE7705B69C318cA2Dfa54D64`
* [**Adjudicator (Dispatcher)**](https://etherscan.io/address/0x359924Be0640659F34198e518BF3d40Fb56160BE): `0x359924Be0640659F34198e518BF3d40Fb56160BE`
* [**WorkLock**](https://etherscan.io/address/0xe9778e69a961e64d3cdbb34cf6778281d34667c2): `0xe9778e69a961e64d3cdbb34cf6778281d34667c2`
* [**SimplePREApplication**](https://etherscan.io/address/0x7E01c9c03FD3737294dbD7630a34845B0F70E5Dd): `0x7E01c9c03FD3737294dbD7630a34845B0F70E5Dd`
* `polygon-mainnet`: Used for cost-effective PRE subscription payments
* [**SubscriptionManager**](https://polygonscan.com/address/0xB0194073421192F6Cf38d72c791Be8729721A0b3): `0xB0194073421192F6Cf38d72c791Be8729721A0b3`
* `polygon-mumbai`:
* [**SubscriptionManager**](https://mumbai.polygonscan.com/address/0xb9015d7B35Ce7c81ddE38eF7136Baa3B1044f313): `0xb9015d7B35Ce7c81ddE38eF7136Baa3B1044f313`
* `tapir`: Public Long-Term Support testnet, intended as a stable playground for network users (Goerli) testnet.
* [**TestnetThresholdStaking**](https://goerli.etherscan.io/address/0x09B5065d2924De33C85F76474A89A27189402064): `0x09B5065d2924De33C85F76474A89A27189402064`
* [**SimplePREApplication**](https://goerli.etherscan.io/address/0xaF96aa6000ec2B6CF0Fe6B505B6C33fa246967Ca): `0xaF96aa6000ec2B6CF0Fe6B505B6C33fa246967Ca`
* `lynx`: Internal development testnet, chaotic, used for experimental code and staging. (Goerli).
* [**TestnetThresholdStaking**](https://goerli.etherscan.io/address/0x81eEefb7B1b3313C89976910096F8f1487301Bb1): `0x81eEefb7B1b3313C89976910096F8f1487301Bb1`
* [**SimplePREApplication**](https://goerli.etherscan.io/address/0x685b8Fd02aB87d8FfFff7346cB101A5cE4185bf3): `0x685b8Fd02aB87d8FfFff7346cB101A5cE4185bf3`
## Historical deployments
The following is a list of networks that we used at some point in the past and that are currently deprecated:
* `miranda`: Our first decentralized testnet.
* `frances`: Our second testnet. Only for development purposes.
* `cassandra`: Incentivized Testnet, supporting our 'Come and Stake It' initiative.
* `gemini`: New version of Incentivized Testnet, supporting Phase 4 of 'Come and Stake It'.
* `ibex`: Public testnet, intended as a playground for stakers & node operators (e.g., learning how to create and manage stakes, setting up a node), as well as for internal development purposes. Running on Ethereun Rinkeby testnet.
* `oryx`: Staking testnet on Ropsten for initial threshold network integration

View File

@ -1 +0,0 @@
# Registry for Incentivized testnet ("Cassandra")

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
# Registry for NuCypher Tesnet 2 ("Frances")

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
# Registry for Incentivized testnet - Phase 4 ("Gemini")

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,22 +0,0 @@
{
"DAOAgent": {
"app_name": "Agent",
"address": "0x8e75F4e4AddB8B69dbf9452279633F7dD9561D24"
},
"StandardAggregator": {
"app_name": "VotingAggregator",
"address": "0x0Af3f74Ed1A4b7b7afE9be73bA4Af4A2289A6c8F"
},
"StandardVoting": {
"app_name": "Voting",
"address": "0xAfA0278A030798586374c832159931437A32B03B"
},
"EmergencyVoting": {
"app_name": "Voting",
"address": "0xb8cAC0B10E8f2C242f86b0C0019bEa4C4f82cff2"
},
"EmergencyManager": {
"app_name": "TokenManager",
"address": "0xcea8918cB9D4ebA9fDb1Ae1359a8ccEbBD4dA135"
}
}

View File

@ -1 +0,0 @@
# Registry for NuCypher Testnet 1 ("Miranda")

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
{"BENEFICIARY_ADDRESS": ["ALLOCATION_CONTRACT_ADDRESS", [{"constant": true, "inputs": [], "name": "linker", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_value", "type": "uint256"}], "name": "withdrawTokens", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "getLockedTokens", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [{"name": "_value", "type": "uint256"}, {"name": "_duration", "type": "uint256"}], "name": "initialDeposit", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [], "name": "renounceOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "owner", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "isOwner", "outputs": [{"name": "", "type": "bool"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "endLockTimestamp", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": true, "inputs": [], "name": "lockedValue", "outputs": [{"name": "", "type": "uint256"}], "payable": false, "stateMutability": "view", "type": "function"}, {"constant": false, "inputs": [], "name": "withdrawETH", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": false, "inputs": [{"name": "newOwner", "type": "address"}], "name": "transferOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function"}, {"constant": true, "inputs": [], "name": "token", "outputs": [{"name": "", "type": "address"}], "payable": false, "stateMutability": "view", "type": "function"}, {"inputs": [{"name": "_linker", "type": "address"}, {"name": "_token", "type": "address"}], "payable": false, "stateMutability": "nonpayable", "type": "constructor"}, {"payable": true, "stateMutability": "payable", "type": "fallback"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "sender", "type": "address"}, {"indexed": false, "name": "value", "type": "uint256"}, {"indexed": false, "name": "duration", "type": "uint256"}], "name": "TokensDeposited", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "owner", "type": "address"}, {"indexed": false, "name": "value", "type": "uint256"}], "name": "TokensWithdrawn", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "owner", "type": "address"}, {"indexed": false, "name": "value", "type": "uint256"}], "name": "ETHWithdrawn", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "name": "previousOwner", "type": "address"}, {"indexed": true, "name": "newOwner", "type": "address"}], "name": "OwnershipTransferred", "type": "event"}]]}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,9 +0,0 @@
# Registry for NuCypher Mainnet
##### Public API
* [NuCypher Token - 0x4fE83213D56308330EC302a8BD641f1d0113A4Cc](https://etherscan.io/address/0x4fE83213D56308330EC302a8BD641f1d0113A4Cc)
* [WorkLock - 0xe9778e69a961e64d3cdbb34cf6778281d34667c2](https://etherscan.io/address/0xe9778e69a961e64d3cdbb34cf6778281d34667c2)
* [StakingEscrow (Dispatcher) - 0xbbD3C0C794F40c4f993B03F65343aCC6fcfCb2e2](https://etherscan.io/address/0xbbD3C0C794F40c4f993B03F65343aCC6fcfCb2e2)
* [PolicyManager (Dispatcher) - 0x67E4A942c067Ff25cE7705B69C318cA2Dfa54D64](https://etherscan.io/address/0x67E4A942c067Ff25cE7705B69C318cA2Dfa54D64)
* [Adjudicator (Dispatcher) - 0x359924Be0640659F34198e518BF3d40Fb56160BE](https://etherscan.io/address/0x359924Be0640659F34198e518BF3d40Fb56160BE)

File diff suppressed because one or more lines are too long

View File

@ -1,22 +0,0 @@
{
"DAOAgent": {
"app_name": "Agent",
"address": "0xb6bfF48574B722F3BFf0C29c9e1b631dD19c1A93"
},
"StandardAggregator": {
"app_name": "VotingAggregator",
"address": "0xD2DCfaCf1098c7C17D0e6f50231b25FE1D465f33"
},
"StandardVoting": {
"app_name": "Voting",
"address": "0x61950D573c741CA10EE6815DE11BCbE7e60a0f10"
},
"EmergencyVoting": {
"app_name": "Voting",
"address": "0xc0A7249bb3F41f8F611149C23A054810bDe06f49"
},
"EmergencyManager": {
"app_name": "TokenManager",
"address": "0xF086B8E0F75484e854D4DE37b655312C3D567904"
}
}

View File

@ -1,342 +0,0 @@
[
[
"SimplePREApplication",
"v0.0.0",
"0x9BA321B30173b433c68767961D6e53e420AEa382",
[
{
"inputs": [
{
"internalType": "contract IStaking",
"name": "_tStaking",
"type": "address"
},
{
"internalType": "uint256",
"name": "_minAuthorization",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "_minOperatorSeconds",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "stakingProvider",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "operator",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "startTimestamp",
"type": "uint256"
}
],
"name": "OperatorBonded",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "stakingProvider",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "operator",
"type": "address"
}
],
"name": "OperatorConfirmed",
"type": "event"
},
{
"inputs": [
{
"internalType": "address",
"name": "_stakingProvider",
"type": "address"
}
],
"name": "authorizedStake",
"outputs": [
{
"internalType": "uint96",
"name": "",
"type": "uint96"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_stakingProvider",
"type": "address"
},
{
"internalType": "address",
"name": "_operator",
"type": "address"
}
],
"name": "bondOperator",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "confirmOperatorAddress",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "_startIndex",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "_maxStakingProviders",
"type": "uint256"
}
],
"name": "getActiveStakingProviders",
"outputs": [
{
"internalType": "uint256",
"name": "allAuthorizedTokens",
"type": "uint256"
},
{
"internalType": "uint256[2][]",
"name": "activeStakingProviders",
"type": "uint256[2][]"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_stakingProvider",
"type": "address"
}
],
"name": "getBeneficiary",
"outputs": [
{
"internalType": "address payable",
"name": "beneficiary",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_stakingProvider",
"type": "address"
}
],
"name": "getOperatorFromStakingProvider",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getStakingProvidersLength",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_stakingProvider",
"type": "address"
}
],
"name": "isAuthorized",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_operator",
"type": "address"
}
],
"name": "isOperatorConfirmed",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "minAuthorization",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "minOperatorSeconds",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_operator",
"type": "address"
}
],
"name": "stakingProviderFromOperator",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"name": "stakingProviderInfo",
"outputs": [
{
"internalType": "address",
"name": "operator",
"type": "address"
},
{
"internalType": "bool",
"name": "operatorConfirmed",
"type": "bool"
},
{
"internalType": "uint256",
"name": "operatorStartTimestamp",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "stakingProviders",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "tStaking",
"outputs": [
{
"internalType": "contract IStaking",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
}
]
]
]

View File

@ -1,486 +0,0 @@
[
[
"SubscriptionManager",
"v0.0.0",
"0xB0194073421192F6Cf38d72c791Be8729721A0b3",
[
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint256",
"name": "oldFeeRate",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "newFeeRate",
"type": "uint256"
}
],
"name": "FeeRateUpdated",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "bytes16",
"name": "policyId",
"type": "bytes16"
},
{
"indexed": true,
"internalType": "address",
"name": "sponsor",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "owner",
"type": "address"
},
{
"indexed": false,
"internalType": "uint16",
"name": "size",
"type": "uint16"
},
{
"indexed": false,
"internalType": "uint32",
"name": "startTimestamp",
"type": "uint32"
},
{
"indexed": false,
"internalType": "uint32",
"name": "endTimestamp",
"type": "uint32"
},
{
"indexed": false,
"internalType": "uint256",
"name": "cost",
"type": "uint256"
}
],
"name": "PolicyCreated",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "bytes32",
"name": "role",
"type": "bytes32"
},
{
"indexed": true,
"internalType": "bytes32",
"name": "previousAdminRole",
"type": "bytes32"
},
{
"indexed": true,
"internalType": "bytes32",
"name": "newAdminRole",
"type": "bytes32"
}
],
"name": "RoleAdminChanged",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "bytes32",
"name": "role",
"type": "bytes32"
},
{
"indexed": true,
"internalType": "address",
"name": "account",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "sender",
"type": "address"
}
],
"name": "RoleGranted",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "bytes32",
"name": "role",
"type": "bytes32"
},
{
"indexed": true,
"internalType": "address",
"name": "account",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "sender",
"type": "address"
}
],
"name": "RoleRevoked",
"type": "event"
},
{
"inputs": [],
"name": "DEFAULT_ADMIN_ROLE",
"outputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "SET_RATE_ROLE",
"outputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "WITHDRAW_ROLE",
"outputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes16",
"name": "_policyId",
"type": "bytes16"
},
{
"internalType": "address",
"name": "_policyOwner",
"type": "address"
},
{
"internalType": "uint16",
"name": "_size",
"type": "uint16"
},
{
"internalType": "uint32",
"name": "_startTimestamp",
"type": "uint32"
},
{
"internalType": "uint32",
"name": "_endTimestamp",
"type": "uint32"
}
],
"name": "createPolicy",
"outputs": [],
"stateMutability": "payable",
"type": "function"
},
{
"inputs": [],
"name": "feeRate",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes16",
"name": "_policyID",
"type": "bytes16"
}
],
"name": "getPolicy",
"outputs": [
{
"components": [
{
"internalType": "address payable",
"name": "sponsor",
"type": "address"
},
{
"internalType": "uint32",
"name": "startTimestamp",
"type": "uint32"
},
{
"internalType": "uint32",
"name": "endTimestamp",
"type": "uint32"
},
{
"internalType": "uint16",
"name": "size",
"type": "uint16"
},
{
"internalType": "address",
"name": "owner",
"type": "address"
}
],
"internalType": "struct SubscriptionManager.Policy",
"name": "",
"type": "tuple"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint16",
"name": "_size",
"type": "uint16"
},
{
"internalType": "uint32",
"name": "_startTimestamp",
"type": "uint32"
},
{
"internalType": "uint32",
"name": "_endTimestamp",
"type": "uint32"
}
],
"name": "getPolicyCost",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "role",
"type": "bytes32"
}
],
"name": "getRoleAdmin",
"outputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "role",
"type": "bytes32"
},
{
"internalType": "address",
"name": "account",
"type": "address"
}
],
"name": "grantRole",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "role",
"type": "bytes32"
},
{
"internalType": "address",
"name": "account",
"type": "address"
}
],
"name": "hasRole",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "_feeRate",
"type": "uint256"
}
],
"name": "initialize",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes16",
"name": "_policyID",
"type": "bytes16"
}
],
"name": "isPolicyActive",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "role",
"type": "bytes32"
},
{
"internalType": "address",
"name": "account",
"type": "address"
}
],
"name": "renounceRole",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "role",
"type": "bytes32"
},
{
"internalType": "address",
"name": "account",
"type": "address"
}
],
"name": "revokeRole",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "_ratePerSecond",
"type": "uint256"
}
],
"name": "setFeeRate",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes4",
"name": "interfaceId",
"type": "bytes4"
}
],
"name": "supportsInterface",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address payable",
"name": "recipient",
"type": "address"
}
],
"name": "sweep",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
]
]
]

View File

@ -0,0 +1,8 @@
{
"5": {
"SimplePREApplication": {
"address": "0xaF96aa6000ec2B6CF0Fe6B505B6C33fa246967Ca",
"abi": [{"inputs": [{"internalType": "contract IStaking", "name": "_tStaking", "type": "address"}, {"internalType": "uint256", "name": "_minAuthorization", "type": "uint256"}, {"internalType": "uint256", "name": "_minOperatorSeconds", "type": "uint256"}], "stateMutability": "nonpayable", "type": "constructor"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "stakingProvider", "type": "address"}, {"indexed": true, "internalType": "address", "name": "operator", "type": "address"}, {"indexed": false, "internalType": "uint256", "name": "startTimestamp", "type": "uint256"}], "name": "OperatorBonded", "type": "event"}, {"anonymous": false, "inputs": [{"indexed": true, "internalType": "address", "name": "stakingProvider", "type": "address"}, {"indexed": true, "internalType": "address", "name": "operator", "type": "address"}], "name": "OperatorConfirmed", "type": "event"}, {"inputs": [{"internalType": "address", "name": "_stakingProvider", "type": "address"}], "name": "authorizedStake", "outputs": [{"internalType": "uint96", "name": "", "type": "uint96"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_stakingProvider", "type": "address"}, {"internalType": "address", "name": "_operator", "type": "address"}], "name": "bondOperator", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [], "name": "confirmOperatorAddress", "outputs": [], "stateMutability": "nonpayable", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "_startIndex", "type": "uint256"}, {"internalType": "uint256", "name": "_maxStakingProviders", "type": "uint256"}], "name": "getActiveStakingProviders", "outputs": [{"internalType": "uint256", "name": "allAuthorizedTokens", "type": "uint256"}, {"internalType": "uint256[2][]", "name": "activeStakingProviders", "type": "uint256[2][]"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_stakingProvider", "type": "address"}], "name": "getBeneficiary", "outputs": [{"internalType": "address payable", "name": "beneficiary", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_stakingProvider", "type": "address"}], "name": "getOperatorFromStakingProvider", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "getStakingProvidersLength", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_stakingProvider", "type": "address"}], "name": "isAuthorized", "outputs": [{"internalType": "bool", "name": "", "type": "bool"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_operator", "type": "address"}], "name": "isOperatorConfirmed", "outputs": [{"internalType": "bool", "name": "", "type": "bool"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "minAuthorization", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "minOperatorSeconds", "outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "_operator", "type": "address"}], "name": "stakingProviderFromOperator", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "address", "name": "", "type": "address"}], "name": "stakingProviderInfo", "outputs": [{"internalType": "address", "name": "operator", "type": "address"}, {"internalType": "bool", "name": "operatorConfirmed", "type": "bool"}, {"internalType": "uint256", "name": "operatorStartTimestamp", "type": "uint256"}], "stateMutability": "view", "type": "function"}, {"inputs": [{"internalType": "uint256", "name": "", "type": "uint256"}], "name": "stakingProviders", "outputs": [{"internalType": "address", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}, {"inputs": [], "name": "tStaking", "outputs": [{"internalType": "contract IStaking", "name": "", "type": "address"}], "stateMutability": "view", "type": "function"}]
}
}
}

View File

@ -1,342 +0,0 @@
[
[
"SimplePREApplication",
"v0.0.0",
"0xaF96aa6000ec2B6CF0Fe6B505B6C33fa246967Ca",
[
{
"inputs": [
{
"internalType": "contract IStaking",
"name": "_tStaking",
"type": "address"
},
{
"internalType": "uint256",
"name": "_minAuthorization",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "_minOperatorSeconds",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "stakingProvider",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "operator",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "startTimestamp",
"type": "uint256"
}
],
"name": "OperatorBonded",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "stakingProvider",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "operator",
"type": "address"
}
],
"name": "OperatorConfirmed",
"type": "event"
},
{
"inputs": [
{
"internalType": "address",
"name": "_stakingProvider",
"type": "address"
}
],
"name": "authorizedStake",
"outputs": [
{
"internalType": "uint96",
"name": "",
"type": "uint96"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_stakingProvider",
"type": "address"
},
{
"internalType": "address",
"name": "_operator",
"type": "address"
}
],
"name": "bondOperator",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "confirmOperatorAddress",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "_startIndex",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "_maxStakingProviders",
"type": "uint256"
}
],
"name": "getActiveStakingProviders",
"outputs": [
{
"internalType": "uint256",
"name": "allAuthorizedTokens",
"type": "uint256"
},
{
"internalType": "uint256[2][]",
"name": "activeStakingProviders",
"type": "uint256[2][]"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_stakingProvider",
"type": "address"
}
],
"name": "getBeneficiary",
"outputs": [
{
"internalType": "address payable",
"name": "beneficiary",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_stakingProvider",
"type": "address"
}
],
"name": "getOperatorFromStakingProvider",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getStakingProvidersLength",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_stakingProvider",
"type": "address"
}
],
"name": "isAuthorized",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_operator",
"type": "address"
}
],
"name": "isOperatorConfirmed",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "minAuthorization",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "minOperatorSeconds",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_operator",
"type": "address"
}
],
"name": "stakingProviderFromOperator",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"name": "stakingProviderInfo",
"outputs": [
{
"internalType": "address",
"name": "operator",
"type": "address"
},
{
"internalType": "bool",
"name": "operatorConfirmed",
"type": "bool"
},
{
"internalType": "uint256",
"name": "operatorStartTimestamp",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"name": "stakingProviders",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "tStaking",
"outputs": [
{
"internalType": "contract IStaking",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
}
]
]
]