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

Extension of stdlib #1029

Open
Shvandre opened this issue Nov 12, 2024 · 3 comments · May be fixed by #986
Open

Extension of stdlib #1029

Shvandre opened this issue Nov 12, 2024 · 3 comments · May be fixed by #986
Assignees
Labels
stdlib The Tact standard library
Milestone

Comments

@Shvandre
Copy link
Contributor

Shvandre commented Nov 12, 2024

I think that two important functions are missing.

asm fun myCode(): Cell { MYCODE }

asm fun emptyAddress(): Address { b{00} PUSHSLICE }

Here is possible implementation. Maybe emptyAddress() should me named addressNone() ? because it is addr_none in block.tlb

@Shvandre Shvandre added the stdlib The Tact standard library label Nov 12, 2024
@anton-trunov anton-trunov added this to the v1.6.0 milestone Nov 12, 2024
@anton-trunov
Copy link
Member

Maybe emptyAddress() should me named addressNone() ? because it is addr_none in block.tlb

yeah, addressNone sounds better to me

@Gusarich
Copy link
Member

Gusarich commented Nov 18, 2024

@anton-trunov @Shvandre myCode is already added in #986

@anton-trunov
Copy link
Member

@Gusarich maybe let's add addressNone there as well and mark that PR as closing this issue too?

@Gusarich Gusarich linked a pull request Nov 18, 2024 that will close this issue
9 tasks
@Gusarich Gusarich assigned Gusarich and unassigned Shvandre Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stdlib The Tact standard library
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants