@affluent-org/sdk 0.0.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.
Files changed (218) hide show
  1. package/.prettierrc +11 -0
  2. package/Refactoring.md +548 -0
  3. package/dist/_compiled/Account.compiled.json +1 -0
  4. package/dist/_compiled/Receipt.compiled.json +1 -0
  5. package/dist/_compiled/WTONWallet.compiled.json +1 -0
  6. package/dist/_compiled/index.d.ts +4 -0
  7. package/dist/_compiled/index.js +12 -0
  8. package/dist/affluent.d.ts +14 -0
  9. package/dist/affluent.js +20 -0
  10. package/dist/constants/constants.d.ts +2 -0
  11. package/dist/constants/constants.js +5 -0
  12. package/dist/constants/contracts.d.ts +9 -0
  13. package/dist/constants/contracts.js +18 -0
  14. package/dist/context.d.ts +43 -0
  15. package/dist/context.js +90 -0
  16. package/dist/contracts/common/type.d.ts +16 -0
  17. package/dist/contracts/common/type.js +2 -0
  18. package/dist/contracts/common/utils.d.ts +3 -0
  19. package/dist/contracts/common/utils.js +16 -0
  20. package/dist/contracts/core/account/index.d.ts +38 -0
  21. package/dist/contracts/core/account/index.js +128 -0
  22. package/dist/contracts/core/account/type.d.ts +18 -0
  23. package/dist/contracts/core/account/type.js +2 -0
  24. package/dist/contracts/core/pool/index.d.ts +149 -0
  25. package/dist/contracts/core/pool/index.js +379 -0
  26. package/dist/contracts/core/pool/serializer.d.ts +15 -0
  27. package/dist/contracts/core/pool/serializer.js +307 -0
  28. package/dist/contracts/core/pool/type.d.ts +136 -0
  29. package/dist/contracts/core/pool/type.js +2 -0
  30. package/dist/contracts/dedust-farm/MockDedustFarm.d.ts +41 -0
  31. package/dist/contracts/dedust-farm/MockDedustFarm.js +79 -0
  32. package/dist/contracts/external/tonstaker.d.ts +18 -0
  33. package/dist/contracts/external/tonstaker.js +26 -0
  34. package/dist/contracts/factory/factory.d.ts +24 -0
  35. package/dist/contracts/factory/factory.js +58 -0
  36. package/dist/contracts/factory/type.d.ts +11 -0
  37. package/dist/contracts/factory/type.js +2 -0
  38. package/dist/contracts/farm/distributor.d.ts +43 -0
  39. package/dist/contracts/farm/distributor.js +83 -0
  40. package/dist/contracts/farm/receipt.d.ts +40 -0
  41. package/dist/contracts/farm/receipt.js +68 -0
  42. package/dist/contracts/irm/jump-irm/serializer.d.ts +4 -0
  43. package/dist/contracts/irm/jump-irm/serializer.js +26 -0
  44. package/dist/contracts/irm/jump-irm/type.d.ts +8 -0
  45. package/dist/contracts/irm/jump-irm/type.js +2 -0
  46. package/dist/contracts/jetton/jetton-minter.d.ts +23 -0
  47. package/dist/contracts/jetton/jetton-minter.js +46 -0
  48. package/dist/contracts/jetton/jetton-wallet.d.ts +67 -0
  49. package/dist/contracts/jetton/jetton-wallet.js +119 -0
  50. package/dist/contracts/jetton/type.d.ts +7 -0
  51. package/dist/contracts/jetton/type.js +2 -0
  52. package/dist/contracts/liquid_token/dedust/minter.d.ts +56 -0
  53. package/dist/contracts/liquid_token/dedust/minter.js +112 -0
  54. package/dist/contracts/liquid_token/dedust/wallet.d.ts +127 -0
  55. package/dist/contracts/liquid_token/dedust/wallet.js +213 -0
  56. package/dist/contracts/liquid_token/stonfi/LFStonfiJettonMinter.d.ts +53 -0
  57. package/dist/contracts/liquid_token/stonfi/LFStonfiJettonMinter.js +110 -0
  58. package/dist/contracts/liquid_token/stonfi/LFStonfiJettonWallet.d.ts +169 -0
  59. package/dist/contracts/liquid_token/stonfi/LFStonfiJettonWallet.js +288 -0
  60. package/dist/contracts/oracle/composite-onchain-oracle/index.d.ts +108 -0
  61. package/dist/contracts/oracle/composite-onchain-oracle/index.js +185 -0
  62. package/dist/contracts/oracle/parser.d.ts +7 -0
  63. package/dist/contracts/oracle/parser.js +77 -0
  64. package/dist/contracts/oracle/redstone-onchain-oracle/index.d.ts +56 -0
  65. package/dist/contracts/oracle/redstone-onchain-oracle/index.js +159 -0
  66. package/dist/contracts/oracle/redstone-onchain-oracle/serializer.d.ts +4 -0
  67. package/dist/contracts/oracle/redstone-onchain-oracle/serializer.js +137 -0
  68. package/dist/contracts/oracle/redstone-onchain-oracle/type.d.ts +57 -0
  69. package/dist/contracts/oracle/redstone-onchain-oracle/type.js +18 -0
  70. package/dist/contracts/oracle/redstone-oracle/serializer.d.ts +3 -0
  71. package/dist/contracts/oracle/redstone-oracle/serializer.js +30 -0
  72. package/dist/contracts/oracle/redstone-oracle/type.d.ts +9 -0
  73. package/dist/contracts/oracle/redstone-oracle/type.js +2 -0
  74. package/dist/contracts/oracle/redstone-parser.d.ts +9 -0
  75. package/dist/contracts/oracle/redstone-parser.js +58 -0
  76. package/dist/contracts/rfq/rfq_auction/index.d.ts +216 -0
  77. package/dist/contracts/rfq/rfq_auction/index.js +334 -0
  78. package/dist/contracts/rfq/rfq_batch/index.d.ts +346 -0
  79. package/dist/contracts/rfq/rfq_batch/index.js +448 -0
  80. package/dist/contracts/rfq/rfq_event_emitter/index.d.ts +132 -0
  81. package/dist/contracts/rfq/rfq_event_emitter/index.js +143 -0
  82. package/dist/contracts/stonfi-farm/MockStonfiFarmItem.d.ts +41 -0
  83. package/dist/contracts/stonfi-farm/MockStonfiFarmItem.js +83 -0
  84. package/dist/contracts/stonfi-farm/MockStonfiFarmMinter.d.ts +45 -0
  85. package/dist/contracts/stonfi-farm/MockStonfiFarmMinter.js +92 -0
  86. package/dist/contracts/unknown-contract/index.d.ts +14 -0
  87. package/dist/contracts/unknown-contract/index.js +18 -0
  88. package/dist/contracts/vault/share-vault/index.d.ts +206 -0
  89. package/dist/contracts/vault/share-vault/index.js +373 -0
  90. package/dist/contracts/vault/strategy-vault/codec.d.ts +710 -0
  91. package/dist/contracts/vault/strategy-vault/codec.js +1256 -0
  92. package/dist/contracts/vault/strategy-vault/computation.d.ts +11 -0
  93. package/dist/contracts/vault/strategy-vault/computation.js +56 -0
  94. package/dist/contracts/vault/strategy-vault/constants.d.ts +163 -0
  95. package/dist/contracts/vault/strategy-vault/constants.js +170 -0
  96. package/dist/contracts/vault/strategy-vault/index.d.ts +587 -0
  97. package/dist/contracts/vault/strategy-vault/index.js +406 -0
  98. package/dist/contracts/vault/strategy-vault/type.d.ts +115 -0
  99. package/dist/contracts/vault/strategy-vault/type.js +2 -0
  100. package/dist/contracts/wton/jetton-minter.d.ts +35 -0
  101. package/dist/contracts/wton/jetton-minter.js +71 -0
  102. package/dist/contracts/wton/jetton-wallet.d.ts +90 -0
  103. package/dist/contracts/wton/jetton-wallet.js +153 -0
  104. package/dist/contracts/wton/type.d.ts +7 -0
  105. package/dist/contracts/wton/type.js +2 -0
  106. package/dist/index.d.ts +34 -0
  107. package/dist/index.js +65 -0
  108. package/dist/lib/assert.d.ts +1 -0
  109. package/dist/lib/assert.js +9 -0
  110. package/dist/lib/query-cache.d.ts +5 -0
  111. package/dist/lib/query-cache.js +57 -0
  112. package/dist/lib/send-msg.d.ts +11 -0
  113. package/dist/lib/send-msg.js +9 -0
  114. package/dist/services/composite-oracle/computation.d.ts +55 -0
  115. package/dist/services/composite-oracle/computation.js +295 -0
  116. package/dist/services/composite-oracle/index.d.ts +45 -0
  117. package/dist/services/composite-oracle/index.js +110 -0
  118. package/dist/services/composite-oracle/query.d.ts +36 -0
  119. package/dist/services/composite-oracle/query.js +251 -0
  120. package/dist/services/composite-oracle/types.d.ts +82 -0
  121. package/dist/services/composite-oracle/types.js +11 -0
  122. package/dist/services/pool/computation.d.ts +75 -0
  123. package/dist/services/pool/computation.js +219 -0
  124. package/dist/services/pool/index.d.ts +94 -0
  125. package/dist/services/pool/index.js +139 -0
  126. package/dist/services/pool/oracle.d.ts +20 -0
  127. package/dist/services/pool/oracle.js +61 -0
  128. package/dist/services/pool/owner/index.d.ts +37 -0
  129. package/dist/services/pool/owner/index.js +76 -0
  130. package/dist/services/pool/owner/types.d.ts +18 -0
  131. package/dist/services/pool/owner/types.js +2 -0
  132. package/dist/services/pool/query.d.ts +64 -0
  133. package/dist/services/pool/query.js +282 -0
  134. package/dist/services/pool/user/index.d.ts +86 -0
  135. package/dist/services/pool/user/index.js +285 -0
  136. package/dist/services/pool/user/types.d.ts +44 -0
  137. package/dist/services/pool/user/types.js +2 -0
  138. package/dist/services/rfq-auction/index.d.ts +81 -0
  139. package/dist/services/rfq-auction/index.js +93 -0
  140. package/dist/services/rfq-auction/oracle.d.ts +19 -0
  141. package/dist/services/rfq-auction/oracle.js +60 -0
  142. package/dist/services/rfq-auction/query.d.ts +50 -0
  143. package/dist/services/rfq-auction/query.js +19 -0
  144. package/dist/services/rfq-auction/user/index.d.ts +63 -0
  145. package/dist/services/rfq-auction/user/index.js +218 -0
  146. package/dist/services/rfq-auction/user/types.d.ts +29 -0
  147. package/dist/services/rfq-auction/user/types.js +2 -0
  148. package/dist/services/rfq-batch/index.d.ts +78 -0
  149. package/dist/services/rfq-batch/index.js +132 -0
  150. package/dist/services/rfq-batch/oracle.d.ts +22 -0
  151. package/dist/services/rfq-batch/oracle.js +54 -0
  152. package/dist/services/rfq-batch/query.d.ts +46 -0
  153. package/dist/services/rfq-batch/query.js +34 -0
  154. package/dist/services/rfq-batch/user/index.d.ts +79 -0
  155. package/dist/services/rfq-batch/user/index.js +171 -0
  156. package/dist/services/rfq-batch/user/types.d.ts +37 -0
  157. package/dist/services/rfq-batch/user/types.js +2 -0
  158. package/dist/services/share-vault/computation.d.ts +24 -0
  159. package/dist/services/share-vault/computation.js +42 -0
  160. package/dist/services/share-vault/index.d.ts +90 -0
  161. package/dist/services/share-vault/index.js +128 -0
  162. package/dist/services/share-vault/manager/index.d.ts +40 -0
  163. package/dist/services/share-vault/manager/index.js +111 -0
  164. package/dist/services/share-vault/manager/types.d.ts +23 -0
  165. package/dist/services/share-vault/manager/types.js +2 -0
  166. package/dist/services/share-vault/owner/index.d.ts +64 -0
  167. package/dist/services/share-vault/owner/index.js +122 -0
  168. package/dist/services/share-vault/owner/types.d.ts +33 -0
  169. package/dist/services/share-vault/owner/types.js +2 -0
  170. package/dist/services/share-vault/query.d.ts +34 -0
  171. package/dist/services/share-vault/query.js +138 -0
  172. package/dist/services/share-vault/user/index.d.ts +33 -0
  173. package/dist/services/share-vault/user/index.js +106 -0
  174. package/dist/services/share-vault/user/types.d.ts +13 -0
  175. package/dist/services/share-vault/user/types.js +2 -0
  176. package/dist/services/strategy-vault/index.d.ts +2124 -0
  177. package/dist/services/strategy-vault/index.js +268 -0
  178. package/dist/services/strategy-vault/manager/index.d.ts +1968 -0
  179. package/dist/services/strategy-vault/manager/index.js +475 -0
  180. package/dist/services/strategy-vault/manager/types.d.ts +144 -0
  181. package/dist/services/strategy-vault/manager/types.js +2 -0
  182. package/dist/services/strategy-vault/oracle.d.ts +66 -0
  183. package/dist/services/strategy-vault/oracle.js +162 -0
  184. package/dist/services/strategy-vault/owner/index.d.ts +277 -0
  185. package/dist/services/strategy-vault/owner/index.js +333 -0
  186. package/dist/services/strategy-vault/owner/types.d.ts +146 -0
  187. package/dist/services/strategy-vault/owner/types.js +2 -0
  188. package/dist/services/strategy-vault/query.d.ts +138 -0
  189. package/dist/services/strategy-vault/query.js +59 -0
  190. package/dist/services/strategy-vault/user/index.d.ts +89 -0
  191. package/dist/services/strategy-vault/user/index.js +219 -0
  192. package/dist/services/strategy-vault/user/types.d.ts +46 -0
  193. package/dist/services/strategy-vault/user/types.js +2 -0
  194. package/dist/types/sender.d.ts +7 -0
  195. package/dist/types/sender.js +2 -0
  196. package/dist/utils/action-parser.d.ts +7 -0
  197. package/dist/utils/action-parser.js +20 -0
  198. package/dist/utils/external-message-hash.d.ts +45 -0
  199. package/dist/utils/external-message-hash.js +65 -0
  200. package/dist/utils/oracle/redstone/readonlyCachedRedstone.d.ts +3 -0
  201. package/dist/utils/oracle/redstone/readonlyCachedRedstone.js +25 -0
  202. package/dist/utils/oracle/redstone/redstoneHelper.d.ts +21 -0
  203. package/dist/utils/oracle/redstone/redstoneHelper.js +228 -0
  204. package/dist/utils/parser.d.ts +40 -0
  205. package/dist/utils/parser.js +580 -0
  206. package/dist/utils/pending-tracker/index.d.ts +14 -0
  207. package/dist/utils/pending-tracker/index.js +34 -0
  208. package/dist/utils/pending-tracker/trackable-sender.d.ts +16 -0
  209. package/dist/utils/pending-tracker/trackable-sender.js +87 -0
  210. package/dist/utils/pending-tracker/type.d.ts +78 -0
  211. package/dist/utils/pending-tracker/type.js +2 -0
  212. package/dist/utils/pending-tracker/v3-client.d.ts +31 -0
  213. package/dist/utils/pending-tracker/v3-client.js +104 -0
  214. package/dist/utils/risk_calculator/risk_calculator.d.ts +45 -0
  215. package/dist/utils/risk_calculator/risk_calculator.js +332 -0
  216. package/dist/utils/utils.d.ts +5 -0
  217. package/dist/utils/utils.js +12 -0
  218. package/package.json +46 -0
