@layerzerolabs/lz-ton-sdk-v2 3.0.27 → 3.0.28

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/dist/index.mjs CHANGED
@@ -6358,7 +6358,7 @@ var tonObjects = {
6358
6358
  "lz::EpConfig::NewWithConnection": {
6359
6359
  name: "EpConfig",
6360
6360
  0: {
6361
- fieldName: "lz::EpConfig::NewWithConnection::isNull",
6361
+ fieldName: "lz::EpConfig::NewWithConnection::_timeoutReceiveMsglibConnectionOffset",
6362
6362
  fieldType: "cl::t::bool"
6363
6363
  },
6364
6364
  1: {
@@ -6455,11 +6455,11 @@ var tonObjects = {
6455
6455
  "lz::ReceiveEpConfig": {
6456
6456
  name: "RcvEpCfg",
6457
6457
  0: {
6458
- fieldName: "lz::ReceiveEpConfig::receiveMsglibConnectionAddress",
6458
+ fieldName: "lz::ReceiveEpConfig::receiveMsglibConnection",
6459
6459
  fieldType: "cl::t::address"
6460
6460
  },
6461
6461
  1: {
6462
- fieldName: "lz::ReceiveEpConfig::timeoutReceiveMsglibConnectionAddress",
6462
+ fieldName: "lz::ReceiveEpConfig::timeoutReceiveMsglibConnection",
6463
6463
  fieldType: "cl::t::address"
6464
6464
  },
6465
6465
  2: {
@@ -6470,11 +6470,11 @@ var tonObjects = {
6470
6470
  "lz::SendEpConfig": {
6471
6471
  name: "SendEpCfg",
6472
6472
  0: {
6473
- fieldName: "lz::SendEpConfig::sendMsglibAddress",
6473
+ fieldName: "lz::SendEpConfig::sendMsglib",
6474
6474
  fieldType: "cl::t::address"
6475
6475
  },
6476
6476
  1: {
6477
- fieldName: "lz::SendEpConfig::sendMsglibConnectionAddress",
6477
+ fieldName: "lz::SendEpConfig::sendMsglibConnection",
6478
6478
  fieldType: "cl::t::address"
6479
6479
  }
6480
6480
  },
@@ -6724,7 +6724,7 @@ var tonObjects = {
6724
6724
  "md::LzSend": {
6725
6725
  name: "lzSend",
6726
6726
  0: {
6727
- fieldName: "md::LzSend::sendRequestId",
6727
+ fieldName: "md::LzSend::_nativeFeeOffset",
6728
6728
  fieldType: "cl::t::uint64"
6729
6729
  },
6730
6730
  1: {
@@ -6884,7 +6884,7 @@ var tonObjects = {
6884
6884
  "md::OptionsV1": {
6885
6885
  name: "OptionsV1",
6886
6886
  0: {
6887
- fieldName: "md::OptionsV1::lzReceiveGas",
6887
+ fieldName: "md::OptionsV1::_nativeDropAddressOffset",
6888
6888
  fieldType: "cl::t::uint256"
6889
6889
  },
6890
6890
  1: {
@@ -7024,17 +7024,6 @@ var tonObjects = {
7024
7024
  fieldType: "cl::t::cellRef"
7025
7025
  }
7026
7026
  },
7027
- "POOO::NewWithBitsSets": {
7028
- name: "POOO",
7029
- 0: {
7030
- fieldName: "POOO::NewWithBitsSets::nextEmpty",
7031
- fieldType: "cl::t::uint64"
7032
- },
7033
- 1: {
7034
- fieldName: "POOO::NewWithBitsSets::bitmap",
7035
- fieldType: "cl::t::cellRef"
7036
- }
7037
- },
7038
7027
  Channel: {
7039
7028
  name: "channel",
7040
7029
  0: {
@@ -7597,7 +7586,7 @@ var tonObjects = {
7597
7586
  UlnConnection: {
7598
7587
  name: "connection",
7599
7588
  0: {
7600
- fieldName: "UlnConnection::baseStorage",
7589
+ fieldName: "UlnConnection::_ulnAddressOffset",
7601
7590
  fieldType: "cl::t::objRef"
7602
7591
  },
7603
7592
  1: {
@@ -7613,25 +7602,25 @@ var tonObjects = {
7613
7602
  fieldType: "cl::t::address"
7614
7603
  },
7615
7604
  4: {
7605
+ fieldName: "UlnConnection::firstUnexecutedNonce",
7606
+ fieldType: "cl::t::uint64"
7607
+ },
7608
+ 5: {
7616
7609
  fieldName: "UlnConnection::ulnAddress",
7617
7610
  fieldType: "cl::t::address"
7618
7611
  },
7619
- 5: {
7612
+ 6: {
7620
7613
  fieldName: "UlnConnection::UlnSendConfigOApp",
7621
7614
  fieldType: "cl::t::objRef"
7622
7615
  },
7623
- 6: {
7616
+ 7: {
7624
7617
  fieldName: "UlnConnection::UlnReceiveConfigOApp",
7625
7618
  fieldType: "cl::t::objRef"
7626
7619
  },
7627
- 7: {
7620
+ 8: {
7628
7621
  fieldName: "UlnConnection::hashLookups",
7629
7622
  fieldType: "cl::t::dict256"
7630
7623
  },
7631
- 8: {
7632
- fieldName: "UlnConnection::firstUnexecutedNonce",
7633
- fieldType: "cl::t::uint64"
7634
- },
7635
7624
  9: {
7636
7625
  fieldName: "UlnConnection::commitPOOO",
7637
7626
  fieldType: "cl::t::objRef"
@@ -7811,6 +7800,10 @@ var tonObjects = {
7811
7800
  3: {
7812
7801
  fieldName: "md::ExecuteParams::opcode",
7813
7802
  fieldType: "cl::t::uint32"
7803
+ },
7804
+ 4: {
7805
+ fieldName: "md::ExecuteParams::forwardingAddress",
7806
+ fieldType: "cl::t::address"
7814
7807
  }
7815
7808
  },
7816
7809
  "md::NativeDrop": {
@@ -7833,6 +7826,10 @@ var tonObjects = {
7833
7826
  2: {
7834
7827
  fieldName: "md::SetDict::dict",
7835
7828
  fieldType: "cl::t::dict256"
7829
+ },
7830
+ 3: {
7831
+ fieldName: "md::SetDict::target",
7832
+ fieldType: "cl::t::uint64"
7836
7833
  }
7837
7834
  },
7838
7835
  "md::SetQuorum": {
@@ -7848,6 +7845,10 @@ var tonObjects = {
7848
7845
  2: {
7849
7846
  fieldName: "md::SetQuorum::quorum",
7850
7847
  fieldType: "cl::t::uint64"
7848
+ },
7849
+ 3: {
7850
+ fieldName: "md::SetQuorum::target",
7851
+ fieldType: "cl::t::uint64"
7851
7852
  }
7852
7853
  },
7853
7854
  "md::SignedRequest": {
@@ -9505,6 +9506,13 @@ var tonResolvedObjects = {
9505
9506
  name: "setQuorum"
9506
9507
  }
9507
9508
  };
9509
+ var appsAllStorages = class {
9510
+ static async getGetCellBits(contract, input) {
9511
+ const args = [{ type: "cell", cell: input }];
9512
+ const stack = await contract.getViewFunction("getCellBits", args);
9513
+ return [stack.readBigNumber()];
9514
+ }
9515
+ };
9508
9516
  var appsCounter = class {
9509
9517
  static async getGetBaseOAppStorage(contract) {
9510
9518
  const args = [];
@@ -9744,8 +9752,11 @@ var protocolEndpoint = class {
9744
9752
  const stack = await contract.getViewFunction("_msglibManagerToShards", args);
9745
9753
  return [stack.readBigNumber(), stack.readBigNumber()];
9746
9754
  }
9747
- static async get_getChannelAddress(contract, path) {
9748
- const args = [{ type: "cell", cell: path }];
9755
+ static async get_getChannelAddress(contract, storage, path) {
9756
+ const args = [
9757
+ { type: "cell", cell: storage },
9758
+ { type: "cell", cell: path }
9759
+ ];
9749
9760
  const stack = await contract.getViewFunction("_getChannelAddress", args);
9750
9761
  return [stack.readBigNumber()];
9751
9762
  }
@@ -9757,26 +9768,35 @@ var protocolEndpoint = class {
9757
9768
  const stack = await contract.getViewFunction("_getEpConfigFromManagerAddresses", args);
9758
9769
  return [stack.readCell()];
9759
9770
  }
9760
- static async get_getMsglibAndConnectionDefaults(contract, key, path) {
9771
+ static async get_getMsglibAndConnectionDefaults(contract, msglibInfo, path) {
9761
9772
  const args = [
9762
- { type: "int", value: key },
9773
+ { type: "cell", cell: msglibInfo },
9763
9774
  { type: "cell", cell: path }
9764
9775
  ];
9765
9776
  const stack = await contract.getViewFunction("_getMsglibAndConnectionDefaults", args);
9766
9777
  return [stack.readBigNumber(), stack.readBigNumber()];
9767
9778
  }
9768
- static async get_getSendMsglibAndConnectionDefaults(contract, path) {
9769
- const args = [{ type: "cell", cell: path }];
9770
- const stack = await contract.getViewFunction("_getSendMsglibAndConnectionDefaults", args);
9779
+ static async getGetSendMsglibAndConnectionDefaults(contract, storage, path) {
9780
+ const args = [
9781
+ { type: "cell", cell: storage },
9782
+ { type: "cell", cell: path }
9783
+ ];
9784
+ const stack = await contract.getViewFunction("getSendMsglibAndConnectionDefaults", args);
9771
9785
  return [stack.readBigNumber(), stack.readBigNumber()];
9772
9786
  }
9773
- static async getGetReceiveMsglibAndConnectionDefaults(contract, path) {
9774
- const args = [{ type: "cell", cell: path }];
9787
+ static async getGetReceiveMsglibAndConnectionDefaults(contract, storage, path) {
9788
+ const args = [
9789
+ { type: "cell", cell: storage },
9790
+ { type: "cell", cell: path }
9791
+ ];
9775
9792
  const stack = await contract.getViewFunction("getReceiveMsglibAndConnectionDefaults", args);
9776
9793
  return [stack.readBigNumber(), stack.readBigNumber()];
9777
9794
  }
9778
- static async getGetTimeoutReceiveMsglibAndConnectionDefaults(contract, path) {
9779
- const args = [{ type: "cell", cell: path }];
9795
+ static async getGetTimeoutReceiveMsglibAndConnectionDefaults(contract, storage, path) {
9796
+ const args = [
9797
+ { type: "cell", cell: storage },
9798
+ { type: "cell", cell: path }
9799
+ ];
9780
9800
  const stack = await contract.getViewFunction("getTimeoutReceiveMsglibAndConnectionDefaults", args);
9781
9801
  return [stack.readBigNumber(), stack.readBigNumber()];
9782
9802
  }
@@ -11309,6 +11329,7 @@ var ERRORS = {
11309
11329
  SmlManager_ERROR_onlyConnection: 528n,
11310
11330
  UlnWorkerInterface_ERROR_UNKNOWN_OPTIONS: 52n,
11311
11331
  UlnWorkerInterface_ERROR_ZERO_LZ_COMPOSE_GAS_PROVIDED: 53n,
11332
+ UlnWorkerInterface_ERROR_INVALID_OPTIONS: 54n,
11312
11333
  UlnReceiveConfig_ERROR_DVN_CONFIG_ERROR: 321n,
11313
11334
  UlnReceiveConfig_ERROR_OPTIONAL_THRESHOLD_TOO_LARGE: 385n,
11314
11335
  UlnReceiveConfig_ERROR_OPTIONAL_THRESHOLD_TOO_LOW: 386n,
@@ -11334,10 +11355,11 @@ var ERRORS = {
11334
11355
  UlnManager_ERROR_invalidAdminWorkerList: 168n,
11335
11356
  UlnManager_ERROR_onlyTentativeOwner: 169n,
11336
11357
  UlnManager_ERROR_nullTentativeOwner: 170n,
11358
+ Worker_ERROR_invalidForwardingAddress: 2016n,
11337
11359
  Worker_ERROR_onlyAdmin: 2015n,
11338
11360
  Worker_ERROR_invalidOpcode: 2014n,
11339
11361
  Worker_ERROR_invalidSignedOpcode: 2013n,
11340
- Worker_ERROR_invalidInnerTarget: 2012n,
11362
+ Worker_ERROR_invalidTarget: 2012n,
11341
11363
  Dvn_ERROR_expired: 1983n,
11342
11364
  Dvn_ERROR_quorumNotMet: 1982n,
11343
11365
  Dvn_ERROR_notEnoughSignatures: 1981n,
@@ -11516,6 +11538,10 @@ var EVENTS = {
11516
11538
  Executor_event_LZ_RECEIVE_ALERT: {
11517
11539
  stringValue: "Executor::event::LZ_RCV_ALERT",
11518
11540
  intValue: 1872915503847835639517843655130358044835956776372090239617289700069972n
11541
+ },
11542
+ Executor_event_NATIVE_DROP: {
11543
+ stringValue: "Executor::event::NATIVE_DROP",
11544
+ intValue: 7316076186905607966866576777852961112640458457292397282198021099344n
11519
11545
  }
11520
11546
  };
11521
11547
 
@@ -11644,7 +11670,6 @@ var nameMap = {
11644
11670
  SmlJobAssg: "LzSmlJobAssigned",
11645
11671
  Worker: "LzWorker",
11646
11672
  addMsgLib: "MdAddMsglib",
11647
- Amount: "MdAmount",
11648
11673
  Bool: "MdBool",
11649
11674
  cNonceInfo: "MdChannelNonceInfo",
11650
11675
  coinsAmt: "MdCoinsAmount",
@@ -11707,6 +11732,7 @@ var nameMap = {
11707
11732
  wrkCorStor: "WorkerCoreStorage",
11708
11733
  dvn: "Dvn",
11709
11734
  executor: "Executor",
11735
+ DropEvent: "MdDropEvent",
11710
11736
  execParams: "MdExecuteParams",
11711
11737
  NativeDrop: "MdNativeDrop",
11712
11738
  setDct: "MdSetDict",
@@ -11719,7 +11745,7 @@ var keyMap = {
11719
11745
  baseOApp: "BaseOApp",
11720
11746
  counter: "Counter",
11721
11747
  Config: "lz::Config",
11722
- EpConfig: "lz::EpConfig::NewFrom",
11748
+ EpConfig: "lz::EpConfig::NewWithDefaults",
11723
11749
  MsglibInfo: "lz::MsglibInfo",
11724
11750
  Packet: "lz::Packet",
11725
11751
  path: "lz::Path",
@@ -11728,7 +11754,6 @@ var keyMap = {
11728
11754
  SmlJobAssg: "lz::SmlJobAssigned",
11729
11755
  Worker: "lz::Worker",
11730
11756
  addMsgLib: "md::AddMsglib",
11731
- Amount: "md::Amount",
11732
11757
  Bool: "md::Bool",
11733
11758
  cNonceInfo: "md::ChannelNonceInfo",
11734
11759
  coinsAmt: "md::CoinsAmount",
@@ -11756,7 +11781,7 @@ var keyMap = {
11756
11781
  setPeer: "md::SetPeer",
11757
11782
  setSmlCfg: "md::SetSmlManagerConfig",
11758
11783
  event: "action::event",
11759
- POOO: "POOO::NewWithBitsSets",
11784
+ POOO: "POOO",
11760
11785
  channel: "Channel",
11761
11786
  controller: "Controller",
11762
11787
  baseStore: "BaseStorage",
@@ -11791,6 +11816,7 @@ var keyMap = {
11791
11816
  wrkCorStor: "WorkerCoreStorage",
11792
11817
  dvn: "Dvn",
11793
11818
  executor: "Executor",
11819
+ DropEvent: "md::DropEvent",
11794
11820
  execParams: "md::ExecuteParams",
11795
11821
  NativeDrop: "md::NativeDrop",
11796
11822
  setDct: "md::SetDict",
@@ -11950,7 +11976,8 @@ var TonContractWrapper = class _TonContractWrapper extends BaseWrapper {
11950
11976
  }
11951
11977
  async getNewLzEpConfigNewWithConnection(provider, args) {
11952
11978
  const getResult = await provider.get("lz::EpConfig::NewWithConnection", [
11953
- { type: "int", value: args.useDefaults },
11979
+ { type: "int", value: args.isNull },
11980
+ { type: "int", value: args.sendMsglibManager },
11954
11981
  { type: "int", value: args.sendMsglib },
11955
11982
  { type: "int", value: args.sendMsglibConnection },
11956
11983
  { type: "int", value: args.receiveMsglib },
@@ -11963,7 +11990,8 @@ var TonContractWrapper = class _TonContractWrapper extends BaseWrapper {
11963
11990
  }
11964
11991
  async getNewLzEpConfig(provider, args) {
11965
11992
  const getResult = await provider.get("lz::EpConfig::New", [
11966
- { type: "int", value: args.useDefaults },
11993
+ { type: "int", value: args.isNull },
11994
+ { type: "int", value: args.sendMsglibManager },
11967
11995
  { type: "int", value: args.sendMsglib },
11968
11996
  { type: "int", value: args.receiveMsglib },
11969
11997
  { type: "int", value: args.timeoutReceiveMsglib },
@@ -11975,13 +12003,6 @@ var TonContractWrapper = class _TonContractWrapper extends BaseWrapper {
11975
12003
  const getResult = await provider.get("lz::EpConfig::NewWithDefaults", []);
11976
12004
  return getResult.stack.readCell();
11977
12005
  }
11978
- async getNewLzEpConfigNewFrom(provider, args) {
11979
- const getResult = await provider.get("lz::EpConfig::NewFrom", [
11980
- { type: "int", value: args.sendMsglib },
11981
- { type: "int", value: args.receiveMsglib }
11982
- ]);
11983
- return getResult.stack.readCell();
11984
- }
11985
12006
  async getNewLzMsglibInfo(provider, args) {
11986
12007
  const getResult = await provider.get("lz::MsglibInfo::New", [
11987
12008
  { type: "int", value: args.msglibAddress },
@@ -12017,8 +12038,9 @@ var TonContractWrapper = class _TonContractWrapper extends BaseWrapper {
12017
12038
  }
12018
12039
  async getNewLzSendEpConfig(provider, args) {
12019
12040
  const getResult = await provider.get("lz::SendEpConfig::New", [
12020
- { type: "int", value: args.sendMsglibAddress },
12021
- { type: "int", value: args.sendMsglibConnectionAddress }
12041
+ { type: "int", value: args.sendMsglibManager },
12042
+ { type: "int", value: args.sendMsglib },
12043
+ { type: "int", value: args.sendMsglibConnection }
12022
12044
  ]);
12023
12045
  return getResult.stack.readCell();
12024
12046
  }
@@ -12042,10 +12064,6 @@ var TonContractWrapper = class _TonContractWrapper extends BaseWrapper {
12042
12064
  ]);
12043
12065
  return getResult.stack.readCell();
12044
12066
  }
12045
- async getNewMdAmount(provider, args) {
12046
- const getResult = await provider.get("md::Amount::New", [{ type: "int", value: args.amount }]);
12047
- return getResult.stack.readCell();
12048
- }
12049
12067
  async getNewMdBool(provider, args) {
12050
12068
  const getResult = await provider.get("md::Bool::New", [{ type: "int", value: args.boolean }]);
12051
12069
  return getResult.stack.readCell();
@@ -12278,13 +12296,6 @@ var TonContractWrapper = class _TonContractWrapper extends BaseWrapper {
12278
12296
  const getResult = await provider.get("POOO::New", []);
12279
12297
  return getResult.stack.readCell();
12280
12298
  }
12281
- async getNewPOOONewWithBitsSets(provider, args) {
12282
- const getResult = await provider.get("POOO::NewWithBitsSets", [
12283
- { type: "int", value: args.startingBit },
12284
- { type: "int", value: args.endingBit }
12285
- ]);
12286
- return getResult.stack.readCell();
12287
- }
12288
12299
  async getNewChannel(provider, args) {
12289
12300
  const getResult = await provider.get("Channel::New", [
12290
12301
  { type: "int", value: args.owner },
@@ -12580,12 +12591,20 @@ var TonContractWrapper = class _TonContractWrapper extends BaseWrapper {
12580
12591
  ]);
12581
12592
  return getResult.stack.readCell();
12582
12593
  }
12594
+ async getNewMdDropEvent(provider, args) {
12595
+ const getResult = await provider.get("md::DropEvent::New", [
12596
+ { type: "int", value: args.nativeAmount },
12597
+ { type: "int", value: args.receiver }
12598
+ ]);
12599
+ return getResult.stack.readCell();
12600
+ }
12583
12601
  async getNewMdExecuteParams(provider, args) {
12584
12602
  const getResult = await provider.get("md::ExecuteParams::New", [
12585
12603
  { type: "int", value: args.target },
12586
12604
  { type: "cell", cell: args.callData },
12587
12605
  { type: "int", value: args.expiration },
12588
- { type: "int", value: args.opcode }
12606
+ { type: "int", value: args.opcode },
12607
+ { type: "int", value: args.forwardingAddress }
12589
12608
  ]);
12590
12609
  return getResult.stack.readCell();
12591
12610
  }
@@ -12597,7 +12616,8 @@ var TonContractWrapper = class _TonContractWrapper extends BaseWrapper {
12597
12616
  const getResult = await provider.get("md::SetDict::New", [
12598
12617
  { type: "int", value: args.nonce },
12599
12618
  { type: "int", value: args.opcode },
12600
- { type: "cell", cell: args._dict }
12619
+ { type: "cell", cell: args._dict },
12620
+ { type: "int", value: args.target }
12601
12621
  ]);
12602
12622
  return getResult.stack.readCell();
12603
12623
  }
@@ -12605,7 +12625,8 @@ var TonContractWrapper = class _TonContractWrapper extends BaseWrapper {
12605
12625
  const getResult = await provider.get("md::SetQuorum::New", [
12606
12626
  { type: "int", value: args.nonce },
12607
12627
  { type: "int", value: args.opcode },
12608
- { type: "int", value: args.quorum }
12628
+ { type: "int", value: args.quorum },
12629
+ { type: "int", value: args.target }
12609
12630
  ]);
12610
12631
  return getResult.stack.readCell();
12611
12632
  }
@@ -15402,7 +15423,7 @@ var TonObjectUnwrapper = class {
15402
15423
  const inboundCount = await getLzDict(cell, 2n, wrapper);
15403
15424
  const outboundCount = await getLzDict(cell, 3n, wrapper);
15404
15425
  const failNextLzReceive = await wrapper.getClInt("cl::get<bool>", cell, 4n);
15405
- const id = await wrapper.getClInt("cl::get<uint8>", cell, 5n);
15426
+ const id = await wrapper.getClInt("cl::get<uint32>", cell, 5n);
15406
15427
  return {
15407
15428
  baseStorage,
15408
15429
  baseOAppStorage,
@@ -15425,16 +15446,18 @@ var TonObjectUnwrapper = class {
15425
15446
  };
15426
15447
  }
15427
15448
  static async getLzEpConfigNewWithConnectionToTS(wrapper, cell) {
15428
- const isNull = await wrapper.getClInt("cl::get<bool>", cell, 0n);
15429
- const sendMsglib = await wrapper.getClInt("cl::get<address>", cell, 1n);
15430
- const sendMsglibConnection = await wrapper.getClInt("cl::get<address>", cell, 2n);
15431
- const receiveMsglib = await wrapper.getClInt("cl::get<address>", cell, 3n);
15432
- const receiveMsglibConnection = await wrapper.getClInt("cl::get<address>", cell, 4n);
15433
- const timeoutReceiveMsglib = await wrapper.getClInt("cl::get<address>", cell, 5n);
15434
- const timeoutReceiveMsglibConnection = await wrapper.getClInt("cl::get<address>", cell, 6n);
15435
- const timeoutReceiveMsglibExpiry = await wrapper.getClInt("cl::get<uint64>", cell, 7n);
15449
+ const _timeoutReceiveMsglibOffset = await wrapper.getClInt("cl::get<bool>", cell, 0n);
15450
+ const sendMsglibManager = await wrapper.getClInt("cl::get<address>", cell, 1n);
15451
+ const sendMsglib = await wrapper.getClInt("cl::get<address>", cell, 2n);
15452
+ const sendMsglibConnection = await wrapper.getClInt("cl::get<address>", cell, 3n);
15453
+ const receiveMsglib = await wrapper.getClInt("cl::get<address>", cell, 4n);
15454
+ const receiveMsglibConnection = await wrapper.getClInt("cl::get<address>", cell, 5n);
15455
+ const timeoutReceiveMsglib = await wrapper.getClInt("cl::get<address>", cell, 6n);
15456
+ const timeoutReceiveMsglibConnection = await wrapper.getClInt("cl::get<address>", cell, 7n);
15457
+ const timeoutReceiveMsglibExpiry = await wrapper.getClInt("cl::get<uint64>", cell, 8n);
15436
15458
  return {
15437
- isNull,
15459
+ _timeoutReceiveMsglibOffset,
15460
+ sendMsglibManager,
15438
15461
  sendMsglib,
15439
15462
  sendMsglibConnection,
15440
15463
  receiveMsglib,
@@ -15479,21 +15502,23 @@ var TonObjectUnwrapper = class {
15479
15502
  };
15480
15503
  }
15481
15504
  static async getLzReceiveEpConfigToTS(wrapper, cell) {
15482
- const receiveMsglibConnectionAddress = await wrapper.getClInt("cl::get<address>", cell, 0n);
15483
- const timeoutReceiveMsglibConnectionAddress = await wrapper.getClInt("cl::get<address>", cell, 1n);
15505
+ const receiveMsglibConnection = await wrapper.getClInt("cl::get<address>", cell, 0n);
15506
+ const timeoutReceiveMsglibConnection = await wrapper.getClInt("cl::get<address>", cell, 1n);
15484
15507
  const expiry = await wrapper.getClInt("cl::get<uint64>", cell, 2n);
15485
15508
  return {
15486
- receiveMsglibConnectionAddress,
15487
- timeoutReceiveMsglibConnectionAddress,
15509
+ receiveMsglibConnection,
15510
+ timeoutReceiveMsglibConnection,
15488
15511
  expiry
15489
15512
  };
15490
15513
  }
15491
15514
  static async getLzSendEpConfigToTS(wrapper, cell) {
15492
- const sendMsglibAddress = await wrapper.getClInt("cl::get<address>", cell, 0n);
15493
- const sendMsglibConnectionAddress = await wrapper.getClInt("cl::get<address>", cell, 1n);
15515
+ const _sendMsglibConnectionOffset = await wrapper.getClInt("cl::get<address>", cell, 0n);
15516
+ const sendMsglib = await wrapper.getClInt("cl::get<address>", cell, 1n);
15517
+ const sendMsglibConnection = await wrapper.getClInt("cl::get<address>", cell, 2n);
15494
15518
  return {
15495
- sendMsglibAddress,
15496
- sendMsglibConnectionAddress
15519
+ _sendMsglibConnectionOffset,
15520
+ sendMsglib,
15521
+ sendMsglibConnection
15497
15522
  };
15498
15523
  }
15499
15524
  static async getLzSmlJobAssignedToTS(wrapper, cell) {
@@ -15526,12 +15551,6 @@ var TonObjectUnwrapper = class {
15526
15551
  dstEid
15527
15552
  };
15528
15553
  }
15529
- static async getMdAmountToTS(wrapper, cell) {
15530
- const amount = await wrapper.getClInt("cl::get<coins>", cell, 0n);
15531
- return {
15532
- amount
15533
- };
15534
- }
15535
15554
  static async getMdBoolToTS(wrapper, cell) {
15536
15555
  const bool = await wrapper.getClInt("cl::get<bool>", cell, 0n);
15537
15556
  return {
@@ -15637,17 +15656,19 @@ var TonObjectUnwrapper = class {
15637
15656
  };
15638
15657
  }
15639
15658
  static async getMdLzSendToTS(wrapper, cell) {
15640
- const sendRequestId = await wrapper.getClInt("cl::get<uint64>", cell, 0n);
15641
- const sendMsglib = await wrapper.getClInt("cl::get<address>", cell, 1n);
15642
- const sendMsglibConnection = await wrapper.getClInt("cl::get<address>", cell, 2n);
15643
- const packet = await wrapper.getClCell(cell, 3n);
15644
- const nativeFee = await wrapper.getClInt("cl::get<coins>", cell, 4n);
15645
- const zroFee = await wrapper.getClInt("cl::get<coins>", cell, 5n);
15646
- const extraOptions = await wrapper.getClCell(cell, 6n);
15647
- const enforcedOptions = await wrapper.getClCell(cell, 7n);
15648
- const callbackData = await wrapper.getClCell(cell, 8n);
15659
+ const _sendMsglibConnectionOffset = await wrapper.getClInt("cl::get<uint64>", cell, 0n);
15660
+ const sendMsglibManager = await wrapper.getClInt("cl::get<address>", cell, 1n);
15661
+ const sendMsglib = await wrapper.getClInt("cl::get<address>", cell, 2n);
15662
+ const sendMsglibConnection = await wrapper.getClInt("cl::get<address>", cell, 3n);
15663
+ const packet = await wrapper.getClCell(cell, 4n);
15664
+ const nativeFee = await wrapper.getClInt("cl::get<coins>", cell, 5n);
15665
+ const zroFee = await wrapper.getClInt("cl::get<coins>", cell, 6n);
15666
+ const extraOptions = await wrapper.getClCell(cell, 7n);
15667
+ const enforcedOptions = await wrapper.getClCell(cell, 8n);
15668
+ const callbackData = await wrapper.getClCell(cell, 9n);
15649
15669
  return {
15650
- sendRequestId,
15670
+ _sendMsglibConnectionOffset,
15671
+ sendMsglibManager,
15651
15672
  sendMsglib,
15652
15673
  sendMsglibConnection,
15653
15674
  packet,
@@ -15737,12 +15758,12 @@ var TonObjectUnwrapper = class {
15737
15758
  };
15738
15759
  }
15739
15760
  static async getMdOptionsV1ToTS(wrapper, cell) {
15740
- const lzReceiveGas = await wrapper.getClInt("cl::get<uint256>", cell, 0n);
15761
+ const _nativeDropAddressOffset = await wrapper.getClInt("cl::get<uint256>", cell, 0n);
15741
15762
  const lzReceiveValue = await wrapper.getClInt("cl::get<uint256>", cell, 1n);
15742
15763
  const nativeDropAddress = await wrapper.getClInt("cl::get<address>", cell, 2n);
15743
15764
  const nativeDropAmount = await wrapper.getClInt("cl::get<uint256>", cell, 3n);
15744
15765
  return {
15745
- lzReceiveGas,
15766
+ _nativeDropAddressOffset,
15746
15767
  lzReceiveValue,
15747
15768
  nativeDropAddress,
15748
15769
  nativeDropAmount
@@ -15822,7 +15843,7 @@ var TonObjectUnwrapper = class {
15822
15843
  initialStorage
15823
15844
  };
15824
15845
  }
15825
- static async getPOOONewWithBitsSetsToTS(wrapper, cell) {
15846
+ static async getPOOOToTS(wrapper, cell) {
15826
15847
  const nextEmpty = await wrapper.getClInt("cl::get<uint64>", cell, 0n);
15827
15848
  const bitmap = await wrapper.getClCell(cell, 1n);
15828
15849
  return {
@@ -15892,10 +15913,11 @@ var TonObjectUnwrapper = class {
15892
15913
  const numMsglibs = await wrapper.getClInt("cl::get<uint8>", cell, 4n);
15893
15914
  const channelCode = await wrapper.getClCell(cell, 5n);
15894
15915
  const channelStorageInit = await wrapper.getClCell(cell, 6n);
15895
- const defaultSendLibInfo = await wrapper.getClCell(cell, 7n);
15896
- const defaultReceiveLibInfo = await wrapper.getClCell(cell, 8n);
15897
- const defaultTimeoutReceiveLibInfo = await wrapper.getClCell(cell, 9n);
15898
- const defaultExpiry = await wrapper.getClInt("cl::get<uint64>", cell, 10n);
15916
+ const defaultSendMsglibManager = await wrapper.getClInt("cl::get<address>", cell, 7n);
15917
+ const defaultSendLibInfo = await wrapper.getClCell(cell, 8n);
15918
+ const defaultReceiveLibInfo = await wrapper.getClCell(cell, 9n);
15919
+ const defaultTimeoutReceiveLibInfo = await wrapper.getClCell(cell, 10n);
15920
+ const defaultExpiry = await wrapper.getClInt("cl::get<uint64>", cell, 11n);
15899
15921
  return {
15900
15922
  baseStorage,
15901
15923
  eid,
@@ -15904,6 +15926,7 @@ var TonObjectUnwrapper = class {
15904
15926
  numMsglibs,
15905
15927
  channelCode,
15906
15928
  channelStorageInit,
15929
+ defaultSendMsglibManager,
15907
15930
  defaultSendLibInfo,
15908
15931
  defaultReceiveLibInfo,
15909
15932
  defaultTimeoutReceiveLibInfo,
@@ -16171,26 +16194,26 @@ var TonObjectUnwrapper = class {
16171
16194
  };
16172
16195
  }
16173
16196
  static async getUlnConnectionToTS(wrapper, cell) {
16174
- const baseStorage = await wrapper.getClCell(cell, 0n);
16197
+ const _ulnAddressOffset = await wrapper.getClCell(cell, 0n);
16175
16198
  const path = await wrapper.getClCell(cell, 1n);
16176
16199
  const endpointAddress = await wrapper.getClInt("cl::get<address>", cell, 2n);
16177
16200
  const channelAddress = await wrapper.getClInt("cl::get<address>", cell, 3n);
16178
- const ulnAddress = await wrapper.getClInt("cl::get<address>", cell, 4n);
16179
- const UlnSendConfigOApp = await wrapper.getClCell(cell, 5n);
16180
- const UlnReceiveConfigOApp = await wrapper.getClCell(cell, 6n);
16181
- const hashLookups = await getLzDict(cell, 7n, wrapper);
16182
- const firstUnexecutedNonce = await wrapper.getClInt("cl::get<uint64>", cell, 8n);
16201
+ const firstUnexecutedNonce = await wrapper.getClInt("cl::get<uint64>", cell, 4n);
16202
+ const ulnAddress = await wrapper.getClInt("cl::get<address>", cell, 5n);
16203
+ const UlnSendConfigOApp = await wrapper.getClCell(cell, 6n);
16204
+ const UlnReceiveConfigOApp = await wrapper.getClCell(cell, 7n);
16205
+ const hashLookups = await getLzDict(cell, 8n, wrapper);
16183
16206
  const commitPOOO = await wrapper.getClCell(cell, 9n);
16184
16207
  return {
16185
- baseStorage,
16208
+ _ulnAddressOffset,
16186
16209
  path,
16187
16210
  endpointAddress,
16188
16211
  channelAddress,
16212
+ firstUnexecutedNonce,
16189
16213
  ulnAddress,
16190
16214
  UlnSendConfigOApp,
16191
16215
  UlnReceiveConfigOApp,
16192
16216
  hashLookups,
16193
- firstUnexecutedNonce,
16194
16217
  commitPOOO
16195
16218
  };
16196
16219
  }
@@ -16290,16 +16313,26 @@ var TonObjectUnwrapper = class {
16290
16313
  nativeDropTotalCap
16291
16314
  };
16292
16315
  }
16316
+ static async getMdDropEventToTS(wrapper, cell) {
16317
+ const nativeAmount = await wrapper.getClInt("cl::get<coins>", cell, 0n);
16318
+ const receiver = await wrapper.getClInt("cl::get<address>", cell, 1n);
16319
+ return {
16320
+ nativeAmount,
16321
+ receiver
16322
+ };
16323
+ }
16293
16324
  static async getMdExecuteParamsToTS(wrapper, cell) {
16294
16325
  const target = await wrapper.getClInt("cl::get<address>", cell, 0n);
16295
16326
  const callData = await wrapper.getClCell(cell, 1n);
16296
16327
  const expiration = await wrapper.getClInt("cl::get<uint64>", cell, 2n);
16297
16328
  const opcode = await wrapper.getClInt("cl::get<uint32>", cell, 3n);
16329
+ const forwardingAddress = await wrapper.getClInt("cl::get<address>", cell, 4n);
16298
16330
  return {
16299
16331
  target,
16300
16332
  callData,
16301
16333
  expiration,
16302
- opcode
16334
+ opcode,
16335
+ forwardingAddress
16303
16336
  };
16304
16337
  }
16305
16338
  static async getMdNativeDropToTS(wrapper, cell) {
@@ -16312,20 +16345,24 @@ var TonObjectUnwrapper = class {
16312
16345
  const nonce = await wrapper.getClInt("cl::get<uint64>", cell, 0n);
16313
16346
  const opcode = await wrapper.getClInt("cl::get<uint64>", cell, 1n);
16314
16347
  const dict = await getLzDict(cell, 2n, wrapper);
16348
+ const target = await wrapper.getClInt("cl::get<address>", cell, 3n);
16315
16349
  return {
16316
16350
  nonce,
16317
16351
  opcode,
16318
- dict
16352
+ dict,
16353
+ target
16319
16354
  };
16320
16355
  }
16321
16356
  static async getMdSetQuorumToTS(wrapper, cell) {
16322
16357
  const nonce = await wrapper.getClInt("cl::get<uint64>", cell, 0n);
16323
16358
  const opcode = await wrapper.getClInt("cl::get<uint64>", cell, 1n);
16324
16359
  const quorum = await wrapper.getClInt("cl::get<uint64>", cell, 2n);
16360
+ const target = await wrapper.getClInt("cl::get<address>", cell, 3n);
16325
16361
  return {
16326
16362
  nonce,
16327
16363
  opcode,
16328
- quorum
16364
+ quorum,
16365
+ target
16329
16366
  };
16330
16367
  }
16331
16368
  static async getMdSignedRequestToTS(wrapper, cell) {
@@ -16366,7 +16403,6 @@ var deconstructorMap = {
16366
16403
  SmlJobAssg: TonObjectUnwrapper.getLzSmlJobAssignedToTS,
16367
16404
  Worker: TonObjectUnwrapper.getLzWorkerToTS,
16368
16405
  addMsgLib: TonObjectUnwrapper.getMdAddMsglibToTS,
16369
- Amount: TonObjectUnwrapper.getMdAmountToTS,
16370
16406
  Bool: TonObjectUnwrapper.getMdBoolToTS,
16371
16407
  cNonceInfo: TonObjectUnwrapper.getMdChannelNonceInfoToTS,
16372
16408
  coinsAmt: TonObjectUnwrapper.getMdCoinsAmountToTS,
@@ -16394,7 +16430,7 @@ var deconstructorMap = {
16394
16430
  setPeer: TonObjectUnwrapper.getMdSetPeerToTS,
16395
16431
  setSmlCfg: TonObjectUnwrapper.getMdSetSmlManagerConfigToTS,
16396
16432
  event: TonObjectUnwrapper.getActionEventToTS,
16397
- POOO: TonObjectUnwrapper.getPOOONewWithBitsSetsToTS,
16433
+ POOO: TonObjectUnwrapper.getPOOOToTS,
16398
16434
  channel: TonObjectUnwrapper.getChannelToTS,
16399
16435
  controller: TonObjectUnwrapper.getControllerToTS,
16400
16436
  baseStore: TonObjectUnwrapper.getBaseStorageToTS,
@@ -16429,6 +16465,7 @@ var deconstructorMap = {
16429
16465
  wrkCorStor: TonObjectUnwrapper.getWorkerCoreStorageToTS,
16430
16466
  dvn: TonObjectUnwrapper.getDvnToTS,
16431
16467
  executor: TonObjectUnwrapper.getExecutorToTS,
16468
+ DropEvent: TonObjectUnwrapper.getMdDropEventToTS,
16432
16469
  execParams: TonObjectUnwrapper.getMdExecuteParamsToTS,
16433
16470
  NativeDrop: TonObjectUnwrapper.getMdNativeDropToTS,
16434
16471
  setDct: TonObjectUnwrapper.getMdSetDictToTS,
@@ -17031,6 +17068,6 @@ function createVerifierDictSet(verifiers) {
17031
17068
  *)
17032
17069
  */
17033
17070
 
17034
- export { BASE_CHAIN_ID, BaseWrapper, ERRORS, EVENTS, LzDict, LzEvent, LzEventHandler, LzGasTracker, MASTER_CHAIN_ID, MASTER_CHAIN_SHARD, MAX_CELL_BITS, NAME_WIDTH, OPCODES, PUBLIC_KEY_BYTE_LENGTH, TonContractWrapper, TonObjectUnwrapper, _getTypeWidth, addressToBigInt, addressToHex, appsCounter, asciiStringToBigint, beginMessage, bigintToAddress, bigintToAsciiString, buildClass, calculateCellConsumption, calculateCellConsumptionFromHex, cellsToHex, cl, clDeclare, clGetCellRef, clGetUint, compareAddresses, createVerifierDictSet, decodeClass, deconstructorMap, deepDecode, deepDiff, deserializeAddressList, emptyCell, emptyMap, emptyPOOO, errorCodeByName, errorNamesByCode, errorNamesByCodeAndNamespace, fieldTypes, getBocStringFromMessage, getCellName, getCellNameNumber, getClosestByteAlignedBits, getCompiledCode, getCompiledJson, getEndpointInitStorage, getMessageFromBocString, getName, getTotalBits, hexToCells, initBaseOApp, initBaseStorage, initWorkerCoreStorage, isClassName, isLoadableDict, jettonsZro, keyMap, nameMap, nullObject, numberTypeLikeToAbsBigInt, opcodeToName, parseTonAddress, printDeepDecode, printDeepDiff, protocolChannel, protocolController, protocolEndpoint, publicKeyToHash, randomQueryId, sendRequest, serializeAddressList, simpleMsglibSmlConnection, simpleMsglibSmlManager, srcMultisig, to32ByteBuffer, tonObjects, tonRealNameByCellName, tonResolvedObjects, ultralightnodeUln, ultralightnodeUlnConnection, ultralightnodeUlnManager, ultralightnodeWorkerFeeLibs, workerFeeLibsDvnFeeLib, workerFeeLibsExecutorFeeLib, workersDvn };
17071
+ export { BASE_CHAIN_ID, BaseWrapper, ERRORS, EVENTS, LzDict, LzEvent, LzEventHandler, LzGasTracker, MASTER_CHAIN_ID, MASTER_CHAIN_SHARD, MAX_CELL_BITS, NAME_WIDTH, OPCODES, PUBLIC_KEY_BYTE_LENGTH, TonContractWrapper, TonObjectUnwrapper, _getTypeWidth, addressToBigInt, addressToHex, appsAllStorages, appsCounter, asciiStringToBigint, beginMessage, bigintToAddress, bigintToAsciiString, buildClass, calculateCellConsumption, calculateCellConsumptionFromHex, cellsToHex, cl, clDeclare, clGetCellRef, clGetUint, compareAddresses, createVerifierDictSet, decodeClass, deconstructorMap, deepDecode, deepDiff, deserializeAddressList, emptyCell, emptyMap, emptyPOOO, errorCodeByName, errorNamesByCode, errorNamesByCodeAndNamespace, fieldTypes, getBocStringFromMessage, getCellName, getCellNameNumber, getClosestByteAlignedBits, getCompiledCode, getCompiledJson, getEndpointInitStorage, getMessageFromBocString, getName, getTotalBits, hexToCells, initBaseOApp, initBaseStorage, initWorkerCoreStorage, isClassName, isLoadableDict, jettonsZro, keyMap, nameMap, nullObject, numberTypeLikeToAbsBigInt, opcodeToName, parseTonAddress, printDeepDecode, printDeepDiff, protocolChannel, protocolController, protocolEndpoint, publicKeyToHash, randomQueryId, sendRequest, serializeAddressList, simpleMsglibSmlConnection, simpleMsglibSmlManager, srcMultisig, to32ByteBuffer, tonObjects, tonRealNameByCellName, tonResolvedObjects, ultralightnodeUln, ultralightnodeUlnConnection, ultralightnodeUlnManager, ultralightnodeWorkerFeeLibs, workerFeeLibsDvnFeeLib, workerFeeLibsExecutorFeeLib, workersDvn };
17035
17072
  //# sourceMappingURL=index.mjs.map
17036
17073
  //# sourceMappingURL=index.mjs.map