You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
78 lines
1.3 KiB
78 lines
1.3 KiB
PROGRAM{ |
|
DECLPROC __tact_verify_address |
|
DECLPROC __tact_store_address |
|
DECLPROC __tact_store_address_opt |
|
DECLPROC __gen_write_TONBWallet |
|
DECLPROC $__gen_TONBWallet_init |
|
107886 DECLMETHOD init |
|
DECLPROC main |
|
__tact_verify_address PROCINLINE:<{ |
|
SBITS |
|
267 PUSHINT |
|
NEQ |
|
136 THROWIFNOT |
|
}> |
|
__tact_store_address PROCINLINE:<{ |
|
STSLICER |
|
}> |
|
__tact_store_address_opt PROCINLINE:<{ |
|
DUP |
|
ISNULL |
|
IF:<{ |
|
DROP |
|
0 PUSHINT |
|
SWAP |
|
2 STU |
|
}>ELSE<{ |
|
__tact_store_address INLINECALLDICT |
|
}> |
|
}> |
|
__gen_write_TONBWallet PROCREF:<{ |
|
s4 s5 XCHG2 |
|
257 PUSHINT |
|
STIX |
|
ROT |
|
__tact_store_address INLINECALLDICT |
|
SWAP |
|
__tact_store_address INLINECALLDICT |
|
NEWC |
|
s2 PUSH |
|
ISNULL |
|
NOT |
|
IF:<{ |
|
TRUE |
|
SWAP |
|
1 STI |
|
s1 s2 XCHG |
|
257 PUSHINT |
|
STIX |
|
}>ELSE<{ |
|
s2 POP |
|
FALSE |
|
ROT |
|
1 STI |
|
}> |
|
ROT |
|
__tact_store_address_opt INLINECALLDICT |
|
ENDC |
|
SWAP |
|
STREF |
|
}> |
|
$__gen_TONBWallet_init PROC:<{ |
|
PUSHNULL |
|
PUSHNULL |
|
0 PUSHINT |
|
s0 s5 XCHG |
|
NEWC |
|
STREF |
|
s0 s5 XCHG |
|
s4 s4 s4 XCHG3 |
|
__gen_write_TONBWallet INLINECALLDICT |
|
ENDC |
|
}> |
|
init PROC:<{ |
|
$__gen_TONBWallet_init CALLDICT |
|
}> |
|
main PROC:<{ |
|
}> |
|
}END>c
|
|
|