#0
nonstandard
0.00004000 BSV
Q!(©xH6ÙøqÃ]è¥
|HưÇEkFµíÏõÏ!0êæ~róºYã!H±'ÂiÎTðBÎR®Mº{"__cls":"class Chat {\n constructor(publicKey, oc, title) {\n this.contractTypeID = \"5529c09a-1402-11eb-adc1-0242ac120002\";\n this.contractTypeName = \"Chat\";\n this.contractTypeVersion = \"0.0.1\";\n this.originalChannel = oc;\n this._owners = publicKey;\n this.title = title;\n this.messages = [];\n this.lastUpdated = null;\n this.canArchive = publicKey;\n this.archived = false;\n }\n\n post(pubKey, displayName, message, date) {\n if (this.archived === true)\n return new Error(\"This Thread is already archived.\");\n this.messages.push(`${pubKey}:${displayName}:${message}:${date}`);\n }\n\n invite(publicKey) {\n if (this.archived === true)\n return new Error(\"This Thread is already archived.\");\n this._owners.push(publicKey);\n }\n\n archive(pubKey) {\n if (!this.canArchive.includes(pubKey))\n return new Error(\"You do not have permission to archive this thread\");\n this.archived = true;\n }\n}","__index":{"obj":0},"__args":[["031e8328a978489936d9f871c35de8a5857c0e4804c6b0c7456b46b5edcff590cf","023004eae6137e72f3168aba8759e3211d489ab127c28c69ce549af0428cce9404"],"clack.chat","Bitcoinchat2"],"__func":"constructor"}u
https://whatsonchain.com/tx/20588fb9bb820d013cbaa90d49d4b6a079b84eba43cbf84989136f342e51ac36