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.

968 lines
18 KiB

PROGRAM{
DECLPROC __tact_my_balance
DECLPROC __tact_not_null
DECLPROC __tact_context_get
DECLPROC __tact_verify_address
DECLPROC __tact_store_bool
DECLPROC __tact_load_address
DECLPROC __tact_load_address_opt
DECLPROC __tact_store_address
DECLPROC __tact_store_address_opt
DECLPROC __tact_create_address
DECLPROC __tact_compute_contract_address
DECLPROC __tact_address_eq
DECLPROC __tact_address_neq
DECLPROC __tact_dict_set_code
DECLPROC __tact_dict_get_code
DECLPROC __gen_read_TokenTransfer
DECLPROC __gen_write_TokenTransferInternal
DECLPROC __gen_writecell_TokenTransferInternal
DECLPROC __gen_read_TokenTransferInternal
DECLPROC __gen_write_TokenNotification
DECLPROC __gen_writecell_TokenNotification
DECLPROC __gen_read_TokenBurn
DECLPROC __gen_write_TokenBurnNotification
DECLPROC __gen_writecell_TokenBurnNotification
DECLPROC __gen_write_TokenExcesses
DECLPROC __gen_writecell_TokenExcesses
DECLPROC __gen_read_BlacklistWallet
DECLPROC __gen_write_TONBWallet
DECLPROC __gen_read_TONBWallet
DECLPROC __gen_StateInit_get_code
DECLPROC __gen_JettonWalletData_to_external
DECLPROC __gen_load_TONBWallet
DECLPROC __gen_store_TONBWallet
DECLPROC $contractAddress
DECLPROC $send
DECLPROC $__gen_Context_readForwardFee
DECLPROC $__gen_TONBWallet_init
DECLPROC $__gen_TONBWallet_init_child
DECLPROC $__gen_TONBWallet_get_wallet_data
97026 DECLMETHOD $__gen_get_get_wallet_data
DECLPROC $__gen_TONBWallet_receive_TokenTransfer
DECLPROC $__gen_TONBWallet_receive_TokenTransferInternal
DECLPROC $__gen_TONBWallet_receive_TokenBurn
DECLPROC $__gen_TONBWallet_receive_BlacklistWallet
DECLPROC $__gen_TONBWallet_receive_bounced
DECLPROC recv_internal
113617 DECLMETHOD supported_interfaces
DECLPROC get_abi_ipfs
DECLGLOBVAR __tact_context
DECLGLOBVAR __tact_context_sys
__tact_my_balance PROCINLINE:<{
BALANCE
FIRST
}>
2 years ago
__tact_not_null PROCINLINE:<{
DUP
ISNULL
128 THROWIF
}>
__tact_context_get PROCINLINE:<{
__tact_context GETGLOB
4 UNTUPLE
}>
__tact_verify_address PROCINLINE:<{
SBITS
267 PUSHINT
NEQ
136 THROWIFNOT
}>
__tact_store_bool PROCINLINE:<{
SWAP
1 STI
}>
__tact_load_address PROCINLINE:<{
LDMSGADDR
SWAP
}>
__tact_load_address_opt PROCINLINE:<{
LDMSGADDR
OVER
2 PLDU
0 NEQINT
IF:<{
SWAP
}>ELSE<{
NIP
PUSHNULL
}>
}>
__tact_store_address PROCINLINE:<{
STSLICER
}>
__tact_store_address_opt PROCINLINE:<{
DUP
ISNULL
IF:<{
DROP
0 PUSHINT
SWAP
2 STU
}>ELSE<{
__tact_store_address INLINECALLDICT
}>
}>
__tact_create_address PROCINLINE:<{
NEWC
2 PUSHINT
SWAP
2 STU
0 PUSHINT
SWAP
1 STU
s1 s2 XCHG
8 STI
256 STU
ENDC
CTOS
}>
__tact_compute_contract_address PROCINLINE:<{
NEWC
0 PUSHINT
SWAP
2 STU
3 PUSHINT
SWAP
2 STU
0 PUSHINT
SWAP
1 STU
s1 s2 XCHG
STREF
STREF
ENDC
HASHCU
__tact_create_address INLINECALLDICT
}>
__tact_address_eq PROCINLINE:<{
SDEQ
}>
__tact_address_neq PROCINLINE:<{
SDEQ
NOT
}>
__tact_dict_set_code PROCINLINE:<{
s0 s2 XCHG
16 PUSHINT
DICTUSETREF
}>
__tact_dict_get_code PROCINLINE:<{
SWAP
16 PUSHINT
DICTUGETREF
NULLSWAPIFNOT
135 THROWIFNOT
}>
__gen_read_TokenTransfer PROCREF:<{
32 LDU
SWAP
260734629 PUSHINT
EQUAL
129 THROWIFNOT
64 LDU
LDGRAMS
__tact_load_address INLINECALLDICT
SWAP
__tact_load_address_opt INLINECALLDICT
SWAP
1 LDI
SWAP
IF:<{
LDREF
}>ELSE<{
PUSHNULL
SWAP
}>
LDGRAMS
s6 s6 XCPU
s1 s6 XCHG
s1 s5 XCHG
s1 s4 XCHG
s3 s3 s0 XCHG3
}>
__gen_write_TokenTransferInternal PROCREF:<{
395134233 PUSHINT
s0 s9 XCHG2
32 STU
s1 s7 XCHG
64 STU
s0 s5 XCHG2
STGRAMS
s0 s3 XCHG2
__tact_store_address INLINECALLDICT
SWAP
__tact_store_address_opt INLINECALLDICT
SWAP
STGRAMS
SWAP
STSLICER
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_writecell_TokenTransferInternal PROCREF:<{
NEWC
8 -ROLL
__gen_write_TokenTransferInternal INLINECALLDICT
ENDC
}>
__gen_read_TokenTransferInternal PROCREF:<{
32 LDU
SWAP
395134233 PUSHINT
EQUAL
129 THROWIFNOT
64 LDU
LDGRAMS
__tact_load_address INLINECALLDICT
SWAP
__tact_load_address_opt INLINECALLDICT
SWAP
LDGRAMS
2 years ago
DUP
LDREF
SWAP
CTOS
1 LDI
SWAP
IF:<{
257 PUSHINT
LDIX
}>ELSE<{
PUSHNULL
SWAP
}>
2 years ago
__tact_load_address_opt INLINECALLDICT
NIP
s2 s8 XCHG
s2 s7 XCHG
s2 s6 XCHG
s2 s5 XCHG
s2 s4 XCHG
s2 s3 XCHG
}>
2 years ago
__gen_write_TokenNotification PROCINLINE:<{
1935855772 PUSHINT
s0 s5 XCHG2
32 STU
s1 s3 XCHG
64 STU
SWAP
STGRAMS
SWAP
__tact_store_address INLINECALLDICT
SWAP
STSLICER
}>
__gen_writecell_TokenNotification PROCREF:<{
NEWC
4 -ROLL
__gen_write_TokenNotification INLINECALLDICT
ENDC
}>
2 years ago
__gen_read_TokenBurn PROCINLINE:<{
32 LDU
SWAP
1499400124 PUSHINT
EQUAL
129 THROWIFNOT
64 LDU
LDGRAMS
__tact_load_address INLINECALLDICT
SWAP
__tact_load_address_opt INLINECALLDICT
s1 s4 XCHG
s3 s3 s0 XCHG3
}>
2 years ago
__gen_write_TokenBurnNotification PROCINLINE:<{
2078119902 PUSHINT
s0 s5 XCHG2
32 STU
s1 s3 XCHG
64 STU
SWAP
STGRAMS
SWAP
__tact_store_address INLINECALLDICT
SWAP
__tact_store_address_opt INLINECALLDICT
}>
__gen_writecell_TokenBurnNotification PROCREF:<{
NEWC
4 -ROLL
__gen_write_TokenBurnNotification INLINECALLDICT
ENDC
}>
2 years ago
__gen_write_TokenExcesses PROCINLINE:<{
3576854235 PUSHINT
ROT
32 STU
64 STU
}>
__gen_writecell_TokenExcesses PROCREF:<{
NEWC
SWAP
__gen_write_TokenExcesses INLINECALLDICT
ENDC
}>
2 years ago
__gen_read_BlacklistWallet PROCINLINE:<{
32 LDU
SWAP
43811734 PUSHINT
EQUAL
129 THROWIFNOT
__tact_load_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
}>
2 years ago
__gen_read_TONBWallet PROCINLINE:<{
257 PUSHINT
LDIX
__tact_load_address INLINECALLDICT
SWAP
__tact_load_address INLINECALLDICT
2 years ago
SWAP
1 LDI
2 years ago
LDREF
SWAP
CTOS
1 LDI
SWAP
IF:<{
257 PUSHINT
LDIX
}>ELSE<{
PUSHNULL
SWAP
}>
2 years ago
__tact_load_address_opt INLINECALLDICT
NIP
s2 s6 XCHG
s2 s5 XCHG
s2 s4 XCHG
s2 s3 XCHG
}>
__gen_StateInit_get_code PROCINLINE:<{
DROP
}>
2 years ago
__gen_JettonWalletData_to_external PROCINLINE:<{
}>
2 years ago
__gen_load_TONBWallet PROCINLINE:<{
c4 PUSH
CTOS
LDREF
SWAP
__tact_context_sys SETGLOB
__gen_read_TONBWallet INLINECALLDICT
1 6 BLKDROP2
}>
2 years ago
__gen_store_TONBWallet PROCINLINE:<{
NEWC
__tact_context_sys GETGLOB
SWAP
STREF
6 -ROLL
__gen_write_TONBWallet INLINECALLDICT
ENDC
c4 POP
}>
2 years ago
$contractAddress PROCREF:<{
0 PUSHINT
-ROT
__tact_compute_contract_address INLINECALLDICT
}>
2 years ago
$send PROCREF:<{
NEWC
1 PUSHINT
SWAP
2 STI
s0 s7 XCHG2
__tact_store_bool INLINECALLDICT
0 PUSHINT
SWAP
3 STI
s0 s5 XCHG2
__tact_store_address INLINECALLDICT
s0 s3 XCHG2
STGRAMS
0 PUSHINT
SWAP
105 STI
s3 PUSH
ISNULL
NOT
s5 PUSH
ISNULL
NOT
OR
IF:<{
TRUE
__tact_store_bool INLINECALLDICT
NEWC
FALSE
__tact_store_bool INLINECALLDICT
FALSE
__tact_store_bool INLINECALLDICT
s4 PUSH
ISNULL
NOT
IF:<{
TRUE
__tact_store_bool INLINECALLDICT
s0 s4 XCHG
2 years ago
__tact_not_null INLINECALLDICT
s0 s4 XCHG2
STREF
}>ELSE<{
s4 POP
s0 s3 XCHG
FALSE
__tact_store_bool INLINECALLDICT
}>
s4 PUSH
ISNULL
NOT
IF:<{
TRUE
__tact_store_bool INLINECALLDICT
s0 s4 XCHG
2 years ago
__tact_not_null INLINECALLDICT
s0 s4 XCHG2
STREF
}>ELSE<{
s4 POP
s0 s3 XCHG
FALSE
__tact_store_bool INLINECALLDICT
}>
FALSE
__tact_store_bool INLINECALLDICT
s0 s2 XCHG
TRUE
__tact_store_bool INLINECALLDICT
s0 s2 XCHG
ENDC
ROT
STREF
}>ELSE<{
s3 POP
s3 POP
SWAP
FALSE
__tact_store_bool INLINECALLDICT
}>
OVER
ISNULL
NOT
IF:<{
TRUE
__tact_store_bool INLINECALLDICT
SWAP
2 years ago
__tact_not_null INLINECALLDICT
SWAP
STREF
}>ELSE<{
NIP
FALSE
__tact_store_bool INLINECALLDICT
}>
ENDC
SWAP
SENDRAWMSG
}>
2 years ago
$__gen_Context_readForwardFee PROCREF:<{
3 1 BLKDROP2
LDGRAMS
NIP
1 PUSHINT
SDSKIPFIRST
LDGRAMS
NIP
LDGRAMS
DROP
3 MULCONST
1 RSHIFT#
}>
$__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
}>
$__gen_TONBWallet_init_child PROC:<{
s0 s2 XCHG
CTOS
LDDICT
DROP
NEWDICT
SWAP
24708 PUSHINT
__tact_dict_get_code INLINECALLDICT
SWAP
24708 PUSHINT
s2 PUSH
__tact_dict_set_code INLINECALLDICT
NEWC
STDICT
ENDC
s0 s0 s3 XCHG3
$__gen_TONBWallet_init CALLDICT
}>
2 years ago
$__gen_TONBWallet_get_wallet_data PROCREF:<{
3 BLKDROP
__tact_context_sys GETGLOB
s1 s2 PUSH2
$__gen_TONBWallet_init_child CALLDICT
__gen_StateInit_get_code INLINECALLDICT
}>
$__gen_get_get_wallet_data PROC:<{
__gen_load_TONBWallet INLINECALLDICT
2 years ago
$__gen_TONBWallet_get_wallet_data INLINECALLDICT
__gen_JettonWalletData_to_external INLINECALLDICT
}>
2 years ago
$__gen_TONBWallet_receive_TokenTransfer PROCINLINE:<{
2 2 BLKDROP2
44816 PUSHINT
s8 PUSH
NOT
THROWANYIFNOT
__tact_context_get INLINECALLDICT
4429 PUSHINT
s3 s14 PUSH2
__tact_address_eq INLINECALLDICT
THROWANYIFNOT
s14 s7 XCPU
SUB
62972 PUSHINT
OVER
-1 GTINT
THROWANYIFNOT
s3 s3 s0 XCHG3
s3 s14 PUXC
2 years ago
$__gen_Context_readForwardFee INLINECALLDICT
DROP
s2 PUSH
0 GTINT
IF:<{
}>
16059 PUSHINT
2 years ago
SWAP
50000000 PUSHINT
GREATER
THROWANYIFNOT
__tact_context_sys GETGLOB
s0 s9 s3 XCPUXC
$__gen_TONBWallet_init_child CALLDICT
2DUP
2 years ago
$contractAddress INLINECALLDICT
TRUE
s7 s6 XCHG2
0 PUSHINT
64 PUSHINT
2 years ago
PUSHNULL
PUSHNULL
16 s() PUSH
s0 s4 XCHG
17 s() PUSH
s0 s4 XCHG
s3 s10 XCHG
s11 s10 s11 XCHG3
__gen_writecell_TokenTransferInternal INLINECALLDICT
s5 s6 XCHG
s3 s4 XCHG
-ROT
2 years ago
$send INLINECALLDICT
}>
2 years ago
$__gen_TONBWallet_receive_TokenTransferInternal PROCINLINE:<{
s10 PUSH
2 years ago
IF:<{
2 years ago
6 BLKDROP
TRUE
0 PUSHINT
s0 s3 XCHG
64 PUSHINT
s3 s9 s9 XCPU2
__gen_writecell_TokenBurnNotification INLINECALLDICT
s3 s0 s7 XC2PU
s3 s3 XCHG2
PUSHNULL
PUSHNULL
$send INLINECALLDICT
2 years ago
}>ELSE<{
2 years ago
__tact_context_get INLINECALLDICT
s13 PUSH
ISNULL
IF:<{
s5 PUSH
ISNULL
NOT
IF:<{
s12 POP
s12 POP
s3 s11 XCHG
s2 s10 XCHG
}>ELSE<{
s4 POP
s4 POP
}>
}>ELSE<{
s4 POP
s4 POP
}>
s0 s13 PUSH2
__tact_address_neq INLINECALLDICT
s1 s11 PUSH2
__tact_address_neq INLINECALLDICT
AND
IF:<{
__tact_context_sys GETGLOB
s14 s8 PUSH2
$__gen_TONBWallet_init_child CALLDICT
SWAP
4429 PUSHINT
s0 s2 XCHG
$contractAddress INLINECALLDICT
s2 PUSH
__tact_address_eq INLINECALLDICT
THROWANYIFNOT
}>
s15 s8 XCPU
ADD
62972 PUSHINT
OVER
-1 GTINT
THROWANYIFNOT
2 years ago
s3 PUSH
__tact_my_balance INLINECALLDICT
OVER
SUB
10000000 PUSHINT
TUCK
MIN
SUB
10000000 PUSHINT
ADD
SUB
2 years ago
s6 PUSH
0 GTINT
IF:<{
s2 s3 XCHG
s0 16 s() XCHG
s4 s2 XCHG2
$__gen_Context_readForwardFee INLINECALLDICT
s3 s(-1) PUXC
ADD
s1 s13 XCHG
SUB
FALSE
0 PUSHINT
s8 PUSH
s8 s1 s3 XCHG3
s7 s4 XCHG2
__gen_writecell_TokenNotification INLINECALLDICT
s11 PUSH
s4 s6 XCHG
s3 s1 s3 XCHG3
s5 s5 XCHG2
PUSHNULL
PUSHNULL
$send INLINECALLDICT
s0 s8 XCHG2
}>ELSE<{
s7 16 s() XCHG
s8 s9 XCHG2
8 BLKDROP
}>
s8 PUSH
2 years ago
ISNULL
NOT
s2 PUSH
0 GTINT
AND
IF:<{
FALSE
s0 s9 XCHG
__tact_not_null INLINECALLDICT
0 PUSHINT
s0 s4 XCHG
__gen_writecell_TokenExcesses INLINECALLDICT
s4 s10 XCHG
s3 s3 s0 XCHG3
s1 s10 XCHG
PUSHNULL
PUSHNULL
$send INLINECALLDICT
}>ELSE<{
s8 POP
2DROP
}>
}>
}>
2 years ago
$__gen_TONBWallet_receive_TokenBurn PROCINLINE:<{
2DROP
__tact_context_get INLINECALLDICT
4429 PUSHINT
s3 s11 PUSH2
2 years ago
__tact_address_eq INLINECALLDICT
s4 s11 PUSH2
__tact_address_eq INLINECALLDICT
2 years ago
OR
s4 s8 PUSH2
__tact_address_eq INLINECALLDICT
OR
THROWANYIFNOT
s11 s4 XCPU
SUB
62972 PUSHINT
OVER
-1 GTINT
THROWANYIFNOT
s3 s3 s0 XCHG3
s3 s11 PUXC
2 years ago
$__gen_Context_readForwardFee INLINECALLDICT
DROP
16059 PUSHINT
SWAP
30000000 PUSHINT
GREATER
THROWANYIFNOT
TRUE
0 PUSHINT
s0 s3 XCHG
64 PUSHINT
s3 s9 s9 XCPU2
__gen_writecell_TokenBurnNotification INLINECALLDICT
s3 s0 s7 XC2PU
s3 s3 XCHG2
PUSHNULL
PUSHNULL
2 years ago
$send INLINECALLDICT
}>
2 years ago
$__gen_TONBWallet_receive_BlacklistWallet PROCINLINE:<{
DROP
s2 POP
__tact_context_get INLINECALLDICT
s2 s3 XCHG
3 BLKDROP
4429 PUSHINT
s1 s4 PUSH2
__tact_address_eq INLINECALLDICT
s2 s4 XCPU
__tact_address_eq INLINECALLDICT
s1 s2 XCHG
OR
THROWANYIFNOT
TRUE
0 PUSHINT
TRUE
s1 s1 PUSH2
64 PUSHINT
s10 s9 s9 XCPU2
__gen_writecell_TokenBurnNotification INLINECALLDICT
s7 PUSH
s0 s3 XCHG
s0 s4 XCHG
s10 s10 XCHG2
PUSHNULL
PUSHNULL
2 years ago
$send INLINECALLDICT
s0 s2 XCHG
}>
2 years ago
$__gen_TONBWallet_receive_bounced PROCINLINE:<{
32 PUSHINT
SDSKIPFIRST
32 LDU
64 LDU
NIP
LDGRAMS
DROP
13650 PUSHINT
s2 PUSH
395134233 PUSHINT
EQUAL
s0 s3 XCHG
2078119902 PUSHINT
EQUAL
s1 s3 XCHG
OR
s1 s2 XCHG
THROWANYIFNOT
s1 s6 XCHG
ADD
s0 s5 XCHG
}>
recv_internal PROC:<{
0 PUSHINT
OVER
SBITS
31 GTINT
IF:<{
DROP
DUP
32 PLDU
}>
s0 s2 XCHG
CTOS
4 LDU
SWAP
1 PUSHINT
AND
1 EQINT
IF:<{
TRUE
}>ELSE<{
FALSE
}>
SWAP
LDMSGADDR
s2 PUSH
s6 s6 XCHG2
4 TUPLE
__tact_context SETGLOB
s0 s2 XCHG
IFJMP:<{
DROP
__gen_load_TONBWallet INLINECALLDICT
6 ROLL
2 years ago
$__gen_TONBWallet_receive_bounced INLINECALLDICT
__gen_store_TONBWallet INLINECALLDICT
}>
DUP
260734629 PUSHINT
EQUAL
IFJMP:<{
DROP
__gen_load_TONBWallet INLINECALLDICT
s0 s6 XCHG
__gen_read_TokenTransfer INLINECALLDICT
s7 POP
s11 s12 XCHG
s10 s11 XCHG
2 years ago
s9 s10 XCHG
s8 s9 XCHG
s7 s8 XCHG
6 ROLL
2 years ago
$__gen_TONBWallet_receive_TokenTransfer INLINECALLDICT
__gen_store_TONBWallet INLINECALLDICT
}>
DUP
395134233 PUSHINT
EQUAL
IFJMP:<{
DROP
__gen_load_TONBWallet INLINECALLDICT
s0 s6 XCHG
__gen_read_TokenTransferInternal INLINECALLDICT
s8 POP
s12 s13 XCHG
s11 s12 XCHG
s10 s11 XCHG
2 years ago
s9 s10 XCHG
s8 s9 XCHG
7 ROLL
2 years ago
$__gen_TONBWallet_receive_TokenTransferInternal INLINECALLDICT
__gen_store_TONBWallet INLINECALLDICT
}>
DUP
1499400124 PUSHINT
EQUAL
IFJMP:<{
DROP
__gen_load_TONBWallet INLINECALLDICT
s0 s6 XCHG
__gen_read_TokenBurn INLINECALLDICT
s4 POP
s8 s9 XCHG
s7 s8 XCHG
2 years ago
s6 s7 XCHG
s5 s6 XCHG
s4 s5 XCHG
3 ROLL
2 years ago
$__gen_TONBWallet_receive_TokenBurn INLINECALLDICT
__gen_store_TONBWallet INLINECALLDICT
}>
43811734 PUSHINT
EQUAL
IFJMP:<{
__gen_load_TONBWallet INLINECALLDICT
s0 s6 XCHG
__gen_read_BlacklistWallet INLINECALLDICT
NIP
s5 s6 XCHG
s4 s5 XCHG
s3 s4 XCHG
s1 s3 s0 XCHG3
2 years ago
$__gen_TONBWallet_receive_BlacklistWallet INLINECALLDICT
__gen_store_TONBWallet INLINECALLDICT
}>
DROP
130 THROW
}>
supported_interfaces PROC:<{
123515602279859691144772641439386770278 PUSHINT
209801025412363888721030803524359905849 PUSHINT
209778528950190195973528115415557644819 PUSHINT
}>
get_abi_ipfs PROC:<{
x{697066733a2f2f516d6378547755796864576e567454516f667768696446736e6e48384a36634d726457775152356f396f4e576176} PUSHSLICE
}>
}END>c