@layerzerolabs/layerzero-v2-ton 3.0.13-ton.0 → 3.0.18-ton.1
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 +18 -0
- package/build/AllStorages.compiled.json +1 -1
- package/build/AllStorages.test.compiled.json +1 -1
- package/build/BaseContract.test.compiled.json +1 -1
- package/build/Channel.compiled.json +1 -1
- package/build/Channel.permissions.test.compiled.json +1 -1
- package/build/ChannelBurn.test.compiled.json +1 -1
- package/build/ChannelCommitPacket.test.compiled.json +1 -1
- package/build/ChannelConfig.test.compiled.json +1 -1
- package/build/ChannelInitialize.test.compiled.json +1 -1
- package/build/ChannelMsglibIntegration.test.compiled.json +1 -1
- package/build/ChannelMsglibSendCallback.test.compiled.json +1 -1
- package/build/ChannelNilify.test.compiled.json +1 -1
- package/build/ChannelReceive.test.compiled.json +1 -1
- package/build/ChannelReceiveCallback.test.compiled.json +1 -1
- package/build/ChannelReceiveView.test.compiled.json +1 -1
- package/build/ChannelSend.test.compiled.json +1 -1
- package/build/Classlib.test.compiled.json +1 -1
- package/build/ComputeDataSizeGas.test.compiled.json +1 -0
- package/build/Connection.compiled.json +1 -1
- package/build/Controller.assertions.test.compiled.json +1 -1
- package/build/Controller.compiled.json +1 -1
- package/build/Controller.permissions.test.compiled.json +1 -1
- package/build/Controller.test.compiled.json +1 -1
- package/build/Counter.compiled.json +1 -1
- package/build/Counter.permissions.test.compiled.json +1 -1
- package/build/Counter.setters.test.compiled.json +1 -1
- package/build/Counter.test.compiled.json +1 -1
- package/build/Dvn.compiled.json +1 -1
- package/build/Dvn.test.compiled.json +1 -1
- package/build/DvnFeeLib.compiled.json +1 -0
- package/build/DvnPermissions.test.compiled.json +1 -0
- package/build/Endpoint.compiled.json +1 -1
- package/build/Endpoint.permissions.test.compiled.json +1 -1
- package/build/Endpoint.test.compiled.json +1 -1
- package/build/EndpointSetEpConfigDefaults.test.compiled.json +1 -1
- package/build/Executor.compiled.json +1 -1
- package/build/Executor.test.compiled.json +1 -1
- package/build/ExecutorFeeLib.compiled.json +1 -0
- package/build/ExecutorPermissions.test.compiled.json +1 -0
- package/build/LzClasses.test.compiled.json +1 -1
- package/build/LzUtil.test.compiled.json +1 -1
- package/build/MsgData.test.compiled.json +1 -1
- package/build/MsglibPacketCodec.test.compiled.json +1 -1
- package/build/MultiSig.compiled.json +1 -1
- package/build/MultiSigOrder.compiled.json +1 -1
- package/build/PipelinedOutOfOrder.test.compiled.json +1 -1
- package/build/PriceFeedCache.compiled.json +1 -0
- package/build/PriceFeedCache.permissions.test.compiled.json +1 -0
- package/build/PriceFeedCache.test.compiled.json +1 -0
- package/build/PriceFeedFeeLib.compiled.json +1 -0
- package/build/Proxy.compiled.json +1 -0
- package/build/Proxy.permissions.test.compiled.json +1 -0
- package/build/Proxy.test.compiled.json +1 -0
- package/build/SmlConnection.compiled.json +1 -1
- package/build/SmlConnection.permissions.test.compiled.json +1 -1
- package/build/SmlConnection.test.compiled.json +1 -1
- package/build/SmlManager.compiled.json +1 -1
- package/build/SmlManager.permissions.test.compiled.json +1 -1
- package/build/SmlManager.test.compiled.json +1 -1
- package/build/Uln.compiled.json +1 -1
- package/build/Uln.test.compiled.json +1 -1
- package/build/UlnConnection.compiled.json +1 -0
- package/build/UlnConnection.test.compiled.json +1 -0
- package/build/UlnConnectionPermissions.test.compiled.json +1 -0
- package/build/UlnManagement.test.compiled.json +1 -0
- package/build/UlnManager.compiled.json +1 -1
- package/build/UlnManager.test.compiled.json +1 -1
- package/build/UlnManagerPermissions.test.compiled.json +1 -0
- package/build/UlnManagerUtil.test.compiled.json +1 -0
- package/build/UlnPermissions.test.compiled.json +1 -0
- package/build/UlnReceiveConfig.test.compiled.json +1 -1
- package/build/UlnSend.test.compiled.json +1 -1
- package/build/UlnSendConfig.test.compiled.json +1 -1
- package/build/UlnSendWithDvnFeeLib.test.compiled.json +1 -0
- package/build/UlnSendWithExecFeeLib.test.compiled.json +1 -0
- package/build/UlnSendWorkerFactory.test.compiled.json +1 -1
- package/build/UlnUtil.test.compiled.json +1 -1
- package/build/WorkerCore.test.compiled.json +1 -1
- package/build/badFeeLib1.test.compiled.json +1 -0
- package/build/badFeeLib10.test.compiled.json +1 -0
- package/build/badFeeLib11.test.compiled.json +1 -0
- package/build/badFeeLib2.test.compiled.json +1 -0
- package/build/badFeeLib3.test.compiled.json +1 -0
- package/build/badFeeLib4.test.compiled.json +1 -0
- package/build/badFeeLib5.test.compiled.json +1 -0
- package/build/badFeeLib6.test.compiled.json +1 -0
- package/build/badFeeLib7.test.compiled.json +1 -0
- package/build/badFeeLib8.test.compiled.json +1 -0
- package/build/badFeeLib9.test.compiled.json +1 -0
- package/package.json +10 -4
- package/src/classes/lz/EpConfig.fc +3 -3
- package/src/classes/lz/Packet.fc +16 -3
- package/src/classes/lz/Path.fc +10 -1
- package/src/classes/lz/Worker.fc +1 -1
- package/src/classes/msgdata/Deploy.fc +15 -3
- package/src/classes/msgdata/LzSend.fc +1 -1
- package/src/classes/msgdata/OptionsV2.fc +7 -4
- package/src/funC++/abstract/contractMainAbstract.fc +12 -1
- package/src/funC++/abstract/handlerAbstract.fc +10 -2
- package/src/funC++/actions/call.fc +5 -3
- package/src/funC++/baseInterface.fc +9 -8
- package/src/funC++/classlib.fc +30 -33
- package/src/funC++/constants.fc +2 -2
- package/src/funC++/contractMain.fc +2 -0
- package/src/funC++/dataStructures/AddressList.fc +89 -0
- package/src/funC++/dataStructures/DeterministicInsertionCircularQueue.fc +1 -1
- package/src/funC++/dataStructures/PipelinedOutOfOrder.fc +25 -1
- package/src/funC++/handlerCore.fc +2 -0
- package/src/funC++/stdlib.fc +1 -1
- package/src/funC++/testutils.fc +99 -0
- package/src/funC++/utils.fc +66 -2
- package/src/multisig/bocs/MultiSig.compiled.json +5 -0
- package/src/multisig/bocs/MultiSigOrder.compiled.json +5 -0
- package/tests/baseContractTest.fc +15 -12
- package/build/AllStorages.boc +0 -0
- package/build/AllStorages.fif +0 -4176
- package/build/AllStorages.test.boc +0 -0
- package/build/AllStorages.test.fif +0 -1831
- package/build/BaseContract.test.boc +0 -0
- package/build/BaseContract.test.fif +0 -3560
- package/build/Channel.boc +0 -0
- package/build/Channel.fif +0 -5109
- package/build/Channel.permissions.test.boc +0 -0
- package/build/Channel.permissions.test.fif +0 -7601
- package/build/ChannelBurn.test.boc +0 -0
- package/build/ChannelBurn.test.fif +0 -7486
- package/build/ChannelCommitPacket.test.boc +0 -0
- package/build/ChannelCommitPacket.test.fif +0 -8001
- package/build/ChannelConfig.test.boc +0 -0
- package/build/ChannelConfig.test.fif +0 -7474
- package/build/ChannelInitialize.test.boc +0 -0
- package/build/ChannelInitialize.test.fif +0 -7321
- package/build/ChannelMsglibIntegration.test.boc +0 -0
- package/build/ChannelMsglibIntegration.test.fif +0 -7437
- package/build/ChannelMsglibSendCallback.test.boc +0 -0
- package/build/ChannelMsglibSendCallback.test.fif +0 -7743
- package/build/ChannelNilify.test.boc +0 -0
- package/build/ChannelNilify.test.fif +0 -7702
- package/build/ChannelReceive.test.boc +0 -0
- package/build/ChannelReceive.test.fif +0 -7742
- package/build/ChannelReceiveCallback.test.boc +0 -0
- package/build/ChannelReceiveCallback.test.fif +0 -7581
- package/build/ChannelReceiveView.test.boc +0 -0
- package/build/ChannelReceiveView.test.fif +0 -7384
- package/build/ChannelSend.test.boc +0 -0
- package/build/ChannelSend.test.fif +0 -7690
- package/build/Classlib.test.boc +0 -0
- package/build/Classlib.test.fif +0 -4728
- package/build/Connection.boc +0 -0
- package/build/Connection.fif +0 -3586
- package/build/Connection.test.boc +0 -0
- package/build/Connection.test.compiled.json +0 -1
- package/build/Connection.test.fif +0 -6582
- package/build/Controller.assertions.test.boc +0 -0
- package/build/Controller.assertions.test.fif +0 -6137
- package/build/Controller.boc +0 -0
- package/build/Controller.fif +0 -3278
- package/build/Controller.permissions.test.boc +0 -0
- package/build/Controller.permissions.test.fif +0 -6244
- package/build/Controller.test.boc +0 -0
- package/build/Controller.test.fif +0 -6407
- package/build/Counter.boc +0 -0
- package/build/Counter.fif +0 -4816
- package/build/Counter.permissions.test.boc +0 -0
- package/build/Counter.permissions.test.fif +0 -7113
- package/build/Counter.setters.test.boc +0 -0
- package/build/Counter.setters.test.fif +0 -7090
- package/build/Counter.test.boc +0 -0
- package/build/Counter.test.fif +0 -7547
- package/build/Dvn.boc +0 -0
- package/build/Dvn.fif +0 -2923
- package/build/Dvn.test.boc +0 -0
- package/build/Dvn.test.fif +0 -5760
- package/build/Endpoint.boc +0 -0
- package/build/Endpoint.fif +0 -3777
- package/build/Endpoint.permissions.test.boc +0 -0
- package/build/Endpoint.permissions.test.fif +0 -6218
- package/build/Endpoint.test.boc +0 -0
- package/build/Endpoint.test.fif +0 -6906
- package/build/EndpointSetEpConfigDefaults.test.boc +0 -0
- package/build/EndpointSetEpConfigDefaults.test.fif +0 -6536
- package/build/Executor.boc +0 -0
- package/build/Executor.fif +0 -2731
- package/build/Executor.test.boc +0 -0
- package/build/Executor.test.fif +0 -5829
- package/build/LzClasses.test.boc +0 -0
- package/build/LzClasses.test.fif +0 -4457
- package/build/LzUtil.test.boc +0 -0
- package/build/LzUtil.test.fif +0 -1831
- package/build/MsgData.test.boc +0 -0
- package/build/MsgData.test.fif +0 -4318
- package/build/MsglibPacketCodec.test.boc +0 -0
- package/build/MsglibPacketCodec.test.fif +0 -4851
- package/build/MultiSig.boc +0 -0
- package/build/MultiSig.fif +0 -727
- package/build/MultiSigOrder.boc +0 -0
- package/build/MultiSigOrder.fif +0 -650
- package/build/PipelinedOutOfOrder.test.boc +0 -0
- package/build/PipelinedOutOfOrder.test.fif +0 -2188
- package/build/SmlConnection.boc +0 -0
- package/build/SmlConnection.fif +0 -2600
- package/build/SmlConnection.permissions.test.boc +0 -0
- package/build/SmlConnection.permissions.test.fif +0 -5504
- package/build/SmlConnection.test.boc +0 -0
- package/build/SmlConnection.test.fif +0 -5501
- package/build/SmlManager.boc +0 -0
- package/build/SmlManager.fif +0 -3987
- package/build/SmlManager.permissions.test.boc +0 -0
- package/build/SmlManager.permissions.test.fif +0 -6025
- package/build/SmlManager.test.boc +0 -0
- package/build/SmlManager.test.fif +0 -6054
- package/build/Uln.boc +0 -0
- package/build/Uln.fif +0 -4924
- package/build/Uln.test.boc +0 -0
- package/build/Uln.test.fif +0 -7084
- package/build/UlnManager.boc +0 -0
- package/build/UlnManager.fif +0 -3934
- package/build/UlnManager.test.boc +0 -0
- package/build/UlnManager.test.fif +0 -6578
- package/build/UlnReceiveConfig.test.boc +0 -0
- package/build/UlnReceiveConfig.test.fif +0 -4413
- package/build/UlnSend.test.boc +0 -0
- package/build/UlnSend.test.fif +0 -6583
- package/build/UlnSendConfig.test.boc +0 -0
- package/build/UlnSendConfig.test.fif +0 -4431
- package/build/UlnSendWorkerFactory.test.boc +0 -0
- package/build/UlnSendWorkerFactory.test.fif +0 -6683
- package/build/UlnUtil.test.boc +0 -0
- package/build/UlnUtil.test.fif +0 -5873
- package/build/WorkerCore.test.boc +0 -0
- package/build/WorkerCore.test.fif +0 -5637
- package/build/ZroMinter.boc +0 -0
- package/build/ZroMinter.fif +0 -2300
- package/build/ZroWallet.boc +0 -0
- package/build/ZroWallet.fif +0 -2471
- package/src/classes/lz/Attestation.fc +0 -23
- package/src/classes/msgdata/ClaimUnaccountedPoolFunds.fc +0 -0
- package/src/classes/msgdata/InitUlnConnection.fc +0 -18
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
#include "../../funC++/classlib.fc";
|
|
2
|
-
|
|
3
|
-
;; required storage name
|
|
4
|
-
const int lz::Attestation::NAME = "Attest"u;
|
|
5
|
-
|
|
6
|
-
;; field names
|
|
7
|
-
const int lz::Attestation::hash = 0; ;; hash
|
|
8
|
-
const int lz::Attestation::confirmations = 1; ;; uint64
|
|
9
|
-
|
|
10
|
-
cell lz::Attestation::New(int hash, int confirmations) inline method_id {
|
|
11
|
-
return cl::declare(
|
|
12
|
-
lz::Attestation::NAME,
|
|
13
|
-
unsafeTuple([
|
|
14
|
-
[cl::t::uint256, hash], ;; lz::Attestation::hash
|
|
15
|
-
[cl::t::uint64, confirmations] ;; lz::Attestation::confirmations
|
|
16
|
-
])
|
|
17
|
-
);
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
int lz::Attestation::isValid(cell self, int hash, int confirmations) inline method_id {
|
|
21
|
-
return (self.cl::get<uint256>(lz::Attestation::hash) == hash) &
|
|
22
|
-
(self.cl::get<uint64>(lz::Attestation::confirmations) <= confirmations);
|
|
23
|
-
}
|
|
File without changes
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
#include "../../funC++/classlib.fc";
|
|
2
|
-
|
|
3
|
-
;; required storage name
|
|
4
|
-
const int md::InitUlnConnection::NAME = "initUlnCon"u;
|
|
5
|
-
|
|
6
|
-
;; field names
|
|
7
|
-
const int md::InitUlnConnection::ulnSendConfigOApp = 0;
|
|
8
|
-
const int md::InitUlnConnection::UlnReceiveConfigOApp = 1;
|
|
9
|
-
|
|
10
|
-
cell md::InitUlnConnection::New(cell $ulnSendConfigOApp, cell $UlnReceiveConfigOApp) inline method_id {
|
|
11
|
-
return cl::declare(
|
|
12
|
-
md::InitUlnConnection::NAME,
|
|
13
|
-
unsafeTuple([
|
|
14
|
-
[cl::t::objRef, $ulnSendConfigOApp], ;; md::InitUlnConnection::ulnSendConfigOApp
|
|
15
|
-
[cl::t::objRef, $UlnReceiveConfigOApp] ;; md::InitUlnConnection::UlnReceiveConfigOApp
|
|
16
|
-
])
|
|
17
|
-
);
|
|
18
|
-
}
|