@huma-finance/shared 0.0.48-beta.281 → 0.0.48-beta.282
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/hooks/web3/useJsonRpcUrlsMap.js +0 -1
- package/dist/cjs/hooks/web3/useJsonRpcUrlsMap.js.map +1 -1
- package/dist/cjs/utils/chain.d.ts +1 -2
- package/dist/cjs/utils/chain.js +0 -11
- package/dist/cjs/utils/chain.js.map +1 -1
- package/dist/cjs/utils/credit.js +1 -1
- package/dist/cjs/utils/credit.js.map +1 -1
- package/dist/cjs/utils/jsonRpcEndpoints.js +0 -1
- package/dist/cjs/utils/jsonRpcEndpoints.js.map +1 -1
- package/dist/cjs/utils/pool.js +0 -3
- package/dist/cjs/utils/pool.js.map +1 -1
- package/dist/cjs/v2/abis/PoolSafe.json +95 -11
- package/dist/cjs/v2/abis/types/PoolSafe.d.ts +101 -28
- package/dist/cjs/v2/abis/types/factories/PoolSafe__factory.d.ts +76 -11
- package/dist/cjs/v2/abis/types/factories/PoolSafe__factory.js +95 -11
- package/dist/cjs/v2/abis/types/factories/PoolSafe__factory.js.map +1 -1
- package/dist/cjs/v2/hooks/usePool.js +4 -4
- package/dist/cjs/v2/hooks/usePool.js.map +1 -1
- package/dist/cjs/v2/metadata/humaTestnet.js +2 -2
- package/dist/cjs/v2/metadata/humaTestnet.js.map +1 -1
- package/dist/cjs/v2/metadata/localhost.js +2 -2
- package/dist/cjs/v2/metadata/localhost.js.map +1 -1
- package/dist/cjs/v2/metadata/mumbai.js +20 -20
- package/dist/cjs/v2/metadata/mumbai.js.map +1 -1
- package/dist/cjs/v2/types/index.d.ts +1 -1
- package/dist/cjs/v2/types/index.js +1 -1
- package/dist/cjs/v2/types/index.js.map +1 -1
- package/dist/cjs/v2/utils/pool.d.ts +1 -1
- package/dist/cjs/v2/utils/pool.js +5 -7
- package/dist/cjs/v2/utils/pool.js.map +1 -1
- package/dist/cjs/v2/utils/poolContract.d.ts +7 -5
- package/dist/cjs/v2/utils/poolContract.js +90 -47
- package/dist/cjs/v2/utils/poolContract.js.map +1 -1
- package/dist/hooks/web3/useJsonRpcUrlsMap.js +0 -1
- package/dist/hooks/web3/useJsonRpcUrlsMap.js.map +1 -1
- package/dist/tsconfig.cjs.tsbuildinfo +1 -1
- package/dist/utils/chain.d.ts +1 -2
- package/dist/utils/chain.js +0 -11
- package/dist/utils/chain.js.map +1 -1
- package/dist/utils/credit.js +1 -1
- package/dist/utils/credit.js.map +1 -1
- package/dist/utils/jsonRpcEndpoints.js +0 -1
- package/dist/utils/jsonRpcEndpoints.js.map +1 -1
- package/dist/utils/pool.js +0 -3
- package/dist/utils/pool.js.map +1 -1
- package/dist/v2/abis/PoolSafe.json +95 -11
- package/dist/v2/abis/types/PoolSafe.d.ts +101 -28
- package/dist/v2/abis/types/factories/PoolSafe__factory.d.ts +76 -11
- package/dist/v2/abis/types/factories/PoolSafe__factory.js +95 -11
- package/dist/v2/abis/types/factories/PoolSafe__factory.js.map +1 -1
- package/dist/v2/hooks/usePool.js +4 -4
- package/dist/v2/hooks/usePool.js.map +1 -1
- package/dist/v2/metadata/humaTestnet.js +2 -2
- package/dist/v2/metadata/humaTestnet.js.map +1 -1
- package/dist/v2/metadata/localhost.js +2 -2
- package/dist/v2/metadata/localhost.js.map +1 -1
- package/dist/v2/metadata/mumbai.js +20 -20
- package/dist/v2/metadata/mumbai.js.map +1 -1
- package/dist/v2/types/index.d.ts +1 -1
- package/dist/v2/types/index.js +1 -1
- package/dist/v2/types/index.js.map +1 -1
- package/dist/v2/utils/pool.d.ts +1 -1
- package/dist/v2/utils/pool.js +5 -7
- package/dist/v2/utils/pool.js.map +1 -1
- package/dist/v2/utils/poolContract.d.ts +7 -5
- package/dist/v2/utils/poolContract.js +87 -46
- package/dist/v2/utils/poolContract.js.map +1 -1
- package/package.json +2 -2
- package/dist/cjs/v2/metadata/sepolia.d.ts +0 -2
- package/dist/cjs/v2/metadata/sepolia.js +0 -55
- package/dist/cjs/v2/metadata/sepolia.js.map +0 -1
- package/dist/v2/metadata/sepolia.d.ts +0 -2
- package/dist/v2/metadata/sepolia.js +0 -52
- package/dist/v2/metadata/sepolia.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, ContractTransaction, Overrides, PopulatedTransaction, Signer, utils } from 'ethers';
|
|
1
|
+
import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, ContractTransaction, Overrides, PayableOverrides, PopulatedTransaction, Signer, utils } from 'ethers';
|
|
2
2
|
import type { FunctionFragment, Result, EventFragment } from '@ethersproject/abi';
|
|
3
3
|
import type { Listener, Provider } from '@ethersproject/providers';
|
|
4
4
|
import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from './common';
|
|
@@ -6,60 +6,91 @@ export interface PoolSafeInterface extends utils.Interface {
|
|
|
6
6
|
functions: {
|
|
7
7
|
'addUnprocessedProfit(address,uint256)': FunctionFragment;
|
|
8
8
|
'deposit(address,uint256)': FunctionFragment;
|
|
9
|
-
'
|
|
10
|
-
'
|
|
9
|
+
'getAvailableBalanceForFees()': FunctionFragment;
|
|
10
|
+
'getAvailableBalanceForPool()': FunctionFragment;
|
|
11
11
|
'initialize(address)': FunctionFragment;
|
|
12
12
|
'pool()': FunctionFragment;
|
|
13
13
|
'poolConfig()': FunctionFragment;
|
|
14
14
|
'poolFeeManager()': FunctionFragment;
|
|
15
|
+
'proxiableUUID()': FunctionFragment;
|
|
15
16
|
'resetUnprocessedProfit()': FunctionFragment;
|
|
16
17
|
'setPoolConfig(address)': FunctionFragment;
|
|
17
|
-
'
|
|
18
|
+
'totalBalance()': FunctionFragment;
|
|
18
19
|
'underlyingToken()': FunctionFragment;
|
|
19
20
|
'unprocessedTrancheProfit(address)': FunctionFragment;
|
|
20
21
|
'updatePoolConfigData()': FunctionFragment;
|
|
22
|
+
'upgradeTo(address)': FunctionFragment;
|
|
23
|
+
'upgradeToAndCall(address,bytes)': FunctionFragment;
|
|
21
24
|
'withdraw(address,uint256)': FunctionFragment;
|
|
22
25
|
};
|
|
23
|
-
getFunction(nameOrSignatureOrTopic: 'addUnprocessedProfit' | 'deposit' | '
|
|
26
|
+
getFunction(nameOrSignatureOrTopic: 'addUnprocessedProfit' | 'deposit' | 'getAvailableBalanceForFees' | 'getAvailableBalanceForPool' | 'initialize' | 'pool' | 'poolConfig' | 'poolFeeManager' | 'proxiableUUID' | 'resetUnprocessedProfit' | 'setPoolConfig' | 'totalBalance' | 'underlyingToken' | 'unprocessedTrancheProfit' | 'updatePoolConfigData' | 'upgradeTo' | 'upgradeToAndCall' | 'withdraw'): FunctionFragment;
|
|
24
27
|
encodeFunctionData(functionFragment: 'addUnprocessedProfit', values: [PromiseOrValue<string>, PromiseOrValue<BigNumberish>]): string;
|
|
25
28
|
encodeFunctionData(functionFragment: 'deposit', values: [PromiseOrValue<string>, PromiseOrValue<BigNumberish>]): string;
|
|
26
|
-
encodeFunctionData(functionFragment: '
|
|
27
|
-
encodeFunctionData(functionFragment: '
|
|
29
|
+
encodeFunctionData(functionFragment: 'getAvailableBalanceForFees', values?: undefined): string;
|
|
30
|
+
encodeFunctionData(functionFragment: 'getAvailableBalanceForPool', values?: undefined): string;
|
|
28
31
|
encodeFunctionData(functionFragment: 'initialize', values: [PromiseOrValue<string>]): string;
|
|
29
32
|
encodeFunctionData(functionFragment: 'pool', values?: undefined): string;
|
|
30
33
|
encodeFunctionData(functionFragment: 'poolConfig', values?: undefined): string;
|
|
31
34
|
encodeFunctionData(functionFragment: 'poolFeeManager', values?: undefined): string;
|
|
35
|
+
encodeFunctionData(functionFragment: 'proxiableUUID', values?: undefined): string;
|
|
32
36
|
encodeFunctionData(functionFragment: 'resetUnprocessedProfit', values?: undefined): string;
|
|
33
37
|
encodeFunctionData(functionFragment: 'setPoolConfig', values: [PromiseOrValue<string>]): string;
|
|
34
|
-
encodeFunctionData(functionFragment: '
|
|
38
|
+
encodeFunctionData(functionFragment: 'totalBalance', values?: undefined): string;
|
|
35
39
|
encodeFunctionData(functionFragment: 'underlyingToken', values?: undefined): string;
|
|
36
40
|
encodeFunctionData(functionFragment: 'unprocessedTrancheProfit', values: [PromiseOrValue<string>]): string;
|
|
37
41
|
encodeFunctionData(functionFragment: 'updatePoolConfigData', values?: undefined): string;
|
|
42
|
+
encodeFunctionData(functionFragment: 'upgradeTo', values: [PromiseOrValue<string>]): string;
|
|
43
|
+
encodeFunctionData(functionFragment: 'upgradeToAndCall', values: [PromiseOrValue<string>, PromiseOrValue<BytesLike>]): string;
|
|
38
44
|
encodeFunctionData(functionFragment: 'withdraw', values: [PromiseOrValue<string>, PromiseOrValue<BigNumberish>]): string;
|
|
39
45
|
decodeFunctionResult(functionFragment: 'addUnprocessedProfit', data: BytesLike): Result;
|
|
40
46
|
decodeFunctionResult(functionFragment: 'deposit', data: BytesLike): Result;
|
|
41
|
-
decodeFunctionResult(functionFragment: '
|
|
42
|
-
decodeFunctionResult(functionFragment: '
|
|
47
|
+
decodeFunctionResult(functionFragment: 'getAvailableBalanceForFees', data: BytesLike): Result;
|
|
48
|
+
decodeFunctionResult(functionFragment: 'getAvailableBalanceForPool', data: BytesLike): Result;
|
|
43
49
|
decodeFunctionResult(functionFragment: 'initialize', data: BytesLike): Result;
|
|
44
50
|
decodeFunctionResult(functionFragment: 'pool', data: BytesLike): Result;
|
|
45
51
|
decodeFunctionResult(functionFragment: 'poolConfig', data: BytesLike): Result;
|
|
46
52
|
decodeFunctionResult(functionFragment: 'poolFeeManager', data: BytesLike): Result;
|
|
53
|
+
decodeFunctionResult(functionFragment: 'proxiableUUID', data: BytesLike): Result;
|
|
47
54
|
decodeFunctionResult(functionFragment: 'resetUnprocessedProfit', data: BytesLike): Result;
|
|
48
55
|
decodeFunctionResult(functionFragment: 'setPoolConfig', data: BytesLike): Result;
|
|
49
|
-
decodeFunctionResult(functionFragment: '
|
|
56
|
+
decodeFunctionResult(functionFragment: 'totalBalance', data: BytesLike): Result;
|
|
50
57
|
decodeFunctionResult(functionFragment: 'underlyingToken', data: BytesLike): Result;
|
|
51
58
|
decodeFunctionResult(functionFragment: 'unprocessedTrancheProfit', data: BytesLike): Result;
|
|
52
59
|
decodeFunctionResult(functionFragment: 'updatePoolConfigData', data: BytesLike): Result;
|
|
60
|
+
decodeFunctionResult(functionFragment: 'upgradeTo', data: BytesLike): Result;
|
|
61
|
+
decodeFunctionResult(functionFragment: 'upgradeToAndCall', data: BytesLike): Result;
|
|
53
62
|
decodeFunctionResult(functionFragment: 'withdraw', data: BytesLike): Result;
|
|
54
63
|
events: {
|
|
64
|
+
'AdminChanged(address,address)': EventFragment;
|
|
65
|
+
'BeaconUpgraded(address)': EventFragment;
|
|
55
66
|
'Initialized(uint8)': EventFragment;
|
|
56
67
|
'PoolConfigCacheUpdated(address)': EventFragment;
|
|
57
68
|
'PoolConfigChanged(address,address)': EventFragment;
|
|
69
|
+
'Upgraded(address)': EventFragment;
|
|
58
70
|
};
|
|
71
|
+
getEvent(nameOrSignatureOrTopic: 'AdminChanged'): EventFragment;
|
|
72
|
+
getEvent(nameOrSignatureOrTopic: 'BeaconUpgraded'): EventFragment;
|
|
59
73
|
getEvent(nameOrSignatureOrTopic: 'Initialized'): EventFragment;
|
|
60
74
|
getEvent(nameOrSignatureOrTopic: 'PoolConfigCacheUpdated'): EventFragment;
|
|
61
75
|
getEvent(nameOrSignatureOrTopic: 'PoolConfigChanged'): EventFragment;
|
|
76
|
+
getEvent(nameOrSignatureOrTopic: 'Upgraded'): EventFragment;
|
|
62
77
|
}
|
|
78
|
+
export interface AdminChangedEventObject {
|
|
79
|
+
previousAdmin: string;
|
|
80
|
+
newAdmin: string;
|
|
81
|
+
}
|
|
82
|
+
export type AdminChangedEvent = TypedEvent<[
|
|
83
|
+
string,
|
|
84
|
+
string
|
|
85
|
+
], AdminChangedEventObject>;
|
|
86
|
+
export type AdminChangedEventFilter = TypedEventFilter<AdminChangedEvent>;
|
|
87
|
+
export interface BeaconUpgradedEventObject {
|
|
88
|
+
beacon: string;
|
|
89
|
+
}
|
|
90
|
+
export type BeaconUpgradedEvent = TypedEvent<[
|
|
91
|
+
string
|
|
92
|
+
], BeaconUpgradedEventObject>;
|
|
93
|
+
export type BeaconUpgradedEventFilter = TypedEventFilter<BeaconUpgradedEvent>;
|
|
63
94
|
export interface InitializedEventObject {
|
|
64
95
|
version: number;
|
|
65
96
|
}
|
|
@@ -81,6 +112,11 @@ export type PoolConfigChangedEvent = TypedEvent<[
|
|
|
81
112
|
string
|
|
82
113
|
], PoolConfigChangedEventObject>;
|
|
83
114
|
export type PoolConfigChangedEventFilter = TypedEventFilter<PoolConfigChangedEvent>;
|
|
115
|
+
export interface UpgradedEventObject {
|
|
116
|
+
implementation: string;
|
|
117
|
+
}
|
|
118
|
+
export type UpgradedEvent = TypedEvent<[string], UpgradedEventObject>;
|
|
119
|
+
export type UpgradedEventFilter = TypedEventFilter<UpgradedEvent>;
|
|
84
120
|
export interface PoolSafe extends BaseContract {
|
|
85
121
|
connect(signerOrProvider: Signer | Provider | string): this;
|
|
86
122
|
attach(addressOrName: string): this;
|
|
@@ -102,11 +138,11 @@ export interface PoolSafe extends BaseContract {
|
|
|
102
138
|
deposit(from: PromiseOrValue<string>, amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
103
139
|
from?: PromiseOrValue<string>;
|
|
104
140
|
}): Promise<ContractTransaction>;
|
|
105
|
-
|
|
106
|
-
|
|
141
|
+
getAvailableBalanceForFees(overrides?: CallOverrides): Promise<[BigNumber] & {
|
|
142
|
+
availableBalance: BigNumber;
|
|
107
143
|
}>;
|
|
108
|
-
|
|
109
|
-
|
|
144
|
+
getAvailableBalanceForPool(overrides?: CallOverrides): Promise<[BigNumber] & {
|
|
145
|
+
availableBalance: BigNumber;
|
|
110
146
|
}>;
|
|
111
147
|
initialize(_poolConfig: PromiseOrValue<string>, overrides?: Overrides & {
|
|
112
148
|
from?: PromiseOrValue<string>;
|
|
@@ -114,13 +150,14 @@ export interface PoolSafe extends BaseContract {
|
|
|
114
150
|
pool(overrides?: CallOverrides): Promise<[string]>;
|
|
115
151
|
poolConfig(overrides?: CallOverrides): Promise<[string]>;
|
|
116
152
|
poolFeeManager(overrides?: CallOverrides): Promise<[string]>;
|
|
153
|
+
proxiableUUID(overrides?: CallOverrides): Promise<[string]>;
|
|
117
154
|
resetUnprocessedProfit(overrides?: Overrides & {
|
|
118
155
|
from?: PromiseOrValue<string>;
|
|
119
156
|
}): Promise<ContractTransaction>;
|
|
120
157
|
setPoolConfig(_poolConfig: PromiseOrValue<string>, overrides?: Overrides & {
|
|
121
158
|
from?: PromiseOrValue<string>;
|
|
122
159
|
}): Promise<ContractTransaction>;
|
|
123
|
-
|
|
160
|
+
totalBalance(overrides?: CallOverrides): Promise<[BigNumber] & {
|
|
124
161
|
liquidity: BigNumber;
|
|
125
162
|
}>;
|
|
126
163
|
underlyingToken(overrides?: CallOverrides): Promise<[string]>;
|
|
@@ -128,6 +165,12 @@ export interface PoolSafe extends BaseContract {
|
|
|
128
165
|
updatePoolConfigData(overrides?: Overrides & {
|
|
129
166
|
from?: PromiseOrValue<string>;
|
|
130
167
|
}): Promise<ContractTransaction>;
|
|
168
|
+
upgradeTo(newImplementation: PromiseOrValue<string>, overrides?: Overrides & {
|
|
169
|
+
from?: PromiseOrValue<string>;
|
|
170
|
+
}): Promise<ContractTransaction>;
|
|
171
|
+
upgradeToAndCall(newImplementation: PromiseOrValue<string>, data: PromiseOrValue<BytesLike>, overrides?: PayableOverrides & {
|
|
172
|
+
from?: PromiseOrValue<string>;
|
|
173
|
+
}): Promise<ContractTransaction>;
|
|
131
174
|
withdraw(to: PromiseOrValue<string>, amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
132
175
|
from?: PromiseOrValue<string>;
|
|
133
176
|
}): Promise<ContractTransaction>;
|
|
@@ -138,53 +181,69 @@ export interface PoolSafe extends BaseContract {
|
|
|
138
181
|
deposit(from: PromiseOrValue<string>, amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
139
182
|
from?: PromiseOrValue<string>;
|
|
140
183
|
}): Promise<ContractTransaction>;
|
|
141
|
-
|
|
142
|
-
|
|
184
|
+
getAvailableBalanceForFees(overrides?: CallOverrides): Promise<BigNumber>;
|
|
185
|
+
getAvailableBalanceForPool(overrides?: CallOverrides): Promise<BigNumber>;
|
|
143
186
|
initialize(_poolConfig: PromiseOrValue<string>, overrides?: Overrides & {
|
|
144
187
|
from?: PromiseOrValue<string>;
|
|
145
188
|
}): Promise<ContractTransaction>;
|
|
146
189
|
pool(overrides?: CallOverrides): Promise<string>;
|
|
147
190
|
poolConfig(overrides?: CallOverrides): Promise<string>;
|
|
148
191
|
poolFeeManager(overrides?: CallOverrides): Promise<string>;
|
|
192
|
+
proxiableUUID(overrides?: CallOverrides): Promise<string>;
|
|
149
193
|
resetUnprocessedProfit(overrides?: Overrides & {
|
|
150
194
|
from?: PromiseOrValue<string>;
|
|
151
195
|
}): Promise<ContractTransaction>;
|
|
152
196
|
setPoolConfig(_poolConfig: PromiseOrValue<string>, overrides?: Overrides & {
|
|
153
197
|
from?: PromiseOrValue<string>;
|
|
154
198
|
}): Promise<ContractTransaction>;
|
|
155
|
-
|
|
199
|
+
totalBalance(overrides?: CallOverrides): Promise<BigNumber>;
|
|
156
200
|
underlyingToken(overrides?: CallOverrides): Promise<string>;
|
|
157
201
|
unprocessedTrancheProfit(arg0: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
158
202
|
updatePoolConfigData(overrides?: Overrides & {
|
|
159
203
|
from?: PromiseOrValue<string>;
|
|
160
204
|
}): Promise<ContractTransaction>;
|
|
205
|
+
upgradeTo(newImplementation: PromiseOrValue<string>, overrides?: Overrides & {
|
|
206
|
+
from?: PromiseOrValue<string>;
|
|
207
|
+
}): Promise<ContractTransaction>;
|
|
208
|
+
upgradeToAndCall(newImplementation: PromiseOrValue<string>, data: PromiseOrValue<BytesLike>, overrides?: PayableOverrides & {
|
|
209
|
+
from?: PromiseOrValue<string>;
|
|
210
|
+
}): Promise<ContractTransaction>;
|
|
161
211
|
withdraw(to: PromiseOrValue<string>, amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
162
212
|
from?: PromiseOrValue<string>;
|
|
163
213
|
}): Promise<ContractTransaction>;
|
|
164
214
|
callStatic: {
|
|
165
215
|
addUnprocessedProfit(tranche: PromiseOrValue<string>, profit: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<void>;
|
|
166
216
|
deposit(from: PromiseOrValue<string>, amount: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<void>;
|
|
167
|
-
|
|
168
|
-
|
|
217
|
+
getAvailableBalanceForFees(overrides?: CallOverrides): Promise<BigNumber>;
|
|
218
|
+
getAvailableBalanceForPool(overrides?: CallOverrides): Promise<BigNumber>;
|
|
169
219
|
initialize(_poolConfig: PromiseOrValue<string>, overrides?: CallOverrides): Promise<void>;
|
|
170
220
|
pool(overrides?: CallOverrides): Promise<string>;
|
|
171
221
|
poolConfig(overrides?: CallOverrides): Promise<string>;
|
|
172
222
|
poolFeeManager(overrides?: CallOverrides): Promise<string>;
|
|
223
|
+
proxiableUUID(overrides?: CallOverrides): Promise<string>;
|
|
173
224
|
resetUnprocessedProfit(overrides?: CallOverrides): Promise<void>;
|
|
174
225
|
setPoolConfig(_poolConfig: PromiseOrValue<string>, overrides?: CallOverrides): Promise<void>;
|
|
175
|
-
|
|
226
|
+
totalBalance(overrides?: CallOverrides): Promise<BigNumber>;
|
|
176
227
|
underlyingToken(overrides?: CallOverrides): Promise<string>;
|
|
177
228
|
unprocessedTrancheProfit(arg0: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
178
229
|
updatePoolConfigData(overrides?: CallOverrides): Promise<void>;
|
|
230
|
+
upgradeTo(newImplementation: PromiseOrValue<string>, overrides?: CallOverrides): Promise<void>;
|
|
231
|
+
upgradeToAndCall(newImplementation: PromiseOrValue<string>, data: PromiseOrValue<BytesLike>, overrides?: CallOverrides): Promise<void>;
|
|
179
232
|
withdraw(to: PromiseOrValue<string>, amount: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<void>;
|
|
180
233
|
};
|
|
181
234
|
filters: {
|
|
235
|
+
'AdminChanged(address,address)'(previousAdmin?: null, newAdmin?: null): AdminChangedEventFilter;
|
|
236
|
+
AdminChanged(previousAdmin?: null, newAdmin?: null): AdminChangedEventFilter;
|
|
237
|
+
'BeaconUpgraded(address)'(beacon?: PromiseOrValue<string> | null): BeaconUpgradedEventFilter;
|
|
238
|
+
BeaconUpgraded(beacon?: PromiseOrValue<string> | null): BeaconUpgradedEventFilter;
|
|
182
239
|
'Initialized(uint8)'(version?: null): InitializedEventFilter;
|
|
183
240
|
Initialized(version?: null): InitializedEventFilter;
|
|
184
241
|
'PoolConfigCacheUpdated(address)'(poolConfig?: PromiseOrValue<string> | null): PoolConfigCacheUpdatedEventFilter;
|
|
185
242
|
PoolConfigCacheUpdated(poolConfig?: PromiseOrValue<string> | null): PoolConfigCacheUpdatedEventFilter;
|
|
186
243
|
'PoolConfigChanged(address,address)'(newPoolConfig?: PromiseOrValue<string> | null, oldPoolConfig?: PromiseOrValue<string> | null): PoolConfigChangedEventFilter;
|
|
187
244
|
PoolConfigChanged(newPoolConfig?: PromiseOrValue<string> | null, oldPoolConfig?: PromiseOrValue<string> | null): PoolConfigChangedEventFilter;
|
|
245
|
+
'Upgraded(address)'(implementation?: PromiseOrValue<string> | null): UpgradedEventFilter;
|
|
246
|
+
Upgraded(implementation?: PromiseOrValue<string> | null): UpgradedEventFilter;
|
|
188
247
|
};
|
|
189
248
|
estimateGas: {
|
|
190
249
|
addUnprocessedProfit(tranche: PromiseOrValue<string>, profit: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
@@ -193,26 +252,33 @@ export interface PoolSafe extends BaseContract {
|
|
|
193
252
|
deposit(from: PromiseOrValue<string>, amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
194
253
|
from?: PromiseOrValue<string>;
|
|
195
254
|
}): Promise<BigNumber>;
|
|
196
|
-
|
|
197
|
-
|
|
255
|
+
getAvailableBalanceForFees(overrides?: CallOverrides): Promise<BigNumber>;
|
|
256
|
+
getAvailableBalanceForPool(overrides?: CallOverrides): Promise<BigNumber>;
|
|
198
257
|
initialize(_poolConfig: PromiseOrValue<string>, overrides?: Overrides & {
|
|
199
258
|
from?: PromiseOrValue<string>;
|
|
200
259
|
}): Promise<BigNumber>;
|
|
201
260
|
pool(overrides?: CallOverrides): Promise<BigNumber>;
|
|
202
261
|
poolConfig(overrides?: CallOverrides): Promise<BigNumber>;
|
|
203
262
|
poolFeeManager(overrides?: CallOverrides): Promise<BigNumber>;
|
|
263
|
+
proxiableUUID(overrides?: CallOverrides): Promise<BigNumber>;
|
|
204
264
|
resetUnprocessedProfit(overrides?: Overrides & {
|
|
205
265
|
from?: PromiseOrValue<string>;
|
|
206
266
|
}): Promise<BigNumber>;
|
|
207
267
|
setPoolConfig(_poolConfig: PromiseOrValue<string>, overrides?: Overrides & {
|
|
208
268
|
from?: PromiseOrValue<string>;
|
|
209
269
|
}): Promise<BigNumber>;
|
|
210
|
-
|
|
270
|
+
totalBalance(overrides?: CallOverrides): Promise<BigNumber>;
|
|
211
271
|
underlyingToken(overrides?: CallOverrides): Promise<BigNumber>;
|
|
212
272
|
unprocessedTrancheProfit(arg0: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
213
273
|
updatePoolConfigData(overrides?: Overrides & {
|
|
214
274
|
from?: PromiseOrValue<string>;
|
|
215
275
|
}): Promise<BigNumber>;
|
|
276
|
+
upgradeTo(newImplementation: PromiseOrValue<string>, overrides?: Overrides & {
|
|
277
|
+
from?: PromiseOrValue<string>;
|
|
278
|
+
}): Promise<BigNumber>;
|
|
279
|
+
upgradeToAndCall(newImplementation: PromiseOrValue<string>, data: PromiseOrValue<BytesLike>, overrides?: PayableOverrides & {
|
|
280
|
+
from?: PromiseOrValue<string>;
|
|
281
|
+
}): Promise<BigNumber>;
|
|
216
282
|
withdraw(to: PromiseOrValue<string>, amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
217
283
|
from?: PromiseOrValue<string>;
|
|
218
284
|
}): Promise<BigNumber>;
|
|
@@ -224,26 +290,33 @@ export interface PoolSafe extends BaseContract {
|
|
|
224
290
|
deposit(from: PromiseOrValue<string>, amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
225
291
|
from?: PromiseOrValue<string>;
|
|
226
292
|
}): Promise<PopulatedTransaction>;
|
|
227
|
-
|
|
228
|
-
|
|
293
|
+
getAvailableBalanceForFees(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
294
|
+
getAvailableBalanceForPool(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
229
295
|
initialize(_poolConfig: PromiseOrValue<string>, overrides?: Overrides & {
|
|
230
296
|
from?: PromiseOrValue<string>;
|
|
231
297
|
}): Promise<PopulatedTransaction>;
|
|
232
298
|
pool(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
233
299
|
poolConfig(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
234
300
|
poolFeeManager(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
301
|
+
proxiableUUID(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
235
302
|
resetUnprocessedProfit(overrides?: Overrides & {
|
|
236
303
|
from?: PromiseOrValue<string>;
|
|
237
304
|
}): Promise<PopulatedTransaction>;
|
|
238
305
|
setPoolConfig(_poolConfig: PromiseOrValue<string>, overrides?: Overrides & {
|
|
239
306
|
from?: PromiseOrValue<string>;
|
|
240
307
|
}): Promise<PopulatedTransaction>;
|
|
241
|
-
|
|
308
|
+
totalBalance(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
242
309
|
underlyingToken(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
243
310
|
unprocessedTrancheProfit(arg0: PromiseOrValue<string>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
244
311
|
updatePoolConfigData(overrides?: Overrides & {
|
|
245
312
|
from?: PromiseOrValue<string>;
|
|
246
313
|
}): Promise<PopulatedTransaction>;
|
|
314
|
+
upgradeTo(newImplementation: PromiseOrValue<string>, overrides?: Overrides & {
|
|
315
|
+
from?: PromiseOrValue<string>;
|
|
316
|
+
}): Promise<PopulatedTransaction>;
|
|
317
|
+
upgradeToAndCall(newImplementation: PromiseOrValue<string>, data: PromiseOrValue<BytesLike>, overrides?: PayableOverrides & {
|
|
318
|
+
from?: PromiseOrValue<string>;
|
|
319
|
+
}): Promise<PopulatedTransaction>;
|
|
247
320
|
withdraw(to: PromiseOrValue<string>, amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
248
321
|
from?: PromiseOrValue<string>;
|
|
249
322
|
}): Promise<PopulatedTransaction>;
|
|
@@ -4,20 +4,41 @@ import type { PoolSafe, PoolSafeInterface } from '../PoolSafe';
|
|
|
4
4
|
export declare class PoolSafe__factory {
|
|
5
5
|
static readonly abi: readonly [{
|
|
6
6
|
readonly inputs: readonly [];
|
|
7
|
-
readonly name: "
|
|
7
|
+
readonly name: "AuthorizedContractCallerRequired";
|
|
8
8
|
readonly type: "error";
|
|
9
9
|
}, {
|
|
10
10
|
readonly inputs: readonly [];
|
|
11
|
-
readonly name: "
|
|
11
|
+
readonly name: "TrancheRequired";
|
|
12
12
|
readonly type: "error";
|
|
13
13
|
}, {
|
|
14
14
|
readonly inputs: readonly [];
|
|
15
|
-
readonly name: "
|
|
15
|
+
readonly name: "ZeroAddressProvided";
|
|
16
16
|
readonly type: "error";
|
|
17
17
|
}, {
|
|
18
|
-
readonly
|
|
19
|
-
readonly
|
|
20
|
-
|
|
18
|
+
readonly anonymous: false;
|
|
19
|
+
readonly inputs: readonly [{
|
|
20
|
+
readonly indexed: false;
|
|
21
|
+
readonly internalType: "address";
|
|
22
|
+
readonly name: "previousAdmin";
|
|
23
|
+
readonly type: "address";
|
|
24
|
+
}, {
|
|
25
|
+
readonly indexed: false;
|
|
26
|
+
readonly internalType: "address";
|
|
27
|
+
readonly name: "newAdmin";
|
|
28
|
+
readonly type: "address";
|
|
29
|
+
}];
|
|
30
|
+
readonly name: "AdminChanged";
|
|
31
|
+
readonly type: "event";
|
|
32
|
+
}, {
|
|
33
|
+
readonly anonymous: false;
|
|
34
|
+
readonly inputs: readonly [{
|
|
35
|
+
readonly indexed: true;
|
|
36
|
+
readonly internalType: "address";
|
|
37
|
+
readonly name: "beacon";
|
|
38
|
+
readonly type: "address";
|
|
39
|
+
}];
|
|
40
|
+
readonly name: "BeaconUpgraded";
|
|
41
|
+
readonly type: "event";
|
|
21
42
|
}, {
|
|
22
43
|
readonly anonymous: false;
|
|
23
44
|
readonly inputs: readonly [{
|
|
@@ -53,6 +74,16 @@ export declare class PoolSafe__factory {
|
|
|
53
74
|
}];
|
|
54
75
|
readonly name: "PoolConfigChanged";
|
|
55
76
|
readonly type: "event";
|
|
77
|
+
}, {
|
|
78
|
+
readonly anonymous: false;
|
|
79
|
+
readonly inputs: readonly [{
|
|
80
|
+
readonly indexed: true;
|
|
81
|
+
readonly internalType: "address";
|
|
82
|
+
readonly name: "implementation";
|
|
83
|
+
readonly type: "address";
|
|
84
|
+
}];
|
|
85
|
+
readonly name: "Upgraded";
|
|
86
|
+
readonly type: "event";
|
|
56
87
|
}, {
|
|
57
88
|
readonly inputs: readonly [{
|
|
58
89
|
readonly internalType: "address";
|
|
@@ -83,20 +114,20 @@ export declare class PoolSafe__factory {
|
|
|
83
114
|
readonly type: "function";
|
|
84
115
|
}, {
|
|
85
116
|
readonly inputs: readonly [];
|
|
86
|
-
readonly name: "
|
|
117
|
+
readonly name: "getAvailableBalanceForFees";
|
|
87
118
|
readonly outputs: readonly [{
|
|
88
119
|
readonly internalType: "uint256";
|
|
89
|
-
readonly name: "
|
|
120
|
+
readonly name: "availableBalance";
|
|
90
121
|
readonly type: "uint256";
|
|
91
122
|
}];
|
|
92
123
|
readonly stateMutability: "view";
|
|
93
124
|
readonly type: "function";
|
|
94
125
|
}, {
|
|
95
126
|
readonly inputs: readonly [];
|
|
96
|
-
readonly name: "
|
|
127
|
+
readonly name: "getAvailableBalanceForPool";
|
|
97
128
|
readonly outputs: readonly [{
|
|
98
129
|
readonly internalType: "uint256";
|
|
99
|
-
readonly name: "
|
|
130
|
+
readonly name: "availableBalance";
|
|
100
131
|
readonly type: "uint256";
|
|
101
132
|
}];
|
|
102
133
|
readonly stateMutability: "view";
|
|
@@ -141,6 +172,16 @@ export declare class PoolSafe__factory {
|
|
|
141
172
|
}];
|
|
142
173
|
readonly stateMutability: "view";
|
|
143
174
|
readonly type: "function";
|
|
175
|
+
}, {
|
|
176
|
+
readonly inputs: readonly [];
|
|
177
|
+
readonly name: "proxiableUUID";
|
|
178
|
+
readonly outputs: readonly [{
|
|
179
|
+
readonly internalType: "bytes32";
|
|
180
|
+
readonly name: "";
|
|
181
|
+
readonly type: "bytes32";
|
|
182
|
+
}];
|
|
183
|
+
readonly stateMutability: "view";
|
|
184
|
+
readonly type: "function";
|
|
144
185
|
}, {
|
|
145
186
|
readonly inputs: readonly [];
|
|
146
187
|
readonly name: "resetUnprocessedProfit";
|
|
@@ -159,7 +200,7 @@ export declare class PoolSafe__factory {
|
|
|
159
200
|
readonly type: "function";
|
|
160
201
|
}, {
|
|
161
202
|
readonly inputs: readonly [];
|
|
162
|
-
readonly name: "
|
|
203
|
+
readonly name: "totalBalance";
|
|
163
204
|
readonly outputs: readonly [{
|
|
164
205
|
readonly internalType: "uint256";
|
|
165
206
|
readonly name: "liquidity";
|
|
@@ -197,6 +238,30 @@ export declare class PoolSafe__factory {
|
|
|
197
238
|
readonly outputs: readonly [];
|
|
198
239
|
readonly stateMutability: "nonpayable";
|
|
199
240
|
readonly type: "function";
|
|
241
|
+
}, {
|
|
242
|
+
readonly inputs: readonly [{
|
|
243
|
+
readonly internalType: "address";
|
|
244
|
+
readonly name: "newImplementation";
|
|
245
|
+
readonly type: "address";
|
|
246
|
+
}];
|
|
247
|
+
readonly name: "upgradeTo";
|
|
248
|
+
readonly outputs: readonly [];
|
|
249
|
+
readonly stateMutability: "nonpayable";
|
|
250
|
+
readonly type: "function";
|
|
251
|
+
}, {
|
|
252
|
+
readonly inputs: readonly [{
|
|
253
|
+
readonly internalType: "address";
|
|
254
|
+
readonly name: "newImplementation";
|
|
255
|
+
readonly type: "address";
|
|
256
|
+
}, {
|
|
257
|
+
readonly internalType: "bytes";
|
|
258
|
+
readonly name: "data";
|
|
259
|
+
readonly type: "bytes";
|
|
260
|
+
}];
|
|
261
|
+
readonly name: "upgradeToAndCall";
|
|
262
|
+
readonly outputs: readonly [];
|
|
263
|
+
readonly stateMutability: "payable";
|
|
264
|
+
readonly type: "function";
|
|
200
265
|
}, {
|
|
201
266
|
readonly inputs: readonly [{
|
|
202
267
|
readonly internalType: "address";
|
|
@@ -8,23 +8,50 @@ const ethers_1 = require("ethers");
|
|
|
8
8
|
const _abi = [
|
|
9
9
|
{
|
|
10
10
|
inputs: [],
|
|
11
|
-
name: '
|
|
11
|
+
name: 'AuthorizedContractCallerRequired',
|
|
12
12
|
type: 'error',
|
|
13
13
|
},
|
|
14
14
|
{
|
|
15
15
|
inputs: [],
|
|
16
|
-
name: '
|
|
16
|
+
name: 'TrancheRequired',
|
|
17
17
|
type: 'error',
|
|
18
18
|
},
|
|
19
19
|
{
|
|
20
20
|
inputs: [],
|
|
21
|
-
name: '
|
|
21
|
+
name: 'ZeroAddressProvided',
|
|
22
22
|
type: 'error',
|
|
23
23
|
},
|
|
24
24
|
{
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
25
|
+
anonymous: false,
|
|
26
|
+
inputs: [
|
|
27
|
+
{
|
|
28
|
+
indexed: false,
|
|
29
|
+
internalType: 'address',
|
|
30
|
+
name: 'previousAdmin',
|
|
31
|
+
type: 'address',
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
indexed: false,
|
|
35
|
+
internalType: 'address',
|
|
36
|
+
name: 'newAdmin',
|
|
37
|
+
type: 'address',
|
|
38
|
+
},
|
|
39
|
+
],
|
|
40
|
+
name: 'AdminChanged',
|
|
41
|
+
type: 'event',
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
anonymous: false,
|
|
45
|
+
inputs: [
|
|
46
|
+
{
|
|
47
|
+
indexed: true,
|
|
48
|
+
internalType: 'address',
|
|
49
|
+
name: 'beacon',
|
|
50
|
+
type: 'address',
|
|
51
|
+
},
|
|
52
|
+
],
|
|
53
|
+
name: 'BeaconUpgraded',
|
|
54
|
+
type: 'event',
|
|
28
55
|
},
|
|
29
56
|
{
|
|
30
57
|
anonymous: false,
|
|
@@ -71,6 +98,19 @@ const _abi = [
|
|
|
71
98
|
name: 'PoolConfigChanged',
|
|
72
99
|
type: 'event',
|
|
73
100
|
},
|
|
101
|
+
{
|
|
102
|
+
anonymous: false,
|
|
103
|
+
inputs: [
|
|
104
|
+
{
|
|
105
|
+
indexed: true,
|
|
106
|
+
internalType: 'address',
|
|
107
|
+
name: 'implementation',
|
|
108
|
+
type: 'address',
|
|
109
|
+
},
|
|
110
|
+
],
|
|
111
|
+
name: 'Upgraded',
|
|
112
|
+
type: 'event',
|
|
113
|
+
},
|
|
74
114
|
{
|
|
75
115
|
inputs: [
|
|
76
116
|
{
|
|
@@ -109,11 +149,11 @@ const _abi = [
|
|
|
109
149
|
},
|
|
110
150
|
{
|
|
111
151
|
inputs: [],
|
|
112
|
-
name: '
|
|
152
|
+
name: 'getAvailableBalanceForFees',
|
|
113
153
|
outputs: [
|
|
114
154
|
{
|
|
115
155
|
internalType: 'uint256',
|
|
116
|
-
name: '
|
|
156
|
+
name: 'availableBalance',
|
|
117
157
|
type: 'uint256',
|
|
118
158
|
},
|
|
119
159
|
],
|
|
@@ -122,11 +162,11 @@ const _abi = [
|
|
|
122
162
|
},
|
|
123
163
|
{
|
|
124
164
|
inputs: [],
|
|
125
|
-
name: '
|
|
165
|
+
name: 'getAvailableBalanceForPool',
|
|
126
166
|
outputs: [
|
|
127
167
|
{
|
|
128
168
|
internalType: 'uint256',
|
|
129
|
-
name: '
|
|
169
|
+
name: 'availableBalance',
|
|
130
170
|
type: 'uint256',
|
|
131
171
|
},
|
|
132
172
|
],
|
|
@@ -185,6 +225,19 @@ const _abi = [
|
|
|
185
225
|
stateMutability: 'view',
|
|
186
226
|
type: 'function',
|
|
187
227
|
},
|
|
228
|
+
{
|
|
229
|
+
inputs: [],
|
|
230
|
+
name: 'proxiableUUID',
|
|
231
|
+
outputs: [
|
|
232
|
+
{
|
|
233
|
+
internalType: 'bytes32',
|
|
234
|
+
name: '',
|
|
235
|
+
type: 'bytes32',
|
|
236
|
+
},
|
|
237
|
+
],
|
|
238
|
+
stateMutability: 'view',
|
|
239
|
+
type: 'function',
|
|
240
|
+
},
|
|
188
241
|
{
|
|
189
242
|
inputs: [],
|
|
190
243
|
name: 'resetUnprocessedProfit',
|
|
@@ -207,7 +260,7 @@ const _abi = [
|
|
|
207
260
|
},
|
|
208
261
|
{
|
|
209
262
|
inputs: [],
|
|
210
|
-
name: '
|
|
263
|
+
name: 'totalBalance',
|
|
211
264
|
outputs: [
|
|
212
265
|
{
|
|
213
266
|
internalType: 'uint256',
|
|
@@ -257,6 +310,37 @@ const _abi = [
|
|
|
257
310
|
stateMutability: 'nonpayable',
|
|
258
311
|
type: 'function',
|
|
259
312
|
},
|
|
313
|
+
{
|
|
314
|
+
inputs: [
|
|
315
|
+
{
|
|
316
|
+
internalType: 'address',
|
|
317
|
+
name: 'newImplementation',
|
|
318
|
+
type: 'address',
|
|
319
|
+
},
|
|
320
|
+
],
|
|
321
|
+
name: 'upgradeTo',
|
|
322
|
+
outputs: [],
|
|
323
|
+
stateMutability: 'nonpayable',
|
|
324
|
+
type: 'function',
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
inputs: [
|
|
328
|
+
{
|
|
329
|
+
internalType: 'address',
|
|
330
|
+
name: 'newImplementation',
|
|
331
|
+
type: 'address',
|
|
332
|
+
},
|
|
333
|
+
{
|
|
334
|
+
internalType: 'bytes',
|
|
335
|
+
name: 'data',
|
|
336
|
+
type: 'bytes',
|
|
337
|
+
},
|
|
338
|
+
],
|
|
339
|
+
name: 'upgradeToAndCall',
|
|
340
|
+
outputs: [],
|
|
341
|
+
stateMutability: 'payable',
|
|
342
|
+
type: 'function',
|
|
343
|
+
},
|
|
260
344
|
{
|
|
261
345
|
inputs: [
|
|
262
346
|
{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PoolSafe__factory.js","sourceRoot":"","sources":["../../../../../../src/v2/abis/types/factories/PoolSafe__factory.ts"],"names":[],"mappings":";AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;;;AAEpB,mCAAgD;AAIhD,MAAM,IAAI,GAAG;IACX;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"PoolSafe__factory.js","sourceRoot":"","sources":["../../../../../../src/v2/abis/types/factories/PoolSafe__factory.ts"],"names":[],"mappings":";AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;;;AAEpB,mCAAgD;AAIhD,MAAM,IAAI,GAAG;IACX;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,kCAAkC;QACxC,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,iBAAiB;QACvB,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,qBAAqB;QAC3B,IAAI,EAAE,OAAO;KACd;IACD;QACE,SAAS,EAAE,KAAK;QAChB,MAAM,EAAE;YACN;gBACE,OAAO,EAAE,KAAK;gBACd,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,eAAe;gBACrB,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,OAAO,EAAE,KAAK;gBACd,YAAY,EAAE,SAAS;gBACv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