@merkl/contracts 1.31.20 → 1.31.22

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.
@@ -0,0 +1,91 @@
1
+ import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, ContractTransaction, PayableOverrides, PopulatedTransaction, Signer, utils } from "ethers";
2
+ import type { FunctionFragment, Result, EventFragment } from "@ethersproject/abi";
3
+ import type { Listener, Provider } from "@ethersproject/providers";
4
+ import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "./common";
5
+ export interface CoinbaseSmartWalletFactoryInterface extends utils.Interface {
6
+ functions: {
7
+ "createAccount(bytes[],uint256)": FunctionFragment;
8
+ "getAddress(bytes[],uint256)": FunctionFragment;
9
+ "implementation()": FunctionFragment;
10
+ "initCodeHash()": FunctionFragment;
11
+ };
12
+ getFunction(nameOrSignatureOrTopic: "createAccount" | "getAddress" | "implementation" | "initCodeHash"): FunctionFragment;
13
+ encodeFunctionData(functionFragment: "createAccount", values: [PromiseOrValue<BytesLike>[], PromiseOrValue<BigNumberish>]): string;
14
+ encodeFunctionData(functionFragment: "getAddress", values: [PromiseOrValue<BytesLike>[], PromiseOrValue<BigNumberish>]): string;
15
+ encodeFunctionData(functionFragment: "implementation", values?: undefined): string;
16
+ encodeFunctionData(functionFragment: "initCodeHash", values?: undefined): string;
17
+ decodeFunctionResult(functionFragment: "createAccount", data: BytesLike): Result;
18
+ decodeFunctionResult(functionFragment: "getAddress", data: BytesLike): Result;
19
+ decodeFunctionResult(functionFragment: "implementation", data: BytesLike): Result;
20
+ decodeFunctionResult(functionFragment: "initCodeHash", data: BytesLike): Result;
21
+ events: {
22
+ "AccountCreated(address,bytes[],uint256)": EventFragment;
23
+ };
24
+ getEvent(nameOrSignatureOrTopic: "AccountCreated"): EventFragment;
25
+ }
26
+ export interface AccountCreatedEventObject {
27
+ account: string;
28
+ owners: string[];
29
+ nonce: BigNumber;
30
+ }
31
+ export type AccountCreatedEvent = TypedEvent<[
32
+ string,
33
+ string[],
34
+ BigNumber
35
+ ], AccountCreatedEventObject>;
36
+ export type AccountCreatedEventFilter = TypedEventFilter<AccountCreatedEvent>;
37
+ export interface CoinbaseSmartWalletFactory extends BaseContract {
38
+ connect(signerOrProvider: Signer | Provider | string): this;
39
+ attach(addressOrName: string): this;
40
+ deployed(): Promise<this>;
41
+ interface: CoinbaseSmartWalletFactoryInterface;
42
+ queryFilter<TEvent extends TypedEvent>(event: TypedEventFilter<TEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TEvent>>;
43
+ listeners<TEvent extends TypedEvent>(eventFilter?: TypedEventFilter<TEvent>): Array<TypedListener<TEvent>>;
44
+ listeners(eventName?: string): Array<Listener>;
45
+ removeAllListeners<TEvent extends TypedEvent>(eventFilter: TypedEventFilter<TEvent>): this;
46
+ removeAllListeners(eventName?: string): this;
47
+ off: OnEvent<this>;
48
+ on: OnEvent<this>;
49
+ once: OnEvent<this>;
50
+ removeListener: OnEvent<this>;
51
+ functions: {
52
+ createAccount(owners: PromiseOrValue<BytesLike>[], nonce: PromiseOrValue<BigNumberish>, overrides?: PayableOverrides & {
53
+ from?: PromiseOrValue<string>;
54
+ }): Promise<ContractTransaction>;
55
+ getAddress(owners: PromiseOrValue<BytesLike>[], nonce: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[string]>;
56
+ implementation(overrides?: CallOverrides): Promise<[string]>;
57
+ initCodeHash(overrides?: CallOverrides): Promise<[string]>;
58
+ };
59
+ createAccount(owners: PromiseOrValue<BytesLike>[], nonce: PromiseOrValue<BigNumberish>, overrides?: PayableOverrides & {
60
+ from?: PromiseOrValue<string>;
61
+ }): Promise<ContractTransaction>;
62
+ getAddress(owners: PromiseOrValue<BytesLike>[], nonce: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<string>;
63
+ implementation(overrides?: CallOverrides): Promise<string>;
64
+ initCodeHash(overrides?: CallOverrides): Promise<string>;
65
+ callStatic: {
66
+ createAccount(owners: PromiseOrValue<BytesLike>[], nonce: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<string>;
67
+ getAddress(owners: PromiseOrValue<BytesLike>[], nonce: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<string>;
68
+ implementation(overrides?: CallOverrides): Promise<string>;
69
+ initCodeHash(overrides?: CallOverrides): Promise<string>;
70
+ };
71
+ filters: {
72
+ "AccountCreated(address,bytes[],uint256)"(account?: PromiseOrValue<string> | null, owners?: null, nonce?: null): AccountCreatedEventFilter;
73
+ AccountCreated(account?: PromiseOrValue<string> | null, owners?: null, nonce?: null): AccountCreatedEventFilter;
74
+ };
75
+ estimateGas: {
76
+ createAccount(owners: PromiseOrValue<BytesLike>[], nonce: PromiseOrValue<BigNumberish>, overrides?: PayableOverrides & {
77
+ from?: PromiseOrValue<string>;
78
+ }): Promise<BigNumber>;
79
+ getAddress(owners: PromiseOrValue<BytesLike>[], nonce: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
80
+ implementation(overrides?: CallOverrides): Promise<BigNumber>;
81
+ initCodeHash(overrides?: CallOverrides): Promise<BigNumber>;
82
+ };
83
+ populateTransaction: {
84
+ createAccount(owners: PromiseOrValue<BytesLike>[], nonce: PromiseOrValue<BigNumberish>, overrides?: PayableOverrides & {
85
+ from?: PromiseOrValue<string>;
86
+ }): Promise<PopulatedTransaction>;
87
+ getAddress(owners: PromiseOrValue<BytesLike>[], nonce: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
88
+ implementation(overrides?: CallOverrides): Promise<PopulatedTransaction>;
89
+ initCodeHash(overrides?: CallOverrides): Promise<PopulatedTransaction>;
90
+ };
91
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=CoinbaseSmartWalletFactory.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CoinbaseSmartWalletFactory.js","sourceRoot":"","sources":["../../src/CoinbaseSmartWalletFactory.ts"],"names":[],"mappings":""}
@@ -0,0 +1,217 @@
1
+ import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, ContractTransaction, Overrides, PopulatedTransaction, Signer, utils } from "ethers";
2
+ import type { FunctionFragment, Result, EventFragment } from "@ethersproject/abi";
3
+ import type { Listener, Provider } from "@ethersproject/providers";
4
+ import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "./common";
5
+ export interface MamoStrategyFactoryInterface extends utils.Interface {
6
+ functions: {
7
+ "MAX_COMPOUND_FEE()": FunctionFragment;
8
+ "MAX_SLIPPAGE_IN_BPS()": FunctionFragment;
9
+ "SPLIT_TOTAL()": FunctionFragment;
10
+ "allowedSlippageInBps()": FunctionFragment;
11
+ "compoundFee()": FunctionFragment;
12
+ "createStrategyForUser(address)": FunctionFragment;
13
+ "feeRecipient()": FunctionFragment;
14
+ "hookGasLimit()": FunctionFragment;
15
+ "mToken()": FunctionFragment;
16
+ "mamoBackend()": FunctionFragment;
17
+ "mamoStrategyRegistry()": FunctionFragment;
18
+ "mamoStrategyRegistryInterface()": FunctionFragment;
19
+ "metaMorphoVault()": FunctionFragment;
20
+ "rewardTokens(uint256)": FunctionFragment;
21
+ "slippagePriceChecker()": FunctionFragment;
22
+ "splitMToken()": FunctionFragment;
23
+ "splitVault()": FunctionFragment;
24
+ "strategyImplementation()": FunctionFragment;
25
+ "strategyTypeId()": FunctionFragment;
26
+ "token()": FunctionFragment;
27
+ };
28
+ getFunction(nameOrSignatureOrTopic: "MAX_COMPOUND_FEE" | "MAX_SLIPPAGE_IN_BPS" | "SPLIT_TOTAL" | "allowedSlippageInBps" | "compoundFee" | "createStrategyForUser" | "feeRecipient" | "hookGasLimit" | "mToken" | "mamoBackend" | "mamoStrategyRegistry" | "mamoStrategyRegistryInterface" | "metaMorphoVault" | "rewardTokens" | "slippagePriceChecker" | "splitMToken" | "splitVault" | "strategyImplementation" | "strategyTypeId" | "token"): FunctionFragment;
29
+ encodeFunctionData(functionFragment: "MAX_COMPOUND_FEE", values?: undefined): string;
30
+ encodeFunctionData(functionFragment: "MAX_SLIPPAGE_IN_BPS", values?: undefined): string;
31
+ encodeFunctionData(functionFragment: "SPLIT_TOTAL", values?: undefined): string;
32
+ encodeFunctionData(functionFragment: "allowedSlippageInBps", values?: undefined): string;
33
+ encodeFunctionData(functionFragment: "compoundFee", values?: undefined): string;
34
+ encodeFunctionData(functionFragment: "createStrategyForUser", values: [PromiseOrValue<string>]): string;
35
+ encodeFunctionData(functionFragment: "feeRecipient", values?: undefined): string;
36
+ encodeFunctionData(functionFragment: "hookGasLimit", values?: undefined): string;
37
+ encodeFunctionData(functionFragment: "mToken", values?: undefined): string;
38
+ encodeFunctionData(functionFragment: "mamoBackend", values?: undefined): string;
39
+ encodeFunctionData(functionFragment: "mamoStrategyRegistry", values?: undefined): string;
40
+ encodeFunctionData(functionFragment: "mamoStrategyRegistryInterface", values?: undefined): string;
41
+ encodeFunctionData(functionFragment: "metaMorphoVault", values?: undefined): string;
42
+ encodeFunctionData(functionFragment: "rewardTokens", values: [PromiseOrValue<BigNumberish>]): string;
43
+ encodeFunctionData(functionFragment: "slippagePriceChecker", values?: undefined): string;
44
+ encodeFunctionData(functionFragment: "splitMToken", values?: undefined): string;
45
+ encodeFunctionData(functionFragment: "splitVault", values?: undefined): string;
46
+ encodeFunctionData(functionFragment: "strategyImplementation", values?: undefined): string;
47
+ encodeFunctionData(functionFragment: "strategyTypeId", values?: undefined): string;
48
+ encodeFunctionData(functionFragment: "token", values?: undefined): string;
49
+ decodeFunctionResult(functionFragment: "MAX_COMPOUND_FEE", data: BytesLike): Result;
50
+ decodeFunctionResult(functionFragment: "MAX_SLIPPAGE_IN_BPS", data: BytesLike): Result;
51
+ decodeFunctionResult(functionFragment: "SPLIT_TOTAL", data: BytesLike): Result;
52
+ decodeFunctionResult(functionFragment: "allowedSlippageInBps", data: BytesLike): Result;
53
+ decodeFunctionResult(functionFragment: "compoundFee", data: BytesLike): Result;
54
+ decodeFunctionResult(functionFragment: "createStrategyForUser", data: BytesLike): Result;
55
+ decodeFunctionResult(functionFragment: "feeRecipient", data: BytesLike): Result;
56
+ decodeFunctionResult(functionFragment: "hookGasLimit", data: BytesLike): Result;
57
+ decodeFunctionResult(functionFragment: "mToken", data: BytesLike): Result;
58
+ decodeFunctionResult(functionFragment: "mamoBackend", data: BytesLike): Result;
59
+ decodeFunctionResult(functionFragment: "mamoStrategyRegistry", data: BytesLike): Result;
60
+ decodeFunctionResult(functionFragment: "mamoStrategyRegistryInterface", data: BytesLike): Result;
61
+ decodeFunctionResult(functionFragment: "metaMorphoVault", data: BytesLike): Result;
62
+ decodeFunctionResult(functionFragment: "rewardTokens", data: BytesLike): Result;
63
+ decodeFunctionResult(functionFragment: "slippagePriceChecker", data: BytesLike): Result;
64
+ decodeFunctionResult(functionFragment: "splitMToken", data: BytesLike): Result;
65
+ decodeFunctionResult(functionFragment: "splitVault", data: BytesLike): Result;
66
+ decodeFunctionResult(functionFragment: "strategyImplementation", data: BytesLike): Result;
67
+ decodeFunctionResult(functionFragment: "strategyTypeId", data: BytesLike): Result;
68
+ decodeFunctionResult(functionFragment: "token", data: BytesLike): Result;
69
+ events: {
70
+ "StrategyCreated(address,address)": EventFragment;
71
+ };
72
+ getEvent(nameOrSignatureOrTopic: "StrategyCreated"): EventFragment;
73
+ }
74
+ export interface StrategyCreatedEventObject {
75
+ user: string;
76
+ strategy: string;
77
+ }
78
+ export type StrategyCreatedEvent = TypedEvent<[
79
+ string,
80
+ string
81
+ ], StrategyCreatedEventObject>;
82
+ export type StrategyCreatedEventFilter = TypedEventFilter<StrategyCreatedEvent>;
83
+ export interface MamoStrategyFactory extends BaseContract {
84
+ connect(signerOrProvider: Signer | Provider | string): this;
85
+ attach(addressOrName: string): this;
86
+ deployed(): Promise<this>;
87
+ interface: MamoStrategyFactoryInterface;
88
+ queryFilter<TEvent extends TypedEvent>(event: TypedEventFilter<TEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TEvent>>;
89
+ listeners<TEvent extends TypedEvent>(eventFilter?: TypedEventFilter<TEvent>): Array<TypedListener<TEvent>>;
90
+ listeners(eventName?: string): Array<Listener>;
91
+ removeAllListeners<TEvent extends TypedEvent>(eventFilter: TypedEventFilter<TEvent>): this;
92
+ removeAllListeners(eventName?: string): this;
93
+ off: OnEvent<this>;
94
+ on: OnEvent<this>;
95
+ once: OnEvent<this>;
96
+ removeListener: OnEvent<this>;
97
+ functions: {
98
+ MAX_COMPOUND_FEE(overrides?: CallOverrides): Promise<[BigNumber]>;
99
+ MAX_SLIPPAGE_IN_BPS(overrides?: CallOverrides): Promise<[BigNumber]>;
100
+ SPLIT_TOTAL(overrides?: CallOverrides): Promise<[BigNumber]>;
101
+ allowedSlippageInBps(overrides?: CallOverrides): Promise<[BigNumber]>;
102
+ compoundFee(overrides?: CallOverrides): Promise<[BigNumber]>;
103
+ createStrategyForUser(user: PromiseOrValue<string>, overrides?: Overrides & {
104
+ from?: PromiseOrValue<string>;
105
+ }): Promise<ContractTransaction>;
106
+ feeRecipient(overrides?: CallOverrides): Promise<[string]>;
107
+ hookGasLimit(overrides?: CallOverrides): Promise<[BigNumber]>;
108
+ mToken(overrides?: CallOverrides): Promise<[string]>;
109
+ mamoBackend(overrides?: CallOverrides): Promise<[string]>;
110
+ mamoStrategyRegistry(overrides?: CallOverrides): Promise<[string]>;
111
+ mamoStrategyRegistryInterface(overrides?: CallOverrides): Promise<[string]>;
112
+ metaMorphoVault(overrides?: CallOverrides): Promise<[string]>;
113
+ rewardTokens(arg0: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[string]>;
114
+ slippagePriceChecker(overrides?: CallOverrides): Promise<[string]>;
115
+ splitMToken(overrides?: CallOverrides): Promise<[BigNumber]>;
116
+ splitVault(overrides?: CallOverrides): Promise<[BigNumber]>;
117
+ strategyImplementation(overrides?: CallOverrides): Promise<[string]>;
118
+ strategyTypeId(overrides?: CallOverrides): Promise<[BigNumber]>;
119
+ token(overrides?: CallOverrides): Promise<[string]>;
120
+ };
121
+ MAX_COMPOUND_FEE(overrides?: CallOverrides): Promise<BigNumber>;
122
+ MAX_SLIPPAGE_IN_BPS(overrides?: CallOverrides): Promise<BigNumber>;
123
+ SPLIT_TOTAL(overrides?: CallOverrides): Promise<BigNumber>;
124
+ allowedSlippageInBps(overrides?: CallOverrides): Promise<BigNumber>;
125
+ compoundFee(overrides?: CallOverrides): Promise<BigNumber>;
126
+ createStrategyForUser(user: PromiseOrValue<string>, overrides?: Overrides & {
127
+ from?: PromiseOrValue<string>;
128
+ }): Promise<ContractTransaction>;
129
+ feeRecipient(overrides?: CallOverrides): Promise<string>;
130
+ hookGasLimit(overrides?: CallOverrides): Promise<BigNumber>;
131
+ mToken(overrides?: CallOverrides): Promise<string>;
132
+ mamoBackend(overrides?: CallOverrides): Promise<string>;
133
+ mamoStrategyRegistry(overrides?: CallOverrides): Promise<string>;
134
+ mamoStrategyRegistryInterface(overrides?: CallOverrides): Promise<string>;
135
+ metaMorphoVault(overrides?: CallOverrides): Promise<string>;
136
+ rewardTokens(arg0: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<string>;
137
+ slippagePriceChecker(overrides?: CallOverrides): Promise<string>;
138
+ splitMToken(overrides?: CallOverrides): Promise<BigNumber>;
139
+ splitVault(overrides?: CallOverrides): Promise<BigNumber>;
140
+ strategyImplementation(overrides?: CallOverrides): Promise<string>;
141
+ strategyTypeId(overrides?: CallOverrides): Promise<BigNumber>;
142
+ token(overrides?: CallOverrides): Promise<string>;
143
+ callStatic: {
144
+ MAX_COMPOUND_FEE(overrides?: CallOverrides): Promise<BigNumber>;
145
+ MAX_SLIPPAGE_IN_BPS(overrides?: CallOverrides): Promise<BigNumber>;
146
+ SPLIT_TOTAL(overrides?: CallOverrides): Promise<BigNumber>;
147
+ allowedSlippageInBps(overrides?: CallOverrides): Promise<BigNumber>;
148
+ compoundFee(overrides?: CallOverrides): Promise<BigNumber>;
149
+ createStrategyForUser(user: PromiseOrValue<string>, overrides?: CallOverrides): Promise<string>;
150
+ feeRecipient(overrides?: CallOverrides): Promise<string>;
151
+ hookGasLimit(overrides?: CallOverrides): Promise<BigNumber>;
152
+ mToken(overrides?: CallOverrides): Promise<string>;
153
+ mamoBackend(overrides?: CallOverrides): Promise<string>;
154
+ mamoStrategyRegistry(overrides?: CallOverrides): Promise<string>;
155
+ mamoStrategyRegistryInterface(overrides?: CallOverrides): Promise<string>;
156
+ metaMorphoVault(overrides?: CallOverrides): Promise<string>;
157
+ rewardTokens(arg0: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<string>;
158
+ slippagePriceChecker(overrides?: CallOverrides): Promise<string>;
159
+ splitMToken(overrides?: CallOverrides): Promise<BigNumber>;
160
+ splitVault(overrides?: CallOverrides): Promise<BigNumber>;
161
+ strategyImplementation(overrides?: CallOverrides): Promise<string>;
162
+ strategyTypeId(overrides?: CallOverrides): Promise<BigNumber>;
163
+ token(overrides?: CallOverrides): Promise<string>;
164
+ };
165
+ filters: {
166
+ "StrategyCreated(address,address)"(user?: PromiseOrValue<string> | null, strategy?: PromiseOrValue<string> | null): StrategyCreatedEventFilter;
167
+ StrategyCreated(user?: PromiseOrValue<string> | null, strategy?: PromiseOrValue<string> | null): StrategyCreatedEventFilter;
168
+ };
169
+ estimateGas: {
170
+ MAX_COMPOUND_FEE(overrides?: CallOverrides): Promise<BigNumber>;
171
+ MAX_SLIPPAGE_IN_BPS(overrides?: CallOverrides): Promise<BigNumber>;
172
+ SPLIT_TOTAL(overrides?: CallOverrides): Promise<BigNumber>;
173
+ allowedSlippageInBps(overrides?: CallOverrides): Promise<BigNumber>;
174
+ compoundFee(overrides?: CallOverrides): Promise<BigNumber>;
175
+ createStrategyForUser(user: PromiseOrValue<string>, overrides?: Overrides & {
176
+ from?: PromiseOrValue<string>;
177
+ }): Promise<BigNumber>;
178
+ feeRecipient(overrides?: CallOverrides): Promise<BigNumber>;
179
+ hookGasLimit(overrides?: CallOverrides): Promise<BigNumber>;
180
+ mToken(overrides?: CallOverrides): Promise<BigNumber>;
181
+ mamoBackend(overrides?: CallOverrides): Promise<BigNumber>;
182
+ mamoStrategyRegistry(overrides?: CallOverrides): Promise<BigNumber>;
183
+ mamoStrategyRegistryInterface(overrides?: CallOverrides): Promise<BigNumber>;
184
+ metaMorphoVault(overrides?: CallOverrides): Promise<BigNumber>;
185
+ rewardTokens(arg0: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
186
+ slippagePriceChecker(overrides?: CallOverrides): Promise<BigNumber>;
187
+ splitMToken(overrides?: CallOverrides): Promise<BigNumber>;
188
+ splitVault(overrides?: CallOverrides): Promise<BigNumber>;
189
+ strategyImplementation(overrides?: CallOverrides): Promise<BigNumber>;
190
+ strategyTypeId(overrides?: CallOverrides): Promise<BigNumber>;
191
+ token(overrides?: CallOverrides): Promise<BigNumber>;
192
+ };
193
+ populateTransaction: {
194
+ MAX_COMPOUND_FEE(overrides?: CallOverrides): Promise<PopulatedTransaction>;
195
+ MAX_SLIPPAGE_IN_BPS(overrides?: CallOverrides): Promise<PopulatedTransaction>;
196
+ SPLIT_TOTAL(overrides?: CallOverrides): Promise<PopulatedTransaction>;
197
+ allowedSlippageInBps(overrides?: CallOverrides): Promise<PopulatedTransaction>;
198
+ compoundFee(overrides?: CallOverrides): Promise<PopulatedTransaction>;
199
+ createStrategyForUser(user: PromiseOrValue<string>, overrides?: Overrides & {
200
+ from?: PromiseOrValue<string>;
201
+ }): Promise<PopulatedTransaction>;
202
+ feeRecipient(overrides?: CallOverrides): Promise<PopulatedTransaction>;
203
+ hookGasLimit(overrides?: CallOverrides): Promise<PopulatedTransaction>;
204
+ mToken(overrides?: CallOverrides): Promise<PopulatedTransaction>;
205
+ mamoBackend(overrides?: CallOverrides): Promise<PopulatedTransaction>;
206
+ mamoStrategyRegistry(overrides?: CallOverrides): Promise<PopulatedTransaction>;
207
+ mamoStrategyRegistryInterface(overrides?: CallOverrides): Promise<PopulatedTransaction>;
208
+ metaMorphoVault(overrides?: CallOverrides): Promise<PopulatedTransaction>;
209
+ rewardTokens(arg0: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
210
+ slippagePriceChecker(overrides?: CallOverrides): Promise<PopulatedTransaction>;
211
+ splitMToken(overrides?: CallOverrides): Promise<PopulatedTransaction>;
212
+ splitVault(overrides?: CallOverrides): Promise<PopulatedTransaction>;
213
+ strategyImplementation(overrides?: CallOverrides): Promise<PopulatedTransaction>;
214
+ strategyTypeId(overrides?: CallOverrides): Promise<PopulatedTransaction>;
215
+ token(overrides?: CallOverrides): Promise<PopulatedTransaction>;
216
+ };
217
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=MamoStrategyFactory.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MamoStrategyFactory.js","sourceRoot":"","sources":["../../src/MamoStrategyFactory.ts"],"names":[],"mappings":""}
@@ -0,0 +1,100 @@
1
+ import { Signer } from "ethers";
2
+ import type { Provider } from "@ethersproject/providers";
3
+ import type { CoinbaseSmartWalletFactory, CoinbaseSmartWalletFactoryInterface } from "../CoinbaseSmartWalletFactory";
4
+ export declare class CoinbaseSmartWalletFactory__factory {
5
+ static readonly abi: readonly [{
6
+ readonly inputs: readonly [{
7
+ readonly internalType: "address";
8
+ readonly name: "implementation_";
9
+ readonly type: "address";
10
+ }];
11
+ readonly stateMutability: "payable";
12
+ readonly type: "constructor";
13
+ }, {
14
+ readonly inputs: readonly [];
15
+ readonly name: "ImplementationUndeployed";
16
+ readonly type: "error";
17
+ }, {
18
+ readonly inputs: readonly [];
19
+ readonly name: "OwnerRequired";
20
+ readonly type: "error";
21
+ }, {
22
+ readonly anonymous: false;
23
+ readonly inputs: readonly [{
24
+ readonly indexed: true;
25
+ readonly internalType: "address";
26
+ readonly name: "account";
27
+ readonly type: "address";
28
+ }, {
29
+ readonly indexed: false;
30
+ readonly internalType: "bytes[]";
31
+ readonly name: "owners";
32
+ readonly type: "bytes[]";
33
+ }, {
34
+ readonly indexed: false;
35
+ readonly internalType: "uint256";
36
+ readonly name: "nonce";
37
+ readonly type: "uint256";
38
+ }];
39
+ readonly name: "AccountCreated";
40
+ readonly type: "event";
41
+ }, {
42
+ readonly inputs: readonly [{
43
+ readonly internalType: "bytes[]";
44
+ readonly name: "owners";
45
+ readonly type: "bytes[]";
46
+ }, {
47
+ readonly internalType: "uint256";
48
+ readonly name: "nonce";
49
+ readonly type: "uint256";
50
+ }];
51
+ readonly name: "createAccount";
52
+ readonly outputs: readonly [{
53
+ readonly internalType: "contract CoinbaseSmartWallet";
54
+ readonly name: "account";
55
+ readonly type: "address";
56
+ }];
57
+ readonly stateMutability: "payable";
58
+ readonly type: "function";
59
+ }, {
60
+ readonly inputs: readonly [{
61
+ readonly internalType: "bytes[]";
62
+ readonly name: "owners";
63
+ readonly type: "bytes[]";
64
+ }, {
65
+ readonly internalType: "uint256";
66
+ readonly name: "nonce";
67
+ readonly type: "uint256";
68
+ }];
69
+ readonly name: "getAddress";
70
+ readonly outputs: readonly [{
71
+ readonly internalType: "address";
72
+ readonly name: "";
73
+ readonly type: "address";
74
+ }];
75
+ readonly stateMutability: "view";
76
+ readonly type: "function";
77
+ }, {
78
+ readonly inputs: readonly [];
79
+ readonly name: "implementation";
80
+ readonly outputs: readonly [{
81
+ readonly internalType: "address";
82
+ readonly name: "";
83
+ readonly type: "address";
84
+ }];
85
+ readonly stateMutability: "view";
86
+ readonly type: "function";
87
+ }, {
88
+ readonly inputs: readonly [];
89
+ readonly name: "initCodeHash";
90
+ readonly outputs: readonly [{
91
+ readonly internalType: "bytes32";
92
+ readonly name: "";
93
+ readonly type: "bytes32";
94
+ }];
95
+ readonly stateMutability: "view";
96
+ readonly type: "function";
97
+ }];
98
+ static createInterface(): CoinbaseSmartWalletFactoryInterface;
99
+ static connect(address: string, signerOrProvider: Signer | Provider): CoinbaseSmartWalletFactory;
100
+ }
@@ -0,0 +1,136 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ import { Contract, utils } from "ethers";
5
+ const _abi = [
6
+ {
7
+ inputs: [
8
+ {
9
+ internalType: "address",
10
+ name: "implementation_",
11
+ type: "address",
12
+ },
13
+ ],
14
+ stateMutability: "payable",
15
+ type: "constructor",
16
+ },
17
+ {
18
+ inputs: [],
19
+ name: "ImplementationUndeployed",
20
+ type: "error",
21
+ },
22
+ {
23
+ inputs: [],
24
+ name: "OwnerRequired",
25
+ type: "error",
26
+ },
27
+ {
28
+ anonymous: false,
29
+ inputs: [
30
+ {
31
+ indexed: true,
32
+ internalType: "address",
33
+ name: "account",
34
+ type: "address",
35
+ },
36
+ {
37
+ indexed: false,
38
+ internalType: "bytes[]",
39
+ name: "owners",
40
+ type: "bytes[]",
41
+ },
42
+ {
43
+ indexed: false,
44
+ internalType: "uint256",
45
+ name: "nonce",
46
+ type: "uint256",
47
+ },
48
+ ],
49
+ name: "AccountCreated",
50
+ type: "event",
51
+ },
52
+ {
53
+ inputs: [
54
+ {
55
+ internalType: "bytes[]",
56
+ name: "owners",
57
+ type: "bytes[]",
58
+ },
59
+ {
60
+ internalType: "uint256",
61
+ name: "nonce",
62
+ type: "uint256",
63
+ },
64
+ ],
65
+ name: "createAccount",
66
+ outputs: [
67
+ {
68
+ internalType: "contract CoinbaseSmartWallet",
69
+ name: "account",
70
+ type: "address",
71
+ },
72
+ ],
73
+ stateMutability: "payable",
74
+ type: "function",
75
+ },
76
+ {
77
+ inputs: [
78
+ {
79
+ internalType: "bytes[]",
80
+ name: "owners",
81
+ type: "bytes[]",
82
+ },
83
+ {
84
+ internalType: "uint256",
85
+ name: "nonce",
86
+ type: "uint256",
87
+ },
88
+ ],
89
+ name: "getAddress",
90
+ outputs: [
91
+ {
92
+ internalType: "address",
93
+ name: "",
94
+ type: "address",
95
+ },
96
+ ],
97
+ stateMutability: "view",
98
+ type: "function",
99
+ },
100
+ {
101
+ inputs: [],
102
+ name: "implementation",
103
+ outputs: [
104
+ {
105
+ internalType: "address",
106
+ name: "",
107
+ type: "address",
108
+ },
109
+ ],
110
+ stateMutability: "view",
111
+ type: "function",
112
+ },
113
+ {
114
+ inputs: [],
115
+ name: "initCodeHash",
116
+ outputs: [
117
+ {
118
+ internalType: "bytes32",
119
+ name: "",
120
+ type: "bytes32",
121
+ },
122
+ ],
123
+ stateMutability: "view",
124
+ type: "function",
125
+ },
126
+ ];
127
+ export class CoinbaseSmartWalletFactory__factory {
128
+ static abi = _abi;
129
+ static createInterface() {
130
+ return new utils.Interface(_abi);
131
+ }
132
+ static connect(address, signerOrProvider) {
133
+ return new Contract(address, _abi, signerOrProvider);
134
+ }
135
+ }
136
+ //# sourceMappingURL=CoinbaseSmartWalletFactory__factory.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CoinbaseSmartWalletFactory__factory.js","sourceRoot":"","sources":["../../../src/factories/CoinbaseSmartWalletFactory__factory.ts"],"names":[],"mappings":"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"}