Skip to content

Commit bdf3812

Browse files
authored
Merge pull request #432 from tonkeeper/update-mooncx-abi
add schemes for mooncx liquidity
2 parents f87872d + 16a304c commit bdf3812

File tree

5 files changed

+96
-1
lines changed

5 files changed

+96
-1
lines changed

abi/get_methods.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ package abi
55
import (
66
"context"
77
"fmt"
8-
98
"github.com/tonkeeper/tongo/boc"
109
"github.com/tonkeeper/tongo/tlb"
1110
"github.com/tonkeeper/tongo/ton"

abi/interfaces.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2386,6 +2386,7 @@ func (c ContractInterface) IntMsgs() []msgDecoderFunc {
23862386
decodeFuncMoonSwapMsgBody,
23872387
decodeFuncMoonDepositLiquidityMsgBody,
23882388
decodeFuncMoonBoostPoolMsgBody,
2389+
decodeFuncMoonProvideLiquidityMsgBody,
23892390
}
23902391
case NftCollection:
23912392
return []msgDecoderFunc{

abi/messages.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,17 +184,22 @@ The list below contains the supported message operations, their names and opcode
184184
| MoonDeployOrder| 0x983432e2 |
185185
| MoonDepositLiquidity| 0xb31db781 |
186186
| MoonDepositLiquidity| 0xb31db781 |
187+
| MoonDepositRecord| 0xbaaa2c1b |
187188
| MoonFillOrder| 0x99b49842 |
188189
| MoonFillOrder| 0x99b49842 |
189190
| MoonOrderCancelled| 0x49f48ee9 |
190191
| MoonOrderPayout| 0x96612e37 |
192+
| MoonProvideLiquidity| 0x6b1b8a3f |
193+
| MoonProvideLiquiditySucceed| 0x737b4eb6 |
191194
| MoonSwap| 0xb37a900b |
192195
| MoonSwap| 0xb37a900b |
193196
| MoonSwapFailed| 0xc47c1f57 |
194197
| MoonSwapFailed| 0xc47c1f57 |
195198
| MoonSwapSucceed| 0xcb7f38d6 |
196199
| MoonSwapSucceed| 0xcb7f38d6 |
197200
| MoonVestingPayout| 0xb4fc3916 |
201+
| MoonWithdrawLiquidityNotify| 0xff86f067 |
202+
| MoonWithdrawLiquidityPayout| 0x90d3b4ad |
198203
| MultisigApprove| 0xa762230f |
199204
| MultisigApproveAccepted| 0x82609bf6 |
200205
| MultisigApproveRejected| 0xafaf283e |

abi/messages_generated.go

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,8 @@ var (
305305
decodeFuncGetRoyaltyParamsMsgBody = decodeMsg(tlb.Tag{Val: 0x693d3950, Len: 32}, GetRoyaltyParamsMsgOp, GetRoyaltyParamsMsgBody{})
306306
// 0x69d08679
307307
decodeFuncStormOrderCanceledMsgBody = decodeMsg(tlb.Tag{Val: 0x69d08679, Len: 32}, StormOrderCanceledMsgOp, StormOrderCanceledMsgBody{})
308+
// 0x6b1b8a3f
309+
decodeFuncMoonProvideLiquidityMsgBody = decodeMsg(tlb.Tag{Val: 0x6b1b8a3f, Len: 32}, MoonProvideLiquidityMsgOp, MoonProvideLiquidityMsgBody{})
308310
// 0x6bc79e7e
309311
decodeFuncCoffeeMevProtectHoldFundsMsgBody = decodeMsg(tlb.Tag{Val: 0x6bc79e7e, Len: 32}, CoffeeMevProtectHoldFundsMsgOp, CoffeeMevProtectHoldFundsMsgBody{})
310312
// 0x6cde12e2
@@ -335,6 +337,8 @@ var (
335337
decodeFuncWalletSignedInternalV5R1MsgBody = decodeMsg(tlb.Tag{Val: 0x73696e74, Len: 32}, WalletSignedInternalV5R1MsgOp, WalletSignedInternalV5R1MsgBody{})
336338
// 0x73756273
337339
decodeFuncSubscriptionPaymentMsgBody = decodeMsg(tlb.Tag{Val: 0x73756273, Len: 32}, SubscriptionPaymentMsgOp, SubscriptionPaymentMsgBody{})
340+
// 0x737b4eb6
341+
decodeFuncMoonProvideLiquiditySucceedMsgBody = decodeMsg(tlb.Tag{Val: 0x737b4eb6, Len: 32}, MoonProvideLiquiditySucceedMsgOp, MoonProvideLiquiditySucceedMsgBody{})
338342
// 0x74bb3427
339343
decodeFuncWhalesNominatorsStakeWithdrawDelayedMsgBody = decodeMsg(tlb.Tag{Val: 0x74bb3427, Len: 32}, WhalesNominatorsStakeWithdrawDelayedMsgOp, WhalesNominatorsStakeWithdrawDelayedMsgBody{})
340344
// 0x75097f5d
@@ -383,6 +387,8 @@ var (
383387
decodeFuncTonstakeControllerWithdrawValidatorMsgBody = decodeMsg(tlb.Tag{Val: 0x8efed779, Len: 32}, TonstakeControllerWithdrawValidatorMsgOp, TonstakeControllerWithdrawValidatorMsgBody{})
384388
// 0x90c80a07
385389
decodeFuncBemoUnstakeNotificationMsgBody = decodeMsg(tlb.Tag{Val: 0x90c80a07, Len: 32}, BemoUnstakeNotificationMsgOp, BemoUnstakeNotificationMsgBody{})
390+
// 0x90d3b4ad
391+
decodeFuncMoonWithdrawLiquidityPayoutMsgBody = decodeMsg(tlb.Tag{Val: 0x90d3b4ad, Len: 32}, MoonWithdrawLiquidityPayoutMsgOp, MoonWithdrawLiquidityPayoutMsgBody{})
386392
// 0x96612e37
387393
decodeFuncMoonOrderPayoutMsgBody = decodeMsg(tlb.Tag{Val: 0x96612e37, Len: 32}, MoonOrderPayoutMsgOp, MoonOrderPayoutMsgBody{})
388394
// 0x96aa1586
@@ -467,6 +473,8 @@ var (
467473
decodeFuncStormPayFundingMsgBody = decodeMsg(tlb.Tag{Val: 0xb652c441, Len: 32}, StormPayFundingMsgOp, StormPayFundingMsgBody{})
468474
// 0xb902e61a
469475
decodeFuncCoffeeCrossDexFailureMsgBody = decodeMsg(tlb.Tag{Val: 0xb902e61a, Len: 32}, CoffeeCrossDexFailureMsgOp, CoffeeCrossDexFailureMsgBody{})
476+
// 0xbaaa2c1b
477+
decodeFuncMoonDepositRecordMsgBody = decodeMsg(tlb.Tag{Val: 0xbaaa2c1b, Len: 32}, MoonDepositRecordMsgOp, MoonDepositRecordMsgBody{})
470478
// 0xbe5a7595
471479
decodeFuncCoffeeStakingInitMsgBody = decodeMsg(tlb.Tag{Val: 0xbe5a7595, Len: 32}, CoffeeStakingInitMsgOp, CoffeeStakingInitMsgBody{})
472480
// 0xc0ffee00
@@ -627,6 +635,8 @@ var (
627635
decodeFuncElectorRecoverStakeResponseMsgBody = decodeMsg(tlb.Tag{Val: 0xf96f7324, Len: 32}, ElectorRecoverStakeResponseMsgOp, ElectorRecoverStakeResponseMsgBody{})
628636
// 0xfb88e119
629637
decodeFuncJettonClaimAdminMsgBody = decodeMsg(tlb.Tag{Val: 0xfb88e119, Len: 32}, JettonClaimAdminMsgOp, JettonClaimAdminMsgBody{})
638+
// 0xff86f067
639+
decodeFuncMoonWithdrawLiquidityNotifyMsgBody = decodeMsg(tlb.Tag{Val: 0xff86f067, Len: 32}, MoonWithdrawLiquidityNotifyMsgOp, MoonWithdrawLiquidityNotifyMsgBody{})
630640
// 0xfffffffe
631641
decodeFuncBounceV2MsgBody = decodeMsg(tlb.Tag{Val: 0xfffffffe, Len: 32}, BounceV2MsgOp, BounceV2MsgBody{})
632642
// 0xffffffff
@@ -1085,6 +1095,9 @@ var opcodedMsgInDecodeFunctions = map[uint32]msgDecoderFunc{
10851095
// 0x69d08679
10861096
StormOrderCanceledMsgOpCode: decodeFuncStormOrderCanceledMsgBody,
10871097

1098+
// 0x6b1b8a3f
1099+
MoonProvideLiquidityMsgOpCode: decodeFuncMoonProvideLiquidityMsgBody,
1100+
10881101
// 0x6bc79e7e
10891102
CoffeeMevProtectHoldFundsMsgOpCode: decodeFuncCoffeeMevProtectHoldFundsMsgBody,
10901103

@@ -1130,6 +1143,9 @@ var opcodedMsgInDecodeFunctions = map[uint32]msgDecoderFunc{
11301143
// 0x73756273
11311144
SubscriptionPaymentMsgOpCode: decodeFuncSubscriptionPaymentMsgBody,
11321145

1146+
// 0x737b4eb6
1147+
MoonProvideLiquiditySucceedMsgOpCode: decodeFuncMoonProvideLiquiditySucceedMsgBody,
1148+
11331149
// 0x74bb3427
11341150
WhalesNominatorsStakeWithdrawDelayedMsgOpCode: decodeFuncWhalesNominatorsStakeWithdrawDelayedMsgBody,
11351151

@@ -1205,6 +1221,9 @@ var opcodedMsgInDecodeFunctions = map[uint32]msgDecoderFunc{
12051221
// 0x90c80a07
12061222
BemoUnstakeNotificationMsgOpCode: decodeFuncBemoUnstakeNotificationMsgBody,
12071223

1224+
// 0x90d3b4ad
1225+
MoonWithdrawLiquidityPayoutMsgOpCode: decodeFuncMoonWithdrawLiquidityPayoutMsgBody,
1226+
12081227
// 0x96612e37
12091228
MoonOrderPayoutMsgOpCode: decodeFuncMoonOrderPayoutMsgBody,
12101229

@@ -1332,6 +1351,9 @@ var opcodedMsgInDecodeFunctions = map[uint32]msgDecoderFunc{
13321351
// 0xb902e61a
13331352
CoffeeCrossDexFailureMsgOpCode: decodeFuncCoffeeCrossDexFailureMsgBody,
13341353

1354+
// 0xbaaa2c1b
1355+
MoonDepositRecordMsgOpCode: decodeFuncMoonDepositRecordMsgBody,
1356+
13351357
// 0xbe5a7595
13361358
CoffeeStakingInitMsgOpCode: decodeFuncCoffeeStakingInitMsgBody,
13371359

@@ -1572,6 +1594,9 @@ var opcodedMsgInDecodeFunctions = map[uint32]msgDecoderFunc{
15721594
// 0xfb88e119
15731595
JettonClaimAdminMsgOpCode: decodeFuncJettonClaimAdminMsgBody,
15741596

1597+
// 0xff86f067
1598+
MoonWithdrawLiquidityNotifyMsgOpCode: decodeFuncMoonWithdrawLiquidityNotifyMsgBody,
1599+
15751600
// 0xfffffffe
15761601
BounceV2MsgOpCode: decodeFuncBounceV2MsgBody,
15771602

@@ -1729,6 +1754,7 @@ const (
17291754
TopUpChannelBalanceMsgOp MsgOpName = "TopUpChannelBalance"
17301755
GetRoyaltyParamsMsgOp MsgOpName = "GetRoyaltyParams"
17311756
StormOrderCanceledMsgOp MsgOpName = "StormOrderCanceled"
1757+
MoonProvideLiquidityMsgOp MsgOpName = "MoonProvideLiquidity"
17321758
CoffeeMevProtectHoldFundsMsgOp MsgOpName = "CoffeeMevProtectHoldFunds"
17331759
StormUnsuccessfulDepositMsgOp MsgOpName = "StormUnsuccessfulDeposit"
17341760
WalletPluginInstallationNotificationMsgOp MsgOpName = "WalletPluginInstallationNotification"
@@ -1744,6 +1770,7 @@ const (
17441770
JettonNotifyMsgOp MsgOpName = "JettonNotify"
17451771
WalletSignedInternalV5R1MsgOp MsgOpName = "WalletSignedInternalV5R1"
17461772
SubscriptionPaymentMsgOp MsgOpName = "SubscriptionPayment"
1773+
MoonProvideLiquiditySucceedMsgOp MsgOpName = "MoonProvideLiquiditySucceed"
17471774
WhalesNominatorsStakeWithdrawDelayedMsgOp MsgOpName = "WhalesNominatorsStakeWithdrawDelayed"
17481775
MultisigExecuteMsgOp MsgOpName = "MultisigExecute"
17491776
SubscriptionFallbackMsgOp MsgOpName = "SubscriptionFallback"
@@ -1768,6 +1795,7 @@ const (
17681795
ReportStaticDataMsgOp MsgOpName = "ReportStaticData"
17691796
TonstakeControllerWithdrawValidatorMsgOp MsgOpName = "TonstakeControllerWithdrawValidator"
17701797
BemoUnstakeNotificationMsgOp MsgOpName = "BemoUnstakeNotification"
1798+
MoonWithdrawLiquidityPayoutMsgOp MsgOpName = "MoonWithdrawLiquidityPayout"
17711799
MoonOrderPayoutMsgOp MsgOpName = "MoonOrderPayout"
17721800
MoonBoostPoolMsgOp MsgOpName = "MoonBoostPool"
17731801
TonstakeControllerPoolUpgradeMsgOp MsgOpName = "TonstakeControllerPoolUpgrade"
@@ -1810,6 +1838,7 @@ const (
18101838
StorageContractTerminatedMsgOp MsgOpName = "StorageContractTerminated"
18111839
StormPayFundingMsgOp MsgOpName = "StormPayFunding"
18121840
CoffeeCrossDexFailureMsgOp MsgOpName = "CoffeeCrossDexFailure"
1841+
MoonDepositRecordMsgOp MsgOpName = "MoonDepositRecord"
18131842
CoffeeStakingInitMsgOp MsgOpName = "CoffeeStakingInit"
18141843
CoffeeSwapMsgOp MsgOpName = "CoffeeSwap"
18151844
CoffeeSwapExtraMsgOp MsgOpName = "CoffeeSwapExtra"
@@ -1890,6 +1919,7 @@ const (
18901919
CoffeeStakingDepositMsgOp MsgOpName = "CoffeeStakingDeposit"
18911920
ElectorRecoverStakeResponseMsgOp MsgOpName = "ElectorRecoverStakeResponse"
18921921
JettonClaimAdminMsgOp MsgOpName = "JettonClaimAdmin"
1922+
MoonWithdrawLiquidityNotifyMsgOp MsgOpName = "MoonWithdrawLiquidityNotify"
18931923
BounceV2MsgOp MsgOpName = "BounceV2"
18941924
BounceMsgOp MsgOpName = "Bounce"
18951925
)
@@ -2044,6 +2074,7 @@ const (
20442074
TopUpChannelBalanceMsgOpCode MsgOpCode = 0x67c7d281
20452075
GetRoyaltyParamsMsgOpCode MsgOpCode = 0x693d3950
20462076
StormOrderCanceledMsgOpCode MsgOpCode = 0x69d08679
2077+
MoonProvideLiquidityMsgOpCode MsgOpCode = 0x6b1b8a3f
20472078
CoffeeMevProtectHoldFundsMsgOpCode MsgOpCode = 0x6bc79e7e
20482079
StormUnsuccessfulDepositMsgOpCode MsgOpCode = 0x6cde12e2
20492080
WalletPluginInstallationNotificationMsgOpCode MsgOpCode = 0x6e6f7465
@@ -2059,6 +2090,7 @@ const (
20592090
JettonNotifyMsgOpCode MsgOpCode = 0x7362d09c
20602091
WalletSignedInternalV5R1MsgOpCode MsgOpCode = 0x73696e74
20612092
SubscriptionPaymentMsgOpCode MsgOpCode = 0x73756273
2093+
MoonProvideLiquiditySucceedMsgOpCode MsgOpCode = 0x737b4eb6
20622094
WhalesNominatorsStakeWithdrawDelayedMsgOpCode MsgOpCode = 0x74bb3427
20632095
MultisigExecuteMsgOpCode MsgOpCode = 0x75097f5d
20642096
SubscriptionFallbackMsgOpCode MsgOpCode = 0x756e6b77
@@ -2083,6 +2115,7 @@ const (
20832115
ReportStaticDataMsgOpCode MsgOpCode = 0x8b771735
20842116
TonstakeControllerWithdrawValidatorMsgOpCode MsgOpCode = 0x8efed779
20852117
BemoUnstakeNotificationMsgOpCode MsgOpCode = 0x90c80a07
2118+
MoonWithdrawLiquidityPayoutMsgOpCode MsgOpCode = 0x90d3b4ad
20862119
MoonOrderPayoutMsgOpCode MsgOpCode = 0x96612e37
20872120
MoonBoostPoolMsgOpCode MsgOpCode = 0x96aa1586
20882121
TonstakeControllerPoolUpgradeMsgOpCode MsgOpCode = 0x96e7f528
@@ -2125,6 +2158,7 @@ const (
21252158
StorageContractTerminatedMsgOpCode MsgOpCode = 0xb6236d63
21262159
StormPayFundingMsgOpCode MsgOpCode = 0xb652c441
21272160
CoffeeCrossDexFailureMsgOpCode MsgOpCode = 0xb902e61a
2161+
MoonDepositRecordMsgOpCode MsgOpCode = 0xbaaa2c1b
21282162
CoffeeStakingInitMsgOpCode MsgOpCode = 0xbe5a7595
21292163
CoffeeSwapMsgOpCode MsgOpCode = 0xc0ffee00
21302164
CoffeeSwapExtraMsgOpCode MsgOpCode = 0xc0ffee01
@@ -2205,6 +2239,7 @@ const (
22052239
CoffeeStakingDepositMsgOpCode MsgOpCode = 0xf9471134
22062240
ElectorRecoverStakeResponseMsgOpCode MsgOpCode = 0xf96f7324
22072241
JettonClaimAdminMsgOpCode MsgOpCode = 0xfb88e119
2242+
MoonWithdrawLiquidityNotifyMsgOpCode MsgOpCode = 0xff86f067
22082243
BounceV2MsgOpCode MsgOpCode = 0xfffffffe
22092244
BounceMsgOpCode MsgOpCode = 0xffffffff
22102245
)
@@ -3300,6 +3335,14 @@ type GetRoyaltyParamsMsgBody struct {
33003335

33013336
type StormOrderCanceledMsgBody struct{}
33023337

3338+
type MoonProvideLiquidityMsgBody struct {
3339+
QueryId uint64
3340+
Amount1 tlb.Grams
3341+
Amount2 tlb.Grams
3342+
User tlb.MsgAddress
3343+
MinLpAmount tlb.Grams
3344+
}
3345+
33033346
type CoffeeMevProtectHoldFundsMsgBody struct {
33043347
QueryId uint64
33053348
}
@@ -3389,6 +3432,8 @@ type WalletSignedInternalV5R1MsgBody struct {
33893432

33903433
type SubscriptionPaymentMsgBody struct{}
33913434

3435+
type MoonProvideLiquiditySucceedMsgBody struct{}
3436+
33923437
type WhalesNominatorsStakeWithdrawDelayedMsgBody struct {
33933438
QueryId int64
33943439
}
@@ -3539,6 +3584,10 @@ type BemoUnstakeNotificationMsgBody struct {
35393584
ForwardPayload *tlb.Any `tlb:"maybe^"`
35403585
}
35413586

3587+
type MoonWithdrawLiquidityPayoutMsgBody struct {
3588+
QueryId uint64
3589+
}
3590+
35423591
type MoonOrderPayoutMsgBody struct {
35433592
QueryId uint64
35443593
}
@@ -3834,6 +3883,13 @@ type CoffeeCrossDexFailureMsgBody struct {
38343883
Recipient tlb.MsgAddress
38353884
}
38363885

3886+
type MoonDepositRecordMsgBody struct {
3887+
QueryId uint64
3888+
AssetNumber uint8
3889+
DepositAmount tlb.Grams
3890+
MinLpAmount tlb.Grams
3891+
}
3892+
38373893
type CoffeeStakingInitMsgBody struct {
38383894
QueryId uint64
38393895
Owner tlb.MsgAddress
@@ -4363,6 +4419,10 @@ type JettonClaimAdminMsgBody struct {
43634419
QueryId uint64
43644420
}
43654421

4422+
type MoonWithdrawLiquidityNotifyMsgBody struct {
4423+
QueryId uint64
4424+
}
4425+
43664426
type BounceV2MsgBody struct {
43674427
OriginalBody tlb.Any `tlb:"^"`
43684428
OriginalInfo NewBounceOriginalInfo `tlb:"^"`
@@ -4525,6 +4585,7 @@ var KnownMsgInTypes = map[string]any{
45254585
TopUpChannelBalanceMsgOp: TopUpChannelBalanceMsgBody{},
45264586
GetRoyaltyParamsMsgOp: GetRoyaltyParamsMsgBody{},
45274587
StormOrderCanceledMsgOp: StormOrderCanceledMsgBody{},
4588+
MoonProvideLiquidityMsgOp: MoonProvideLiquidityMsgBody{},
45284589
CoffeeMevProtectHoldFundsMsgOp: CoffeeMevProtectHoldFundsMsgBody{},
45294590
StormUnsuccessfulDepositMsgOp: StormUnsuccessfulDepositMsgBody{},
45304591
WalletPluginInstallationNotificationMsgOp: WalletPluginInstallationNotificationMsgBody{},
@@ -4540,6 +4601,7 @@ var KnownMsgInTypes = map[string]any{
45404601
JettonNotifyMsgOp: JettonNotifyMsgBody{},
45414602
WalletSignedInternalV5R1MsgOp: WalletSignedInternalV5R1MsgBody{},
45424603
SubscriptionPaymentMsgOp: SubscriptionPaymentMsgBody{},
4604+
MoonProvideLiquiditySucceedMsgOp: MoonProvideLiquiditySucceedMsgBody{},
45434605
WhalesNominatorsStakeWithdrawDelayedMsgOp: WhalesNominatorsStakeWithdrawDelayedMsgBody{},
45444606
MultisigExecuteMsgOp: MultisigExecuteMsgBody{},
45454607
SubscriptionFallbackMsgOp: SubscriptionFallbackMsgBody{},
@@ -4564,6 +4626,7 @@ var KnownMsgInTypes = map[string]any{
45644626
ReportStaticDataMsgOp: ReportStaticDataMsgBody{},
45654627
TonstakeControllerWithdrawValidatorMsgOp: TonstakeControllerWithdrawValidatorMsgBody{},
45664628
BemoUnstakeNotificationMsgOp: BemoUnstakeNotificationMsgBody{},
4629+
MoonWithdrawLiquidityPayoutMsgOp: MoonWithdrawLiquidityPayoutMsgBody{},
45674630
MoonOrderPayoutMsgOp: MoonOrderPayoutMsgBody{},
45684631
MoonBoostPoolMsgOp: MoonBoostPoolMsgBody{},
45694632
TonstakeControllerPoolUpgradeMsgOp: TonstakeControllerPoolUpgradeMsgBody{},
@@ -4606,6 +4669,7 @@ var KnownMsgInTypes = map[string]any{
46064669
StorageContractTerminatedMsgOp: StorageContractTerminatedMsgBody{},
46074670
StormPayFundingMsgOp: StormPayFundingMsgBody{},
46084671
CoffeeCrossDexFailureMsgOp: CoffeeCrossDexFailureMsgBody{},
4672+
MoonDepositRecordMsgOp: MoonDepositRecordMsgBody{},
46094673
CoffeeStakingInitMsgOp: CoffeeStakingInitMsgBody{},
46104674
CoffeeSwapMsgOp: CoffeeSwapMsgBody{},
46114675
CoffeeSwapExtraMsgOp: CoffeeSwapExtraMsgBody{},
@@ -4686,6 +4750,7 @@ var KnownMsgInTypes = map[string]any{
46864750
CoffeeStakingDepositMsgOp: CoffeeStakingDepositMsgBody{},
46874751
ElectorRecoverStakeResponseMsgOp: ElectorRecoverStakeResponseMsgBody{},
46884752
JettonClaimAdminMsgOp: JettonClaimAdminMsgBody{},
4753+
MoonWithdrawLiquidityNotifyMsgOp: MoonWithdrawLiquidityNotifyMsgBody{},
46894754
BounceV2MsgOp: BounceV2MsgBody{},
46904755
BounceMsgOp: BounceMsgBody{},
46914756
}

abi/schemas/mooncx.xml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,18 @@
2222
<internal name="moon_swap"/> <!-- TON: https://tonviewer.com/transaction/79b5f0c733d8d19f92b6dee74206b83c384a83744372c8116088739df6c94b71 JETTON: https://tonviewer.com/transaction/6822964e3f54a6df48a7436254ba40639399f8b00caaeea3e348d02e31f8c73d -->
2323
<internal name="moon_deposit_liquidity"/> <!-- https://tonviewer.com/transaction/44cafbf7f7f63baf4e7cb3faae8cd652f0b50376f747a633707726c67304981c -->
2424
<internal name="moon_boost_pool"/> <!-- https://tonviewer.com/transaction/9c5bfaf9249eb43b5100bb6e67285e518992c61b67d76e9a2c282715c20e7644 -->
25+
<internal name="moon_provide_liquidity"/> <!-- https://tonviewer.com/transaction/4dc08ead5577d140fca17464352cacb9c7e42f6a579dcbcdc94c7e21f4aa61b9 -->
2526
</msg_in>
2627

2728
<msg_out>
2829
<internal name="jetton_notify"/>
2930
<internal name="jetton_transfer"/>
3031
<internal name="moon_swap_succeed"/> <!-- https://tonviewer.com/transaction/9a6bc49bf1018bf64341c263350aec98f5bad21821bde295c4e881f017f05486 -->
3132
<internal name="moon_swap_failed"/> <!-- https://tonviewer.com/transaction/0ed4bf1a11d76f8108b62df6e45aa73dd1a882b706f116c29af4c2c598f77582 -->
33+
<internal name="moon_provide_liquidity_succeed"/> <!-- https://tonviewer.com/transaction/dd8c58a1e8b921c2bf2f072a19dff2ec52875e251c5c6f195202e8a26295f0ee -->
34+
<internal name="moon_deposit_record"/> <!-- https://tonviewer.com/transaction/331c3d946bde0f34892842671c6d99038586419002334559b7112fc0e613e397 -->
35+
<internal name="moon_withdraw_liquidity_payout"/> <!-- https://tonviewer.com/transaction/58747ac5bbf4bfc7ce9932118f82fb4cfa6a0915a5364cf7608f1f500a83464d -->
36+
<internal name="moon_withdraw_liquidity_notify"/> <!-- https://tonviewer.com/transaction/aff787cafe9f18ab7f1dc25e588fb23a1d79bd9389116aec6693db6be54ebf9c -->
3237
</msg_out>
3338

3439
</interface>
@@ -202,6 +207,26 @@
202207
moon_order_cancelled#49f48ee9 query_id:uint64 = InMsgBody;
203208
</internal>
204209

210+
<internal name="moon_deposit_record">
211+
moon_deposit_record#baaa2c1b query_id:uint64 asset_number:uint8 deposit_amount:coins min_lp_amount:coins = InMsgBody;
212+
</internal>
213+
214+
<internal name="moon_provide_liquidity">
215+
moon_provide_liquidity#6b1b8a3f query_id:uint64 amount1:coins amount2:coins user:MsgAddress min_lp_amount:coins = InMsgBody;
216+
</internal>
217+
218+
<internal name="moon_provide_liquidity_succeed">
219+
moon_provide_liquidity_succeed#737b4eb6 = InMsgBody;
220+
</internal>
221+
222+
<internal name="moon_withdraw_liquidity_payout">
223+
moon_withdraw_liquidity_payout#90d3b4ad query_id:uint64 = InMsgBody;
224+
</internal>
225+
226+
<internal name="moon_withdraw_liquidity_notify">
227+
moon_withdraw_liquidity_notify#ff86f067 query_id:uint64 = InMsgBody;
228+
</internal>
229+
205230

206231
<jetton_payload name="moon_swap">
207232
moon_swap#b37a900b swap_params:MoonSwapParams = ForwardPayload;

0 commit comments

Comments
 (0)