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