@layerzerolabs/lz-movevm-sdk-v2 3.0.11 → 3.0.12

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/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @layerzerolabs/lz-movevm-sdk-v2
2
2
 
3
+ ## 3.0.12
4
+
5
+ ### Patch Changes
6
+
7
+ - 1f77709: endpoints: superposition mainnet and some testnets
8
+ - Updated dependencies [1f77709]
9
+ - @layerzerolabs/lz-corekit-aptos@3.0.12
10
+ - @layerzerolabs/lz-core@3.0.12
11
+ - @layerzerolabs/lz-definitions@3.0.12
12
+ - @layerzerolabs/lz-serdes@3.0.12
13
+ - @layerzerolabs/lz-utilities@3.0.12
14
+ - @layerzerolabs/lz-v2-utilities@3.0.12
15
+ - @layerzerolabs/move-definitions@3.0.12
16
+
3
17
  ## 3.0.11
4
18
 
5
19
  ### Patch Changes
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # MoveVM SDK
1
+ # @layerzerolabs/lz-movevm-sdk-v2 Documentation
2
2
 
3
3
  The MoveVM SDK is a comprehensive toolkit designed to interact with the Move-based blockchain. It provides a set of utilities and modules to facilitate the development and integration of applications with the MoveVM.
4
4
 
