Skip to content

Commit 51827ff

Browse files
committed
fix: code cleanup, add description
1 parent f6f4a8c commit 51827ff

File tree

1 file changed

+4
-23
lines changed

1 file changed

+4
-23
lines changed

contracts/aibtcdev-messaging.clar

Lines changed: 4 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,13 @@
11

2-
;; title: messaging
3-
;; version:
4-
;; summary:
5-
;; description:
6-
7-
;; traits
8-
;;
9-
10-
;; token definitions
11-
;;
2+
;; title: aibtcdev-messaging
3+
;; version: 1.0
4+
;; summary: A simple messaging contract agents can use.
5+
;; description: Send an on-chain message to anyone listening to this contract.
126

137
;; constants
148
;;
159
(define-constant INPUT_ERROR (err u400))
1610

17-
;; data vars
18-
;;
19-
20-
;; data maps
21-
;;
22-
2311
;; public functions
2412

2513
(define-public (send (message (string-ascii 1048576)))
@@ -34,10 +22,3 @@
3422
(ok true)
3523
)
3624
)
37-
38-
;; read only functions
39-
;;
40-
41-
;; private functions
42-
;;
43-

0 commit comments

Comments
 (0)