mirror of
https://github.com/ton-blockchain/ton
synced 2025-02-15 04:32:21 +00:00
* Add legacy_tester for existing funC contracts * Add storage-contracts and pragma options
13 lines
No EOL
537 B
Text
13 lines
No EOL
537 B
Text
;; operations (constant values taken from crc32 on op message in the companion .tlb files and appear during build)
|
|
int op::increment() asm "0x37491f2f PUSHINT";
|
|
int op::deposit() asm "0x47d54391 PUSHINT";
|
|
int op::withdraw() asm "0x41836980 PUSHINT";
|
|
int op::transfer_ownership() asm "0x2da38aaf PUSHINT";
|
|
|
|
;; errors
|
|
int error::unknown_op() asm "101 PUSHINT";
|
|
int error::access_denied() asm "102 PUSHINT";
|
|
int error::insufficient_balance() asm "103 PUSHINT";
|
|
|
|
;; other
|
|
int const::min_tons_for_storage() asm "10000000 PUSHINT"; ;; 0.01 TON |