UNPKG

@chainlink/contracts

Version:

Chainlink smart contracts

322 lines (321 loc) 6.1 kB
[ { "inputs": [ { "internalType": "uint256", "name": "_testRange", "type": "uint256" } ], "stateMutability": "nonpayable", "type": "constructor" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "from", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "initialBlock", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "lastBlock", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "previousBlock", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "counter", "type": "uint256" } ], "name": "PerformingUpkeep", "type": "event" }, { "anonymous": false, "inputs": [], "name": "Trigger", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint256", "name": "a", "type": "uint256" } ], "name": "Trigger", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint256", "name": "a", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "b", "type": "uint256" } ], "name": "Trigger", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint256", "name": "a", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "b", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "c", "type": "uint256" } ], "name": "Trigger", "type": "event" }, { "inputs": [], "name": "autoExecution", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "components": [ { "internalType": "uint256", "name": "index", "type": "uint256" }, { "internalType": "uint256", "name": "timestamp", "type": "uint256" }, { "internalType": "bytes32", "name": "txHash", "type": "bytes32" }, { "internalType": "uint256", "name": "blockNumber", "type": "uint256" }, { "internalType": "bytes32", "name": "blockHash", "type": "bytes32" }, { "internalType": "address", "name": "source", "type": "address" }, { "internalType": "bytes32[]", "name": "topics", "type": "bytes32[]" }, { "internalType": "bytes", "name": "data", "type": "bytes" } ], "internalType": "struct Log", "name": "log", "type": "tuple" }, { "internalType": "bytes", "name": "", "type": "bytes" } ], "name": "checkLog", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" }, { "internalType": "bytes", "name": "", "type": "bytes" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "counter", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "eligible", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "initialBlock", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "lastBlock", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "bytes", "name": "performData", "type": "bytes" } ], "name": "performUpkeep", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "previousPerformBlock", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "bool", "name": "_auto", "type": "bool" } ], "name": "setAuto", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_testRange", "type": "uint256" } ], "name": "setSpread", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "start", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "testRange", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" } ]