@layerzerolabs/layerzero-v2-ton 3.0.57 → 3.0.59
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/build/Dvn.compiled.json +1 -1
- package/build/Dvn.test.compiled.json +1 -1
- package/build/DvnPermissions.test.compiled.json +1 -1
- package/build/Executor.compiled.json +1 -1
- package/build/Executor.test.compiled.json +1 -1
- package/build/ExecutorPermissions.test.compiled.json +1 -1
- package/build/PriceFeedCache.compiled.json +1 -1
- package/build/PriceFeedCache.test.compiled.json +1 -1
- package/build/PriceFeedCache.test.permissions.compiled.json +1 -1
- package/build/WorkerCore.test.compiled.json +1 -1
- package/package.json +1 -1
- package/src/workers/core/abstract/workerHandler.fc +3 -3
- package/src/workers/priceFeedCache/handler.fc +8 -8
|
@@ -44,12 +44,12 @@ tuple updatePrice(cell $mdAddress) impure inline {
|
|
|
44
44
|
int gasPerByte
|
|
45
45
|
) = PriceFeedFeelib::utils::getFirstThreeFields($ulnPriceFeed);
|
|
46
46
|
|
|
47
|
-
cell $
|
|
47
|
+
cell $newPfStorage = $storage
|
|
48
48
|
.PriceFeedCache::getPriceFeedFeeLibStorage()
|
|
49
49
|
.PriceFeedFeelib::setFirstThreeFields(priceRatio, gasPriceInUnit, gasPerByte);
|
|
50
50
|
|
|
51
51
|
setContractStorage(
|
|
52
|
-
$storage.PriceFeedCache::setPriceFeedFeeLibStorage($
|
|
52
|
+
$storage.PriceFeedCache::setPriceFeedFeeLibStorage($newPfStorage)
|
|
53
53
|
);
|
|
54
54
|
|
|
55
55
|
;; call into the proxy to update the priceFeedFeeLib
|
|
@@ -57,9 +57,9 @@ tuple updatePrice(cell $mdAddress) impure inline {
|
|
|
57
57
|
actions,
|
|
58
58
|
md::ExecuteParams::build(
|
|
59
59
|
targetAddress, ;; usually the uln
|
|
60
|
-
$
|
|
60
|
+
$newPfStorage, ;; new priceFeedFeeLib storage
|
|
61
61
|
0,
|
|
62
|
-
Uln::OP::
|
|
62
|
+
Uln::OP::SET_WORKER_FEELIB_STORAGE,
|
|
63
63
|
NULLADDRESS
|
|
64
64
|
)
|
|
65
65
|
);
|
|
@@ -86,7 +86,7 @@ tuple updateNativePrice(cell $mdAddress) impure inline {
|
|
|
86
86
|
targetAddress, ;; usually the uln
|
|
87
87
|
$newPfStorage, ;; new priceFeedFeeLib storage
|
|
88
88
|
0,
|
|
89
|
-
Uln::OP::
|
|
89
|
+
Uln::OP::SET_WORKER_FEELIB_STORAGE,
|
|
90
90
|
NULLADDRESS
|
|
91
91
|
)
|
|
92
92
|
);
|
|
@@ -140,7 +140,7 @@ tuple updateOpPrices(cell $mdAddress) impure inline {
|
|
|
140
140
|
targetAddress, ;; usually the uln
|
|
141
141
|
$newPfStorage, ;; new priceFeedFeeLib storage
|
|
142
142
|
0,
|
|
143
|
-
Uln::OP::
|
|
143
|
+
Uln::OP::SET_WORKER_FEELIB_STORAGE,
|
|
144
144
|
NULLADDRESS
|
|
145
145
|
)
|
|
146
146
|
);
|
|
@@ -178,7 +178,7 @@ tuple updateOpNativePrices(cell $mdAddress) impure inline {
|
|
|
178
178
|
targetAddress, ;; usually the uln
|
|
179
179
|
$newPfStorage, ;; new priceFeedFeeLib storage
|
|
180
180
|
0,
|
|
181
|
-
Uln::OP::
|
|
181
|
+
Uln::OP::SET_WORKER_FEELIB_STORAGE,
|
|
182
182
|
NULLADDRESS
|
|
183
183
|
)
|
|
184
184
|
);
|
|
@@ -206,7 +206,7 @@ tuple updateArbExtension(cell $mdAddress) impure inline {
|
|
|
206
206
|
targetAddress, ;; usually the uln
|
|
207
207
|
$newPfStorage, ;; new priceFeedFeeLib storage
|
|
208
208
|
0,
|
|
209
|
-
Uln::OP::
|
|
209
|
+
Uln::OP::SET_WORKER_FEELIB_STORAGE,
|
|
210
210
|
NULLADDRESS
|
|
211
211
|
)
|
|
212
212
|
);
|