@layerzerolabs/lz-sui-sdk-v2 3.0.134-sui.0 → 3.0.134-sui.2
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/deployments/sui-sandbox-local/blocked_message_lib.json +18 -18
- package/deployments/sui-sandbox-local/blocked_msglib_ptb_builder.json +22 -22
- package/deployments/sui-sandbox-local/counter.json +47 -47
- package/deployments/sui-sandbox-local/dvn.json +14 -14
- package/deployments/sui-sandbox-local/dvn_call_type.json +28 -28
- package/deployments/sui-sandbox-local/dvn_fee_lib.json +27 -27
- package/deployments/sui-sandbox-local/dvn_layerzero.json +24 -24
- package/deployments/sui-sandbox-local/dvn_ptb_builder.json +21 -21
- package/deployments/sui-sandbox-local/endpoint_ptb_builder.json +32 -32
- package/deployments/sui-sandbox-local/endpoint_v2.json +25 -25
- package/deployments/sui-sandbox-local/executor.json +14 -14
- package/deployments/sui-sandbox-local/executor_call_type.json +21 -21
- package/deployments/sui-sandbox-local/executor_fee_lib.json +27 -27
- package/deployments/sui-sandbox-local/executor_layerzero.json +17 -17
- package/deployments/sui-sandbox-local/executor_ptb_builder.json +14 -14
- package/deployments/sui-sandbox-local/layerzero_views.json +13 -13
- package/deployments/sui-sandbox-local/message_lib_common.json +13 -13
- package/deployments/sui-sandbox-local/msglib_ptb_builder_call_types.json +13 -13
- package/deployments/sui-sandbox-local/oapp.json +21 -21
- package/deployments/sui-sandbox-local/object-BlockedMessageLib.json +5 -5
- package/deployments/sui-sandbox-local/object-BlockedMsglibPtbBuilder.json +5 -5
- package/deployments/sui-sandbox-local/object-Counter.json +5 -5
- package/deployments/sui-sandbox-local/object-CounterAdminCap.json +5 -5
- package/deployments/sui-sandbox-local/object-CounterOApp.json +5 -5
- package/deployments/sui-sandbox-local/object-DVN.json +2 -2
- package/deployments/sui-sandbox-local/object-DVNCap.json +4 -4
- package/deployments/sui-sandbox-local/object-DVNFeeLib.json +5 -5
- package/deployments/sui-sandbox-local/object-EndpointPtbBuilder.json +5 -5
- package/deployments/sui-sandbox-local/object-EndpointPtbBuilderAdminCap.json +5 -5
- package/deployments/sui-sandbox-local/object-EndpointV2.json +5 -5
- package/deployments/sui-sandbox-local/object-EndpointV2AdminCap.json +5 -5
- package/deployments/sui-sandbox-local/object-Executor.json +2 -2
- package/deployments/sui-sandbox-local/object-ExecutorCap.json +4 -4
- package/deployments/sui-sandbox-local/object-ExecutorFeeLib.json +5 -5
- package/deployments/sui-sandbox-local/object-ExecutorOwnerCap.json +2 -2
- package/deployments/sui-sandbox-local/object-PackageWhitelistValidator.json +5 -5
- package/deployments/sui-sandbox-local/object-PriceFeed.json +5 -5
- package/deployments/sui-sandbox-local/object-PriceFeedOwnerCap.json +5 -5
- package/deployments/sui-sandbox-local/object-SimpleMessageLib.json +5 -5
- package/deployments/sui-sandbox-local/object-SimpleMessageLibAdminCap.json +5 -5
- package/deployments/sui-sandbox-local/object-SmlPtbBuilder.json +5 -5
- package/deployments/sui-sandbox-local/object-Treasury.json +5 -5
- package/deployments/sui-sandbox-local/object-TreasuryAdminCap.json +5 -5
- package/deployments/sui-sandbox-local/object-ULN302.json +5 -5
- package/deployments/sui-sandbox-local/object-ULN302AdminCap.json +5 -5
- package/deployments/sui-sandbox-local/object-Uln302PtbBuilder.json +5 -5
- package/deployments/sui-sandbox-local/object-Uln302Verification.json +5 -5
- package/deployments/sui-sandbox-local/object-WorkerRegistry.json +5 -5
- package/deployments/sui-sandbox-local/package_whitelist_validator.json +48 -48
- package/deployments/sui-sandbox-local/price_feed.json +39 -39
- package/deployments/sui-sandbox-local/price_feed_call_types.json +19 -19
- package/deployments/sui-sandbox-local/ptb_move_call.json +20 -20
- package/deployments/sui-sandbox-local/sequential_multi_call.json +45 -0
- package/deployments/sui-sandbox-local/simple_message_lib.json +30 -30
- package/deployments/sui-sandbox-local/simple_msglib_ptb_builder.json +18 -18
- package/deployments/sui-sandbox-local/treasury.json +41 -41
- package/deployments/sui-sandbox-local/uln_302.json +42 -46
- package/deployments/sui-sandbox-local/uln_302_ptb_builder.json +29 -29
- package/deployments/sui-sandbox-local/uln_common.json +49 -0
- package/deployments/sui-sandbox-local/worker_common.json +13 -13
- package/deployments/sui-sandbox-local/worker_registry.json +28 -28
- package/dist/index.cjs +354 -119
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +168 -43
- package/dist/index.d.ts +168 -43
- package/dist/index.mjs +350 -119
- package/dist/index.mjs.map +1 -1
- package/package.json +7 -7
- package/src/generated/addresses.ts +54 -54
- package/src/modules/call.ts +16 -6
- package/src/modules/endpoint.ts +10 -1
- package/src/modules/message-libs/simple-message-lib.ts +3 -2
- package/src/modules/message-libs/uln302.ts +28 -26
- package/src/modules/oapps/counter.ts +4 -3
- package/src/modules/oapps/oapp.ts +21 -12
- package/src/modules/ptb-builders/endpoint-ptb-builder.ts +9 -3
- package/src/modules/ptb-builders/ptb-builder.ts +9 -0
- package/src/modules/ptb-builders/uln302-ptb-builder.ts +5 -0
- package/src/modules/workers/dvn-layerzero.ts +8 -0
- package/src/modules/workers/dvn.ts +155 -6
- package/src/modules/workers/executor-fee-lib.ts +11 -3
- package/src/modules/workers/executor-layerzero.ts +8 -0
- package/src/modules/workers/executor.ts +56 -0
- package/src/modules/workers/treasury.ts +4 -4
- package/src/modules/workers/worker-registry.ts +1 -0
package/dist/index.mjs
CHANGED
|
@@ -761,6 +761,13 @@ var EndpointErrorCode = {
|
|
|
761
761
|
MessagingChannel_EPayloadHashNotFound: 9,
|
|
762
762
|
MessagingChannel_ESendReentrancy: 10,
|
|
763
763
|
MessagingChannel_EUninitializedChannel: 11,
|
|
764
|
+
// MessagingComposer related errors (with MessagingComposer_ prefix)
|
|
765
|
+
MessagingComposer_EComposeExists: 1,
|
|
766
|
+
MessagingComposer_EComposeMessageMismatch: 2,
|
|
767
|
+
MessagingComposer_EComposeNotFound: 3,
|
|
768
|
+
MessagingComposer_EComposerNotRegistered: 4,
|
|
769
|
+
MessagingComposer_EComposerRegistered: 5,
|
|
770
|
+
MessagingComposer_EInvalidLZComposeInfo: 6,
|
|
764
771
|
// OAppRegistry related errors (with OAppRegistry_ prefix)
|
|
765
772
|
OAppRegistry_EInvalidLZReceiveInfo: 1,
|
|
766
773
|
OAppRegistry_EOAppNotRegistered: 2,
|
|
@@ -770,7 +777,8 @@ var EndpointErrorCode = {
|
|
|
770
777
|
Endpoint_EInvalidEid: 2,
|
|
771
778
|
Endpoint_ENotInitialized: 3,
|
|
772
779
|
Endpoint_ERefundAddressNotFound: 4,
|
|
773
|
-
|
|
780
|
+
Endpoint_EUnauthorizedOApp: 5,
|
|
781
|
+
Endpoint_EUnauthorizedSendLibrary: 6
|
|
774
782
|
};
|
|
775
783
|
var _Endpoint_instances, addRequiredValidators_fn, target_fn;
|
|
776
784
|
var Endpoint = class {
|
|
@@ -2727,9 +2735,10 @@ target_fn2 = function(name, module_name = MODULE_NAME2) {
|
|
|
2727
2735
|
};
|
|
2728
2736
|
var MODULE_NAME3 = "simple_message_lib";
|
|
2729
2737
|
var SimpleMessageLibErrorCode = {
|
|
2730
|
-
// SimpleMessageLib related errors (
|
|
2731
|
-
|
|
2732
|
-
SimpleMessageLib_EZROFeeNotEnabled: 2
|
|
2738
|
+
// SimpleMessageLib related errors (matching simple_message_lib.move)
|
|
2739
|
+
SimpleMessageLib_ENotImplemented: 1,
|
|
2740
|
+
SimpleMessageLib_EZROFeeNotEnabled: 2,
|
|
2741
|
+
SimpleMessageLib_EInvalidEid: 3
|
|
2733
2742
|
};
|
|
2734
2743
|
var _SimpleMessageLib_instances, target_fn3;
|
|
2735
2744
|
var SimpleMessageLib = class {
|
|
@@ -2960,10 +2969,25 @@ var Uln302ErrorCode = {
|
|
|
2960
2969
|
ReceiveUln302_EInvalidEid: 3,
|
|
2961
2970
|
ReceiveUln302_EOAppUlnConfigNotFound: 4,
|
|
2962
2971
|
ReceiveUln302_EVerifying: 5,
|
|
2963
|
-
|
|
2964
|
-
|
|
2965
|
-
|
|
2966
|
-
|
|
2972
|
+
Uln302_EInvalidConfigType: 1,
|
|
2973
|
+
Uln302_EInvalidMessagingChannel: 2,
|
|
2974
|
+
Uln302_EUnsupportedEid: 3,
|
|
2975
|
+
// UlnConfig related errors (matching uln_config.move)
|
|
2976
|
+
UlnConfig_EAtLeastOneDVN: 1,
|
|
2977
|
+
UlnConfig_EDuplicateOptionalDVNs: 2,
|
|
2978
|
+
UlnConfig_EDuplicateRequiredDVNs: 3,
|
|
2979
|
+
UlnConfig_EInvalidOptionalDVNCount: 4,
|
|
2980
|
+
UlnConfig_EInvalidOptionalDVNThreshold: 5,
|
|
2981
|
+
UlnConfig_EInvalidRequiredDVNCount: 6,
|
|
2982
|
+
UlnConfig_EInvalidUlnConfigBytes: 7,
|
|
2983
|
+
// OAppUlnConfig related errors (matching oapp_uln_config.move)
|
|
2984
|
+
OAppUlnConfig_EInvalidConfirmations: 1,
|
|
2985
|
+
OAppUlnConfig_EInvalidRequiredDVNs: 2,
|
|
2986
|
+
OAppUlnConfig_EInvalidOptionalDVNs: 3,
|
|
2987
|
+
// ExecutorConfig related errors (matching executor_config.move)
|
|
2988
|
+
ExecutorConfig_EInvalidExecutorAddress: 1,
|
|
2989
|
+
ExecutorConfig_EInvalidExecutorBytes: 2,
|
|
2990
|
+
ExecutorConfig_EZeroMessageSize: 3
|
|
2967
2991
|
};
|
|
2968
2992
|
var _Uln302_instances, target_fn4;
|
|
2969
2993
|
var Uln302 = class {
|
|
@@ -3061,25 +3085,16 @@ var Uln302 = class {
|
|
|
3061
3085
|
});
|
|
3062
3086
|
}
|
|
3063
3087
|
/**
|
|
3064
|
-
* Verify packet move call with DVN
|
|
3065
|
-
* Note: This is typically called by DVNs, not directly by users
|
|
3088
|
+
* Verify packet move call with DVN call (new API)
|
|
3089
|
+
* Note: This is typically called by DVNs via Call objects, not directly by users
|
|
3066
3090
|
* @param tx - The transaction to add the move call to
|
|
3067
3091
|
* @param verification - The verification object address or transaction argument
|
|
3068
|
-
* @param
|
|
3069
|
-
* @param packetHeader - The packet header as bytes or transaction argument
|
|
3070
|
-
* @param payloadHash - The payload hash as bytes or transaction argument
|
|
3071
|
-
* @param confirmations - Required confirmations count or transaction argument
|
|
3092
|
+
* @param call - The DVN verification call containing verification parameters
|
|
3072
3093
|
*/
|
|
3073
|
-
verifyMoveCall(tx, verification,
|
|
3094
|
+
verifyMoveCall(tx, verification, call) {
|
|
3074
3095
|
tx.moveCall({
|
|
3075
3096
|
target: __privateMethod(this, _Uln302_instances, target_fn4).call(this, "verify"),
|
|
3076
|
-
arguments: [
|
|
3077
|
-
asObject(tx, verification),
|
|
3078
|
-
asObject(tx, dvn),
|
|
3079
|
-
asBytes(tx, packetHeader),
|
|
3080
|
-
asBytes32(tx, payloadHash, this.moduleManager.getUtils()),
|
|
3081
|
-
asU64(tx, confirmations)
|
|
3082
|
-
]
|
|
3097
|
+
arguments: [tx.object(this.objects.uln302), asObject(tx, verification), call]
|
|
3083
3098
|
});
|
|
3084
3099
|
}
|
|
3085
3100
|
/**
|
|
@@ -3632,9 +3647,22 @@ var DVNErrorCode = {
|
|
|
3632
3647
|
DVN_EExpiredSignature: 1,
|
|
3633
3648
|
DVN_EEidNotSupported: 2,
|
|
3634
3649
|
DVN_EHashAlreadyUsed: 3,
|
|
3635
|
-
DVN_EPtbBuilderAlreadyInitialized: 4
|
|
3636
|
-
|
|
3637
|
-
|
|
3650
|
+
DVN_EPtbBuilderAlreadyInitialized: 4,
|
|
3651
|
+
// Multisig related errors (matching multisig.move)
|
|
3652
|
+
Multisig_EDuplicatedSigner: 1,
|
|
3653
|
+
Multisig_EInvalidSignatureLength: 2,
|
|
3654
|
+
Multisig_EInvalidSignerLength: 3,
|
|
3655
|
+
Multisig_EQuorumIsZero: 4,
|
|
3656
|
+
Multisig_ESignaturesLessThanQuorum: 5,
|
|
3657
|
+
Multisig_ESignerAlreadyExists: 6,
|
|
3658
|
+
Multisig_ESignerNotFound: 7,
|
|
3659
|
+
Multisig_ESignerNotInCommittee: 8,
|
|
3660
|
+
Multisig_ESignersSizeIsLessThanQuorum: 9,
|
|
3661
|
+
// DVNInfoV1 related errors (matching dvn_info_v1.move)
|
|
3662
|
+
DVNInfoV1_EInvalidData: 1,
|
|
3663
|
+
DVNInfoV1_EInvalidVersion: 2
|
|
3664
|
+
};
|
|
3665
|
+
var _DVN_instances, getUlnObjectAddress_fn, getUlnVerifyTarget_fn, target_fn5;
|
|
3638
3666
|
var DVN = class {
|
|
3639
3667
|
constructor(packageId, client, objects, moduleManager) {
|
|
3640
3668
|
this.moduleManager = moduleManager;
|
|
@@ -3797,6 +3825,29 @@ var DVN = class {
|
|
|
3797
3825
|
});
|
|
3798
3826
|
}
|
|
3799
3827
|
// === Set Functions with Signatures ===
|
|
3828
|
+
/**
|
|
3829
|
+
* Set supported message library (admin with signatures)
|
|
3830
|
+
* @param tx - The transaction to add the move call to
|
|
3831
|
+
* @param adminCap - The admin capability object ID
|
|
3832
|
+
* @param messageLib - The message library address
|
|
3833
|
+
* @param supported - Whether to support or remove support for the message library
|
|
3834
|
+
* @param expiration - Signature expiration timestamp
|
|
3835
|
+
* @param signatures - Multisig signatures for authorization
|
|
3836
|
+
*/
|
|
3837
|
+
setSupportedMessageLibMoveCall(tx, adminCap, messageLib, supported, expiration, signatures) {
|
|
3838
|
+
tx.moveCall({
|
|
3839
|
+
target: __privateMethod(this, _DVN_instances, target_fn5).call(this, "set_supported_message_lib"),
|
|
3840
|
+
arguments: [
|
|
3841
|
+
tx.object(this.objects.dvn),
|
|
3842
|
+
asObject(tx, adminCap),
|
|
3843
|
+
asAddress(tx, messageLib),
|
|
3844
|
+
asBool(tx, supported),
|
|
3845
|
+
asU64(tx, expiration),
|
|
3846
|
+
asBytes(tx, signatures),
|
|
3847
|
+
tx.object.clock()
|
|
3848
|
+
]
|
|
3849
|
+
});
|
|
3850
|
+
}
|
|
3800
3851
|
/**
|
|
3801
3852
|
* Set allowlist status for an OApp sender (admin with signatures)
|
|
3802
3853
|
* @param tx - The transaction to add the move call to
|
|
@@ -3931,23 +3982,24 @@ var DVN = class {
|
|
|
3931
3982
|
}
|
|
3932
3983
|
// Verification Functions
|
|
3933
3984
|
/**
|
|
3934
|
-
* Verify a packet with DVN signatures (admin with signatures)
|
|
3985
|
+
* Verify a packet with DVN signatures (admin with signatures) - returns Call object for ULN302
|
|
3935
3986
|
* @param tx - The transaction to add the move call to
|
|
3936
3987
|
* @param adminCap - The admin capability object ID
|
|
3937
|
-
* @param
|
|
3988
|
+
* @param targetMessageLib - The target message library address (usually ULN302)
|
|
3938
3989
|
* @param packetHeader - The packet header as bytes
|
|
3939
3990
|
* @param payloadHash - The payload hash as bytes
|
|
3940
3991
|
* @param confirmations - Required confirmations count
|
|
3941
3992
|
* @param expiration - Signature expiration timestamp
|
|
3942
3993
|
* @param signatures - DVN multisig signatures
|
|
3994
|
+
* @returns Transaction result containing the verification Call object
|
|
3943
3995
|
*/
|
|
3944
|
-
verifyMoveCall(tx, adminCap,
|
|
3945
|
-
tx.moveCall({
|
|
3996
|
+
verifyMoveCall(tx, adminCap, targetMessageLib, packetHeader, payloadHash, confirmations, expiration, signatures) {
|
|
3997
|
+
return tx.moveCall({
|
|
3946
3998
|
target: __privateMethod(this, _DVN_instances, target_fn5).call(this, "verify"),
|
|
3947
3999
|
arguments: [
|
|
3948
4000
|
tx.object(this.objects.dvn),
|
|
3949
4001
|
asObject(tx, adminCap),
|
|
3950
|
-
|
|
4002
|
+
asAddress(tx, targetMessageLib),
|
|
3951
4003
|
asBytes(tx, packetHeader),
|
|
3952
4004
|
asBytes32(tx, payloadHash, this.moduleManager.getUtils()),
|
|
3953
4005
|
asU64(tx, confirmations),
|
|
@@ -4217,6 +4269,32 @@ var DVN = class {
|
|
|
4217
4269
|
(result) => bcs.Bool.parse(result[0].value)
|
|
4218
4270
|
);
|
|
4219
4271
|
}
|
|
4272
|
+
/**
|
|
4273
|
+
* Check if a message library is supported by this DVN
|
|
4274
|
+
* @param tx - The transaction to add the move call to
|
|
4275
|
+
* @param messageLib - The message library address to check
|
|
4276
|
+
* @returns Transaction result containing the support status
|
|
4277
|
+
*/
|
|
4278
|
+
isSupportedMessageLibMoveCall(tx, messageLib) {
|
|
4279
|
+
return tx.moveCall({
|
|
4280
|
+
target: __privateMethod(this, _DVN_instances, target_fn5).call(this, "is_supported_message_lib"),
|
|
4281
|
+
arguments: [tx.object(this.objects.dvn), asAddress(tx, messageLib)]
|
|
4282
|
+
});
|
|
4283
|
+
}
|
|
4284
|
+
/**
|
|
4285
|
+
* Check if a message library is supported by this DVN
|
|
4286
|
+
* @param messageLib - The message library address to check
|
|
4287
|
+
* @returns Promise<boolean> - True if the message library is supported
|
|
4288
|
+
*/
|
|
4289
|
+
async isSupportedMessageLib(messageLib) {
|
|
4290
|
+
return executeSimulate(
|
|
4291
|
+
this.client,
|
|
4292
|
+
(tx) => {
|
|
4293
|
+
this.isSupportedMessageLibMoveCall(tx, messageLib);
|
|
4294
|
+
},
|
|
4295
|
+
(result) => bcs.Bool.parse(result[0].value)
|
|
4296
|
+
);
|
|
4297
|
+
}
|
|
4220
4298
|
/**
|
|
4221
4299
|
* Check if an address is allowlisted
|
|
4222
4300
|
* @param tx - The transaction to add the move call to
|
|
@@ -4899,8 +4977,63 @@ var DVN = class {
|
|
|
4899
4977
|
]
|
|
4900
4978
|
});
|
|
4901
4979
|
}
|
|
4980
|
+
/**
|
|
4981
|
+
* Populate verify with DVN verification and ULN verify call
|
|
4982
|
+
* @param tx - The transaction to add the move call to
|
|
4983
|
+
* @param adminCap - The admin capability object ID
|
|
4984
|
+
* @param targetMessageLib - The target message library address (usually ULN302)
|
|
4985
|
+
* @param targetVerification - The verification object address for the target message library
|
|
4986
|
+
* @param packetHeader - The packet header as bytes
|
|
4987
|
+
* @param payloadHash - The payload hash as bytes
|
|
4988
|
+
* @param confirmations - Required confirmations count
|
|
4989
|
+
* @param expiration - Signature expiration timestamp
|
|
4990
|
+
* @param signatures - DVN multisig signatures
|
|
4991
|
+
*/
|
|
4992
|
+
populateVerify(tx, adminCap, targetMessageLib, targetVerification, packetHeader, payloadHash, confirmations, expiration, signatures) {
|
|
4993
|
+
const dvnCall = this.verifyMoveCall(
|
|
4994
|
+
tx,
|
|
4995
|
+
adminCap,
|
|
4996
|
+
targetMessageLib,
|
|
4997
|
+
packetHeader,
|
|
4998
|
+
payloadHash,
|
|
4999
|
+
confirmations,
|
|
5000
|
+
expiration,
|
|
5001
|
+
signatures
|
|
5002
|
+
);
|
|
5003
|
+
const messageLibObjectAddress = __privateMethod(this, _DVN_instances, getUlnObjectAddress_fn).call(this, targetMessageLib);
|
|
5004
|
+
tx.moveCall({
|
|
5005
|
+
target: __privateMethod(this, _DVN_instances, getUlnVerifyTarget_fn).call(this, targetMessageLib),
|
|
5006
|
+
arguments: [tx.object(messageLibObjectAddress), asObject(tx, targetVerification), dvnCall]
|
|
5007
|
+
});
|
|
5008
|
+
}
|
|
4902
5009
|
};
|
|
4903
5010
|
_DVN_instances = new WeakSet();
|
|
5011
|
+
/**
|
|
5012
|
+
* Get message library object address based on targetMessageLib package address
|
|
5013
|
+
* @param targetMessageLib - The target message library package address
|
|
5014
|
+
* @returns Message library object address
|
|
5015
|
+
* @throws Error if targetMessageLib doesn't match any known message library
|
|
5016
|
+
* @private
|
|
5017
|
+
*/
|
|
5018
|
+
getUlnObjectAddress_fn = function(targetMessageLib) {
|
|
5019
|
+
if (targetMessageLib === this.moduleManager.packages.uln302) {
|
|
5020
|
+
return this.objects.uln302;
|
|
5021
|
+
}
|
|
5022
|
+
throw new Error("Target message library not match objects");
|
|
5023
|
+
};
|
|
5024
|
+
/**
|
|
5025
|
+
* Get ULN verify target path based on targetMessageLib package address
|
|
5026
|
+
* @param targetMessageLib - The target message library package address
|
|
5027
|
+
* @returns Message library verify target path
|
|
5028
|
+
* @throws Error if targetMessageLib doesn't match any known message library
|
|
5029
|
+
* @private
|
|
5030
|
+
*/
|
|
5031
|
+
getUlnVerifyTarget_fn = function(targetMessageLib) {
|
|
5032
|
+
if (targetMessageLib === this.moduleManager.packages.uln302) {
|
|
5033
|
+
return `${targetMessageLib}::uln_302::verify`;
|
|
5034
|
+
}
|
|
5035
|
+
throw new Error("Target message library not match any target");
|
|
5036
|
+
};
|
|
4904
5037
|
/**
|
|
4905
5038
|
* Generate the full target path for move calls
|
|
4906
5039
|
* @param name - The function name to call
|
|
@@ -4985,6 +5118,10 @@ target_fn6 = function(name, module_name = MODULE_NAME6) {
|
|
|
4985
5118
|
|
|
4986
5119
|
// src/modules/workers/dvn-layerzero.ts
|
|
4987
5120
|
var MODULE_NAME7 = "dvn_layerzero";
|
|
5121
|
+
var DVNLayerzeroErrorCode = {
|
|
5122
|
+
// DVNLayerzero related errors (matching dvn_layerzero.move)
|
|
5123
|
+
DVNLayerzero_EWorkerCapNotFromPackage: 1
|
|
5124
|
+
};
|
|
4988
5125
|
var _DvnLayerZero_instances, target_fn7;
|
|
4989
5126
|
var DvnLayerZero = class {
|
|
4990
5127
|
constructor(packageId, client, moduleManager) {
|
|
@@ -5001,6 +5138,7 @@ var DvnLayerZero = class {
|
|
|
5001
5138
|
* @param workerCap - Worker capability object ID or transaction argument
|
|
5002
5139
|
* @param vid - Verifier ID for the DVN or transaction argument
|
|
5003
5140
|
* @param depositAddress - Address for fee deposits or transaction argument
|
|
5141
|
+
* @param supportedMessageLibs - Array of supported message library addresses or transaction argument
|
|
5004
5142
|
* @param priceFeed - Price feed object address or transaction argument
|
|
5005
5143
|
* @param workerFeeLib - Worker fee library address or transaction argument
|
|
5006
5144
|
* @param defaultMultiplierBps - Default multiplier in basis points or transaction argument
|
|
@@ -5008,13 +5146,14 @@ var DvnLayerZero = class {
|
|
|
5008
5146
|
* @param signers - Array of signer public keys as bytes or transaction argument
|
|
5009
5147
|
* @param quorum - Required signature threshold or transaction argument
|
|
5010
5148
|
*/
|
|
5011
|
-
initDvnMoveCall(tx, workerCap, vid, depositAddress, priceFeed, workerFeeLib, defaultMultiplierBps, admins, signers, quorum) {
|
|
5149
|
+
initDvnMoveCall(tx, workerCap, vid, depositAddress, supportedMessageLibs, priceFeed, workerFeeLib, defaultMultiplierBps, admins, signers, quorum) {
|
|
5012
5150
|
tx.moveCall({
|
|
5013
5151
|
target: __privateMethod(this, _DvnLayerZero_instances, target_fn7).call(this, "init_dvn"),
|
|
5014
5152
|
arguments: [
|
|
5015
5153
|
asObject(tx, workerCap),
|
|
5016
5154
|
asU32(tx, vid),
|
|
5017
5155
|
asAddress(tx, depositAddress),
|
|
5156
|
+
asAddressVector(tx, supportedMessageLibs),
|
|
5018
5157
|
asAddress(tx, priceFeed),
|
|
5019
5158
|
asAddress(tx, workerFeeLib),
|
|
5020
5159
|
asU16(tx, defaultMultiplierBps),
|
|
@@ -5041,7 +5180,10 @@ var MODULE_NAME8 = "executor_worker";
|
|
|
5041
5180
|
var ExecutorErrorCode = {
|
|
5042
5181
|
// Executor related errors (with Executor_ prefix)
|
|
5043
5182
|
Executor_EEidNotSupported: 1,
|
|
5044
|
-
Executor_EInvalidNativeDropAmount: 2
|
|
5183
|
+
Executor_EInvalidNativeDropAmount: 2,
|
|
5184
|
+
// ExecutorInfoV1 related errors (matching executor_info_v1.move)
|
|
5185
|
+
ExecutorInfoV1_EInvalidData: 1,
|
|
5186
|
+
ExecutorInfoV1_EInvalidVersion: 2
|
|
5045
5187
|
};
|
|
5046
5188
|
var _Executor_instances, target_fn8;
|
|
5047
5189
|
var Executor = class {
|
|
@@ -5413,6 +5555,24 @@ var Executor = class {
|
|
|
5413
5555
|
]
|
|
5414
5556
|
});
|
|
5415
5557
|
}
|
|
5558
|
+
/**
|
|
5559
|
+
* Set supported message library (owner only)
|
|
5560
|
+
* @param tx - The transaction to add the move call to
|
|
5561
|
+
* @param ownerCap - The owner capability object ID
|
|
5562
|
+
* @param messageLib - The message library address
|
|
5563
|
+
* @param supported - Whether to support or remove support for the message library
|
|
5564
|
+
*/
|
|
5565
|
+
setSupportedMessageLibMoveCall(tx, ownerCap, messageLib, supported) {
|
|
5566
|
+
tx.moveCall({
|
|
5567
|
+
target: __privateMethod(this, _Executor_instances, target_fn8).call(this, "set_supported_message_lib"),
|
|
5568
|
+
arguments: [
|
|
5569
|
+
tx.object(this.objects.executor),
|
|
5570
|
+
asObject(tx, ownerCap),
|
|
5571
|
+
asAddress(tx, messageLib),
|
|
5572
|
+
asBool(tx, supported)
|
|
5573
|
+
]
|
|
5574
|
+
});
|
|
5575
|
+
}
|
|
5416
5576
|
/**
|
|
5417
5577
|
* Set allowlist status for an OApp sender (owner only)
|
|
5418
5578
|
* @param tx - The transaction to add the move call to
|
|
@@ -5665,6 +5825,32 @@ var Executor = class {
|
|
|
5665
5825
|
(result) => bcs.Bool.parse(result[0].value)
|
|
5666
5826
|
);
|
|
5667
5827
|
}
|
|
5828
|
+
/**
|
|
5829
|
+
* Check if a message library is supported by this executor
|
|
5830
|
+
* @param tx - The transaction to add the move call to
|
|
5831
|
+
* @param messageLib - The message library address to check
|
|
5832
|
+
* @returns Transaction result containing the support status
|
|
5833
|
+
*/
|
|
5834
|
+
isSupportedMessageLibMoveCall(tx, messageLib) {
|
|
5835
|
+
return tx.moveCall({
|
|
5836
|
+
target: __privateMethod(this, _Executor_instances, target_fn8).call(this, "is_supported_message_lib"),
|
|
5837
|
+
arguments: [tx.object(this.objects.executor), asAddress(tx, messageLib)]
|
|
5838
|
+
});
|
|
5839
|
+
}
|
|
5840
|
+
/**
|
|
5841
|
+
* Check if a message library is supported by this executor
|
|
5842
|
+
* @param messageLib - The message library address to check
|
|
5843
|
+
* @returns Promise<boolean> - True if the message library is supported
|
|
5844
|
+
*/
|
|
5845
|
+
async isSupportedMessageLib(messageLib) {
|
|
5846
|
+
return executeSimulate(
|
|
5847
|
+
this.client,
|
|
5848
|
+
(tx) => {
|
|
5849
|
+
this.isSupportedMessageLibMoveCall(tx, messageLib);
|
|
5850
|
+
},
|
|
5851
|
+
(result) => bcs.Bool.parse(result[0].value)
|
|
5852
|
+
);
|
|
5853
|
+
}
|
|
5668
5854
|
/**
|
|
5669
5855
|
* Check if an address is allowlisted
|
|
5670
5856
|
* @param tx - The transaction to add the move call to
|
|
@@ -5938,10 +6124,17 @@ target_fn8 = function(name, module_name = MODULE_NAME8) {
|
|
|
5938
6124
|
// src/modules/workers/executor-fee-lib.ts
|
|
5939
6125
|
var MODULE_NAME9 = "executor_fee_lib";
|
|
5940
6126
|
var ExecutorFeeLibErrorCode = {
|
|
5941
|
-
// Executor Fee Lib related errors (
|
|
6127
|
+
// Executor Fee Lib related errors (matching executor_fee_lib.move)
|
|
5942
6128
|
ExecutorFeeLib_EEidNotSupported: 1,
|
|
5943
|
-
|
|
5944
|
-
|
|
6129
|
+
// ExecutorOption related errors (matching executor_option.move)
|
|
6130
|
+
ExecutorOption_ENoOptions: 1,
|
|
6131
|
+
ExecutorOption_EUnsupportedOptionType: 2,
|
|
6132
|
+
ExecutorOption_EZeroLzReceiveGasProvided: 3,
|
|
6133
|
+
ExecutorOption_EZeroLzComposeGasProvided: 4,
|
|
6134
|
+
ExecutorOption_ENativeAmountExceedsCap: 5,
|
|
6135
|
+
ExecutorOption_EInvalidLzReceiveOption: 6,
|
|
6136
|
+
ExecutorOption_EInvalidNativeDropOption: 7,
|
|
6137
|
+
ExecutorOption_EInvalidLzComposeOption: 8
|
|
5945
6138
|
};
|
|
5946
6139
|
var _ExecutorFeeLib_instances, target_fn9;
|
|
5947
6140
|
var ExecutorFeeLib = class {
|
|
@@ -6006,6 +6199,10 @@ target_fn9 = function(name, module_name = MODULE_NAME9) {
|
|
|
6006
6199
|
|
|
6007
6200
|
// src/modules/workers/executor-layerzero.ts
|
|
6008
6201
|
var MODULE_NAME10 = "executor_layerzero";
|
|
6202
|
+
var ExecutorLayerzeroErrorCode = {
|
|
6203
|
+
// ExecutorLayerzero related errors (matching executor_layerzero.move)
|
|
6204
|
+
ExecutorLayerzero_EWorkerCapNotFromPackage: 1
|
|
6205
|
+
};
|
|
6009
6206
|
var _ExecutorLayerZero_instances, target_fn10;
|
|
6010
6207
|
var ExecutorLayerZero = class {
|
|
6011
6208
|
constructor(packageId, client, moduleManager) {
|
|
@@ -6021,18 +6218,20 @@ var ExecutorLayerZero = class {
|
|
|
6021
6218
|
* @param tx - The transaction to add the move call to
|
|
6022
6219
|
* @param workerCap - Worker capability object ID or transaction argument
|
|
6023
6220
|
* @param depositAddress - Address for fee deposits or transaction argument
|
|
6221
|
+
* @param supportedMessageLibs - Array of supported message library addresses or transaction argument
|
|
6024
6222
|
* @param priceFeed - Price feed object address or transaction argument
|
|
6025
6223
|
* @param workerFeeLib - Worker fee library address or transaction argument
|
|
6026
6224
|
* @param defaultMultiplierBps - Default multiplier in basis points or transaction argument
|
|
6027
6225
|
* @param owner - Owner address for the executor or transaction argument
|
|
6028
6226
|
* @param admins - Array of admin addresses or transaction argument
|
|
6029
6227
|
*/
|
|
6030
|
-
initExecutorMoveCall(tx, workerCap, depositAddress, priceFeed, workerFeeLib, defaultMultiplierBps, owner, admins) {
|
|
6228
|
+
initExecutorMoveCall(tx, workerCap, depositAddress, supportedMessageLibs, priceFeed, workerFeeLib, defaultMultiplierBps, owner, admins) {
|
|
6031
6229
|
tx.moveCall({
|
|
6032
6230
|
target: __privateMethod(this, _ExecutorLayerZero_instances, target_fn10).call(this, "init_executor"),
|
|
6033
6231
|
arguments: [
|
|
6034
6232
|
asObject(tx, workerCap),
|
|
6035
6233
|
asAddress(tx, depositAddress),
|
|
6234
|
+
asAddressVector(tx, supportedMessageLibs),
|
|
6036
6235
|
asAddress(tx, priceFeed),
|
|
6037
6236
|
asAddress(tx, workerFeeLib),
|
|
6038
6237
|
asU16(tx, defaultMultiplierBps),
|
|
@@ -6535,10 +6734,10 @@ target_fn11 = function(name, module_name = MODULE_NAME11) {
|
|
|
6535
6734
|
};
|
|
6536
6735
|
var MODULE_NAME12 = "treasury";
|
|
6537
6736
|
var TreasuryErrorCode = {
|
|
6538
|
-
// Treasury related errors
|
|
6539
|
-
|
|
6540
|
-
|
|
6541
|
-
|
|
6737
|
+
// Treasury related errors (matching treasury.move)
|
|
6738
|
+
TREASURY_EInvalidFeeRecipient: 1,
|
|
6739
|
+
TREASURY_EInvalidNativeFeeBp: 2,
|
|
6740
|
+
TREASURY_EZroNotEnabled: 3
|
|
6542
6741
|
};
|
|
6543
6742
|
var _Treasury_instances, target_fn12;
|
|
6544
6743
|
var Treasury = class {
|
|
@@ -6791,6 +6990,7 @@ target_fn12 = function(name, module_name = MODULE_NAME12) {
|
|
|
6791
6990
|
// src/modules/workers/worker-registry.ts
|
|
6792
6991
|
var MODULE_NAME13 = "worker_registry";
|
|
6793
6992
|
var WorkerRegistryErrorCode = {
|
|
6993
|
+
// WorkerRegistry related errors (matching worker_registry.move)
|
|
6794
6994
|
EWorkerInfoInvalid: 1,
|
|
6795
6995
|
EWorkerInfoNotFound: 2
|
|
6796
6996
|
};
|
|
@@ -6911,9 +7111,15 @@ _DvnPtbBuilder_instances = new WeakSet();
|
|
|
6911
7111
|
target_fn14 = function(name, module_name = MODULE_NAME14) {
|
|
6912
7112
|
return `${this.packageId}::${module_name}::${name}`;
|
|
6913
7113
|
};
|
|
6914
|
-
var
|
|
6915
|
-
//
|
|
6916
|
-
|
|
7114
|
+
var EndpointPtbBuilderErrorCode = {
|
|
7115
|
+
// EndpointPtbBuilder related errors (matching endpoint_ptb_builder.move)
|
|
7116
|
+
EndpointPtbBuilder_EBuilderNotFound: 1,
|
|
7117
|
+
EndpointPtbBuilder_EBuilderRegistered: 2,
|
|
7118
|
+
EndpointPtbBuilder_EBuilderUnsupported: 3,
|
|
7119
|
+
EndpointPtbBuilder_EInvalidBounds: 4,
|
|
7120
|
+
EndpointPtbBuilder_EInvalidBuilderAddress: 5,
|
|
7121
|
+
EndpointPtbBuilder_EInvalidLibrary: 6,
|
|
7122
|
+
EndpointPtbBuilder_EUnauthorized: 7
|
|
6917
7123
|
};
|
|
6918
7124
|
var ModuleName = "endpoint_ptb_builder";
|
|
6919
7125
|
var _EndpointPtbBuilder_instances, target_fn15;
|
|
@@ -7504,6 +7710,13 @@ target_fn17 = function(name, module_name = MODULE_NAME16) {
|
|
|
7504
7710
|
return `${this.packageId}::${module_name}::${name}`;
|
|
7505
7711
|
};
|
|
7506
7712
|
var MOVE_CALL_MODULE_NAME = "move_call";
|
|
7713
|
+
var PtbBuilderErrorCode = {
|
|
7714
|
+
// MoveCallsBuilder related errors (matching move_calls_builder.move)
|
|
7715
|
+
MoveCallsBuilder_EInvalidMoveCallResult: 1,
|
|
7716
|
+
MoveCallsBuilder_EResultIDNotFound: 2,
|
|
7717
|
+
// Argument related errors (matching argument.move)
|
|
7718
|
+
Argument_EInvalidArgument: 1
|
|
7719
|
+
};
|
|
7507
7720
|
var _PtbBuilder_instances, buildMoveCalls_fn, appendMoveCall_fn, decodeMoveCalls_fn, decodeMoveCallsFromOAppInfoV1_fn, decodeMoveCallsBytes_fn, calculateOffset_fn;
|
|
7508
7721
|
var PtbBuilder = class {
|
|
7509
7722
|
constructor(packageId, client) {
|
|
@@ -7789,6 +8002,10 @@ target_fn18 = function(name, module_name = MODULE_NAME17) {
|
|
|
7789
8002
|
return `${this.packageId}::${module_name}::${name}`;
|
|
7790
8003
|
};
|
|
7791
8004
|
var MODULE_NAME18 = "uln_302_ptb_builder";
|
|
8005
|
+
var Uln302PtbBuilderErrorCode = {
|
|
8006
|
+
// ULN302 PTB Builder related errors (matching uln_302_ptb_builder.move)
|
|
8007
|
+
Uln302PtbBuilder_EWorkerPtbsNotFound: 1
|
|
8008
|
+
};
|
|
7792
8009
|
var _Uln302PtbBuilder_instances, target_fn19;
|
|
7793
8010
|
var Uln302PtbBuilder = class {
|
|
7794
8011
|
constructor(packageId, client, objects, moduleManager) {
|
|
@@ -8012,15 +8229,15 @@ target_fn20 = function(name, module_name = MODULE_NAME19) {
|
|
|
8012
8229
|
};
|
|
8013
8230
|
var MODULE_NAME20 = "counter";
|
|
8014
8231
|
var CounterErrorCode = {
|
|
8015
|
-
// Counter related errors
|
|
8232
|
+
// Counter related errors (matching counter.move)
|
|
8016
8233
|
Counter_EInvalidMsgType: 0,
|
|
8017
8234
|
Counter_EInvalidValue: 1,
|
|
8018
8235
|
Counter_EInvalidNonce: 2,
|
|
8019
8236
|
Counter_EOnlyEndpoint: 3,
|
|
8020
8237
|
Counter_ESelfComposeOnly: 4,
|
|
8021
8238
|
Counter_EInvalidOApp: 5,
|
|
8022
|
-
|
|
8023
|
-
|
|
8239
|
+
// OptionsBuilder related errors (matching options_builder.move)
|
|
8240
|
+
OptionsBuilder_EInvalidSize: 1
|
|
8024
8241
|
};
|
|
8025
8242
|
var _Counter_instances, target_fn21;
|
|
8026
8243
|
var Counter = class {
|
|
@@ -8386,18 +8603,24 @@ target_fn21 = function(name, module_name = MODULE_NAME20) {
|
|
|
8386
8603
|
};
|
|
8387
8604
|
var MODULE_NAME21 = "oapp";
|
|
8388
8605
|
var OAppErrorCode = {
|
|
8389
|
-
// OApp related errors
|
|
8390
|
-
|
|
8391
|
-
|
|
8392
|
-
|
|
8393
|
-
|
|
8394
|
-
|
|
8395
|
-
|
|
8396
|
-
|
|
8397
|
-
//
|
|
8398
|
-
|
|
8399
|
-
|
|
8400
|
-
|
|
8606
|
+
// OApp related errors (matching oapp.move)
|
|
8607
|
+
OApp_EInvalidAdminCap: 1,
|
|
8608
|
+
OApp_EInvalidOAppCap: 2,
|
|
8609
|
+
OApp_EInvalidRefundAddress: 3,
|
|
8610
|
+
OApp_EInvalidSendingCall: 4,
|
|
8611
|
+
OApp_EOnlyEndpoint: 5,
|
|
8612
|
+
OApp_EOnlyPeer: 6,
|
|
8613
|
+
OApp_ESendingInProgress: 7,
|
|
8614
|
+
// OAppPeer related errors (matching oapp_peer.move)
|
|
8615
|
+
OAppPeer_EPeerNotFound: 0,
|
|
8616
|
+
OAppPeer_EInvalidPeer: 1,
|
|
8617
|
+
// EnforcedOptions related errors (matching enforced_options.move)
|
|
8618
|
+
EnforcedOptions_EEnforcedOptionsNotFound: 1,
|
|
8619
|
+
EnforcedOptions_EInvalidOptionsLength: 2,
|
|
8620
|
+
EnforcedOptions_EInvalidOptionsType: 3,
|
|
8621
|
+
// OAppInfoV1 related errors (matching oapp_info_v1.move)
|
|
8622
|
+
OAppInfoV1_EInvalidData: 1,
|
|
8623
|
+
OAppInfoV1_EInvalidVersion: 2
|
|
8401
8624
|
};
|
|
8402
8625
|
var _OApp_instances, oappInfo_fn, target_fn22;
|
|
8403
8626
|
var OApp = class {
|
|
@@ -9128,14 +9351,22 @@ uln302ViewsTarget_fn = function(functionName) {
|
|
|
9128
9351
|
};
|
|
9129
9352
|
var DEFAULT_MODULE_NAME = "call";
|
|
9130
9353
|
var CallErrorCode = {
|
|
9131
|
-
// Call related errors (
|
|
9132
|
-
|
|
9354
|
+
// Call related errors (matching call.move)
|
|
9355
|
+
Call_ECallNotActive: 1,
|
|
9133
9356
|
Call_ECallNotCompleted: 2,
|
|
9134
|
-
|
|
9357
|
+
Call_ECallNotCreating: 3,
|
|
9135
9358
|
Call_ECallNotRoot: 4,
|
|
9136
|
-
|
|
9137
|
-
|
|
9138
|
-
|
|
9359
|
+
Call_ECallNotWaiting: 5,
|
|
9360
|
+
Call_EInvalidChild: 6,
|
|
9361
|
+
Call_EInvalidNonce: 7,
|
|
9362
|
+
Call_EInvalidParent: 8,
|
|
9363
|
+
Call_EParameterNotMutable: 9,
|
|
9364
|
+
Call_EUnauthorized: 10,
|
|
9365
|
+
// CallCap related errors (matching call_cap.move)
|
|
9366
|
+
CallCap_EBadWitness: 1,
|
|
9367
|
+
// MultiCall related errors (matching multi_call.move)
|
|
9368
|
+
MultiCall_ECalleeNotFound: 1,
|
|
9369
|
+
MultiCall_EUnauthorized: 2
|
|
9139
9370
|
};
|
|
9140
9371
|
var _Call_instances, target_fn23;
|
|
9141
9372
|
var Call = class {
|
|
@@ -10403,42 +10634,42 @@ var PACKAGE_UTILS_ADDRESS = {
|
|
|
10403
10634
|
var PACKAGE_ENDPOINT_V2_ADDRESS = {
|
|
10404
10635
|
[Stage.MAINNET]: "0xf625a8bde20d64850a4ec7b01c1918d9a0a29495546de7a0144440275f9b933c",
|
|
10405
10636
|
[Stage.TESTNET]: "0x85dd52af20c3d8047685dcb6fddc443934b8cd2b6fbe9d2d262a5f6943f24557",
|
|
10406
|
-
[Stage.SANDBOX]: "
|
|
10637
|
+
[Stage.SANDBOX]: "0x2f2b96ecd837710e681cdedda00f75bccf50be0f0de15a72c70e05bb94e35637"
|
|
10407
10638
|
};
|
|
10408
10639
|
var PACKAGE_COUNTER_V2_ADDRESS = {
|
|
10409
10640
|
[Stage.MAINNET]: "0xfe1e336fdb42fa5ef85ab9a9c932b58c43e0bb58273cecea9d00cb5d05159914",
|
|
10410
10641
|
[Stage.TESTNET]: "0xa6a19e84c7df2014e384cdd56f5674e5a0c06b92cc5d33fca89633680a9ebcd7",
|
|
10411
|
-
[Stage.SANDBOX]: "
|
|
10642
|
+
[Stage.SANDBOX]: "0x21cbfd49d2051dbc9374fc6e799888ab89ee9b27cc6ac0dc697dce1767990357"
|
|
10412
10643
|
};
|
|
10413
10644
|
var PACKAGE_SIMPLE_MESSAGE_LIB_ADDRESS = {
|
|
10414
10645
|
[Stage.MAINNET]: "0x83651370065f70112b20007137c7235a2a243055d9f59cb5e162c00c4a1680a7",
|
|
10415
10646
|
[Stage.TESTNET]: "0xd1fbc2529b4c581c5105031b495866cece446f2123319f6d82a76151b999717e",
|
|
10416
|
-
[Stage.SANDBOX]: "
|
|
10647
|
+
[Stage.SANDBOX]: "0x8046f2e15bb1df8ac231ad3f583fffb66c62e519cfd94f61a28acb4c9d2804ef"
|
|
10417
10648
|
};
|
|
10418
10649
|
var PACKAGE_ULN_302_ADDRESS = {
|
|
10419
10650
|
[Stage.MAINNET]: "0xd73c9d588717c32fa327335d9beaf59b983b808577a382e013d8c7161a323d8e",
|
|
10420
10651
|
[Stage.TESTNET]: "0x556bd8fba10ba9e8be88a3ed54b8cbeb8b512b95e5c107cde7d7b10b754069c2",
|
|
10421
|
-
[Stage.SANDBOX]: "
|
|
10652
|
+
[Stage.SANDBOX]: "0x71b77165b712f9900c0d38ec0f5de94e39515175cf4138009e5196d6ad4806ef"
|
|
10422
10653
|
};
|
|
10423
10654
|
var PACKAGE_ULN_302_PTB_BUILDER_ADDRESS = {
|
|
10424
10655
|
[Stage.MAINNET]: "0x67b3a43a3aa962e1a6012b04f68e6f358803f5970858f4de22684d6d13fcd747",
|
|
10425
10656
|
[Stage.TESTNET]: "0x71a23cdd1cb88b52a40cd2862c4ca607bd27e0f02f136e18f95351050fec9a89",
|
|
10426
|
-
[Stage.SANDBOX]: "
|
|
10657
|
+
[Stage.SANDBOX]: "0x0e89dd845db03f30b1e027e06efc15855f18550adead373115db6dc0fdd95874"
|
|
10427
10658
|
};
|
|
10428
10659
|
var PACKAGE_DVN_PTB_BUILDER_ADDRESS = {
|
|
10429
10660
|
[Stage.MAINNET]: "0xb3f3a6d39a441a0f41a621d27427cedf624d500b3da5cd7051bc5835b21ac3ba",
|
|
10430
10661
|
[Stage.TESTNET]: "0xe7723903288eb1a38fb7166edce4307dfce985c7a9771af579f4f3d003dda2ec",
|
|
10431
|
-
[Stage.SANDBOX]: "
|
|
10662
|
+
[Stage.SANDBOX]: "0xed21e9af278622af95730315a652bf0125e62984e62424098093f798ac4ce350"
|
|
10432
10663
|
};
|
|
10433
10664
|
var PACKAGE_EXECUTOR_PTB_BUILDER_ADDRESS = {
|
|
10434
10665
|
[Stage.MAINNET]: "0x9d26806bb023ccd5b79d8ad50bf503e0e91c07b5bbfeb5b20a79e073571a5196",
|
|
10435
10666
|
[Stage.TESTNET]: "0xafed5368176963fa0474724a019e4fae6643d31c06b653fa1364b2282d5049dd",
|
|
10436
|
-
[Stage.SANDBOX]: "
|
|
10667
|
+
[Stage.SANDBOX]: "0x10164dbb4c1c380cf6ff1bb96dc2e5e0294c1fa6d247f08140f373e632148deb"
|
|
10437
10668
|
};
|
|
10438
10669
|
var PACKAGE_EXECUTOR_ADDRESS = {
|
|
10439
10670
|
[Stage.MAINNET]: "0x749420cc42b47d3db83fe316eb8accd8126bed9a779c0b7e06fa084c7fa1d76d",
|
|
10440
10671
|
[Stage.TESTNET]: "0x5bcded2dfa21094d5ffdd6256a2a73984e901201e84a6783aa8233b187ffdb51",
|
|
10441
|
-
[Stage.SANDBOX]: "
|
|
10672
|
+
[Stage.SANDBOX]: "0x3efcca8baa7a00640c6618880f08148f5f3eedb704a38728bf3b6bd4df64d3c8"
|
|
10442
10673
|
};
|
|
10443
10674
|
var PACKAGE_ZRO_ADDRESS = {
|
|
10444
10675
|
[Stage.MAINNET]: "0xcdf19828a455468c4e4ffbd74ad641dddb58b49cd7d043da4cfa12f76c599d0a",
|
|
@@ -10453,147 +10684,147 @@ var PACKAGE_CALL_ADDRESS = {
|
|
|
10453
10684
|
var PACKAGE_ENDPOINT_PTB_BUILDER_ADDRESS = {
|
|
10454
10685
|
[Stage.MAINNET]: "0x387af0542c79874a52c3e8812390c0fd02a8e947ce54aea8d80481ac2b5b3acb",
|
|
10455
10686
|
[Stage.TESTNET]: "0xe0a904685954e5dc73a720f6dd29c8b5a22d2d4ca0864536b7befaf4cec44676",
|
|
10456
|
-
[Stage.SANDBOX]: "
|
|
10687
|
+
[Stage.SANDBOX]: "0x714a292cc27c58f9219bf5004774a2c23799d2dc75878bcca7933af4c990a827"
|
|
10457
10688
|
};
|
|
10458
10689
|
var PACKAGE_SIMPLE_MESSAGE_LIB_PTB_BUILDER_ADDRESS = {
|
|
10459
10690
|
[Stage.MAINNET]: "0xba557037446a5b114205c868db114957945dd21df9770796fea2b558fc4a20fd",
|
|
10460
10691
|
[Stage.TESTNET]: "0x4badf1bba6f630905bc413b89f1c22669593b0e7aea60012a14fd42f44e2a7fe",
|
|
10461
|
-
[Stage.SANDBOX]: "
|
|
10692
|
+
[Stage.SANDBOX]: "0x9173cad39d37c14b42aef2564adba58fdc6df372ea122bff9c6e8d745f6d5a5d"
|
|
10462
10693
|
};
|
|
10463
10694
|
var PACKAGE_PTB_MOVE_CALL_ADDRESS = {
|
|
10464
10695
|
[Stage.MAINNET]: "0x0dd38c96b282271279247c26dba1f51d6e45209396a9e548154881e04549db66",
|
|
10465
10696
|
[Stage.TESTNET]: "0x8bdf374fe8576f28d71eecd219601cebafa38e2c79387eea92e2f27a71359197",
|
|
10466
|
-
[Stage.SANDBOX]: "
|
|
10697
|
+
[Stage.SANDBOX]: "0x708dc0b07112d4d3091d5effd773aa1cd1bef36b3ac3c4a28bc77752091037c7"
|
|
10467
10698
|
};
|
|
10468
10699
|
var PACKAGE_DVN_ADDRESS = {
|
|
10469
10700
|
[Stage.MAINNET]: "0x6810f5568936a9a2b5fcb043f59a3cbf681e06f0db61c90bf3ff5530d4f470c0",
|
|
10470
10701
|
[Stage.TESTNET]: "0x7c04479b475305685ad24fd3e91437aa3f6e0df95d1417fad1b4640d8363be9b",
|
|
10471
|
-
[Stage.SANDBOX]: "
|
|
10702
|
+
[Stage.SANDBOX]: "0xd437a8701d38469cef667bcf3d44db8f908e76eacaa63ff983a5f5b7b2dc8717"
|
|
10472
10703
|
};
|
|
10473
10704
|
var PACKAGE_DVN_FEE_LIB_ADDRESS = {
|
|
10474
10705
|
[Stage.MAINNET]: "0xb94f476ccd37034f4f5fb9c541320b85f86e61ae7f654fa66f3b987e8fb3f825",
|
|
10475
10706
|
[Stage.TESTNET]: "0x7f6a8ca6e6f136605be10b502d4e03fda2ee9983f57c10c6199a63744977d951",
|
|
10476
|
-
[Stage.SANDBOX]: "
|
|
10707
|
+
[Stage.SANDBOX]: "0x2a5f4c11fd5f67c5dcf8fb1cc02d5a2a1b7a206007008ccd658817f21708ade0"
|
|
10477
10708
|
};
|
|
10478
10709
|
var PACKAGE_EXECUTOR_FEE_LIB_ADDRESS = {
|
|
10479
10710
|
[Stage.MAINNET]: "0x4cdd97cf2dee8387b004915c293d0565577e0194fff4894e604a09db54ac62c7",
|
|
10480
10711
|
[Stage.TESTNET]: "0x36a441e73ed70e9fc900d021381a3d833c8b15305b7a116dbd7a2d1a156432e1",
|
|
10481
|
-
[Stage.SANDBOX]: "
|
|
10712
|
+
[Stage.SANDBOX]: "0xcf4cd5177af16a31fd78b20a04812360c9b40abf36bca93e5817ef7bc93397db"
|
|
10482
10713
|
};
|
|
10483
10714
|
var PACKAGE_PRICE_FEED_ADDRESS = {
|
|
10484
10715
|
[Stage.MAINNET]: "0x9f12f79a355fca76492bc1908fc7a9a8518d2a83e65cffc93f134144dfa4e5bb",
|
|
10485
10716
|
[Stage.TESTNET]: "0x703efe3215e8249a490b4889d20bff10f09838d200835d53d056bbf30a80fe37",
|
|
10486
|
-
[Stage.SANDBOX]: "
|
|
10717
|
+
[Stage.SANDBOX]: "0x5f815421a273d99aadc21ba71311a64a57881b7f57f1e98d7423cc1e9c6919c2"
|
|
10487
10718
|
};
|
|
10488
10719
|
var PACKAGE_TREASURY_ADDRESS = {
|
|
10489
10720
|
[Stage.MAINNET]: "0xcb8bc76ad2dde43cb83fe4f27a702df0874e99c047317251ee878893c17c83c5",
|
|
10490
10721
|
[Stage.TESTNET]: "0x5589cb216e702c9d18c8864b75a233a8f8b4591156fff871c129519e95d5aa3e",
|
|
10491
|
-
[Stage.SANDBOX]: "
|
|
10722
|
+
[Stage.SANDBOX]: "0xed96a2ad1c3763e91a40c07ce0ef0240af50ff79f0eb8ff55b8f4a2acae171e1"
|
|
10492
10723
|
};
|
|
10493
10724
|
var PACKAGE_OAPP_ADDRESS = {
|
|
10494
10725
|
[Stage.MAINNET]: "0x7c93d6d8288fa0f8df5a595dcde2413b849d8c839fc59fc09243fd5bf44c96ab",
|
|
10495
10726
|
[Stage.TESTNET]: "0x50d5a0038394ddff138900335e56315b2aed79475cad3fe3737a50dc12c884d6",
|
|
10496
|
-
[Stage.SANDBOX]: "
|
|
10727
|
+
[Stage.SANDBOX]: "0xf7af333a736ed362fe3ecf37075ce8c352be0dbb14090bc50c2cf48d27a46e41"
|
|
10497
10728
|
};
|
|
10498
10729
|
var PACKAGE_LAYERZERO_VIEWS_ADDRESS = {
|
|
10499
10730
|
[Stage.MAINNET]: "0x74803ac88036cbd57bf1a46347e22143a47081f7159efb01419f1ed14a17ad67",
|
|
10500
10731
|
[Stage.TESTNET]: "0xa4a72308ec518a2103f9f31435d07df740736bc03b778ca1200071805c5414da",
|
|
10501
|
-
[Stage.SANDBOX]: "
|
|
10732
|
+
[Stage.SANDBOX]: "0xcb885e3ddcced45eaa4d877cec6c741fb408be67de620a91b93e8473c34ea8be"
|
|
10502
10733
|
};
|
|
10503
10734
|
var PACKAGE_DVN_LAYERZERO_ADDRESS = {
|
|
10504
10735
|
[Stage.MAINNET]: "0xc3f25fb140745ca0d4cde0ec382fd76e2f20d5a76a7fd9264340b4af949fd38b",
|
|
10505
10736
|
[Stage.TESTNET]: "0x725e5c54d11578942f4b45ebdce1cc91244dae658a667c2186c277b6a5673f9c",
|
|
10506
|
-
[Stage.SANDBOX]: "
|
|
10737
|
+
[Stage.SANDBOX]: "0x87d2e70a4c2126122a96bd57b3ed5eacb8db9df02662b4bbc5b79da9447608ba"
|
|
10507
10738
|
};
|
|
10508
10739
|
var PACKAGE_EXECUTOR_LAYERZERO_ADDRESS = {
|
|
10509
10740
|
[Stage.MAINNET]: "0x2111256b15f5d0a20f6352084dac268c737b47c113b4da5eacb316f8a536f9bf",
|
|
10510
10741
|
[Stage.TESTNET]: "0xb8db282fff4358b67915bb76eb18bde3406e4e30a1d219c852c7ccf5a121a3ff",
|
|
10511
|
-
[Stage.SANDBOX]: "
|
|
10742
|
+
[Stage.SANDBOX]: "0x5d5390378ae1762e9284069a6d2d2408f5a5ed33e815619f32bf2488d9f619a8"
|
|
10512
10743
|
};
|
|
10513
10744
|
var PACKAGE_PACKAGE_WHITELIST_VALIDATOR_ADDRESS = {
|
|
10514
10745
|
[Stage.MAINNET]: "0xbdce35f2801192bb218e47bb6e9cf08e136037b271157e8db8fdc9acf0bd225e",
|
|
10515
10746
|
[Stage.TESTNET]: "0x5ad1acba7eb1b381ab3f08da17938ffa930375c0904e78ccd6e634957f6b3ef6",
|
|
10516
|
-
[Stage.SANDBOX]: "
|
|
10747
|
+
[Stage.SANDBOX]: "0xdbcb0a00b272c21492fc6dcd77cde75c070cd48d7ac1bd371c57113a23dfb843"
|
|
10517
10748
|
};
|
|
10518
10749
|
var PACKAGE_BLOCKED_MESSAGE_LIB_ADDRESS = {
|
|
10519
10750
|
[Stage.MAINNET]: "0x9f6107b708d7650b1484ae10cb98340af343f46bd63793ea91c2379bab9a7abb",
|
|
10520
10751
|
[Stage.TESTNET]: "0xd3f0cab5eca2cfb870e5390b572e67ce1d0d96bc89d097d089914014bf581e5d",
|
|
10521
|
-
[Stage.SANDBOX]: "
|
|
10752
|
+
[Stage.SANDBOX]: "0x7473cac6e6118db1bd9863233bf7a460aee23c219032491b4548885196361a8c"
|
|
10522
10753
|
};
|
|
10523
10754
|
var PACKAGE_BLOCKED_MESSAGE_LIB_PTB_BUILDER_ADDRESS = {
|
|
10524
10755
|
[Stage.MAINNET]: "0xd90430a0b1b5bf932586d7d52e67e2242b1276ad7944b41c21acd4f950671335",
|
|
10525
10756
|
[Stage.TESTNET]: "0xf2c5b342b99544fbd225ed45a76096f7ed6199624d2f2f4d04b76e2afb84654e",
|
|
10526
|
-
[Stage.SANDBOX]: "
|
|
10757
|
+
[Stage.SANDBOX]: "0xbf76f9ce588002a40688bb1a87544172d6f3cbe81206ef5cfe7436e88f78c8f6"
|
|
10527
10758
|
};
|
|
10528
10759
|
var PACKAGE_WORKER_REGISTRY_ADDRESS = {
|
|
10529
10760
|
[Stage.MAINNET]: "",
|
|
10530
10761
|
[Stage.TESTNET]: "",
|
|
10531
|
-
[Stage.SANDBOX]: "
|
|
10762
|
+
[Stage.SANDBOX]: "0xbf1e087bc40af272f98519a31ac5e889b95b3112b6bf28e652909cd199141cdd"
|
|
10532
10763
|
};
|
|
10533
10764
|
var PACKAGE_WORKER_COMMON_ADDRESS = {
|
|
10534
10765
|
[Stage.MAINNET]: "0x6b29b0abf9da88be53a9ea1dfab8f600930b9ab6961eee65d67c1eecdd8cb695",
|
|
10535
10766
|
[Stage.TESTNET]: "0xbd1b4591ff06b36113c28ec2f5ce10151b6a2998699e3d8364ec9f77efe950c8",
|
|
10536
|
-
[Stage.SANDBOX]: "
|
|
10767
|
+
[Stage.SANDBOX]: "0x27d3deb156d4b0145608971a0f4a5409f6fb9ab6888757a2dcf954dcab36a2d5"
|
|
10537
10768
|
};
|
|
10538
10769
|
var OBJECT_ENDPOINT_V2_ADDRESS = {
|
|
10539
10770
|
[Stage.MAINNET]: "0xd84dfbd6b21f2a6e2d9ecfd8204d20a420f2528746381c2db29c2f4caae67fcd",
|
|
10540
10771
|
[Stage.TESTNET]: "0xbba9beee809d8010f5dc1c3529d75708f1fbf2fa7bbf40bb6031a4bc8ae9c9b6",
|
|
10541
|
-
[Stage.SANDBOX]: "
|
|
10772
|
+
[Stage.SANDBOX]: "0xdddcfdef4087b155b1b1652233c3a2c14a32a3750ba6fe0eced0a9873701f349"
|
|
10542
10773
|
};
|
|
10543
10774
|
var OBJECT_SIMPLE_MESSAGE_LIB_ADDRESS = {
|
|
10544
10775
|
[Stage.MAINNET]: "0xd18907d32aa9e95fc2eed2d02fec562442877bec8680620c05fa5b3c110ccd81",
|
|
10545
10776
|
[Stage.TESTNET]: "0xe893810a3399bf50ec4fd7affa931bcb66dbab21e37aff80b7ce73f25e78ac4f",
|
|
10546
|
-
[Stage.SANDBOX]: "
|
|
10777
|
+
[Stage.SANDBOX]: "0x310f234cc8dafa3b35a2c6073368a6adb1d54aaf5de8e529dcaea73e96d50d8a"
|
|
10547
10778
|
};
|
|
10548
10779
|
var OBJECT_SIMPLE_MESSAGE_LIB_ADMIN_CAP_ADDRESS = {
|
|
10549
10780
|
[Stage.MAINNET]: "0x617aceffed0b17cc5b5f5ad4cd1e8b9d965a9ef73a923b474e4763dec7c175f6",
|
|
10550
10781
|
[Stage.TESTNET]: "0x3115ca5bf047a17629099b1845db595a42b4e7d5c5916439036c18d0afd7181b",
|
|
10551
|
-
[Stage.SANDBOX]: "
|
|
10782
|
+
[Stage.SANDBOX]: "0x83c65e078ec18886f91b5870cbf5a3fbb14e327339b884091a569827bc549c4c"
|
|
10552
10783
|
};
|
|
10553
10784
|
var OBJECT_SIMPLE_MESSAGE_LIB_PTB_BUILDER_ADDRESS = {
|
|
10554
10785
|
[Stage.MAINNET]: "0x2a0c8a426823cc7fcb89dd849810b42643fda344286d493d0ce8593d9b2be280",
|
|
10555
10786
|
[Stage.TESTNET]: "0xacaa1b7ed87084cea9c593d1df4a76bfa0bce1b214559d79de8a9167705292a3",
|
|
10556
|
-
[Stage.SANDBOX]: "
|
|
10787
|
+
[Stage.SANDBOX]: "0x2b4e102b2e2e0d54eef0ce5d9ee82e06251c7aa022ac36c902341bf8a105fc80"
|
|
10557
10788
|
};
|
|
10558
10789
|
var OBJECT_ULN_302_ADDRESS = {
|
|
10559
10790
|
[Stage.MAINNET]: "0x7d140391ed97fcdb3f87aa13a7727b7354cb0a6ca2a3e7156f8b3767dd634266",
|
|
10560
10791
|
[Stage.TESTNET]: "0xea27cd132fe6e4cad973f642f1450b0da2490b5350e6104365a7a48a3d97fb1e",
|
|
10561
|
-
[Stage.SANDBOX]: "
|
|
10792
|
+
[Stage.SANDBOX]: "0x3af8a4630168b53794d7f25f4ad45d3c974609365b5b0d43a4027eac08ab54fc"
|
|
10562
10793
|
};
|
|
10563
10794
|
var OBJECT_ULN_302_ADMIN_CAP_ADDRESS = {
|
|
10564
10795
|
[Stage.MAINNET]: "0xece25d7e8aad8a6295a7821bd4b7f29896714c3fc8472a5e7dbb19d67ff77e00",
|
|
10565
10796
|
[Stage.TESTNET]: "0x791622d24d7ec1c33beea371f7d2e1d8cffaaa6596a785f61684227ccd379270",
|
|
10566
|
-
[Stage.SANDBOX]: "
|
|
10797
|
+
[Stage.SANDBOX]: "0x37185ede787a522a9efcc25b71f4509b978365575f24ed96341f6f12568bf113"
|
|
10567
10798
|
};
|
|
10568
10799
|
var OBJECT_ULN_302_VERIFICATION_ADDRESS = {
|
|
10569
10800
|
[Stage.MAINNET]: "0x2e672e3cb4f4992b3e790ce50c7b3e464a60633ca5f68de3039cc5f20116f6e7",
|
|
10570
10801
|
[Stage.TESTNET]: "0xf308d39e3bab9ec37019d955c31abac6b3e7444f915a77be203f92c1d6a9a67e",
|
|
10571
|
-
[Stage.SANDBOX]: "
|
|
10802
|
+
[Stage.SANDBOX]: "0x87de0d33cd9a38b7637ae96f98fadb5b041c58950897982f3b42da8fc44085bf"
|
|
10572
10803
|
};
|
|
10573
10804
|
var OBJECT_ULN_302_PTB_BUILDER_ADDRESS = {
|
|
10574
10805
|
[Stage.MAINNET]: "0xb41c8c88899debceb5982ff0333a0026bb68159758af8557ee1b12433f539ec8",
|
|
10575
10806
|
[Stage.TESTNET]: "0x44c82a3a33294c1ac36f1baf931f57ec0a60bb183b5474211b8397465e3dffac",
|
|
10576
|
-
[Stage.SANDBOX]: "
|
|
10807
|
+
[Stage.SANDBOX]: "0xec9d3b3fa7b446d7b9f75364dc5695e7f94b0bc077ed22d347e6a5b5d6cd39ed"
|
|
10577
10808
|
};
|
|
10578
10809
|
var OBJECT_TREASURY_ADDRESS = {
|
|
10579
10810
|
[Stage.MAINNET]: "0xa6fd139692050fb7fea2a5d924d5cc637b2b617982b1537b98ab51f6074a6335",
|
|
10580
10811
|
[Stage.TESTNET]: "0xa082a4eac93a7525738511f7a00816f982545296175e54be355f813eebe20691",
|
|
10581
|
-
[Stage.SANDBOX]: "
|
|
10812
|
+
[Stage.SANDBOX]: "0x66f35bee05e83f27ddd79eaa4f6750e4fcd2d9de3853955cb0228ceb6934cdc9"
|
|
10582
10813
|
};
|
|
10583
10814
|
var OBJECT_TREASURY_ADMIN_CAP_ADDRESS = {
|
|
10584
10815
|
[Stage.MAINNET]: "0x6fafabbb6f8dd963fb926b2075de90ed86e550bc67c900768e6b4c6002bc2b7d",
|
|
10585
10816
|
[Stage.TESTNET]: "0x3ec6669b54589abb6d12aa338c4f2962a5d1ab835e6385242698f3efd9ae2582",
|
|
10586
|
-
[Stage.SANDBOX]: "
|
|
10817
|
+
[Stage.SANDBOX]: "0x9069df2eb35275ce98959754d67c3bcb50a2b156b36ba16084ed2329397a03be"
|
|
10587
10818
|
};
|
|
10588
10819
|
var OBJECT_BLOCKED_MESSAGE_LIB_ADDRESS = {
|
|
10589
10820
|
[Stage.MAINNET]: "0x48761f1a6591f4ad761f8ef9ec85ad6d5255805c35d4c9a90c97c40e7820aa85",
|
|
10590
10821
|
[Stage.TESTNET]: "0xcc83422f225aef3300596dae1119510cf56d620a686dc1e73c9db15c49d70e31",
|
|
10591
|
-
[Stage.SANDBOX]: "
|
|
10822
|
+
[Stage.SANDBOX]: "0xd1387ba23ac45298d45bb972797e50fc9880cfeaae28b7980837fd7c97fc5bb4"
|
|
10592
10823
|
};
|
|
10593
10824
|
var OBJECT_BLOCKED_MESSAGE_LIB_PTB_BUILDER_ADDRESS = {
|
|
10594
10825
|
[Stage.MAINNET]: "0xba9a66cdc77ae59264b7481e6d0d04426f380169b9afbb5176aaf58718fad6d1",
|
|
10595
10826
|
[Stage.TESTNET]: "0x28d0ec1e88734b94e38d2a8305cb89b9e81bdee41f71f4159166e99f058758c5",
|
|
10596
|
-
[Stage.SANDBOX]: "
|
|
10827
|
+
[Stage.SANDBOX]: "0x5996c6aed01724917a71b6405f826b587e0691c3b359999a2d907a5d9d76dc45"
|
|
10597
10828
|
};
|
|
10598
10829
|
var OBJECT_DISCOVERY_ADDRESS = {
|
|
10599
10830
|
[Stage.MAINNET]: "",
|
|
@@ -10603,47 +10834,47 @@ var OBJECT_DISCOVERY_ADDRESS = {
|
|
|
10603
10834
|
var OBJECT_COUNTER_ADDRESS = {
|
|
10604
10835
|
[Stage.MAINNET]: "0xe44f7b2ff80b8450e0d09ec84198dd22d9e2ad6e9c9688d2db605736b99ae965",
|
|
10605
10836
|
[Stage.TESTNET]: "0x85e63925789db09ee8021dfa66cb61a31913861b4abf7d97689061cf113ca61a",
|
|
10606
|
-
[Stage.SANDBOX]: "
|
|
10837
|
+
[Stage.SANDBOX]: "0xb1fd0b83e4f2caeac935c1bfcbab4bd51e7094692a03ff5e6d38a287dd44d14d"
|
|
10607
10838
|
};
|
|
10608
10839
|
var OBJECT_COUNTER_OAPP_ADDRESS = {
|
|
10609
10840
|
[Stage.MAINNET]: "0x84e16eed83a2e9787860bd0324a3a69adc9ec181e5f7f2bfcca11222c113414c",
|
|
10610
10841
|
[Stage.TESTNET]: "0xf96322c7067fb9dbd77c7cc62bd35490dc86db507837b4310eacaef3b327ce75",
|
|
10611
|
-
[Stage.SANDBOX]: "
|
|
10842
|
+
[Stage.SANDBOX]: "0x7ed672a4b4cb93b4d9fea96d4c084a41914683c1296632979f5afde9f825e615"
|
|
10612
10843
|
};
|
|
10613
10844
|
var OBJECT_COUNTER_ADMIN_CAP_ADDRESS = {
|
|
10614
10845
|
[Stage.MAINNET]: "0x7c1250bbfb0e72ff58985112746d361ad729ac6f47a404c76d4e447b93b49984",
|
|
10615
10846
|
[Stage.TESTNET]: "0x63350eccf073e3b86ab7dd04566e8b62d4fa184f633ef383998b3230f66cc1de",
|
|
10616
|
-
[Stage.SANDBOX]: "
|
|
10847
|
+
[Stage.SANDBOX]: "0xf89933e854a6078d77328a6805f425a995b938839ec2ae0baea29188132a368b"
|
|
10617
10848
|
};
|
|
10618
10849
|
var OBJECT_ENDPOINT_ADMIN_CAP_ADDRESS = {
|
|
10619
10850
|
[Stage.MAINNET]: "0x78d0ef45ccf4e6247162c09aa73ea0bb59467057960c23fe41a976ca67e916ab",
|
|
10620
10851
|
[Stage.TESTNET]: "0xe91a479f58bd7335f620d45488bc713fd0e25ac37c1c282a8150c301dac97453",
|
|
10621
|
-
[Stage.SANDBOX]: "
|
|
10852
|
+
[Stage.SANDBOX]: "0x1cbd6b57d81ec53aafe3b53083247e082095e7257158a3a553afee00f7936e10"
|
|
10622
10853
|
};
|
|
10623
10854
|
var OBJECT_ENDPOINT_PTB_BUILDER_ADDRESS = {
|
|
10624
10855
|
[Stage.MAINNET]: "0x2954f9997631409cf067785477b800ced4a2a9ccc75032076f8129ee07ca2caa",
|
|
10625
10856
|
[Stage.TESTNET]: "0x060ba8cc7a0e858c138ff00391bfec71dc863ac7d35cb36b14f4e52987cb9542",
|
|
10626
|
-
[Stage.SANDBOX]: "
|
|
10857
|
+
[Stage.SANDBOX]: "0x94375b6e0f8391d9ab2ddde67e87f3ced36501f5bff5e52ed0e78de8271ad4c1"
|
|
10627
10858
|
};
|
|
10628
10859
|
var OBJECT_ENDPOINT_PTB_BUILDER_ADMIN_CAP_ADDRESS = {
|
|
10629
10860
|
[Stage.MAINNET]: "0x2a705654d837e75ee88e1f03003cccf3faa9a683cf0434468745532cc55e148f",
|
|
10630
10861
|
[Stage.TESTNET]: "0xd5da31144a1a30e4fea6ad9074b04fc732d95ee4f84575ade95ec524ee351abf",
|
|
10631
|
-
[Stage.SANDBOX]: "
|
|
10862
|
+
[Stage.SANDBOX]: "0xe2d9b209f13578fff11c13157f2f7835a2ccb168d2109a4d9e4bbb462afa9312"
|
|
10632
10863
|
};
|
|
10633
10864
|
var OBJECT_DVN_ADDRESS = {
|
|
10634
10865
|
[Stage.MAINNET]: "0x607471cac2ed025cbb2874cd5a175e6000939747097bbd0ea89664c1fbe9672c",
|
|
10635
10866
|
[Stage.TESTNET]: "0xd97457fdd827f0b9d9c35cb9b6a8560364822c57545a10be53106dfc7c26f2b4",
|
|
10636
|
-
[Stage.SANDBOX]: "
|
|
10867
|
+
[Stage.SANDBOX]: "0xa06efc99834a154dbf14b361b4756fcd3776e4e026061f1822bcbd31f22b2180"
|
|
10637
10868
|
};
|
|
10638
10869
|
var OBJECT_DVN_CAP_ADDRESS = {
|
|
10639
10870
|
[Stage.MAINNET]: "0x67d3d9e3537fc8ad2efd674bdce3b7f98ba2892971ab91a6f3bb611844dcc2e1",
|
|
10640
10871
|
[Stage.TESTNET]: "0x6b29694aaf32600eba62f0f91aed2c31a7c34540a513403f23351a8cd1372d3c",
|
|
10641
|
-
[Stage.SANDBOX]: "
|
|
10872
|
+
[Stage.SANDBOX]: "0x52a58cb5b9a2b536fec209ea5fe9fc2f39481815a1d1359afc9e0bb6098d3fce"
|
|
10642
10873
|
};
|
|
10643
10874
|
var OBJECT_DVN_FEE_LIB_ADDRESS = {
|
|
10644
10875
|
[Stage.MAINNET]: "0x5ff9119265b39b59260a7f1df2b7af5390f39fb33aeaf8b099e1ddc6673da1f0",
|
|
10645
10876
|
[Stage.TESTNET]: "0xc0f5802549ca974579ff193affff53a1566fffc1586f83584fc3432f85dc4859",
|
|
10646
|
-
[Stage.SANDBOX]: "
|
|
10877
|
+
[Stage.SANDBOX]: "0x7139454ba97e3d5dc4331ea1f6272d84fd5dc612df046c91a524af22614a40a4"
|
|
10647
10878
|
};
|
|
10648
10879
|
var OBJECT_DVN_FEE_LIB_ADMIN_CAP_ADDRESS = {
|
|
10649
10880
|
[Stage.MAINNET]: "",
|
|
@@ -10653,22 +10884,22 @@ var OBJECT_DVN_FEE_LIB_ADMIN_CAP_ADDRESS = {
|
|
|
10653
10884
|
var OBJECT_EXECUTOR_ADDRESS = {
|
|
10654
10885
|
[Stage.MAINNET]: "0xf5848ad4863f3594a96b4af26ab8d47414e5d17a9da76db1ab1489f1db3a75ae",
|
|
10655
10886
|
[Stage.TESTNET]: "0x69c3cd711b6730e699e2423a15f75c0fc9d96b3f6596bca140452184381a4abe",
|
|
10656
|
-
[Stage.SANDBOX]: "
|
|
10887
|
+
[Stage.SANDBOX]: "0xc09fe091d2ff0d3f3650c16ff0f63f6115ed4b7861b0eb2e5f33b6d2727ca851"
|
|
10657
10888
|
};
|
|
10658
10889
|
var OBJECT_EXECUTOR_CAP_ADDRESS = {
|
|
10659
10890
|
[Stage.MAINNET]: "0x4f86b866513949acb7728b33dc9334c9b0439c5f368f527b99db3cbf69a0282f",
|
|
10660
10891
|
[Stage.TESTNET]: "0x19bf02f900658874be5cb12af901008420c8e09fce73bfd9359dd78914a33eda",
|
|
10661
|
-
[Stage.SANDBOX]: "
|
|
10892
|
+
[Stage.SANDBOX]: "0x020db845242f35f1dbf772297d33efb0df1b26d68c97c4dffb5e8c3e84160ba3"
|
|
10662
10893
|
};
|
|
10663
10894
|
var OBJECT_EXECUTOR_OWNER_CAP_ADDRESS = {
|
|
10664
10895
|
[Stage.MAINNET]: "0x26082897ee964836468287f28e091078257d4fa27a6b309321b3d171cef3850d",
|
|
10665
10896
|
[Stage.TESTNET]: "0x6bbd9c69eaa8e52245a7c248c04847b0e1d31ed6945f5e2ada2e4d83c2f4c655",
|
|
10666
|
-
[Stage.SANDBOX]: "
|
|
10897
|
+
[Stage.SANDBOX]: "0x631e2d450a0eee2a1c43a761bab538e7012c71a8015fb88464525dba159f7fe7"
|
|
10667
10898
|
};
|
|
10668
10899
|
var OBJECT_EXECUTOR_FEE_LIB_ADDRESS = {
|
|
10669
10900
|
[Stage.MAINNET]: "0x1d505d1cfdd0ac8938826269b93c35cec0cd97ba783e073fa3b0206b35ca0378",
|
|
10670
10901
|
[Stage.TESTNET]: "0x8826aad865a485ec779b5f08c74c07dbad3063f58f7b66c5f099137af7024519",
|
|
10671
|
-
[Stage.SANDBOX]: "
|
|
10902
|
+
[Stage.SANDBOX]: "0xb342c3d800a9227826e09676e2d91b3e83f1f77e27ffac06d038eef8571229ca"
|
|
10672
10903
|
};
|
|
10673
10904
|
var OBJECT_EXECUTOR_FEE_LIB_ADMIN_CAP_ADDRESS = {
|
|
10674
10905
|
[Stage.MAINNET]: "",
|
|
@@ -10678,22 +10909,22 @@ var OBJECT_EXECUTOR_FEE_LIB_ADMIN_CAP_ADDRESS = {
|
|
|
10678
10909
|
var OBJECT_PRICE_FEED_ADDRESS = {
|
|
10679
10910
|
[Stage.MAINNET]: "0x17a24b91f720a8f170386d920df3c605fe7a0b96e43424283b30b11ced0f0156",
|
|
10680
10911
|
[Stage.TESTNET]: "0x10e0e26966b7eee36e0009e67c0deeb8f7e5ea1a42ecefca53bf2d5d22031ba4",
|
|
10681
|
-
[Stage.SANDBOX]: "
|
|
10912
|
+
[Stage.SANDBOX]: "0xa53617122779a7c44b7301a14b44d6d126c66e8b26c4df7444b9eb2b2bb61515"
|
|
10682
10913
|
};
|
|
10683
10914
|
var OBJECT_PRICE_FEED_OWNER_CAP_ADDRESS = {
|
|
10684
10915
|
[Stage.MAINNET]: "0x809d4b17a59a2b832b9222b09d4d6d805b6b2aaf340b6a52babea814ef5637a4",
|
|
10685
10916
|
[Stage.TESTNET]: "0x6d42367426b654045c2c9eccf622caf43e552b3f983bbd293b1ef362e82504bd",
|
|
10686
|
-
[Stage.SANDBOX]: "
|
|
10917
|
+
[Stage.SANDBOX]: "0x9db7ac219a6e859a66a1957871d939d1d63406b89f9fd79bcd6580c9c3717328"
|
|
10687
10918
|
};
|
|
10688
10919
|
var OBJECT_PACKAGE_WHITELIST_VALIDATOR_ADDRESS = {
|
|
10689
10920
|
[Stage.MAINNET]: "0x9d29be17482e050324db3a4b10755e4adc5a1aa062ed80528e0fbe94654055b5",
|
|
10690
10921
|
[Stage.TESTNET]: "0xcdbefbceffe2d9f0c0d46733ef4be0145e7af60241962738e98f136bff1557e2",
|
|
10691
|
-
[Stage.SANDBOX]: "
|
|
10922
|
+
[Stage.SANDBOX]: "0x2e2bf278982d6ece041f5affcdfca54bbd1484324efd6acba4853a3d892b1855"
|
|
10692
10923
|
};
|
|
10693
10924
|
var OBJECT_WORKER_REGISTRY_ADDRESS = {
|
|
10694
10925
|
[Stage.MAINNET]: "",
|
|
10695
10926
|
[Stage.TESTNET]: "",
|
|
10696
|
-
[Stage.SANDBOX]: "
|
|
10927
|
+
[Stage.SANDBOX]: "0x55bb2926901fa69afb1466b39d0d9acb3a2ea15b0164b8770d05505781251c7a"
|
|
10697
10928
|
};
|
|
10698
10929
|
|
|
10699
10930
|
// src/resource.ts
|
|
@@ -10885,6 +11116,6 @@ var SDK = class {
|
|
|
10885
11116
|
}
|
|
10886
11117
|
};
|
|
10887
11118
|
|
|
10888
|
-
export { ALL_EXECUTOR_OPTION_TYPES, ArbitrumPriceExtBcs, ArgumentBCS, BlockedMessageLib, BlockedMessageLibErrorCode, BlockedMessageLibPtbBuilder, Bytes32Bcs, CONFIG_TYPE, Call, CallErrorCode, CallTypeName, Counter, CounterErrorCode, DEFAULT_SIMULATION_TIMES, DVN, DVNErrorCode, DVNFeeLib, DVNFeeLibErrorCode, DstConfigBcs, DvnDstConfigBcs, DvnLayerZero, DvnPtbBuilder, Endpoint, EndpointErrorCode, EndpointExecutionState, EndpointPtbBuilder, Executor, ExecutorConfigBcs, ExecutorErrorCode, ExecutorFeeLib, ExecutorFeeLibErrorCode, ExecutorLayerZero, ExecutorOptionType, ExecutorPtbBuilder, FunctionBCS, LayerZeroViews,
|
|
11119
|
+
export { ALL_EXECUTOR_OPTION_TYPES, ArbitrumPriceExtBcs, ArgumentBCS, BlockedMessageLib, BlockedMessageLibErrorCode, BlockedMessageLibPtbBuilder, Bytes32Bcs, CONFIG_TYPE, Call, CallErrorCode, CallTypeName, Counter, CounterErrorCode, DEFAULT_SIMULATION_TIMES, DVN, DVNErrorCode, DVNFeeLib, DVNFeeLibErrorCode, DVNLayerzeroErrorCode, DstConfigBcs, DvnDstConfigBcs, DvnLayerZero, DvnPtbBuilder, Endpoint, EndpointErrorCode, EndpointExecutionState, EndpointPtbBuilder, EndpointPtbBuilderErrorCode, Executor, ExecutorConfigBcs, ExecutorErrorCode, ExecutorFeeLib, ExecutorFeeLibErrorCode, ExecutorLayerZero, ExecutorLayerzeroErrorCode, ExecutorOptionType, ExecutorPtbBuilder, FunctionBCS, LayerZeroViews, LzComposeVersion, LzReceiveVersion, LzTypeName, MAX_BATCH_SIZE, MessageLibType, MessagingFeeBcs, ModelType, ModelTypeBcs, Modules, MoveAbortError, MoveCallBCS, NativeDropParamsBcs, NonSenderObjectValidator, OApp, OAppErrorCode, OAppInfoV1Bcs, OAppInfoVersion, 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, 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, PackageWhitelistValidator, PriceBcs, PriceFeed, PriceFeedErrorCode, PtbBuilder, PtbBuilderErrorCode, SDK, ShareObjectValidator, SimpleMessageLib, SimpleMessageLibErrorCode, SimpleMessageLibPtbBuilder, TimeoutBcs, Treasury, TreasuryErrorCode, Uln302, Uln302ErrorCode, Uln302PtbBuilder, Uln302PtbBuilderErrorCode, UlnConfigBcs, UlnVerificationState, UnclassifiedError, Utils, UtilsErrorCode, ValidatorErrorCode, VectorMoveCallBCS, 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 };
|
|
10889
11120
|
//# sourceMappingURL=index.mjs.map
|
|
10890
11121
|
//# sourceMappingURL=index.mjs.map
|