UNPKG

@verified-network/verified-sdk

Version:

An SDK to develop applications on the Verified Network

1,042 lines 6.76 MB
{ "contractName": "PrimaryIssueManager", "abi": [ { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "previousOwner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "OwnershipTransferred", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "bytes32", "name": "poolId", "type": "bytes32" }, { "indexed": false, "internalType": "address", "name": "investor", "type": "address" }, { "indexed": false, "internalType": "address", "name": "security", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "securitySubscription", "type": "uint256" }, { "indexed": false, "internalType": "address", "name": "currency", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "allotedAmount", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "timestamp", "type": "uint256" } ], "name": "allotments", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "bytes32", "name": "poolId", "type": "bytes32" }, { "indexed": false, "internalType": "address", "name": "security", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "timestamp", "type": "uint256" } ], "name": "closures", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "platform", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "collection", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "timestamp", "type": "uint256" } ], "name": "feecollection", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "security", "type": "address" }, { "indexed": false, "internalType": "address", "name": "platform", "type": "address" }, { "indexed": false, "internalType": "address", "name": "provider", "type": "address" }, { "indexed": false, "internalType": "address", "name": "currency", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "tokenOffered", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "underwritten", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "earnings", "type": "uint256" } ], "name": "marketmakers", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "party", "type": "address" }, { "indexed": true, "internalType": "address", "name": "offered", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amountOffered", "type": "uint256" }, { "indexed": false, "internalType": "address", "name": "tomatch", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amountDesired", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "minAmount", "type": "uint256" }, { "indexed": false, "internalType": "bytes32", "name": "isin", "type": "bytes32" }, { "indexed": false, "internalType": "uint256", "name": "minimumOrderSize", "type": "uint256" }, { "indexed": false, "internalType": "string", "name": "offeringDocs", "type": "string" } ], "name": "offers", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "bytes32", "name": "poolId", "type": "bytes32" }, { "indexed": false, "internalType": "address", "name": "investor", "type": "address" }, { "indexed": false, "internalType": "address", "name": "security", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "securitySubscription", "type": "uint256" }, { "indexed": false, "internalType": "address", "name": "currency", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "refundAmount", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "timestamp", "type": "uint256" } ], "name": "refunds", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "bytes32", "name": "poolId", "type": "bytes32" }, { "indexed": false, "internalType": "address", "name": "security", "type": "address" }, { "indexed": false, "internalType": "address", "name": "currency", "type": "address" }, { "indexed": false, "internalType": "address", "name": "liquidityProvider", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "underwritingFee", "type": "uint256" }, { "indexed": false, "internalType": "address", "name": "issuer", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "subscription", "type": "uint256" } ], "name": "settlements", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "security", "type": "address" }, { "indexed": false, "internalType": "bytes32", "name": "poolId", "type": "bytes32" }, { "indexed": false, "internalType": "address", "name": "investor", "type": "address" }, { "indexed": false, "internalType": "address", "name": "currency", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "cashSwapped", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "securitySwapped", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "timestamp", "type": "uint256" }, { "indexed": false, "internalType": "bool", "name": "subscription", "type": "bool" } ], "name": "subscribers", "type": "event" }, { "inputs": [], "name": "owner", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function", "constant": true }, { "inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_factory", "type": "address" }, { "internalType": "uint256", "name": "_swapFeePercentage", "type": "uint256" }, { "internalType": "address", "name": "_vault", "type": "address" }, { "internalType": "address", "name": "_products", "type": "address" }, { "internalType": "address", "name": "_liquidity", "type": "address" }, { "internalType": "address", "name": "_client", "type": "address" }, { "internalType": "address", "name": "_distribution", "type": "address" } ], "name": "initialize", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_fee", "type": "uint256" } ], "name": "setFee", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "owned", "type": "address" }, { "internalType": "bytes32", "name": "isin", "type": "bytes32" }, { "internalType": "uint256", "name": "offered", "type": "uint256" }, { "internalType": "address", "name": "tomatch", "type": "address" }, { "internalType": "uint256", "name": "desired", "type": "uint256" }, { "internalType": "uint256", "name": "min", "type": "uint256" }, { "internalType": "address", "name": "owner", "type": "address" }, { "internalType": "string", "name": "docs", "type": "string" } ], "name": "offer", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "owner", "type": "address" }, { "internalType": "address", "name": "owned", "type": "address" }, { "internalType": "address", "name": "tomatch", "type": "address" }, { "internalType": "uint256", "name": "minOrderSize", "type": "uint256" } ], "name": "setOfferTerms", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "owner", "type": "address" }, { "internalType": "address", "name": "owned", "type": "address" }, { "internalType": "address", "name": "tomatch", "type": "address" }, { "internalType": "uint256", "name": "swapfee", "type": "uint256" } ], "name": "setIssuingFee", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "security", "type": "address" }, { "internalType": "address", "name": "currency", "type": "address" } ], "name": "getIssuingFee", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function", "constant": true }, { "inputs": [ { "internalType": "address", "name": "offered", "type": "address" } ], "name": "getOffered", "outputs": [ { "components": [ { "internalType": "address", "name": "owner", "type": "address" }, { "internalType": "address", "name": "offered", "type": "address" }, { "internalType": "uint256", "name": "amountOffered", "type": "uint256" }, { "internalType": "uint256", "name": "amountDesired", "type": "uint256" }, { "internalType": "uint256", "name": "min", "type": "uint256" }, { "internalType": "bytes32", "name": "isin", "type": "bytes32" }, { "internalType": "uint256", "name": "minimumOrderSize", "type": "uint256" }, { "internalType": "string", "name": "offeringdocs", "type": "string" } ], "internalType": "struct IMarketMaker.token[]", "name": "", "type": "tuple[]" } ], "stateMutability": "view", "type": "function", "constant": true }, { "inputs": [ { "internalType": "address", "name": "_owned", "type": "address" }, { "internalType": "address", "name": "_tomatch", "type": "address" } ], "name": "getOfferMade", "outputs": [ { "components": [ { "internalType": "address", "name": "owner", "type": "address" }, { "internalType": "address", "name": "offered", "type": "address" }, { "internalType": "uint256", "name": "amountOffered", "type": "uint256" }, { "internalType": "uint256", "name": "amountDesired", "type": "uint256" }, { "internalType": "uint256", "name": "min", "type": "uint256" }, { "internalType": "bytes32", "name": "isin", "type": "bytes32" }, { "internalType": "uint256", "name": "minimumOrderSize", "type": "uint256" }, { "internalType": "string", "name": "offeringdocs", "type": "string" } ], "internalType": "struct IMarketMaker.token[]", "name": "", "type": "tuple[]" } ], "stateMutability": "view", "type": "function", "constant": true }, { "inputs": [ { "internalType": "address", "name": "_security", "type": "address" } ], "name": "getLiquidityProviders", "outputs": [ { "components": [ { "internalType": "address", "name": "owner", "type": "address" }, { "internalType": "address", "name": "tokenOffered", "type": "address" }, { "internalType": "uint256", "name": "underwritten", "type": "uint256" }, { "internalType": "uint256", "name": "subscribed", "type": "uint256" }, { "internalType": "uint256", "name": "earned", "type": "uint256" } ], "internalType": "struct IMarketMaker.lp[]", "name": "", "type": "tuple[]" } ], "stateMutability": "view", "type": "function", "constant": true }, { "inputs": [ { "internalType": "uint256", "name": "_amount", "type": "uint256" }, { "internalType": "address", "name": "_token", "type": "address" }, { "internalType": "address", "name": "_manager", "type": "address" } ], "name": "stake", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_token", "type": "address" } ], "name": "getAllotedStake", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function", "constant": true }, { "inputs": [ { "internalType": "address", "name": "security", "type": "address" }, { "internalType": "uint256", "name": "cutoffTime", "type": "uint256" }, { "internalType": "address", "name": "issuer", "type": "address" } ], "name": "issue", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "poolId", "type": "bytes32" }, { "internalType": "address", "name": "security", "type": "address" }, { "internalType": "address", "name": "asset", "type": "address" }, { "internalType": "uint256", "name": "cAmount", "type": "uint256" }, { "internalType": "address", "name": "investor", "type": "address" }, { "internalType": "uint256", "name": "sAmount", "type": "uint256" }, { "internalType": "bool", "name": "paidIn", "type": "bool" } ], "name": "subscribe", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "poolId", "type": "bytes32" } ], "name": "getSubscribers", "outputs": [ { "components": [ { "internalType": "address", "name": "investor", "type": "address" }, { "internalType": "address", "name": "asset", "type": "address" }, { "internalType": "string", "name": "name", "type": "string" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }, { "internalType": "uint256", "name": "traded", "type": "uint256" } ], "internalType": "struct IMarketMaker.subscriptions[]", "name": "", "type": "tuple[]" } ], "stateMutability": "view", "type": "function", "constant": true }, { "inputs": [ { "internalType": "address", "name": "security", "type": "address" } ], "name": "close", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "poolid", "type": "bytes32" }, { "internalType": "address", "name": "investor", "type": "address" }, { "internalType": "uint256", "name": "amnt", "type": "uint256" }, { "internalType": "address", "name": "asset", "type": "address" } ], "name": "accept", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "poolid", "type": "bytes32" }, { "internalType": "address", "name": "investor", "type": "address" } ], "name": "reject", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "poolId", "type": "bytes32" } ], "name": "settle", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_token", "type": "address" } ], "name": "getIssuingFeeCollected", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "getOwner", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function", "constant": true } ], "metadata": "{\"compiler\":{\"version\":\"0.7.1+commit.f4a555be\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"poolId\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"investor\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"security\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"securitySubscription\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"currency\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"allotedAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"}],\"name\":\"allotments\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"poolId\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"security\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"}],\"name\":\"closures\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"platform\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"collection\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"}],\"name\":\"feecollection\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"security\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"platform\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"provider\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"currency\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"tokenOffered\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"underwritten\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"earnings\",\"type\":\"uint256\"}],\"name\":\"marketmakers\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"party\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"offered\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amountOffered\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"tomatch\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amountDesired\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"minAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"isin\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"minimumOrderSize\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"offeringDocs\",\"type\":\"string\"}],\"name\":\"offers\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"poolId\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"investor\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"security\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"securitySubscription\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"currency\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"refundAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"}],\"name\":\"refunds\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"poolId\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"security\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"currency\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"liquidityProvider\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"underwritingFee\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"issuer\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"subscription\",\"type\":\"uint256\"}],\"name\":\"settlements\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"security\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"poolId\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"investor\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"currency\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"cashSwapped\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"securitySwapped\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"subscription\",\"type\":\"bool\"}],\"name\":\"subscribers\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"poolid\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"investor\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amnt\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"}],\"name\":\"accept\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"security\",\"type\":\"address\"}],\"name\":\"close\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"}],\"name\":\"getAllotedStake\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"security\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"currency\",\"type\":\"address\"}],\"name\":\"getIssuingFee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"}],\"name\":\"getIssuingFeeCollected\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_security\",\"type\":\"address\"}],\"name\":\"getLiquidityProviders\",\"outputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenOffered\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"underwritten\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"subscribed\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"earned\",\"type\":\"uint256\"}],\"internalType\":\"struct IMarketMaker.lp[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owned\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_tomatch\",\"type\":\"address\"}],\"name\":\"getOfferMade\",\"outputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"offered\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amountOffered\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountDesired\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"min\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"isin\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"minimumOrderSize\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"offeringdocs\",\"type\":\"string\"}],\"internalType\":\"struct IMarketMaker.token[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"offered\",\"type\":\"address\"}],\"name\":\"getOffered\",\"outputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"offered\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amountOffered\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountDesired\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"min\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"isin\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"minimumOrderSize\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"offeringdocs\",\"type\":\"string\"}],\"internalType\":\"struct IMarketMaker.token[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getOwner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"poolId\",\"type\":\"bytes32\"}],\"name\":\"getSubscribers\",\"outputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"investor\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"traded\",\"type\":\"uint256\"}],\"internalType\":\"struct IMarketMaker.subscriptions[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_factory\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_swapFeePercentage\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_vault\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_products\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_liquidity\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_client\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_distribution\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"security\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"cutoffTime\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"issuer\",\"type\":\"address\"}],\"name\":\"issue\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owned\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"isin\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"offered\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"tomatch\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"desired\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"min\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"docs\",\"type\":\"string\"}],\"name\":\"offer\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"poolid\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"investor\",\"type\":\"address\"}],\"name\":\"reject\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_fee\",\"type\":\"uint256\"}],\"name\":\"setFee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"owned\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tomatch\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"swapfee\",\"type\":\"uint256\"}],\"name\":\"setIssuingFee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"owned\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tomatch\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"minOrderSize\",\"type\":\"uint256\"}],\"name\":\"setOfferTerms\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"poolId\",\"type\":\"bytes32\"}],\"name\":\"settle\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_manager\",\"type\":\"address\"}],\"name\":\"stake\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"poolId\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"security\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"cAmount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"investor\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"sAmount\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"paidIn\",\"type\":\"bool\"}],\"name\":\"subscribe\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"accept(bytes32,address,uint256,address)\":{\"params\":{\"amnt\":\"amount of investment (subscription capital) accepted by issuer for which allotment of security tokens are made to investor\",\"asset\":\"address of asset which is used by investor to subscribe to the issue\",\"investor\":\"address of investor (subscriber)\",\"poolid\":\"identifier of primary issue pool in which subscription is made by investor\"}},\"close(address)\":{\"params\":{\"security\":\"address of security token\"}},\"getAllotedStake(address)\":{\"params\":{\"_token\":\"address of token allocated earlier to asset manager (message sender)\"}},\"getLiquidityProviders(address)\":{\"params\":{\"_security\":\"identifier for the security token offered\"}},\"getOfferMade(address,address)\":{\"params\":{\"_owned\":\"address of token offered\",\"_tomatch\":\"address of token to match\"}},\"getOffered(address)\":{\"params\":{\"offered\":\"address of offered token\"}},\"getSubscribers(bytes32)\":{\"params\":{\"poolId\":\"identifier for a primary issue pool for which subscribers are to be returned\"}},\"initialize(address,uint256,address,address,address,address,address)\":{\"params\":{\"_factory\":\"reference to the primary issue pool factory contract\",\"_products\":\"reference to the Verified Products contract that this contract reports created primary issue pools to\",\"_swapFeePercentage\":\"percentage of trading fee to be charged by the asset manager\",\"_vault\":\"reference to the Balancer vault\"}},\"issue(address,uint256,address)\":{\"params\":{\"cutoffTime\":\"time in milliseconds by when offer closes\",\"security\":\"security offered to the primary issue pool\"}},\"offer(address,bytes32,uint256,address,uint256,uint256,address,string)\":{\"params\":{\"desired\":\"is the amount required of the liquidity token to be paired\",\"docs\":\"is the ipfs address of the offering docs\",\"isin\":\"is the identifier for the security token offered\",\"min\":\"is the minimum amount to be swapped of the 'offered' token \",\"offered\":\"is the amount offered\",\"owned\":\"is the security or settlement token on offer \",\"owner\":\"is the current holder of the owned token that is offered\",\"tomatch\":\"is the liquidity token that is required to be paired\"}},\"owner()\":{\"detai