#0
nonstandard
0.00004000 BSV
Q!áwáZÍdËd«Çª·Î±¾ÐL«eÞÛÆ@ÐfT »"3!K½n[7þðéïáªrö*¡QÚ îÔÁ¯"+ÉÑÊc«mR®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 this.chats = []\n }\n\n addDocument(document) {\n this.documents.push(document)\n }\n\n addChat(chatId) {\n this.chats.push(chatId)\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":[["02e177e1865acd64cb64abc7aab7ceb113bed04cab65dedbc640d06654a0bb2233","034bbd6e5b37fef0e9efe1aa7219f62aa151da00eed4c1af1b222bc9d1ca63ab6d"],"updated agent","updated agent","updated agent","updated agent","90daddcddf4a20bfbecf531763d3fb2082d6319ec203c529aef11d65ded5855f:0",""],"__func":"constructor"}u
https://whatsonchain.com/tx/92eccf09de61cd5ceb88417c0fb975c18c5e8d3f99ba013af5bcfb7676f650dd