#0
nonstandard
0.00004000 BSV
Q!ºâF 8æ¾Nn7!±=ïSua¶..ͽ¦hj!ÿ?l{®û$
'4GñÁý]tþ ÕO³$ÞR®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":[["03ba1a08e2469d83a038e6be4e6e378321b13def531d7561b62e2ecdbda6686a97","03ff3f6c7b1d951caefb2485273447f1c1fd805d8a74fe090c95d54fb3248911de"],"contact admin","contact admin","contact admin","0","e425cc461f07ca4f921602a2d594b1999d647fd7f26813d6d522411808c7840c:0"],"__func":"constructor"}u
https://whatsonchain.com/tx/b44055c95ce4d14548260fb4e39346fd8fce3ebddda7c2628a3c0279801c6e26