@ripe-finance/sdk 1.14.1 → 1.15.0
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/contracts/AuctionHouse.d.ts +126 -60
- package/dist/contracts/AuctionHouse.d.ts.map +1 -1
- package/dist/contracts/AuctionHouse.js +145 -75
- package/dist/contracts/BondRoom.js +1 -1
- package/dist/contracts/CreditEngine.d.ts +741 -272
- package/dist/contracts/CreditEngine.d.ts.map +1 -1
- package/dist/contracts/CreditEngine.js +820 -266
- package/dist/contracts/CreditRedeem.d.ts +475 -0
- package/dist/contracts/CreditRedeem.d.ts.map +1 -0
- package/dist/contracts/CreditRedeem.js +551 -0
- package/dist/contracts/Deleverage.d.ts +929 -0
- package/dist/contracts/Deleverage.d.ts.map +1 -0
- package/dist/contracts/Deleverage.js +1095 -0
- package/dist/contracts/Endaoment.d.ts +230 -1138
- package/dist/contracts/Endaoment.d.ts.map +1 -1
- package/dist/contracts/Endaoment.js +216 -1445
- package/dist/contracts/EndaomentFunds.d.ts +241 -0
- package/dist/contracts/EndaomentFunds.d.ts.map +1 -0
- package/dist/contracts/EndaomentFunds.js +278 -0
- package/dist/contracts/EndaomentPSM.d.ts +1229 -0
- package/dist/contracts/EndaomentPSM.d.ts.map +1 -0
- package/dist/contracts/{PriceSheets.js → EndaomentPSM.js} +840 -685
- package/dist/contracts/Lootbox.d.ts +184 -0
- package/dist/contracts/Lootbox.d.ts.map +1 -1
- package/dist/contracts/Lootbox.js +232 -1
- package/dist/contracts/PriceDesk.js +1 -1
- package/dist/contracts/PythPrices.d.ts +60 -8
- package/dist/contracts/PythPrices.d.ts.map +1 -1
- package/dist/contracts/PythPrices.js +77 -9
- package/dist/contracts/RedStone.d.ts +1581 -0
- package/dist/contracts/RedStone.d.ts.map +1 -0
- package/dist/contracts/{AgentFactory_v2.js → RedStone.js} +1077 -682
- package/dist/contracts/RipePoolAero.d.ts +5 -5
- package/dist/contracts/RipePoolAero.d.ts.map +1 -1
- package/dist/contracts/StorkPrices.d.ts +8 -8
- package/dist/contracts/StorkPrices.d.ts.map +1 -1
- package/dist/contracts/StorkPrices.js +9 -9
- package/dist/contracts/SwitchboardAlpha.d.ts +168 -0
- package/dist/contracts/SwitchboardAlpha.d.ts.map +1 -1
- package/dist/contracts/SwitchboardAlpha.js +217 -1
- package/dist/contracts/SwitchboardCharlie.d.ts +133 -1760
- package/dist/contracts/SwitchboardCharlie.d.ts.map +1 -1
- package/dist/contracts/SwitchboardCharlie.js +129 -2217
- package/dist/contracts/SwitchboardDelta.d.ts +115 -0
- package/dist/contracts/SwitchboardDelta.d.ts.map +1 -1
- package/dist/contracts/SwitchboardDelta.js +144 -1
- package/dist/contracts/SwitchboardEcho.d.ts +3296 -0
- package/dist/contracts/SwitchboardEcho.d.ts.map +1 -0
- package/dist/contracts/{Agent.js → SwitchboardEcho.js} +2424 -1698
- package/dist/contracts/Teller.d.ts +378 -0
- package/dist/contracts/Teller.d.ts.map +1 -1
- package/dist/contracts/Teller.js +475 -1
- package/dist/contracts/TellerUtils.d.ts +819 -0
- package/dist/contracts/TellerUtils.d.ts.map +1 -0
- package/dist/contracts/TellerUtils.js +994 -0
- package/dist/contracts/UnderscoreVault.d.ts +1028 -0
- package/dist/contracts/UnderscoreVault.d.ts.map +1 -0
- package/dist/contracts/UnderscoreVault.js +1243 -0
- package/dist/contracts/UndyVaultPrices.d.ts +1781 -0
- package/dist/contracts/UndyVaultPrices.d.ts.map +1 -0
- package/dist/contracts/{AgentFactory.js → UndyVaultPrices.js} +1185 -1024
- package/dist/contracts/index.d.ts +10 -0
- package/dist/contracts/index.d.ts.map +1 -1
- package/dist/contracts/index.js +10 -0
- package/dist/contracts/sdk.d.ts +20 -0
- package/dist/contracts/sdk.d.ts.map +1 -1
- package/dist/contracts/sdk.js +20 -0
- package/dist/contracts/{LegoMorpho.d.ts → wsuperOETHbPrices.d.ts} +610 -573
- package/dist/contracts/wsuperOETHbPrices.d.ts.map +1 -0
- package/dist/contracts/{LegoMorpho.js → wsuperOETHbPrices.js} +654 -632
- package/dist/index.d.ts +354 -68
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +21 -0
- package/package.json +3 -3
- package/dist/contracts/AddyRegistry.d.ts +0 -1109
- package/dist/contracts/AddyRegistry.d.ts.map +0 -1
- package/dist/contracts/AddyRegistry.js +0 -1392
- package/dist/contracts/AddyRegistry_v1.d.ts +0 -473
- package/dist/contracts/AddyRegistry_v1.d.ts.map +0 -1
- package/dist/contracts/AddyRegistry_v1.js +0 -594
- package/dist/contracts/AddyRegistry_v2.d.ts +0 -1050
- package/dist/contracts/AddyRegistry_v2.d.ts.map +0 -1
- package/dist/contracts/AddyRegistry_v2.js +0 -1313
- package/dist/contracts/Agent.d.ts +0 -2709
- package/dist/contracts/Agent.d.ts.map +0 -1
- package/dist/contracts/AgentFactory.d.ts +0 -1665
- package/dist/contracts/AgentFactory.d.ts.map +0 -1
- package/dist/contracts/AgentFactory_v1.d.ts +0 -1054
- package/dist/contracts/AgentFactory_v1.d.ts.map +0 -1
- package/dist/contracts/AgentFactory_v1.js +0 -1336
- package/dist/contracts/AgentFactory_v2.d.ts +0 -1275
- package/dist/contracts/AgentFactory_v2.d.ts.map +0 -1
- package/dist/contracts/AgentTemplate.d.ts +0 -2629
- package/dist/contracts/AgentTemplate.d.ts.map +0 -1
- package/dist/contracts/AgentTemplate.js +0 -3370
- package/dist/contracts/Agent_v1.d.ts +0 -2631
- package/dist/contracts/Agent_v1.d.ts.map +0 -1
- package/dist/contracts/Agent_v1.js +0 -3372
- package/dist/contracts/Agent_v2.d.ts +0 -2709
- package/dist/contracts/Agent_v2.d.ts.map +0 -1
- package/dist/contracts/Agent_v2.js +0 -3458
- package/dist/contracts/ChainlinkFeeds.d.ts +0 -706
- package/dist/contracts/ChainlinkFeeds.d.ts.map +0 -1
- package/dist/contracts/ChainlinkFeeds.js +0 -900
- package/dist/contracts/LegoAaveV3.d.ts +0 -1033
- package/dist/contracts/LegoAaveV3.d.ts.map +0 -1
- package/dist/contracts/LegoAaveV3.js +0 -1330
- package/dist/contracts/LegoAeroClassic.d.ts +0 -1204
- package/dist/contracts/LegoAeroClassic.d.ts.map +0 -1
- package/dist/contracts/LegoAeroClassic.js +0 -1546
- package/dist/contracts/LegoAeroSlipstream.d.ts +0 -1300
- package/dist/contracts/LegoAeroSlipstream.d.ts.map +0 -1
- package/dist/contracts/LegoAeroSlipstream.js +0 -1671
- package/dist/contracts/LegoCommon.d.ts +0 -164
- package/dist/contracts/LegoCommon.d.ts.map +0 -1
- package/dist/contracts/LegoCommon.js +0 -202
- package/dist/contracts/LegoCompoundV3.d.ts +0 -1060
- package/dist/contracts/LegoCompoundV3.d.ts.map +0 -1
- package/dist/contracts/LegoCompoundV3.js +0 -1365
- package/dist/contracts/LegoCredit.d.ts +0 -140
- package/dist/contracts/LegoCredit.d.ts.map +0 -1
- package/dist/contracts/LegoCredit.js +0 -179
- package/dist/contracts/LegoCurve.d.ts +0 -1189
- package/dist/contracts/LegoCurve.d.ts.map +0 -1
- package/dist/contracts/LegoCurve.js +0 -1519
- package/dist/contracts/LegoDex.d.ts +0 -587
- package/dist/contracts/LegoDex.d.ts.map +0 -1
- package/dist/contracts/LegoDex.js +0 -774
- package/dist/contracts/LegoEuler.d.ts +0 -1074
- package/dist/contracts/LegoEuler.d.ts.map +0 -1
- package/dist/contracts/LegoEuler.js +0 -1383
- package/dist/contracts/LegoFluid.d.ts +0 -1025
- package/dist/contracts/LegoFluid.d.ts.map +0 -1
- package/dist/contracts/LegoFluid.js +0 -1320
- package/dist/contracts/LegoHelper.d.ts +0 -1563
- package/dist/contracts/LegoHelper.d.ts.map +0 -1
- package/dist/contracts/LegoHelper.js +0 -1947
- package/dist/contracts/LegoMoonwell.d.ts +0 -1042
- package/dist/contracts/LegoMoonwell.d.ts.map +0 -1
- package/dist/contracts/LegoMoonwell.js +0 -1342
- package/dist/contracts/LegoMorpho.d.ts.map +0 -1
- package/dist/contracts/LegoRegistry.d.ts +0 -1079
- package/dist/contracts/LegoRegistry.d.ts.map +0 -1
- package/dist/contracts/LegoRegistry.js +0 -1368
- package/dist/contracts/LegoSky.d.ts +0 -923
- package/dist/contracts/LegoSky.d.ts.map +0 -1
- package/dist/contracts/LegoSky.js +0 -1180
- package/dist/contracts/LegoUniswapV2.d.ts +0 -1204
- package/dist/contracts/LegoUniswapV2.d.ts.map +0 -1
- package/dist/contracts/LegoUniswapV2.js +0 -1546
- package/dist/contracts/LegoUniswapV3.d.ts +0 -1338
- package/dist/contracts/LegoUniswapV3.d.ts.map +0 -1
- package/dist/contracts/LegoUniswapV3.js +0 -1718
- package/dist/contracts/LegoYield.d.ts +0 -390
- package/dist/contracts/LegoYield.d.ts.map +0 -1
- package/dist/contracts/LegoYield.js +0 -511
- package/dist/contracts/OracleParser.d.ts +0 -207
- package/dist/contracts/OracleParser.d.ts.map +0 -1
- package/dist/contracts/OracleParser.js +0 -264
- package/dist/contracts/OracleRegistry.d.ts +0 -1221
- package/dist/contracts/OracleRegistry.d.ts.map +0 -1
- package/dist/contracts/OracleRegistry.js +0 -1562
- package/dist/contracts/PriceSheets.d.ts +0 -1127
- package/dist/contracts/PriceSheets.d.ts.map +0 -1
- package/dist/contracts/PythFeeds.d.ts +0 -640
- package/dist/contracts/PythFeeds.d.ts.map +0 -1
- package/dist/contracts/PythFeeds.js +0 -813
- package/dist/contracts/RipePool.d.ts +0 -1264
- package/dist/contracts/RipePool.d.ts.map +0 -1
- package/dist/contracts/RipePool.js +0 -1627
- package/dist/contracts/StorkFeeds.d.ts +0 -640
- package/dist/contracts/StorkFeeds.d.ts.map +0 -1
- package/dist/contracts/StorkFeeds.js +0 -813
- package/dist/contracts/UserWallet.d.ts +0 -1975
- package/dist/contracts/UserWallet.d.ts.map +0 -1
- package/dist/contracts/UserWallet.js +0 -2577
- package/dist/contracts/UserWalletConfig.d.ts +0 -1852
- package/dist/contracts/UserWalletConfig.d.ts.map +0 -1
- package/dist/contracts/UserWalletConfig.js +0 -2263
- package/dist/contracts/UserWalletConfig_v1.d.ts +0 -1400
- package/dist/contracts/UserWalletConfig_v1.d.ts.map +0 -1
- package/dist/contracts/UserWalletConfig_v1.js +0 -1676
- package/dist/contracts/UserWalletConfig_v2.d.ts +0 -1468
- package/dist/contracts/UserWalletConfig_v2.d.ts.map +0 -1
- package/dist/contracts/UserWalletConfig_v2.js +0 -1764
- package/dist/contracts/UserWallet_v1.d.ts +0 -1980
- package/dist/contracts/UserWallet_v1.d.ts.map +0 -1
- package/dist/contracts/UserWallet_v1.js +0 -2581
- package/dist/contracts/UserWallet_v2.d.ts +0 -1958
- package/dist/contracts/UserWallet_v2.d.ts.map +0 -1
- package/dist/contracts/UserWallet_v2.js +0 -2553
- package/dist/contracts/WalletConfig.d.ts +0 -1398
- package/dist/contracts/WalletConfig.d.ts.map +0 -1
- package/dist/contracts/WalletConfig.js +0 -1674
- package/dist/contracts/WalletFunds.d.ts +0 -1978
- package/dist/contracts/WalletFunds.d.ts.map +0 -1
- package/dist/contracts/WalletFunds.js +0 -2579
|
@@ -5,929 +5,983 @@
|
|
|
5
5
|
import { singleQuery, mutate } from '@dappql/async';
|
|
6
6
|
export const abi = [
|
|
7
7
|
{
|
|
8
|
-
|
|
8
|
+
name: 'GovChangeTimeLockModified',
|
|
9
9
|
inputs: [
|
|
10
10
|
{
|
|
11
|
-
|
|
12
|
-
name: 'sender',
|
|
13
|
-
type: 'address',
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
indexed: true,
|
|
17
|
-
name: 'asset',
|
|
18
|
-
type: 'address',
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
indexed: true,
|
|
22
|
-
name: 'vaultToken',
|
|
23
|
-
type: 'address',
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
indexed: false,
|
|
27
|
-
name: 'assetAmountDeposited',
|
|
11
|
+
name: 'prevTimeLock',
|
|
28
12
|
type: 'uint256',
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
13
|
indexed: false,
|
|
32
|
-
name: 'usdValue',
|
|
33
|
-
type: 'uint256',
|
|
34
14
|
},
|
|
35
15
|
{
|
|
36
|
-
|
|
37
|
-
name: 'vaultTokenAmountReceived',
|
|
16
|
+
name: 'newTimeLock',
|
|
38
17
|
type: 'uint256',
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
18
|
indexed: false,
|
|
42
|
-
name: 'recipient',
|
|
43
|
-
type: 'address',
|
|
44
19
|
},
|
|
45
20
|
],
|
|
46
|
-
|
|
21
|
+
anonymous: false,
|
|
47
22
|
type: 'event',
|
|
48
23
|
},
|
|
49
24
|
{
|
|
50
|
-
|
|
25
|
+
name: 'ExpirationSet',
|
|
51
26
|
inputs: [
|
|
52
27
|
{
|
|
53
|
-
|
|
54
|
-
name: 'sender',
|
|
55
|
-
type: 'address',
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
indexed: true,
|
|
59
|
-
name: 'asset',
|
|
60
|
-
type: 'address',
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
indexed: true,
|
|
64
|
-
name: 'vaultToken',
|
|
65
|
-
type: 'address',
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
indexed: false,
|
|
69
|
-
name: 'assetAmountReceived',
|
|
70
|
-
type: 'uint256',
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
indexed: false,
|
|
74
|
-
name: 'usdValue',
|
|
75
|
-
type: 'uint256',
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
indexed: false,
|
|
79
|
-
name: 'vaultTokenAmountBurned',
|
|
28
|
+
name: 'expiration',
|
|
80
29
|
type: 'uint256',
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
30
|
indexed: false,
|
|
84
|
-
name: 'recipient',
|
|
85
|
-
type: 'address',
|
|
86
31
|
},
|
|
87
32
|
],
|
|
88
|
-
name: 'MorphoWithdrawal',
|
|
89
|
-
type: 'event',
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
33
|
anonymous: false,
|
|
93
|
-
inputs: [
|
|
94
|
-
{
|
|
95
|
-
indexed: false,
|
|
96
|
-
name: 'addr',
|
|
97
|
-
type: 'address',
|
|
98
|
-
},
|
|
99
|
-
],
|
|
100
|
-
name: 'MorphoRewardsAddrSet',
|
|
101
34
|
type: 'event',
|
|
102
35
|
},
|
|
103
36
|
{
|
|
104
|
-
|
|
37
|
+
name: 'ActionTimeLockSet',
|
|
105
38
|
inputs: [
|
|
106
39
|
{
|
|
107
|
-
|
|
108
|
-
name: 'asset',
|
|
109
|
-
type: 'address',
|
|
110
|
-
},
|
|
111
|
-
{
|
|
112
|
-
indexed: true,
|
|
113
|
-
name: 'recipient',
|
|
114
|
-
type: 'address',
|
|
115
|
-
},
|
|
116
|
-
{
|
|
117
|
-
indexed: false,
|
|
118
|
-
name: 'amount',
|
|
40
|
+
name: 'newTimeLock',
|
|
119
41
|
type: 'uint256',
|
|
120
|
-
},
|
|
121
|
-
],
|
|
122
|
-
name: 'MorphoFundsRecovered',
|
|
123
|
-
type: 'event',
|
|
124
|
-
},
|
|
125
|
-
{
|
|
126
|
-
anonymous: false,
|
|
127
|
-
inputs: [
|
|
128
|
-
{
|
|
129
42
|
indexed: false,
|
|
130
|
-
name: 'legoId',
|
|
131
|
-
type: 'uint256',
|
|
132
43
|
},
|
|
133
|
-
],
|
|
134
|
-
name: 'MorphoLegoIdSet',
|
|
135
|
-
type: 'event',
|
|
136
|
-
},
|
|
137
|
-
{
|
|
138
|
-
anonymous: false,
|
|
139
|
-
inputs: [
|
|
140
44
|
{
|
|
45
|
+
name: 'prevTimeLock',
|
|
46
|
+
type: 'uint256',
|
|
141
47
|
indexed: false,
|
|
142
|
-
name: 'isActivated',
|
|
143
|
-
type: 'bool',
|
|
144
48
|
},
|
|
145
49
|
],
|
|
146
|
-
|
|
50
|
+
anonymous: false,
|
|
147
51
|
type: 'event',
|
|
148
52
|
},
|
|
149
53
|
{
|
|
150
|
-
|
|
54
|
+
name: 'GovChangeStarted',
|
|
151
55
|
inputs: [
|
|
152
56
|
{
|
|
153
|
-
indexed: true,
|
|
154
57
|
name: 'prevGov',
|
|
155
58
|
type: 'address',
|
|
59
|
+
indexed: true,
|
|
156
60
|
},
|
|
157
61
|
{
|
|
158
|
-
indexed: true,
|
|
159
62
|
name: 'newGov',
|
|
160
63
|
type: 'address',
|
|
64
|
+
indexed: true,
|
|
161
65
|
},
|
|
162
66
|
{
|
|
163
|
-
indexed: false,
|
|
164
67
|
name: 'confirmBlock',
|
|
165
68
|
type: 'uint256',
|
|
69
|
+
indexed: false,
|
|
166
70
|
},
|
|
167
71
|
],
|
|
168
|
-
|
|
72
|
+
anonymous: false,
|
|
169
73
|
type: 'event',
|
|
170
74
|
},
|
|
171
75
|
{
|
|
172
|
-
|
|
76
|
+
name: 'GovChangeConfirmed',
|
|
173
77
|
inputs: [
|
|
174
78
|
{
|
|
175
|
-
indexed: true,
|
|
176
79
|
name: 'prevGov',
|
|
177
80
|
type: 'address',
|
|
81
|
+
indexed: true,
|
|
178
82
|
},
|
|
179
83
|
{
|
|
180
|
-
indexed: true,
|
|
181
84
|
name: 'newGov',
|
|
182
85
|
type: 'address',
|
|
86
|
+
indexed: true,
|
|
183
87
|
},
|
|
184
88
|
{
|
|
185
|
-
indexed: false,
|
|
186
89
|
name: 'initiatedBlock',
|
|
187
90
|
type: 'uint256',
|
|
91
|
+
indexed: false,
|
|
188
92
|
},
|
|
189
93
|
{
|
|
190
|
-
indexed: false,
|
|
191
94
|
name: 'confirmBlock',
|
|
192
95
|
type: 'uint256',
|
|
96
|
+
indexed: false,
|
|
193
97
|
},
|
|
194
98
|
],
|
|
195
|
-
|
|
99
|
+
anonymous: false,
|
|
196
100
|
type: 'event',
|
|
197
101
|
},
|
|
198
102
|
{
|
|
199
|
-
|
|
103
|
+
name: 'GovChangeCancelled',
|
|
200
104
|
inputs: [
|
|
201
105
|
{
|
|
202
|
-
indexed: true,
|
|
203
106
|
name: 'cancelledGov',
|
|
204
107
|
type: 'address',
|
|
108
|
+
indexed: true,
|
|
205
109
|
},
|
|
206
110
|
{
|
|
207
|
-
indexed: false,
|
|
208
111
|
name: 'initiatedBlock',
|
|
209
112
|
type: 'uint256',
|
|
113
|
+
indexed: false,
|
|
210
114
|
},
|
|
211
115
|
{
|
|
212
|
-
indexed: false,
|
|
213
116
|
name: 'confirmBlock',
|
|
214
117
|
type: 'uint256',
|
|
118
|
+
indexed: false,
|
|
215
119
|
},
|
|
216
120
|
],
|
|
217
|
-
|
|
121
|
+
anonymous: false,
|
|
218
122
|
type: 'event',
|
|
219
123
|
},
|
|
220
124
|
{
|
|
221
|
-
|
|
125
|
+
name: 'GovRelinquished',
|
|
222
126
|
inputs: [
|
|
223
127
|
{
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
128
|
+
name: 'prevGov',
|
|
129
|
+
type: 'address',
|
|
130
|
+
indexed: true,
|
|
227
131
|
},
|
|
228
132
|
],
|
|
229
|
-
|
|
133
|
+
anonymous: false,
|
|
230
134
|
type: 'event',
|
|
231
135
|
},
|
|
232
136
|
{
|
|
233
|
-
|
|
137
|
+
name: 'RipeHqSetupFinished',
|
|
234
138
|
inputs: [
|
|
235
139
|
{
|
|
236
|
-
|
|
237
|
-
name: 'asset',
|
|
140
|
+
name: 'prevGov',
|
|
238
141
|
type: 'address',
|
|
142
|
+
indexed: true,
|
|
239
143
|
},
|
|
240
144
|
{
|
|
241
|
-
|
|
242
|
-
name: 'vaultToken',
|
|
145
|
+
name: 'newGov',
|
|
243
146
|
type: 'address',
|
|
147
|
+
indexed: true,
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
name: 'timeLock',
|
|
151
|
+
type: 'uint256',
|
|
152
|
+
indexed: false,
|
|
244
153
|
},
|
|
245
154
|
],
|
|
246
|
-
|
|
155
|
+
anonymous: false,
|
|
247
156
|
type: 'event',
|
|
248
157
|
},
|
|
249
158
|
{
|
|
159
|
+
name: 'PriceSourcePauseModified',
|
|
160
|
+
inputs: [
|
|
161
|
+
{
|
|
162
|
+
name: 'isPaused',
|
|
163
|
+
type: 'bool',
|
|
164
|
+
indexed: false,
|
|
165
|
+
},
|
|
166
|
+
],
|
|
250
167
|
anonymous: false,
|
|
168
|
+
type: 'event',
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
name: 'PriceSourceFundsRecovered',
|
|
251
172
|
inputs: [
|
|
252
173
|
{
|
|
253
|
-
indexed: true,
|
|
254
174
|
name: 'asset',
|
|
255
175
|
type: 'address',
|
|
176
|
+
indexed: true,
|
|
256
177
|
},
|
|
257
178
|
{
|
|
258
|
-
|
|
259
|
-
name: 'vaultToken',
|
|
179
|
+
name: 'recipient',
|
|
260
180
|
type: 'address',
|
|
181
|
+
indexed: true,
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
name: 'balance',
|
|
185
|
+
type: 'uint256',
|
|
186
|
+
indexed: false,
|
|
261
187
|
},
|
|
262
188
|
],
|
|
263
|
-
|
|
189
|
+
anonymous: false,
|
|
264
190
|
type: 'event',
|
|
265
191
|
},
|
|
266
192
|
{
|
|
193
|
+
stateMutability: 'view',
|
|
194
|
+
type: 'function',
|
|
195
|
+
name: 'getRipeHqFromGov',
|
|
196
|
+
inputs: [],
|
|
197
|
+
outputs: [
|
|
198
|
+
{
|
|
199
|
+
name: '',
|
|
200
|
+
type: 'address',
|
|
201
|
+
},
|
|
202
|
+
],
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
stateMutability: 'view',
|
|
206
|
+
type: 'function',
|
|
207
|
+
name: 'canGovern',
|
|
267
208
|
inputs: [
|
|
268
209
|
{
|
|
269
|
-
name: '
|
|
210
|
+
name: '_addr',
|
|
270
211
|
type: 'address',
|
|
271
212
|
},
|
|
272
213
|
],
|
|
273
|
-
name: 'getAssetOpportunities',
|
|
274
214
|
outputs: [
|
|
275
215
|
{
|
|
276
216
|
name: '',
|
|
277
|
-
type: '
|
|
217
|
+
type: 'bool',
|
|
278
218
|
},
|
|
279
219
|
],
|
|
280
|
-
stateMutability: 'view',
|
|
281
|
-
type: 'function',
|
|
282
220
|
},
|
|
283
221
|
{
|
|
222
|
+
stateMutability: 'view',
|
|
223
|
+
type: 'function',
|
|
224
|
+
name: 'getGovernors',
|
|
284
225
|
inputs: [],
|
|
285
|
-
name: 'getAssets',
|
|
286
226
|
outputs: [
|
|
287
227
|
{
|
|
288
228
|
name: '',
|
|
289
229
|
type: 'address[]',
|
|
290
230
|
},
|
|
291
231
|
],
|
|
232
|
+
},
|
|
233
|
+
{
|
|
292
234
|
stateMutability: 'view',
|
|
293
235
|
type: 'function',
|
|
236
|
+
name: 'hasPendingGovChange',
|
|
237
|
+
inputs: [],
|
|
238
|
+
outputs: [
|
|
239
|
+
{
|
|
240
|
+
name: '',
|
|
241
|
+
type: 'bool',
|
|
242
|
+
},
|
|
243
|
+
],
|
|
294
244
|
},
|
|
295
245
|
{
|
|
246
|
+
stateMutability: 'nonpayable',
|
|
247
|
+
type: 'function',
|
|
248
|
+
name: 'startGovernanceChange',
|
|
296
249
|
inputs: [
|
|
297
250
|
{
|
|
298
|
-
name: '
|
|
251
|
+
name: '_newGov',
|
|
299
252
|
type: 'address',
|
|
300
253
|
},
|
|
254
|
+
],
|
|
255
|
+
outputs: [],
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
stateMutability: 'nonpayable',
|
|
259
|
+
type: 'function',
|
|
260
|
+
name: 'confirmGovernanceChange',
|
|
261
|
+
inputs: [],
|
|
262
|
+
outputs: [],
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
stateMutability: 'nonpayable',
|
|
266
|
+
type: 'function',
|
|
267
|
+
name: 'cancelGovernanceChange',
|
|
268
|
+
inputs: [],
|
|
269
|
+
outputs: [],
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
stateMutability: 'nonpayable',
|
|
273
|
+
type: 'function',
|
|
274
|
+
name: 'relinquishGov',
|
|
275
|
+
inputs: [],
|
|
276
|
+
outputs: [],
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
stateMutability: 'nonpayable',
|
|
280
|
+
type: 'function',
|
|
281
|
+
name: 'setGovTimeLock',
|
|
282
|
+
inputs: [
|
|
301
283
|
{
|
|
302
|
-
name: '
|
|
284
|
+
name: '_numBlocks',
|
|
303
285
|
type: 'uint256',
|
|
304
286
|
},
|
|
305
287
|
],
|
|
306
|
-
name: 'assetOpportunities',
|
|
307
288
|
outputs: [
|
|
308
289
|
{
|
|
309
290
|
name: '',
|
|
310
|
-
type: '
|
|
291
|
+
type: 'bool',
|
|
311
292
|
},
|
|
312
293
|
],
|
|
313
|
-
stateMutability: 'view',
|
|
314
|
-
type: 'function',
|
|
315
294
|
},
|
|
316
295
|
{
|
|
296
|
+
stateMutability: 'view',
|
|
297
|
+
type: 'function',
|
|
298
|
+
name: 'isValidGovTimeLock',
|
|
317
299
|
inputs: [
|
|
318
300
|
{
|
|
319
|
-
name: '
|
|
320
|
-
type: '
|
|
321
|
-
},
|
|
322
|
-
{
|
|
323
|
-
name: 'arg1',
|
|
324
|
-
type: 'address',
|
|
301
|
+
name: '_newTimeLock',
|
|
302
|
+
type: 'uint256',
|
|
325
303
|
},
|
|
326
304
|
],
|
|
327
|
-
name: 'indexOfAssetOpportunity',
|
|
328
305
|
outputs: [
|
|
329
306
|
{
|
|
330
307
|
name: '',
|
|
331
|
-
type: '
|
|
308
|
+
type: 'bool',
|
|
332
309
|
},
|
|
333
310
|
],
|
|
334
|
-
stateMutability: 'view',
|
|
335
|
-
type: 'function',
|
|
336
311
|
},
|
|
337
312
|
{
|
|
338
|
-
|
|
313
|
+
stateMutability: 'view',
|
|
314
|
+
type: 'function',
|
|
315
|
+
name: 'minGovChangeTimeLock',
|
|
316
|
+
inputs: [],
|
|
317
|
+
outputs: [
|
|
339
318
|
{
|
|
340
|
-
name: '
|
|
341
|
-
type: '
|
|
319
|
+
name: '',
|
|
320
|
+
type: 'uint256',
|
|
342
321
|
},
|
|
343
322
|
],
|
|
344
|
-
|
|
323
|
+
},
|
|
324
|
+
{
|
|
325
|
+
stateMutability: 'view',
|
|
326
|
+
type: 'function',
|
|
327
|
+
name: 'maxGovChangeTimeLock',
|
|
328
|
+
inputs: [],
|
|
345
329
|
outputs: [
|
|
346
330
|
{
|
|
347
331
|
name: '',
|
|
348
332
|
type: 'uint256',
|
|
349
333
|
},
|
|
350
334
|
],
|
|
351
|
-
stateMutability: 'view',
|
|
352
|
-
type: 'function',
|
|
353
335
|
},
|
|
354
336
|
{
|
|
337
|
+
stateMutability: 'nonpayable',
|
|
338
|
+
type: 'function',
|
|
339
|
+
name: 'finishRipeHqSetup',
|
|
355
340
|
inputs: [
|
|
356
341
|
{
|
|
357
|
-
name: '
|
|
342
|
+
name: '_newGov',
|
|
358
343
|
type: 'address',
|
|
359
344
|
},
|
|
360
345
|
],
|
|
361
|
-
name: 'vaultToAsset',
|
|
362
346
|
outputs: [
|
|
363
347
|
{
|
|
364
348
|
name: '',
|
|
365
|
-
type: '
|
|
349
|
+
type: 'bool',
|
|
366
350
|
},
|
|
367
351
|
],
|
|
368
|
-
stateMutability: 'view',
|
|
369
|
-
type: 'function',
|
|
370
352
|
},
|
|
371
353
|
{
|
|
354
|
+
stateMutability: 'nonpayable',
|
|
355
|
+
type: 'function',
|
|
356
|
+
name: 'finishRipeHqSetup',
|
|
372
357
|
inputs: [
|
|
373
358
|
{
|
|
374
|
-
name: '
|
|
359
|
+
name: '_newGov',
|
|
360
|
+
type: 'address',
|
|
361
|
+
},
|
|
362
|
+
{
|
|
363
|
+
name: '_timeLock',
|
|
375
364
|
type: 'uint256',
|
|
376
365
|
},
|
|
377
366
|
],
|
|
378
|
-
name: 'assets',
|
|
379
367
|
outputs: [
|
|
380
368
|
{
|
|
381
369
|
name: '',
|
|
382
|
-
type: '
|
|
370
|
+
type: 'bool',
|
|
383
371
|
},
|
|
384
372
|
],
|
|
385
|
-
stateMutability: 'view',
|
|
386
|
-
type: 'function',
|
|
387
373
|
},
|
|
388
374
|
{
|
|
389
|
-
|
|
375
|
+
stateMutability: 'view',
|
|
376
|
+
type: 'function',
|
|
377
|
+
name: 'governance',
|
|
378
|
+
inputs: [],
|
|
379
|
+
outputs: [
|
|
390
380
|
{
|
|
391
|
-
name: '
|
|
381
|
+
name: '',
|
|
392
382
|
type: 'address',
|
|
393
383
|
},
|
|
394
384
|
],
|
|
395
|
-
|
|
385
|
+
},
|
|
386
|
+
{
|
|
387
|
+
stateMutability: 'view',
|
|
388
|
+
type: 'function',
|
|
389
|
+
name: 'pendingGov',
|
|
390
|
+
inputs: [],
|
|
396
391
|
outputs: [
|
|
397
392
|
{
|
|
398
393
|
name: '',
|
|
399
|
-
type: '
|
|
394
|
+
type: 'tuple',
|
|
395
|
+
components: [
|
|
396
|
+
{
|
|
397
|
+
name: 'newGov',
|
|
398
|
+
type: 'address',
|
|
399
|
+
},
|
|
400
|
+
{
|
|
401
|
+
name: 'initiatedBlock',
|
|
402
|
+
type: 'uint256',
|
|
403
|
+
},
|
|
404
|
+
{
|
|
405
|
+
name: 'confirmBlock',
|
|
406
|
+
type: 'uint256',
|
|
407
|
+
},
|
|
408
|
+
],
|
|
400
409
|
},
|
|
401
410
|
],
|
|
402
|
-
stateMutability: 'view',
|
|
403
|
-
type: 'function',
|
|
404
411
|
},
|
|
405
412
|
{
|
|
413
|
+
stateMutability: 'view',
|
|
414
|
+
type: 'function',
|
|
415
|
+
name: 'numGovChanges',
|
|
406
416
|
inputs: [],
|
|
407
|
-
name: 'numAssets',
|
|
408
417
|
outputs: [
|
|
409
418
|
{
|
|
410
419
|
name: '',
|
|
411
420
|
type: 'uint256',
|
|
412
421
|
},
|
|
413
422
|
],
|
|
423
|
+
},
|
|
424
|
+
{
|
|
414
425
|
stateMutability: 'view',
|
|
415
426
|
type: 'function',
|
|
427
|
+
name: 'govChangeTimeLock',
|
|
428
|
+
inputs: [],
|
|
429
|
+
outputs: [
|
|
430
|
+
{
|
|
431
|
+
name: '',
|
|
432
|
+
type: 'uint256',
|
|
433
|
+
},
|
|
434
|
+
],
|
|
416
435
|
},
|
|
417
436
|
{
|
|
418
|
-
|
|
437
|
+
stateMutability: 'view',
|
|
438
|
+
type: 'function',
|
|
439
|
+
name: 'getAddys',
|
|
440
|
+
inputs: [],
|
|
441
|
+
outputs: [
|
|
419
442
|
{
|
|
420
|
-
name: '
|
|
421
|
-
type: '
|
|
443
|
+
name: '',
|
|
444
|
+
type: 'tuple',
|
|
445
|
+
components: [
|
|
446
|
+
{
|
|
447
|
+
name: 'hq',
|
|
448
|
+
type: 'address',
|
|
449
|
+
},
|
|
450
|
+
{
|
|
451
|
+
name: 'greenToken',
|
|
452
|
+
type: 'address',
|
|
453
|
+
},
|
|
454
|
+
{
|
|
455
|
+
name: 'savingsGreen',
|
|
456
|
+
type: 'address',
|
|
457
|
+
},
|
|
458
|
+
{
|
|
459
|
+
name: 'ripeToken',
|
|
460
|
+
type: 'address',
|
|
461
|
+
},
|
|
462
|
+
{
|
|
463
|
+
name: 'ledger',
|
|
464
|
+
type: 'address',
|
|
465
|
+
},
|
|
466
|
+
{
|
|
467
|
+
name: 'missionControl',
|
|
468
|
+
type: 'address',
|
|
469
|
+
},
|
|
470
|
+
{
|
|
471
|
+
name: 'switchboard',
|
|
472
|
+
type: 'address',
|
|
473
|
+
},
|
|
474
|
+
{
|
|
475
|
+
name: 'priceDesk',
|
|
476
|
+
type: 'address',
|
|
477
|
+
},
|
|
478
|
+
{
|
|
479
|
+
name: 'vaultBook',
|
|
480
|
+
type: 'address',
|
|
481
|
+
},
|
|
482
|
+
{
|
|
483
|
+
name: 'auctionHouse',
|
|
484
|
+
type: 'address',
|
|
485
|
+
},
|
|
486
|
+
{
|
|
487
|
+
name: 'auctionHouseNft',
|
|
488
|
+
type: 'address',
|
|
489
|
+
},
|
|
490
|
+
{
|
|
491
|
+
name: 'boardroom',
|
|
492
|
+
type: 'address',
|
|
493
|
+
},
|
|
494
|
+
{
|
|
495
|
+
name: 'bondRoom',
|
|
496
|
+
type: 'address',
|
|
497
|
+
},
|
|
498
|
+
{
|
|
499
|
+
name: 'creditEngine',
|
|
500
|
+
type: 'address',
|
|
501
|
+
},
|
|
502
|
+
{
|
|
503
|
+
name: 'endaoment',
|
|
504
|
+
type: 'address',
|
|
505
|
+
},
|
|
506
|
+
{
|
|
507
|
+
name: 'humanResources',
|
|
508
|
+
type: 'address',
|
|
509
|
+
},
|
|
510
|
+
{
|
|
511
|
+
name: 'lootbox',
|
|
512
|
+
type: 'address',
|
|
513
|
+
},
|
|
514
|
+
{
|
|
515
|
+
name: 'teller',
|
|
516
|
+
type: 'address',
|
|
517
|
+
},
|
|
518
|
+
],
|
|
422
519
|
},
|
|
423
520
|
],
|
|
424
|
-
|
|
521
|
+
},
|
|
522
|
+
{
|
|
523
|
+
stateMutability: 'view',
|
|
524
|
+
type: 'function',
|
|
525
|
+
name: 'getRipeHq',
|
|
526
|
+
inputs: [],
|
|
425
527
|
outputs: [
|
|
426
528
|
{
|
|
427
529
|
name: '',
|
|
428
|
-
type: '
|
|
530
|
+
type: 'address',
|
|
429
531
|
},
|
|
430
532
|
],
|
|
431
|
-
stateMutability: 'view',
|
|
432
|
-
type: 'function',
|
|
433
533
|
},
|
|
434
534
|
{
|
|
535
|
+
stateMutability: 'view',
|
|
536
|
+
type: 'function',
|
|
537
|
+
name: 'getPricedAssets',
|
|
435
538
|
inputs: [],
|
|
436
|
-
name: 'hasPendingGovChange',
|
|
437
539
|
outputs: [
|
|
438
540
|
{
|
|
439
541
|
name: '',
|
|
440
|
-
type: '
|
|
542
|
+
type: 'address[]',
|
|
441
543
|
},
|
|
442
544
|
],
|
|
443
|
-
stateMutability: 'view',
|
|
444
|
-
type: 'function',
|
|
445
545
|
},
|
|
446
546
|
{
|
|
547
|
+
stateMutability: 'nonpayable',
|
|
548
|
+
type: 'function',
|
|
549
|
+
name: 'pause',
|
|
447
550
|
inputs: [
|
|
448
551
|
{
|
|
449
|
-
name: '
|
|
450
|
-
type: '
|
|
552
|
+
name: '_shouldPause',
|
|
553
|
+
type: 'bool',
|
|
451
554
|
},
|
|
452
555
|
],
|
|
453
|
-
name: 'changeGovernance',
|
|
454
|
-
outputs: [],
|
|
455
|
-
stateMutability: 'nonpayable',
|
|
456
|
-
type: 'function',
|
|
457
|
-
},
|
|
458
|
-
{
|
|
459
|
-
inputs: [],
|
|
460
|
-
name: 'confirmGovernanceChange',
|
|
461
556
|
outputs: [],
|
|
462
|
-
stateMutability: 'nonpayable',
|
|
463
|
-
type: 'function',
|
|
464
557
|
},
|
|
465
558
|
{
|
|
466
|
-
inputs: [],
|
|
467
|
-
name: 'cancelGovernanceChange',
|
|
468
|
-
outputs: [],
|
|
469
559
|
stateMutability: 'nonpayable',
|
|
470
560
|
type: 'function',
|
|
471
|
-
|
|
472
|
-
{
|
|
561
|
+
name: 'recoverFunds',
|
|
473
562
|
inputs: [
|
|
474
563
|
{
|
|
475
|
-
name: '
|
|
476
|
-
type: '
|
|
564
|
+
name: '_recipient',
|
|
565
|
+
type: 'address',
|
|
566
|
+
},
|
|
567
|
+
{
|
|
568
|
+
name: '_asset',
|
|
569
|
+
type: 'address',
|
|
477
570
|
},
|
|
478
571
|
],
|
|
479
|
-
name: 'setGovernanceChangeDelay',
|
|
480
572
|
outputs: [],
|
|
481
|
-
stateMutability: 'nonpayable',
|
|
482
|
-
type: 'function',
|
|
483
573
|
},
|
|
484
574
|
{
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
575
|
+
stateMutability: 'nonpayable',
|
|
576
|
+
type: 'function',
|
|
577
|
+
name: 'recoverFundsMany',
|
|
578
|
+
inputs: [
|
|
488
579
|
{
|
|
489
|
-
name: '',
|
|
580
|
+
name: '_recipient',
|
|
490
581
|
type: 'address',
|
|
491
582
|
},
|
|
583
|
+
{
|
|
584
|
+
name: '_assets',
|
|
585
|
+
type: 'address[]',
|
|
586
|
+
},
|
|
492
587
|
],
|
|
493
|
-
|
|
494
|
-
type: 'function',
|
|
588
|
+
outputs: [],
|
|
495
589
|
},
|
|
496
590
|
{
|
|
591
|
+
stateMutability: 'view',
|
|
592
|
+
type: 'function',
|
|
593
|
+
name: 'isPaused',
|
|
497
594
|
inputs: [],
|
|
498
|
-
name: 'pendingGov',
|
|
499
595
|
outputs: [
|
|
500
596
|
{
|
|
501
|
-
components: [
|
|
502
|
-
{
|
|
503
|
-
name: 'newGov',
|
|
504
|
-
type: 'address',
|
|
505
|
-
},
|
|
506
|
-
{
|
|
507
|
-
name: 'initiatedBlock',
|
|
508
|
-
type: 'uint256',
|
|
509
|
-
},
|
|
510
|
-
{
|
|
511
|
-
name: 'confirmBlock',
|
|
512
|
-
type: 'uint256',
|
|
513
|
-
},
|
|
514
|
-
],
|
|
515
597
|
name: '',
|
|
516
|
-
type: '
|
|
598
|
+
type: 'bool',
|
|
517
599
|
},
|
|
518
600
|
],
|
|
519
|
-
stateMutability: 'view',
|
|
520
|
-
type: 'function',
|
|
521
601
|
},
|
|
522
602
|
{
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
603
|
+
stateMutability: 'view',
|
|
604
|
+
type: 'function',
|
|
605
|
+
name: 'assets',
|
|
606
|
+
inputs: [
|
|
526
607
|
{
|
|
527
|
-
name: '',
|
|
608
|
+
name: 'arg0',
|
|
528
609
|
type: 'uint256',
|
|
529
610
|
},
|
|
530
611
|
],
|
|
531
|
-
stateMutability: 'view',
|
|
532
|
-
type: 'function',
|
|
533
|
-
},
|
|
534
|
-
{
|
|
535
|
-
inputs: [],
|
|
536
|
-
name: 'MIN_GOV_CHANGE_DELAY',
|
|
537
612
|
outputs: [
|
|
538
613
|
{
|
|
539
614
|
name: '',
|
|
540
|
-
type: '
|
|
615
|
+
type: 'address',
|
|
541
616
|
},
|
|
542
617
|
],
|
|
543
|
-
stateMutability: 'view',
|
|
544
|
-
type: 'function',
|
|
545
618
|
},
|
|
546
619
|
{
|
|
547
|
-
|
|
548
|
-
|
|
620
|
+
stateMutability: 'view',
|
|
621
|
+
type: 'function',
|
|
622
|
+
name: 'indexOfAsset',
|
|
623
|
+
inputs: [
|
|
624
|
+
{
|
|
625
|
+
name: 'arg0',
|
|
626
|
+
type: 'address',
|
|
627
|
+
},
|
|
628
|
+
],
|
|
549
629
|
outputs: [
|
|
550
630
|
{
|
|
551
631
|
name: '',
|
|
552
632
|
type: 'uint256',
|
|
553
633
|
},
|
|
554
634
|
],
|
|
555
|
-
stateMutability: 'view',
|
|
556
|
-
type: 'function',
|
|
557
635
|
},
|
|
558
636
|
{
|
|
637
|
+
stateMutability: 'view',
|
|
638
|
+
type: 'function',
|
|
639
|
+
name: 'numAssets',
|
|
559
640
|
inputs: [],
|
|
560
|
-
name: 'getRegistries',
|
|
561
641
|
outputs: [
|
|
562
642
|
{
|
|
563
643
|
name: '',
|
|
564
|
-
type: '
|
|
644
|
+
type: 'uint256',
|
|
565
645
|
},
|
|
566
646
|
],
|
|
567
|
-
stateMutability: 'view',
|
|
568
|
-
type: 'function',
|
|
569
647
|
},
|
|
570
648
|
{
|
|
649
|
+
stateMutability: 'view',
|
|
650
|
+
type: 'function',
|
|
651
|
+
name: 'canConfirmAction',
|
|
571
652
|
inputs: [
|
|
572
653
|
{
|
|
573
|
-
name: '
|
|
574
|
-
type: '
|
|
654
|
+
name: '_actionId',
|
|
655
|
+
type: 'uint256',
|
|
575
656
|
},
|
|
576
657
|
],
|
|
577
|
-
name: 'getAccessForLego',
|
|
578
658
|
outputs: [
|
|
579
659
|
{
|
|
580
660
|
name: '',
|
|
581
|
-
type: '
|
|
582
|
-
},
|
|
583
|
-
{
|
|
584
|
-
name: '',
|
|
585
|
-
type: 'string',
|
|
586
|
-
},
|
|
587
|
-
{
|
|
588
|
-
name: '',
|
|
589
|
-
type: 'uint256',
|
|
661
|
+
type: 'bool',
|
|
590
662
|
},
|
|
591
663
|
],
|
|
592
|
-
stateMutability: 'view',
|
|
593
|
-
type: 'function',
|
|
594
664
|
},
|
|
595
665
|
{
|
|
666
|
+
stateMutability: 'view',
|
|
667
|
+
type: 'function',
|
|
668
|
+
name: 'isExpired',
|
|
596
669
|
inputs: [
|
|
597
670
|
{
|
|
598
|
-
name: '
|
|
599
|
-
type: '
|
|
671
|
+
name: '_actionId',
|
|
672
|
+
type: 'uint256',
|
|
600
673
|
},
|
|
601
674
|
],
|
|
602
|
-
name: 'isVaultToken',
|
|
603
675
|
outputs: [
|
|
604
676
|
{
|
|
605
677
|
name: '',
|
|
606
678
|
type: 'bool',
|
|
607
679
|
},
|
|
608
680
|
],
|
|
609
|
-
stateMutability: 'view',
|
|
610
|
-
type: 'function',
|
|
611
681
|
},
|
|
612
682
|
{
|
|
683
|
+
stateMutability: 'view',
|
|
684
|
+
type: 'function',
|
|
685
|
+
name: 'hasPendingAction',
|
|
613
686
|
inputs: [
|
|
614
687
|
{
|
|
615
|
-
name: '
|
|
616
|
-
type: '
|
|
688
|
+
name: '_actionId',
|
|
689
|
+
type: 'uint256',
|
|
617
690
|
},
|
|
618
691
|
],
|
|
619
|
-
name: 'getUnderlyingAsset',
|
|
620
692
|
outputs: [
|
|
621
693
|
{
|
|
622
694
|
name: '',
|
|
623
|
-
type: '
|
|
695
|
+
type: 'bool',
|
|
624
696
|
},
|
|
625
697
|
],
|
|
626
|
-
stateMutability: 'view',
|
|
627
|
-
type: 'function',
|
|
628
698
|
},
|
|
629
699
|
{
|
|
700
|
+
stateMutability: 'view',
|
|
701
|
+
type: 'function',
|
|
702
|
+
name: 'getActionConfirmationBlock',
|
|
630
703
|
inputs: [
|
|
631
704
|
{
|
|
632
|
-
name: '
|
|
633
|
-
type: 'address',
|
|
634
|
-
},
|
|
635
|
-
{
|
|
636
|
-
name: '_vaultTokenAmount',
|
|
705
|
+
name: '_actionId',
|
|
637
706
|
type: 'uint256',
|
|
638
707
|
},
|
|
639
708
|
],
|
|
640
|
-
name: 'getUnderlyingAmount',
|
|
641
709
|
outputs: [
|
|
642
710
|
{
|
|
643
711
|
name: '',
|
|
644
712
|
type: 'uint256',
|
|
645
713
|
},
|
|
646
714
|
],
|
|
647
|
-
stateMutability: 'view',
|
|
648
|
-
type: 'function',
|
|
649
715
|
},
|
|
650
716
|
{
|
|
717
|
+
stateMutability: 'nonpayable',
|
|
718
|
+
type: 'function',
|
|
719
|
+
name: 'setActionTimeLock',
|
|
651
720
|
inputs: [
|
|
652
721
|
{
|
|
653
|
-
name: '
|
|
654
|
-
type: 'address',
|
|
655
|
-
},
|
|
656
|
-
{
|
|
657
|
-
name: '_assetAmount',
|
|
722
|
+
name: '_newTimeLock',
|
|
658
723
|
type: 'uint256',
|
|
659
724
|
},
|
|
660
|
-
{
|
|
661
|
-
name: '_vaultToken',
|
|
662
|
-
type: 'address',
|
|
663
|
-
},
|
|
664
725
|
],
|
|
665
|
-
name: 'getVaultTokenAmount',
|
|
666
726
|
outputs: [
|
|
667
727
|
{
|
|
668
728
|
name: '',
|
|
669
|
-
type: '
|
|
729
|
+
type: 'bool',
|
|
670
730
|
},
|
|
671
731
|
],
|
|
672
|
-
stateMutability: 'view',
|
|
673
|
-
type: 'function',
|
|
674
732
|
},
|
|
675
733
|
{
|
|
734
|
+
stateMutability: 'view',
|
|
735
|
+
type: 'function',
|
|
736
|
+
name: 'isValidActionTimeLock',
|
|
676
737
|
inputs: [
|
|
677
738
|
{
|
|
678
|
-
name: '
|
|
679
|
-
type: 'address',
|
|
680
|
-
},
|
|
681
|
-
{
|
|
682
|
-
name: '_vaultTokenAmount',
|
|
739
|
+
name: '_newTimeLock',
|
|
683
740
|
type: 'uint256',
|
|
684
741
|
},
|
|
685
742
|
],
|
|
686
|
-
name: 'getUsdValueOfVaultToken',
|
|
687
743
|
outputs: [
|
|
688
744
|
{
|
|
689
745
|
name: '',
|
|
690
|
-
type: '
|
|
746
|
+
type: 'bool',
|
|
691
747
|
},
|
|
692
748
|
],
|
|
693
|
-
stateMutability: 'view',
|
|
694
|
-
type: 'function',
|
|
695
749
|
},
|
|
696
750
|
{
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
751
|
+
stateMutability: 'view',
|
|
752
|
+
type: 'function',
|
|
753
|
+
name: 'minActionTimeLock',
|
|
754
|
+
inputs: [],
|
|
755
|
+
outputs: [
|
|
702
756
|
{
|
|
703
|
-
name: '
|
|
757
|
+
name: '',
|
|
704
758
|
type: 'uint256',
|
|
705
759
|
},
|
|
706
|
-
{
|
|
707
|
-
name: '_oracleRegistry',
|
|
708
|
-
type: 'address',
|
|
709
|
-
},
|
|
710
760
|
],
|
|
711
|
-
|
|
761
|
+
},
|
|
762
|
+
{
|
|
763
|
+
stateMutability: 'view',
|
|
764
|
+
type: 'function',
|
|
765
|
+
name: 'maxActionTimeLock',
|
|
766
|
+
inputs: [],
|
|
712
767
|
outputs: [
|
|
713
768
|
{
|
|
714
769
|
name: '',
|
|
715
770
|
type: 'uint256',
|
|
716
771
|
},
|
|
717
772
|
],
|
|
718
|
-
stateMutability: 'view',
|
|
719
|
-
type: 'function',
|
|
720
773
|
},
|
|
721
774
|
{
|
|
775
|
+
stateMutability: 'nonpayable',
|
|
776
|
+
type: 'function',
|
|
777
|
+
name: 'setExpiration',
|
|
722
778
|
inputs: [
|
|
723
779
|
{
|
|
724
|
-
name: '
|
|
725
|
-
type: 'address',
|
|
726
|
-
},
|
|
727
|
-
{
|
|
728
|
-
name: '_vaultTokenAmount',
|
|
780
|
+
name: '_expiration',
|
|
729
781
|
type: 'uint256',
|
|
730
782
|
},
|
|
731
783
|
],
|
|
732
|
-
name: 'getUnderlyingData',
|
|
733
784
|
outputs: [
|
|
734
785
|
{
|
|
735
786
|
name: '',
|
|
736
|
-
type: '
|
|
787
|
+
type: 'bool',
|
|
737
788
|
},
|
|
789
|
+
],
|
|
790
|
+
},
|
|
791
|
+
{
|
|
792
|
+
stateMutability: 'nonpayable',
|
|
793
|
+
type: 'function',
|
|
794
|
+
name: 'setActionTimeLockAfterSetup',
|
|
795
|
+
inputs: [],
|
|
796
|
+
outputs: [
|
|
738
797
|
{
|
|
739
798
|
name: '',
|
|
799
|
+
type: 'bool',
|
|
800
|
+
},
|
|
801
|
+
],
|
|
802
|
+
},
|
|
803
|
+
{
|
|
804
|
+
stateMutability: 'nonpayable',
|
|
805
|
+
type: 'function',
|
|
806
|
+
name: 'setActionTimeLockAfterSetup',
|
|
807
|
+
inputs: [
|
|
808
|
+
{
|
|
809
|
+
name: '_newTimeLock',
|
|
740
810
|
type: 'uint256',
|
|
741
811
|
},
|
|
812
|
+
],
|
|
813
|
+
outputs: [
|
|
742
814
|
{
|
|
743
815
|
name: '',
|
|
744
|
-
type: '
|
|
816
|
+
type: 'bool',
|
|
745
817
|
},
|
|
746
818
|
],
|
|
747
|
-
stateMutability: 'view',
|
|
748
|
-
type: 'function',
|
|
749
819
|
},
|
|
750
820
|
{
|
|
821
|
+
stateMutability: 'view',
|
|
822
|
+
type: 'function',
|
|
823
|
+
name: 'pendingActions',
|
|
751
824
|
inputs: [
|
|
752
825
|
{
|
|
753
|
-
name: '
|
|
754
|
-
type: 'address',
|
|
755
|
-
},
|
|
756
|
-
{
|
|
757
|
-
name: '_vaultTokenAmount',
|
|
826
|
+
name: 'arg0',
|
|
758
827
|
type: 'uint256',
|
|
759
828
|
},
|
|
760
|
-
{
|
|
761
|
-
name: '_oracleRegistry',
|
|
762
|
-
type: 'address',
|
|
763
|
-
},
|
|
764
829
|
],
|
|
765
|
-
name: 'getUnderlyingData',
|
|
766
830
|
outputs: [
|
|
767
831
|
{
|
|
768
832
|
name: '',
|
|
769
|
-
type: '
|
|
833
|
+
type: 'tuple',
|
|
834
|
+
components: [
|
|
835
|
+
{
|
|
836
|
+
name: 'initiatedBlock',
|
|
837
|
+
type: 'uint256',
|
|
838
|
+
},
|
|
839
|
+
{
|
|
840
|
+
name: 'confirmBlock',
|
|
841
|
+
type: 'uint256',
|
|
842
|
+
},
|
|
843
|
+
{
|
|
844
|
+
name: 'expiration',
|
|
845
|
+
type: 'uint256',
|
|
846
|
+
},
|
|
847
|
+
],
|
|
770
848
|
},
|
|
849
|
+
],
|
|
850
|
+
},
|
|
851
|
+
{
|
|
852
|
+
stateMutability: 'view',
|
|
853
|
+
type: 'function',
|
|
854
|
+
name: 'actionId',
|
|
855
|
+
inputs: [],
|
|
856
|
+
outputs: [
|
|
771
857
|
{
|
|
772
858
|
name: '',
|
|
773
859
|
type: 'uint256',
|
|
774
860
|
},
|
|
861
|
+
],
|
|
862
|
+
},
|
|
863
|
+
{
|
|
864
|
+
stateMutability: 'view',
|
|
865
|
+
type: 'function',
|
|
866
|
+
name: 'actionTimeLock',
|
|
867
|
+
inputs: [],
|
|
868
|
+
outputs: [
|
|
775
869
|
{
|
|
776
870
|
name: '',
|
|
777
871
|
type: 'uint256',
|
|
778
872
|
},
|
|
779
873
|
],
|
|
780
|
-
stateMutability: 'view',
|
|
781
|
-
type: 'function',
|
|
782
874
|
},
|
|
783
875
|
{
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
},
|
|
789
|
-
],
|
|
790
|
-
name: 'totalAssets',
|
|
876
|
+
stateMutability: 'view',
|
|
877
|
+
type: 'function',
|
|
878
|
+
name: 'expiration',
|
|
879
|
+
inputs: [],
|
|
791
880
|
outputs: [
|
|
792
881
|
{
|
|
793
882
|
name: '',
|
|
794
883
|
type: 'uint256',
|
|
795
884
|
},
|
|
796
885
|
],
|
|
797
|
-
stateMutability: 'view',
|
|
798
|
-
type: 'function',
|
|
799
886
|
},
|
|
800
887
|
{
|
|
888
|
+
stateMutability: 'view',
|
|
889
|
+
type: 'function',
|
|
890
|
+
name: 'getPrice',
|
|
801
891
|
inputs: [
|
|
802
892
|
{
|
|
803
|
-
name: '
|
|
893
|
+
name: '_asset',
|
|
804
894
|
type: 'address',
|
|
805
895
|
},
|
|
806
896
|
],
|
|
807
|
-
name: 'totalBorrows',
|
|
808
897
|
outputs: [
|
|
809
898
|
{
|
|
810
899
|
name: '',
|
|
811
900
|
type: 'uint256',
|
|
812
901
|
},
|
|
813
902
|
],
|
|
814
|
-
stateMutability: 'view',
|
|
815
|
-
type: 'function',
|
|
816
903
|
},
|
|
817
904
|
{
|
|
905
|
+
stateMutability: 'view',
|
|
906
|
+
type: 'function',
|
|
907
|
+
name: 'getPrice',
|
|
818
908
|
inputs: [
|
|
819
909
|
{
|
|
820
910
|
name: '_asset',
|
|
821
911
|
type: 'address',
|
|
822
912
|
},
|
|
823
913
|
{
|
|
824
|
-
name: '
|
|
914
|
+
name: '_staleTime',
|
|
825
915
|
type: 'uint256',
|
|
826
916
|
},
|
|
827
|
-
{
|
|
828
|
-
name: '_vault',
|
|
829
|
-
type: 'address',
|
|
830
|
-
},
|
|
831
|
-
{
|
|
832
|
-
name: '_recipient',
|
|
833
|
-
type: 'address',
|
|
834
|
-
},
|
|
835
917
|
],
|
|
836
|
-
name: 'depositTokens',
|
|
837
918
|
outputs: [
|
|
838
919
|
{
|
|
839
920
|
name: '',
|
|
840
921
|
type: 'uint256',
|
|
841
922
|
},
|
|
842
|
-
{
|
|
843
|
-
name: '',
|
|
844
|
-
type: 'address',
|
|
845
|
-
},
|
|
846
|
-
{
|
|
847
|
-
name: '',
|
|
848
|
-
type: 'uint256',
|
|
849
|
-
},
|
|
850
|
-
{
|
|
851
|
-
name: '',
|
|
852
|
-
type: 'uint256',
|
|
853
|
-
},
|
|
854
|
-
{
|
|
855
|
-
name: '',
|
|
856
|
-
type: 'uint256',
|
|
857
|
-
},
|
|
858
923
|
],
|
|
859
|
-
stateMutability: 'nonpayable',
|
|
860
|
-
type: 'function',
|
|
861
924
|
},
|
|
862
925
|
{
|
|
926
|
+
stateMutability: 'view',
|
|
927
|
+
type: 'function',
|
|
928
|
+
name: 'getPrice',
|
|
863
929
|
inputs: [
|
|
864
930
|
{
|
|
865
931
|
name: '_asset',
|
|
866
932
|
type: 'address',
|
|
867
933
|
},
|
|
868
934
|
{
|
|
869
|
-
name: '
|
|
935
|
+
name: '_staleTime',
|
|
870
936
|
type: 'uint256',
|
|
871
937
|
},
|
|
872
938
|
{
|
|
873
|
-
name: '
|
|
874
|
-
type: 'address',
|
|
875
|
-
},
|
|
876
|
-
{
|
|
877
|
-
name: '_recipient',
|
|
878
|
-
type: 'address',
|
|
879
|
-
},
|
|
880
|
-
{
|
|
881
|
-
name: '_oracleRegistry',
|
|
939
|
+
name: '_priceDesk',
|
|
882
940
|
type: 'address',
|
|
883
941
|
},
|
|
884
942
|
],
|
|
885
|
-
name: 'depositTokens',
|
|
886
943
|
outputs: [
|
|
887
944
|
{
|
|
888
945
|
name: '',
|
|
889
946
|
type: 'uint256',
|
|
890
947
|
},
|
|
948
|
+
],
|
|
949
|
+
},
|
|
950
|
+
{
|
|
951
|
+
stateMutability: 'view',
|
|
952
|
+
type: 'function',
|
|
953
|
+
name: 'getPriceAndHasFeed',
|
|
954
|
+
inputs: [
|
|
891
955
|
{
|
|
892
|
-
name: '',
|
|
956
|
+
name: '_asset',
|
|
893
957
|
type: 'address',
|
|
894
958
|
},
|
|
959
|
+
],
|
|
960
|
+
outputs: [
|
|
895
961
|
{
|
|
896
962
|
name: '',
|
|
897
963
|
type: 'uint256',
|
|
898
964
|
},
|
|
899
965
|
{
|
|
900
966
|
name: '',
|
|
901
|
-
type: '
|
|
902
|
-
},
|
|
903
|
-
{
|
|
904
|
-
name: '',
|
|
905
|
-
type: 'uint256',
|
|
967
|
+
type: 'bool',
|
|
906
968
|
},
|
|
907
969
|
],
|
|
908
|
-
stateMutability: 'nonpayable',
|
|
909
|
-
type: 'function',
|
|
910
970
|
},
|
|
911
971
|
{
|
|
972
|
+
stateMutability: 'view',
|
|
973
|
+
type: 'function',
|
|
974
|
+
name: 'getPriceAndHasFeed',
|
|
912
975
|
inputs: [
|
|
913
976
|
{
|
|
914
977
|
name: '_asset',
|
|
915
978
|
type: 'address',
|
|
916
979
|
},
|
|
917
980
|
{
|
|
918
|
-
name: '
|
|
981
|
+
name: '_staleTime',
|
|
919
982
|
type: 'uint256',
|
|
920
983
|
},
|
|
921
|
-
{
|
|
922
|
-
name: '_vaultToken',
|
|
923
|
-
type: 'address',
|
|
924
|
-
},
|
|
925
|
-
{
|
|
926
|
-
name: '_recipient',
|
|
927
|
-
type: 'address',
|
|
928
|
-
},
|
|
929
984
|
],
|
|
930
|
-
name: 'withdrawTokens',
|
|
931
985
|
outputs: [
|
|
932
986
|
{
|
|
933
987
|
name: '',
|
|
@@ -935,44 +989,28 @@ export const abi = [
|
|
|
935
989
|
},
|
|
936
990
|
{
|
|
937
991
|
name: '',
|
|
938
|
-
type: '
|
|
939
|
-
},
|
|
940
|
-
{
|
|
941
|
-
name: '',
|
|
942
|
-
type: 'uint256',
|
|
943
|
-
},
|
|
944
|
-
{
|
|
945
|
-
name: '',
|
|
946
|
-
type: 'uint256',
|
|
992
|
+
type: 'bool',
|
|
947
993
|
},
|
|
948
994
|
],
|
|
949
|
-
stateMutability: 'nonpayable',
|
|
950
|
-
type: 'function',
|
|
951
995
|
},
|
|
952
996
|
{
|
|
997
|
+
stateMutability: 'view',
|
|
998
|
+
type: 'function',
|
|
999
|
+
name: 'getPriceAndHasFeed',
|
|
953
1000
|
inputs: [
|
|
954
1001
|
{
|
|
955
1002
|
name: '_asset',
|
|
956
1003
|
type: 'address',
|
|
957
1004
|
},
|
|
958
1005
|
{
|
|
959
|
-
name: '
|
|
1006
|
+
name: '_staleTime',
|
|
960
1007
|
type: 'uint256',
|
|
961
1008
|
},
|
|
962
1009
|
{
|
|
963
|
-
name: '
|
|
964
|
-
type: 'address',
|
|
965
|
-
},
|
|
966
|
-
{
|
|
967
|
-
name: '_recipient',
|
|
968
|
-
type: 'address',
|
|
969
|
-
},
|
|
970
|
-
{
|
|
971
|
-
name: '_oracleRegistry',
|
|
1010
|
+
name: '_priceDesk',
|
|
972
1011
|
type: 'address',
|
|
973
1012
|
},
|
|
974
1013
|
],
|
|
975
|
-
name: 'withdrawTokens',
|
|
976
1014
|
outputs: [
|
|
977
1015
|
{
|
|
978
1016
|
name: '',
|
|
@@ -980,272 +1018,238 @@ export const abi = [
|
|
|
980
1018
|
},
|
|
981
1019
|
{
|
|
982
1020
|
name: '',
|
|
983
|
-
type: '
|
|
984
|
-
},
|
|
985
|
-
{
|
|
986
|
-
name: '',
|
|
987
|
-
type: 'uint256',
|
|
988
|
-
},
|
|
989
|
-
{
|
|
990
|
-
name: '',
|
|
991
|
-
type: 'uint256',
|
|
1021
|
+
type: 'bool',
|
|
992
1022
|
},
|
|
993
1023
|
],
|
|
994
|
-
stateMutability: 'nonpayable',
|
|
995
|
-
type: 'function',
|
|
996
1024
|
},
|
|
997
1025
|
{
|
|
1026
|
+
stateMutability: 'view',
|
|
1027
|
+
type: 'function',
|
|
1028
|
+
name: 'hasPriceFeed',
|
|
998
1029
|
inputs: [
|
|
999
1030
|
{
|
|
1000
|
-
name: '
|
|
1001
|
-
type: 'address',
|
|
1002
|
-
},
|
|
1003
|
-
{
|
|
1004
|
-
name: '_market',
|
|
1005
|
-
type: 'address',
|
|
1006
|
-
},
|
|
1007
|
-
{
|
|
1008
|
-
name: '_rewardToken',
|
|
1031
|
+
name: '_asset',
|
|
1009
1032
|
type: 'address',
|
|
1010
1033
|
},
|
|
1034
|
+
],
|
|
1035
|
+
outputs: [
|
|
1011
1036
|
{
|
|
1012
|
-
name: '
|
|
1013
|
-
type: '
|
|
1014
|
-
},
|
|
1015
|
-
{
|
|
1016
|
-
name: '_proof',
|
|
1017
|
-
type: 'bytes32',
|
|
1037
|
+
name: '',
|
|
1038
|
+
type: 'bool',
|
|
1018
1039
|
},
|
|
1019
1040
|
],
|
|
1020
|
-
name: 'claimRewards',
|
|
1021
|
-
outputs: [],
|
|
1022
|
-
stateMutability: 'nonpayable',
|
|
1023
|
-
type: 'function',
|
|
1024
1041
|
},
|
|
1025
1042
|
{
|
|
1043
|
+
stateMutability: 'view',
|
|
1044
|
+
type: 'function',
|
|
1045
|
+
name: 'hasPendingPriceFeedUpdate',
|
|
1026
1046
|
inputs: [
|
|
1027
1047
|
{
|
|
1028
|
-
name: '
|
|
1048
|
+
name: '_asset',
|
|
1029
1049
|
type: 'address',
|
|
1030
1050
|
},
|
|
1031
1051
|
],
|
|
1032
|
-
name: 'hasClaimableRewards',
|
|
1033
1052
|
outputs: [
|
|
1034
1053
|
{
|
|
1035
1054
|
name: '',
|
|
1036
1055
|
type: 'bool',
|
|
1037
1056
|
},
|
|
1038
1057
|
],
|
|
1039
|
-
stateMutability: 'view',
|
|
1040
|
-
type: 'function',
|
|
1041
1058
|
},
|
|
1042
1059
|
{
|
|
1060
|
+
stateMutability: 'nonpayable',
|
|
1061
|
+
type: 'function',
|
|
1062
|
+
name: 'confirmNewPriceFeed',
|
|
1043
1063
|
inputs: [
|
|
1044
1064
|
{
|
|
1045
|
-
name: '
|
|
1065
|
+
name: '_asset',
|
|
1046
1066
|
type: 'address',
|
|
1047
1067
|
},
|
|
1048
1068
|
],
|
|
1049
|
-
name: 'setMorphoRewardsAddr',
|
|
1050
1069
|
outputs: [
|
|
1051
1070
|
{
|
|
1052
1071
|
name: '',
|
|
1053
1072
|
type: 'bool',
|
|
1054
1073
|
},
|
|
1055
1074
|
],
|
|
1056
|
-
stateMutability: 'nonpayable',
|
|
1057
|
-
type: 'function',
|
|
1058
1075
|
},
|
|
1059
1076
|
{
|
|
1077
|
+
stateMutability: 'nonpayable',
|
|
1078
|
+
type: 'function',
|
|
1079
|
+
name: 'cancelNewPendingPriceFeed',
|
|
1060
1080
|
inputs: [
|
|
1061
1081
|
{
|
|
1062
1082
|
name: '_asset',
|
|
1063
1083
|
type: 'address',
|
|
1064
1084
|
},
|
|
1065
|
-
{
|
|
1066
|
-
name: '_vault',
|
|
1067
|
-
type: 'address',
|
|
1068
|
-
},
|
|
1069
1085
|
],
|
|
1070
|
-
name: 'addAssetOpportunity',
|
|
1071
1086
|
outputs: [
|
|
1072
1087
|
{
|
|
1073
1088
|
name: '',
|
|
1074
1089
|
type: 'bool',
|
|
1075
1090
|
},
|
|
1076
1091
|
],
|
|
1077
|
-
stateMutability: 'nonpayable',
|
|
1078
|
-
type: 'function',
|
|
1079
1092
|
},
|
|
1080
1093
|
{
|
|
1094
|
+
stateMutability: 'nonpayable',
|
|
1095
|
+
type: 'function',
|
|
1096
|
+
name: 'confirmPriceFeedUpdate',
|
|
1081
1097
|
inputs: [
|
|
1082
1098
|
{
|
|
1083
1099
|
name: '_asset',
|
|
1084
1100
|
type: 'address',
|
|
1085
1101
|
},
|
|
1086
|
-
{
|
|
1087
|
-
name: '_vault',
|
|
1088
|
-
type: 'address',
|
|
1089
|
-
},
|
|
1090
1102
|
],
|
|
1091
|
-
name: 'removeAssetOpportunity',
|
|
1092
1103
|
outputs: [
|
|
1093
1104
|
{
|
|
1094
1105
|
name: '',
|
|
1095
1106
|
type: 'bool',
|
|
1096
1107
|
},
|
|
1097
1108
|
],
|
|
1098
|
-
stateMutability: 'nonpayable',
|
|
1099
|
-
type: 'function',
|
|
1100
1109
|
},
|
|
1101
1110
|
{
|
|
1111
|
+
stateMutability: 'nonpayable',
|
|
1112
|
+
type: 'function',
|
|
1113
|
+
name: 'cancelPriceFeedUpdate',
|
|
1102
1114
|
inputs: [
|
|
1103
1115
|
{
|
|
1104
1116
|
name: '_asset',
|
|
1105
1117
|
type: 'address',
|
|
1106
1118
|
},
|
|
1107
|
-
{
|
|
1108
|
-
name: '_recipient',
|
|
1109
|
-
type: 'address',
|
|
1110
|
-
},
|
|
1111
1119
|
],
|
|
1112
|
-
name: 'recoverFunds',
|
|
1113
1120
|
outputs: [
|
|
1114
1121
|
{
|
|
1115
1122
|
name: '',
|
|
1116
1123
|
type: 'bool',
|
|
1117
1124
|
},
|
|
1118
1125
|
],
|
|
1119
|
-
stateMutability: 'nonpayable',
|
|
1120
|
-
type: 'function',
|
|
1121
1126
|
},
|
|
1122
1127
|
{
|
|
1128
|
+
stateMutability: 'nonpayable',
|
|
1129
|
+
type: 'function',
|
|
1130
|
+
name: 'confirmDisablePriceFeed',
|
|
1123
1131
|
inputs: [
|
|
1124
1132
|
{
|
|
1125
|
-
name: '
|
|
1126
|
-
type: '
|
|
1133
|
+
name: '_asset',
|
|
1134
|
+
type: 'address',
|
|
1127
1135
|
},
|
|
1128
1136
|
],
|
|
1129
|
-
name: 'setLegoId',
|
|
1130
1137
|
outputs: [
|
|
1131
1138
|
{
|
|
1132
1139
|
name: '',
|
|
1133
1140
|
type: 'bool',
|
|
1134
1141
|
},
|
|
1135
1142
|
],
|
|
1136
|
-
stateMutability: 'nonpayable',
|
|
1137
|
-
type: 'function',
|
|
1138
1143
|
},
|
|
1139
1144
|
{
|
|
1145
|
+
stateMutability: 'nonpayable',
|
|
1146
|
+
type: 'function',
|
|
1147
|
+
name: 'cancelDisablePriceFeed',
|
|
1140
1148
|
inputs: [
|
|
1141
1149
|
{
|
|
1142
|
-
name: '
|
|
1143
|
-
type: '
|
|
1150
|
+
name: '_asset',
|
|
1151
|
+
type: 'address',
|
|
1144
1152
|
},
|
|
1145
1153
|
],
|
|
1146
|
-
name: 'activate',
|
|
1147
|
-
outputs: [],
|
|
1148
|
-
stateMutability: 'nonpayable',
|
|
1149
|
-
type: 'function',
|
|
1150
|
-
},
|
|
1151
|
-
{
|
|
1152
|
-
inputs: [],
|
|
1153
|
-
name: 'morphoRewards',
|
|
1154
1154
|
outputs: [
|
|
1155
1155
|
{
|
|
1156
1156
|
name: '',
|
|
1157
|
-
type: '
|
|
1157
|
+
type: 'bool',
|
|
1158
1158
|
},
|
|
1159
1159
|
],
|
|
1160
|
-
stateMutability: 'view',
|
|
1161
|
-
type: 'function',
|
|
1162
1160
|
},
|
|
1163
1161
|
{
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1162
|
+
stateMutability: 'nonpayable',
|
|
1163
|
+
type: 'function',
|
|
1164
|
+
name: 'addPriceSnapshot',
|
|
1165
|
+
inputs: [
|
|
1167
1166
|
{
|
|
1168
|
-
name: '',
|
|
1167
|
+
name: '_asset',
|
|
1169
1168
|
type: 'address',
|
|
1170
1169
|
},
|
|
1171
1170
|
],
|
|
1172
|
-
stateMutability: 'view',
|
|
1173
|
-
type: 'function',
|
|
1174
|
-
},
|
|
1175
|
-
{
|
|
1176
|
-
inputs: [],
|
|
1177
|
-
name: 'MORPHO_FACTORY_LEGACY',
|
|
1178
1171
|
outputs: [
|
|
1179
1172
|
{
|
|
1180
1173
|
name: '',
|
|
1181
|
-
type: '
|
|
1174
|
+
type: 'bool',
|
|
1182
1175
|
},
|
|
1183
1176
|
],
|
|
1184
|
-
stateMutability: 'view',
|
|
1185
|
-
type: 'function',
|
|
1186
1177
|
},
|
|
1187
1178
|
{
|
|
1188
|
-
|
|
1189
|
-
|
|
1179
|
+
stateMutability: 'nonpayable',
|
|
1180
|
+
type: 'function',
|
|
1181
|
+
name: 'disablePriceFeed',
|
|
1182
|
+
inputs: [
|
|
1183
|
+
{
|
|
1184
|
+
name: '_asset',
|
|
1185
|
+
type: 'address',
|
|
1186
|
+
},
|
|
1187
|
+
],
|
|
1190
1188
|
outputs: [
|
|
1191
1189
|
{
|
|
1192
1190
|
name: '',
|
|
1193
|
-
type: '
|
|
1191
|
+
type: 'bool',
|
|
1194
1192
|
},
|
|
1195
1193
|
],
|
|
1196
|
-
stateMutability: 'view',
|
|
1197
|
-
type: 'function',
|
|
1198
1194
|
},
|
|
1199
1195
|
{
|
|
1196
|
+
stateMutability: 'view',
|
|
1197
|
+
type: 'function',
|
|
1198
|
+
name: 'SUPER_OETH',
|
|
1200
1199
|
inputs: [],
|
|
1201
|
-
name: 'isActivated',
|
|
1202
1200
|
outputs: [
|
|
1203
1201
|
{
|
|
1204
1202
|
name: '',
|
|
1205
|
-
type: '
|
|
1203
|
+
type: 'address',
|
|
1206
1204
|
},
|
|
1207
1205
|
],
|
|
1208
|
-
stateMutability: 'view',
|
|
1209
|
-
type: 'function',
|
|
1210
1206
|
},
|
|
1211
1207
|
{
|
|
1208
|
+
stateMutability: 'view',
|
|
1209
|
+
type: 'function',
|
|
1210
|
+
name: 'WRAPPED_SUPER_OETH',
|
|
1212
1211
|
inputs: [],
|
|
1213
|
-
name: 'ADDY_REGISTRY',
|
|
1214
1212
|
outputs: [
|
|
1215
1213
|
{
|
|
1216
1214
|
name: '',
|
|
1217
1215
|
type: 'address',
|
|
1218
1216
|
},
|
|
1219
1217
|
],
|
|
1220
|
-
stateMutability: 'view',
|
|
1221
|
-
type: 'function',
|
|
1222
1218
|
},
|
|
1223
1219
|
{
|
|
1220
|
+
stateMutability: 'nonpayable',
|
|
1221
|
+
type: 'constructor',
|
|
1224
1222
|
inputs: [
|
|
1225
1223
|
{
|
|
1226
|
-
name: '
|
|
1224
|
+
name: '_ripeHq',
|
|
1227
1225
|
type: 'address',
|
|
1228
1226
|
},
|
|
1229
1227
|
{
|
|
1230
|
-
name: '
|
|
1228
|
+
name: '_superOETH',
|
|
1231
1229
|
type: 'address',
|
|
1232
1230
|
},
|
|
1233
1231
|
{
|
|
1234
|
-
name: '
|
|
1232
|
+
name: '_wrappedSuperOETH',
|
|
1235
1233
|
type: 'address',
|
|
1236
1234
|
},
|
|
1235
|
+
{
|
|
1236
|
+
name: '_minPriceChangeTimeLock',
|
|
1237
|
+
type: 'uint256',
|
|
1238
|
+
},
|
|
1239
|
+
{
|
|
1240
|
+
name: '_maxPriceChangeTimeLock',
|
|
1241
|
+
type: 'uint256',
|
|
1242
|
+
},
|
|
1237
1243
|
],
|
|
1238
1244
|
outputs: [],
|
|
1239
|
-
stateMutability: 'nonpayable',
|
|
1240
|
-
type: 'constructor',
|
|
1241
1245
|
},
|
|
1242
1246
|
];
|
|
1243
|
-
export const deployAddress = '
|
|
1247
|
+
export const deployAddress = '0x2606Ce36b62a77562DF664E7a0009805BB254F3f';
|
|
1244
1248
|
function getRequest(method, args, contractAddressOrOptions) {
|
|
1245
1249
|
const address = typeof contractAddressOrOptions === 'string' ? contractAddressOrOptions : contractAddressOrOptions?.contractAddress;
|
|
1246
1250
|
const defaultValue = typeof contractAddressOrOptions === 'string' ? undefined : contractAddressOrOptions?.defaultValue;
|
|
1247
1251
|
const call = {
|
|
1248
|
-
contractName: '
|
|
1252
|
+
contractName: 'wsuperOETHbPrices',
|
|
1249
1253
|
method,
|
|
1250
1254
|
args,
|
|
1251
1255
|
address,
|
|
@@ -1269,43 +1273,45 @@ function getRequest(method, args, contractAddressOrOptions) {
|
|
|
1269
1273
|
return call;
|
|
1270
1274
|
}
|
|
1271
1275
|
export const call = {
|
|
1272
|
-
|
|
1273
|
-
getAssets: (...args) => getRequest('getAssets', args),
|
|
1274
|
-
assetOpportunities: (...args) => getRequest('assetOpportunities', args),
|
|
1275
|
-
indexOfAssetOpportunity: (...args) => getRequest('indexOfAssetOpportunity', args),
|
|
1276
|
-
numAssetOpportunities: (...args) => getRequest('numAssetOpportunities', args),
|
|
1277
|
-
vaultToAsset: (...args) => getRequest('vaultToAsset', args),
|
|
1278
|
-
assets: (...args) => getRequest('assets', args),
|
|
1279
|
-
indexOfAsset: (...args) => getRequest('indexOfAsset', args),
|
|
1280
|
-
numAssets: (...args) => getRequest('numAssets', args),
|
|
1276
|
+
getRipeHqFromGov: (...args) => getRequest('getRipeHqFromGov', args),
|
|
1281
1277
|
canGovern: (...args) => getRequest('canGovern', args),
|
|
1278
|
+
getGovernors: (...args) => getRequest('getGovernors', args),
|
|
1282
1279
|
hasPendingGovChange: (...args) => getRequest('hasPendingGovChange', args),
|
|
1280
|
+
isValidGovTimeLock: (...args) => getRequest('isValidGovTimeLock', args),
|
|
1281
|
+
minGovChangeTimeLock: (...args) => getRequest('minGovChangeTimeLock', args),
|
|
1282
|
+
maxGovChangeTimeLock: (...args) => getRequest('maxGovChangeTimeLock', args),
|
|
1283
1283
|
governance: (...args) => getRequest('governance', args),
|
|
1284
1284
|
pendingGov: (...args) => getRequest('pendingGov', args),
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1285
|
+
numGovChanges: (...args) => getRequest('numGovChanges', args),
|
|
1286
|
+
govChangeTimeLock: (...args) => getRequest('govChangeTimeLock', args),
|
|
1287
|
+
getAddys: (...args) => getRequest('getAddys', args),
|
|
1288
|
+
getRipeHq: (...args) => getRequest('getRipeHq', args),
|
|
1289
|
+
getPricedAssets: (...args) => getRequest('getPricedAssets', args),
|
|
1290
|
+
isPaused: (...args) => getRequest('isPaused', args),
|
|
1291
|
+
assets: (...args) => getRequest('assets', args),
|
|
1292
|
+
indexOfAsset: (...args) => getRequest('indexOfAsset', args),
|
|
1293
|
+
numAssets: (...args) => getRequest('numAssets', args),
|
|
1294
|
+
canConfirmAction: (...args) => getRequest('canConfirmAction', args),
|
|
1295
|
+
isExpired: (...args) => getRequest('isExpired', args),
|
|
1296
|
+
hasPendingAction: (...args) => getRequest('hasPendingAction', args),
|
|
1297
|
+
getActionConfirmationBlock: (...args) => getRequest('getActionConfirmationBlock', args),
|
|
1298
|
+
isValidActionTimeLock: (...args) => getRequest('isValidActionTimeLock', args),
|
|
1299
|
+
minActionTimeLock: (...args) => getRequest('minActionTimeLock', args),
|
|
1300
|
+
maxActionTimeLock: (...args) => getRequest('maxActionTimeLock', args),
|
|
1301
|
+
pendingActions: (...args) => getRequest('pendingActions', args),
|
|
1302
|
+
actionId: (...args) => getRequest('actionId', args),
|
|
1303
|
+
actionTimeLock: (...args) => getRequest('actionTimeLock', args),
|
|
1304
|
+
expiration: (...args) => getRequest('expiration', args),
|
|
1305
|
+
getPrice: (...args) => getRequest('getPrice', args),
|
|
1306
|
+
getPriceAndHasFeed: (...args) => getRequest('getPriceAndHasFeed', args),
|
|
1307
|
+
hasPriceFeed: (...args) => getRequest('hasPriceFeed', args),
|
|
1308
|
+
hasPendingPriceFeedUpdate: (...args) => getRequest('hasPendingPriceFeedUpdate', args),
|
|
1309
|
+
SUPER_OETH: (...args) => getRequest('SUPER_OETH', args),
|
|
1310
|
+
WRAPPED_SUPER_OETH: (...args) => getRequest('WRAPPED_SUPER_OETH', args),
|
|
1305
1311
|
};
|
|
1306
1312
|
function getMutation(functionName) {
|
|
1307
1313
|
return {
|
|
1308
|
-
contractName: '
|
|
1314
|
+
contractName: 'wsuperOETHbPrices',
|
|
1309
1315
|
functionName,
|
|
1310
1316
|
deployAddress,
|
|
1311
1317
|
argsType: undefined,
|
|
@@ -1313,71 +1319,87 @@ function getMutation(functionName) {
|
|
|
1313
1319
|
};
|
|
1314
1320
|
}
|
|
1315
1321
|
export const mutation = {
|
|
1316
|
-
|
|
1322
|
+
startGovernanceChange: getMutation('startGovernanceChange'),
|
|
1317
1323
|
confirmGovernanceChange: getMutation('confirmGovernanceChange'),
|
|
1318
1324
|
cancelGovernanceChange: getMutation('cancelGovernanceChange'),
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
setMorphoRewardsAddr: getMutation('setMorphoRewardsAddr'),
|
|
1324
|
-
addAssetOpportunity: getMutation('addAssetOpportunity'),
|
|
1325
|
-
removeAssetOpportunity: getMutation('removeAssetOpportunity'),
|
|
1325
|
+
relinquishGov: getMutation('relinquishGov'),
|
|
1326
|
+
setGovTimeLock: getMutation('setGovTimeLock'),
|
|
1327
|
+
finishRipeHqSetup: getMutation('finishRipeHqSetup'),
|
|
1328
|
+
pause: getMutation('pause'),
|
|
1326
1329
|
recoverFunds: getMutation('recoverFunds'),
|
|
1327
|
-
|
|
1328
|
-
|
|
1330
|
+
recoverFundsMany: getMutation('recoverFundsMany'),
|
|
1331
|
+
setActionTimeLock: getMutation('setActionTimeLock'),
|
|
1332
|
+
setExpiration: getMutation('setExpiration'),
|
|
1333
|
+
setActionTimeLockAfterSetup: getMutation('setActionTimeLockAfterSetup'),
|
|
1334
|
+
confirmNewPriceFeed: getMutation('confirmNewPriceFeed'),
|
|
1335
|
+
cancelNewPendingPriceFeed: getMutation('cancelNewPendingPriceFeed'),
|
|
1336
|
+
confirmPriceFeedUpdate: getMutation('confirmPriceFeedUpdate'),
|
|
1337
|
+
cancelPriceFeedUpdate: getMutation('cancelPriceFeedUpdate'),
|
|
1338
|
+
confirmDisablePriceFeed: getMutation('confirmDisablePriceFeed'),
|
|
1339
|
+
cancelDisablePriceFeed: getMutation('cancelDisablePriceFeed'),
|
|
1340
|
+
addPriceSnapshot: getMutation('addPriceSnapshot'),
|
|
1341
|
+
disablePriceFeed: getMutation('disablePriceFeed'),
|
|
1329
1342
|
};
|
|
1330
1343
|
export function toSdk(publicClient, walletClient) {
|
|
1331
1344
|
return {
|
|
1332
1345
|
deployAddress,
|
|
1333
1346
|
abi,
|
|
1334
1347
|
// Queries
|
|
1335
|
-
|
|
1336
|
-
getAssets: (...args) => singleQuery(publicClient, call.getAssets(...args)),
|
|
1337
|
-
assetOpportunities: (...args) => singleQuery(publicClient, call.assetOpportunities(...args)),
|
|
1338
|
-
indexOfAssetOpportunity: (...args) => singleQuery(publicClient, call.indexOfAssetOpportunity(...args)),
|
|
1339
|
-
numAssetOpportunities: (...args) => singleQuery(publicClient, call.numAssetOpportunities(...args)),
|
|
1340
|
-
vaultToAsset: (...args) => singleQuery(publicClient, call.vaultToAsset(...args)),
|
|
1341
|
-
assets: (...args) => singleQuery(publicClient, call.assets(...args)),
|
|
1342
|
-
indexOfAsset: (...args) => singleQuery(publicClient, call.indexOfAsset(...args)),
|
|
1343
|
-
numAssets: (...args) => singleQuery(publicClient, call.numAssets(...args)),
|
|
1348
|
+
getRipeHqFromGov: (...args) => singleQuery(publicClient, call.getRipeHqFromGov(...args)),
|
|
1344
1349
|
canGovern: (...args) => singleQuery(publicClient, call.canGovern(...args)),
|
|
1350
|
+
getGovernors: (...args) => singleQuery(publicClient, call.getGovernors(...args)),
|
|
1345
1351
|
hasPendingGovChange: (...args) => singleQuery(publicClient, call.hasPendingGovChange(...args)),
|
|
1352
|
+
isValidGovTimeLock: (...args) => singleQuery(publicClient, call.isValidGovTimeLock(...args)),
|
|
1353
|
+
minGovChangeTimeLock: (...args) => singleQuery(publicClient, call.minGovChangeTimeLock(...args)),
|
|
1354
|
+
maxGovChangeTimeLock: (...args) => singleQuery(publicClient, call.maxGovChangeTimeLock(...args)),
|
|
1346
1355
|
governance: (...args) => singleQuery(publicClient, call.governance(...args)),
|
|
1347
1356
|
pendingGov: (...args) => singleQuery(publicClient, call.pendingGov(...args)),
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1357
|
+
numGovChanges: (...args) => singleQuery(publicClient, call.numGovChanges(...args)),
|
|
1358
|
+
govChangeTimeLock: (...args) => singleQuery(publicClient, call.govChangeTimeLock(...args)),
|
|
1359
|
+
getAddys: (...args) => singleQuery(publicClient, call.getAddys(...args)),
|
|
1360
|
+
getRipeHq: (...args) => singleQuery(publicClient, call.getRipeHq(...args)),
|
|
1361
|
+
getPricedAssets: (...args) => singleQuery(publicClient, call.getPricedAssets(...args)),
|
|
1362
|
+
isPaused: (...args) => singleQuery(publicClient, call.isPaused(...args)),
|
|
1363
|
+
assets: (...args) => singleQuery(publicClient, call.assets(...args)),
|
|
1364
|
+
indexOfAsset: (...args) => singleQuery(publicClient, call.indexOfAsset(...args)),
|
|
1365
|
+
numAssets: (...args) => singleQuery(publicClient, call.numAssets(...args)),
|
|
1366
|
+
canConfirmAction: (...args) => singleQuery(publicClient, call.canConfirmAction(...args)),
|
|
1367
|
+
isExpired: (...args) => singleQuery(publicClient, call.isExpired(...args)),
|
|
1368
|
+
hasPendingAction: (...args) => singleQuery(publicClient, call.hasPendingAction(...args)),
|
|
1369
|
+
getActionConfirmationBlock: (...args) => singleQuery(publicClient, call.getActionConfirmationBlock(...args)),
|
|
1370
|
+
isValidActionTimeLock: (...args) => singleQuery(publicClient, call.isValidActionTimeLock(...args)),
|
|
1371
|
+
minActionTimeLock: (...args) => singleQuery(publicClient, call.minActionTimeLock(...args)),
|
|
1372
|
+
maxActionTimeLock: (...args) => singleQuery(publicClient, call.maxActionTimeLock(...args)),
|
|
1373
|
+
pendingActions: (...args) => singleQuery(publicClient, call.pendingActions(...args)),
|
|
1374
|
+
actionId: (...args) => singleQuery(publicClient, call.actionId(...args)),
|
|
1375
|
+
actionTimeLock: (...args) => singleQuery(publicClient, call.actionTimeLock(...args)),
|
|
1376
|
+
expiration: (...args) => singleQuery(publicClient, call.expiration(...args)),
|
|
1377
|
+
getPrice: (...args) => singleQuery(publicClient, call.getPrice(...args)),
|
|
1378
|
+
getPriceAndHasFeed: (...args) => singleQuery(publicClient, call.getPriceAndHasFeed(...args)),
|
|
1379
|
+
hasPriceFeed: (...args) => singleQuery(publicClient, call.hasPriceFeed(...args)),
|
|
1380
|
+
hasPendingPriceFeedUpdate: (...args) => singleQuery(publicClient, call.hasPendingPriceFeedUpdate(...args)),
|
|
1381
|
+
SUPER_OETH: (...args) => singleQuery(publicClient, call.SUPER_OETH(...args)),
|
|
1382
|
+
WRAPPED_SUPER_OETH: (...args) => singleQuery(publicClient, call.WRAPPED_SUPER_OETH(...args)),
|
|
1368
1383
|
// Mutations
|
|
1369
|
-
|
|
1384
|
+
startGovernanceChange: (...args) => mutate(walletClient, mutation.startGovernanceChange)(...args),
|
|
1370
1385
|
confirmGovernanceChange: (...args) => mutate(walletClient, mutation.confirmGovernanceChange)(...args),
|
|
1371
1386
|
cancelGovernanceChange: (...args) => mutate(walletClient, mutation.cancelGovernanceChange)(...args),
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
setMorphoRewardsAddr: (...args) => mutate(walletClient, mutation.setMorphoRewardsAddr)(...args),
|
|
1377
|
-
addAssetOpportunity: (...args) => mutate(walletClient, mutation.addAssetOpportunity)(...args),
|
|
1378
|
-
removeAssetOpportunity: (...args) => mutate(walletClient, mutation.removeAssetOpportunity)(...args),
|
|
1387
|
+
relinquishGov: (...args) => mutate(walletClient, mutation.relinquishGov)(...args),
|
|
1388
|
+
setGovTimeLock: (...args) => mutate(walletClient, mutation.setGovTimeLock)(...args),
|
|
1389
|
+
finishRipeHqSetup: (...args) => mutate(walletClient, mutation.finishRipeHqSetup)(...args),
|
|
1390
|
+
pause: (...args) => mutate(walletClient, mutation.pause)(...args),
|
|
1379
1391
|
recoverFunds: (...args) => mutate(walletClient, mutation.recoverFunds)(...args),
|
|
1380
|
-
|
|
1381
|
-
|
|
1392
|
+
recoverFundsMany: (...args) => mutate(walletClient, mutation.recoverFundsMany)(...args),
|
|
1393
|
+
setActionTimeLock: (...args) => mutate(walletClient, mutation.setActionTimeLock)(...args),
|
|
1394
|
+
setExpiration: (...args) => mutate(walletClient, mutation.setExpiration)(...args),
|
|
1395
|
+
setActionTimeLockAfterSetup: (...args) => mutate(walletClient, mutation.setActionTimeLockAfterSetup)(...args),
|
|
1396
|
+
confirmNewPriceFeed: (...args) => mutate(walletClient, mutation.confirmNewPriceFeed)(...args),
|
|
1397
|
+
cancelNewPendingPriceFeed: (...args) => mutate(walletClient, mutation.cancelNewPendingPriceFeed)(...args),
|
|
1398
|
+
confirmPriceFeedUpdate: (...args) => mutate(walletClient, mutation.confirmPriceFeedUpdate)(...args),
|
|
1399
|
+
cancelPriceFeedUpdate: (...args) => mutate(walletClient, mutation.cancelPriceFeedUpdate)(...args),
|
|
1400
|
+
confirmDisablePriceFeed: (...args) => mutate(walletClient, mutation.confirmDisablePriceFeed)(...args),
|
|
1401
|
+
cancelDisablePriceFeed: (...args) => mutate(walletClient, mutation.cancelDisablePriceFeed)(...args),
|
|
1402
|
+
addPriceSnapshot: (...args) => mutate(walletClient, mutation.addPriceSnapshot)(...args),
|
|
1403
|
+
disablePriceFeed: (...args) => mutate(walletClient, mutation.disablePriceFeed)(...args),
|
|
1382
1404
|
};
|
|
1383
1405
|
}
|