@gvnrdao/dh-sdk 0.0.288 → 0.0.289

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 (76) hide show
  1. package/browser/dist/833.browser.js +1 -1
  2. package/browser/dist/browser.js +1 -1
  3. package/browser/dist/browser.js.LICENSE.txt +5 -10
  4. package/dist/constants/chunks/contract-abis.d.ts +20 -0
  5. package/dist/constants/chunks/deployment-addresses.d.ts +79 -0
  6. package/dist/constants/chunks/encrypted-provider-params.d.ts +21 -0
  7. package/dist/constants/chunks/environment.browser.d.ts +44 -0
  8. package/dist/constants/chunks/environment.d.ts +57 -0
  9. package/dist/constants/chunks/network-configs.d.ts +72 -0
  10. package/dist/constants/chunks/sdk-config.d.ts +33 -0
  11. package/dist/constants/chunks/sdk-limits.d.ts +66 -0
  12. package/dist/constants/index.d.ts +15 -0
  13. package/dist/contracts/typechain-contracts/common.d.ts +50 -0
  14. package/dist/contracts/typechain-contracts/factories/src/psm/SimplePSMV2__factory.d.ts +1996 -0
  15. package/dist/contracts/typechain-contracts/src/psm/SimplePSMV2.d.ts +1198 -0
  16. package/dist/deployments.js +21 -45
  17. package/dist/deployments.mjs +21 -45
  18. package/dist/graphs/client.d.ts +22 -0
  19. package/dist/graphs/diamond-hands.d.ts +259 -0
  20. package/dist/index.d.ts +56 -0
  21. package/dist/index.js +1123 -628
  22. package/dist/index.mjs +1123 -628
  23. package/dist/interfaces/chunks/btc.i.d.ts +36 -0
  24. package/dist/interfaces/chunks/config.i.d.ts +270 -0
  25. package/dist/interfaces/chunks/contract-interactions.i.d.ts +64 -0
  26. package/dist/interfaces/chunks/contract-types.i.d.ts +171 -0
  27. package/dist/interfaces/chunks/lit-actions-results.i.d.ts +165 -0
  28. package/dist/interfaces/chunks/lit-actions.i.d.ts +98 -0
  29. package/dist/interfaces/chunks/loan-operations.i.d.ts +331 -0
  30. package/dist/interfaces/chunks/pkp-integration.i.d.ts +87 -0
  31. package/dist/interfaces/chunks/position-query.i.d.ts +76 -0
  32. package/dist/interfaces/chunks/requests.i.d.ts +55 -0
  33. package/dist/interfaces/chunks/ucd-minting.i.d.ts +34 -0
  34. package/dist/interfaces/chunks/utility.i.d.ts +64 -0
  35. package/dist/interfaces/index.d.ts +17 -0
  36. package/dist/modules/bitcoin/bitcoin-operations.module.d.ts +254 -0
  37. package/dist/modules/cache/cache-manager.module.d.ts +259 -0
  38. package/dist/modules/contract/contract-manager.module.d.ts +152 -0
  39. package/dist/modules/diamond-hands-sdk.d.ts +969 -0
  40. package/dist/modules/loan/loan-creator.module.d.ts +132 -0
  41. package/dist/modules/loan/loan-query.module.d.ts +204 -0
  42. package/dist/modules/mock/mock-token-manager.module.d.ts +83 -0
  43. package/dist/modules/pkp/pkp-manager.module.d.ts +136 -0
  44. package/dist/modules/withdrawal-address/withdrawal-address.module.d.ts +78 -0
  45. package/dist/protocol/protocol-pause.d.ts +19 -0
  46. package/dist/server.d.ts +17 -0
  47. package/dist/types/authorization-params.d.ts +160 -0
  48. package/dist/types/branded/domain-values.d.ts +138 -0
  49. package/dist/types/branded/ids.d.ts +23 -0
  50. package/dist/types/event-types.d.ts +261 -0
  51. package/dist/types/graph-dtos.d.ts +228 -0
  52. package/dist/types/loanStatus.d.ts +10 -0
  53. package/dist/types/protocol-event-types.d.ts +99 -0
  54. package/dist/types/result.d.ts +120 -0
  55. package/dist/utils/address-conversion.utils.d.ts +51 -0
  56. package/dist/utils/bitcoin-address-cache.utils.d.ts +87 -0
  57. package/dist/utils/bitcoin-provider.utils.d.ts +84 -0
  58. package/dist/utils/btc-withdrawal-message.d.ts +60 -0
  59. package/dist/utils/chunks/bitcoin-utils.d.ts +85 -0
  60. package/dist/utils/chunks/eip1559-broadcast.utils.d.ts +33 -0
  61. package/dist/utils/eip712-login.d.ts +34 -0
  62. package/dist/utils/error-handler.d.ts +106 -0
  63. package/dist/utils/ethers-interop.utils.d.ts +146 -0
  64. package/dist/utils/extend-authorization.utils.d.ts +61 -0
  65. package/dist/utils/lit-signature.utils.d.ts +6 -0
  66. package/dist/utils/logger.utils.d.ts +142 -0
  67. package/dist/utils/mint-authorization.utils.d.ts +248 -0
  68. package/dist/utils/position-delegate.utils.d.ts +41 -0
  69. package/dist/utils/quantum-timing.d.ts +75 -0
  70. package/dist/utils/server-session.d.ts +50 -0
  71. package/dist/utils/service-endpoint-policy.d.ts +16 -0
  72. package/dist/utils/signature-tempering.utils.d.ts +34 -0
  73. package/dist/utils/telegram-messaging.utils.d.ts +188 -0
  74. package/package.json +1 -1
  75. package/browser/dist/397.browser.js +0 -2
  76. package/browser/dist/397.browser.js.LICENSE.txt +0 -1
