mirror of
https://github.com/danog/toncontest.git
synced 2024-11-26 20:15:01 +01:00
67 lines
938 B
Plaintext
67 lines
938 B
Plaintext
"Asm.fif" include
|
|
// automatically generated from `/home/daniil/repos/contest/lib/crypto/smartcont/stdlib.fc` `wallet-code.fc`
|
|
PROGRAM{
|
|
DECLPROC recv_internal
|
|
DECLPROC recv_external
|
|
85143 DECLMETHOD seqno
|
|
recv_internal PROC:<{
|
|
DROP
|
|
}>
|
|
recv_external PROC:<{
|
|
9 PUSHPOW2
|
|
LDSLICEX
|
|
DUP
|
|
32 LDU
|
|
32 LDU
|
|
NOW
|
|
s1 s2 XCHG
|
|
LEQ
|
|
35 THROWIF
|
|
c4 PUSH
|
|
CTOS
|
|
32 LDU
|
|
256 LDU
|
|
ENDS
|
|
s3 s1 XCPU
|
|
EQUAL
|
|
33 THROWIFNOT
|
|
s0 s3 XCHG
|
|
HASHSU
|
|
s0 s4 s2 XC2PU
|
|
CHKSIGNU
|
|
34 THROWIFNOT
|
|
ACCEPT
|
|
s0 s2 XCHG
|
|
8 LDU
|
|
SWAP
|
|
1 EQINT
|
|
IF:<{
|
|
LDREF
|
|
SWAP
|
|
SETCODE
|
|
}>ELSE<{
|
|
WHILE:<{
|
|
DUP
|
|
SREFS
|
|
}>DO<{
|
|
8 LDU
|
|
LDREF
|
|
s0 s2 XCHG
|
|
SENDRAWMSG
|
|
}>
|
|
}>
|
|
ENDS
|
|
INC
|
|
NEWC
|
|
32 STU
|
|
256 STU
|
|
ENDC
|
|
c4 POP
|
|
}>
|
|
seqno PROC:<{
|
|
c4 PUSH
|
|
CTOS
|
|
32 PLDU
|
|
}>
|
|
}END>c
|