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
6 lines
No EOL
149 B
Text
6 lines
No EOL
149 B
Text
int workchain() asm "0 PUSHINT";
|
|
|
|
() force_chain(slice addr) impure {
|
|
(int wc, _) = parse_std_addr(addr);
|
|
throw_unless(333, wc == workchain());
|
|
} |