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 · 1 comment
Open

Extension of stdlib #1029

Shvandre opened this issue Nov 12, 2024 · 1 comment
Assignees
Labels
stdlib The Tact standard library
Milestone

Comments

@Shvandre
Copy link

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

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

No branches or pull requests

2 participants