@layerzerolabs/lz-sui-sdk-v2 3.0.134-sui.1 → 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 +26 -26
- package/deployments/sui-sandbox-local/blocked_msglib_ptb_builder.json +26 -26
- package/deployments/sui-sandbox-local/counter.json +58 -58
- 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 +17 -17
- package/deployments/sui-sandbox-local/dvn_ptb_builder.json +14 -14
- package/deployments/sui-sandbox-local/endpoint_ptb_builder.json +26 -26
- package/deployments/sui-sandbox-local/endpoint_v2.json +28 -28
- package/deployments/sui-sandbox-local/executor.json +22 -22
- 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 +19 -19
- package/deployments/sui-sandbox-local/executor_ptb_builder.json +21 -21
- package/deployments/sui-sandbox-local/layerzero_views.json +21 -21
- package/deployments/sui-sandbox-local/message_lib_common.json +21 -21
- 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 +44 -44
- package/deployments/sui-sandbox-local/price_feed.json +40 -40
- package/deployments/sui-sandbox-local/price_feed_call_types.json +12 -12
- package/deployments/sui-sandbox-local/ptb_move_call.json +20 -20
- package/deployments/sui-sandbox-local/simple_message_lib.json +22 -22
- package/deployments/sui-sandbox-local/simple_msglib_ptb_builder.json +26 -26
- package/deployments/sui-sandbox-local/treasury.json +38 -38
- package/deployments/sui-sandbox-local/uln_302.json +42 -46
- package/deployments/sui-sandbox-local/uln_302_ptb_builder.json +25 -25
- package/deployments/sui-sandbox-local/uln_common.json +49 -0
- package/deployments/sui-sandbox-local/worker_common.json +21 -21
- package/deployments/sui-sandbox-local/worker_registry.json +24 -24
- package/dist/index.cjs +220 -76
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +69 -12
- package/dist/index.d.ts +69 -12
- package/dist/index.mjs +220 -76
- package/dist/index.mjs.map +1 -1
- package/package.json +7 -7
- package/src/generated/addresses.ts +54 -54
- package/src/modules/message-libs/uln302.ts +5 -21
- package/src/modules/workers/dvn-layerzero.ts +3 -0
- package/src/modules/workers/dvn.ts +140 -6
- package/src/modules/workers/executor-layerzero.ts +3 -0
- package/src/modules/workers/executor.ts +52 -0
package/dist/index.mjs
CHANGED
|
@@ -3085,25 +3085,16 @@ var Uln302 = class {
|
|
|
3085
3085
|
});
|
|
3086
3086
|
}
|
|
3087
3087
|
/**
|
|
3088
|
-
* Verify packet move call with DVN
|
|
3089
|
-
* 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
|
|
3090
3090
|
* @param tx - The transaction to add the move call to
|
|
3091
3091
|
* @param verification - The verification object address or transaction argument
|
|
3092
|
-
* @param
|
|
3093
|
-
* @param packetHeader - The packet header as bytes or transaction argument
|
|
3094
|
-
* @param payloadHash - The payload hash as bytes or transaction argument
|
|
3095
|
-
* @param confirmations - Required confirmations count or transaction argument
|
|
3092
|
+
* @param call - The DVN verification call containing verification parameters
|
|
3096
3093
|
*/
|
|
3097
|
-
verifyMoveCall(tx, verification,
|
|
3094
|
+
verifyMoveCall(tx, verification, call) {
|
|
3098
3095
|
tx.moveCall({
|
|
3099
3096
|
target: __privateMethod(this, _Uln302_instances, target_fn4).call(this, "verify"),
|
|
3100
|
-
arguments: [
|
|
3101
|
-
asObject(tx, verification),
|
|
3102
|
-
asObject(tx, dvn),
|
|
3103
|
-
asBytes(tx, packetHeader),
|
|
3104
|
-
asBytes32(tx, payloadHash, this.moduleManager.getUtils()),
|
|
3105
|
-
asU64(tx, confirmations)
|
|
3106
|
-
]
|
|
3097
|
+
arguments: [tx.object(this.objects.uln302), asObject(tx, verification), call]
|
|
3107
3098
|
});
|
|
3108
3099
|
}
|
|
3109
3100
|
/**
|
|
@@ -3671,7 +3662,7 @@ var DVNErrorCode = {
|
|
|
3671
3662
|
DVNInfoV1_EInvalidData: 1,
|
|
3672
3663
|
DVNInfoV1_EInvalidVersion: 2
|
|
3673
3664
|
};
|
|
3674
|
-
var _DVN_instances, target_fn5;
|
|
3665
|
+
var _DVN_instances, getUlnObjectAddress_fn, getUlnVerifyTarget_fn, target_fn5;
|
|
3675
3666
|
var DVN = class {
|
|
3676
3667
|
constructor(packageId, client, objects, moduleManager) {
|
|
3677
3668
|
this.moduleManager = moduleManager;
|
|
@@ -3834,6 +3825,29 @@ var DVN = class {
|
|
|
3834
3825
|
});
|
|
3835
3826
|
}
|
|
3836
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
|
+
}
|
|
3837
3851
|
/**
|
|
3838
3852
|
* Set allowlist status for an OApp sender (admin with signatures)
|
|
3839
3853
|
* @param tx - The transaction to add the move call to
|
|
@@ -3968,23 +3982,24 @@ var DVN = class {
|
|
|
3968
3982
|
}
|
|
3969
3983
|
// Verification Functions
|
|
3970
3984
|
/**
|
|
3971
|
-
* Verify a packet with DVN signatures (admin with signatures)
|
|
3985
|
+
* Verify a packet with DVN signatures (admin with signatures) - returns Call object for ULN302
|
|
3972
3986
|
* @param tx - The transaction to add the move call to
|
|
3973
3987
|
* @param adminCap - The admin capability object ID
|
|
3974
|
-
* @param
|
|
3988
|
+
* @param targetMessageLib - The target message library address (usually ULN302)
|
|
3975
3989
|
* @param packetHeader - The packet header as bytes
|
|
3976
3990
|
* @param payloadHash - The payload hash as bytes
|
|
3977
3991
|
* @param confirmations - Required confirmations count
|
|
3978
3992
|
* @param expiration - Signature expiration timestamp
|
|
3979
3993
|
* @param signatures - DVN multisig signatures
|
|
3994
|
+
* @returns Transaction result containing the verification Call object
|
|
3980
3995
|
*/
|
|
3981
|
-
verifyMoveCall(tx, adminCap,
|
|
3982
|
-
tx.moveCall({
|
|
3996
|
+
verifyMoveCall(tx, adminCap, targetMessageLib, packetHeader, payloadHash, confirmations, expiration, signatures) {
|
|
3997
|
+
return tx.moveCall({
|
|
3983
3998
|
target: __privateMethod(this, _DVN_instances, target_fn5).call(this, "verify"),
|
|
3984
3999
|
arguments: [
|
|
3985
4000
|
tx.object(this.objects.dvn),
|
|
3986
4001
|
asObject(tx, adminCap),
|
|
3987
|
-
|
|
4002
|
+
asAddress(tx, targetMessageLib),
|
|
3988
4003
|
asBytes(tx, packetHeader),
|
|
3989
4004
|
asBytes32(tx, payloadHash, this.moduleManager.getUtils()),
|
|
3990
4005
|
asU64(tx, confirmations),
|
|
@@ -4254,6 +4269,32 @@ var DVN = class {
|
|
|
4254
4269
|
(result) => bcs.Bool.parse(result[0].value)
|
|
4255
4270
|
);
|
|
4256
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
|
+
}
|
|
4257
4298
|
/**
|
|
4258
4299
|
* Check if an address is allowlisted
|
|
4259
4300
|
* @param tx - The transaction to add the move call to
|
|
@@ -4936,8 +4977,63 @@ var DVN = class {
|
|
|
4936
4977
|
]
|
|
4937
4978
|
});
|
|
4938
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
|
+
}
|
|
4939
5009
|
};
|
|
4940
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
|
+
};
|
|
4941
5037
|
/**
|
|
4942
5038
|
* Generate the full target path for move calls
|
|
4943
5039
|
* @param name - The function name to call
|
|
@@ -5042,6 +5138,7 @@ var DvnLayerZero = class {
|
|
|
5042
5138
|
* @param workerCap - Worker capability object ID or transaction argument
|
|
5043
5139
|
* @param vid - Verifier ID for the DVN or transaction argument
|
|
5044
5140
|
* @param depositAddress - Address for fee deposits or transaction argument
|
|
5141
|
+
* @param supportedMessageLibs - Array of supported message library addresses or transaction argument
|
|
5045
5142
|
* @param priceFeed - Price feed object address or transaction argument
|
|
5046
5143
|
* @param workerFeeLib - Worker fee library address or transaction argument
|
|
5047
5144
|
* @param defaultMultiplierBps - Default multiplier in basis points or transaction argument
|
|
@@ -5049,13 +5146,14 @@ var DvnLayerZero = class {
|
|
|
5049
5146
|
* @param signers - Array of signer public keys as bytes or transaction argument
|
|
5050
5147
|
* @param quorum - Required signature threshold or transaction argument
|
|
5051
5148
|
*/
|
|
5052
|
-
initDvnMoveCall(tx, workerCap, vid, depositAddress, priceFeed, workerFeeLib, defaultMultiplierBps, admins, signers, quorum) {
|
|
5149
|
+
initDvnMoveCall(tx, workerCap, vid, depositAddress, supportedMessageLibs, priceFeed, workerFeeLib, defaultMultiplierBps, admins, signers, quorum) {
|
|
5053
5150
|
tx.moveCall({
|
|
5054
5151
|
target: __privateMethod(this, _DvnLayerZero_instances, target_fn7).call(this, "init_dvn"),
|
|
5055
5152
|
arguments: [
|
|
5056
5153
|
asObject(tx, workerCap),
|
|
5057
5154
|
asU32(tx, vid),
|
|
5058
5155
|
asAddress(tx, depositAddress),
|
|
5156
|
+
asAddressVector(tx, supportedMessageLibs),
|
|
5059
5157
|
asAddress(tx, priceFeed),
|
|
5060
5158
|
asAddress(tx, workerFeeLib),
|
|
5061
5159
|
asU16(tx, defaultMultiplierBps),
|
|
@@ -5457,6 +5555,24 @@ var Executor = class {
|
|
|
5457
5555
|
]
|
|
5458
5556
|
});
|
|
5459
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
|
+
}
|
|
5460
5576
|
/**
|
|
5461
5577
|
* Set allowlist status for an OApp sender (owner only)
|
|
5462
5578
|
* @param tx - The transaction to add the move call to
|
|
@@ -5709,6 +5825,32 @@ var Executor = class {
|
|
|
5709
5825
|
(result) => bcs.Bool.parse(result[0].value)
|
|
5710
5826
|
);
|
|
5711
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
|
+
}
|
|
5712
5854
|
/**
|
|
5713
5855
|
* Check if an address is allowlisted
|
|
5714
5856
|
* @param tx - The transaction to add the move call to
|
|
@@ -6076,18 +6218,20 @@ var ExecutorLayerZero = class {
|
|
|
6076
6218
|
* @param tx - The transaction to add the move call to
|
|
6077
6219
|
* @param workerCap - Worker capability object ID or transaction argument
|
|
6078
6220
|
* @param depositAddress - Address for fee deposits or transaction argument
|
|
6221
|
+
* @param supportedMessageLibs - Array of supported message library addresses or transaction argument
|
|
6079
6222
|
* @param priceFeed - Price feed object address or transaction argument
|
|
6080
6223
|
* @param workerFeeLib - Worker fee library address or transaction argument
|
|
6081
6224
|
* @param defaultMultiplierBps - Default multiplier in basis points or transaction argument
|
|
6082
6225
|
* @param owner - Owner address for the executor or transaction argument
|
|
6083
6226
|
* @param admins - Array of admin addresses or transaction argument
|
|
6084
6227
|
*/
|
|
6085
|
-
initExecutorMoveCall(tx, workerCap, depositAddress, priceFeed, workerFeeLib, defaultMultiplierBps, owner, admins) {
|
|
6228
|
+
initExecutorMoveCall(tx, workerCap, depositAddress, supportedMessageLibs, priceFeed, workerFeeLib, defaultMultiplierBps, owner, admins) {
|
|
6086
6229
|
tx.moveCall({
|
|
6087
6230
|
target: __privateMethod(this, _ExecutorLayerZero_instances, target_fn10).call(this, "init_executor"),
|
|
6088
6231
|
arguments: [
|
|
6089
6232
|
asObject(tx, workerCap),
|
|
6090
6233
|
asAddress(tx, depositAddress),
|
|
6234
|
+
asAddressVector(tx, supportedMessageLibs),
|
|
6091
6235
|
asAddress(tx, priceFeed),
|
|
6092
6236
|
asAddress(tx, workerFeeLib),
|
|
6093
6237
|
asU16(tx, defaultMultiplierBps),
|
|
@@ -10490,42 +10634,42 @@ var PACKAGE_UTILS_ADDRESS = {
|
|
|
10490
10634
|
var PACKAGE_ENDPOINT_V2_ADDRESS = {
|
|
10491
10635
|
[Stage.MAINNET]: "0xf625a8bde20d64850a4ec7b01c1918d9a0a29495546de7a0144440275f9b933c",
|
|
10492
10636
|
[Stage.TESTNET]: "0x85dd52af20c3d8047685dcb6fddc443934b8cd2b6fbe9d2d262a5f6943f24557",
|
|
10493
|
-
[Stage.SANDBOX]: "
|
|
10637
|
+
[Stage.SANDBOX]: "0x2f2b96ecd837710e681cdedda00f75bccf50be0f0de15a72c70e05bb94e35637"
|
|
10494
10638
|
};
|
|
10495
10639
|
var PACKAGE_COUNTER_V2_ADDRESS = {
|
|
10496
10640
|
[Stage.MAINNET]: "0xfe1e336fdb42fa5ef85ab9a9c932b58c43e0bb58273cecea9d00cb5d05159914",
|
|
10497
10641
|
[Stage.TESTNET]: "0xa6a19e84c7df2014e384cdd56f5674e5a0c06b92cc5d33fca89633680a9ebcd7",
|
|
10498
|
-
[Stage.SANDBOX]: "
|
|
10642
|
+
[Stage.SANDBOX]: "0x21cbfd49d2051dbc9374fc6e799888ab89ee9b27cc6ac0dc697dce1767990357"
|
|
10499
10643
|
};
|
|
10500
10644
|
var PACKAGE_SIMPLE_MESSAGE_LIB_ADDRESS = {
|
|
10501
10645
|
[Stage.MAINNET]: "0x83651370065f70112b20007137c7235a2a243055d9f59cb5e162c00c4a1680a7",
|
|
10502
10646
|
[Stage.TESTNET]: "0xd1fbc2529b4c581c5105031b495866cece446f2123319f6d82a76151b999717e",
|
|
10503
|
-
[Stage.SANDBOX]: "
|
|
10647
|
+
[Stage.SANDBOX]: "0x8046f2e15bb1df8ac231ad3f583fffb66c62e519cfd94f61a28acb4c9d2804ef"
|
|
10504
10648
|
};
|
|
10505
10649
|
var PACKAGE_ULN_302_ADDRESS = {
|
|
10506
10650
|
[Stage.MAINNET]: "0xd73c9d588717c32fa327335d9beaf59b983b808577a382e013d8c7161a323d8e",
|
|
10507
10651
|
[Stage.TESTNET]: "0x556bd8fba10ba9e8be88a3ed54b8cbeb8b512b95e5c107cde7d7b10b754069c2",
|
|
10508
|
-
[Stage.SANDBOX]: "
|
|
10652
|
+
[Stage.SANDBOX]: "0x71b77165b712f9900c0d38ec0f5de94e39515175cf4138009e5196d6ad4806ef"
|
|
10509
10653
|
};
|
|
10510
10654
|
var PACKAGE_ULN_302_PTB_BUILDER_ADDRESS = {
|
|
10511
10655
|
[Stage.MAINNET]: "0x67b3a43a3aa962e1a6012b04f68e6f358803f5970858f4de22684d6d13fcd747",
|
|
10512
10656
|
[Stage.TESTNET]: "0x71a23cdd1cb88b52a40cd2862c4ca607bd27e0f02f136e18f95351050fec9a89",
|
|
10513
|
-
[Stage.SANDBOX]: "
|
|
10657
|
+
[Stage.SANDBOX]: "0x0e89dd845db03f30b1e027e06efc15855f18550adead373115db6dc0fdd95874"
|
|
10514
10658
|
};
|
|
10515
10659
|
var PACKAGE_DVN_PTB_BUILDER_ADDRESS = {
|
|
10516
10660
|
[Stage.MAINNET]: "0xb3f3a6d39a441a0f41a621d27427cedf624d500b3da5cd7051bc5835b21ac3ba",
|
|
10517
10661
|
[Stage.TESTNET]: "0xe7723903288eb1a38fb7166edce4307dfce985c7a9771af579f4f3d003dda2ec",
|
|
10518
|
-
[Stage.SANDBOX]: "
|
|
10662
|
+
[Stage.SANDBOX]: "0xed21e9af278622af95730315a652bf0125e62984e62424098093f798ac4ce350"
|
|
10519
10663
|
};
|
|
10520
10664
|
var PACKAGE_EXECUTOR_PTB_BUILDER_ADDRESS = {
|
|
10521
10665
|
[Stage.MAINNET]: "0x9d26806bb023ccd5b79d8ad50bf503e0e91c07b5bbfeb5b20a79e073571a5196",
|
|
10522
10666
|
[Stage.TESTNET]: "0xafed5368176963fa0474724a019e4fae6643d31c06b653fa1364b2282d5049dd",
|
|
10523
|
-
[Stage.SANDBOX]: "
|
|
10667
|
+
[Stage.SANDBOX]: "0x10164dbb4c1c380cf6ff1bb96dc2e5e0294c1fa6d247f08140f373e632148deb"
|
|
10524
10668
|
};
|
|
10525
10669
|
var PACKAGE_EXECUTOR_ADDRESS = {
|
|
10526
10670
|
[Stage.MAINNET]: "0x749420cc42b47d3db83fe316eb8accd8126bed9a779c0b7e06fa084c7fa1d76d",
|
|
10527
10671
|
[Stage.TESTNET]: "0x5bcded2dfa21094d5ffdd6256a2a73984e901201e84a6783aa8233b187ffdb51",
|
|
10528
|
-
[Stage.SANDBOX]: "
|
|
10672
|
+
[Stage.SANDBOX]: "0x3efcca8baa7a00640c6618880f08148f5f3eedb704a38728bf3b6bd4df64d3c8"
|
|
10529
10673
|
};
|
|
10530
10674
|
var PACKAGE_ZRO_ADDRESS = {
|
|
10531
10675
|
[Stage.MAINNET]: "0xcdf19828a455468c4e4ffbd74ad641dddb58b49cd7d043da4cfa12f76c599d0a",
|
|
@@ -10540,147 +10684,147 @@ var PACKAGE_CALL_ADDRESS = {
|
|
|
10540
10684
|
var PACKAGE_ENDPOINT_PTB_BUILDER_ADDRESS = {
|
|
10541
10685
|
[Stage.MAINNET]: "0x387af0542c79874a52c3e8812390c0fd02a8e947ce54aea8d80481ac2b5b3acb",
|
|
10542
10686
|
[Stage.TESTNET]: "0xe0a904685954e5dc73a720f6dd29c8b5a22d2d4ca0864536b7befaf4cec44676",
|
|
10543
|
-
[Stage.SANDBOX]: "
|
|
10687
|
+
[Stage.SANDBOX]: "0x714a292cc27c58f9219bf5004774a2c23799d2dc75878bcca7933af4c990a827"
|
|
10544
10688
|
};
|
|
10545
10689
|
var PACKAGE_SIMPLE_MESSAGE_LIB_PTB_BUILDER_ADDRESS = {
|
|
10546
10690
|
[Stage.MAINNET]: "0xba557037446a5b114205c868db114957945dd21df9770796fea2b558fc4a20fd",
|
|
10547
10691
|
[Stage.TESTNET]: "0x4badf1bba6f630905bc413b89f1c22669593b0e7aea60012a14fd42f44e2a7fe",
|
|
10548
|
-
[Stage.SANDBOX]: "
|
|
10692
|
+
[Stage.SANDBOX]: "0x9173cad39d37c14b42aef2564adba58fdc6df372ea122bff9c6e8d745f6d5a5d"
|
|
10549
10693
|
};
|
|
10550
10694
|
var PACKAGE_PTB_MOVE_CALL_ADDRESS = {
|
|
10551
10695
|
[Stage.MAINNET]: "0x0dd38c96b282271279247c26dba1f51d6e45209396a9e548154881e04549db66",
|
|
10552
10696
|
[Stage.TESTNET]: "0x8bdf374fe8576f28d71eecd219601cebafa38e2c79387eea92e2f27a71359197",
|
|
10553
|
-
[Stage.SANDBOX]: "
|
|
10697
|
+
[Stage.SANDBOX]: "0x708dc0b07112d4d3091d5effd773aa1cd1bef36b3ac3c4a28bc77752091037c7"
|
|
10554
10698
|
};
|
|
10555
10699
|
var PACKAGE_DVN_ADDRESS = {
|
|
10556
10700
|
[Stage.MAINNET]: "0x6810f5568936a9a2b5fcb043f59a3cbf681e06f0db61c90bf3ff5530d4f470c0",
|
|
10557
10701
|
[Stage.TESTNET]: "0x7c04479b475305685ad24fd3e91437aa3f6e0df95d1417fad1b4640d8363be9b",
|
|
10558
|
-
[Stage.SANDBOX]: "
|
|
10702
|
+
[Stage.SANDBOX]: "0xd437a8701d38469cef667bcf3d44db8f908e76eacaa63ff983a5f5b7b2dc8717"
|
|
10559
10703
|
};
|
|
10560
10704
|
var PACKAGE_DVN_FEE_LIB_ADDRESS = {
|
|
10561
10705
|
[Stage.MAINNET]: "0xb94f476ccd37034f4f5fb9c541320b85f86e61ae7f654fa66f3b987e8fb3f825",
|
|
10562
10706
|
[Stage.TESTNET]: "0x7f6a8ca6e6f136605be10b502d4e03fda2ee9983f57c10c6199a63744977d951",
|
|
10563
|
-
[Stage.SANDBOX]: "
|
|
10707
|
+
[Stage.SANDBOX]: "0x2a5f4c11fd5f67c5dcf8fb1cc02d5a2a1b7a206007008ccd658817f21708ade0"
|
|
10564
10708
|
};
|
|
10565
10709
|
var PACKAGE_EXECUTOR_FEE_LIB_ADDRESS = {
|
|
10566
10710
|
[Stage.MAINNET]: "0x4cdd97cf2dee8387b004915c293d0565577e0194fff4894e604a09db54ac62c7",
|
|
10567
10711
|
[Stage.TESTNET]: "0x36a441e73ed70e9fc900d021381a3d833c8b15305b7a116dbd7a2d1a156432e1",
|
|
10568
|
-
[Stage.SANDBOX]: "
|
|
10712
|
+
[Stage.SANDBOX]: "0xcf4cd5177af16a31fd78b20a04812360c9b40abf36bca93e5817ef7bc93397db"
|
|
10569
10713
|
};
|
|
10570
10714
|
var PACKAGE_PRICE_FEED_ADDRESS = {
|
|
10571
10715
|
[Stage.MAINNET]: "0x9f12f79a355fca76492bc1908fc7a9a8518d2a83e65cffc93f134144dfa4e5bb",
|
|
10572
10716
|
[Stage.TESTNET]: "0x703efe3215e8249a490b4889d20bff10f09838d200835d53d056bbf30a80fe37",
|
|
10573
|
-
[Stage.SANDBOX]: "
|
|
10717
|
+
[Stage.SANDBOX]: "0x5f815421a273d99aadc21ba71311a64a57881b7f57f1e98d7423cc1e9c6919c2"
|
|
10574
10718
|
};
|
|
10575
10719
|
var PACKAGE_TREASURY_ADDRESS = {
|
|
10576
10720
|
[Stage.MAINNET]: "0xcb8bc76ad2dde43cb83fe4f27a702df0874e99c047317251ee878893c17c83c5",
|
|
10577
10721
|
[Stage.TESTNET]: "0x5589cb216e702c9d18c8864b75a233a8f8b4591156fff871c129519e95d5aa3e",
|
|
10578
|
-
[Stage.SANDBOX]: "
|
|
10722
|
+
[Stage.SANDBOX]: "0xed96a2ad1c3763e91a40c07ce0ef0240af50ff79f0eb8ff55b8f4a2acae171e1"
|
|
10579
10723
|
};
|
|
10580
10724
|
var PACKAGE_OAPP_ADDRESS = {
|
|
10581
10725
|
[Stage.MAINNET]: "0x7c93d6d8288fa0f8df5a595dcde2413b849d8c839fc59fc09243fd5bf44c96ab",
|
|
10582
10726
|
[Stage.TESTNET]: "0x50d5a0038394ddff138900335e56315b2aed79475cad3fe3737a50dc12c884d6",
|
|
10583
|
-
[Stage.SANDBOX]: "
|
|
10727
|
+
[Stage.SANDBOX]: "0xf7af333a736ed362fe3ecf37075ce8c352be0dbb14090bc50c2cf48d27a46e41"
|
|
10584
10728
|
};
|
|
10585
10729
|
var PACKAGE_LAYERZERO_VIEWS_ADDRESS = {
|
|
10586
10730
|
[Stage.MAINNET]: "0x74803ac88036cbd57bf1a46347e22143a47081f7159efb01419f1ed14a17ad67",
|
|
10587
10731
|
[Stage.TESTNET]: "0xa4a72308ec518a2103f9f31435d07df740736bc03b778ca1200071805c5414da",
|
|
10588
|
-
[Stage.SANDBOX]: "
|
|
10732
|
+
[Stage.SANDBOX]: "0xcb885e3ddcced45eaa4d877cec6c741fb408be67de620a91b93e8473c34ea8be"
|
|
10589
10733
|
};
|
|
10590
10734
|
var PACKAGE_DVN_LAYERZERO_ADDRESS = {
|
|
10591
10735
|
[Stage.MAINNET]: "0xc3f25fb140745ca0d4cde0ec382fd76e2f20d5a76a7fd9264340b4af949fd38b",
|
|
10592
10736
|
[Stage.TESTNET]: "0x725e5c54d11578942f4b45ebdce1cc91244dae658a667c2186c277b6a5673f9c",
|
|
10593
|
-
[Stage.SANDBOX]: "
|
|
10737
|
+
[Stage.SANDBOX]: "0x87d2e70a4c2126122a96bd57b3ed5eacb8db9df02662b4bbc5b79da9447608ba"
|
|
10594
10738
|
};
|
|
10595
10739
|
var PACKAGE_EXECUTOR_LAYERZERO_ADDRESS = {
|
|
10596
10740
|
[Stage.MAINNET]: "0x2111256b15f5d0a20f6352084dac268c737b47c113b4da5eacb316f8a536f9bf",
|
|
10597
10741
|
[Stage.TESTNET]: "0xb8db282fff4358b67915bb76eb18bde3406e4e30a1d219c852c7ccf5a121a3ff",
|
|
10598
|
-
[Stage.SANDBOX]: "
|
|
10742
|
+
[Stage.SANDBOX]: "0x5d5390378ae1762e9284069a6d2d2408f5a5ed33e815619f32bf2488d9f619a8"
|
|
10599
10743
|
};
|
|
10600
10744
|
var PACKAGE_PACKAGE_WHITELIST_VALIDATOR_ADDRESS = {
|
|
10601
10745
|
[Stage.MAINNET]: "0xbdce35f2801192bb218e47bb6e9cf08e136037b271157e8db8fdc9acf0bd225e",
|
|
10602
10746
|
[Stage.TESTNET]: "0x5ad1acba7eb1b381ab3f08da17938ffa930375c0904e78ccd6e634957f6b3ef6",
|
|
10603
|
-
[Stage.SANDBOX]: "
|
|
10747
|
+
[Stage.SANDBOX]: "0xdbcb0a00b272c21492fc6dcd77cde75c070cd48d7ac1bd371c57113a23dfb843"
|
|
10604
10748
|
};
|
|
10605
10749
|
var PACKAGE_BLOCKED_MESSAGE_LIB_ADDRESS = {
|
|
10606
10750
|
[Stage.MAINNET]: "0x9f6107b708d7650b1484ae10cb98340af343f46bd63793ea91c2379bab9a7abb",
|
|
10607
10751
|
[Stage.TESTNET]: "0xd3f0cab5eca2cfb870e5390b572e67ce1d0d96bc89d097d089914014bf581e5d",
|
|
10608
|
-
[Stage.SANDBOX]: "
|
|
10752
|
+
[Stage.SANDBOX]: "0x7473cac6e6118db1bd9863233bf7a460aee23c219032491b4548885196361a8c"
|
|
10609
10753
|
};
|
|
10610
10754
|
var PACKAGE_BLOCKED_MESSAGE_LIB_PTB_BUILDER_ADDRESS = {
|
|
10611
10755
|
[Stage.MAINNET]: "0xd90430a0b1b5bf932586d7d52e67e2242b1276ad7944b41c21acd4f950671335",
|
|
10612
10756
|
[Stage.TESTNET]: "0xf2c5b342b99544fbd225ed45a76096f7ed6199624d2f2f4d04b76e2afb84654e",
|
|
10613
|
-
[Stage.SANDBOX]: "
|
|
10757
|
+
[Stage.SANDBOX]: "0xbf76f9ce588002a40688bb1a87544172d6f3cbe81206ef5cfe7436e88f78c8f6"
|
|
10614
10758
|
};
|
|
10615
10759
|
var PACKAGE_WORKER_REGISTRY_ADDRESS = {
|
|
10616
10760
|
[Stage.MAINNET]: "",
|
|
10617
10761
|
[Stage.TESTNET]: "",
|
|
10618
|
-
[Stage.SANDBOX]: "
|
|
10762
|
+
[Stage.SANDBOX]: "0xbf1e087bc40af272f98519a31ac5e889b95b3112b6bf28e652909cd199141cdd"
|
|
10619
10763
|
};
|
|
10620
10764
|
var PACKAGE_WORKER_COMMON_ADDRESS = {
|
|
10621
10765
|
[Stage.MAINNET]: "0x6b29b0abf9da88be53a9ea1dfab8f600930b9ab6961eee65d67c1eecdd8cb695",
|
|
10622
10766
|
[Stage.TESTNET]: "0xbd1b4591ff06b36113c28ec2f5ce10151b6a2998699e3d8364ec9f77efe950c8",
|
|
10623
|
-
[Stage.SANDBOX]: "
|
|
10767
|
+
[Stage.SANDBOX]: "0x27d3deb156d4b0145608971a0f4a5409f6fb9ab6888757a2dcf954dcab36a2d5"
|
|
10624
10768
|
};
|
|
10625
10769
|
var OBJECT_ENDPOINT_V2_ADDRESS = {
|
|
10626
10770
|
[Stage.MAINNET]: "0xd84dfbd6b21f2a6e2d9ecfd8204d20a420f2528746381c2db29c2f4caae67fcd",
|
|
10627
10771
|
[Stage.TESTNET]: "0xbba9beee809d8010f5dc1c3529d75708f1fbf2fa7bbf40bb6031a4bc8ae9c9b6",
|
|
10628
|
-
[Stage.SANDBOX]: "
|
|
10772
|
+
[Stage.SANDBOX]: "0xdddcfdef4087b155b1b1652233c3a2c14a32a3750ba6fe0eced0a9873701f349"
|
|
10629
10773
|
};
|
|
10630
10774
|
var OBJECT_SIMPLE_MESSAGE_LIB_ADDRESS = {
|
|
10631
10775
|
[Stage.MAINNET]: "0xd18907d32aa9e95fc2eed2d02fec562442877bec8680620c05fa5b3c110ccd81",
|
|
10632
10776
|
[Stage.TESTNET]: "0xe893810a3399bf50ec4fd7affa931bcb66dbab21e37aff80b7ce73f25e78ac4f",
|
|
10633
|
-
[Stage.SANDBOX]: "
|
|
10777
|
+
[Stage.SANDBOX]: "0x310f234cc8dafa3b35a2c6073368a6adb1d54aaf5de8e529dcaea73e96d50d8a"
|
|
10634
10778
|
};
|
|
10635
10779
|
var OBJECT_SIMPLE_MESSAGE_LIB_ADMIN_CAP_ADDRESS = {
|
|
10636
10780
|
[Stage.MAINNET]: "0x617aceffed0b17cc5b5f5ad4cd1e8b9d965a9ef73a923b474e4763dec7c175f6",
|
|
10637
10781
|
[Stage.TESTNET]: "0x3115ca5bf047a17629099b1845db595a42b4e7d5c5916439036c18d0afd7181b",
|
|
10638
|
-
[Stage.SANDBOX]: "
|
|
10782
|
+
[Stage.SANDBOX]: "0x83c65e078ec18886f91b5870cbf5a3fbb14e327339b884091a569827bc549c4c"
|
|
10639
10783
|
};
|
|
10640
10784
|
var OBJECT_SIMPLE_MESSAGE_LIB_PTB_BUILDER_ADDRESS = {
|
|
10641
10785
|
[Stage.MAINNET]: "0x2a0c8a426823cc7fcb89dd849810b42643fda344286d493d0ce8593d9b2be280",
|
|
10642
10786
|
[Stage.TESTNET]: "0xacaa1b7ed87084cea9c593d1df4a76bfa0bce1b214559d79de8a9167705292a3",
|
|
10643
|
-
[Stage.SANDBOX]: "
|
|
10787
|
+
[Stage.SANDBOX]: "0x2b4e102b2e2e0d54eef0ce5d9ee82e06251c7aa022ac36c902341bf8a105fc80"
|
|
10644
10788
|
};
|
|
10645
10789
|
var OBJECT_ULN_302_ADDRESS = {
|
|
10646
10790
|
[Stage.MAINNET]: "0x7d140391ed97fcdb3f87aa13a7727b7354cb0a6ca2a3e7156f8b3767dd634266",
|
|
10647
10791
|
[Stage.TESTNET]: "0xea27cd132fe6e4cad973f642f1450b0da2490b5350e6104365a7a48a3d97fb1e",
|
|
10648
|
-
[Stage.SANDBOX]: "
|
|
10792
|
+
[Stage.SANDBOX]: "0x3af8a4630168b53794d7f25f4ad45d3c974609365b5b0d43a4027eac08ab54fc"
|
|
10649
10793
|
};
|
|
10650
10794
|
var OBJECT_ULN_302_ADMIN_CAP_ADDRESS = {
|
|
10651
10795
|
[Stage.MAINNET]: "0xece25d7e8aad8a6295a7821bd4b7f29896714c3fc8472a5e7dbb19d67ff77e00",
|
|
10652
10796
|
[Stage.TESTNET]: "0x791622d24d7ec1c33beea371f7d2e1d8cffaaa6596a785f61684227ccd379270",
|
|
10653
|
-
[Stage.SANDBOX]: "
|
|
10797
|
+
[Stage.SANDBOX]: "0x37185ede787a522a9efcc25b71f4509b978365575f24ed96341f6f12568bf113"
|
|
10654
10798
|
};
|
|
10655
10799
|
var OBJECT_ULN_302_VERIFICATION_ADDRESS = {
|
|
10656
10800
|
[Stage.MAINNET]: "0x2e672e3cb4f4992b3e790ce50c7b3e464a60633ca5f68de3039cc5f20116f6e7",
|
|
10657
10801
|
[Stage.TESTNET]: "0xf308d39e3bab9ec37019d955c31abac6b3e7444f915a77be203f92c1d6a9a67e",
|
|
10658
|
-
[Stage.SANDBOX]: "
|
|
10802
|
+
[Stage.SANDBOX]: "0x87de0d33cd9a38b7637ae96f98fadb5b041c58950897982f3b42da8fc44085bf"
|
|
10659
10803
|
};
|
|
10660
10804
|
var OBJECT_ULN_302_PTB_BUILDER_ADDRESS = {
|
|
10661
10805
|
[Stage.MAINNET]: "0xb41c8c88899debceb5982ff0333a0026bb68159758af8557ee1b12433f539ec8",
|
|
10662
10806
|
[Stage.TESTNET]: "0x44c82a3a33294c1ac36f1baf931f57ec0a60bb183b5474211b8397465e3dffac",
|
|
10663
|
-
[Stage.SANDBOX]: "
|
|
10807
|
+
[Stage.SANDBOX]: "0xec9d3b3fa7b446d7b9f75364dc5695e7f94b0bc077ed22d347e6a5b5d6cd39ed"
|
|
10664
10808
|
};
|
|
10665
10809
|
var OBJECT_TREASURY_ADDRESS = {
|
|
10666
10810
|
[Stage.MAINNET]: "0xa6fd139692050fb7fea2a5d924d5cc637b2b617982b1537b98ab51f6074a6335",
|
|
10667
10811
|
[Stage.TESTNET]: "0xa082a4eac93a7525738511f7a00816f982545296175e54be355f813eebe20691",
|
|
10668
|
-
[Stage.SANDBOX]: "
|
|
10812
|
+
[Stage.SANDBOX]: "0x66f35bee05e83f27ddd79eaa4f6750e4fcd2d9de3853955cb0228ceb6934cdc9"
|
|
10669
10813
|
};
|
|
10670
10814
|
var OBJECT_TREASURY_ADMIN_CAP_ADDRESS = {
|
|
10671
10815
|
[Stage.MAINNET]: "0x6fafabbb6f8dd963fb926b2075de90ed86e550bc67c900768e6b4c6002bc2b7d",
|
|
10672
10816
|
[Stage.TESTNET]: "0x3ec6669b54589abb6d12aa338c4f2962a5d1ab835e6385242698f3efd9ae2582",
|
|
10673
|
-
[Stage.SANDBOX]: "
|
|
10817
|
+
[Stage.SANDBOX]: "0x9069df2eb35275ce98959754d67c3bcb50a2b156b36ba16084ed2329397a03be"
|
|
10674
10818
|
};
|
|
10675
10819
|
var OBJECT_BLOCKED_MESSAGE_LIB_ADDRESS = {
|
|
10676
10820
|
[Stage.MAINNET]: "0x48761f1a6591f4ad761f8ef9ec85ad6d5255805c35d4c9a90c97c40e7820aa85",
|
|
10677
10821
|
[Stage.TESTNET]: "0xcc83422f225aef3300596dae1119510cf56d620a686dc1e73c9db15c49d70e31",
|
|
10678
|
-
[Stage.SANDBOX]: "
|
|
10822
|
+
[Stage.SANDBOX]: "0xd1387ba23ac45298d45bb972797e50fc9880cfeaae28b7980837fd7c97fc5bb4"
|
|
10679
10823
|
};
|
|
10680
10824
|
var OBJECT_BLOCKED_MESSAGE_LIB_PTB_BUILDER_ADDRESS = {
|
|
10681
10825
|
[Stage.MAINNET]: "0xba9a66cdc77ae59264b7481e6d0d04426f380169b9afbb5176aaf58718fad6d1",
|
|
10682
10826
|
[Stage.TESTNET]: "0x28d0ec1e88734b94e38d2a8305cb89b9e81bdee41f71f4159166e99f058758c5",
|
|
10683
|
-
[Stage.SANDBOX]: "
|
|
10827
|
+
[Stage.SANDBOX]: "0x5996c6aed01724917a71b6405f826b587e0691c3b359999a2d907a5d9d76dc45"
|
|
10684
10828
|
};
|
|
10685
10829
|
var OBJECT_DISCOVERY_ADDRESS = {
|
|
10686
10830
|
[Stage.MAINNET]: "",
|
|
@@ -10690,47 +10834,47 @@ var OBJECT_DISCOVERY_ADDRESS = {
|
|
|
10690
10834
|
var OBJECT_COUNTER_ADDRESS = {
|
|
10691
10835
|
[Stage.MAINNET]: "0xe44f7b2ff80b8450e0d09ec84198dd22d9e2ad6e9c9688d2db605736b99ae965",
|
|
10692
10836
|
[Stage.TESTNET]: "0x85e63925789db09ee8021dfa66cb61a31913861b4abf7d97689061cf113ca61a",
|
|
10693
|
-
[Stage.SANDBOX]: "
|
|
10837
|
+
[Stage.SANDBOX]: "0xb1fd0b83e4f2caeac935c1bfcbab4bd51e7094692a03ff5e6d38a287dd44d14d"
|
|
10694
10838
|
};
|
|
10695
10839
|
var OBJECT_COUNTER_OAPP_ADDRESS = {
|
|
10696
10840
|
[Stage.MAINNET]: "0x84e16eed83a2e9787860bd0324a3a69adc9ec181e5f7f2bfcca11222c113414c",
|
|
10697
10841
|
[Stage.TESTNET]: "0xf96322c7067fb9dbd77c7cc62bd35490dc86db507837b4310eacaef3b327ce75",
|
|
10698
|
-
[Stage.SANDBOX]: "
|
|
10842
|
+
[Stage.SANDBOX]: "0x7ed672a4b4cb93b4d9fea96d4c084a41914683c1296632979f5afde9f825e615"
|
|
10699
10843
|
};
|
|
10700
10844
|
var OBJECT_COUNTER_ADMIN_CAP_ADDRESS = {
|
|
10701
10845
|
[Stage.MAINNET]: "0x7c1250bbfb0e72ff58985112746d361ad729ac6f47a404c76d4e447b93b49984",
|
|
10702
10846
|
[Stage.TESTNET]: "0x63350eccf073e3b86ab7dd04566e8b62d4fa184f633ef383998b3230f66cc1de",
|
|
10703
|
-
[Stage.SANDBOX]: "
|
|
10847
|
+
[Stage.SANDBOX]: "0xf89933e854a6078d77328a6805f425a995b938839ec2ae0baea29188132a368b"
|
|
10704
10848
|
};
|
|
10705
10849
|
var OBJECT_ENDPOINT_ADMIN_CAP_ADDRESS = {
|
|
10706
10850
|
[Stage.MAINNET]: "0x78d0ef45ccf4e6247162c09aa73ea0bb59467057960c23fe41a976ca67e916ab",
|
|
10707
10851
|
[Stage.TESTNET]: "0xe91a479f58bd7335f620d45488bc713fd0e25ac37c1c282a8150c301dac97453",
|
|
10708
|
-
[Stage.SANDBOX]: "
|
|
10852
|
+
[Stage.SANDBOX]: "0x1cbd6b57d81ec53aafe3b53083247e082095e7257158a3a553afee00f7936e10"
|
|
10709
10853
|
};
|
|
10710
10854
|
var OBJECT_ENDPOINT_PTB_BUILDER_ADDRESS = {
|
|
10711
10855
|
[Stage.MAINNET]: "0x2954f9997631409cf067785477b800ced4a2a9ccc75032076f8129ee07ca2caa",
|
|
10712
10856
|
[Stage.TESTNET]: "0x060ba8cc7a0e858c138ff00391bfec71dc863ac7d35cb36b14f4e52987cb9542",
|
|
10713
|
-
[Stage.SANDBOX]: "
|
|
10857
|
+
[Stage.SANDBOX]: "0x94375b6e0f8391d9ab2ddde67e87f3ced36501f5bff5e52ed0e78de8271ad4c1"
|
|
10714
10858
|
};
|
|
10715
10859
|
var OBJECT_ENDPOINT_PTB_BUILDER_ADMIN_CAP_ADDRESS = {
|
|
10716
10860
|
[Stage.MAINNET]: "0x2a705654d837e75ee88e1f03003cccf3faa9a683cf0434468745532cc55e148f",
|
|
10717
10861
|
[Stage.TESTNET]: "0xd5da31144a1a30e4fea6ad9074b04fc732d95ee4f84575ade95ec524ee351abf",
|
|
10718
|
-
[Stage.SANDBOX]: "
|
|
10862
|
+
[Stage.SANDBOX]: "0xe2d9b209f13578fff11c13157f2f7835a2ccb168d2109a4d9e4bbb462afa9312"
|
|
10719
10863
|
};
|
|
10720
10864
|
var OBJECT_DVN_ADDRESS = {
|
|
10721
10865
|
[Stage.MAINNET]: "0x607471cac2ed025cbb2874cd5a175e6000939747097bbd0ea89664c1fbe9672c",
|
|
10722
10866
|
[Stage.TESTNET]: "0xd97457fdd827f0b9d9c35cb9b6a8560364822c57545a10be53106dfc7c26f2b4",
|
|
10723
|
-
[Stage.SANDBOX]: "
|
|
10867
|
+
[Stage.SANDBOX]: "0xa06efc99834a154dbf14b361b4756fcd3776e4e026061f1822bcbd31f22b2180"
|
|
10724
10868
|
};
|
|
10725
10869
|
var OBJECT_DVN_CAP_ADDRESS = {
|
|
10726
10870
|
[Stage.MAINNET]: "0x67d3d9e3537fc8ad2efd674bdce3b7f98ba2892971ab91a6f3bb611844dcc2e1",
|
|
10727
10871
|
[Stage.TESTNET]: "0x6b29694aaf32600eba62f0f91aed2c31a7c34540a513403f23351a8cd1372d3c",
|
|
10728
|
-
[Stage.SANDBOX]: "
|
|
10872
|
+
[Stage.SANDBOX]: "0x52a58cb5b9a2b536fec209ea5fe9fc2f39481815a1d1359afc9e0bb6098d3fce"
|
|
10729
10873
|
};
|
|
10730
10874
|
var OBJECT_DVN_FEE_LIB_ADDRESS = {
|
|
10731
10875
|
[Stage.MAINNET]: "0x5ff9119265b39b59260a7f1df2b7af5390f39fb33aeaf8b099e1ddc6673da1f0",
|
|
10732
10876
|
[Stage.TESTNET]: "0xc0f5802549ca974579ff193affff53a1566fffc1586f83584fc3432f85dc4859",
|
|
10733
|
-
[Stage.SANDBOX]: "
|
|
10877
|
+
[Stage.SANDBOX]: "0x7139454ba97e3d5dc4331ea1f6272d84fd5dc612df046c91a524af22614a40a4"
|
|
10734
10878
|
};
|
|
10735
10879
|
var OBJECT_DVN_FEE_LIB_ADMIN_CAP_ADDRESS = {
|
|
10736
10880
|
[Stage.MAINNET]: "",
|
|
@@ -10740,22 +10884,22 @@ var OBJECT_DVN_FEE_LIB_ADMIN_CAP_ADDRESS = {
|
|
|
10740
10884
|
var OBJECT_EXECUTOR_ADDRESS = {
|
|
10741
10885
|
[Stage.MAINNET]: "0xf5848ad4863f3594a96b4af26ab8d47414e5d17a9da76db1ab1489f1db3a75ae",
|
|
10742
10886
|
[Stage.TESTNET]: "0x69c3cd711b6730e699e2423a15f75c0fc9d96b3f6596bca140452184381a4abe",
|
|
10743
|
-
[Stage.SANDBOX]: "
|
|
10887
|
+
[Stage.SANDBOX]: "0xc09fe091d2ff0d3f3650c16ff0f63f6115ed4b7861b0eb2e5f33b6d2727ca851"
|
|
10744
10888
|
};
|
|
10745
10889
|
var OBJECT_EXECUTOR_CAP_ADDRESS = {
|
|
10746
10890
|
[Stage.MAINNET]: "0x4f86b866513949acb7728b33dc9334c9b0439c5f368f527b99db3cbf69a0282f",
|
|
10747
10891
|
[Stage.TESTNET]: "0x19bf02f900658874be5cb12af901008420c8e09fce73bfd9359dd78914a33eda",
|
|
10748
|
-
[Stage.SANDBOX]: "
|
|
10892
|
+
[Stage.SANDBOX]: "0x020db845242f35f1dbf772297d33efb0df1b26d68c97c4dffb5e8c3e84160ba3"
|
|
10749
10893
|
};
|
|
10750
10894
|
var OBJECT_EXECUTOR_OWNER_CAP_ADDRESS = {
|
|
10751
10895
|
[Stage.MAINNET]: "0x26082897ee964836468287f28e091078257d4fa27a6b309321b3d171cef3850d",
|
|
10752
10896
|
[Stage.TESTNET]: "0x6bbd9c69eaa8e52245a7c248c04847b0e1d31ed6945f5e2ada2e4d83c2f4c655",
|
|
10753
|
-
[Stage.SANDBOX]: "
|
|
10897
|
+
[Stage.SANDBOX]: "0x631e2d450a0eee2a1c43a761bab538e7012c71a8015fb88464525dba159f7fe7"
|
|
10754
10898
|
};
|
|
10755
10899
|
var OBJECT_EXECUTOR_FEE_LIB_ADDRESS = {
|
|
10756
10900
|
[Stage.MAINNET]: "0x1d505d1cfdd0ac8938826269b93c35cec0cd97ba783e073fa3b0206b35ca0378",
|
|
10757
10901
|
[Stage.TESTNET]: "0x8826aad865a485ec779b5f08c74c07dbad3063f58f7b66c5f099137af7024519",
|
|
10758
|
-
[Stage.SANDBOX]: "
|
|
10902
|
+
[Stage.SANDBOX]: "0xb342c3d800a9227826e09676e2d91b3e83f1f77e27ffac06d038eef8571229ca"
|
|
10759
10903
|
};
|
|
10760
10904
|
var OBJECT_EXECUTOR_FEE_LIB_ADMIN_CAP_ADDRESS = {
|
|
10761
10905
|
[Stage.MAINNET]: "",
|
|
@@ -10765,22 +10909,22 @@ var OBJECT_EXECUTOR_FEE_LIB_ADMIN_CAP_ADDRESS = {
|
|
|
10765
10909
|
var OBJECT_PRICE_FEED_ADDRESS = {
|
|
10766
10910
|
[Stage.MAINNET]: "0x17a24b91f720a8f170386d920df3c605fe7a0b96e43424283b30b11ced0f0156",
|
|
10767
10911
|
[Stage.TESTNET]: "0x10e0e26966b7eee36e0009e67c0deeb8f7e5ea1a42ecefca53bf2d5d22031ba4",
|
|
10768
|
-
[Stage.SANDBOX]: "
|
|
10912
|
+
[Stage.SANDBOX]: "0xa53617122779a7c44b7301a14b44d6d126c66e8b26c4df7444b9eb2b2bb61515"
|
|
10769
10913
|
};
|
|
10770
10914
|
var OBJECT_PRICE_FEED_OWNER_CAP_ADDRESS = {
|
|
10771
10915
|
[Stage.MAINNET]: "0x809d4b17a59a2b832b9222b09d4d6d805b6b2aaf340b6a52babea814ef5637a4",
|
|
10772
10916
|
[Stage.TESTNET]: "0x6d42367426b654045c2c9eccf622caf43e552b3f983bbd293b1ef362e82504bd",
|
|
10773
|
-
[Stage.SANDBOX]: "
|
|
10917
|
+
[Stage.SANDBOX]: "0x9db7ac219a6e859a66a1957871d939d1d63406b89f9fd79bcd6580c9c3717328"
|
|
10774
10918
|
};
|
|
10775
10919
|
var OBJECT_PACKAGE_WHITELIST_VALIDATOR_ADDRESS = {
|
|
10776
10920
|
[Stage.MAINNET]: "0x9d29be17482e050324db3a4b10755e4adc5a1aa062ed80528e0fbe94654055b5",
|
|
10777
10921
|
[Stage.TESTNET]: "0xcdbefbceffe2d9f0c0d46733ef4be0145e7af60241962738e98f136bff1557e2",
|
|
10778
|
-
[Stage.SANDBOX]: "
|
|
10922
|
+
[Stage.SANDBOX]: "0x2e2bf278982d6ece041f5affcdfca54bbd1484324efd6acba4853a3d892b1855"
|
|
10779
10923
|
};
|
|
10780
10924
|
var OBJECT_WORKER_REGISTRY_ADDRESS = {
|
|
10781
10925
|
[Stage.MAINNET]: "",
|
|
10782
10926
|
[Stage.TESTNET]: "",
|
|
10783
|
-
[Stage.SANDBOX]: "
|
|
10927
|
+
[Stage.SANDBOX]: "0x55bb2926901fa69afb1466b39d0d9acb3a2ea15b0164b8770d05505781251c7a"
|
|
10784
10928
|
};
|
|
10785
10929
|
|
|
10786
10930
|
// src/resource.ts
|