#0
nonstandard
0.00004000 BSV
Q!PÐcßà2 ³î)¥äá´å«ruÒÌÁLïRdaBQ®MÛ{"__cls":"class UserProfile {\n constructor(\n pubKey,\n oc,\n displayName,\n website,\n bio,\n image,\n jobTitle,\n company,\n companyUrl\n ) {\n this.contractTypeID = \"964001a2-140c-11eb-adc1-0242ac120002\";\n this.contractTypeName = \"UserProfile\";\n this.contractTypeVersion = \"0.0.1\";\n this.originalChannel = oc;\n this._owners = [pubKey];\n this.manager = pubKey;\n this.displayName = displayName;\n this.website = website;\n this.bio = bio;\n this.image = image;\n this.jobTitle = jobTitle;\n this.company = company;\n this.companyUrl = companyUrl;\n }\n\n setDisplayName(name) {\n this.displayName = name;\n }\n\n setWebsite(website) {\n this.website = website;\n }\n\n setBio(bioAsMarkdown) {\n this.bio = bioAsMarkdown;\n }\n\n setImage(imageUrl) {\n this.image = imageUrl;\n }\n\n setJobTitle(jobTitle) {\n this.jobTitle = jobTitle;\n }\n\n setCompany(companyName) {\n this.company = companyName;\n }\n\n setCompanyUrl(companyUrl) {\n this.companyUrl = companyUrl;\n }\n\n shareWith(pubKey) {\n //how do I get the public key of the user making the request?\n //if the user is not the manager, I do not want to allow the user to make a change here\n //even if they are the owner.\n this._owners.push(pubKey);\n }\n\n removeShare(pubKey) {\n let _temp = this._owners;\n let index = _temp.indexOf(pubKey);\n if (index === -1) {\n throw new Error(\"The key does not exist in the shared list\");\n }\n _temp.splice(index, 1);\n this._owners = _temp;\n }\n}","__index":{"obj":0},"__args":["035002d063dfe032a0b3ee29a5e4e1b404e587ab7275d2ccc14cef52646142171f","clack.chat","CallmeCoolio","www.coolio.com","### I am really cool \n**This should be bold**\n:) \n> markdown can be syntax higlighted too","https://encrypted-tbn0.gstatic.com/images?q=tbn%3AANd9GcQSrX41HOTp7DEIyXpIT7pPl7EsaXz4tQjZaw&usqp=CAU","Evangelist","MyCo","CoolestCo"],"__func":"constructor"}u
https://whatsonchain.com/tx/a6dd4c35a267ccc96034ad2c91610cc68a99b62bda66fe88f6a702506f15ffbb