UNPKG

@river-build/generated

Version:

## How to generate contract types

369 lines 9.22 kB
{ "compiler": { "version": "0.8.24+commit.e11b9ed9" }, "language": "Solidity", "output": { "abi": [ { "inputs": [ { "internalType": "address", "name": "operator", "type": "address" } ], "type": "error", "name": "NodeOperator__AlreadyDelegated" }, { "inputs": [], "type": "error", "name": "NodeOperator__AlreadyRegistered" }, { "inputs": [], "type": "error", "name": "NodeOperator__ClaimAddressNotChanged" }, { "inputs": [], "type": "error", "name": "NodeOperator__InvalidAddress" }, { "inputs": [], "type": "error", "name": "NodeOperator__InvalidCommissionRate" }, { "inputs": [], "type": "error", "name": "NodeOperator__InvalidOperator" }, { "inputs": [], "type": "error", "name": "NodeOperator__InvalidSpace" }, { "inputs": [], "type": "error", "name": "NodeOperator__InvalidStakeRequirement" }, { "inputs": [], "type": "error", "name": "NodeOperator__InvalidStatusTransition" }, { "inputs": [], "type": "error", "name": "NodeOperator__NotClaimer" }, { "inputs": [], "type": "error", "name": "NodeOperator__NotEnoughStake" }, { "inputs": [], "type": "error", "name": "NodeOperator__NotRegistered" }, { "inputs": [], "type": "error", "name": "NodeOperator__NotTransferable" }, { "inputs": [], "type": "error", "name": "NodeOperator__StatusNotChanged" }, { "inputs": [ { "internalType": "address", "name": "operator", "type": "address", "indexed": true }, { "internalType": "address", "name": "claimAddress", "type": "address", "indexed": true } ], "type": "event", "name": "OperatorClaimAddressChanged", "anonymous": false }, { "inputs": [ { "internalType": "address", "name": "operator", "type": "address", "indexed": true }, { "internalType": "uint256", "name": "commission", "type": "uint256", "indexed": true } ], "type": "event", "name": "OperatorCommissionChanged", "anonymous": false }, { "inputs": [ { "internalType": "address", "name": "operator", "type": "address", "indexed": true } ], "type": "event", "name": "OperatorRegistered", "anonymous": false }, { "inputs": [ { "internalType": "address", "name": "operator", "type": "address", "indexed": true }, { "internalType": "enum NodeOperatorStatus", "name": "newStatus", "type": "uint8", "indexed": true } ], "type": "event", "name": "OperatorStatusChanged", "anonymous": false }, { "inputs": [ { "internalType": "address", "name": "operator", "type": "address" } ], "stateMutability": "view", "type": "function", "name": "getClaimAddressForOperator", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ] }, { "inputs": [ { "internalType": "address", "name": "operator", "type": "address" } ], "stateMutability": "view", "type": "function", "name": "getCommissionRate", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ] }, { "inputs": [ { "internalType": "address", "name": "operator", "type": "address" } ], "stateMutability": "view", "type": "function", "name": "getOperatorStatus", "outputs": [ { "internalType": "enum NodeOperatorStatus", "name": "", "type": "uint8" } ] }, { "inputs": [], "stateMutability": "view", "type": "function", "name": "getOperators", "outputs": [ { "internalType": "address[]", "name": "", "type": "address[]" } ] }, { "inputs": [ { "internalType": "address", "name": "operator", "type": "address" } ], "stateMutability": "view", "type": "function", "name": "isOperator", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ] }, { "inputs": [ { "internalType": "address", "name": "claimer", "type": "address" } ], "stateMutability": "nonpayable", "type": "function", "name": "registerOperator" }, { "inputs": [ { "internalType": "address", "name": "claimer", "type": "address" }, { "internalType": "address", "name": "operator", "type": "address" } ], "stateMutability": "nonpayable", "type": "function", "name": "setClaimAddressForOperator" }, { "inputs": [ { "internalType": "uint256", "name": "commission", "type": "uint256" } ], "stateMutability": "nonpayable", "type": "function", "name": "setCommissionRate" }, { "inputs": [ { "internalType": "address", "name": "operator", "type": "address" }, { "internalType": "enum NodeOperatorStatus", "name": "newStatus", "type": "uint8" } ], "stateMutability": "nonpayable", "type": "function", "name": "setOperatorStatus" } ], "devdoc": { "kind": "dev", "methods": {}, "version": 1 }, "userdoc": { "kind": "user", "methods": {}, "version": 1 } }, "settings": { "remappings": [ "@openzeppelin/=node_modules/@openzeppelin/", "@openzeppelin/contracts/=node_modules/@openzeppelin/contracts/", "@prb/math/=node_modules/@prb/math/src/", "@prb/test/=node_modules/@prb/test/src/", "@river-build/diamond/=node_modules/@river-build/diamond/", "@solidity/=node_modules/crypto-lib/src/", "account-abstraction/=node_modules/account-abstraction/contracts/", "crypto-lib/=node_modules/crypto-lib/src/", "ds-test/=node_modules/ds-test/src/", "forge-std/=node_modules/forge-std/src/", "hardhat-deploy/=node_modules/hardhat-deploy/", "solady/=node_modules/solady/src/" ], "optimizer": { "enabled": true, "runs": 200 }, "metadata": { "bytecodeHash": "none", "appendCBOR": false }, "compilationTarget": { "contracts/src/base/registry/facets/operator/INodeOperator.sol": "INodeOperator" }, "evmVersion": "paris", "libraries": {} }, "sources": { "contracts/src/base/registry/facets/operator/INodeOperator.sol": { "keccak256": "0x3a3bcc633851dc36fd914ce9ba3c7ecaecaba96ff9533c52444a5d466721cb56", "urls": [ "bzz-raw://a3d71ec4e6e14b5ed9f2a067c9ccde4d94efc72d90b02ef2f9d659a156576b74", "dweb:/ipfs/QmXk7qqcE1poxX5yfkRJpcyqeiMdkwexYTKF96CCHwX9fs" ], "license": "MIT" }, "contracts/src/base/registry/facets/operator/NodeOperatorStorage.sol": { "keccak256": "0xbd8bd0bbd6173e20355fdb81e1076dbdfd9d031706f301e669c950cccd969db9", "urls": [ "bzz-raw://1540d7cd9a283ab53d57117e76787d457cb6f4db1f3deb747b513320e561baca", "dweb:/ipfs/QmQYDBchk2MnDaUspdALGDtqZkT7ZmE5i4Fz3kJoj6DfrC" ], "license": "MIT" }, "node_modules/@openzeppelin/contracts/utils/structs/EnumerableSet.sol": { "keccak256": "0x9b161e97b8967d4bc0c08d25741889a30692cdda4b71910bf1b0e315f1962212", "urls": [ "bzz-raw://821500c39d095eaa25b06f46e65f1d0e97c4c96b39227f79077dee7d9e84051f", "dweb:/ipfs/QmSTeGorKzSWF6HAmxo32uCZiEuKNvreQdUiX1AaYtUMTz" ], "license": "MIT" } }, "version": 1 }