@somnia-chain/contracts-sdk 0.3.9 → 0.3.13
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/gen/abi/prophecy-oracle/OracleCore.js +6 -0
- package/dist/gen/abi/prophecy-oracle/OracleEntryPoint.d.ts +2 -2
- package/dist/gen/abi/prophecy-oracle/OracleEntryPoint.js +8 -2
- package/dist/gen/abi/prophecy-oracle/PriceFeedScheduler.js +6 -0
- package/dist/gen/abi/prophecy-oracle/QuestionModerationRegistry.js +6 -0
- package/dist/gen/abi/prophecy-oracle/QuestionNameRegistry.js +6 -0
- package/dist/gen/abi/somnia-agents/agentRegistry.js +7 -0
- package/dist/gen/abi/somnia-dex-protocol/dream-vault.implementation.d.ts +2 -2
- package/dist/gen/abi/somnia-dex-protocol/dream-vault.implementation.js +7 -2
- package/dist/gen/abi/somnia-dex-protocol/perp-liquidation-swapper.implementation.d.ts +2 -2
- package/dist/gen/abi/somnia-dex-protocol/perp-liquidation-swapper.implementation.js +2 -6
- package/dist/gen/abi/somnia-dex-protocol/perps-protocol.LIT-PERP_baseToken.d.ts +2 -0
- package/dist/gen/abi/somnia-dex-protocol/perps-protocol.LIT-PERP_baseToken.js +3 -0
- package/dist/gen/abi/somnia-dex-protocol/perps-protocol.WTI-PERP_baseToken.d.ts +2 -0
- package/dist/gen/abi/somnia-dex-protocol/perps-protocol.WTI-PERP_baseToken.js +3 -0
- package/dist/gen/abi/somnia-dex-protocol/perps-protocol.ZEC-PERP_baseToken.d.ts +2 -0
- package/dist/gen/abi/somnia-dex-protocol/perps-protocol.ZEC-PERP_baseToken.js +3 -0
- package/dist/gen/abi/somnia-dex-protocol/perps-protocol.perpsKeeperLens.d.ts +2 -0
- package/dist/gen/abi/somnia-dex-protocol/perps-protocol.perpsKeeperLens.js +3 -0
- package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.COIN.d.ts +2 -0
- package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.COIN.js +3 -0
- package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.GOOGL.d.ts +2 -0
- package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.GOOGL.js +3 -0
- package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.HOOD.d.ts +2 -0
- package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.HOOD.js +3 -0
- package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.HYNX.d.ts +2 -0
- package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.HYNX.js +3 -0
- package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.INTC.d.ts +2 -0
- package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.INTC.js +3 -0
- package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.LITE.d.ts +2 -0
- package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.LITE.js +3 -0
- package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.MRVL.d.ts +2 -0
- package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.MRVL.js +3 -0
- package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.MSTR.d.ts +2 -0
- package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.MSTR.js +3 -0
- package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.TSLA.d.ts +2 -0
- package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.TSLA.js +3 -0
- package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.WTI.d.ts +2 -0
- package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.WTI.js +3 -0
- package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.XAG.d.ts +2 -0
- package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.XAG.js +3 -0
- package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.XAU.d.ts +2 -0
- package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.XAU.js +3 -0
- package/dist/gen/abi/somnia-dex-protocol/spot-pool.SpotPool_Implementation.js +4 -0
- package/dist/gen/abi/somnia-dex-protocol/stop-order-registries.spotStopOrderRegistryImplementation.d.ts +2 -2
- package/dist/gen/abi/somnia-dex-protocol/stop-order-registries.spotStopOrderRegistryImplementation.js +2 -6
- package/dist/gen/abi/somnia-dex-protocol/stop-order-registries.stopOrderRegistries.USDT_USDso.d.ts +2 -0
- package/dist/gen/abi/somnia-dex-protocol/stop-order-registries.stopOrderRegistries.USDT_USDso.js +3 -0
- package/dist/gen/abi/somnia-dex-protocol/stop-order-registries.stopOrderRegistries.bWBTC_USDso.d.ts +2 -0
- package/dist/gen/abi/somnia-dex-protocol/stop-order-registries.stopOrderRegistries.bWBTC_USDso.js +3 -0
- package/dist/gen/abi/somnia-dex-protocol/stop-order-registries.stopOrderRegistries.bWETH_USDso.d.ts +2 -0
- package/dist/gen/abi/somnia-dex-protocol/stop-order-registries.stopOrderRegistries.bWETH_USDso.js +3 -0
- package/dist/gen/abi/somnia-markets/FeedMarketCreatorFactory.d.ts +2 -0
- package/dist/gen/abi/somnia-markets/FeedMarketCreatorFactory.js +3 -0
- package/dist/gen/abi/somnia-markets/SomiLock.d.ts +2 -2
- package/dist/gen/abi/somnia-markets/SomiLock.js +2 -2
- package/dist/gen/abi/somnia-markets/UserVaultFactory.d.ts +2 -0
- package/dist/gen/abi/somnia-markets/UserVaultFactory.js +3 -0
- package/dist/gen/abi/somnia-markets/UserVaultImpl.d.ts +2 -0
- package/dist/gen/abi/somnia-markets/UserVaultImpl.js +3 -0
- package/dist/gen/abis/1d0ea05bc53d.d.ts +231 -0
- package/dist/gen/abis/1d0ea05bc53d.js +301 -0
- package/dist/gen/abis/32cc7a5169e1.d.ts +1704 -0
- package/dist/gen/abis/32cc7a5169e1.js +2200 -0
- package/dist/gen/abis/49ad550ed87e.d.ts +692 -0
- package/dist/gen/abis/49ad550ed87e.js +897 -0
- package/dist/gen/abis/4a5210d62566.d.ts +2197 -0
- package/dist/gen/abis/4a5210d62566.js +2834 -0
- package/dist/gen/abis/{1a2db3035880.d.ts → 59f72604787a.d.ts} +419 -497
- package/dist/gen/abis/{1a2db3035880.js → 59f72604787a.js} +482 -576
- package/dist/gen/abis/{9818d0265866.d.ts → 5a4a0858050e.d.ts} +486 -472
- package/dist/gen/abis/{9818d0265866.js → 5a4a0858050e.js} +563 -531
- package/dist/gen/abis/914f4b7b21d6.d.ts +853 -0
- package/dist/gen/abis/914f4b7b21d6.js +1118 -0
- package/dist/gen/abis/{afc6a4821e4a.d.ts → ac9568ce34c8.d.ts} +260 -3
- package/dist/gen/abis/{afc6a4821e4a.js → ac9568ce34c8.js} +332 -3
- package/dist/gen/abis/d0e583337129.d.ts +575 -0
- package/dist/gen/abis/d0e583337129.js +741 -0
- package/dist/gen/abis/d4649fdaaab6.d.ts +713 -0
- package/dist/gen/abis/d4649fdaaab6.js +925 -0
- package/dist/gen/abis/ee870f549cb8.d.ts +888 -0
- package/dist/gen/abis/ee870f549cb8.js +1147 -0
- package/dist/gen/abis-index.d.ts +134 -46682
- package/dist/gen/abis-index.js +22 -6
- package/dist/gen/meta.d.ts +2 -2
- package/dist/gen/meta.js +2 -2
- package/dist/gen/registry.d.ts +1912 -33
- package/dist/gen/registry.js +1914 -33
- package/package.json +1 -1
|
@@ -1,259 +1,277 @@
|
|
|
1
|
-
export declare const
|
|
1
|
+
export declare const abi_59f72604787a: readonly [{
|
|
2
2
|
readonly inputs: readonly [];
|
|
3
3
|
readonly stateMutability: "nonpayable";
|
|
4
4
|
readonly type: "constructor";
|
|
5
|
-
}, {
|
|
6
|
-
readonly stateMutability: "payable";
|
|
7
|
-
readonly type: "receive";
|
|
8
5
|
}, {
|
|
9
6
|
readonly inputs: readonly [];
|
|
10
|
-
readonly name: "
|
|
7
|
+
readonly name: "MAX_DESCRIPTION_BYTES";
|
|
11
8
|
readonly outputs: readonly [{
|
|
12
|
-
readonly internalType: "
|
|
9
|
+
readonly internalType: "uint256";
|
|
13
10
|
readonly name: "";
|
|
14
|
-
readonly type: "
|
|
11
|
+
readonly type: "uint256";
|
|
15
12
|
}];
|
|
16
13
|
readonly stateMutability: "view";
|
|
17
14
|
readonly type: "function";
|
|
18
15
|
}, {
|
|
19
16
|
readonly inputs: readonly [];
|
|
20
|
-
readonly name: "
|
|
21
|
-
readonly outputs: readonly [];
|
|
22
|
-
readonly stateMutability: "nonpayable";
|
|
23
|
-
readonly type: "function";
|
|
24
|
-
}, {
|
|
25
|
-
readonly inputs: readonly [{
|
|
26
|
-
readonly internalType: "address[]";
|
|
27
|
-
readonly name: "accounts";
|
|
28
|
-
readonly type: "address[]";
|
|
29
|
-
}, {
|
|
30
|
-
readonly components: readonly [{
|
|
31
|
-
readonly internalType: "uint256";
|
|
32
|
-
readonly name: "limitPrice";
|
|
33
|
-
readonly type: "uint256";
|
|
34
|
-
}, {
|
|
35
|
-
readonly internalType: "address";
|
|
36
|
-
readonly name: "recipient";
|
|
37
|
-
readonly type: "address";
|
|
38
|
-
}];
|
|
39
|
-
readonly internalType: "struct IPerpLiquidationSwapper.KeeperSwapRequest";
|
|
40
|
-
readonly name: "request";
|
|
41
|
-
readonly type: "tuple";
|
|
42
|
-
}];
|
|
43
|
-
readonly name: "batchLiquidateAndSwap";
|
|
17
|
+
readonly name: "MAX_NAME_BYTES";
|
|
44
18
|
readonly outputs: readonly [{
|
|
45
19
|
readonly internalType: "uint256";
|
|
46
|
-
readonly name: "
|
|
47
|
-
readonly type: "uint256";
|
|
48
|
-
}, {
|
|
49
|
-
readonly internalType: "uint256";
|
|
50
|
-
readonly name: "totalFeesCharged";
|
|
20
|
+
readonly name: "";
|
|
51
21
|
readonly type: "uint256";
|
|
52
|
-
}, {
|
|
53
|
-
readonly components: readonly [{
|
|
54
|
-
readonly internalType: "uint256";
|
|
55
|
-
readonly name: "rewardEarned";
|
|
56
|
-
readonly type: "uint256";
|
|
57
|
-
}, {
|
|
58
|
-
readonly internalType: "uint256";
|
|
59
|
-
readonly name: "rewardWithdrawn";
|
|
60
|
-
readonly type: "uint256";
|
|
61
|
-
}, {
|
|
62
|
-
readonly internalType: "uint256";
|
|
63
|
-
readonly name: "collateralIn";
|
|
64
|
-
readonly type: "uint256";
|
|
65
|
-
}, {
|
|
66
|
-
readonly internalType: "uint256";
|
|
67
|
-
readonly name: "nativeOut";
|
|
68
|
-
readonly type: "uint256";
|
|
69
|
-
}, {
|
|
70
|
-
readonly internalType: "uint256";
|
|
71
|
-
readonly name: "collateralOut";
|
|
72
|
-
readonly type: "uint256";
|
|
73
|
-
}];
|
|
74
|
-
readonly internalType: "struct IPerpLiquidationSwapper.KeeperPayout";
|
|
75
|
-
readonly name: "payout";
|
|
76
|
-
readonly type: "tuple";
|
|
77
22
|
}];
|
|
78
|
-
readonly stateMutability: "
|
|
23
|
+
readonly stateMutability: "view";
|
|
79
24
|
readonly type: "function";
|
|
80
25
|
}, {
|
|
81
26
|
readonly inputs: readonly [];
|
|
82
|
-
readonly name: "
|
|
83
|
-
readonly outputs: readonly [
|
|
84
|
-
|
|
27
|
+
readonly name: "MAX_PROFIT_SHARE_BPS";
|
|
28
|
+
readonly outputs: readonly [{
|
|
29
|
+
readonly internalType: "uint16";
|
|
30
|
+
readonly name: "";
|
|
31
|
+
readonly type: "uint16";
|
|
32
|
+
}];
|
|
33
|
+
readonly stateMutability: "view";
|
|
85
34
|
readonly type: "function";
|
|
86
35
|
}, {
|
|
87
|
-
readonly inputs: readonly [
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
readonly
|
|
36
|
+
readonly inputs: readonly [];
|
|
37
|
+
readonly name: "MAX_SLIPPAGE_CAP_BPS";
|
|
38
|
+
readonly outputs: readonly [{
|
|
39
|
+
readonly internalType: "uint16";
|
|
40
|
+
readonly name: "";
|
|
41
|
+
readonly type: "uint16";
|
|
91
42
|
}];
|
|
92
|
-
readonly
|
|
43
|
+
readonly stateMutability: "view";
|
|
44
|
+
readonly type: "function";
|
|
45
|
+
}, {
|
|
46
|
+
readonly inputs: readonly [];
|
|
47
|
+
readonly name: "MIN_SEED_FLOOR";
|
|
93
48
|
readonly outputs: readonly [{
|
|
94
|
-
readonly internalType: "uint64";
|
|
95
|
-
readonly name: "windowId";
|
|
96
|
-
readonly type: "uint64";
|
|
97
|
-
}, {
|
|
98
|
-
readonly internalType: "uint256";
|
|
99
|
-
readonly name: "spent";
|
|
100
|
-
readonly type: "uint256";
|
|
101
|
-
}, {
|
|
102
49
|
readonly internalType: "uint256";
|
|
103
|
-
readonly name: "
|
|
50
|
+
readonly name: "";
|
|
104
51
|
readonly type: "uint256";
|
|
105
52
|
}];
|
|
106
53
|
readonly stateMutability: "view";
|
|
107
54
|
readonly type: "function";
|
|
108
55
|
}, {
|
|
109
56
|
readonly inputs: readonly [];
|
|
110
|
-
readonly name: "
|
|
57
|
+
readonly name: "UPGRADE_INTERFACE_VERSION";
|
|
111
58
|
readonly outputs: readonly [{
|
|
112
|
-
readonly internalType: "
|
|
113
|
-
readonly name: "
|
|
114
|
-
readonly type: "
|
|
115
|
-
}, {
|
|
116
|
-
readonly internalType: "address";
|
|
117
|
-
readonly name: "marginBank";
|
|
118
|
-
readonly type: "address";
|
|
119
|
-
}, {
|
|
120
|
-
readonly internalType: "address";
|
|
121
|
-
readonly name: "collateralToken";
|
|
122
|
-
readonly type: "address";
|
|
123
|
-
}, {
|
|
124
|
-
readonly internalType: "address";
|
|
125
|
-
readonly name: "spotPool";
|
|
126
|
-
readonly type: "address";
|
|
127
|
-
}, {
|
|
128
|
-
readonly internalType: "address";
|
|
129
|
-
readonly name: "spotPoolRegistry";
|
|
130
|
-
readonly type: "address";
|
|
59
|
+
readonly internalType: "string";
|
|
60
|
+
readonly name: "";
|
|
61
|
+
readonly type: "string";
|
|
131
62
|
}];
|
|
132
63
|
readonly stateMutability: "view";
|
|
133
64
|
readonly type: "function";
|
|
134
65
|
}, {
|
|
135
66
|
readonly inputs: readonly [];
|
|
136
|
-
readonly name: "
|
|
67
|
+
readonly name: "acceptOwnership";
|
|
68
|
+
readonly outputs: readonly [];
|
|
69
|
+
readonly stateMutability: "nonpayable";
|
|
70
|
+
readonly type: "function";
|
|
71
|
+
}, {
|
|
72
|
+
readonly inputs: readonly [];
|
|
73
|
+
readonly name: "beacon";
|
|
137
74
|
readonly outputs: readonly [{
|
|
138
|
-
readonly internalType: "
|
|
139
|
-
readonly name: "
|
|
140
|
-
readonly type: "
|
|
141
|
-
}, {
|
|
142
|
-
readonly internalType: "uint256";
|
|
143
|
-
readonly name: "spent";
|
|
144
|
-
readonly type: "uint256";
|
|
145
|
-
}, {
|
|
146
|
-
readonly internalType: "uint256";
|
|
147
|
-
readonly name: "remaining";
|
|
148
|
-
readonly type: "uint256";
|
|
75
|
+
readonly internalType: "address";
|
|
76
|
+
readonly name: "";
|
|
77
|
+
readonly type: "address";
|
|
149
78
|
}];
|
|
150
79
|
readonly stateMutability: "view";
|
|
151
80
|
readonly type: "function";
|
|
152
81
|
}, {
|
|
153
82
|
readonly inputs: readonly [];
|
|
154
|
-
readonly name: "
|
|
83
|
+
readonly name: "collateralToken";
|
|
155
84
|
readonly outputs: readonly [{
|
|
156
85
|
readonly internalType: "address";
|
|
157
|
-
readonly name: "
|
|
86
|
+
readonly name: "";
|
|
158
87
|
readonly type: "address";
|
|
159
88
|
}];
|
|
160
89
|
readonly stateMutability: "view";
|
|
161
90
|
readonly type: "function";
|
|
162
91
|
}, {
|
|
163
|
-
readonly inputs: readonly [
|
|
164
|
-
readonly name: "getRefundParams";
|
|
165
|
-
readonly outputs: readonly [{
|
|
92
|
+
readonly inputs: readonly [{
|
|
166
93
|
readonly components: readonly [{
|
|
167
|
-
readonly internalType: "
|
|
168
|
-
readonly name: "
|
|
169
|
-
readonly type: "
|
|
94
|
+
readonly internalType: "uint256";
|
|
95
|
+
readonly name: "seed";
|
|
96
|
+
readonly type: "uint256";
|
|
170
97
|
}, {
|
|
171
|
-
readonly internalType: "
|
|
172
|
-
readonly name: "
|
|
173
|
-
readonly type: "
|
|
98
|
+
readonly internalType: "uint16";
|
|
99
|
+
readonly name: "profitShareBps";
|
|
100
|
+
readonly type: "uint16";
|
|
174
101
|
}, {
|
|
175
|
-
readonly internalType: "
|
|
176
|
-
readonly name: "
|
|
177
|
-
readonly type: "
|
|
102
|
+
readonly internalType: "uint256";
|
|
103
|
+
readonly name: "depositCap";
|
|
104
|
+
readonly type: "uint256";
|
|
178
105
|
}, {
|
|
179
|
-
readonly internalType: "
|
|
180
|
-
readonly name: "
|
|
181
|
-
readonly type: "
|
|
106
|
+
readonly internalType: "enum IUserVaultFactory.Strategy";
|
|
107
|
+
readonly name: "strategy";
|
|
108
|
+
readonly type: "uint8";
|
|
182
109
|
}, {
|
|
183
|
-
readonly internalType: "
|
|
184
|
-
readonly name: "
|
|
185
|
-
readonly type: "
|
|
110
|
+
readonly internalType: "string";
|
|
111
|
+
readonly name: "name";
|
|
112
|
+
readonly type: "string";
|
|
113
|
+
}, {
|
|
114
|
+
readonly internalType: "string";
|
|
115
|
+
readonly name: "description";
|
|
116
|
+
readonly type: "string";
|
|
186
117
|
}];
|
|
187
|
-
readonly internalType: "struct
|
|
118
|
+
readonly internalType: "struct IUserVaultFactory.CreateVaultParams";
|
|
188
119
|
readonly name: "params";
|
|
189
120
|
readonly type: "tuple";
|
|
190
121
|
}];
|
|
191
|
-
readonly
|
|
122
|
+
readonly name: "createVault";
|
|
123
|
+
readonly outputs: readonly [{
|
|
124
|
+
readonly internalType: "address";
|
|
125
|
+
readonly name: "vault";
|
|
126
|
+
readonly type: "address";
|
|
127
|
+
}];
|
|
128
|
+
readonly stateMutability: "payable";
|
|
192
129
|
readonly type: "function";
|
|
193
130
|
}, {
|
|
194
131
|
readonly inputs: readonly [];
|
|
195
|
-
readonly name: "
|
|
132
|
+
readonly name: "getVaultParameters";
|
|
196
133
|
readonly outputs: readonly [{
|
|
197
|
-
readonly
|
|
198
|
-
|
|
199
|
-
|
|
134
|
+
readonly components: readonly [{
|
|
135
|
+
readonly internalType: "uint256";
|
|
136
|
+
readonly name: "stakeAmount";
|
|
137
|
+
readonly type: "uint256";
|
|
138
|
+
}, {
|
|
139
|
+
readonly internalType: "uint256";
|
|
140
|
+
readonly name: "minSeed";
|
|
141
|
+
readonly type: "uint256";
|
|
142
|
+
}, {
|
|
143
|
+
readonly internalType: "uint256";
|
|
144
|
+
readonly name: "minDeposit";
|
|
145
|
+
readonly type: "uint256";
|
|
146
|
+
}, {
|
|
147
|
+
readonly internalType: "uint256";
|
|
148
|
+
readonly name: "creationFee";
|
|
149
|
+
readonly type: "uint256";
|
|
150
|
+
}, {
|
|
151
|
+
readonly internalType: "address";
|
|
152
|
+
readonly name: "creationFeeToken";
|
|
153
|
+
readonly type: "address";
|
|
154
|
+
}, {
|
|
155
|
+
readonly internalType: "address";
|
|
156
|
+
readonly name: "creationFeeRecipient";
|
|
157
|
+
readonly type: "address";
|
|
158
|
+
}, {
|
|
159
|
+
readonly internalType: "uint16";
|
|
160
|
+
readonly name: "maxSlippageBps";
|
|
161
|
+
readonly type: "uint16";
|
|
162
|
+
}, {
|
|
163
|
+
readonly internalType: "uint32";
|
|
164
|
+
readonly name: "minLockTerm";
|
|
165
|
+
readonly type: "uint32";
|
|
166
|
+
}];
|
|
167
|
+
readonly internalType: "struct IUserVaultFactory.VaultParameters";
|
|
168
|
+
readonly name: "";
|
|
169
|
+
readonly type: "tuple";
|
|
200
170
|
}];
|
|
201
171
|
readonly stateMutability: "view";
|
|
202
172
|
readonly type: "function";
|
|
203
173
|
}, {
|
|
204
174
|
readonly inputs: readonly [{
|
|
205
175
|
readonly internalType: "address";
|
|
206
|
-
readonly name: "
|
|
176
|
+
readonly name: "owner_";
|
|
177
|
+
readonly type: "address";
|
|
178
|
+
}, {
|
|
179
|
+
readonly internalType: "address";
|
|
180
|
+
readonly name: "beaconOwner";
|
|
207
181
|
readonly type: "address";
|
|
208
182
|
}, {
|
|
209
183
|
readonly internalType: "address";
|
|
210
|
-
readonly name: "
|
|
184
|
+
readonly name: "vaultImplementation";
|
|
211
185
|
readonly type: "address";
|
|
212
186
|
}, {
|
|
213
187
|
readonly internalType: "address";
|
|
214
|
-
readonly name: "
|
|
188
|
+
readonly name: "marginBank_";
|
|
215
189
|
readonly type: "address";
|
|
216
190
|
}, {
|
|
217
191
|
readonly internalType: "address";
|
|
218
|
-
readonly name: "
|
|
192
|
+
readonly name: "collateralToken_";
|
|
219
193
|
readonly type: "address";
|
|
220
194
|
}, {
|
|
221
195
|
readonly internalType: "address";
|
|
222
|
-
readonly name: "
|
|
196
|
+
readonly name: "somiLock_";
|
|
197
|
+
readonly type: "address";
|
|
198
|
+
}, {
|
|
199
|
+
readonly internalType: "address";
|
|
200
|
+
readonly name: "operatorRegistry_";
|
|
223
201
|
readonly type: "address";
|
|
224
202
|
}, {
|
|
225
203
|
readonly components: readonly [{
|
|
226
|
-
readonly internalType: "
|
|
227
|
-
readonly name: "
|
|
228
|
-
readonly type: "
|
|
204
|
+
readonly internalType: "uint256";
|
|
205
|
+
readonly name: "stakeAmount";
|
|
206
|
+
readonly type: "uint256";
|
|
229
207
|
}, {
|
|
230
|
-
readonly internalType: "
|
|
231
|
-
readonly name: "
|
|
232
|
-
readonly type: "
|
|
208
|
+
readonly internalType: "uint256";
|
|
209
|
+
readonly name: "minSeed";
|
|
210
|
+
readonly type: "uint256";
|
|
233
211
|
}, {
|
|
234
|
-
readonly internalType: "
|
|
235
|
-
readonly name: "
|
|
236
|
-
readonly type: "
|
|
212
|
+
readonly internalType: "uint256";
|
|
213
|
+
readonly name: "minDeposit";
|
|
214
|
+
readonly type: "uint256";
|
|
237
215
|
}, {
|
|
238
|
-
readonly internalType: "
|
|
239
|
-
readonly name: "
|
|
240
|
-
readonly type: "
|
|
216
|
+
readonly internalType: "uint256";
|
|
217
|
+
readonly name: "creationFee";
|
|
218
|
+
readonly type: "uint256";
|
|
241
219
|
}, {
|
|
242
|
-
readonly internalType: "
|
|
243
|
-
readonly name: "
|
|
244
|
-
readonly type: "
|
|
220
|
+
readonly internalType: "address";
|
|
221
|
+
readonly name: "creationFeeToken";
|
|
222
|
+
readonly type: "address";
|
|
223
|
+
}, {
|
|
224
|
+
readonly internalType: "address";
|
|
225
|
+
readonly name: "creationFeeRecipient";
|
|
226
|
+
readonly type: "address";
|
|
227
|
+
}, {
|
|
228
|
+
readonly internalType: "uint16";
|
|
229
|
+
readonly name: "maxSlippageBps";
|
|
230
|
+
readonly type: "uint16";
|
|
231
|
+
}, {
|
|
232
|
+
readonly internalType: "uint32";
|
|
233
|
+
readonly name: "minLockTerm";
|
|
234
|
+
readonly type: "uint32";
|
|
245
235
|
}];
|
|
246
|
-
readonly internalType: "struct
|
|
247
|
-
readonly name: "
|
|
236
|
+
readonly internalType: "struct IUserVaultFactory.VaultParameters";
|
|
237
|
+
readonly name: "params";
|
|
248
238
|
readonly type: "tuple";
|
|
249
239
|
}];
|
|
250
240
|
readonly name: "initialize";
|
|
251
241
|
readonly outputs: readonly [];
|
|
252
242
|
readonly stateMutability: "nonpayable";
|
|
253
243
|
readonly type: "function";
|
|
244
|
+
}, {
|
|
245
|
+
readonly inputs: readonly [{
|
|
246
|
+
readonly internalType: "address";
|
|
247
|
+
readonly name: "vault";
|
|
248
|
+
readonly type: "address";
|
|
249
|
+
}];
|
|
250
|
+
readonly name: "isVault";
|
|
251
|
+
readonly outputs: readonly [{
|
|
252
|
+
readonly internalType: "bool";
|
|
253
|
+
readonly name: "";
|
|
254
|
+
readonly type: "bool";
|
|
255
|
+
}];
|
|
256
|
+
readonly stateMutability: "view";
|
|
257
|
+
readonly type: "function";
|
|
258
|
+
}, {
|
|
259
|
+
readonly inputs: readonly [{
|
|
260
|
+
readonly internalType: "address";
|
|
261
|
+
readonly name: "vault";
|
|
262
|
+
readonly type: "address";
|
|
263
|
+
}];
|
|
264
|
+
readonly name: "lockedStakeOf";
|
|
265
|
+
readonly outputs: readonly [{
|
|
266
|
+
readonly internalType: "uint256";
|
|
267
|
+
readonly name: "";
|
|
268
|
+
readonly type: "uint256";
|
|
269
|
+
}];
|
|
270
|
+
readonly stateMutability: "view";
|
|
271
|
+
readonly type: "function";
|
|
254
272
|
}, {
|
|
255
273
|
readonly inputs: readonly [];
|
|
256
|
-
readonly name: "
|
|
274
|
+
readonly name: "marginBank";
|
|
257
275
|
readonly outputs: readonly [{
|
|
258
276
|
readonly internalType: "address";
|
|
259
277
|
readonly name: "";
|
|
@@ -263,7 +281,7 @@ export declare const abi_1a2db3035880: readonly [{
|
|
|
263
281
|
readonly type: "function";
|
|
264
282
|
}, {
|
|
265
283
|
readonly inputs: readonly [];
|
|
266
|
-
readonly name: "
|
|
284
|
+
readonly name: "operatorRegistry";
|
|
267
285
|
readonly outputs: readonly [{
|
|
268
286
|
readonly internalType: "address";
|
|
269
287
|
readonly name: "";
|
|
@@ -273,87 +291,99 @@ export declare const abi_1a2db3035880: readonly [{
|
|
|
273
291
|
readonly type: "function";
|
|
274
292
|
}, {
|
|
275
293
|
readonly inputs: readonly [];
|
|
276
|
-
readonly name: "
|
|
294
|
+
readonly name: "owner";
|
|
277
295
|
readonly outputs: readonly [{
|
|
278
|
-
readonly internalType: "
|
|
296
|
+
readonly internalType: "address";
|
|
279
297
|
readonly name: "";
|
|
280
|
-
readonly type: "
|
|
298
|
+
readonly type: "address";
|
|
281
299
|
}];
|
|
282
300
|
readonly stateMutability: "view";
|
|
283
301
|
readonly type: "function";
|
|
284
302
|
}, {
|
|
285
|
-
readonly inputs: readonly [
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
readonly
|
|
289
|
-
|
|
290
|
-
readonly
|
|
291
|
-
readonly name: "collateralBudget";
|
|
292
|
-
readonly type: "uint256";
|
|
303
|
+
readonly inputs: readonly [];
|
|
304
|
+
readonly name: "pendingOwner";
|
|
305
|
+
readonly outputs: readonly [{
|
|
306
|
+
readonly internalType: "address";
|
|
307
|
+
readonly name: "";
|
|
308
|
+
readonly type: "address";
|
|
293
309
|
}];
|
|
294
|
-
readonly
|
|
310
|
+
readonly stateMutability: "view";
|
|
311
|
+
readonly type: "function";
|
|
312
|
+
}, {
|
|
313
|
+
readonly inputs: readonly [];
|
|
314
|
+
readonly name: "proxiableUUID";
|
|
295
315
|
readonly outputs: readonly [{
|
|
296
|
-
readonly internalType: "
|
|
297
|
-
readonly name: "
|
|
298
|
-
readonly type: "
|
|
299
|
-
}, {
|
|
300
|
-
readonly internalType: "uint256";
|
|
301
|
-
readonly name: "quantity";
|
|
302
|
-
readonly type: "uint256";
|
|
303
|
-
}, {
|
|
304
|
-
readonly internalType: "uint256";
|
|
305
|
-
readonly name: "requiredCollateral";
|
|
306
|
-
readonly type: "uint256";
|
|
316
|
+
readonly internalType: "bytes32";
|
|
317
|
+
readonly name: "";
|
|
318
|
+
readonly type: "bytes32";
|
|
307
319
|
}];
|
|
308
320
|
readonly stateMutability: "view";
|
|
309
321
|
readonly type: "function";
|
|
310
322
|
}, {
|
|
311
323
|
readonly inputs: readonly [];
|
|
312
|
-
readonly name: "
|
|
324
|
+
readonly name: "releaseStake";
|
|
313
325
|
readonly outputs: readonly [];
|
|
314
326
|
readonly stateMutability: "nonpayable";
|
|
315
327
|
readonly type: "function";
|
|
316
328
|
}, {
|
|
317
|
-
readonly inputs: readonly [
|
|
318
|
-
|
|
319
|
-
readonly name: "eligibility";
|
|
320
|
-
readonly type: "address";
|
|
321
|
-
}];
|
|
322
|
-
readonly name: "setKeeperEligibility";
|
|
329
|
+
readonly inputs: readonly [];
|
|
330
|
+
readonly name: "renounceOwnership";
|
|
323
331
|
readonly outputs: readonly [];
|
|
324
332
|
readonly stateMutability: "nonpayable";
|
|
325
333
|
readonly type: "function";
|
|
326
334
|
}, {
|
|
327
335
|
readonly inputs: readonly [{
|
|
328
336
|
readonly components: readonly [{
|
|
329
|
-
readonly internalType: "
|
|
330
|
-
readonly name: "
|
|
331
|
-
readonly type: "
|
|
337
|
+
readonly internalType: "uint256";
|
|
338
|
+
readonly name: "stakeAmount";
|
|
339
|
+
readonly type: "uint256";
|
|
332
340
|
}, {
|
|
333
|
-
readonly internalType: "
|
|
334
|
-
readonly name: "
|
|
335
|
-
readonly type: "
|
|
341
|
+
readonly internalType: "uint256";
|
|
342
|
+
readonly name: "minSeed";
|
|
343
|
+
readonly type: "uint256";
|
|
336
344
|
}, {
|
|
337
|
-
readonly internalType: "
|
|
338
|
-
readonly name: "
|
|
339
|
-
readonly type: "
|
|
345
|
+
readonly internalType: "uint256";
|
|
346
|
+
readonly name: "minDeposit";
|
|
347
|
+
readonly type: "uint256";
|
|
340
348
|
}, {
|
|
341
|
-
readonly internalType: "
|
|
342
|
-
readonly name: "
|
|
343
|
-
readonly type: "
|
|
349
|
+
readonly internalType: "uint256";
|
|
350
|
+
readonly name: "creationFee";
|
|
351
|
+
readonly type: "uint256";
|
|
352
|
+
}, {
|
|
353
|
+
readonly internalType: "address";
|
|
354
|
+
readonly name: "creationFeeToken";
|
|
355
|
+
readonly type: "address";
|
|
344
356
|
}, {
|
|
345
|
-
readonly internalType: "
|
|
346
|
-
readonly name: "
|
|
347
|
-
readonly type: "
|
|
357
|
+
readonly internalType: "address";
|
|
358
|
+
readonly name: "creationFeeRecipient";
|
|
359
|
+
readonly type: "address";
|
|
360
|
+
}, {
|
|
361
|
+
readonly internalType: "uint16";
|
|
362
|
+
readonly name: "maxSlippageBps";
|
|
363
|
+
readonly type: "uint16";
|
|
364
|
+
}, {
|
|
365
|
+
readonly internalType: "uint32";
|
|
366
|
+
readonly name: "minLockTerm";
|
|
367
|
+
readonly type: "uint32";
|
|
348
368
|
}];
|
|
349
|
-
readonly internalType: "struct
|
|
369
|
+
readonly internalType: "struct IUserVaultFactory.VaultParameters";
|
|
350
370
|
readonly name: "params";
|
|
351
371
|
readonly type: "tuple";
|
|
352
372
|
}];
|
|
353
|
-
readonly name: "
|
|
373
|
+
readonly name: "setVaultParameters";
|
|
354
374
|
readonly outputs: readonly [];
|
|
355
375
|
readonly stateMutability: "nonpayable";
|
|
356
376
|
readonly type: "function";
|
|
377
|
+
}, {
|
|
378
|
+
readonly inputs: readonly [];
|
|
379
|
+
readonly name: "somiLock";
|
|
380
|
+
readonly outputs: readonly [{
|
|
381
|
+
readonly internalType: "address";
|
|
382
|
+
readonly name: "";
|
|
383
|
+
readonly type: "address";
|
|
384
|
+
}];
|
|
385
|
+
readonly stateMutability: "view";
|
|
386
|
+
readonly type: "function";
|
|
357
387
|
}, {
|
|
358
388
|
readonly inputs: readonly [{
|
|
359
389
|
readonly internalType: "address";
|
|
@@ -367,87 +397,80 @@ export declare const abi_1a2db3035880: readonly [{
|
|
|
367
397
|
}, {
|
|
368
398
|
readonly inputs: readonly [{
|
|
369
399
|
readonly internalType: "address";
|
|
370
|
-
readonly name: "
|
|
400
|
+
readonly name: "newImplementation";
|
|
371
401
|
readonly type: "address";
|
|
372
402
|
}, {
|
|
373
|
-
readonly
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
readonly
|
|
384
|
-
readonly
|
|
403
|
+
readonly internalType: "bytes";
|
|
404
|
+
readonly name: "data";
|
|
405
|
+
readonly type: "bytes";
|
|
406
|
+
}];
|
|
407
|
+
readonly name: "upgradeToAndCall";
|
|
408
|
+
readonly outputs: readonly [];
|
|
409
|
+
readonly stateMutability: "payable";
|
|
410
|
+
readonly type: "function";
|
|
411
|
+
}, {
|
|
412
|
+
readonly inputs: readonly [{
|
|
413
|
+
readonly internalType: "uint256";
|
|
414
|
+
readonly name: "index";
|
|
415
|
+
readonly type: "uint256";
|
|
385
416
|
}];
|
|
386
|
-
readonly name: "
|
|
417
|
+
readonly name: "vaultAt";
|
|
418
|
+
readonly outputs: readonly [{
|
|
419
|
+
readonly internalType: "address";
|
|
420
|
+
readonly name: "";
|
|
421
|
+
readonly type: "address";
|
|
422
|
+
}];
|
|
423
|
+
readonly stateMutability: "view";
|
|
424
|
+
readonly type: "function";
|
|
425
|
+
}, {
|
|
426
|
+
readonly inputs: readonly [];
|
|
427
|
+
readonly name: "vaultCount";
|
|
387
428
|
readonly outputs: readonly [{
|
|
388
|
-
readonly internalType: "enum ILiquidationEngine.LiquidationAttempt";
|
|
389
|
-
readonly name: "outcome";
|
|
390
|
-
readonly type: "uint8";
|
|
391
|
-
}, {
|
|
392
429
|
readonly internalType: "uint256";
|
|
393
|
-
readonly name: "
|
|
430
|
+
readonly name: "";
|
|
394
431
|
readonly type: "uint256";
|
|
395
|
-
}, {
|
|
396
|
-
readonly components: readonly [{
|
|
397
|
-
readonly internalType: "uint256";
|
|
398
|
-
readonly name: "rewardEarned";
|
|
399
|
-
readonly type: "uint256";
|
|
400
|
-
}, {
|
|
401
|
-
readonly internalType: "uint256";
|
|
402
|
-
readonly name: "rewardWithdrawn";
|
|
403
|
-
readonly type: "uint256";
|
|
404
|
-
}, {
|
|
405
|
-
readonly internalType: "uint256";
|
|
406
|
-
readonly name: "collateralIn";
|
|
407
|
-
readonly type: "uint256";
|
|
408
|
-
}, {
|
|
409
|
-
readonly internalType: "uint256";
|
|
410
|
-
readonly name: "nativeOut";
|
|
411
|
-
readonly type: "uint256";
|
|
412
|
-
}, {
|
|
413
|
-
readonly internalType: "uint256";
|
|
414
|
-
readonly name: "collateralOut";
|
|
415
|
-
readonly type: "uint256";
|
|
416
|
-
}];
|
|
417
|
-
readonly internalType: "struct IPerpLiquidationSwapper.KeeperPayout";
|
|
418
|
-
readonly name: "payout";
|
|
419
|
-
readonly type: "tuple";
|
|
420
432
|
}];
|
|
421
|
-
readonly stateMutability: "
|
|
433
|
+
readonly stateMutability: "view";
|
|
422
434
|
readonly type: "function";
|
|
423
435
|
}, {
|
|
424
436
|
readonly inputs: readonly [{
|
|
425
437
|
readonly internalType: "address";
|
|
426
|
-
readonly name: "
|
|
438
|
+
readonly name: "leader";
|
|
439
|
+
readonly type: "address";
|
|
440
|
+
}];
|
|
441
|
+
readonly name: "vaultOf";
|
|
442
|
+
readonly outputs: readonly [{
|
|
443
|
+
readonly internalType: "address";
|
|
444
|
+
readonly name: "";
|
|
427
445
|
readonly type: "address";
|
|
428
|
-
}, {
|
|
429
|
-
readonly internalType: "bytes";
|
|
430
|
-
readonly name: "data";
|
|
431
|
-
readonly type: "bytes";
|
|
432
446
|
}];
|
|
433
|
-
readonly
|
|
434
|
-
readonly outputs: readonly [];
|
|
435
|
-
readonly stateMutability: "payable";
|
|
447
|
+
readonly stateMutability: "view";
|
|
436
448
|
readonly type: "function";
|
|
437
449
|
}, {
|
|
450
|
+
readonly anonymous: false;
|
|
438
451
|
readonly inputs: readonly [{
|
|
452
|
+
readonly indexed: true;
|
|
453
|
+
readonly internalType: "address";
|
|
454
|
+
readonly name: "vault";
|
|
455
|
+
readonly type: "address";
|
|
456
|
+
}, {
|
|
457
|
+
readonly indexed: true;
|
|
458
|
+
readonly internalType: "address";
|
|
459
|
+
readonly name: "token";
|
|
460
|
+
readonly type: "address";
|
|
461
|
+
}, {
|
|
462
|
+
readonly indexed: false;
|
|
439
463
|
readonly internalType: "address";
|
|
440
464
|
readonly name: "recipient";
|
|
441
465
|
readonly type: "address";
|
|
442
466
|
}, {
|
|
467
|
+
readonly indexed: false;
|
|
443
468
|
readonly internalType: "uint256";
|
|
444
469
|
readonly name: "amount";
|
|
445
470
|
readonly type: "uint256";
|
|
446
471
|
}];
|
|
447
|
-
readonly name: "
|
|
448
|
-
readonly
|
|
449
|
-
readonly stateMutability: "nonpayable";
|
|
450
|
-
readonly type: "function";
|
|
472
|
+
readonly name: "CreationFeePaid";
|
|
473
|
+
readonly type: "event";
|
|
451
474
|
}, {
|
|
452
475
|
readonly anonymous: false;
|
|
453
476
|
readonly inputs: readonly [{
|
|
@@ -463,249 +486,156 @@ export declare const abi_1a2db3035880: readonly [{
|
|
|
463
486
|
readonly inputs: readonly [{
|
|
464
487
|
readonly indexed: true;
|
|
465
488
|
readonly internalType: "address";
|
|
466
|
-
readonly name: "
|
|
489
|
+
readonly name: "previousOwner";
|
|
467
490
|
readonly type: "address";
|
|
468
491
|
}, {
|
|
469
492
|
readonly indexed: true;
|
|
470
493
|
readonly internalType: "address";
|
|
471
|
-
readonly name: "
|
|
494
|
+
readonly name: "newOwner";
|
|
472
495
|
readonly type: "address";
|
|
473
496
|
}];
|
|
474
|
-
readonly name: "
|
|
497
|
+
readonly name: "OwnershipTransferStarted";
|
|
475
498
|
readonly type: "event";
|
|
476
499
|
}, {
|
|
477
500
|
readonly anonymous: false;
|
|
478
501
|
readonly inputs: readonly [{
|
|
479
502
|
readonly indexed: true;
|
|
480
503
|
readonly internalType: "address";
|
|
481
|
-
readonly name: "
|
|
504
|
+
readonly name: "previousOwner";
|
|
482
505
|
readonly type: "address";
|
|
483
506
|
}, {
|
|
484
|
-
readonly indexed: false;
|
|
485
|
-
readonly internalType: "enum IPerpLiquidationSwapper.RefundDenialReason";
|
|
486
|
-
readonly name: "reason";
|
|
487
|
-
readonly type: "uint8";
|
|
488
|
-
}];
|
|
489
|
-
readonly name: "KeeperGasRefundDenied";
|
|
490
|
-
readonly type: "event";
|
|
491
|
-
}, {
|
|
492
|
-
readonly anonymous: false;
|
|
493
|
-
readonly inputs: readonly [{
|
|
494
507
|
readonly indexed: true;
|
|
495
508
|
readonly internalType: "address";
|
|
496
|
-
readonly name: "
|
|
509
|
+
readonly name: "newOwner";
|
|
497
510
|
readonly type: "address";
|
|
498
|
-
}, {
|
|
499
|
-
readonly indexed: false;
|
|
500
|
-
readonly internalType: "uint256";
|
|
501
|
-
readonly name: "amount";
|
|
502
|
-
readonly type: "uint256";
|
|
503
511
|
}];
|
|
504
|
-
readonly name: "
|
|
512
|
+
readonly name: "OwnershipTransferred";
|
|
505
513
|
readonly type: "event";
|
|
506
514
|
}, {
|
|
507
515
|
readonly anonymous: false;
|
|
508
516
|
readonly inputs: readonly [{
|
|
509
517
|
readonly indexed: true;
|
|
510
518
|
readonly internalType: "address";
|
|
511
|
-
readonly name: "
|
|
512
|
-
readonly type: "address";
|
|
513
|
-
}, {
|
|
514
|
-
readonly indexed: true;
|
|
515
|
-
readonly internalType: "address";
|
|
516
|
-
readonly name: "recipient";
|
|
519
|
+
readonly name: "implementation";
|
|
517
520
|
readonly type: "address";
|
|
518
|
-
}, {
|
|
519
|
-
readonly indexed: false;
|
|
520
|
-
readonly internalType: "uint256";
|
|
521
|
-
readonly name: "amount";
|
|
522
|
-
readonly type: "uint256";
|
|
523
|
-
}, {
|
|
524
|
-
readonly indexed: false;
|
|
525
|
-
readonly internalType: "uint256";
|
|
526
|
-
readonly name: "gasUsed";
|
|
527
|
-
readonly type: "uint256";
|
|
528
|
-
}, {
|
|
529
|
-
readonly indexed: false;
|
|
530
|
-
readonly internalType: "uint256";
|
|
531
|
-
readonly name: "gasPrice";
|
|
532
|
-
readonly type: "uint256";
|
|
533
521
|
}];
|
|
534
|
-
readonly name: "
|
|
522
|
+
readonly name: "Upgraded";
|
|
535
523
|
readonly type: "event";
|
|
536
524
|
}, {
|
|
537
525
|
readonly anonymous: false;
|
|
538
526
|
readonly inputs: readonly [{
|
|
539
527
|
readonly indexed: true;
|
|
540
528
|
readonly internalType: "address";
|
|
541
|
-
readonly name: "
|
|
529
|
+
readonly name: "vault";
|
|
542
530
|
readonly type: "address";
|
|
543
531
|
}, {
|
|
544
532
|
readonly indexed: true;
|
|
545
533
|
readonly internalType: "address";
|
|
546
|
-
readonly name: "
|
|
534
|
+
readonly name: "leader";
|
|
547
535
|
readonly type: "address";
|
|
548
536
|
}, {
|
|
549
537
|
readonly indexed: false;
|
|
550
538
|
readonly internalType: "uint256";
|
|
551
|
-
readonly name: "
|
|
539
|
+
readonly name: "seed";
|
|
552
540
|
readonly type: "uint256";
|
|
553
541
|
}, {
|
|
554
542
|
readonly indexed: false;
|
|
555
|
-
readonly internalType: "
|
|
556
|
-
readonly name: "
|
|
557
|
-
readonly type: "
|
|
543
|
+
readonly internalType: "uint16";
|
|
544
|
+
readonly name: "profitShareBps";
|
|
545
|
+
readonly type: "uint16";
|
|
558
546
|
}, {
|
|
559
547
|
readonly indexed: false;
|
|
560
548
|
readonly internalType: "uint256";
|
|
561
|
-
readonly name: "
|
|
549
|
+
readonly name: "requiredStake";
|
|
562
550
|
readonly type: "uint256";
|
|
563
551
|
}, {
|
|
564
552
|
readonly indexed: false;
|
|
565
|
-
readonly internalType: "
|
|
566
|
-
readonly name: "
|
|
567
|
-
readonly type: "
|
|
553
|
+
readonly internalType: "enum IUserVaultFactory.Strategy";
|
|
554
|
+
readonly name: "strategy";
|
|
555
|
+
readonly type: "uint8";
|
|
568
556
|
}, {
|
|
569
557
|
readonly indexed: false;
|
|
570
|
-
readonly internalType: "
|
|
571
|
-
readonly name: "
|
|
572
|
-
readonly type: "
|
|
573
|
-
}];
|
|
574
|
-
readonly name: "KeeperRewardSwapped";
|
|
575
|
-
readonly type: "event";
|
|
576
|
-
}, {
|
|
577
|
-
readonly anonymous: false;
|
|
578
|
-
readonly inputs: readonly [{
|
|
579
|
-
readonly indexed: true;
|
|
580
|
-
readonly internalType: "address";
|
|
581
|
-
readonly name: "previousOwner";
|
|
582
|
-
readonly type: "address";
|
|
583
|
-
}, {
|
|
584
|
-
readonly indexed: true;
|
|
585
|
-
readonly internalType: "address";
|
|
586
|
-
readonly name: "newOwner";
|
|
587
|
-
readonly type: "address";
|
|
588
|
-
}];
|
|
589
|
-
readonly name: "OwnershipTransferStarted";
|
|
590
|
-
readonly type: "event";
|
|
591
|
-
}, {
|
|
592
|
-
readonly anonymous: false;
|
|
593
|
-
readonly inputs: readonly [{
|
|
594
|
-
readonly indexed: true;
|
|
595
|
-
readonly internalType: "address";
|
|
596
|
-
readonly name: "previousOwner";
|
|
597
|
-
readonly type: "address";
|
|
558
|
+
readonly internalType: "string";
|
|
559
|
+
readonly name: "name";
|
|
560
|
+
readonly type: "string";
|
|
598
561
|
}, {
|
|
599
|
-
readonly indexed:
|
|
600
|
-
readonly internalType: "
|
|
601
|
-
readonly name: "
|
|
602
|
-
readonly type: "
|
|
562
|
+
readonly indexed: false;
|
|
563
|
+
readonly internalType: "string";
|
|
564
|
+
readonly name: "description";
|
|
565
|
+
readonly type: "string";
|
|
603
566
|
}];
|
|
604
|
-
readonly name: "
|
|
567
|
+
readonly name: "VaultCreated";
|
|
605
568
|
readonly type: "event";
|
|
606
569
|
}, {
|
|
607
570
|
readonly anonymous: false;
|
|
608
571
|
readonly inputs: readonly [{
|
|
609
572
|
readonly components: readonly [{
|
|
610
|
-
readonly internalType: "
|
|
611
|
-
readonly name: "
|
|
612
|
-
readonly type: "
|
|
573
|
+
readonly internalType: "uint256";
|
|
574
|
+
readonly name: "stakeAmount";
|
|
575
|
+
readonly type: "uint256";
|
|
613
576
|
}, {
|
|
614
|
-
readonly internalType: "
|
|
615
|
-
readonly name: "
|
|
616
|
-
readonly type: "
|
|
577
|
+
readonly internalType: "uint256";
|
|
578
|
+
readonly name: "minSeed";
|
|
579
|
+
readonly type: "uint256";
|
|
617
580
|
}, {
|
|
618
|
-
readonly internalType: "
|
|
619
|
-
readonly name: "
|
|
620
|
-
readonly type: "
|
|
581
|
+
readonly internalType: "uint256";
|
|
582
|
+
readonly name: "minDeposit";
|
|
583
|
+
readonly type: "uint256";
|
|
584
|
+
}, {
|
|
585
|
+
readonly internalType: "uint256";
|
|
586
|
+
readonly name: "creationFee";
|
|
587
|
+
readonly type: "uint256";
|
|
588
|
+
}, {
|
|
589
|
+
readonly internalType: "address";
|
|
590
|
+
readonly name: "creationFeeToken";
|
|
591
|
+
readonly type: "address";
|
|
621
592
|
}, {
|
|
622
|
-
readonly internalType: "
|
|
623
|
-
readonly name: "
|
|
624
|
-
readonly type: "
|
|
593
|
+
readonly internalType: "address";
|
|
594
|
+
readonly name: "creationFeeRecipient";
|
|
595
|
+
readonly type: "address";
|
|
625
596
|
}, {
|
|
626
|
-
readonly internalType: "
|
|
627
|
-
readonly name: "
|
|
628
|
-
readonly type: "
|
|
597
|
+
readonly internalType: "uint16";
|
|
598
|
+
readonly name: "maxSlippageBps";
|
|
599
|
+
readonly type: "uint16";
|
|
600
|
+
}, {
|
|
601
|
+
readonly internalType: "uint32";
|
|
602
|
+
readonly name: "minLockTerm";
|
|
603
|
+
readonly type: "uint32";
|
|
629
604
|
}];
|
|
630
605
|
readonly indexed: false;
|
|
631
|
-
readonly internalType: "struct
|
|
606
|
+
readonly internalType: "struct IUserVaultFactory.VaultParameters";
|
|
632
607
|
readonly name: "params";
|
|
633
608
|
readonly type: "tuple";
|
|
634
609
|
}];
|
|
635
|
-
readonly name: "
|
|
636
|
-
readonly type: "event";
|
|
637
|
-
}, {
|
|
638
|
-
readonly anonymous: false;
|
|
639
|
-
readonly inputs: readonly [{
|
|
640
|
-
readonly indexed: true;
|
|
641
|
-
readonly internalType: "address";
|
|
642
|
-
readonly name: "funder";
|
|
643
|
-
readonly type: "address";
|
|
644
|
-
}, {
|
|
645
|
-
readonly indexed: false;
|
|
646
|
-
readonly internalType: "uint256";
|
|
647
|
-
readonly name: "amount";
|
|
648
|
-
readonly type: "uint256";
|
|
649
|
-
}, {
|
|
650
|
-
readonly indexed: false;
|
|
651
|
-
readonly internalType: "uint256";
|
|
652
|
-
readonly name: "newPot";
|
|
653
|
-
readonly type: "uint256";
|
|
654
|
-
}];
|
|
655
|
-
readonly name: "RefundPotFunded";
|
|
610
|
+
readonly name: "VaultParametersSet";
|
|
656
611
|
readonly type: "event";
|
|
657
612
|
}, {
|
|
658
|
-
readonly anonymous: false;
|
|
659
613
|
readonly inputs: readonly [{
|
|
660
|
-
readonly indexed: true;
|
|
661
614
|
readonly internalType: "address";
|
|
662
|
-
readonly name: "
|
|
615
|
+
readonly name: "target";
|
|
663
616
|
readonly type: "address";
|
|
664
|
-
}, {
|
|
665
|
-
readonly indexed: false;
|
|
666
|
-
readonly internalType: "uint256";
|
|
667
|
-
readonly name: "amount";
|
|
668
|
-
readonly type: "uint256";
|
|
669
|
-
}, {
|
|
670
|
-
readonly indexed: false;
|
|
671
|
-
readonly internalType: "uint256";
|
|
672
|
-
readonly name: "newPot";
|
|
673
|
-
readonly type: "uint256";
|
|
674
617
|
}];
|
|
675
|
-
readonly name: "
|
|
676
|
-
readonly type: "
|
|
618
|
+
readonly name: "AddressEmptyCode";
|
|
619
|
+
readonly type: "error";
|
|
677
620
|
}, {
|
|
678
|
-
readonly anonymous: false;
|
|
679
621
|
readonly inputs: readonly [];
|
|
680
|
-
readonly name: "
|
|
681
|
-
readonly type: "
|
|
682
|
-
}, {
|
|
683
|
-
readonly anonymous: false;
|
|
684
|
-
readonly inputs: readonly [{
|
|
685
|
-
readonly indexed: false;
|
|
686
|
-
readonly internalType: "bytes4";
|
|
687
|
-
readonly name: "errorSelector";
|
|
688
|
-
readonly type: "bytes4";
|
|
689
|
-
}];
|
|
690
|
-
readonly name: "SwapOrderRejected";
|
|
691
|
-
readonly type: "event";
|
|
622
|
+
readonly name: "CreationFeeRecipientUnset";
|
|
623
|
+
readonly type: "error";
|
|
692
624
|
}, {
|
|
693
|
-
readonly anonymous: false;
|
|
694
625
|
readonly inputs: readonly [{
|
|
695
|
-
readonly indexed: true;
|
|
696
626
|
readonly internalType: "address";
|
|
697
|
-
readonly name: "
|
|
627
|
+
readonly name: "token";
|
|
698
628
|
readonly type: "address";
|
|
699
629
|
}];
|
|
700
|
-
readonly name: "
|
|
701
|
-
readonly type: "
|
|
630
|
+
readonly name: "CreationFeeTokenNotContract";
|
|
631
|
+
readonly type: "error";
|
|
702
632
|
}, {
|
|
703
633
|
readonly inputs: readonly [{
|
|
704
|
-
readonly internalType: "
|
|
705
|
-
readonly name: "
|
|
706
|
-
readonly type: "
|
|
634
|
+
readonly internalType: "uint256";
|
|
635
|
+
readonly name: "length";
|
|
636
|
+
readonly type: "uint256";
|
|
707
637
|
}];
|
|
708
|
-
readonly name: "
|
|
638
|
+
readonly name: "DescriptionTooLong";
|
|
709
639
|
readonly type: "error";
|
|
710
640
|
}, {
|
|
711
641
|
readonly inputs: readonly [{
|
|
@@ -719,65 +649,73 @@ export declare const abi_1a2db3035880: readonly [{
|
|
|
719
649
|
readonly inputs: readonly [];
|
|
720
650
|
readonly name: "ERC1967NonPayable";
|
|
721
651
|
readonly type: "error";
|
|
722
|
-
}, {
|
|
723
|
-
readonly inputs: readonly [{
|
|
724
|
-
readonly internalType: "address";
|
|
725
|
-
readonly name: "liquidationEngine";
|
|
726
|
-
readonly type: "address";
|
|
727
|
-
}, {
|
|
728
|
-
readonly internalType: "address";
|
|
729
|
-
readonly name: "bankLiquidationEngine";
|
|
730
|
-
readonly type: "address";
|
|
731
|
-
}];
|
|
732
|
-
readonly name: "EngineNotWiredToBank";
|
|
733
|
-
readonly type: "error";
|
|
734
652
|
}, {
|
|
735
653
|
readonly inputs: readonly [];
|
|
736
654
|
readonly name: "FailedCall";
|
|
737
655
|
readonly type: "error";
|
|
738
656
|
}, {
|
|
739
|
-
readonly inputs: readonly [
|
|
740
|
-
|
|
657
|
+
readonly inputs: readonly [{
|
|
658
|
+
readonly internalType: "uint256";
|
|
659
|
+
readonly name: "balance";
|
|
660
|
+
readonly type: "uint256";
|
|
661
|
+
}, {
|
|
662
|
+
readonly internalType: "uint256";
|
|
663
|
+
readonly name: "needed";
|
|
664
|
+
readonly type: "uint256";
|
|
665
|
+
}];
|
|
666
|
+
readonly name: "InsufficientBalance";
|
|
741
667
|
readonly type: "error";
|
|
742
668
|
}, {
|
|
743
669
|
readonly inputs: readonly [];
|
|
744
|
-
readonly name: "
|
|
670
|
+
readonly name: "InvalidInitialization";
|
|
745
671
|
readonly type: "error";
|
|
746
672
|
}, {
|
|
747
|
-
readonly inputs: readonly [
|
|
748
|
-
|
|
673
|
+
readonly inputs: readonly [{
|
|
674
|
+
readonly internalType: "uint16";
|
|
675
|
+
readonly name: "maxSlippageBps";
|
|
676
|
+
readonly type: "uint16";
|
|
677
|
+
}];
|
|
678
|
+
readonly name: "InvalidMaxSlippage";
|
|
749
679
|
readonly type: "error";
|
|
750
680
|
}, {
|
|
751
|
-
readonly inputs: readonly [
|
|
752
|
-
|
|
681
|
+
readonly inputs: readonly [{
|
|
682
|
+
readonly internalType: "uint256";
|
|
683
|
+
readonly name: "length";
|
|
684
|
+
readonly type: "uint256";
|
|
685
|
+
}];
|
|
686
|
+
readonly name: "InvalidNameLength";
|
|
753
687
|
readonly type: "error";
|
|
754
688
|
}, {
|
|
755
|
-
readonly inputs: readonly [
|
|
756
|
-
|
|
689
|
+
readonly inputs: readonly [{
|
|
690
|
+
readonly internalType: "address";
|
|
691
|
+
readonly name: "vault";
|
|
692
|
+
readonly type: "address";
|
|
693
|
+
}];
|
|
694
|
+
readonly name: "LeaderHasActiveVault";
|
|
757
695
|
readonly type: "error";
|
|
758
696
|
}, {
|
|
759
697
|
readonly inputs: readonly [{
|
|
760
698
|
readonly internalType: "uint256";
|
|
761
|
-
readonly name: "
|
|
699
|
+
readonly name: "until";
|
|
762
700
|
readonly type: "uint256";
|
|
763
701
|
}, {
|
|
764
702
|
readonly internalType: "uint256";
|
|
765
|
-
readonly name: "
|
|
703
|
+
readonly name: "required";
|
|
766
704
|
readonly type: "uint256";
|
|
767
705
|
}];
|
|
768
|
-
readonly name: "
|
|
706
|
+
readonly name: "LockTermTooShort";
|
|
707
|
+
readonly type: "error";
|
|
708
|
+
}, {
|
|
709
|
+
readonly inputs: readonly [];
|
|
710
|
+
readonly name: "LockerNotApproved";
|
|
769
711
|
readonly type: "error";
|
|
770
712
|
}, {
|
|
771
713
|
readonly inputs: readonly [{
|
|
772
|
-
readonly internalType: "address";
|
|
773
|
-
readonly name: "recipient";
|
|
774
|
-
readonly type: "address";
|
|
775
|
-
}, {
|
|
776
714
|
readonly internalType: "uint256";
|
|
777
|
-
readonly name: "
|
|
715
|
+
readonly name: "minSeed";
|
|
778
716
|
readonly type: "uint256";
|
|
779
717
|
}];
|
|
780
|
-
readonly name: "
|
|
718
|
+
readonly name: "MinSeedTooLow";
|
|
781
719
|
readonly type: "error";
|
|
782
720
|
}, {
|
|
783
721
|
readonly inputs: readonly [];
|
|
@@ -787,6 +725,10 @@ export declare const abi_1a2db3035880: readonly [{
|
|
|
787
725
|
readonly inputs: readonly [];
|
|
788
726
|
readonly name: "NotInitializing";
|
|
789
727
|
readonly type: "error";
|
|
728
|
+
}, {
|
|
729
|
+
readonly inputs: readonly [];
|
|
730
|
+
readonly name: "NotVault";
|
|
731
|
+
readonly type: "error";
|
|
790
732
|
}, {
|
|
791
733
|
readonly inputs: readonly [{
|
|
792
734
|
readonly internalType: "address";
|
|
@@ -805,63 +747,39 @@ export declare const abi_1a2db3035880: readonly [{
|
|
|
805
747
|
readonly type: "error";
|
|
806
748
|
}, {
|
|
807
749
|
readonly inputs: readonly [{
|
|
808
|
-
readonly internalType: "
|
|
809
|
-
readonly name: "
|
|
810
|
-
readonly type: "
|
|
750
|
+
readonly internalType: "uint16";
|
|
751
|
+
readonly name: "profitShareBps";
|
|
752
|
+
readonly type: "uint16";
|
|
811
753
|
}];
|
|
812
|
-
readonly name: "
|
|
754
|
+
readonly name: "ProfitShareTooHigh";
|
|
813
755
|
readonly type: "error";
|
|
814
756
|
}, {
|
|
815
757
|
readonly inputs: readonly [];
|
|
816
|
-
readonly name: "
|
|
758
|
+
readonly name: "ReentrancyGuardReentrantCall";
|
|
817
759
|
readonly type: "error";
|
|
818
760
|
}, {
|
|
819
761
|
readonly inputs: readonly [{
|
|
820
762
|
readonly internalType: "address";
|
|
821
|
-
readonly name: "
|
|
822
|
-
readonly type: "address";
|
|
823
|
-
}, {
|
|
824
|
-
readonly internalType: "address";
|
|
825
|
-
readonly name: "quoteToken";
|
|
763
|
+
readonly name: "token";
|
|
826
764
|
readonly type: "address";
|
|
827
765
|
}];
|
|
828
|
-
readonly name: "
|
|
829
|
-
readonly type: "error";
|
|
830
|
-
}, {
|
|
831
|
-
readonly inputs: readonly [];
|
|
832
|
-
readonly name: "ReentrancyGuardReentrantCall";
|
|
766
|
+
readonly name: "SafeERC20FailedOperation";
|
|
833
767
|
readonly type: "error";
|
|
834
768
|
}, {
|
|
835
769
|
readonly inputs: readonly [{
|
|
836
770
|
readonly internalType: "uint256";
|
|
837
|
-
readonly name: "
|
|
838
|
-
readonly type: "uint256";
|
|
839
|
-
}, {
|
|
840
|
-
readonly internalType: "uint256";
|
|
841
|
-
readonly name: "available";
|
|
771
|
+
readonly name: "seed";
|
|
842
772
|
readonly type: "uint256";
|
|
843
|
-
}];
|
|
844
|
-
readonly name: "RefundPotInsufficient";
|
|
845
|
-
readonly type: "error";
|
|
846
|
-
}, {
|
|
847
|
-
readonly inputs: readonly [{
|
|
848
|
-
readonly internalType: "address";
|
|
849
|
-
readonly name: "recipient";
|
|
850
|
-
readonly type: "address";
|
|
851
773
|
}, {
|
|
852
774
|
readonly internalType: "uint256";
|
|
853
|
-
readonly name: "
|
|
775
|
+
readonly name: "minSeed";
|
|
854
776
|
readonly type: "uint256";
|
|
855
777
|
}];
|
|
856
|
-
readonly name: "
|
|
778
|
+
readonly name: "SeedBelowMinimum";
|
|
857
779
|
readonly type: "error";
|
|
858
780
|
}, {
|
|
859
|
-
readonly inputs: readonly [
|
|
860
|
-
|
|
861
|
-
readonly name: "token";
|
|
862
|
-
readonly type: "address";
|
|
863
|
-
}];
|
|
864
|
-
readonly name: "SafeERC20FailedOperation";
|
|
781
|
+
readonly inputs: readonly [];
|
|
782
|
+
readonly name: "StakeAmountZero";
|
|
865
783
|
readonly type: "error";
|
|
866
784
|
}, {
|
|
867
785
|
readonly inputs: readonly [];
|
|
@@ -877,15 +795,19 @@ export declare const abi_1a2db3035880: readonly [{
|
|
|
877
795
|
readonly type: "error";
|
|
878
796
|
}, {
|
|
879
797
|
readonly inputs: readonly [{
|
|
880
|
-
readonly internalType: "
|
|
881
|
-
readonly name: "
|
|
882
|
-
readonly type: "
|
|
798
|
+
readonly internalType: "uint256";
|
|
799
|
+
readonly name: "sent";
|
|
800
|
+
readonly type: "uint256";
|
|
801
|
+
}, {
|
|
802
|
+
readonly internalType: "uint256";
|
|
803
|
+
readonly name: "required";
|
|
804
|
+
readonly type: "uint256";
|
|
883
805
|
}];
|
|
884
|
-
readonly name: "
|
|
806
|
+
readonly name: "WrongValue";
|
|
885
807
|
readonly type: "error";
|
|
886
808
|
}, {
|
|
887
809
|
readonly inputs: readonly [];
|
|
888
|
-
readonly name: "
|
|
810
|
+
readonly name: "ZeroAddress";
|
|
889
811
|
readonly type: "error";
|
|
890
812
|
}];
|
|
891
|
-
export declare const digest = "sha256:
|
|
813
|
+
export declare const digest = "sha256:59f72604787a63cae319429ce750ce9471369bb08ad22febf7ea75ea75c558a7";
|