@layerzerolabs/layerzero-v2-ton 3.0.21-ton.0 → 3.0.22-ton.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@layerzerolabs/layerzero-v2-ton",
3
- "version": "3.0.21-ton.0",
3
+ "version": "3.0.22-ton.0",
4
4
  "exports": {
5
5
  ".": {
6
6
  "types": "./dist/index.d.ts",
@@ -20,9 +20,9 @@ cell lz::Path::New(int srcEid, int srcOApp, int dstEid, int dstOApp) inline meth
20
20
  lz::Path::NAME,
21
21
  unsafeTuple([
22
22
  [cl::t::uint32, srcEid], ;; lz::Path::srcEid
23
- [cl::t::uint256, srcOApp], ;; lz::Path::srcOApp
23
+ [cl::t::address, srcOApp], ;; lz::Path::srcOApp
24
24
  [cl::t::uint32, dstEid], ;; lz::Path::dstEid
25
- [cl::t::uint256, dstOApp] ;; lz::Path::dstOApp
25
+ [cl::t::address, dstOApp] ;; lz::Path::dstOApp
26
26
  ])
27
27
  );
28
28
  }
@@ -13,6 +13,7 @@ const int cl::t::address = cl::t::uint256;
13
13
  const int cl::t::cellRef = 9;
14
14
  const int cl::t::dict256 = cl::t::cellRef;
15
15
  const int cl::t::objRef = cl::t::cellRef;
16
+ const int cl::t::addressList = cl::t::cellRef;
16
17
  const int INVALID_TYPE = 13;
17
18
 
18
19
  const int DICT256_KEYLEN = 256;
@@ -18,9 +18,9 @@ cell DvnFeesPaidEvent::New(
18
18
  return cl::declare(
19
19
  DvnFeesPaidEvent::NAME,
20
20
  unsafeTuple([
21
- [cl::t::objRef, requiredDVNs], ;; DvnFeesPaidEvent::requiredDVNs
22
- [cl::t::objRef, optionalDVNs], ;; DvnFeesPaidEvent::optionalDVNs
23
- [cl::t::objRef, serializedPayees] ;; DvnFeesPaidEvent::serializedPayees
21
+ [cl::t::addressList, requiredDVNs], ;; DvnFeesPaidEvent::requiredDVNs
22
+ [cl::t::addressList, optionalDVNs], ;; DvnFeesPaidEvent::optionalDVNs
23
+ [cl::t::objRef, serializedPayees] ;; DvnFeesPaidEvent::serializedPayees
24
24
  ])
25
25
  );
26
26
  }
@@ -12,7 +12,7 @@ cell md::SetAdminWorkerAddresses::New(cell adminWorkers) inline method_id {
12
12
  return cl::declare(
13
13
  md::SetAdminWorkerAddresses::NAME,
14
14
  unsafeTuple([
15
- [cl::t::cellRef, adminWorkers] ;; md::SetAdminWorkerAddresses::adminWorkers
15
+ [cl::t::addressList, adminWorkers] ;; md::SetAdminWorkerAddresses::adminWorkers
16
16
  ])
17
17
  );
18
18
  }
@@ -71,9 +71,9 @@ cell UlnReceiveConfig::New(
71
71
  [cl::t::bool, confirmationsNull], ;; UlnReceiveConfig::confirmationsNull
72
72
  [cl::t::uint64, confirmations], ;; UlnReceiveConfig::confirmations
73
73
  [cl::t::bool, requiredDVNsNull], ;; UlnReceiveConfig::requiredDVNsNull
74
- [cl::t::cellRef, requiredDVNs], ;; UlnReceiveConfig::requiredDVNs
74
+ [cl::t::addressList, requiredDVNs], ;; UlnReceiveConfig::requiredDVNs
75
75
  [cl::t::bool, optionalDVNsNull], ;; UlnReceiveConfig::optionalDVNsNull
76
- [cl::t::cellRef, optionalDVNs], ;; UlnReceiveConfig::requiredDVNs
76
+ [cl::t::addressList, optionalDVNs], ;; UlnReceiveConfig::requiredDVNs
77
77
  [cl::t::uint8, optionalDVNThreshold] ;; UlnReceiveConfig::optionalDVNThreshold
78
78
  ])
79
79
  );
@@ -50,9 +50,9 @@ cell UlnSendConfig::New(
50
50
  [cl::t::bool, executorNull], ;; lz::UlnSendConfig::executorNull
51
51
  [cl::t::address, executor], ;; lz::UlnSendConfig::executor
52
52
  [cl::t::bool, requiredDVNsNull], ;; lz::UlnSendConfig::requiredDVNsNull
53
- [cl::t::cellRef, requiredDVNs], ;; lz::UlnSendConfig::requiredDVNs
53
+ [cl::t::addressList, requiredDVNs], ;; lz::UlnSendConfig::requiredDVNs
54
54
  [cl::t::bool, optionalDVNsNull], ;; lz::UlnSendConfig::optionalDVNsNull
55
- [cl::t::cellRef, optionalDVNs], ;; lz::UlnSendConfig::optionalDVNs
55
+ [cl::t::addressList, optionalDVNs], ;; lz::UlnSendConfig::optionalDVNs
56
56
  [cl::t::bool, confirmationsNull], ;; lz::UlnSendConfig::confirmationsNull
57
57
  [cl::t::uint64, confirmations] ;; lz::UlnSendConfig::confirmations
58
58
  ])
@@ -37,7 +37,7 @@ cell UlnManager::New(
37
37
  [cl::t::cellRef, empty_cell()], ;; UlnManager::endpointCode
38
38
  [cl::t::cellRef, empty_cell()], ;; UlnManager::channelCode
39
39
  [cl::t::dict256, cl::dict256::New()], ;; UlnManager::workerBytecodes
40
- [cl::t::cellRef, empty_cell()], ;; UlnManager::adminWorkers
40
+ [cl::t::addressList, empty_cell()], ;; UlnManager::adminWorkers
41
41
  [cl::t::address, NULLADDRESS] ;; UlnManager::tentativeOwner
42
42
  ])
43
43
  );
@@ -24,7 +24,7 @@ cell WorkerCoreStorage::New(cell admins, int proxy, int version) inline method_i
24
24
  return cl::declare(
25
25
  WorkerCoreStorage::NAME,
26
26
  unsafeTuple([
27
- [cl::t::cellRef, admins], ;; WorkerCoreStorage::admins
27
+ [cl::t::addressList, admins], ;; WorkerCoreStorage::admins
28
28
  [cl::t::address, proxy], ;; WorkerCoreStorage::proxy
29
29
  [cl::t::uint256, version] ;; WorkerCoreStorage::version
30
30
  ])