package/dist/index.cjs CHANGED
@@ -1761,7 +1761,7 @@ var Oft = class {
1761
1761
  * Get lz_receive module name
1762
1762
  * location: packages/layerzero-v2/aptos/contracts/oapps/oft/sources/internal_oapp/oapp_core.move
1763
1763
  *
1764
- * @returns fixed value 'oapp_receive' in vector<u8>
1764
+ * @returns fixed value 'oapp_receive' in Uint8Array
1765
1765
  * details: packages/layerzero-v2/aptos/contracts/oapps/oft/sources/internal_oft/oapp_config.move
1766
1766
  */
1767
1767
  async getLzReceiveModuleName() {
@@ -1777,12 +1777,12 @@ var Oft = class {
1777
1777
  * location: packages/layerzero-v2/aptos/contracts/oapps/oft/sources/internal_oft/oft.move
1778
1778
  *
1779
1779
  * @param dstEid EndpointId details: packages/layerzero-definitions/src/enums/endpoint-id.ts
1780
- * @param to dst oapp address in vector<u8>
1780
+ * @param to dst oapp address in Uint8Array
1781
1781
  * @param amountLd amount to send in local decimals
1782
1782
  * @param minAmountLd minimum amount to send in local decimals
1783
- * @param extraOptions (optional) extra options to send in vector<u8>
1784
- * @param composeMsg (optional) compose message to send in vector<u8>
1785
- * @param oftCmd (optional) oft command to send in vector<u8>
1783
+ * @param extraOptions (optional) extra options to send in Uint8Array
1784
+ * @param composeMsg (optional) compose message to send in Uint8Array
1785
+ * @param oftCmd (optional) oft command to send in Uint8Array
1786
1786
  * @returns (
1787
1787
  * oft_limit: The minimum and maximum limits that can be sent to the recipient
1788
1788
  * fees: The fees that will be applied to the amount sent
@@ -1805,13 +1805,13 @@ var Oft = class {
1805
1805
  *
1806
1806
  * @param userSender sender oapp address
1807
1807
  * @param dstEid EndpointId details: packages/layerzero-definitions/src/enums/endpoint-id.ts
1808
- * @param to dst oapp address in vector<u8>
1808
+ * @param to dst oapp address in Uint8Array
1809
1809
  * @param amountLd amount to send in local decimals
1810
1810
  * @param minAmountLd minimum amount to send in local decimals
1811
1811
  * @param payInZro whether to pay in ZRO or not
1812
- * @param extraOptions (optional) extra options to send in vector<u8>
1813
- * @param composeMsg (optional) compose message to send in vector<u8>
1814
- * @param oftCmd (optional) oft command to send in vector<u8>
1812
+ * @param extraOptions (optional) extra options to send in Uint8Array
1813
+ * @param composeMsg (optional) compose message to send in Uint8Array
1814
+ * @param oftCmd (optional) oft command to send in Uint8Array
1815
1815
  * @returns (native_fee, zro_fee)
1816
1816
  */
1817
1817
  async quoteSend(userSender, dstEid, to, amountLd, minAmountLd, payInZro = false, extraOptions = EmptyUint8Array, composeMsg = EmptyUint8Array, oftCmd = EmptyUint8Array) {
@@ -2003,8 +2003,8 @@ var Oft = class {
2003
2003
  *
2004
2004
  * @param sender sender oapp address
2005
2005
  * @param amountLd amount to send in local decimals
2006
- * @param to dst oapp address in vector<u8>
2007
- * @param composeMsg compose message to send in vector<u8>
2006
+ * @param to dst oapp address in Uint8Array
2007
+ * @param composeMsg compose message to send in Uint8Array
2008
2008
  * @returns (
2009
2009
  * encoded_msg: The encoded message
2010
2010
  * msg_type: (SEND = 1, SEND_AND_CALL = 2) details: apps/oft/config/src/wire/types.ts
@@ -2171,14 +2171,14 @@ var Oft = class {
2171
2171
  * location: packages/layerzero-v2/aptos/contracts/oapps/oft/sources/internal_oft/oft.move
2172
2172
  *
2173
2173
  * @param dstEid EndpointId details: packages/layerzero-definitions/src/enums/endpoint-id.ts
2174
- * @param to dst oapp address in vector<u8>
2174
+ * @param to dst oapp address in Uint8Array
2175
2175
  * @param amountLd amount to send in local decimals
2176
2176
  * @param minAmountLd minimum amount to send in local decimals
2177
2177
  * @param nativeFee native fee
2178
2178
  * @param zroFee zro fee
2179
- * @param extraOptions (optional) extra options to send in vector<u8>
2180
- * @param composeMsg (optional) compose message to send in vector<u8>
2181
- * @param oftCmd (optional) oft command to send in vector<u8>
2179
+ * @param extraOptions (optional) extra options to send in Uint8Array
2180
+ * @param composeMsg (optional) compose message to send in Uint8Array
2181
+ * @param oftCmd (optional) oft command to send in Uint8Array
2182
2182
  * @returns payload of send_withdraw or send_withdraw_coin function
2183
2183
  */
2184
2184
  async sendPayload(dstEid, to, amountLd, minAmountLd, nativeFee, zroFee, extraOptions = EmptyUint8Array, composeMsg = EmptyUint8Array, oftCmd = EmptyUint8Array) {
@@ -2204,14 +2204,14 @@ var Oft = class {
2204
2204
  *
2205
2205
  * @param signer oapp account
2206
2206
  * @param dstEid EndpointId details: packages/layerzero-definitions/src/enums/endpoint-id.ts
2207
- * @param to dst oapp address in vector<u8>
2207
+ * @param to dst oapp address in Uint8Array
2208
2208
  * @param amountLd amount to send in local decimals
2209
2209
  * @param minAmountLd minimum amount to send in local decimals
2210
2210
  * @param nativeFee native fee
2211
2211
  * @param zroFee zro fee
2212
- * @param extraOptions (optional) extra options to send in vector<u8>
2213
- * @param composeMsg (optional) compose message to send in vector<u8>
2214
- * @param oftCmd (optional) oft command to send in vector<u8>
2212
+ * @param extraOptions (optional) extra options to send in Uint8Array
2213
+ * @param composeMsg (optional) compose message to send in Uint8Array
2214
+ * @param oftCmd (optional) oft command to send in Uint8Array
2215
2215
  * @param gasOptions (optional) @see {@link GasOptions}
2216
2216
  * @returns transaction response of send_withdraw or send_withdraw_coin function
2217
2217
  */
@@ -2262,7 +2262,7 @@ var Oft = class {
2262
2262
  *
2263
2263
  * @param msgLib Message Library address
2264
2264
  * @param configType (CONFIG_TYPE_EXECUTOR=1, CONFIG_TYPE_SEND_ULN=2, CONFIG_TYPE_RECV_ULN=3)
2265
- * @param config configuration in vector<u8> format. (struct UlnConfig or ExecutorConfig)
2265
+ * @param config configuration in Uint8Array format. (struct UlnConfig or ExecutorConfig)
2266
2266
  * @returns payload of set_config function
2267
2267
  */
2268
2268
  setConfigPayload(msgLib, configType, config) {
@@ -2279,7 +2279,7 @@ var Oft = class {
2279
2279
  * @param signer oapp account or delegate account
2280
2280
  * @param msgLib Message Library address
2281
2281
  * @param configType (CONFIG_TYPE_EXECUTOR=1, CONFIG_TYPE_SEND_ULN=2, CONFIG_TYPE_RECV_ULN=3)
2282
- * @param config configuration in vector<u8> format. (struct UlnConfig or ExecutorConfig)
2282
+ * @param config configuration in Uint8Array format. (struct UlnConfig or ExecutorConfig)
2283
2283
  * @param gasOptions (optional) @see {@link GasOptions}
2284
2284
  * @returns transaction response of set_config function
2285
2285
  */
@@ -2438,7 +2438,7 @@ var Oft = class {
2438
2438
  *
2439
2439
  * @param eid EndpointId details: packages/layerzero-definitions/src/enums/endpoint-id.ts
2440
2440
  * @param msgType Message type identifier
2441
- * @param enforcedOptions Enforced options in vector<u8> format
2441
+ * @param enforcedOptions Enforced options in Uint8Array format
2442
2442
  * @returns payload of set_enforced_options function
2443
2443
  */
2444
2444
  setEnforcedOptionsPayload(eid, msgType, enforcedOptions) {
@@ -2455,7 +2455,7 @@ var Oft = class {
2455
2455
  * @param signer admin account
2456
2456
  * @param eid EndpointId details: packages/layerzero-definitions/src/enums/endpoint-id.ts
2457
2457
  * @param msgType Message type identifier
2458
- * @param enforcedOptions Enforced options in vector<u8> format
2458
+ * @param enforcedOptions Enforced options in Uint8Array format
2459
2459
  * @param gasOptions (optional) @see {@link GasOptions}
2460
2460
  * @returns transaction response of set_enforced_options function
2461
2461
  */
@@ -2535,7 +2535,7 @@ var Oft = class {
2535
2535
  * location: packages/layerzero-v2/aptos/contracts/oapps/oft/sources/internal_oapp/oapp_core.move
2536
2536
  *
2537
2537
  * @param eid EndpointId details: packages/layerzero-definitions/src/enums/endpoint-id.ts
2538
- * @param peer Peer address in vector<u8> format
2538
+ * @param peer Peer address in Uint8Array format
2539
2539
  * @returns payload of set_peer function
2540
2540
  */
2541
2541
  setPeerPayload(eid, peer) {
@@ -2551,7 +2551,7 @@ var Oft = class {
2551
2551
  *
2552
2552
  * @param signer admin account
2553
2553
  * @param eid EndpointId details: packages/layerzero-definitions/src/enums/endpoint-id.ts
2554
- * @param peer Peer address in vector<u8> format
2554
+ * @param peer Peer address in Uint8Array format
2555
2555
  * @param gasOptions (optional) @see {@link GasOptions}
2556
2556
  * @returns transaction response of set_peer function
2557
2557
  */
@@ -2569,7 +2569,7 @@ var Oft = class {
2569
2569
  * location: packages/layerzero-v2/aptos/contracts/oapps/oft/sources/internal_oapp/oapp_core.move
2570
2570
  *
2571
2571
  * @param eid EndpointId details: packages/layerzero-definitions/src/enums/endpoint-id.ts
2572
- * @param peer Peer address in vector<u8> format
2572
+ * @param peer Peer address in Uint8Array format
2573
2573
  * @returns payload of remove_peer function
2574
2574
  */
2575
2575
  removePeerPayload(eid) {
@@ -2634,11 +2634,11 @@ var Oft = class {
2634
2634
  * location: packages/layerzero-v2/aptos/contracts/oapps/oft/sources/internal_oapp/oapp_receive.move
2635
2635
  *
2636
2636
  * @param srcEid Source EndpointId details: packages/layerzero-definitions/src/enums/endpoint-id.ts
2637
- * @param sender Sender address in vector<u8> format
2637
+ * @param sender Sender address in Uint8Array format
2638
2638
  * @param nonce Message nonce in u64
2639
- * @param guid Message GUID in vector<u8> format
2640
- * @param message Message content in vector<u8> format
2641
- * @param extraData Additional data in vector<u8> format
2639
+ * @param guid Message GUID in Uint8Array format
2640
+ * @param message Message content in Uint8Array format
2641
+ * @param extraData Additional data in Uint8Array format
2642
2642
  * @returns payload of lz_receive function
2643
2643
  */
2644
2644
  lzReceivePayload(srcEid, sender, nonce, guid, message, extraData) {
@@ -2654,11 +2654,11 @@ var Oft = class {
2654
2654
  *
2655
2655
  * @param signer oapp receiver account
2656
2656
  * @param srcEid Source EndpointId details: packages/layerzero-definitions/src/enums/endpoint-id.ts
2657
- * @param sender Sender address in vector<u8> format
2657
+ * @param sender Sender address in Uint8Array format
2658
2658
  * @param nonce Message nonce in u64
2659
- * @param guid Message GUID in vector<u8> format
2660
- * @param message Message content in vector<u8> format
2661
- * @param extraData Additional data in vector<u8> format
2659
+ * @param guid Message GUID in Uint8Array format
2660
+ * @param message Message content in Uint8Array format
2661
+ * @param extraData Additional data in Uint8Array format
2662
2662
  * @param gasOptions (optional) @see {@link GasOptions}
2663
2663
  * @returns transaction response of lz_receive function
2664
2664
  */
@@ -2676,10 +2676,10 @@ var Oft = class {
2676
2676
  * location: packages/layerzero-v2/aptos/contracts/oapps/oft/sources/internal_oapp/oapp_core.move
2677
2677
  *
2678
2678
  * @param srcEid Source EndpointId details: packages/layerzero-definitions/src/enums/endpoint-id.ts
2679
- * @param sender Sender address in vector<u8> format
2679
+ * @param sender Sender address in Uint8Array format
2680
2680
  * @param nonce Message nonce in u64
2681
- * @param guid Message GUID in vector<u8> format
2682
- * @param message Message content in vector<u8> format
2681
+ * @param guid Message GUID in Uint8Array format
2682
+ * @param message Message content in Uint8Array format
2683
2683
  * @returns payload of clear function
2684
2684
  */
2685
2685
  clearPayload(srcEid, sender, nonce, guid, message) {
@@ -2695,10 +2695,10 @@ var Oft = class {
2695
2695
  *
2696
2696
  * @param signer oapp account or delegate account
2697
2697
  * @param srcEid Source EndpointId details: packages/layerzero-definitions/src/enums/endpoint-id.ts
2698
- * @param sender Sender address in vector<u8> format
2698
+ * @param sender Sender address in Uint8Array format
2699
2699
  * @param nonce Message nonce in u64
2700
- * @param guid Message GUID in vector<u8> format
2701
- * @param message Message content in vector<u8> format
2700
+ * @param guid Message GUID in Uint8Array format
2701
+ * @param message Message content in Uint8Array format
2702
2702
  * @param gasOptions (optional) @see {@link GasOptions}
2703
2703
  * @returns transaction response of clear function
2704
2704
  */
@@ -2716,7 +2716,7 @@ var Oft = class {
2716
2716
  * location: packages/layerzero-v2/aptos/contracts/oapps/oft/sources/internal_oapp/oapp_core.move
2717
2717
  *
2718
2718
  * @param srcEid Source EndpointId details: packages/layerzero-definitions/src/enums/endpoint-id.ts
2719
- * @param sender Sender address in vector<u8> format
2719
+ * @param sender Sender address in Uint8Array format
2720
2720
  * @param nonce Message nonce in u64
2721
2721
  * @returns payload of skip function
2722
2722
  */
@@ -2733,7 +2733,7 @@ var Oft = class {
2733
2733
  *
2734
2734
  * @param signer oapp account or delegate account
2735
2735
  * @param srcEid Source EndpointId details: packages/layerzero-definitions/src/enums/endpoint-id.ts
2736
- * @param sender Sender address in vector<u8> format
2736
+ * @param sender Sender address in Uint8Array format
2737
2737
  * @param nonce Message nonce in u64
2738
2738
  * @param gasOptions (optional) @see {@link GasOptions}
2739
2739
  * @returns transaction response of skip function
@@ -2752,9 +2752,9 @@ var Oft = class {
2752
2752
  * location: packages/layerzero-v2/aptos/contracts/oapps/oft/sources/internal_oapp/oapp_core.move
2753
2753
  *
2754
2754
  * @param srcEid Source EndpointId details: packages/layerzero-definitions/src/enums/endpoint-id.ts
2755
- * @param sender Sender address in vector<u8> format
2755
+ * @param sender Sender address in Uint8Array format
2756
2756
  * @param nonce Message nonce in u64
2757
- * @param payloadHash Hash of the payload in vector<u8> format
2757
+ * @param payloadHash Hash of the payload in Uint8Array format
2758
2758
  * @returns payload of burn function
2759
2759
  */
2760
2760
  burnPayload(srcEid, sender, nonce, payloadHash) {
@@ -2770,9 +2770,9 @@ var Oft = class {
2770
2770
  *
2771
2771
  * @param signer oapp account or delegate account
2772
2772
  * @param srcEid Source EndpointId details: packages/layerzero-definitions/src/enums/endpoint-id.ts
2773
- * @param sender Sender address in vector<u8> format
2773
+ * @param sender Sender address in Uint8Array format
2774
2774
  * @param nonce Message nonce in u64
2775
- * @param payloadHash Hash of the payload in vector<u8> format
2775
+ * @param payloadHash Hash of the payload in Uint8Array format
2776
2776
  * @param gasOptions (optional) @see {@link GasOptions}
2777
2777
  * @returns transaction response of burn function
2778
2778
  */
@@ -2790,9 +2790,9 @@ var Oft = class {
2790
2790
  * location: packages/layerzero-v2/aptos/contracts/oapps/oft/sources/internal_oapp/oapp_core.move
2791
2791
  *
2792
2792
  * @param srcEid Source EndpointId details: packages/layerzero-definitions/src/enums/endpoint-id.ts
2793
- * @param sender Sender address in vector<u8> format
2793
+ * @param sender Sender address in Uint8Array format
2794
2794
  * @param nonce Message nonce in u64
2795
- * @param payloadHash Hash of the payload in vector<u8> format
2795
+ * @param payloadHash Hash of the payload in Uint8Array format
2796
2796
  * @returns payload of nilify function
2797
2797
  */
2798
2798
  nilifyPayload(srcEid, sender, nonce, payloadHash) {
@@ -2808,9 +2808,9 @@ var Oft = class {
2808
2808
  *
2809
2809
  * @param signer oapp account or delegate account
2810
2810
  * @param srcEid Source EndpointId details: packages/layerzero-definitions/src/enums/endpoint-id.ts
2811
- * @param sender Sender address in vector<u8> format
2811
+ * @param sender Sender address in Uint8Array format
2812
2812
  * @param nonce Message nonce in u64
2813
- * @param payloadHash Hash of the payload in vector<u8> format
2813
+ * @param payloadHash Hash of the payload in Uint8Array format
2814
2814
  * @param gasOptions (optional) @see {@link GasOptions}
2815
2815
  * @returns transaction response of nilify function
2816
2816
  */