From 59d093dbf5514ae4e185711b8da1e71819c6d8a5 Mon Sep 17 00:00:00 2001 From: derekpierre Date: Wed, 22 Nov 2023 11:54:09 -0500 Subject: [PATCH] Remove `mainnet-child.json` and `mainnet-root.json` since merge already occurred and they are no longer needed. --- deployment/artifacts/mainnet-child.json | 2319 ----------------------- deployment/artifacts/mainnet-root.json | 1504 --------------- 2 files changed, 3823 deletions(-) delete mode 100644 deployment/artifacts/mainnet-child.json delete mode 100644 deployment/artifacts/mainnet-root.json diff --git a/deployment/artifacts/mainnet-child.json b/deployment/artifacts/mainnet-child.json deleted file mode 100644 index b95b26ba..00000000 --- a/deployment/artifacts/mainnet-child.json +++ /dev/null @@ -1,2319 +0,0 @@ -{ - "137": { - "Coordinator": { - "address": "0xE74259e3dafe30bAA8700238e324b47aC98FE755", - "abi": [ - { - "type": "constructor", - "stateMutability": "nonpayable", - "inputs": [ - { - "name": "_application", - "type": "address", - "internalType": "contract ITACoChildApplication" - }, - { - "name": "_currency", - "type": "address", - "internalType": "contract IERC20" - }, - { - "name": "_feeRatePerSecond", - "type": "uint256", - "internalType": "uint256" - } - ] - }, - { - "type": "error", - "name": "AccessControlBadConfirmation", - "inputs": [] - }, - { - "type": "error", - "name": "AccessControlEnforcedDefaultAdminDelay", - "inputs": [ - { - "name": "schedule", - "type": "uint48", - "internalType": "uint48" - } - ] - }, - { - "type": "error", - "name": "AccessControlEnforcedDefaultAdminRules", - "inputs": [] - }, - { - "type": "error", - "name": "AccessControlInvalidDefaultAdmin", - "inputs": [ - { - "name": "defaultAdmin", - "type": "address", - "internalType": "address" - } - ] - }, - { - "type": "error", - "name": "AccessControlUnauthorizedAccount", - "inputs": [ - { - "name": "account", - "type": "address", - "internalType": "address" - }, - { - "name": "neededRole", - "type": "bytes32", - "internalType": "bytes32" - } - ] - }, - { - "type": "error", - "name": "AddressEmptyCode", - "inputs": [ - { - "name": "target", - "type": "address", - "internalType": "address" - } - ] - }, - { - "type": "error", - "name": "AddressInsufficientBalance", - "inputs": [ - { - "name": "account", - "type": "address", - "internalType": "address" - } - ] - }, - { - "type": "error", - "name": "FailedInnerCall", - "inputs": [] - }, - { - "type": "error", - "name": "InvalidInitialization", - "inputs": [] - }, - { - "type": "error", - "name": "NotInitializing", - "inputs": [] - }, - { - "type": "error", - "name": "SafeCastOverflowedUintDowncast", - "inputs": [ - { - "name": "bits", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "value", - "type": "uint256", - "internalType": "uint256" - } - ] - }, - { - "type": "error", - "name": "SafeERC20FailedOperation", - "inputs": [ - { - "name": "token", - "type": "address", - "internalType": "address" - } - ] - }, - { - "type": "event", - "name": "AggregationPosted", - "inputs": [ - { - "name": "ritualId", - "type": "uint32", - "internalType": "uint32", - "indexed": true - }, - { - "name": "node", - "type": "address", - "internalType": "address", - "indexed": true - }, - { - "name": "aggregatedTranscriptDigest", - "type": "bytes32", - "internalType": "bytes32", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "DefaultAdminDelayChangeCanceled", - "inputs": [], - "anonymous": false - }, - { - "type": "event", - "name": "DefaultAdminDelayChangeScheduled", - "inputs": [ - { - "name": "newDelay", - "type": "uint48", - "internalType": "uint48", - "indexed": false - }, - { - "name": "effectSchedule", - "type": "uint48", - "internalType": "uint48", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "DefaultAdminTransferCanceled", - "inputs": [], - "anonymous": false - }, - { - "type": "event", - "name": "DefaultAdminTransferScheduled", - "inputs": [ - { - "name": "newAdmin", - "type": "address", - "internalType": "address", - "indexed": true - }, - { - "name": "acceptSchedule", - "type": "uint48", - "internalType": "uint48", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "EndRitual", - "inputs": [ - { - "name": "ritualId", - "type": "uint32", - "internalType": "uint32", - "indexed": true - }, - { - "name": "successful", - "type": "bool", - "internalType": "bool", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "Initialized", - "inputs": [ - { - "name": "version", - "type": "uint64", - "internalType": "uint64", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "MaxDkgSizeChanged", - "inputs": [ - { - "name": "oldSize", - "type": "uint16", - "internalType": "uint16", - "indexed": false - }, - { - "name": "newSize", - "type": "uint16", - "internalType": "uint16", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "ParticipantPublicKeySet", - "inputs": [ - { - "name": "ritualId", - "type": "uint32", - "internalType": "uint32", - "indexed": true - }, - { - "name": "participant", - "type": "address", - "internalType": "address", - "indexed": true - }, - { - "name": "publicKey", - "type": "tuple", - "components": [ - { - "name": "word0", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "word1", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "word2", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "internalType": "struct BLS12381.G2Point", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "ReimbursementPoolSet", - "inputs": [ - { - "name": "pool", - "type": "address", - "internalType": "address", - "indexed": true - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "RitualAuthorityTransferred", - "inputs": [ - { - "name": "ritualId", - "type": "uint32", - "internalType": "uint32", - "indexed": true - }, - { - "name": "previousAuthority", - "type": "address", - "internalType": "address", - "indexed": true - }, - { - "name": "newAuthority", - "type": "address", - "internalType": "address", - "indexed": true - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "RoleAdminChanged", - "inputs": [ - { - "name": "role", - "type": "bytes32", - "internalType": "bytes32", - "indexed": true - }, - { - "name": "previousAdminRole", - "type": "bytes32", - "internalType": "bytes32", - "indexed": true - }, - { - "name": "newAdminRole", - "type": "bytes32", - "internalType": "bytes32", - "indexed": true - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "RoleGranted", - "inputs": [ - { - "name": "role", - "type": "bytes32", - "internalType": "bytes32", - "indexed": true - }, - { - "name": "account", - "type": "address", - "internalType": "address", - "indexed": true - }, - { - "name": "sender", - "type": "address", - "internalType": "address", - "indexed": true - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "RoleRevoked", - "inputs": [ - { - "name": "role", - "type": "bytes32", - "internalType": "bytes32", - "indexed": true - }, - { - "name": "account", - "type": "address", - "internalType": "address", - "indexed": true - }, - { - "name": "sender", - "type": "address", - "internalType": "address", - "indexed": true - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "StartAggregationRound", - "inputs": [ - { - "name": "ritualId", - "type": "uint32", - "internalType": "uint32", - "indexed": true - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "StartRitual", - "inputs": [ - { - "name": "ritualId", - "type": "uint32", - "internalType": "uint32", - "indexed": true - }, - { - "name": "authority", - "type": "address", - "internalType": "address", - "indexed": true - }, - { - "name": "participants", - "type": "address[]", - "internalType": "address[]", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "TimeoutChanged", - "inputs": [ - { - "name": "oldTimeout", - "type": "uint32", - "internalType": "uint32", - "indexed": false - }, - { - "name": "newTimeout", - "type": "uint32", - "internalType": "uint32", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "TranscriptPosted", - "inputs": [ - { - "name": "ritualId", - "type": "uint32", - "internalType": "uint32", - "indexed": true - }, - { - "name": "node", - "type": "address", - "internalType": "address", - "indexed": true - }, - { - "name": "transcriptDigest", - "type": "bytes32", - "internalType": "bytes32", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "function", - "name": "DEFAULT_ADMIN_ROLE", - "stateMutability": "view", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32", - "internalType": "bytes32" - } - ] - }, - { - "type": "function", - "name": "INITIATOR_ROLE", - "stateMutability": "view", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32", - "internalType": "bytes32" - } - ] - }, - { - "type": "function", - "name": "TREASURY_ROLE", - "stateMutability": "view", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32", - "internalType": "bytes32" - } - ] - }, - { - "type": "function", - "name": "acceptDefaultAdminTransfer", - "stateMutability": "nonpayable", - "inputs": [], - "outputs": [] - }, - { - "type": "function", - "name": "application", - "stateMutability": "view", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "contract ITACoChildApplication" - } - ] - }, - { - "type": "function", - "name": "beginDefaultAdminTransfer", - "stateMutability": "nonpayable", - "inputs": [ - { - "name": "newAdmin", - "type": "address", - "internalType": "address" - } - ], - "outputs": [] - }, - { - "type": "function", - "name": "cancelDefaultAdminTransfer", - "stateMutability": "nonpayable", - "inputs": [], - "outputs": [] - }, - { - "type": "function", - "name": "changeDefaultAdminDelay", - "stateMutability": "nonpayable", - "inputs": [ - { - "name": "newDelay", - "type": "uint48", - "internalType": "uint48" - } - ], - "outputs": [] - }, - { - "type": "function", - "name": "cohortFingerprint", - "stateMutability": "pure", - "inputs": [ - { - "name": "nodes", - "type": "address[]", - "internalType": "address[]" - } - ], - "outputs": [ - { - "name": "", - "type": "bytes32", - "internalType": "bytes32" - } - ] - }, - { - "type": "function", - "name": "currency", - "stateMutability": "view", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "contract IERC20" - } - ] - }, - { - "type": "function", - "name": "defaultAdmin", - "stateMutability": "view", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ] - }, - { - "type": "function", - "name": "defaultAdminDelay", - "stateMutability": "view", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint48", - "internalType": "uint48" - } - ] - }, - { - "type": "function", - "name": "defaultAdminDelayIncreaseWait", - "stateMutability": "view", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint48", - "internalType": "uint48" - } - ] - }, - { - "type": "function", - "name": "feeRatePerSecond", - "stateMutability": "view", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "name": "getAuthority", - "stateMutability": "view", - "inputs": [ - { - "name": "ritualId", - "type": "uint32", - "internalType": "uint32" - } - ], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ] - }, - { - "type": "function", - "name": "getParticipantFromProvider", - "stateMutability": "view", - "inputs": [ - { - "name": "ritualId", - "type": "uint32", - "internalType": "uint32" - }, - { - "name": "provider", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "provider", - "type": "address", - "internalType": "address" - }, - { - "name": "aggregated", - "type": "bool", - "internalType": "bool" - }, - { - "name": "transcript", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "decryptionRequestStaticKey", - "type": "bytes", - "internalType": "bytes" - } - ], - "internalType": "struct Coordinator.Participant" - } - ] - }, - { - "type": "function", - "name": "getParticipants", - "stateMutability": "view", - "inputs": [ - { - "name": "ritualId", - "type": "uint32", - "internalType": "uint32" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple[]", - "components": [ - { - "name": "provider", - "type": "address", - "internalType": "address" - }, - { - "name": "aggregated", - "type": "bool", - "internalType": "bool" - }, - { - "name": "transcript", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "decryptionRequestStaticKey", - "type": "bytes", - "internalType": "bytes" - } - ], - "internalType": "struct Coordinator.Participant[]" - } - ] - }, - { - "type": "function", - "name": "getProviderPublicKey", - "stateMutability": "view", - "inputs": [ - { - "name": "_provider", - "type": "address", - "internalType": "address" - }, - { - "name": "_ritualId", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "word0", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "word1", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "word2", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "internalType": "struct BLS12381.G2Point" - } - ] - }, - { - "type": "function", - "name": "getPublicKeyFromRitualId", - "stateMutability": "view", - "inputs": [ - { - "name": "ritualId", - "type": "uint32", - "internalType": "uint32" - } - ], - "outputs": [ - { - "name": "dkgPublicKey", - "type": "tuple", - "components": [ - { - "name": "word0", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "word1", - "type": "bytes16", - "internalType": "bytes16" - } - ], - "internalType": "struct BLS12381.G1Point" - } - ] - }, - { - "type": "function", - "name": "getRitualIdFromPublicKey", - "stateMutability": "view", - "inputs": [ - { - "name": "dkgPublicKey", - "type": "tuple", - "components": [ - { - "name": "word0", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "word1", - "type": "bytes16", - "internalType": "bytes16" - } - ], - "internalType": "struct BLS12381.G1Point" - } - ], - "outputs": [ - { - "name": "ritualId", - "type": "uint32", - "internalType": "uint32" - } - ] - }, - { - "type": "function", - "name": "getRitualInitiationCost", - "stateMutability": "view", - "inputs": [ - { - "name": "providers", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "duration", - "type": "uint32", - "internalType": "uint32" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "name": "getRitualState", - "stateMutability": "view", - "inputs": [ - { - "name": "ritualId", - "type": "uint32", - "internalType": "uint32" - } - ], - "outputs": [ - { - "name": "", - "type": "uint8", - "internalType": "enum Coordinator.RitualState" - } - ] - }, - { - "type": "function", - "name": "getRoleAdmin", - "stateMutability": "view", - "inputs": [ - { - "name": "role", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "", - "type": "bytes32", - "internalType": "bytes32" - } - ] - }, - { - "type": "function", - "name": "getThresholdForRitualSize", - "stateMutability": "pure", - "inputs": [ - { - "name": "size", - "type": "uint16", - "internalType": "uint16" - } - ], - "outputs": [ - { - "name": "", - "type": "uint16", - "internalType": "uint16" - } - ] - }, - { - "type": "function", - "name": "grantRole", - "stateMutability": "nonpayable", - "inputs": [ - { - "name": "role", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "account", - "type": "address", - "internalType": "address" - } - ], - "outputs": [] - }, - { - "type": "function", - "name": "hasRole", - "stateMutability": "view", - "inputs": [ - { - "name": "role", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "account", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ] - }, - { - "type": "function", - "name": "initialize", - "stateMutability": "nonpayable", - "inputs": [ - { - "name": "_timeout", - "type": "uint32", - "internalType": "uint32" - }, - { - "name": "_maxDkgSize", - "type": "uint16", - "internalType": "uint16" - }, - { - "name": "_admin", - "type": "address", - "internalType": "address" - } - ], - "outputs": [] - }, - { - "type": "function", - "name": "initiateRitual", - "stateMutability": "nonpayable", - "inputs": [ - { - "name": "providers", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "authority", - "type": "address", - "internalType": "address" - }, - { - "name": "duration", - "type": "uint32", - "internalType": "uint32" - }, - { - "name": "accessController", - "type": "address", - "internalType": "contract IEncryptionAuthorizer" - } - ], - "outputs": [ - { - "name": "", - "type": "uint32", - "internalType": "uint32" - } - ] - }, - { - "type": "function", - "name": "isEncryptionAuthorized", - "stateMutability": "view", - "inputs": [ - { - "name": "ritualId", - "type": "uint32", - "internalType": "uint32" - }, - { - "name": "evidence", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "ciphertextHeader", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ] - }, - { - "type": "function", - "name": "isInitiationPublic", - "stateMutability": "view", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ] - }, - { - "type": "function", - "name": "isProviderPublicKeySet", - "stateMutability": "view", - "inputs": [ - { - "name": "_provider", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ] - }, - { - "type": "function", - "name": "isRitualActive", - "stateMutability": "view", - "inputs": [ - { - "name": "ritualId", - "type": "uint32", - "internalType": "uint32" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ] - }, - { - "type": "function", - "name": "makeInitiationPublic", - "stateMutability": "nonpayable", - "inputs": [], - "outputs": [] - }, - { - "type": "function", - "name": "maxDkgSize", - "stateMutability": "view", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint16", - "internalType": "uint16" - } - ] - }, - { - "type": "function", - "name": "numberOfRituals", - "stateMutability": "view", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "name": "owner", - "stateMutability": "view", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ] - }, - { - "type": "function", - "name": "pendingDefaultAdmin", - "stateMutability": "view", - "inputs": [], - "outputs": [ - { - "name": "newAdmin", - "type": "address", - "internalType": "address" - }, - { - "name": "schedule", - "type": "uint48", - "internalType": "uint48" - } - ] - }, - { - "type": "function", - "name": "pendingDefaultAdminDelay", - "stateMutability": "view", - "inputs": [], - "outputs": [ - { - "name": "newDelay", - "type": "uint48", - "internalType": "uint48" - }, - { - "name": "schedule", - "type": "uint48", - "internalType": "uint48" - } - ] - }, - { - "type": "function", - "name": "pendingFees", - "stateMutability": "view", - "inputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "name": "postAggregation", - "stateMutability": "nonpayable", - "inputs": [ - { - "name": "ritualId", - "type": "uint32", - "internalType": "uint32" - }, - { - "name": "aggregatedTranscript", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "dkgPublicKey", - "type": "tuple", - "components": [ - { - "name": "word0", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "word1", - "type": "bytes16", - "internalType": "bytes16" - } - ], - "internalType": "struct BLS12381.G1Point" - }, - { - "name": "decryptionRequestStaticKey", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [] - }, - { - "type": "function", - "name": "postTranscript", - "stateMutability": "nonpayable", - "inputs": [ - { - "name": "ritualId", - "type": "uint32", - "internalType": "uint32" - }, - { - "name": "transcript", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [] - }, - { - "type": "function", - "name": "processPendingFee", - "stateMutability": "nonpayable", - "inputs": [ - { - "name": "ritualId", - "type": "uint32", - "internalType": "uint32" - } - ], - "outputs": [ - { - "name": "refundableFee", - "type": "uint256", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "name": "renounceRole", - "stateMutability": "nonpayable", - "inputs": [ - { - "name": "role", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "account", - "type": "address", - "internalType": "address" - } - ], - "outputs": [] - }, - { - "type": "function", - "name": "revokeRole", - "stateMutability": "nonpayable", - "inputs": [ - { - "name": "role", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "account", - "type": "address", - "internalType": "address" - } - ], - "outputs": [] - }, - { - "type": "function", - "name": "rituals", - "stateMutability": "view", - "inputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "initiator", - "type": "address", - "internalType": "address" - }, - { - "name": "initTimestamp", - "type": "uint32", - "internalType": "uint32" - }, - { - "name": "endTimestamp", - "type": "uint32", - "internalType": "uint32" - }, - { - "name": "totalTranscripts", - "type": "uint16", - "internalType": "uint16" - }, - { - "name": "totalAggregations", - "type": "uint16", - "internalType": "uint16" - }, - { - "name": "authority", - "type": "address", - "internalType": "address" - }, - { - "name": "dkgSize", - "type": "uint16", - "internalType": "uint16" - }, - { - "name": "threshold", - "type": "uint16", - "internalType": "uint16" - }, - { - "name": "aggregationMismatch", - "type": "bool", - "internalType": "bool" - }, - { - "name": "accessController", - "type": "address", - "internalType": "contract IEncryptionAuthorizer" - }, - { - "name": "publicKey", - "type": "tuple", - "components": [ - { - "name": "word0", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "word1", - "type": "bytes16", - "internalType": "bytes16" - } - ], - "internalType": "struct BLS12381.G1Point" - }, - { - "name": "aggregatedTranscript", - "type": "bytes", - "internalType": "bytes" - } - ] - }, - { - "type": "function", - "name": "rollbackDefaultAdminDelay", - "stateMutability": "nonpayable", - "inputs": [], - "outputs": [] - }, - { - "type": "function", - "name": "setMaxDkgSize", - "stateMutability": "nonpayable", - "inputs": [ - { - "name": "newSize", - "type": "uint16", - "internalType": "uint16" - } - ], - "outputs": [] - }, - { - "type": "function", - "name": "setProviderPublicKey", - "stateMutability": "nonpayable", - "inputs": [ - { - "name": "_publicKey", - "type": "tuple", - "components": [ - { - "name": "word0", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "word1", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "word2", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "internalType": "struct BLS12381.G2Point" - } - ], - "outputs": [] - }, - { - "type": "function", - "name": "setReimbursementPool", - "stateMutability": "nonpayable", - "inputs": [ - { - "name": "pool", - "type": "address", - "internalType": "contract IReimbursementPool" - } - ], - "outputs": [] - }, - { - "type": "function", - "name": "setTimeout", - "stateMutability": "nonpayable", - "inputs": [ - { - "name": "newTimeout", - "type": "uint32", - "internalType": "uint32" - } - ], - "outputs": [] - }, - { - "type": "function", - "name": "supportsInterface", - "stateMutability": "view", - "inputs": [ - { - "name": "interfaceId", - "type": "bytes4", - "internalType": "bytes4" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ] - }, - { - "type": "function", - "name": "timeout", - "stateMutability": "view", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint32", - "internalType": "uint32" - } - ] - }, - { - "type": "function", - "name": "totalPendingFees", - "stateMutability": "view", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "name": "transferRitualAuthority", - "stateMutability": "nonpayable", - "inputs": [ - { - "name": "ritualId", - "type": "uint32", - "internalType": "uint32" - }, - { - "name": "newAuthority", - "type": "address", - "internalType": "address" - } - ], - "outputs": [] - }, - { - "type": "function", - "name": "withdrawTokens", - "stateMutability": "nonpayable", - "inputs": [ - { - "name": "token", - "type": "address", - "internalType": "contract IERC20" - }, - { - "name": "amount", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [] - } - ], - "tx_hash": "0x2a7f64225d9884b6b854ba7454283ecd4730785cbc862b72d4d8111224688e13", - "block_number": 50224074, - "deployer": "0xFfFd7092685bDeeBD121D1A0FEA3c349114Cce50" - }, - "GlobalAllowList": { - "address": "0xa8D488019F6627C4eA806242CbEc06EaF7CfA03c", - "abi": [ - { - "type": "constructor", - "stateMutability": "nonpayable", - "inputs": [ - { - "name": "_coordinator", - "type": "address", - "internalType": "contract Coordinator" - } - ] - }, - { - "type": "error", - "name": "ECDSAInvalidSignature", - "inputs": [] - }, - { - "type": "error", - "name": "ECDSAInvalidSignatureLength", - "inputs": [ - { - "name": "length", - "type": "uint256", - "internalType": "uint256" - } - ] - }, - { - "type": "error", - "name": "ECDSAInvalidSignatureS", - "inputs": [ - { - "name": "s", - "type": "bytes32", - "internalType": "bytes32" - } - ] - }, - { - "type": "event", - "name": "AddressAuthorizationSet", - "inputs": [ - { - "name": "ritualId", - "type": "uint32", - "internalType": "uint32", - "indexed": true - }, - { - "name": "_address", - "type": "address", - "internalType": "address", - "indexed": true - }, - { - "name": "isAuthorized", - "type": "bool", - "internalType": "bool", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "function", - "name": "authorize", - "stateMutability": "nonpayable", - "inputs": [ - { - "name": "ritualId", - "type": "uint32", - "internalType": "uint32" - }, - { - "name": "addresses", - "type": "address[]", - "internalType": "address[]" - } - ], - "outputs": [] - }, - { - "type": "function", - "name": "coordinator", - "stateMutability": "view", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "contract Coordinator" - } - ] - }, - { - "type": "function", - "name": "deauthorize", - "stateMutability": "nonpayable", - "inputs": [ - { - "name": "ritualId", - "type": "uint32", - "internalType": "uint32" - }, - { - "name": "addresses", - "type": "address[]", - "internalType": "address[]" - } - ], - "outputs": [] - }, - { - "type": "function", - "name": "isAddressAuthorized", - "stateMutability": "view", - "inputs": [ - { - "name": "ritualId", - "type": "uint32", - "internalType": "uint32" - }, - { - "name": "encryptor", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ] - }, - { - "type": "function", - "name": "isAuthorized", - "stateMutability": "view", - "inputs": [ - { - "name": "ritualId", - "type": "uint32", - "internalType": "uint32" - }, - { - "name": "evidence", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "ciphertextHeader", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ] - } - ], - "tx_hash": "0x8b394cc41255d7b580d1561c5236b020ec2048782a1e7553f6f476f06ea61c13", - "block_number": 50224144, - "deployer": "0xFfFd7092685bDeeBD121D1A0FEA3c349114Cce50" - }, - "PolygonChild": { - "address": "0xa67B971011Ea3675449d8c054B243990B839afDd", - "abi": [ - { - "type": "constructor", - "stateMutability": "nonpayable", - "inputs": [ - { - "name": "_fxChild", - "type": "address", - "internalType": "address" - } - ] - }, - { - "type": "error", - "name": "OwnableInvalidOwner", - "inputs": [ - { - "name": "owner", - "type": "address", - "internalType": "address" - } - ] - }, - { - "type": "error", - "name": "OwnableUnauthorizedAccount", - "inputs": [ - { - "name": "account", - "type": "address", - "internalType": "address" - } - ] - }, - { - "type": "event", - "name": "MessageSent", - "inputs": [ - { - "name": "message", - "type": "bytes", - "internalType": "bytes", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "OwnershipTransferred", - "inputs": [ - { - "name": "previousOwner", - "type": "address", - "internalType": "address", - "indexed": true - }, - { - "name": "newOwner", - "type": "address", - "internalType": "address", - "indexed": true - } - ], - "anonymous": false - }, - { - "type": "fallback", - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "childApplication", - "stateMutability": "view", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ] - }, - { - "type": "function", - "name": "fxChild", - "stateMutability": "view", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ] - }, - { - "type": "function", - "name": "fxRootTunnel", - "stateMutability": "view", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ] - }, - { - "type": "function", - "name": "owner", - "stateMutability": "view", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ] - }, - { - "type": "function", - "name": "processMessageFromRoot", - "stateMutability": "nonpayable", - "inputs": [ - { - "name": "stateId", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "rootMessageSender", - "type": "address", - "internalType": "address" - }, - { - "name": "data", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [] - }, - { - "type": "function", - "name": "renounceOwnership", - "stateMutability": "nonpayable", - "inputs": [], - "outputs": [] - }, - { - "type": "function", - "name": "setChildApplication", - "stateMutability": "nonpayable", - "inputs": [ - { - "name": "_childApplication", - "type": "address", - "internalType": "address" - } - ], - "outputs": [] - }, - { - "type": "function", - "name": "setFxRootTunnel", - "stateMutability": "nonpayable", - "inputs": [ - { - "name": "_fxRootTunnel", - "type": "address", - "internalType": "address" - } - ], - "outputs": [] - }, - { - "type": "function", - "name": "transferOwnership", - "stateMutability": "nonpayable", - "inputs": [ - { - "name": "newOwner", - "type": "address", - "internalType": "address" - } - ], - "outputs": [] - } - ], - "tx_hash": "0x02af325b856288153717e76d3323aa8444ba28994c20ed0b313c260641115b3d", - "block_number": 50223971, - "deployer": "0xFfFd7092685bDeeBD121D1A0FEA3c349114Cce50" - }, - "TACoChildApplication": { - "address": "0xFa07aaB78062Fac4C36995bF28F6D677667973F5", - "abi": [ - { - "type": "constructor", - "stateMutability": "nonpayable", - "inputs": [ - { - "name": "_rootApplication", - "type": "address", - "internalType": "contract ITACoChildToRoot" - }, - { - "name": "_minimumAuthorization", - "type": "uint96", - "internalType": "uint96" - } - ] - }, - { - "type": "error", - "name": "InvalidInitialization", - "inputs": [] - }, - { - "type": "error", - "name": "NotInitializing", - "inputs": [] - }, - { - "type": "event", - "name": "AuthorizationUpdated", - "inputs": [ - { - "name": "stakingProvider", - "type": "address", - "internalType": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint96", - "internalType": "uint96", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "Initialized", - "inputs": [ - { - "name": "version", - "type": "uint64", - "internalType": "uint64", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "OperatorConfirmed", - "inputs": [ - { - "name": "stakingProvider", - "type": "address", - "internalType": "address", - "indexed": true - }, - { - "name": "operator", - "type": "address", - "internalType": "address", - "indexed": true - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "OperatorUpdated", - "inputs": [ - { - "name": "stakingProvider", - "type": "address", - "internalType": "address", - "indexed": true - }, - { - "name": "operator", - "type": "address", - "internalType": "address", - "indexed": true - } - ], - "anonymous": false - }, - { - "type": "function", - "name": "authorizedStake", - "stateMutability": "view", - "inputs": [ - { - "name": "_stakingProvider", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint96", - "internalType": "uint96" - } - ] - }, - { - "type": "function", - "name": "confirmOperatorAddress", - "stateMutability": "nonpayable", - "inputs": [ - { - "name": "_operator", - "type": "address", - "internalType": "address" - } - ], - "outputs": [] - }, - { - "type": "function", - "name": "coordinator", - "stateMutability": "view", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ] - }, - { - "type": "function", - "name": "getActiveStakingProviders", - "stateMutability": "view", - "inputs": [ - { - "name": "_startIndex", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "_maxStakingProviders", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "allAuthorizedTokens", - "type": "uint96", - "internalType": "uint96" - }, - { - "name": "activeStakingProviders", - "type": "bytes32[]", - "internalType": "bytes32[]" - } - ] - }, - { - "type": "function", - "name": "getStakingProvidersLength", - "stateMutability": "view", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "name": "initialize", - "stateMutability": "nonpayable", - "inputs": [ - { - "name": "_coordinator", - "type": "address", - "internalType": "address" - } - ], - "outputs": [] - }, - { - "type": "function", - "name": "minimumAuthorization", - "stateMutability": "view", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint96", - "internalType": "uint96" - } - ] - }, - { - "type": "function", - "name": "operatorToStakingProvider", - "stateMutability": "view", - "inputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ] - }, - { - "type": "function", - "name": "rootApplication", - "stateMutability": "view", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "contract ITACoChildToRoot" - } - ] - }, - { - "type": "function", - "name": "stakingProviderInfo", - "stateMutability": "view", - "inputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "operator", - "type": "address", - "internalType": "address" - }, - { - "name": "authorized", - "type": "uint96", - "internalType": "uint96" - }, - { - "name": "operatorConfirmed", - "type": "bool", - "internalType": "bool" - }, - { - "name": "index", - "type": "uint248", - "internalType": "uint248" - } - ] - }, - { - "type": "function", - "name": "stakingProviders", - "stateMutability": "view", - "inputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ] - }, - { - "type": "function", - "name": "updateAuthorization", - "stateMutability": "nonpayable", - "inputs": [ - { - "name": "stakingProvider", - "type": "address", - "internalType": "address" - }, - { - "name": "amount", - "type": "uint96", - "internalType": "uint96" - } - ], - "outputs": [] - }, - { - "type": "function", - "name": "updateOperator", - "stateMutability": "nonpayable", - "inputs": [ - { - "name": "stakingProvider", - "type": "address", - "internalType": "address" - }, - { - "name": "operator", - "type": "address", - "internalType": "address" - } - ], - "outputs": [] - } - ], - "tx_hash": "0x6eeafdcd35f18a83e9ba17ba67483b56ae21a5611b53f9b11da026ac073b5558", - "block_number": 50223997, - "deployer": "0xFfFd7092685bDeeBD121D1A0FEA3c349114Cce50" - } - } -} \ No newline at end of file diff --git a/deployment/artifacts/mainnet-root.json b/deployment/artifacts/mainnet-root.json deleted file mode 100644 index d41739c7..00000000 --- a/deployment/artifacts/mainnet-root.json +++ /dev/null @@ -1,1504 +0,0 @@ -{ - "1": { - "PolygonRoot": { - "address": "0xEc20eD1240F8AdC50c01bdcfe1B6f878Dc0fF583", - "abi": [ - { - "type": "constructor", - "stateMutability": "nonpayable", - "inputs": [ - { - "name": "_checkpointManager", - "type": "address", - "internalType": "address" - }, - { - "name": "_fxRoot", - "type": "address", - "internalType": "address" - }, - { - "name": "_rootApplication", - "type": "address", - "internalType": "address" - }, - { - "name": "_fxChildTunnel", - "type": "address", - "internalType": "address" - } - ] - }, - { - "type": "fallback", - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "SEND_MESSAGE_EVENT_SIG", - "stateMutability": "view", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32", - "internalType": "bytes32" - } - ] - }, - { - "type": "function", - "name": "checkpointManager", - "stateMutability": "view", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "contract ICheckpointManager" - } - ] - }, - { - "type": "function", - "name": "fxChildTunnel", - "stateMutability": "view", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ] - }, - { - "type": "function", - "name": "fxRoot", - "stateMutability": "view", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "contract IFxStateSender" - } - ] - }, - { - "type": "function", - "name": "processedExits", - "stateMutability": "view", - "inputs": [ - { - "name": "", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ] - }, - { - "type": "function", - "name": "receiveMessage", - "stateMutability": "nonpayable", - "inputs": [ - { - "name": "inputData", - "type": "bytes", - "internalType": "bytes" - } - ], - "outputs": [] - }, - { - "type": "function", - "name": "rootApplication", - "stateMutability": "view", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ] - }, - { - "type": "function", - "name": "setFxChildTunnel", - "stateMutability": "nonpayable", - "inputs": [ - { - "name": "_fxChildTunnel", - "type": "address", - "internalType": "address" - } - ], - "outputs": [] - } - ], - "tx_hash": "0x9ac6aac59e58438b95884feed29c75cfa98bd9776ba4689bd27f1550564fbbb1", - "block_number": 18622379, - "deployer": "0xFfFd7092685bDeeBD121D1A0FEA3c349114Cce50" - }, - "TACoApplication": { - "address": "0x347CC7ede7e5517bD47D20620B2CF1b406edcF07", - "abi": [ - { - "type": "constructor", - "stateMutability": "nonpayable", - "inputs": [ - { - "name": "_token", - "type": "address", - "internalType": "contract IERC20" - }, - { - "name": "_tStaking", - "type": "address", - "internalType": "contract IStaking" - }, - { - "name": "_minimumAuthorization", - "type": "uint96", - "internalType": "uint96" - }, - { - "name": "_minOperatorSeconds", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "_rewardDuration", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "_deauthorizationDuration", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "_commitmentDurationOptions", - "type": "uint64[]", - "internalType": "uint64[]" - }, - { - "name": "_commitmentDeadline", - "type": "uint64", - "internalType": "uint64" - } - ] - }, - { - "type": "error", - "name": "AddressEmptyCode", - "inputs": [ - { - "name": "target", - "type": "address", - "internalType": "address" - } - ] - }, - { - "type": "error", - "name": "AddressInsufficientBalance", - "inputs": [ - { - "name": "account", - "type": "address", - "internalType": "address" - } - ] - }, - { - "type": "error", - "name": "FailedInnerCall", - "inputs": [] - }, - { - "type": "error", - "name": "InvalidInitialization", - "inputs": [] - }, - { - "type": "error", - "name": "NotInitializing", - "inputs": [] - }, - { - "type": "error", - "name": "OwnableInvalidOwner", - "inputs": [ - { - "name": "owner", - "type": "address", - "internalType": "address" - } - ] - }, - { - "type": "error", - "name": "OwnableUnauthorizedAccount", - "inputs": [ - { - "name": "account", - "type": "address", - "internalType": "address" - } - ] - }, - { - "type": "error", - "name": "SafeCastOverflowedUintDowncast", - "inputs": [ - { - "name": "bits", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "value", - "type": "uint256", - "internalType": "uint256" - } - ] - }, - { - "type": "error", - "name": "SafeERC20FailedOperation", - "inputs": [ - { - "name": "token", - "type": "address", - "internalType": "address" - } - ] - }, - { - "type": "event", - "name": "AuthorizationDecreaseApproved", - "inputs": [ - { - "name": "stakingProvider", - "type": "address", - "internalType": "address", - "indexed": true - }, - { - "name": "fromAmount", - "type": "uint96", - "internalType": "uint96", - "indexed": false - }, - { - "name": "toAmount", - "type": "uint96", - "internalType": "uint96", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "AuthorizationDecreaseRequested", - "inputs": [ - { - "name": "stakingProvider", - "type": "address", - "internalType": "address", - "indexed": true - }, - { - "name": "fromAmount", - "type": "uint96", - "internalType": "uint96", - "indexed": false - }, - { - "name": "toAmount", - "type": "uint96", - "internalType": "uint96", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "AuthorizationIncreased", - "inputs": [ - { - "name": "stakingProvider", - "type": "address", - "internalType": "address", - "indexed": true - }, - { - "name": "fromAmount", - "type": "uint96", - "internalType": "uint96", - "indexed": false - }, - { - "name": "toAmount", - "type": "uint96", - "internalType": "uint96", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "AuthorizationInvoluntaryDecreased", - "inputs": [ - { - "name": "stakingProvider", - "type": "address", - "internalType": "address", - "indexed": true - }, - { - "name": "fromAmount", - "type": "uint96", - "internalType": "uint96", - "indexed": false - }, - { - "name": "toAmount", - "type": "uint96", - "internalType": "uint96", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "AuthorizationReSynchronized", - "inputs": [ - { - "name": "stakingProvider", - "type": "address", - "internalType": "address", - "indexed": true - }, - { - "name": "fromAmount", - "type": "uint96", - "internalType": "uint96", - "indexed": false - }, - { - "name": "toAmount", - "type": "uint96", - "internalType": "uint96", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "CommitmentMade", - "inputs": [ - { - "name": "stakingProvider", - "type": "address", - "internalType": "address", - "indexed": true - }, - { - "name": "endCommitment", - "type": "uint256", - "internalType": "uint256", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "Initialized", - "inputs": [ - { - "name": "version", - "type": "uint64", - "internalType": "uint64", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "OperatorBonded", - "inputs": [ - { - "name": "stakingProvider", - "type": "address", - "internalType": "address", - "indexed": true - }, - { - "name": "operator", - "type": "address", - "internalType": "address", - "indexed": true - }, - { - "name": "previousOperator", - "type": "address", - "internalType": "address", - "indexed": true - }, - { - "name": "startTimestamp", - "type": "uint256", - "internalType": "uint256", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "OperatorConfirmed", - "inputs": [ - { - "name": "stakingProvider", - "type": "address", - "internalType": "address", - "indexed": true - }, - { - "name": "operator", - "type": "address", - "internalType": "address", - "indexed": true - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "OwnershipTransferred", - "inputs": [ - { - "name": "previousOwner", - "type": "address", - "internalType": "address", - "indexed": true - }, - { - "name": "newOwner", - "type": "address", - "internalType": "address", - "indexed": true - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "RewardAdded", - "inputs": [ - { - "name": "reward", - "type": "uint256", - "internalType": "uint256", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "RewardDistributorSet", - "inputs": [ - { - "name": "distributor", - "type": "address", - "internalType": "address", - "indexed": true - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "RewardPaid", - "inputs": [ - { - "name": "stakingProvider", - "type": "address", - "internalType": "address", - "indexed": true - }, - { - "name": "beneficiary", - "type": "address", - "internalType": "address", - "indexed": true - }, - { - "name": "reward", - "type": "uint256", - "internalType": "uint256", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "RewardsWithdrawn", - "inputs": [ - { - "name": "stakingProvider", - "type": "address", - "internalType": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint96", - "internalType": "uint96", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "Slashed", - "inputs": [ - { - "name": "stakingProvider", - "type": "address", - "internalType": "address", - "indexed": true - }, - { - "name": "penalty", - "type": "uint256", - "internalType": "uint256", - "indexed": false - }, - { - "name": "investigator", - "type": "address", - "internalType": "address", - "indexed": true - }, - { - "name": "reward", - "type": "uint256", - "internalType": "uint256", - "indexed": false - } - ], - "anonymous": false - }, - { - "type": "function", - "name": "REWARD_PER_TOKEN_MULTIPLIER", - "stateMutability": "view", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "name": "adjudicator", - "stateMutability": "view", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ] - }, - { - "type": "function", - "name": "approveAuthorizationDecrease", - "stateMutability": "nonpayable", - "inputs": [ - { - "name": "_stakingProvider", - "type": "address", - "internalType": "address" - } - ], - "outputs": [] - }, - { - "type": "function", - "name": "authorizationDecreaseRequested", - "stateMutability": "nonpayable", - "inputs": [ - { - "name": "_stakingProvider", - "type": "address", - "internalType": "address" - }, - { - "name": "_fromAmount", - "type": "uint96", - "internalType": "uint96" - }, - { - "name": "_toAmount", - "type": "uint96", - "internalType": "uint96" - } - ], - "outputs": [] - }, - { - "type": "function", - "name": "authorizationIncreased", - "stateMutability": "nonpayable", - "inputs": [ - { - "name": "_stakingProvider", - "type": "address", - "internalType": "address" - }, - { - "name": "_fromAmount", - "type": "uint96", - "internalType": "uint96" - }, - { - "name": "_toAmount", - "type": "uint96", - "internalType": "uint96" - } - ], - "outputs": [] - }, - { - "type": "function", - "name": "authorizationParameters", - "stateMutability": "view", - "inputs": [], - "outputs": [ - { - "name": "_minimumAuthorization", - "type": "uint96", - "internalType": "uint96" - }, - { - "name": "authorizationDecreaseDelay", - "type": "uint64", - "internalType": "uint64" - }, - { - "name": "authorizationDecreaseChangePeriod", - "type": "uint64", - "internalType": "uint64" - } - ] - }, - { - "type": "function", - "name": "authorizedOverall", - "stateMutability": "view", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint96", - "internalType": "uint96" - } - ] - }, - { - "type": "function", - "name": "authorizedStake", - "stateMutability": "view", - "inputs": [ - { - "name": "_stakingProvider", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint96", - "internalType": "uint96" - } - ] - }, - { - "type": "function", - "name": "availableRewards", - "stateMutability": "view", - "inputs": [ - { - "name": "_stakingProvider", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint96", - "internalType": "uint96" - } - ] - }, - { - "type": "function", - "name": "bondOperator", - "stateMutability": "nonpayable", - "inputs": [ - { - "name": "_stakingProvider", - "type": "address", - "internalType": "address" - }, - { - "name": "_operator", - "type": "address", - "internalType": "address" - } - ], - "outputs": [] - }, - { - "type": "function", - "name": "childApplication", - "stateMutability": "view", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "contract ITACoRootToChild" - } - ] - }, - { - "type": "function", - "name": "commitmentDeadline", - "stateMutability": "view", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint64", - "internalType": "uint64" - } - ] - }, - { - "type": "function", - "name": "commitmentDurationOption1", - "stateMutability": "view", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint64", - "internalType": "uint64" - } - ] - }, - { - "type": "function", - "name": "commitmentDurationOption2", - "stateMutability": "view", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint64", - "internalType": "uint64" - } - ] - }, - { - "type": "function", - "name": "commitmentDurationOption3", - "stateMutability": "view", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint64", - "internalType": "uint64" - } - ] - }, - { - "type": "function", - "name": "commitmentDurationOption4", - "stateMutability": "view", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint64", - "internalType": "uint64" - } - ] - }, - { - "type": "function", - "name": "confirmOperatorAddress", - "stateMutability": "nonpayable", - "inputs": [ - { - "name": "_operator", - "type": "address", - "internalType": "address" - } - ], - "outputs": [] - }, - { - "type": "function", - "name": "deauthorizationDuration", - "stateMutability": "view", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "name": "getActiveStakingProviders", - "stateMutability": "view", - "inputs": [ - { - "name": "_startIndex", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "_maxStakingProviders", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "allAuthorizedTokens", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "activeStakingProviders", - "type": "bytes32[]", - "internalType": "bytes32[]" - } - ] - }, - { - "type": "function", - "name": "getBeneficiary", - "stateMutability": "view", - "inputs": [ - { - "name": "_stakingProvider", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "beneficiary", - "type": "address", - "internalType": "address payable" - } - ] - }, - { - "type": "function", - "name": "getStakingProvidersLength", - "stateMutability": "view", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "name": "initialize", - "stateMutability": "nonpayable", - "inputs": [], - "outputs": [] - }, - { - "type": "function", - "name": "involuntaryAuthorizationDecrease", - "stateMutability": "nonpayable", - "inputs": [ - { - "name": "_stakingProvider", - "type": "address", - "internalType": "address" - }, - { - "name": "_fromAmount", - "type": "uint96", - "internalType": "uint96" - }, - { - "name": "_toAmount", - "type": "uint96", - "internalType": "uint96" - } - ], - "outputs": [] - }, - { - "type": "function", - "name": "isAuthorized", - "stateMutability": "view", - "inputs": [ - { - "name": "_stakingProvider", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ] - }, - { - "type": "function", - "name": "isOperatorConfirmed", - "stateMutability": "view", - "inputs": [ - { - "name": "_operator", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ] - }, - { - "type": "function", - "name": "lastTimeRewardApplicable", - "stateMutability": "view", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "name": "lastUpdateTime", - "stateMutability": "view", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "name": "makeCommitment", - "stateMutability": "nonpayable", - "inputs": [ - { - "name": "_stakingProvider", - "type": "address", - "internalType": "address" - }, - { - "name": "_commitmentDuration", - "type": "uint64", - "internalType": "uint64" - } - ], - "outputs": [] - }, - { - "type": "function", - "name": "minOperatorSeconds", - "stateMutability": "view", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "name": "minimumAuthorization", - "stateMutability": "view", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint96", - "internalType": "uint96" - } - ] - }, - { - "type": "function", - "name": "operatorToStakingProvider", - "stateMutability": "view", - "inputs": [ - { - "name": "_operator", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ] - }, - { - "type": "function", - "name": "owner", - "stateMutability": "view", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ] - }, - { - "type": "function", - "name": "pendingAuthorizationDecrease", - "stateMutability": "view", - "inputs": [ - { - "name": "_stakingProvider", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint96", - "internalType": "uint96" - } - ] - }, - { - "type": "function", - "name": "periodFinish", - "stateMutability": "view", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "name": "pushReward", - "stateMutability": "nonpayable", - "inputs": [ - { - "name": "_reward", - "type": "uint96", - "internalType": "uint96" - } - ], - "outputs": [] - }, - { - "type": "function", - "name": "registerOperator", - "stateMutability": "nonpayable", - "inputs": [ - { - "name": "_operator", - "type": "address", - "internalType": "address" - } - ], - "outputs": [] - }, - { - "type": "function", - "name": "remainingAuthorizationDecreaseDelay", - "stateMutability": "view", - "inputs": [ - { - "name": "_stakingProvider", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint64", - "internalType": "uint64" - } - ] - }, - { - "type": "function", - "name": "renounceOwnership", - "stateMutability": "nonpayable", - "inputs": [], - "outputs": [] - }, - { - "type": "function", - "name": "resynchronizeAuthorization", - "stateMutability": "nonpayable", - "inputs": [ - { - "name": "_stakingProvider", - "type": "address", - "internalType": "address" - } - ], - "outputs": [] - }, - { - "type": "function", - "name": "rewardDistributor", - "stateMutability": "view", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ] - }, - { - "type": "function", - "name": "rewardDuration", - "stateMutability": "view", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "name": "rewardPerToken", - "stateMutability": "view", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint160", - "internalType": "uint160" - } - ] - }, - { - "type": "function", - "name": "rewardPerTokenStored", - "stateMutability": "view", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint160", - "internalType": "uint160" - } - ] - }, - { - "type": "function", - "name": "rewardRateDecimals", - "stateMutability": "view", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ] - }, - { - "type": "function", - "name": "setAdjudicator", - "stateMutability": "nonpayable", - "inputs": [ - { - "name": "_adjudicator", - "type": "address", - "internalType": "address" - } - ], - "outputs": [] - }, - { - "type": "function", - "name": "setChildApplication", - "stateMutability": "nonpayable", - "inputs": [ - { - "name": "_childApplication", - "type": "address", - "internalType": "contract ITACoRootToChild" - } - ], - "outputs": [] - }, - { - "type": "function", - "name": "setRewardDistributor", - "stateMutability": "nonpayable", - "inputs": [ - { - "name": "_rewardDistributor", - "type": "address", - "internalType": "address" - } - ], - "outputs": [] - }, - { - "type": "function", - "name": "slash", - "stateMutability": "nonpayable", - "inputs": [ - { - "name": "_stakingProvider", - "type": "address", - "internalType": "address" - }, - { - "name": "_penalty", - "type": "uint96", - "internalType": "uint96" - }, - { - "name": "_investigator", - "type": "address", - "internalType": "address" - } - ], - "outputs": [] - }, - { - "type": "function", - "name": "stakingProviderInfo", - "stateMutability": "view", - "inputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "operator", - "type": "address", - "internalType": "address" - }, - { - "name": "operatorConfirmed", - "type": "bool", - "internalType": "bool" - }, - { - "name": "operatorStartTimestamp", - "type": "uint64", - "internalType": "uint64" - }, - { - "name": "authorized", - "type": "uint96", - "internalType": "uint96" - }, - { - "name": "deauthorizing", - "type": "uint96", - "internalType": "uint96" - }, - { - "name": "endDeauthorization", - "type": "uint64", - "internalType": "uint64" - }, - { - "name": "tReward", - "type": "uint96", - "internalType": "uint96" - }, - { - "name": "rewardPerTokenPaid", - "type": "uint160", - "internalType": "uint160" - }, - { - "name": "endCommitment", - "type": "uint64", - "internalType": "uint64" - } - ] - }, - { - "type": "function", - "name": "stakingProviderToOperator", - "stateMutability": "view", - "inputs": [ - { - "name": "_stakingProvider", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ] - }, - { - "type": "function", - "name": "stakingProviders", - "stateMutability": "view", - "inputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ] - }, - { - "type": "function", - "name": "tStaking", - "stateMutability": "view", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "contract IStaking" - } - ] - }, - { - "type": "function", - "name": "token", - "stateMutability": "view", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "contract IERC20" - } - ] - }, - { - "type": "function", - "name": "transferOwnership", - "stateMutability": "nonpayable", - "inputs": [ - { - "name": "newOwner", - "type": "address", - "internalType": "address" - } - ], - "outputs": [] - }, - { - "type": "function", - "name": "withdrawRewards", - "stateMutability": "nonpayable", - "inputs": [ - { - "name": "_stakingProvider", - "type": "address", - "internalType": "address" - } - ], - "outputs": [] - } - ], - "tx_hash": "0x58617564fa2bf9ad71b9eab1ceefdd3eae5a46efc71f4463df6dbffbd713a160", - "block_number": 18622368, - "deployer": "0xFfFd7092685bDeeBD121D1A0FEA3c349114Cce50" - } - } -} \ No newline at end of file