@layerzerolabs/lz-ton-sdk-v2 3.0.42 → 3.0.44
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/artifacts/AllStorages.compiled.json +1 -1
- package/artifacts/Dvn.compiled.json +1 -1
- package/artifacts/DvnFeeLib.compiled.json +1 -1
- package/artifacts/Executor.compiled.json +1 -1
- package/artifacts/ExecutorFeeLib.compiled.json +1 -1
- package/artifacts/PriceFeedFeeLibArbitrum.compiled.json +1 -0
- package/artifacts/PriceFeedFeeLibDefault.compiled.json +1 -0
- package/artifacts/PriceFeedFeeLibOptimism.compiled.json +1 -0
- package/artifacts/Proxy.compiled.json +1 -1
- package/deployments/ton-sandbox-local/AllStorages.json +1 -1
- package/deployments/ton-sandbox-local/Dvn.json +2 -2
- package/deployments/ton-sandbox-local/DvnProxy.json +2 -2
- package/deployments/ton-sandbox-local/Executor.json +2 -2
- package/deployments/ton-sandbox-local/ExecutorProxy.json +2 -2
- package/deployments/ton-testnet/AllStorages.json +1 -1
- package/deployments/ton-testnet/Dvn.json +2 -2
- package/deployments/ton-testnet/DvnProxy.json +2 -2
- package/deployments/ton-testnet/Executor.json +2 -2
- package/deployments/ton-testnet/ExecutorProxy.json +2 -2
- package/dist/index.cjs +70 -26
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +262 -98
- package/dist/index.d.ts +262 -98
- package/dist/index.mjs +70 -26
- package/dist/index.mjs.map +1 -1
- package/package.json +5 -5
- package/artifacts/PriceFeedCache.compiled.json +0 -1
- package/artifacts/PriceFeedFeeLib.compiled.json +0 -1
- package/deployments/ton-sandbox-local/PriceFeedCache.json +0 -9
- package/deployments/ton-sandbox-local/PriceFeedCacheProxy.json +0 -9
- package/deployments/ton-testnet/PriceFeedCache.json +0 -9
- package/deployments/ton-testnet/PriceFeedCacheProxy.json +0 -9
package/dist/index.mjs
CHANGED
|
@@ -8359,7 +8359,7 @@ var tonObjects = {
|
|
|
8359
8359
|
fieldType: "cl::t::uint64"
|
|
8360
8360
|
},
|
|
8361
8361
|
1: {
|
|
8362
|
-
fieldName: "DvnFeelib::
|
|
8362
|
+
fieldName: "DvnFeelib::remoteGas",
|
|
8363
8363
|
fieldType: "cl::t::uint64"
|
|
8364
8364
|
},
|
|
8365
8365
|
2: {
|
|
@@ -8394,6 +8394,17 @@ var tonObjects = {
|
|
|
8394
8394
|
fieldType: "cl::t::uint64"
|
|
8395
8395
|
}
|
|
8396
8396
|
},
|
|
8397
|
+
ArbitrumPriceFeedExtension: {
|
|
8398
|
+
name: "ArbFeeExt",
|
|
8399
|
+
0: {
|
|
8400
|
+
fieldName: "ArbitrumPriceFeedExtension::gasPerL2Tx",
|
|
8401
|
+
fieldType: "cl::t::uint64"
|
|
8402
|
+
},
|
|
8403
|
+
1: {
|
|
8404
|
+
fieldName: "ArbitrumPriceFeedExtension::gasPerL1CallDataByte",
|
|
8405
|
+
fieldType: "cl::t::uint32"
|
|
8406
|
+
}
|
|
8407
|
+
},
|
|
8397
8408
|
PriceFeedFeelib: {
|
|
8398
8409
|
name: "PFFeelib",
|
|
8399
8410
|
0: {
|
|
@@ -8401,7 +8412,7 @@ var tonObjects = {
|
|
|
8401
8412
|
fieldType: "cl::t::coins"
|
|
8402
8413
|
},
|
|
8403
8414
|
1: {
|
|
8404
|
-
fieldName: "PriceFeedFeelib::
|
|
8415
|
+
fieldName: "PriceFeedFeelib::gasPriceInRemoteUnit",
|
|
8405
8416
|
fieldType: "cl::t::uint64"
|
|
8406
8417
|
},
|
|
8407
8418
|
2: {
|
|
@@ -8411,6 +8422,14 @@ var tonObjects = {
|
|
|
8411
8422
|
3: {
|
|
8412
8423
|
fieldName: "PriceFeedFeelib::nativePriceUsd",
|
|
8413
8424
|
fieldType: "cl::t::coins"
|
|
8425
|
+
},
|
|
8426
|
+
4: {
|
|
8427
|
+
fieldName: "PriceFeedFeelib::arbitrumExtension",
|
|
8428
|
+
fieldType: "cl::t::objRef"
|
|
8429
|
+
},
|
|
8430
|
+
5: {
|
|
8431
|
+
fieldName: "PriceFeedFeelib::optimismExtension",
|
|
8432
|
+
fieldType: "cl::t::objRef"
|
|
8414
8433
|
}
|
|
8415
8434
|
},
|
|
8416
8435
|
WorkerCoreStorage: {
|
|
@@ -8477,17 +8496,6 @@ var tonObjects = {
|
|
|
8477
8496
|
fieldType: "cl::t::address"
|
|
8478
8497
|
}
|
|
8479
8498
|
},
|
|
8480
|
-
"md::DropEvent": {
|
|
8481
|
-
name: "DropEvent",
|
|
8482
|
-
0: {
|
|
8483
|
-
fieldName: "md::DropEvent::nativeAmount",
|
|
8484
|
-
fieldType: "cl::t::coins"
|
|
8485
|
-
},
|
|
8486
|
-
1: {
|
|
8487
|
-
fieldName: "md::DropEvent::receiver",
|
|
8488
|
-
fieldType: "cl::t::address"
|
|
8489
|
-
}
|
|
8490
|
-
},
|
|
8491
8499
|
"md::ExecuteParams": {
|
|
8492
8500
|
name: "execParams",
|
|
8493
8501
|
0: {
|
|
@@ -8516,6 +8524,14 @@ var tonObjects = {
|
|
|
8516
8524
|
0: {
|
|
8517
8525
|
fieldName: "md::NativeDrop::payees",
|
|
8518
8526
|
fieldType: "cl::t::cellRef"
|
|
8527
|
+
},
|
|
8528
|
+
1: {
|
|
8529
|
+
fieldName: "md::NativeDrop::packetId",
|
|
8530
|
+
fieldType: "cl::t::objRef"
|
|
8531
|
+
},
|
|
8532
|
+
2: {
|
|
8533
|
+
fieldName: "md::NativeDrop::msglib",
|
|
8534
|
+
fieldType: "cl::t::address"
|
|
8519
8535
|
}
|
|
8520
8536
|
},
|
|
8521
8537
|
"md::SetDict": {
|
|
@@ -8576,6 +8592,10 @@ var tonObjects = {
|
|
|
8576
8592
|
1: {
|
|
8577
8593
|
fieldName: "PriceFeedCache::priceFeedFeeLibStorage",
|
|
8578
8594
|
fieldType: "cl::t::objRef"
|
|
8595
|
+
},
|
|
8596
|
+
2: {
|
|
8597
|
+
fieldName: "PriceFeedCache::dstEid",
|
|
8598
|
+
fieldType: "cl::t::uint32"
|
|
8579
8599
|
}
|
|
8580
8600
|
},
|
|
8581
8601
|
Proxy: {
|
|
@@ -9010,6 +9030,10 @@ var tonResolvedObjects = {
|
|
|
9010
9030
|
fieldName: "PriceFeedCache::priceFeedFeeLibStorage",
|
|
9011
9031
|
fieldType: "PriceFeedFeelib"
|
|
9012
9032
|
},
|
|
9033
|
+
"2": {
|
|
9034
|
+
fieldName: "PriceFeedCache::dstEid",
|
|
9035
|
+
fieldType: "cl::t::uint32"
|
|
9036
|
+
},
|
|
9013
9037
|
name: "pfCache"
|
|
9014
9038
|
},
|
|
9015
9039
|
PriceFeedFeelib: {
|
|
@@ -9018,7 +9042,7 @@ var tonResolvedObjects = {
|
|
|
9018
9042
|
fieldType: "cl::t::coins"
|
|
9019
9043
|
},
|
|
9020
9044
|
"1": {
|
|
9021
|
-
fieldName: "PriceFeedFeelib::
|
|
9045
|
+
fieldName: "PriceFeedFeelib::gasPriceInRemoteUnit",
|
|
9022
9046
|
fieldType: "cl::t::uint64"
|
|
9023
9047
|
},
|
|
9024
9048
|
"2": {
|
|
@@ -9029,6 +9053,14 @@ var tonResolvedObjects = {
|
|
|
9029
9053
|
fieldName: "PriceFeedFeelib::nativePriceUsd",
|
|
9030
9054
|
fieldType: "cl::t::coins"
|
|
9031
9055
|
},
|
|
9056
|
+
"4": {
|
|
9057
|
+
fieldName: "PriceFeedFeelib::arbitrumExtension",
|
|
9058
|
+
fieldType: "cl::t::cellRef"
|
|
9059
|
+
},
|
|
9060
|
+
"5": {
|
|
9061
|
+
fieldName: "PriceFeedFeelib::optimismExtension",
|
|
9062
|
+
fieldType: "cl::t::cellRef"
|
|
9063
|
+
},
|
|
9032
9064
|
name: "PFFeelib"
|
|
9033
9065
|
},
|
|
9034
9066
|
"md::UlnWorkerFeelibBytecode": {
|
|
@@ -9162,7 +9194,7 @@ var tonResolvedObjects = {
|
|
|
9162
9194
|
fieldType: "cl::t::uint64"
|
|
9163
9195
|
},
|
|
9164
9196
|
"1": {
|
|
9165
|
-
fieldName: "DvnFeelib::
|
|
9197
|
+
fieldName: "DvnFeelib::remoteGas",
|
|
9166
9198
|
fieldType: "cl::t::uint64"
|
|
9167
9199
|
},
|
|
9168
9200
|
"2": {
|
|
@@ -10199,33 +10231,41 @@ var tonResolvedObjects = {
|
|
|
10199
10231
|
},
|
|
10200
10232
|
name: "UlnExecutr"
|
|
10201
10233
|
},
|
|
10202
|
-
|
|
10234
|
+
ArbitrumPriceFeedExtension: {
|
|
10203
10235
|
"0": {
|
|
10204
|
-
fieldName: "
|
|
10205
|
-
fieldType: "cl::t::
|
|
10236
|
+
fieldName: "ArbitrumPriceFeedExtension::gasPerL2Tx",
|
|
10237
|
+
fieldType: "cl::t::uint64"
|
|
10206
10238
|
},
|
|
10207
10239
|
"1": {
|
|
10208
|
-
fieldName: "
|
|
10209
|
-
fieldType: "cl::t::
|
|
10240
|
+
fieldName: "ArbitrumPriceFeedExtension::gasPerL1CallDataByte",
|
|
10241
|
+
fieldType: "cl::t::uint32"
|
|
10210
10242
|
},
|
|
10211
|
-
name: "
|
|
10243
|
+
name: "ArbFeeExt"
|
|
10212
10244
|
},
|
|
10213
|
-
"md::
|
|
10245
|
+
"md::ClaimTon": {
|
|
10214
10246
|
"0": {
|
|
10215
|
-
fieldName: "md::
|
|
10247
|
+
fieldName: "md::ClaimTon::amount",
|
|
10216
10248
|
fieldType: "cl::t::coins"
|
|
10217
10249
|
},
|
|
10218
10250
|
"1": {
|
|
10219
|
-
fieldName: "md::
|
|
10251
|
+
fieldName: "md::ClaimTon::target",
|
|
10220
10252
|
fieldType: "cl::t::address"
|
|
10221
10253
|
},
|
|
10222
|
-
name: "
|
|
10254
|
+
name: "claimTon"
|
|
10223
10255
|
},
|
|
10224
10256
|
"md::NativeDrop": {
|
|
10225
10257
|
"0": {
|
|
10226
10258
|
fieldName: "md::NativeDrop::payees",
|
|
10227
10259
|
fieldType: "cl::t::cellRef"
|
|
10228
10260
|
},
|
|
10261
|
+
"1": {
|
|
10262
|
+
fieldName: "md::NativeDrop::packetId",
|
|
10263
|
+
fieldType: "cl::t::objRef"
|
|
10264
|
+
},
|
|
10265
|
+
"2": {
|
|
10266
|
+
fieldName: "md::NativeDrop::msglib",
|
|
10267
|
+
fieldType: "cl::t::address"
|
|
10268
|
+
},
|
|
10229
10269
|
name: "NativeDrop"
|
|
10230
10270
|
},
|
|
10231
10271
|
"md::SetDict": {
|
|
@@ -11444,7 +11484,6 @@ var OPCODES = {
|
|
|
11444
11484
|
PriceFeedCache_OP_UPDATE_ARB_EXTENSION: 4188442884n,
|
|
11445
11485
|
Proxy_OP_CALL_CONTRACT: 166741977n,
|
|
11446
11486
|
Proxy_OP_EMIT_EVENT: 3445418055n,
|
|
11447
|
-
Proxy_OP_SEND_TON: 3496427869n,
|
|
11448
11487
|
Proxy_OP_HANDLE_CALLBACK: 542230303n,
|
|
11449
11488
|
Proxy_OP_TOGGLE_CALLBACK: 441875500n
|
|
11450
11489
|
};
|
|
@@ -11574,6 +11613,7 @@ var ERRORS = {
|
|
|
11574
11613
|
Worker_ERROR_invalidOpcode: 2014n,
|
|
11575
11614
|
Worker_ERROR_invalidSignedOpcode: 2013n,
|
|
11576
11615
|
Worker_ERROR_invalidTarget: 2012n,
|
|
11616
|
+
Worker_ERROR_insufficientBalance: 2011n,
|
|
11577
11617
|
Dvn_ERROR_expired: 1983n,
|
|
11578
11618
|
Dvn_ERROR_quorumNotMet: 1982n,
|
|
11579
11619
|
Dvn_ERROR_notEnoughSignatures: 1981n,
|
|
@@ -11736,6 +11776,10 @@ var EVENTS = {
|
|
|
11736
11776
|
stringValue: "Worker::event::CLAIMED_TON",
|
|
11737
11777
|
intValue: 140503173701546074404075967663240763604591069363126264866819918n
|
|
11738
11778
|
},
|
|
11779
|
+
Worker_event_CLAIMED_TON_FROM_PROXY: {
|
|
11780
|
+
stringValue: "Worker::event::CLAIMED_TON_PROXY",
|
|
11781
|
+
intValue: 39548127545415935865827424351890480893511972838984571677679638605365326600281n
|
|
11782
|
+
},
|
|
11739
11783
|
Dvn_event_INVALID_SIGNATURE: {
|
|
11740
11784
|
stringValue: "Dvn::event::INVALID_SIGNATURE",
|
|
11741
11785
|
intValue: 1845748568727425907806402299282562526609276329313036843994008809460293n
|