@@ -0,0 +1,1198 @@
1
+ import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
2
+ import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "../../common";
3
+ export interface SimplePSMV2Interface extends Interface {
4
+ getFunction(nameOrSignature: "BASIS_POINTS" | "DEFAULT_ADMIN_ROLE" | "EXCHANGE_RATE_SCALE" | "MAX_EXIT_FEE" | "MAX_RESERVE_DRIFT" | "UPGRADE_INTERFACE_VERSION" | "VERSION" | "addReserves" | "addSupportedStablecoin" | "adminModule" | "canRedeem" | "controller" | "exchangeRates" | "exitFees" | "feeBalance" | "feeRecipientRegistry" | "fees" | "forceSyncReserves" | "getAvailableReserves" | "getRedemptionQuote" | "getRoleAdmin" | "getRoleMember" | "getRoleMemberCount" | "getRoleMembers" | "getSwapQuote" | "grantRole" | "hasRole" | "initialize" | "initializeAdminModule" | "initializeV2" | "lastOperationBlock" | "lastRedeemCapUpdateBlock" | "lastSwapCapUpdateBlock" | "maxRedeemAmounts" | "maxRedeemVolumePerBlock" | "maxSwapAmounts" | "maxSwapVolumePerBlock" | "minRedeemAmounts" | "minSwapAmounts" | "operationCount" | "pause" | "paused" | "proxiableUUID" | "redeem" | "redeemEnabled" | "redeemVolumeByBlock" | "removeSupportedStablecoin" | "renounceRole" | "reserves" | "revokeRole" | "setAdminModule" | "setFeeRecipientRegistry" | "setRedeemEnabled" | "setRedeemVolumeCap" | "setSwapVolumeCap" | "stablecoinDecimals" | "supportedStablecoins" | "supportsInterface" | "swap" | "swapVolumeByBlock" | "syncReserves" | "transferFee" | "ucdDecimals" | "ucdToken" | "unpause" | "updateSupportedStablecoin" | "upgradeToAndCall" | "withdrawStablecoin"): FunctionFragment;
5
+ getEvent(nameOrSignatureOrTopic: "AdminModuleUpdated" | "ContractPaused" | "ContractUnpaused" | "ContractUpgraded" | "EntryFeeUpdated" | "ExchangeRateUpdated" | "ExitFeeUpdated" | "FeeRecipientRegistryUpdated" | "FeeTransferred" | "Initialized" | "Paused" | "Redeem" | "RedeemVolumeCapUpdated" | "RedemptionStatusChanged" | "ReserveUpdated" | "RoleAdminChanged" | "RoleGranted" | "RoleRevoked" | "StablecoinAdded" | "StablecoinRemoved" | "StablecoinUpdated" | "Swap" | "SwapVolumeCapUpdated" | "Unpaused" | "Upgraded"): EventFragment;
6
+ encodeFunctionData(functionFragment: "BASIS_POINTS", values?: undefined): string;
7
+ encodeFunctionData(functionFragment: "DEFAULT_ADMIN_ROLE", values?: undefined): string;
8
+ encodeFunctionData(functionFragment: "EXCHANGE_RATE_SCALE", values?: undefined): string;
9
+ encodeFunctionData(functionFragment: "MAX_EXIT_FEE", values?: undefined): string;
10
+ encodeFunctionData(functionFragment: "MAX_RESERVE_DRIFT", values?: undefined): string;
11
+ encodeFunctionData(functionFragment: "UPGRADE_INTERFACE_VERSION", values?: undefined): string;
12
+ encodeFunctionData(functionFragment: "VERSION", values?: undefined): string;
13
+ encodeFunctionData(functionFragment: "addReserves", values: [AddressLike, BigNumberish]): string;
14
+ encodeFunctionData(functionFragment: "addSupportedStablecoin", values: [
15
+ AddressLike,
16
+ BigNumberish,
17
+ BigNumberish,
18
+ BigNumberish,
19
+ BigNumberish,
20
+ BigNumberish,
21
+ BigNumberish,
22
+ BigNumberish,
23
+ BigNumberish,
24
+ BigNumberish,
25
+ BigNumberish
26
+ ]): string;
27
+ encodeFunctionData(functionFragment: "adminModule", values?: undefined): string;
28
+ encodeFunctionData(functionFragment: "canRedeem", values: [AddressLike, BigNumberish]): string;
29
+ encodeFunctionData(functionFragment: "controller", values?: undefined): string;
30
+ encodeFunctionData(functionFragment: "exchangeRates", values: [AddressLike]): string;
31
+ encodeFunctionData(functionFragment: "exitFees", values: [AddressLike]): string;
32
+ encodeFunctionData(functionFragment: "feeBalance", values: [AddressLike]): string;
33
+ encodeFunctionData(functionFragment: "feeRecipientRegistry", values?: undefined): string;
34
+ encodeFunctionData(functionFragment: "fees", values: [AddressLike]): string;
35
+ encodeFunctionData(functionFragment: "forceSyncReserves", values: [AddressLike]): string;
36
+ encodeFunctionData(functionFragment: "getAvailableReserves", values: [AddressLike]): string;
37
+ encodeFunctionData(functionFragment: "getRedemptionQuote", values: [AddressLike, BigNumberish]): string;
38
+ encodeFunctionData(functionFragment: "getRoleAdmin", values: [BytesLike]): string;
39
+ encodeFunctionData(functionFragment: "getRoleMember", values: [BytesLike, BigNumberish]): string;
40
+ encodeFunctionData(functionFragment: "getRoleMemberCount", values: [BytesLike]): string;
41
+ encodeFunctionData(functionFragment: "getRoleMembers", values: [BytesLike]): string;
42
+ encodeFunctionData(functionFragment: "getSwapQuote", values: [AddressLike, BigNumberish]): string;
43
+ encodeFunctionData(functionFragment: "grantRole", values: [BytesLike, AddressLike]): string;
44
+ encodeFunctionData(functionFragment: "hasRole", values: [BytesLike, AddressLike]): string;
45
+ encodeFunctionData(functionFragment: "initialize", values: [AddressLike, AddressLike, AddressLike, AddressLike]): string;
46
+ encodeFunctionData(functionFragment: "initializeAdminModule", values: [AddressLike]): string;
47
+ encodeFunctionData(functionFragment: "initializeV2", values: [boolean, AddressLike[], BigNumberish[]]): string;
48
+ encodeFunctionData(functionFragment: "lastOperationBlock", values: [AddressLike]): string;
49
+ encodeFunctionData(functionFragment: "lastRedeemCapUpdateBlock", values: [AddressLike]): string;
50
+ encodeFunctionData(functionFragment: "lastSwapCapUpdateBlock", values: [AddressLike]): string;
51
+ encodeFunctionData(functionFragment: "maxRedeemAmounts", values: [AddressLike]): string;
52
+ encodeFunctionData(functionFragment: "maxRedeemVolumePerBlock", values: [AddressLike]): string;
53
+ encodeFunctionData(functionFragment: "maxSwapAmounts", values: [AddressLike]): string;
54
+ encodeFunctionData(functionFragment: "maxSwapVolumePerBlock", values: [AddressLike]): string;
55
+ encodeFunctionData(functionFragment: "minRedeemAmounts", values: [AddressLike]): string;
56
+ encodeFunctionData(functionFragment: "minSwapAmounts", values: [AddressLike]): string;
57
+ encodeFunctionData(functionFragment: "operationCount", values: [AddressLike]): string;
58
+ encodeFunctionData(functionFragment: "pause", values?: undefined): string;
59
+ encodeFunctionData(functionFragment: "paused", values?: undefined): string;
60
+ encodeFunctionData(functionFragment: "proxiableUUID", values?: undefined): string;
61
+ encodeFunctionData(functionFragment: "redeem", values: [AddressLike, BigNumberish, BigNumberish]): string;
62
+ encodeFunctionData(functionFragment: "redeemEnabled", values?: undefined): string;
63
+ encodeFunctionData(functionFragment: "redeemVolumeByBlock", values: [AddressLike, BigNumberish]): string;
64
+ encodeFunctionData(functionFragment: "removeSupportedStablecoin", values: [AddressLike]): string;
65
+ encodeFunctionData(functionFragment: "renounceRole", values: [BytesLike, AddressLike]): string;
66
+ encodeFunctionData(functionFragment: "reserves", values: [AddressLike]): string;
67
+ encodeFunctionData(functionFragment: "revokeRole", values: [BytesLike, AddressLike]): string;
68
+ encodeFunctionData(functionFragment: "setAdminModule", values: [AddressLike]): string;
69
+ encodeFunctionData(functionFragment: "setFeeRecipientRegistry", values: [AddressLike]): string;
70
+ encodeFunctionData(functionFragment: "setRedeemEnabled", values: [boolean]): string;
71
+ encodeFunctionData(functionFragment: "setRedeemVolumeCap", values: [AddressLike, BigNumberish]): string;
72
+ encodeFunctionData(functionFragment: "setSwapVolumeCap", values: [AddressLike, BigNumberish]): string;
73
+ encodeFunctionData(functionFragment: "stablecoinDecimals", values: [AddressLike]): string;
74
+ encodeFunctionData(functionFragment: "supportedStablecoins", values: [AddressLike]): string;
75
+ encodeFunctionData(functionFragment: "supportsInterface", values: [BytesLike]): string;
76
+ encodeFunctionData(functionFragment: "swap", values: [AddressLike, BigNumberish, BigNumberish]): string;
77
+ encodeFunctionData(functionFragment: "swapVolumeByBlock", values: [AddressLike, BigNumberish]): string;
78
+ encodeFunctionData(functionFragment: "syncReserves", values: [AddressLike]): string;
79
+ encodeFunctionData(functionFragment: "transferFee", values: [AddressLike, AddressLike, BigNumberish]): string;
80
+ encodeFunctionData(functionFragment: "ucdDecimals", values?: undefined): string;
81
+ encodeFunctionData(functionFragment: "ucdToken", values?: undefined): string;
82
+ encodeFunctionData(functionFragment: "unpause", values?: undefined): string;
83
+ encodeFunctionData(functionFragment: "updateSupportedStablecoin", values: [
84
+ AddressLike,
85
+ BigNumberish,
86
+ BigNumberish,
87
+ BigNumberish,
88
+ BigNumberish,
89
+ BigNumberish,
90
+ BigNumberish,
91
+ BigNumberish,
92
+ BigNumberish
93
+ ]): string;
94
+ encodeFunctionData(functionFragment: "upgradeToAndCall", values: [AddressLike, BytesLike]): string;
95
+ encodeFunctionData(functionFragment: "withdrawStablecoin", values: [AddressLike, BigNumberish]): string;
96
+ decodeFunctionResult(functionFragment: "BASIS_POINTS", data: BytesLike): Result;
97
+ decodeFunctionResult(functionFragment: "DEFAULT_ADMIN_ROLE", data: BytesLike): Result;
98
+ decodeFunctionResult(functionFragment: "EXCHANGE_RATE_SCALE", data: BytesLike): Result;
99
+ decodeFunctionResult(functionFragment: "MAX_EXIT_FEE", data: BytesLike): Result;
100
+ decodeFunctionResult(functionFragment: "MAX_RESERVE_DRIFT", data: BytesLike): Result;
101
+ decodeFunctionResult(functionFragment: "UPGRADE_INTERFACE_VERSION", data: BytesLike): Result;
102
+ decodeFunctionResult(functionFragment: "VERSION", data: BytesLike): Result;
103
+ decodeFunctionResult(functionFragment: "addReserves", data: BytesLike): Result;
104
+ decodeFunctionResult(functionFragment: "addSupportedStablecoin", data: BytesLike): Result;
105
+ decodeFunctionResult(functionFragment: "adminModule", data: BytesLike): Result;
106
+ decodeFunctionResult(functionFragment: "canRedeem", data: BytesLike): Result;
107
+ decodeFunctionResult(functionFragment: "controller", data: BytesLike): Result;
108
+ decodeFunctionResult(functionFragment: "exchangeRates", data: BytesLike): Result;
109
+ decodeFunctionResult(functionFragment: "exitFees", data: BytesLike): Result;
110
+ decodeFunctionResult(functionFragment: "feeBalance", data: BytesLike): Result;
111
+ decodeFunctionResult(functionFragment: "feeRecipientRegistry", data: BytesLike): Result;
112
+ decodeFunctionResult(functionFragment: "fees", data: BytesLike): Result;
113
+ decodeFunctionResult(functionFragment: "forceSyncReserves", data: BytesLike): Result;
114
+ decodeFunctionResult(functionFragment: "getAvailableReserves", data: BytesLike): Result;
115
+ decodeFunctionResult(functionFragment: "getRedemptionQuote", data: BytesLike): Result;
116
+ decodeFunctionResult(functionFragment: "getRoleAdmin", data: BytesLike): Result;
117
+ decodeFunctionResult(functionFragment: "getRoleMember", data: BytesLike): Result;
118
+ decodeFunctionResult(functionFragment: "getRoleMemberCount", data: BytesLike): Result;
119
+ decodeFunctionResult(functionFragment: "getRoleMembers", data: BytesLike): Result;
120
+ decodeFunctionResult(functionFragment: "getSwapQuote", data: BytesLike): Result;
121
+ decodeFunctionResult(functionFragment: "grantRole", data: BytesLike): Result;
122
+ decodeFunctionResult(functionFragment: "hasRole", data: BytesLike): Result;
123
+ decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result;
124
+ decodeFunctionResult(functionFragment: "initializeAdminModule", data: BytesLike): Result;
125
+ decodeFunctionResult(functionFragment: "initializeV2", data: BytesLike): Result;
126
+ decodeFunctionResult(functionFragment: "lastOperationBlock", data: BytesLike): Result;
127
+ decodeFunctionResult(functionFragment: "lastRedeemCapUpdateBlock", data: BytesLike): Result;
128
+ decodeFunctionResult(functionFragment: "lastSwapCapUpdateBlock", data: BytesLike): Result;
129
+ decodeFunctionResult(functionFragment: "maxRedeemAmounts", data: BytesLike): Result;
130
+ decodeFunctionResult(functionFragment: "maxRedeemVolumePerBlock", data: BytesLike): Result;
131
+ decodeFunctionResult(functionFragment: "maxSwapAmounts", data: BytesLike): Result;
132
+ decodeFunctionResult(functionFragment: "maxSwapVolumePerBlock", data: BytesLike): Result;
133
+ decodeFunctionResult(functionFragment: "minRedeemAmounts", data: BytesLike): Result;
134
+ decodeFunctionResult(functionFragment: "minSwapAmounts", data: BytesLike): Result;
135
+ decodeFunctionResult(functionFragment: "operationCount", data: BytesLike): Result;
136
+ decodeFunctionResult(functionFragment: "pause", data: BytesLike): Result;
137
+ decodeFunctionResult(functionFragment: "paused", data: BytesLike): Result;
138
+ decodeFunctionResult(functionFragment: "proxiableUUID", data: BytesLike): Result;
139
+ decodeFunctionResult(functionFragment: "redeem", data: BytesLike): Result;
140
+ decodeFunctionResult(functionFragment: "redeemEnabled", data: BytesLike): Result;
141
+ decodeFunctionResult(functionFragment: "redeemVolumeByBlock", data: BytesLike): Result;
142
+ decodeFunctionResult(functionFragment: "removeSupportedStablecoin", data: BytesLike): Result;
143
+ decodeFunctionResult(functionFragment: "renounceRole", data: BytesLike): Result;
144
+ decodeFunctionResult(functionFragment: "reserves", data: BytesLike): Result;
145
+ decodeFunctionResult(functionFragment: "revokeRole", data: BytesLike): Result;
146
+ decodeFunctionResult(functionFragment: "setAdminModule", data: BytesLike): Result;
147
+ decodeFunctionResult(functionFragment: "setFeeRecipientRegistry", data: BytesLike): Result;
148
+ decodeFunctionResult(functionFragment: "setRedeemEnabled", data: BytesLike): Result;
149
+ decodeFunctionResult(functionFragment: "setRedeemVolumeCap", data: BytesLike): Result;
150
+ decodeFunctionResult(functionFragment: "setSwapVolumeCap", data: BytesLike): Result;
151
+ decodeFunctionResult(functionFragment: "stablecoinDecimals", data: BytesLike): Result;
152
+ decodeFunctionResult(functionFragment: "supportedStablecoins", data: BytesLike): Result;
153
+ decodeFunctionResult(functionFragment: "supportsInterface", data: BytesLike): Result;
154
+ decodeFunctionResult(functionFragment: "swap", data: BytesLike): Result;
155
+ decodeFunctionResult(functionFragment: "swapVolumeByBlock", data: BytesLike): Result;
156
+ decodeFunctionResult(functionFragment: "syncReserves", data: BytesLike): Result;
157
+ decodeFunctionResult(functionFragment: "transferFee", data: BytesLike): Result;
158
+ decodeFunctionResult(functionFragment: "ucdDecimals", data: BytesLike): Result;
159
+ decodeFunctionResult(functionFragment: "ucdToken", data: BytesLike): Result;
160
+ decodeFunctionResult(functionFragment: "unpause", data: BytesLike): Result;
161
+ decodeFunctionResult(functionFragment: "updateSupportedStablecoin", data: BytesLike): Result;
162
+ decodeFunctionResult(functionFragment: "upgradeToAndCall", data: BytesLike): Result;
163
+ decodeFunctionResult(functionFragment: "withdrawStablecoin", data: BytesLike): Result;
164
+ }
165
+ export declare namespace AdminModuleUpdatedEvent {
166
+ type InputTuple = [
167
+ oldAdminModule: AddressLike,
168
+ newAdminModule: AddressLike
169
+ ];
170
+ type OutputTuple = [oldAdminModule: string, newAdminModule: string];
171
+ interface OutputObject {
172
+ oldAdminModule: string;
173
+ newAdminModule: string;
174
+ }
175
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
176
+ type Filter = TypedDeferredTopicFilter<Event>;
177
+ type Log = TypedEventLog<Event>;
178
+ type LogDescription = TypedLogDescription<Event>;
179
+ }
180
+ export declare namespace ContractPausedEvent {
181
+ type InputTuple = [caller: AddressLike, timestamp: BigNumberish];
182
+ type OutputTuple = [caller: string, timestamp: bigint];
183
+ interface OutputObject {
184
+ caller: string;
185
+ timestamp: bigint;
186
+ }
187
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
188
+ type Filter = TypedDeferredTopicFilter<Event>;
189
+ type Log = TypedEventLog<Event>;
190
+ type LogDescription = TypedLogDescription<Event>;
191
+ }
192
+ export declare namespace ContractUnpausedEvent {
193
+ type InputTuple = [caller: AddressLike, timestamp: BigNumberish];
194
+ type OutputTuple = [caller: string, timestamp: bigint];
195
+ interface OutputObject {
196
+ caller: string;
197
+ timestamp: bigint;
198
+ }
199
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
200
+ type Filter = TypedDeferredTopicFilter<Event>;
201
+ type Log = TypedEventLog<Event>;
202
+ type LogDescription = TypedLogDescription<Event>;
203
+ }
204
+ export declare namespace ContractUpgradedEvent {
205
+ type InputTuple = [
206
+ oldImplementation: AddressLike,
207
+ newImplementation: AddressLike,
208
+ version: string,
209
+ timestamp: BigNumberish
210
+ ];
211
+ type OutputTuple = [
212
+ oldImplementation: string,
213
+ newImplementation: string,
214
+ version: string,
215
+ timestamp: bigint
216
+ ];
217
+ interface OutputObject {
218
+ oldImplementation: string;
219
+ newImplementation: string;
220
+ version: string;
221
+ timestamp: bigint;
222
+ }
223
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
224
+ type Filter = TypedDeferredTopicFilter<Event>;
225
+ type Log = TypedEventLog<Event>;
226
+ type LogDescription = TypedLogDescription<Event>;
227
+ }
228
+ export declare namespace EntryFeeUpdatedEvent {
229
+ type InputTuple = [
230
+ stablecoin: AddressLike,
231
+ oldFee: BigNumberish,
232
+ newFee: BigNumberish
233
+ ];
234
+ type OutputTuple = [
235
+ stablecoin: string,
236
+ oldFee: bigint,
237
+ newFee: bigint
238
+ ];
239
+ interface OutputObject {
240
+ stablecoin: string;
241
+ oldFee: bigint;
242
+ newFee: bigint;
243
+ }
244
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
245
+ type Filter = TypedDeferredTopicFilter<Event>;
246
+ type Log = TypedEventLog<Event>;
247
+ type LogDescription = TypedLogDescription<Event>;
248
+ }
249
+ export declare namespace ExchangeRateUpdatedEvent {
250
+ type InputTuple = [
251
+ stablecoin: AddressLike,
252
+ oldRate: BigNumberish,
253
+ newRate: BigNumberish
254
+ ];
255
+ type OutputTuple = [
256
+ stablecoin: string,
257
+ oldRate: bigint,
258
+ newRate: bigint
259
+ ];
260
+ interface OutputObject {
261
+ stablecoin: string;
262
+ oldRate: bigint;
263
+ newRate: bigint;
264
+ }
265
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
266
+ type Filter = TypedDeferredTopicFilter<Event>;
267
+ type Log = TypedEventLog<Event>;
268
+ type LogDescription = TypedLogDescription<Event>;
269
+ }
270
+ export declare namespace ExitFeeUpdatedEvent {
271
+ type InputTuple = [
272
+ stablecoin: AddressLike,
273
+ oldFee: BigNumberish,
274
+ newFee: BigNumberish
275
+ ];
276
+ type OutputTuple = [
277
+ stablecoin: string,
278
+ oldFee: bigint,
279
+ newFee: bigint
280
+ ];
281
+ interface OutputObject {
282
+ stablecoin: string;
283
+ oldFee: bigint;
284
+ newFee: bigint;
285
+ }
286
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
287
+ type Filter = TypedDeferredTopicFilter<Event>;
288
+ type Log = TypedEventLog<Event>;
289
+ type LogDescription = TypedLogDescription<Event>;
290
+ }
291
+ export declare namespace FeeRecipientRegistryUpdatedEvent {
292
+ type InputTuple = [oldRegistry: AddressLike, newRegistry: AddressLike];
293
+ type OutputTuple = [oldRegistry: string, newRegistry: string];
294
+ interface OutputObject {
295
+ oldRegistry: string;
296
+ newRegistry: string;
297
+ }
298
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
299
+ type Filter = TypedDeferredTopicFilter<Event>;
300
+ type Log = TypedEventLog<Event>;
301
+ type LogDescription = TypedLogDescription<Event>;
302
+ }
303
+ export declare namespace FeeTransferredEvent {
304
+ type InputTuple = [
305
+ token: AddressLike,
306
+ recipient: AddressLike,
307
+ amount: BigNumberish,
308
+ timestamp: BigNumberish
309
+ ];
310
+ type OutputTuple = [
311
+ token: string,
312
+ recipient: string,
313
+ amount: bigint,
314
+ timestamp: bigint
315
+ ];
316
+ interface OutputObject {
317
+ token: string;
318
+ recipient: string;
319
+ amount: bigint;
320
+ timestamp: bigint;
321
+ }
322
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
323
+ type Filter = TypedDeferredTopicFilter<Event>;
324
+ type Log = TypedEventLog<Event>;
325
+ type LogDescription = TypedLogDescription<Event>;
326
+ }
327
+ export declare namespace InitializedEvent {
328
+ type InputTuple = [version: BigNumberish];
329
+ type OutputTuple = [version: bigint];
330
+ interface OutputObject {
331
+ version: bigint;
332
+ }
333
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
334
+ type Filter = TypedDeferredTopicFilter<Event>;
335
+ type Log = TypedEventLog<Event>;
336
+ type LogDescription = TypedLogDescription<Event>;
337
+ }
338
+ export declare namespace PausedEvent {
339
+ type InputTuple = [account: AddressLike];
340
+ type OutputTuple = [account: string];
341
+ interface OutputObject {
342
+ account: string;
343
+ }
344
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
345
+ type Filter = TypedDeferredTopicFilter<Event>;
346
+ type Log = TypedEventLog<Event>;
347
+ type LogDescription = TypedLogDescription<Event>;
348
+ }
349
+ export declare namespace RedeemEvent {
350
+ type InputTuple = [
351
+ user: AddressLike,
352
+ stablecoin: AddressLike,
353
+ ucdAmount: BigNumberish,
354
+ stablecoinAmount: BigNumberish,
355
+ exitFee: BigNumberish,
356
+ timestamp: BigNumberish
357
+ ];
358
+ type OutputTuple = [
359
+ user: string,
360
+ stablecoin: string,
361
+ ucdAmount: bigint,
362
+ stablecoinAmount: bigint,
363
+ exitFee: bigint,
364
+ timestamp: bigint
365
+ ];
366
+ interface OutputObject {
367
+ user: string;
368
+ stablecoin: string;
369
+ ucdAmount: bigint;
370
+ stablecoinAmount: bigint;
371
+ exitFee: bigint;
372
+ timestamp: bigint;
373
+ }
374
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
375
+ type Filter = TypedDeferredTopicFilter<Event>;
376
+ type Log = TypedEventLog<Event>;
377
+ type LogDescription = TypedLogDescription<Event>;
378
+ }
379
+ export declare namespace RedeemVolumeCapUpdatedEvent {
380
+ type InputTuple = [
381
+ stablecoin: AddressLike,
382
+ oldCap: BigNumberish,
383
+ newCap: BigNumberish
384
+ ];
385
+ type OutputTuple = [
386
+ stablecoin: string,
387
+ oldCap: bigint,
388
+ newCap: bigint
389
+ ];
390
+ interface OutputObject {
391
+ stablecoin: string;
392
+ oldCap: bigint;
393
+ newCap: bigint;
394
+ }
395
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
396
+ type Filter = TypedDeferredTopicFilter<Event>;
397
+ type Log = TypedEventLog<Event>;
398
+ type LogDescription = TypedLogDescription<Event>;
399
+ }
400
+ export declare namespace RedemptionStatusChangedEvent {
401
+ type InputTuple = [enabled: boolean];
402
+ type OutputTuple = [enabled: boolean];
403
+ interface OutputObject {
404
+ enabled: boolean;
405
+ }
406
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
407
+ type Filter = TypedDeferredTopicFilter<Event>;
408
+ type Log = TypedEventLog<Event>;
409
+ type LogDescription = TypedLogDescription<Event>;
410
+ }
411
+ export declare namespace ReserveUpdatedEvent {
412
+ type InputTuple = [
413
+ stablecoin: AddressLike,
414
+ oldReserve: BigNumberish,
415
+ newReserve: BigNumberish
416
+ ];
417
+ type OutputTuple = [
418
+ stablecoin: string,
419
+ oldReserve: bigint,
420
+ newReserve: bigint
421
+ ];
422
+ interface OutputObject {
423
+ stablecoin: string;
424
+ oldReserve: bigint;
425
+ newReserve: bigint;
426
+ }
427
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
428
+ type Filter = TypedDeferredTopicFilter<Event>;
429
+ type Log = TypedEventLog<Event>;
430
+ type LogDescription = TypedLogDescription<Event>;
431
+ }
432
+ export declare namespace RoleAdminChangedEvent {
433
+ type InputTuple = [
434
+ role: BytesLike,
435
+ previousAdminRole: BytesLike,
436
+ newAdminRole: BytesLike
437
+ ];
438
+ type OutputTuple = [
439
+ role: string,
440
+ previousAdminRole: string,
441
+ newAdminRole: string
442
+ ];
443
+ interface OutputObject {
444
+ role: string;
445
+ previousAdminRole: string;
446
+ newAdminRole: string;
447
+ }
448
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
449
+ type Filter = TypedDeferredTopicFilter<Event>;
450
+ type Log = TypedEventLog<Event>;
451
+ type LogDescription = TypedLogDescription<Event>;
452
+ }
453
+ export declare namespace RoleGrantedEvent {
454
+ type InputTuple = [
455
+ role: BytesLike,
456
+ account: AddressLike,
457
+ sender: AddressLike
458
+ ];
459
+ type OutputTuple = [role: string, account: string, sender: string];
460
+ interface OutputObject {
461
+ role: string;
462
+ account: string;
463
+ sender: string;
464
+ }
465
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
466
+ type Filter = TypedDeferredTopicFilter<Event>;
467
+ type Log = TypedEventLog<Event>;
468
+ type LogDescription = TypedLogDescription<Event>;
469
+ }
470
+ export declare namespace RoleRevokedEvent {
471
+ type InputTuple = [
472
+ role: BytesLike,
473
+ account: AddressLike,
474
+ sender: AddressLike
475
+ ];
476
+ type OutputTuple = [role: string, account: string, sender: string];
477
+ interface OutputObject {
478
+ role: string;
479
+ account: string;
480
+ sender: string;
481
+ }
482
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
483
+ type Filter = TypedDeferredTopicFilter<Event>;
484
+ type Log = TypedEventLog<Event>;
485
+ type LogDescription = TypedLogDescription<Event>;
486
+ }
487
+ export declare namespace StablecoinAddedEvent {
488
+ type InputTuple = [
489
+ stablecoin: AddressLike,
490
+ exchangeRate: BigNumberish,
491
+ fee: BigNumberish
492
+ ];
493
+ type OutputTuple = [
494
+ stablecoin: string,
495
+ exchangeRate: bigint,
496
+ fee: bigint
497
+ ];
498
+ interface OutputObject {
499
+ stablecoin: string;
500
+ exchangeRate: bigint;
501
+ fee: bigint;
502
+ }
503
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
504
+ type Filter = TypedDeferredTopicFilter<Event>;
505
+ type Log = TypedEventLog<Event>;
506
+ type LogDescription = TypedLogDescription<Event>;
507
+ }
508
+ export declare namespace StablecoinRemovedEvent {
509
+ type InputTuple = [stablecoin: AddressLike];
510
+ type OutputTuple = [stablecoin: string];
511
+ interface OutputObject {
512
+ stablecoin: string;
513
+ }
514
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
515
+ type Filter = TypedDeferredTopicFilter<Event>;
516
+ type Log = TypedEventLog<Event>;
517
+ type LogDescription = TypedLogDescription<Event>;
518
+ }
519
+ export declare namespace StablecoinUpdatedEvent {
520
+ type InputTuple = [
521
+ stablecoin: AddressLike,
522
+ exchangeRate: BigNumberish,
523
+ entryFeeBps: BigNumberish,
524
+ exitFeeBps: BigNumberish,
525
+ decimals: BigNumberish,
526
+ minSwapAmount: BigNumberish,
527
+ minRedeemAmount: BigNumberish,
528
+ maxSwapAmount: BigNumberish,
529
+ maxRedeemAmount: BigNumberish
530
+ ];
531
+ type OutputTuple = [
532
+ stablecoin: string,
533
+ exchangeRate: bigint,
534
+ entryFeeBps: bigint,
535
+ exitFeeBps: bigint,
536
+ decimals: bigint,
537
+ minSwapAmount: bigint,
538
+ minRedeemAmount: bigint,
539
+ maxSwapAmount: bigint,
540
+ maxRedeemAmount: bigint
541
+ ];
542
+ interface OutputObject {
543
+ stablecoin: string;
544
+ exchangeRate: bigint;
545
+ entryFeeBps: bigint;
546
+ exitFeeBps: bigint;
547
+ decimals: bigint;
548
+ minSwapAmount: bigint;
549
+ minRedeemAmount: bigint;
550
+ maxSwapAmount: bigint;
551
+ maxRedeemAmount: bigint;
552
+ }
553
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
554
+ type Filter = TypedDeferredTopicFilter<Event>;
555
+ type Log = TypedEventLog<Event>;
556
+ type LogDescription = TypedLogDescription<Event>;
557
+ }
558
+ export declare namespace SwapEvent {
559
+ type InputTuple = [
560
+ user: AddressLike,
561
+ stablecoin: AddressLike,
562
+ stablecoinAmount: BigNumberish,
563
+ ucdAmount: BigNumberish,
564
+ fee: BigNumberish,
565
+ timestamp: BigNumberish
566
+ ];
567
+ type OutputTuple = [
568
+ user: string,
569
+ stablecoin: string,
570
+ stablecoinAmount: bigint,
571
+ ucdAmount: bigint,
572
+ fee: bigint,
573
+ timestamp: bigint
574
+ ];
575
+ interface OutputObject {
576
+ user: string;
577
+ stablecoin: string;
578
+ stablecoinAmount: bigint;
579
+ ucdAmount: bigint;
580
+ fee: bigint;
581
+ timestamp: bigint;
582
+ }
583
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
584
+ type Filter = TypedDeferredTopicFilter<Event>;
585
+ type Log = TypedEventLog<Event>;
586
+ type LogDescription = TypedLogDescription<Event>;
587
+ }
588
+ export declare namespace SwapVolumeCapUpdatedEvent {
589
+ type InputTuple = [
590
+ stablecoin: AddressLike,
591
+ oldCap: BigNumberish,
592
+ newCap: BigNumberish
593
+ ];
594
+ type OutputTuple = [
595
+ stablecoin: string,
596
+ oldCap: bigint,
597
+ newCap: bigint
598
+ ];
599
+ interface OutputObject {
600
+ stablecoin: string;
601
+ oldCap: bigint;
602
+ newCap: bigint;
603
+ }
604
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
605
+ type Filter = TypedDeferredTopicFilter<Event>;
606
+ type Log = TypedEventLog<Event>;
607
+ type LogDescription = TypedLogDescription<Event>;
608
+ }
609
+ export declare namespace UnpausedEvent {
610
+ type InputTuple = [account: AddressLike];
611
+ type OutputTuple = [account: string];
612
+ interface OutputObject {
613
+ account: string;
614
+ }
615
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
616
+ type Filter = TypedDeferredTopicFilter<Event>;
617
+ type Log = TypedEventLog<Event>;
618
+ type LogDescription = TypedLogDescription<Event>;
619
+ }
620
+ export declare namespace UpgradedEvent {
621
+ type InputTuple = [implementation: AddressLike];
622
+ type OutputTuple = [implementation: string];
623
+ interface OutputObject {
624
+ implementation: string;
625
+ }
626
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
627
+ type Filter = TypedDeferredTopicFilter<Event>;
628
+ type Log = TypedEventLog<Event>;
629
+ type LogDescription = TypedLogDescription<Event>;
630
+ }
631
+ export interface SimplePSMV2 extends BaseContract {
632
+ connect(runner?: ContractRunner | null): SimplePSMV2;
633
+ waitForDeployment(): Promise<this>;
634
+ interface: SimplePSMV2Interface;
635
+ queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
636
+ queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
637
+ on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
638
+ on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
639
+ once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
640
+ once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
641
+ listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
642
+ listeners(eventName?: string): Promise<Array<Listener>>;
643
+ removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
644
+ BASIS_POINTS: TypedContractMethod<[], [bigint], "view">;
645
+ DEFAULT_ADMIN_ROLE: TypedContractMethod<[], [string], "view">;
646
+ EXCHANGE_RATE_SCALE: TypedContractMethod<[], [bigint], "view">;
647
+ MAX_EXIT_FEE: TypedContractMethod<[], [bigint], "view">;
648
+ MAX_RESERVE_DRIFT: TypedContractMethod<[], [bigint], "view">;
649
+ UPGRADE_INTERFACE_VERSION: TypedContractMethod<[], [string], "view">;
650
+ VERSION: TypedContractMethod<[], [string], "view">;
651
+ addReserves: TypedContractMethod<[
652
+ stablecoin: AddressLike,
653
+ amount: BigNumberish
654
+ ], [
655
+ void
656
+ ], "nonpayable">;
657
+ addSupportedStablecoin: TypedContractMethod<[
658
+ stablecoin: AddressLike,
659
+ exchangeRate: BigNumberish,
660
+ entryFeeBps: BigNumberish,
661
+ exitFeeBps: BigNumberish,
662
+ decimals: BigNumberish,
663
+ minSwapAmount: BigNumberish,
664
+ minRedeemAmount: BigNumberish,
665
+ maxSwapAmount: BigNumberish,
666
+ maxRedeemAmount: BigNumberish,
667
+ initialSwapVolumeCap: BigNumberish,
668
+ initialRedeemVolumeCap: BigNumberish
669
+ ], [
670
+ void
671
+ ], "nonpayable">;
672
+ adminModule: TypedContractMethod<[], [string], "view">;
673
+ canRedeem: TypedContractMethod<[
674
+ stablecoin: AddressLike,
675
+ ucdAmount: BigNumberish
676
+ ], [
677
+ boolean
678
+ ], "view">;
679
+ controller: TypedContractMethod<[], [string], "view">;
680
+ exchangeRates: TypedContractMethod<[arg0: AddressLike], [bigint], "view">;
681
+ exitFees: TypedContractMethod<[arg0: AddressLike], [bigint], "view">;
682
+ feeBalance: TypedContractMethod<[token: AddressLike], [bigint], "view">;
683
+ feeRecipientRegistry: TypedContractMethod<[], [string], "view">;
684
+ fees: TypedContractMethod<[arg0: AddressLike], [bigint], "view">;
685
+ forceSyncReserves: TypedContractMethod<[
686
+ stablecoin: AddressLike
687
+ ], [
688
+ void
689
+ ], "nonpayable">;
690
+ getAvailableReserves: TypedContractMethod<[
691
+ stablecoin: AddressLike
692
+ ], [
693
+ bigint
694
+ ], "view">;
695
+ getRedemptionQuote: TypedContractMethod<[
696
+ stablecoin: AddressLike,
697
+ ucdAmount: BigNumberish
698
+ ], [
699
+ [bigint, bigint] & {
700
+ stablecoinOut: bigint;
701
+ exitFee: bigint;
702
+ }
703
+ ], "view">;
704
+ getRoleAdmin: TypedContractMethod<[role: BytesLike], [string], "view">;
705
+ getRoleMember: TypedContractMethod<[
706
+ role: BytesLike,
707
+ index: BigNumberish
708
+ ], [
709
+ string
710
+ ], "view">;
711
+ getRoleMemberCount: TypedContractMethod<[role: BytesLike], [bigint], "view">;
712
+ getRoleMembers: TypedContractMethod<[role: BytesLike], [string[]], "view">;
713
+ getSwapQuote: TypedContractMethod<[
714
+ stablecoin: AddressLike,
715
+ amountIn: BigNumberish
716
+ ], [
717
+ [bigint, bigint] & {
718
+ ucdOut: bigint;
719
+ fee: bigint;
720
+ }
721
+ ], "view">;
722
+ grantRole: TypedContractMethod<[
723
+ role: BytesLike,
724
+ account: AddressLike
725
+ ], [
726
+ void
727
+ ], "nonpayable">;
728
+ hasRole: TypedContractMethod<[
729
+ role: BytesLike,
730
+ account: AddressLike
731
+ ], [
732
+ boolean
733
+ ], "view">;
734
+ initialize: TypedContractMethod<[
735
+ _controller: AddressLike,
736
+ _ucdToken: AddressLike,
737
+ _admin: AddressLike,
738
+ _adminModule: AddressLike
739
+ ], [
740
+ void
741
+ ], "nonpayable">;
742
+ initializeAdminModule: TypedContractMethod<[
743
+ _adminModule: AddressLike
744
+ ], [
745
+ void
746
+ ], "nonpayable">;
747
+ initializeV2: TypedContractMethod<[
748
+ _redeemEnabled: boolean,
749
+ stablecoins: AddressLike[],
750
+ initialExitFees: BigNumberish[]
751
+ ], [
752
+ void
753
+ ], "nonpayable">;
754
+ lastOperationBlock: TypedContractMethod<[
755
+ arg0: AddressLike
756
+ ], [
757
+ bigint
758
+ ], "view">;
759
+ lastRedeemCapUpdateBlock: TypedContractMethod<[
760
+ arg0: AddressLike
761
+ ], [
762
+ bigint
763
+ ], "view">;
764
+ lastSwapCapUpdateBlock: TypedContractMethod<[
765
+ arg0: AddressLike
766
+ ], [
767
+ bigint
768
+ ], "view">;
769
+ maxRedeemAmounts: TypedContractMethod<[arg0: AddressLike], [bigint], "view">;
770
+ maxRedeemVolumePerBlock: TypedContractMethod<[
771
+ arg0: AddressLike
772
+ ], [
773
+ bigint
774
+ ], "view">;
775
+ maxSwapAmounts: TypedContractMethod<[arg0: AddressLike], [bigint], "view">;
776
+ maxSwapVolumePerBlock: TypedContractMethod<[
777
+ arg0: AddressLike
778
+ ], [
779
+ bigint
780
+ ], "view">;
781
+ minRedeemAmounts: TypedContractMethod<[arg0: AddressLike], [bigint], "view">;
782
+ minSwapAmounts: TypedContractMethod<[arg0: AddressLike], [bigint], "view">;
783
+ operationCount: TypedContractMethod<[arg0: AddressLike], [bigint], "view">;
784
+ pause: TypedContractMethod<[], [void], "nonpayable">;
785
+ paused: TypedContractMethod<[], [boolean], "view">;
786
+ proxiableUUID: TypedContractMethod<[], [string], "view">;
787
+ redeem: TypedContractMethod<[
788
+ stablecoin: AddressLike,
789
+ ucdAmount: BigNumberish,
790
+ minStablecoinOut: BigNumberish
791
+ ], [
792
+ bigint
793
+ ], "nonpayable">;
794
+ redeemEnabled: TypedContractMethod<[], [boolean], "view">;
795
+ redeemVolumeByBlock: TypedContractMethod<[
796
+ arg0: AddressLike,
797
+ arg1: BigNumberish
798
+ ], [
799
+ bigint
800
+ ], "view">;
801
+ removeSupportedStablecoin: TypedContractMethod<[
802
+ stablecoin: AddressLike
803
+ ], [
804
+ void
805
+ ], "nonpayable">;
806
+ renounceRole: TypedContractMethod<[
807
+ role: BytesLike,
808
+ callerConfirmation: AddressLike
809
+ ], [
810
+ void
811
+ ], "nonpayable">;
812
+ reserves: TypedContractMethod<[arg0: AddressLike], [bigint], "view">;
813
+ revokeRole: TypedContractMethod<[
814
+ role: BytesLike,
815
+ account: AddressLike
816
+ ], [
817
+ void
818
+ ], "nonpayable">;
819
+ setAdminModule: TypedContractMethod<[
820
+ newAdminModule: AddressLike
821
+ ], [
822
+ void
823
+ ], "nonpayable">;
824
+ setFeeRecipientRegistry: TypedContractMethod<[
825
+ registry: AddressLike
826
+ ], [
827
+ void
828
+ ], "nonpayable">;
829
+ setRedeemEnabled: TypedContractMethod<[
830
+ enabled: boolean
831
+ ], [
832
+ void
833
+ ], "nonpayable">;
834
+ setRedeemVolumeCap: TypedContractMethod<[
835
+ stablecoin: AddressLike,
836
+ cap: BigNumberish
837
+ ], [
838
+ void
839
+ ], "nonpayable">;
840
+ setSwapVolumeCap: TypedContractMethod<[
841
+ stablecoin: AddressLike,
842
+ cap: BigNumberish
843
+ ], [
844
+ void
845
+ ], "nonpayable">;
846
+ stablecoinDecimals: TypedContractMethod<[
847
+ arg0: AddressLike
848
+ ], [
849
+ bigint
850
+ ], "view">;
851
+ supportedStablecoins: TypedContractMethod<[
852
+ arg0: AddressLike
853
+ ], [
854
+ boolean
855
+ ], "view">;
856
+ supportsInterface: TypedContractMethod<[
857
+ interfaceId: BytesLike
858
+ ], [
859
+ boolean
860
+ ], "view">;
861
+ swap: TypedContractMethod<[
862
+ stablecoin: AddressLike,
863
+ amountIn: BigNumberish,
864
+ minUcdOut: BigNumberish
865
+ ], [
866
+ bigint
867
+ ], "nonpayable">;
868
+ swapVolumeByBlock: TypedContractMethod<[
869
+ arg0: AddressLike,
870
+ arg1: BigNumberish
871
+ ], [
872
+ bigint
873
+ ], "view">;
874
+ syncReserves: TypedContractMethod<[
875
+ stablecoin: AddressLike
876
+ ], [
877
+ void
878
+ ], "nonpayable">;
879
+ transferFee: TypedContractMethod<[
880
+ token: AddressLike,
881
+ recipient: AddressLike,
882
+ amount: BigNumberish
883
+ ], [
884
+ bigint
885
+ ], "nonpayable">;
886
+ ucdDecimals: TypedContractMethod<[], [bigint], "view">;
887
+ ucdToken: TypedContractMethod<[], [string], "view">;
888
+ unpause: TypedContractMethod<[], [void], "nonpayable">;
889
+ updateSupportedStablecoin: TypedContractMethod<[
890
+ stablecoin: AddressLike,
891
+ exchangeRate: BigNumberish,
892
+ entryFeeBps: BigNumberish,
893
+ exitFeeBps: BigNumberish,
894
+ decimals: BigNumberish,
895
+ minSwapAmount: BigNumberish,
896
+ minRedeemAmount: BigNumberish,
897
+ maxSwapAmount: BigNumberish,
898
+ maxRedeemAmount: BigNumberish
899
+ ], [
900
+ void
901
+ ], "nonpayable">;
902
+ upgradeToAndCall: TypedContractMethod<[
903
+ newImplementation: AddressLike,
904
+ data: BytesLike
905
+ ], [
906
+ void
907
+ ], "payable">;
908
+ withdrawStablecoin: TypedContractMethod<[
909
+ stablecoin: AddressLike,
910
+ amount: BigNumberish
911
+ ], [
912
+ void
913
+ ], "nonpayable">;
914
+ getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
915
+ getFunction(nameOrSignature: "BASIS_POINTS"): TypedContractMethod<[], [bigint], "view">;
916
+ getFunction(nameOrSignature: "DEFAULT_ADMIN_ROLE"): TypedContractMethod<[], [string], "view">;
917
+ getFunction(nameOrSignature: "EXCHANGE_RATE_SCALE"): TypedContractMethod<[], [bigint], "view">;
918
+ getFunction(nameOrSignature: "MAX_EXIT_FEE"): TypedContractMethod<[], [bigint], "view">;
919
+ getFunction(nameOrSignature: "MAX_RESERVE_DRIFT"): TypedContractMethod<[], [bigint], "view">;
920
+ getFunction(nameOrSignature: "UPGRADE_INTERFACE_VERSION"): TypedContractMethod<[], [string], "view">;
921
+ getFunction(nameOrSignature: "VERSION"): TypedContractMethod<[], [string], "view">;
922
+ getFunction(nameOrSignature: "addReserves"): TypedContractMethod<[
923
+ stablecoin: AddressLike,
924
+ amount: BigNumberish
925
+ ], [
926
+ void
927
+ ], "nonpayable">;
928
+ getFunction(nameOrSignature: "addSupportedStablecoin"): TypedContractMethod<[
929
+ stablecoin: AddressLike,
930
+ exchangeRate: BigNumberish,
931
+ entryFeeBps: BigNumberish,
932
+ exitFeeBps: BigNumberish,
933
+ decimals: BigNumberish,
934
+ minSwapAmount: BigNumberish,
935
+ minRedeemAmount: BigNumberish,
936
+ maxSwapAmount: BigNumberish,
937
+ maxRedeemAmount: BigNumberish,
938
+ initialSwapVolumeCap: BigNumberish,
939
+ initialRedeemVolumeCap: BigNumberish
940
+ ], [
941
+ void
942
+ ], "nonpayable">;
943
+ getFunction(nameOrSignature: "adminModule"): TypedContractMethod<[], [string], "view">;
944
+ getFunction(nameOrSignature: "canRedeem"): TypedContractMethod<[
945
+ stablecoin: AddressLike,
946
+ ucdAmount: BigNumberish
947
+ ], [
948
+ boolean
949
+ ], "view">;
950
+ getFunction(nameOrSignature: "controller"): TypedContractMethod<[], [string], "view">;
951
+ getFunction(nameOrSignature: "exchangeRates"): TypedContractMethod<[arg0: AddressLike], [bigint], "view">;
952
+ getFunction(nameOrSignature: "exitFees"): TypedContractMethod<[arg0: AddressLike], [bigint], "view">;
953
+ getFunction(nameOrSignature: "feeBalance"): TypedContractMethod<[token: AddressLike], [bigint], "view">;
954
+ getFunction(nameOrSignature: "feeRecipientRegistry"): TypedContractMethod<[], [string], "view">;
955
+ getFunction(nameOrSignature: "fees"): TypedContractMethod<[arg0: AddressLike], [bigint], "view">;
956
+ getFunction(nameOrSignature: "forceSyncReserves"): TypedContractMethod<[stablecoin: AddressLike], [void], "nonpayable">;
957
+ getFunction(nameOrSignature: "getAvailableReserves"): TypedContractMethod<[stablecoin: AddressLike], [bigint], "view">;
958
+ getFunction(nameOrSignature: "getRedemptionQuote"): TypedContractMethod<[
959
+ stablecoin: AddressLike,
960
+ ucdAmount: BigNumberish
961
+ ], [
962
+ [bigint, bigint] & {
963
+ stablecoinOut: bigint;
964
+ exitFee: bigint;
965
+ }
966
+ ], "view">;
967
+ getFunction(nameOrSignature: "getRoleAdmin"): TypedContractMethod<[role: BytesLike], [string], "view">;
968
+ getFunction(nameOrSignature: "getRoleMember"): TypedContractMethod<[
969
+ role: BytesLike,
970
+ index: BigNumberish
971
+ ], [
972
+ string
973
+ ], "view">;
974
+ getFunction(nameOrSignature: "getRoleMemberCount"): TypedContractMethod<[role: BytesLike], [bigint], "view">;
975
+ getFunction(nameOrSignature: "getRoleMembers"): TypedContractMethod<[role: BytesLike], [string[]], "view">;
976
+ getFunction(nameOrSignature: "getSwapQuote"): TypedContractMethod<[
977
+ stablecoin: AddressLike,
978
+ amountIn: BigNumberish
979
+ ], [
980
+ [bigint, bigint] & {
981
+ ucdOut: bigint;
982
+ fee: bigint;
983
+ }
984
+ ], "view">;
985
+ getFunction(nameOrSignature: "grantRole"): TypedContractMethod<[
986
+ role: BytesLike,
987
+ account: AddressLike
988
+ ], [
989
+ void
990
+ ], "nonpayable">;
991
+ getFunction(nameOrSignature: "hasRole"): TypedContractMethod<[
992
+ role: BytesLike,
993
+ account: AddressLike
994
+ ], [
995
+ boolean
996
+ ], "view">;
997
+ getFunction(nameOrSignature: "initialize"): TypedContractMethod<[
998
+ _controller: AddressLike,
999
+ _ucdToken: AddressLike,
1000
+ _admin: AddressLike,
1001
+ _adminModule: AddressLike
1002
+ ], [
1003
+ void
1004
+ ], "nonpayable">;
1005
+ getFunction(nameOrSignature: "initializeAdminModule"): TypedContractMethod<[_adminModule: AddressLike], [void], "nonpayable">;
1006
+ getFunction(nameOrSignature: "initializeV2"): TypedContractMethod<[
1007
+ _redeemEnabled: boolean,
1008
+ stablecoins: AddressLike[],
1009
+ initialExitFees: BigNumberish[]
1010
+ ], [
1011
+ void
1012
+ ], "nonpayable">;
1013
+ getFunction(nameOrSignature: "lastOperationBlock"): TypedContractMethod<[arg0: AddressLike], [bigint], "view">;
1014
+ getFunction(nameOrSignature: "lastRedeemCapUpdateBlock"): TypedContractMethod<[arg0: AddressLike], [bigint], "view">;
1015
+ getFunction(nameOrSignature: "lastSwapCapUpdateBlock"): TypedContractMethod<[arg0: AddressLike], [bigint], "view">;
1016
+ getFunction(nameOrSignature: "maxRedeemAmounts"): TypedContractMethod<[arg0: AddressLike], [bigint], "view">;
1017
+ getFunction(nameOrSignature: "maxRedeemVolumePerBlock"): TypedContractMethod<[arg0: AddressLike], [bigint], "view">;
1018
+ getFunction(nameOrSignature: "maxSwapAmounts"): TypedContractMethod<[arg0: AddressLike], [bigint], "view">;
1019
+ getFunction(nameOrSignature: "maxSwapVolumePerBlock"): TypedContractMethod<[arg0: AddressLike], [bigint], "view">;
1020
+ getFunction(nameOrSignature: "minRedeemAmounts"): TypedContractMethod<[arg0: AddressLike], [bigint], "view">;
1021
+ getFunction(nameOrSignature: "minSwapAmounts"): TypedContractMethod<[arg0: AddressLike], [bigint], "view">;
1022
+ getFunction(nameOrSignature: "operationCount"): TypedContractMethod<[arg0: AddressLike], [bigint], "view">;
1023
+ getFunction(nameOrSignature: "pause"): TypedContractMethod<[], [void], "nonpayable">;
1024
+ getFunction(nameOrSignature: "paused"): TypedContractMethod<[], [boolean], "view">;
1025
+ getFunction(nameOrSignature: "proxiableUUID"): TypedContractMethod<[], [string], "view">;
1026
+ getFunction(nameOrSignature: "redeem"): TypedContractMethod<[
1027
+ stablecoin: AddressLike,
1028
+ ucdAmount: BigNumberish,
1029
+ minStablecoinOut: BigNumberish
1030
+ ], [
1031
+ bigint
1032
+ ], "nonpayable">;
1033
+ getFunction(nameOrSignature: "redeemEnabled"): TypedContractMethod<[], [boolean], "view">;
1034
+ getFunction(nameOrSignature: "redeemVolumeByBlock"): TypedContractMethod<[
1035
+ arg0: AddressLike,
1036
+ arg1: BigNumberish
1037
+ ], [
1038
+ bigint
1039
+ ], "view">;
1040
+ getFunction(nameOrSignature: "removeSupportedStablecoin"): TypedContractMethod<[stablecoin: AddressLike], [void], "nonpayable">;
1041
+ getFunction(nameOrSignature: "renounceRole"): TypedContractMethod<[
1042
+ role: BytesLike,
1043
+ callerConfirmation: AddressLike
1044
+ ], [
1045
+ void
1046
+ ], "nonpayable">;
1047
+ getFunction(nameOrSignature: "reserves"): TypedContractMethod<[arg0: AddressLike], [bigint], "view">;
1048
+ getFunction(nameOrSignature: "revokeRole"): TypedContractMethod<[
1049
+ role: BytesLike,
1050
+ account: AddressLike
1051
+ ], [
1052
+ void
1053
+ ], "nonpayable">;
1054
+ getFunction(nameOrSignature: "setAdminModule"): TypedContractMethod<[newAdminModule: AddressLike], [void], "nonpayable">;
1055
+ getFunction(nameOrSignature: "setFeeRecipientRegistry"): TypedContractMethod<[registry: AddressLike], [void], "nonpayable">;
1056
+ getFunction(nameOrSignature: "setRedeemEnabled"): TypedContractMethod<[enabled: boolean], [void], "nonpayable">;
1057
+ getFunction(nameOrSignature: "setRedeemVolumeCap"): TypedContractMethod<[
1058
+ stablecoin: AddressLike,
1059
+ cap: BigNumberish
1060
+ ], [
1061
+ void
1062
+ ], "nonpayable">;
1063
+ getFunction(nameOrSignature: "setSwapVolumeCap"): TypedContractMethod<[
1064
+ stablecoin: AddressLike,
1065
+ cap: BigNumberish
1066
+ ], [
1067
+ void
1068
+ ], "nonpayable">;
1069
+ getFunction(nameOrSignature: "stablecoinDecimals"): TypedContractMethod<[arg0: AddressLike], [bigint], "view">;
1070
+ getFunction(nameOrSignature: "supportedStablecoins"): TypedContractMethod<[arg0: AddressLike], [boolean], "view">;
1071
+ getFunction(nameOrSignature: "supportsInterface"): TypedContractMethod<[interfaceId: BytesLike], [boolean], "view">;
1072
+ getFunction(nameOrSignature: "swap"): TypedContractMethod<[
1073
+ stablecoin: AddressLike,
1074
+ amountIn: BigNumberish,
1075
+ minUcdOut: BigNumberish
1076
+ ], [
1077
+ bigint
1078
+ ], "nonpayable">;
1079
+ getFunction(nameOrSignature: "swapVolumeByBlock"): TypedContractMethod<[
1080
+ arg0: AddressLike,
1081
+ arg1: BigNumberish
1082
+ ], [
1083
+ bigint
1084
+ ], "view">;
1085
+ getFunction(nameOrSignature: "syncReserves"): TypedContractMethod<[stablecoin: AddressLike], [void], "nonpayable">;
1086
+ getFunction(nameOrSignature: "transferFee"): TypedContractMethod<[
1087
+ token: AddressLike,
1088
+ recipient: AddressLike,
1089
+ amount: BigNumberish
1090
+ ], [
1091
+ bigint
1092
+ ], "nonpayable">;
1093
+ getFunction(nameOrSignature: "ucdDecimals"): TypedContractMethod<[], [bigint], "view">;
1094
+ getFunction(nameOrSignature: "ucdToken"): TypedContractMethod<[], [string], "view">;
1095
+ getFunction(nameOrSignature: "unpause"): TypedContractMethod<[], [void], "nonpayable">;
1096
+ getFunction(nameOrSignature: "updateSupportedStablecoin"): TypedContractMethod<[
1097
+ stablecoin: AddressLike,
1098
+ exchangeRate: BigNumberish,
1099
+ entryFeeBps: BigNumberish,
1100
+ exitFeeBps: BigNumberish,
1101
+ decimals: BigNumberish,
1102
+ minSwapAmount: BigNumberish,
1103
+ minRedeemAmount: BigNumberish,
1104
+ maxSwapAmount: BigNumberish,
1105
+ maxRedeemAmount: BigNumberish
1106
+ ], [
1107
+ void
1108
+ ], "nonpayable">;
1109
+ getFunction(nameOrSignature: "upgradeToAndCall"): TypedContractMethod<[
1110
+ newImplementation: AddressLike,
1111
+ data: BytesLike
1112
+ ], [
1113
+ void
1114
+ ], "payable">;
1115
+ getFunction(nameOrSignature: "withdrawStablecoin"): TypedContractMethod<[
1116
+ stablecoin: AddressLike,
1117
+ amount: BigNumberish
1118
+ ], [
1119
+ void
1120
+ ], "nonpayable">;
1121
+ getEvent(key: "AdminModuleUpdated"): TypedContractEvent<AdminModuleUpdatedEvent.InputTuple, AdminModuleUpdatedEvent.OutputTuple, AdminModuleUpdatedEvent.OutputObject>;
1122
+ getEvent(key: "ContractPaused"): TypedContractEvent<ContractPausedEvent.InputTuple, ContractPausedEvent.OutputTuple, ContractPausedEvent.OutputObject>;
1123
+ getEvent(key: "ContractUnpaused"): TypedContractEvent<ContractUnpausedEvent.InputTuple, ContractUnpausedEvent.OutputTuple, ContractUnpausedEvent.OutputObject>;
1124
+ getEvent(key: "ContractUpgraded"): TypedContractEvent<ContractUpgradedEvent.InputTuple, ContractUpgradedEvent.OutputTuple, ContractUpgradedEvent.OutputObject>;
1125
+ getEvent(key: "EntryFeeUpdated"): TypedContractEvent<EntryFeeUpdatedEvent.InputTuple, EntryFeeUpdatedEvent.OutputTuple, EntryFeeUpdatedEvent.OutputObject>;
1126
+ getEvent(key: "ExchangeRateUpdated"): TypedContractEvent<ExchangeRateUpdatedEvent.InputTuple, ExchangeRateUpdatedEvent.OutputTuple, ExchangeRateUpdatedEvent.OutputObject>;
1127
+ getEvent(key: "ExitFeeUpdated"): TypedContractEvent<ExitFeeUpdatedEvent.InputTuple, ExitFeeUpdatedEvent.OutputTuple, ExitFeeUpdatedEvent.OutputObject>;
1128
+ getEvent(key: "FeeRecipientRegistryUpdated"): TypedContractEvent<FeeRecipientRegistryUpdatedEvent.InputTuple, FeeRecipientRegistryUpdatedEvent.OutputTuple, FeeRecipientRegistryUpdatedEvent.OutputObject>;
1129
+ getEvent(key: "FeeTransferred"): TypedContractEvent<FeeTransferredEvent.InputTuple, FeeTransferredEvent.OutputTuple, FeeTransferredEvent.OutputObject>;
1130
+ getEvent(key: "Initialized"): TypedContractEvent<InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject>;
1131
+ getEvent(key: "Paused"): TypedContractEvent<PausedEvent.InputTuple, PausedEvent.OutputTuple, PausedEvent.OutputObject>;
1132
+ getEvent(key: "Redeem"): TypedContractEvent<RedeemEvent.InputTuple, RedeemEvent.OutputTuple, RedeemEvent.OutputObject>;
1133
+ getEvent(key: "RedeemVolumeCapUpdated"): TypedContractEvent<RedeemVolumeCapUpdatedEvent.InputTuple, RedeemVolumeCapUpdatedEvent.OutputTuple, RedeemVolumeCapUpdatedEvent.OutputObject>;
1134
+ getEvent(key: "RedemptionStatusChanged"): TypedContractEvent<RedemptionStatusChangedEvent.InputTuple, RedemptionStatusChangedEvent.OutputTuple, RedemptionStatusChangedEvent.OutputObject>;
1135
+ getEvent(key: "ReserveUpdated"): TypedContractEvent<ReserveUpdatedEvent.InputTuple, ReserveUpdatedEvent.OutputTuple, ReserveUpdatedEvent.OutputObject>;
1136
+ getEvent(key: "RoleAdminChanged"): TypedContractEvent<RoleAdminChangedEvent.InputTuple, RoleAdminChangedEvent.OutputTuple, RoleAdminChangedEvent.OutputObject>;
1137
+ getEvent(key: "RoleGranted"): TypedContractEvent<RoleGrantedEvent.InputTuple, RoleGrantedEvent.OutputTuple, RoleGrantedEvent.OutputObject>;
1138
+ getEvent(key: "RoleRevoked"): TypedContractEvent<RoleRevokedEvent.InputTuple, RoleRevokedEvent.OutputTuple, RoleRevokedEvent.OutputObject>;
1139
+ getEvent(key: "StablecoinAdded"): TypedContractEvent<StablecoinAddedEvent.InputTuple, StablecoinAddedEvent.OutputTuple, StablecoinAddedEvent.OutputObject>;
1140
+ getEvent(key: "StablecoinRemoved"): TypedContractEvent<StablecoinRemovedEvent.InputTuple, StablecoinRemovedEvent.OutputTuple, StablecoinRemovedEvent.OutputObject>;
1141
+ getEvent(key: "StablecoinUpdated"): TypedContractEvent<StablecoinUpdatedEvent.InputTuple, StablecoinUpdatedEvent.OutputTuple, StablecoinUpdatedEvent.OutputObject>;
1142
+ getEvent(key: "Swap"): TypedContractEvent<SwapEvent.InputTuple, SwapEvent.OutputTuple, SwapEvent.OutputObject>;
1143
+ getEvent(key: "SwapVolumeCapUpdated"): TypedContractEvent<SwapVolumeCapUpdatedEvent.InputTuple, SwapVolumeCapUpdatedEvent.OutputTuple, SwapVolumeCapUpdatedEvent.OutputObject>;
1144
+ getEvent(key: "Unpaused"): TypedContractEvent<UnpausedEvent.InputTuple, UnpausedEvent.OutputTuple, UnpausedEvent.OutputObject>;
1145
+ getEvent(key: "Upgraded"): TypedContractEvent<UpgradedEvent.InputTuple, UpgradedEvent.OutputTuple, UpgradedEvent.OutputObject>;
1146
+ filters: {
1147
+ "AdminModuleUpdated(address,address)": TypedContractEvent<AdminModuleUpdatedEvent.InputTuple, AdminModuleUpdatedEvent.OutputTuple, AdminModuleUpdatedEvent.OutputObject>;
1148
+ AdminModuleUpdated: TypedContractEvent<AdminModuleUpdatedEvent.InputTuple, AdminModuleUpdatedEvent.OutputTuple, AdminModuleUpdatedEvent.OutputObject>;
1149
+ "ContractPaused(address,uint256)": TypedContractEvent<ContractPausedEvent.InputTuple, ContractPausedEvent.OutputTuple, ContractPausedEvent.OutputObject>;
1150
+ ContractPaused: TypedContractEvent<ContractPausedEvent.InputTuple, ContractPausedEvent.OutputTuple, ContractPausedEvent.OutputObject>;
1151
+ "ContractUnpaused(address,uint256)": TypedContractEvent<ContractUnpausedEvent.InputTuple, ContractUnpausedEvent.OutputTuple, ContractUnpausedEvent.OutputObject>;
1152
+ ContractUnpaused: TypedContractEvent<ContractUnpausedEvent.InputTuple, ContractUnpausedEvent.OutputTuple, ContractUnpausedEvent.OutputObject>;
1153
+ "ContractUpgraded(address,address,string,uint256)": TypedContractEvent<ContractUpgradedEvent.InputTuple, ContractUpgradedEvent.OutputTuple, ContractUpgradedEvent.OutputObject>;
1154
+ ContractUpgraded: TypedContractEvent<ContractUpgradedEvent.InputTuple, ContractUpgradedEvent.OutputTuple, ContractUpgradedEvent.OutputObject>;
1155
+ "EntryFeeUpdated(address,uint256,uint256)": TypedContractEvent<EntryFeeUpdatedEvent.InputTuple, EntryFeeUpdatedEvent.OutputTuple, EntryFeeUpdatedEvent.OutputObject>;
1156
+ EntryFeeUpdated: TypedContractEvent<EntryFeeUpdatedEvent.InputTuple, EntryFeeUpdatedEvent.OutputTuple, EntryFeeUpdatedEvent.OutputObject>;
1157
+ "ExchangeRateUpdated(address,uint256,uint256)": TypedContractEvent<ExchangeRateUpdatedEvent.InputTuple, ExchangeRateUpdatedEvent.OutputTuple, ExchangeRateUpdatedEvent.OutputObject>;
1158
+ ExchangeRateUpdated: TypedContractEvent<ExchangeRateUpdatedEvent.InputTuple, ExchangeRateUpdatedEvent.OutputTuple, ExchangeRateUpdatedEvent.OutputObject>;
1159
+ "ExitFeeUpdated(address,uint256,uint256)": TypedContractEvent<ExitFeeUpdatedEvent.InputTuple, ExitFeeUpdatedEvent.OutputTuple, ExitFeeUpdatedEvent.OutputObject>;
1160
+ ExitFeeUpdated: TypedContractEvent<ExitFeeUpdatedEvent.InputTuple, ExitFeeUpdatedEvent.OutputTuple, ExitFeeUpdatedEvent.OutputObject>;
1161
+ "FeeRecipientRegistryUpdated(address,address)": TypedContractEvent<FeeRecipientRegistryUpdatedEvent.InputTuple, FeeRecipientRegistryUpdatedEvent.OutputTuple, FeeRecipientRegistryUpdatedEvent.OutputObject>;
1162
+ FeeRecipientRegistryUpdated: TypedContractEvent<FeeRecipientRegistryUpdatedEvent.InputTuple, FeeRecipientRegistryUpdatedEvent.OutputTuple, FeeRecipientRegistryUpdatedEvent.OutputObject>;
1163
+ "FeeTransferred(address,address,uint256,uint256)": TypedContractEvent<FeeTransferredEvent.InputTuple, FeeTransferredEvent.OutputTuple, FeeTransferredEvent.OutputObject>;
1164
+ FeeTransferred: TypedContractEvent<FeeTransferredEvent.InputTuple, FeeTransferredEvent.OutputTuple, FeeTransferredEvent.OutputObject>;
1165
+ "Initialized(uint64)": TypedContractEvent<InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject>;
1166
+ Initialized: TypedContractEvent<InitializedEvent.InputTuple, InitializedEvent.OutputTuple, InitializedEvent.OutputObject>;
1167
+ "Paused(address)": TypedContractEvent<PausedEvent.InputTuple, PausedEvent.OutputTuple, PausedEvent.OutputObject>;
1168
+ Paused: TypedContractEvent<PausedEvent.InputTuple, PausedEvent.OutputTuple, PausedEvent.OutputObject>;
1169
+ "Redeem(address,address,uint256,uint256,uint256,uint256)": TypedContractEvent<RedeemEvent.InputTuple, RedeemEvent.OutputTuple, RedeemEvent.OutputObject>;
1170
+ Redeem: TypedContractEvent<RedeemEvent.InputTuple, RedeemEvent.OutputTuple, RedeemEvent.OutputObject>;
1171
+ "RedeemVolumeCapUpdated(address,uint256,uint256)": TypedContractEvent<RedeemVolumeCapUpdatedEvent.InputTuple, RedeemVolumeCapUpdatedEvent.OutputTuple, RedeemVolumeCapUpdatedEvent.OutputObject>;
1172
+ RedeemVolumeCapUpdated: TypedContractEvent<RedeemVolumeCapUpdatedEvent.InputTuple, RedeemVolumeCapUpdatedEvent.OutputTuple, RedeemVolumeCapUpdatedEvent.OutputObject>;
1173
+ "RedemptionStatusChanged(bool)": TypedContractEvent<RedemptionStatusChangedEvent.InputTuple, RedemptionStatusChangedEvent.OutputTuple, RedemptionStatusChangedEvent.OutputObject>;
1174
+ RedemptionStatusChanged: TypedContractEvent<RedemptionStatusChangedEvent.InputTuple, RedemptionStatusChangedEvent.OutputTuple, RedemptionStatusChangedEvent.OutputObject>;
1175
+ "ReserveUpdated(address,uint256,uint256)": TypedContractEvent<ReserveUpdatedEvent.InputTuple, ReserveUpdatedEvent.OutputTuple, ReserveUpdatedEvent.OutputObject>;
1176
+ ReserveUpdated: TypedContractEvent<ReserveUpdatedEvent.InputTuple, ReserveUpdatedEvent.OutputTuple, ReserveUpdatedEvent.OutputObject>;
1177
+ "RoleAdminChanged(bytes32,bytes32,bytes32)": TypedContractEvent<RoleAdminChangedEvent.InputTuple, RoleAdminChangedEvent.OutputTuple, RoleAdminChangedEvent.OutputObject>;
1178
+ RoleAdminChanged: TypedContractEvent<RoleAdminChangedEvent.InputTuple, RoleAdminChangedEvent.OutputTuple, RoleAdminChangedEvent.OutputObject>;
1179
+ "RoleGranted(bytes32,address,address)": TypedContractEvent<RoleGrantedEvent.InputTuple, RoleGrantedEvent.OutputTuple, RoleGrantedEvent.OutputObject>;
1180
+ RoleGranted: TypedContractEvent<RoleGrantedEvent.InputTuple, RoleGrantedEvent.OutputTuple, RoleGrantedEvent.OutputObject>;
1181
+ "RoleRevoked(bytes32,address,address)": TypedContractEvent<RoleRevokedEvent.InputTuple, RoleRevokedEvent.OutputTuple, RoleRevokedEvent.OutputObject>;
1182
+ RoleRevoked: TypedContractEvent<RoleRevokedEvent.InputTuple, RoleRevokedEvent.OutputTuple, RoleRevokedEvent.OutputObject>;
1183
+ "StablecoinAdded(address,uint256,uint256)": TypedContractEvent<StablecoinAddedEvent.InputTuple, StablecoinAddedEvent.OutputTuple, StablecoinAddedEvent.OutputObject>;
1184
+ StablecoinAdded: TypedContractEvent<StablecoinAddedEvent.InputTuple, StablecoinAddedEvent.OutputTuple, StablecoinAddedEvent.OutputObject>;
1185
+ "StablecoinRemoved(address)": TypedContractEvent<StablecoinRemovedEvent.InputTuple, StablecoinRemovedEvent.OutputTuple, StablecoinRemovedEvent.OutputObject>;
1186
+ StablecoinRemoved: TypedContractEvent<StablecoinRemovedEvent.InputTuple, StablecoinRemovedEvent.OutputTuple, StablecoinRemovedEvent.OutputObject>;
1187
+ "StablecoinUpdated(address,uint256,uint256,uint256,uint8,uint256,uint256,uint256,uint256)": TypedContractEvent<StablecoinUpdatedEvent.InputTuple, StablecoinUpdatedEvent.OutputTuple, StablecoinUpdatedEvent.OutputObject>;
1188
+ StablecoinUpdated: TypedContractEvent<StablecoinUpdatedEvent.InputTuple, StablecoinUpdatedEvent.OutputTuple, StablecoinUpdatedEvent.OutputObject>;
1189
+ "Swap(address,address,uint256,uint256,uint256,uint256)": TypedContractEvent<SwapEvent.InputTuple, SwapEvent.OutputTuple, SwapEvent.OutputObject>;
1190
+ Swap: TypedContractEvent<SwapEvent.InputTuple, SwapEvent.OutputTuple, SwapEvent.OutputObject>;
1191
+ "SwapVolumeCapUpdated(address,uint256,uint256)": TypedContractEvent<SwapVolumeCapUpdatedEvent.InputTuple, SwapVolumeCapUpdatedEvent.OutputTuple, SwapVolumeCapUpdatedEvent.OutputObject>;
1192
+ SwapVolumeCapUpdated: TypedContractEvent<SwapVolumeCapUpdatedEvent.InputTuple, SwapVolumeCapUpdatedEvent.OutputTuple, SwapVolumeCapUpdatedEvent.OutputObject>;
1193
+ "Unpaused(address)": TypedContractEvent<UnpausedEvent.InputTuple, UnpausedEvent.OutputTuple, UnpausedEvent.OutputObject>;
1194
+ Unpaused: TypedContractEvent<UnpausedEvent.InputTuple, UnpausedEvent.OutputTuple, UnpausedEvent.OutputObject>;
1195
+ "Upgraded(address)": TypedContractEvent<UpgradedEvent.InputTuple, UpgradedEvent.OutputTuple, UpgradedEvent.OutputObject>;
1196
+ Upgraded: TypedContractEvent<UpgradedEvent.InputTuple, UpgradedEvent.OutputTuple, UpgradedEvent.OutputObject>;
1197
+ };
1198
+ }