@ripe-finance/sdk 1.13.2 → 1.14.2
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/CreditEngine.d.ts +679 -242
- package/dist/contracts/CreditEngine.d.ts.map +1 -1
- package/dist/contracts/CreditEngine.js +790 -276
- 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/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/SwitchboardAlpha.d.ts +56 -0
- package/dist/contracts/SwitchboardAlpha.d.ts.map +1 -1
- package/dist/contracts/SwitchboardAlpha.js +73 -1
- 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/Teller.d.ts +419 -0
- package/dist/contracts/Teller.d.ts.map +1 -1
- package/dist/contracts/Teller.js +531 -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 +7 -0
- package/dist/contracts/index.d.ts.map +1 -1
- package/dist/contracts/index.js +7 -0
- package/dist/contracts/sdk.d.ts +14 -0
- package/dist/contracts/sdk.d.ts.map +1 -1
- package/dist/contracts/sdk.js +14 -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 +327 -31
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +21 -0
- package/package.json +2 -2
- 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/Agent.js +0 -3458
- 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/PriceSheets.js +0 -1383
- 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,427 +5,631 @@
|
|
|
5
5
|
import { singleQuery, mutate } from '@dappql/async';
|
|
6
6
|
export const abi = [
|
|
7
7
|
{
|
|
8
|
-
|
|
8
|
+
name: 'NewRedStoneFeedPending',
|
|
9
9
|
inputs: [
|
|
10
10
|
{
|
|
11
|
-
|
|
12
|
-
name: 'mainAddr',
|
|
11
|
+
name: 'asset',
|
|
13
12
|
type: 'address',
|
|
13
|
+
indexed: true,
|
|
14
14
|
},
|
|
15
15
|
{
|
|
16
|
-
|
|
17
|
-
name: 'configAddr',
|
|
16
|
+
name: 'feed',
|
|
18
17
|
type: 'address',
|
|
18
|
+
indexed: true,
|
|
19
19
|
},
|
|
20
20
|
{
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
name: 'needsEthToUsd',
|
|
22
|
+
type: 'bool',
|
|
23
|
+
indexed: false,
|
|
24
24
|
},
|
|
25
25
|
{
|
|
26
|
+
name: 'staleTime',
|
|
27
|
+
type: 'uint256',
|
|
26
28
|
indexed: false,
|
|
27
|
-
name: 'agent',
|
|
28
|
-
type: 'address',
|
|
29
29
|
},
|
|
30
30
|
{
|
|
31
|
+
name: 'confirmationBlock',
|
|
32
|
+
type: 'uint256',
|
|
33
|
+
indexed: false,
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
name: 'actionId',
|
|
37
|
+
type: 'uint256',
|
|
31
38
|
indexed: false,
|
|
32
|
-
name: 'creator',
|
|
33
|
-
type: 'address',
|
|
34
39
|
},
|
|
35
40
|
],
|
|
36
|
-
|
|
41
|
+
anonymous: false,
|
|
37
42
|
type: 'event',
|
|
38
43
|
},
|
|
39
44
|
{
|
|
40
|
-
|
|
45
|
+
name: 'NewRedStoneFeedAdded',
|
|
41
46
|
inputs: [
|
|
42
47
|
{
|
|
43
|
-
|
|
44
|
-
name: 'agent',
|
|
48
|
+
name: 'asset',
|
|
45
49
|
type: 'address',
|
|
50
|
+
indexed: true,
|
|
46
51
|
},
|
|
47
52
|
{
|
|
48
|
-
|
|
49
|
-
name: 'owner',
|
|
53
|
+
name: 'feed',
|
|
50
54
|
type: 'address',
|
|
55
|
+
indexed: true,
|
|
51
56
|
},
|
|
52
57
|
{
|
|
58
|
+
name: 'needsEthToUsd',
|
|
59
|
+
type: 'bool',
|
|
60
|
+
indexed: false,
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
name: 'staleTime',
|
|
64
|
+
type: 'uint256',
|
|
53
65
|
indexed: false,
|
|
54
|
-
name: 'creator',
|
|
55
|
-
type: 'address',
|
|
56
66
|
},
|
|
57
67
|
],
|
|
58
|
-
|
|
68
|
+
anonymous: false,
|
|
59
69
|
type: 'event',
|
|
60
70
|
},
|
|
61
71
|
{
|
|
62
|
-
|
|
72
|
+
name: 'NewRedStoneFeedCancelled',
|
|
63
73
|
inputs: [
|
|
64
74
|
{
|
|
65
|
-
|
|
66
|
-
name: 'template',
|
|
75
|
+
name: 'asset',
|
|
67
76
|
type: 'address',
|
|
77
|
+
indexed: true,
|
|
68
78
|
},
|
|
69
79
|
{
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
80
|
+
name: 'feed',
|
|
81
|
+
type: 'address',
|
|
82
|
+
indexed: true,
|
|
73
83
|
},
|
|
74
84
|
],
|
|
75
|
-
|
|
85
|
+
anonymous: false,
|
|
76
86
|
type: 'event',
|
|
77
87
|
},
|
|
78
88
|
{
|
|
79
|
-
|
|
89
|
+
name: 'RedStoneFeedUpdatePending',
|
|
80
90
|
inputs: [
|
|
81
91
|
{
|
|
92
|
+
name: 'asset',
|
|
93
|
+
type: 'address',
|
|
82
94
|
indexed: true,
|
|
83
|
-
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
name: 'feed',
|
|
84
98
|
type: 'address',
|
|
99
|
+
indexed: true,
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
name: 'needsEthToUsd',
|
|
103
|
+
type: 'bool',
|
|
104
|
+
indexed: false,
|
|
85
105
|
},
|
|
86
106
|
{
|
|
107
|
+
name: 'staleTime',
|
|
108
|
+
type: 'uint256',
|
|
87
109
|
indexed: false,
|
|
88
|
-
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
name: 'confirmationBlock',
|
|
89
113
|
type: 'uint256',
|
|
114
|
+
indexed: false,
|
|
90
115
|
},
|
|
91
|
-
],
|
|
92
|
-
name: 'UserWalletConfigTemplateSet',
|
|
93
|
-
type: 'event',
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
anonymous: false,
|
|
97
|
-
inputs: [
|
|
98
116
|
{
|
|
99
|
-
|
|
100
|
-
name: 'template',
|
|
117
|
+
name: 'oldFeed',
|
|
101
118
|
type: 'address',
|
|
119
|
+
indexed: true,
|
|
102
120
|
},
|
|
103
121
|
{
|
|
104
|
-
|
|
105
|
-
name: 'version',
|
|
122
|
+
name: 'actionId',
|
|
106
123
|
type: 'uint256',
|
|
124
|
+
indexed: false,
|
|
107
125
|
},
|
|
108
126
|
],
|
|
109
|
-
|
|
127
|
+
anonymous: false,
|
|
110
128
|
type: 'event',
|
|
111
129
|
},
|
|
112
130
|
{
|
|
113
|
-
|
|
131
|
+
name: 'RedStoneFeedUpdated',
|
|
114
132
|
inputs: [
|
|
115
133
|
{
|
|
116
|
-
indexed: true,
|
|
117
134
|
name: 'asset',
|
|
118
135
|
type: 'address',
|
|
136
|
+
indexed: true,
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
name: 'feed',
|
|
140
|
+
type: 'address',
|
|
141
|
+
indexed: true,
|
|
119
142
|
},
|
|
120
143
|
{
|
|
144
|
+
name: 'needsEthToUsd',
|
|
145
|
+
type: 'bool',
|
|
121
146
|
indexed: false,
|
|
122
|
-
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
name: 'staleTime',
|
|
123
150
|
type: 'uint256',
|
|
151
|
+
indexed: false,
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
name: 'oldFeed',
|
|
155
|
+
type: 'address',
|
|
156
|
+
indexed: true,
|
|
124
157
|
},
|
|
125
158
|
],
|
|
126
|
-
|
|
159
|
+
anonymous: false,
|
|
127
160
|
type: 'event',
|
|
128
161
|
},
|
|
129
162
|
{
|
|
130
|
-
|
|
163
|
+
name: 'RedStoneFeedUpdateCancelled',
|
|
131
164
|
inputs: [
|
|
132
165
|
{
|
|
133
|
-
|
|
134
|
-
name: 'addr',
|
|
166
|
+
name: 'asset',
|
|
135
167
|
type: 'address',
|
|
168
|
+
indexed: true,
|
|
136
169
|
},
|
|
137
170
|
{
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
171
|
+
name: 'feed',
|
|
172
|
+
type: 'address',
|
|
173
|
+
indexed: true,
|
|
141
174
|
},
|
|
142
|
-
],
|
|
143
|
-
name: 'WhitelistSet',
|
|
144
|
-
type: 'event',
|
|
145
|
-
},
|
|
146
|
-
{
|
|
147
|
-
anonymous: false,
|
|
148
|
-
inputs: [
|
|
149
175
|
{
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
176
|
+
name: 'oldFeed',
|
|
177
|
+
type: 'address',
|
|
178
|
+
indexed: true,
|
|
153
179
|
},
|
|
154
180
|
],
|
|
155
|
-
|
|
181
|
+
anonymous: false,
|
|
156
182
|
type: 'event',
|
|
157
183
|
},
|
|
158
184
|
{
|
|
159
|
-
|
|
185
|
+
name: 'DisableRedStoneFeedPending',
|
|
160
186
|
inputs: [
|
|
161
187
|
{
|
|
162
|
-
|
|
163
|
-
|
|
188
|
+
name: 'asset',
|
|
189
|
+
type: 'address',
|
|
190
|
+
indexed: true,
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
name: 'feed',
|
|
194
|
+
type: 'address',
|
|
195
|
+
indexed: true,
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
name: 'confirmationBlock',
|
|
164
199
|
type: 'uint256',
|
|
200
|
+
indexed: false,
|
|
165
201
|
},
|
|
166
|
-
],
|
|
167
|
-
name: 'NumAgentsAllowedSet',
|
|
168
|
-
type: 'event',
|
|
169
|
-
},
|
|
170
|
-
{
|
|
171
|
-
anonymous: false,
|
|
172
|
-
inputs: [
|
|
173
202
|
{
|
|
203
|
+
name: 'actionId',
|
|
204
|
+
type: 'uint256',
|
|
174
205
|
indexed: false,
|
|
175
|
-
name: 'shouldEnforce',
|
|
176
|
-
type: 'bool',
|
|
177
206
|
},
|
|
178
207
|
],
|
|
179
|
-
|
|
208
|
+
anonymous: false,
|
|
180
209
|
type: 'event',
|
|
181
210
|
},
|
|
182
211
|
{
|
|
183
|
-
|
|
212
|
+
name: 'RedStoneFeedDisabled',
|
|
184
213
|
inputs: [
|
|
185
214
|
{
|
|
186
|
-
|
|
187
|
-
name: 'agentAddr',
|
|
215
|
+
name: 'asset',
|
|
188
216
|
type: 'address',
|
|
217
|
+
indexed: true,
|
|
189
218
|
},
|
|
190
219
|
{
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
220
|
+
name: 'feed',
|
|
221
|
+
type: 'address',
|
|
222
|
+
indexed: true,
|
|
194
223
|
},
|
|
195
224
|
],
|
|
196
|
-
|
|
225
|
+
anonymous: false,
|
|
197
226
|
type: 'event',
|
|
198
227
|
},
|
|
199
228
|
{
|
|
200
|
-
|
|
229
|
+
name: 'DisableRedStoneFeedCancelled',
|
|
201
230
|
inputs: [
|
|
202
231
|
{
|
|
203
|
-
indexed: true,
|
|
204
232
|
name: 'asset',
|
|
205
233
|
type: 'address',
|
|
206
|
-
},
|
|
207
|
-
{
|
|
208
234
|
indexed: true,
|
|
209
|
-
name: 'recipient',
|
|
210
|
-
type: 'address',
|
|
211
235
|
},
|
|
212
236
|
{
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
237
|
+
name: 'feed',
|
|
238
|
+
type: 'address',
|
|
239
|
+
indexed: true,
|
|
216
240
|
},
|
|
217
241
|
],
|
|
218
|
-
|
|
242
|
+
anonymous: false,
|
|
219
243
|
type: 'event',
|
|
220
244
|
},
|
|
221
245
|
{
|
|
222
|
-
|
|
246
|
+
name: 'GovChangeTimeLockModified',
|
|
223
247
|
inputs: [
|
|
224
248
|
{
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
249
|
+
name: 'prevTimeLock',
|
|
250
|
+
type: 'uint256',
|
|
251
|
+
indexed: false,
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
name: 'newTimeLock',
|
|
255
|
+
type: 'uint256',
|
|
256
|
+
indexed: false,
|
|
228
257
|
},
|
|
229
258
|
],
|
|
230
|
-
|
|
259
|
+
anonymous: false,
|
|
231
260
|
type: 'event',
|
|
232
261
|
},
|
|
233
262
|
{
|
|
234
|
-
|
|
263
|
+
name: 'ExpirationSet',
|
|
235
264
|
inputs: [
|
|
236
265
|
{
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
type: 'address',
|
|
240
|
-
},
|
|
241
|
-
{
|
|
266
|
+
name: 'expiration',
|
|
267
|
+
type: 'uint256',
|
|
242
268
|
indexed: false,
|
|
243
|
-
name: 'canCancel',
|
|
244
|
-
type: 'bool',
|
|
245
269
|
},
|
|
246
270
|
],
|
|
247
|
-
|
|
271
|
+
anonymous: false,
|
|
248
272
|
type: 'event',
|
|
249
273
|
},
|
|
250
274
|
{
|
|
251
|
-
|
|
275
|
+
name: 'ActionTimeLockSet',
|
|
252
276
|
inputs: [
|
|
253
277
|
{
|
|
278
|
+
name: 'newTimeLock',
|
|
279
|
+
type: 'uint256',
|
|
280
|
+
indexed: false,
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
name: 'prevTimeLock',
|
|
284
|
+
type: 'uint256',
|
|
254
285
|
indexed: false,
|
|
255
|
-
name: 'isActivated',
|
|
256
|
-
type: 'bool',
|
|
257
286
|
},
|
|
258
287
|
],
|
|
259
|
-
|
|
288
|
+
anonymous: false,
|
|
260
289
|
type: 'event',
|
|
261
290
|
},
|
|
262
291
|
{
|
|
263
|
-
|
|
292
|
+
name: 'GovChangeStarted',
|
|
264
293
|
inputs: [
|
|
265
294
|
{
|
|
266
|
-
indexed: true,
|
|
267
295
|
name: 'prevGov',
|
|
268
296
|
type: 'address',
|
|
297
|
+
indexed: true,
|
|
269
298
|
},
|
|
270
299
|
{
|
|
271
|
-
indexed: true,
|
|
272
300
|
name: 'newGov',
|
|
273
301
|
type: 'address',
|
|
302
|
+
indexed: true,
|
|
274
303
|
},
|
|
275
304
|
{
|
|
276
|
-
indexed: false,
|
|
277
305
|
name: 'confirmBlock',
|
|
278
306
|
type: 'uint256',
|
|
307
|
+
indexed: false,
|
|
279
308
|
},
|
|
280
309
|
],
|
|
281
|
-
|
|
310
|
+
anonymous: false,
|
|
282
311
|
type: 'event',
|
|
283
312
|
},
|
|
284
313
|
{
|
|
285
|
-
|
|
314
|
+
name: 'GovChangeConfirmed',
|
|
286
315
|
inputs: [
|
|
287
316
|
{
|
|
288
|
-
indexed: true,
|
|
289
317
|
name: 'prevGov',
|
|
290
318
|
type: 'address',
|
|
319
|
+
indexed: true,
|
|
291
320
|
},
|
|
292
321
|
{
|
|
293
|
-
indexed: true,
|
|
294
322
|
name: 'newGov',
|
|
295
323
|
type: 'address',
|
|
324
|
+
indexed: true,
|
|
296
325
|
},
|
|
297
326
|
{
|
|
298
|
-
indexed: false,
|
|
299
327
|
name: 'initiatedBlock',
|
|
300
328
|
type: 'uint256',
|
|
329
|
+
indexed: false,
|
|
301
330
|
},
|
|
302
331
|
{
|
|
303
|
-
indexed: false,
|
|
304
332
|
name: 'confirmBlock',
|
|
305
333
|
type: 'uint256',
|
|
334
|
+
indexed: false,
|
|
306
335
|
},
|
|
307
336
|
],
|
|
308
|
-
|
|
337
|
+
anonymous: false,
|
|
309
338
|
type: 'event',
|
|
310
339
|
},
|
|
311
340
|
{
|
|
312
|
-
|
|
341
|
+
name: 'GovChangeCancelled',
|
|
313
342
|
inputs: [
|
|
314
343
|
{
|
|
315
|
-
indexed: true,
|
|
316
344
|
name: 'cancelledGov',
|
|
317
345
|
type: 'address',
|
|
346
|
+
indexed: true,
|
|
318
347
|
},
|
|
319
348
|
{
|
|
320
|
-
indexed: false,
|
|
321
349
|
name: 'initiatedBlock',
|
|
322
350
|
type: 'uint256',
|
|
351
|
+
indexed: false,
|
|
323
352
|
},
|
|
324
353
|
{
|
|
325
|
-
indexed: false,
|
|
326
354
|
name: 'confirmBlock',
|
|
327
355
|
type: 'uint256',
|
|
356
|
+
indexed: false,
|
|
328
357
|
},
|
|
329
358
|
],
|
|
330
|
-
|
|
359
|
+
anonymous: false,
|
|
331
360
|
type: 'event',
|
|
332
361
|
},
|
|
333
362
|
{
|
|
334
|
-
|
|
363
|
+
name: 'GovRelinquished',
|
|
335
364
|
inputs: [
|
|
336
365
|
{
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
366
|
+
name: 'prevGov',
|
|
367
|
+
type: 'address',
|
|
368
|
+
indexed: true,
|
|
340
369
|
},
|
|
341
370
|
],
|
|
342
|
-
|
|
371
|
+
anonymous: false,
|
|
343
372
|
type: 'event',
|
|
344
373
|
},
|
|
345
374
|
{
|
|
375
|
+
name: 'RipeHqSetupFinished',
|
|
346
376
|
inputs: [
|
|
347
377
|
{
|
|
348
|
-
name: '
|
|
378
|
+
name: 'prevGov',
|
|
379
|
+
type: 'address',
|
|
380
|
+
indexed: true,
|
|
381
|
+
},
|
|
382
|
+
{
|
|
383
|
+
name: 'newGov',
|
|
349
384
|
type: 'address',
|
|
385
|
+
indexed: true,
|
|
350
386
|
},
|
|
351
|
-
],
|
|
352
|
-
name: 'canGovern',
|
|
353
|
-
outputs: [
|
|
354
387
|
{
|
|
355
|
-
name: '',
|
|
356
|
-
type: '
|
|
388
|
+
name: 'timeLock',
|
|
389
|
+
type: 'uint256',
|
|
390
|
+
indexed: false,
|
|
357
391
|
},
|
|
358
392
|
],
|
|
359
|
-
|
|
360
|
-
type: '
|
|
393
|
+
anonymous: false,
|
|
394
|
+
type: 'event',
|
|
361
395
|
},
|
|
362
396
|
{
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
outputs: [
|
|
397
|
+
name: 'PriceSourcePauseModified',
|
|
398
|
+
inputs: [
|
|
366
399
|
{
|
|
367
|
-
name: '',
|
|
400
|
+
name: 'isPaused',
|
|
368
401
|
type: 'bool',
|
|
402
|
+
indexed: false,
|
|
369
403
|
},
|
|
370
404
|
],
|
|
371
|
-
|
|
372
|
-
type: '
|
|
405
|
+
anonymous: false,
|
|
406
|
+
type: 'event',
|
|
373
407
|
},
|
|
374
408
|
{
|
|
409
|
+
name: 'PriceSourceFundsRecovered',
|
|
375
410
|
inputs: [
|
|
376
411
|
{
|
|
377
|
-
name: '
|
|
412
|
+
name: 'asset',
|
|
413
|
+
type: 'address',
|
|
414
|
+
indexed: true,
|
|
415
|
+
},
|
|
416
|
+
{
|
|
417
|
+
name: 'recipient',
|
|
378
418
|
type: 'address',
|
|
419
|
+
indexed: true,
|
|
420
|
+
},
|
|
421
|
+
{
|
|
422
|
+
name: 'balance',
|
|
423
|
+
type: 'uint256',
|
|
424
|
+
indexed: false,
|
|
379
425
|
},
|
|
380
426
|
],
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
stateMutability: 'nonpayable',
|
|
384
|
-
type: 'function',
|
|
427
|
+
anonymous: false,
|
|
428
|
+
type: 'event',
|
|
385
429
|
},
|
|
386
430
|
{
|
|
431
|
+
stateMutability: 'view',
|
|
432
|
+
type: 'function',
|
|
433
|
+
name: 'getRipeHqFromGov',
|
|
387
434
|
inputs: [],
|
|
388
|
-
|
|
389
|
-
|
|
435
|
+
outputs: [
|
|
436
|
+
{
|
|
437
|
+
name: '',
|
|
438
|
+
type: 'address',
|
|
439
|
+
},
|
|
440
|
+
],
|
|
441
|
+
},
|
|
442
|
+
{
|
|
443
|
+
stateMutability: 'view',
|
|
444
|
+
type: 'function',
|
|
445
|
+
name: 'canGovern',
|
|
446
|
+
inputs: [
|
|
447
|
+
{
|
|
448
|
+
name: '_addr',
|
|
449
|
+
type: 'address',
|
|
450
|
+
},
|
|
451
|
+
],
|
|
452
|
+
outputs: [
|
|
453
|
+
{
|
|
454
|
+
name: '',
|
|
455
|
+
type: 'bool',
|
|
456
|
+
},
|
|
457
|
+
],
|
|
458
|
+
},
|
|
459
|
+
{
|
|
460
|
+
stateMutability: 'view',
|
|
461
|
+
type: 'function',
|
|
462
|
+
name: 'getGovernors',
|
|
463
|
+
inputs: [],
|
|
464
|
+
outputs: [
|
|
465
|
+
{
|
|
466
|
+
name: '',
|
|
467
|
+
type: 'address[]',
|
|
468
|
+
},
|
|
469
|
+
],
|
|
470
|
+
},
|
|
471
|
+
{
|
|
472
|
+
stateMutability: 'view',
|
|
473
|
+
type: 'function',
|
|
474
|
+
name: 'hasPendingGovChange',
|
|
475
|
+
inputs: [],
|
|
476
|
+
outputs: [
|
|
477
|
+
{
|
|
478
|
+
name: '',
|
|
479
|
+
type: 'bool',
|
|
480
|
+
},
|
|
481
|
+
],
|
|
482
|
+
},
|
|
483
|
+
{
|
|
390
484
|
stateMutability: 'nonpayable',
|
|
391
485
|
type: 'function',
|
|
486
|
+
name: 'startGovernanceChange',
|
|
487
|
+
inputs: [
|
|
488
|
+
{
|
|
489
|
+
name: '_newGov',
|
|
490
|
+
type: 'address',
|
|
491
|
+
},
|
|
492
|
+
],
|
|
493
|
+
outputs: [],
|
|
392
494
|
},
|
|
393
495
|
{
|
|
496
|
+
stateMutability: 'nonpayable',
|
|
497
|
+
type: 'function',
|
|
498
|
+
name: 'confirmGovernanceChange',
|
|
394
499
|
inputs: [],
|
|
500
|
+
outputs: [],
|
|
501
|
+
},
|
|
502
|
+
{
|
|
503
|
+
stateMutability: 'nonpayable',
|
|
504
|
+
type: 'function',
|
|
395
505
|
name: 'cancelGovernanceChange',
|
|
506
|
+
inputs: [],
|
|
396
507
|
outputs: [],
|
|
508
|
+
},
|
|
509
|
+
{
|
|
397
510
|
stateMutability: 'nonpayable',
|
|
398
511
|
type: 'function',
|
|
512
|
+
name: 'relinquishGov',
|
|
513
|
+
inputs: [],
|
|
514
|
+
outputs: [],
|
|
399
515
|
},
|
|
400
516
|
{
|
|
517
|
+
stateMutability: 'nonpayable',
|
|
518
|
+
type: 'function',
|
|
519
|
+
name: 'setGovTimeLock',
|
|
401
520
|
inputs: [
|
|
402
521
|
{
|
|
403
522
|
name: '_numBlocks',
|
|
404
523
|
type: 'uint256',
|
|
405
524
|
},
|
|
406
525
|
],
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
526
|
+
outputs: [
|
|
527
|
+
{
|
|
528
|
+
name: '',
|
|
529
|
+
type: 'bool',
|
|
530
|
+
},
|
|
531
|
+
],
|
|
532
|
+
},
|
|
533
|
+
{
|
|
534
|
+
stateMutability: 'view',
|
|
410
535
|
type: 'function',
|
|
536
|
+
name: 'isValidGovTimeLock',
|
|
537
|
+
inputs: [
|
|
538
|
+
{
|
|
539
|
+
name: '_newTimeLock',
|
|
540
|
+
type: 'uint256',
|
|
541
|
+
},
|
|
542
|
+
],
|
|
543
|
+
outputs: [
|
|
544
|
+
{
|
|
545
|
+
name: '',
|
|
546
|
+
type: 'bool',
|
|
547
|
+
},
|
|
548
|
+
],
|
|
411
549
|
},
|
|
412
550
|
{
|
|
551
|
+
stateMutability: 'view',
|
|
552
|
+
type: 'function',
|
|
553
|
+
name: 'minGovChangeTimeLock',
|
|
413
554
|
inputs: [],
|
|
414
|
-
name: 'governance',
|
|
415
555
|
outputs: [
|
|
416
556
|
{
|
|
417
557
|
name: '',
|
|
418
|
-
type: '
|
|
558
|
+
type: 'uint256',
|
|
419
559
|
},
|
|
420
560
|
],
|
|
561
|
+
},
|
|
562
|
+
{
|
|
421
563
|
stateMutability: 'view',
|
|
422
564
|
type: 'function',
|
|
565
|
+
name: 'maxGovChangeTimeLock',
|
|
566
|
+
inputs: [],
|
|
567
|
+
outputs: [
|
|
568
|
+
{
|
|
569
|
+
name: '',
|
|
570
|
+
type: 'uint256',
|
|
571
|
+
},
|
|
572
|
+
],
|
|
423
573
|
},
|
|
424
574
|
{
|
|
575
|
+
stateMutability: 'nonpayable',
|
|
576
|
+
type: 'function',
|
|
577
|
+
name: 'finishRipeHqSetup',
|
|
578
|
+
inputs: [
|
|
579
|
+
{
|
|
580
|
+
name: '_newGov',
|
|
581
|
+
type: 'address',
|
|
582
|
+
},
|
|
583
|
+
],
|
|
584
|
+
outputs: [
|
|
585
|
+
{
|
|
586
|
+
name: '',
|
|
587
|
+
type: 'bool',
|
|
588
|
+
},
|
|
589
|
+
],
|
|
590
|
+
},
|
|
591
|
+
{
|
|
592
|
+
stateMutability: 'nonpayable',
|
|
593
|
+
type: 'function',
|
|
594
|
+
name: 'finishRipeHqSetup',
|
|
595
|
+
inputs: [
|
|
596
|
+
{
|
|
597
|
+
name: '_newGov',
|
|
598
|
+
type: 'address',
|
|
599
|
+
},
|
|
600
|
+
{
|
|
601
|
+
name: '_timeLock',
|
|
602
|
+
type: 'uint256',
|
|
603
|
+
},
|
|
604
|
+
],
|
|
605
|
+
outputs: [
|
|
606
|
+
{
|
|
607
|
+
name: '',
|
|
608
|
+
type: 'bool',
|
|
609
|
+
},
|
|
610
|
+
],
|
|
611
|
+
},
|
|
612
|
+
{
|
|
613
|
+
stateMutability: 'view',
|
|
614
|
+
type: 'function',
|
|
615
|
+
name: 'governance',
|
|
425
616
|
inputs: [],
|
|
617
|
+
outputs: [
|
|
618
|
+
{
|
|
619
|
+
name: '',
|
|
620
|
+
type: 'address',
|
|
621
|
+
},
|
|
622
|
+
],
|
|
623
|
+
},
|
|
624
|
+
{
|
|
625
|
+
stateMutability: 'view',
|
|
626
|
+
type: 'function',
|
|
426
627
|
name: 'pendingGov',
|
|
628
|
+
inputs: [],
|
|
427
629
|
outputs: [
|
|
428
630
|
{
|
|
631
|
+
name: '',
|
|
632
|
+
type: 'tuple',
|
|
429
633
|
components: [
|
|
430
634
|
{
|
|
431
635
|
name: 'newGov',
|
|
@@ -440,1012 +644,1197 @@ export const abi = [
|
|
|
440
644
|
type: 'uint256',
|
|
441
645
|
},
|
|
442
646
|
],
|
|
443
|
-
name: '',
|
|
444
|
-
type: 'tuple',
|
|
445
647
|
},
|
|
446
648
|
],
|
|
447
|
-
stateMutability: 'view',
|
|
448
|
-
type: 'function',
|
|
449
649
|
},
|
|
450
650
|
{
|
|
651
|
+
stateMutability: 'view',
|
|
652
|
+
type: 'function',
|
|
653
|
+
name: 'numGovChanges',
|
|
451
654
|
inputs: [],
|
|
452
|
-
name: 'govChangeDelay',
|
|
453
655
|
outputs: [
|
|
454
656
|
{
|
|
455
657
|
name: '',
|
|
456
658
|
type: 'uint256',
|
|
457
659
|
},
|
|
458
660
|
],
|
|
459
|
-
stateMutability: 'view',
|
|
460
|
-
type: 'function',
|
|
461
661
|
},
|
|
462
662
|
{
|
|
663
|
+
stateMutability: 'view',
|
|
664
|
+
type: 'function',
|
|
665
|
+
name: 'govChangeTimeLock',
|
|
463
666
|
inputs: [],
|
|
464
|
-
name: 'MIN_GOV_CHANGE_DELAY',
|
|
465
667
|
outputs: [
|
|
466
668
|
{
|
|
467
669
|
name: '',
|
|
468
670
|
type: 'uint256',
|
|
469
671
|
},
|
|
470
672
|
],
|
|
471
|
-
stateMutability: 'view',
|
|
472
|
-
type: 'function',
|
|
473
673
|
},
|
|
474
674
|
{
|
|
675
|
+
stateMutability: 'view',
|
|
676
|
+
type: 'function',
|
|
677
|
+
name: 'getAddys',
|
|
475
678
|
inputs: [],
|
|
476
|
-
name: 'MAX_GOV_CHANGE_DELAY',
|
|
477
679
|
outputs: [
|
|
478
680
|
{
|
|
479
681
|
name: '',
|
|
480
|
-
type: '
|
|
682
|
+
type: 'tuple',
|
|
683
|
+
components: [
|
|
684
|
+
{
|
|
685
|
+
name: 'hq',
|
|
686
|
+
type: 'address',
|
|
687
|
+
},
|
|
688
|
+
{
|
|
689
|
+
name: 'greenToken',
|
|
690
|
+
type: 'address',
|
|
691
|
+
},
|
|
692
|
+
{
|
|
693
|
+
name: 'savingsGreen',
|
|
694
|
+
type: 'address',
|
|
695
|
+
},
|
|
696
|
+
{
|
|
697
|
+
name: 'ripeToken',
|
|
698
|
+
type: 'address',
|
|
699
|
+
},
|
|
700
|
+
{
|
|
701
|
+
name: 'ledger',
|
|
702
|
+
type: 'address',
|
|
703
|
+
},
|
|
704
|
+
{
|
|
705
|
+
name: 'missionControl',
|
|
706
|
+
type: 'address',
|
|
707
|
+
},
|
|
708
|
+
{
|
|
709
|
+
name: 'switchboard',
|
|
710
|
+
type: 'address',
|
|
711
|
+
},
|
|
712
|
+
{
|
|
713
|
+
name: 'priceDesk',
|
|
714
|
+
type: 'address',
|
|
715
|
+
},
|
|
716
|
+
{
|
|
717
|
+
name: 'vaultBook',
|
|
718
|
+
type: 'address',
|
|
719
|
+
},
|
|
720
|
+
{
|
|
721
|
+
name: 'auctionHouse',
|
|
722
|
+
type: 'address',
|
|
723
|
+
},
|
|
724
|
+
{
|
|
725
|
+
name: 'auctionHouseNft',
|
|
726
|
+
type: 'address',
|
|
727
|
+
},
|
|
728
|
+
{
|
|
729
|
+
name: 'boardroom',
|
|
730
|
+
type: 'address',
|
|
731
|
+
},
|
|
732
|
+
{
|
|
733
|
+
name: 'bondRoom',
|
|
734
|
+
type: 'address',
|
|
735
|
+
},
|
|
736
|
+
{
|
|
737
|
+
name: 'creditEngine',
|
|
738
|
+
type: 'address',
|
|
739
|
+
},
|
|
740
|
+
{
|
|
741
|
+
name: 'endaoment',
|
|
742
|
+
type: 'address',
|
|
743
|
+
},
|
|
744
|
+
{
|
|
745
|
+
name: 'humanResources',
|
|
746
|
+
type: 'address',
|
|
747
|
+
},
|
|
748
|
+
{
|
|
749
|
+
name: 'lootbox',
|
|
750
|
+
type: 'address',
|
|
751
|
+
},
|
|
752
|
+
{
|
|
753
|
+
name: 'teller',
|
|
754
|
+
type: 'address',
|
|
755
|
+
},
|
|
756
|
+
],
|
|
481
757
|
},
|
|
482
758
|
],
|
|
483
|
-
stateMutability: 'view',
|
|
484
|
-
type: 'function',
|
|
485
759
|
},
|
|
486
760
|
{
|
|
761
|
+
stateMutability: 'view',
|
|
762
|
+
type: 'function',
|
|
763
|
+
name: 'getRipeHq',
|
|
487
764
|
inputs: [],
|
|
488
|
-
name: 'currentUserWalletTemplate',
|
|
489
765
|
outputs: [
|
|
490
766
|
{
|
|
491
767
|
name: '',
|
|
492
768
|
type: 'address',
|
|
493
769
|
},
|
|
494
770
|
],
|
|
495
|
-
stateMutability: 'view',
|
|
496
|
-
type: 'function',
|
|
497
771
|
},
|
|
498
772
|
{
|
|
773
|
+
stateMutability: 'view',
|
|
774
|
+
type: 'function',
|
|
775
|
+
name: 'getPricedAssets',
|
|
499
776
|
inputs: [],
|
|
500
|
-
name: 'currentUserWalletConfigTemplate',
|
|
501
777
|
outputs: [
|
|
502
778
|
{
|
|
503
779
|
name: '',
|
|
504
|
-
type: 'address',
|
|
780
|
+
type: 'address[]',
|
|
505
781
|
},
|
|
506
782
|
],
|
|
507
|
-
|
|
783
|
+
},
|
|
784
|
+
{
|
|
785
|
+
stateMutability: 'nonpayable',
|
|
508
786
|
type: 'function',
|
|
787
|
+
name: 'pause',
|
|
788
|
+
inputs: [
|
|
789
|
+
{
|
|
790
|
+
name: '_shouldPause',
|
|
791
|
+
type: 'bool',
|
|
792
|
+
},
|
|
793
|
+
],
|
|
794
|
+
outputs: [],
|
|
509
795
|
},
|
|
510
796
|
{
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
797
|
+
stateMutability: 'nonpayable',
|
|
798
|
+
type: 'function',
|
|
799
|
+
name: 'recoverFunds',
|
|
800
|
+
inputs: [
|
|
514
801
|
{
|
|
515
|
-
name: '',
|
|
802
|
+
name: '_recipient',
|
|
803
|
+
type: 'address',
|
|
804
|
+
},
|
|
805
|
+
{
|
|
806
|
+
name: '_asset',
|
|
516
807
|
type: 'address',
|
|
517
808
|
},
|
|
518
809
|
],
|
|
519
|
-
|
|
520
|
-
type: 'function',
|
|
810
|
+
outputs: [],
|
|
521
811
|
},
|
|
522
812
|
{
|
|
813
|
+
stateMutability: 'nonpayable',
|
|
814
|
+
type: 'function',
|
|
815
|
+
name: 'recoverFundsMany',
|
|
523
816
|
inputs: [
|
|
524
817
|
{
|
|
525
|
-
name: '
|
|
818
|
+
name: '_recipient',
|
|
526
819
|
type: 'address',
|
|
527
820
|
},
|
|
528
821
|
{
|
|
529
|
-
name: '
|
|
530
|
-
type: 'address',
|
|
822
|
+
name: '_assets',
|
|
823
|
+
type: 'address[]',
|
|
531
824
|
},
|
|
532
825
|
],
|
|
533
|
-
|
|
826
|
+
outputs: [],
|
|
827
|
+
},
|
|
828
|
+
{
|
|
829
|
+
stateMutability: 'view',
|
|
830
|
+
type: 'function',
|
|
831
|
+
name: 'isPaused',
|
|
832
|
+
inputs: [],
|
|
534
833
|
outputs: [
|
|
535
834
|
{
|
|
536
835
|
name: '',
|
|
537
836
|
type: 'bool',
|
|
538
837
|
},
|
|
539
838
|
],
|
|
540
|
-
stateMutability: 'view',
|
|
541
|
-
type: 'function',
|
|
542
839
|
},
|
|
543
840
|
{
|
|
544
|
-
|
|
545
|
-
|
|
841
|
+
stateMutability: 'view',
|
|
842
|
+
type: 'function',
|
|
843
|
+
name: 'assets',
|
|
844
|
+
inputs: [
|
|
845
|
+
{
|
|
846
|
+
name: 'arg0',
|
|
847
|
+
type: 'uint256',
|
|
848
|
+
},
|
|
849
|
+
],
|
|
546
850
|
outputs: [
|
|
547
851
|
{
|
|
548
852
|
name: '',
|
|
549
853
|
type: 'address',
|
|
550
854
|
},
|
|
551
855
|
],
|
|
552
|
-
stateMutability: 'nonpayable',
|
|
553
|
-
type: 'function',
|
|
554
856
|
},
|
|
555
857
|
{
|
|
858
|
+
stateMutability: 'view',
|
|
859
|
+
type: 'function',
|
|
860
|
+
name: 'indexOfAsset',
|
|
556
861
|
inputs: [
|
|
557
862
|
{
|
|
558
|
-
name: '
|
|
863
|
+
name: 'arg0',
|
|
559
864
|
type: 'address',
|
|
560
865
|
},
|
|
561
866
|
],
|
|
562
|
-
name: 'createUserWallet',
|
|
563
867
|
outputs: [
|
|
564
868
|
{
|
|
565
869
|
name: '',
|
|
566
|
-
type: '
|
|
870
|
+
type: 'uint256',
|
|
567
871
|
},
|
|
568
872
|
],
|
|
569
|
-
|
|
873
|
+
},
|
|
874
|
+
{
|
|
875
|
+
stateMutability: 'view',
|
|
570
876
|
type: 'function',
|
|
877
|
+
name: 'numAssets',
|
|
878
|
+
inputs: [],
|
|
879
|
+
outputs: [
|
|
880
|
+
{
|
|
881
|
+
name: '',
|
|
882
|
+
type: 'uint256',
|
|
883
|
+
},
|
|
884
|
+
],
|
|
571
885
|
},
|
|
572
886
|
{
|
|
887
|
+
stateMutability: 'view',
|
|
888
|
+
type: 'function',
|
|
889
|
+
name: 'canConfirmAction',
|
|
573
890
|
inputs: [
|
|
574
891
|
{
|
|
575
|
-
name: '
|
|
576
|
-
type: '
|
|
892
|
+
name: '_actionId',
|
|
893
|
+
type: 'uint256',
|
|
577
894
|
},
|
|
895
|
+
],
|
|
896
|
+
outputs: [
|
|
578
897
|
{
|
|
579
|
-
name: '
|
|
580
|
-
type: '
|
|
898
|
+
name: '',
|
|
899
|
+
type: 'bool',
|
|
900
|
+
},
|
|
901
|
+
],
|
|
902
|
+
},
|
|
903
|
+
{
|
|
904
|
+
stateMutability: 'view',
|
|
905
|
+
type: 'function',
|
|
906
|
+
name: 'isExpired',
|
|
907
|
+
inputs: [
|
|
908
|
+
{
|
|
909
|
+
name: '_actionId',
|
|
910
|
+
type: 'uint256',
|
|
581
911
|
},
|
|
582
912
|
],
|
|
583
|
-
name: 'createUserWallet',
|
|
584
913
|
outputs: [
|
|
585
914
|
{
|
|
586
915
|
name: '',
|
|
587
|
-
type: '
|
|
916
|
+
type: 'bool',
|
|
588
917
|
},
|
|
589
918
|
],
|
|
590
|
-
stateMutability: 'nonpayable',
|
|
591
|
-
type: 'function',
|
|
592
919
|
},
|
|
593
920
|
{
|
|
921
|
+
stateMutability: 'view',
|
|
922
|
+
type: 'function',
|
|
923
|
+
name: 'hasPendingAction',
|
|
594
924
|
inputs: [
|
|
595
925
|
{
|
|
596
|
-
name: '
|
|
597
|
-
type: '
|
|
926
|
+
name: '_actionId',
|
|
927
|
+
type: 'uint256',
|
|
598
928
|
},
|
|
599
929
|
],
|
|
600
|
-
name: 'isValidUserWalletTemplate',
|
|
601
930
|
outputs: [
|
|
602
931
|
{
|
|
603
932
|
name: '',
|
|
604
933
|
type: 'bool',
|
|
605
934
|
},
|
|
606
935
|
],
|
|
936
|
+
},
|
|
937
|
+
{
|
|
607
938
|
stateMutability: 'view',
|
|
608
939
|
type: 'function',
|
|
940
|
+
name: 'getActionConfirmationBlock',
|
|
941
|
+
inputs: [
|
|
942
|
+
{
|
|
943
|
+
name: '_actionId',
|
|
944
|
+
type: 'uint256',
|
|
945
|
+
},
|
|
946
|
+
],
|
|
947
|
+
outputs: [
|
|
948
|
+
{
|
|
949
|
+
name: '',
|
|
950
|
+
type: 'uint256',
|
|
951
|
+
},
|
|
952
|
+
],
|
|
609
953
|
},
|
|
610
954
|
{
|
|
955
|
+
stateMutability: 'nonpayable',
|
|
956
|
+
type: 'function',
|
|
957
|
+
name: 'setActionTimeLock',
|
|
611
958
|
inputs: [
|
|
612
959
|
{
|
|
613
|
-
name: '
|
|
614
|
-
type: '
|
|
960
|
+
name: '_newTimeLock',
|
|
961
|
+
type: 'uint256',
|
|
615
962
|
},
|
|
616
963
|
],
|
|
617
|
-
name: 'setUserWalletTemplate',
|
|
618
964
|
outputs: [
|
|
619
965
|
{
|
|
620
966
|
name: '',
|
|
621
967
|
type: 'bool',
|
|
622
968
|
},
|
|
623
969
|
],
|
|
624
|
-
stateMutability: 'nonpayable',
|
|
625
|
-
type: 'function',
|
|
626
970
|
},
|
|
627
971
|
{
|
|
972
|
+
stateMutability: 'view',
|
|
973
|
+
type: 'function',
|
|
974
|
+
name: 'isValidActionTimeLock',
|
|
628
975
|
inputs: [
|
|
629
976
|
{
|
|
630
|
-
name: '
|
|
631
|
-
type: '
|
|
977
|
+
name: '_newTimeLock',
|
|
978
|
+
type: 'uint256',
|
|
632
979
|
},
|
|
633
980
|
],
|
|
634
|
-
name: 'isValidUserWalletConfigTemplate',
|
|
635
981
|
outputs: [
|
|
636
982
|
{
|
|
637
983
|
name: '',
|
|
638
984
|
type: 'bool',
|
|
639
985
|
},
|
|
640
986
|
],
|
|
987
|
+
},
|
|
988
|
+
{
|
|
989
|
+
stateMutability: 'view',
|
|
990
|
+
type: 'function',
|
|
991
|
+
name: 'minActionTimeLock',
|
|
992
|
+
inputs: [],
|
|
993
|
+
outputs: [
|
|
994
|
+
{
|
|
995
|
+
name: '',
|
|
996
|
+
type: 'uint256',
|
|
997
|
+
},
|
|
998
|
+
],
|
|
999
|
+
},
|
|
1000
|
+
{
|
|
641
1001
|
stateMutability: 'view',
|
|
642
1002
|
type: 'function',
|
|
1003
|
+
name: 'maxActionTimeLock',
|
|
1004
|
+
inputs: [],
|
|
1005
|
+
outputs: [
|
|
1006
|
+
{
|
|
1007
|
+
name: '',
|
|
1008
|
+
type: 'uint256',
|
|
1009
|
+
},
|
|
1010
|
+
],
|
|
643
1011
|
},
|
|
644
1012
|
{
|
|
1013
|
+
stateMutability: 'nonpayable',
|
|
1014
|
+
type: 'function',
|
|
1015
|
+
name: 'setExpiration',
|
|
645
1016
|
inputs: [
|
|
646
1017
|
{
|
|
647
|
-
name: '
|
|
648
|
-
type: '
|
|
1018
|
+
name: '_expiration',
|
|
1019
|
+
type: 'uint256',
|
|
649
1020
|
},
|
|
650
1021
|
],
|
|
651
|
-
name: 'setUserWalletConfigTemplate',
|
|
652
1022
|
outputs: [
|
|
653
1023
|
{
|
|
654
1024
|
name: '',
|
|
655
1025
|
type: 'bool',
|
|
656
1026
|
},
|
|
657
1027
|
],
|
|
1028
|
+
},
|
|
1029
|
+
{
|
|
658
1030
|
stateMutability: 'nonpayable',
|
|
659
1031
|
type: 'function',
|
|
1032
|
+
name: 'setActionTimeLockAfterSetup',
|
|
1033
|
+
inputs: [],
|
|
1034
|
+
outputs: [
|
|
1035
|
+
{
|
|
1036
|
+
name: '',
|
|
1037
|
+
type: 'bool',
|
|
1038
|
+
},
|
|
1039
|
+
],
|
|
660
1040
|
},
|
|
661
1041
|
{
|
|
1042
|
+
stateMutability: 'nonpayable',
|
|
1043
|
+
type: 'function',
|
|
1044
|
+
name: 'setActionTimeLockAfterSetup',
|
|
662
1045
|
inputs: [
|
|
663
1046
|
{
|
|
664
|
-
name: '
|
|
665
|
-
type: '
|
|
1047
|
+
name: '_newTimeLock',
|
|
1048
|
+
type: 'uint256',
|
|
666
1049
|
},
|
|
667
1050
|
],
|
|
668
|
-
name: 'isValidAgentSetup',
|
|
669
1051
|
outputs: [
|
|
670
1052
|
{
|
|
671
1053
|
name: '',
|
|
672
1054
|
type: 'bool',
|
|
673
1055
|
},
|
|
674
1056
|
],
|
|
1057
|
+
},
|
|
1058
|
+
{
|
|
675
1059
|
stateMutability: 'view',
|
|
676
1060
|
type: 'function',
|
|
1061
|
+
name: 'pendingActions',
|
|
1062
|
+
inputs: [
|
|
1063
|
+
{
|
|
1064
|
+
name: 'arg0',
|
|
1065
|
+
type: 'uint256',
|
|
1066
|
+
},
|
|
1067
|
+
],
|
|
1068
|
+
outputs: [
|
|
1069
|
+
{
|
|
1070
|
+
name: '',
|
|
1071
|
+
type: 'tuple',
|
|
1072
|
+
components: [
|
|
1073
|
+
{
|
|
1074
|
+
name: 'initiatedBlock',
|
|
1075
|
+
type: 'uint256',
|
|
1076
|
+
},
|
|
1077
|
+
{
|
|
1078
|
+
name: 'confirmBlock',
|
|
1079
|
+
type: 'uint256',
|
|
1080
|
+
},
|
|
1081
|
+
{
|
|
1082
|
+
name: 'expiration',
|
|
1083
|
+
type: 'uint256',
|
|
1084
|
+
},
|
|
1085
|
+
],
|
|
1086
|
+
},
|
|
1087
|
+
],
|
|
677
1088
|
},
|
|
678
1089
|
{
|
|
1090
|
+
stateMutability: 'view',
|
|
1091
|
+
type: 'function',
|
|
1092
|
+
name: 'actionId',
|
|
679
1093
|
inputs: [],
|
|
680
|
-
name: 'createAgent',
|
|
681
1094
|
outputs: [
|
|
682
1095
|
{
|
|
683
1096
|
name: '',
|
|
684
|
-
type: '
|
|
1097
|
+
type: 'uint256',
|
|
685
1098
|
},
|
|
686
1099
|
],
|
|
687
|
-
stateMutability: 'nonpayable',
|
|
688
|
-
type: 'function',
|
|
689
1100
|
},
|
|
690
1101
|
{
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
},
|
|
696
|
-
],
|
|
697
|
-
name: 'createAgent',
|
|
1102
|
+
stateMutability: 'view',
|
|
1103
|
+
type: 'function',
|
|
1104
|
+
name: 'actionTimeLock',
|
|
1105
|
+
inputs: [],
|
|
698
1106
|
outputs: [
|
|
699
1107
|
{
|
|
700
1108
|
name: '',
|
|
701
|
-
type: '
|
|
1109
|
+
type: 'uint256',
|
|
702
1110
|
},
|
|
703
1111
|
],
|
|
704
|
-
stateMutability: 'nonpayable',
|
|
705
|
-
type: 'function',
|
|
706
1112
|
},
|
|
707
1113
|
{
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
},
|
|
713
|
-
],
|
|
714
|
-
name: 'isValidAgentTemplate',
|
|
1114
|
+
stateMutability: 'view',
|
|
1115
|
+
type: 'function',
|
|
1116
|
+
name: 'expiration',
|
|
1117
|
+
inputs: [],
|
|
715
1118
|
outputs: [
|
|
716
1119
|
{
|
|
717
1120
|
name: '',
|
|
718
|
-
type: '
|
|
1121
|
+
type: 'uint256',
|
|
719
1122
|
},
|
|
720
1123
|
],
|
|
721
|
-
stateMutability: 'view',
|
|
722
|
-
type: 'function',
|
|
723
1124
|
},
|
|
724
1125
|
{
|
|
1126
|
+
stateMutability: 'view',
|
|
1127
|
+
type: 'function',
|
|
1128
|
+
name: 'getPrice',
|
|
725
1129
|
inputs: [
|
|
726
1130
|
{
|
|
727
|
-
name: '
|
|
1131
|
+
name: '_asset',
|
|
728
1132
|
type: 'address',
|
|
729
1133
|
},
|
|
730
1134
|
],
|
|
731
|
-
name: 'setAgentTemplate',
|
|
732
1135
|
outputs: [
|
|
733
1136
|
{
|
|
734
1137
|
name: '',
|
|
735
|
-
type: '
|
|
1138
|
+
type: 'uint256',
|
|
736
1139
|
},
|
|
737
1140
|
],
|
|
738
|
-
stateMutability: 'nonpayable',
|
|
739
|
-
type: 'function',
|
|
740
1141
|
},
|
|
741
1142
|
{
|
|
1143
|
+
stateMutability: 'view',
|
|
1144
|
+
type: 'function',
|
|
1145
|
+
name: 'getPrice',
|
|
742
1146
|
inputs: [
|
|
743
1147
|
{
|
|
744
1148
|
name: '_asset',
|
|
745
1149
|
type: 'address',
|
|
746
1150
|
},
|
|
747
1151
|
{
|
|
748
|
-
name: '
|
|
1152
|
+
name: '_staleTime',
|
|
749
1153
|
type: 'uint256',
|
|
750
1154
|
},
|
|
751
1155
|
],
|
|
752
|
-
name: 'isValidTrialFundsData',
|
|
753
1156
|
outputs: [
|
|
754
1157
|
{
|
|
755
1158
|
name: '',
|
|
756
|
-
type: '
|
|
1159
|
+
type: 'uint256',
|
|
757
1160
|
},
|
|
758
1161
|
],
|
|
759
|
-
stateMutability: 'view',
|
|
760
|
-
type: 'function',
|
|
761
1162
|
},
|
|
762
1163
|
{
|
|
1164
|
+
stateMutability: 'view',
|
|
1165
|
+
type: 'function',
|
|
1166
|
+
name: 'getPrice',
|
|
763
1167
|
inputs: [
|
|
764
1168
|
{
|
|
765
1169
|
name: '_asset',
|
|
766
1170
|
type: 'address',
|
|
767
1171
|
},
|
|
768
1172
|
{
|
|
769
|
-
name: '
|
|
1173
|
+
name: '_staleTime',
|
|
770
1174
|
type: 'uint256',
|
|
771
1175
|
},
|
|
1176
|
+
{
|
|
1177
|
+
name: '_priceDesk',
|
|
1178
|
+
type: 'address',
|
|
1179
|
+
},
|
|
772
1180
|
],
|
|
773
|
-
name: 'setTrialFundsData',
|
|
774
1181
|
outputs: [
|
|
775
1182
|
{
|
|
776
1183
|
name: '',
|
|
777
|
-
type: '
|
|
1184
|
+
type: 'uint256',
|
|
778
1185
|
},
|
|
779
1186
|
],
|
|
780
|
-
stateMutability: 'nonpayable',
|
|
781
|
-
type: 'function',
|
|
782
1187
|
},
|
|
783
1188
|
{
|
|
1189
|
+
stateMutability: 'view',
|
|
1190
|
+
type: 'function',
|
|
1191
|
+
name: 'getPriceAndHasFeed',
|
|
784
1192
|
inputs: [
|
|
785
1193
|
{
|
|
786
|
-
name: '
|
|
1194
|
+
name: '_asset',
|
|
787
1195
|
type: 'address',
|
|
788
1196
|
},
|
|
789
1197
|
],
|
|
790
|
-
name: 'recoverTrialFunds',
|
|
791
1198
|
outputs: [
|
|
1199
|
+
{
|
|
1200
|
+
name: '',
|
|
1201
|
+
type: 'uint256',
|
|
1202
|
+
},
|
|
792
1203
|
{
|
|
793
1204
|
name: '',
|
|
794
1205
|
type: 'bool',
|
|
795
1206
|
},
|
|
796
1207
|
],
|
|
797
|
-
stateMutability: 'nonpayable',
|
|
798
|
-
type: 'function',
|
|
799
1208
|
},
|
|
800
1209
|
{
|
|
1210
|
+
stateMutability: 'view',
|
|
1211
|
+
type: 'function',
|
|
1212
|
+
name: 'getPriceAndHasFeed',
|
|
801
1213
|
inputs: [
|
|
802
1214
|
{
|
|
803
|
-
name: '
|
|
1215
|
+
name: '_asset',
|
|
804
1216
|
type: 'address',
|
|
805
1217
|
},
|
|
806
1218
|
{
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
name: 'legoId',
|
|
810
|
-
type: 'uint256',
|
|
811
|
-
},
|
|
812
|
-
{
|
|
813
|
-
name: 'vaultToken',
|
|
814
|
-
type: 'address',
|
|
815
|
-
},
|
|
816
|
-
],
|
|
817
|
-
name: '_opportunities',
|
|
818
|
-
type: 'tuple[]',
|
|
1219
|
+
name: '_staleTime',
|
|
1220
|
+
type: 'uint256',
|
|
819
1221
|
},
|
|
820
1222
|
],
|
|
821
|
-
name: 'recoverTrialFunds',
|
|
822
1223
|
outputs: [
|
|
1224
|
+
{
|
|
1225
|
+
name: '',
|
|
1226
|
+
type: 'uint256',
|
|
1227
|
+
},
|
|
823
1228
|
{
|
|
824
1229
|
name: '',
|
|
825
1230
|
type: 'bool',
|
|
826
1231
|
},
|
|
827
1232
|
],
|
|
828
|
-
stateMutability: 'nonpayable',
|
|
829
|
-
type: 'function',
|
|
830
1233
|
},
|
|
831
1234
|
{
|
|
1235
|
+
stateMutability: 'view',
|
|
1236
|
+
type: 'function',
|
|
1237
|
+
name: 'getPriceAndHasFeed',
|
|
832
1238
|
inputs: [
|
|
833
1239
|
{
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
name: 'wallet',
|
|
837
|
-
type: 'address',
|
|
838
|
-
},
|
|
839
|
-
{
|
|
840
|
-
components: [
|
|
841
|
-
{
|
|
842
|
-
name: 'legoId',
|
|
843
|
-
type: 'uint256',
|
|
844
|
-
},
|
|
845
|
-
{
|
|
846
|
-
name: 'vaultToken',
|
|
847
|
-
type: 'address',
|
|
848
|
-
},
|
|
849
|
-
],
|
|
850
|
-
name: 'opportunities',
|
|
851
|
-
type: 'tuple[]',
|
|
852
|
-
},
|
|
853
|
-
],
|
|
854
|
-
name: '_recoveries',
|
|
855
|
-
type: 'tuple[]',
|
|
1240
|
+
name: '_asset',
|
|
1241
|
+
type: 'address',
|
|
856
1242
|
},
|
|
857
|
-
],
|
|
858
|
-
name: 'recoverTrialFundsMany',
|
|
859
|
-
outputs: [
|
|
860
1243
|
{
|
|
861
|
-
name: '',
|
|
862
|
-
type: '
|
|
1244
|
+
name: '_staleTime',
|
|
1245
|
+
type: 'uint256',
|
|
863
1246
|
},
|
|
864
|
-
],
|
|
865
|
-
stateMutability: 'nonpayable',
|
|
866
|
-
type: 'function',
|
|
867
|
-
},
|
|
868
|
-
{
|
|
869
|
-
inputs: [
|
|
870
1247
|
{
|
|
871
|
-
name: '
|
|
1248
|
+
name: '_priceDesk',
|
|
872
1249
|
type: 'address',
|
|
873
1250
|
},
|
|
874
1251
|
],
|
|
875
|
-
name: 'setRecoveryCaller',
|
|
876
1252
|
outputs: [
|
|
1253
|
+
{
|
|
1254
|
+
name: '',
|
|
1255
|
+
type: 'uint256',
|
|
1256
|
+
},
|
|
877
1257
|
{
|
|
878
1258
|
name: '',
|
|
879
1259
|
type: 'bool',
|
|
880
1260
|
},
|
|
881
1261
|
],
|
|
882
|
-
stateMutability: 'nonpayable',
|
|
883
|
-
type: 'function',
|
|
884
1262
|
},
|
|
885
1263
|
{
|
|
1264
|
+
stateMutability: 'view',
|
|
1265
|
+
type: 'function',
|
|
1266
|
+
name: 'hasPriceFeed',
|
|
886
1267
|
inputs: [
|
|
887
1268
|
{
|
|
888
|
-
name: '
|
|
1269
|
+
name: '_asset',
|
|
889
1270
|
type: 'address',
|
|
890
1271
|
},
|
|
891
|
-
{
|
|
892
|
-
name: '_shouldWhitelist',
|
|
893
|
-
type: 'bool',
|
|
894
|
-
},
|
|
895
1272
|
],
|
|
896
|
-
name: 'setWhitelist',
|
|
897
1273
|
outputs: [
|
|
898
1274
|
{
|
|
899
1275
|
name: '',
|
|
900
1276
|
type: 'bool',
|
|
901
1277
|
},
|
|
902
1278
|
],
|
|
903
|
-
stateMutability: 'nonpayable',
|
|
904
|
-
type: 'function',
|
|
905
1279
|
},
|
|
906
1280
|
{
|
|
1281
|
+
stateMutability: 'view',
|
|
1282
|
+
type: 'function',
|
|
1283
|
+
name: 'hasPendingPriceFeedUpdate',
|
|
907
1284
|
inputs: [
|
|
908
1285
|
{
|
|
909
|
-
name: '
|
|
910
|
-
type: '
|
|
1286
|
+
name: '_asset',
|
|
1287
|
+
type: 'address',
|
|
911
1288
|
},
|
|
912
1289
|
],
|
|
913
|
-
name: 'setShouldEnforceWhitelist',
|
|
914
1290
|
outputs: [
|
|
915
1291
|
{
|
|
916
1292
|
name: '',
|
|
917
1293
|
type: 'bool',
|
|
918
1294
|
},
|
|
919
1295
|
],
|
|
920
|
-
stateMutability: 'nonpayable',
|
|
921
|
-
type: 'function',
|
|
922
1296
|
},
|
|
923
1297
|
{
|
|
924
|
-
inputs: [],
|
|
925
|
-
name: 'setNumUserWalletsAllowed',
|
|
926
|
-
outputs: [
|
|
927
|
-
{
|
|
928
|
-
name: '',
|
|
929
|
-
type: 'bool',
|
|
930
|
-
},
|
|
931
|
-
],
|
|
932
1298
|
stateMutability: 'nonpayable',
|
|
933
1299
|
type: 'function',
|
|
934
|
-
|
|
935
|
-
{
|
|
1300
|
+
name: 'addPriceSnapshot',
|
|
936
1301
|
inputs: [
|
|
937
1302
|
{
|
|
938
|
-
name: '
|
|
939
|
-
type: '
|
|
1303
|
+
name: '_asset',
|
|
1304
|
+
type: 'address',
|
|
940
1305
|
},
|
|
941
1306
|
],
|
|
942
|
-
name: 'setNumUserWalletsAllowed',
|
|
943
1307
|
outputs: [
|
|
944
1308
|
{
|
|
945
1309
|
name: '',
|
|
946
1310
|
type: 'bool',
|
|
947
1311
|
},
|
|
948
1312
|
],
|
|
949
|
-
stateMutability: 'nonpayable',
|
|
950
|
-
type: 'function',
|
|
951
1313
|
},
|
|
952
1314
|
{
|
|
953
|
-
|
|
954
|
-
name: 'setNumAgentsAllowed',
|
|
955
|
-
outputs: [
|
|
956
|
-
{
|
|
957
|
-
name: '',
|
|
958
|
-
type: 'bool',
|
|
959
|
-
},
|
|
960
|
-
],
|
|
961
|
-
stateMutability: 'nonpayable',
|
|
1315
|
+
stateMutability: 'view',
|
|
962
1316
|
type: 'function',
|
|
963
|
-
|
|
964
|
-
{
|
|
1317
|
+
name: 'getRedStoneData',
|
|
965
1318
|
inputs: [
|
|
966
1319
|
{
|
|
967
|
-
name: '
|
|
1320
|
+
name: '_feed',
|
|
1321
|
+
type: 'address',
|
|
1322
|
+
},
|
|
1323
|
+
{
|
|
1324
|
+
name: '_decimals',
|
|
968
1325
|
type: 'uint256',
|
|
969
1326
|
},
|
|
970
1327
|
],
|
|
971
|
-
name: 'setNumAgentsAllowed',
|
|
972
1328
|
outputs: [
|
|
973
1329
|
{
|
|
974
1330
|
name: '',
|
|
975
|
-
type: '
|
|
1331
|
+
type: 'uint256',
|
|
976
1332
|
},
|
|
977
1333
|
],
|
|
978
|
-
stateMutability: 'nonpayable',
|
|
979
|
-
type: 'function',
|
|
980
1334
|
},
|
|
981
1335
|
{
|
|
1336
|
+
stateMutability: 'view',
|
|
1337
|
+
type: 'function',
|
|
1338
|
+
name: 'getRedStoneData',
|
|
982
1339
|
inputs: [
|
|
983
1340
|
{
|
|
984
|
-
name: '
|
|
1341
|
+
name: '_feed',
|
|
985
1342
|
type: 'address',
|
|
986
1343
|
},
|
|
987
1344
|
{
|
|
988
|
-
name: '
|
|
989
|
-
type: '
|
|
1345
|
+
name: '_decimals',
|
|
1346
|
+
type: 'uint256',
|
|
1347
|
+
},
|
|
1348
|
+
{
|
|
1349
|
+
name: '_staleTime',
|
|
1350
|
+
type: 'uint256',
|
|
990
1351
|
},
|
|
991
1352
|
],
|
|
992
|
-
name: 'setAgentBlacklist',
|
|
993
1353
|
outputs: [
|
|
994
1354
|
{
|
|
995
1355
|
name: '',
|
|
996
|
-
type: '
|
|
1356
|
+
type: 'uint256',
|
|
997
1357
|
},
|
|
998
1358
|
],
|
|
999
|
-
stateMutability: 'nonpayable',
|
|
1000
|
-
type: 'function',
|
|
1001
1359
|
},
|
|
1002
1360
|
{
|
|
1361
|
+
stateMutability: 'nonpayable',
|
|
1362
|
+
type: 'function',
|
|
1363
|
+
name: 'addNewPriceFeed',
|
|
1003
1364
|
inputs: [
|
|
1004
1365
|
{
|
|
1005
1366
|
name: '_asset',
|
|
1006
1367
|
type: 'address',
|
|
1007
1368
|
},
|
|
1008
1369
|
{
|
|
1009
|
-
name: '
|
|
1370
|
+
name: '_newFeed',
|
|
1010
1371
|
type: 'address',
|
|
1011
1372
|
},
|
|
1012
1373
|
],
|
|
1013
|
-
name: 'recoverFunds',
|
|
1014
1374
|
outputs: [
|
|
1015
1375
|
{
|
|
1016
1376
|
name: '',
|
|
1017
1377
|
type: 'bool',
|
|
1018
1378
|
},
|
|
1019
1379
|
],
|
|
1020
|
-
stateMutability: 'nonpayable',
|
|
1021
|
-
type: 'function',
|
|
1022
1380
|
},
|
|
1023
1381
|
{
|
|
1382
|
+
stateMutability: 'nonpayable',
|
|
1383
|
+
type: 'function',
|
|
1384
|
+
name: 'addNewPriceFeed',
|
|
1024
1385
|
inputs: [
|
|
1025
1386
|
{
|
|
1026
|
-
name: '
|
|
1387
|
+
name: '_asset',
|
|
1027
1388
|
type: 'address',
|
|
1028
1389
|
},
|
|
1390
|
+
{
|
|
1391
|
+
name: '_newFeed',
|
|
1392
|
+
type: 'address',
|
|
1393
|
+
},
|
|
1394
|
+
{
|
|
1395
|
+
name: '_staleTime',
|
|
1396
|
+
type: 'uint256',
|
|
1397
|
+
},
|
|
1029
1398
|
],
|
|
1030
|
-
name: 'canCancelCriticalAction',
|
|
1031
1399
|
outputs: [
|
|
1032
1400
|
{
|
|
1033
1401
|
name: '',
|
|
1034
1402
|
type: 'bool',
|
|
1035
1403
|
},
|
|
1036
1404
|
],
|
|
1037
|
-
stateMutability: 'view',
|
|
1038
|
-
type: 'function',
|
|
1039
1405
|
},
|
|
1040
1406
|
{
|
|
1407
|
+
stateMutability: 'nonpayable',
|
|
1408
|
+
type: 'function',
|
|
1409
|
+
name: 'addNewPriceFeed',
|
|
1041
1410
|
inputs: [
|
|
1042
1411
|
{
|
|
1043
|
-
name: '
|
|
1412
|
+
name: '_asset',
|
|
1044
1413
|
type: 'address',
|
|
1045
1414
|
},
|
|
1046
1415
|
{
|
|
1047
|
-
name: '
|
|
1416
|
+
name: '_newFeed',
|
|
1417
|
+
type: 'address',
|
|
1418
|
+
},
|
|
1419
|
+
{
|
|
1420
|
+
name: '_staleTime',
|
|
1421
|
+
type: 'uint256',
|
|
1422
|
+
},
|
|
1423
|
+
{
|
|
1424
|
+
name: '_needsEthToUsd',
|
|
1048
1425
|
type: 'bool',
|
|
1049
1426
|
},
|
|
1050
1427
|
],
|
|
1051
|
-
name: 'setCanCriticalCancel',
|
|
1052
1428
|
outputs: [
|
|
1053
1429
|
{
|
|
1054
1430
|
name: '',
|
|
1055
1431
|
type: 'bool',
|
|
1056
1432
|
},
|
|
1057
1433
|
],
|
|
1058
|
-
stateMutability: 'nonpayable',
|
|
1059
|
-
type: 'function',
|
|
1060
1434
|
},
|
|
1061
1435
|
{
|
|
1062
|
-
inputs: [
|
|
1063
|
-
{
|
|
1064
|
-
name: '_shouldActivate',
|
|
1065
|
-
type: 'bool',
|
|
1066
|
-
},
|
|
1067
|
-
],
|
|
1068
|
-
name: 'activate',
|
|
1069
|
-
outputs: [],
|
|
1070
1436
|
stateMutability: 'nonpayable',
|
|
1071
1437
|
type: 'function',
|
|
1072
|
-
|
|
1073
|
-
{
|
|
1438
|
+
name: 'confirmNewPriceFeed',
|
|
1074
1439
|
inputs: [
|
|
1075
1440
|
{
|
|
1076
|
-
name: '
|
|
1441
|
+
name: '_asset',
|
|
1077
1442
|
type: 'address',
|
|
1078
1443
|
},
|
|
1079
1444
|
],
|
|
1080
|
-
name: 'isUserWallet',
|
|
1081
1445
|
outputs: [
|
|
1082
1446
|
{
|
|
1083
1447
|
name: '',
|
|
1084
1448
|
type: 'bool',
|
|
1085
1449
|
},
|
|
1086
1450
|
],
|
|
1087
|
-
stateMutability: 'view',
|
|
1088
|
-
type: 'function',
|
|
1089
1451
|
},
|
|
1090
1452
|
{
|
|
1091
|
-
|
|
1092
|
-
name: 'trialFundsData',
|
|
1093
|
-
outputs: [
|
|
1094
|
-
{
|
|
1095
|
-
components: [
|
|
1096
|
-
{
|
|
1097
|
-
name: 'asset',
|
|
1098
|
-
type: 'address',
|
|
1099
|
-
},
|
|
1100
|
-
{
|
|
1101
|
-
name: 'amount',
|
|
1102
|
-
type: 'uint256',
|
|
1103
|
-
},
|
|
1104
|
-
],
|
|
1105
|
-
name: '',
|
|
1106
|
-
type: 'tuple',
|
|
1107
|
-
},
|
|
1108
|
-
],
|
|
1109
|
-
stateMutability: 'view',
|
|
1453
|
+
stateMutability: 'nonpayable',
|
|
1110
1454
|
type: 'function',
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
inputs: [],
|
|
1114
|
-
name: 'recoveryCaller',
|
|
1115
|
-
outputs: [
|
|
1455
|
+
name: 'cancelNewPendingPriceFeed',
|
|
1456
|
+
inputs: [
|
|
1116
1457
|
{
|
|
1117
|
-
name: '',
|
|
1458
|
+
name: '_asset',
|
|
1118
1459
|
type: 'address',
|
|
1119
1460
|
},
|
|
1120
1461
|
],
|
|
1121
|
-
stateMutability: 'view',
|
|
1122
|
-
type: 'function',
|
|
1123
|
-
},
|
|
1124
|
-
{
|
|
1125
|
-
inputs: [],
|
|
1126
|
-
name: 'userWalletTemplate',
|
|
1127
1462
|
outputs: [
|
|
1128
1463
|
{
|
|
1129
|
-
components: [
|
|
1130
|
-
{
|
|
1131
|
-
name: 'addr',
|
|
1132
|
-
type: 'address',
|
|
1133
|
-
},
|
|
1134
|
-
{
|
|
1135
|
-
name: 'version',
|
|
1136
|
-
type: 'uint256',
|
|
1137
|
-
},
|
|
1138
|
-
{
|
|
1139
|
-
name: 'lastModified',
|
|
1140
|
-
type: 'uint256',
|
|
1141
|
-
},
|
|
1142
|
-
],
|
|
1143
1464
|
name: '',
|
|
1144
|
-
type: '
|
|
1465
|
+
type: 'bool',
|
|
1145
1466
|
},
|
|
1146
1467
|
],
|
|
1147
|
-
stateMutability: 'view',
|
|
1148
|
-
type: 'function',
|
|
1149
1468
|
},
|
|
1150
1469
|
{
|
|
1151
|
-
|
|
1152
|
-
|
|
1470
|
+
stateMutability: 'view',
|
|
1471
|
+
type: 'function',
|
|
1472
|
+
name: 'isValidNewFeed',
|
|
1473
|
+
inputs: [
|
|
1474
|
+
{
|
|
1475
|
+
name: '_asset',
|
|
1476
|
+
type: 'address',
|
|
1477
|
+
},
|
|
1478
|
+
{
|
|
1479
|
+
name: '_newFeed',
|
|
1480
|
+
type: 'address',
|
|
1481
|
+
},
|
|
1482
|
+
{
|
|
1483
|
+
name: '_decimals',
|
|
1484
|
+
type: 'uint256',
|
|
1485
|
+
},
|
|
1486
|
+
{
|
|
1487
|
+
name: '_needsEthToUsd',
|
|
1488
|
+
type: 'bool',
|
|
1489
|
+
},
|
|
1490
|
+
{
|
|
1491
|
+
name: '_staleTime',
|
|
1492
|
+
type: 'uint256',
|
|
1493
|
+
},
|
|
1494
|
+
],
|
|
1153
1495
|
outputs: [
|
|
1154
1496
|
{
|
|
1155
|
-
components: [
|
|
1156
|
-
{
|
|
1157
|
-
name: 'addr',
|
|
1158
|
-
type: 'address',
|
|
1159
|
-
},
|
|
1160
|
-
{
|
|
1161
|
-
name: 'version',
|
|
1162
|
-
type: 'uint256',
|
|
1163
|
-
},
|
|
1164
|
-
{
|
|
1165
|
-
name: 'lastModified',
|
|
1166
|
-
type: 'uint256',
|
|
1167
|
-
},
|
|
1168
|
-
],
|
|
1169
1497
|
name: '',
|
|
1170
|
-
type: '
|
|
1498
|
+
type: 'bool',
|
|
1171
1499
|
},
|
|
1172
1500
|
],
|
|
1173
|
-
stateMutability: 'view',
|
|
1174
|
-
type: 'function',
|
|
1175
1501
|
},
|
|
1176
1502
|
{
|
|
1503
|
+
stateMutability: 'nonpayable',
|
|
1504
|
+
type: 'function',
|
|
1505
|
+
name: 'updatePriceFeed',
|
|
1177
1506
|
inputs: [
|
|
1178
1507
|
{
|
|
1179
|
-
name: '
|
|
1508
|
+
name: '_asset',
|
|
1509
|
+
type: 'address',
|
|
1510
|
+
},
|
|
1511
|
+
{
|
|
1512
|
+
name: '_newFeed',
|
|
1180
1513
|
type: 'address',
|
|
1181
1514
|
},
|
|
1182
1515
|
],
|
|
1183
|
-
name: '_isUserWallet',
|
|
1184
1516
|
outputs: [
|
|
1185
1517
|
{
|
|
1186
1518
|
name: '',
|
|
1187
1519
|
type: 'bool',
|
|
1188
1520
|
},
|
|
1189
1521
|
],
|
|
1190
|
-
stateMutability: 'view',
|
|
1191
|
-
type: 'function',
|
|
1192
1522
|
},
|
|
1193
1523
|
{
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1524
|
+
stateMutability: 'nonpayable',
|
|
1525
|
+
type: 'function',
|
|
1526
|
+
name: 'updatePriceFeed',
|
|
1527
|
+
inputs: [
|
|
1197
1528
|
{
|
|
1198
|
-
name: '',
|
|
1529
|
+
name: '_asset',
|
|
1530
|
+
type: 'address',
|
|
1531
|
+
},
|
|
1532
|
+
{
|
|
1533
|
+
name: '_newFeed',
|
|
1534
|
+
type: 'address',
|
|
1535
|
+
},
|
|
1536
|
+
{
|
|
1537
|
+
name: '_staleTime',
|
|
1199
1538
|
type: 'uint256',
|
|
1200
1539
|
},
|
|
1201
1540
|
],
|
|
1202
|
-
stateMutability: 'view',
|
|
1203
|
-
type: 'function',
|
|
1204
|
-
},
|
|
1205
|
-
{
|
|
1206
|
-
inputs: [],
|
|
1207
|
-
name: 'agentTemplateInfo',
|
|
1208
1541
|
outputs: [
|
|
1209
1542
|
{
|
|
1210
|
-
components: [
|
|
1211
|
-
{
|
|
1212
|
-
name: 'addr',
|
|
1213
|
-
type: 'address',
|
|
1214
|
-
},
|
|
1215
|
-
{
|
|
1216
|
-
name: 'version',
|
|
1217
|
-
type: 'uint256',
|
|
1218
|
-
},
|
|
1219
|
-
{
|
|
1220
|
-
name: 'lastModified',
|
|
1221
|
-
type: 'uint256',
|
|
1222
|
-
},
|
|
1223
|
-
],
|
|
1224
1543
|
name: '',
|
|
1225
|
-
type: '
|
|
1544
|
+
type: 'bool',
|
|
1226
1545
|
},
|
|
1227
1546
|
],
|
|
1228
|
-
stateMutability: 'view',
|
|
1229
|
-
type: 'function',
|
|
1230
1547
|
},
|
|
1231
1548
|
{
|
|
1549
|
+
stateMutability: 'nonpayable',
|
|
1550
|
+
type: 'function',
|
|
1551
|
+
name: 'updatePriceFeed',
|
|
1232
1552
|
inputs: [
|
|
1233
1553
|
{
|
|
1234
|
-
name: '
|
|
1554
|
+
name: '_asset',
|
|
1555
|
+
type: 'address',
|
|
1556
|
+
},
|
|
1557
|
+
{
|
|
1558
|
+
name: '_newFeed',
|
|
1235
1559
|
type: 'address',
|
|
1236
1560
|
},
|
|
1561
|
+
{
|
|
1562
|
+
name: '_staleTime',
|
|
1563
|
+
type: 'uint256',
|
|
1564
|
+
},
|
|
1565
|
+
{
|
|
1566
|
+
name: '_needsEthToUsd',
|
|
1567
|
+
type: 'bool',
|
|
1568
|
+
},
|
|
1237
1569
|
],
|
|
1238
|
-
name: 'isAgent',
|
|
1239
1570
|
outputs: [
|
|
1240
1571
|
{
|
|
1241
1572
|
name: '',
|
|
1242
1573
|
type: 'bool',
|
|
1243
1574
|
},
|
|
1244
1575
|
],
|
|
1245
|
-
stateMutability: 'view',
|
|
1246
|
-
type: 'function',
|
|
1247
1576
|
},
|
|
1248
1577
|
{
|
|
1249
|
-
|
|
1250
|
-
|
|
1578
|
+
stateMutability: 'nonpayable',
|
|
1579
|
+
type: 'function',
|
|
1580
|
+
name: 'confirmPriceFeedUpdate',
|
|
1581
|
+
inputs: [
|
|
1582
|
+
{
|
|
1583
|
+
name: '_asset',
|
|
1584
|
+
type: 'address',
|
|
1585
|
+
},
|
|
1586
|
+
],
|
|
1251
1587
|
outputs: [
|
|
1252
1588
|
{
|
|
1253
1589
|
name: '',
|
|
1254
|
-
type: '
|
|
1590
|
+
type: 'bool',
|
|
1255
1591
|
},
|
|
1256
1592
|
],
|
|
1257
|
-
stateMutability: 'view',
|
|
1258
|
-
type: 'function',
|
|
1259
1593
|
},
|
|
1260
1594
|
{
|
|
1595
|
+
stateMutability: 'nonpayable',
|
|
1596
|
+
type: 'function',
|
|
1597
|
+
name: 'cancelPriceFeedUpdate',
|
|
1261
1598
|
inputs: [
|
|
1262
1599
|
{
|
|
1263
|
-
name: '
|
|
1600
|
+
name: '_asset',
|
|
1264
1601
|
type: 'address',
|
|
1265
1602
|
},
|
|
1266
1603
|
],
|
|
1267
|
-
name: 'agentBlacklist',
|
|
1268
1604
|
outputs: [
|
|
1269
1605
|
{
|
|
1270
1606
|
name: '',
|
|
1271
1607
|
type: 'bool',
|
|
1272
1608
|
},
|
|
1273
1609
|
],
|
|
1274
|
-
stateMutability: 'view',
|
|
1275
|
-
type: 'function',
|
|
1276
1610
|
},
|
|
1277
1611
|
{
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1612
|
+
stateMutability: 'view',
|
|
1613
|
+
type: 'function',
|
|
1614
|
+
name: 'isValidUpdateFeed',
|
|
1615
|
+
inputs: [
|
|
1281
1616
|
{
|
|
1282
|
-
name: '',
|
|
1617
|
+
name: '_asset',
|
|
1618
|
+
type: 'address',
|
|
1619
|
+
},
|
|
1620
|
+
{
|
|
1621
|
+
name: '_newFeed',
|
|
1622
|
+
type: 'address',
|
|
1623
|
+
},
|
|
1624
|
+
{
|
|
1625
|
+
name: '_decimals',
|
|
1626
|
+
type: 'uint256',
|
|
1627
|
+
},
|
|
1628
|
+
{
|
|
1629
|
+
name: '_needsEthToUsd',
|
|
1630
|
+
type: 'bool',
|
|
1631
|
+
},
|
|
1632
|
+
{
|
|
1633
|
+
name: '_staleTime',
|
|
1283
1634
|
type: 'uint256',
|
|
1284
1635
|
},
|
|
1285
1636
|
],
|
|
1286
|
-
stateMutability: 'view',
|
|
1287
|
-
type: 'function',
|
|
1288
|
-
},
|
|
1289
|
-
{
|
|
1290
|
-
inputs: [],
|
|
1291
|
-
name: 'numAgentsAllowed',
|
|
1292
1637
|
outputs: [
|
|
1293
1638
|
{
|
|
1294
1639
|
name: '',
|
|
1295
|
-
type: '
|
|
1640
|
+
type: 'bool',
|
|
1296
1641
|
},
|
|
1297
1642
|
],
|
|
1298
|
-
stateMutability: 'view',
|
|
1299
|
-
type: 'function',
|
|
1300
1643
|
},
|
|
1301
1644
|
{
|
|
1645
|
+
stateMutability: 'nonpayable',
|
|
1646
|
+
type: 'function',
|
|
1647
|
+
name: 'disablePriceFeed',
|
|
1302
1648
|
inputs: [
|
|
1303
1649
|
{
|
|
1304
|
-
name: '
|
|
1650
|
+
name: '_asset',
|
|
1305
1651
|
type: 'address',
|
|
1306
1652
|
},
|
|
1307
1653
|
],
|
|
1308
|
-
name: 'whitelist',
|
|
1309
1654
|
outputs: [
|
|
1310
1655
|
{
|
|
1311
1656
|
name: '',
|
|
1312
1657
|
type: 'bool',
|
|
1313
1658
|
},
|
|
1314
1659
|
],
|
|
1315
|
-
stateMutability: 'view',
|
|
1316
|
-
type: 'function',
|
|
1317
1660
|
},
|
|
1318
1661
|
{
|
|
1319
|
-
|
|
1320
|
-
|
|
1662
|
+
stateMutability: 'nonpayable',
|
|
1663
|
+
type: 'function',
|
|
1664
|
+
name: 'confirmDisablePriceFeed',
|
|
1665
|
+
inputs: [
|
|
1666
|
+
{
|
|
1667
|
+
name: '_asset',
|
|
1668
|
+
type: 'address',
|
|
1669
|
+
},
|
|
1670
|
+
],
|
|
1321
1671
|
outputs: [
|
|
1322
1672
|
{
|
|
1323
1673
|
name: '',
|
|
1324
1674
|
type: 'bool',
|
|
1325
1675
|
},
|
|
1326
1676
|
],
|
|
1327
|
-
stateMutability: 'view',
|
|
1328
|
-
type: 'function',
|
|
1329
1677
|
},
|
|
1330
1678
|
{
|
|
1679
|
+
stateMutability: 'nonpayable',
|
|
1680
|
+
type: 'function',
|
|
1681
|
+
name: 'cancelDisablePriceFeed',
|
|
1331
1682
|
inputs: [
|
|
1332
1683
|
{
|
|
1333
|
-
name: '
|
|
1684
|
+
name: '_asset',
|
|
1334
1685
|
type: 'address',
|
|
1335
1686
|
},
|
|
1336
1687
|
],
|
|
1337
|
-
name: 'canCriticalCancel',
|
|
1338
1688
|
outputs: [
|
|
1339
1689
|
{
|
|
1340
1690
|
name: '',
|
|
1341
1691
|
type: 'bool',
|
|
1342
1692
|
},
|
|
1343
1693
|
],
|
|
1344
|
-
stateMutability: 'view',
|
|
1345
|
-
type: 'function',
|
|
1346
1694
|
},
|
|
1347
1695
|
{
|
|
1348
|
-
|
|
1349
|
-
|
|
1696
|
+
stateMutability: 'view',
|
|
1697
|
+
type: 'function',
|
|
1698
|
+
name: 'isValidDisablePriceFeed',
|
|
1699
|
+
inputs: [
|
|
1700
|
+
{
|
|
1701
|
+
name: '_asset',
|
|
1702
|
+
type: 'address',
|
|
1703
|
+
},
|
|
1704
|
+
],
|
|
1350
1705
|
outputs: [
|
|
1351
1706
|
{
|
|
1352
1707
|
name: '',
|
|
1353
1708
|
type: 'bool',
|
|
1354
1709
|
},
|
|
1355
1710
|
],
|
|
1356
|
-
stateMutability: 'view',
|
|
1357
|
-
type: 'function',
|
|
1358
1711
|
},
|
|
1359
1712
|
{
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1713
|
+
stateMutability: 'view',
|
|
1714
|
+
type: 'function',
|
|
1715
|
+
name: 'feedConfig',
|
|
1716
|
+
inputs: [
|
|
1363
1717
|
{
|
|
1364
|
-
name: '',
|
|
1718
|
+
name: 'arg0',
|
|
1365
1719
|
type: 'address',
|
|
1366
1720
|
},
|
|
1367
1721
|
],
|
|
1368
|
-
stateMutability: 'view',
|
|
1369
|
-
type: 'function',
|
|
1370
|
-
},
|
|
1371
|
-
{
|
|
1372
|
-
inputs: [],
|
|
1373
|
-
name: 'WETH_ADDR',
|
|
1374
1722
|
outputs: [
|
|
1375
1723
|
{
|
|
1376
1724
|
name: '',
|
|
1377
|
-
type: '
|
|
1725
|
+
type: 'tuple',
|
|
1726
|
+
components: [
|
|
1727
|
+
{
|
|
1728
|
+
name: 'feed',
|
|
1729
|
+
type: 'address',
|
|
1730
|
+
},
|
|
1731
|
+
{
|
|
1732
|
+
name: 'decimals',
|
|
1733
|
+
type: 'uint256',
|
|
1734
|
+
},
|
|
1735
|
+
{
|
|
1736
|
+
name: 'needsEthToUsd',
|
|
1737
|
+
type: 'bool',
|
|
1738
|
+
},
|
|
1739
|
+
{
|
|
1740
|
+
name: 'staleTime',
|
|
1741
|
+
type: 'uint256',
|
|
1742
|
+
},
|
|
1743
|
+
],
|
|
1378
1744
|
},
|
|
1379
1745
|
],
|
|
1380
|
-
stateMutability: 'view',
|
|
1381
|
-
type: 'function',
|
|
1382
1746
|
},
|
|
1383
1747
|
{
|
|
1384
|
-
|
|
1385
|
-
|
|
1748
|
+
stateMutability: 'view',
|
|
1749
|
+
type: 'function',
|
|
1750
|
+
name: 'pendingUpdates',
|
|
1751
|
+
inputs: [
|
|
1752
|
+
{
|
|
1753
|
+
name: 'arg0',
|
|
1754
|
+
type: 'address',
|
|
1755
|
+
},
|
|
1756
|
+
],
|
|
1386
1757
|
outputs: [
|
|
1387
1758
|
{
|
|
1388
1759
|
name: '',
|
|
1389
|
-
type: '
|
|
1760
|
+
type: 'tuple',
|
|
1761
|
+
components: [
|
|
1762
|
+
{
|
|
1763
|
+
name: 'actionId',
|
|
1764
|
+
type: 'uint256',
|
|
1765
|
+
},
|
|
1766
|
+
{
|
|
1767
|
+
name: 'config',
|
|
1768
|
+
type: 'tuple',
|
|
1769
|
+
components: [
|
|
1770
|
+
{
|
|
1771
|
+
name: 'feed',
|
|
1772
|
+
type: 'address',
|
|
1773
|
+
},
|
|
1774
|
+
{
|
|
1775
|
+
name: 'decimals',
|
|
1776
|
+
type: 'uint256',
|
|
1777
|
+
},
|
|
1778
|
+
{
|
|
1779
|
+
name: 'needsEthToUsd',
|
|
1780
|
+
type: 'bool',
|
|
1781
|
+
},
|
|
1782
|
+
{
|
|
1783
|
+
name: 'staleTime',
|
|
1784
|
+
type: 'uint256',
|
|
1785
|
+
},
|
|
1786
|
+
],
|
|
1787
|
+
},
|
|
1788
|
+
],
|
|
1390
1789
|
},
|
|
1391
1790
|
],
|
|
1392
|
-
stateMutability: 'view',
|
|
1393
|
-
type: 'function',
|
|
1394
1791
|
},
|
|
1395
1792
|
{
|
|
1793
|
+
stateMutability: 'view',
|
|
1794
|
+
type: 'function',
|
|
1795
|
+
name: 'ETH',
|
|
1396
1796
|
inputs: [],
|
|
1397
|
-
name: 'MAX_OWNER_CHANGE_DELAY',
|
|
1398
1797
|
outputs: [
|
|
1399
1798
|
{
|
|
1400
1799
|
name: '',
|
|
1401
|
-
type: '
|
|
1800
|
+
type: 'address',
|
|
1402
1801
|
},
|
|
1403
1802
|
],
|
|
1404
|
-
stateMutability: 'view',
|
|
1405
|
-
type: 'function',
|
|
1406
1803
|
},
|
|
1407
1804
|
{
|
|
1805
|
+
stateMutability: 'nonpayable',
|
|
1806
|
+
type: 'constructor',
|
|
1408
1807
|
inputs: [
|
|
1409
1808
|
{
|
|
1410
|
-
name: '
|
|
1809
|
+
name: '_ripeHq',
|
|
1411
1810
|
type: 'address',
|
|
1412
1811
|
},
|
|
1413
1812
|
{
|
|
1414
|
-
name: '
|
|
1813
|
+
name: '_tempGov',
|
|
1415
1814
|
type: 'address',
|
|
1416
1815
|
},
|
|
1417
1816
|
{
|
|
1418
|
-
name: '
|
|
1817
|
+
name: '_ethAddr',
|
|
1419
1818
|
type: 'address',
|
|
1420
1819
|
},
|
|
1421
1820
|
{
|
|
1422
|
-
name: '
|
|
1423
|
-
type: 'address',
|
|
1424
|
-
},
|
|
1425
|
-
{
|
|
1426
|
-
name: '_agentTemplate',
|
|
1427
|
-
type: 'address',
|
|
1428
|
-
},
|
|
1429
|
-
{
|
|
1430
|
-
name: '_minOwnerChangeDelay',
|
|
1821
|
+
name: '_minPriceChangeTimeLock',
|
|
1431
1822
|
type: 'uint256',
|
|
1432
1823
|
},
|
|
1433
1824
|
{
|
|
1434
|
-
name: '
|
|
1825
|
+
name: '_maxPriceChangeTimeLock',
|
|
1435
1826
|
type: 'uint256',
|
|
1436
1827
|
},
|
|
1437
1828
|
],
|
|
1438
1829
|
outputs: [],
|
|
1439
|
-
stateMutability: 'nonpayable',
|
|
1440
|
-
type: 'constructor',
|
|
1441
1830
|
},
|
|
1442
1831
|
];
|
|
1443
|
-
export const deployAddress = '
|
|
1832
|
+
export const deployAddress = '0x4Ef9450f11058fad3456f4461db24b461420A8C8';
|
|
1444
1833
|
function getRequest(method, args, contractAddressOrOptions) {
|
|
1445
1834
|
const address = typeof contractAddressOrOptions === 'string' ? contractAddressOrOptions : contractAddressOrOptions?.contractAddress;
|
|
1446
1835
|
const defaultValue = typeof contractAddressOrOptions === 'string' ? undefined : contractAddressOrOptions?.defaultValue;
|
|
1447
1836
|
const call = {
|
|
1448
|
-
contractName: '
|
|
1837
|
+
contractName: 'RedStone',
|
|
1449
1838
|
method,
|
|
1450
1839
|
args,
|
|
1451
1840
|
address,
|
|
@@ -1469,48 +1858,50 @@ function getRequest(method, args, contractAddressOrOptions) {
|
|
|
1469
1858
|
return call;
|
|
1470
1859
|
}
|
|
1471
1860
|
export const call = {
|
|
1861
|
+
getRipeHqFromGov: (...args) => getRequest('getRipeHqFromGov', args),
|
|
1472
1862
|
canGovern: (...args) => getRequest('canGovern', args),
|
|
1863
|
+
getGovernors: (...args) => getRequest('getGovernors', args),
|
|
1473
1864
|
hasPendingGovChange: (...args) => getRequest('hasPendingGovChange', args),
|
|
1865
|
+
isValidGovTimeLock: (...args) => getRequest('isValidGovTimeLock', args),
|
|
1866
|
+
minGovChangeTimeLock: (...args) => getRequest('minGovChangeTimeLock', args),
|
|
1867
|
+
maxGovChangeTimeLock: (...args) => getRequest('maxGovChangeTimeLock', args),
|
|
1474
1868
|
governance: (...args) => getRequest('governance', args),
|
|
1475
1869
|
pendingGov: (...args) => getRequest('pendingGov', args),
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
WETH_ADDR: (...args) => getRequest('WETH_ADDR', args),
|
|
1508
|
-
MIN_OWNER_CHANGE_DELAY: (...args) => getRequest('MIN_OWNER_CHANGE_DELAY', args),
|
|
1509
|
-
MAX_OWNER_CHANGE_DELAY: (...args) => getRequest('MAX_OWNER_CHANGE_DELAY', args),
|
|
1870
|
+
numGovChanges: (...args) => getRequest('numGovChanges', args),
|
|
1871
|
+
govChangeTimeLock: (...args) => getRequest('govChangeTimeLock', args),
|
|
1872
|
+
getAddys: (...args) => getRequest('getAddys', args),
|
|
1873
|
+
getRipeHq: (...args) => getRequest('getRipeHq', args),
|
|
1874
|
+
getPricedAssets: (...args) => getRequest('getPricedAssets', args),
|
|
1875
|
+
isPaused: (...args) => getRequest('isPaused', args),
|
|
1876
|
+
assets: (...args) => getRequest('assets', args),
|
|
1877
|
+
indexOfAsset: (...args) => getRequest('indexOfAsset', args),
|
|
1878
|
+
numAssets: (...args) => getRequest('numAssets', args),
|
|
1879
|
+
canConfirmAction: (...args) => getRequest('canConfirmAction', args),
|
|
1880
|
+
isExpired: (...args) => getRequest('isExpired', args),
|
|
1881
|
+
hasPendingAction: (...args) => getRequest('hasPendingAction', args),
|
|
1882
|
+
getActionConfirmationBlock: (...args) => getRequest('getActionConfirmationBlock', args),
|
|
1883
|
+
isValidActionTimeLock: (...args) => getRequest('isValidActionTimeLock', args),
|
|
1884
|
+
minActionTimeLock: (...args) => getRequest('minActionTimeLock', args),
|
|
1885
|
+
maxActionTimeLock: (...args) => getRequest('maxActionTimeLock', args),
|
|
1886
|
+
pendingActions: (...args) => getRequest('pendingActions', args),
|
|
1887
|
+
actionId: (...args) => getRequest('actionId', args),
|
|
1888
|
+
actionTimeLock: (...args) => getRequest('actionTimeLock', args),
|
|
1889
|
+
expiration: (...args) => getRequest('expiration', args),
|
|
1890
|
+
getPrice: (...args) => getRequest('getPrice', args),
|
|
1891
|
+
getPriceAndHasFeed: (...args) => getRequest('getPriceAndHasFeed', args),
|
|
1892
|
+
hasPriceFeed: (...args) => getRequest('hasPriceFeed', args),
|
|
1893
|
+
hasPendingPriceFeedUpdate: (...args) => getRequest('hasPendingPriceFeedUpdate', args),
|
|
1894
|
+
getRedStoneData: (...args) => getRequest('getRedStoneData', args),
|
|
1895
|
+
isValidNewFeed: (...args) => getRequest('isValidNewFeed', args),
|
|
1896
|
+
isValidUpdateFeed: (...args) => getRequest('isValidUpdateFeed', args),
|
|
1897
|
+
isValidDisablePriceFeed: (...args) => getRequest('isValidDisablePriceFeed', args),
|
|
1898
|
+
feedConfig: (...args) => getRequest('feedConfig', args),
|
|
1899
|
+
pendingUpdates: (...args) => getRequest('pendingUpdates', args),
|
|
1900
|
+
ETH: (...args) => getRequest('ETH', args),
|
|
1510
1901
|
};
|
|
1511
1902
|
function getMutation(functionName) {
|
|
1512
1903
|
return {
|
|
1513
|
-
contractName: '
|
|
1904
|
+
contractName: 'RedStone',
|
|
1514
1905
|
functionName,
|
|
1515
1906
|
deployAddress,
|
|
1516
1907
|
argsType: undefined,
|
|
@@ -1518,92 +1909,96 @@ function getMutation(functionName) {
|
|
|
1518
1909
|
};
|
|
1519
1910
|
}
|
|
1520
1911
|
export const mutation = {
|
|
1521
|
-
|
|
1912
|
+
startGovernanceChange: getMutation('startGovernanceChange'),
|
|
1522
1913
|
confirmGovernanceChange: getMutation('confirmGovernanceChange'),
|
|
1523
1914
|
cancelGovernanceChange: getMutation('cancelGovernanceChange'),
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
createAgent: getMutation('createAgent'),
|
|
1529
|
-
setAgentTemplate: getMutation('setAgentTemplate'),
|
|
1530
|
-
setTrialFundsData: getMutation('setTrialFundsData'),
|
|
1531
|
-
recoverTrialFunds: getMutation('recoverTrialFunds'),
|
|
1532
|
-
recoverTrialFundsMany: getMutation('recoverTrialFundsMany'),
|
|
1533
|
-
setRecoveryCaller: getMutation('setRecoveryCaller'),
|
|
1534
|
-
setWhitelist: getMutation('setWhitelist'),
|
|
1535
|
-
setShouldEnforceWhitelist: getMutation('setShouldEnforceWhitelist'),
|
|
1536
|
-
setNumUserWalletsAllowed: getMutation('setNumUserWalletsAllowed'),
|
|
1537
|
-
setNumAgentsAllowed: getMutation('setNumAgentsAllowed'),
|
|
1538
|
-
setAgentBlacklist: getMutation('setAgentBlacklist'),
|
|
1915
|
+
relinquishGov: getMutation('relinquishGov'),
|
|
1916
|
+
setGovTimeLock: getMutation('setGovTimeLock'),
|
|
1917
|
+
finishRipeHqSetup: getMutation('finishRipeHqSetup'),
|
|
1918
|
+
pause: getMutation('pause'),
|
|
1539
1919
|
recoverFunds: getMutation('recoverFunds'),
|
|
1540
|
-
|
|
1541
|
-
|
|
1920
|
+
recoverFundsMany: getMutation('recoverFundsMany'),
|
|
1921
|
+
setActionTimeLock: getMutation('setActionTimeLock'),
|
|
1922
|
+
setExpiration: getMutation('setExpiration'),
|
|
1923
|
+
setActionTimeLockAfterSetup: getMutation('setActionTimeLockAfterSetup'),
|
|
1924
|
+
addPriceSnapshot: getMutation('addPriceSnapshot'),
|
|
1925
|
+
addNewPriceFeed: getMutation('addNewPriceFeed'),
|
|
1926
|
+
confirmNewPriceFeed: getMutation('confirmNewPriceFeed'),
|
|
1927
|
+
cancelNewPendingPriceFeed: getMutation('cancelNewPendingPriceFeed'),
|
|
1928
|
+
updatePriceFeed: getMutation('updatePriceFeed'),
|
|
1929
|
+
confirmPriceFeedUpdate: getMutation('confirmPriceFeedUpdate'),
|
|
1930
|
+
cancelPriceFeedUpdate: getMutation('cancelPriceFeedUpdate'),
|
|
1931
|
+
disablePriceFeed: getMutation('disablePriceFeed'),
|
|
1932
|
+
confirmDisablePriceFeed: getMutation('confirmDisablePriceFeed'),
|
|
1933
|
+
cancelDisablePriceFeed: getMutation('cancelDisablePriceFeed'),
|
|
1542
1934
|
};
|
|
1543
1935
|
export function toSdk(publicClient, walletClient) {
|
|
1544
1936
|
return {
|
|
1545
1937
|
deployAddress,
|
|
1546
1938
|
abi,
|
|
1547
1939
|
// Queries
|
|
1940
|
+
getRipeHqFromGov: (...args) => singleQuery(publicClient, call.getRipeHqFromGov(...args)),
|
|
1548
1941
|
canGovern: (...args) => singleQuery(publicClient, call.canGovern(...args)),
|
|
1942
|
+
getGovernors: (...args) => singleQuery(publicClient, call.getGovernors(...args)),
|
|
1549
1943
|
hasPendingGovChange: (...args) => singleQuery(publicClient, call.hasPendingGovChange(...args)),
|
|
1944
|
+
isValidGovTimeLock: (...args) => singleQuery(publicClient, call.isValidGovTimeLock(...args)),
|
|
1945
|
+
minGovChangeTimeLock: (...args) => singleQuery(publicClient, call.minGovChangeTimeLock(...args)),
|
|
1946
|
+
maxGovChangeTimeLock: (...args) => singleQuery(publicClient, call.maxGovChangeTimeLock(...args)),
|
|
1550
1947
|
governance: (...args) => singleQuery(publicClient, call.governance(...args)),
|
|
1551
1948
|
pendingGov: (...args) => singleQuery(publicClient, call.pendingGov(...args)),
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
WETH_ADDR: (...args) => singleQuery(publicClient, call.WETH_ADDR(...args)),
|
|
1584
|
-
MIN_OWNER_CHANGE_DELAY: (...args) => singleQuery(publicClient, call.MIN_OWNER_CHANGE_DELAY(...args)),
|
|
1585
|
-
MAX_OWNER_CHANGE_DELAY: (...args) => singleQuery(publicClient, call.MAX_OWNER_CHANGE_DELAY(...args)),
|
|
1949
|
+
numGovChanges: (...args) => singleQuery(publicClient, call.numGovChanges(...args)),
|
|
1950
|
+
govChangeTimeLock: (...args) => singleQuery(publicClient, call.govChangeTimeLock(...args)),
|
|
1951
|
+
getAddys: (...args) => singleQuery(publicClient, call.getAddys(...args)),
|
|
1952
|
+
getRipeHq: (...args) => singleQuery(publicClient, call.getRipeHq(...args)),
|
|
1953
|
+
getPricedAssets: (...args) => singleQuery(publicClient, call.getPricedAssets(...args)),
|
|
1954
|
+
isPaused: (...args) => singleQuery(publicClient, call.isPaused(...args)),
|
|
1955
|
+
assets: (...args) => singleQuery(publicClient, call.assets(...args)),
|
|
1956
|
+
indexOfAsset: (...args) => singleQuery(publicClient, call.indexOfAsset(...args)),
|
|
1957
|
+
numAssets: (...args) => singleQuery(publicClient, call.numAssets(...args)),
|
|
1958
|
+
canConfirmAction: (...args) => singleQuery(publicClient, call.canConfirmAction(...args)),
|
|
1959
|
+
isExpired: (...args) => singleQuery(publicClient, call.isExpired(...args)),
|
|
1960
|
+
hasPendingAction: (...args) => singleQuery(publicClient, call.hasPendingAction(...args)),
|
|
1961
|
+
getActionConfirmationBlock: (...args) => singleQuery(publicClient, call.getActionConfirmationBlock(...args)),
|
|
1962
|
+
isValidActionTimeLock: (...args) => singleQuery(publicClient, call.isValidActionTimeLock(...args)),
|
|
1963
|
+
minActionTimeLock: (...args) => singleQuery(publicClient, call.minActionTimeLock(...args)),
|
|
1964
|
+
maxActionTimeLock: (...args) => singleQuery(publicClient, call.maxActionTimeLock(...args)),
|
|
1965
|
+
pendingActions: (...args) => singleQuery(publicClient, call.pendingActions(...args)),
|
|
1966
|
+
actionId: (...args) => singleQuery(publicClient, call.actionId(...args)),
|
|
1967
|
+
actionTimeLock: (...args) => singleQuery(publicClient, call.actionTimeLock(...args)),
|
|
1968
|
+
expiration: (...args) => singleQuery(publicClient, call.expiration(...args)),
|
|
1969
|
+
getPrice: (...args) => singleQuery(publicClient, call.getPrice(...args)),
|
|
1970
|
+
getPriceAndHasFeed: (...args) => singleQuery(publicClient, call.getPriceAndHasFeed(...args)),
|
|
1971
|
+
hasPriceFeed: (...args) => singleQuery(publicClient, call.hasPriceFeed(...args)),
|
|
1972
|
+
hasPendingPriceFeedUpdate: (...args) => singleQuery(publicClient, call.hasPendingPriceFeedUpdate(...args)),
|
|
1973
|
+
getRedStoneData: (...args) => singleQuery(publicClient, call.getRedStoneData(...args)),
|
|
1974
|
+
isValidNewFeed: (...args) => singleQuery(publicClient, call.isValidNewFeed(...args)),
|
|
1975
|
+
isValidUpdateFeed: (...args) => singleQuery(publicClient, call.isValidUpdateFeed(...args)),
|
|
1976
|
+
isValidDisablePriceFeed: (...args) => singleQuery(publicClient, call.isValidDisablePriceFeed(...args)),
|
|
1977
|
+
feedConfig: (...args) => singleQuery(publicClient, call.feedConfig(...args)),
|
|
1978
|
+
pendingUpdates: (...args) => singleQuery(publicClient, call.pendingUpdates(...args)),
|
|
1979
|
+
ETH: (...args) => singleQuery(publicClient, call.ETH(...args)),
|
|
1586
1980
|
// Mutations
|
|
1587
|
-
|
|
1981
|
+
startGovernanceChange: (...args) => mutate(walletClient, mutation.startGovernanceChange)(...args),
|
|
1588
1982
|
confirmGovernanceChange: (...args) => mutate(walletClient, mutation.confirmGovernanceChange)(...args),
|
|
1589
1983
|
cancelGovernanceChange: (...args) => mutate(walletClient, mutation.cancelGovernanceChange)(...args),
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
createAgent: (...args) => mutate(walletClient, mutation.createAgent)(...args),
|
|
1595
|
-
setAgentTemplate: (...args) => mutate(walletClient, mutation.setAgentTemplate)(...args),
|
|
1596
|
-
setTrialFundsData: (...args) => mutate(walletClient, mutation.setTrialFundsData)(...args),
|
|
1597
|
-
recoverTrialFunds: (...args) => mutate(walletClient, mutation.recoverTrialFunds)(...args),
|
|
1598
|
-
recoverTrialFundsMany: (...args) => mutate(walletClient, mutation.recoverTrialFundsMany)(...args),
|
|
1599
|
-
setRecoveryCaller: (...args) => mutate(walletClient, mutation.setRecoveryCaller)(...args),
|
|
1600
|
-
setWhitelist: (...args) => mutate(walletClient, mutation.setWhitelist)(...args),
|
|
1601
|
-
setShouldEnforceWhitelist: (...args) => mutate(walletClient, mutation.setShouldEnforceWhitelist)(...args),
|
|
1602
|
-
setNumUserWalletsAllowed: (...args) => mutate(walletClient, mutation.setNumUserWalletsAllowed)(...args),
|
|
1603
|
-
setNumAgentsAllowed: (...args) => mutate(walletClient, mutation.setNumAgentsAllowed)(...args),
|
|
1604
|
-
setAgentBlacklist: (...args) => mutate(walletClient, mutation.setAgentBlacklist)(...args),
|
|
1984
|
+
relinquishGov: (...args) => mutate(walletClient, mutation.relinquishGov)(...args),
|
|
1985
|
+
setGovTimeLock: (...args) => mutate(walletClient, mutation.setGovTimeLock)(...args),
|
|
1986
|
+
finishRipeHqSetup: (...args) => mutate(walletClient, mutation.finishRipeHqSetup)(...args),
|
|
1987
|
+
pause: (...args) => mutate(walletClient, mutation.pause)(...args),
|
|
1605
1988
|
recoverFunds: (...args) => mutate(walletClient, mutation.recoverFunds)(...args),
|
|
1606
|
-
|
|
1607
|
-
|
|
1989
|
+
recoverFundsMany: (...args) => mutate(walletClient, mutation.recoverFundsMany)(...args),
|
|
1990
|
+
setActionTimeLock: (...args) => mutate(walletClient, mutation.setActionTimeLock)(...args),
|
|
1991
|
+
setExpiration: (...args) => mutate(walletClient, mutation.setExpiration)(...args),
|
|
1992
|
+
setActionTimeLockAfterSetup: (...args) => mutate(walletClient, mutation.setActionTimeLockAfterSetup)(...args),
|
|
1993
|
+
addPriceSnapshot: (...args) => mutate(walletClient, mutation.addPriceSnapshot)(...args),
|
|
1994
|
+
addNewPriceFeed: (...args) => mutate(walletClient, mutation.addNewPriceFeed)(...args),
|
|
1995
|
+
confirmNewPriceFeed: (...args) => mutate(walletClient, mutation.confirmNewPriceFeed)(...args),
|
|
1996
|
+
cancelNewPendingPriceFeed: (...args) => mutate(walletClient, mutation.cancelNewPendingPriceFeed)(...args),
|
|
1997
|
+
updatePriceFeed: (...args) => mutate(walletClient, mutation.updatePriceFeed)(...args),
|
|
1998
|
+
confirmPriceFeedUpdate: (...args) => mutate(walletClient, mutation.confirmPriceFeedUpdate)(...args),
|
|
1999
|
+
cancelPriceFeedUpdate: (...args) => mutate(walletClient, mutation.cancelPriceFeedUpdate)(...args),
|
|
2000
|
+
disablePriceFeed: (...args) => mutate(walletClient, mutation.disablePriceFeed)(...args),
|
|
2001
|
+
confirmDisablePriceFeed: (...args) => mutate(walletClient, mutation.confirmDisablePriceFeed)(...args),
|
|
2002
|
+
cancelDisablePriceFeed: (...args) => mutate(walletClient, mutation.cancelDisablePriceFeed)(...args),
|
|
1608
2003
|
};
|
|
1609
2004
|
}
|