@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 +1 -1
- package/src/classes/lz/Path.fc +2 -2
- package/src/funC++/classlib.fc +1 -0
- package/src/protocol/msglibs/ultralightnode/msgdata/DvnFeesPaidEvent.fc +3 -3
- package/src/protocol/msglibs/ultralightnode/msgdata/SetAdminWorkerAddresses.fc +1 -1
- package/src/protocol/msglibs/ultralightnode/msgdata/UlnReceiveConfig.fc +2 -2
- package/src/protocol/msglibs/ultralightnode/msgdata/UlnSendConfig.fc +2 -2
- package/src/protocol/msglibs/ultralightnode/ulnManager/storage.fc +1 -1
- package/src/workers/core/workerCoreStorage.fc +1 -1
package/package.json
CHANGED
package/src/classes/lz/Path.fc
CHANGED
|
@@ -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::
|
|
23
|
+
[cl::t::address, srcOApp], ;; lz::Path::srcOApp
|
|
24
24
|
[cl::t::uint32, dstEid], ;; lz::Path::dstEid
|
|
25
|
-
[cl::t::
|
|
25
|
+
[cl::t::address, dstOApp] ;; lz::Path::dstOApp
|
|
26
26
|
])
|
|
27
27
|
);
|
|
28
28
|
}
|
package/src/funC++/classlib.fc
CHANGED
|
@@ -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::
|
|
22
|
-
[cl::t::
|
|
23
|
-
[cl::t::objRef, 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::
|
|
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::
|
|
74
|
+
[cl::t::addressList, requiredDVNs], ;; UlnReceiveConfig::requiredDVNs
|
|
75
75
|
[cl::t::bool, optionalDVNsNull], ;; UlnReceiveConfig::optionalDVNsNull
|
|
76
|
-
[cl::t::
|
|
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::
|
|
53
|
+
[cl::t::addressList, requiredDVNs], ;; lz::UlnSendConfig::requiredDVNs
|
|
54
54
|
[cl::t::bool, optionalDVNsNull], ;; lz::UlnSendConfig::optionalDVNsNull
|
|
55
|
-
[cl::t::
|
|
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::
|
|
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::
|
|
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
|
])
|