#0
nonstandard
0.00004000 BSV
Q!HoZÇ]á´ïS´(
Ûá¹§0tÿ¦#t®Q®M»{"__func":"constructor","_args":[["02486f5a807f9299c71a5de1b4ef53b4280485dbe1b98916a73074ff8aa62374ae"],"First Name","Last Name","Email","Phone","02486f5a807f9299c71a5de1b4ef53b4280485dbe1b98916a73074ff8aa62374ae",["02486f5a807f9299c71a5de1b4ef53b4280485dbe1b98916a73074ff8aa62374ae"]],"__index":{"obj":0,"_amount":4000,"_owners":[{"x":"486f5a807f9299c71a5de1b4ef53b4280485dbe1b98916a73074ff8aa62374ae","y":"d0031c9a0a4b158e863584dbe66b72fb30d66a82190e08dacc97953f03c23f98","compressed":true}]},"__cls":"class UserSC {\n constructor(owners, firstName, lastName, email, phone, publicKey, adminKeys = [], instId = null) {\n this._owners = owners\n this.instId = instId\n this.firstName = firstName\n this.lastName = lastName\n this.email = email\n this.phone = phone\n this.teams = []\n this.funds = []\n this.trades = []\n this.facilities = []\n this.adminKeys = adminKeys\n this.publicKey = publicKey\n }\n\n addTeam(id) {\n this.teams.push(id)\n }\n\n removeTeam(id) {\n const index = this.teams.indexOf(id)\n this.teams.splice(index, 1)\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 addTrade(id) {\n this.trades.push(id)\n }\n\n removeTrade(id) {\n const index = this.trades.indexOf(id)\n this.trades.splice(index, 1)\n }\n\n addFacility(id) {\n this.facilities.push(id)\n }\n\n removeFacility(id) {\n const index = this.facilities.indexOf(id)\n this.facilities.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.firstName = value\n }\n\n setLastName(value) {\n this.lastName = value\n }\n\n setInstitution(value) {\n this.instId = value\n }\n\n setPublicKey(value) {\n this.publicKey = value\n }\n\n setEmail(value) {\n this.email = value\n }\n\n setPhone(value) {\n this.phone = value\n }\n}"}u
https://whatsonchain.com/tx/638e16c1697710e06d9c33111a8d77ec92a07848e86f2e0c74ec3f893f9bde4f