@mezo-org/passport 0.4.0-dev.38 → 0.4.0-dev.39
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/components/Dropdown/Root/AccountAssets.d.ts +13 -0
- package/dist/src/components/Dropdown/Root/AccountAssets.d.ts.map +1 -0
- package/dist/src/components/Dropdown/Root/AccountAssets.js +43 -0
- package/dist/src/components/Dropdown/Root/AccountAssets.js.map +1 -0
- package/dist/src/components/Dropdown/Root/AccountBalance copy.d.ts +8 -0
- package/dist/src/components/Dropdown/Root/AccountBalance copy.d.ts.map +1 -0
- package/dist/src/components/Dropdown/Root/AccountBalance copy.js +15 -0
- package/dist/src/components/Dropdown/Root/AccountBalance copy.js.map +1 -0
- package/dist/src/components/Dropdown/Root/AccountOtherAssets copy.d.ts +8 -0
- package/dist/src/components/Dropdown/Root/AccountOtherAssets copy.d.ts.map +1 -0
- package/dist/src/components/Dropdown/Root/AccountOtherAssets copy.js +21 -0
- package/dist/src/components/Dropdown/Root/AccountOtherAssets copy.js.map +1 -0
- package/dist/src/components/Dropdown/Root/ListingItem copy.d.ts +12 -0
- package/dist/src/components/Dropdown/Root/ListingItem copy.d.ts.map +1 -0
- package/dist/src/components/Dropdown/Root/ListingItem copy.js +36 -0
- package/dist/src/components/Dropdown/Root/ListingItem copy.js.map +1 -0
- package/dist/src/components/Dropdown/Root/ListingItem.d.ts +12 -0
- package/dist/src/components/Dropdown/Root/ListingItem.d.ts.map +1 -0
- package/dist/src/components/Dropdown/Root/ListingItem.js +34 -0
- package/dist/src/components/Dropdown/Root/ListingItem.js.map +1 -0
- package/dist/src/components/Dropdown/Root/TestnetTopBanner.d.ts +3 -0
- package/dist/src/components/Dropdown/Root/TestnetTopBanner.d.ts.map +1 -0
- package/dist/src/components/Dropdown/Root/TestnetTopBanner.js +9 -0
- package/dist/src/components/Dropdown/Root/TestnetTopBanner.js.map +1 -0
- package/dist/src/hooks/useBorrowData.d.ts +5 -1363
- package/dist/src/hooks/useBorrowData.d.ts.map +1 -1
- package/dist/src/hooks/useBorrowData.js +61 -4
- package/dist/src/hooks/useBorrowData.js.map +1 -1
- package/dist/src/hooks/useGetEntireDebtAndCollByAddress.d.ts +9 -0
- package/dist/src/hooks/useGetEntireDebtAndCollByAddress.d.ts.map +1 -0
- package/dist/src/hooks/useGetEntireDebtAndCollByAddress.js +36 -0
- package/dist/src/hooks/useGetEntireDebtAndCollByAddress.js.map +1 -0
- package/dist/src/hooks/useMezoTokensBalances.d.ts +46 -0
- package/dist/src/hooks/useMezoTokensBalances.d.ts.map +1 -0
- package/dist/src/hooks/useMezoTokensBalances.js +85 -0
- package/dist/src/hooks/useMezoTokensBalances.js.map +1 -0
- package/dist/src/hooks/useTokensBalance.d.ts +16931 -0
- package/dist/src/hooks/useTokensBalance.d.ts.map +1 -0
- package/dist/src/hooks/useTokensBalance.js +84 -0
- package/dist/src/hooks/useTokensBalance.js.map +1 -0
- package/dist/src/hooks/useTokensBalances.js +2 -2
- package/dist/src/hooks/useTokensBalances.js.map +1 -1
- package/dist/src/hooks/useWatchTransferEvents.js +2 -2
- package/dist/src/hooks/useWatchTransferEvents.js.map +1 -1
- package/dist/src/lib/contracts/cbbtc.d.ts +962 -0
- package/dist/src/lib/contracts/cbbtc.d.ts.map +1 -0
- package/dist/src/lib/contracts/cbbtc.js +711 -0
- package/dist/src/lib/contracts/cbbtc.js.map +1 -0
- package/dist/src/lib/contracts/cbbtcAbi.d.ts +30 -0
- package/dist/src/lib/contracts/cbbtcAbi.d.ts.map +1 -0
- package/dist/src/lib/contracts/cbbtcAbi.js +686 -0
- package/dist/src/lib/contracts/cbbtcAbi.js.map +1 -0
- package/dist/src/lib/contracts/dai.d.ts +458 -0
- package/dist/src/lib/contracts/dai.d.ts.map +1 -0
- package/dist/src/lib/contracts/dai.js +334 -0
- package/dist/src/lib/contracts/dai.js.map +1 -0
- package/dist/src/lib/contracts/daiAbi.d.ts +47 -0
- package/dist/src/lib/contracts/daiAbi.d.ts.map +1 -0
- package/dist/src/lib/contracts/daiAbi.js +277 -0
- package/dist/src/lib/contracts/daiAbi.js.map +1 -0
- package/dist/src/lib/contracts/fbtc.d.ts +676 -0
- package/dist/src/lib/contracts/fbtc.d.ts.map +1 -0
- package/dist/src/lib/contracts/fbtc.js +527 -0
- package/dist/src/lib/contracts/fbtc.js.map +1 -0
- package/dist/src/lib/contracts/fbtcAbi.d.ts +52 -0
- package/dist/src/lib/contracts/fbtcAbi.d.ts.map +1 -0
- package/dist/src/lib/contracts/fbtcAbi.js +500 -0
- package/dist/src/lib/contracts/fbtcAbi.js.map +1 -0
- package/dist/src/lib/contracts/index.d.ts +7 -4
- package/dist/src/lib/contracts/index.d.ts.map +1 -1
- package/dist/src/lib/contracts/index.js +11 -6
- package/dist/src/lib/contracts/index.js.map +1 -1
- package/dist/src/lib/contracts/mcbbtc.d.ts +955 -0
- package/dist/src/lib/contracts/mcbbtc.d.ts.map +1 -0
- package/dist/src/lib/contracts/mcbbtc.js +704 -0
- package/dist/src/lib/contracts/mcbbtc.js.map +1 -0
- package/dist/src/lib/contracts/mdai.d.ts +451 -0
- package/dist/src/lib/contracts/mdai.d.ts.map +1 -0
- package/dist/src/lib/contracts/mdai.js +327 -0
- package/dist/src/lib/contracts/mdai.js.map +1 -0
- package/dist/src/lib/contracts/mezo.d.ts +10 -0
- package/dist/src/lib/contracts/mezo.d.ts.map +1 -0
- package/dist/src/lib/contracts/mezo.js +48 -0
- package/dist/src/lib/contracts/mezo.js.map +1 -0
- package/dist/src/lib/contracts/mfbtc.d.ts +670 -0
- package/dist/src/lib/contracts/mfbtc.d.ts.map +1 -0
- package/dist/src/lib/contracts/mfbtc.js +521 -0
- package/dist/src/lib/contracts/mfbtc.js.map +1 -0
- package/dist/src/lib/contracts/msolvbtc.d.ts +515 -0
- package/dist/src/lib/contracts/msolvbtc.d.ts.map +1 -0
- package/dist/src/lib/contracts/msolvbtc.js +331 -0
- package/dist/src/lib/contracts/msolvbtc.js.map +1 -0
- package/dist/src/lib/contracts/mswbtc.d.ts +1337 -0
- package/dist/src/lib/contracts/mswbtc.d.ts.map +1 -0
- package/dist/src/lib/contracts/mswbtc.js +909 -0
- package/dist/src/lib/contracts/mswbtc.js.map +1 -0
- package/dist/src/lib/contracts/mt.d.ts +603 -0
- package/dist/src/lib/contracts/mt.d.ts.map +1 -0
- package/dist/src/lib/contracts/mt.js +420 -0
- package/dist/src/lib/contracts/mt.js.map +1 -0
- package/dist/src/lib/contracts/musd.d.ts +107 -0
- package/dist/src/lib/contracts/musd.d.ts.map +1 -0
- package/dist/src/lib/contracts/musd.js +1070 -0
- package/dist/src/lib/contracts/musd.js.map +1 -0
- package/dist/src/lib/contracts/musdc.d.ts +1082 -0
- package/dist/src/lib/contracts/musdc.d.ts.map +1 -0
- package/dist/src/lib/contracts/musdc.js +773 -0
- package/dist/src/lib/contracts/musdc.js.map +1 -0
- package/dist/src/lib/contracts/musde.d.ts +489 -0
- package/dist/src/lib/contracts/musde.d.ts.map +1 -0
- package/dist/src/lib/contracts/musde.js +347 -0
- package/dist/src/lib/contracts/musde.js.map +1 -0
- package/dist/src/lib/contracts/musdt.d.ts +526 -0
- package/dist/src/lib/contracts/musdt.d.ts.map +1 -0
- package/dist/src/lib/contracts/musdt.js +397 -0
- package/dist/src/lib/contracts/musdt.js.map +1 -0
- package/dist/src/lib/contracts/mxsolvbtc.d.ts +514 -0
- package/dist/src/lib/contracts/mxsolvbtc.d.ts.map +1 -0
- package/dist/src/lib/contracts/mxsolvbtc.js +330 -0
- package/dist/src/lib/contracts/mxsolvbtc.js.map +1 -0
- package/dist/src/lib/contracts/solvbtc.d.ts +521 -0
- package/dist/src/lib/contracts/solvbtc.d.ts.map +1 -0
- package/dist/src/lib/contracts/solvbtc.js +337 -0
- package/dist/src/lib/contracts/solvbtc.js.map +1 -0
- package/dist/src/lib/contracts/solvbtcAbi.d.ts +48 -0
- package/dist/src/lib/contracts/solvbtcAbi.d.ts.map +1 -0
- package/dist/src/lib/contracts/solvbtcAbi.js +316 -0
- package/dist/src/lib/contracts/solvbtcAbi.js.map +1 -0
- package/dist/src/lib/contracts/swbtc.d.ts +1343 -0
- package/dist/src/lib/contracts/swbtc.d.ts.map +1 -0
- package/dist/src/lib/contracts/swbtc.js +915 -0
- package/dist/src/lib/contracts/swbtc.js.map +1 -0
- package/dist/src/lib/contracts/swbtcAbi.d.ts +51 -0
- package/dist/src/lib/contracts/swbtcAbi.d.ts.map +1 -0
- package/dist/src/lib/contracts/swbtcAbi.js +897 -0
- package/dist/src/lib/contracts/swbtcAbi.js.map +1 -0
- package/dist/src/lib/contracts/t.d.ts +609 -0
- package/dist/src/lib/contracts/t.d.ts.map +1 -0
- package/dist/src/lib/contracts/t.js +426 -0
- package/dist/src/lib/contracts/t.js.map +1 -0
- package/dist/src/lib/contracts/tAbi.d.ts +57 -0
- package/dist/src/lib/contracts/tAbi.d.ts.map +1 -0
- package/dist/src/lib/contracts/tAbi.js +407 -0
- package/dist/src/lib/contracts/tAbi.js.map +1 -0
- package/dist/src/lib/contracts/tbtc.d.ts +324 -0
- package/dist/src/lib/contracts/tbtc.d.ts.map +1 -0
- package/dist/src/lib/contracts/tbtc.js +236 -0
- package/dist/src/lib/contracts/tbtc.js.map +1 -0
- package/dist/src/lib/contracts/usdc.d.ts +1088 -0
- package/dist/src/lib/contracts/usdc.d.ts.map +1 -0
- package/dist/src/lib/contracts/usdc.js +779 -0
- package/dist/src/lib/contracts/usdc.js.map +1 -0
- package/dist/src/lib/contracts/usdcAbi.d.ts +30 -0
- package/dist/src/lib/contracts/usdcAbi.d.ts.map +1 -0
- package/dist/src/lib/contracts/usdcAbi.js +754 -0
- package/dist/src/lib/contracts/usdcAbi.js.map +1 -0
- package/dist/src/lib/contracts/usde.d.ts +495 -0
- package/dist/src/lib/contracts/usde.d.ts.map +1 -0
- package/dist/src/lib/contracts/usde.js +353 -0
- package/dist/src/lib/contracts/usde.js.map +1 -0
- package/dist/src/lib/contracts/usdeAbi.d.ts +52 -0
- package/dist/src/lib/contracts/usdeAbi.d.ts.map +1 -0
- package/dist/src/lib/contracts/usdeAbi.js +331 -0
- package/dist/src/lib/contracts/usdeAbi.js.map +1 -0
- package/dist/src/lib/contracts/usdt.d.ts +532 -0
- package/dist/src/lib/contracts/usdt.d.ts.map +1 -0
- package/dist/src/lib/contracts/usdt.js +403 -0
- package/dist/src/lib/contracts/usdt.js.map +1 -0
- package/dist/src/lib/contracts/usdtAbi.d.ts +43 -0
- package/dist/src/lib/contracts/usdtAbi.d.ts.map +1 -0
- package/dist/src/lib/contracts/usdtAbi.js +391 -0
- package/dist/src/lib/contracts/usdtAbi.js.map +1 -0
- package/dist/src/lib/contracts/wbtc.d.ts +406 -0
- package/dist/src/lib/contracts/wbtc.d.ts.map +1 -0
- package/dist/src/lib/contracts/wbtc.js +303 -0
- package/dist/src/lib/contracts/wbtc.js.map +1 -0
- package/dist/src/lib/contracts/xsolvbtc.d.ts +521 -0
- package/dist/src/lib/contracts/xsolvbtc.d.ts.map +1 -0
- package/dist/src/lib/contracts/xsolvbtc.js +337 -0
- package/dist/src/lib/contracts/xsolvbtc.js.map +1 -0
- package/dist/src/lib/contracts/xsolvbtcAbi.d.ts +53 -0
- package/dist/src/lib/contracts/xsolvbtcAbi.d.ts.map +1 -0
- package/dist/src/lib/contracts/xsolvbtcAbi.js +330 -0
- package/dist/src/lib/contracts/xsolvbtcAbi.js.map +1 -0
- package/package.json +22 -20
- package/src/hooks/useBorrowData.ts +68 -4
- package/src/hooks/useTokensBalances.ts +3 -3
- package/src/hooks/useWatchTransferEvents.ts +3 -3
- package/src/lib/contracts/index.ts +21 -13
- package/dist/cjs/index.js +0 -68
- package/dist/cjs/index.js.map +0 -1
- package/dist/esm/index.js +0 -68
- package/dist/esm/index.js.map +0 -1
- package/dist/index.d.ts +0 -31
- package/src/lib/contracts/troveManager.ts +0 -1819
|
@@ -4,1175 +4,15 @@
|
|
|
4
4
|
* @param queryOptions Query options passed to the underlying `useQuery` hook.
|
|
5
5
|
*/
|
|
6
6
|
export declare function useBorrowData(queryOptions?: {}): import("wagmi").UseReadContractReturnType<readonly [{
|
|
7
|
-
readonly inputs: readonly [];
|
|
8
|
-
readonly stateMutability: "nonpayable";
|
|
9
|
-
readonly type: "constructor";
|
|
10
|
-
}, {
|
|
11
|
-
readonly inputs: readonly [];
|
|
12
|
-
readonly name: "InvalidInitialization";
|
|
13
|
-
readonly type: "error";
|
|
14
|
-
}, {
|
|
15
|
-
readonly inputs: readonly [];
|
|
16
|
-
readonly name: "NotInitializing";
|
|
17
|
-
readonly type: "error";
|
|
18
|
-
}, {
|
|
19
|
-
readonly inputs: readonly [{
|
|
20
|
-
readonly internalType: "address";
|
|
21
|
-
readonly name: "owner";
|
|
22
|
-
readonly type: "address";
|
|
23
|
-
}];
|
|
24
|
-
readonly name: "OwnableInvalidOwner";
|
|
25
|
-
readonly type: "error";
|
|
26
|
-
}, {
|
|
27
|
-
readonly inputs: readonly [{
|
|
28
|
-
readonly internalType: "address";
|
|
29
|
-
readonly name: "account";
|
|
30
|
-
readonly type: "address";
|
|
31
|
-
}];
|
|
32
|
-
readonly name: "OwnableUnauthorizedAccount";
|
|
33
|
-
readonly type: "error";
|
|
34
|
-
}, {
|
|
35
|
-
readonly anonymous: false;
|
|
36
|
-
readonly inputs: readonly [{
|
|
37
|
-
readonly indexed: false;
|
|
38
|
-
readonly internalType: "address";
|
|
39
|
-
readonly name: "_activePoolAddress";
|
|
40
|
-
readonly type: "address";
|
|
41
|
-
}];
|
|
42
|
-
readonly name: "ActivePoolAddressChanged";
|
|
43
|
-
readonly type: "event";
|
|
44
|
-
}, {
|
|
45
|
-
readonly anonymous: false;
|
|
46
|
-
readonly inputs: readonly [{
|
|
47
|
-
readonly indexed: false;
|
|
48
|
-
readonly internalType: "uint256";
|
|
49
|
-
readonly name: "_baseRate";
|
|
50
|
-
readonly type: "uint256";
|
|
51
|
-
}];
|
|
52
|
-
readonly name: "BaseRateUpdated";
|
|
53
|
-
readonly type: "event";
|
|
54
|
-
}, {
|
|
55
|
-
readonly anonymous: false;
|
|
56
|
-
readonly inputs: readonly [{
|
|
57
|
-
readonly indexed: false;
|
|
58
|
-
readonly internalType: "address";
|
|
59
|
-
readonly name: "_newBorrowerOperationsAddress";
|
|
60
|
-
readonly type: "address";
|
|
61
|
-
}];
|
|
62
|
-
readonly name: "BorrowerOperationsAddressChanged";
|
|
63
|
-
readonly type: "event";
|
|
64
|
-
}, {
|
|
65
|
-
readonly anonymous: false;
|
|
66
|
-
readonly inputs: readonly [{
|
|
67
|
-
readonly indexed: false;
|
|
68
|
-
readonly internalType: "address";
|
|
69
|
-
readonly name: "_collSurplusPoolAddress";
|
|
70
|
-
readonly type: "address";
|
|
71
|
-
}];
|
|
72
|
-
readonly name: "CollSurplusPoolAddressChanged";
|
|
73
|
-
readonly type: "event";
|
|
74
|
-
}, {
|
|
75
|
-
readonly anonymous: false;
|
|
76
|
-
readonly inputs: readonly [{
|
|
77
|
-
readonly indexed: false;
|
|
78
|
-
readonly internalType: "address";
|
|
79
|
-
readonly name: "_defaultPoolAddress";
|
|
80
|
-
readonly type: "address";
|
|
81
|
-
}];
|
|
82
|
-
readonly name: "DefaultPoolAddressChanged";
|
|
83
|
-
readonly type: "event";
|
|
84
|
-
}, {
|
|
85
|
-
readonly anonymous: false;
|
|
86
|
-
readonly inputs: readonly [{
|
|
87
|
-
readonly indexed: false;
|
|
88
|
-
readonly internalType: "address";
|
|
89
|
-
readonly name: "_gasPoolAddress";
|
|
90
|
-
readonly type: "address";
|
|
91
|
-
}];
|
|
92
|
-
readonly name: "GasPoolAddressChanged";
|
|
93
|
-
readonly type: "event";
|
|
94
|
-
}, {
|
|
95
|
-
readonly anonymous: false;
|
|
96
|
-
readonly inputs: readonly [{
|
|
97
|
-
readonly indexed: false;
|
|
98
|
-
readonly internalType: "address";
|
|
99
|
-
readonly name: "_governableVariablesAddress";
|
|
100
|
-
readonly type: "address";
|
|
101
|
-
}];
|
|
102
|
-
readonly name: "GovernableVariablesAddressChanged";
|
|
103
|
-
readonly type: "event";
|
|
104
|
-
}, {
|
|
105
|
-
readonly anonymous: false;
|
|
106
|
-
readonly inputs: readonly [{
|
|
107
|
-
readonly indexed: false;
|
|
108
|
-
readonly internalType: "uint64";
|
|
109
|
-
readonly name: "version";
|
|
110
|
-
readonly type: "uint64";
|
|
111
|
-
}];
|
|
112
|
-
readonly name: "Initialized";
|
|
113
|
-
readonly type: "event";
|
|
114
|
-
}, {
|
|
115
|
-
readonly anonymous: false;
|
|
116
|
-
readonly inputs: readonly [{
|
|
117
|
-
readonly indexed: false;
|
|
118
|
-
readonly internalType: "address";
|
|
119
|
-
readonly name: "_interestRateManagerAddress";
|
|
120
|
-
readonly type: "address";
|
|
121
|
-
}];
|
|
122
|
-
readonly name: "InterestRateManagerAddressChanged";
|
|
123
|
-
readonly type: "event";
|
|
124
|
-
}, {
|
|
125
|
-
readonly anonymous: false;
|
|
126
|
-
readonly inputs: readonly [{
|
|
127
|
-
readonly indexed: false;
|
|
128
|
-
readonly internalType: "uint256";
|
|
129
|
-
readonly name: "_L_Collateral";
|
|
130
|
-
readonly type: "uint256";
|
|
131
|
-
}, {
|
|
132
|
-
readonly indexed: false;
|
|
133
|
-
readonly internalType: "uint256";
|
|
134
|
-
readonly name: "_L_Principal";
|
|
135
|
-
readonly type: "uint256";
|
|
136
|
-
}, {
|
|
137
|
-
readonly indexed: false;
|
|
138
|
-
readonly internalType: "uint256";
|
|
139
|
-
readonly name: "_L_Interest";
|
|
140
|
-
readonly type: "uint256";
|
|
141
|
-
}];
|
|
142
|
-
readonly name: "LTermsUpdated";
|
|
143
|
-
readonly type: "event";
|
|
144
|
-
}, {
|
|
145
|
-
readonly anonymous: false;
|
|
146
|
-
readonly inputs: readonly [{
|
|
147
|
-
readonly indexed: false;
|
|
148
|
-
readonly internalType: "uint256";
|
|
149
|
-
readonly name: "_liquidatedPrincipal";
|
|
150
|
-
readonly type: "uint256";
|
|
151
|
-
}, {
|
|
152
|
-
readonly indexed: false;
|
|
153
|
-
readonly internalType: "uint256";
|
|
154
|
-
readonly name: "_liquidatedInterest";
|
|
155
|
-
readonly type: "uint256";
|
|
156
|
-
}, {
|
|
157
|
-
readonly indexed: false;
|
|
158
|
-
readonly internalType: "uint256";
|
|
159
|
-
readonly name: "_liquidatedColl";
|
|
160
|
-
readonly type: "uint256";
|
|
161
|
-
}, {
|
|
162
|
-
readonly indexed: false;
|
|
163
|
-
readonly internalType: "uint256";
|
|
164
|
-
readonly name: "_collGasCompensation";
|
|
165
|
-
readonly type: "uint256";
|
|
166
|
-
}, {
|
|
167
|
-
readonly indexed: false;
|
|
168
|
-
readonly internalType: "uint256";
|
|
169
|
-
readonly name: "_gasCompensation";
|
|
170
|
-
readonly type: "uint256";
|
|
171
|
-
}];
|
|
172
|
-
readonly name: "Liquidation";
|
|
173
|
-
readonly type: "event";
|
|
174
|
-
}, {
|
|
175
|
-
readonly anonymous: false;
|
|
176
|
-
readonly inputs: readonly [{
|
|
177
|
-
readonly indexed: false;
|
|
178
|
-
readonly internalType: "address";
|
|
179
|
-
readonly name: "_newMUSDTokenAddress";
|
|
180
|
-
readonly type: "address";
|
|
181
|
-
}];
|
|
182
|
-
readonly name: "MUSDTokenAddressChanged";
|
|
183
|
-
readonly type: "event";
|
|
184
|
-
}, {
|
|
185
|
-
readonly anonymous: false;
|
|
186
|
-
readonly inputs: readonly [{
|
|
187
|
-
readonly indexed: true;
|
|
188
|
-
readonly internalType: "address";
|
|
189
|
-
readonly name: "previousOwner";
|
|
190
|
-
readonly type: "address";
|
|
191
|
-
}, {
|
|
192
|
-
readonly indexed: true;
|
|
193
|
-
readonly internalType: "address";
|
|
194
|
-
readonly name: "newOwner";
|
|
195
|
-
readonly type: "address";
|
|
196
|
-
}];
|
|
197
|
-
readonly name: "OwnershipTransferred";
|
|
198
|
-
readonly type: "event";
|
|
199
|
-
}, {
|
|
200
|
-
readonly anonymous: false;
|
|
201
|
-
readonly inputs: readonly [{
|
|
202
|
-
readonly indexed: false;
|
|
203
|
-
readonly internalType: "address";
|
|
204
|
-
readonly name: "_pcvAddress";
|
|
205
|
-
readonly type: "address";
|
|
206
|
-
}];
|
|
207
|
-
readonly name: "PCVAddressChanged";
|
|
208
|
-
readonly type: "event";
|
|
209
|
-
}, {
|
|
210
|
-
readonly anonymous: false;
|
|
211
|
-
readonly inputs: readonly [{
|
|
212
|
-
readonly indexed: false;
|
|
213
|
-
readonly internalType: "address";
|
|
214
|
-
readonly name: "_newPriceFeedAddress";
|
|
215
|
-
readonly type: "address";
|
|
216
|
-
}];
|
|
217
|
-
readonly name: "PriceFeedAddressChanged";
|
|
218
|
-
readonly type: "event";
|
|
219
|
-
}, {
|
|
220
|
-
readonly anonymous: false;
|
|
221
|
-
readonly inputs: readonly [{
|
|
222
|
-
readonly indexed: false;
|
|
223
|
-
readonly internalType: "uint256";
|
|
224
|
-
readonly name: "_attemptedAmount";
|
|
225
|
-
readonly type: "uint256";
|
|
226
|
-
}, {
|
|
227
|
-
readonly indexed: false;
|
|
228
|
-
readonly internalType: "uint256";
|
|
229
|
-
readonly name: "_actualAmount";
|
|
230
|
-
readonly type: "uint256";
|
|
231
|
-
}, {
|
|
232
|
-
readonly indexed: false;
|
|
233
|
-
readonly internalType: "uint256";
|
|
234
|
-
readonly name: "_collateralSent";
|
|
235
|
-
readonly type: "uint256";
|
|
236
|
-
}, {
|
|
237
|
-
readonly indexed: false;
|
|
238
|
-
readonly internalType: "uint256";
|
|
239
|
-
readonly name: "_collateralFee";
|
|
240
|
-
readonly type: "uint256";
|
|
241
|
-
}];
|
|
242
|
-
readonly name: "Redemption";
|
|
243
|
-
readonly type: "event";
|
|
244
|
-
}, {
|
|
245
|
-
readonly anonymous: false;
|
|
246
|
-
readonly inputs: readonly [{
|
|
247
|
-
readonly indexed: false;
|
|
248
|
-
readonly internalType: "address";
|
|
249
|
-
readonly name: "_sortedTrovesAddress";
|
|
250
|
-
readonly type: "address";
|
|
251
|
-
}];
|
|
252
|
-
readonly name: "SortedTrovesAddressChanged";
|
|
253
|
-
readonly type: "event";
|
|
254
|
-
}, {
|
|
255
|
-
readonly anonymous: false;
|
|
256
|
-
readonly inputs: readonly [{
|
|
257
|
-
readonly indexed: false;
|
|
258
|
-
readonly internalType: "address";
|
|
259
|
-
readonly name: "_stabilityPoolAddress";
|
|
260
|
-
readonly type: "address";
|
|
261
|
-
}];
|
|
262
|
-
readonly name: "StabilityPoolAddressChanged";
|
|
263
|
-
readonly type: "event";
|
|
264
|
-
}, {
|
|
265
|
-
readonly anonymous: false;
|
|
266
|
-
readonly inputs: readonly [{
|
|
267
|
-
readonly indexed: false;
|
|
268
|
-
readonly internalType: "uint256";
|
|
269
|
-
readonly name: "_totalStakesSnapshot";
|
|
270
|
-
readonly type: "uint256";
|
|
271
|
-
}, {
|
|
272
|
-
readonly indexed: false;
|
|
273
|
-
readonly internalType: "uint256";
|
|
274
|
-
readonly name: "_totalCollateralSnapshot";
|
|
275
|
-
readonly type: "uint256";
|
|
276
|
-
}];
|
|
277
|
-
readonly name: "SystemSnapshotsUpdated";
|
|
278
|
-
readonly type: "event";
|
|
279
|
-
}, {
|
|
280
|
-
readonly anonymous: false;
|
|
281
|
-
readonly inputs: readonly [{
|
|
282
|
-
readonly indexed: false;
|
|
283
|
-
readonly internalType: "uint256";
|
|
284
|
-
readonly name: "_newTotalStakes";
|
|
285
|
-
readonly type: "uint256";
|
|
286
|
-
}];
|
|
287
|
-
readonly name: "TotalStakesUpdated";
|
|
288
|
-
readonly type: "event";
|
|
289
|
-
}, {
|
|
290
|
-
readonly anonymous: false;
|
|
291
|
-
readonly inputs: readonly [{
|
|
292
|
-
readonly indexed: false;
|
|
293
|
-
readonly internalType: "address";
|
|
294
|
-
readonly name: "_borrower";
|
|
295
|
-
readonly type: "address";
|
|
296
|
-
}, {
|
|
297
|
-
readonly indexed: false;
|
|
298
|
-
readonly internalType: "uint256";
|
|
299
|
-
readonly name: "_newIndex";
|
|
300
|
-
readonly type: "uint256";
|
|
301
|
-
}];
|
|
302
|
-
readonly name: "TroveIndexUpdated";
|
|
303
|
-
readonly type: "event";
|
|
304
|
-
}, {
|
|
305
|
-
readonly anonymous: false;
|
|
306
|
-
readonly inputs: readonly [{
|
|
307
|
-
readonly indexed: true;
|
|
308
|
-
readonly internalType: "address";
|
|
309
|
-
readonly name: "_borrower";
|
|
310
|
-
readonly type: "address";
|
|
311
|
-
}, {
|
|
312
|
-
readonly indexed: false;
|
|
313
|
-
readonly internalType: "uint256";
|
|
314
|
-
readonly name: "_debt";
|
|
315
|
-
readonly type: "uint256";
|
|
316
|
-
}, {
|
|
317
|
-
readonly indexed: false;
|
|
318
|
-
readonly internalType: "uint256";
|
|
319
|
-
readonly name: "_coll";
|
|
320
|
-
readonly type: "uint256";
|
|
321
|
-
}, {
|
|
322
|
-
readonly indexed: false;
|
|
323
|
-
readonly internalType: "uint8";
|
|
324
|
-
readonly name: "operation";
|
|
325
|
-
readonly type: "uint8";
|
|
326
|
-
}];
|
|
327
|
-
readonly name: "TroveLiquidated";
|
|
328
|
-
readonly type: "event";
|
|
329
|
-
}, {
|
|
330
|
-
readonly anonymous: false;
|
|
331
|
-
readonly inputs: readonly [{
|
|
332
|
-
readonly indexed: false;
|
|
333
|
-
readonly internalType: "uint256";
|
|
334
|
-
readonly name: "_L_Collateral";
|
|
335
|
-
readonly type: "uint256";
|
|
336
|
-
}, {
|
|
337
|
-
readonly indexed: false;
|
|
338
|
-
readonly internalType: "uint256";
|
|
339
|
-
readonly name: "_L_Principal";
|
|
340
|
-
readonly type: "uint256";
|
|
341
|
-
}, {
|
|
342
|
-
readonly indexed: false;
|
|
343
|
-
readonly internalType: "uint256";
|
|
344
|
-
readonly name: "_L_Interest";
|
|
345
|
-
readonly type: "uint256";
|
|
346
|
-
}];
|
|
347
|
-
readonly name: "TroveSnapshotsUpdated";
|
|
348
|
-
readonly type: "event";
|
|
349
|
-
}, {
|
|
350
|
-
readonly anonymous: false;
|
|
351
|
-
readonly inputs: readonly [{
|
|
352
|
-
readonly indexed: true;
|
|
353
|
-
readonly internalType: "address";
|
|
354
|
-
readonly name: "_borrower";
|
|
355
|
-
readonly type: "address";
|
|
356
|
-
}, {
|
|
357
|
-
readonly indexed: false;
|
|
358
|
-
readonly internalType: "uint256";
|
|
359
|
-
readonly name: "_principal";
|
|
360
|
-
readonly type: "uint256";
|
|
361
|
-
}, {
|
|
362
|
-
readonly indexed: false;
|
|
363
|
-
readonly internalType: "uint256";
|
|
364
|
-
readonly name: "_interest";
|
|
365
|
-
readonly type: "uint256";
|
|
366
|
-
}, {
|
|
367
|
-
readonly indexed: false;
|
|
368
|
-
readonly internalType: "uint256";
|
|
369
|
-
readonly name: "_coll";
|
|
370
|
-
readonly type: "uint256";
|
|
371
|
-
}, {
|
|
372
|
-
readonly indexed: false;
|
|
373
|
-
readonly internalType: "uint256";
|
|
374
|
-
readonly name: "stake";
|
|
375
|
-
readonly type: "uint256";
|
|
376
|
-
}, {
|
|
377
|
-
readonly indexed: false;
|
|
378
|
-
readonly internalType: "uint8";
|
|
379
|
-
readonly name: "operation";
|
|
380
|
-
readonly type: "uint8";
|
|
381
|
-
}];
|
|
382
|
-
readonly name: "TroveUpdated";
|
|
383
|
-
readonly type: "event";
|
|
384
|
-
}, {
|
|
385
|
-
readonly inputs: readonly [];
|
|
386
|
-
readonly name: "CCR";
|
|
387
|
-
readonly outputs: readonly [{
|
|
388
|
-
readonly internalType: "uint256";
|
|
389
|
-
readonly name: "";
|
|
390
|
-
readonly type: "uint256";
|
|
391
|
-
}];
|
|
392
|
-
readonly stateMutability: "view";
|
|
393
|
-
readonly type: "function";
|
|
394
|
-
}, {
|
|
395
|
-
readonly inputs: readonly [];
|
|
396
|
-
readonly name: "DECIMAL_PRECISION";
|
|
397
|
-
readonly outputs: readonly [{
|
|
398
|
-
readonly internalType: "uint256";
|
|
399
|
-
readonly name: "";
|
|
400
|
-
readonly type: "uint256";
|
|
401
|
-
}];
|
|
402
|
-
readonly stateMutability: "view";
|
|
403
|
-
readonly type: "function";
|
|
404
|
-
}, {
|
|
405
|
-
readonly inputs: readonly [];
|
|
406
|
-
readonly name: "L_Collateral";
|
|
407
|
-
readonly outputs: readonly [{
|
|
408
|
-
readonly internalType: "uint256";
|
|
409
|
-
readonly name: "";
|
|
410
|
-
readonly type: "uint256";
|
|
411
|
-
}];
|
|
412
|
-
readonly stateMutability: "view";
|
|
413
|
-
readonly type: "function";
|
|
414
|
-
}, {
|
|
415
|
-
readonly inputs: readonly [];
|
|
416
|
-
readonly name: "L_Interest";
|
|
417
|
-
readonly outputs: readonly [{
|
|
418
|
-
readonly internalType: "uint256";
|
|
419
|
-
readonly name: "";
|
|
420
|
-
readonly type: "uint256";
|
|
421
|
-
}];
|
|
422
|
-
readonly stateMutability: "view";
|
|
423
|
-
readonly type: "function";
|
|
424
|
-
}, {
|
|
425
|
-
readonly inputs: readonly [];
|
|
426
|
-
readonly name: "L_Principal";
|
|
427
|
-
readonly outputs: readonly [{
|
|
428
|
-
readonly internalType: "uint256";
|
|
429
|
-
readonly name: "";
|
|
430
|
-
readonly type: "uint256";
|
|
431
|
-
}];
|
|
432
|
-
readonly stateMutability: "view";
|
|
433
|
-
readonly type: "function";
|
|
434
|
-
}, {
|
|
435
|
-
readonly inputs: readonly [];
|
|
436
|
-
readonly name: "MCR";
|
|
437
|
-
readonly outputs: readonly [{
|
|
438
|
-
readonly internalType: "uint256";
|
|
439
|
-
readonly name: "";
|
|
440
|
-
readonly type: "uint256";
|
|
441
|
-
}];
|
|
442
|
-
readonly stateMutability: "view";
|
|
443
|
-
readonly type: "function";
|
|
444
|
-
}, {
|
|
445
|
-
readonly inputs: readonly [];
|
|
446
|
-
readonly name: "MUSD_GAS_COMPENSATION";
|
|
447
|
-
readonly outputs: readonly [{
|
|
448
|
-
readonly internalType: "uint256";
|
|
449
|
-
readonly name: "";
|
|
450
|
-
readonly type: "uint256";
|
|
451
|
-
}];
|
|
452
|
-
readonly stateMutability: "view";
|
|
453
|
-
readonly type: "function";
|
|
454
|
-
}, {
|
|
455
|
-
readonly inputs: readonly [];
|
|
456
|
-
readonly name: "PERCENT_DIVISOR";
|
|
457
|
-
readonly outputs: readonly [{
|
|
458
|
-
readonly internalType: "uint256";
|
|
459
|
-
readonly name: "";
|
|
460
|
-
readonly type: "uint256";
|
|
461
|
-
}];
|
|
462
|
-
readonly stateMutability: "view";
|
|
463
|
-
readonly type: "function";
|
|
464
|
-
}, {
|
|
465
|
-
readonly inputs: readonly [{
|
|
466
|
-
readonly internalType: "uint256";
|
|
467
|
-
readonly name: "";
|
|
468
|
-
readonly type: "uint256";
|
|
469
|
-
}];
|
|
470
|
-
readonly name: "TroveOwners";
|
|
471
|
-
readonly outputs: readonly [{
|
|
472
|
-
readonly internalType: "address";
|
|
473
|
-
readonly name: "";
|
|
474
|
-
readonly type: "address";
|
|
475
|
-
}];
|
|
476
|
-
readonly stateMutability: "view";
|
|
477
|
-
readonly type: "function";
|
|
478
|
-
}, {
|
|
479
|
-
readonly inputs: readonly [{
|
|
480
|
-
readonly internalType: "address";
|
|
481
|
-
readonly name: "";
|
|
482
|
-
readonly type: "address";
|
|
483
|
-
}];
|
|
484
|
-
readonly name: "Troves";
|
|
485
|
-
readonly outputs: readonly [{
|
|
486
|
-
readonly internalType: "uint256";
|
|
487
|
-
readonly name: "coll";
|
|
488
|
-
readonly type: "uint256";
|
|
489
|
-
}, {
|
|
490
|
-
readonly internalType: "uint256";
|
|
491
|
-
readonly name: "principal";
|
|
492
|
-
readonly type: "uint256";
|
|
493
|
-
}, {
|
|
494
|
-
readonly internalType: "uint256";
|
|
495
|
-
readonly name: "interestOwed";
|
|
496
|
-
readonly type: "uint256";
|
|
497
|
-
}, {
|
|
498
|
-
readonly internalType: "uint256";
|
|
499
|
-
readonly name: "stake";
|
|
500
|
-
readonly type: "uint256";
|
|
501
|
-
}, {
|
|
502
|
-
readonly internalType: "enum ITroveManager.Status";
|
|
503
|
-
readonly name: "status";
|
|
504
|
-
readonly type: "uint8";
|
|
505
|
-
}, {
|
|
506
|
-
readonly internalType: "uint16";
|
|
507
|
-
readonly name: "interestRate";
|
|
508
|
-
readonly type: "uint16";
|
|
509
|
-
}, {
|
|
510
|
-
readonly internalType: "uint256";
|
|
511
|
-
readonly name: "lastInterestUpdateTime";
|
|
512
|
-
readonly type: "uint256";
|
|
513
|
-
}, {
|
|
514
|
-
readonly internalType: "uint256";
|
|
515
|
-
readonly name: "maxBorrowingCapacity";
|
|
516
|
-
readonly type: "uint256";
|
|
517
|
-
}, {
|
|
518
|
-
readonly internalType: "uint128";
|
|
519
|
-
readonly name: "arrayIndex";
|
|
520
|
-
readonly type: "uint128";
|
|
521
|
-
}];
|
|
522
|
-
readonly stateMutability: "view";
|
|
523
|
-
readonly type: "function";
|
|
524
|
-
}, {
|
|
525
|
-
readonly inputs: readonly [];
|
|
526
|
-
readonly name: "_100pct";
|
|
527
|
-
readonly outputs: readonly [{
|
|
528
|
-
readonly internalType: "uint256";
|
|
529
|
-
readonly name: "";
|
|
530
|
-
readonly type: "uint256";
|
|
531
|
-
}];
|
|
532
|
-
readonly stateMutability: "view";
|
|
533
|
-
readonly type: "function";
|
|
534
|
-
}, {
|
|
535
|
-
readonly inputs: readonly [];
|
|
536
|
-
readonly name: "activePool";
|
|
537
|
-
readonly outputs: readonly [{
|
|
538
|
-
readonly internalType: "contract IActivePool";
|
|
539
|
-
readonly name: "";
|
|
540
|
-
readonly type: "address";
|
|
541
|
-
}];
|
|
542
|
-
readonly stateMutability: "view";
|
|
543
|
-
readonly type: "function";
|
|
544
|
-
}, {
|
|
545
|
-
readonly inputs: readonly [{
|
|
546
|
-
readonly internalType: "address";
|
|
547
|
-
readonly name: "_borrower";
|
|
548
|
-
readonly type: "address";
|
|
549
|
-
}];
|
|
550
|
-
readonly name: "addTroveOwnerToArray";
|
|
551
|
-
readonly outputs: readonly [{
|
|
552
|
-
readonly internalType: "uint256";
|
|
553
|
-
readonly name: "index";
|
|
554
|
-
readonly type: "uint256";
|
|
555
|
-
}];
|
|
556
|
-
readonly stateMutability: "nonpayable";
|
|
557
|
-
readonly type: "function";
|
|
558
|
-
}, {
|
|
559
|
-
readonly inputs: readonly [{
|
|
560
|
-
readonly internalType: "address";
|
|
561
|
-
readonly name: "_borrower";
|
|
562
|
-
readonly type: "address";
|
|
563
|
-
}];
|
|
564
|
-
readonly name: "applyPendingRewards";
|
|
565
|
-
readonly outputs: readonly [];
|
|
566
|
-
readonly stateMutability: "nonpayable";
|
|
567
|
-
readonly type: "function";
|
|
568
|
-
}, {
|
|
569
|
-
readonly inputs: readonly [{
|
|
570
|
-
readonly internalType: "address[]";
|
|
571
|
-
readonly name: "_troveArray";
|
|
572
|
-
readonly type: "address[]";
|
|
573
|
-
}];
|
|
574
|
-
readonly name: "batchLiquidateTroves";
|
|
575
|
-
readonly outputs: readonly [];
|
|
576
|
-
readonly stateMutability: "nonpayable";
|
|
577
|
-
readonly type: "function";
|
|
578
|
-
}, {
|
|
579
|
-
readonly inputs: readonly [];
|
|
580
|
-
readonly name: "borrowerOperations";
|
|
581
|
-
readonly outputs: readonly [{
|
|
582
|
-
readonly internalType: "contract IBorrowerOperations";
|
|
583
|
-
readonly name: "";
|
|
584
|
-
readonly type: "address";
|
|
585
|
-
}];
|
|
586
|
-
readonly stateMutability: "view";
|
|
587
|
-
readonly type: "function";
|
|
588
|
-
}, {
|
|
589
|
-
readonly inputs: readonly [{
|
|
590
|
-
readonly internalType: "uint256";
|
|
591
|
-
readonly name: "_price";
|
|
592
|
-
readonly type: "uint256";
|
|
593
|
-
}];
|
|
594
|
-
readonly name: "checkRecoveryMode";
|
|
595
|
-
readonly outputs: readonly [{
|
|
596
|
-
readonly internalType: "bool";
|
|
597
|
-
readonly name: "";
|
|
598
|
-
readonly type: "bool";
|
|
599
|
-
}];
|
|
600
|
-
readonly stateMutability: "view";
|
|
601
|
-
readonly type: "function";
|
|
602
|
-
}, {
|
|
603
|
-
readonly inputs: readonly [{
|
|
604
|
-
readonly internalType: "address";
|
|
605
|
-
readonly name: "_borrower";
|
|
606
|
-
readonly type: "address";
|
|
607
|
-
}];
|
|
608
|
-
readonly name: "closeTrove";
|
|
609
|
-
readonly outputs: readonly [];
|
|
610
|
-
readonly stateMutability: "nonpayable";
|
|
611
|
-
readonly type: "function";
|
|
612
|
-
}, {
|
|
613
|
-
readonly inputs: readonly [];
|
|
614
|
-
readonly name: "collSurplusPool";
|
|
615
|
-
readonly outputs: readonly [{
|
|
616
|
-
readonly internalType: "contract ICollSurplusPool";
|
|
617
|
-
readonly name: "";
|
|
618
|
-
readonly type: "address";
|
|
619
|
-
}];
|
|
620
|
-
readonly stateMutability: "view";
|
|
621
|
-
readonly type: "function";
|
|
622
|
-
}, {
|
|
623
|
-
readonly inputs: readonly [{
|
|
624
|
-
readonly internalType: "address";
|
|
625
|
-
readonly name: "_borrower";
|
|
626
|
-
readonly type: "address";
|
|
627
|
-
}, {
|
|
628
|
-
readonly internalType: "uint256";
|
|
629
|
-
readonly name: "_collDecrease";
|
|
630
|
-
readonly type: "uint256";
|
|
631
|
-
}];
|
|
632
|
-
readonly name: "decreaseTroveColl";
|
|
633
|
-
readonly outputs: readonly [{
|
|
634
|
-
readonly internalType: "uint256";
|
|
635
|
-
readonly name: "";
|
|
636
|
-
readonly type: "uint256";
|
|
637
|
-
}];
|
|
638
|
-
readonly stateMutability: "nonpayable";
|
|
639
|
-
readonly type: "function";
|
|
640
|
-
}, {
|
|
641
|
-
readonly inputs: readonly [{
|
|
642
|
-
readonly internalType: "address";
|
|
643
|
-
readonly name: "_borrower";
|
|
644
|
-
readonly type: "address";
|
|
645
|
-
}, {
|
|
646
|
-
readonly internalType: "uint256";
|
|
647
|
-
readonly name: "_debtDecrease";
|
|
648
|
-
readonly type: "uint256";
|
|
649
|
-
}];
|
|
650
|
-
readonly name: "decreaseTroveDebt";
|
|
651
|
-
readonly outputs: readonly [{
|
|
652
|
-
readonly internalType: "uint256";
|
|
653
|
-
readonly name: "";
|
|
654
|
-
readonly type: "uint256";
|
|
655
|
-
}, {
|
|
656
|
-
readonly internalType: "uint256";
|
|
657
|
-
readonly name: "";
|
|
658
|
-
readonly type: "uint256";
|
|
659
|
-
}];
|
|
660
|
-
readonly stateMutability: "nonpayable";
|
|
661
|
-
readonly type: "function";
|
|
662
|
-
}, {
|
|
663
|
-
readonly inputs: readonly [];
|
|
664
|
-
readonly name: "defaultPool";
|
|
665
|
-
readonly outputs: readonly [{
|
|
666
|
-
readonly internalType: "contract IDefaultPool";
|
|
667
|
-
readonly name: "";
|
|
668
|
-
readonly type: "address";
|
|
669
|
-
}];
|
|
670
|
-
readonly stateMutability: "view";
|
|
671
|
-
readonly type: "function";
|
|
672
|
-
}, {
|
|
673
|
-
readonly inputs: readonly [];
|
|
674
|
-
readonly name: "gasPoolAddress";
|
|
675
|
-
readonly outputs: readonly [{
|
|
676
|
-
readonly internalType: "address";
|
|
677
|
-
readonly name: "";
|
|
678
|
-
readonly type: "address";
|
|
679
|
-
}];
|
|
680
|
-
readonly stateMutability: "view";
|
|
681
|
-
readonly type: "function";
|
|
682
|
-
}, {
|
|
683
|
-
readonly inputs: readonly [{
|
|
684
|
-
readonly internalType: "address";
|
|
685
|
-
readonly name: "_borrower";
|
|
686
|
-
readonly type: "address";
|
|
687
|
-
}, {
|
|
688
|
-
readonly internalType: "uint256";
|
|
689
|
-
readonly name: "_price";
|
|
690
|
-
readonly type: "uint256";
|
|
691
|
-
}];
|
|
692
|
-
readonly name: "getCurrentICR";
|
|
693
|
-
readonly outputs: readonly [{
|
|
694
|
-
readonly internalType: "uint256";
|
|
695
|
-
readonly name: "";
|
|
696
|
-
readonly type: "uint256";
|
|
697
|
-
}];
|
|
698
|
-
readonly stateMutability: "view";
|
|
699
|
-
readonly type: "function";
|
|
700
|
-
}, {
|
|
701
|
-
readonly inputs: readonly [{
|
|
702
|
-
readonly internalType: "address";
|
|
703
|
-
readonly name: "_borrower";
|
|
704
|
-
readonly type: "address";
|
|
705
|
-
}];
|
|
706
|
-
readonly name: "getEntireDebtAndColl";
|
|
707
|
-
readonly outputs: readonly [{
|
|
708
|
-
readonly internalType: "uint256";
|
|
709
|
-
readonly name: "coll";
|
|
710
|
-
readonly type: "uint256";
|
|
711
|
-
}, {
|
|
712
|
-
readonly internalType: "uint256";
|
|
713
|
-
readonly name: "principal";
|
|
714
|
-
readonly type: "uint256";
|
|
715
|
-
}, {
|
|
716
|
-
readonly internalType: "uint256";
|
|
717
|
-
readonly name: "interest";
|
|
718
|
-
readonly type: "uint256";
|
|
719
|
-
}, {
|
|
720
|
-
readonly internalType: "uint256";
|
|
721
|
-
readonly name: "pendingCollateral";
|
|
722
|
-
readonly type: "uint256";
|
|
723
|
-
}, {
|
|
724
|
-
readonly internalType: "uint256";
|
|
725
|
-
readonly name: "pendingPrincipal";
|
|
726
|
-
readonly type: "uint256";
|
|
727
|
-
}, {
|
|
728
|
-
readonly internalType: "uint256";
|
|
729
|
-
readonly name: "pendingInterest";
|
|
730
|
-
readonly type: "uint256";
|
|
731
|
-
}];
|
|
732
|
-
readonly stateMutability: "view";
|
|
733
|
-
readonly type: "function";
|
|
734
|
-
}, {
|
|
735
|
-
readonly inputs: readonly [];
|
|
736
|
-
readonly name: "getEntireSystemColl";
|
|
737
|
-
readonly outputs: readonly [{
|
|
738
|
-
readonly internalType: "uint256";
|
|
739
|
-
readonly name: "entireSystemColl";
|
|
740
|
-
readonly type: "uint256";
|
|
741
|
-
}];
|
|
742
|
-
readonly stateMutability: "view";
|
|
743
|
-
readonly type: "function";
|
|
744
|
-
}, {
|
|
745
|
-
readonly inputs: readonly [];
|
|
746
|
-
readonly name: "getEntireSystemDebt";
|
|
747
|
-
readonly outputs: readonly [{
|
|
748
|
-
readonly internalType: "uint256";
|
|
749
|
-
readonly name: "entireSystemDebt";
|
|
750
|
-
readonly type: "uint256";
|
|
751
|
-
}];
|
|
752
|
-
readonly stateMutability: "view";
|
|
753
|
-
readonly type: "function";
|
|
754
|
-
}, {
|
|
755
|
-
readonly inputs: readonly [{
|
|
756
|
-
readonly internalType: "address";
|
|
757
|
-
readonly name: "_borrower";
|
|
758
|
-
readonly type: "address";
|
|
759
|
-
}];
|
|
760
|
-
readonly name: "getNominalICR";
|
|
761
|
-
readonly outputs: readonly [{
|
|
762
|
-
readonly internalType: "uint256";
|
|
763
|
-
readonly name: "";
|
|
764
|
-
readonly type: "uint256";
|
|
765
|
-
}];
|
|
766
|
-
readonly stateMutability: "view";
|
|
767
|
-
readonly type: "function";
|
|
768
|
-
}, {
|
|
769
|
-
readonly inputs: readonly [{
|
|
770
|
-
readonly internalType: "address";
|
|
771
|
-
readonly name: "_borrower";
|
|
772
|
-
readonly type: "address";
|
|
773
|
-
}];
|
|
774
|
-
readonly name: "getPendingCollateral";
|
|
775
|
-
readonly outputs: readonly [{
|
|
776
|
-
readonly internalType: "uint256";
|
|
777
|
-
readonly name: "";
|
|
778
|
-
readonly type: "uint256";
|
|
779
|
-
}];
|
|
780
|
-
readonly stateMutability: "view";
|
|
781
|
-
readonly type: "function";
|
|
782
|
-
}, {
|
|
783
|
-
readonly inputs: readonly [{
|
|
784
|
-
readonly internalType: "address";
|
|
785
|
-
readonly name: "_borrower";
|
|
786
|
-
readonly type: "address";
|
|
787
|
-
}];
|
|
788
|
-
readonly name: "getPendingDebt";
|
|
789
|
-
readonly outputs: readonly [{
|
|
790
|
-
readonly internalType: "uint256";
|
|
791
|
-
readonly name: "pendingPrincipal";
|
|
792
|
-
readonly type: "uint256";
|
|
793
|
-
}, {
|
|
794
|
-
readonly internalType: "uint256";
|
|
795
|
-
readonly name: "pendingInterest";
|
|
796
|
-
readonly type: "uint256";
|
|
797
|
-
}];
|
|
798
|
-
readonly stateMutability: "view";
|
|
799
|
-
readonly type: "function";
|
|
800
|
-
}, {
|
|
801
|
-
readonly inputs: readonly [{
|
|
802
|
-
readonly internalType: "uint256";
|
|
803
|
-
readonly name: "_price";
|
|
804
|
-
readonly type: "uint256";
|
|
805
|
-
}];
|
|
806
|
-
readonly name: "getTCR";
|
|
807
|
-
readonly outputs: readonly [{
|
|
808
|
-
readonly internalType: "uint256";
|
|
809
|
-
readonly name: "";
|
|
810
|
-
readonly type: "uint256";
|
|
811
|
-
}];
|
|
812
|
-
readonly stateMutability: "view";
|
|
813
|
-
readonly type: "function";
|
|
814
|
-
}, {
|
|
815
|
-
readonly inputs: readonly [{
|
|
816
|
-
readonly internalType: "address";
|
|
817
|
-
readonly name: "_borrower";
|
|
818
|
-
readonly type: "address";
|
|
819
|
-
}];
|
|
820
|
-
readonly name: "getTroveColl";
|
|
821
|
-
readonly outputs: readonly [{
|
|
822
|
-
readonly internalType: "uint256";
|
|
823
|
-
readonly name: "";
|
|
824
|
-
readonly type: "uint256";
|
|
825
|
-
}];
|
|
826
|
-
readonly stateMutability: "view";
|
|
827
|
-
readonly type: "function";
|
|
828
|
-
}, {
|
|
829
|
-
readonly inputs: readonly [{
|
|
830
|
-
readonly internalType: "address";
|
|
831
|
-
readonly name: "_borrower";
|
|
832
|
-
readonly type: "address";
|
|
833
|
-
}];
|
|
834
|
-
readonly name: "getTroveDebt";
|
|
835
|
-
readonly outputs: readonly [{
|
|
836
|
-
readonly internalType: "uint256";
|
|
837
|
-
readonly name: "";
|
|
838
|
-
readonly type: "uint256";
|
|
839
|
-
}];
|
|
840
|
-
readonly stateMutability: "view";
|
|
841
|
-
readonly type: "function";
|
|
842
|
-
}, {
|
|
843
|
-
readonly inputs: readonly [{
|
|
844
|
-
readonly internalType: "uint256";
|
|
845
|
-
readonly name: "_index";
|
|
846
|
-
readonly type: "uint256";
|
|
847
|
-
}];
|
|
848
|
-
readonly name: "getTroveFromTroveOwnersArray";
|
|
849
|
-
readonly outputs: readonly [{
|
|
850
|
-
readonly internalType: "address";
|
|
851
|
-
readonly name: "";
|
|
852
|
-
readonly type: "address";
|
|
853
|
-
}];
|
|
854
|
-
readonly stateMutability: "view";
|
|
855
|
-
readonly type: "function";
|
|
856
|
-
}, {
|
|
857
|
-
readonly inputs: readonly [{
|
|
858
|
-
readonly internalType: "address";
|
|
859
|
-
readonly name: "_borrower";
|
|
860
|
-
readonly type: "address";
|
|
861
|
-
}];
|
|
862
|
-
readonly name: "getTroveInterestOwed";
|
|
863
|
-
readonly outputs: readonly [{
|
|
864
|
-
readonly internalType: "uint256";
|
|
865
|
-
readonly name: "";
|
|
866
|
-
readonly type: "uint256";
|
|
867
|
-
}];
|
|
868
|
-
readonly stateMutability: "view";
|
|
869
|
-
readonly type: "function";
|
|
870
|
-
}, {
|
|
871
|
-
readonly inputs: readonly [{
|
|
872
|
-
readonly internalType: "address";
|
|
873
|
-
readonly name: "_borrower";
|
|
874
|
-
readonly type: "address";
|
|
875
|
-
}];
|
|
876
|
-
readonly name: "getTroveInterestRate";
|
|
877
|
-
readonly outputs: readonly [{
|
|
878
|
-
readonly internalType: "uint16";
|
|
879
|
-
readonly name: "";
|
|
880
|
-
readonly type: "uint16";
|
|
881
|
-
}];
|
|
882
|
-
readonly stateMutability: "view";
|
|
883
|
-
readonly type: "function";
|
|
884
|
-
}, {
|
|
885
|
-
readonly inputs: readonly [{
|
|
886
|
-
readonly internalType: "address";
|
|
887
|
-
readonly name: "_borrower";
|
|
888
|
-
readonly type: "address";
|
|
889
|
-
}];
|
|
890
|
-
readonly name: "getTroveLastInterestUpdateTime";
|
|
891
|
-
readonly outputs: readonly [{
|
|
892
|
-
readonly internalType: "uint256";
|
|
893
|
-
readonly name: "";
|
|
894
|
-
readonly type: "uint256";
|
|
895
|
-
}];
|
|
896
|
-
readonly stateMutability: "view";
|
|
897
|
-
readonly type: "function";
|
|
898
|
-
}, {
|
|
899
|
-
readonly inputs: readonly [{
|
|
900
|
-
readonly internalType: "address";
|
|
901
|
-
readonly name: "_borrower";
|
|
902
|
-
readonly type: "address";
|
|
903
|
-
}];
|
|
904
|
-
readonly name: "getTroveMaxBorrowingCapacity";
|
|
905
|
-
readonly outputs: readonly [{
|
|
906
|
-
readonly internalType: "uint256";
|
|
907
|
-
readonly name: "";
|
|
908
|
-
readonly type: "uint256";
|
|
909
|
-
}];
|
|
910
|
-
readonly stateMutability: "view";
|
|
911
|
-
readonly type: "function";
|
|
912
|
-
}, {
|
|
913
|
-
readonly inputs: readonly [];
|
|
914
|
-
readonly name: "getTroveOwnersCount";
|
|
915
|
-
readonly outputs: readonly [{
|
|
916
|
-
readonly internalType: "uint256";
|
|
917
|
-
readonly name: "";
|
|
918
|
-
readonly type: "uint256";
|
|
919
|
-
}];
|
|
920
|
-
readonly stateMutability: "view";
|
|
921
|
-
readonly type: "function";
|
|
922
|
-
}, {
|
|
923
|
-
readonly inputs: readonly [{
|
|
924
|
-
readonly internalType: "address";
|
|
925
|
-
readonly name: "_borrower";
|
|
926
|
-
readonly type: "address";
|
|
927
|
-
}];
|
|
928
|
-
readonly name: "getTrovePrincipal";
|
|
929
|
-
readonly outputs: readonly [{
|
|
930
|
-
readonly internalType: "uint256";
|
|
931
|
-
readonly name: "";
|
|
932
|
-
readonly type: "uint256";
|
|
933
|
-
}];
|
|
934
|
-
readonly stateMutability: "view";
|
|
935
|
-
readonly type: "function";
|
|
936
|
-
}, {
|
|
937
|
-
readonly inputs: readonly [{
|
|
938
|
-
readonly internalType: "address";
|
|
939
|
-
readonly name: "_borrower";
|
|
940
|
-
readonly type: "address";
|
|
941
|
-
}];
|
|
942
|
-
readonly name: "getTroveStake";
|
|
943
|
-
readonly outputs: readonly [{
|
|
944
|
-
readonly internalType: "uint256";
|
|
945
|
-
readonly name: "";
|
|
946
|
-
readonly type: "uint256";
|
|
947
|
-
}];
|
|
948
|
-
readonly stateMutability: "view";
|
|
949
|
-
readonly type: "function";
|
|
950
|
-
}, {
|
|
951
|
-
readonly inputs: readonly [{
|
|
952
|
-
readonly internalType: "address";
|
|
953
|
-
readonly name: "_borrower";
|
|
954
|
-
readonly type: "address";
|
|
955
|
-
}];
|
|
956
|
-
readonly name: "getTroveStatus";
|
|
957
|
-
readonly outputs: readonly [{
|
|
958
|
-
readonly internalType: "enum ITroveManager.Status";
|
|
959
|
-
readonly name: "";
|
|
960
|
-
readonly type: "uint8";
|
|
961
|
-
}];
|
|
962
|
-
readonly stateMutability: "view";
|
|
963
|
-
readonly type: "function";
|
|
964
|
-
}, {
|
|
965
|
-
readonly inputs: readonly [];
|
|
966
|
-
readonly name: "governableVariables";
|
|
967
|
-
readonly outputs: readonly [{
|
|
968
|
-
readonly internalType: "contract IGovernableVariables";
|
|
969
|
-
readonly name: "";
|
|
970
|
-
readonly type: "address";
|
|
971
|
-
}];
|
|
972
|
-
readonly stateMutability: "view";
|
|
973
|
-
readonly type: "function";
|
|
974
|
-
}, {
|
|
975
|
-
readonly inputs: readonly [{
|
|
976
|
-
readonly internalType: "address";
|
|
977
|
-
readonly name: "_borrower";
|
|
978
|
-
readonly type: "address";
|
|
979
|
-
}];
|
|
980
|
-
readonly name: "hasPendingRewards";
|
|
981
|
-
readonly outputs: readonly [{
|
|
982
|
-
readonly internalType: "bool";
|
|
983
|
-
readonly name: "";
|
|
984
|
-
readonly type: "bool";
|
|
985
|
-
}];
|
|
986
|
-
readonly stateMutability: "view";
|
|
987
|
-
readonly type: "function";
|
|
988
|
-
}, {
|
|
989
|
-
readonly inputs: readonly [{
|
|
990
|
-
readonly internalType: "address";
|
|
991
|
-
readonly name: "_borrower";
|
|
992
|
-
readonly type: "address";
|
|
993
|
-
}, {
|
|
994
|
-
readonly internalType: "uint256";
|
|
995
|
-
readonly name: "_collIncrease";
|
|
996
|
-
readonly type: "uint256";
|
|
997
|
-
}];
|
|
998
|
-
readonly name: "increaseTroveColl";
|
|
999
|
-
readonly outputs: readonly [{
|
|
1000
|
-
readonly internalType: "uint256";
|
|
1001
|
-
readonly name: "";
|
|
1002
|
-
readonly type: "uint256";
|
|
1003
|
-
}];
|
|
1004
|
-
readonly stateMutability: "nonpayable";
|
|
1005
|
-
readonly type: "function";
|
|
1006
|
-
}, {
|
|
1007
|
-
readonly inputs: readonly [{
|
|
1008
|
-
readonly internalType: "address";
|
|
1009
|
-
readonly name: "_borrower";
|
|
1010
|
-
readonly type: "address";
|
|
1011
|
-
}, {
|
|
1012
|
-
readonly internalType: "uint256";
|
|
1013
|
-
readonly name: "_debtIncrease";
|
|
1014
|
-
readonly type: "uint256";
|
|
1015
|
-
}];
|
|
1016
|
-
readonly name: "increaseTroveDebt";
|
|
1017
|
-
readonly outputs: readonly [{
|
|
1018
|
-
readonly internalType: "uint256";
|
|
1019
|
-
readonly name: "";
|
|
1020
|
-
readonly type: "uint256";
|
|
1021
|
-
}];
|
|
1022
|
-
readonly stateMutability: "nonpayable";
|
|
1023
|
-
readonly type: "function";
|
|
1024
|
-
}, {
|
|
1025
|
-
readonly inputs: readonly [];
|
|
1026
|
-
readonly name: "initialize";
|
|
1027
|
-
readonly outputs: readonly [];
|
|
1028
|
-
readonly stateMutability: "nonpayable";
|
|
1029
|
-
readonly type: "function";
|
|
1030
|
-
}, {
|
|
1031
|
-
readonly inputs: readonly [];
|
|
1032
|
-
readonly name: "interestRateManager";
|
|
1033
|
-
readonly outputs: readonly [{
|
|
1034
|
-
readonly internalType: "contract IInterestRateManager";
|
|
1035
|
-
readonly name: "";
|
|
1036
|
-
readonly type: "address";
|
|
1037
|
-
}];
|
|
1038
|
-
readonly stateMutability: "view";
|
|
1039
|
-
readonly type: "function";
|
|
1040
|
-
}, {
|
|
1041
|
-
readonly inputs: readonly [];
|
|
1042
|
-
readonly name: "lastCollateralError_Redistribution";
|
|
1043
|
-
readonly outputs: readonly [{
|
|
1044
|
-
readonly internalType: "uint256";
|
|
1045
|
-
readonly name: "";
|
|
1046
|
-
readonly type: "uint256";
|
|
1047
|
-
}];
|
|
1048
|
-
readonly stateMutability: "view";
|
|
1049
|
-
readonly type: "function";
|
|
1050
|
-
}, {
|
|
1051
|
-
readonly inputs: readonly [];
|
|
1052
|
-
readonly name: "lastInterestError_Redistribution";
|
|
1053
|
-
readonly outputs: readonly [{
|
|
1054
|
-
readonly internalType: "uint256";
|
|
1055
|
-
readonly name: "";
|
|
1056
|
-
readonly type: "uint256";
|
|
1057
|
-
}];
|
|
1058
|
-
readonly stateMutability: "view";
|
|
1059
|
-
readonly type: "function";
|
|
1060
|
-
}, {
|
|
1061
|
-
readonly inputs: readonly [];
|
|
1062
|
-
readonly name: "lastPrincipalError_Redistribution";
|
|
1063
|
-
readonly outputs: readonly [{
|
|
1064
|
-
readonly internalType: "uint256";
|
|
1065
|
-
readonly name: "";
|
|
1066
|
-
readonly type: "uint256";
|
|
1067
|
-
}];
|
|
1068
|
-
readonly stateMutability: "view";
|
|
1069
|
-
readonly type: "function";
|
|
1070
|
-
}, {
|
|
1071
|
-
readonly inputs: readonly [{
|
|
1072
|
-
readonly internalType: "address";
|
|
1073
|
-
readonly name: "_borrower";
|
|
1074
|
-
readonly type: "address";
|
|
1075
|
-
}];
|
|
1076
|
-
readonly name: "liquidate";
|
|
1077
|
-
readonly outputs: readonly [];
|
|
1078
|
-
readonly stateMutability: "nonpayable";
|
|
1079
|
-
readonly type: "function";
|
|
1080
|
-
}, {
|
|
1081
|
-
readonly inputs: readonly [];
|
|
1082
|
-
readonly name: "musdToken";
|
|
1083
|
-
readonly outputs: readonly [{
|
|
1084
|
-
readonly internalType: "contract IMUSD";
|
|
1085
|
-
readonly name: "";
|
|
1086
|
-
readonly type: "address";
|
|
1087
|
-
}];
|
|
1088
|
-
readonly stateMutability: "view";
|
|
1089
|
-
readonly type: "function";
|
|
1090
|
-
}, {
|
|
1091
|
-
readonly inputs: readonly [];
|
|
1092
|
-
readonly name: "owner";
|
|
1093
|
-
readonly outputs: readonly [{
|
|
1094
|
-
readonly internalType: "address";
|
|
1095
|
-
readonly name: "";
|
|
1096
|
-
readonly type: "address";
|
|
1097
|
-
}];
|
|
1098
|
-
readonly stateMutability: "view";
|
|
1099
|
-
readonly type: "function";
|
|
1100
|
-
}, {
|
|
1101
|
-
readonly inputs: readonly [];
|
|
1102
|
-
readonly name: "pcv";
|
|
1103
|
-
readonly outputs: readonly [{
|
|
1104
|
-
readonly internalType: "contract IPCV";
|
|
1105
|
-
readonly name: "";
|
|
1106
|
-
readonly type: "address";
|
|
1107
|
-
}];
|
|
1108
|
-
readonly stateMutability: "view";
|
|
1109
|
-
readonly type: "function";
|
|
1110
|
-
}, {
|
|
1111
|
-
readonly inputs: readonly [];
|
|
1112
|
-
readonly name: "priceFeed";
|
|
1113
|
-
readonly outputs: readonly [{
|
|
1114
|
-
readonly internalType: "contract IPriceFeed";
|
|
1115
|
-
readonly name: "";
|
|
1116
|
-
readonly type: "address";
|
|
1117
|
-
}];
|
|
1118
|
-
readonly stateMutability: "view";
|
|
1119
|
-
readonly type: "function";
|
|
1120
|
-
}, {
|
|
1121
|
-
readonly inputs: readonly [{
|
|
1122
|
-
readonly internalType: "uint256";
|
|
1123
|
-
readonly name: "_amount";
|
|
1124
|
-
readonly type: "uint256";
|
|
1125
|
-
}, {
|
|
1126
|
-
readonly internalType: "address";
|
|
1127
|
-
readonly name: "_firstRedemptionHint";
|
|
1128
|
-
readonly type: "address";
|
|
1129
|
-
}, {
|
|
1130
|
-
readonly internalType: "address";
|
|
1131
|
-
readonly name: "_upperPartialRedemptionHint";
|
|
1132
|
-
readonly type: "address";
|
|
1133
|
-
}, {
|
|
1134
|
-
readonly internalType: "address";
|
|
1135
|
-
readonly name: "_lowerPartialRedemptionHint";
|
|
1136
|
-
readonly type: "address";
|
|
1137
|
-
}, {
|
|
1138
|
-
readonly internalType: "uint256";
|
|
1139
|
-
readonly name: "_partialRedemptionHintNICR";
|
|
1140
|
-
readonly type: "uint256";
|
|
1141
|
-
}, {
|
|
1142
|
-
readonly internalType: "uint256";
|
|
1143
|
-
readonly name: "_maxIterations";
|
|
1144
|
-
readonly type: "uint256";
|
|
1145
|
-
}];
|
|
1146
|
-
readonly name: "redeemCollateral";
|
|
1147
|
-
readonly outputs: readonly [];
|
|
1148
|
-
readonly stateMutability: "nonpayable";
|
|
1149
|
-
readonly type: "function";
|
|
1150
|
-
}, {
|
|
1151
7
|
readonly inputs: readonly [{
|
|
1152
8
|
readonly internalType: "address";
|
|
1153
9
|
readonly name: "_borrower";
|
|
1154
10
|
readonly type: "address";
|
|
1155
11
|
}];
|
|
1156
|
-
readonly name: "
|
|
1157
|
-
readonly outputs: readonly [];
|
|
1158
|
-
readonly stateMutability: "nonpayable";
|
|
1159
|
-
readonly type: "function";
|
|
1160
|
-
}, {
|
|
1161
|
-
readonly inputs: readonly [];
|
|
1162
|
-
readonly name: "renounceOwnership";
|
|
1163
|
-
readonly outputs: readonly [];
|
|
1164
|
-
readonly stateMutability: "nonpayable";
|
|
1165
|
-
readonly type: "function";
|
|
1166
|
-
}, {
|
|
1167
|
-
readonly inputs: readonly [{
|
|
1168
|
-
readonly internalType: "address";
|
|
1169
|
-
readonly name: "";
|
|
1170
|
-
readonly type: "address";
|
|
1171
|
-
}];
|
|
1172
|
-
readonly name: "rewardSnapshots";
|
|
12
|
+
readonly name: "getEntireDebtAndColl";
|
|
1173
13
|
readonly outputs: readonly [{
|
|
1174
14
|
readonly internalType: "uint256";
|
|
1175
|
-
readonly name: "
|
|
15
|
+
readonly name: "coll";
|
|
1176
16
|
readonly type: "uint256";
|
|
1177
17
|
}, {
|
|
1178
18
|
readonly internalType: "uint256";
|
|
@@ -1182,219 +22,21 @@ export declare function useBorrowData(queryOptions?: {}): import("wagmi").UseRea
|
|
|
1182
22
|
readonly internalType: "uint256";
|
|
1183
23
|
readonly name: "interest";
|
|
1184
24
|
readonly type: "uint256";
|
|
1185
|
-
}];
|
|
1186
|
-
readonly stateMutability: "view";
|
|
1187
|
-
readonly type: "function";
|
|
1188
|
-
}, {
|
|
1189
|
-
readonly inputs: readonly [{
|
|
1190
|
-
readonly internalType: "address";
|
|
1191
|
-
readonly name: "_activePoolAddress";
|
|
1192
|
-
readonly type: "address";
|
|
1193
|
-
}, {
|
|
1194
|
-
readonly internalType: "address";
|
|
1195
|
-
readonly name: "_borrowerOperationsAddress";
|
|
1196
|
-
readonly type: "address";
|
|
1197
|
-
}, {
|
|
1198
|
-
readonly internalType: "address";
|
|
1199
|
-
readonly name: "_collSurplusPoolAddress";
|
|
1200
|
-
readonly type: "address";
|
|
1201
|
-
}, {
|
|
1202
|
-
readonly internalType: "address";
|
|
1203
|
-
readonly name: "_defaultPoolAddress";
|
|
1204
|
-
readonly type: "address";
|
|
1205
|
-
}, {
|
|
1206
|
-
readonly internalType: "address";
|
|
1207
|
-
readonly name: "_gasPoolAddress";
|
|
1208
|
-
readonly type: "address";
|
|
1209
|
-
}, {
|
|
1210
|
-
readonly internalType: "address";
|
|
1211
|
-
readonly name: "_governableVariablesAddress";
|
|
1212
|
-
readonly type: "address";
|
|
1213
|
-
}, {
|
|
1214
|
-
readonly internalType: "address";
|
|
1215
|
-
readonly name: "_interestRateManagerAddress";
|
|
1216
|
-
readonly type: "address";
|
|
1217
|
-
}, {
|
|
1218
|
-
readonly internalType: "address";
|
|
1219
|
-
readonly name: "_musdTokenAddress";
|
|
1220
|
-
readonly type: "address";
|
|
1221
|
-
}, {
|
|
1222
|
-
readonly internalType: "address";
|
|
1223
|
-
readonly name: "_pcvAddress";
|
|
1224
|
-
readonly type: "address";
|
|
1225
|
-
}, {
|
|
1226
|
-
readonly internalType: "address";
|
|
1227
|
-
readonly name: "_priceFeedAddress";
|
|
1228
|
-
readonly type: "address";
|
|
1229
|
-
}, {
|
|
1230
|
-
readonly internalType: "address";
|
|
1231
|
-
readonly name: "_sortedTrovesAddress";
|
|
1232
|
-
readonly type: "address";
|
|
1233
|
-
}, {
|
|
1234
|
-
readonly internalType: "address";
|
|
1235
|
-
readonly name: "_stabilityPoolAddress";
|
|
1236
|
-
readonly type: "address";
|
|
1237
|
-
}];
|
|
1238
|
-
readonly name: "setAddresses";
|
|
1239
|
-
readonly outputs: readonly [];
|
|
1240
|
-
readonly stateMutability: "nonpayable";
|
|
1241
|
-
readonly type: "function";
|
|
1242
|
-
}, {
|
|
1243
|
-
readonly inputs: readonly [{
|
|
1244
|
-
readonly internalType: "address";
|
|
1245
|
-
readonly name: "_borrower";
|
|
1246
|
-
readonly type: "address";
|
|
1247
|
-
}, {
|
|
1248
|
-
readonly internalType: "uint16";
|
|
1249
|
-
readonly name: "_rate";
|
|
1250
|
-
readonly type: "uint16";
|
|
1251
|
-
}];
|
|
1252
|
-
readonly name: "setTroveInterestRate";
|
|
1253
|
-
readonly outputs: readonly [];
|
|
1254
|
-
readonly stateMutability: "nonpayable";
|
|
1255
|
-
readonly type: "function";
|
|
1256
|
-
}, {
|
|
1257
|
-
readonly inputs: readonly [{
|
|
1258
|
-
readonly internalType: "address";
|
|
1259
|
-
readonly name: "_borrower";
|
|
1260
|
-
readonly type: "address";
|
|
1261
25
|
}, {
|
|
1262
26
|
readonly internalType: "uint256";
|
|
1263
|
-
readonly name: "
|
|
27
|
+
readonly name: "pendingCollateral";
|
|
1264
28
|
readonly type: "uint256";
|
|
1265
|
-
}];
|
|
1266
|
-
readonly name: "setTroveLastInterestUpdateTime";
|
|
1267
|
-
readonly outputs: readonly [];
|
|
1268
|
-
readonly stateMutability: "nonpayable";
|
|
1269
|
-
readonly type: "function";
|
|
1270
|
-
}, {
|
|
1271
|
-
readonly inputs: readonly [{
|
|
1272
|
-
readonly internalType: "address";
|
|
1273
|
-
readonly name: "_borrower";
|
|
1274
|
-
readonly type: "address";
|
|
1275
29
|
}, {
|
|
1276
30
|
readonly internalType: "uint256";
|
|
1277
|
-
readonly name: "
|
|
31
|
+
readonly name: "pendingPrincipal";
|
|
1278
32
|
readonly type: "uint256";
|
|
1279
|
-
}];
|
|
1280
|
-
readonly name: "setTroveMaxBorrowingCapacity";
|
|
1281
|
-
readonly outputs: readonly [];
|
|
1282
|
-
readonly stateMutability: "nonpayable";
|
|
1283
|
-
readonly type: "function";
|
|
1284
|
-
}, {
|
|
1285
|
-
readonly inputs: readonly [{
|
|
1286
|
-
readonly internalType: "address";
|
|
1287
|
-
readonly name: "_borrower";
|
|
1288
|
-
readonly type: "address";
|
|
1289
33
|
}, {
|
|
1290
|
-
readonly internalType: "enum ITroveManager.Status";
|
|
1291
|
-
readonly name: "_status";
|
|
1292
|
-
readonly type: "uint8";
|
|
1293
|
-
}];
|
|
1294
|
-
readonly name: "setTroveStatus";
|
|
1295
|
-
readonly outputs: readonly [];
|
|
1296
|
-
readonly stateMutability: "nonpayable";
|
|
1297
|
-
readonly type: "function";
|
|
1298
|
-
}, {
|
|
1299
|
-
readonly inputs: readonly [];
|
|
1300
|
-
readonly name: "sortedTroves";
|
|
1301
|
-
readonly outputs: readonly [{
|
|
1302
|
-
readonly internalType: "contract ISortedTroves";
|
|
1303
|
-
readonly name: "";
|
|
1304
|
-
readonly type: "address";
|
|
1305
|
-
}];
|
|
1306
|
-
readonly stateMutability: "view";
|
|
1307
|
-
readonly type: "function";
|
|
1308
|
-
}, {
|
|
1309
|
-
readonly inputs: readonly [];
|
|
1310
|
-
readonly name: "stabilityPool";
|
|
1311
|
-
readonly outputs: readonly [{
|
|
1312
|
-
readonly internalType: "contract IStabilityPool";
|
|
1313
|
-
readonly name: "";
|
|
1314
|
-
readonly type: "address";
|
|
1315
|
-
}];
|
|
1316
|
-
readonly stateMutability: "view";
|
|
1317
|
-
readonly type: "function";
|
|
1318
|
-
}, {
|
|
1319
|
-
readonly inputs: readonly [];
|
|
1320
|
-
readonly name: "totalCollateralSnapshot";
|
|
1321
|
-
readonly outputs: readonly [{
|
|
1322
|
-
readonly internalType: "uint256";
|
|
1323
|
-
readonly name: "";
|
|
1324
|
-
readonly type: "uint256";
|
|
1325
|
-
}];
|
|
1326
|
-
readonly stateMutability: "view";
|
|
1327
|
-
readonly type: "function";
|
|
1328
|
-
}, {
|
|
1329
|
-
readonly inputs: readonly [];
|
|
1330
|
-
readonly name: "totalStakes";
|
|
1331
|
-
readonly outputs: readonly [{
|
|
1332
|
-
readonly internalType: "uint256";
|
|
1333
|
-
readonly name: "";
|
|
1334
|
-
readonly type: "uint256";
|
|
1335
|
-
}];
|
|
1336
|
-
readonly stateMutability: "view";
|
|
1337
|
-
readonly type: "function";
|
|
1338
|
-
}, {
|
|
1339
|
-
readonly inputs: readonly [];
|
|
1340
|
-
readonly name: "totalStakesSnapshot";
|
|
1341
|
-
readonly outputs: readonly [{
|
|
1342
34
|
readonly internalType: "uint256";
|
|
1343
|
-
readonly name: "";
|
|
35
|
+
readonly name: "pendingInterest";
|
|
1344
36
|
readonly type: "uint256";
|
|
1345
37
|
}];
|
|
1346
38
|
readonly stateMutability: "view";
|
|
1347
39
|
readonly type: "function";
|
|
1348
|
-
}, {
|
|
1349
|
-
readonly inputs: readonly [{
|
|
1350
|
-
readonly internalType: "address";
|
|
1351
|
-
readonly name: "newOwner";
|
|
1352
|
-
readonly type: "address";
|
|
1353
|
-
}];
|
|
1354
|
-
readonly name: "transferOwnership";
|
|
1355
|
-
readonly outputs: readonly [];
|
|
1356
|
-
readonly stateMutability: "nonpayable";
|
|
1357
|
-
readonly type: "function";
|
|
1358
|
-
}, {
|
|
1359
|
-
readonly inputs: readonly [{
|
|
1360
|
-
readonly internalType: "address";
|
|
1361
|
-
readonly name: "_borrower";
|
|
1362
|
-
readonly type: "address";
|
|
1363
|
-
}];
|
|
1364
|
-
readonly name: "updateStakeAndTotalStakes";
|
|
1365
|
-
readonly outputs: readonly [{
|
|
1366
|
-
readonly internalType: "uint256";
|
|
1367
|
-
readonly name: "";
|
|
1368
|
-
readonly type: "uint256";
|
|
1369
|
-
}];
|
|
1370
|
-
readonly stateMutability: "nonpayable";
|
|
1371
|
-
readonly type: "function";
|
|
1372
|
-
}, {
|
|
1373
|
-
readonly inputs: readonly [{
|
|
1374
|
-
readonly internalType: "address";
|
|
1375
|
-
readonly name: "_borrower";
|
|
1376
|
-
readonly type: "address";
|
|
1377
|
-
}];
|
|
1378
|
-
readonly name: "updateSystemAndTroveInterest";
|
|
1379
|
-
readonly outputs: readonly [];
|
|
1380
|
-
readonly stateMutability: "nonpayable";
|
|
1381
|
-
readonly type: "function";
|
|
1382
|
-
}, {
|
|
1383
|
-
readonly inputs: readonly [];
|
|
1384
|
-
readonly name: "updateSystemInterest";
|
|
1385
|
-
readonly outputs: readonly [];
|
|
1386
|
-
readonly stateMutability: "nonpayable";
|
|
1387
|
-
readonly type: "function";
|
|
1388
|
-
}, {
|
|
1389
|
-
readonly inputs: readonly [{
|
|
1390
|
-
readonly internalType: "address";
|
|
1391
|
-
readonly name: "_borrower";
|
|
1392
|
-
readonly type: "address";
|
|
1393
|
-
}];
|
|
1394
|
-
readonly name: "updateTroveRewardSnapshots";
|
|
1395
|
-
readonly outputs: readonly [];
|
|
1396
|
-
readonly stateMutability: "nonpayable";
|
|
1397
|
-
readonly type: "function";
|
|
1398
40
|
}], "getEntireDebtAndColl", [`0x${string}`], {
|
|
1399
41
|
collateral: bigint;
|
|
1400
42
|
troveDebt: bigint;
|