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.

82 lines
1.3 KiB

PROGRAM{
DECLPROC __tact_verify_address
DECLPROC __tact_store_address
2 years ago
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
}>
2 years ago
__tact_store_address_opt PROCINLINE:<{
DUP
ISNULL
IF:<{
DROP
0 PUSHINT
SWAP
2 STU
}>ELSE<{
__tact_store_address INLINECALLDICT
}>
}>
2 years ago
__gen_write_TONBWallet PROCINLINE:<{
s5 s6 XCHG2
257 PUSHINT
STIX
s0 s3 XCHG2
__tact_store_address INLINECALLDICT
SWAP
__tact_store_address INLINECALLDICT
1 STI
2 years ago
NEWC
s2 PUSH
ISNULL
NOT
IF:<{
TRUE
SWAP
1 STI
s1 s2 XCHG
257 PUSHINT
STIX
}>ELSE<{
s2 POP
FALSE
ROT
1 STI
}>
2 years ago
ROT
__tact_store_address_opt INLINECALLDICT
ENDC
SWAP
STREF
}>
$__gen_TONBWallet_init PROC:<{
FALSE
PUSHNULL
2 years ago
PUSHNULL
0 PUSHINT
s0 s6 XCHG
NEWC
STREF
s0 s6 XCHG
s0 s5 XCHG
3 -ROLL
__gen_write_TONBWallet INLINECALLDICT
ENDC
}>
init PROC:<{
$__gen_TONBWallet_init CALLDICT
}>
main PROC:<{
}>
}END>c