{
  "_format": "hh-sol-artifact-1",
  "contractName": "ICommodityPegManager",
  "sourceName": "contracts/bridge/trustless/integration/ICommodityPegManager.sol",
  "abi": [
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "commodity",
          "type": "address"
        }
      ],
      "name": "checkCommodityPeg",
      "outputs": [
        {
          "internalType": "bool",
          "name": "isMaintained",
          "type": "bool"
        },
        {
          "internalType": "int256",
          "name": "deviationBps",
          "type": "int256"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "commodity",
          "type": "address"
        }
      ],
      "name": "getCommodityPegStatus",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "currentPrice",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "targetPrice",
          "type": "uint256"
        },
        {
          "internalType": "int256",
          "name": "deviationBps",
          "type": "int256"
        },
        {
          "internalType": "bool",
          "name": "isMaintained",
          "type": "bool"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "commodity",
          "type": "address"
        },
        {
          "internalType": "address",
          "name": "targetCurrency",
          "type": "address"
        }
      ],
      "name": "getCommodityPrice",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "price",
          "type": "uint256"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "getSupportedCommodities",
      "outputs": [
        {
          "internalType": "address[]",
          "name": "",
          "type": "address[]"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "commodity",
          "type": "address"
        },
        {
          "internalType": "string",
          "name": "symbol",
          "type": "string"
        },
        {
          "internalType": "uint256",
          "name": "xauRate",
          "type": "uint256"
        }
      ],
      "name": "registerCommodity",
      "outputs": [
        {
          "internalType": "bool",
          "name": "",
          "type": "bool"
        }
      ],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "commodity",
          "type": "address"
        },
        {
          "internalType": "uint256",
          "name": "amount",
          "type": "uint256"
        },
        {
          "internalType": "address",
          "name": "targetCurrency",
          "type": "address"
        }
      ],
      "name": "triangulateViaXAU",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "targetAmount",
          "type": "uint256"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    }
  ],
  "bytecode": "0x",
  "deployedBytecode": "0x",
  "linkReferences": {},
  "deployedLinkReferences": {}
}
