Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ 💻 Clarity VM ] Support boot contracts #55

Closed
obycode opened this issue Aug 31, 2023 · 4 comments
Closed

[ 💻 Clarity VM ] Support boot contracts #55

obycode opened this issue Aug 31, 2023 · 4 comments

Comments

@obycode
Copy link
Collaborator

obycode commented Aug 31, 2023

To support the boot contracts (see Clarity contracts in here), we need support for the following Clarity functions:

  • *
  • +
  • -
  • /
  • <
  • <=
  • >
  • >=
  • and
  • append
  • as-contract
  • as-max-len?
  • asserts!
  • begin
  • buff-to-uint-be
  • concat
  • default-to
  • define-constant
  • define-data-var
  • define-fungible-token
  • define-map
  • define-non-fungible-token
  • define-private
  • define-public
  • define-read-only
  • element-at
  • err
  • filter
  • fold
  • ft-mint?
  • ft-transfer?
  • get
  • get-block-info?
  • hash160
  • if
  • is-eq
  • is-none
  • is-some
  • len
  • let
  • list
  • log2
  • map-delete
  • map-get?
  • map-insert
  • map-set
  • match
  • merge
  • nft-get-owner?
  • nft-mint?
  • nft-transfer?
  • not
  • ok
  • or
  • pow
  • print
  • replace-at?
  • slice?
  • some
  • stx-account
  • stx-burn?
  • stx-get-balance
  • stx-transfer?
  • try!
  • tuple
  • unwrap!
  • unwrap-panic
  • var-get
  • var-set
  • xor
@obycode obycode changed the title Support boot contracts [ 💻 Clarity VM ] Support boot contracts Sep 5, 2023
@obycode
Copy link
Collaborator Author

obycode commented Sep 5, 2023

I'm going to go through these and organize them into sensible groups that we can then divide up amongst us.

@obycode
Copy link
Collaborator Author

obycode commented Sep 5, 2023

  • Completed

    • *
    • +
    • -
    • /
    • <
    • <=
    • >
    • >=
    • begin
    • define-data-var
    • define-private
    • define-public
    • define-read-only
    • fold
    • list
    • log2
    • var-get
    • var-set
  • Conditional control flow

    • and
    • asserts!
    • filter
    • if
    • match
    • or
    • try!
    • unwrap!
    • unwrap-panic
  • Sequences

    • append
    • as-max-len?
    • concat
    • element-at
    • len
    • replace-at?
    • slice?
  • Host interface calls

    • as-contract
    • ft-mint?
    • ft-transfer?
    • get-block-info?
    • map-delete
    • map-get?
    • map-insert
    • map-set
    • nft-get-owner?
    • nft-mint?
    • nft-transfer?
    • print
    • stx-account
    • stx-burn?
    • stx-get-balance
    • stx-transfer?
  • Buffers

    • buff-to-uint-be
  • Defines

    • define-constant
    • define-fungible-token
    • define-map
    • define-non-fungible-token
  • Option / Response

    • default-to
    • err
    • is-none
    • is-some
    • ok
    • some
  • Tuples

    • get
    • merge
    • tuple
  • Computation

    • hash160
    • pow
  • Simple

    • is-eq
    • not
    • xor
  • Local Variables

    • let

@obycode
Copy link
Collaborator Author

obycode commented Sep 5, 2023

Ok, I've created separate issues for each of these, all labeled with "boot contracts". @Acaccia, @krl, please self-assign any of those that you'd like to take on next.

@obycode
Copy link
Collaborator Author

obycode commented Dec 18, 2023

Done!

@obycode obycode closed this as completed Dec 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

1 participant