@@ -0,0 +1,2124 @@
1
+ import { AffluentContext } from "../../context";
2
+ import { AddressInput, AddressLike } from "../../contracts/common/type";
3
+ import { AddressSender } from "../../types/sender";
4
+ import { StrategyVaultState } from "../../contracts/vault/strategy-vault";
5
+ import * as owner from "./owner";
6
+ import * as manager from "./manager";
7
+ import * as user from "./user";
8
+ export { sendMsg } from "../../lib/send-msg";
9
+ export { createQueryId } from "../../contracts/vault/strategy-vault/computation";
10
+ export * from "./owner/types";
11
+ export * from "./manager/types";
12
+ export * from "./user/types";
13
+ export { owner, manager, user };
14
+ export declare class StrategyVaultV1 {
15
+ private ctx;
16
+ constructor(ctx?: AffluentContext);
17
+ getVault(strategyVaultAddress: AddressInput): import("@ton/core").OpenedContract<import("../../contracts/vault/strategy-vault").StrategyVault>;
18
+ getVaultData(strategyVaultAddress: AddressLike): Promise<{
19
+ globalDepositValueCap: bigint;
20
+ withdrawFeeRate: number;
21
+ queueWithdrawFeeRate: number;
22
+ depositQueueManager: import("../../contracts/vault/strategy-vault").QueueManager;
23
+ withdrawQueueManager: import("../../contracts/vault/strategy-vault").QueueManager;
24
+ interactiveVaultDict: Record<string, import("../../contracts/vault/strategy-vault").InteractiveVaultConfigItem>;
25
+ xchainConnectorAddress: import("@ton/core").Address | null;
26
+ xchainConfig: Record<string, {
27
+ connected: boolean;
28
+ xchainAccountAddress: bigint;
29
+ oftConfig: Map<string, {
30
+ destinationAddress: import("@ton/core").Address;
31
+ forwardGas: bigint;
32
+ forwardPayload?: import("@ton/core").Cell | null;
33
+ lzTransferFeeRate?: bigint;
34
+ }> | null;
35
+ strategyConfig: Map<bigint, {
36
+ isExecutable: boolean;
37
+ }> | null;
38
+ afterStrategyConfig: Map<bigint, {
39
+ isExecutable: boolean;
40
+ }> | null;
41
+ lzGasFee: bigint;
42
+ }>;
43
+ xchainUpdateHash: bigint;
44
+ owner: import("@ton/core").Address;
45
+ manager: import("@ton/core").Address;
46
+ assets: Record<string, import("../../contracts/vault/strategy-vault").AssetV2>;
47
+ factorialPools: Record<string, import("../../contracts/vault/strategy-vault").FactorialPool>;
48
+ aggregatorIndex: bigint;
49
+ content: import("@ton/core").Cell;
50
+ totalSupply: bigint;
51
+ oracleConfig: import("@ton/core").Cell | import("../../contracts/oracle/redstone-onchain-oracle/type").RedstoneOnchainOracleConfig | import("../../contracts/oracle/redstone-oracle/type").RedstonOracleConfig;
52
+ rfqConfig: {
53
+ priceDeviationTolerance: number;
54
+ rfqEventEmitterAddress: string | null;
55
+ } | null;
56
+ gasConfig: Record<string, bigint> | null;
57
+ isPrivateVault: boolean;
58
+ depositCloseTimestamp: number;
59
+ withdrawOpenTimestamp: number;
60
+ whitelistedMinters: import("@ton/core").Dictionary<import("@ton/core").Address, Boolean>;
61
+ lastCollectTime: number;
62
+ managementFeeRatePerYear: number;
63
+ protocolFeeRatePerYear: number;
64
+ collectedManagementFee: bigint;
65
+ collectedProtocolFee: bigint;
66
+ rfqCode: import("@ton/core").Cell;
67
+ walletCode: import("@ton/core").Cell;
68
+ dataAggregatorCode: import("@ton/core").Cell;
69
+ protocolFeeManagerAddress: import("@ton/core").Address;
70
+ rfqIndex: bigint;
71
+ isExecutingStrategy: boolean;
72
+ maxLeverageRatio: number;
73
+ assetWalletDict: Record<string, string>;
74
+ walletAssetDict: Record<string, string>;
75
+ managementFeeRecipientAddress: import("@ton/core").Address | null;
76
+ guardianAddress: import("@ton/core").Address | null;
77
+ timelock: bigint;
78
+ pendingOwnerActionIndex: bigint;
79
+ pendingOwnerActionCount: bigint;
80
+ pendingOwnerAction: any;
81
+ getFactorialPoolAsset: (poolAddress: import("@ton/core").Address, assetAddress: import("@ton/core").Address) => import("../../contracts/vault/strategy-vault").FactorialPoolShare;
82
+ getAsset: (assetAddress: import("@ton/core").Address) => import("../../contracts/vault/strategy-vault").AssetV2;
83
+ version: string;
84
+ address: import("@ton/core").Address;
85
+ balance: bigint;
86
+ code: import("@ton/core").Cell;
87
+ } | {
88
+ globalDepositValueCap: bigint;
89
+ withdrawFeeRate: number;
90
+ queueWithdrawFeeRate: number;
91
+ depositQueueManager: import("../../contracts/vault/strategy-vault").QueueManager;
92
+ withdrawQueueManager: import("../../contracts/vault/strategy-vault").QueueManager;
93
+ interactiveVaultDict: Record<string, import("../../contracts/vault/strategy-vault").InteractiveVaultConfigItem>;
94
+ xchainConnectorAddress: null;
95
+ xchainConfig: null;
96
+ xchainUpdateHash: bigint;
97
+ owner: import("@ton/core").Address;
98
+ manager: import("@ton/core").Address;
99
+ assets: Record<string, import("../../contracts/vault/strategy-vault").AssetV2>;
100
+ factorialPools: Record<string, import("../../contracts/vault/strategy-vault").FactorialPool>;
101
+ aggregatorIndex: bigint;
102
+ content: import("@ton/core").Cell;
103
+ totalSupply: bigint;
104
+ oracleConfig: import("@ton/core").Cell | import("../../contracts/oracle/redstone-onchain-oracle/type").RedstoneOnchainOracleConfig | import("../../contracts/oracle/redstone-oracle/type").RedstonOracleConfig;
105
+ rfqConfig: {
106
+ priceDeviationTolerance: number;
107
+ rfqEventEmitterAddress: string | null;
108
+ } | null;
109
+ gasConfig: Record<string, bigint> | null;
110
+ isPrivateVault: boolean;
111
+ depositCloseTimestamp: number;
112
+ withdrawOpenTimestamp: number;
113
+ whitelistedMinters: import("@ton/core").Dictionary<import("@ton/core").Address, Boolean>;
114
+ lastCollectTime: number;
115
+ managementFeeRatePerYear: number;
116
+ protocolFeeRatePerYear: number;
117
+ collectedManagementFee: bigint;
118
+ collectedProtocolFee: bigint;
119
+ rfqCode: import("@ton/core").Cell;
120
+ walletCode: import("@ton/core").Cell;
121
+ dataAggregatorCode: import("@ton/core").Cell;
122
+ protocolFeeManagerAddress: import("@ton/core").Address;
123
+ rfqIndex: bigint;
124
+ isExecutingStrategy: boolean;
125
+ maxLeverageRatio: number;
126
+ assetWalletDict: Record<string, string>;
127
+ walletAssetDict: Record<string, string>;
128
+ managementFeeRecipientAddress: import("@ton/core").Address | null;
129
+ guardianAddress: import("@ton/core").Address | null;
130
+ timelock: bigint;
131
+ pendingOwnerActionIndex: bigint;
132
+ pendingOwnerActionCount: bigint;
133
+ pendingOwnerAction: any;
134
+ getFactorialPoolAsset: (poolAddress: import("@ton/core").Address, assetAddress: import("@ton/core").Address) => import("../../contracts/vault/strategy-vault").FactorialPoolShare;
135
+ getAsset: (assetAddress: import("@ton/core").Address) => import("../../contracts/vault/strategy-vault").AssetV2;
136
+ version: string;
137
+ address: import("@ton/core").Address;
138
+ balance: bigint;
139
+ code: import("@ton/core").Cell;
140
+ }>;
141
+ getVaultWallet(strategyVaultAddress: AddressInput, accountAddress: AddressLike): Promise<import("@ton/core").OpenedContract<import("../..").JettonWallet>>;
142
+ getRFQAuctionAddress(strategyVaultAddress: AddressInput, index: bigint): Promise<import("@ton/core").Address>;
143
+ getRFQAuction(strategyVaultAddress: AddressInput, index: bigint): Promise<import("@ton/core").OpenedContract<import("../..").RFQAuction>>;
144
+ isVaultAsset(address: AddressInput): Promise<boolean>;
145
+ splitPureAndVaultAsset(addresses: AddressInput[]): Promise<{
146
+ vaultAssetAddresses: string[];
147
+ pureAssetAddresses: string[];
148
+ }>;
149
+ getOracleParams(vaultAddress: AddressLike, vaultData?: StrategyVaultState, extraAssets?: {
150
+ assets: string[];
151
+ vaultAssets: string[];
152
+ }): Promise<import("@ton/core").Cell>;
153
+ private getCompositeOracle;
154
+ getVaultPrice(vaultAddress: AddressLike, vaultData?: StrategyVaultState): Promise<bigint>;
155
+ getAllAssetPrices(vaultAddress: AddressLike, vaultData?: StrategyVaultState): Promise<import("../composite-oracle").Prices>;
156
+ getTotalValue(vaultAddress: AddressLike, vaultData?: StrategyVaultState): Promise<bigint>;
157
+ sendSetOwner(sender: AddressSender, params: owner.SetOwnerParams): Promise<{
158
+ vault: import("@ton/core").OpenedContract<import("../../contracts/vault/strategy-vault").StrategyVault>;
159
+ }>;
160
+ sendSetGuardianAddress(sender: AddressSender, params: owner.SetGuardianAddressParams, value?: bigint): Promise<{
161
+ vault: import("@ton/core").OpenedContract<import("../../contracts/vault/strategy-vault").StrategyVault>;
162
+ }>;
163
+ sendSetManager(sender: AddressSender, params: owner.SetManagerParams): Promise<{
164
+ vault: import("@ton/core").OpenedContract<import("../../contracts/vault/strategy-vault").StrategyVault>;
165
+ }>;
166
+ sendSetPrivateVault(sender: AddressSender, params: owner.SetPrivateVaultParams, value?: bigint): Promise<{
167
+ vault: import("@ton/core").OpenedContract<import("../../contracts/vault/strategy-vault").StrategyVault>;
168
+ }>;
169
+ sendSetWhitelistedMinters(sender: AddressSender, params: owner.SetWhitelistedMintersParams, value?: bigint): Promise<{
170
+ vault: import("@ton/core").OpenedContract<import("../../contracts/vault/strategy-vault").StrategyVault>;
171
+ mintersDict: import("@ton/core").Dictionary<import("@ton/core").Address, any>;
172
+ }>;
173
+ sendSetMaxLeverageRatio(sender: AddressSender, params: owner.SetMaxLeverageRatioParams, value?: bigint): Promise<{
174
+ vault: import("@ton/core").OpenedContract<import("../../contracts/vault/strategy-vault").StrategyVault>;
175
+ }>;
176
+ sendExecuteOwnerAction(sender: AddressSender, params: owner.ExecuteOwnerActionParams, value?: bigint): Promise<{
177
+ vault: import("@ton/core").OpenedContract<import("../../contracts/vault/strategy-vault").StrategyVault>;
178
+ }>;
179
+ sendRevertOwnerAction(sender: AddressSender, params: owner.RevertOwnerActionParams, value?: bigint): Promise<{
180
+ vault: import("@ton/core").OpenedContract<import("../../contracts/vault/strategy-vault").StrategyVault>;
181
+ }>;
182
+ sendSetTimelock(sender: AddressSender, params: owner.SetTimelockParams, value?: bigint): Promise<{
183
+ vault: import("@ton/core").OpenedContract<import("../../contracts/vault/strategy-vault").StrategyVault>;
184
+ }>;
185
+ sendSetManagementFeeRecipientAddress(sender: AddressSender, params: owner.SetManagementFeeRecipientAddressParams, value?: bigint): Promise<{
186
+ vault: import("@ton/core").OpenedContract<import("../../contracts/vault/strategy-vault").StrategyVault>;
187
+ }>;
188
+ sendSetProtocolFeeRatePerYear(sender: AddressSender, params: owner.SetProtocolFeeRatePerYearParams, value?: bigint): Promise<{
189
+ vault: import("@ton/core").OpenedContract<import("../../contracts/vault/strategy-vault").StrategyVault>;
190
+ }>;
191
+ sendSetProtocolFeeManagerAddress(sender: AddressSender, params: owner.SetProtocolFeeManagerAddressParams, value?: bigint): Promise<{
192
+ vault: import("@ton/core").OpenedContract<import("../../contracts/vault/strategy-vault").StrategyVault>;
193
+ }>;
194
+ sendSetFactorialPoolConfig(sender: AddressSender, params: owner.SetFactorialPoolConfigParams): Promise<{
195
+ vault: import("@ton/core").OpenedContract<import("../../contracts/vault/strategy-vault").StrategyVault>;
196
+ factorialPoolConfig: import("@ton/core").Cell;
197
+ }>;
198
+ sendSetAssetConfig(sender: AddressSender, params: owner.SetAssetConfigParams, value?: bigint): Promise<{
199
+ vault: import("@ton/core").OpenedContract<import("../../contracts/vault/strategy-vault").StrategyVault>;
200
+ }>;
201
+ sendSetRFQConfig(sender: AddressSender, params: owner.SetRFQConfigParams, value?: bigint): Promise<{
202
+ vault: import("@ton/core").OpenedContract<import("../../contracts/vault/strategy-vault").StrategyVault>;
203
+ }>;
204
+ sendSetManagementFeeRatePerYear(sender: AddressSender, params: owner.SetManagementFeeRatePerYearParams, value?: bigint): Promise<{
205
+ vault: import("@ton/core").OpenedContract<import("../../contracts/vault/strategy-vault").StrategyVault>;
206
+ }>;
207
+ sendSetDepositCloseTimestamp(sender: AddressSender, params: owner.SetDepositCloseTimestampParams, value?: bigint): Promise<{
208
+ vault: import("@ton/core").OpenedContract<import("../../contracts/vault/strategy-vault").StrategyVault>;
209
+ }>;
210
+ sendSetWithdrawOpenTimestamp(sender: AddressSender, params: owner.SetWithdrawOpenTimestampParams, value?: bigint): Promise<{
211
+ vault: import("@ton/core").OpenedContract<import("../../contracts/vault/strategy-vault").StrategyVault>;
212
+ }>;
213
+ sendSetGasConfig(sender: AddressSender, params: owner.SetGasConfigParams, value?: bigint): Promise<{
214
+ vault: import("@ton/core").OpenedContract<import("../../contracts/vault/strategy-vault").StrategyVault>;
215
+ }>;
216
+ sendSetOracleConfig(sender: AddressSender, params: owner.SetOracleConfigParams, value?: bigint): Promise<{
217
+ vault: import("@ton/core").OpenedContract<import("../../contracts/vault/strategy-vault").StrategyVault>;
218
+ }>;
219
+ sendSetWalletCode(sender: AddressSender, params: owner.SetWalletCodeParams, value?: bigint): Promise<{
220
+ vault: import("@ton/core").OpenedContract<import("../../contracts/vault/strategy-vault").StrategyVault>;
221
+ }>;
222
+ sendSetDataAggregatorCode(sender: AddressSender, params: owner.SetDataAggregatorCodeParams, value?: bigint): Promise<{
223
+ vault: import("@ton/core").OpenedContract<import("../../contracts/vault/strategy-vault").StrategyVault>;
224
+ }>;
225
+ sendSetRFQCode(sender: AddressSender, params: owner.SetRFQCodeParams, value?: bigint): Promise<{
226
+ vault: import("@ton/core").OpenedContract<import("../../contracts/vault/strategy-vault").StrategyVault>;
227
+ }>;
228
+ sendSetContent(sender: AddressSender, params: owner.SetContentParams, value?: bigint): Promise<{
229
+ vault: import("@ton/core").OpenedContract<import("../../contracts/vault/strategy-vault").StrategyVault>;
230
+ }>;
231
+ sendUpgradeCode(sender: AddressSender, params: owner.UpgradeCodeParams, value?: bigint): Promise<{
232
+ vault: import("@ton/core").OpenedContract<import("../../contracts/vault/strategy-vault").StrategyVault>;
233
+ }>;
234
+ sendCollectProtocolFee(sender: AddressSender, params: owner.CollectProtocolFeeParams, value?: bigint): Promise<{
235
+ vault: import("@ton/core").OpenedContract<import("../../contracts/vault/strategy-vault").StrategyVault>;
236
+ }>;
237
+ sendClaimManagementFee(sender: AddressSender, params: owner.ClaimManagementFeeParams, value?: bigint): Promise<{
238
+ vault: import("@ton/core").OpenedContract<import("../../contracts/vault/strategy-vault").StrategyVault>;
239
+ }>;
240
+ sendSupplyToFactorial(sender: AddressSender, params: manager.SupplyToFactorialParams, value?: bigint): Promise<{
241
+ strategyVault: import("@ton/core").OpenedContract<import("../../contracts/vault/strategy-vault").StrategyVault>;
242
+ vaultData: {
243
+ globalDepositValueCap: bigint;
244
+ withdrawFeeRate: number;
245
+ queueWithdrawFeeRate: number;
246
+ depositQueueManager: import("../../contracts/vault/strategy-vault").QueueManager;
247
+ withdrawQueueManager: import("../../contracts/vault/strategy-vault").QueueManager;
248
+ interactiveVaultDict: Record<string, import("../../contracts/vault/strategy-vault").InteractiveVaultConfigItem>;
249
+ xchainConnectorAddress: import("@ton/core").Address | null;
250
+ xchainConfig: Record<string, {
251
+ connected: boolean;
252
+ xchainAccountAddress: bigint;
253
+ oftConfig: Map<string, {
254
+ destinationAddress: import("@ton/core").Address;
255
+ forwardGas: bigint;
256
+ forwardPayload?: import("@ton/core").Cell | null;
257
+ lzTransferFeeRate?: bigint;
258
+ }> | null;
259
+ strategyConfig: Map<bigint, {
260
+ isExecutable: boolean;
261
+ }> | null;
262
+ afterStrategyConfig: Map<bigint, {
263
+ isExecutable: boolean;
264
+ }> | null;
265
+ lzGasFee: bigint;
266
+ }>;
267
+ xchainUpdateHash: bigint;
268
+ owner: import("@ton/core").Address;
269
+ manager: import("@ton/core").Address;
270
+ assets: Record<string, import("../../contracts/vault/strategy-vault").AssetV2>;
271
+ factorialPools: Record<string, import("../../contracts/vault/strategy-vault").FactorialPool>;
272
+ aggregatorIndex: bigint;
273
+ content: import("@ton/core").Cell;
274
+ totalSupply: bigint;
275
+ oracleConfig: import("@ton/core").Cell | import("../../contracts/oracle/redstone-onchain-oracle/type").RedstoneOnchainOracleConfig | import("../../contracts/oracle/redstone-oracle/type").RedstonOracleConfig;
276
+ rfqConfig: {
277
+ priceDeviationTolerance: number;
278
+ rfqEventEmitterAddress: string | null;
279
+ } | null;
280
+ gasConfig: Record<string, bigint> | null;
281
+ isPrivateVault: boolean;
282
+ depositCloseTimestamp: number;
283
+ withdrawOpenTimestamp: number;
284
+ whitelistedMinters: import("@ton/core").Dictionary<import("@ton/core").Address, Boolean>;
285
+ lastCollectTime: number;
286
+ managementFeeRatePerYear: number;
287
+ protocolFeeRatePerYear: number;
288
+ collectedManagementFee: bigint;
289
+ collectedProtocolFee: bigint;
290
+ rfqCode: import("@ton/core").Cell;
291
+ walletCode: import("@ton/core").Cell;
292
+ dataAggregatorCode: import("@ton/core").Cell;
293
+ protocolFeeManagerAddress: import("@ton/core").Address;
294
+ rfqIndex: bigint;
295
+ isExecutingStrategy: boolean;
296
+ maxLeverageRatio: number;
297
+ assetWalletDict: Record<string, string>;
298
+ walletAssetDict: Record<string, string>;
299
+ managementFeeRecipientAddress: import("@ton/core").Address | null;
300
+ guardianAddress: import("@ton/core").Address | null;
301
+ timelock: bigint;
302
+ pendingOwnerActionIndex: bigint;
303
+ pendingOwnerActionCount: bigint;
304
+ pendingOwnerAction: any;
305
+ getFactorialPoolAsset: (poolAddress: import("@ton/core").Address, assetAddress: import("@ton/core").Address) => import("../../contracts/vault/strategy-vault").FactorialPoolShare;
306
+ getAsset: (assetAddress: import("@ton/core").Address) => import("../../contracts/vault/strategy-vault").AssetV2;
307
+ version: string;
308
+ address: import("@ton/core").Address;
309
+ balance: bigint;
310
+ code: import("@ton/core").Cell;
311
+ } | {
312
+ globalDepositValueCap: bigint;
313
+ withdrawFeeRate: number;
314
+ queueWithdrawFeeRate: number;
315
+ depositQueueManager: import("../../contracts/vault/strategy-vault").QueueManager;
316
+ withdrawQueueManager: import("../../contracts/vault/strategy-vault").QueueManager;
317
+ interactiveVaultDict: Record<string, import("../../contracts/vault/strategy-vault").InteractiveVaultConfigItem>;
318
+ xchainConnectorAddress: null;
319
+ xchainConfig: null;
320
+ xchainUpdateHash: bigint;
321
+ owner: import("@ton/core").Address;
322
+ manager: import("@ton/core").Address;
323
+ assets: Record<string, import("../../contracts/vault/strategy-vault").AssetV2>;
324
+ factorialPools: Record<string, import("../../contracts/vault/strategy-vault").FactorialPool>;
325
+ aggregatorIndex: bigint;
326
+ content: import("@ton/core").Cell;
327
+ totalSupply: bigint;
328
+ oracleConfig: import("@ton/core").Cell | import("../../contracts/oracle/redstone-onchain-oracle/type").RedstoneOnchainOracleConfig | import("../../contracts/oracle/redstone-oracle/type").RedstonOracleConfig;
329
+ rfqConfig: {
330
+ priceDeviationTolerance: number;
331
+ rfqEventEmitterAddress: string | null;
332
+ } | null;
333
+ gasConfig: Record<string, bigint> | null;
334
+ isPrivateVault: boolean;
335
+ depositCloseTimestamp: number;
336
+ withdrawOpenTimestamp: number;
337
+ whitelistedMinters: import("@ton/core").Dictionary<import("@ton/core").Address, Boolean>;
338
+ lastCollectTime: number;
339
+ managementFeeRatePerYear: number;
340
+ protocolFeeRatePerYear: number;
341
+ collectedManagementFee: bigint;
342
+ collectedProtocolFee: bigint;
343
+ rfqCode: import("@ton/core").Cell;
344
+ walletCode: import("@ton/core").Cell;
345
+ dataAggregatorCode: import("@ton/core").Cell;
346
+ protocolFeeManagerAddress: import("@ton/core").Address;
347
+ rfqIndex: bigint;
348
+ isExecutingStrategy: boolean;
349
+ maxLeverageRatio: number;
350
+ assetWalletDict: Record<string, string>;
351
+ walletAssetDict: Record<string, string>;
352
+ managementFeeRecipientAddress: import("@ton/core").Address | null;
353
+ guardianAddress: import("@ton/core").Address | null;
354
+ timelock: bigint;
355
+ pendingOwnerActionIndex: bigint;
356
+ pendingOwnerActionCount: bigint;
357
+ pendingOwnerAction: any;
358
+ getFactorialPoolAsset: (poolAddress: import("@ton/core").Address, assetAddress: import("@ton/core").Address) => import("../../contracts/vault/strategy-vault").FactorialPoolShare;
359
+ getAsset: (assetAddress: import("@ton/core").Address) => import("../../contracts/vault/strategy-vault").AssetV2;
360
+ version: string;
361
+ address: import("@ton/core").Address;
362
+ balance: bigint;
363
+ code: import("@ton/core").Cell;
364
+ };
365
+ poolAddress: import("@ton/core").Address;
366
+ assetAddress: import("@ton/core").Address;
367
+ }>;
368
+ sendBorrowFromFactorial(sender: AddressSender, params: manager.BorrowFromFactorialParams, value?: bigint): Promise<{
369
+ strategyVault: import("@ton/core").OpenedContract<import("../../contracts/vault/strategy-vault").StrategyVault>;
370
+ vaultData: {
371
+ globalDepositValueCap: bigint;
372
+ withdrawFeeRate: number;
373
+ queueWithdrawFeeRate: number;
374
+ depositQueueManager: import("../../contracts/vault/strategy-vault").QueueManager;
375
+ withdrawQueueManager: import("../../contracts/vault/strategy-vault").QueueManager;
376
+ interactiveVaultDict: Record<string, import("../../contracts/vault/strategy-vault").InteractiveVaultConfigItem>;
377
+ xchainConnectorAddress: import("@ton/core").Address | null;
378
+ xchainConfig: Record<string, {
379
+ connected: boolean;
380
+ xchainAccountAddress: bigint;
381
+ oftConfig: Map<string, {
382
+ destinationAddress: import("@ton/core").Address;
383
+ forwardGas: bigint;
384
+ forwardPayload?: import("@ton/core").Cell | null;
385
+ lzTransferFeeRate?: bigint;
386
+ }> | null;
387
+ strategyConfig: Map<bigint, {
388
+ isExecutable: boolean;
389
+ }> | null;
390
+ afterStrategyConfig: Map<bigint, {
391
+ isExecutable: boolean;
392
+ }> | null;
393
+ lzGasFee: bigint;
394
+ }>;
395
+ xchainUpdateHash: bigint;
396
+ owner: import("@ton/core").Address;
397
+ manager: import("@ton/core").Address;
398
+ assets: Record<string, import("../../contracts/vault/strategy-vault").AssetV2>;
399
+ factorialPools: Record<string, import("../../contracts/vault/strategy-vault").FactorialPool>;
400
+ aggregatorIndex: bigint;
401
+ content: import("@ton/core").Cell;
402
+ totalSupply: bigint;
403
+ oracleConfig: import("@ton/core").Cell | import("../../contracts/oracle/redstone-onchain-oracle/type").RedstoneOnchainOracleConfig | import("../../contracts/oracle/redstone-oracle/type").RedstonOracleConfig;
404
+ rfqConfig: {
405
+ priceDeviationTolerance: number;
406
+ rfqEventEmitterAddress: string | null;
407
+ } | null;
408
+ gasConfig: Record<string, bigint> | null;
409
+ isPrivateVault: boolean;
410
+ depositCloseTimestamp: number;
411
+ withdrawOpenTimestamp: number;
412
+ whitelistedMinters: import("@ton/core").Dictionary<import("@ton/core").Address, Boolean>;
413
+ lastCollectTime: number;
414
+ managementFeeRatePerYear: number;
415
+ protocolFeeRatePerYear: number;
416
+ collectedManagementFee: bigint;
417
+ collectedProtocolFee: bigint;
418
+ rfqCode: import("@ton/core").Cell;
419
+ walletCode: import("@ton/core").Cell;
420
+ dataAggregatorCode: import("@ton/core").Cell;
421
+ protocolFeeManagerAddress: import("@ton/core").Address;
422
+ rfqIndex: bigint;
423
+ isExecutingStrategy: boolean;
424
+ maxLeverageRatio: number;
425
+ assetWalletDict: Record<string, string>;
426
+ walletAssetDict: Record<string, string>;
427
+ managementFeeRecipientAddress: import("@ton/core").Address | null;
428
+ guardianAddress: import("@ton/core").Address | null;
429
+ timelock: bigint;
430
+ pendingOwnerActionIndex: bigint;
431
+ pendingOwnerActionCount: bigint;
432
+ pendingOwnerAction: any;
433
+ getFactorialPoolAsset: (poolAddress: import("@ton/core").Address, assetAddress: import("@ton/core").Address) => import("../../contracts/vault/strategy-vault").FactorialPoolShare;
434
+ getAsset: (assetAddress: import("@ton/core").Address) => import("../../contracts/vault/strategy-vault").AssetV2;
435
+ version: string;
436
+ address: import("@ton/core").Address;
437
+ balance: bigint;
438
+ code: import("@ton/core").Cell;
439
+ } | {
440
+ globalDepositValueCap: bigint;
441
+ withdrawFeeRate: number;
442
+ queueWithdrawFeeRate: number;
443
+ depositQueueManager: import("../../contracts/vault/strategy-vault").QueueManager;
444
+ withdrawQueueManager: import("../../contracts/vault/strategy-vault").QueueManager;
445
+ interactiveVaultDict: Record<string, import("../../contracts/vault/strategy-vault").InteractiveVaultConfigItem>;
446
+ xchainConnectorAddress: null;
447
+ xchainConfig: null;
448
+ xchainUpdateHash: bigint;
449
+ owner: import("@ton/core").Address;
450
+ manager: import("@ton/core").Address;
451
+ assets: Record<string, import("../../contracts/vault/strategy-vault").AssetV2>;
452
+ factorialPools: Record<string, import("../../contracts/vault/strategy-vault").FactorialPool>;
453
+ aggregatorIndex: bigint;
454
+ content: import("@ton/core").Cell;
455
+ totalSupply: bigint;
456
+ oracleConfig: import("@ton/core").Cell | import("../../contracts/oracle/redstone-onchain-oracle/type").RedstoneOnchainOracleConfig | import("../../contracts/oracle/redstone-oracle/type").RedstonOracleConfig;
457
+ rfqConfig: {
458
+ priceDeviationTolerance: number;
459
+ rfqEventEmitterAddress: string | null;
460
+ } | null;
461
+ gasConfig: Record<string, bigint> | null;
462
+ isPrivateVault: boolean;
463
+ depositCloseTimestamp: number;
464
+ withdrawOpenTimestamp: number;
465
+ whitelistedMinters: import("@ton/core").Dictionary<import("@ton/core").Address, Boolean>;
466
+ lastCollectTime: number;
467
+ managementFeeRatePerYear: number;
468
+ protocolFeeRatePerYear: number;
469
+ collectedManagementFee: bigint;
470
+ collectedProtocolFee: bigint;
471
+ rfqCode: import("@ton/core").Cell;
472
+ walletCode: import("@ton/core").Cell;
473
+ dataAggregatorCode: import("@ton/core").Cell;
474
+ protocolFeeManagerAddress: import("@ton/core").Address;
475
+ rfqIndex: bigint;
476
+ isExecutingStrategy: boolean;
477
+ maxLeverageRatio: number;
478
+ assetWalletDict: Record<string, string>;
479
+ walletAssetDict: Record<string, string>;
480
+ managementFeeRecipientAddress: import("@ton/core").Address | null;
481
+ guardianAddress: import("@ton/core").Address | null;
482
+ timelock: bigint;
483
+ pendingOwnerActionIndex: bigint;
484
+ pendingOwnerActionCount: bigint;
485
+ pendingOwnerAction: any;
486
+ getFactorialPoolAsset: (poolAddress: import("@ton/core").Address, assetAddress: import("@ton/core").Address) => import("../../contracts/vault/strategy-vault").FactorialPoolShare;
487
+ getAsset: (assetAddress: import("@ton/core").Address) => import("../../contracts/vault/strategy-vault").AssetV2;
488
+ version: string;
489
+ address: import("@ton/core").Address;
490
+ balance: bigint;
491
+ code: import("@ton/core").Cell;
492
+ };
493
+ oraclePayload: import("@ton/core").Cell;
494
+ oracleCalculateGas: bigint;
495
+ poolAddress: import("@ton/core").Address;
496
+ assetAddress: import("@ton/core").Address;
497
+ }>;
498
+ sendRepayToFactorial(sender: AddressSender, params: manager.RepayToFactorialParams, value?: bigint): Promise<{
499
+ strategyVault: import("@ton/core").OpenedContract<import("../../contracts/vault/strategy-vault").StrategyVault>;
500
+ vaultData: {
501
+ globalDepositValueCap: bigint;
502
+ withdrawFeeRate: number;
503
+ queueWithdrawFeeRate: number;
504
+ depositQueueManager: import("../../contracts/vault/strategy-vault").QueueManager;
505
+ withdrawQueueManager: import("../../contracts/vault/strategy-vault").QueueManager;
506
+ interactiveVaultDict: Record<string, import("../../contracts/vault/strategy-vault").InteractiveVaultConfigItem>;
507
+ xchainConnectorAddress: import("@ton/core").Address | null;
508
+ xchainConfig: Record<string, {
509
+ connected: boolean;
510
+ xchainAccountAddress: bigint;
511
+ oftConfig: Map<string, {
512
+ destinationAddress: import("@ton/core").Address;
513
+ forwardGas: bigint;
514
+ forwardPayload?: import("@ton/core").Cell | null;
515
+ lzTransferFeeRate?: bigint;
516
+ }> | null;
517
+ strategyConfig: Map<bigint, {
518
+ isExecutable: boolean;
519
+ }> | null;
520
+ afterStrategyConfig: Map<bigint, {
521
+ isExecutable: boolean;
522
+ }> | null;
523
+ lzGasFee: bigint;
524
+ }>;
525
+ xchainUpdateHash: bigint;
526
+ owner: import("@ton/core").Address;
527
+ manager: import("@ton/core").Address;
528
+ assets: Record<string, import("../../contracts/vault/strategy-vault").AssetV2>;
529
+ factorialPools: Record<string, import("../../contracts/vault/strategy-vault").FactorialPool>;
530
+ aggregatorIndex: bigint;
531
+ content: import("@ton/core").Cell;
532
+ totalSupply: bigint;
533
+ oracleConfig: import("@ton/core").Cell | import("../../contracts/oracle/redstone-onchain-oracle/type").RedstoneOnchainOracleConfig | import("../../contracts/oracle/redstone-oracle/type").RedstonOracleConfig;
534
+ rfqConfig: {
535
+ priceDeviationTolerance: number;
536
+ rfqEventEmitterAddress: string | null;
537
+ } | null;
538
+ gasConfig: Record<string, bigint> | null;
539
+ isPrivateVault: boolean;
540
+ depositCloseTimestamp: number;
541
+ withdrawOpenTimestamp: number;
542
+ whitelistedMinters: import("@ton/core").Dictionary<import("@ton/core").Address, Boolean>;
543
+ lastCollectTime: number;
544
+ managementFeeRatePerYear: number;
545
+ protocolFeeRatePerYear: number;
546
+ collectedManagementFee: bigint;
547
+ collectedProtocolFee: bigint;
548
+ rfqCode: import("@ton/core").Cell;
549
+ walletCode: import("@ton/core").Cell;
550
+ dataAggregatorCode: import("@ton/core").Cell;
551
+ protocolFeeManagerAddress: import("@ton/core").Address;
552
+ rfqIndex: bigint;
553
+ isExecutingStrategy: boolean;
554
+ maxLeverageRatio: number;
555
+ assetWalletDict: Record<string, string>;
556
+ walletAssetDict: Record<string, string>;
557
+ managementFeeRecipientAddress: import("@ton/core").Address | null;
558
+ guardianAddress: import("@ton/core").Address | null;
559
+ timelock: bigint;
560
+ pendingOwnerActionIndex: bigint;
561
+ pendingOwnerActionCount: bigint;
562
+ pendingOwnerAction: any;
563
+ getFactorialPoolAsset: (poolAddress: import("@ton/core").Address, assetAddress: import("@ton/core").Address) => import("../../contracts/vault/strategy-vault").FactorialPoolShare;
564
+ getAsset: (assetAddress: import("@ton/core").Address) => import("../../contracts/vault/strategy-vault").AssetV2;
565
+ version: string;
566
+ address: import("@ton/core").Address;
567
+ balance: bigint;
568
+ code: import("@ton/core").Cell;
569
+ } | {
570
+ globalDepositValueCap: bigint;
571
+ withdrawFeeRate: number;
572
+ queueWithdrawFeeRate: number;
573
+ depositQueueManager: import("../../contracts/vault/strategy-vault").QueueManager;
574
+ withdrawQueueManager: import("../../contracts/vault/strategy-vault").QueueManager;
575
+ interactiveVaultDict: Record<string, import("../../contracts/vault/strategy-vault").InteractiveVaultConfigItem>;
576
+ xchainConnectorAddress: null;
577
+ xchainConfig: null;
578
+ xchainUpdateHash: bigint;
579
+ owner: import("@ton/core").Address;
580
+ manager: import("@ton/core").Address;
581
+ assets: Record<string, import("../../contracts/vault/strategy-vault").AssetV2>;
582
+ factorialPools: Record<string, import("../../contracts/vault/strategy-vault").FactorialPool>;
583
+ aggregatorIndex: bigint;
584
+ content: import("@ton/core").Cell;
585
+ totalSupply: bigint;
586
+ oracleConfig: import("@ton/core").Cell | import("../../contracts/oracle/redstone-onchain-oracle/type").RedstoneOnchainOracleConfig | import("../../contracts/oracle/redstone-oracle/type").RedstonOracleConfig;
587
+ rfqConfig: {
588
+ priceDeviationTolerance: number;
589
+ rfqEventEmitterAddress: string | null;
590
+ } | null;
591
+ gasConfig: Record<string, bigint> | null;
592
+ isPrivateVault: boolean;
593
+ depositCloseTimestamp: number;
594
+ withdrawOpenTimestamp: number;
595
+ whitelistedMinters: import("@ton/core").Dictionary<import("@ton/core").Address, Boolean>;
596
+ lastCollectTime: number;
597
+ managementFeeRatePerYear: number;
598
+ protocolFeeRatePerYear: number;
599
+ collectedManagementFee: bigint;
600
+ collectedProtocolFee: bigint;
601
+ rfqCode: import("@ton/core").Cell;
602
+ walletCode: import("@ton/core").Cell;
603
+ dataAggregatorCode: import("@ton/core").Cell;
604
+ protocolFeeManagerAddress: import("@ton/core").Address;
605
+ rfqIndex: bigint;
606
+ isExecutingStrategy: boolean;
607
+ maxLeverageRatio: number;
608
+ assetWalletDict: Record<string, string>;
609
+ walletAssetDict: Record<string, string>;
610
+ managementFeeRecipientAddress: import("@ton/core").Address | null;
611
+ guardianAddress: import("@ton/core").Address | null;
612
+ timelock: bigint;
613
+ pendingOwnerActionIndex: bigint;
614
+ pendingOwnerActionCount: bigint;
615
+ pendingOwnerAction: any;
616
+ getFactorialPoolAsset: (poolAddress: import("@ton/core").Address, assetAddress: import("@ton/core").Address) => import("../../contracts/vault/strategy-vault").FactorialPoolShare;
617
+ getAsset: (assetAddress: import("@ton/core").Address) => import("../../contracts/vault/strategy-vault").AssetV2;
618
+ version: string;
619
+ address: import("@ton/core").Address;
620
+ balance: bigint;
621
+ code: import("@ton/core").Cell;
622
+ };
623
+ poolAddress: import("@ton/core").Address;
624
+ assetAddress: import("@ton/core").Address;
625
+ }>;
626
+ sendWithdrawFromFactorial(sender: AddressSender, params: manager.WithdrawFromFactorialParams, value?: bigint): Promise<{
627
+ strategyVault: import("@ton/core").OpenedContract<import("../../contracts/vault/strategy-vault").StrategyVault>;
628
+ pool: import("@ton/core").OpenedContract<import("../..").Pool>;
629
+ vaultData: {
630
+ globalDepositValueCap: bigint;
631
+ withdrawFeeRate: number;
632
+ queueWithdrawFeeRate: number;
633
+ depositQueueManager: import("../../contracts/vault/strategy-vault").QueueManager;
634
+ withdrawQueueManager: import("../../contracts/vault/strategy-vault").QueueManager;
635
+ interactiveVaultDict: Record<string, import("../../contracts/vault/strategy-vault").InteractiveVaultConfigItem>;
636
+ xchainConnectorAddress: import("@ton/core").Address | null;
637
+ xchainConfig: Record<string, {
638
+ connected: boolean;
639
+ xchainAccountAddress: bigint;
640
+ oftConfig: Map<string, {
641
+ destinationAddress: import("@ton/core").Address;
642
+ forwardGas: bigint;
643
+ forwardPayload?: import("@ton/core").Cell | null;
644
+ lzTransferFeeRate?: bigint;
645
+ }> | null;
646
+ strategyConfig: Map<bigint, {
647
+ isExecutable: boolean;
648
+ }> | null;
649
+ afterStrategyConfig: Map<bigint, {
650
+ isExecutable: boolean;
651
+ }> | null;
652
+ lzGasFee: bigint;
653
+ }>;
654
+ xchainUpdateHash: bigint;
655
+ owner: import("@ton/core").Address;
656
+ manager: import("@ton/core").Address;
657
+ assets: Record<string, import("../../contracts/vault/strategy-vault").AssetV2>;
658
+ factorialPools: Record<string, import("../../contracts/vault/strategy-vault").FactorialPool>;
659
+ aggregatorIndex: bigint;
660
+ content: import("@ton/core").Cell;
661
+ totalSupply: bigint;
662
+ oracleConfig: import("@ton/core").Cell | import("../../contracts/oracle/redstone-onchain-oracle/type").RedstoneOnchainOracleConfig | import("../../contracts/oracle/redstone-oracle/type").RedstonOracleConfig;
663
+ rfqConfig: {
664
+ priceDeviationTolerance: number;
665
+ rfqEventEmitterAddress: string | null;
666
+ } | null;
667
+ gasConfig: Record<string, bigint> | null;
668
+ isPrivateVault: boolean;
669
+ depositCloseTimestamp: number;
670
+ withdrawOpenTimestamp: number;
671
+ whitelistedMinters: import("@ton/core").Dictionary<import("@ton/core").Address, Boolean>;
672
+ lastCollectTime: number;
673
+ managementFeeRatePerYear: number;
674
+ protocolFeeRatePerYear: number;
675
+ collectedManagementFee: bigint;
676
+ collectedProtocolFee: bigint;
677
+ rfqCode: import("@ton/core").Cell;
678
+ walletCode: import("@ton/core").Cell;
679
+ dataAggregatorCode: import("@ton/core").Cell;
680
+ protocolFeeManagerAddress: import("@ton/core").Address;
681
+ rfqIndex: bigint;
682
+ isExecutingStrategy: boolean;
683
+ maxLeverageRatio: number;
684
+ assetWalletDict: Record<string, string>;
685
+ walletAssetDict: Record<string, string>;
686
+ managementFeeRecipientAddress: import("@ton/core").Address | null;
687
+ guardianAddress: import("@ton/core").Address | null;
688
+ timelock: bigint;
689
+ pendingOwnerActionIndex: bigint;
690
+ pendingOwnerActionCount: bigint;
691
+ pendingOwnerAction: any;
692
+ getFactorialPoolAsset: (poolAddress: import("@ton/core").Address, assetAddress: import("@ton/core").Address) => import("../../contracts/vault/strategy-vault").FactorialPoolShare;
693
+ getAsset: (assetAddress: import("@ton/core").Address) => import("../../contracts/vault/strategy-vault").AssetV2;
694
+ version: string;
695
+ address: import("@ton/core").Address;
696
+ balance: bigint;
697
+ code: import("@ton/core").Cell;
698
+ } | {
699
+ globalDepositValueCap: bigint;
700
+ withdrawFeeRate: number;
701
+ queueWithdrawFeeRate: number;
702
+ depositQueueManager: import("../../contracts/vault/strategy-vault").QueueManager;
703
+ withdrawQueueManager: import("../../contracts/vault/strategy-vault").QueueManager;
704
+ interactiveVaultDict: Record<string, import("../../contracts/vault/strategy-vault").InteractiveVaultConfigItem>;
705
+ xchainConnectorAddress: null;
706
+ xchainConfig: null;
707
+ xchainUpdateHash: bigint;
708
+ owner: import("@ton/core").Address;
709
+ manager: import("@ton/core").Address;
710
+ assets: Record<string, import("../../contracts/vault/strategy-vault").AssetV2>;
711
+ factorialPools: Record<string, import("../../contracts/vault/strategy-vault").FactorialPool>;
712
+ aggregatorIndex: bigint;
713
+ content: import("@ton/core").Cell;
714
+ totalSupply: bigint;
715
+ oracleConfig: import("@ton/core").Cell | import("../../contracts/oracle/redstone-onchain-oracle/type").RedstoneOnchainOracleConfig | import("../../contracts/oracle/redstone-oracle/type").RedstonOracleConfig;
716
+ rfqConfig: {
717
+ priceDeviationTolerance: number;
718
+ rfqEventEmitterAddress: string | null;
719
+ } | null;
720
+ gasConfig: Record<string, bigint> | null;
721
+ isPrivateVault: boolean;
722
+ depositCloseTimestamp: number;
723
+ withdrawOpenTimestamp: number;
724
+ whitelistedMinters: import("@ton/core").Dictionary<import("@ton/core").Address, Boolean>;
725
+ lastCollectTime: number;
726
+ managementFeeRatePerYear: number;
727
+ protocolFeeRatePerYear: number;
728
+ collectedManagementFee: bigint;
729
+ collectedProtocolFee: bigint;
730
+ rfqCode: import("@ton/core").Cell;
731
+ walletCode: import("@ton/core").Cell;
732
+ dataAggregatorCode: import("@ton/core").Cell;
733
+ protocolFeeManagerAddress: import("@ton/core").Address;
734
+ rfqIndex: bigint;
735
+ isExecutingStrategy: boolean;
736
+ maxLeverageRatio: number;
737
+ assetWalletDict: Record<string, string>;
738
+ walletAssetDict: Record<string, string>;
739
+ managementFeeRecipientAddress: import("@ton/core").Address | null;
740
+ guardianAddress: import("@ton/core").Address | null;
741
+ timelock: bigint;
742
+ pendingOwnerActionIndex: bigint;
743
+ pendingOwnerActionCount: bigint;
744
+ pendingOwnerAction: any;
745
+ getFactorialPoolAsset: (poolAddress: import("@ton/core").Address, assetAddress: import("@ton/core").Address) => import("../../contracts/vault/strategy-vault").FactorialPoolShare;
746
+ getAsset: (assetAddress: import("@ton/core").Address) => import("../../contracts/vault/strategy-vault").AssetV2;
747
+ version: string;
748
+ address: import("@ton/core").Address;
749
+ balance: bigint;
750
+ code: import("@ton/core").Cell;
751
+ };
752
+ poolData: import("../..").PoolState;
753
+ poolOraclePayload: import("@ton/core").Cell;
754
+ poolAddress: import("@ton/core").Address;
755
+ assetAddress: import("@ton/core").Address;
756
+ }>;
757
+ sendLiquidateToFactorial(sender: AddressSender, params: manager.LiquidateToFactorialParams, value?: bigint): Promise<{
758
+ strategyVault: import("@ton/core").OpenedContract<import("../../contracts/vault/strategy-vault").StrategyVault>;
759
+ vaultData: {
760
+ globalDepositValueCap: bigint;
761
+ withdrawFeeRate: number;
762
+ queueWithdrawFeeRate: number;
763
+ depositQueueManager: import("../../contracts/vault/strategy-vault").QueueManager;
764
+ withdrawQueueManager: import("../../contracts/vault/strategy-vault").QueueManager;
765
+ interactiveVaultDict: Record<string, import("../../contracts/vault/strategy-vault").InteractiveVaultConfigItem>;
766
+ xchainConnectorAddress: import("@ton/core").Address | null;
767
+ xchainConfig: Record<string, {
768
+ connected: boolean;
769
+ xchainAccountAddress: bigint;
770
+ oftConfig: Map<string, {
771
+ destinationAddress: import("@ton/core").Address;
772
+ forwardGas: bigint;
773
+ forwardPayload?: import("@ton/core").Cell | null;
774
+ lzTransferFeeRate?: bigint;
775
+ }> | null;
776
+ strategyConfig: Map<bigint, {
777
+ isExecutable: boolean;
778
+ }> | null;
779
+ afterStrategyConfig: Map<bigint, {
780
+ isExecutable: boolean;
781
+ }> | null;
782
+ lzGasFee: bigint;
783
+ }>;
784
+ xchainUpdateHash: bigint;
785
+ owner: import("@ton/core").Address;
786
+ manager: import("@ton/core").Address;
787
+ assets: Record<string, import("../../contracts/vault/strategy-vault").AssetV2>;
788
+ factorialPools: Record<string, import("../../contracts/vault/strategy-vault").FactorialPool>;
789
+ aggregatorIndex: bigint;
790
+ content: import("@ton/core").Cell;
791
+ totalSupply: bigint;
792
+ oracleConfig: import("@ton/core").Cell | import("../../contracts/oracle/redstone-onchain-oracle/type").RedstoneOnchainOracleConfig | import("../../contracts/oracle/redstone-oracle/type").RedstonOracleConfig;
793
+ rfqConfig: {
794
+ priceDeviationTolerance: number;
795
+ rfqEventEmitterAddress: string | null;
796
+ } | null;
797
+ gasConfig: Record<string, bigint> | null;
798
+ isPrivateVault: boolean;
799
+ depositCloseTimestamp: number;
800
+ withdrawOpenTimestamp: number;
801
+ whitelistedMinters: import("@ton/core").Dictionary<import("@ton/core").Address, Boolean>;
802
+ lastCollectTime: number;
803
+ managementFeeRatePerYear: number;
804
+ protocolFeeRatePerYear: number;
805
+ collectedManagementFee: bigint;
806
+ collectedProtocolFee: bigint;
807
+ rfqCode: import("@ton/core").Cell;
808
+ walletCode: import("@ton/core").Cell;
809
+ dataAggregatorCode: import("@ton/core").Cell;
810
+ protocolFeeManagerAddress: import("@ton/core").Address;
811
+ rfqIndex: bigint;
812
+ isExecutingStrategy: boolean;
813
+ maxLeverageRatio: number;
814
+ assetWalletDict: Record<string, string>;
815
+ walletAssetDict: Record<string, string>;
816
+ managementFeeRecipientAddress: import("@ton/core").Address | null;
817
+ guardianAddress: import("@ton/core").Address | null;
818
+ timelock: bigint;
819
+ pendingOwnerActionIndex: bigint;
820
+ pendingOwnerActionCount: bigint;
821
+ pendingOwnerAction: any;
822
+ getFactorialPoolAsset: (poolAddress: import("@ton/core").Address, assetAddress: import("@ton/core").Address) => import("../../contracts/vault/strategy-vault").FactorialPoolShare;
823
+ getAsset: (assetAddress: import("@ton/core").Address) => import("../../contracts/vault/strategy-vault").AssetV2;
824
+ version: string;
825
+ address: import("@ton/core").Address;
826
+ balance: bigint;
827
+ code: import("@ton/core").Cell;
828
+ } | {
829
+ globalDepositValueCap: bigint;
830
+ withdrawFeeRate: number;
831
+ queueWithdrawFeeRate: number;
832
+ depositQueueManager: import("../../contracts/vault/strategy-vault").QueueManager;
833
+ withdrawQueueManager: import("../../contracts/vault/strategy-vault").QueueManager;
834
+ interactiveVaultDict: Record<string, import("../../contracts/vault/strategy-vault").InteractiveVaultConfigItem>;
835
+ xchainConnectorAddress: null;
836
+ xchainConfig: null;
837
+ xchainUpdateHash: bigint;
838
+ owner: import("@ton/core").Address;
839
+ manager: import("@ton/core").Address;
840
+ assets: Record<string, import("../../contracts/vault/strategy-vault").AssetV2>;
841
+ factorialPools: Record<string, import("../../contracts/vault/strategy-vault").FactorialPool>;
842
+ aggregatorIndex: bigint;
843
+ content: import("@ton/core").Cell;
844
+ totalSupply: bigint;
845
+ oracleConfig: import("@ton/core").Cell | import("../../contracts/oracle/redstone-onchain-oracle/type").RedstoneOnchainOracleConfig | import("../../contracts/oracle/redstone-oracle/type").RedstonOracleConfig;
846
+ rfqConfig: {
847
+ priceDeviationTolerance: number;
848
+ rfqEventEmitterAddress: string | null;
849
+ } | null;
850
+ gasConfig: Record<string, bigint> | null;
851
+ isPrivateVault: boolean;
852
+ depositCloseTimestamp: number;
853
+ withdrawOpenTimestamp: number;
854
+ whitelistedMinters: import("@ton/core").Dictionary<import("@ton/core").Address, Boolean>;
855
+ lastCollectTime: number;
856
+ managementFeeRatePerYear: number;
857
+ protocolFeeRatePerYear: number;
858
+ collectedManagementFee: bigint;
859
+ collectedProtocolFee: bigint;
860
+ rfqCode: import("@ton/core").Cell;
861
+ walletCode: import("@ton/core").Cell;
862
+ dataAggregatorCode: import("@ton/core").Cell;
863
+ protocolFeeManagerAddress: import("@ton/core").Address;
864
+ rfqIndex: bigint;
865
+ isExecutingStrategy: boolean;
866
+ maxLeverageRatio: number;
867
+ assetWalletDict: Record<string, string>;
868
+ walletAssetDict: Record<string, string>;
869
+ managementFeeRecipientAddress: import("@ton/core").Address | null;
870
+ guardianAddress: import("@ton/core").Address | null;
871
+ timelock: bigint;
872
+ pendingOwnerActionIndex: bigint;
873
+ pendingOwnerActionCount: bigint;
874
+ pendingOwnerAction: any;
875
+ getFactorialPoolAsset: (poolAddress: import("@ton/core").Address, assetAddress: import("@ton/core").Address) => import("../../contracts/vault/strategy-vault").FactorialPoolShare;
876
+ getAsset: (assetAddress: import("@ton/core").Address) => import("../../contracts/vault/strategy-vault").AssetV2;
877
+ version: string;
878
+ address: import("@ton/core").Address;
879
+ balance: bigint;
880
+ code: import("@ton/core").Cell;
881
+ };
882
+ oraclePayload: import("@ton/core").Cell;
883
+ oracleCalculateGas: bigint;
884
+ poolAddress: import("@ton/core").Address;
885
+ borrowerAddress: import("@ton/core").Address;
886
+ repayAssetAddress: import("@ton/core").Address;
887
+ seizeAssetAddress: import("@ton/core").Address;
888
+ }>;
889
+ sendDepositToVault(sender: AddressSender, params: manager.DepositToVaultParams): Promise<{
890
+ strategyVault: import("@ton/core").OpenedContract<import("../../contracts/vault/strategy-vault").StrategyVault>;
891
+ strategyVaultData: {
892
+ globalDepositValueCap: bigint;
893
+ withdrawFeeRate: number;
894
+ queueWithdrawFeeRate: number;
895
+ depositQueueManager: import("../../contracts/vault/strategy-vault").QueueManager;
896
+ withdrawQueueManager: import("../../contracts/vault/strategy-vault").QueueManager;
897
+ interactiveVaultDict: Record<string, import("../../contracts/vault/strategy-vault").InteractiveVaultConfigItem>;
898
+ xchainConnectorAddress: import("@ton/core").Address | null;
899
+ xchainConfig: Record<string, {
900
+ connected: boolean;
901
+ xchainAccountAddress: bigint;
902
+ oftConfig: Map<string, {
903
+ destinationAddress: import("@ton/core").Address;
904
+ forwardGas: bigint;
905
+ forwardPayload?: import("@ton/core").Cell | null;
906
+ lzTransferFeeRate?: bigint;
907
+ }> | null;
908
+ strategyConfig: Map<bigint, {
909
+ isExecutable: boolean;
910
+ }> | null;
911
+ afterStrategyConfig: Map<bigint, {
912
+ isExecutable: boolean;
913
+ }> | null;
914
+ lzGasFee: bigint;
915
+ }>;
916
+ xchainUpdateHash: bigint;
917
+ owner: import("@ton/core").Address;
918
+ manager: import("@ton/core").Address;
919
+ assets: Record<string, import("../../contracts/vault/strategy-vault").AssetV2>;
920
+ factorialPools: Record<string, import("../../contracts/vault/strategy-vault").FactorialPool>;
921
+ aggregatorIndex: bigint;
922
+ content: import("@ton/core").Cell;
923
+ totalSupply: bigint;
924
+ oracleConfig: import("@ton/core").Cell | import("../../contracts/oracle/redstone-onchain-oracle/type").RedstoneOnchainOracleConfig | import("../../contracts/oracle/redstone-oracle/type").RedstonOracleConfig;
925
+ rfqConfig: {
926
+ priceDeviationTolerance: number;
927
+ rfqEventEmitterAddress: string | null;
928
+ } | null;
929
+ gasConfig: Record<string, bigint> | null;
930
+ isPrivateVault: boolean;
931
+ depositCloseTimestamp: number;
932
+ withdrawOpenTimestamp: number;
933
+ whitelistedMinters: import("@ton/core").Dictionary<import("@ton/core").Address, Boolean>;
934
+ lastCollectTime: number;
935
+ managementFeeRatePerYear: number;
936
+ protocolFeeRatePerYear: number;
937
+ collectedManagementFee: bigint;
938
+ collectedProtocolFee: bigint;
939
+ rfqCode: import("@ton/core").Cell;
940
+ walletCode: import("@ton/core").Cell;
941
+ dataAggregatorCode: import("@ton/core").Cell;
942
+ protocolFeeManagerAddress: import("@ton/core").Address;
943
+ rfqIndex: bigint;
944
+ isExecutingStrategy: boolean;
945
+ maxLeverageRatio: number;
946
+ assetWalletDict: Record<string, string>;
947
+ walletAssetDict: Record<string, string>;
948
+ managementFeeRecipientAddress: import("@ton/core").Address | null;
949
+ guardianAddress: import("@ton/core").Address | null;
950
+ timelock: bigint;
951
+ pendingOwnerActionIndex: bigint;
952
+ pendingOwnerActionCount: bigint;
953
+ pendingOwnerAction: any;
954
+ getFactorialPoolAsset: (poolAddress: import("@ton/core").Address, assetAddress: import("@ton/core").Address) => import("../../contracts/vault/strategy-vault").FactorialPoolShare;
955
+ getAsset: (assetAddress: import("@ton/core").Address) => import("../../contracts/vault/strategy-vault").AssetV2;
956
+ version: string;
957
+ address: import("@ton/core").Address;
958
+ balance: bigint;
959
+ code: import("@ton/core").Cell;
960
+ } | {
961
+ globalDepositValueCap: bigint;
962
+ withdrawFeeRate: number;
963
+ queueWithdrawFeeRate: number;
964
+ depositQueueManager: import("../../contracts/vault/strategy-vault").QueueManager;
965
+ withdrawQueueManager: import("../../contracts/vault/strategy-vault").QueueManager;
966
+ interactiveVaultDict: Record<string, import("../../contracts/vault/strategy-vault").InteractiveVaultConfigItem>;
967
+ xchainConnectorAddress: null;
968
+ xchainConfig: null;
969
+ xchainUpdateHash: bigint;
970
+ owner: import("@ton/core").Address;
971
+ manager: import("@ton/core").Address;
972
+ assets: Record<string, import("../../contracts/vault/strategy-vault").AssetV2>;
973
+ factorialPools: Record<string, import("../../contracts/vault/strategy-vault").FactorialPool>;
974
+ aggregatorIndex: bigint;
975
+ content: import("@ton/core").Cell;
976
+ totalSupply: bigint;
977
+ oracleConfig: import("@ton/core").Cell | import("../../contracts/oracle/redstone-onchain-oracle/type").RedstoneOnchainOracleConfig | import("../../contracts/oracle/redstone-oracle/type").RedstonOracleConfig;
978
+ rfqConfig: {
979
+ priceDeviationTolerance: number;
980
+ rfqEventEmitterAddress: string | null;
981
+ } | null;
982
+ gasConfig: Record<string, bigint> | null;
983
+ isPrivateVault: boolean;
984
+ depositCloseTimestamp: number;
985
+ withdrawOpenTimestamp: number;
986
+ whitelistedMinters: import("@ton/core").Dictionary<import("@ton/core").Address, Boolean>;
987
+ lastCollectTime: number;
988
+ managementFeeRatePerYear: number;
989
+ protocolFeeRatePerYear: number;
990
+ collectedManagementFee: bigint;
991
+ collectedProtocolFee: bigint;
992
+ rfqCode: import("@ton/core").Cell;
993
+ walletCode: import("@ton/core").Cell;
994
+ dataAggregatorCode: import("@ton/core").Cell;
995
+ protocolFeeManagerAddress: import("@ton/core").Address;
996
+ rfqIndex: bigint;
997
+ isExecutingStrategy: boolean;
998
+ maxLeverageRatio: number;
999
+ assetWalletDict: Record<string, string>;
1000
+ walletAssetDict: Record<string, string>;
1001
+ managementFeeRecipientAddress: import("@ton/core").Address | null;
1002
+ guardianAddress: import("@ton/core").Address | null;
1003
+ timelock: bigint;
1004
+ pendingOwnerActionIndex: bigint;
1005
+ pendingOwnerActionCount: bigint;
1006
+ pendingOwnerAction: any;
1007
+ getFactorialPoolAsset: (poolAddress: import("@ton/core").Address, assetAddress: import("@ton/core").Address) => import("../../contracts/vault/strategy-vault").FactorialPoolShare;
1008
+ getAsset: (assetAddress: import("@ton/core").Address) => import("../../contracts/vault/strategy-vault").AssetV2;
1009
+ version: string;
1010
+ address: import("@ton/core").Address;
1011
+ balance: bigint;
1012
+ code: import("@ton/core").Cell;
1013
+ };
1014
+ targetVaultType: import("../../context").ShareVaultType | import("../../context").StrategyVaultType;
1015
+ oracleParams: import("@ton/core").Cell;
1016
+ targetVaultOracleParams: import("@ton/core").Cell | undefined;
1017
+ forwardTonAmount: bigint;
1018
+ vaultStrategyGas: bigint;
1019
+ }>;
1020
+ sendWithdrawFromVault(sender: AddressSender, params: manager.WithdrawFromVaultParams): Promise<{
1021
+ strategyVault: import("@ton/core").OpenedContract<import("../../contracts/vault/strategy-vault").StrategyVault>;
1022
+ strategyVaultData: {
1023
+ globalDepositValueCap: bigint;
1024
+ withdrawFeeRate: number;
1025
+ queueWithdrawFeeRate: number;
1026
+ depositQueueManager: import("../../contracts/vault/strategy-vault").QueueManager;
1027
+ withdrawQueueManager: import("../../contracts/vault/strategy-vault").QueueManager;
1028
+ interactiveVaultDict: Record<string, import("../../contracts/vault/strategy-vault").InteractiveVaultConfigItem>;
1029
+ xchainConnectorAddress: import("@ton/core").Address | null;
1030
+ xchainConfig: Record<string, {
1031
+ connected: boolean;
1032
+ xchainAccountAddress: bigint;
1033
+ oftConfig: Map<string, {
1034
+ destinationAddress: import("@ton/core").Address;
1035
+ forwardGas: bigint;
1036
+ forwardPayload?: import("@ton/core").Cell | null;
1037
+ lzTransferFeeRate?: bigint;
1038
+ }> | null;
1039
+ strategyConfig: Map<bigint, {
1040
+ isExecutable: boolean;
1041
+ }> | null;
1042
+ afterStrategyConfig: Map<bigint, {
1043
+ isExecutable: boolean;
1044
+ }> | null;
1045
+ lzGasFee: bigint;
1046
+ }>;
1047
+ xchainUpdateHash: bigint;
1048
+ owner: import("@ton/core").Address;
1049
+ manager: import("@ton/core").Address;
1050
+ assets: Record<string, import("../../contracts/vault/strategy-vault").AssetV2>;
1051
+ factorialPools: Record<string, import("../../contracts/vault/strategy-vault").FactorialPool>;
1052
+ aggregatorIndex: bigint;
1053
+ content: import("@ton/core").Cell;
1054
+ totalSupply: bigint;
1055
+ oracleConfig: import("@ton/core").Cell | import("../../contracts/oracle/redstone-onchain-oracle/type").RedstoneOnchainOracleConfig | import("../../contracts/oracle/redstone-oracle/type").RedstonOracleConfig;
1056
+ rfqConfig: {
1057
+ priceDeviationTolerance: number;
1058
+ rfqEventEmitterAddress: string | null;
1059
+ } | null;
1060
+ gasConfig: Record<string, bigint> | null;
1061
+ isPrivateVault: boolean;
1062
+ depositCloseTimestamp: number;
1063
+ withdrawOpenTimestamp: number;
1064
+ whitelistedMinters: import("@ton/core").Dictionary<import("@ton/core").Address, Boolean>;
1065
+ lastCollectTime: number;
1066
+ managementFeeRatePerYear: number;
1067
+ protocolFeeRatePerYear: number;
1068
+ collectedManagementFee: bigint;
1069
+ collectedProtocolFee: bigint;
1070
+ rfqCode: import("@ton/core").Cell;
1071
+ walletCode: import("@ton/core").Cell;
1072
+ dataAggregatorCode: import("@ton/core").Cell;
1073
+ protocolFeeManagerAddress: import("@ton/core").Address;
1074
+ rfqIndex: bigint;
1075
+ isExecutingStrategy: boolean;
1076
+ maxLeverageRatio: number;
1077
+ assetWalletDict: Record<string, string>;
1078
+ walletAssetDict: Record<string, string>;
1079
+ managementFeeRecipientAddress: import("@ton/core").Address | null;
1080
+ guardianAddress: import("@ton/core").Address | null;
1081
+ timelock: bigint;
1082
+ pendingOwnerActionIndex: bigint;
1083
+ pendingOwnerActionCount: bigint;
1084
+ pendingOwnerAction: any;
1085
+ getFactorialPoolAsset: (poolAddress: import("@ton/core").Address, assetAddress: import("@ton/core").Address) => import("../../contracts/vault/strategy-vault").FactorialPoolShare;
1086
+ getAsset: (assetAddress: import("@ton/core").Address) => import("../../contracts/vault/strategy-vault").AssetV2;
1087
+ version: string;
1088
+ address: import("@ton/core").Address;
1089
+ balance: bigint;
1090
+ code: import("@ton/core").Cell;
1091
+ } | {
1092
+ globalDepositValueCap: bigint;
1093
+ withdrawFeeRate: number;
1094
+ queueWithdrawFeeRate: number;
1095
+ depositQueueManager: import("../../contracts/vault/strategy-vault").QueueManager;
1096
+ withdrawQueueManager: import("../../contracts/vault/strategy-vault").QueueManager;
1097
+ interactiveVaultDict: Record<string, import("../../contracts/vault/strategy-vault").InteractiveVaultConfigItem>;
1098
+ xchainConnectorAddress: null;
1099
+ xchainConfig: null;
1100
+ xchainUpdateHash: bigint;
1101
+ owner: import("@ton/core").Address;
1102
+ manager: import("@ton/core").Address;
1103
+ assets: Record<string, import("../../contracts/vault/strategy-vault").AssetV2>;
1104
+ factorialPools: Record<string, import("../../contracts/vault/strategy-vault").FactorialPool>;
1105
+ aggregatorIndex: bigint;
1106
+ content: import("@ton/core").Cell;
1107
+ totalSupply: bigint;
1108
+ oracleConfig: import("@ton/core").Cell | import("../../contracts/oracle/redstone-onchain-oracle/type").RedstoneOnchainOracleConfig | import("../../contracts/oracle/redstone-oracle/type").RedstonOracleConfig;
1109
+ rfqConfig: {
1110
+ priceDeviationTolerance: number;
1111
+ rfqEventEmitterAddress: string | null;
1112
+ } | null;
1113
+ gasConfig: Record<string, bigint> | null;
1114
+ isPrivateVault: boolean;
1115
+ depositCloseTimestamp: number;
1116
+ withdrawOpenTimestamp: number;
1117
+ whitelistedMinters: import("@ton/core").Dictionary<import("@ton/core").Address, Boolean>;
1118
+ lastCollectTime: number;
1119
+ managementFeeRatePerYear: number;
1120
+ protocolFeeRatePerYear: number;
1121
+ collectedManagementFee: bigint;
1122
+ collectedProtocolFee: bigint;
1123
+ rfqCode: import("@ton/core").Cell;
1124
+ walletCode: import("@ton/core").Cell;
1125
+ dataAggregatorCode: import("@ton/core").Cell;
1126
+ protocolFeeManagerAddress: import("@ton/core").Address;
1127
+ rfqIndex: bigint;
1128
+ isExecutingStrategy: boolean;
1129
+ maxLeverageRatio: number;
1130
+ assetWalletDict: Record<string, string>;
1131
+ walletAssetDict: Record<string, string>;
1132
+ managementFeeRecipientAddress: import("@ton/core").Address | null;
1133
+ guardianAddress: import("@ton/core").Address | null;
1134
+ timelock: bigint;
1135
+ pendingOwnerActionIndex: bigint;
1136
+ pendingOwnerActionCount: bigint;
1137
+ pendingOwnerAction: any;
1138
+ getFactorialPoolAsset: (poolAddress: import("@ton/core").Address, assetAddress: import("@ton/core").Address) => import("../../contracts/vault/strategy-vault").FactorialPoolShare;
1139
+ getAsset: (assetAddress: import("@ton/core").Address) => import("../../contracts/vault/strategy-vault").AssetV2;
1140
+ version: string;
1141
+ address: import("@ton/core").Address;
1142
+ balance: bigint;
1143
+ code: import("@ton/core").Cell;
1144
+ };
1145
+ targetVaultType: import("../../context").ShareVaultType | import("../../context").StrategyVaultType;
1146
+ oracleParams: import("@ton/core").Cell;
1147
+ targetVaultOracleParams: import("@ton/core").Cell | undefined;
1148
+ forwardTonAmount: bigint;
1149
+ vaultStrategyGas: bigint;
1150
+ }>;
1151
+ sendDepositToVaultQueue(sender: AddressSender, params: manager.DepositToVaultQueueParams): Promise<{
1152
+ strategyVault: import("@ton/core").OpenedContract<import("../../contracts/vault/strategy-vault").StrategyVault>;
1153
+ strategyVaultData: {
1154
+ globalDepositValueCap: bigint;
1155
+ withdrawFeeRate: number;
1156
+ queueWithdrawFeeRate: number;
1157
+ depositQueueManager: import("../../contracts/vault/strategy-vault").QueueManager;
1158
+ withdrawQueueManager: import("../../contracts/vault/strategy-vault").QueueManager;
1159
+ interactiveVaultDict: Record<string, import("../../contracts/vault/strategy-vault").InteractiveVaultConfigItem>;
1160
+ xchainConnectorAddress: import("@ton/core").Address | null;
1161
+ xchainConfig: Record<string, {
1162
+ connected: boolean;
1163
+ xchainAccountAddress: bigint;
1164
+ oftConfig: Map<string, {
1165
+ destinationAddress: import("@ton/core").Address;
1166
+ forwardGas: bigint;
1167
+ forwardPayload?: import("@ton/core").Cell | null;
1168
+ lzTransferFeeRate?: bigint;
1169
+ }> | null;
1170
+ strategyConfig: Map<bigint, {
1171
+ isExecutable: boolean;
1172
+ }> | null;
1173
+ afterStrategyConfig: Map<bigint, {
1174
+ isExecutable: boolean;
1175
+ }> | null;
1176
+ lzGasFee: bigint;
1177
+ }>;
1178
+ xchainUpdateHash: bigint;
1179
+ owner: import("@ton/core").Address;
1180
+ manager: import("@ton/core").Address;
1181
+ assets: Record<string, import("../../contracts/vault/strategy-vault").AssetV2>;
1182
+ factorialPools: Record<string, import("../../contracts/vault/strategy-vault").FactorialPool>;
1183
+ aggregatorIndex: bigint;
1184
+ content: import("@ton/core").Cell;
1185
+ totalSupply: bigint;
1186
+ oracleConfig: import("@ton/core").Cell | import("../../contracts/oracle/redstone-onchain-oracle/type").RedstoneOnchainOracleConfig | import("../../contracts/oracle/redstone-oracle/type").RedstonOracleConfig;
1187
+ rfqConfig: {
1188
+ priceDeviationTolerance: number;
1189
+ rfqEventEmitterAddress: string | null;
1190
+ } | null;
1191
+ gasConfig: Record<string, bigint> | null;
1192
+ isPrivateVault: boolean;
1193
+ depositCloseTimestamp: number;
1194
+ withdrawOpenTimestamp: number;
1195
+ whitelistedMinters: import("@ton/core").Dictionary<import("@ton/core").Address, Boolean>;
1196
+ lastCollectTime: number;
1197
+ managementFeeRatePerYear: number;
1198
+ protocolFeeRatePerYear: number;
1199
+ collectedManagementFee: bigint;
1200
+ collectedProtocolFee: bigint;
1201
+ rfqCode: import("@ton/core").Cell;
1202
+ walletCode: import("@ton/core").Cell;
1203
+ dataAggregatorCode: import("@ton/core").Cell;
1204
+ protocolFeeManagerAddress: import("@ton/core").Address;
1205
+ rfqIndex: bigint;
1206
+ isExecutingStrategy: boolean;
1207
+ maxLeverageRatio: number;
1208
+ assetWalletDict: Record<string, string>;
1209
+ walletAssetDict: Record<string, string>;
1210
+ managementFeeRecipientAddress: import("@ton/core").Address | null;
1211
+ guardianAddress: import("@ton/core").Address | null;
1212
+ timelock: bigint;
1213
+ pendingOwnerActionIndex: bigint;
1214
+ pendingOwnerActionCount: bigint;
1215
+ pendingOwnerAction: any;
1216
+ getFactorialPoolAsset: (poolAddress: import("@ton/core").Address, assetAddress: import("@ton/core").Address) => import("../../contracts/vault/strategy-vault").FactorialPoolShare;
1217
+ getAsset: (assetAddress: import("@ton/core").Address) => import("../../contracts/vault/strategy-vault").AssetV2;
1218
+ version: string;
1219
+ address: import("@ton/core").Address;
1220
+ balance: bigint;
1221
+ code: import("@ton/core").Cell;
1222
+ } | {
1223
+ globalDepositValueCap: bigint;
1224
+ withdrawFeeRate: number;
1225
+ queueWithdrawFeeRate: number;
1226
+ depositQueueManager: import("../../contracts/vault/strategy-vault").QueueManager;
1227
+ withdrawQueueManager: import("../../contracts/vault/strategy-vault").QueueManager;
1228
+ interactiveVaultDict: Record<string, import("../../contracts/vault/strategy-vault").InteractiveVaultConfigItem>;
1229
+ xchainConnectorAddress: null;
1230
+ xchainConfig: null;
1231
+ xchainUpdateHash: bigint;
1232
+ owner: import("@ton/core").Address;
1233
+ manager: import("@ton/core").Address;
1234
+ assets: Record<string, import("../../contracts/vault/strategy-vault").AssetV2>;
1235
+ factorialPools: Record<string, import("../../contracts/vault/strategy-vault").FactorialPool>;
1236
+ aggregatorIndex: bigint;
1237
+ content: import("@ton/core").Cell;
1238
+ totalSupply: bigint;
1239
+ oracleConfig: import("@ton/core").Cell | import("../../contracts/oracle/redstone-onchain-oracle/type").RedstoneOnchainOracleConfig | import("../../contracts/oracle/redstone-oracle/type").RedstonOracleConfig;
1240
+ rfqConfig: {
1241
+ priceDeviationTolerance: number;
1242
+ rfqEventEmitterAddress: string | null;
1243
+ } | null;
1244
+ gasConfig: Record<string, bigint> | null;
1245
+ isPrivateVault: boolean;
1246
+ depositCloseTimestamp: number;
1247
+ withdrawOpenTimestamp: number;
1248
+ whitelistedMinters: import("@ton/core").Dictionary<import("@ton/core").Address, Boolean>;
1249
+ lastCollectTime: number;
1250
+ managementFeeRatePerYear: number;
1251
+ protocolFeeRatePerYear: number;
1252
+ collectedManagementFee: bigint;
1253
+ collectedProtocolFee: bigint;
1254
+ rfqCode: import("@ton/core").Cell;
1255
+ walletCode: import("@ton/core").Cell;
1256
+ dataAggregatorCode: import("@ton/core").Cell;
1257
+ protocolFeeManagerAddress: import("@ton/core").Address;
1258
+ rfqIndex: bigint;
1259
+ isExecutingStrategy: boolean;
1260
+ maxLeverageRatio: number;
1261
+ assetWalletDict: Record<string, string>;
1262
+ walletAssetDict: Record<string, string>;
1263
+ managementFeeRecipientAddress: import("@ton/core").Address | null;
1264
+ guardianAddress: import("@ton/core").Address | null;
1265
+ timelock: bigint;
1266
+ pendingOwnerActionIndex: bigint;
1267
+ pendingOwnerActionCount: bigint;
1268
+ pendingOwnerAction: any;
1269
+ getFactorialPoolAsset: (poolAddress: import("@ton/core").Address, assetAddress: import("@ton/core").Address) => import("../../contracts/vault/strategy-vault").FactorialPoolShare;
1270
+ getAsset: (assetAddress: import("@ton/core").Address) => import("../../contracts/vault/strategy-vault").AssetV2;
1271
+ version: string;
1272
+ address: import("@ton/core").Address;
1273
+ balance: bigint;
1274
+ code: import("@ton/core").Cell;
1275
+ };
1276
+ targetVault: import("@ton/core").OpenedContract<import("../../contracts/vault/strategy-vault").StrategyVault>;
1277
+ targetVaultData: {
1278
+ globalDepositValueCap: bigint;
1279
+ withdrawFeeRate: number;
1280
+ queueWithdrawFeeRate: number;
1281
+ depositQueueManager: import("../../contracts/vault/strategy-vault").QueueManager;
1282
+ withdrawQueueManager: import("../../contracts/vault/strategy-vault").QueueManager;
1283
+ interactiveVaultDict: Record<string, import("../../contracts/vault/strategy-vault").InteractiveVaultConfigItem>;
1284
+ xchainConnectorAddress: import("@ton/core").Address | null;
1285
+ xchainConfig: Record<string, {
1286
+ connected: boolean;
1287
+ xchainAccountAddress: bigint;
1288
+ oftConfig: Map<string, {
1289
+ destinationAddress: import("@ton/core").Address;
1290
+ forwardGas: bigint;
1291
+ forwardPayload?: import("@ton/core").Cell | null;
1292
+ lzTransferFeeRate?: bigint;
1293
+ }> | null;
1294
+ strategyConfig: Map<bigint, {
1295
+ isExecutable: boolean;
1296
+ }> | null;
1297
+ afterStrategyConfig: Map<bigint, {
1298
+ isExecutable: boolean;
1299
+ }> | null;
1300
+ lzGasFee: bigint;
1301
+ }>;
1302
+ xchainUpdateHash: bigint;
1303
+ owner: import("@ton/core").Address;
1304
+ manager: import("@ton/core").Address;
1305
+ assets: Record<string, import("../../contracts/vault/strategy-vault").AssetV2>;
1306
+ factorialPools: Record<string, import("../../contracts/vault/strategy-vault").FactorialPool>;
1307
+ aggregatorIndex: bigint;
1308
+ content: import("@ton/core").Cell;
1309
+ totalSupply: bigint;
1310
+ oracleConfig: import("@ton/core").Cell | import("../../contracts/oracle/redstone-onchain-oracle/type").RedstoneOnchainOracleConfig | import("../../contracts/oracle/redstone-oracle/type").RedstonOracleConfig;
1311
+ rfqConfig: {
1312
+ priceDeviationTolerance: number;
1313
+ rfqEventEmitterAddress: string | null;
1314
+ } | null;
1315
+ gasConfig: Record<string, bigint> | null;
1316
+ isPrivateVault: boolean;
1317
+ depositCloseTimestamp: number;
1318
+ withdrawOpenTimestamp: number;
1319
+ whitelistedMinters: import("@ton/core").Dictionary<import("@ton/core").Address, Boolean>;
1320
+ lastCollectTime: number;
1321
+ managementFeeRatePerYear: number;
1322
+ protocolFeeRatePerYear: number;
1323
+ collectedManagementFee: bigint;
1324
+ collectedProtocolFee: bigint;
1325
+ rfqCode: import("@ton/core").Cell;
1326
+ walletCode: import("@ton/core").Cell;
1327
+ dataAggregatorCode: import("@ton/core").Cell;
1328
+ protocolFeeManagerAddress: import("@ton/core").Address;
1329
+ rfqIndex: bigint;
1330
+ isExecutingStrategy: boolean;
1331
+ maxLeverageRatio: number;
1332
+ assetWalletDict: Record<string, string>;
1333
+ walletAssetDict: Record<string, string>;
1334
+ managementFeeRecipientAddress: import("@ton/core").Address | null;
1335
+ guardianAddress: import("@ton/core").Address | null;
1336
+ timelock: bigint;
1337
+ pendingOwnerActionIndex: bigint;
1338
+ pendingOwnerActionCount: bigint;
1339
+ pendingOwnerAction: any;
1340
+ getFactorialPoolAsset: (poolAddress: import("@ton/core").Address, assetAddress: import("@ton/core").Address) => import("../../contracts/vault/strategy-vault").FactorialPoolShare;
1341
+ getAsset: (assetAddress: import("@ton/core").Address) => import("../../contracts/vault/strategy-vault").AssetV2;
1342
+ version: string;
1343
+ address: import("@ton/core").Address;
1344
+ balance: bigint;
1345
+ code: import("@ton/core").Cell;
1346
+ } | {
1347
+ globalDepositValueCap: bigint;
1348
+ withdrawFeeRate: number;
1349
+ queueWithdrawFeeRate: number;
1350
+ depositQueueManager: import("../../contracts/vault/strategy-vault").QueueManager;
1351
+ withdrawQueueManager: import("../../contracts/vault/strategy-vault").QueueManager;
1352
+ interactiveVaultDict: Record<string, import("../../contracts/vault/strategy-vault").InteractiveVaultConfigItem>;
1353
+ xchainConnectorAddress: null;
1354
+ xchainConfig: null;
1355
+ xchainUpdateHash: bigint;
1356
+ owner: import("@ton/core").Address;
1357
+ manager: import("@ton/core").Address;
1358
+ assets: Record<string, import("../../contracts/vault/strategy-vault").AssetV2>;
1359
+ factorialPools: Record<string, import("../../contracts/vault/strategy-vault").FactorialPool>;
1360
+ aggregatorIndex: bigint;
1361
+ content: import("@ton/core").Cell;
1362
+ totalSupply: bigint;
1363
+ oracleConfig: import("@ton/core").Cell | import("../../contracts/oracle/redstone-onchain-oracle/type").RedstoneOnchainOracleConfig | import("../../contracts/oracle/redstone-oracle/type").RedstonOracleConfig;
1364
+ rfqConfig: {
1365
+ priceDeviationTolerance: number;
1366
+ rfqEventEmitterAddress: string | null;
1367
+ } | null;
1368
+ gasConfig: Record<string, bigint> | null;
1369
+ isPrivateVault: boolean;
1370
+ depositCloseTimestamp: number;
1371
+ withdrawOpenTimestamp: number;
1372
+ whitelistedMinters: import("@ton/core").Dictionary<import("@ton/core").Address, Boolean>;
1373
+ lastCollectTime: number;
1374
+ managementFeeRatePerYear: number;
1375
+ protocolFeeRatePerYear: number;
1376
+ collectedManagementFee: bigint;
1377
+ collectedProtocolFee: bigint;
1378
+ rfqCode: import("@ton/core").Cell;
1379
+ walletCode: import("@ton/core").Cell;
1380
+ dataAggregatorCode: import("@ton/core").Cell;
1381
+ protocolFeeManagerAddress: import("@ton/core").Address;
1382
+ rfqIndex: bigint;
1383
+ isExecutingStrategy: boolean;
1384
+ maxLeverageRatio: number;
1385
+ assetWalletDict: Record<string, string>;
1386
+ walletAssetDict: Record<string, string>;
1387
+ managementFeeRecipientAddress: import("@ton/core").Address | null;
1388
+ guardianAddress: import("@ton/core").Address | null;
1389
+ timelock: bigint;
1390
+ pendingOwnerActionIndex: bigint;
1391
+ pendingOwnerActionCount: bigint;
1392
+ pendingOwnerAction: any;
1393
+ getFactorialPoolAsset: (poolAddress: import("@ton/core").Address, assetAddress: import("@ton/core").Address) => import("../../contracts/vault/strategy-vault").FactorialPoolShare;
1394
+ getAsset: (assetAddress: import("@ton/core").Address) => import("../../contracts/vault/strategy-vault").AssetV2;
1395
+ version: string;
1396
+ address: import("@ton/core").Address;
1397
+ balance: bigint;
1398
+ code: import("@ton/core").Cell;
1399
+ };
1400
+ oracleParams: import("@ton/core").Cell;
1401
+ vaultStrategyGas: bigint;
1402
+ forwardTonAmount: bigint;
1403
+ }>;
1404
+ sendWithdrawFromVaultQueue(sender: AddressSender, params: manager.WithdrawFromVaultQueueParams): Promise<{
1405
+ strategyVault: import("@ton/core").OpenedContract<import("../../contracts/vault/strategy-vault").StrategyVault>;
1406
+ strategyVaultData: {
1407
+ globalDepositValueCap: bigint;
1408
+ withdrawFeeRate: number;
1409
+ queueWithdrawFeeRate: number;
1410
+ depositQueueManager: import("../../contracts/vault/strategy-vault").QueueManager;
1411
+ withdrawQueueManager: import("../../contracts/vault/strategy-vault").QueueManager;
1412
+ interactiveVaultDict: Record<string, import("../../contracts/vault/strategy-vault").InteractiveVaultConfigItem>;
1413
+ xchainConnectorAddress: import("@ton/core").Address | null;
1414
+ xchainConfig: Record<string, {
1415
+ connected: boolean;
1416
+ xchainAccountAddress: bigint;
1417
+ oftConfig: Map<string, {
1418
+ destinationAddress: import("@ton/core").Address;
1419
+ forwardGas: bigint;
1420
+ forwardPayload?: import("@ton/core").Cell | null;
1421
+ lzTransferFeeRate?: bigint;
1422
+ }> | null;
1423
+ strategyConfig: Map<bigint, {
1424
+ isExecutable: boolean;
1425
+ }> | null;
1426
+ afterStrategyConfig: Map<bigint, {
1427
+ isExecutable: boolean;
1428
+ }> | null;
1429
+ lzGasFee: bigint;
1430
+ }>;
1431
+ xchainUpdateHash: bigint;
1432
+ owner: import("@ton/core").Address;
1433
+ manager: import("@ton/core").Address;
1434
+ assets: Record<string, import("../../contracts/vault/strategy-vault").AssetV2>;
1435
+ factorialPools: Record<string, import("../../contracts/vault/strategy-vault").FactorialPool>;
1436
+ aggregatorIndex: bigint;
1437
+ content: import("@ton/core").Cell;
1438
+ totalSupply: bigint;
1439
+ oracleConfig: import("@ton/core").Cell | import("../../contracts/oracle/redstone-onchain-oracle/type").RedstoneOnchainOracleConfig | import("../../contracts/oracle/redstone-oracle/type").RedstonOracleConfig;
1440
+ rfqConfig: {
1441
+ priceDeviationTolerance: number;
1442
+ rfqEventEmitterAddress: string | null;
1443
+ } | null;
1444
+ gasConfig: Record<string, bigint> | null;
1445
+ isPrivateVault: boolean;
1446
+ depositCloseTimestamp: number;
1447
+ withdrawOpenTimestamp: number;
1448
+ whitelistedMinters: import("@ton/core").Dictionary<import("@ton/core").Address, Boolean>;
1449
+ lastCollectTime: number;
1450
+ managementFeeRatePerYear: number;
1451
+ protocolFeeRatePerYear: number;
1452
+ collectedManagementFee: bigint;
1453
+ collectedProtocolFee: bigint;
1454
+ rfqCode: import("@ton/core").Cell;
1455
+ walletCode: import("@ton/core").Cell;
1456
+ dataAggregatorCode: import("@ton/core").Cell;
1457
+ protocolFeeManagerAddress: import("@ton/core").Address;
1458
+ rfqIndex: bigint;
1459
+ isExecutingStrategy: boolean;
1460
+ maxLeverageRatio: number;
1461
+ assetWalletDict: Record<string, string>;
1462
+ walletAssetDict: Record<string, string>;
1463
+ managementFeeRecipientAddress: import("@ton/core").Address | null;
1464
+ guardianAddress: import("@ton/core").Address | null;
1465
+ timelock: bigint;
1466
+ pendingOwnerActionIndex: bigint;
1467
+ pendingOwnerActionCount: bigint;
1468
+ pendingOwnerAction: any;
1469
+ getFactorialPoolAsset: (poolAddress: import("@ton/core").Address, assetAddress: import("@ton/core").Address) => import("../../contracts/vault/strategy-vault").FactorialPoolShare;
1470
+ getAsset: (assetAddress: import("@ton/core").Address) => import("../../contracts/vault/strategy-vault").AssetV2;
1471
+ version: string;
1472
+ address: import("@ton/core").Address;
1473
+ balance: bigint;
1474
+ code: import("@ton/core").Cell;
1475
+ } | {
1476
+ globalDepositValueCap: bigint;
1477
+ withdrawFeeRate: number;
1478
+ queueWithdrawFeeRate: number;
1479
+ depositQueueManager: import("../../contracts/vault/strategy-vault").QueueManager;
1480
+ withdrawQueueManager: import("../../contracts/vault/strategy-vault").QueueManager;
1481
+ interactiveVaultDict: Record<string, import("../../contracts/vault/strategy-vault").InteractiveVaultConfigItem>;
1482
+ xchainConnectorAddress: null;
1483
+ xchainConfig: null;
1484
+ xchainUpdateHash: bigint;
1485
+ owner: import("@ton/core").Address;
1486
+ manager: import("@ton/core").Address;
1487
+ assets: Record<string, import("../../contracts/vault/strategy-vault").AssetV2>;
1488
+ factorialPools: Record<string, import("../../contracts/vault/strategy-vault").FactorialPool>;
1489
+ aggregatorIndex: bigint;
1490
+ content: import("@ton/core").Cell;
1491
+ totalSupply: bigint;
1492
+ oracleConfig: import("@ton/core").Cell | import("../../contracts/oracle/redstone-onchain-oracle/type").RedstoneOnchainOracleConfig | import("../../contracts/oracle/redstone-oracle/type").RedstonOracleConfig;
1493
+ rfqConfig: {
1494
+ priceDeviationTolerance: number;
1495
+ rfqEventEmitterAddress: string | null;
1496
+ } | null;
1497
+ gasConfig: Record<string, bigint> | null;
1498
+ isPrivateVault: boolean;
1499
+ depositCloseTimestamp: number;
1500
+ withdrawOpenTimestamp: number;
1501
+ whitelistedMinters: import("@ton/core").Dictionary<import("@ton/core").Address, Boolean>;
1502
+ lastCollectTime: number;
1503
+ managementFeeRatePerYear: number;
1504
+ protocolFeeRatePerYear: number;
1505
+ collectedManagementFee: bigint;
1506
+ collectedProtocolFee: bigint;
1507
+ rfqCode: import("@ton/core").Cell;
1508
+ walletCode: import("@ton/core").Cell;
1509
+ dataAggregatorCode: import("@ton/core").Cell;
1510
+ protocolFeeManagerAddress: import("@ton/core").Address;
1511
+ rfqIndex: bigint;
1512
+ isExecutingStrategy: boolean;
1513
+ maxLeverageRatio: number;
1514
+ assetWalletDict: Record<string, string>;
1515
+ walletAssetDict: Record<string, string>;
1516
+ managementFeeRecipientAddress: import("@ton/core").Address | null;
1517
+ guardianAddress: import("@ton/core").Address | null;
1518
+ timelock: bigint;
1519
+ pendingOwnerActionIndex: bigint;
1520
+ pendingOwnerActionCount: bigint;
1521
+ pendingOwnerAction: any;
1522
+ getFactorialPoolAsset: (poolAddress: import("@ton/core").Address, assetAddress: import("@ton/core").Address) => import("../../contracts/vault/strategy-vault").FactorialPoolShare;
1523
+ getAsset: (assetAddress: import("@ton/core").Address) => import("../../contracts/vault/strategy-vault").AssetV2;
1524
+ version: string;
1525
+ address: import("@ton/core").Address;
1526
+ balance: bigint;
1527
+ code: import("@ton/core").Cell;
1528
+ };
1529
+ targetVault: import("@ton/core").OpenedContract<import("../../contracts/vault/strategy-vault").StrategyVault>;
1530
+ targetVaultData: {
1531
+ globalDepositValueCap: bigint;
1532
+ withdrawFeeRate: number;
1533
+ queueWithdrawFeeRate: number;
1534
+ depositQueueManager: import("../../contracts/vault/strategy-vault").QueueManager;
1535
+ withdrawQueueManager: import("../../contracts/vault/strategy-vault").QueueManager;
1536
+ interactiveVaultDict: Record<string, import("../../contracts/vault/strategy-vault").InteractiveVaultConfigItem>;
1537
+ xchainConnectorAddress: import("@ton/core").Address | null;
1538
+ xchainConfig: Record<string, {
1539
+ connected: boolean;
1540
+ xchainAccountAddress: bigint;
1541
+ oftConfig: Map<string, {
1542
+ destinationAddress: import("@ton/core").Address;
1543
+ forwardGas: bigint;
1544
+ forwardPayload?: import("@ton/core").Cell | null;
1545
+ lzTransferFeeRate?: bigint;
1546
+ }> | null;
1547
+ strategyConfig: Map<bigint, {
1548
+ isExecutable: boolean;
1549
+ }> | null;
1550
+ afterStrategyConfig: Map<bigint, {
1551
+ isExecutable: boolean;
1552
+ }> | null;
1553
+ lzGasFee: bigint;
1554
+ }>;
1555
+ xchainUpdateHash: bigint;
1556
+ owner: import("@ton/core").Address;
1557
+ manager: import("@ton/core").Address;
1558
+ assets: Record<string, import("../../contracts/vault/strategy-vault").AssetV2>;
1559
+ factorialPools: Record<string, import("../../contracts/vault/strategy-vault").FactorialPool>;
1560
+ aggregatorIndex: bigint;
1561
+ content: import("@ton/core").Cell;
1562
+ totalSupply: bigint;
1563
+ oracleConfig: import("@ton/core").Cell | import("../../contracts/oracle/redstone-onchain-oracle/type").RedstoneOnchainOracleConfig | import("../../contracts/oracle/redstone-oracle/type").RedstonOracleConfig;
1564
+ rfqConfig: {
1565
+ priceDeviationTolerance: number;
1566
+ rfqEventEmitterAddress: string | null;
1567
+ } | null;
1568
+ gasConfig: Record<string, bigint> | null;
1569
+ isPrivateVault: boolean;
1570
+ depositCloseTimestamp: number;
1571
+ withdrawOpenTimestamp: number;
1572
+ whitelistedMinters: import("@ton/core").Dictionary<import("@ton/core").Address, Boolean>;
1573
+ lastCollectTime: number;
1574
+ managementFeeRatePerYear: number;
1575
+ protocolFeeRatePerYear: number;
1576
+ collectedManagementFee: bigint;
1577
+ collectedProtocolFee: bigint;
1578
+ rfqCode: import("@ton/core").Cell;
1579
+ walletCode: import("@ton/core").Cell;
1580
+ dataAggregatorCode: import("@ton/core").Cell;
1581
+ protocolFeeManagerAddress: import("@ton/core").Address;
1582
+ rfqIndex: bigint;
1583
+ isExecutingStrategy: boolean;
1584
+ maxLeverageRatio: number;
1585
+ assetWalletDict: Record<string, string>;
1586
+ walletAssetDict: Record<string, string>;
1587
+ managementFeeRecipientAddress: import("@ton/core").Address | null;
1588
+ guardianAddress: import("@ton/core").Address | null;
1589
+ timelock: bigint;
1590
+ pendingOwnerActionIndex: bigint;
1591
+ pendingOwnerActionCount: bigint;
1592
+ pendingOwnerAction: any;
1593
+ getFactorialPoolAsset: (poolAddress: import("@ton/core").Address, assetAddress: import("@ton/core").Address) => import("../../contracts/vault/strategy-vault").FactorialPoolShare;
1594
+ getAsset: (assetAddress: import("@ton/core").Address) => import("../../contracts/vault/strategy-vault").AssetV2;
1595
+ version: string;
1596
+ address: import("@ton/core").Address;
1597
+ balance: bigint;
1598
+ code: import("@ton/core").Cell;
1599
+ } | {
1600
+ globalDepositValueCap: bigint;
1601
+ withdrawFeeRate: number;
1602
+ queueWithdrawFeeRate: number;
1603
+ depositQueueManager: import("../../contracts/vault/strategy-vault").QueueManager;
1604
+ withdrawQueueManager: import("../../contracts/vault/strategy-vault").QueueManager;
1605
+ interactiveVaultDict: Record<string, import("../../contracts/vault/strategy-vault").InteractiveVaultConfigItem>;
1606
+ xchainConnectorAddress: null;
1607
+ xchainConfig: null;
1608
+ xchainUpdateHash: bigint;
1609
+ owner: import("@ton/core").Address;
1610
+ manager: import("@ton/core").Address;
1611
+ assets: Record<string, import("../../contracts/vault/strategy-vault").AssetV2>;
1612
+ factorialPools: Record<string, import("../../contracts/vault/strategy-vault").FactorialPool>;
1613
+ aggregatorIndex: bigint;
1614
+ content: import("@ton/core").Cell;
1615
+ totalSupply: bigint;
1616
+ oracleConfig: import("@ton/core").Cell | import("../../contracts/oracle/redstone-onchain-oracle/type").RedstoneOnchainOracleConfig | import("../../contracts/oracle/redstone-oracle/type").RedstonOracleConfig;
1617
+ rfqConfig: {
1618
+ priceDeviationTolerance: number;
1619
+ rfqEventEmitterAddress: string | null;
1620
+ } | null;
1621
+ gasConfig: Record<string, bigint> | null;
1622
+ isPrivateVault: boolean;
1623
+ depositCloseTimestamp: number;
1624
+ withdrawOpenTimestamp: number;
1625
+ whitelistedMinters: import("@ton/core").Dictionary<import("@ton/core").Address, Boolean>;
1626
+ lastCollectTime: number;
1627
+ managementFeeRatePerYear: number;
1628
+ protocolFeeRatePerYear: number;
1629
+ collectedManagementFee: bigint;
1630
+ collectedProtocolFee: bigint;
1631
+ rfqCode: import("@ton/core").Cell;
1632
+ walletCode: import("@ton/core").Cell;
1633
+ dataAggregatorCode: import("@ton/core").Cell;
1634
+ protocolFeeManagerAddress: import("@ton/core").Address;
1635
+ rfqIndex: bigint;
1636
+ isExecutingStrategy: boolean;
1637
+ maxLeverageRatio: number;
1638
+ assetWalletDict: Record<string, string>;
1639
+ walletAssetDict: Record<string, string>;
1640
+ managementFeeRecipientAddress: import("@ton/core").Address | null;
1641
+ guardianAddress: import("@ton/core").Address | null;
1642
+ timelock: bigint;
1643
+ pendingOwnerActionIndex: bigint;
1644
+ pendingOwnerActionCount: bigint;
1645
+ pendingOwnerAction: any;
1646
+ getFactorialPoolAsset: (poolAddress: import("@ton/core").Address, assetAddress: import("@ton/core").Address) => import("../../contracts/vault/strategy-vault").FactorialPoolShare;
1647
+ getAsset: (assetAddress: import("@ton/core").Address) => import("../../contracts/vault/strategy-vault").AssetV2;
1648
+ version: string;
1649
+ address: import("@ton/core").Address;
1650
+ balance: bigint;
1651
+ code: import("@ton/core").Cell;
1652
+ };
1653
+ oracleParams: import("@ton/core").Cell;
1654
+ vaultStrategyGas: bigint;
1655
+ forwardTonAmount: bigint;
1656
+ }>;
1657
+ sendDepositToVaultQueueCancel(sender: AddressSender, params: manager.DepositToVaultQueueCancelParams): Promise<{
1658
+ strategyVault: import("@ton/core").OpenedContract<import("../../contracts/vault/strategy-vault").StrategyVault>;
1659
+ }>;
1660
+ sendWithdrawFromVaultQueueCancel(sender: AddressSender, params: manager.WithdrawFromVaultQueueCancelParams): Promise<{
1661
+ strategyVault: import("@ton/core").OpenedContract<import("../../contracts/vault/strategy-vault").StrategyVault>;
1662
+ }>;
1663
+ sendCreateAmountRFQ(sender: AddressSender, params: manager.CreateAmountRFQParams, value?: bigint): Promise<{
1664
+ strategyVault: import("@ton/core").OpenedContract<import("../../contracts/vault/strategy-vault").StrategyVault>;
1665
+ vaultData: {
1666
+ globalDepositValueCap: bigint;
1667
+ withdrawFeeRate: number;
1668
+ queueWithdrawFeeRate: number;
1669
+ depositQueueManager: import("../../contracts/vault/strategy-vault").QueueManager;
1670
+ withdrawQueueManager: import("../../contracts/vault/strategy-vault").QueueManager;
1671
+ interactiveVaultDict: Record<string, import("../../contracts/vault/strategy-vault").InteractiveVaultConfigItem>;
1672
+ xchainConnectorAddress: import("@ton/core").Address | null;
1673
+ xchainConfig: Record<string, {
1674
+ connected: boolean;
1675
+ xchainAccountAddress: bigint;
1676
+ oftConfig: Map<string, {
1677
+ destinationAddress: import("@ton/core").Address;
1678
+ forwardGas: bigint;
1679
+ forwardPayload?: import("@ton/core").Cell | null;
1680
+ lzTransferFeeRate?: bigint;
1681
+ }> | null;
1682
+ strategyConfig: Map<bigint, {
1683
+ isExecutable: boolean;
1684
+ }> | null;
1685
+ afterStrategyConfig: Map<bigint, {
1686
+ isExecutable: boolean;
1687
+ }> | null;
1688
+ lzGasFee: bigint;
1689
+ }>;
1690
+ xchainUpdateHash: bigint;
1691
+ owner: import("@ton/core").Address;
1692
+ manager: import("@ton/core").Address;
1693
+ assets: Record<string, import("../../contracts/vault/strategy-vault").AssetV2>;
1694
+ factorialPools: Record<string, import("../../contracts/vault/strategy-vault").FactorialPool>;
1695
+ aggregatorIndex: bigint;
1696
+ content: import("@ton/core").Cell;
1697
+ totalSupply: bigint;
1698
+ oracleConfig: import("@ton/core").Cell | import("../../contracts/oracle/redstone-onchain-oracle/type").RedstoneOnchainOracleConfig | import("../../contracts/oracle/redstone-oracle/type").RedstonOracleConfig;
1699
+ rfqConfig: {
1700
+ priceDeviationTolerance: number;
1701
+ rfqEventEmitterAddress: string | null;
1702
+ } | null;
1703
+ gasConfig: Record<string, bigint> | null;
1704
+ isPrivateVault: boolean;
1705
+ depositCloseTimestamp: number;
1706
+ withdrawOpenTimestamp: number;
1707
+ whitelistedMinters: import("@ton/core").Dictionary<import("@ton/core").Address, Boolean>;
1708
+ lastCollectTime: number;
1709
+ managementFeeRatePerYear: number;
1710
+ protocolFeeRatePerYear: number;
1711
+ collectedManagementFee: bigint;
1712
+ collectedProtocolFee: bigint;
1713
+ rfqCode: import("@ton/core").Cell;
1714
+ walletCode: import("@ton/core").Cell;
1715
+ dataAggregatorCode: import("@ton/core").Cell;
1716
+ protocolFeeManagerAddress: import("@ton/core").Address;
1717
+ rfqIndex: bigint;
1718
+ isExecutingStrategy: boolean;
1719
+ maxLeverageRatio: number;
1720
+ assetWalletDict: Record<string, string>;
1721
+ walletAssetDict: Record<string, string>;
1722
+ managementFeeRecipientAddress: import("@ton/core").Address | null;
1723
+ guardianAddress: import("@ton/core").Address | null;
1724
+ timelock: bigint;
1725
+ pendingOwnerActionIndex: bigint;
1726
+ pendingOwnerActionCount: bigint;
1727
+ pendingOwnerAction: any;
1728
+ getFactorialPoolAsset: (poolAddress: import("@ton/core").Address, assetAddress: import("@ton/core").Address) => import("../../contracts/vault/strategy-vault").FactorialPoolShare;
1729
+ getAsset: (assetAddress: import("@ton/core").Address) => import("../../contracts/vault/strategy-vault").AssetV2;
1730
+ version: string;
1731
+ address: import("@ton/core").Address;
1732
+ balance: bigint;
1733
+ code: import("@ton/core").Cell;
1734
+ } | {
1735
+ globalDepositValueCap: bigint;
1736
+ withdrawFeeRate: number;
1737
+ queueWithdrawFeeRate: number;
1738
+ depositQueueManager: import("../../contracts/vault/strategy-vault").QueueManager;
1739
+ withdrawQueueManager: import("../../contracts/vault/strategy-vault").QueueManager;
1740
+ interactiveVaultDict: Record<string, import("../../contracts/vault/strategy-vault").InteractiveVaultConfigItem>;
1741
+ xchainConnectorAddress: null;
1742
+ xchainConfig: null;
1743
+ xchainUpdateHash: bigint;
1744
+ owner: import("@ton/core").Address;
1745
+ manager: import("@ton/core").Address;
1746
+ assets: Record<string, import("../../contracts/vault/strategy-vault").AssetV2>;
1747
+ factorialPools: Record<string, import("../../contracts/vault/strategy-vault").FactorialPool>;
1748
+ aggregatorIndex: bigint;
1749
+ content: import("@ton/core").Cell;
1750
+ totalSupply: bigint;
1751
+ oracleConfig: import("@ton/core").Cell | import("../../contracts/oracle/redstone-onchain-oracle/type").RedstoneOnchainOracleConfig | import("../../contracts/oracle/redstone-oracle/type").RedstonOracleConfig;
1752
+ rfqConfig: {
1753
+ priceDeviationTolerance: number;
1754
+ rfqEventEmitterAddress: string | null;
1755
+ } | null;
1756
+ gasConfig: Record<string, bigint> | null;
1757
+ isPrivateVault: boolean;
1758
+ depositCloseTimestamp: number;
1759
+ withdrawOpenTimestamp: number;
1760
+ whitelistedMinters: import("@ton/core").Dictionary<import("@ton/core").Address, Boolean>;
1761
+ lastCollectTime: number;
1762
+ managementFeeRatePerYear: number;
1763
+ protocolFeeRatePerYear: number;
1764
+ collectedManagementFee: bigint;
1765
+ collectedProtocolFee: bigint;
1766
+ rfqCode: import("@ton/core").Cell;
1767
+ walletCode: import("@ton/core").Cell;
1768
+ dataAggregatorCode: import("@ton/core").Cell;
1769
+ protocolFeeManagerAddress: import("@ton/core").Address;
1770
+ rfqIndex: bigint;
1771
+ isExecutingStrategy: boolean;
1772
+ maxLeverageRatio: number;
1773
+ assetWalletDict: Record<string, string>;
1774
+ walletAssetDict: Record<string, string>;
1775
+ managementFeeRecipientAddress: import("@ton/core").Address | null;
1776
+ guardianAddress: import("@ton/core").Address | null;
1777
+ timelock: bigint;
1778
+ pendingOwnerActionIndex: bigint;
1779
+ pendingOwnerActionCount: bigint;
1780
+ pendingOwnerAction: any;
1781
+ getFactorialPoolAsset: (poolAddress: import("@ton/core").Address, assetAddress: import("@ton/core").Address) => import("../../contracts/vault/strategy-vault").FactorialPoolShare;
1782
+ getAsset: (assetAddress: import("@ton/core").Address) => import("../../contracts/vault/strategy-vault").AssetV2;
1783
+ version: string;
1784
+ address: import("@ton/core").Address;
1785
+ balance: bigint;
1786
+ code: import("@ton/core").Cell;
1787
+ };
1788
+ rfqIndex: bigint;
1789
+ rfqAuctionAddress: import("@ton/core").Address;
1790
+ sellAssetAddress: import("@ton/core").Address;
1791
+ buyAssetAddress: import("@ton/core").Address;
1792
+ sellAssetRFQWallet: import("@ton/core").Address;
1793
+ buyAssetRFQWallet: import("@ton/core").Address;
1794
+ oracleParams: import("@ton/core").Cell;
1795
+ oracleCalculateGas: bigint;
1796
+ }>;
1797
+ sendCreateSlippageRFQ(sender: AddressSender, params: manager.CreateSlippageRFQParams, value?: bigint): Promise<{
1798
+ strategyVault: import("@ton/core").OpenedContract<import("../../contracts/vault/strategy-vault").StrategyVault>;
1799
+ vaultData: {
1800
+ globalDepositValueCap: bigint;
1801
+ withdrawFeeRate: number;
1802
+ queueWithdrawFeeRate: number;
1803
+ depositQueueManager: import("../../contracts/vault/strategy-vault").QueueManager;
1804
+ withdrawQueueManager: import("../../contracts/vault/strategy-vault").QueueManager;
1805
+ interactiveVaultDict: Record<string, import("../../contracts/vault/strategy-vault").InteractiveVaultConfigItem>;
1806
+ xchainConnectorAddress: import("@ton/core").Address | null;
1807
+ xchainConfig: Record<string, {
1808
+ connected: boolean;
1809
+ xchainAccountAddress: bigint;
1810
+ oftConfig: Map<string, {
1811
+ destinationAddress: import("@ton/core").Address;
1812
+ forwardGas: bigint;
1813
+ forwardPayload?: import("@ton/core").Cell | null;
1814
+ lzTransferFeeRate?: bigint;
1815
+ }> | null;
1816
+ strategyConfig: Map<bigint, {
1817
+ isExecutable: boolean;
1818
+ }> | null;
1819
+ afterStrategyConfig: Map<bigint, {
1820
+ isExecutable: boolean;
1821
+ }> | null;
1822
+ lzGasFee: bigint;
1823
+ }>;
1824
+ xchainUpdateHash: bigint;
1825
+ owner: import("@ton/core").Address;
1826
+ manager: import("@ton/core").Address;
1827
+ assets: Record<string, import("../../contracts/vault/strategy-vault").AssetV2>;
1828
+ factorialPools: Record<string, import("../../contracts/vault/strategy-vault").FactorialPool>;
1829
+ aggregatorIndex: bigint;
1830
+ content: import("@ton/core").Cell;
1831
+ totalSupply: bigint;
1832
+ oracleConfig: import("@ton/core").Cell | import("../../contracts/oracle/redstone-onchain-oracle/type").RedstoneOnchainOracleConfig | import("../../contracts/oracle/redstone-oracle/type").RedstonOracleConfig;
1833
+ rfqConfig: {
1834
+ priceDeviationTolerance: number;
1835
+ rfqEventEmitterAddress: string | null;
1836
+ } | null;
1837
+ gasConfig: Record<string, bigint> | null;
1838
+ isPrivateVault: boolean;
1839
+ depositCloseTimestamp: number;
1840
+ withdrawOpenTimestamp: number;
1841
+ whitelistedMinters: import("@ton/core").Dictionary<import("@ton/core").Address, Boolean>;
1842
+ lastCollectTime: number;
1843
+ managementFeeRatePerYear: number;
1844
+ protocolFeeRatePerYear: number;
1845
+ collectedManagementFee: bigint;
1846
+ collectedProtocolFee: bigint;
1847
+ rfqCode: import("@ton/core").Cell;
1848
+ walletCode: import("@ton/core").Cell;
1849
+ dataAggregatorCode: import("@ton/core").Cell;
1850
+ protocolFeeManagerAddress: import("@ton/core").Address;
1851
+ rfqIndex: bigint;
1852
+ isExecutingStrategy: boolean;
1853
+ maxLeverageRatio: number;
1854
+ assetWalletDict: Record<string, string>;
1855
+ walletAssetDict: Record<string, string>;
1856
+ managementFeeRecipientAddress: import("@ton/core").Address | null;
1857
+ guardianAddress: import("@ton/core").Address | null;
1858
+ timelock: bigint;
1859
+ pendingOwnerActionIndex: bigint;
1860
+ pendingOwnerActionCount: bigint;
1861
+ pendingOwnerAction: any;
1862
+ getFactorialPoolAsset: (poolAddress: import("@ton/core").Address, assetAddress: import("@ton/core").Address) => import("../../contracts/vault/strategy-vault").FactorialPoolShare;
1863
+ getAsset: (assetAddress: import("@ton/core").Address) => import("../../contracts/vault/strategy-vault").AssetV2;
1864
+ version: string;
1865
+ address: import("@ton/core").Address;
1866
+ balance: bigint;
1867
+ code: import("@ton/core").Cell;
1868
+ } | {
1869
+ globalDepositValueCap: bigint;
1870
+ withdrawFeeRate: number;
1871
+ queueWithdrawFeeRate: number;
1872
+ depositQueueManager: import("../../contracts/vault/strategy-vault").QueueManager;
1873
+ withdrawQueueManager: import("../../contracts/vault/strategy-vault").QueueManager;
1874
+ interactiveVaultDict: Record<string, import("../../contracts/vault/strategy-vault").InteractiveVaultConfigItem>;
1875
+ xchainConnectorAddress: null;
1876
+ xchainConfig: null;
1877
+ xchainUpdateHash: bigint;
1878
+ owner: import("@ton/core").Address;
1879
+ manager: import("@ton/core").Address;
1880
+ assets: Record<string, import("../../contracts/vault/strategy-vault").AssetV2>;
1881
+ factorialPools: Record<string, import("../../contracts/vault/strategy-vault").FactorialPool>;
1882
+ aggregatorIndex: bigint;
1883
+ content: import("@ton/core").Cell;
1884
+ totalSupply: bigint;
1885
+ oracleConfig: import("@ton/core").Cell | import("../../contracts/oracle/redstone-onchain-oracle/type").RedstoneOnchainOracleConfig | import("../../contracts/oracle/redstone-oracle/type").RedstonOracleConfig;
1886
+ rfqConfig: {
1887
+ priceDeviationTolerance: number;
1888
+ rfqEventEmitterAddress: string | null;
1889
+ } | null;
1890
+ gasConfig: Record<string, bigint> | null;
1891
+ isPrivateVault: boolean;
1892
+ depositCloseTimestamp: number;
1893
+ withdrawOpenTimestamp: number;
1894
+ whitelistedMinters: import("@ton/core").Dictionary<import("@ton/core").Address, Boolean>;
1895
+ lastCollectTime: number;
1896
+ managementFeeRatePerYear: number;
1897
+ protocolFeeRatePerYear: number;
1898
+ collectedManagementFee: bigint;
1899
+ collectedProtocolFee: bigint;
1900
+ rfqCode: import("@ton/core").Cell;
1901
+ walletCode: import("@ton/core").Cell;
1902
+ dataAggregatorCode: import("@ton/core").Cell;
1903
+ protocolFeeManagerAddress: import("@ton/core").Address;
1904
+ rfqIndex: bigint;
1905
+ isExecutingStrategy: boolean;
1906
+ maxLeverageRatio: number;
1907
+ assetWalletDict: Record<string, string>;
1908
+ walletAssetDict: Record<string, string>;
1909
+ managementFeeRecipientAddress: import("@ton/core").Address | null;
1910
+ guardianAddress: import("@ton/core").Address | null;
1911
+ timelock: bigint;
1912
+ pendingOwnerActionIndex: bigint;
1913
+ pendingOwnerActionCount: bigint;
1914
+ pendingOwnerAction: any;
1915
+ getFactorialPoolAsset: (poolAddress: import("@ton/core").Address, assetAddress: import("@ton/core").Address) => import("../../contracts/vault/strategy-vault").FactorialPoolShare;
1916
+ getAsset: (assetAddress: import("@ton/core").Address) => import("../../contracts/vault/strategy-vault").AssetV2;
1917
+ version: string;
1918
+ address: import("@ton/core").Address;
1919
+ balance: bigint;
1920
+ code: import("@ton/core").Cell;
1921
+ };
1922
+ rfqIndex: bigint;
1923
+ rfqAuctionAddress: import("@ton/core").Address;
1924
+ sellAssetAddress: import("@ton/core").Address;
1925
+ buyAssetAddress: import("@ton/core").Address;
1926
+ sellAssetRFQWallet: import("@ton/core").Address;
1927
+ buyAssetRFQWallet: import("@ton/core").Address;
1928
+ oracleParams: import("@ton/core").Cell;
1929
+ oracleCalculateGas: bigint;
1930
+ slippageBoundConfig: import("../../contracts/vault/strategy-vault/computation").SlippageConfig;
1931
+ }>;
1932
+ sendCancelRFQ(sender: AddressSender, params: manager.CancelRFQParams, value?: bigint): Promise<{
1933
+ strategyVault: import("@ton/core").OpenedContract<import("../../contracts/vault/strategy-vault").StrategyVault>;
1934
+ }>;
1935
+ sendUnwrapWTON(sender: AddressSender, params: manager.UnwrapWTONParams, value?: bigint): Promise<void>;
1936
+ sendConfirmQueue(sender: AddressSender, params: manager.SendConfirmQueueParams): Promise<{
1937
+ vault: import("@ton/core").OpenedContract<import("../../contracts/vault/strategy-vault").StrategyVault>;
1938
+ vaultData: {
1939
+ globalDepositValueCap: bigint;
1940
+ withdrawFeeRate: number;
1941
+ queueWithdrawFeeRate: number;
1942
+ depositQueueManager: import("../../contracts/vault/strategy-vault").QueueManager;
1943
+ withdrawQueueManager: import("../../contracts/vault/strategy-vault").QueueManager;
1944
+ interactiveVaultDict: Record<string, import("../../contracts/vault/strategy-vault").InteractiveVaultConfigItem>;
1945
+ xchainConnectorAddress: import("@ton/core").Address | null;
1946
+ xchainConfig: Record<string, {
1947
+ connected: boolean;
1948
+ xchainAccountAddress: bigint;
1949
+ oftConfig: Map<string, {
1950
+ destinationAddress: import("@ton/core").Address;
1951
+ forwardGas: bigint;
1952
+ forwardPayload?: import("@ton/core").Cell | null;
1953
+ lzTransferFeeRate?: bigint;
1954
+ }> | null;
1955
+ strategyConfig: Map<bigint, {
1956
+ isExecutable: boolean;
1957
+ }> | null;
1958
+ afterStrategyConfig: Map<bigint, {
1959
+ isExecutable: boolean;
1960
+ }> | null;
1961
+ lzGasFee: bigint;
1962
+ }>;
1963
+ xchainUpdateHash: bigint;
1964
+ owner: import("@ton/core").Address;
1965
+ manager: import("@ton/core").Address;
1966
+ assets: Record<string, import("../../contracts/vault/strategy-vault").AssetV2>;
1967
+ factorialPools: Record<string, import("../../contracts/vault/strategy-vault").FactorialPool>;
1968
+ aggregatorIndex: bigint;
1969
+ content: import("@ton/core").Cell;
1970
+ totalSupply: bigint;
1971
+ oracleConfig: import("@ton/core").Cell | import("../../contracts/oracle/redstone-onchain-oracle/type").RedstoneOnchainOracleConfig | import("../../contracts/oracle/redstone-oracle/type").RedstonOracleConfig;
1972
+ rfqConfig: {
1973
+ priceDeviationTolerance: number;
1974
+ rfqEventEmitterAddress: string | null;
1975
+ } | null;
1976
+ gasConfig: Record<string, bigint> | null;
1977
+ isPrivateVault: boolean;
1978
+ depositCloseTimestamp: number;
1979
+ withdrawOpenTimestamp: number;
1980
+ whitelistedMinters: import("@ton/core").Dictionary<import("@ton/core").Address, Boolean>;
1981
+ lastCollectTime: number;
1982
+ managementFeeRatePerYear: number;
1983
+ protocolFeeRatePerYear: number;
1984
+ collectedManagementFee: bigint;
1985
+ collectedProtocolFee: bigint;
1986
+ rfqCode: import("@ton/core").Cell;
1987
+ walletCode: import("@ton/core").Cell;
1988
+ dataAggregatorCode: import("@ton/core").Cell;
1989
+ protocolFeeManagerAddress: import("@ton/core").Address;
1990
+ rfqIndex: bigint;
1991
+ isExecutingStrategy: boolean;
1992
+ maxLeverageRatio: number;
1993
+ assetWalletDict: Record<string, string>;
1994
+ walletAssetDict: Record<string, string>;
1995
+ managementFeeRecipientAddress: import("@ton/core").Address | null;
1996
+ guardianAddress: import("@ton/core").Address | null;
1997
+ timelock: bigint;
1998
+ pendingOwnerActionIndex: bigint;
1999
+ pendingOwnerActionCount: bigint;
2000
+ pendingOwnerAction: any;
2001
+ getFactorialPoolAsset: (poolAddress: import("@ton/core").Address, assetAddress: import("@ton/core").Address) => import("../../contracts/vault/strategy-vault").FactorialPoolShare;
2002
+ getAsset: (assetAddress: import("@ton/core").Address) => import("../../contracts/vault/strategy-vault").AssetV2;
2003
+ version: string;
2004
+ address: import("@ton/core").Address;
2005
+ balance: bigint;
2006
+ code: import("@ton/core").Cell;
2007
+ } | {
2008
+ globalDepositValueCap: bigint;
2009
+ withdrawFeeRate: number;
2010
+ queueWithdrawFeeRate: number;
2011
+ depositQueueManager: import("../../contracts/vault/strategy-vault").QueueManager;
2012
+ withdrawQueueManager: import("../../contracts/vault/strategy-vault").QueueManager;
2013
+ interactiveVaultDict: Record<string, import("../../contracts/vault/strategy-vault").InteractiveVaultConfigItem>;
2014
+ xchainConnectorAddress: null;
2015
+ xchainConfig: null;
2016
+ xchainUpdateHash: bigint;
2017
+ owner: import("@ton/core").Address;
2018
+ manager: import("@ton/core").Address;
2019
+ assets: Record<string, import("../../contracts/vault/strategy-vault").AssetV2>;
2020
+ factorialPools: Record<string, import("../../contracts/vault/strategy-vault").FactorialPool>;
2021
+ aggregatorIndex: bigint;
2022
+ content: import("@ton/core").Cell;
2023
+ totalSupply: bigint;
2024
+ oracleConfig: import("@ton/core").Cell | import("../../contracts/oracle/redstone-onchain-oracle/type").RedstoneOnchainOracleConfig | import("../../contracts/oracle/redstone-oracle/type").RedstonOracleConfig;
2025
+ rfqConfig: {
2026
+ priceDeviationTolerance: number;
2027
+ rfqEventEmitterAddress: string | null;
2028
+ } | null;
2029
+ gasConfig: Record<string, bigint> | null;
2030
+ isPrivateVault: boolean;
2031
+ depositCloseTimestamp: number;
2032
+ withdrawOpenTimestamp: number;
2033
+ whitelistedMinters: import("@ton/core").Dictionary<import("@ton/core").Address, Boolean>;
2034
+ lastCollectTime: number;
2035
+ managementFeeRatePerYear: number;
2036
+ protocolFeeRatePerYear: number;
2037
+ collectedManagementFee: bigint;
2038
+ collectedProtocolFee: bigint;
2039
+ rfqCode: import("@ton/core").Cell;
2040
+ walletCode: import("@ton/core").Cell;
2041
+ dataAggregatorCode: import("@ton/core").Cell;
2042
+ protocolFeeManagerAddress: import("@ton/core").Address;
2043
+ rfqIndex: bigint;
2044
+ isExecutingStrategy: boolean;
2045
+ maxLeverageRatio: number;
2046
+ assetWalletDict: Record<string, string>;
2047
+ walletAssetDict: Record<string, string>;
2048
+ managementFeeRecipientAddress: import("@ton/core").Address | null;
2049
+ guardianAddress: import("@ton/core").Address | null;
2050
+ timelock: bigint;
2051
+ pendingOwnerActionIndex: bigint;
2052
+ pendingOwnerActionCount: bigint;
2053
+ pendingOwnerAction: any;
2054
+ getFactorialPoolAsset: (poolAddress: import("@ton/core").Address, assetAddress: import("@ton/core").Address) => import("../../contracts/vault/strategy-vault").FactorialPoolShare;
2055
+ getAsset: (assetAddress: import("@ton/core").Address) => import("../../contracts/vault/strategy-vault").AssetV2;
2056
+ version: string;
2057
+ address: import("@ton/core").Address;
2058
+ balance: bigint;
2059
+ code: import("@ton/core").Cell;
2060
+ };
2061
+ to: import("@ton/core").Address;
2062
+ value: bigint;
2063
+ depositAssets: import("@ton/core").Address[];
2064
+ withdrawAssets: import("@ton/core").Address[];
2065
+ oracleParams: import("@ton/core").Cell;
2066
+ queryId: bigint;
2067
+ }>;
2068
+ sendExecuteDepositQueue(sender: AddressSender, params: manager.ExecuteDepositQueueParams): Promise<{
2069
+ to: import("@ton/core").Address;
2070
+ value: bigint;
2071
+ asset: import("@ton/core").Address;
2072
+ count: bigint;
2073
+ queryId: bigint;
2074
+ }>;
2075
+ sendExecuteWithdrawQueue(sender: AddressSender, params: manager.ExecuteWithdrawQueueParams): Promise<{
2076
+ to: import("@ton/core").Address;
2077
+ value: bigint;
2078
+ asset: import("@ton/core").Address;
2079
+ count: bigint;
2080
+ queryId: bigint;
2081
+ }>;
2082
+ sendDepositAsset(sender: AddressSender, params: user.DepositAssetParams, value?: bigint): Promise<{
2083
+ recipient: import("@ton/core").Address;
2084
+ amount: bigint;
2085
+ response: import("@ton/core").Address;
2086
+ forwardTonAmount: bigint;
2087
+ forwardPayload: import("@ton/core").Cell;
2088
+ queryId: bigint;
2089
+ }>;
2090
+ sendBurnVaultAsset(sender: AddressSender, params: user.BurnVaultAssetParams, value?: bigint): Promise<{
2091
+ amount: bigint;
2092
+ response: import("@ton/core").Address;
2093
+ forwardPayload: import("@ton/core").Cell;
2094
+ queryId: bigint;
2095
+ }>;
2096
+ sendDepositQueue(sender: AddressSender, params: user.CreateDepositQueueParams): Promise<{
2097
+ recipient: import("@ton/core").Address;
2098
+ amount: bigint;
2099
+ response: import("@ton/core").Address;
2100
+ forwardTonAmount: bigint;
2101
+ forwardPayload: import("@ton/core").Cell;
2102
+ queryId: bigint;
2103
+ }>;
2104
+ sendWithdrawQueue(sender: AddressSender, params: user.CreateWithdrawQueueParams): Promise<{
2105
+ amount: bigint;
2106
+ response: import("@ton/core").Address;
2107
+ forwardPayload: import("@ton/core").Cell;
2108
+ queryId: bigint;
2109
+ }>;
2110
+ sendCancelDepositQueue(sender: AddressSender, params: user.CancelQueueParams): Promise<{
2111
+ to: import("@ton/core").Address;
2112
+ value: bigint;
2113
+ assetAddress: import("@ton/core").Address;
2114
+ userAddress: import("@ton/core").Address;
2115
+ queryId: bigint;
2116
+ }>;
2117
+ sendCancelWithdrawQueue(sender: AddressSender, params: user.CancelQueueParams): Promise<{
2118
+ to: import("@ton/core").Address;
2119
+ value: bigint;
2120
+ assetAddress: import("@ton/core").Address;
2121
+ userAddress: import("@ton/core").Address;
2122
+ queryId: bigint;
2123
+ }>;
2124
+ }