#0
nonstandard
0.00004000 BSV
Q!¿2<T^³\!ð¯aIì?nÖÃícwÃÓ_Q®Mð
{"summary":1,"details":2,"__cls":"class FundSC {\n constructor(\n owners = [],\n fundName = '',\n shortName = '',\n addressLine = '',\n country = '',\n contactInformation = '',\n instId = '',\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 fundAdminId = '',\n ) {\n this._owners = owners;\n\n this.summary = {\n fundName,\n shortName,\n addressLine,\n country,\n contactInformation,\n instId,\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 = owners;\n this.fundAdminId = fundAdminId;\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 setAdminId(id) {\n this.fundAdminId = id;\n }\n\n addDocument(document) {\n this.documents.push(document);\n }\n\n addOwners(publicKeys) {\n this._owners = [...new Set(this._owners.concat(publicKeys))];\n }\n\n setInstId(instId) {\n this.summary.instId = instId;\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":[["03bf323c545eb35c918f21168d98f01daf6149ec3f6ed687c3ed1c637711c3d35f"],"asdf","asdf","asdf","asdf","asdf","fdcff4a3863dd70923ca46b886353c970801ecaecec16bcc06cc91336ab50eae:0","asdf","SWIFT","USD",true,"WAC",false,false,"Daily",false,"01/03/2021","7eae9c7ab937bb2152b5eed43b427c39368ed67b6267af29475d913bae78aa79:0","caa0dba7012582cd1a424201d43e79391515fae77ef4168048e0776e5d85d9ec:0","2adb78811ab919cdb4f93f48582a8193a1995d8c3d8ea53e2acfeab35510d55e:0",""]}u
https://whatsonchain.com/tx/acde0dce988dd3f2f8a9dd24fce6d056a68d636e742bf061df7aa05df7d6a706