#0
nonstandard
0.00004000 BSV
Q!é±
ë!Ýdë~:ª_@9SÍ~1¶ ÿ'tôâvêQ®MÑ{"kind":"script","__func":"constructor","_args":[["02e9b10deb872196dd64eb7e3aaa5f400c3953cd9f7e31b609ff2774f4e27682ea"],"First Name","Last Name","Email","Phone","02e9b10deb872196dd64eb7e3aaa5f400c3953cd9f7e31b609ff2774f4e27682ea",["02e9b10deb872196dd64eb7e3aaa5f400c3953cd9f7e31b609ff2774f4e27682ea"]],"__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/d4c225a30b7695eb79fa2e694de25ecaa8e8309c9861a4f855f0ecef165d8404