@layerzerolabs/lz-sui-sdk-v2 3.0.134-sui.0 → 3.0.134-sui.1

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.
Files changed (84) hide show
  1. package/deployments/sui-sandbox-local/blocked_message_lib.json +26 -26
  2. package/deployments/sui-sandbox-local/blocked_msglib_ptb_builder.json +25 -25
  3. package/deployments/sui-sandbox-local/counter.json +34 -34
  4. package/deployments/sui-sandbox-local/dvn.json +14 -14
  5. package/deployments/sui-sandbox-local/dvn_call_type.json +21 -21
  6. package/deployments/sui-sandbox-local/dvn_fee_lib.json +27 -27
  7. package/deployments/sui-sandbox-local/dvn_layerzero.json +24 -24
  8. package/deployments/sui-sandbox-local/dvn_ptb_builder.json +21 -21
  9. package/deployments/sui-sandbox-local/endpoint_ptb_builder.json +30 -30
  10. package/deployments/sui-sandbox-local/endpoint_v2.json +29 -29
  11. package/deployments/sui-sandbox-local/executor.json +20 -20
  12. package/deployments/sui-sandbox-local/executor_call_type.json +14 -14
  13. package/deployments/sui-sandbox-local/executor_fee_lib.json +28 -28
  14. package/deployments/sui-sandbox-local/executor_layerzero.json +15 -15
  15. package/deployments/sui-sandbox-local/executor_ptb_builder.json +21 -21
  16. package/deployments/sui-sandbox-local/layerzero_views.json +21 -21
  17. package/deployments/sui-sandbox-local/message_lib_common.json +21 -21
  18. package/deployments/sui-sandbox-local/msglib_ptb_builder_call_types.json +13 -13
  19. package/deployments/sui-sandbox-local/oapp.json +13 -13
  20. package/deployments/sui-sandbox-local/object-BlockedMessageLib.json +5 -5
  21. package/deployments/sui-sandbox-local/object-BlockedMsglibPtbBuilder.json +5 -5
  22. package/deployments/sui-sandbox-local/object-Counter.json +4 -4
  23. package/deployments/sui-sandbox-local/object-CounterAdminCap.json +4 -4
  24. package/deployments/sui-sandbox-local/object-CounterOApp.json +4 -4
  25. package/deployments/sui-sandbox-local/object-DVN.json +2 -2
  26. package/deployments/sui-sandbox-local/object-DVNCap.json +4 -4
  27. package/deployments/sui-sandbox-local/object-DVNFeeLib.json +5 -5
  28. package/deployments/sui-sandbox-local/object-EndpointPtbBuilder.json +5 -5
  29. package/deployments/sui-sandbox-local/object-EndpointPtbBuilderAdminCap.json +5 -5
  30. package/deployments/sui-sandbox-local/object-EndpointV2.json +5 -5
  31. package/deployments/sui-sandbox-local/object-EndpointV2AdminCap.json +5 -5
  32. package/deployments/sui-sandbox-local/object-Executor.json +2 -2
  33. package/deployments/sui-sandbox-local/object-ExecutorCap.json +3 -3
  34. package/deployments/sui-sandbox-local/object-ExecutorFeeLib.json +5 -5
  35. package/deployments/sui-sandbox-local/object-ExecutorOwnerCap.json +2 -2
  36. package/deployments/sui-sandbox-local/object-PackageWhitelistValidator.json +5 -5
  37. package/deployments/sui-sandbox-local/object-PriceFeed.json +5 -5
  38. package/deployments/sui-sandbox-local/object-PriceFeedOwnerCap.json +5 -5
  39. package/deployments/sui-sandbox-local/object-SimpleMessageLib.json +5 -5
  40. package/deployments/sui-sandbox-local/object-SimpleMessageLibAdminCap.json +5 -5
  41. package/deployments/sui-sandbox-local/object-SmlPtbBuilder.json +5 -5
  42. package/deployments/sui-sandbox-local/object-Treasury.json +5 -5
  43. package/deployments/sui-sandbox-local/object-TreasuryAdminCap.json +5 -5
  44. package/deployments/sui-sandbox-local/object-ULN302.json +5 -5
  45. package/deployments/sui-sandbox-local/object-ULN302AdminCap.json +5 -5
  46. package/deployments/sui-sandbox-local/object-Uln302PtbBuilder.json +5 -5
  47. package/deployments/sui-sandbox-local/object-Uln302Verification.json +5 -5
  48. package/deployments/sui-sandbox-local/object-WorkerRegistry.json +5 -5
  49. package/deployments/sui-sandbox-local/package_whitelist_validator.json +50 -50
  50. package/deployments/sui-sandbox-local/price_feed.json +42 -42
  51. package/deployments/sui-sandbox-local/price_feed_call_types.json +19 -19
  52. package/deployments/sui-sandbox-local/ptb_move_call.json +12 -12
  53. package/deployments/sui-sandbox-local/sequential_multi_call.json +45 -0
  54. package/deployments/sui-sandbox-local/simple_message_lib.json +30 -30
  55. package/deployments/sui-sandbox-local/simple_msglib_ptb_builder.json +26 -26
  56. package/deployments/sui-sandbox-local/treasury.json +34 -34
  57. package/deployments/sui-sandbox-local/uln_302.json +38 -38
  58. package/deployments/sui-sandbox-local/uln_302_ptb_builder.json +26 -26
  59. package/deployments/sui-sandbox-local/worker_common.json +20 -20
  60. package/deployments/sui-sandbox-local/worker_registry.json +21 -21
  61. package/dist/index.cjs +187 -96
  62. package/dist/index.cjs.map +1 -1
  63. package/dist/index.d.mts +99 -31
  64. package/dist/index.d.ts +99 -31
  65. package/dist/index.mjs +183 -96
  66. package/dist/index.mjs.map +1 -1
  67. package/package.json +7 -7
  68. package/src/generated/addresses.ts +54 -54
  69. package/src/modules/call.ts +16 -6
  70. package/src/modules/endpoint.ts +10 -1
  71. package/src/modules/message-libs/simple-message-lib.ts +3 -2
  72. package/src/modules/message-libs/uln302.ts +23 -5
  73. package/src/modules/oapps/counter.ts +4 -3
  74. package/src/modules/oapps/oapp.ts +21 -12
  75. package/src/modules/ptb-builders/endpoint-ptb-builder.ts +9 -3
  76. package/src/modules/ptb-builders/ptb-builder.ts +9 -0
  77. package/src/modules/ptb-builders/uln302-ptb-builder.ts +5 -0
  78. package/src/modules/workers/dvn-layerzero.ts +5 -0
  79. package/src/modules/workers/dvn.ts +15 -0
  80. package/src/modules/workers/executor-fee-lib.ts +11 -3
  81. package/src/modules/workers/executor-layerzero.ts +5 -0
  82. package/src/modules/workers/executor.ts +4 -0
  83. package/src/modules/workers/treasury.ts +4 -4
  84. package/src/modules/workers/worker-registry.ts +1 -0
