#0
nonstandard
0.00004000 BSV
Q!´ôî¼ò$4åmæMåЬ9úJs!ûº ²í£K!%8·üöY'¢~³¯¼ð¥ÔÂzªLÃ= R®M#{"kind":"script","__func":"constructor","_args":[["02b4f48a9aeebc95f2240b34e5036d84e64de5d0ac39fa4a7321fbba00b2eda34b","032538b789fcf65927079ea27eb3afbc9b88f090a5d418c27aaa4cc387153d0c20"],"First Name New","Last Name New","Email New","Phone New",[["02b4f48a9aeebc95f2240b34e5036d84e64de5d0ac39fa4a7321fbba00b2eda34b"]],"dbe3ce2579192e822a9b4c9e2447f5c4d47896358bbf2ac19369ba76a893e52a:0"],"__index":{"obj":0},"__cls":"class UserSC {\n constructor(publicKey, firstName, lastName, email, phone, adminKeys = [], institution = null) {\n this._owners = publicKey\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/b5cda0534c2b64a4ab1db45bb84d53c5d86c79fcf848c4f1536898429d6591fc