damm-sdk 1.1.30-alpha.20 → 1.1.30-alpha.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +760 -5
- package/dist/index.cjs.map +6 -3
- package/dist/index.js +4197 -2925
- package/dist/index.js.map +23 -14
- package/dist/integrations/cctp/cctp.v2.d.ts +28 -0
- package/dist/integrations/cctp/cctp.v2.d.ts.map +1 -0
- package/dist/integrations/cctp/index.d.ts +4 -0
- package/dist/integrations/cctp/index.d.ts.map +1 -0
- package/dist/integrations/cctp/message.transmitter.v2.abi.d.ts +640 -0
- package/dist/integrations/cctp/message.transmitter.v2.abi.d.ts.map +1 -0
- package/dist/integrations/cctp/token.messenger.v2.abi.d.ts +640 -0
- package/dist/integrations/cctp/token.messenger.v2.abi.d.ts.map +1 -0
- package/dist/integrations/index.d.ts +1 -0
- package/dist/integrations/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/integrations/cctp/cctp.v2.ts +94 -0
- package/src/integrations/cctp/index.ts +3 -0
- package/src/integrations/cctp/message.transmitter.v2.abi.ts +351 -0
- package/src/integrations/cctp/token.messenger.v2.abi.ts +351 -0
- package/src/integrations/index.ts +1 -0
- package/src/lib/contractsRegistry.json +0 -4
package/dist/index.cjs
CHANGED
|
@@ -44343,6 +44343,7 @@ __export(exports_src, {
|
|
|
44343
44343
|
repayToLendleTrx: () => repayToLendleTrx,
|
|
44344
44344
|
repayToAaveV3Trx: () => repayToAaveV3Trx,
|
|
44345
44345
|
repayMorphoBlueTrx: () => repayMorphoBlueTrx,
|
|
44346
|
+
receiveMessageFromCctpTrx: () => receiveMessageFromCctpTrx,
|
|
44346
44347
|
merklClaimTrx: () => merklClaimTrx,
|
|
44347
44348
|
merklClaimCalldata: () => merklClaimCalldata,
|
|
44348
44349
|
merklAbi: () => merkl_distributor_abi_default,
|
|
@@ -44362,6 +44363,7 @@ __export(exports_src, {
|
|
|
44362
44363
|
execTransactionFromModuleTrx: () => execTransactionFromModuleTrx,
|
|
44363
44364
|
depositToLendleTrx: () => depositToLendleTrx,
|
|
44364
44365
|
depositMorphoVaultTrx: () => depositMorphoVaultTrx,
|
|
44366
|
+
depositForBurnToCctpTrx: () => depositForBurnToCctpTrx,
|
|
44365
44367
|
createVaultProxyTrx: () => createVaultProxyTrx,
|
|
44366
44368
|
createOrderTrx: () => createOrderTrx,
|
|
44367
44369
|
createCall: () => createCall,
|
|
@@ -44436,6 +44438,7 @@ __export(exports_src, {
|
|
|
44436
44438
|
RepayToLendleCalldata: () => RepayToLendleCalldata,
|
|
44437
44439
|
RepayToAaveV3L1Calldata: () => RepayToAaveV3L1Calldata,
|
|
44438
44440
|
RepayMorphoBlueCalldata: () => RepayMorphoBlueCalldata,
|
|
44441
|
+
ReceiveMessageCalldata: () => ReceiveMessageCalldata,
|
|
44439
44442
|
QuoteSendTrx: () => QuoteSendTrx,
|
|
44440
44443
|
QuoteSendCalldata: () => QuoteSendCalldata,
|
|
44441
44444
|
Permit2Abi: () => permit2_abi_default,
|
|
@@ -44453,6 +44456,7 @@ __export(exports_src, {
|
|
|
44453
44456
|
ERC721: () => erc721_abi_default,
|
|
44454
44457
|
DepositToLendleCalldata: () => DepositToLendleCalldata,
|
|
44455
44458
|
DepositMorphoVaultCalldata: () => DepositMorphoVaultCalldata,
|
|
44459
|
+
DepositForBurnCalldata: () => DepositForBurnCalldata,
|
|
44456
44460
|
DelayedTransactionCalldata: () => DelayedTransactionCalldata,
|
|
44457
44461
|
DecreasePositionSwapType: () => DecreasePositionSwapType,
|
|
44458
44462
|
DELEGATE_CALL_OP_CODE: () => DELEGATE_CALL_OP_CODE,
|
|
@@ -44461,6 +44465,8 @@ __export(exports_src, {
|
|
|
44461
44465
|
CreateOrderCalldata: () => CreateOrderCalldata,
|
|
44462
44466
|
Commands: () => Commands,
|
|
44463
44467
|
ClaimFundingFeesCalldata: () => ClaimFundingFeesCalldata,
|
|
44468
|
+
CctpTokenMessengerV2Abi: () => token_messenger_v2_abi_default,
|
|
44469
|
+
CctpMessageTransmitterV2Abi: () => message_transmitter_v2_abi_default,
|
|
44464
44470
|
CancelOrderCalldata: () => CancelOrderCalldata,
|
|
44465
44471
|
CALL_OP_CODE: () => CALL_OP_CODE,
|
|
44466
44472
|
BorrowMorphoBlueCalldata: () => BorrowMorphoBlueCalldata,
|
|
@@ -54016,10 +54022,6 @@ var contractsRegistry_default = {
|
|
|
54016
54022
|
},
|
|
54017
54023
|
multicall3: "0xcA11bde05977b3631167028862bE2a173976CA11",
|
|
54018
54024
|
permit2: "0x000000000022D473030F116dDEE9F6B43aC78BA3",
|
|
54019
|
-
cctp: {
|
|
54020
|
-
tokenMessengerV2: "0x28b5a0e9C621a5BadaA536219b3a228C8168cf5d",
|
|
54021
|
-
messageTransmitterV2: "0x81D40F21F12A8F0E3252Bccb954D722d4c464B64"
|
|
54022
|
-
},
|
|
54023
54025
|
poster: "0x000000000000cd17345801aa8147b8D3950260FF"
|
|
54024
54026
|
}
|
|
54025
54027
|
};
|
|
@@ -84883,6 +84885,759 @@ var sendOFTTrx = ({
|
|
|
84883
84885
|
value: args.nativeFee
|
|
84884
84886
|
});
|
|
84885
84887
|
};
|
|
84888
|
+
// src/integrations/cctp/message.transmitter.v2.abi.ts
|
|
84889
|
+
var message_transmitter_v2_abi_default = [
|
|
84890
|
+
{
|
|
84891
|
+
inputs: [
|
|
84892
|
+
{ internalType: "address", name: "_messageTransmitter", type: "address" },
|
|
84893
|
+
{ internalType: "uint32", name: "_messageBodyVersion", type: "uint32" }
|
|
84894
|
+
],
|
|
84895
|
+
stateMutability: "nonpayable",
|
|
84896
|
+
type: "constructor"
|
|
84897
|
+
},
|
|
84898
|
+
{
|
|
84899
|
+
anonymous: false,
|
|
84900
|
+
inputs: [{ indexed: true, internalType: "address", name: "account", type: "address" }],
|
|
84901
|
+
name: "Denylisted",
|
|
84902
|
+
type: "event"
|
|
84903
|
+
},
|
|
84904
|
+
{
|
|
84905
|
+
anonymous: false,
|
|
84906
|
+
inputs: [
|
|
84907
|
+
{ indexed: true, internalType: "address", name: "oldDenylister", type: "address" },
|
|
84908
|
+
{ indexed: true, internalType: "address", name: "newDenylister", type: "address" }
|
|
84909
|
+
],
|
|
84910
|
+
name: "DenylisterChanged",
|
|
84911
|
+
type: "event"
|
|
84912
|
+
},
|
|
84913
|
+
{
|
|
84914
|
+
anonymous: false,
|
|
84915
|
+
inputs: [
|
|
84916
|
+
{ indexed: true, internalType: "address", name: "burnToken", type: "address" },
|
|
84917
|
+
{ indexed: false, internalType: "uint256", name: "amount", type: "uint256" },
|
|
84918
|
+
{ indexed: true, internalType: "address", name: "depositor", type: "address" },
|
|
84919
|
+
{ indexed: false, internalType: "bytes32", name: "mintRecipient", type: "bytes32" },
|
|
84920
|
+
{ indexed: false, internalType: "uint32", name: "destinationDomain", type: "uint32" },
|
|
84921
|
+
{ indexed: false, internalType: "bytes32", name: "destinationTokenMessenger", type: "bytes32" },
|
|
84922
|
+
{ indexed: false, internalType: "bytes32", name: "destinationCaller", type: "bytes32" },
|
|
84923
|
+
{ indexed: false, internalType: "uint256", name: "maxFee", type: "uint256" },
|
|
84924
|
+
{ indexed: true, internalType: "uint32", name: "minFinalityThreshold", type: "uint32" },
|
|
84925
|
+
{ indexed: false, internalType: "bytes", name: "hookData", type: "bytes" }
|
|
84926
|
+
],
|
|
84927
|
+
name: "DepositForBurn",
|
|
84928
|
+
type: "event"
|
|
84929
|
+
},
|
|
84930
|
+
{
|
|
84931
|
+
anonymous: false,
|
|
84932
|
+
inputs: [{ indexed: false, internalType: "address", name: "feeRecipient", type: "address" }],
|
|
84933
|
+
name: "FeeRecipientSet",
|
|
84934
|
+
type: "event"
|
|
84935
|
+
},
|
|
84936
|
+
{
|
|
84937
|
+
anonymous: false,
|
|
84938
|
+
inputs: [{ indexed: false, internalType: "uint64", name: "version", type: "uint64" }],
|
|
84939
|
+
name: "Initialized",
|
|
84940
|
+
type: "event"
|
|
84941
|
+
},
|
|
84942
|
+
{
|
|
84943
|
+
anonymous: false,
|
|
84944
|
+
inputs: [{ indexed: false, internalType: "address", name: "localMinter", type: "address" }],
|
|
84945
|
+
name: "LocalMinterAdded",
|
|
84946
|
+
type: "event"
|
|
84947
|
+
},
|
|
84948
|
+
{
|
|
84949
|
+
anonymous: false,
|
|
84950
|
+
inputs: [{ indexed: false, internalType: "address", name: "localMinter", type: "address" }],
|
|
84951
|
+
name: "LocalMinterRemoved",
|
|
84952
|
+
type: "event"
|
|
84953
|
+
},
|
|
84954
|
+
{
|
|
84955
|
+
anonymous: false,
|
|
84956
|
+
inputs: [
|
|
84957
|
+
{ indexed: true, internalType: "address", name: "mintRecipient", type: "address" },
|
|
84958
|
+
{ indexed: false, internalType: "uint256", name: "amount", type: "uint256" },
|
|
84959
|
+
{ indexed: true, internalType: "address", name: "mintToken", type: "address" },
|
|
84960
|
+
{ indexed: false, internalType: "uint256", name: "feeCollected", type: "uint256" }
|
|
84961
|
+
],
|
|
84962
|
+
name: "MintAndWithdraw",
|
|
84963
|
+
type: "event"
|
|
84964
|
+
},
|
|
84965
|
+
{
|
|
84966
|
+
anonymous: false,
|
|
84967
|
+
inputs: [
|
|
84968
|
+
{ indexed: true, internalType: "address", name: "previousOwner", type: "address" },
|
|
84969
|
+
{ indexed: true, internalType: "address", name: "newOwner", type: "address" }
|
|
84970
|
+
],
|
|
84971
|
+
name: "OwnershipTransferStarted",
|
|
84972
|
+
type: "event"
|
|
84973
|
+
},
|
|
84974
|
+
{
|
|
84975
|
+
anonymous: false,
|
|
84976
|
+
inputs: [
|
|
84977
|
+
{ indexed: true, internalType: "address", name: "previousOwner", type: "address" },
|
|
84978
|
+
{ indexed: true, internalType: "address", name: "newOwner", type: "address" }
|
|
84979
|
+
],
|
|
84980
|
+
name: "OwnershipTransferred",
|
|
84981
|
+
type: "event"
|
|
84982
|
+
},
|
|
84983
|
+
{
|
|
84984
|
+
anonymous: false,
|
|
84985
|
+
inputs: [
|
|
84986
|
+
{ indexed: false, internalType: "uint32", name: "domain", type: "uint32" },
|
|
84987
|
+
{ indexed: false, internalType: "bytes32", name: "tokenMessenger", type: "bytes32" }
|
|
84988
|
+
],
|
|
84989
|
+
name: "RemoteTokenMessengerAdded",
|
|
84990
|
+
type: "event"
|
|
84991
|
+
},
|
|
84992
|
+
{
|
|
84993
|
+
anonymous: false,
|
|
84994
|
+
inputs: [
|
|
84995
|
+
{ indexed: false, internalType: "uint32", name: "domain", type: "uint32" },
|
|
84996
|
+
{ indexed: false, internalType: "bytes32", name: "tokenMessenger", type: "bytes32" }
|
|
84997
|
+
],
|
|
84998
|
+
name: "RemoteTokenMessengerRemoved",
|
|
84999
|
+
type: "event"
|
|
85000
|
+
},
|
|
85001
|
+
{
|
|
85002
|
+
anonymous: false,
|
|
85003
|
+
inputs: [{ indexed: true, internalType: "address", name: "newRescuer", type: "address" }],
|
|
85004
|
+
name: "RescuerChanged",
|
|
85005
|
+
type: "event"
|
|
85006
|
+
},
|
|
85007
|
+
{
|
|
85008
|
+
anonymous: false,
|
|
85009
|
+
inputs: [{ indexed: true, internalType: "address", name: "account", type: "address" }],
|
|
85010
|
+
name: "UnDenylisted",
|
|
85011
|
+
type: "event"
|
|
85012
|
+
},
|
|
85013
|
+
{ inputs: [], name: "acceptOwnership", outputs: [], stateMutability: "nonpayable", type: "function" },
|
|
85014
|
+
{
|
|
85015
|
+
inputs: [{ internalType: "address", name: "newLocalMinter", type: "address" }],
|
|
85016
|
+
name: "addLocalMinter",
|
|
85017
|
+
outputs: [],
|
|
85018
|
+
stateMutability: "nonpayable",
|
|
85019
|
+
type: "function"
|
|
85020
|
+
},
|
|
85021
|
+
{
|
|
85022
|
+
inputs: [
|
|
85023
|
+
{ internalType: "uint32", name: "domain", type: "uint32" },
|
|
85024
|
+
{ internalType: "bytes32", name: "tokenMessenger", type: "bytes32" }
|
|
85025
|
+
],
|
|
85026
|
+
name: "addRemoteTokenMessenger",
|
|
85027
|
+
outputs: [],
|
|
85028
|
+
stateMutability: "nonpayable",
|
|
85029
|
+
type: "function"
|
|
85030
|
+
},
|
|
85031
|
+
{
|
|
85032
|
+
inputs: [{ internalType: "address", name: "account", type: "address" }],
|
|
85033
|
+
name: "denylist",
|
|
85034
|
+
outputs: [],
|
|
85035
|
+
stateMutability: "nonpayable",
|
|
85036
|
+
type: "function"
|
|
85037
|
+
},
|
|
85038
|
+
{
|
|
85039
|
+
inputs: [],
|
|
85040
|
+
name: "denylister",
|
|
85041
|
+
outputs: [{ internalType: "address", name: "", type: "address" }],
|
|
85042
|
+
stateMutability: "view",
|
|
85043
|
+
type: "function"
|
|
85044
|
+
},
|
|
85045
|
+
{
|
|
85046
|
+
inputs: [
|
|
85047
|
+
{ internalType: "uint256", name: "amount", type: "uint256" },
|
|
85048
|
+
{ internalType: "uint32", name: "destinationDomain", type: "uint32" },
|
|
85049
|
+
{ internalType: "bytes32", name: "mintRecipient", type: "bytes32" },
|
|
85050
|
+
{ internalType: "address", name: "burnToken", type: "address" },
|
|
85051
|
+
{ internalType: "bytes32", name: "destinationCaller", type: "bytes32" },
|
|
85052
|
+
{ internalType: "uint256", name: "maxFee", type: "uint256" },
|
|
85053
|
+
{ internalType: "uint32", name: "minFinalityThreshold", type: "uint32" }
|
|
85054
|
+
],
|
|
85055
|
+
name: "depositForBurn",
|
|
85056
|
+
outputs: [],
|
|
85057
|
+
stateMutability: "nonpayable",
|
|
85058
|
+
type: "function"
|
|
85059
|
+
},
|
|
85060
|
+
{
|
|
85061
|
+
inputs: [
|
|
85062
|
+
{ internalType: "uint256", name: "amount", type: "uint256" },
|
|
85063
|
+
{ internalType: "uint32", name: "destinationDomain", type: "uint32" },
|
|
85064
|
+
{ internalType: "bytes32", name: "mintRecipient", type: "bytes32" },
|
|
85065
|
+
{ internalType: "address", name: "burnToken", type: "address" },
|
|
85066
|
+
{ internalType: "bytes32", name: "destinationCaller", type: "bytes32" },
|
|
85067
|
+
{ internalType: "uint256", name: "maxFee", type: "uint256" },
|
|
85068
|
+
{ internalType: "uint32", name: "minFinalityThreshold", type: "uint32" },
|
|
85069
|
+
{ internalType: "bytes", name: "hookData", type: "bytes" }
|
|
85070
|
+
],
|
|
85071
|
+
name: "depositForBurnWithHook",
|
|
85072
|
+
outputs: [],
|
|
85073
|
+
stateMutability: "nonpayable",
|
|
85074
|
+
type: "function"
|
|
85075
|
+
},
|
|
85076
|
+
{
|
|
85077
|
+
inputs: [],
|
|
85078
|
+
name: "feeRecipient",
|
|
85079
|
+
outputs: [{ internalType: "address", name: "", type: "address" }],
|
|
85080
|
+
stateMutability: "view",
|
|
85081
|
+
type: "function"
|
|
85082
|
+
},
|
|
85083
|
+
{
|
|
85084
|
+
inputs: [
|
|
85085
|
+
{ internalType: "uint32", name: "remoteDomain", type: "uint32" },
|
|
85086
|
+
{ internalType: "bytes32", name: "sender", type: "bytes32" },
|
|
85087
|
+
{ internalType: "uint32", name: "", type: "uint32" },
|
|
85088
|
+
{ internalType: "bytes", name: "messageBody", type: "bytes" }
|
|
85089
|
+
],
|
|
85090
|
+
name: "handleReceiveFinalizedMessage",
|
|
85091
|
+
outputs: [{ internalType: "bool", name: "", type: "bool" }],
|
|
85092
|
+
stateMutability: "nonpayable",
|
|
85093
|
+
type: "function"
|
|
85094
|
+
},
|
|
85095
|
+
{
|
|
85096
|
+
inputs: [
|
|
85097
|
+
{ internalType: "uint32", name: "remoteDomain", type: "uint32" },
|
|
85098
|
+
{ internalType: "bytes32", name: "sender", type: "bytes32" },
|
|
85099
|
+
{ internalType: "uint32", name: "finalityThresholdExecuted", type: "uint32" },
|
|
85100
|
+
{ internalType: "bytes", name: "messageBody", type: "bytes" }
|
|
85101
|
+
],
|
|
85102
|
+
name: "handleReceiveUnfinalizedMessage",
|
|
85103
|
+
outputs: [{ internalType: "bool", name: "", type: "bool" }],
|
|
85104
|
+
stateMutability: "nonpayable",
|
|
85105
|
+
type: "function"
|
|
85106
|
+
},
|
|
85107
|
+
{
|
|
85108
|
+
inputs: [
|
|
85109
|
+
{ internalType: "address", name: "owner_", type: "address" },
|
|
85110
|
+
{ internalType: "address", name: "rescuer_", type: "address" },
|
|
85111
|
+
{ internalType: "address", name: "feeRecipient_", type: "address" },
|
|
85112
|
+
{ internalType: "address", name: "denylister_", type: "address" },
|
|
85113
|
+
{ internalType: "address", name: "tokenMinter_", type: "address" },
|
|
85114
|
+
{ internalType: "uint32[]", name: "remoteDomains_", type: "uint32[]" },
|
|
85115
|
+
{ internalType: "bytes32[]", name: "remoteTokenMessengers_", type: "bytes32[]" }
|
|
85116
|
+
],
|
|
85117
|
+
name: "initialize",
|
|
85118
|
+
outputs: [],
|
|
85119
|
+
stateMutability: "nonpayable",
|
|
85120
|
+
type: "function"
|
|
85121
|
+
},
|
|
85122
|
+
{
|
|
85123
|
+
inputs: [],
|
|
85124
|
+
name: "initializedVersion",
|
|
85125
|
+
outputs: [{ internalType: "uint64", name: "", type: "uint64" }],
|
|
85126
|
+
stateMutability: "view",
|
|
85127
|
+
type: "function"
|
|
85128
|
+
},
|
|
85129
|
+
{
|
|
85130
|
+
inputs: [{ internalType: "address", name: "account", type: "address" }],
|
|
85131
|
+
name: "isDenylisted",
|
|
85132
|
+
outputs: [{ internalType: "bool", name: "", type: "bool" }],
|
|
85133
|
+
stateMutability: "view",
|
|
85134
|
+
type: "function"
|
|
85135
|
+
},
|
|
85136
|
+
{
|
|
85137
|
+
inputs: [],
|
|
85138
|
+
name: "localMessageTransmitter",
|
|
85139
|
+
outputs: [{ internalType: "address", name: "", type: "address" }],
|
|
85140
|
+
stateMutability: "view",
|
|
85141
|
+
type: "function"
|
|
85142
|
+
},
|
|
85143
|
+
{
|
|
85144
|
+
inputs: [],
|
|
85145
|
+
name: "localMinter",
|
|
85146
|
+
outputs: [{ internalType: "contract ITokenMinterV2", name: "", type: "address" }],
|
|
85147
|
+
stateMutability: "view",
|
|
85148
|
+
type: "function"
|
|
85149
|
+
},
|
|
85150
|
+
{
|
|
85151
|
+
inputs: [],
|
|
85152
|
+
name: "messageBodyVersion",
|
|
85153
|
+
outputs: [{ internalType: "uint32", name: "", type: "uint32" }],
|
|
85154
|
+
stateMutability: "view",
|
|
85155
|
+
type: "function"
|
|
85156
|
+
},
|
|
85157
|
+
{
|
|
85158
|
+
inputs: [],
|
|
85159
|
+
name: "owner",
|
|
85160
|
+
outputs: [{ internalType: "address", name: "", type: "address" }],
|
|
85161
|
+
stateMutability: "view",
|
|
85162
|
+
type: "function"
|
|
85163
|
+
},
|
|
85164
|
+
{
|
|
85165
|
+
inputs: [],
|
|
85166
|
+
name: "pendingOwner",
|
|
85167
|
+
outputs: [{ internalType: "address", name: "", type: "address" }],
|
|
85168
|
+
stateMutability: "view",
|
|
85169
|
+
type: "function"
|
|
85170
|
+
},
|
|
85171
|
+
{
|
|
85172
|
+
inputs: [{ internalType: "uint32", name: "", type: "uint32" }],
|
|
85173
|
+
name: "remoteTokenMessengers",
|
|
85174
|
+
outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }],
|
|
85175
|
+
stateMutability: "view",
|
|
85176
|
+
type: "function"
|
|
85177
|
+
},
|
|
85178
|
+
{ inputs: [], name: "removeLocalMinter", outputs: [], stateMutability: "nonpayable", type: "function" },
|
|
85179
|
+
{
|
|
85180
|
+
inputs: [{ internalType: "uint32", name: "domain", type: "uint32" }],
|
|
85181
|
+
name: "removeRemoteTokenMessenger",
|
|
85182
|
+
outputs: [],
|
|
85183
|
+
stateMutability: "nonpayable",
|
|
85184
|
+
type: "function"
|
|
85185
|
+
},
|
|
85186
|
+
{
|
|
85187
|
+
inputs: [
|
|
85188
|
+
{ internalType: "contract IERC20", name: "tokenContract", type: "address" },
|
|
85189
|
+
{ internalType: "address", name: "to", type: "address" },
|
|
85190
|
+
{ internalType: "uint256", name: "amount", type: "uint256" }
|
|
85191
|
+
],
|
|
85192
|
+
name: "rescueERC20",
|
|
85193
|
+
outputs: [],
|
|
85194
|
+
stateMutability: "nonpayable",
|
|
85195
|
+
type: "function"
|
|
85196
|
+
},
|
|
85197
|
+
{
|
|
85198
|
+
inputs: [],
|
|
85199
|
+
name: "rescuer",
|
|
85200
|
+
outputs: [{ internalType: "address", name: "", type: "address" }],
|
|
85201
|
+
stateMutability: "view",
|
|
85202
|
+
type: "function"
|
|
85203
|
+
},
|
|
85204
|
+
{
|
|
85205
|
+
inputs: [{ internalType: "address", name: "_feeRecipient", type: "address" }],
|
|
85206
|
+
name: "setFeeRecipient",
|
|
85207
|
+
outputs: [],
|
|
85208
|
+
stateMutability: "nonpayable",
|
|
85209
|
+
type: "function"
|
|
85210
|
+
},
|
|
85211
|
+
{
|
|
85212
|
+
inputs: [{ internalType: "address", name: "newOwner", type: "address" }],
|
|
85213
|
+
name: "transferOwnership",
|
|
85214
|
+
outputs: [],
|
|
85215
|
+
stateMutability: "nonpayable",
|
|
85216
|
+
type: "function"
|
|
85217
|
+
},
|
|
85218
|
+
{
|
|
85219
|
+
inputs: [{ internalType: "address", name: "account", type: "address" }],
|
|
85220
|
+
name: "unDenylist",
|
|
85221
|
+
outputs: [],
|
|
85222
|
+
stateMutability: "nonpayable",
|
|
85223
|
+
type: "function"
|
|
85224
|
+
},
|
|
85225
|
+
{
|
|
85226
|
+
inputs: [{ internalType: "address", name: "newDenylister", type: "address" }],
|
|
85227
|
+
name: "updateDenylister",
|
|
85228
|
+
outputs: [],
|
|
85229
|
+
stateMutability: "nonpayable",
|
|
85230
|
+
type: "function"
|
|
85231
|
+
},
|
|
85232
|
+
{
|
|
85233
|
+
inputs: [{ internalType: "address", name: "newRescuer", type: "address" }],
|
|
85234
|
+
name: "updateRescuer",
|
|
85235
|
+
outputs: [],
|
|
85236
|
+
stateMutability: "nonpayable",
|
|
85237
|
+
type: "function"
|
|
85238
|
+
}
|
|
85239
|
+
];
|
|
85240
|
+
|
|
85241
|
+
// src/integrations/cctp/token.messenger.v2.abi.ts
|
|
85242
|
+
var token_messenger_v2_abi_default = [
|
|
85243
|
+
{
|
|
85244
|
+
inputs: [
|
|
85245
|
+
{ internalType: "address", name: "_messageTransmitter", type: "address" },
|
|
85246
|
+
{ internalType: "uint32", name: "_messageBodyVersion", type: "uint32" }
|
|
85247
|
+
],
|
|
85248
|
+
stateMutability: "nonpayable",
|
|
85249
|
+
type: "constructor"
|
|
85250
|
+
},
|
|
85251
|
+
{
|
|
85252
|
+
anonymous: false,
|
|
85253
|
+
inputs: [{ indexed: true, internalType: "address", name: "account", type: "address" }],
|
|
85254
|
+
name: "Denylisted",
|
|
85255
|
+
type: "event"
|
|
85256
|
+
},
|
|
85257
|
+
{
|
|
85258
|
+
anonymous: false,
|
|
85259
|
+
inputs: [
|
|
85260
|
+
{ indexed: true, internalType: "address", name: "oldDenylister", type: "address" },
|
|
85261
|
+
{ indexed: true, internalType: "address", name: "newDenylister", type: "address" }
|
|
85262
|
+
],
|
|
85263
|
+
name: "DenylisterChanged",
|
|
85264
|
+
type: "event"
|
|
85265
|
+
},
|
|
85266
|
+
{
|
|
85267
|
+
anonymous: false,
|
|
85268
|
+
inputs: [
|
|
85269
|
+
{ indexed: true, internalType: "address", name: "burnToken", type: "address" },
|
|
85270
|
+
{ indexed: false, internalType: "uint256", name: "amount", type: "uint256" },
|
|
85271
|
+
{ indexed: true, internalType: "address", name: "depositor", type: "address" },
|
|
85272
|
+
{ indexed: false, internalType: "bytes32", name: "mintRecipient", type: "bytes32" },
|
|
85273
|
+
{ indexed: false, internalType: "uint32", name: "destinationDomain", type: "uint32" },
|
|
85274
|
+
{ indexed: false, internalType: "bytes32", name: "destinationTokenMessenger", type: "bytes32" },
|
|
85275
|
+
{ indexed: false, internalType: "bytes32", name: "destinationCaller", type: "bytes32" },
|
|
85276
|
+
{ indexed: false, internalType: "uint256", name: "maxFee", type: "uint256" },
|
|
85277
|
+
{ indexed: true, internalType: "uint32", name: "minFinalityThreshold", type: "uint32" },
|
|
85278
|
+
{ indexed: false, internalType: "bytes", name: "hookData", type: "bytes" }
|
|
85279
|
+
],
|
|
85280
|
+
name: "DepositForBurn",
|
|
85281
|
+
type: "event"
|
|
85282
|
+
},
|
|
85283
|
+
{
|
|
85284
|
+
anonymous: false,
|
|
85285
|
+
inputs: [{ indexed: false, internalType: "address", name: "feeRecipient", type: "address" }],
|
|
85286
|
+
name: "FeeRecipientSet",
|
|
85287
|
+
type: "event"
|
|
85288
|
+
},
|
|
85289
|
+
{
|
|
85290
|
+
anonymous: false,
|
|
85291
|
+
inputs: [{ indexed: false, internalType: "uint64", name: "version", type: "uint64" }],
|
|
85292
|
+
name: "Initialized",
|
|
85293
|
+
type: "event"
|
|
85294
|
+
},
|
|
85295
|
+
{
|
|
85296
|
+
anonymous: false,
|
|
85297
|
+
inputs: [{ indexed: false, internalType: "address", name: "localMinter", type: "address" }],
|
|
85298
|
+
name: "LocalMinterAdded",
|
|
85299
|
+
type: "event"
|
|
85300
|
+
},
|
|
85301
|
+
{
|
|
85302
|
+
anonymous: false,
|
|
85303
|
+
inputs: [{ indexed: false, internalType: "address", name: "localMinter", type: "address" }],
|
|
85304
|
+
name: "LocalMinterRemoved",
|
|
85305
|
+
type: "event"
|
|
85306
|
+
},
|
|
85307
|
+
{
|
|
85308
|
+
anonymous: false,
|
|
85309
|
+
inputs: [
|
|
85310
|
+
{ indexed: true, internalType: "address", name: "mintRecipient", type: "address" },
|
|
85311
|
+
{ indexed: false, internalType: "uint256", name: "amount", type: "uint256" },
|
|
85312
|
+
{ indexed: true, internalType: "address", name: "mintToken", type: "address" },
|
|
85313
|
+
{ indexed: false, internalType: "uint256", name: "feeCollected", type: "uint256" }
|
|
85314
|
+
],
|
|
85315
|
+
name: "MintAndWithdraw",
|
|
85316
|
+
type: "event"
|
|
85317
|
+
},
|
|
85318
|
+
{
|
|
85319
|
+
anonymous: false,
|
|
85320
|
+
inputs: [
|
|
85321
|
+
{ indexed: true, internalType: "address", name: "previousOwner", type: "address" },
|
|
85322
|
+
{ indexed: true, internalType: "address", name: "newOwner", type: "address" }
|
|
85323
|
+
],
|
|
85324
|
+
name: "OwnershipTransferStarted",
|
|
85325
|
+
type: "event"
|
|
85326
|
+
},
|
|
85327
|
+
{
|
|
85328
|
+
anonymous: false,
|
|
85329
|
+
inputs: [
|
|
85330
|
+
{ indexed: true, internalType: "address", name: "previousOwner", type: "address" },
|
|
85331
|
+
{ indexed: true, internalType: "address", name: "newOwner", type: "address" }
|
|
85332
|
+
],
|
|
85333
|
+
name: "OwnershipTransferred",
|
|
85334
|
+
type: "event"
|
|
85335
|
+
},
|
|
85336
|
+
{
|
|
85337
|
+
anonymous: false,
|
|
85338
|
+
inputs: [
|
|
85339
|
+
{ indexed: false, internalType: "uint32", name: "domain", type: "uint32" },
|
|
85340
|
+
{ indexed: false, internalType: "bytes32", name: "tokenMessenger", type: "bytes32" }
|
|
85341
|
+
],
|
|
85342
|
+
name: "RemoteTokenMessengerAdded",
|
|
85343
|
+
type: "event"
|
|
85344
|
+
},
|
|
85345
|
+
{
|
|
85346
|
+
anonymous: false,
|
|
85347
|
+
inputs: [
|
|
85348
|
+
{ indexed: false, internalType: "uint32", name: "domain", type: "uint32" },
|
|
85349
|
+
{ indexed: false, internalType: "bytes32", name: "tokenMessenger", type: "bytes32" }
|
|
85350
|
+
],
|
|
85351
|
+
name: "RemoteTokenMessengerRemoved",
|
|
85352
|
+
type: "event"
|
|
85353
|
+
},
|
|
85354
|
+
{
|
|
85355
|
+
anonymous: false,
|
|
85356
|
+
inputs: [{ indexed: true, internalType: "address", name: "newRescuer", type: "address" }],
|
|
85357
|
+
name: "RescuerChanged",
|
|
85358
|
+
type: "event"
|
|
85359
|
+
},
|
|
85360
|
+
{
|
|
85361
|
+
anonymous: false,
|
|
85362
|
+
inputs: [{ indexed: true, internalType: "address", name: "account", type: "address" }],
|
|
85363
|
+
name: "UnDenylisted",
|
|
85364
|
+
type: "event"
|
|
85365
|
+
},
|
|
85366
|
+
{ inputs: [], name: "acceptOwnership", outputs: [], stateMutability: "nonpayable", type: "function" },
|
|
85367
|
+
{
|
|
85368
|
+
inputs: [{ internalType: "address", name: "newLocalMinter", type: "address" }],
|
|
85369
|
+
name: "addLocalMinter",
|
|
85370
|
+
outputs: [],
|
|
85371
|
+
stateMutability: "nonpayable",
|
|
85372
|
+
type: "function"
|
|
85373
|
+
},
|
|
85374
|
+
{
|
|
85375
|
+
inputs: [
|
|
85376
|
+
{ internalType: "uint32", name: "domain", type: "uint32" },
|
|
85377
|
+
{ internalType: "bytes32", name: "tokenMessenger", type: "bytes32" }
|
|
85378
|
+
],
|
|
85379
|
+
name: "addRemoteTokenMessenger",
|
|
85380
|
+
outputs: [],
|
|
85381
|
+
stateMutability: "nonpayable",
|
|
85382
|
+
type: "function"
|
|
85383
|
+
},
|
|
85384
|
+
{
|
|
85385
|
+
inputs: [{ internalType: "address", name: "account", type: "address" }],
|
|
85386
|
+
name: "denylist",
|
|
85387
|
+
outputs: [],
|
|
85388
|
+
stateMutability: "nonpayable",
|
|
85389
|
+
type: "function"
|
|
85390
|
+
},
|
|
85391
|
+
{
|
|
85392
|
+
inputs: [],
|
|
85393
|
+
name: "denylister",
|
|
85394
|
+
outputs: [{ internalType: "address", name: "", type: "address" }],
|
|
85395
|
+
stateMutability: "view",
|
|
85396
|
+
type: "function"
|
|
85397
|
+
},
|
|
85398
|
+
{
|
|
85399
|
+
inputs: [
|
|
85400
|
+
{ internalType: "uint256", name: "amount", type: "uint256" },
|
|
85401
|
+
{ internalType: "uint32", name: "destinationDomain", type: "uint32" },
|
|
85402
|
+
{ internalType: "bytes32", name: "mintRecipient", type: "bytes32" },
|
|
85403
|
+
{ internalType: "address", name: "burnToken", type: "address" },
|
|
85404
|
+
{ internalType: "bytes32", name: "destinationCaller", type: "bytes32" },
|
|
85405
|
+
{ internalType: "uint256", name: "maxFee", type: "uint256" },
|
|
85406
|
+
{ internalType: "uint32", name: "minFinalityThreshold", type: "uint32" }
|
|
85407
|
+
],
|
|
85408
|
+
name: "depositForBurn",
|
|
85409
|
+
outputs: [],
|
|
85410
|
+
stateMutability: "nonpayable",
|
|
85411
|
+
type: "function"
|
|
85412
|
+
},
|
|
85413
|
+
{
|
|
85414
|
+
inputs: [
|
|
85415
|
+
{ internalType: "uint256", name: "amount", type: "uint256" },
|
|
85416
|
+
{ internalType: "uint32", name: "destinationDomain", type: "uint32" },
|
|
85417
|
+
{ internalType: "bytes32", name: "mintRecipient", type: "bytes32" },
|
|
85418
|
+
{ internalType: "address", name: "burnToken", type: "address" },
|
|
85419
|
+
{ internalType: "bytes32", name: "destinationCaller", type: "bytes32" },
|
|
85420
|
+
{ internalType: "uint256", name: "maxFee", type: "uint256" },
|
|
85421
|
+
{ internalType: "uint32", name: "minFinalityThreshold", type: "uint32" },
|
|
85422
|
+
{ internalType: "bytes", name: "hookData", type: "bytes" }
|
|
85423
|
+
],
|
|
85424
|
+
name: "depositForBurnWithHook",
|
|
85425
|
+
outputs: [],
|
|
85426
|
+
stateMutability: "nonpayable",
|
|
85427
|
+
type: "function"
|
|
85428
|
+
},
|
|
85429
|
+
{
|
|
85430
|
+
inputs: [],
|
|
85431
|
+
name: "feeRecipient",
|
|
85432
|
+
outputs: [{ internalType: "address", name: "", type: "address" }],
|
|
85433
|
+
stateMutability: "view",
|
|
85434
|
+
type: "function"
|
|
85435
|
+
},
|
|
85436
|
+
{
|
|
85437
|
+
inputs: [
|
|
85438
|
+
{ internalType: "uint32", name: "remoteDomain", type: "uint32" },
|
|
85439
|
+
{ internalType: "bytes32", name: "sender", type: "bytes32" },
|
|
85440
|
+
{ internalType: "uint32", name: "", type: "uint32" },
|
|
85441
|
+
{ internalType: "bytes", name: "messageBody", type: "bytes" }
|
|
85442
|
+
],
|
|
85443
|
+
name: "handleReceiveFinalizedMessage",
|
|
85444
|
+
outputs: [{ internalType: "bool", name: "", type: "bool" }],
|
|
85445
|
+
stateMutability: "nonpayable",
|
|
85446
|
+
type: "function"
|
|
85447
|
+
},
|
|
85448
|
+
{
|
|
85449
|
+
inputs: [
|
|
85450
|
+
{ internalType: "uint32", name: "remoteDomain", type: "uint32" },
|
|
85451
|
+
{ internalType: "bytes32", name: "sender", type: "bytes32" },
|
|
85452
|
+
{ internalType: "uint32", name: "finalityThresholdExecuted", type: "uint32" },
|
|
85453
|
+
{ internalType: "bytes", name: "messageBody", type: "bytes" }
|
|
85454
|
+
],
|
|
85455
|
+
name: "handleReceiveUnfinalizedMessage",
|
|
85456
|
+
outputs: [{ internalType: "bool", name: "", type: "bool" }],
|
|
85457
|
+
stateMutability: "nonpayable",
|
|
85458
|
+
type: "function"
|
|
85459
|
+
},
|
|
85460
|
+
{
|
|
85461
|
+
inputs: [
|
|
85462
|
+
{ internalType: "address", name: "owner_", type: "address" },
|
|
85463
|
+
{ internalType: "address", name: "rescuer_", type: "address" },
|
|
85464
|
+
{ internalType: "address", name: "feeRecipient_", type: "address" },
|
|
85465
|
+
{ internalType: "address", name: "denylister_", type: "address" },
|
|
85466
|
+
{ internalType: "address", name: "tokenMinter_", type: "address" },
|
|
85467
|
+
{ internalType: "uint32[]", name: "remoteDomains_", type: "uint32[]" },
|
|
85468
|
+
{ internalType: "bytes32[]", name: "remoteTokenMessengers_", type: "bytes32[]" }
|
|
85469
|
+
],
|
|
85470
|
+
name: "initialize",
|
|
85471
|
+
outputs: [],
|
|
85472
|
+
stateMutability: "nonpayable",
|
|
85473
|
+
type: "function"
|
|
85474
|
+
},
|
|
85475
|
+
{
|
|
85476
|
+
inputs: [],
|
|
85477
|
+
name: "initializedVersion",
|
|
85478
|
+
outputs: [{ internalType: "uint64", name: "", type: "uint64" }],
|
|
85479
|
+
stateMutability: "view",
|
|
85480
|
+
type: "function"
|
|
85481
|
+
},
|
|
85482
|
+
{
|
|
85483
|
+
inputs: [{ internalType: "address", name: "account", type: "address" }],
|
|
85484
|
+
name: "isDenylisted",
|
|
85485
|
+
outputs: [{ internalType: "bool", name: "", type: "bool" }],
|
|
85486
|
+
stateMutability: "view",
|
|
85487
|
+
type: "function"
|
|
85488
|
+
},
|
|
85489
|
+
{
|
|
85490
|
+
inputs: [],
|
|
85491
|
+
name: "localMessageTransmitter",
|
|
85492
|
+
outputs: [{ internalType: "address", name: "", type: "address" }],
|
|
85493
|
+
stateMutability: "view",
|
|
85494
|
+
type: "function"
|
|
85495
|
+
},
|
|
85496
|
+
{
|
|
85497
|
+
inputs: [],
|
|
85498
|
+
name: "localMinter",
|
|
85499
|
+
outputs: [{ internalType: "contract ITokenMinterV2", name: "", type: "address" }],
|
|
85500
|
+
stateMutability: "view",
|
|
85501
|
+
type: "function"
|
|
85502
|
+
},
|
|
85503
|
+
{
|
|
85504
|
+
inputs: [],
|
|
85505
|
+
name: "messageBodyVersion",
|
|
85506
|
+
outputs: [{ internalType: "uint32", name: "", type: "uint32" }],
|
|
85507
|
+
stateMutability: "view",
|
|
85508
|
+
type: "function"
|
|
85509
|
+
},
|
|
85510
|
+
{
|
|
85511
|
+
inputs: [],
|
|
85512
|
+
name: "owner",
|
|
85513
|
+
outputs: [{ internalType: "address", name: "", type: "address" }],
|
|
85514
|
+
stateMutability: "view",
|
|
85515
|
+
type: "function"
|
|
85516
|
+
},
|
|
85517
|
+
{
|
|
85518
|
+
inputs: [],
|
|
85519
|
+
name: "pendingOwner",
|
|
85520
|
+
outputs: [{ internalType: "address", name: "", type: "address" }],
|
|
85521
|
+
stateMutability: "view",
|
|
85522
|
+
type: "function"
|
|
85523
|
+
},
|
|
85524
|
+
{
|
|
85525
|
+
inputs: [{ internalType: "uint32", name: "", type: "uint32" }],
|
|
85526
|
+
name: "remoteTokenMessengers",
|
|
85527
|
+
outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }],
|
|
85528
|
+
stateMutability: "view",
|
|
85529
|
+
type: "function"
|
|
85530
|
+
},
|
|
85531
|
+
{ inputs: [], name: "removeLocalMinter", outputs: [], stateMutability: "nonpayable", type: "function" },
|
|
85532
|
+
{
|
|
85533
|
+
inputs: [{ internalType: "uint32", name: "domain", type: "uint32" }],
|
|
85534
|
+
name: "removeRemoteTokenMessenger",
|
|
85535
|
+
outputs: [],
|
|
85536
|
+
stateMutability: "nonpayable",
|
|
85537
|
+
type: "function"
|
|
85538
|
+
},
|
|
85539
|
+
{
|
|
85540
|
+
inputs: [
|
|
85541
|
+
{ internalType: "contract IERC20", name: "tokenContract", type: "address" },
|
|
85542
|
+
{ internalType: "address", name: "to", type: "address" },
|
|
85543
|
+
{ internalType: "uint256", name: "amount", type: "uint256" }
|
|
85544
|
+
],
|
|
85545
|
+
name: "rescueERC20",
|
|
85546
|
+
outputs: [],
|
|
85547
|
+
stateMutability: "nonpayable",
|
|
85548
|
+
type: "function"
|
|
85549
|
+
},
|
|
85550
|
+
{
|
|
85551
|
+
inputs: [],
|
|
85552
|
+
name: "rescuer",
|
|
85553
|
+
outputs: [{ internalType: "address", name: "", type: "address" }],
|
|
85554
|
+
stateMutability: "view",
|
|
85555
|
+
type: "function"
|
|
85556
|
+
},
|
|
85557
|
+
{
|
|
85558
|
+
inputs: [{ internalType: "address", name: "_feeRecipient", type: "address" }],
|
|
85559
|
+
name: "setFeeRecipient",
|
|
85560
|
+
outputs: [],
|
|
85561
|
+
stateMutability: "nonpayable",
|
|
85562
|
+
type: "function"
|
|
85563
|
+
},
|
|
85564
|
+
{
|
|
85565
|
+
inputs: [{ internalType: "address", name: "newOwner", type: "address" }],
|
|
85566
|
+
name: "transferOwnership",
|
|
85567
|
+
outputs: [],
|
|
85568
|
+
stateMutability: "nonpayable",
|
|
85569
|
+
type: "function"
|
|
85570
|
+
},
|
|
85571
|
+
{
|
|
85572
|
+
inputs: [{ internalType: "address", name: "account", type: "address" }],
|
|
85573
|
+
name: "unDenylist",
|
|
85574
|
+
outputs: [],
|
|
85575
|
+
stateMutability: "nonpayable",
|
|
85576
|
+
type: "function"
|
|
85577
|
+
},
|
|
85578
|
+
{
|
|
85579
|
+
inputs: [{ internalType: "address", name: "newDenylister", type: "address" }],
|
|
85580
|
+
name: "updateDenylister",
|
|
85581
|
+
outputs: [],
|
|
85582
|
+
stateMutability: "nonpayable",
|
|
85583
|
+
type: "function"
|
|
85584
|
+
},
|
|
85585
|
+
{
|
|
85586
|
+
inputs: [{ internalType: "address", name: "newRescuer", type: "address" }],
|
|
85587
|
+
name: "updateRescuer",
|
|
85588
|
+
outputs: [],
|
|
85589
|
+
stateMutability: "nonpayable",
|
|
85590
|
+
type: "function"
|
|
85591
|
+
}
|
|
85592
|
+
];
|
|
85593
|
+
|
|
85594
|
+
// src/integrations/cctp/cctp.v2.ts
|
|
85595
|
+
var messageTransmitterAbi = new exports_ethers.utils.Interface(message_transmitter_v2_abi_default);
|
|
85596
|
+
var tokenMessengerAbi = new exports_ethers.utils.Interface(token_messenger_v2_abi_default);
|
|
85597
|
+
var DepositForBurnCalldata = ({
|
|
85598
|
+
amount,
|
|
85599
|
+
destinationDomain,
|
|
85600
|
+
mintRecipient,
|
|
85601
|
+
burnToken,
|
|
85602
|
+
destinationCaller,
|
|
85603
|
+
maxFee,
|
|
85604
|
+
minFinalityThreshold
|
|
85605
|
+
}) => {
|
|
85606
|
+
return tokenMessengerAbi.encodeFunctionData("depositForBurn", [
|
|
85607
|
+
amount,
|
|
85608
|
+
destinationDomain,
|
|
85609
|
+
mintRecipient,
|
|
85610
|
+
burnToken,
|
|
85611
|
+
destinationCaller,
|
|
85612
|
+
maxFee,
|
|
85613
|
+
minFinalityThreshold
|
|
85614
|
+
]);
|
|
85615
|
+
};
|
|
85616
|
+
var depositForBurnToCctpTrx = ({
|
|
85617
|
+
args,
|
|
85618
|
+
tokenMessengerAddress
|
|
85619
|
+
}) => {
|
|
85620
|
+
return createCall({
|
|
85621
|
+
operation: 0,
|
|
85622
|
+
to: tokenMessengerAddress,
|
|
85623
|
+
value: 0n,
|
|
85624
|
+
data: DepositForBurnCalldata(args)
|
|
85625
|
+
});
|
|
85626
|
+
};
|
|
85627
|
+
var ReceiveMessageCalldata = ({ message, attestation }) => {
|
|
85628
|
+
return messageTransmitterAbi.encodeFunctionData("receiveMessage", [message, attestation]);
|
|
85629
|
+
};
|
|
85630
|
+
var receiveMessageFromCctpTrx = ({
|
|
85631
|
+
args,
|
|
85632
|
+
messageTransmitterAddress
|
|
85633
|
+
}) => {
|
|
85634
|
+
return createCall({
|
|
85635
|
+
operation: 0,
|
|
85636
|
+
to: messageTransmitterAddress,
|
|
85637
|
+
value: 0n,
|
|
85638
|
+
data: ReceiveMessageCalldata(args)
|
|
85639
|
+
});
|
|
85640
|
+
};
|
|
84886
85641
|
// src/lib/utils.ts
|
|
84887
85642
|
var executeTrx = ({
|
|
84888
85643
|
client,
|
|
@@ -84977,4 +85732,4 @@ var simulateOrThrow = async (env2) => {
|
|
|
84977
85732
|
};
|
|
84978
85733
|
};
|
|
84979
85734
|
|
|
84980
|
-
//# debugId=
|
|
85735
|
+
//# debugId=FBE886CA8CBCCED864756E2164756E21
|