@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.
@@ -44,12 +44,12 @@ tuple updatePrice(cell $mdAddress) impure inline {
44
44
  int gasPerByte
45
45
  ) = PriceFeedFeelib::utils::getFirstThreeFields($ulnPriceFeed);
46
46
 
47
- cell $pfStorage = $storage
47
+ cell $newPfStorage = $storage
48
48
  .PriceFeedCache::getPriceFeedFeeLibStorage()
49
49
  .PriceFeedFeelib::setFirstThreeFields(priceRatio, gasPriceInUnit, gasPerByte);
50
50
 
51
51
  setContractStorage(
52
- $storage.PriceFeedCache::setPriceFeedFeeLibStorage($pfStorage)
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
- $pfStorage, ;; new priceFeedFeeLib storage
60
+ $newPfStorage, ;; new priceFeedFeeLib storage
61
61
  0,
62
- Uln::OP::UPDATE_WORKER_FEELIB,
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::UPDATE_WORKER_FEELIB,
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::UPDATE_WORKER_FEELIB,
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::UPDATE_WORKER_FEELIB,
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::UPDATE_WORKER_FEELIB,
209
+ Uln::OP::SET_WORKER_FEELIB_STORAGE,
210
210
  NULLADDRESS
211
211
  )
212
212
  );