We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6f4a8c commit 51827ffCopy full SHA for 51827ff
contracts/aibtcdev-messaging.clar
@@ -1,25 +1,13 @@
1
2
-;; title: messaging
3
-;; version:
4
-;; summary:
5
-;; description:
6
-
7
-;; traits
8
-;;
9
10
-;; token definitions
11
+;; title: aibtcdev-messaging
+;; version: 1.0
+;; summary: A simple messaging contract agents can use.
+;; description: Send an on-chain message to anyone listening to this contract.
12
13
;; constants
14
;;
15
(define-constant INPUT_ERROR (err u400))
16
17
-;; data vars
18
19
20
-;; data maps
21
22
23
;; public functions
24
25
(define-public (send (message (string-ascii 1048576)))
@@ -34,10 +22,3 @@
34
(ok true)
35
)
36
37
38
-;; read only functions
39
40
41
-;; private functions
42
43
0 commit comments