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.

820 lines
15 KiB

PROGRAM{
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_dict_set_code
DECLPROC __tact_dict_get_code
DECLPROC __gen_write_TokenTransferInternal
DECLPROC __gen_writecell_TokenTransferInternal
DECLPROC __gen_write_TokenBurn
DECLPROC __gen_writecell_TokenBurn
DECLPROC __gen_read_TokenBurnNotification
DECLPROC __gen_write_TokenExcesses
DECLPROC __gen_writecell_TokenExcesses
DECLPROC __gen_read_TokenUpdateContent
DECLPROC __gen_read_Deposit
DECLPROC __gen_read_Withdraw
DECLPROC __gen_write_TONBWallet
DECLPROC __gen_write_TONB
DECLPROC __gen_read_TONB
DECLPROC __gen_StateInit_get_code
DECLPROC __gen_Context_get_sender
DECLPROC __gen_JettonData_to_external
DECLPROC __gen_load_TONB
DECLPROC __gen_store_TONB
DECLPROC $emptyCell
DECLPROC $__gen_Cell_asSlice
DECLPROC $emptySlice
DECLPROC $contractAddress
DECLPROC $send
DECLPROC $__gen_TONBWallet_init
DECLPROC $__gen_TONBWallet_init_child
DECLPROC $__gen_TONB_getJettonWalletInit
DECLPROC $__gen_TONB_get_wallet_address
103289 DECLMETHOD $__gen_get_get_wallet_address
DECLPROC $__gen_TONB_get_jetton_data
106029 DECLMETHOD $__gen_get_get_jetton_data
DECLPROC $__gen_TONB_mint
DECLPROC $__gen_TONB_burn
DECLPROC $__gen_TONB_requireWallet
DECLPROC $__gen_TONB_requireOwner
DECLPROC $__gen_TONB_owner
83229 DECLMETHOD $__gen_get_owner
DECLPROC $__gen_TONB_receive_Deposit
DECLPROC $__gen_TONB_receive
DECLPROC $__gen_TONB_receive_Withdraw
DECLPROC $__gen_TONB_receive_TokenUpdateContent
DECLPROC $__gen_TONB_receive_TokenBurnNotification
DECLPROC recv_internal
113617 DECLMETHOD supported_interfaces
DECLPROC get_abi_ipfs
DECLGLOBVAR __tact_context
DECLGLOBVAR __tact_context_sys
__tact_not_null PROC:<{
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_dict_set_code PROCINLINE:<{
s0 s2 XCHG
16 PUSHINT
DICTUSETREF
}>
__tact_dict_get_code PROCINLINE:<{
SWAP
16 PUSHINT
DICTUGETREF
NULLSWAPIFNOT
135 THROWIFNOT
}>
__gen_write_TokenTransferInternal PROCREF:<{
395134233 PUSHINT
s0 s7 XCHG2
32 STU
s1 s5 XCHG
64 STU
s0 s3 XCHG2
STGRAMS
SWAP
__tact_store_address INLINECALLDICT
SWAP
__tact_store_address_opt INLINECALLDICT
SWAP
STGRAMS
SWAP
STSLICER
}>
__gen_writecell_TokenTransferInternal PROCREF:<{
NEWC
6 -ROLL
__gen_write_TokenTransferInternal INLINECALLDICT
ENDC
}>
__gen_write_TokenBurn PROCREF:<{
1499400124 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_TokenBurn PROCREF:<{
NEWC
4 -ROLL
__gen_write_TokenBurn INLINECALLDICT
ENDC
}>
__gen_read_TokenBurnNotification PROCREF:<{
32 LDU
SWAP
2078119902 PUSHINT
EQUAL
129 THROWIFNOT
64 LDU
LDGRAMS
__tact_load_address INLINECALLDICT
SWAP
__tact_load_address_opt INLINECALLDICT
s1 s4 XCHG
s3 s3 s0 XCHG3
}>
__gen_write_TokenExcesses PROCREF:<{
3576854235 PUSHINT
ROT
32 STU
64 STU
}>
__gen_writecell_TokenExcesses PROCREF:<{
NEWC
SWAP
__gen_write_TokenExcesses INLINECALLDICT
ENDC
}>
__gen_read_TokenUpdateContent PROCREF:<{
32 LDU
SWAP
201882270 PUSHINT
EQUAL
129 THROWIFNOT
1 LDI
SWAP
IF:<{
LDREF
}>ELSE<{
PUSHNULL
SWAP
}>
SWAP
}>
__gen_read_Deposit PROCREF:<{
32 LDU
SWAP
569292295 PUSHINT
EQUAL
129 THROWIFNOT
LDGRAMS
SWAP
}>
__gen_read_Withdraw PROCREF:<{
32 LDU
SWAP
1616450832 PUSHINT
EQUAL
129 THROWIFNOT
257 PUSHINT
LDIX
SWAP
}>
__gen_write_TONBWallet PROCREF:<{
s2 s3 XCHG2
257 PUSHINT
STIX
SWAP
__tact_store_address INLINECALLDICT
SWAP
__tact_store_address INLINECALLDICT
}>
__gen_write_TONB PROCREF:<{
s8 s7 XCHG2
STGRAMS
s0 s5 XCHG2
__tact_store_address INLINECALLDICT
s3 PUSH
ISNULL
NOT
IF:<{
TRUE
SWAP
1 STI
s1 s3 XCHG
STREF
}>ELSE<{
s3 POP
FALSE
s0 s3 XCHG2
1 STI
}>
1 STI
SWAP
__tact_store_address_opt INLINECALLDICT
SWAP
__tact_store_address_opt INLINECALLDICT
s0 s2 XCHG
NEWC
257 PUSHINT
STIX
SWAP
__tact_store_address_opt INLINECALLDICT
ENDC
SWAP
STREF
}>
__gen_read_TONB PROCREF:<{
LDGRAMS
__tact_load_address INLINECALLDICT
SWAP
1 LDI
SWAP
IF:<{
LDREF
}>ELSE<{
PUSHNULL
SWAP
}>
1 LDI
__tact_load_address_opt INLINECALLDICT
SWAP
__tact_load_address_opt INLINECALLDICT
SWAP
LDREF
SWAP
CTOS
257 PUSHINT
LDIX
__tact_load_address_opt INLINECALLDICT
NIP
s2 s8 XCHG
s2 s7 XCHG
s2 s6 XCHG
s2 s5 XCHG
s2 s4 XCHG
s2 s3 XCHG
}>
__gen_StateInit_get_code PROCINLINE:<{
DROP
}>
__gen_Context_get_sender PROCINLINE:<{
s2 s3 XCHG
3 BLKDROP
}>
__gen_JettonData_to_external PROC:<{
}>
__gen_load_TONB PROCREF:<{
c4 PUSH
CTOS
LDREF
SWAP
__tact_context_sys SETGLOB
__gen_read_TONB INLINECALLDICT
1 8 BLKDROP2
}>
__gen_store_TONB PROCREF:<{
NEWC
__tact_context_sys GETGLOB
SWAP
STREF
8 -ROLL
__gen_write_TONB INLINECALLDICT
ENDC
c4 POP
}>
$emptyCell PROC:<{
NEWC
ENDC
}>
$__gen_Cell_asSlice PROC:<{
CTOS
}>
$emptySlice PROC:<{
$emptyCell CALLDICT
$__gen_Cell_asSlice CALLDICT
}>
$contractAddress PROC:<{
0 PUSHINT
-ROT
__tact_compute_contract_address INLINECALLDICT
}>
$send PROC:<{
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
__tact_not_null CALLDICT
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
__tact_not_null CALLDICT
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
__tact_not_null CALLDICT
SWAP
STREF
}>ELSE<{
NIP
FALSE
__tact_store_bool INLINECALLDICT
}>
ENDC
SWAP
SENDRAWMSG
}>
$__gen_TONBWallet_init PROC:<{
0 PUSHINT
s0 s3 XCHG
NEWC
STREF
s3 s1 s3 XCHG3
__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
}>
$__gen_TONB_getJettonWalletInit PROC:<{
__tact_context_sys GETGLOB
MYADDR
ROT
$__gen_TONBWallet_init_child CALLDICT
}>
$__gen_TONB_get_wallet_address PROC:<{
$__gen_TONB_getJettonWalletInit CALLDICT
8 2 BLKDROP2
$contractAddress CALLDICT
}>
$__gen_get_get_wallet_address PROC:<{
__gen_load_TONB INLINECALLDICT
8 ROLL
$__gen_TONB_get_wallet_address CALLDICT
}>
$__gen_TONB_get_jetton_data PROC:<{
MYADDR
$__gen_TONB_getJettonWalletInit CALLDICT
4 2 BLKDROP2
__gen_StateInit_get_code INLINECALLDICT
s3 s3 s0 XCHG3
}>
$__gen_get_get_jetton_data PROC:<{
__gen_load_TONB INLINECALLDICT
$__gen_TONB_get_jetton_data CALLDICT
__gen_JettonData_to_external CALLDICT
}>
$__gen_TONB_mint PROC:<{
s10 s1 XCPU
ADD
8 2 BLKSWAP
$__gen_TONB_getJettonWalletInit CALLDICT
2DUP
$contractAddress CALLDICT
FALSE
200000000 PUSHINT
0 PUSHINT
DUP
MYADDR
OVER
$emptySlice CALLDICT
s3 s5 XCHG
s4 18 s() XCHG
s2 s3 XCHG
s2 19 s() XCHG
__gen_writecell_TokenTransferInternal INLINECALLDICT
s5 s6 s0 XCHG3
s4 s14 XCHG
s3 s13 XCHG
s0 s14 s13 XCHG3
$send CALLDICT
2 6 BLKSWAP
}>
$__gen_TONB_burn PROC:<{
s7 s10 XCHG
s6 s9 XCHG
s5 s8 XCHG
s4 s10 XCHG
s3 s9 XCHG
s8 s10 s9 XCHG3
s8 PUSH
$__gen_TONB_getJettonWalletInit CALLDICT
2DUP
$contractAddress CALLDICT
FALSE
0 PUSHINT
64 PUSHINT
s1 s0 s2 PUXC2
s2 17 s() XCHG
s0 16 s() XCHG
s1 s15 XCHG
__gen_writecell_TokenBurn INLINECALLDICT
s6 s13 XCHG
s1 s5 XCHG
s4 s14 XCHG
s3 s12 XCHG
s12 s2 XCHG2
$send CALLDICT
s4 s7 XCHG
3 4 BLKSWAP
}>
$__gen_TONB_requireWallet PROC:<{
__tact_context_get INLINECALLDICT
s2 s3 XCHG
3 BLKDROP
9 -ROLL
$__gen_TONB_getJettonWalletInit CALLDICT
SWAP
4429 PUSHINT
s0 s2 XCHG
$contractAddress CALLDICT
s0 s10 XCHG2
__tact_address_eq INLINECALLDICT
s1 s9 XCHG
THROWANYIFNOT
7 ROLL
}>
$__gen_TONB_requireOwner PROC:<{
__tact_context_get INLINECALLDICT
__gen_Context_get_sender INLINECALLDICT
s7 PUSH
__tact_address_eq INLINECALLDICT
132 THROWIFNOT
}>
$__gen_TONB_owner PROC:<{
s6 s7 XCHG
7 BLKDROP
}>
$__gen_get_owner PROC:<{
__gen_load_TONB INLINECALLDICT
$__gen_TONB_owner CALLDICT
}>
$__gen_TONB_receive_Deposit PROC:<{
__tact_context_get INLINECALLDICT
DROP
32366 PUSHINT
s3 POP
50000000 PUSHINT
GEQ
s1 s2 XCHG
THROWANYIFNOT
TUCK
$__gen_TONB_mint CALLDICT
}>
$__gen_TONB_receive PROC:<{
}>
$__gen_TONB_receive_Withdraw PROC:<{
__tact_context_get INLINECALLDICT
DROP
6384 PUSHINT
s3 POP
50000000 PUSHINT
GEQ
s1 s2 XCHG
THROWANYIFNOT
TUCK
$__gen_TONB_burn CALLDICT
}>
$__gen_TONB_receive_TokenUpdateContent PROC:<{
8 -ROLL
$__gen_TONB_requireOwner CALLDICT
s5 POP
s6 s7 XCHG
s5 s6 XCHG
4 ROLL
}>
$__gen_TONB_receive_TokenBurnNotification PROC:<{
s8 s11 XCHG
s7 s10 XCHG
s6 s9 XCHG
s5 s11 XCHG
s4 s10 XCHG
s3 s9 XCHG
s11 s10 s10 XCHG3
$__gen_TONB_requireWallet CALLDICT
s7 s10 XCHG2
SUB
s8 PUSH
ISNULL
NOT
IF:<{
FALSE
s0 s9 XCHG
__tact_not_null CALLDICT
0 PUSHINT
66 PUSHINT
s0 s10 XCHG
__gen_writecell_TokenExcesses INLINECALLDICT
s4 s11 XCHG
s1 s3 s0 XCHG3
s1 s10 XCHG
PUSHNULL
PUSHNULL
$send CALLDICT
}>ELSE<{
s7 POP
s7 POP
}>
s5 s7 XCHG
s3 s6 XCHG
s5 s1 s3 XCHG3
s4 s2 XCHG2
}>
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:<{
2DROP
}>
DUP
569292295 PUSHINT
EQUAL
IFJMP:<{
DROP
__gen_load_TONB INLINECALLDICT
s0 s8 XCHG
__gen_read_Deposit INLINECALLDICT
NIP
s7 s8 XCHG
s6 s7 XCHG
s5 s6 XCHG
s4 s5 XCHG
s3 s4 XCHG
s1 s3 s0 XCHG3
$__gen_TONB_receive_Deposit CALLDICT
__gen_store_TONB INLINECALLDICT
}>
DUP
0 EQINT
s2 PUSH
SBITS
33 LESSINT
AND
IFJMP:<{
2DROP
__gen_load_TONB INLINECALLDICT
$__gen_TONB_receive CALLDICT
__gen_store_TONB INLINECALLDICT
}>
DUP
1616450832 PUSHINT
EQUAL
IFJMP:<{
DROP
__gen_load_TONB INLINECALLDICT
s0 s8 XCHG
__gen_read_Withdraw INLINECALLDICT
NIP
s7 s8 XCHG
s6 s7 XCHG
s5 s6 XCHG
s4 s5 XCHG
s3 s4 XCHG
s1 s3 s0 XCHG3
$__gen_TONB_receive_Withdraw CALLDICT
__gen_store_TONB INLINECALLDICT
}>
DUP
201882270 PUSHINT
EQUAL
IFJMP:<{
DROP
__gen_load_TONB INLINECALLDICT
s0 s8 XCHG
__gen_read_TokenUpdateContent INLINECALLDICT
NIP
s7 s8 XCHG
s6 s7 XCHG
s5 s6 XCHG
s4 s5 XCHG
s3 s4 XCHG
s1 s3 s0 XCHG3
$__gen_TONB_receive_TokenUpdateContent CALLDICT
__gen_store_TONB INLINECALLDICT
}>
2078119902 PUSHINT
EQUAL
IFJMP:<{
__gen_load_TONB INLINECALLDICT
s0 s8 XCHG
__gen_read_TokenBurnNotification INLINECALLDICT
s4 POP
s10 s11 XCHG
s9 s10 XCHG
s8 s9 XCHG
s7 s8 XCHG
s6 s7 XCHG
s5 s6 XCHG
s4 s5 XCHG
3 ROLL
$__gen_TONB_receive_TokenBurnNotification CALLDICT
__gen_store_TONB INLINECALLDICT
}>
DROP
130 THROW
}>
supported_interfaces PROC:<{
123515602279859691144772641439386770278 PUSHINT
209801025412363888721030803524359905849 PUSHINT
258390863389042349688353801369539695109 PUSHINT
86142586315491086060343270784266291122 PUSHINT
}>
get_abi_ipfs PROC:<{
x{697066733a2f2f516d61364a595074457958346973424a55554b644c4a5a73506533723569673658374e46667a6e37684242434643} PUSHSLICE
}>
}END>c