[
  {
    "type": "function",
    "name": "buyAndBurn",
    "inputs": [
      {
        "name": "poolId",
        "type": "bytes32"
      },
      {
        "name": "amountIn",
        "type": "uint256"
      },
      {
        "name": "minOut",
        "type": "uint256"
      }
    ],
    "outputs": [
      {
        "name": "burned",
        "type": "uint256"
      }
    ],
    "stateMutability": "nonpayable"
  },
  {
    "type": "function",
    "name": "distribute",
    "inputs": [
      {
        "name": "poolId",
        "type": "bytes32"
      }
    ],
    "outputs": [
      {
        "name": "round",
        "type": "uint256"
      }
    ],
    "stateMutability": "nonpayable"
  },
  {
    "type": "function",
    "name": "lastRound",
    "inputs": [
      {
        "name": "poolId",
        "type": "bytes32"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "uint64"
      }
    ],
    "stateMutability": "view"
  },
  {
    "type": "function",
    "name": "minHolding",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "stateMutability": "view"
  },
  {
    "type": "function",
    "name": "roundInterval",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint64"
      }
    ],
    "stateMutability": "view"
  },
  {
    "type": "event",
    "name": "BuybackBurned",
    "inputs": [
      {
        "name": "poolId",
        "type": "bytes32",
        "indexed": true
      },
      {
        "name": "amountIn",
        "type": "uint256"
      },
      {
        "name": "burned",
        "type": "uint256"
      }
    ],
    "anonymous": false
  },
  {
    "type": "event",
    "name": "HoldersPaid",
    "inputs": [
      {
        "name": "poolId",
        "type": "bytes32",
        "indexed": true
      },
      {
        "name": "round",
        "type": "uint256",
        "indexed": true
      },
      {
        "name": "total",
        "type": "uint256"
      }
    ],
    "anonymous": false
  },
  {
    "type": "error",
    "name": "RoundTooSoon",
    "inputs": [
      {
        "name": "nextAt",
        "type": "uint64"
      }
    ]
  },
  {
    "type": "error",
    "name": "NothingToDistribute",
    "inputs": []
  }
]
