@merkl/contracts 0.9.29 → 0.9.31
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/src/AccountFactoryGearbox.d.ts +407 -0
- package/dist/src/AccountFactoryGearbox.js +2 -0
- package/dist/src/AccountFactoryGearbox.js.map +1 -0
- package/dist/src/AccountFactoryV3Gearbox.d.ts +206 -0
- package/dist/src/AccountFactoryV3Gearbox.js +2 -0
- package/dist/src/AccountFactoryV3Gearbox.js.map +1 -0
- package/dist/src/AddressProviderGearbox.d.ts +320 -0
- package/dist/src/AddressProviderGearbox.js +2 -0
- package/dist/src/AddressProviderGearbox.js.map +1 -0
- package/dist/src/factories/AccountFactoryGearbox__factory.d.ts +362 -0
- package/dist/src/factories/AccountFactoryGearbox__factory.js +471 -0
- package/dist/src/factories/AccountFactoryGearbox__factory.js.map +1 -0
- package/dist/src/factories/AccountFactoryV3Gearbox__factory.d.ts +219 -0
- package/dist/src/factories/AccountFactoryV3Gearbox__factory.js +283 -0
- package/dist/src/factories/AccountFactoryV3Gearbox__factory.js.map +1 -0
- package/dist/src/factories/AddressProviderGearbox__factory.d.ts +838 -0
- package/dist/src/factories/AddressProviderGearbox__factory.js +1077 -0
- package/dist/src/factories/AddressProviderGearbox__factory.js.map +1 -0
- package/dist/src/factories/index.d.ts +3 -0
- package/dist/src/factories/index.js +3 -0
- package/dist/src/factories/index.js.map +1 -1
- package/dist/src/index.d.ts +6 -0
- package/dist/src/index.js +6 -0
- package/dist/src/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,407 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, ContractTransaction, Overrides, PopulatedTransaction, Signer, utils } from "ethers";
|
|
5
|
+
import type { FunctionFragment, Result, EventFragment } from "@ethersproject/abi";
|
|
6
|
+
import type { Listener, Provider } from "@ethersproject/providers";
|
|
7
|
+
import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "./common";
|
|
8
|
+
export declare namespace DataTypes {
|
|
9
|
+
type MiningApprovalStruct = {
|
|
10
|
+
token: PromiseOrValue<string>;
|
|
11
|
+
swapContract: PromiseOrValue<string>;
|
|
12
|
+
};
|
|
13
|
+
type MiningApprovalStructOutput = [string, string] & {
|
|
14
|
+
token: string;
|
|
15
|
+
swapContract: string;
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
export interface AccountFactoryGearboxInterface extends utils.Interface {
|
|
19
|
+
functions: {
|
|
20
|
+
"_contractsRegister()": FunctionFragment;
|
|
21
|
+
"addCreditAccount()": FunctionFragment;
|
|
22
|
+
"addMiningApprovals((address,address)[])": FunctionFragment;
|
|
23
|
+
"cancelAllowance(address,address,address)": FunctionFragment;
|
|
24
|
+
"countCreditAccounts()": FunctionFragment;
|
|
25
|
+
"countCreditAccountsInStock()": FunctionFragment;
|
|
26
|
+
"creditAccounts(uint256)": FunctionFragment;
|
|
27
|
+
"finishMining()": FunctionFragment;
|
|
28
|
+
"getNext(address)": FunctionFragment;
|
|
29
|
+
"head()": FunctionFragment;
|
|
30
|
+
"isCreditAccount(address)": FunctionFragment;
|
|
31
|
+
"isMiningFinished()": FunctionFragment;
|
|
32
|
+
"masterCreditAccount()": FunctionFragment;
|
|
33
|
+
"mineCreditAccount()": FunctionFragment;
|
|
34
|
+
"miningApprovals(uint256)": FunctionFragment;
|
|
35
|
+
"pause()": FunctionFragment;
|
|
36
|
+
"paused()": FunctionFragment;
|
|
37
|
+
"returnCreditAccount(address)": FunctionFragment;
|
|
38
|
+
"tail()": FunctionFragment;
|
|
39
|
+
"takeCreditAccount(uint256,uint256)": FunctionFragment;
|
|
40
|
+
"takeOut(address,address,address)": FunctionFragment;
|
|
41
|
+
"unpause()": FunctionFragment;
|
|
42
|
+
"version()": FunctionFragment;
|
|
43
|
+
};
|
|
44
|
+
getFunction(nameOrSignatureOrTopic: "_contractsRegister" | "addCreditAccount" | "addMiningApprovals" | "cancelAllowance" | "countCreditAccounts" | "countCreditAccountsInStock" | "creditAccounts" | "finishMining" | "getNext" | "head" | "isCreditAccount" | "isMiningFinished" | "masterCreditAccount" | "mineCreditAccount" | "miningApprovals" | "pause" | "paused" | "returnCreditAccount" | "tail" | "takeCreditAccount" | "takeOut" | "unpause" | "version"): FunctionFragment;
|
|
45
|
+
encodeFunctionData(functionFragment: "_contractsRegister", values?: undefined): string;
|
|
46
|
+
encodeFunctionData(functionFragment: "addCreditAccount", values?: undefined): string;
|
|
47
|
+
encodeFunctionData(functionFragment: "addMiningApprovals", values: [DataTypes.MiningApprovalStruct[]]): string;
|
|
48
|
+
encodeFunctionData(functionFragment: "cancelAllowance", values: [
|
|
49
|
+
PromiseOrValue<string>,
|
|
50
|
+
PromiseOrValue<string>,
|
|
51
|
+
PromiseOrValue<string>
|
|
52
|
+
]): string;
|
|
53
|
+
encodeFunctionData(functionFragment: "countCreditAccounts", values?: undefined): string;
|
|
54
|
+
encodeFunctionData(functionFragment: "countCreditAccountsInStock", values?: undefined): string;
|
|
55
|
+
encodeFunctionData(functionFragment: "creditAccounts", values: [PromiseOrValue<BigNumberish>]): string;
|
|
56
|
+
encodeFunctionData(functionFragment: "finishMining", values?: undefined): string;
|
|
57
|
+
encodeFunctionData(functionFragment: "getNext", values: [PromiseOrValue<string>]): string;
|
|
58
|
+
encodeFunctionData(functionFragment: "head", values?: undefined): string;
|
|
59
|
+
encodeFunctionData(functionFragment: "isCreditAccount", values: [PromiseOrValue<string>]): string;
|
|
60
|
+
encodeFunctionData(functionFragment: "isMiningFinished", values?: undefined): string;
|
|
61
|
+
encodeFunctionData(functionFragment: "masterCreditAccount", values?: undefined): string;
|
|
62
|
+
encodeFunctionData(functionFragment: "mineCreditAccount", values?: undefined): string;
|
|
63
|
+
encodeFunctionData(functionFragment: "miningApprovals", values: [PromiseOrValue<BigNumberish>]): string;
|
|
64
|
+
encodeFunctionData(functionFragment: "pause", values?: undefined): string;
|
|
65
|
+
encodeFunctionData(functionFragment: "paused", values?: undefined): string;
|
|
66
|
+
encodeFunctionData(functionFragment: "returnCreditAccount", values: [PromiseOrValue<string>]): string;
|
|
67
|
+
encodeFunctionData(functionFragment: "tail", values?: undefined): string;
|
|
68
|
+
encodeFunctionData(functionFragment: "takeCreditAccount", values: [PromiseOrValue<BigNumberish>, PromiseOrValue<BigNumberish>]): string;
|
|
69
|
+
encodeFunctionData(functionFragment: "takeOut", values: [
|
|
70
|
+
PromiseOrValue<string>,
|
|
71
|
+
PromiseOrValue<string>,
|
|
72
|
+
PromiseOrValue<string>
|
|
73
|
+
]): string;
|
|
74
|
+
encodeFunctionData(functionFragment: "unpause", values?: undefined): string;
|
|
75
|
+
encodeFunctionData(functionFragment: "version", values?: undefined): string;
|
|
76
|
+
decodeFunctionResult(functionFragment: "_contractsRegister", data: BytesLike): Result;
|
|
77
|
+
decodeFunctionResult(functionFragment: "addCreditAccount", data: BytesLike): Result;
|
|
78
|
+
decodeFunctionResult(functionFragment: "addMiningApprovals", data: BytesLike): Result;
|
|
79
|
+
decodeFunctionResult(functionFragment: "cancelAllowance", data: BytesLike): Result;
|
|
80
|
+
decodeFunctionResult(functionFragment: "countCreditAccounts", data: BytesLike): Result;
|
|
81
|
+
decodeFunctionResult(functionFragment: "countCreditAccountsInStock", data: BytesLike): Result;
|
|
82
|
+
decodeFunctionResult(functionFragment: "creditAccounts", data: BytesLike): Result;
|
|
83
|
+
decodeFunctionResult(functionFragment: "finishMining", data: BytesLike): Result;
|
|
84
|
+
decodeFunctionResult(functionFragment: "getNext", data: BytesLike): Result;
|
|
85
|
+
decodeFunctionResult(functionFragment: "head", data: BytesLike): Result;
|
|
86
|
+
decodeFunctionResult(functionFragment: "isCreditAccount", data: BytesLike): Result;
|
|
87
|
+
decodeFunctionResult(functionFragment: "isMiningFinished", data: BytesLike): Result;
|
|
88
|
+
decodeFunctionResult(functionFragment: "masterCreditAccount", data: BytesLike): Result;
|
|
89
|
+
decodeFunctionResult(functionFragment: "mineCreditAccount", data: BytesLike): Result;
|
|
90
|
+
decodeFunctionResult(functionFragment: "miningApprovals", data: BytesLike): Result;
|
|
91
|
+
decodeFunctionResult(functionFragment: "pause", data: BytesLike): Result;
|
|
92
|
+
decodeFunctionResult(functionFragment: "paused", data: BytesLike): Result;
|
|
93
|
+
decodeFunctionResult(functionFragment: "returnCreditAccount", data: BytesLike): Result;
|
|
94
|
+
decodeFunctionResult(functionFragment: "tail", data: BytesLike): Result;
|
|
95
|
+
decodeFunctionResult(functionFragment: "takeCreditAccount", data: BytesLike): Result;
|
|
96
|
+
decodeFunctionResult(functionFragment: "takeOut", data: BytesLike): Result;
|
|
97
|
+
decodeFunctionResult(functionFragment: "unpause", data: BytesLike): Result;
|
|
98
|
+
decodeFunctionResult(functionFragment: "version", data: BytesLike): Result;
|
|
99
|
+
events: {
|
|
100
|
+
"AccountMinerChanged(address)": EventFragment;
|
|
101
|
+
"InitializeCreditAccount(address,address)": EventFragment;
|
|
102
|
+
"NewCreditAccount(address)": EventFragment;
|
|
103
|
+
"Paused(address)": EventFragment;
|
|
104
|
+
"ReturnCreditAccount(address)": EventFragment;
|
|
105
|
+
"TakeForever(address,address)": EventFragment;
|
|
106
|
+
"Unpaused(address)": EventFragment;
|
|
107
|
+
};
|
|
108
|
+
getEvent(nameOrSignatureOrTopic: "AccountMinerChanged"): EventFragment;
|
|
109
|
+
getEvent(nameOrSignatureOrTopic: "InitializeCreditAccount"): EventFragment;
|
|
110
|
+
getEvent(nameOrSignatureOrTopic: "NewCreditAccount"): EventFragment;
|
|
111
|
+
getEvent(nameOrSignatureOrTopic: "Paused"): EventFragment;
|
|
112
|
+
getEvent(nameOrSignatureOrTopic: "ReturnCreditAccount"): EventFragment;
|
|
113
|
+
getEvent(nameOrSignatureOrTopic: "TakeForever"): EventFragment;
|
|
114
|
+
getEvent(nameOrSignatureOrTopic: "Unpaused"): EventFragment;
|
|
115
|
+
}
|
|
116
|
+
export interface AccountMinerChangedEventObject {
|
|
117
|
+
miner: string;
|
|
118
|
+
}
|
|
119
|
+
export type AccountMinerChangedEvent = TypedEvent<[
|
|
120
|
+
string
|
|
121
|
+
], AccountMinerChangedEventObject>;
|
|
122
|
+
export type AccountMinerChangedEventFilter = TypedEventFilter<AccountMinerChangedEvent>;
|
|
123
|
+
export interface InitializeCreditAccountEventObject {
|
|
124
|
+
account: string;
|
|
125
|
+
creditManager: string;
|
|
126
|
+
}
|
|
127
|
+
export type InitializeCreditAccountEvent = TypedEvent<[
|
|
128
|
+
string,
|
|
129
|
+
string
|
|
130
|
+
], InitializeCreditAccountEventObject>;
|
|
131
|
+
export type InitializeCreditAccountEventFilter = TypedEventFilter<InitializeCreditAccountEvent>;
|
|
132
|
+
export interface NewCreditAccountEventObject {
|
|
133
|
+
account: string;
|
|
134
|
+
}
|
|
135
|
+
export type NewCreditAccountEvent = TypedEvent<[
|
|
136
|
+
string
|
|
137
|
+
], NewCreditAccountEventObject>;
|
|
138
|
+
export type NewCreditAccountEventFilter = TypedEventFilter<NewCreditAccountEvent>;
|
|
139
|
+
export interface PausedEventObject {
|
|
140
|
+
account: string;
|
|
141
|
+
}
|
|
142
|
+
export type PausedEvent = TypedEvent<[string], PausedEventObject>;
|
|
143
|
+
export type PausedEventFilter = TypedEventFilter<PausedEvent>;
|
|
144
|
+
export interface ReturnCreditAccountEventObject {
|
|
145
|
+
account: string;
|
|
146
|
+
}
|
|
147
|
+
export type ReturnCreditAccountEvent = TypedEvent<[
|
|
148
|
+
string
|
|
149
|
+
], ReturnCreditAccountEventObject>;
|
|
150
|
+
export type ReturnCreditAccountEventFilter = TypedEventFilter<ReturnCreditAccountEvent>;
|
|
151
|
+
export interface TakeForeverEventObject {
|
|
152
|
+
creditAccount: string;
|
|
153
|
+
to: string;
|
|
154
|
+
}
|
|
155
|
+
export type TakeForeverEvent = TypedEvent<[
|
|
156
|
+
string,
|
|
157
|
+
string
|
|
158
|
+
], TakeForeverEventObject>;
|
|
159
|
+
export type TakeForeverEventFilter = TypedEventFilter<TakeForeverEvent>;
|
|
160
|
+
export interface UnpausedEventObject {
|
|
161
|
+
account: string;
|
|
162
|
+
}
|
|
163
|
+
export type UnpausedEvent = TypedEvent<[string], UnpausedEventObject>;
|
|
164
|
+
export type UnpausedEventFilter = TypedEventFilter<UnpausedEvent>;
|
|
165
|
+
export interface AccountFactoryGearbox extends BaseContract {
|
|
166
|
+
connect(signerOrProvider: Signer | Provider | string): this;
|
|
167
|
+
attach(addressOrName: string): this;
|
|
168
|
+
deployed(): Promise<this>;
|
|
169
|
+
interface: AccountFactoryGearboxInterface;
|
|
170
|
+
queryFilter<TEvent extends TypedEvent>(event: TypedEventFilter<TEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TEvent>>;
|
|
171
|
+
listeners<TEvent extends TypedEvent>(eventFilter?: TypedEventFilter<TEvent>): Array<TypedListener<TEvent>>;
|
|
172
|
+
listeners(eventName?: string): Array<Listener>;
|
|
173
|
+
removeAllListeners<TEvent extends TypedEvent>(eventFilter: TypedEventFilter<TEvent>): this;
|
|
174
|
+
removeAllListeners(eventName?: string): this;
|
|
175
|
+
off: OnEvent<this>;
|
|
176
|
+
on: OnEvent<this>;
|
|
177
|
+
once: OnEvent<this>;
|
|
178
|
+
removeListener: OnEvent<this>;
|
|
179
|
+
functions: {
|
|
180
|
+
_contractsRegister(overrides?: CallOverrides): Promise<[string]>;
|
|
181
|
+
addCreditAccount(overrides?: Overrides & {
|
|
182
|
+
from?: PromiseOrValue<string>;
|
|
183
|
+
}): Promise<ContractTransaction>;
|
|
184
|
+
addMiningApprovals(_miningApprovals: DataTypes.MiningApprovalStruct[], overrides?: Overrides & {
|
|
185
|
+
from?: PromiseOrValue<string>;
|
|
186
|
+
}): Promise<ContractTransaction>;
|
|
187
|
+
cancelAllowance(account: PromiseOrValue<string>, token: PromiseOrValue<string>, targetContract: PromiseOrValue<string>, overrides?: Overrides & {
|
|
188
|
+
from?: PromiseOrValue<string>;
|
|
189
|
+
}): Promise<ContractTransaction>;
|
|
190
|
+
countCreditAccounts(overrides?: CallOverrides): Promise<[BigNumber]>;
|
|
191
|
+
countCreditAccountsInStock(overrides?: CallOverrides): Promise<[BigNumber]>;
|
|
192
|
+
creditAccounts(id: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[string]>;
|
|
193
|
+
finishMining(overrides?: Overrides & {
|
|
194
|
+
from?: PromiseOrValue<string>;
|
|
195
|
+
}): Promise<ContractTransaction>;
|
|
196
|
+
getNext(creditAccount: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[string]>;
|
|
197
|
+
head(overrides?: CallOverrides): Promise<[string]>;
|
|
198
|
+
isCreditAccount(addr: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[boolean]>;
|
|
199
|
+
isMiningFinished(overrides?: CallOverrides): Promise<[boolean]>;
|
|
200
|
+
masterCreditAccount(overrides?: CallOverrides): Promise<[string]>;
|
|
201
|
+
mineCreditAccount(overrides?: Overrides & {
|
|
202
|
+
from?: PromiseOrValue<string>;
|
|
203
|
+
}): Promise<ContractTransaction>;
|
|
204
|
+
miningApprovals(arg0: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[string, string] & {
|
|
205
|
+
token: string;
|
|
206
|
+
swapContract: string;
|
|
207
|
+
}>;
|
|
208
|
+
pause(overrides?: Overrides & {
|
|
209
|
+
from?: PromiseOrValue<string>;
|
|
210
|
+
}): Promise<ContractTransaction>;
|
|
211
|
+
paused(overrides?: CallOverrides): Promise<[boolean]>;
|
|
212
|
+
returnCreditAccount(usedAccount: PromiseOrValue<string>, overrides?: Overrides & {
|
|
213
|
+
from?: PromiseOrValue<string>;
|
|
214
|
+
}): Promise<ContractTransaction>;
|
|
215
|
+
tail(overrides?: CallOverrides): Promise<[string]>;
|
|
216
|
+
takeCreditAccount(_borrowedAmount: PromiseOrValue<BigNumberish>, _cumulativeIndexAtOpen: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
217
|
+
from?: PromiseOrValue<string>;
|
|
218
|
+
}): Promise<ContractTransaction>;
|
|
219
|
+
takeOut(prev: PromiseOrValue<string>, creditAccount: PromiseOrValue<string>, to: PromiseOrValue<string>, overrides?: Overrides & {
|
|
220
|
+
from?: PromiseOrValue<string>;
|
|
221
|
+
}): Promise<ContractTransaction>;
|
|
222
|
+
unpause(overrides?: Overrides & {
|
|
223
|
+
from?: PromiseOrValue<string>;
|
|
224
|
+
}): Promise<ContractTransaction>;
|
|
225
|
+
version(overrides?: CallOverrides): Promise<[BigNumber]>;
|
|
226
|
+
};
|
|
227
|
+
_contractsRegister(overrides?: CallOverrides): Promise<string>;
|
|
228
|
+
addCreditAccount(overrides?: Overrides & {
|
|
229
|
+
from?: PromiseOrValue<string>;
|
|
230
|
+
}): Promise<ContractTransaction>;
|
|
231
|
+
addMiningApprovals(_miningApprovals: DataTypes.MiningApprovalStruct[], overrides?: Overrides & {
|
|
232
|
+
from?: PromiseOrValue<string>;
|
|
233
|
+
}): Promise<ContractTransaction>;
|
|
234
|
+
cancelAllowance(account: PromiseOrValue<string>, token: PromiseOrValue<string>, targetContract: PromiseOrValue<string>, overrides?: Overrides & {
|
|
235
|
+
from?: PromiseOrValue<string>;
|
|
236
|
+
}): Promise<ContractTransaction>;
|
|
237
|
+
countCreditAccounts(overrides?: CallOverrides): Promise<BigNumber>;
|
|
238
|
+
countCreditAccountsInStock(overrides?: CallOverrides): Promise<BigNumber>;
|
|
239
|
+
creditAccounts(id: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<string>;
|
|
240
|
+
finishMining(overrides?: Overrides & {
|
|
241
|
+
from?: PromiseOrValue<string>;
|
|
242
|
+
}): Promise<ContractTransaction>;
|
|
243
|
+
getNext(creditAccount: PromiseOrValue<string>, overrides?: CallOverrides): Promise<string>;
|
|
244
|
+
head(overrides?: CallOverrides): Promise<string>;
|
|
245
|
+
isCreditAccount(addr: PromiseOrValue<string>, overrides?: CallOverrides): Promise<boolean>;
|
|
246
|
+
isMiningFinished(overrides?: CallOverrides): Promise<boolean>;
|
|
247
|
+
masterCreditAccount(overrides?: CallOverrides): Promise<string>;
|
|
248
|
+
mineCreditAccount(overrides?: Overrides & {
|
|
249
|
+
from?: PromiseOrValue<string>;
|
|
250
|
+
}): Promise<ContractTransaction>;
|
|
251
|
+
miningApprovals(arg0: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[string, string] & {
|
|
252
|
+
token: string;
|
|
253
|
+
swapContract: string;
|
|
254
|
+
}>;
|
|
255
|
+
pause(overrides?: Overrides & {
|
|
256
|
+
from?: PromiseOrValue<string>;
|
|
257
|
+
}): Promise<ContractTransaction>;
|
|
258
|
+
paused(overrides?: CallOverrides): Promise<boolean>;
|
|
259
|
+
returnCreditAccount(usedAccount: PromiseOrValue<string>, overrides?: Overrides & {
|
|
260
|
+
from?: PromiseOrValue<string>;
|
|
261
|
+
}): Promise<ContractTransaction>;
|
|
262
|
+
tail(overrides?: CallOverrides): Promise<string>;
|
|
263
|
+
takeCreditAccount(_borrowedAmount: PromiseOrValue<BigNumberish>, _cumulativeIndexAtOpen: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
264
|
+
from?: PromiseOrValue<string>;
|
|
265
|
+
}): Promise<ContractTransaction>;
|
|
266
|
+
takeOut(prev: PromiseOrValue<string>, creditAccount: PromiseOrValue<string>, to: PromiseOrValue<string>, overrides?: Overrides & {
|
|
267
|
+
from?: PromiseOrValue<string>;
|
|
268
|
+
}): Promise<ContractTransaction>;
|
|
269
|
+
unpause(overrides?: Overrides & {
|
|
270
|
+
from?: PromiseOrValue<string>;
|
|
271
|
+
}): Promise<ContractTransaction>;
|
|
272
|
+
version(overrides?: CallOverrides): Promise<BigNumber>;
|
|
273
|
+
callStatic: {
|
|
274
|
+
_contractsRegister(overrides?: CallOverrides): Promise<string>;
|
|
275
|
+
addCreditAccount(overrides?: CallOverrides): Promise<void>;
|
|
276
|
+
addMiningApprovals(_miningApprovals: DataTypes.MiningApprovalStruct[], overrides?: CallOverrides): Promise<void>;
|
|
277
|
+
cancelAllowance(account: PromiseOrValue<string>, token: PromiseOrValue<string>, targetContract: PromiseOrValue<string>, overrides?: CallOverrides): Promise<void>;
|
|
278
|
+
countCreditAccounts(overrides?: CallOverrides): Promise<BigNumber>;
|
|
279
|
+
countCreditAccountsInStock(overrides?: CallOverrides): Promise<BigNumber>;
|
|
280
|
+
creditAccounts(id: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<string>;
|
|
281
|
+
finishMining(overrides?: CallOverrides): Promise<void>;
|
|
282
|
+
getNext(creditAccount: PromiseOrValue<string>, overrides?: CallOverrides): Promise<string>;
|
|
283
|
+
head(overrides?: CallOverrides): Promise<string>;
|
|
284
|
+
isCreditAccount(addr: PromiseOrValue<string>, overrides?: CallOverrides): Promise<boolean>;
|
|
285
|
+
isMiningFinished(overrides?: CallOverrides): Promise<boolean>;
|
|
286
|
+
masterCreditAccount(overrides?: CallOverrides): Promise<string>;
|
|
287
|
+
mineCreditAccount(overrides?: CallOverrides): Promise<void>;
|
|
288
|
+
miningApprovals(arg0: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[string, string] & {
|
|
289
|
+
token: string;
|
|
290
|
+
swapContract: string;
|
|
291
|
+
}>;
|
|
292
|
+
pause(overrides?: CallOverrides): Promise<void>;
|
|
293
|
+
paused(overrides?: CallOverrides): Promise<boolean>;
|
|
294
|
+
returnCreditAccount(usedAccount: PromiseOrValue<string>, overrides?: CallOverrides): Promise<void>;
|
|
295
|
+
tail(overrides?: CallOverrides): Promise<string>;
|
|
296
|
+
takeCreditAccount(_borrowedAmount: PromiseOrValue<BigNumberish>, _cumulativeIndexAtOpen: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<string>;
|
|
297
|
+
takeOut(prev: PromiseOrValue<string>, creditAccount: PromiseOrValue<string>, to: PromiseOrValue<string>, overrides?: CallOverrides): Promise<void>;
|
|
298
|
+
unpause(overrides?: CallOverrides): Promise<void>;
|
|
299
|
+
version(overrides?: CallOverrides): Promise<BigNumber>;
|
|
300
|
+
};
|
|
301
|
+
filters: {
|
|
302
|
+
"AccountMinerChanged(address)"(miner?: PromiseOrValue<string> | null): AccountMinerChangedEventFilter;
|
|
303
|
+
AccountMinerChanged(miner?: PromiseOrValue<string> | null): AccountMinerChangedEventFilter;
|
|
304
|
+
"InitializeCreditAccount(address,address)"(account?: PromiseOrValue<string> | null, creditManager?: PromiseOrValue<string> | null): InitializeCreditAccountEventFilter;
|
|
305
|
+
InitializeCreditAccount(account?: PromiseOrValue<string> | null, creditManager?: PromiseOrValue<string> | null): InitializeCreditAccountEventFilter;
|
|
306
|
+
"NewCreditAccount(address)"(account?: PromiseOrValue<string> | null): NewCreditAccountEventFilter;
|
|
307
|
+
NewCreditAccount(account?: PromiseOrValue<string> | null): NewCreditAccountEventFilter;
|
|
308
|
+
"Paused(address)"(account?: null): PausedEventFilter;
|
|
309
|
+
Paused(account?: null): PausedEventFilter;
|
|
310
|
+
"ReturnCreditAccount(address)"(account?: PromiseOrValue<string> | null): ReturnCreditAccountEventFilter;
|
|
311
|
+
ReturnCreditAccount(account?: PromiseOrValue<string> | null): ReturnCreditAccountEventFilter;
|
|
312
|
+
"TakeForever(address,address)"(creditAccount?: PromiseOrValue<string> | null, to?: PromiseOrValue<string> | null): TakeForeverEventFilter;
|
|
313
|
+
TakeForever(creditAccount?: PromiseOrValue<string> | null, to?: PromiseOrValue<string> | null): TakeForeverEventFilter;
|
|
314
|
+
"Unpaused(address)"(account?: null): UnpausedEventFilter;
|
|
315
|
+
Unpaused(account?: null): UnpausedEventFilter;
|
|
316
|
+
};
|
|
317
|
+
estimateGas: {
|
|
318
|
+
_contractsRegister(overrides?: CallOverrides): Promise<BigNumber>;
|
|
319
|
+
addCreditAccount(overrides?: Overrides & {
|
|
320
|
+
from?: PromiseOrValue<string>;
|
|
321
|
+
}): Promise<BigNumber>;
|
|
322
|
+
addMiningApprovals(_miningApprovals: DataTypes.MiningApprovalStruct[], overrides?: Overrides & {
|
|
323
|
+
from?: PromiseOrValue<string>;
|
|
324
|
+
}): Promise<BigNumber>;
|
|
325
|
+
cancelAllowance(account: PromiseOrValue<string>, token: PromiseOrValue<string>, targetContract: PromiseOrValue<string>, overrides?: Overrides & {
|
|
326
|
+
from?: PromiseOrValue<string>;
|
|
327
|
+
}): Promise<BigNumber>;
|
|
328
|
+
countCreditAccounts(overrides?: CallOverrides): Promise<BigNumber>;
|
|
329
|
+
countCreditAccountsInStock(overrides?: CallOverrides): Promise<BigNumber>;
|
|
330
|
+
creditAccounts(id: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
331
|
+
finishMining(overrides?: Overrides & {
|
|
332
|
+
from?: PromiseOrValue<string>;
|
|
333
|
+
}): Promise<BigNumber>;
|
|
334
|
+
getNext(creditAccount: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
335
|
+
head(overrides?: CallOverrides): Promise<BigNumber>;
|
|
336
|
+
isCreditAccount(addr: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
337
|
+
isMiningFinished(overrides?: CallOverrides): Promise<BigNumber>;
|
|
338
|
+
masterCreditAccount(overrides?: CallOverrides): Promise<BigNumber>;
|
|
339
|
+
mineCreditAccount(overrides?: Overrides & {
|
|
340
|
+
from?: PromiseOrValue<string>;
|
|
341
|
+
}): Promise<BigNumber>;
|
|
342
|
+
miningApprovals(arg0: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
343
|
+
pause(overrides?: Overrides & {
|
|
344
|
+
from?: PromiseOrValue<string>;
|
|
345
|
+
}): Promise<BigNumber>;
|
|
346
|
+
paused(overrides?: CallOverrides): Promise<BigNumber>;
|
|
347
|
+
returnCreditAccount(usedAccount: PromiseOrValue<string>, overrides?: Overrides & {
|
|
348
|
+
from?: PromiseOrValue<string>;
|
|
349
|
+
}): Promise<BigNumber>;
|
|
350
|
+
tail(overrides?: CallOverrides): Promise<BigNumber>;
|
|
351
|
+
takeCreditAccount(_borrowedAmount: PromiseOrValue<BigNumberish>, _cumulativeIndexAtOpen: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
352
|
+
from?: PromiseOrValue<string>;
|
|
353
|
+
}): Promise<BigNumber>;
|
|
354
|
+
takeOut(prev: PromiseOrValue<string>, creditAccount: PromiseOrValue<string>, to: PromiseOrValue<string>, overrides?: Overrides & {
|
|
355
|
+
from?: PromiseOrValue<string>;
|
|
356
|
+
}): Promise<BigNumber>;
|
|
357
|
+
unpause(overrides?: Overrides & {
|
|
358
|
+
from?: PromiseOrValue<string>;
|
|
359
|
+
}): Promise<BigNumber>;
|
|
360
|
+
version(overrides?: CallOverrides): Promise<BigNumber>;
|
|
361
|
+
};
|
|
362
|
+
populateTransaction: {
|
|
363
|
+
_contractsRegister(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
364
|
+
addCreditAccount(overrides?: Overrides & {
|
|
365
|
+
from?: PromiseOrValue<string>;
|
|
366
|
+
}): Promise<PopulatedTransaction>;
|
|
367
|
+
addMiningApprovals(_miningApprovals: DataTypes.MiningApprovalStruct[], overrides?: Overrides & {
|
|
368
|
+
from?: PromiseOrValue<string>;
|
|
369
|
+
}): Promise<PopulatedTransaction>;
|
|
370
|
+
cancelAllowance(account: PromiseOrValue<string>, token: PromiseOrValue<string>, targetContract: PromiseOrValue<string>, overrides?: Overrides & {
|
|
371
|
+
from?: PromiseOrValue<string>;
|
|
372
|
+
}): Promise<PopulatedTransaction>;
|
|
373
|
+
countCreditAccounts(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
374
|
+
countCreditAccountsInStock(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
375
|
+
creditAccounts(id: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
376
|
+
finishMining(overrides?: Overrides & {
|
|
377
|
+
from?: PromiseOrValue<string>;
|
|
378
|
+
}): Promise<PopulatedTransaction>;
|
|
379
|
+
getNext(creditAccount: PromiseOrValue<string>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
380
|
+
head(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
381
|
+
isCreditAccount(addr: PromiseOrValue<string>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
382
|
+
isMiningFinished(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
383
|
+
masterCreditAccount(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
384
|
+
mineCreditAccount(overrides?: Overrides & {
|
|
385
|
+
from?: PromiseOrValue<string>;
|
|
386
|
+
}): Promise<PopulatedTransaction>;
|
|
387
|
+
miningApprovals(arg0: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
388
|
+
pause(overrides?: Overrides & {
|
|
389
|
+
from?: PromiseOrValue<string>;
|
|
390
|
+
}): Promise<PopulatedTransaction>;
|
|
391
|
+
paused(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
392
|
+
returnCreditAccount(usedAccount: PromiseOrValue<string>, overrides?: Overrides & {
|
|
393
|
+
from?: PromiseOrValue<string>;
|
|
394
|
+
}): Promise<PopulatedTransaction>;
|
|
395
|
+
tail(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
396
|
+
takeCreditAccount(_borrowedAmount: PromiseOrValue<BigNumberish>, _cumulativeIndexAtOpen: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
397
|
+
from?: PromiseOrValue<string>;
|
|
398
|
+
}): Promise<PopulatedTransaction>;
|
|
399
|
+
takeOut(prev: PromiseOrValue<string>, creditAccount: PromiseOrValue<string>, to: PromiseOrValue<string>, overrides?: Overrides & {
|
|
400
|
+
from?: PromiseOrValue<string>;
|
|
401
|
+
}): Promise<PopulatedTransaction>;
|
|
402
|
+
unpause(overrides?: Overrides & {
|
|
403
|
+
from?: PromiseOrValue<string>;
|
|
404
|
+
}): Promise<PopulatedTransaction>;
|
|
405
|
+
version(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
406
|
+
};
|
|
407
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AccountFactoryGearbox.js","sourceRoot":"","sources":["../../src/AccountFactoryGearbox.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, ContractTransaction, Overrides, PopulatedTransaction, Signer, utils } from "ethers";
|
|
5
|
+
import type { FunctionFragment, Result, EventFragment } from "@ethersproject/abi";
|
|
6
|
+
import type { Listener, Provider } from "@ethersproject/providers";
|
|
7
|
+
import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "./common";
|
|
8
|
+
export interface AccountFactoryV3GearboxInterface extends utils.Interface {
|
|
9
|
+
functions: {
|
|
10
|
+
"acl()": FunctionFragment;
|
|
11
|
+
"addCreditManager(address)": FunctionFragment;
|
|
12
|
+
"contractsRegister()": FunctionFragment;
|
|
13
|
+
"delay()": FunctionFragment;
|
|
14
|
+
"rescue(address,address,bytes)": FunctionFragment;
|
|
15
|
+
"returnCreditAccount(address)": FunctionFragment;
|
|
16
|
+
"takeCreditAccount(uint256,uint256)": FunctionFragment;
|
|
17
|
+
"version()": FunctionFragment;
|
|
18
|
+
};
|
|
19
|
+
getFunction(nameOrSignatureOrTopic: "acl" | "addCreditManager" | "contractsRegister" | "delay" | "rescue" | "returnCreditAccount" | "takeCreditAccount" | "version"): FunctionFragment;
|
|
20
|
+
encodeFunctionData(functionFragment: "acl", values?: undefined): string;
|
|
21
|
+
encodeFunctionData(functionFragment: "addCreditManager", values: [PromiseOrValue<string>]): string;
|
|
22
|
+
encodeFunctionData(functionFragment: "contractsRegister", values?: undefined): string;
|
|
23
|
+
encodeFunctionData(functionFragment: "delay", values?: undefined): string;
|
|
24
|
+
encodeFunctionData(functionFragment: "rescue", values: [
|
|
25
|
+
PromiseOrValue<string>,
|
|
26
|
+
PromiseOrValue<string>,
|
|
27
|
+
PromiseOrValue<BytesLike>
|
|
28
|
+
]): string;
|
|
29
|
+
encodeFunctionData(functionFragment: "returnCreditAccount", values: [PromiseOrValue<string>]): string;
|
|
30
|
+
encodeFunctionData(functionFragment: "takeCreditAccount", values: [PromiseOrValue<BigNumberish>, PromiseOrValue<BigNumberish>]): string;
|
|
31
|
+
encodeFunctionData(functionFragment: "version", values?: undefined): string;
|
|
32
|
+
decodeFunctionResult(functionFragment: "acl", data: BytesLike): Result;
|
|
33
|
+
decodeFunctionResult(functionFragment: "addCreditManager", data: BytesLike): Result;
|
|
34
|
+
decodeFunctionResult(functionFragment: "contractsRegister", data: BytesLike): Result;
|
|
35
|
+
decodeFunctionResult(functionFragment: "delay", data: BytesLike): Result;
|
|
36
|
+
decodeFunctionResult(functionFragment: "rescue", data: BytesLike): Result;
|
|
37
|
+
decodeFunctionResult(functionFragment: "returnCreditAccount", data: BytesLike): Result;
|
|
38
|
+
decodeFunctionResult(functionFragment: "takeCreditAccount", data: BytesLike): Result;
|
|
39
|
+
decodeFunctionResult(functionFragment: "version", data: BytesLike): Result;
|
|
40
|
+
events: {
|
|
41
|
+
"AddCreditManager(address,address)": EventFragment;
|
|
42
|
+
"DeployCreditAccount(address,address)": EventFragment;
|
|
43
|
+
"Rescue(address,address,bytes)": EventFragment;
|
|
44
|
+
"ReturnCreditAccount(address,address)": EventFragment;
|
|
45
|
+
"TakeCreditAccount(address,address)": EventFragment;
|
|
46
|
+
};
|
|
47
|
+
getEvent(nameOrSignatureOrTopic: "AddCreditManager"): EventFragment;
|
|
48
|
+
getEvent(nameOrSignatureOrTopic: "DeployCreditAccount"): EventFragment;
|
|
49
|
+
getEvent(nameOrSignatureOrTopic: "Rescue"): EventFragment;
|
|
50
|
+
getEvent(nameOrSignatureOrTopic: "ReturnCreditAccount"): EventFragment;
|
|
51
|
+
getEvent(nameOrSignatureOrTopic: "TakeCreditAccount"): EventFragment;
|
|
52
|
+
}
|
|
53
|
+
export interface AddCreditManagerEventObject {
|
|
54
|
+
creditManager: string;
|
|
55
|
+
masterCreditAccount: string;
|
|
56
|
+
}
|
|
57
|
+
export type AddCreditManagerEvent = TypedEvent<[
|
|
58
|
+
string,
|
|
59
|
+
string
|
|
60
|
+
], AddCreditManagerEventObject>;
|
|
61
|
+
export type AddCreditManagerEventFilter = TypedEventFilter<AddCreditManagerEvent>;
|
|
62
|
+
export interface DeployCreditAccountEventObject {
|
|
63
|
+
creditAccount: string;
|
|
64
|
+
creditManager: string;
|
|
65
|
+
}
|
|
66
|
+
export type DeployCreditAccountEvent = TypedEvent<[
|
|
67
|
+
string,
|
|
68
|
+
string
|
|
69
|
+
], DeployCreditAccountEventObject>;
|
|
70
|
+
export type DeployCreditAccountEventFilter = TypedEventFilter<DeployCreditAccountEvent>;
|
|
71
|
+
export interface RescueEventObject {
|
|
72
|
+
creditAccount: string;
|
|
73
|
+
target: string;
|
|
74
|
+
data: string;
|
|
75
|
+
}
|
|
76
|
+
export type RescueEvent = TypedEvent<[
|
|
77
|
+
string,
|
|
78
|
+
string,
|
|
79
|
+
string
|
|
80
|
+
], RescueEventObject>;
|
|
81
|
+
export type RescueEventFilter = TypedEventFilter<RescueEvent>;
|
|
82
|
+
export interface ReturnCreditAccountEventObject {
|
|
83
|
+
creditAccount: string;
|
|
84
|
+
creditManager: string;
|
|
85
|
+
}
|
|
86
|
+
export type ReturnCreditAccountEvent = TypedEvent<[
|
|
87
|
+
string,
|
|
88
|
+
string
|
|
89
|
+
], ReturnCreditAccountEventObject>;
|
|
90
|
+
export type ReturnCreditAccountEventFilter = TypedEventFilter<ReturnCreditAccountEvent>;
|
|
91
|
+
export interface TakeCreditAccountEventObject {
|
|
92
|
+
creditAccount: string;
|
|
93
|
+
creditManager: string;
|
|
94
|
+
}
|
|
95
|
+
export type TakeCreditAccountEvent = TypedEvent<[
|
|
96
|
+
string,
|
|
97
|
+
string
|
|
98
|
+
], TakeCreditAccountEventObject>;
|
|
99
|
+
export type TakeCreditAccountEventFilter = TypedEventFilter<TakeCreditAccountEvent>;
|
|
100
|
+
export interface AccountFactoryV3Gearbox extends BaseContract {
|
|
101
|
+
connect(signerOrProvider: Signer | Provider | string): this;
|
|
102
|
+
attach(addressOrName: string): this;
|
|
103
|
+
deployed(): Promise<this>;
|
|
104
|
+
interface: AccountFactoryV3GearboxInterface;
|
|
105
|
+
queryFilter<TEvent extends TypedEvent>(event: TypedEventFilter<TEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TEvent>>;
|
|
106
|
+
listeners<TEvent extends TypedEvent>(eventFilter?: TypedEventFilter<TEvent>): Array<TypedListener<TEvent>>;
|
|
107
|
+
listeners(eventName?: string): Array<Listener>;
|
|
108
|
+
removeAllListeners<TEvent extends TypedEvent>(eventFilter: TypedEventFilter<TEvent>): this;
|
|
109
|
+
removeAllListeners(eventName?: string): this;
|
|
110
|
+
off: OnEvent<this>;
|
|
111
|
+
on: OnEvent<this>;
|
|
112
|
+
once: OnEvent<this>;
|
|
113
|
+
removeListener: OnEvent<this>;
|
|
114
|
+
functions: {
|
|
115
|
+
acl(overrides?: CallOverrides): Promise<[string]>;
|
|
116
|
+
addCreditManager(creditManager: PromiseOrValue<string>, overrides?: Overrides & {
|
|
117
|
+
from?: PromiseOrValue<string>;
|
|
118
|
+
}): Promise<ContractTransaction>;
|
|
119
|
+
contractsRegister(overrides?: CallOverrides): Promise<[string]>;
|
|
120
|
+
delay(overrides?: CallOverrides): Promise<[number]>;
|
|
121
|
+
rescue(creditAccount: PromiseOrValue<string>, target: PromiseOrValue<string>, data: PromiseOrValue<BytesLike>, overrides?: Overrides & {
|
|
122
|
+
from?: PromiseOrValue<string>;
|
|
123
|
+
}): Promise<ContractTransaction>;
|
|
124
|
+
returnCreditAccount(creditAccount: PromiseOrValue<string>, overrides?: Overrides & {
|
|
125
|
+
from?: PromiseOrValue<string>;
|
|
126
|
+
}): Promise<ContractTransaction>;
|
|
127
|
+
takeCreditAccount(arg0: PromiseOrValue<BigNumberish>, arg1: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
128
|
+
from?: PromiseOrValue<string>;
|
|
129
|
+
}): Promise<ContractTransaction>;
|
|
130
|
+
version(overrides?: CallOverrides): Promise<[BigNumber]>;
|
|
131
|
+
};
|
|
132
|
+
acl(overrides?: CallOverrides): Promise<string>;
|
|
133
|
+
addCreditManager(creditManager: PromiseOrValue<string>, overrides?: Overrides & {
|
|
134
|
+
from?: PromiseOrValue<string>;
|
|
135
|
+
}): Promise<ContractTransaction>;
|
|
136
|
+
contractsRegister(overrides?: CallOverrides): Promise<string>;
|
|
137
|
+
delay(overrides?: CallOverrides): Promise<number>;
|
|
138
|
+
rescue(creditAccount: PromiseOrValue<string>, target: PromiseOrValue<string>, data: PromiseOrValue<BytesLike>, overrides?: Overrides & {
|
|
139
|
+
from?: PromiseOrValue<string>;
|
|
140
|
+
}): Promise<ContractTransaction>;
|
|
141
|
+
returnCreditAccount(creditAccount: PromiseOrValue<string>, overrides?: Overrides & {
|
|
142
|
+
from?: PromiseOrValue<string>;
|
|
143
|
+
}): Promise<ContractTransaction>;
|
|
144
|
+
takeCreditAccount(arg0: PromiseOrValue<BigNumberish>, arg1: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
145
|
+
from?: PromiseOrValue<string>;
|
|
146
|
+
}): Promise<ContractTransaction>;
|
|
147
|
+
version(overrides?: CallOverrides): Promise<BigNumber>;
|
|
148
|
+
callStatic: {
|
|
149
|
+
acl(overrides?: CallOverrides): Promise<string>;
|
|
150
|
+
addCreditManager(creditManager: PromiseOrValue<string>, overrides?: CallOverrides): Promise<void>;
|
|
151
|
+
contractsRegister(overrides?: CallOverrides): Promise<string>;
|
|
152
|
+
delay(overrides?: CallOverrides): Promise<number>;
|
|
153
|
+
rescue(creditAccount: PromiseOrValue<string>, target: PromiseOrValue<string>, data: PromiseOrValue<BytesLike>, overrides?: CallOverrides): Promise<void>;
|
|
154
|
+
returnCreditAccount(creditAccount: PromiseOrValue<string>, overrides?: CallOverrides): Promise<void>;
|
|
155
|
+
takeCreditAccount(arg0: PromiseOrValue<BigNumberish>, arg1: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<string>;
|
|
156
|
+
version(overrides?: CallOverrides): Promise<BigNumber>;
|
|
157
|
+
};
|
|
158
|
+
filters: {
|
|
159
|
+
"AddCreditManager(address,address)"(creditManager?: PromiseOrValue<string> | null, masterCreditAccount?: null): AddCreditManagerEventFilter;
|
|
160
|
+
AddCreditManager(creditManager?: PromiseOrValue<string> | null, masterCreditAccount?: null): AddCreditManagerEventFilter;
|
|
161
|
+
"DeployCreditAccount(address,address)"(creditAccount?: PromiseOrValue<string> | null, creditManager?: PromiseOrValue<string> | null): DeployCreditAccountEventFilter;
|
|
162
|
+
DeployCreditAccount(creditAccount?: PromiseOrValue<string> | null, creditManager?: PromiseOrValue<string> | null): DeployCreditAccountEventFilter;
|
|
163
|
+
"Rescue(address,address,bytes)"(creditAccount?: PromiseOrValue<string> | null, target?: PromiseOrValue<string> | null, data?: null): RescueEventFilter;
|
|
164
|
+
Rescue(creditAccount?: PromiseOrValue<string> | null, target?: PromiseOrValue<string> | null, data?: null): RescueEventFilter;
|
|
165
|
+
"ReturnCreditAccount(address,address)"(creditAccount?: PromiseOrValue<string> | null, creditManager?: PromiseOrValue<string> | null): ReturnCreditAccountEventFilter;
|
|
166
|
+
ReturnCreditAccount(creditAccount?: PromiseOrValue<string> | null, creditManager?: PromiseOrValue<string> | null): ReturnCreditAccountEventFilter;
|
|
167
|
+
"TakeCreditAccount(address,address)"(creditAccount?: PromiseOrValue<string> | null, creditManager?: PromiseOrValue<string> | null): TakeCreditAccountEventFilter;
|
|
168
|
+
TakeCreditAccount(creditAccount?: PromiseOrValue<string> | null, creditManager?: PromiseOrValue<string> | null): TakeCreditAccountEventFilter;
|
|
169
|
+
};
|
|
170
|
+
estimateGas: {
|
|
171
|
+
acl(overrides?: CallOverrides): Promise<BigNumber>;
|
|
172
|
+
addCreditManager(creditManager: PromiseOrValue<string>, overrides?: Overrides & {
|
|
173
|
+
from?: PromiseOrValue<string>;
|
|
174
|
+
}): Promise<BigNumber>;
|
|
175
|
+
contractsRegister(overrides?: CallOverrides): Promise<BigNumber>;
|
|
176
|
+
delay(overrides?: CallOverrides): Promise<BigNumber>;
|
|
177
|
+
rescue(creditAccount: PromiseOrValue<string>, target: PromiseOrValue<string>, data: PromiseOrValue<BytesLike>, overrides?: Overrides & {
|
|
178
|
+
from?: PromiseOrValue<string>;
|
|
179
|
+
}): Promise<BigNumber>;
|
|
180
|
+
returnCreditAccount(creditAccount: PromiseOrValue<string>, overrides?: Overrides & {
|
|
181
|
+
from?: PromiseOrValue<string>;
|
|
182
|
+
}): Promise<BigNumber>;
|
|
183
|
+
takeCreditAccount(arg0: PromiseOrValue<BigNumberish>, arg1: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
184
|
+
from?: PromiseOrValue<string>;
|
|
185
|
+
}): Promise<BigNumber>;
|
|
186
|
+
version(overrides?: CallOverrides): Promise<BigNumber>;
|
|
187
|
+
};
|
|
188
|
+
populateTransaction: {
|
|
189
|
+
acl(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
190
|
+
addCreditManager(creditManager: PromiseOrValue<string>, overrides?: Overrides & {
|
|
191
|
+
from?: PromiseOrValue<string>;
|
|
192
|
+
}): Promise<PopulatedTransaction>;
|
|
193
|
+
contractsRegister(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
194
|
+
delay(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
195
|
+
rescue(creditAccount: PromiseOrValue<string>, target: PromiseOrValue<string>, data: PromiseOrValue<BytesLike>, overrides?: Overrides & {
|
|
196
|
+
from?: PromiseOrValue<string>;
|
|
197
|
+
}): Promise<PopulatedTransaction>;
|
|
198
|
+
returnCreditAccount(creditAccount: PromiseOrValue<string>, overrides?: Overrides & {
|
|
199
|
+
from?: PromiseOrValue<string>;
|
|
200
|
+
}): Promise<PopulatedTransaction>;
|
|
201
|
+
takeCreditAccount(arg0: PromiseOrValue<BigNumberish>, arg1: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
202
|
+
from?: PromiseOrValue<string>;
|
|
203
|
+
}): Promise<PopulatedTransaction>;
|
|
204
|
+
version(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
205
|
+
};
|
|
206
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AccountFactoryV3Gearbox.js","sourceRoot":"","sources":["../../src/AccountFactoryV3Gearbox.ts"],"names":[],"mappings":""}
|