#0
nonstandard
0.00004000 BSV
Q!]ØVjÒæ}!ÊÈ0ÛQ>2ô>
~Ò!~âfÄPYçJwD#G¤6ª¦ö§tZΪðkR®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}","__index":{"obj":0},"__args":[["025dd89c5605818f6a9fd219e67d2187cac830db5186938b023e32f43e0a7ed281","02050c7ee266c49650591790e74a77442347a436aaa699f6a781745aceaa99f06b"],"Admin","Test","admintest@gmail.com","0123456789","a011cffe8c726f22dffa7c25319944fc35bb0e5eaf7bb1b7d129516a0443d5e9:0"],"__func":"constructor"}u
https://whatsonchain.com/tx/6a500431d9ff618161eb5fa24199bf7afef2fb3da4368977e4950e69d3548b28