{
  "_format": "hh-sol-artifact-1",
  "contractName": "IInvestService",
  "sourceName": "contracts/services/InvestService.sol",
  "abi": [
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "_user",
          "type": "address"
        },
        {
          "internalType": "address",
          "name": "_issuer",
          "type": "address"
        },
        {
          "internalType": "address[]",
          "name": "_campaignFactories",
          "type": "address[]"
        },
        {
          "internalType": "contract QueryService",
          "name": "queryService",
          "type": "address"
        },
        {
          "internalType": "contract INameRegistry",
          "name": "nameRegistry",
          "type": "address"
        }
      ],
      "name": "getPendingFor",
      "outputs": [
        {
          "components": [
            {
              "internalType": "address",
              "name": "investor",
              "type": "address"
            },
            {
              "internalType": "address",
              "name": "campaign",
              "type": "address"
            },
            {
              "internalType": "uint256",
              "name": "allowance",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "balance",
              "type": "uint256"
            },
            {
              "internalType": "uint256",
              "name": "alreadyInvested",
              "type": "uint256"
            },
            {
              "internalType": "bool",
              "name": "kycPassed",
              "type": "bool"
            }
          ],
          "internalType": "struct IInvestService.PendingInvestmentRecord[]",
          "name": "",
          "type": "tuple[]"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "components": [
            {
              "internalType": "address",
              "name": "investor",
              "type": "address"
            },
            {
              "internalType": "address",
              "name": "campaign",
              "type": "address"
            },
            {
              "internalType": "uint256",
              "name": "amount",
              "type": "uint256"
            }
          ],
          "internalType": "struct IInvestService.InvestmentRecord[]",
          "name": "_investments",
          "type": "tuple[]"
        }
      ],
      "name": "getStatus",
      "outputs": [
        {
          "components": [
            {
              "internalType": "address",
              "name": "investor",
              "type": "address"
            },
            {
              "internalType": "address",
              "name": "campaign",
              "type": "address"
            },
            {
              "internalType": "uint256",
              "name": "amount",
              "type": "uint256"
            },
            {
              "internalType": "bool",
              "name": "readyToInvest",
              "type": "bool"
            }
          ],
          "internalType": "struct IInvestService.InvestmentRecordStatus[]",
          "name": "",
          "type": "tuple[]"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "components": [
            {
              "internalType": "address",
              "name": "investor",
              "type": "address"
            },
            {
              "internalType": "address",
              "name": "campaign",
              "type": "address"
            },
            {
              "internalType": "uint256",
              "name": "amount",
              "type": "uint256"
            }
          ],
          "internalType": "struct IInvestService.InvestmentRecord[]",
          "name": "_investments",
          "type": "tuple[]"
        }
      ],
      "name": "investFor",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    }
  ],
  "bytecode": "0x",
  "deployedBytecode": "0x",
  "linkReferences": {},
  "deployedLinkReferences": {}
}
