Skip to content

Custom code transformations #29

@njordhov

Description

@njordhov

Clariform could support custom code transformations, like in this example:

(define-internal (something-internal)
 (ok true)
)

;; which then gets expanded as:

(define-public (something-internal)
 (begin
   (try! (is-dao-or-extension contract-caller))
   (ok true)
)

Suggested here:
https://discord.com/channels/1076608263983997008/1089945712944488458/1105172252154150973

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions