#0
nonstandard
0.00004000 BSV
Q!§I{_ÃzvVû%>üWÜūѤP¹AºâZß?Q®MÛ{"personalDetails":1,"__cls":"class UserSC {\n constructor(\n owners = [],\n firstName = '',\n lastName = '',\n email = '',\n phone = 0,\n institution = '',\n publicKey = '',\n adminKeys = [],\n kycReqs = ''\n ) {\n this._owners = owners;\n\n this.personalDetails = {\n firstName,\n lastName,\n email,\n phone,\n };\n\n this.institution = institution;\n\n this.publicKey = publicKey;\n\n this.adminKeys = adminKeys;\n\n this.kycReqs = kycReqs;\n\n this.funds = [];\n\n this.documents = [];\n }\n\n addDocument(document) {\n this.documents.push(document);\n }\n\n addFund(id) {\n this.funds.push(id);\n }\n\n removeFund(id) {\n const index = this.funds.indexOf(id);\n this.funds.splice(index, 1);\n }\n\n removeOwner(id) {\n let index = this._owners.indexOf(id);\n this._owners.splice(index, 1);\n index = this.adminKeys.indexOf(id);\n this.adminKeys.splice(index, 1);\n }\n\n addOwner(id) {\n this._owners.push(id);\n }\n\n addAdmin(id) {\n this._owners.push(id);\n this.adminKeys.push(id);\n }\n\n setFirstName(value) {\n this.personalDetails.firstName = value;\n }\n\n setLastName(value) {\n this.personalDetails.lastName = value;\n }\n\n setInstitution(value) {\n this.institution = value;\n }\n\n setPublicKey(value) {\n this.publicKey = value;\n }\n\n setEmail(value) {\n this.personalDetails.email = value;\n }\n\n setPhone(value) {\n this.personalDetails.phone = value;\n }\n\n edit([firstName, lastName, email, phone]) {\n this.personalDetails.firstName = firstName;\n this.personalDetails.lastName = lastName;\n this.personalDetails.email = email;\n this.personalDetails.phone = phone;\n }\n}","__index":{"obj":0},"__func":"constructor","__args":[["03a799497b5fc39d7a765601fb253efc5796dc14c5abd1a450b94113bae25adf3f"],"Edit","User","edit@gmail.com",0,"5cf12cfb2498732858991d4e58a26226b3e79013749a1f0cce7eba0356e1ef28:0","",[],"",[],[]]}u
https://whatsonchain.com/tx/fffacbb13590c9bfa41559abcaed136f96bc53e5c878db7b00655681e69eb396