[
  {
    "inputs": [
      {
        "name": "agreementId",
        "type": "bytes32"
      },
      {
        "name": "termsHash",
        "type": "bytes32"
      },
      {
        "name": "signers",
        "type": "address[]"
      },
      {
        "name": "threshold",
        "type": "uint8"
      },
      {
        "name": "expiresAt",
        "type": "uint256"
      }
    ],
    "name": "createAgreement",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "name": "agreementId",
        "type": "bytes32"
      }
    ],
    "name": "sign",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "name": "agreementId",
        "type": "bytes32"
      }
    ],
    "name": "finalize",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "name": "agreementId",
        "type": "bytes32"
      }
    ],
    "name": "expireAgreement",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "name": "agreementId",
        "type": "bytes32"
      }
    ],
    "name": "getAgreement",
    "outputs": [
      {
        "name": "termsHash",
        "type": "bytes32"
      },
      {
        "name": "signatureCount",
        "type": "uint8"
      },
      {
        "name": "threshold",
        "type": "uint8"
      },
      {
        "name": "executed",
        "type": "bool"
      },
      {
        "name": "signers",
        "type": "address[]"
      },
      {
        "name": "expiresAt",
        "type": "uint256"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  }
]