@layerzerolabs/ton-sdk-tools 3.0.41 → 3.0.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/dist/index.cjs +13 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +13 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @layerzerolabs/ton-sdk-tools
|
|
2
2
|
|
|
3
|
+
## 3.0.43
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- ce4d3d5: Publish new TON packages with new testnet deployments
|
|
8
|
+
|
|
9
|
+
## 3.0.42
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 6dd4df1: deploy aptos mainnet
|
|
14
|
+
|
|
3
15
|
## 3.0.41
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/dist/index.cjs
CHANGED
|
@@ -3197,6 +3197,7 @@ import EndpointArtifact from '@layerzerolabs/layerzero-v2-ton/build/Endpoint.com
|
|
|
3197
3197
|
import ExecutorArtifact from '@layerzerolabs/layerzero-v2-ton/build/Executor.compiled.json'
|
|
3198
3198
|
import ExecutorFeelibArtifact from '@layerzerolabs/layerzero-v2-ton/build/ExecutorFeeLib.compiled.json'
|
|
3199
3199
|
import PriceFeedCacheArtifact from '@layerzerolabs/layerzero-v2-ton/build/PriceFeedCache.compiled.json'
|
|
3200
|
+
import PriceFeedFeeLibDefaultArtifact from '@layerzerolabs/layerzero-v2-ton/build/PriceFeedFeeLibDefault.compiled.json'
|
|
3200
3201
|
import ProxyArtifact from '@layerzerolabs/layerzero-v2-ton/build/Proxy.compiled.json'
|
|
3201
3202
|
import UlnArtifact from '@layerzerolabs/layerzero-v2-ton/build/Uln.compiled.json'
|
|
3202
3203
|
import UlnConnectionArtifact from '@layerzerolabs/layerzero-v2-ton/build/UlnConnection.compiled.json'
|
|
@@ -3455,7 +3456,7 @@ export async function addDvnWorkers(
|
|
|
3455
3456
|
workerFeelibBytecode: cellFromArtifact(DvnFeelibArtifact),
|
|
3456
3457
|
workerFeelibStorage: await allStorages.getNewDvnFeelib({
|
|
3457
3458
|
quorum: BigInt(0),
|
|
3458
|
-
|
|
3459
|
+
remoteGas: BigInt(0),
|
|
3459
3460
|
multiplierBps: BigInt(0),
|
|
3460
3461
|
floorMarginUSD: BigInt(0),
|
|
3461
3462
|
}),
|
|
@@ -3837,6 +3838,7 @@ export async function openAndDeployPriceFeedCacheAndProxy(
|
|
|
3837
3838
|
blockchain: Blockchain,
|
|
3838
3839
|
allStorages: SandboxContract<TonContractWrapper>,
|
|
3839
3840
|
srcFixture: OAppFixture,
|
|
3841
|
+
dstFixture: OAppFixture,
|
|
3840
3842
|
adminSet: SandboxContract<TreasuryContract>[]
|
|
3841
3843
|
): Promise<[SandboxContract<TonContractWrapper>, SandboxContract<TonContractWrapper>, SendMessageResult]> {
|
|
3842
3844
|
// todo: fix this with real values
|
|
@@ -3847,11 +3849,14 @@ export async function openAndDeployPriceFeedCacheAndProxy(
|
|
|
3847
3849
|
// owner: addressToBigInt(srcFixture.multisig.address),
|
|
3848
3850
|
admins: serializeAddressList(adminSet),
|
|
3849
3851
|
version: 0n,
|
|
3852
|
+
dstEid: dstFixture.eid,
|
|
3850
3853
|
priceFeedFeeLib: await allStorages.getNewPriceFeedFeelib({
|
|
3851
3854
|
priceRatio: BigInt(0),
|
|
3852
|
-
|
|
3855
|
+
gasPriceInRemoteUnit: BigInt(0),
|
|
3853
3856
|
gasPerByte: BigInt(0),
|
|
3854
3857
|
nativePriceUsd: BigInt(0),
|
|
3858
|
+
arbitrumExtension: beginCell().endCell(),
|
|
3859
|
+
optimismExtension: beginCell().endCell(),
|
|
3855
3860
|
// priceRatio: BigInt(1851851),
|
|
3856
3861
|
// gasPriceInUnit: BigInt(36000000000),
|
|
3857
3862
|
// gasPerByte: BigInt(1000),
|
|
@@ -4006,6 +4011,7 @@ export async function deployConfigAndRegisterUln(
|
|
|
4006
4011
|
blockchain,
|
|
4007
4012
|
allStorages,
|
|
4008
4013
|
srcFixture,
|
|
4014
|
+
dstFixture,
|
|
4009
4015
|
priceFeedCacheAdmins
|
|
4010
4016
|
)
|
|
4011
4017
|
srcFixture.priceFeedCacheFixture = {
|
|
@@ -4046,7 +4052,7 @@ export async function deployConfigAndRegisterUln(
|
|
|
4046
4052
|
multiSigners,
|
|
4047
4053
|
srcFixture,
|
|
4048
4054
|
await allStorages.getNewMdUlnWorkerFeelibBytecode({
|
|
4049
|
-
bytecode:
|
|
4055
|
+
bytecode: cellFromArtifact(PriceFeedFeeLibDefaultArtifact),
|
|
4050
4056
|
})
|
|
4051
4057
|
)
|
|
4052
4058
|
await eventHandler.addCurrentEventsToAllEvents(internalMsgResults, srcFixture.msglibManager)
|
|
@@ -4150,16 +4156,18 @@ export async function deployConfigAndRegisterUln(
|
|
|
4150
4156
|
target: addressToBigInt(srcFixture.msglibManager.address),
|
|
4151
4157
|
callData: await allStorages.getNewUlnWorkerFeelibInfo({
|
|
4152
4158
|
workerAddress: addressToBigInt(priceFeedCacheProxy.address),
|
|
4153
|
-
workerFeelibBytecode:
|
|
4159
|
+
workerFeelibBytecode: cellFromArtifact(PriceFeedFeeLibDefaultArtifact),
|
|
4154
4160
|
workerFeelibStorage: await allStorages.getNewPriceFeedFeelib({
|
|
4155
4161
|
// priceRatio: BigInt(0),
|
|
4156
4162
|
// gasPriceInUnit: BigInt(0),
|
|
4157
4163
|
// gasPerByte: BigInt(0),
|
|
4158
4164
|
// nativePriceUsd: BigInt(0),
|
|
4159
4165
|
priceRatio: BigInt(1851851),
|
|
4160
|
-
|
|
4166
|
+
gasPriceInRemoteUnit: BigInt(36000000000),
|
|
4161
4167
|
gasPerByte: BigInt(1000),
|
|
4162
4168
|
nativePriceUsd: BigInt(1),
|
|
4169
|
+
arbitrumExtension: beginCell().endCell(),
|
|
4170
|
+
optimismExtension: beginCell().endCell(),
|
|
4163
4171
|
}),
|
|
4164
4172
|
friendWorkerAddress: BigInt(0),
|
|
4165
4173
|
dstEid: dstFixture.eid,
|