[
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "owner",
        "type": "address"
      },
      {
        "internalType": "address",
        "name": "ethOracle",
        "type": "address"
      },
      {
        "internalType": "address",
        "name": "oracleModule",
        "type": "address"
      },
      {
        "internalType": "address",
        "name": "assetToPayWith",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "profitMarginUSD",
        "type": "uint256"
      },
      {
        "internalType": "uint256",
        "name": "profitMarginPercent",
        "type": "uint256"
      },
      {
        "internalType": "uint256",
        "name": "keeperFeeUpperBound",
        "type": "uint256"
      },
      {
        "internalType": "uint256",
        "name": "keeperFeeLowerBound",
        "type": "uint256"
      },
      {
        "internalType": "uint256",
        "name": "gasUnitsL1",
        "type": "uint256"
      },
      {
        "internalType": "uint256",
        "name": "gasUnitsL2",
        "type": "uint256"
      },
      {
        "internalType": "uint256",
        "name": "stalenessPeriod",
        "type": "uint256"
      }
    ],
    "stateMutability": "nonpayable",
    "type": "constructor"
  },
  {
    "inputs": [],
    "name": "ETHPriceInvalid",
    "type": "error"
  },
  {
    "inputs": [],
    "name": "ETHPriceStale",
    "type": "error"
  },
  {
    "inputs": [
      {
        "internalType": "uint256",
        "name": "fee",
        "type": "uint256"
      }
    ],
    "name": "InvalidFee",
    "type": "error"
  },
  {
    "inputs": [],
    "name": "MathOverflowedMulDiv",
    "type": "error"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "owner",
        "type": "address"
      }
    ],
    "name": "OwnableInvalidOwner",
    "type": "error"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "account",
        "type": "address"
      }
    ],
    "name": "OwnableUnauthorizedAccount",
    "type": "error"
  },
  {
    "inputs": [
      {
        "internalType": "enum FlatcoinErrors.PriceSource",
        "name": "priceSource",
        "type": "uint8"
      }
    ],
    "name": "PriceInvalid",
    "type": "error"
  },
  {
    "inputs": [
      {
        "internalType": "enum FlatcoinErrors.PriceSource",
        "name": "priceSource",
        "type": "uint8"
      }
    ],
    "name": "PriceStale",
    "type": "error"
  },
  {
    "inputs": [
      {
        "internalType": "string",
        "name": "variableName",
        "type": "string"
      }
    ],
    "name": "ZeroAddress",
    "type": "error"
  },
  {
    "inputs": [
      {
        "internalType": "string",
        "name": "variableName",
        "type": "string"
      }
    ],
    "name": "ZeroValue",
    "type": "error"
  },
  {
    "anonymous": false,
    "inputs": [
      {
        "indexed": true,
        "internalType": "address",
        "name": "previousOwner",
        "type": "address"
      },
      {
        "indexed": true,
        "internalType": "address",
        "name": "newOwner",
        "type": "address"
      }
    ],
    "name": "OwnershipTransferred",
    "type": "event"
  },
  {
    "inputs": [],
    "name": "MODULE_KEY",
    "outputs": [
      {
        "internalType": "bytes32",
        "name": "",
        "type": "bytes32"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "getConfig",
    "outputs": [
      {
        "internalType": "address",
        "name": "gasPriceOracle",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "profitMarginUSD",
        "type": "uint256"
      },
      {
        "internalType": "uint256",
        "name": "profitMarginPercent",
        "type": "uint256"
      },
      {
        "internalType": "uint256",
        "name": "keeperFeeUpperBound",
        "type": "uint256"
      },
      {
        "internalType": "uint256",
        "name": "keeperFeeLowerBound",
        "type": "uint256"
      },
      {
        "internalType": "uint256",
        "name": "gasUnitsL1",
        "type": "uint256"
      },
      {
        "internalType": "uint256",
        "name": "gasUnitsL2",
        "type": "uint256"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "getKeeperFee",
    "outputs": [
      {
        "internalType": "uint256",
        "name": "keeperFeeCollateral",
        "type": "uint256"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "uint256",
        "name": "baseFee",
        "type": "uint256"
      }
    ],
    "name": "getKeeperFee",
    "outputs": [
      {
        "internalType": "uint256",
        "name": "keeperFeeCollateral",
        "type": "uint256"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "owner",
    "outputs": [
      {
        "internalType": "address",
        "name": "",
        "type": "address"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "renounceOwnership",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "gasPriceOracle",
        "type": "address"
      }
    ],
    "name": "setGasPriceOracle",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "uint256",
        "name": "profitMarginUSD",
        "type": "uint256"
      },
      {
        "internalType": "uint256",
        "name": "profitMarginPercent",
        "type": "uint256"
      },
      {
        "internalType": "uint256",
        "name": "keeperFeeUpperBound",
        "type": "uint256"
      },
      {
        "internalType": "uint256",
        "name": "keeperFeeLowerBound",
        "type": "uint256"
      },
      {
        "internalType": "uint256",
        "name": "gasUnitsL1",
        "type": "uint256"
      },
      {
        "internalType": "uint256",
        "name": "gasUnitsL2",
        "type": "uint256"
      }
    ],
    "name": "setParameters",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "uint256",
        "name": "keeperFeeUpperBound",
        "type": "uint256"
      },
      {
        "internalType": "uint256",
        "name": "keeperFeeLowerBound",
        "type": "uint256"
      }
    ],
    "name": "setParameters",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "newOwner",
        "type": "address"
      }
    ],
    "name": "transferOwnership",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  }
]
