{
  "_format": "hh-sol-artifact-1",
  "contractName": "IPrimitiveEngineActions",
  "sourceName": "contracts/interfaces/engine/IPrimitiveEngineActions.sol",
  "abi": [
    {
      "inputs": [
        {
          "internalType": "bytes32",
          "name": "poolId",
          "type": "bytes32"
        },
        {
          "internalType": "address",
          "name": "recipient",
          "type": "address"
        },
        {
          "internalType": "uint256",
          "name": "delRisky",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "delStable",
          "type": "uint256"
        },
        {
          "internalType": "bool",
          "name": "fromMargin",
          "type": "bool"
        },
        {
          "internalType": "bytes",
          "name": "data",
          "type": "bytes"
        }
      ],
      "name": "allocate",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "delLiquidity",
          "type": "uint256"
        }
      ],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "uint128",
          "name": "strike",
          "type": "uint128"
        },
        {
          "internalType": "uint32",
          "name": "sigma",
          "type": "uint32"
        },
        {
          "internalType": "uint32",
          "name": "maturity",
          "type": "uint32"
        },
        {
          "internalType": "uint32",
          "name": "gamma",
          "type": "uint32"
        },
        {
          "internalType": "uint256",
          "name": "riskyPerLp",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "delLiquidity",
          "type": "uint256"
        },
        {
          "internalType": "bytes",
          "name": "data",
          "type": "bytes"
        }
      ],
      "name": "create",
      "outputs": [
        {
          "internalType": "bytes32",
          "name": "poolId",
          "type": "bytes32"
        },
        {
          "internalType": "uint256",
          "name": "delRisky",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "delStable",
          "type": "uint256"
        }
      ],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "recipient",
          "type": "address"
        },
        {
          "internalType": "uint256",
          "name": "delRisky",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "delStable",
          "type": "uint256"
        },
        {
          "internalType": "bytes",
          "name": "data",
          "type": "bytes"
        }
      ],
      "name": "deposit",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes32",
          "name": "poolId",
          "type": "bytes32"
        },
        {
          "internalType": "uint256",
          "name": "delLiquidity",
          "type": "uint256"
        }
      ],
      "name": "remove",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "delRisky",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "delStable",
          "type": "uint256"
        }
      ],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "recipient",
          "type": "address"
        },
        {
          "internalType": "bytes32",
          "name": "poolId",
          "type": "bytes32"
        },
        {
          "internalType": "bool",
          "name": "riskyForStable",
          "type": "bool"
        },
        {
          "internalType": "uint256",
          "name": "deltaIn",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "deltaOut",
          "type": "uint256"
        },
        {
          "internalType": "bool",
          "name": "fromMargin",
          "type": "bool"
        },
        {
          "internalType": "bool",
          "name": "toMargin",
          "type": "bool"
        },
        {
          "internalType": "bytes",
          "name": "data",
          "type": "bytes"
        }
      ],
      "name": "swap",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "bytes32",
          "name": "poolId",
          "type": "bytes32"
        }
      ],
      "name": "updateLastTimestamp",
      "outputs": [
        {
          "internalType": "uint32",
          "name": "lastTimestamp",
          "type": "uint32"
        }
      ],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "recipient",
          "type": "address"
        },
        {
          "internalType": "uint256",
          "name": "delRisky",
          "type": "uint256"
        },
        {
          "internalType": "uint256",
          "name": "delStable",
          "type": "uint256"
        }
      ],
      "name": "withdraw",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    }
  ],
  "bytecode": "0x",
  "deployedBytecode": "0x",
  "linkReferences": {},
  "deployedLinkReferences": {}
}
