#0
nonstandard
0.00004000 BSV
Q!¢ué2÷Ô©O×Ú¥>ðV<ÜÈà¯<]×/Q®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":["0288a275978fe932078ef71dd4a94fd712daa53ef09e56923cdcc8e0af3c5dd72f","clack.chat","Zack ","www.z.com","### My Title \n:) :( :O","https://archziner.com/wp-content/uploads/2020/06/abstract-background-in-black-purple-blue-and-yellow-neon-supreme-logo-at-the-center-supreme-girl-wallpaper.jpg","Poopy","ZCo","www.co.co"],"__func":"constructor"}u
https://whatsonchain.com/tx/88d513f892c6da729ede124a1e98f25c75b4970653ba1a44a88a7ff85f3f8ba5