#0
nonstandard
0.00004000 BSV
Q!^-Ý*ñðJB×Uå¨6Ë8mpÝ]þlh92Q®MY{"summary":1,"details":2,"__cls":"class FundSC {\n constructor(\n owners = [],\n fundName = '',\n shortName = '',\n addressLine = '',\n country = '',\n contactInformation = '',\n institutionId = '',\n customerType = '',\n usPayIdType = '',\n abaNumber = '',\n investmentVehicle = '',\n entityType = '',\n fxType = '',\n amlRequired = false,\n costingMethod = '',\n defaultFund = false,\n reserveCalculationRequired = false,\n revalRequired = false,\n revaluationMethod = '',\n revaluationStartMonth = '',\n dateFunded = '',\n adminId = '',\n trusteeId = '',\n complianceId = ''\n ) {\n this._owners = owners;\n\n this.summary = {\n _owners: owners,\n fundName,\n shortName,\n addressLine,\n country,\n contactInformation,\n institutionId,\n };\n\n this.details = {\n _owners: owners,\n customerType,\n usPayIdType,\n abaNumber,\n investmentVehicle,\n entityType,\n fxType,\n amlRequired,\n costingMethod,\n defaultFund,\n reserveCalculationRequired,\n revalRequired,\n revaluationMethod,\n revaluationStartMonth,\n dateFunded,\n };\n\n this.adminId = adminId;\n this.trusteeId = trusteeId;\n this.complianceId = complianceId;\n\n this.documents = [];\n this.members = [];\n\n this.contactPersonId = '';\n\n this.kycDocs = [];\n this.onboarded = [];\n this.processing = [];\n this.files = [];\n }\n\n setupFund(user, institution, owners, complianceTests) {\n this.addAdmin(user._id, user.publicKey);\n this.addOwners(owners);\n this.setContactPersonId(user._id);\n user.funds = [...new Set(user.funds.concat(this._id))]\n institution.funds = [...new Set(institution.funds.concat(this._id))]\n institution.complianceTests = complianceTests\n }\n\n addAdmin(id, publicKey) {\n this._owners = [...new Set(this._owners.concat(publicKey))];\n this.summary._owners = [...new Set(this.summary._owners.concat(publicKey))];\n this.details._owners = [...new Set(this.details._owners.concat(publicKey))];\n this.addMember(id);\n }\n\n setContactPersonId(id) {\n this.contactPersonId = id;\n }\n\n addOwners(publicKeys) {\n this._owners = [...new Set(this._owners.concat(publicKeys))];\n this.details._owners = [...new Set(this.details._owners.concat(publicKeys))];\n this.summary._owners = [...new Set(this.summary._owners.concat(publicKeys))];\n }\n\n setInstId(institutionId) {\n this.summary.institutionId = institutionId;\n }\n\n addMember(memberId) {\n this.members = [...new Set(this.members.concat(memberId))];\n }\n\n edit(\n fundName,\n shortName,\n addressLine,\n country,\n contactInformation,\n customerType,\n usPayIdType,\n abaNumber,\n investmentVehicle,\n entityType,\n fxType,\n amlRequired,\n costingMethod,\n defaultFund,\n revalRequired,\n revaluationMethod,\n reserveCalculationRequired,\n revaluationStartMonth,\n dateFunded,\n adminId,\n trusteeId,\n complianceId\n ) {\n this.summary.fundName = fundName;\n this.summary.shortName = shortName;\n this.summary.addressLine = addressLine;\n this.summary.country = country;\n this.summary.contactInformation = contactInformation;\n this.details.customerType = customerType;\n this.details.usPayIdType = usPayIdType;\n this.details.abaNumber = abaNumber;\n this.details.investmentVehicle = investmentVehicle;\n this.details.entityType = entityType;\n this.details.fxType = fxType;\n this.details.amlRequired = amlRequired;\n this.details.costingMethod = costingMethod;\n this.details.defaultFund = defaultFund;\n this.details.revalRequired = revalRequired;\n this.details.revaluationMethod = revaluationMethod;\n this.details.reserveCalculationRequired = reserveCalculationRequired;\n this.details.revaluationStartMonth = revaluationStartMonth;\n this.details.dateFunded = dateFunded;\n this.adminId = adminId;\n this.trusteeId = trusteeId;\n this.complianceId = complianceId;\n }\n}","__index":{"obj":0},"__func":"constructor","__args":[["035e2ddd2af1f04a918e42d719910e55e5a89536cb8a98386d70dd5dfe6c683932"],"Fund 2","f2","123 Sesame St","USA","123","ea900c25b99c00dd77df2c6b32d3310dc3d4f2f6d0313867679eb25b8b597ef1:0","type","SWIFT","123","Offshore","","USD",false,"WAC",false,false,false,"","",1616507994,"71c5a45a7eafd900aa2cd78ada2ae5df83db3886eacab34becb5090100d1c5bf:0","71c5a45a7eafd900aa2cd78ada2ae5df83db3886eacab34becb5090100d1c5bf:0","71c5a45a7eafd900aa2cd78ada2ae5df83db3886eacab34becb5090100d1c5bf:0"]}u
https://whatsonchain.com/tx/deaa7f608918ddc8a40d37836d3e50944b358db8683e60086ec4754289b36ebc