[
  {
    "anonymous": false,
    "inputs": [
      {
        "indexed": true,
        "internalType": "address",
        "name": "account",
        "type": "address"
      },
      {
        "indexed": false,
        "internalType": "uint256",
        "name": "amount",
        "type": "uint256"
      }
    ],
    "name": "BondClaimed",
    "type": "event"
  },
  {
    "anonymous": false,
    "inputs": [
      {
        "indexed": true,
        "internalType": "address",
        "name": "account",
        "type": "address"
      },
      {
        "indexed": false,
        "internalType": "uint256",
        "name": "lpTokens",
        "type": "uint256"
      },
      {
        "indexed": false,
        "internalType": "uint256",
        "name": "npmToVest",
        "type": "uint256"
      },
      {
        "indexed": false,
        "internalType": "uint256",
        "name": "unlockDate",
        "type": "uint256"
      }
    ],
    "name": "BondCreated",
    "type": "event"
  },
  {
    "anonymous": false,
    "inputs": [
      {
        "components": [
          {
            "internalType": "address",
            "name": "lpToken",
            "type": "address"
          },
          {
            "internalType": "address",
            "name": "treasury",
            "type": "address"
          },
          {
            "internalType": "uint256",
            "name": "bondDiscountRate",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "maxBondAmount",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "vestingTerm",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "npmToTopUpNow",
            "type": "uint256"
          }
        ],
        "indexed": false,
        "internalType": "struct IBondPool.SetupBondPoolArgs",
        "name": "args",
        "type": "tuple"
      }
    ],
    "name": "BondPoolSetup",
    "type": "event"
  },
  {
    "inputs": [
      {
        "internalType": "uint256",
        "name": "lpTokens",
        "type": "uint256"
      }
    ],
    "name": "calculateTokensForLp",
    "outputs": [
      {
        "internalType": "uint256",
        "name": "",
        "type": "uint256"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "claimBond",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "uint256",
        "name": "lpTokens",
        "type": "uint256"
      },
      {
        "internalType": "uint256",
        "name": "minNpmDesired",
        "type": "uint256"
      }
    ],
    "name": "createBond",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "forAccount",
        "type": "address"
      }
    ],
    "name": "getInfo",
    "outputs": [
      {
        "components": [
          {
            "internalType": "address",
            "name": "lpToken",
            "type": "address"
          },
          {
            "internalType": "uint256",
            "name": "marketPrice",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "discountRate",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "vestingTerm",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "maxBond",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "totalNpmAllocated",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "totalNpmDistributed",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "npmAvailable",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "bondContribution",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "claimable",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "unlockDate",
            "type": "uint256"
          }
        ],
        "internalType": "struct IBondPool.BondPoolInfoType",
        "name": "info",
        "type": "tuple"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "getName",
    "outputs": [
      {
        "internalType": "bytes32",
        "name": "",
        "type": "bytes32"
      }
    ],
    "stateMutability": "pure",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "getNpmMarketPrice",
    "outputs": [
      {
        "internalType": "uint256",
        "name": "",
        "type": "uint256"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [
      {
        "components": [
          {
            "internalType": "address",
            "name": "lpToken",
            "type": "address"
          },
          {
            "internalType": "address",
            "name": "treasury",
            "type": "address"
          },
          {
            "internalType": "uint256",
            "name": "bondDiscountRate",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "maxBondAmount",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "vestingTerm",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "npmToTopUpNow",
            "type": "uint256"
          }
        ],
        "internalType": "struct IBondPool.SetupBondPoolArgs",
        "name": "args",
        "type": "tuple"
      }
    ],
    "name": "setup",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "version",
    "outputs": [
      {
        "internalType": "bytes32",
        "name": "",
        "type": "bytes32"
      }
    ],
    "stateMutability": "pure",
    "type": "function"
  }
]