[
  {
    "inputs": [
      {
        "internalType": "uint256",
        "name": "id",
        "type": "uint256"
      }
    ],
    "name": "acceptUpkeepAdmin",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "uint256",
        "name": "id",
        "type": "uint256"
      },
      {
        "internalType": "uint96",
        "name": "amount",
        "type": "uint96"
      }
    ],
    "name": "addFunds",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "uint256",
        "name": "id",
        "type": "uint256"
      }
    ],
    "name": "cancelUpkeep",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "uint256",
        "name": "upkeepId",
        "type": "uint256"
      }
    ],
    "name": "checkUpkeep",
    "outputs": [
      {
        "internalType": "bool",
        "name": "upkeepNeeded",
        "type": "bool"
      },
      {
        "internalType": "bytes",
        "name": "performData",
        "type": "bytes"
      },
      {
        "internalType": "enum UpkeepFailureReason",
        "name": "upkeepFailureReason",
        "type": "uint8"
      },
      {
        "internalType": "uint256",
        "name": "gasUsed",
        "type": "uint256"
      },
      {
        "internalType": "uint256",
        "name": "fastGasWei",
        "type": "uint256"
      },
      {
        "internalType": "uint256",
        "name": "linkNative",
        "type": "uint256"
      }
    ],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "uint256",
        "name": "startIndex",
        "type": "uint256"
      },
      {
        "internalType": "uint256",
        "name": "maxCount",
        "type": "uint256"
      }
    ],
    "name": "getActiveUpkeepIDs",
    "outputs": [
      {
        "internalType": "uint256[]",
        "name": "",
        "type": "uint256[]"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "getState",
    "outputs": [
      {
        "components": [
          {
            "internalType": "uint32",
            "name": "nonce",
            "type": "uint32"
          },
          {
            "internalType": "uint96",
            "name": "ownerLinkBalance",
            "type": "uint96"
          },
          {
            "internalType": "uint256",
            "name": "expectedLinkBalance",
            "type": "uint256"
          },
          {
            "internalType": "uint96",
            "name": "totalPremium",
            "type": "uint96"
          },
          {
            "internalType": "uint256",
            "name": "numUpkeeps",
            "type": "uint256"
          },
          {
            "internalType": "uint32",
            "name": "configCount",
            "type": "uint32"
          },
          {
            "internalType": "uint32",
            "name": "latestConfigBlockNumber",
            "type": "uint32"
          },
          {
            "internalType": "bytes32",
            "name": "latestConfigDigest",
            "type": "bytes32"
          },
          {
            "internalType": "uint32",
            "name": "latestEpoch",
            "type": "uint32"
          },
          {
            "internalType": "bool",
            "name": "paused",
            "type": "bool"
          }
        ],
        "internalType": "struct State",
        "name": "state",
        "type": "tuple"
      },
      {
        "components": [
          {
            "internalType": "uint32",
            "name": "paymentPremiumPPB",
            "type": "uint32"
          },
          {
            "internalType": "uint32",
            "name": "flatFeeMicroLink",
            "type": "uint32"
          },
          {
            "internalType": "uint32",
            "name": "checkGasLimit",
            "type": "uint32"
          },
          {
            "internalType": "uint24",
            "name": "stalenessSeconds",
            "type": "uint24"
          },
          {
            "internalType": "uint16",
            "name": "gasCeilingMultiplier",
            "type": "uint16"
          },
          {
            "internalType": "uint96",
            "name": "minUpkeepSpend",
            "type": "uint96"
          },
          {
            "internalType": "uint32",
            "name": "maxPerformGas",
            "type": "uint32"
          },
          {
            "internalType": "uint32",
            "name": "maxCheckDataSize",
            "type": "uint32"
          },
          {
            "internalType": "uint32",
            "name": "maxPerformDataSize",
            "type": "uint32"
          },
          {
            "internalType": "uint256",
            "name": "fallbackGasPrice",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "fallbackLinkPrice",
            "type": "uint256"
          },
          {
            "internalType": "address",
            "name": "transcoder",
            "type": "address"
          },
          {
            "internalType": "address",
            "name": "registrar",
            "type": "address"
          }
        ],
        "internalType": "struct OnchainConfig",
        "name": "config",
        "type": "tuple"
      },
      {
        "internalType": "address[]",
        "name": "signers",
        "type": "address[]"
      },
      {
        "internalType": "address[]",
        "name": "transmitters",
        "type": "address[]"
      },
      {
        "internalType": "uint8",
        "name": "f",
        "type": "uint8"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "query",
        "type": "address"
      }
    ],
    "name": "getTransmitterInfo",
    "outputs": [
      {
        "internalType": "bool",
        "name": "active",
        "type": "bool"
      },
      {
        "internalType": "uint8",
        "name": "index",
        "type": "uint8"
      },
      {
        "internalType": "uint96",
        "name": "balance",
        "type": "uint96"
      },
      {
        "internalType": "uint96",
        "name": "lastCollected",
        "type": "uint96"
      },
      {
        "internalType": "address",
        "name": "payee",
        "type": "address"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "uint256",
        "name": "id",
        "type": "uint256"
      }
    ],
    "name": "getUpkeep",
    "outputs": [
      {
        "components": [
          {
            "internalType": "address",
            "name": "target",
            "type": "address"
          },
          {
            "internalType": "uint32",
            "name": "executeGas",
            "type": "uint32"
          },
          {
            "internalType": "bytes",
            "name": "checkData",
            "type": "bytes"
          },
          {
            "internalType": "uint96",
            "name": "balance",
            "type": "uint96"
          },
          {
            "internalType": "address",
            "name": "admin",
            "type": "address"
          },
          {
            "internalType": "uint64",
            "name": "maxValidBlocknumber",
            "type": "uint64"
          },
          {
            "internalType": "uint32",
            "name": "lastPerformBlockNumber",
            "type": "uint32"
          },
          {
            "internalType": "uint96",
            "name": "amountSpent",
            "type": "uint96"
          },
          {
            "internalType": "bool",
            "name": "paused",
            "type": "bool"
          },
          {
            "internalType": "bytes",
            "name": "offchainConfig",
            "type": "bytes"
          }
        ],
        "internalType": "struct UpkeepInfo",
        "name": "upkeepInfo",
        "type": "tuple"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "uint256",
        "name": "id",
        "type": "uint256"
      }
    ],
    "name": "pauseUpkeep",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "target",
        "type": "address"
      },
      {
        "internalType": "uint32",
        "name": "gasLimit",
        "type": "uint32"
      },
      {
        "internalType": "address",
        "name": "admin",
        "type": "address"
      },
      {
        "internalType": "bytes",
        "name": "checkData",
        "type": "bytes"
      },
      {
        "internalType": "bytes",
        "name": "offchainConfig",
        "type": "bytes"
      }
    ],
    "name": "registerUpkeep",
    "outputs": [
      {
        "internalType": "uint256",
        "name": "id",
        "type": "uint256"
      }
    ],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "uint256",
        "name": "id",
        "type": "uint256"
      },
      {
        "internalType": "uint32",
        "name": "gasLimit",
        "type": "uint32"
      }
    ],
    "name": "setUpkeepGasLimit",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "uint256",
        "name": "id",
        "type": "uint256"
      },
      {
        "internalType": "bytes",
        "name": "config",
        "type": "bytes"
      }
    ],
    "name": "setUpkeepOffchainConfig",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "uint256",
        "name": "id",
        "type": "uint256"
      },
      {
        "internalType": "address",
        "name": "proposed",
        "type": "address"
      }
    ],
    "name": "transferUpkeepAdmin",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "uint256",
        "name": "id",
        "type": "uint256"
      }
    ],
    "name": "unpauseUpkeep",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "uint256",
        "name": "id",
        "type": "uint256"
      },
      {
        "internalType": "bytes",
        "name": "newCheckData",
        "type": "bytes"
      }
    ],
    "name": "updateCheckData",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  }
]
