UNPKG

dkg-evm-module

Version:
409 lines (408 loc) 7.46 kB
[ { "inputs": [ { "internalType": "address", "name": "hubAddress", "type": "address" } ], "stateMutability": "nonpayable", "type": "constructor" }, { "inputs": [ { "internalType": "uint72", "name": "identityId", "type": "uint72" }, { "internalType": "uint256", "name": "cooldownEnd", "type": "uint256" } ], "name": "AskUpdateOnCooldown", "type": "error" }, { "inputs": [], "name": "EmptyNodeId", "type": "error" }, { "inputs": [], "name": "EmptyNodeName", "type": "error" }, { "inputs": [ { "internalType": "uint72", "name": "identityId", "type": "uint72" }, { "internalType": "address", "name": "wallet", "type": "address" } ], "name": "IdentityAlreadyExists", "type": "error" }, { "inputs": [], "name": "InvalidOperatorFee", "type": "error" }, { "inputs": [ { "internalType": "bytes", "name": "nodeId", "type": "bytes" } ], "name": "NodeIdAlreadyExists", "type": "error" }, { "inputs": [ { "internalType": "string", "name": "nodeName", "type": "string" } ], "name": "NodeNameAlreadyExists", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "caller", "type": "address" } ], "name": "OnlyProfileAdminFunction", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "caller", "type": "address" } ], "name": "OnlyProfileAdminOrOperationalAddressesFunction", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "caller", "type": "address" } ], "name": "OnlyWhitelistedAddressesFunction", "type": "error" }, { "inputs": [ { "internalType": "uint16", "name": "operatorFee", "type": "uint16" } ], "name": "OperatorFeeOutOfRange", "type": "error" }, { "inputs": [ { "internalType": "uint16", "name": "allowed", "type": "uint16" }, { "internalType": "uint16", "name": "provided", "type": "uint16" } ], "name": "TooManyOperationalWallets", "type": "error" }, { "inputs": [ { "internalType": "string", "name": "msg", "type": "string" } ], "name": "UnauthorizedAccess", "type": "error" }, { "inputs": [], "name": "ZeroAddressHub", "type": "error" }, { "inputs": [], "name": "ZeroAsk", "type": "error" }, { "inputs": [], "name": "askContract", "outputs": [ { "internalType": "contract Ask", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "chronos", "outputs": [ { "internalType": "contract Chronos", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "adminWallet", "type": "address" }, { "internalType": "address[]", "name": "operationalWallets", "type": "address[]" }, { "internalType": "string", "name": "nodeName", "type": "string" }, { "internalType": "bytes", "name": "nodeId", "type": "bytes" }, { "internalType": "uint16", "name": "initialOperatorFee", "type": "uint16" } ], "name": "createProfile", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "delegatorsInfo", "outputs": [ { "internalType": "contract DelegatorsInfo", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "hub", "outputs": [ { "internalType": "contract Hub", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "identityContract", "outputs": [ { "internalType": "contract Identity", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "identityStorage", "outputs": [ { "internalType": "contract IdentityStorage", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "initialize", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "name", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "pure", "type": "function" }, { "inputs": [], "name": "parametersStorage", "outputs": [ { "internalType": "contract ParametersStorage", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "profileStorage", "outputs": [ { "internalType": "contract ProfileStorage", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "bool", "name": "_status", "type": "bool" } ], "name": "setStatus", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "status", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint72", "name": "identityId", "type": "uint72" }, { "internalType": "uint96", "name": "ask", "type": "uint96" } ], "name": "updateAsk", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint72", "name": "identityId", "type": "uint72" }, { "internalType": "uint16", "name": "newOperatorFee", "type": "uint16" } ], "name": "updateOperatorFee", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "version", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "pure", "type": "function" }, { "inputs": [], "name": "whitelistStorage", "outputs": [ { "internalType": "contract WhitelistStorage", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" } ]