#0
nonstandard
0.00004000 BSV
Q!ï
Á* ÒÏó¾5ÞØÓ´Oë:2̼·rÙÁÏßQ®MÑ{"kind":"script","__func":"constructor","_args":[["03ef85c1972a8409d2cff3be35ded8d3b4914feb3a32181819ccbcb772d9c1cfdf"],"First Name","Last Name","Email","Phone","03ef85c1972a8409d2cff3be35ded8d3b4914feb3a32181819ccbcb772d9c1cfdf",["03ef85c1972a8409d2cff3be35ded8d3b4914feb3a32181819ccbcb772d9c1cfdf"]],"__index":{"obj":0},"__cls":"class UserSC {\n constructor(owners, firstName, lastName, email, phone, publicKey, adminKeys = [], institution = null) {\n this._owners = owners\n this.firstName = firstName\n this.lastName = lastName\n this.teams = []\n this.funds = []\n this.trades = []\n this.adminKeys = adminKeys\n this.institution = institution\n this.publicKey = publicKey\n this.email = email\n this.phone = phone\n }\n\n addTeam(id) {\n this.teams.push(id)\n }\n\n addFund(id) {\n this.funds.push(id)\n }\n\n addTrade(id) {\n this.trades.push(id)\n }\n\n removeOwner(id) {\n let index = this._owners.indexOf(id)\n this._owners = this._owners.splice(index, 1)\n index = this.adminKeys.indexOf(id)\n this.adminKeys = 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 editFirstName(value) {\n this.firstName = value\n }\n\n editLastName(value) {\n this.lastName = value\n }\n\n editIsAdmin(value) {\n this.isAdmin = value\n }\n\n editInstitution(value) {\n this.institution = value\n }\n\n editPublicKey(value) {\n this.publicKey = value\n }\n\n editBlockchainAddress(value) {\n this.blockchainAddress = value\n }\n\n editEmail(value) {\n this.email = value\n }\n\n editPhone(value) {\n this.phone = value\n }\n}"}u
https://whatsonchain.com/tx/66079bdfafca574a132f716dc5e16c4dc106716a4d06fd735fb6c49faef0d4d2