#0
nonstandard
0.00004000 BSV
Q!ñ Q\®àdf+ÖÓö58ZJh*â-$Ê8Z'¯[Q®ME{"kind":"script","__func":"constructor","_args":[["03f100515caee06466952bd6d30696f63538845a4a682ae22d24ca82385a27af5b"],"First Name","Last Name","Email","Phone",true],"__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/6a00a3cc41c1c71df44b80331ed366dfaa6a21103344ed8ae20b16f61d535c87