#0
nonstandard
0.00004000 BSV
Q!h²ÌÃîéàãÌ}©ÑE¹m^!߬ü[y¹V9Q®MÁ
{"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 = 'SWIFT',\n fxType = 'USD',\n amlRequired = false,\n costingMethod = 'WAC',\n defaultFund = false,\n revalRequired = false,\n revaluationMethod = 'Daily',\n reserveCalculationRequired = false,\n revaluationStartMonth = new Date(),\n adminId = '',\n trusteeId = '',\n complianceId = '',\n dateFunded = ''\n ) {\n this._owners = owners;\n\n this.summary = {\n fundName,\n shortName,\n addressLine,\n country,\n contactInformation,\n institutionId,\n };\n\n this.details = {\n customerType,\n usPayIdType,\n fxType,\n amlRequired,\n costingMethod,\n defaultFund,\n revalRequired,\n revaluationMethod,\n reserveCalculationRequired,\n revaluationStartMonth,\n };\n\n this.adminId = adminId;\n this.trusteeId = trusteeId;\n this.complianceId = complianceId;\n\n this.documents = [];\n this.members = [];\n\n this.dateFunded = dateFunded;\n this.admins = [];\n this.contactPersonId = '';\n\n this.kycDocs = [];\n this.onboarded = [];\n this.processing = [];\n this.files = [];\n }\n\n addAdmin(id, publicKey) {\n this.admins = [...new Set(this.admins.concat(id))];\n this._owners = [...new Set(this._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 }\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([fundName, shortName, addressLine, country, contactInformation, customerType, usPayIdType, fxType, amlRequired, costingMethod, defaultFund, revalRequired, revaluationMethod, reserveCalculationRequired, revaluationStartMonth, adminId, trusteeId, complianceId, dateFunded]) {\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.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.adminId = adminId;\n this.trusteeId = trusteeId;\n this.complianceId = complianceId;\n this.dateFunded = dateFunded;\n }\n}","__index":{"obj":0},"__func":"constructor","__args":[["0368b28a1bcc1112c3eee9e0e3cc7da99ed145b96d5e21dfacfc5b798fb9569739"],"Test Fund","Fund","Address","Country","Contact Information","5d665e8b972592c82a5cf02f38e44fa058ccbbc277bc576bd5d61d1b3fad4f60:0","Customer Type","SWIFT","USD",false,"WAC",false,false,"Daily",false,"01/05/2021","ededeb1c99b45ec2fbafc53a6c585fafa9fe229407b8b32abd2a9567ea5d7b2c:0","--","--",""]}u
https://whatsonchain.com/tx/4bf8cc10647a4c8e6e4bfbfe9fd2a7781cf2f45bad8493843fcc746d4605a28a