@layerzerolabs/lz-aptos-sdk-v1 3.0.17 → 3.0.18-movement.0

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.d.cts CHANGED
@@ -289,14 +289,14 @@ interface UlnSignerFee {
289
289
  }
290
290
 
291
291
  type index$3_CoinInfo = CoinInfo;
292
- type index$3_CoinInfoEx = CoinInfoEx;
293
- type index$3_CoinInfoResource = CoinInfoResource;
294
- type index$3_Packet = Packet;
295
- type index$3_TypeInfo = TypeInfo;
296
- type index$3_TypeInfoEx = TypeInfoEx;
297
- type index$3_UlnConfigType = UlnConfigType;
298
- type index$3_UlnSignerFee = UlnSignerFee;
299
- declare namespace index$3 {
292
+ type index$3_CoinInfoEx = CoinInfoEx;
293
+ type index$3_CoinInfoResource = CoinInfoResource;
294
+ type index$3_Packet = Packet;
295
+ type index$3_TypeInfo = TypeInfo;
296
+ type index$3_TypeInfoEx = TypeInfoEx;
297
+ type index$3_UlnConfigType = UlnConfigType;
298
+ type index$3_UlnSignerFee = UlnSignerFee;
299
+ declare namespace index$3 {
300
300
  export type { index$3_CoinInfo as CoinInfo, index$3_CoinInfoEx as CoinInfoEx, index$3_CoinInfoResource as CoinInfoResource, index$3_Packet as Packet, index$3_TypeInfo as TypeInfo, index$3_TypeInfoEx as TypeInfoEx, index$3_UlnConfigType as UlnConfigType, index$3_UlnSignerFee as UlnSignerFee };
301
301
  }
302
302
 
@@ -1359,45 +1359,45 @@ declare function buildStructTagFromTypeInfo(typeInfo: TypeInfo): string;
1359
1359
  declare function isTypeInfo(value: TypeInfo | any): value is TypeInfo;
1360
1360
 
1361
1361
  declare const utils_GAS_LIMIT_SAFETY_BPS: typeof GAS_LIMIT_SAFETY_BPS;
1362
- type utils_GetAddressSizeOfChainFunc = GetAddressSizeOfChainFunc;
1363
- type utils_MultipleSignFunc = MultipleSignFunc;
1364
- type utils_MutipleSignatureItem = MutipleSignatureItem;
1365
- declare const utils_ZERO_ADDRESS_BYTES: typeof ZERO_ADDRESS_BYTES;
1366
- declare const utils_ZERO_ADDRESS_HEX: typeof ZERO_ADDRESS_HEX;
1367
- declare const utils_applyGasLimitSafety: typeof applyGasLimitSafety;
1368
- declare const utils_buildStructTagFromTypeInfo: typeof buildStructTagFromTypeInfo;
1369
- declare const utils_bytesToUint8Array: typeof bytesToUint8Array;
1370
- declare const utils_computeGuid: typeof computeGuid;
1371
- declare const utils_convertBytesToUint64: typeof convertBytesToUint64;
1372
- declare const utils_convertToPaddedUint8Array: typeof convertToPaddedUint8Array;
1373
- declare const utils_convertUint64ToBytes: typeof convertUint64ToBytes;
1374
- declare const utils_decodePacket: typeof decodePacket;
1375
- declare const utils_decodePacketString: typeof decodePacketString;
1376
- declare const utils_decodePayload: typeof decodePayload;
1377
- declare const utils_encodePacket: typeof encodePacket;
1378
- declare const utils_fullAddress: typeof fullAddress;
1379
- declare const utils_generateMultisig: typeof generateMultisig;
1380
- declare const utils_getAccountFromMnemonic: typeof getAccountFromMnemonic;
1381
- declare const utils_getAccountFromPrivateKey: typeof getAccountFromPrivateKey;
1382
- declare const utils_getAddressFromPublicKey: typeof getAddressFromPublicKey;
1383
- declare const utils_getLzReceiveTypeArguments: typeof getLzReceiveTypeArguments;
1384
- declare const utils_getResourceAddress: typeof getResourceAddress;
1385
- declare const utils_getSignedTransactionHash: typeof getSignedTransactionHash;
1386
- declare const utils_hashBuffer: typeof hashBuffer;
1387
- declare const utils_hashPacket: typeof hashPacket;
1388
- declare const utils_hexToAscii: typeof hexToAscii;
1389
- declare const utils_isErrorOfApiError: typeof isErrorOfApiError;
1390
- declare const utils_isSameAddress: typeof isSameAddress;
1391
- declare const utils_isTypeInfo: typeof isTypeInfo;
1392
- declare const utils_isZeroAddress: typeof isZeroAddress;
1393
- declare const utils_makeSignFuncWithMultipleSigners: typeof makeSignFuncWithMultipleSigners;
1394
- declare const utils_multiSigSignedBCSTxn: typeof multiSigSignedBCSTxn;
1395
- declare const utils_normalizeTypeInfo: typeof normalizeTypeInfo;
1396
- declare const utils_paddingUint8Array: typeof paddingUint8Array;
1397
- declare const utils_rebuildPacketFromEvent: typeof rebuildPacketFromEvent;
1398
- declare const utils_stringToPaddedUint8Array: typeof stringToPaddedUint8Array;
1399
- declare const utils_stringToUint8Array: typeof stringToUint8Array;
1400
- declare namespace utils {
1362
+ type utils_GetAddressSizeOfChainFunc = GetAddressSizeOfChainFunc;
1363
+ type utils_MultipleSignFunc = MultipleSignFunc;
1364
+ type utils_MutipleSignatureItem = MutipleSignatureItem;
1365
+ declare const utils_ZERO_ADDRESS_BYTES: typeof ZERO_ADDRESS_BYTES;
1366
+ declare const utils_ZERO_ADDRESS_HEX: typeof ZERO_ADDRESS_HEX;
1367
+ declare const utils_applyGasLimitSafety: typeof applyGasLimitSafety;
1368
+ declare const utils_buildStructTagFromTypeInfo: typeof buildStructTagFromTypeInfo;
1369
+ declare const utils_bytesToUint8Array: typeof bytesToUint8Array;
1370
+ declare const utils_computeGuid: typeof computeGuid;
1371
+ declare const utils_convertBytesToUint64: typeof convertBytesToUint64;
1372
+ declare const utils_convertToPaddedUint8Array: typeof convertToPaddedUint8Array;
1373
+ declare const utils_convertUint64ToBytes: typeof convertUint64ToBytes;
1374
+ declare const utils_decodePacket: typeof decodePacket;
1375
+ declare const utils_decodePacketString: typeof decodePacketString;
1376
+ declare const utils_decodePayload: typeof decodePayload;
1377
+ declare const utils_encodePacket: typeof encodePacket;
1378
+ declare const utils_fullAddress: typeof fullAddress;
1379
+ declare const utils_generateMultisig: typeof generateMultisig;
1380
+ declare const utils_getAccountFromMnemonic: typeof getAccountFromMnemonic;
1381
+ declare const utils_getAccountFromPrivateKey: typeof getAccountFromPrivateKey;
1382
+ declare const utils_getAddressFromPublicKey: typeof getAddressFromPublicKey;
1383
+ declare const utils_getLzReceiveTypeArguments: typeof getLzReceiveTypeArguments;
1384
+ declare const utils_getResourceAddress: typeof getResourceAddress;
1385
+ declare const utils_getSignedTransactionHash: typeof getSignedTransactionHash;
1386
+ declare const utils_hashBuffer: typeof hashBuffer;
1387
+ declare const utils_hashPacket: typeof hashPacket;
1388
+ declare const utils_hexToAscii: typeof hexToAscii;
1389
+ declare const utils_isErrorOfApiError: typeof isErrorOfApiError;
1390
+ declare const utils_isSameAddress: typeof isSameAddress;
1391
+ declare const utils_isTypeInfo: typeof isTypeInfo;
1392
+ declare const utils_isZeroAddress: typeof isZeroAddress;
1393
+ declare const utils_makeSignFuncWithMultipleSigners: typeof makeSignFuncWithMultipleSigners;
1394
+ declare const utils_multiSigSignedBCSTxn: typeof multiSigSignedBCSTxn;
1395
+ declare const utils_normalizeTypeInfo: typeof normalizeTypeInfo;
1396
+ declare const utils_paddingUint8Array: typeof paddingUint8Array;
1397
+ declare const utils_rebuildPacketFromEvent: typeof rebuildPacketFromEvent;
1398
+ declare const utils_stringToPaddedUint8Array: typeof stringToPaddedUint8Array;
1399
+ declare const utils_stringToUint8Array: typeof stringToUint8Array;
1400
+ declare namespace utils {
1401
1401
  export { utils_GAS_LIMIT_SAFETY_BPS as GAS_LIMIT_SAFETY_BPS, type utils_GetAddressSizeOfChainFunc as GetAddressSizeOfChainFunc, type utils_MultipleSignFunc as MultipleSignFunc, type utils_MutipleSignatureItem as MutipleSignatureItem, utils_ZERO_ADDRESS_BYTES as ZERO_ADDRESS_BYTES, utils_ZERO_ADDRESS_HEX as ZERO_ADDRESS_HEX, utils_applyGasLimitSafety as applyGasLimitSafety, utils_buildStructTagFromTypeInfo as buildStructTagFromTypeInfo, utils_bytesToUint8Array as bytesToUint8Array, utils_computeGuid as computeGuid, utils_convertBytesToUint64 as convertBytesToUint64, utils_convertToPaddedUint8Array as convertToPaddedUint8Array, utils_convertUint64ToBytes as convertUint64ToBytes, utils_decodePacket as decodePacket, utils_decodePacketString as decodePacketString, utils_decodePayload as decodePayload, utils_encodePacket as encodePacket, utils_fullAddress as fullAddress, utils_generateMultisig as generateMultisig, utils_getAccountFromMnemonic as getAccountFromMnemonic, utils_getAccountFromPrivateKey as getAccountFromPrivateKey, utils_getAddressFromPublicKey as getAddressFromPublicKey, utils_getLzReceiveTypeArguments as getLzReceiveTypeArguments, utils_getResourceAddress as getResourceAddress, utils_getSignedTransactionHash as getSignedTransactionHash, utils_hashBuffer as hashBuffer, utils_hashPacket as hashPacket, utils_hexToAscii as hexToAscii, utils_isErrorOfApiError as isErrorOfApiError, utils_isSameAddress as isSameAddress, utils_isTypeInfo as isTypeInfo, utils_isZeroAddress as isZeroAddress, utils_makeSignFuncWithMultipleSigners as makeSignFuncWithMultipleSigners, utils_multiSigSignedBCSTxn as multiSigSignedBCSTxn, utils_normalizeTypeInfo as normalizeTypeInfo, utils_paddingUint8Array as paddingUint8Array, utils_rebuildPacketFromEvent as rebuildPacketFromEvent, utils_stringToPaddedUint8Array as stringToPaddedUint8Array, utils_stringToUint8Array as stringToUint8Array };
1402
1402
  }
1403
1403
 
@@ -1652,18 +1652,18 @@ declare class Uln {
1652
1652
  }
1653
1653
 
1654
1654
  type index$2_MsgLibV1_0 = MsgLibV1_0;
1655
- declare const index$2_MsgLibV1_0: typeof MsgLibV1_0;
1656
- type index$2_PacketEvent = PacketEvent;
1657
- declare const index$2_PacketEvent: typeof PacketEvent;
1658
- type index$2_Uln = Uln;
1659
- declare const index$2_Uln: typeof Uln;
1660
- type index$2_UlnConfig = UlnConfig;
1661
- declare const index$2_UlnConfig: typeof UlnConfig;
1662
- type index$2_UlnReceive = UlnReceive;
1663
- declare const index$2_UlnReceive: typeof UlnReceive;
1664
- type index$2_UlnSigner = UlnSigner;
1665
- declare const index$2_UlnSigner: typeof UlnSigner;
1666
- declare namespace index$2 {
1655
+ declare const index$2_MsgLibV1_0: typeof MsgLibV1_0;
1656
+ type index$2_PacketEvent = PacketEvent;
1657
+ declare const index$2_PacketEvent: typeof PacketEvent;
1658
+ type index$2_Uln = Uln;
1659
+ declare const index$2_Uln: typeof Uln;
1660
+ type index$2_UlnConfig = UlnConfig;
1661
+ declare const index$2_UlnConfig: typeof UlnConfig;
1662
+ type index$2_UlnReceive = UlnReceive;
1663
+ declare const index$2_UlnReceive: typeof UlnReceive;
1664
+ type index$2_UlnSigner = UlnSigner;
1665
+ declare const index$2_UlnSigner: typeof UlnSigner;
1666
+ declare namespace index$2 {
1667
1667
  export { index$2_MsgLibV1_0 as MsgLibV1_0, index$2_PacketEvent as PacketEvent, index$2_Uln as Uln, index$2_UlnConfig as UlnConfig, index$2_UlnReceive as UlnReceive, index$2_UlnSigner as UlnSigner };
1668
1668
  }
1669
1669
 
@@ -1800,20 +1800,20 @@ declare const COUNTER_ADDRESS: {
1800
1800
  };
1801
1801
 
1802
1802
  declare const constants_BRIDGE_ADDRESS: typeof BRIDGE_ADDRESS;
1803
- declare const constants_BRIDGE_PRECRIME_ADDRESS: typeof BRIDGE_PRECRIME_ADDRESS;
1804
- declare const constants_COUNTER_ADDRESS: typeof COUNTER_ADDRESS;
1805
- declare const constants_EXECUTOR_ADDRESS: typeof EXECUTOR_ADDRESS;
1806
- declare const constants_EXECUTOR_EXT_ADDRESS: typeof EXECUTOR_EXT_ADDRESS;
1807
- declare const constants_FAUCET_URL: typeof FAUCET_URL;
1808
- declare const constants_LAYERZERO_ADDRESS: typeof LAYERZERO_ADDRESS;
1809
- declare const constants_LAYERZERO_APPS_ADDRESS: typeof LAYERZERO_APPS_ADDRESS;
1810
- declare const constants_LAYERZERO_APPS_PUBKEY: typeof LAYERZERO_APPS_PUBKEY;
1811
- declare const constants_NODE_URL: typeof NODE_URL;
1812
- declare const constants_OFT_PRECRIME_ADDRESS: typeof OFT_PRECRIME_ADDRESS;
1813
- declare const constants_ORACLE_ADDRESS: typeof ORACLE_ADDRESS;
1814
- declare const constants_ORACLE_SIGNER_ADDRESS: typeof ORACLE_SIGNER_ADDRESS;
1815
- declare const constants_RELAYER_SIGNER_ADDRESS: typeof RELAYER_SIGNER_ADDRESS;
1816
- declare namespace constants {
1803
+ declare const constants_BRIDGE_PRECRIME_ADDRESS: typeof BRIDGE_PRECRIME_ADDRESS;
1804
+ declare const constants_COUNTER_ADDRESS: typeof COUNTER_ADDRESS;
1805
+ declare const constants_EXECUTOR_ADDRESS: typeof EXECUTOR_ADDRESS;
1806
+ declare const constants_EXECUTOR_EXT_ADDRESS: typeof EXECUTOR_EXT_ADDRESS;
1807
+ declare const constants_FAUCET_URL: typeof FAUCET_URL;
1808
+ declare const constants_LAYERZERO_ADDRESS: typeof LAYERZERO_ADDRESS;
1809
+ declare const constants_LAYERZERO_APPS_ADDRESS: typeof LAYERZERO_APPS_ADDRESS;
1810
+ declare const constants_LAYERZERO_APPS_PUBKEY: typeof LAYERZERO_APPS_PUBKEY;
1811
+ declare const constants_NODE_URL: typeof NODE_URL;
1812
+ declare const constants_OFT_PRECRIME_ADDRESS: typeof OFT_PRECRIME_ADDRESS;
1813
+ declare const constants_ORACLE_ADDRESS: typeof ORACLE_ADDRESS;
1814
+ declare const constants_ORACLE_SIGNER_ADDRESS: typeof ORACLE_SIGNER_ADDRESS;
1815
+ declare const constants_RELAYER_SIGNER_ADDRESS: typeof RELAYER_SIGNER_ADDRESS;
1816
+ declare namespace constants {
1817
1817
  export { constants_BRIDGE_ADDRESS as BRIDGE_ADDRESS, constants_BRIDGE_PRECRIME_ADDRESS as BRIDGE_PRECRIME_ADDRESS, constants_COUNTER_ADDRESS as COUNTER_ADDRESS, constants_EXECUTOR_ADDRESS as EXECUTOR_ADDRESS, constants_EXECUTOR_EXT_ADDRESS as EXECUTOR_EXT_ADDRESS, constants_FAUCET_URL as FAUCET_URL, constants_LAYERZERO_ADDRESS as LAYERZERO_ADDRESS, constants_LAYERZERO_APPS_ADDRESS as LAYERZERO_APPS_ADDRESS, constants_LAYERZERO_APPS_PUBKEY as LAYERZERO_APPS_PUBKEY, constants_NODE_URL as NODE_URL, constants_OFT_PRECRIME_ADDRESS as OFT_PRECRIME_ADDRESS, constants_ORACLE_ADDRESS as ORACLE_ADDRESS, constants_ORACLE_SIGNER_ADDRESS as ORACLE_SIGNER_ADDRESS, constants_RELAYER_SIGNER_ADDRESS as RELAYER_SIGNER_ADDRESS };
1818
1818
  }
1819
1819
 
@@ -2336,13 +2336,13 @@ declare class Bridge {
2336
2336
  }
2337
2337
 
2338
2338
  type bridge_Bridge = Bridge;
2339
- declare const bridge_Bridge: typeof Bridge;
2340
- declare const bridge_DEFAULT_LIMITER_CAP_SD: typeof DEFAULT_LIMITER_CAP_SD;
2341
- declare const bridge_DEFAULT_LIMITER_WINDOW_SEC: typeof DEFAULT_LIMITER_WINDOW_SEC;
2342
- type bridge_PacketType = PacketType;
2343
- declare const bridge_PacketType: typeof PacketType;
2344
- type bridge_RemoteCoin = RemoteCoin;
2345
- declare namespace bridge {
2339
+ declare const bridge_Bridge: typeof Bridge;
2340
+ declare const bridge_DEFAULT_LIMITER_CAP_SD: typeof DEFAULT_LIMITER_CAP_SD;
2341
+ declare const bridge_DEFAULT_LIMITER_WINDOW_SEC: typeof DEFAULT_LIMITER_WINDOW_SEC;
2342
+ type bridge_PacketType = PacketType;
2343
+ declare const bridge_PacketType: typeof PacketType;
2344
+ type bridge_RemoteCoin = RemoteCoin;
2345
+ declare namespace bridge {
2346
2346
  export { bridge_Bridge as Bridge, bridge_DEFAULT_LIMITER_CAP_SD as DEFAULT_LIMITER_CAP_SD, bridge_DEFAULT_LIMITER_WINDOW_SEC as DEFAULT_LIMITER_WINDOW_SEC, bridge_PacketType as PacketType, type bridge_RemoteCoin as RemoteCoin };
2347
2347
  }
2348
2348
 
@@ -3707,23 +3707,22 @@ declare class PreCrime {
3707
3707
  }
3708
3708
 
3709
3709
  type index$1_Coin = Coin;
3710
- declare const index$1_Coin: typeof Coin;
3711
- type index$1_Counter = Counter;
3712
- declare const index$1_Counter: typeof Counter;
3713
- type index$1_LzApp = LzApp;
3714
- declare const index$1_LzApp: typeof LzApp;
3715
- type index$1_MultisigOracle = MultisigOracle;
3716
- declare const index$1_MultisigOracle: typeof MultisigOracle;
3717
- type index$1_MultisigOracleTss = MultisigOracleTss;
3718
- declare const index$1_MultisigOracleTss: typeof MultisigOracleTss;
3719
- type index$1_OFT = OFT;
3720
- declare const index$1_OFT: typeof OFT;
3721
- type index$1_Oracle = Oracle;
3722
- declare const index$1_Oracle: typeof Oracle;
3723
- type index$1_PreCrime = PreCrime;
3724
- declare const index$1_PreCrime: typeof PreCrime;
3725
- declare const index$1_bridge: typeof bridge;
3726
- declare namespace index$1 {
3710
+ declare const index$1_Coin: typeof Coin;
3711
+ type index$1_Counter = Counter;
3712
+ declare const index$1_Counter: typeof Counter;
3713
+ type index$1_LzApp = LzApp;
3714
+ declare const index$1_LzApp: typeof LzApp;
3715
+ type index$1_MultisigOracle = MultisigOracle;
3716
+ declare const index$1_MultisigOracle: typeof MultisigOracle;
3717
+ type index$1_MultisigOracleTss = MultisigOracleTss;
3718
+ declare const index$1_MultisigOracleTss: typeof MultisigOracleTss;
3719
+ type index$1_OFT = OFT;
3720
+ declare const index$1_OFT: typeof OFT;
3721
+ type index$1_Oracle = Oracle;
3722
+ declare const index$1_Oracle: typeof Oracle;
3723
+ type index$1_PreCrime = PreCrime;
3724
+ declare const index$1_PreCrime: typeof PreCrime;
3725
+ declare namespace index$1 {
3727
3726
  export { index$1_Coin as Coin, index$1_Counter as Counter, index$1_LzApp as LzApp, index$1_MultisigOracle as MultisigOracle, index$1_MultisigOracleTss as MultisigOracleTss, index$1_OFT as OFT, index$1_Oracle as Oracle, index$1_PreCrime as PreCrime, index$1_bridge as bridge };
3728
3727
  }
3729
3728
 
@@ -3744,7 +3743,7 @@ declare function rebuildCompileScriptBytecode(bytecode: string | Uint8Array, add
3744
3743
  }[]): string;
3745
3744
 
3746
3745
  declare const index_rebuildCompileScriptBytecode: typeof rebuildCompileScriptBytecode;
3747
- declare namespace index {
3746
+ declare namespace index {
3748
3747
  export { index_rebuildCompileScriptBytecode as rebuildCompileScriptBytecode };
3749
3748
  }
3750
3749
 
package/dist/index.d.ts CHANGED
@@ -289,14 +289,14 @@ interface UlnSignerFee {
289
289
  }
290
290
 
291
291
  type index$3_CoinInfo = CoinInfo;
292
- type index$3_CoinInfoEx = CoinInfoEx;
293
- type index$3_CoinInfoResource = CoinInfoResource;
294
- type index$3_Packet = Packet;
295
- type index$3_TypeInfo = TypeInfo;
296
- type index$3_TypeInfoEx = TypeInfoEx;
297
- type index$3_UlnConfigType = UlnConfigType;
298
- type index$3_UlnSignerFee = UlnSignerFee;
299
- declare namespace index$3 {
292
+ type index$3_CoinInfoEx = CoinInfoEx;
293
+ type index$3_CoinInfoResource = CoinInfoResource;
294
+ type index$3_Packet = Packet;
295
+ type index$3_TypeInfo = TypeInfo;
296
+ type index$3_TypeInfoEx = TypeInfoEx;
297
+ type index$3_UlnConfigType = UlnConfigType;
298
+ type index$3_UlnSignerFee = UlnSignerFee;
299
+ declare namespace index$3 {
300
300
  export type { index$3_CoinInfo as CoinInfo, index$3_CoinInfoEx as CoinInfoEx, index$3_CoinInfoResource as CoinInfoResource, index$3_Packet as Packet, index$3_TypeInfo as TypeInfo, index$3_TypeInfoEx as TypeInfoEx, index$3_UlnConfigType as UlnConfigType, index$3_UlnSignerFee as UlnSignerFee };
301
301
  }
302
302
 
@@ -1359,45 +1359,45 @@ declare function buildStructTagFromTypeInfo(typeInfo: TypeInfo): string;
1359
1359
  declare function isTypeInfo(value: TypeInfo | any): value is TypeInfo;
1360
1360
 
1361
1361
  declare const utils_GAS_LIMIT_SAFETY_BPS: typeof GAS_LIMIT_SAFETY_BPS;
1362
- type utils_GetAddressSizeOfChainFunc = GetAddressSizeOfChainFunc;
1363
- type utils_MultipleSignFunc = MultipleSignFunc;
1364
- type utils_MutipleSignatureItem = MutipleSignatureItem;
1365
- declare const utils_ZERO_ADDRESS_BYTES: typeof ZERO_ADDRESS_BYTES;
1366
- declare const utils_ZERO_ADDRESS_HEX: typeof ZERO_ADDRESS_HEX;
1367
- declare const utils_applyGasLimitSafety: typeof applyGasLimitSafety;
1368
- declare const utils_buildStructTagFromTypeInfo: typeof buildStructTagFromTypeInfo;
1369
- declare const utils_bytesToUint8Array: typeof bytesToUint8Array;
1370
- declare const utils_computeGuid: typeof computeGuid;
1371
- declare const utils_convertBytesToUint64: typeof convertBytesToUint64;
1372
- declare const utils_convertToPaddedUint8Array: typeof convertToPaddedUint8Array;
1373
- declare const utils_convertUint64ToBytes: typeof convertUint64ToBytes;
1374
- declare const utils_decodePacket: typeof decodePacket;
1375
- declare const utils_decodePacketString: typeof decodePacketString;
1376
- declare const utils_decodePayload: typeof decodePayload;
1377
- declare const utils_encodePacket: typeof encodePacket;
1378
- declare const utils_fullAddress: typeof fullAddress;
1379
- declare const utils_generateMultisig: typeof generateMultisig;
1380
- declare const utils_getAccountFromMnemonic: typeof getAccountFromMnemonic;
1381
- declare const utils_getAccountFromPrivateKey: typeof getAccountFromPrivateKey;
1382
- declare const utils_getAddressFromPublicKey: typeof getAddressFromPublicKey;
1383
- declare const utils_getLzReceiveTypeArguments: typeof getLzReceiveTypeArguments;
1384
- declare const utils_getResourceAddress: typeof getResourceAddress;
1385
- declare const utils_getSignedTransactionHash: typeof getSignedTransactionHash;
1386
- declare const utils_hashBuffer: typeof hashBuffer;
1387
- declare const utils_hashPacket: typeof hashPacket;
1388
- declare const utils_hexToAscii: typeof hexToAscii;
1389
- declare const utils_isErrorOfApiError: typeof isErrorOfApiError;
1390
- declare const utils_isSameAddress: typeof isSameAddress;
1391
- declare const utils_isTypeInfo: typeof isTypeInfo;
1392
- declare const utils_isZeroAddress: typeof isZeroAddress;
1393
- declare const utils_makeSignFuncWithMultipleSigners: typeof makeSignFuncWithMultipleSigners;
1394
- declare const utils_multiSigSignedBCSTxn: typeof multiSigSignedBCSTxn;
1395
- declare const utils_normalizeTypeInfo: typeof normalizeTypeInfo;
1396
- declare const utils_paddingUint8Array: typeof paddingUint8Array;
1397
- declare const utils_rebuildPacketFromEvent: typeof rebuildPacketFromEvent;
1398
- declare const utils_stringToPaddedUint8Array: typeof stringToPaddedUint8Array;
1399
- declare const utils_stringToUint8Array: typeof stringToUint8Array;
1400
- declare namespace utils {
1362
+ type utils_GetAddressSizeOfChainFunc = GetAddressSizeOfChainFunc;
1363
+ type utils_MultipleSignFunc = MultipleSignFunc;
1364
+ type utils_MutipleSignatureItem = MutipleSignatureItem;
1365
+ declare const utils_ZERO_ADDRESS_BYTES: typeof ZERO_ADDRESS_BYTES;
1366
+ declare const utils_ZERO_ADDRESS_HEX: typeof ZERO_ADDRESS_HEX;
1367
+ declare const utils_applyGasLimitSafety: typeof applyGasLimitSafety;
1368
+ declare const utils_buildStructTagFromTypeInfo: typeof buildStructTagFromTypeInfo;
1369
+ declare const utils_bytesToUint8Array: typeof bytesToUint8Array;
1370
+ declare const utils_computeGuid: typeof computeGuid;
1371
+ declare const utils_convertBytesToUint64: typeof convertBytesToUint64;
1372
+ declare const utils_convertToPaddedUint8Array: typeof convertToPaddedUint8Array;
1373
+ declare const utils_convertUint64ToBytes: typeof convertUint64ToBytes;
1374
+ declare const utils_decodePacket: typeof decodePacket;
1375
+ declare const utils_decodePacketString: typeof decodePacketString;
1376
+ declare const utils_decodePayload: typeof decodePayload;
1377
+ declare const utils_encodePacket: typeof encodePacket;
1378
+ declare const utils_fullAddress: typeof fullAddress;
1379
+ declare const utils_generateMultisig: typeof generateMultisig;
1380
+ declare const utils_getAccountFromMnemonic: typeof getAccountFromMnemonic;
1381
+ declare const utils_getAccountFromPrivateKey: typeof getAccountFromPrivateKey;
1382
+ declare const utils_getAddressFromPublicKey: typeof getAddressFromPublicKey;
1383
+ declare const utils_getLzReceiveTypeArguments: typeof getLzReceiveTypeArguments;
1384
+ declare const utils_getResourceAddress: typeof getResourceAddress;
1385
+ declare const utils_getSignedTransactionHash: typeof getSignedTransactionHash;
1386
+ declare const utils_hashBuffer: typeof hashBuffer;
1387
+ declare const utils_hashPacket: typeof hashPacket;
1388
+ declare const utils_hexToAscii: typeof hexToAscii;
1389
+ declare const utils_isErrorOfApiError: typeof isErrorOfApiError;
1390
+ declare const utils_isSameAddress: typeof isSameAddress;
1391
+ declare const utils_isTypeInfo: typeof isTypeInfo;
1392
+ declare const utils_isZeroAddress: typeof isZeroAddress;
1393
+ declare const utils_makeSignFuncWithMultipleSigners: typeof makeSignFuncWithMultipleSigners;
1394
+ declare const utils_multiSigSignedBCSTxn: typeof multiSigSignedBCSTxn;
1395
+ declare const utils_normalizeTypeInfo: typeof normalizeTypeInfo;
1396
+ declare const utils_paddingUint8Array: typeof paddingUint8Array;
1397
+ declare const utils_rebuildPacketFromEvent: typeof rebuildPacketFromEvent;
1398
+ declare const utils_stringToPaddedUint8Array: typeof stringToPaddedUint8Array;
1399
+ declare const utils_stringToUint8Array: typeof stringToUint8Array;
1400
+ declare namespace utils {
1401
1401
  export { utils_GAS_LIMIT_SAFETY_BPS as GAS_LIMIT_SAFETY_BPS, type utils_GetAddressSizeOfChainFunc as GetAddressSizeOfChainFunc, type utils_MultipleSignFunc as MultipleSignFunc, type utils_MutipleSignatureItem as MutipleSignatureItem, utils_ZERO_ADDRESS_BYTES as ZERO_ADDRESS_BYTES, utils_ZERO_ADDRESS_HEX as ZERO_ADDRESS_HEX, utils_applyGasLimitSafety as applyGasLimitSafety, utils_buildStructTagFromTypeInfo as buildStructTagFromTypeInfo, utils_bytesToUint8Array as bytesToUint8Array, utils_computeGuid as computeGuid, utils_convertBytesToUint64 as convertBytesToUint64, utils_convertToPaddedUint8Array as convertToPaddedUint8Array, utils_convertUint64ToBytes as convertUint64ToBytes, utils_decodePacket as decodePacket, utils_decodePacketString as decodePacketString, utils_decodePayload as decodePayload, utils_encodePacket as encodePacket, utils_fullAddress as fullAddress, utils_generateMultisig as generateMultisig, utils_getAccountFromMnemonic as getAccountFromMnemonic, utils_getAccountFromPrivateKey as getAccountFromPrivateKey, utils_getAddressFromPublicKey as getAddressFromPublicKey, utils_getLzReceiveTypeArguments as getLzReceiveTypeArguments, utils_getResourceAddress as getResourceAddress, utils_getSignedTransactionHash as getSignedTransactionHash, utils_hashBuffer as hashBuffer, utils_hashPacket as hashPacket, utils_hexToAscii as hexToAscii, utils_isErrorOfApiError as isErrorOfApiError, utils_isSameAddress as isSameAddress, utils_isTypeInfo as isTypeInfo, utils_isZeroAddress as isZeroAddress, utils_makeSignFuncWithMultipleSigners as makeSignFuncWithMultipleSigners, utils_multiSigSignedBCSTxn as multiSigSignedBCSTxn, utils_normalizeTypeInfo as normalizeTypeInfo, utils_paddingUint8Array as paddingUint8Array, utils_rebuildPacketFromEvent as rebuildPacketFromEvent, utils_stringToPaddedUint8Array as stringToPaddedUint8Array, utils_stringToUint8Array as stringToUint8Array };
1402
1402
  }
1403
1403
 
@@ -1652,18 +1652,18 @@ declare class Uln {
1652
1652
  }
1653
1653
 
1654
1654
  type index$2_MsgLibV1_0 = MsgLibV1_0;
1655
- declare const index$2_MsgLibV1_0: typeof MsgLibV1_0;
1656
- type index$2_PacketEvent = PacketEvent;
1657
- declare const index$2_PacketEvent: typeof PacketEvent;
1658
- type index$2_Uln = Uln;
1659
- declare const index$2_Uln: typeof Uln;
1660
- type index$2_UlnConfig = UlnConfig;
1661
- declare const index$2_UlnConfig: typeof UlnConfig;
1662
- type index$2_UlnReceive = UlnReceive;
1663
- declare const index$2_UlnReceive: typeof UlnReceive;
1664
- type index$2_UlnSigner = UlnSigner;
1665
- declare const index$2_UlnSigner: typeof UlnSigner;
1666
- declare namespace index$2 {
1655
+ declare const index$2_MsgLibV1_0: typeof MsgLibV1_0;
1656
+ type index$2_PacketEvent = PacketEvent;
1657
+ declare const index$2_PacketEvent: typeof PacketEvent;
1658
+ type index$2_Uln = Uln;
1659
+ declare const index$2_Uln: typeof Uln;
1660
+ type index$2_UlnConfig = UlnConfig;
1661
+ declare const index$2_UlnConfig: typeof UlnConfig;
1662
+ type index$2_UlnReceive = UlnReceive;
1663
+ declare const index$2_UlnReceive: typeof UlnReceive;
1664
+ type index$2_UlnSigner = UlnSigner;
1665
+ declare const index$2_UlnSigner: typeof UlnSigner;
1666
+ declare namespace index$2 {
1667
1667
  export { index$2_MsgLibV1_0 as MsgLibV1_0, index$2_PacketEvent as PacketEvent, index$2_Uln as Uln, index$2_UlnConfig as UlnConfig, index$2_UlnReceive as UlnReceive, index$2_UlnSigner as UlnSigner };
1668
1668
  }
1669
1669
 
@@ -1800,20 +1800,20 @@ declare const COUNTER_ADDRESS: {
1800
1800
  };
1801
1801
 
1802
1802
  declare const constants_BRIDGE_ADDRESS: typeof BRIDGE_ADDRESS;
1803
- declare const constants_BRIDGE_PRECRIME_ADDRESS: typeof BRIDGE_PRECRIME_ADDRESS;
1804
- declare const constants_COUNTER_ADDRESS: typeof COUNTER_ADDRESS;
1805
- declare const constants_EXECUTOR_ADDRESS: typeof EXECUTOR_ADDRESS;
1806
- declare const constants_EXECUTOR_EXT_ADDRESS: typeof EXECUTOR_EXT_ADDRESS;
1807
- declare const constants_FAUCET_URL: typeof FAUCET_URL;
1808
- declare const constants_LAYERZERO_ADDRESS: typeof LAYERZERO_ADDRESS;
1809
- declare const constants_LAYERZERO_APPS_ADDRESS: typeof LAYERZERO_APPS_ADDRESS;
1810
- declare const constants_LAYERZERO_APPS_PUBKEY: typeof LAYERZERO_APPS_PUBKEY;
1811
- declare const constants_NODE_URL: typeof NODE_URL;
1812
- declare const constants_OFT_PRECRIME_ADDRESS: typeof OFT_PRECRIME_ADDRESS;
1813
- declare const constants_ORACLE_ADDRESS: typeof ORACLE_ADDRESS;
1814
- declare const constants_ORACLE_SIGNER_ADDRESS: typeof ORACLE_SIGNER_ADDRESS;
1815
- declare const constants_RELAYER_SIGNER_ADDRESS: typeof RELAYER_SIGNER_ADDRESS;
1816
- declare namespace constants {
1803
+ declare const constants_BRIDGE_PRECRIME_ADDRESS: typeof BRIDGE_PRECRIME_ADDRESS;
1804
+ declare const constants_COUNTER_ADDRESS: typeof COUNTER_ADDRESS;
1805
+ declare const constants_EXECUTOR_ADDRESS: typeof EXECUTOR_ADDRESS;
1806
+ declare const constants_EXECUTOR_EXT_ADDRESS: typeof EXECUTOR_EXT_ADDRESS;
1807
+ declare const constants_FAUCET_URL: typeof FAUCET_URL;
1808
+ declare const constants_LAYERZERO_ADDRESS: typeof LAYERZERO_ADDRESS;
1809
+ declare const constants_LAYERZERO_APPS_ADDRESS: typeof LAYERZERO_APPS_ADDRESS;
1810
+ declare const constants_LAYERZERO_APPS_PUBKEY: typeof LAYERZERO_APPS_PUBKEY;
1811
+ declare const constants_NODE_URL: typeof NODE_URL;
1812
+ declare const constants_OFT_PRECRIME_ADDRESS: typeof OFT_PRECRIME_ADDRESS;
1813
+ declare const constants_ORACLE_ADDRESS: typeof ORACLE_ADDRESS;
1814
+ declare const constants_ORACLE_SIGNER_ADDRESS: typeof ORACLE_SIGNER_ADDRESS;
1815
+ declare const constants_RELAYER_SIGNER_ADDRESS: typeof RELAYER_SIGNER_ADDRESS;
1816
+ declare namespace constants {
1817
1817
  export { constants_BRIDGE_ADDRESS as BRIDGE_ADDRESS, constants_BRIDGE_PRECRIME_ADDRESS as BRIDGE_PRECRIME_ADDRESS, constants_COUNTER_ADDRESS as COUNTER_ADDRESS, constants_EXECUTOR_ADDRESS as EXECUTOR_ADDRESS, constants_EXECUTOR_EXT_ADDRESS as EXECUTOR_EXT_ADDRESS, constants_FAUCET_URL as FAUCET_URL, constants_LAYERZERO_ADDRESS as LAYERZERO_ADDRESS, constants_LAYERZERO_APPS_ADDRESS as LAYERZERO_APPS_ADDRESS, constants_LAYERZERO_APPS_PUBKEY as LAYERZERO_APPS_PUBKEY, constants_NODE_URL as NODE_URL, constants_OFT_PRECRIME_ADDRESS as OFT_PRECRIME_ADDRESS, constants_ORACLE_ADDRESS as ORACLE_ADDRESS, constants_ORACLE_SIGNER_ADDRESS as ORACLE_SIGNER_ADDRESS, constants_RELAYER_SIGNER_ADDRESS as RELAYER_SIGNER_ADDRESS };
1818
1818
  }
1819
1819
 
@@ -2336,13 +2336,13 @@ declare class Bridge {
2336
2336
  }
2337
2337
 
2338
2338
  type bridge_Bridge = Bridge;
2339
- declare const bridge_Bridge: typeof Bridge;
2340
- declare const bridge_DEFAULT_LIMITER_CAP_SD: typeof DEFAULT_LIMITER_CAP_SD;
2341
- declare const bridge_DEFAULT_LIMITER_WINDOW_SEC: typeof DEFAULT_LIMITER_WINDOW_SEC;
2342
- type bridge_PacketType = PacketType;
2343
- declare const bridge_PacketType: typeof PacketType;
2344
- type bridge_RemoteCoin = RemoteCoin;
2345
- declare namespace bridge {
2339
+ declare const bridge_Bridge: typeof Bridge;
2340
+ declare const bridge_DEFAULT_LIMITER_CAP_SD: typeof DEFAULT_LIMITER_CAP_SD;
2341
+ declare const bridge_DEFAULT_LIMITER_WINDOW_SEC: typeof DEFAULT_LIMITER_WINDOW_SEC;
2342
+ type bridge_PacketType = PacketType;
2343
+ declare const bridge_PacketType: typeof PacketType;
2344
+ type bridge_RemoteCoin = RemoteCoin;
2345
+ declare namespace bridge {
2346
2346
  export { bridge_Bridge as Bridge, bridge_DEFAULT_LIMITER_CAP_SD as DEFAULT_LIMITER_CAP_SD, bridge_DEFAULT_LIMITER_WINDOW_SEC as DEFAULT_LIMITER_WINDOW_SEC, bridge_PacketType as PacketType, type bridge_RemoteCoin as RemoteCoin };
2347
2347
  }
2348
2348
 
@@ -3707,23 +3707,22 @@ declare class PreCrime {
3707
3707
  }
3708
3708
 
3709
3709
  type index$1_Coin = Coin;
3710
- declare const index$1_Coin: typeof Coin;
3711
- type index$1_Counter = Counter;
3712
- declare const index$1_Counter: typeof Counter;
3713
- type index$1_LzApp = LzApp;
3714
- declare const index$1_LzApp: typeof LzApp;
3715
- type index$1_MultisigOracle = MultisigOracle;
3716
- declare const index$1_MultisigOracle: typeof MultisigOracle;
3717
- type index$1_MultisigOracleTss = MultisigOracleTss;
3718
- declare const index$1_MultisigOracleTss: typeof MultisigOracleTss;
3719
- type index$1_OFT = OFT;
3720
- declare const index$1_OFT: typeof OFT;
3721
- type index$1_Oracle = Oracle;
3722
- declare const index$1_Oracle: typeof Oracle;
3723
- type index$1_PreCrime = PreCrime;
3724
- declare const index$1_PreCrime: typeof PreCrime;
3725
- declare const index$1_bridge: typeof bridge;
3726
- declare namespace index$1 {
3710
+ declare const index$1_Coin: typeof Coin;
3711
+ type index$1_Counter = Counter;
3712
+ declare const index$1_Counter: typeof Counter;
3713
+ type index$1_LzApp = LzApp;
3714
+ declare const index$1_LzApp: typeof LzApp;
3715
+ type index$1_MultisigOracle = MultisigOracle;
3716
+ declare const index$1_MultisigOracle: typeof MultisigOracle;
3717
+ type index$1_MultisigOracleTss = MultisigOracleTss;
3718
+ declare const index$1_MultisigOracleTss: typeof MultisigOracleTss;
3719
+ type index$1_OFT = OFT;
3720
+ declare const index$1_OFT: typeof OFT;
3721
+ type index$1_Oracle = Oracle;
3722
+ declare const index$1_Oracle: typeof Oracle;
3723
+ type index$1_PreCrime = PreCrime;
3724
+ declare const index$1_PreCrime: typeof PreCrime;
3725
+ declare namespace index$1 {
3727
3726
  export { index$1_Coin as Coin, index$1_Counter as Counter, index$1_LzApp as LzApp, index$1_MultisigOracle as MultisigOracle, index$1_MultisigOracleTss as MultisigOracleTss, index$1_OFT as OFT, index$1_Oracle as Oracle, index$1_PreCrime as PreCrime, index$1_bridge as bridge };
3728
3727
  }
3729
3728
 
@@ -3744,7 +3743,7 @@ declare function rebuildCompileScriptBytecode(bytecode: string | Uint8Array, add
3744
3743
  }[]): string;
3745
3744
 
3746
3745
  declare const index_rebuildCompileScriptBytecode: typeof rebuildCompileScriptBytecode;
3747
- declare namespace index {
3746
+ declare namespace index {
3748
3747
  export { index_rebuildCompileScriptBytecode as rebuildCompileScriptBytecode };
3749
3748
  }
3750
3749
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@layerzerolabs/lz-aptos-sdk-v1",
3
- "version": "3.0.17",
3
+ "version": "3.0.18-movement.0",
4
4
  "description": "Aptos SDK for LayerZero",
5
5
  "keywords": [
6
6
  "aptos",
@@ -33,7 +33,7 @@
33
33
  },
34
34
  "dependencies": {
35
35
  "@commander-js/extra-typings": "^12.1.0",
36
- "@layerzerolabs/lz-definitions": "^3.0.17",
36
+ "@layerzerolabs/lz-definitions": "^3.0.18-movement.0",
37
37
  "@noble/hashes": "^1.3.2",
38
38
  "aptos": "^1.20.0",
39
39
  "bip39": "^3.1.0",
@@ -48,8 +48,8 @@
48
48
  "@babel/preset-env": "^7.23.5",
49
49
  "@babel/preset-typescript": "^7.23.3",
50
50
  "@jest/globals": "^29.7.0",
51
- "@layerzerolabs/tsup-config-next": "^3.0.17",
52
- "@layerzerolabs/typescript-config-next": "^3.0.17",
51
+ "@layerzerolabs/tsup-config-next": "^3.0.18-movement.0",
52
+ "@layerzerolabs/typescript-config-next": "^3.0.18-movement.0",
53
53
  "@types/bn.js": "^5.1.5",
54
54
  "@types/command-line-args": "^5.2.3",
55
55
  "@types/command-line-usage": "^5.0.4",