UNPKG

@chainlink/contracts

Version:

Chainlink smart contracts

595 lines (594 loc) 11.7 kB
[ { "inputs": [ { "internalType": "address", "name": "LINKAddress", "type": "address" }, { "internalType": "enum KeeperRegistrar.AutoApproveType", "name": "autoApproveConfigType", "type": "uint8" }, { "internalType": "uint16", "name": "autoApproveMaxAllowed", "type": "uint16" }, { "internalType": "address", "name": "keeperRegistry", "type": "address" }, { "internalType": "uint96", "name": "minLINKJuels", "type": "uint96" } ], "stateMutability": "nonpayable", "type": "constructor" }, { "inputs": [], "name": "AmountMismatch", "type": "error" }, { "inputs": [], "name": "FunctionNotPermitted", "type": "error" }, { "inputs": [], "name": "HashMismatch", "type": "error" }, { "inputs": [], "name": "InsufficientPayment", "type": "error" }, { "inputs": [], "name": "InvalidAdminAddress", "type": "error" }, { "inputs": [], "name": "InvalidDataLength", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "to", "type": "address" } ], "name": "LinkTransferFailed", "type": "error" }, { "inputs": [], "name": "OnlyAdminOrOwner", "type": "error" }, { "inputs": [], "name": "OnlyLink", "type": "error" }, { "inputs": [], "name": "RegistrationRequestFailed", "type": "error" }, { "inputs": [], "name": "RequestNotFound", "type": "error" }, { "inputs": [], "name": "SenderMismatch", "type": "error" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "senderAddress", "type": "address" }, { "indexed": false, "internalType": "bool", "name": "allowed", "type": "bool" } ], "name": "AutoApproveAllowedSenderSet", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "enum KeeperRegistrar.AutoApproveType", "name": "autoApproveConfigType", "type": "uint8" }, { "indexed": false, "internalType": "uint32", "name": "autoApproveMaxAllowed", "type": "uint32" }, { "indexed": false, "internalType": "address", "name": "keeperRegistry", "type": "address" }, { "indexed": false, "internalType": "uint96", "name": "minLINKJuels", "type": "uint96" } ], "name": "ConfigChanged", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "from", "type": "address" }, { "indexed": true, "internalType": "address", "name": "to", "type": "address" } ], "name": "OwnershipTransferRequested", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "from", "type": "address" }, { "indexed": true, "internalType": "address", "name": "to", "type": "address" } ], "name": "OwnershipTransferred", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "bytes32", "name": "hash", "type": "bytes32" }, { "indexed": false, "internalType": "string", "name": "displayName", "type": "string" }, { "indexed": true, "internalType": "uint256", "name": "upkeepId", "type": "uint256" } ], "name": "RegistrationApproved", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "bytes32", "name": "hash", "type": "bytes32" } ], "name": "RegistrationRejected", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "bytes32", "name": "hash", "type": "bytes32" }, { "indexed": false, "internalType": "string", "name": "name", "type": "string" }, { "indexed": false, "internalType": "bytes", "name": "encryptedEmail", "type": "bytes" }, { "indexed": true, "internalType": "address", "name": "upkeepContract", "type": "address" }, { "indexed": false, "internalType": "uint32", "name": "gasLimit", "type": "uint32" }, { "indexed": false, "internalType": "address", "name": "adminAddress", "type": "address" }, { "indexed": false, "internalType": "bytes", "name": "checkData", "type": "bytes" }, { "indexed": false, "internalType": "uint96", "name": "amount", "type": "uint96" }, { "indexed": true, "internalType": "uint8", "name": "source", "type": "uint8" } ], "name": "RegistrationRequested", "type": "event" }, { "inputs": [], "name": "LINK", "outputs": [ { "internalType": "contract LinkTokenInterface", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "acceptOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "string", "name": "name", "type": "string" }, { "internalType": "address", "name": "upkeepContract", "type": "address" }, { "internalType": "uint32", "name": "gasLimit", "type": "uint32" }, { "internalType": "address", "name": "adminAddress", "type": "address" }, { "internalType": "bytes", "name": "checkData", "type": "bytes" }, { "internalType": "bytes32", "name": "hash", "type": "bytes32" } ], "name": "approve", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "hash", "type": "bytes32" } ], "name": "cancel", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "senderAddress", "type": "address" } ], "name": "getAutoApproveAllowedSender", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "hash", "type": "bytes32" } ], "name": "getPendingRequest", "outputs": [ { "internalType": "address", "name": "", "type": "address" }, { "internalType": "uint96", "name": "", "type": "uint96" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getRegistrationConfig", "outputs": [ { "internalType": "enum KeeperRegistrar.AutoApproveType", "name": "autoApproveConfigType", "type": "uint8" }, { "internalType": "uint32", "name": "autoApproveMaxAllowed", "type": "uint32" }, { "internalType": "uint32", "name": "approvedCount", "type": "uint32" }, { "internalType": "address", "name": "keeperRegistry", "type": "address" }, { "internalType": "uint256", "name": "minLINKJuels", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "sender", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }, { "internalType": "bytes", "name": "data", "type": "bytes" } ], "name": "onTokenTransfer", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "string", "name": "name", "type": "string" }, { "internalType": "bytes", "name": "encryptedEmail", "type": "bytes" }, { "internalType": "address", "name": "upkeepContract", "type": "address" }, { "internalType": "uint32", "name": "gasLimit", "type": "uint32" }, { "internalType": "address", "name": "adminAddress", "type": "address" }, { "internalType": "bytes", "name": "checkData", "type": "bytes" }, { "internalType": "uint96", "name": "amount", "type": "uint96" }, { "internalType": "uint8", "name": "source", "type": "uint8" }, { "internalType": "address", "name": "sender", "type": "address" } ], "name": "register", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "senderAddress", "type": "address" }, { "internalType": "bool", "name": "allowed", "type": "bool" } ], "name": "setAutoApproveAllowedSender", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "enum KeeperRegistrar.AutoApproveType", "name": "autoApproveConfigType", "type": "uint8" }, { "internalType": "uint16", "name": "autoApproveMaxAllowed", "type": "uint16" }, { "internalType": "address", "name": "keeperRegistry", "type": "address" }, { "internalType": "uint96", "name": "minLINKJuels", "type": "uint96" } ], "name": "setRegistrationConfig", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "to", "type": "address" } ], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "typeAndVersion", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" } ]