package/dist/index.d.mts CHANGED
@@ -662,6 +662,12 @@ declare const EndpointErrorCode: {
662
662
  readonly MessagingChannel_EPayloadHashNotFound: 9;
663
663
  readonly MessagingChannel_ESendReentrancy: 10;
664
664
  readonly MessagingChannel_EUninitializedChannel: 11;
665
+ readonly MessagingComposer_EComposeExists: 1;
666
+ readonly MessagingComposer_EComposeMessageMismatch: 2;
667
+ readonly MessagingComposer_EComposeNotFound: 3;
668
+ readonly MessagingComposer_EComposerNotRegistered: 4;
669
+ readonly MessagingComposer_EComposerRegistered: 5;
670
+ readonly MessagingComposer_EInvalidLZComposeInfo: 6;
665
671
  readonly OAppRegistry_EInvalidLZReceiveInfo: 1;
666
672
  readonly OAppRegistry_EOAppNotRegistered: 2;
667
673
  readonly OAppRegistry_EOAppRegistered: 3;
@@ -669,7 +675,8 @@ declare const EndpointErrorCode: {
669
675
  readonly Endpoint_EInvalidEid: 2;
670
676
  readonly Endpoint_ENotInitialized: 3;
671
677
  readonly Endpoint_ERefundAddressNotFound: 4;
672
- readonly Endpoint_EUnauthorizedSendLibrary: 5;
678
+ readonly Endpoint_EUnauthorizedOApp: 5;
679
+ readonly Endpoint_EUnauthorizedSendLibrary: 6;
673
680
  };
674
681
  declare class Endpoint {
675
682
  #private;
@@ -1607,8 +1614,9 @@ declare class BlockedMessageLib {
1607
1614
  }
1608
1615
 
1609
1616
  declare const SimpleMessageLibErrorCode: {
1610
- readonly SimpleMessageLib_EConfigNotFound: 1;
1617
+ readonly SimpleMessageLib_ENotImplemented: 1;
1611
1618
  readonly SimpleMessageLib_EZROFeeNotEnabled: 2;
1619
+ readonly SimpleMessageLib_EInvalidEid: 3;
1612
1620
  };
1613
1621
  declare class SimpleMessageLib {
1614
1622
  #private;
@@ -1715,10 +1723,22 @@ declare const Uln302ErrorCode: {
1715
1723
  readonly ReceiveUln302_EInvalidEid: 3;
1716
1724
  readonly ReceiveUln302_EOAppUlnConfigNotFound: 4;
1717
1725
  readonly ReceiveUln302_EVerifying: 5;
1718
- readonly Uln302_EEndpointInitialized: 1;
1719
- readonly Uln302_EInvalidConfigType: 2;
1720
- readonly Uln302_EInvalidMessagingChannel: 3;
1721
- readonly Uln302_EUnsupportedEid: 4;
1726
+ readonly Uln302_EInvalidConfigType: 1;
1727
+ readonly Uln302_EInvalidMessagingChannel: 2;
1728
+ readonly Uln302_EUnsupportedEid: 3;
1729
+ readonly UlnConfig_EAtLeastOneDVN: 1;
1730
+ readonly UlnConfig_EDuplicateOptionalDVNs: 2;
1731
+ readonly UlnConfig_EDuplicateRequiredDVNs: 3;
1732
+ readonly UlnConfig_EInvalidOptionalDVNCount: 4;
1733
+ readonly UlnConfig_EInvalidOptionalDVNThreshold: 5;
1734
+ readonly UlnConfig_EInvalidRequiredDVNCount: 6;
1735
+ readonly UlnConfig_EInvalidUlnConfigBytes: 7;
1736
+ readonly OAppUlnConfig_EInvalidConfirmations: 1;
1737
+ readonly OAppUlnConfig_EInvalidRequiredDVNs: 2;
1738
+ readonly OAppUlnConfig_EInvalidOptionalDVNs: 3;
1739
+ readonly ExecutorConfig_EInvalidExecutorAddress: 1;
1740
+ readonly ExecutorConfig_EInvalidExecutorBytes: 2;
1741
+ readonly ExecutorConfig_EZeroMessageSize: 3;
1722
1742
  };
1723
1743
  declare class Uln302 {
1724
1744
  #private;
@@ -2034,6 +2054,17 @@ declare const DVNErrorCode: {
2034
2054
  readonly DVN_EEidNotSupported: 2;
2035
2055
  readonly DVN_EHashAlreadyUsed: 3;
2036
2056
  readonly DVN_EPtbBuilderAlreadyInitialized: 4;
2057
+ readonly Multisig_EDuplicatedSigner: 1;
2058
+ readonly Multisig_EInvalidSignatureLength: 2;
2059
+ readonly Multisig_EInvalidSignerLength: 3;
2060
+ readonly Multisig_EQuorumIsZero: 4;
2061
+ readonly Multisig_ESignaturesLessThanQuorum: 5;
2062
+ readonly Multisig_ESignerAlreadyExists: 6;
2063
+ readonly Multisig_ESignerNotFound: 7;
2064
+ readonly Multisig_ESignerNotInCommittee: 8;
2065
+ readonly Multisig_ESignersSizeIsLessThanQuorum: 9;
2066
+ readonly DVNInfoV1_EInvalidData: 1;
2067
+ readonly DVNInfoV1_EInvalidVersion: 2;
2037
2068
  };
2038
2069
  declare class DVN {
2039
2070
  #private;
@@ -2678,6 +2709,9 @@ declare class DVNFeeLib {
2678
2709
  confirmGetFeeMoveCall(tx: Transaction, feelibCall: TransactionArgument, priceFeedCall: TransactionArgument): void;
2679
2710
  }
2680
2711
 
2712
+ declare const DVNLayerzeroErrorCode: {
2713
+ readonly DVNLayerzero_EWorkerCapNotFromPackage: 1;
2714
+ };
2681
2715
  declare class DvnLayerZero {
2682
2716
  #private;
2683
2717
  private readonly moduleManager;
@@ -2704,6 +2738,8 @@ declare class DvnLayerZero {
2704
2738
  declare const ExecutorErrorCode: {
2705
2739
  readonly Executor_EEidNotSupported: 1;
2706
2740
  readonly Executor_EInvalidNativeDropAmount: 2;
2741
+ readonly ExecutorInfoV1_EInvalidData: 1;
2742
+ readonly ExecutorInfoV1_EInvalidVersion: 2;
2707
2743
  };
2708
2744
  declare class Executor {
2709
2745
  #private;
@@ -3116,8 +3152,14 @@ declare class Executor {
3116
3152
 
3117
3153
  declare const ExecutorFeeLibErrorCode: {
3118
3154
  readonly ExecutorFeeLib_EEidNotSupported: 1;
3119
- readonly ExecutorFeeLib_EInvalidExecutor: 2;
3120
- readonly ExecutorFeeLib_EExecutorAlreadySet: 3;
3155
+ readonly ExecutorOption_ENoOptions: 1;
3156
+ readonly ExecutorOption_EUnsupportedOptionType: 2;
3157
+ readonly ExecutorOption_EZeroLzReceiveGasProvided: 3;
3158
+ readonly ExecutorOption_EZeroLzComposeGasProvided: 4;
3159
+ readonly ExecutorOption_ENativeAmountExceedsCap: 5;
3160
+ readonly ExecutorOption_EInvalidLzReceiveOption: 6;
3161
+ readonly ExecutorOption_EInvalidNativeDropOption: 7;
3162
+ readonly ExecutorOption_EInvalidLzComposeOption: 8;
3121
3163
  };
3122
3164
  declare class ExecutorFeeLib {
3123
3165
  #private;
@@ -3150,6 +3192,9 @@ declare class ExecutorFeeLib {
3150
3192
  confirmGetFeeMoveCall(tx: Transaction, feelibCall: TransactionArgument, priceFeedCall: TransactionArgument): void;
3151
3193
  }
3152
3194
 
3195
+ declare const ExecutorLayerzeroErrorCode: {
3196
+ readonly ExecutorLayerzero_EWorkerCapNotFromPackage: 1;
3197
+ };
3153
3198
  declare class ExecutorLayerZero {
3154
3199
  #private;
3155
3200
  private readonly moduleManager;
@@ -3383,9 +3428,9 @@ declare class PriceFeed {
3383
3428
  }
3384
3429
 
3385
3430
  declare const TreasuryErrorCode: {
3386
- readonly TREASURY_EZroNotEnabled: 1;
3387
- readonly TREASURY_EInvalidFeeRecipient: 2;
3388
- readonly TREASURY_EInvalidNativeFeeBp: 3;
3431
+ readonly TREASURY_EInvalidFeeRecipient: 1;
3432
+ readonly TREASURY_EInvalidNativeFeeBp: 2;
3433
+ readonly TREASURY_EZroNotEnabled: 3;
3389
3434
  };
3390
3435
  declare class Treasury {
3391
3436
  #private;
@@ -3563,8 +3608,14 @@ declare class DvnPtbBuilder {
3563
3608
  buildDvnPtbMoveCall(tx: Transaction, dvnAddress: string | TransactionArgument, feelibAddress: string | TransactionArgument, priceFeedAddress: string | TransactionArgument): TransactionResult;
3564
3609
  }
3565
3610
 
3566
- declare const LibBuilderManagerErrorCode: {
3567
- readonly LibBuilderManager_EBuilderNotFound: 1;
3611
+ declare const EndpointPtbBuilderErrorCode: {
3612
+ readonly EndpointPtbBuilder_EBuilderNotFound: 1;
3613
+ readonly EndpointPtbBuilder_EBuilderRegistered: 2;
3614
+ readonly EndpointPtbBuilder_EBuilderUnsupported: 3;
3615
+ readonly EndpointPtbBuilder_EInvalidBounds: 4;
3616
+ readonly EndpointPtbBuilder_EInvalidBuilderAddress: 5;
3617
+ readonly EndpointPtbBuilder_EInvalidLibrary: 6;
3618
+ readonly EndpointPtbBuilder_EUnauthorized: 7;
3568
3619
  };
3569
3620
  declare class EndpointPtbBuilder {
3570
3621
  #private;
@@ -3840,6 +3891,11 @@ declare class PackageWhitelistValidator {
3840
3891
  validate(packageAddresses: string[]): Promise<boolean>;
3841
3892
  }
3842
3893
 
3894
+ declare const PtbBuilderErrorCode: {
3895
+ readonly MoveCallsBuilder_EInvalidMoveCallResult: 1;
3896
+ readonly MoveCallsBuilder_EResultIDNotFound: 2;
3897
+ readonly Argument_EInvalidArgument: 1;
3898
+ };
3843
3899
  declare class PtbBuilder {
3844
3900
  #private;
3845
3901
  packageId: string;
@@ -3908,6 +3964,9 @@ declare class SimpleMessageLibPtbBuilder {
3908
3964
  getPtbBuilderInfoMoveCall(tx: Transaction): TransactionResult;
3909
3965
  }
3910
3966
 
3967
+ declare const Uln302PtbBuilderErrorCode: {
3968
+ readonly Uln302PtbBuilder_EWorkerPtbsNotFound: 1;
3969
+ };
3911
3970
  declare class Uln302PtbBuilder {
3912
3971
  #private;
3913
3972
  private readonly moduleManager;
@@ -4237,8 +4296,7 @@ declare const CounterErrorCode: {
4237
4296
  readonly Counter_EOnlyEndpoint: 3;
4238
4297
  readonly Counter_ESelfComposeOnly: 4;
4239
4298
  readonly Counter_EInvalidOApp: 5;
4240
- readonly Counter_EInvalidAdminCap: 6;
4241
- readonly Counter_EAlreadyInitialized: 7;
4299
+ readonly OptionsBuilder_EInvalidSize: 1;
4242
4300
  };
4243
4301
  declare class Counter {
4244
4302
  #private;
@@ -4381,16 +4439,20 @@ interface OAppInfoV1 {
4381
4439
  }
4382
4440
 
4383
4441
  declare const OAppErrorCode: {
4384
- readonly OApp_EAlreadyInited: 1;
4385
- readonly OApp_EChannelNotInited: 2;
4386
- readonly OApp_EEndpointNotInited: 3;
4387
- readonly OApp_EInvalidAdminCap: 4;
4388
- readonly OApp_EInvalidCallCap: 5;
4389
- readonly OApp_EOnlyEndpoint: 6;
4390
- readonly OApp_EOnlyPeer: 7;
4391
- readonly EndpointConfig_EInvalidAdminCap: 1;
4392
- readonly EndpointConfig_EInvalidIntentType: 2;
4393
- readonly EndpointConfig_EInvalidOAppCallCap: 3;
4442
+ readonly OApp_EInvalidAdminCap: 1;
4443
+ readonly OApp_EInvalidOAppCap: 2;
4444
+ readonly OApp_EInvalidRefundAddress: 3;
4445
+ readonly OApp_EInvalidSendingCall: 4;
4446
+ readonly OApp_EOnlyEndpoint: 5;
4447
+ readonly OApp_EOnlyPeer: 6;
4448
+ readonly OApp_ESendingInProgress: 7;
4449
+ readonly OAppPeer_EPeerNotFound: 0;
4450
+ readonly OAppPeer_EInvalidPeer: 1;
4451
+ readonly EnforcedOptions_EEnforcedOptionsNotFound: 1;
4452
+ readonly EnforcedOptions_EInvalidOptionsLength: 2;
4453
+ readonly EnforcedOptions_EInvalidOptionsType: 3;
4454
+ readonly OAppInfoV1_EInvalidData: 1;
4455
+ readonly OAppInfoV1_EInvalidVersion: 2;
4394
4456
  };
4395
4457
  declare class OApp {
4396
4458
  #private;
@@ -4667,13 +4729,19 @@ declare class LayerZeroViews {
4667
4729
  }
4668
4730
 
4669
4731
  declare const CallErrorCode: {
4670
- readonly Call_ECallNotCompletable: 1;
4732
+ readonly Call_ECallNotActive: 1;
4671
4733
  readonly Call_ECallNotCompleted: 2;
4672
- readonly Call_ECallNotSealed: 3;
4734
+ readonly Call_ECallNotCreating: 3;
4673
4735
  readonly Call_ECallNotRoot: 4;
4674
- readonly Call_ECallSealed: 5;
4675
- readonly Call_EInvalidParent: 6;
4676
- readonly Call_EUnauthorized: 7;
4736
+ readonly Call_ECallNotWaiting: 5;
4737
+ readonly Call_EInvalidChild: 6;
4738
+ readonly Call_EInvalidNonce: 7;
4739
+ readonly Call_EInvalidParent: 8;
4740
+ readonly Call_EParameterNotMutable: 9;
4741
+ readonly Call_EUnauthorized: 10;
4742
+ readonly CallCap_EBadWitness: 1;
4743
+ readonly MultiCall_ECalleeNotFound: 1;
4744
+ readonly MultiCall_EUnauthorized: 2;
4677
4745
  };
4678
4746
  declare class Call {
4679
4747
  #private;
@@ -5703,4 +5771,4 @@ declare const OAppUlnConfigBcs: _mysten_sui_dist_cjs_bcs.BcsType<{
5703
5771
  };
5704
5772
  }>;
5705
5773
 
5706
- export { ALL_EXECUTOR_OPTION_TYPES, type ArbitrumPriceExt, ArbitrumPriceExtBcs, type Argument, ArgumentBCS, BlockedMessageLib, BlockedMessageLibErrorCode, BlockedMessageLibPtbBuilder, type BuilderPlaceholderInfo, Bytes32Bcs, CONFIG_TYPE, Call, CallErrorCode, CallTypeName, Counter, CounterErrorCode, DEFAULT_SIMULATION_TIMES, DVN, DVNErrorCode, DVNFeeLib, DVNFeeLibErrorCode, type DstConfig, DstConfigBcs, type DvnDstConfig, DvnDstConfigBcs, DvnLayerZero, DvnPtbBuilder, Endpoint, EndpointErrorCode, EndpointExecutionState, type EndpointExecutionStateType, EndpointPtbBuilder, type ExecutableParams, Executor, type ExecutorConfig, ExecutorConfigBcs, ExecutorErrorCode, ExecutorFeeLib, ExecutorFeeLibErrorCode, ExecutorLayerZero, ExecutorOptionType, ExecutorPtbBuilder, type Function, FunctionBCS, type IPTBValidator, type InitializableParams, LayerZeroViews, LibBuilderManagerErrorCode, LzComposeVersion, LzReceiveVersion, LzTypeName, MAX_BATCH_SIZE, MessageLibType, type MessagingFee, MessagingFeeBcs, ModelType, ModelTypeBcs, type ModuleOptions, Modules, MoveAbortError, type MoveCall, MoveCallBCS, type NativeDropParams, NativeDropParamsBcs, NonSenderObjectValidator, OApp, OAppErrorCode, OAppInfoV1Bcs, OAppInfoVersion, type OAppUlnConfig, OAppUlnConfigBcs, OBJECT_BLOCKED_MESSAGE_LIB_ADDRESS, OBJECT_BLOCKED_MESSAGE_LIB_PTB_BUILDER_ADDRESS, OBJECT_COUNTER_ADDRESS, OBJECT_COUNTER_ADMIN_CAP_ADDRESS, OBJECT_COUNTER_OAPP_ADDRESS, OBJECT_DISCOVERY_ADDRESS, OBJECT_DVN_ADDRESS, OBJECT_DVN_CAP_ADDRESS, OBJECT_DVN_FEE_LIB_ADDRESS, OBJECT_DVN_FEE_LIB_ADMIN_CAP_ADDRESS, OBJECT_ENDPOINT_ADMIN_CAP_ADDRESS, OBJECT_ENDPOINT_PTB_BUILDER_ADDRESS, OBJECT_ENDPOINT_PTB_BUILDER_ADMIN_CAP_ADDRESS, OBJECT_ENDPOINT_V2_ADDRESS, OBJECT_EXECUTOR_ADDRESS, OBJECT_EXECUTOR_CAP_ADDRESS, OBJECT_EXECUTOR_FEE_LIB_ADDRESS, OBJECT_EXECUTOR_FEE_LIB_ADMIN_CAP_ADDRESS, OBJECT_EXECUTOR_OWNER_CAP_ADDRESS, OBJECT_PACKAGE_WHITELIST_VALIDATOR_ADDRESS, OBJECT_PRICE_FEED_ADDRESS, OBJECT_PRICE_FEED_OWNER_CAP_ADDRESS, OBJECT_SIMPLE_MESSAGE_LIB_ADDRESS, OBJECT_SIMPLE_MESSAGE_LIB_ADMIN_CAP_ADDRESS, OBJECT_SIMPLE_MESSAGE_LIB_PTB_BUILDER_ADDRESS, OBJECT_TREASURY_ADDRESS, OBJECT_TREASURY_ADMIN_CAP_ADDRESS, OBJECT_ULN_302_ADDRESS, OBJECT_ULN_302_ADMIN_CAP_ADDRESS, OBJECT_ULN_302_PTB_BUILDER_ADDRESS, OBJECT_ULN_302_VERIFICATION_ADDRESS, OBJECT_WORKER_REGISTRY_ADDRESS, type ObjectFetchOptions, type ObjectOptions, PACKAGE_BLOCKED_MESSAGE_LIB_ADDRESS, PACKAGE_BLOCKED_MESSAGE_LIB_PTB_BUILDER_ADDRESS, PACKAGE_CALL_ADDRESS, PACKAGE_COUNTER_V2_ADDRESS, PACKAGE_DVN_ADDRESS, PACKAGE_DVN_FEE_LIB_ADDRESS, PACKAGE_DVN_LAYERZERO_ADDRESS, PACKAGE_DVN_PTB_BUILDER_ADDRESS, PACKAGE_ENDPOINT_PTB_BUILDER_ADDRESS, PACKAGE_ENDPOINT_V2_ADDRESS, PACKAGE_EXECUTOR_ADDRESS, PACKAGE_EXECUTOR_FEE_LIB_ADDRESS, PACKAGE_EXECUTOR_LAYERZERO_ADDRESS, PACKAGE_EXECUTOR_PTB_BUILDER_ADDRESS, PACKAGE_LAYERZERO_VIEWS_ADDRESS, PACKAGE_OAPP_ADDRESS, PACKAGE_PACKAGE_WHITELIST_VALIDATOR_ADDRESS, PACKAGE_PRICE_FEED_ADDRESS, PACKAGE_PTB_MOVE_CALL_ADDRESS, PACKAGE_SIMPLE_MESSAGE_LIB_ADDRESS, PACKAGE_SIMPLE_MESSAGE_LIB_PTB_BUILDER_ADDRESS, PACKAGE_TREASURY_ADDRESS, PACKAGE_ULN_302_ADDRESS, PACKAGE_ULN_302_PTB_BUILDER_ADDRESS, PACKAGE_UTILS_ADDRESS, PACKAGE_WORKER_COMMON_ADDRESS, PACKAGE_WORKER_REGISTRY_ADDRESS, PACKAGE_ZRO_ADDRESS, PackageAllowlistValidator, type PackageOptions, PackageWhitelistValidator, type Price, PriceBcs, PriceFeed, PriceFeedErrorCode, PtbBuilder, SDK, type SdkOptions, type SetDstConfigEvent, ShareObjectValidator, SimpleMessageLib, SimpleMessageLibErrorCode, SimpleMessageLibPtbBuilder, type SimulateResult, type Timeout, TimeoutBcs, Treasury, TreasuryErrorCode, Uln302, Uln302ErrorCode, Uln302PtbBuilder, type UlnConfig, UlnConfigBcs, type UlnVerifiableParams, UlnVerificationState, type UlnVerificationStateType, UnclassifiedError, Utils, UtilsErrorCode, ValidatorErrorCode, VectorMoveCallBCS, type VerifiableParams, type VerifierFeePaid, type VersionInfo, WorkerRegistry, WorkerRegistryErrorCode, Zro, asAddress, asAddressVector, asArg, asArgWithTx, asArgWithTxAsync, asBool, asBytes, asBytes32, asBytesVector, asObject, asString, asU128, asU16, asU256, asU32, asU64, asU8, executeSimulate, handleError, isTransactionArgument, simulateTransaction, simulateTransactionMultiResult, validateTransaction, validateWithDetails };
5774
+ export { ALL_EXECUTOR_OPTION_TYPES, type ArbitrumPriceExt, ArbitrumPriceExtBcs, type Argument, ArgumentBCS, BlockedMessageLib, BlockedMessageLibErrorCode, BlockedMessageLibPtbBuilder, type BuilderPlaceholderInfo, Bytes32Bcs, CONFIG_TYPE, Call, CallErrorCode, CallTypeName, Counter, CounterErrorCode, DEFAULT_SIMULATION_TIMES, DVN, DVNErrorCode, DVNFeeLib, DVNFeeLibErrorCode, DVNLayerzeroErrorCode, type DstConfig, DstConfigBcs, type DvnDstConfig, DvnDstConfigBcs, DvnLayerZero, DvnPtbBuilder, Endpoint, EndpointErrorCode, EndpointExecutionState, type EndpointExecutionStateType, EndpointPtbBuilder, EndpointPtbBuilderErrorCode, type ExecutableParams, Executor, type ExecutorConfig, ExecutorConfigBcs, ExecutorErrorCode, ExecutorFeeLib, ExecutorFeeLibErrorCode, ExecutorLayerZero, ExecutorLayerzeroErrorCode, ExecutorOptionType, ExecutorPtbBuilder, type Function, FunctionBCS, type IPTBValidator, type InitializableParams, LayerZeroViews, LzComposeVersion, LzReceiveVersion, LzTypeName, MAX_BATCH_SIZE, MessageLibType, type MessagingFee, MessagingFeeBcs, ModelType, ModelTypeBcs, type ModuleOptions, Modules, MoveAbortError, type MoveCall, MoveCallBCS, type NativeDropParams, NativeDropParamsBcs, NonSenderObjectValidator, OApp, OAppErrorCode, OAppInfoV1Bcs, OAppInfoVersion, type OAppUlnConfig, OAppUlnConfigBcs, OBJECT_BLOCKED_MESSAGE_LIB_ADDRESS, OBJECT_BLOCKED_MESSAGE_LIB_PTB_BUILDER_ADDRESS, OBJECT_COUNTER_ADDRESS, OBJECT_COUNTER_ADMIN_CAP_ADDRESS, OBJECT_COUNTER_OAPP_ADDRESS, OBJECT_DISCOVERY_ADDRESS, OBJECT_DVN_ADDRESS, OBJECT_DVN_CAP_ADDRESS, OBJECT_DVN_FEE_LIB_ADDRESS, OBJECT_DVN_FEE_LIB_ADMIN_CAP_ADDRESS, OBJECT_ENDPOINT_ADMIN_CAP_ADDRESS, OBJECT_ENDPOINT_PTB_BUILDER_ADDRESS, OBJECT_ENDPOINT_PTB_BUILDER_ADMIN_CAP_ADDRESS, OBJECT_ENDPOINT_V2_ADDRESS, OBJECT_EXECUTOR_ADDRESS, OBJECT_EXECUTOR_CAP_ADDRESS, OBJECT_EXECUTOR_FEE_LIB_ADDRESS, OBJECT_EXECUTOR_FEE_LIB_ADMIN_CAP_ADDRESS, OBJECT_EXECUTOR_OWNER_CAP_ADDRESS, OBJECT_PACKAGE_WHITELIST_VALIDATOR_ADDRESS, OBJECT_PRICE_FEED_ADDRESS, OBJECT_PRICE_FEED_OWNER_CAP_ADDRESS, OBJECT_SIMPLE_MESSAGE_LIB_ADDRESS, OBJECT_SIMPLE_MESSAGE_LIB_ADMIN_CAP_ADDRESS, OBJECT_SIMPLE_MESSAGE_LIB_PTB_BUILDER_ADDRESS, OBJECT_TREASURY_ADDRESS, OBJECT_TREASURY_ADMIN_CAP_ADDRESS, OBJECT_ULN_302_ADDRESS, OBJECT_ULN_302_ADMIN_CAP_ADDRESS, OBJECT_ULN_302_PTB_BUILDER_ADDRESS, OBJECT_ULN_302_VERIFICATION_ADDRESS, OBJECT_WORKER_REGISTRY_ADDRESS, type ObjectFetchOptions, type ObjectOptions, PACKAGE_BLOCKED_MESSAGE_LIB_ADDRESS, PACKAGE_BLOCKED_MESSAGE_LIB_PTB_BUILDER_ADDRESS, PACKAGE_CALL_ADDRESS, PACKAGE_COUNTER_V2_ADDRESS, PACKAGE_DVN_ADDRESS, PACKAGE_DVN_FEE_LIB_ADDRESS, PACKAGE_DVN_LAYERZERO_ADDRESS, PACKAGE_DVN_PTB_BUILDER_ADDRESS, PACKAGE_ENDPOINT_PTB_BUILDER_ADDRESS, PACKAGE_ENDPOINT_V2_ADDRESS, PACKAGE_EXECUTOR_ADDRESS, PACKAGE_EXECUTOR_FEE_LIB_ADDRESS, PACKAGE_EXECUTOR_LAYERZERO_ADDRESS, PACKAGE_EXECUTOR_PTB_BUILDER_ADDRESS, PACKAGE_LAYERZERO_VIEWS_ADDRESS, PACKAGE_OAPP_ADDRESS, PACKAGE_PACKAGE_WHITELIST_VALIDATOR_ADDRESS, PACKAGE_PRICE_FEED_ADDRESS, PACKAGE_PTB_MOVE_CALL_ADDRESS, PACKAGE_SIMPLE_MESSAGE_LIB_ADDRESS, PACKAGE_SIMPLE_MESSAGE_LIB_PTB_BUILDER_ADDRESS, PACKAGE_TREASURY_ADDRESS, PACKAGE_ULN_302_ADDRESS, PACKAGE_ULN_302_PTB_BUILDER_ADDRESS, PACKAGE_UTILS_ADDRESS, PACKAGE_WORKER_COMMON_ADDRESS, PACKAGE_WORKER_REGISTRY_ADDRESS, PACKAGE_ZRO_ADDRESS, PackageAllowlistValidator, type PackageOptions, PackageWhitelistValidator, type Price, PriceBcs, PriceFeed, PriceFeedErrorCode, PtbBuilder, PtbBuilderErrorCode, SDK, type SdkOptions, type SetDstConfigEvent, ShareObjectValidator, SimpleMessageLib, SimpleMessageLibErrorCode, SimpleMessageLibPtbBuilder, type SimulateResult, type Timeout, TimeoutBcs, Treasury, TreasuryErrorCode, Uln302, Uln302ErrorCode, Uln302PtbBuilder, Uln302PtbBuilderErrorCode, type UlnConfig, UlnConfigBcs, type UlnVerifiableParams, UlnVerificationState, type UlnVerificationStateType, UnclassifiedError, Utils, UtilsErrorCode, ValidatorErrorCode, VectorMoveCallBCS, type VerifiableParams, type VerifierFeePaid, type VersionInfo, WorkerRegistry, WorkerRegistryErrorCode, Zro, asAddress, asAddressVector, asArg, asArgWithTx, asArgWithTxAsync, asBool, asBytes, asBytes32, asBytesVector, asObject, asString, asU128, asU16, asU256, asU32, asU64, asU8, executeSimulate, handleError, isTransactionArgument, simulateTransaction, simulateTransactionMultiResult, validateTransaction, validateWithDetails };
package/dist/index.d.ts CHANGED
@@ -662,6 +662,12 @@ declare const EndpointErrorCode: {
662
662
  readonly MessagingChannel_EPayloadHashNotFound: 9;
663
663
  readonly MessagingChannel_ESendReentrancy: 10;
664
664
  readonly MessagingChannel_EUninitializedChannel: 11;
665
+ readonly MessagingComposer_EComposeExists: 1;
666
+ readonly MessagingComposer_EComposeMessageMismatch: 2;
667
+ readonly MessagingComposer_EComposeNotFound: 3;
668
+ readonly MessagingComposer_EComposerNotRegistered: 4;
669
+ readonly MessagingComposer_EComposerRegistered: 5;
670
+ readonly MessagingComposer_EInvalidLZComposeInfo: 6;
665
671
  readonly OAppRegistry_EInvalidLZReceiveInfo: 1;
666
672
  readonly OAppRegistry_EOAppNotRegistered: 2;
667
673
  readonly OAppRegistry_EOAppRegistered: 3;
@@ -669,7 +675,8 @@ declare const EndpointErrorCode: {
669
675
  readonly Endpoint_EInvalidEid: 2;
670
676
  readonly Endpoint_ENotInitialized: 3;
671
677
  readonly Endpoint_ERefundAddressNotFound: 4;
672
- readonly Endpoint_EUnauthorizedSendLibrary: 5;
678
+ readonly Endpoint_EUnauthorizedOApp: 5;
679
+ readonly Endpoint_EUnauthorizedSendLibrary: 6;
673
680
  };
674
681
  declare class Endpoint {
675
682
  #private;
@@ -1607,8 +1614,9 @@ declare class BlockedMessageLib {
1607
1614
  }
1608
1615
 
1609
1616
  declare const SimpleMessageLibErrorCode: {
1610
- readonly SimpleMessageLib_EConfigNotFound: 1;
1617
+ readonly SimpleMessageLib_ENotImplemented: 1;
1611
1618
  readonly SimpleMessageLib_EZROFeeNotEnabled: 2;
1619
+ readonly SimpleMessageLib_EInvalidEid: 3;
1612
1620
  };
1613
1621
  declare class SimpleMessageLib {
1614
1622
  #private;
@@ -1715,10 +1723,22 @@ declare const Uln302ErrorCode: {
1715
1723
  readonly ReceiveUln302_EInvalidEid: 3;
1716
1724
  readonly ReceiveUln302_EOAppUlnConfigNotFound: 4;
1717
1725
  readonly ReceiveUln302_EVerifying: 5;
1718
- readonly Uln302_EEndpointInitialized: 1;
1719
- readonly Uln302_EInvalidConfigType: 2;
1720
- readonly Uln302_EInvalidMessagingChannel: 3;
1721
- readonly Uln302_EUnsupportedEid: 4;
1726
+ readonly Uln302_EInvalidConfigType: 1;
1727
+ readonly Uln302_EInvalidMessagingChannel: 2;
1728
+ readonly Uln302_EUnsupportedEid: 3;
1729
+ readonly UlnConfig_EAtLeastOneDVN: 1;
1730
+ readonly UlnConfig_EDuplicateOptionalDVNs: 2;
1731
+ readonly UlnConfig_EDuplicateRequiredDVNs: 3;
1732
+ readonly UlnConfig_EInvalidOptionalDVNCount: 4;
1733
+ readonly UlnConfig_EInvalidOptionalDVNThreshold: 5;
1734
+ readonly UlnConfig_EInvalidRequiredDVNCount: 6;
1735
+ readonly UlnConfig_EInvalidUlnConfigBytes: 7;
1736
+ readonly OAppUlnConfig_EInvalidConfirmations: 1;
1737
+ readonly OAppUlnConfig_EInvalidRequiredDVNs: 2;
1738
+ readonly OAppUlnConfig_EInvalidOptionalDVNs: 3;
1739
+ readonly ExecutorConfig_EInvalidExecutorAddress: 1;
1740
+ readonly ExecutorConfig_EInvalidExecutorBytes: 2;
1741
+ readonly ExecutorConfig_EZeroMessageSize: 3;
1722
1742
  };
1723
1743
  declare class Uln302 {
1724
1744
  #private;
@@ -2034,6 +2054,17 @@ declare const DVNErrorCode: {
2034
2054
  readonly DVN_EEidNotSupported: 2;
2035
2055
  readonly DVN_EHashAlreadyUsed: 3;
2036
2056
  readonly DVN_EPtbBuilderAlreadyInitialized: 4;
2057
+ readonly Multisig_EDuplicatedSigner: 1;
2058
+ readonly Multisig_EInvalidSignatureLength: 2;
2059
+ readonly Multisig_EInvalidSignerLength: 3;
2060
+ readonly Multisig_EQuorumIsZero: 4;
2061
+ readonly Multisig_ESignaturesLessThanQuorum: 5;
2062
+ readonly Multisig_ESignerAlreadyExists: 6;
2063
+ readonly Multisig_ESignerNotFound: 7;
2064
+ readonly Multisig_ESignerNotInCommittee: 8;
2065
+ readonly Multisig_ESignersSizeIsLessThanQuorum: 9;
2066
+ readonly DVNInfoV1_EInvalidData: 1;
2067
+ readonly DVNInfoV1_EInvalidVersion: 2;
2037
2068
  };
2038
2069
  declare class DVN {
2039
2070
  #private;
@@ -2678,6 +2709,9 @@ declare class DVNFeeLib {
2678
2709
  confirmGetFeeMoveCall(tx: Transaction, feelibCall: TransactionArgument, priceFeedCall: TransactionArgument): void;
2679
2710
  }
2680
2711
 
2712
+ declare const DVNLayerzeroErrorCode: {
2713
+ readonly DVNLayerzero_EWorkerCapNotFromPackage: 1;
2714
+ };
2681
2715
  declare class DvnLayerZero {
2682
2716
  #private;
2683
2717
  private readonly moduleManager;
@@ -2704,6 +2738,8 @@ declare class DvnLayerZero {
2704
2738
  declare const ExecutorErrorCode: {
2705
2739
  readonly Executor_EEidNotSupported: 1;
2706
2740
  readonly Executor_EInvalidNativeDropAmount: 2;
2741
+ readonly ExecutorInfoV1_EInvalidData: 1;
2742
+ readonly ExecutorInfoV1_EInvalidVersion: 2;
2707
2743
  };
2708
2744
  declare class Executor {
2709
2745
  #private;
@@ -3116,8 +3152,14 @@ declare class Executor {
3116
3152
 
3117
3153
  declare const ExecutorFeeLibErrorCode: {
3118
3154
  readonly ExecutorFeeLib_EEidNotSupported: 1;
3119
- readonly ExecutorFeeLib_EInvalidExecutor: 2;
3120
- readonly ExecutorFeeLib_EExecutorAlreadySet: 3;
3155
+ readonly ExecutorOption_ENoOptions: 1;
3156
+ readonly ExecutorOption_EUnsupportedOptionType: 2;
3157
+ readonly ExecutorOption_EZeroLzReceiveGasProvided: 3;
3158
+ readonly ExecutorOption_EZeroLzComposeGasProvided: 4;
3159
+ readonly ExecutorOption_ENativeAmountExceedsCap: 5;
3160
+ readonly ExecutorOption_EInvalidLzReceiveOption: 6;
3161
+ readonly ExecutorOption_EInvalidNativeDropOption: 7;
3162
+ readonly ExecutorOption_EInvalidLzComposeOption: 8;
3121
3163
  };
3122
3164
  declare class ExecutorFeeLib {
3123
3165
  #private;
@@ -3150,6 +3192,9 @@ declare class ExecutorFeeLib {
3150
3192
  confirmGetFeeMoveCall(tx: Transaction, feelibCall: TransactionArgument, priceFeedCall: TransactionArgument): void;
3151
3193
  }
3152
3194
 
3195
+ declare const ExecutorLayerzeroErrorCode: {
3196
+ readonly ExecutorLayerzero_EWorkerCapNotFromPackage: 1;
3197
+ };
3153
3198
  declare class ExecutorLayerZero {
3154
3199
  #private;
3155
3200
  private readonly moduleManager;
@@ -3383,9 +3428,9 @@ declare class PriceFeed {
3383
3428
  }
3384
3429
 
3385
3430
  declare const TreasuryErrorCode: {
3386
- readonly TREASURY_EZroNotEnabled: 1;
3387
- readonly TREASURY_EInvalidFeeRecipient: 2;
3388
- readonly TREASURY_EInvalidNativeFeeBp: 3;
3431
+ readonly TREASURY_EInvalidFeeRecipient: 1;
3432
+ readonly TREASURY_EInvalidNativeFeeBp: 2;
3433
+ readonly TREASURY_EZroNotEnabled: 3;
3389
3434
  };
3390
3435
  declare class Treasury {
3391
3436
  #private;
@@ -3563,8 +3608,14 @@ declare class DvnPtbBuilder {
3563
3608
  buildDvnPtbMoveCall(tx: Transaction, dvnAddress: string | TransactionArgument, feelibAddress: string | TransactionArgument, priceFeedAddress: string | TransactionArgument): TransactionResult;
3564
3609
  }
3565
3610
 
3566
- declare const LibBuilderManagerErrorCode: {
3567
- readonly LibBuilderManager_EBuilderNotFound: 1;
3611
+ declare const EndpointPtbBuilderErrorCode: {
3612
+ readonly EndpointPtbBuilder_EBuilderNotFound: 1;
3613
+ readonly EndpointPtbBuilder_EBuilderRegistered: 2;
3614
+ readonly EndpointPtbBuilder_EBuilderUnsupported: 3;
3615
+ readonly EndpointPtbBuilder_EInvalidBounds: 4;
3616
+ readonly EndpointPtbBuilder_EInvalidBuilderAddress: 5;
3617
+ readonly EndpointPtbBuilder_EInvalidLibrary: 6;
3618
+ readonly EndpointPtbBuilder_EUnauthorized: 7;
3568
3619
  };
3569
3620
  declare class EndpointPtbBuilder {
3570
3621
  #private;
@@ -3840,6 +3891,11 @@ declare class PackageWhitelistValidator {
3840
3891
  validate(packageAddresses: string[]): Promise<boolean>;
3841
3892
  }
3842
3893
 
3894
+ declare const PtbBuilderErrorCode: {
3895
+ readonly MoveCallsBuilder_EInvalidMoveCallResult: 1;
3896
+ readonly MoveCallsBuilder_EResultIDNotFound: 2;
3897
+ readonly Argument_EInvalidArgument: 1;
3898
+ };
3843
3899
  declare class PtbBuilder {
3844
3900
  #private;
3845
3901
  packageId: string;
@@ -3908,6 +3964,9 @@ declare class SimpleMessageLibPtbBuilder {
3908
3964
  getPtbBuilderInfoMoveCall(tx: Transaction): TransactionResult;
3909
3965
  }
3910
3966
 
3967
+ declare const Uln302PtbBuilderErrorCode: {
3968
+ readonly Uln302PtbBuilder_EWorkerPtbsNotFound: 1;
3969
+ };
3911
3970
  declare class Uln302PtbBuilder {
3912
3971
  #private;
3913
3972
  private readonly moduleManager;
@@ -4237,8 +4296,7 @@ declare const CounterErrorCode: {
4237
4296
  readonly Counter_EOnlyEndpoint: 3;
4238
4297
  readonly Counter_ESelfComposeOnly: 4;
4239
4298
  readonly Counter_EInvalidOApp: 5;
4240
- readonly Counter_EInvalidAdminCap: 6;
4241
- readonly Counter_EAlreadyInitialized: 7;
4299
+ readonly OptionsBuilder_EInvalidSize: 1;
4242
4300
  };
4243
4301
  declare class Counter {
4244
4302
  #private;
@@ -4381,16 +4439,20 @@ interface OAppInfoV1 {
4381
4439
  }
4382
4440
 
4383
4441
  declare const OAppErrorCode: {
4384
- readonly OApp_EAlreadyInited: 1;
4385
- readonly OApp_EChannelNotInited: 2;
4386
- readonly OApp_EEndpointNotInited: 3;
4387
- readonly OApp_EInvalidAdminCap: 4;
4388
- readonly OApp_EInvalidCallCap: 5;
4389
- readonly OApp_EOnlyEndpoint: 6;
4390
- readonly OApp_EOnlyPeer: 7;
4391
- readonly EndpointConfig_EInvalidAdminCap: 1;
4392
- readonly EndpointConfig_EInvalidIntentType: 2;
4393
- readonly EndpointConfig_EInvalidOAppCallCap: 3;
4442
+ readonly OApp_EInvalidAdminCap: 1;
4443
+ readonly OApp_EInvalidOAppCap: 2;
4444
+ readonly OApp_EInvalidRefundAddress: 3;
4445
+ readonly OApp_EInvalidSendingCall: 4;
4446
+ readonly OApp_EOnlyEndpoint: 5;
4447
+ readonly OApp_EOnlyPeer: 6;
4448
+ readonly OApp_ESendingInProgress: 7;
4449
+ readonly OAppPeer_EPeerNotFound: 0;
4450
+ readonly OAppPeer_EInvalidPeer: 1;
4451
+ readonly EnforcedOptions_EEnforcedOptionsNotFound: 1;
4452
+ readonly EnforcedOptions_EInvalidOptionsLength: 2;
4453
+ readonly EnforcedOptions_EInvalidOptionsType: 3;
4454
+ readonly OAppInfoV1_EInvalidData: 1;
4455
+ readonly OAppInfoV1_EInvalidVersion: 2;
4394
4456
  };
4395
4457
  declare class OApp {
4396
4458
  #private;
@@ -4667,13 +4729,19 @@ declare class LayerZeroViews {
4667
4729
  }
4668
4730
 
4669
4731
  declare const CallErrorCode: {
4670
- readonly Call_ECallNotCompletable: 1;
4732
+ readonly Call_ECallNotActive: 1;
4671
4733
  readonly Call_ECallNotCompleted: 2;
4672
- readonly Call_ECallNotSealed: 3;
4734
+ readonly Call_ECallNotCreating: 3;
4673
4735
  readonly Call_ECallNotRoot: 4;
4674
- readonly Call_ECallSealed: 5;
4675
- readonly Call_EInvalidParent: 6;
4676
- readonly Call_EUnauthorized: 7;
4736
+ readonly Call_ECallNotWaiting: 5;
4737
+ readonly Call_EInvalidChild: 6;
4738
+ readonly Call_EInvalidNonce: 7;
4739
+ readonly Call_EInvalidParent: 8;
4740
+ readonly Call_EParameterNotMutable: 9;
4741
+ readonly Call_EUnauthorized: 10;
4742
+ readonly CallCap_EBadWitness: 1;
4743
+ readonly MultiCall_ECalleeNotFound: 1;
4744
+ readonly MultiCall_EUnauthorized: 2;
4677
4745
  };
4678
4746
  declare class Call {
4679
4747
  #private;
@@ -5703,4 +5771,4 @@ declare const OAppUlnConfigBcs: _mysten_sui_dist_cjs_bcs.BcsType<{
5703
5771
  };
5704
5772
  }>;
5705
5773
 
5706
- export { ALL_EXECUTOR_OPTION_TYPES, type ArbitrumPriceExt, ArbitrumPriceExtBcs, type Argument, ArgumentBCS, BlockedMessageLib, BlockedMessageLibErrorCode, BlockedMessageLibPtbBuilder, type BuilderPlaceholderInfo, Bytes32Bcs, CONFIG_TYPE, Call, CallErrorCode, CallTypeName, Counter, CounterErrorCode, DEFAULT_SIMULATION_TIMES, DVN, DVNErrorCode, DVNFeeLib, DVNFeeLibErrorCode, type DstConfig, DstConfigBcs, type DvnDstConfig, DvnDstConfigBcs, DvnLayerZero, DvnPtbBuilder, Endpoint, EndpointErrorCode, EndpointExecutionState, type EndpointExecutionStateType, EndpointPtbBuilder, type ExecutableParams, Executor, type ExecutorConfig, ExecutorConfigBcs, ExecutorErrorCode, ExecutorFeeLib, ExecutorFeeLibErrorCode, ExecutorLayerZero, ExecutorOptionType, ExecutorPtbBuilder, type Function, FunctionBCS, type IPTBValidator, type InitializableParams, LayerZeroViews, LibBuilderManagerErrorCode, LzComposeVersion, LzReceiveVersion, LzTypeName, MAX_BATCH_SIZE, MessageLibType, type MessagingFee, MessagingFeeBcs, ModelType, ModelTypeBcs, type ModuleOptions, Modules, MoveAbortError, type MoveCall, MoveCallBCS, type NativeDropParams, NativeDropParamsBcs, NonSenderObjectValidator, OApp, OAppErrorCode, OAppInfoV1Bcs, OAppInfoVersion, type OAppUlnConfig, OAppUlnConfigBcs, OBJECT_BLOCKED_MESSAGE_LIB_ADDRESS, OBJECT_BLOCKED_MESSAGE_LIB_PTB_BUILDER_ADDRESS, OBJECT_COUNTER_ADDRESS, OBJECT_COUNTER_ADMIN_CAP_ADDRESS, OBJECT_COUNTER_OAPP_ADDRESS, OBJECT_DISCOVERY_ADDRESS, OBJECT_DVN_ADDRESS, OBJECT_DVN_CAP_ADDRESS, OBJECT_DVN_FEE_LIB_ADDRESS, OBJECT_DVN_FEE_LIB_ADMIN_CAP_ADDRESS, OBJECT_ENDPOINT_ADMIN_CAP_ADDRESS, OBJECT_ENDPOINT_PTB_BUILDER_ADDRESS, OBJECT_ENDPOINT_PTB_BUILDER_ADMIN_CAP_ADDRESS, OBJECT_ENDPOINT_V2_ADDRESS, OBJECT_EXECUTOR_ADDRESS, OBJECT_EXECUTOR_CAP_ADDRESS, OBJECT_EXECUTOR_FEE_LIB_ADDRESS, OBJECT_EXECUTOR_FEE_LIB_ADMIN_CAP_ADDRESS, OBJECT_EXECUTOR_OWNER_CAP_ADDRESS, OBJECT_PACKAGE_WHITELIST_VALIDATOR_ADDRESS, OBJECT_PRICE_FEED_ADDRESS, OBJECT_PRICE_FEED_OWNER_CAP_ADDRESS, OBJECT_SIMPLE_MESSAGE_LIB_ADDRESS, OBJECT_SIMPLE_MESSAGE_LIB_ADMIN_CAP_ADDRESS, OBJECT_SIMPLE_MESSAGE_LIB_PTB_BUILDER_ADDRESS, OBJECT_TREASURY_ADDRESS, OBJECT_TREASURY_ADMIN_CAP_ADDRESS, OBJECT_ULN_302_ADDRESS, OBJECT_ULN_302_ADMIN_CAP_ADDRESS, OBJECT_ULN_302_PTB_BUILDER_ADDRESS, OBJECT_ULN_302_VERIFICATION_ADDRESS, OBJECT_WORKER_REGISTRY_ADDRESS, type ObjectFetchOptions, type ObjectOptions, PACKAGE_BLOCKED_MESSAGE_LIB_ADDRESS, PACKAGE_BLOCKED_MESSAGE_LIB_PTB_BUILDER_ADDRESS, PACKAGE_CALL_ADDRESS, PACKAGE_COUNTER_V2_ADDRESS, PACKAGE_DVN_ADDRESS, PACKAGE_DVN_FEE_LIB_ADDRESS, PACKAGE_DVN_LAYERZERO_ADDRESS, PACKAGE_DVN_PTB_BUILDER_ADDRESS, PACKAGE_ENDPOINT_PTB_BUILDER_ADDRESS, PACKAGE_ENDPOINT_V2_ADDRESS, PACKAGE_EXECUTOR_ADDRESS, PACKAGE_EXECUTOR_FEE_LIB_ADDRESS, PACKAGE_EXECUTOR_LAYERZERO_ADDRESS, PACKAGE_EXECUTOR_PTB_BUILDER_ADDRESS, PACKAGE_LAYERZERO_VIEWS_ADDRESS, PACKAGE_OAPP_ADDRESS, PACKAGE_PACKAGE_WHITELIST_VALIDATOR_ADDRESS, PACKAGE_PRICE_FEED_ADDRESS, PACKAGE_PTB_MOVE_CALL_ADDRESS, PACKAGE_SIMPLE_MESSAGE_LIB_ADDRESS, PACKAGE_SIMPLE_MESSAGE_LIB_PTB_BUILDER_ADDRESS, PACKAGE_TREASURY_ADDRESS, PACKAGE_ULN_302_ADDRESS, PACKAGE_ULN_302_PTB_BUILDER_ADDRESS, PACKAGE_UTILS_ADDRESS, PACKAGE_WORKER_COMMON_ADDRESS, PACKAGE_WORKER_REGISTRY_ADDRESS, PACKAGE_ZRO_ADDRESS, PackageAllowlistValidator, type PackageOptions, PackageWhitelistValidator, type Price, PriceBcs, PriceFeed, PriceFeedErrorCode, PtbBuilder, SDK, type SdkOptions, type SetDstConfigEvent, ShareObjectValidator, SimpleMessageLib, SimpleMessageLibErrorCode, SimpleMessageLibPtbBuilder, type SimulateResult, type Timeout, TimeoutBcs, Treasury, TreasuryErrorCode, Uln302, Uln302ErrorCode, Uln302PtbBuilder, type UlnConfig, UlnConfigBcs, type UlnVerifiableParams, UlnVerificationState, type UlnVerificationStateType, UnclassifiedError, Utils, UtilsErrorCode, ValidatorErrorCode, VectorMoveCallBCS, type VerifiableParams, type VerifierFeePaid, type VersionInfo, WorkerRegistry, WorkerRegistryErrorCode, Zro, asAddress, asAddressVector, asArg, asArgWithTx, asArgWithTxAsync, asBool, asBytes, asBytes32, asBytesVector, asObject, asString, asU128, asU16, asU256, asU32, asU64, asU8, executeSimulate, handleError, isTransactionArgument, simulateTransaction, simulateTransactionMultiResult, validateTransaction, validateWithDetails };
5774
+ export { ALL_EXECUTOR_OPTION_TYPES, type ArbitrumPriceExt, ArbitrumPriceExtBcs, type Argument, ArgumentBCS, BlockedMessageLib, BlockedMessageLibErrorCode, BlockedMessageLibPtbBuilder, type BuilderPlaceholderInfo, Bytes32Bcs, CONFIG_TYPE, Call, CallErrorCode, CallTypeName, Counter, CounterErrorCode, DEFAULT_SIMULATION_TIMES, DVN, DVNErrorCode, DVNFeeLib, DVNFeeLibErrorCode, DVNLayerzeroErrorCode, type DstConfig, DstConfigBcs, type DvnDstConfig, DvnDstConfigBcs, DvnLayerZero, DvnPtbBuilder, Endpoint, EndpointErrorCode, EndpointExecutionState, type EndpointExecutionStateType, EndpointPtbBuilder, EndpointPtbBuilderErrorCode, type ExecutableParams, Executor, type ExecutorConfig, ExecutorConfigBcs, ExecutorErrorCode, ExecutorFeeLib, ExecutorFeeLibErrorCode, ExecutorLayerZero, ExecutorLayerzeroErrorCode, ExecutorOptionType, ExecutorPtbBuilder, type Function, FunctionBCS, type IPTBValidator, type InitializableParams, LayerZeroViews, LzComposeVersion, LzReceiveVersion, LzTypeName, MAX_BATCH_SIZE, MessageLibType, type MessagingFee, MessagingFeeBcs, ModelType, ModelTypeBcs, type ModuleOptions, Modules, MoveAbortError, type MoveCall, MoveCallBCS, type NativeDropParams, NativeDropParamsBcs, NonSenderObjectValidator, OApp, OAppErrorCode, OAppInfoV1Bcs, OAppInfoVersion, type OAppUlnConfig, OAppUlnConfigBcs, OBJECT_BLOCKED_MESSAGE_LIB_ADDRESS, OBJECT_BLOCKED_MESSAGE_LIB_PTB_BUILDER_ADDRESS, OBJECT_COUNTER_ADDRESS, OBJECT_COUNTER_ADMIN_CAP_ADDRESS, OBJECT_COUNTER_OAPP_ADDRESS, OBJECT_DISCOVERY_ADDRESS, OBJECT_DVN_ADDRESS, OBJECT_DVN_CAP_ADDRESS, OBJECT_DVN_FEE_LIB_ADDRESS, OBJECT_DVN_FEE_LIB_ADMIN_CAP_ADDRESS, OBJECT_ENDPOINT_ADMIN_CAP_ADDRESS, OBJECT_ENDPOINT_PTB_BUILDER_ADDRESS, OBJECT_ENDPOINT_PTB_BUILDER_ADMIN_CAP_ADDRESS, OBJECT_ENDPOINT_V2_ADDRESS, OBJECT_EXECUTOR_ADDRESS, OBJECT_EXECUTOR_CAP_ADDRESS, OBJECT_EXECUTOR_FEE_LIB_ADDRESS, OBJECT_EXECUTOR_FEE_LIB_ADMIN_CAP_ADDRESS, OBJECT_EXECUTOR_OWNER_CAP_ADDRESS, OBJECT_PACKAGE_WHITELIST_VALIDATOR_ADDRESS, OBJECT_PRICE_FEED_ADDRESS, OBJECT_PRICE_FEED_OWNER_CAP_ADDRESS, OBJECT_SIMPLE_MESSAGE_LIB_ADDRESS, OBJECT_SIMPLE_MESSAGE_LIB_ADMIN_CAP_ADDRESS, OBJECT_SIMPLE_MESSAGE_LIB_PTB_BUILDER_ADDRESS, OBJECT_TREASURY_ADDRESS, OBJECT_TREASURY_ADMIN_CAP_ADDRESS, OBJECT_ULN_302_ADDRESS, OBJECT_ULN_302_ADMIN_CAP_ADDRESS, OBJECT_ULN_302_PTB_BUILDER_ADDRESS, OBJECT_ULN_302_VERIFICATION_ADDRESS, OBJECT_WORKER_REGISTRY_ADDRESS, type ObjectFetchOptions, type ObjectOptions, PACKAGE_BLOCKED_MESSAGE_LIB_ADDRESS, PACKAGE_BLOCKED_MESSAGE_LIB_PTB_BUILDER_ADDRESS, PACKAGE_CALL_ADDRESS, PACKAGE_COUNTER_V2_ADDRESS, PACKAGE_DVN_ADDRESS, PACKAGE_DVN_FEE_LIB_ADDRESS, PACKAGE_DVN_LAYERZERO_ADDRESS, PACKAGE_DVN_PTB_BUILDER_ADDRESS, PACKAGE_ENDPOINT_PTB_BUILDER_ADDRESS, PACKAGE_ENDPOINT_V2_ADDRESS, PACKAGE_EXECUTOR_ADDRESS, PACKAGE_EXECUTOR_FEE_LIB_ADDRESS, PACKAGE_EXECUTOR_LAYERZERO_ADDRESS, PACKAGE_EXECUTOR_PTB_BUILDER_ADDRESS, PACKAGE_LAYERZERO_VIEWS_ADDRESS, PACKAGE_OAPP_ADDRESS, PACKAGE_PACKAGE_WHITELIST_VALIDATOR_ADDRESS, PACKAGE_PRICE_FEED_ADDRESS, PACKAGE_PTB_MOVE_CALL_ADDRESS, PACKAGE_SIMPLE_MESSAGE_LIB_ADDRESS, PACKAGE_SIMPLE_MESSAGE_LIB_PTB_BUILDER_ADDRESS, PACKAGE_TREASURY_ADDRESS, PACKAGE_ULN_302_ADDRESS, PACKAGE_ULN_302_PTB_BUILDER_ADDRESS, PACKAGE_UTILS_ADDRESS, PACKAGE_WORKER_COMMON_ADDRESS, PACKAGE_WORKER_REGISTRY_ADDRESS, PACKAGE_ZRO_ADDRESS, PackageAllowlistValidator, type PackageOptions, PackageWhitelistValidator, type Price, PriceBcs, PriceFeed, PriceFeedErrorCode, PtbBuilder, PtbBuilderErrorCode, SDK, type SdkOptions, type SetDstConfigEvent, ShareObjectValidator, SimpleMessageLib, SimpleMessageLibErrorCode, SimpleMessageLibPtbBuilder, type SimulateResult, type Timeout, TimeoutBcs, Treasury, TreasuryErrorCode, Uln302, Uln302ErrorCode, Uln302PtbBuilder, Uln302PtbBuilderErrorCode, type UlnConfig, UlnConfigBcs, type UlnVerifiableParams, UlnVerificationState, type UlnVerificationStateType, UnclassifiedError, Utils, UtilsErrorCode, ValidatorErrorCode, VectorMoveCallBCS, type VerifiableParams, type VerifierFeePaid, type VersionInfo, WorkerRegistry, WorkerRegistryErrorCode, Zro, asAddress, asAddressVector, asArg, asArgWithTx, asArgWithTxAsync, asBool, asBytes, asBytes32, asBytesVector, asObject, asString, asU128, asU16, asU256, asU32, asU64, asU8, executeSimulate, handleError, isTransactionArgument, simulateTransaction, simulateTransactionMultiResult, validateTransaction, validateWithDetails };