@underscore-finance/sdk 1.2.17 → 1.2.19
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/AGENTS.md +161 -0
- package/README.md +17 -116
- package/abis.json +179426 -0
- package/addresses.json +75 -0
- package/dist/contracts/AaveV3.d.ts.map +1 -1
- package/dist/contracts/AaveV3.js +1898 -1919
- package/dist/contracts/AeroClassic.d.ts.map +1 -1
- package/dist/contracts/AeroClassic.js +1518 -1533
- package/dist/contracts/AeroSlipstream.d.ts.map +1 -1
- package/dist/contracts/AeroSlipstream.js +1620 -1641
- package/dist/contracts/AgentSenderGeneric.d.ts +1 -1
- package/dist/contracts/AgentSenderGeneric.d.ts.map +1 -1
- package/dist/contracts/AgentSenderGeneric.js +3093 -3108
- package/dist/contracts/AgentSenderSpecial.d.ts +1 -1
- package/dist/contracts/AgentSenderSpecial.d.ts.map +1 -1
- package/dist/contracts/AgentSenderSpecial.js +1495 -1510
- package/dist/contracts/AgentSenderSpecialSigHelper.d.ts +1 -1
- package/dist/contracts/AgentSenderSpecialSigHelper.d.ts.map +1 -1
- package/dist/contracts/AgentSenderSpecialSigHelper.js +1733 -1733
- package/dist/contracts/AgentWrapper.d.ts +1 -1
- package/dist/contracts/AgentWrapper.d.ts.map +1 -1
- package/dist/contracts/AgentWrapper.js +1926 -1929
- package/dist/contracts/AgentWrapperV1.d.ts +1 -1
- package/dist/contracts/AgentWrapperV1.d.ts.map +1 -1
- package/dist/contracts/AgentWrapperV1.js +2727 -2742
- package/dist/contracts/AgentWrapperV2.d.ts +1 -1
- package/dist/contracts/AgentWrapperV2.d.ts.map +1 -1
- package/dist/contracts/AgentWrapperV2.js +1832 -1835
- package/dist/contracts/Appraiser.d.ts.map +1 -1
- package/dist/contracts/Appraiser.js +404 -410
- package/dist/contracts/Avantis.d.ts.map +1 -1
- package/dist/contracts/Avantis.js +1905 -1929
- package/dist/contracts/Billing.d.ts.map +1 -1
- package/dist/contracts/Billing.js +235 -247
- package/dist/contracts/ChequeBook.d.ts.map +1 -1
- package/dist/contracts/ChequeBook.js +868 -877
- package/dist/contracts/CompoundV3.d.ts.map +1 -1
- package/dist/contracts/CompoundV3.js +1919 -1943
- package/dist/contracts/ConvertVaultToken.d.ts.map +1 -1
- package/dist/contracts/ConvertVaultToken.js +31 -31
- package/dist/contracts/Curve.d.ts.map +1 -1
- package/dist/contracts/Curve.js +787 -802
- package/dist/contracts/DefaultsBase.d.ts.map +1 -1
- package/dist/contracts/DefaultsBase.js +178 -178
- package/dist/contracts/ERC20.d.ts.map +1 -1
- package/dist/contracts/ERC20.js +186 -192
- package/dist/contracts/EarnVault.d.ts.map +1 -1
- package/dist/contracts/EarnVault.js +1262 -1292
- package/dist/contracts/EarnVaultAgent.d.ts.map +1 -1
- package/dist/contracts/EarnVaultAgent.js +745 -760
- package/dist/contracts/EarnVaultAgentSigHelper.d.ts.map +1 -1
- package/dist/contracts/EarnVaultAgentSigHelper.js +665 -665
- package/dist/contracts/Euler.d.ts.map +1 -1
- package/dist/contracts/Euler.js +1948 -1975
- package/dist/contracts/ExtraFi.d.ts.map +1 -1
- package/dist/contracts/ExtraFi.js +1929 -1953
- package/dist/contracts/Fluid.d.ts.map +1 -1
- package/dist/contracts/Fluid.js +1927 -1951
- package/dist/contracts/FortyAcres.d.ts.map +1 -1
- package/dist/contracts/FortyAcres.js +1916 -1940
- package/dist/contracts/Hatchery.d.ts.map +1 -1
- package/dist/contracts/Hatchery.js +255 -264
- package/dist/contracts/Helpers.d.ts.map +1 -1
- package/dist/contracts/Helpers.js +1069 -1123
- package/dist/contracts/HighCommand.d.ts.map +1 -1
- package/dist/contracts/HighCommand.js +1395 -1407
- package/dist/contracts/Kernel.d.ts.map +1 -1
- package/dist/contracts/Kernel.js +224 -236
- package/dist/contracts/Ledger.d.ts +9 -12
- package/dist/contracts/Ledger.d.ts.map +1 -1
- package/dist/contracts/Ledger.js +480 -486
- package/dist/contracts/LegoBook.d.ts.map +1 -1
- package/dist/contracts/LegoBook.js +1069 -1123
- package/dist/contracts/LegoTools.d.ts +16 -22
- package/dist/contracts/LegoTools.d.ts.map +1 -1
- package/dist/contracts/LegoTools.js +1420 -1426
- package/dist/contracts/LevgVault.d.ts.map +1 -1
- package/dist/contracts/LevgVault.js +1544 -1580
- package/dist/contracts/LevgVaultAgent.d.ts.map +1 -1
- package/dist/contracts/LevgVaultAgent.js +1514 -1529
- package/dist/contracts/LevgVaultAgentSigHelper.d.ts.map +1 -1
- package/dist/contracts/LevgVaultAgentSigHelper.js +1769 -1769
- package/dist/contracts/LevgVaultHelper.d.ts.map +1 -1
- package/dist/contracts/LevgVaultHelper.js +732 -732
- package/dist/contracts/LevgVaultTools.d.ts.map +1 -1
- package/dist/contracts/LevgVaultTools.js +2118 -2118
- package/dist/contracts/LootDistributor.d.ts.map +1 -1
- package/dist/contracts/LootDistributor.js +753 -789
- package/dist/contracts/Migrator.d.ts.map +1 -1
- package/dist/contracts/Migrator.js +168 -174
- package/dist/contracts/MissionControl.d.ts.map +1 -1
- package/dist/contracts/MissionControl.js +956 -962
- package/dist/contracts/Moonwell.d.ts.map +1 -1
- package/dist/contracts/Moonwell.js +1918 -1942
- package/dist/contracts/Morpho.d.ts.map +1 -1
- package/dist/contracts/Morpho.js +1948 -1975
- package/dist/contracts/Paymaster.d.ts.map +1 -1
- package/dist/contracts/Paymaster.js +1203 -1224
- package/dist/contracts/RipeLego.d.ts.map +1 -1
- package/dist/contracts/RipeLego.js +2134 -2176
- package/dist/contracts/Sentinel.d.ts +32 -41
- package/dist/contracts/Sentinel.d.ts.map +1 -1
- package/dist/contracts/Sentinel.js +1398 -1398
- package/dist/contracts/SignatureHelper.d.ts.map +1 -1
- package/dist/contracts/SignatureHelper.js +3202 -3202
- package/dist/contracts/SignatureHelperV1.d.ts +1 -1
- package/dist/contracts/SignatureHelperV1.d.ts.map +1 -1
- package/dist/contracts/SignatureHelperV1.js +3223 -3223
- package/dist/contracts/SkyPsm.d.ts.map +1 -1
- package/dist/contracts/SkyPsm.js +1953 -1980
- package/dist/contracts/Switchboard.d.ts.map +1 -1
- package/dist/contracts/Switchboard.js +1085 -1139
- package/dist/contracts/SwitchboardAlpha.d.ts.map +1 -1
- package/dist/contracts/SwitchboardAlpha.js +2333 -2474
- package/dist/contracts/SwitchboardBravo.d.ts.map +1 -1
- package/dist/contracts/SwitchboardBravo.js +1138 -1216
- package/dist/contracts/SwitchboardCharlie.d.ts.map +1 -1
- package/dist/contracts/SwitchboardCharlie.js +2295 -2475
- package/dist/contracts/UnderscoreLego.d.ts.map +1 -1
- package/dist/contracts/UnderscoreLego.js +1894 -1918
- package/dist/contracts/UndyAero.d.ts.map +1 -1
- package/dist/contracts/UndyAero.js +1342 -1372
- package/dist/contracts/UndyBtc.d.ts.map +1 -1
- package/dist/contracts/UndyBtc.js +1342 -1372
- package/dist/contracts/UndyCbeth.d.ts.map +1 -1
- package/dist/contracts/UndyCbeth.js +1342 -1372
- package/dist/contracts/UndyEth.d.ts.map +1 -1
- package/dist/contracts/UndyEth.js +1342 -1372
- package/dist/contracts/UndyEurc.d.ts.map +1 -1
- package/dist/contracts/UndyEurc.js +1342 -1372
- package/dist/contracts/UndyGho.d.ts.map +1 -1
- package/dist/contracts/UndyGho.js +1342 -1372
- package/dist/contracts/UndyHq.d.ts.map +1 -1
- package/dist/contracts/UndyHq.js +1234 -1300
- package/dist/contracts/UndyRewardsLego.d.ts.map +1 -1
- package/dist/contracts/UndyRewardsLego.js +1120 -1120
- package/dist/contracts/UndyUsd.d.ts.map +1 -1
- package/dist/contracts/UndyUsd.js +1342 -1372
- package/dist/contracts/UndyUsds.d.ts.map +1 -1
- package/dist/contracts/UndyUsds.js +1342 -1372
- package/dist/contracts/UndyVirtual.d.ts.map +1 -1
- package/dist/contracts/UndyVirtual.js +1363 -1396
- package/dist/contracts/UniswapV2.d.ts.map +1 -1
- package/dist/contracts/UniswapV2.js +1518 -1533
- package/dist/contracts/UniswapV3.d.ts.map +1 -1
- package/dist/contracts/UniswapV3.js +1620 -1641
- package/dist/contracts/UserWallet.d.ts.map +1 -1
- package/dist/contracts/UserWallet.js +1999 -2005
- package/dist/contracts/UserWalletConfig.d.ts.map +1 -1
- package/dist/contracts/UserWalletConfig.js +2572 -2593
- package/dist/contracts/UserWalletConfigV1.d.ts.map +1 -1
- package/dist/contracts/UserWalletConfigV1.js +2327 -2348
- package/dist/contracts/UserWalletSignatureHelper.d.ts +1 -1
- package/dist/contracts/UserWalletSignatureHelper.d.ts.map +1 -1
- package/dist/contracts/UserWalletSignatureHelper.js +3458 -3458
- package/dist/contracts/UserWalletV1.d.ts.map +1 -1
- package/dist/contracts/UserWalletV1.js +1914 -1920
- package/dist/contracts/VaultRegistry.d.ts +11 -14
- package/dist/contracts/VaultRegistry.d.ts.map +1 -1
- package/dist/contracts/VaultRegistry.js +2343 -2439
- package/dist/contracts/WalletBackpack.d.ts.map +1 -1
- package/dist/contracts/WalletBackpack.js +926 -965
- package/dist/contracts/Wasabi.d.ts.map +1 -1
- package/dist/contracts/Wasabi.js +1916 -1940
- package/dist/contracts/sdk.d.ts +8 -8
- package/dist/contracts/sdk.d.ts.map +1 -1
- package/dist/contracts/sdk.js +8 -8
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +9 -5
- package/package.json +44 -24
- package/LICENSE +0 -41
- package/dist/contracts/Agent.d.ts +0 -3773
- package/dist/contracts/Agent.d.ts.map +0 -1
- package/dist/contracts/Agent.js +0 -4942
- package/dist/getContracts.d.ts +0 -77
- package/dist/getContracts.d.ts.map +0 -1
- package/dist/getContracts.js +0 -64
|
@@ -3,2030 +3,2030 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/* @ts-nocheck */
|
|
5
5
|
import { singleQuery, mutate } from '@dappql/async';
|
|
6
|
-
import { encodeEventTopics, parseEventLogs
|
|
6
|
+
import { encodeEventTopics, parseEventLogs } from 'viem';
|
|
7
7
|
export const abi = [
|
|
8
8
|
{
|
|
9
|
-
name:
|
|
10
|
-
inputs: [
|
|
9
|
+
"name": "Deposit",
|
|
10
|
+
"inputs": [
|
|
11
11
|
{
|
|
12
|
-
name:
|
|
13
|
-
type:
|
|
14
|
-
indexed: true
|
|
12
|
+
"name": "sender",
|
|
13
|
+
"type": "address",
|
|
14
|
+
"indexed": true
|
|
15
15
|
},
|
|
16
16
|
{
|
|
17
|
-
name:
|
|
18
|
-
type:
|
|
19
|
-
indexed: true
|
|
17
|
+
"name": "owner",
|
|
18
|
+
"type": "address",
|
|
19
|
+
"indexed": true
|
|
20
20
|
},
|
|
21
21
|
{
|
|
22
|
-
name:
|
|
23
|
-
type:
|
|
24
|
-
indexed: false
|
|
22
|
+
"name": "assets",
|
|
23
|
+
"type": "uint256",
|
|
24
|
+
"indexed": false
|
|
25
25
|
},
|
|
26
26
|
{
|
|
27
|
-
name:
|
|
28
|
-
type:
|
|
29
|
-
indexed: false
|
|
30
|
-
}
|
|
27
|
+
"name": "shares",
|
|
28
|
+
"type": "uint256",
|
|
29
|
+
"indexed": false
|
|
30
|
+
}
|
|
31
31
|
],
|
|
32
|
-
anonymous: false,
|
|
33
|
-
type:
|
|
32
|
+
"anonymous": false,
|
|
33
|
+
"type": "event"
|
|
34
34
|
},
|
|
35
35
|
{
|
|
36
|
-
name:
|
|
37
|
-
inputs: [
|
|
36
|
+
"name": "Withdraw",
|
|
37
|
+
"inputs": [
|
|
38
38
|
{
|
|
39
|
-
name:
|
|
40
|
-
type:
|
|
41
|
-
indexed: true
|
|
39
|
+
"name": "sender",
|
|
40
|
+
"type": "address",
|
|
41
|
+
"indexed": true
|
|
42
42
|
},
|
|
43
43
|
{
|
|
44
|
-
name:
|
|
45
|
-
type:
|
|
46
|
-
indexed: true
|
|
44
|
+
"name": "receiver",
|
|
45
|
+
"type": "address",
|
|
46
|
+
"indexed": true
|
|
47
47
|
},
|
|
48
48
|
{
|
|
49
|
-
name:
|
|
50
|
-
type:
|
|
51
|
-
indexed: true
|
|
49
|
+
"name": "owner",
|
|
50
|
+
"type": "address",
|
|
51
|
+
"indexed": true
|
|
52
52
|
},
|
|
53
53
|
{
|
|
54
|
-
name:
|
|
55
|
-
type:
|
|
56
|
-
indexed: false
|
|
54
|
+
"name": "assets",
|
|
55
|
+
"type": "uint256",
|
|
56
|
+
"indexed": false
|
|
57
57
|
},
|
|
58
58
|
{
|
|
59
|
-
name:
|
|
60
|
-
type:
|
|
61
|
-
indexed: false
|
|
62
|
-
}
|
|
59
|
+
"name": "shares",
|
|
60
|
+
"type": "uint256",
|
|
61
|
+
"indexed": false
|
|
62
|
+
}
|
|
63
63
|
],
|
|
64
|
-
anonymous: false,
|
|
65
|
-
type:
|
|
64
|
+
"anonymous": false,
|
|
65
|
+
"type": "event"
|
|
66
66
|
},
|
|
67
67
|
{
|
|
68
|
-
name:
|
|
69
|
-
inputs: [
|
|
68
|
+
"name": "Transfer",
|
|
69
|
+
"inputs": [
|
|
70
70
|
{
|
|
71
|
-
name:
|
|
72
|
-
type:
|
|
73
|
-
indexed: true
|
|
71
|
+
"name": "sender",
|
|
72
|
+
"type": "address",
|
|
73
|
+
"indexed": true
|
|
74
74
|
},
|
|
75
75
|
{
|
|
76
|
-
name:
|
|
77
|
-
type:
|
|
78
|
-
indexed: true
|
|
76
|
+
"name": "recipient",
|
|
77
|
+
"type": "address",
|
|
78
|
+
"indexed": true
|
|
79
79
|
},
|
|
80
80
|
{
|
|
81
|
-
name:
|
|
82
|
-
type:
|
|
83
|
-
indexed: false
|
|
84
|
-
}
|
|
81
|
+
"name": "amount",
|
|
82
|
+
"type": "uint256",
|
|
83
|
+
"indexed": false
|
|
84
|
+
}
|
|
85
85
|
],
|
|
86
|
-
anonymous: false,
|
|
87
|
-
type:
|
|
86
|
+
"anonymous": false,
|
|
87
|
+
"type": "event"
|
|
88
88
|
},
|
|
89
89
|
{
|
|
90
|
-
name:
|
|
91
|
-
inputs: [
|
|
90
|
+
"name": "Approval",
|
|
91
|
+
"inputs": [
|
|
92
92
|
{
|
|
93
|
-
name:
|
|
94
|
-
type:
|
|
95
|
-
indexed: true
|
|
93
|
+
"name": "owner",
|
|
94
|
+
"type": "address",
|
|
95
|
+
"indexed": true
|
|
96
96
|
},
|
|
97
97
|
{
|
|
98
|
-
name:
|
|
99
|
-
type:
|
|
100
|
-
indexed: true
|
|
98
|
+
"name": "spender",
|
|
99
|
+
"type": "address",
|
|
100
|
+
"indexed": true
|
|
101
101
|
},
|
|
102
102
|
{
|
|
103
|
-
name:
|
|
104
|
-
type:
|
|
105
|
-
indexed: false
|
|
106
|
-
}
|
|
103
|
+
"name": "amount",
|
|
104
|
+
"type": "uint256",
|
|
105
|
+
"indexed": false
|
|
106
|
+
}
|
|
107
107
|
],
|
|
108
|
-
anonymous: false,
|
|
109
|
-
type:
|
|
108
|
+
"anonymous": false,
|
|
109
|
+
"type": "event"
|
|
110
110
|
},
|
|
111
111
|
{
|
|
112
|
-
name:
|
|
113
|
-
inputs: [
|
|
112
|
+
"name": "BlacklistModified",
|
|
113
|
+
"inputs": [
|
|
114
114
|
{
|
|
115
|
-
name:
|
|
116
|
-
type:
|
|
117
|
-
indexed: true
|
|
115
|
+
"name": "addr",
|
|
116
|
+
"type": "address",
|
|
117
|
+
"indexed": true
|
|
118
118
|
},
|
|
119
119
|
{
|
|
120
|
-
name:
|
|
121
|
-
type:
|
|
122
|
-
indexed: false
|
|
123
|
-
}
|
|
120
|
+
"name": "isBlacklisted",
|
|
121
|
+
"type": "bool",
|
|
122
|
+
"indexed": false
|
|
123
|
+
}
|
|
124
124
|
],
|
|
125
|
-
anonymous: false,
|
|
126
|
-
type:
|
|
125
|
+
"anonymous": false,
|
|
126
|
+
"type": "event"
|
|
127
127
|
},
|
|
128
128
|
{
|
|
129
|
-
name:
|
|
130
|
-
inputs: [
|
|
129
|
+
"name": "TokenPauseModified",
|
|
130
|
+
"inputs": [
|
|
131
131
|
{
|
|
132
|
-
name:
|
|
133
|
-
type:
|
|
134
|
-
indexed: false
|
|
135
|
-
}
|
|
132
|
+
"name": "isPaused",
|
|
133
|
+
"type": "bool",
|
|
134
|
+
"indexed": false
|
|
135
|
+
}
|
|
136
136
|
],
|
|
137
|
-
anonymous: false,
|
|
138
|
-
type:
|
|
137
|
+
"anonymous": false,
|
|
138
|
+
"type": "event"
|
|
139
139
|
},
|
|
140
140
|
{
|
|
141
|
-
name:
|
|
142
|
-
inputs: [
|
|
141
|
+
"name": "EarnVaultDeposit",
|
|
142
|
+
"inputs": [
|
|
143
143
|
{
|
|
144
|
-
name:
|
|
145
|
-
type:
|
|
146
|
-
indexed: true
|
|
144
|
+
"name": "asset",
|
|
145
|
+
"type": "address",
|
|
146
|
+
"indexed": true
|
|
147
147
|
},
|
|
148
148
|
{
|
|
149
|
-
name:
|
|
150
|
-
type:
|
|
151
|
-
indexed: false
|
|
149
|
+
"name": "assetAmountDeposited",
|
|
150
|
+
"type": "uint256",
|
|
151
|
+
"indexed": false
|
|
152
152
|
},
|
|
153
153
|
{
|
|
154
|
-
name:
|
|
155
|
-
type:
|
|
156
|
-
indexed: false
|
|
154
|
+
"name": "assetAmountAdjusted",
|
|
155
|
+
"type": "uint256",
|
|
156
|
+
"indexed": false
|
|
157
157
|
},
|
|
158
158
|
{
|
|
159
|
-
name:
|
|
160
|
-
type:
|
|
161
|
-
indexed: true
|
|
159
|
+
"name": "vaultToken",
|
|
160
|
+
"type": "address",
|
|
161
|
+
"indexed": true
|
|
162
162
|
},
|
|
163
163
|
{
|
|
164
|
-
name:
|
|
165
|
-
type:
|
|
166
|
-
indexed: false
|
|
164
|
+
"name": "vaultTokenReceived",
|
|
165
|
+
"type": "uint256",
|
|
166
|
+
"indexed": false
|
|
167
167
|
},
|
|
168
168
|
{
|
|
169
|
-
name:
|
|
170
|
-
type:
|
|
171
|
-
indexed: false
|
|
169
|
+
"name": "vaultTokenExpected",
|
|
170
|
+
"type": "uint256",
|
|
171
|
+
"indexed": false
|
|
172
172
|
},
|
|
173
173
|
{
|
|
174
|
-
name:
|
|
175
|
-
type:
|
|
176
|
-
indexed: false
|
|
174
|
+
"name": "usdValue",
|
|
175
|
+
"type": "uint256",
|
|
176
|
+
"indexed": false
|
|
177
177
|
},
|
|
178
178
|
{
|
|
179
|
-
name:
|
|
180
|
-
type:
|
|
181
|
-
indexed: false
|
|
179
|
+
"name": "legoId",
|
|
180
|
+
"type": "uint256",
|
|
181
|
+
"indexed": false
|
|
182
182
|
},
|
|
183
183
|
{
|
|
184
|
-
name:
|
|
185
|
-
type:
|
|
186
|
-
indexed: true
|
|
187
|
-
}
|
|
184
|
+
"name": "signer",
|
|
185
|
+
"type": "address",
|
|
186
|
+
"indexed": true
|
|
187
|
+
}
|
|
188
188
|
],
|
|
189
|
-
anonymous: false,
|
|
190
|
-
type:
|
|
189
|
+
"anonymous": false,
|
|
190
|
+
"type": "event"
|
|
191
191
|
},
|
|
192
192
|
{
|
|
193
|
-
name:
|
|
194
|
-
inputs: [
|
|
193
|
+
"name": "EarnVaultWithdrawal",
|
|
194
|
+
"inputs": [
|
|
195
195
|
{
|
|
196
|
-
name:
|
|
197
|
-
type:
|
|
198
|
-
indexed: true
|
|
196
|
+
"name": "vaultToken",
|
|
197
|
+
"type": "address",
|
|
198
|
+
"indexed": true
|
|
199
199
|
},
|
|
200
200
|
{
|
|
201
|
-
name:
|
|
202
|
-
type:
|
|
203
|
-
indexed: false
|
|
201
|
+
"name": "vaultTokenBurned",
|
|
202
|
+
"type": "uint256",
|
|
203
|
+
"indexed": false
|
|
204
204
|
},
|
|
205
205
|
{
|
|
206
|
-
name:
|
|
207
|
-
type:
|
|
208
|
-
indexed: true
|
|
206
|
+
"name": "underlyingAsset",
|
|
207
|
+
"type": "address",
|
|
208
|
+
"indexed": true
|
|
209
209
|
},
|
|
210
210
|
{
|
|
211
|
-
name:
|
|
212
|
-
type:
|
|
213
|
-
indexed: false
|
|
211
|
+
"name": "underlyingAmountReceived",
|
|
212
|
+
"type": "uint256",
|
|
213
|
+
"indexed": false
|
|
214
214
|
},
|
|
215
215
|
{
|
|
216
|
-
name:
|
|
217
|
-
type:
|
|
218
|
-
indexed: false
|
|
216
|
+
"name": "usdValue",
|
|
217
|
+
"type": "uint256",
|
|
218
|
+
"indexed": false
|
|
219
219
|
},
|
|
220
220
|
{
|
|
221
|
-
name:
|
|
222
|
-
type:
|
|
223
|
-
indexed: false
|
|
221
|
+
"name": "legoId",
|
|
222
|
+
"type": "uint256",
|
|
223
|
+
"indexed": false
|
|
224
224
|
},
|
|
225
225
|
{
|
|
226
|
-
name:
|
|
227
|
-
type:
|
|
228
|
-
indexed: true
|
|
229
|
-
}
|
|
226
|
+
"name": "signer",
|
|
227
|
+
"type": "address",
|
|
228
|
+
"indexed": true
|
|
229
|
+
}
|
|
230
230
|
],
|
|
231
|
-
anonymous: false,
|
|
232
|
-
type:
|
|
231
|
+
"anonymous": false,
|
|
232
|
+
"type": "event"
|
|
233
233
|
},
|
|
234
234
|
{
|
|
235
|
-
name:
|
|
236
|
-
inputs: [
|
|
235
|
+
"name": "EarnVaultSwap",
|
|
236
|
+
"inputs": [
|
|
237
237
|
{
|
|
238
|
-
name:
|
|
239
|
-
type:
|
|
240
|
-
indexed: true
|
|
238
|
+
"name": "tokenIn",
|
|
239
|
+
"type": "address",
|
|
240
|
+
"indexed": true
|
|
241
241
|
},
|
|
242
242
|
{
|
|
243
|
-
name:
|
|
244
|
-
type:
|
|
245
|
-
indexed: false
|
|
243
|
+
"name": "tokenInAmount",
|
|
244
|
+
"type": "uint256",
|
|
245
|
+
"indexed": false
|
|
246
246
|
},
|
|
247
247
|
{
|
|
248
|
-
name:
|
|
249
|
-
type:
|
|
250
|
-
indexed: true
|
|
248
|
+
"name": "tokenOut",
|
|
249
|
+
"type": "address",
|
|
250
|
+
"indexed": true
|
|
251
251
|
},
|
|
252
252
|
{
|
|
253
|
-
name:
|
|
254
|
-
type:
|
|
255
|
-
indexed: false
|
|
253
|
+
"name": "tokenOutAmount",
|
|
254
|
+
"type": "uint256",
|
|
255
|
+
"indexed": false
|
|
256
256
|
},
|
|
257
257
|
{
|
|
258
|
-
name:
|
|
259
|
-
type:
|
|
260
|
-
indexed: false
|
|
258
|
+
"name": "usdValue",
|
|
259
|
+
"type": "uint256",
|
|
260
|
+
"indexed": false
|
|
261
261
|
},
|
|
262
262
|
{
|
|
263
|
-
name:
|
|
264
|
-
type:
|
|
265
|
-
indexed: false
|
|
263
|
+
"name": "swapFee",
|
|
264
|
+
"type": "uint256",
|
|
265
|
+
"indexed": false
|
|
266
266
|
},
|
|
267
267
|
{
|
|
268
|
-
name:
|
|
269
|
-
type:
|
|
270
|
-
indexed: false
|
|
268
|
+
"name": "legoId",
|
|
269
|
+
"type": "uint256",
|
|
270
|
+
"indexed": false
|
|
271
271
|
},
|
|
272
272
|
{
|
|
273
|
-
name:
|
|
274
|
-
type:
|
|
275
|
-
indexed: true
|
|
276
|
-
}
|
|
273
|
+
"name": "signer",
|
|
274
|
+
"type": "address",
|
|
275
|
+
"indexed": true
|
|
276
|
+
}
|
|
277
277
|
],
|
|
278
|
-
anonymous: false,
|
|
279
|
-
type:
|
|
278
|
+
"anonymous": false,
|
|
279
|
+
"type": "event"
|
|
280
280
|
},
|
|
281
281
|
{
|
|
282
|
-
name:
|
|
283
|
-
inputs: [
|
|
282
|
+
"name": "EarnVaultRewardsClaim",
|
|
283
|
+
"inputs": [
|
|
284
284
|
{
|
|
285
|
-
name:
|
|
286
|
-
type:
|
|
287
|
-
indexed: true
|
|
285
|
+
"name": "rewardToken",
|
|
286
|
+
"type": "address",
|
|
287
|
+
"indexed": true
|
|
288
288
|
},
|
|
289
289
|
{
|
|
290
|
-
name:
|
|
291
|
-
type:
|
|
292
|
-
indexed: false
|
|
290
|
+
"name": "rewardAmount",
|
|
291
|
+
"type": "uint256",
|
|
292
|
+
"indexed": false
|
|
293
293
|
},
|
|
294
294
|
{
|
|
295
|
-
name:
|
|
296
|
-
type:
|
|
297
|
-
indexed: false
|
|
295
|
+
"name": "usdValue",
|
|
296
|
+
"type": "uint256",
|
|
297
|
+
"indexed": false
|
|
298
298
|
},
|
|
299
299
|
{
|
|
300
|
-
name:
|
|
301
|
-
type:
|
|
302
|
-
indexed: false
|
|
300
|
+
"name": "legoId",
|
|
301
|
+
"type": "uint256",
|
|
302
|
+
"indexed": false
|
|
303
303
|
},
|
|
304
304
|
{
|
|
305
|
-
name:
|
|
306
|
-
type:
|
|
307
|
-
indexed: true
|
|
308
|
-
}
|
|
305
|
+
"name": "signer",
|
|
306
|
+
"type": "address",
|
|
307
|
+
"indexed": true
|
|
308
|
+
}
|
|
309
309
|
],
|
|
310
|
-
anonymous: false,
|
|
311
|
-
type:
|
|
310
|
+
"anonymous": false,
|
|
311
|
+
"type": "event"
|
|
312
312
|
},
|
|
313
313
|
{
|
|
314
|
-
name:
|
|
315
|
-
inputs: [
|
|
314
|
+
"name": "PerformanceFeesClaimed",
|
|
315
|
+
"inputs": [
|
|
316
316
|
{
|
|
317
|
-
name:
|
|
318
|
-
type:
|
|
319
|
-
indexed: false
|
|
320
|
-
}
|
|
317
|
+
"name": "pendingFees",
|
|
318
|
+
"type": "uint256",
|
|
319
|
+
"indexed": false
|
|
320
|
+
}
|
|
321
321
|
],
|
|
322
|
-
anonymous: false,
|
|
323
|
-
type:
|
|
322
|
+
"anonymous": false,
|
|
323
|
+
"type": "event"
|
|
324
324
|
},
|
|
325
325
|
{
|
|
326
|
-
stateMutability:
|
|
327
|
-
type:
|
|
328
|
-
name:
|
|
329
|
-
inputs: [],
|
|
330
|
-
outputs: [
|
|
326
|
+
"stateMutability": "view",
|
|
327
|
+
"type": "function",
|
|
328
|
+
"name": "name",
|
|
329
|
+
"inputs": [],
|
|
330
|
+
"outputs": [
|
|
331
331
|
{
|
|
332
|
-
name:
|
|
333
|
-
type:
|
|
334
|
-
}
|
|
335
|
-
]
|
|
332
|
+
"name": "",
|
|
333
|
+
"type": "string"
|
|
334
|
+
}
|
|
335
|
+
]
|
|
336
336
|
},
|
|
337
337
|
{
|
|
338
|
-
stateMutability:
|
|
339
|
-
type:
|
|
340
|
-
name:
|
|
341
|
-
inputs: [],
|
|
342
|
-
outputs: [
|
|
338
|
+
"stateMutability": "view",
|
|
339
|
+
"type": "function",
|
|
340
|
+
"name": "symbol",
|
|
341
|
+
"inputs": [],
|
|
342
|
+
"outputs": [
|
|
343
343
|
{
|
|
344
|
-
name:
|
|
345
|
-
type:
|
|
346
|
-
}
|
|
347
|
-
]
|
|
344
|
+
"name": "",
|
|
345
|
+
"type": "string"
|
|
346
|
+
}
|
|
347
|
+
]
|
|
348
348
|
},
|
|
349
349
|
{
|
|
350
|
-
stateMutability:
|
|
351
|
-
type:
|
|
352
|
-
name:
|
|
353
|
-
inputs: [],
|
|
354
|
-
outputs: [
|
|
350
|
+
"stateMutability": "view",
|
|
351
|
+
"type": "function",
|
|
352
|
+
"name": "decimals",
|
|
353
|
+
"inputs": [],
|
|
354
|
+
"outputs": [
|
|
355
355
|
{
|
|
356
|
-
name:
|
|
357
|
-
type:
|
|
358
|
-
}
|
|
359
|
-
]
|
|
356
|
+
"name": "",
|
|
357
|
+
"type": "uint8"
|
|
358
|
+
}
|
|
359
|
+
]
|
|
360
360
|
},
|
|
361
361
|
{
|
|
362
|
-
stateMutability:
|
|
363
|
-
type:
|
|
364
|
-
name:
|
|
365
|
-
inputs: [
|
|
362
|
+
"stateMutability": "nonpayable",
|
|
363
|
+
"type": "function",
|
|
364
|
+
"name": "transfer",
|
|
365
|
+
"inputs": [
|
|
366
366
|
{
|
|
367
|
-
name:
|
|
368
|
-
type:
|
|
367
|
+
"name": "_recipient",
|
|
368
|
+
"type": "address"
|
|
369
369
|
},
|
|
370
370
|
{
|
|
371
|
-
name:
|
|
372
|
-
type:
|
|
373
|
-
}
|
|
371
|
+
"name": "_amount",
|
|
372
|
+
"type": "uint256"
|
|
373
|
+
}
|
|
374
374
|
],
|
|
375
|
-
outputs: [
|
|
375
|
+
"outputs": [
|
|
376
376
|
{
|
|
377
|
-
name:
|
|
378
|
-
type:
|
|
379
|
-
}
|
|
380
|
-
]
|
|
377
|
+
"name": "",
|
|
378
|
+
"type": "bool"
|
|
379
|
+
}
|
|
380
|
+
]
|
|
381
381
|
},
|
|
382
382
|
{
|
|
383
|
-
stateMutability:
|
|
384
|
-
type:
|
|
385
|
-
name:
|
|
386
|
-
inputs: [
|
|
383
|
+
"stateMutability": "nonpayable",
|
|
384
|
+
"type": "function",
|
|
385
|
+
"name": "transferFrom",
|
|
386
|
+
"inputs": [
|
|
387
387
|
{
|
|
388
|
-
name:
|
|
389
|
-
type:
|
|
388
|
+
"name": "_sender",
|
|
389
|
+
"type": "address"
|
|
390
390
|
},
|
|
391
391
|
{
|
|
392
|
-
name:
|
|
393
|
-
type:
|
|
392
|
+
"name": "_recipient",
|
|
393
|
+
"type": "address"
|
|
394
394
|
},
|
|
395
395
|
{
|
|
396
|
-
name:
|
|
397
|
-
type:
|
|
398
|
-
}
|
|
396
|
+
"name": "_amount",
|
|
397
|
+
"type": "uint256"
|
|
398
|
+
}
|
|
399
399
|
],
|
|
400
|
-
outputs: [
|
|
400
|
+
"outputs": [
|
|
401
401
|
{
|
|
402
|
-
name:
|
|
403
|
-
type:
|
|
404
|
-
}
|
|
405
|
-
]
|
|
402
|
+
"name": "",
|
|
403
|
+
"type": "bool"
|
|
404
|
+
}
|
|
405
|
+
]
|
|
406
406
|
},
|
|
407
407
|
{
|
|
408
|
-
stateMutability:
|
|
409
|
-
type:
|
|
410
|
-
name:
|
|
411
|
-
inputs: [
|
|
408
|
+
"stateMutability": "nonpayable",
|
|
409
|
+
"type": "function",
|
|
410
|
+
"name": "approve",
|
|
411
|
+
"inputs": [
|
|
412
412
|
{
|
|
413
|
-
name:
|
|
414
|
-
type:
|
|
413
|
+
"name": "_spender",
|
|
414
|
+
"type": "address"
|
|
415
415
|
},
|
|
416
416
|
{
|
|
417
|
-
name:
|
|
418
|
-
type:
|
|
419
|
-
}
|
|
417
|
+
"name": "_amount",
|
|
418
|
+
"type": "uint256"
|
|
419
|
+
}
|
|
420
420
|
],
|
|
421
|
-
outputs: [
|
|
421
|
+
"outputs": [
|
|
422
422
|
{
|
|
423
|
-
name:
|
|
424
|
-
type:
|
|
425
|
-
}
|
|
426
|
-
]
|
|
423
|
+
"name": "",
|
|
424
|
+
"type": "bool"
|
|
425
|
+
}
|
|
426
|
+
]
|
|
427
427
|
},
|
|
428
428
|
{
|
|
429
|
-
stateMutability:
|
|
430
|
-
type:
|
|
431
|
-
name:
|
|
432
|
-
inputs: [
|
|
429
|
+
"stateMutability": "nonpayable",
|
|
430
|
+
"type": "function",
|
|
431
|
+
"name": "increaseAllowance",
|
|
432
|
+
"inputs": [
|
|
433
433
|
{
|
|
434
|
-
name:
|
|
435
|
-
type:
|
|
434
|
+
"name": "_spender",
|
|
435
|
+
"type": "address"
|
|
436
436
|
},
|
|
437
437
|
{
|
|
438
|
-
name:
|
|
439
|
-
type:
|
|
440
|
-
}
|
|
438
|
+
"name": "_amount",
|
|
439
|
+
"type": "uint256"
|
|
440
|
+
}
|
|
441
441
|
],
|
|
442
|
-
outputs: [
|
|
442
|
+
"outputs": [
|
|
443
443
|
{
|
|
444
|
-
name:
|
|
445
|
-
type:
|
|
446
|
-
}
|
|
447
|
-
]
|
|
444
|
+
"name": "",
|
|
445
|
+
"type": "bool"
|
|
446
|
+
}
|
|
447
|
+
]
|
|
448
448
|
},
|
|
449
449
|
{
|
|
450
|
-
stateMutability:
|
|
451
|
-
type:
|
|
452
|
-
name:
|
|
453
|
-
inputs: [
|
|
450
|
+
"stateMutability": "nonpayable",
|
|
451
|
+
"type": "function",
|
|
452
|
+
"name": "decreaseAllowance",
|
|
453
|
+
"inputs": [
|
|
454
454
|
{
|
|
455
|
-
name:
|
|
456
|
-
type:
|
|
455
|
+
"name": "_spender",
|
|
456
|
+
"type": "address"
|
|
457
457
|
},
|
|
458
458
|
{
|
|
459
|
-
name:
|
|
460
|
-
type:
|
|
461
|
-
}
|
|
459
|
+
"name": "_amount",
|
|
460
|
+
"type": "uint256"
|
|
461
|
+
}
|
|
462
462
|
],
|
|
463
|
-
outputs: [
|
|
463
|
+
"outputs": [
|
|
464
464
|
{
|
|
465
|
-
name:
|
|
466
|
-
type:
|
|
467
|
-
}
|
|
468
|
-
]
|
|
465
|
+
"name": "",
|
|
466
|
+
"type": "bool"
|
|
467
|
+
}
|
|
468
|
+
]
|
|
469
469
|
},
|
|
470
470
|
{
|
|
471
|
-
stateMutability:
|
|
472
|
-
type:
|
|
473
|
-
name:
|
|
474
|
-
inputs: [
|
|
471
|
+
"stateMutability": "nonpayable",
|
|
472
|
+
"type": "function",
|
|
473
|
+
"name": "burn",
|
|
474
|
+
"inputs": [
|
|
475
475
|
{
|
|
476
|
-
name:
|
|
477
|
-
type:
|
|
478
|
-
}
|
|
476
|
+
"name": "_amount",
|
|
477
|
+
"type": "uint256"
|
|
478
|
+
}
|
|
479
479
|
],
|
|
480
|
-
outputs: [
|
|
480
|
+
"outputs": [
|
|
481
481
|
{
|
|
482
|
-
name:
|
|
483
|
-
type:
|
|
484
|
-
}
|
|
485
|
-
]
|
|
482
|
+
"name": "",
|
|
483
|
+
"type": "bool"
|
|
484
|
+
}
|
|
485
|
+
]
|
|
486
486
|
},
|
|
487
487
|
{
|
|
488
|
-
stateMutability:
|
|
489
|
-
type:
|
|
490
|
-
name:
|
|
491
|
-
inputs: [],
|
|
492
|
-
outputs: [
|
|
488
|
+
"stateMutability": "view",
|
|
489
|
+
"type": "function",
|
|
490
|
+
"name": "DOMAIN_SEPARATOR",
|
|
491
|
+
"inputs": [],
|
|
492
|
+
"outputs": [
|
|
493
493
|
{
|
|
494
|
-
name:
|
|
495
|
-
type:
|
|
496
|
-
}
|
|
497
|
-
]
|
|
494
|
+
"name": "",
|
|
495
|
+
"type": "bytes32"
|
|
496
|
+
}
|
|
497
|
+
]
|
|
498
498
|
},
|
|
499
499
|
{
|
|
500
|
-
stateMutability:
|
|
501
|
-
type:
|
|
502
|
-
name:
|
|
503
|
-
inputs: [
|
|
500
|
+
"stateMutability": "nonpayable",
|
|
501
|
+
"type": "function",
|
|
502
|
+
"name": "permit",
|
|
503
|
+
"inputs": [
|
|
504
504
|
{
|
|
505
|
-
name:
|
|
506
|
-
type:
|
|
505
|
+
"name": "_owner",
|
|
506
|
+
"type": "address"
|
|
507
507
|
},
|
|
508
508
|
{
|
|
509
|
-
name:
|
|
510
|
-
type:
|
|
509
|
+
"name": "_spender",
|
|
510
|
+
"type": "address"
|
|
511
511
|
},
|
|
512
512
|
{
|
|
513
|
-
name:
|
|
514
|
-
type:
|
|
513
|
+
"name": "_value",
|
|
514
|
+
"type": "uint256"
|
|
515
515
|
},
|
|
516
516
|
{
|
|
517
|
-
name:
|
|
518
|
-
type:
|
|
517
|
+
"name": "_deadline",
|
|
518
|
+
"type": "uint256"
|
|
519
519
|
},
|
|
520
520
|
{
|
|
521
|
-
name:
|
|
522
|
-
type:
|
|
523
|
-
}
|
|
521
|
+
"name": "_signature",
|
|
522
|
+
"type": "bytes"
|
|
523
|
+
}
|
|
524
524
|
],
|
|
525
|
-
outputs: [
|
|
525
|
+
"outputs": [
|
|
526
526
|
{
|
|
527
|
-
name:
|
|
528
|
-
type:
|
|
529
|
-
}
|
|
530
|
-
]
|
|
527
|
+
"name": "",
|
|
528
|
+
"type": "bool"
|
|
529
|
+
}
|
|
530
|
+
]
|
|
531
531
|
},
|
|
532
532
|
{
|
|
533
|
-
stateMutability:
|
|
534
|
-
type:
|
|
535
|
-
name:
|
|
536
|
-
inputs: [
|
|
533
|
+
"stateMutability": "nonpayable",
|
|
534
|
+
"type": "function",
|
|
535
|
+
"name": "setBlacklist",
|
|
536
|
+
"inputs": [
|
|
537
537
|
{
|
|
538
|
-
name:
|
|
539
|
-
type:
|
|
538
|
+
"name": "_addr",
|
|
539
|
+
"type": "address"
|
|
540
540
|
},
|
|
541
541
|
{
|
|
542
|
-
name:
|
|
543
|
-
type:
|
|
544
|
-
}
|
|
542
|
+
"name": "_shouldBlacklist",
|
|
543
|
+
"type": "bool"
|
|
544
|
+
}
|
|
545
545
|
],
|
|
546
|
-
outputs: [
|
|
546
|
+
"outputs": [
|
|
547
547
|
{
|
|
548
|
-
name:
|
|
549
|
-
type:
|
|
550
|
-
}
|
|
551
|
-
]
|
|
548
|
+
"name": "",
|
|
549
|
+
"type": "bool"
|
|
550
|
+
}
|
|
551
|
+
]
|
|
552
552
|
},
|
|
553
553
|
{
|
|
554
|
-
stateMutability:
|
|
555
|
-
type:
|
|
556
|
-
name:
|
|
557
|
-
inputs: [
|
|
554
|
+
"stateMutability": "nonpayable",
|
|
555
|
+
"type": "function",
|
|
556
|
+
"name": "burnBlacklistTokens",
|
|
557
|
+
"inputs": [
|
|
558
558
|
{
|
|
559
|
-
name:
|
|
560
|
-
type:
|
|
561
|
-
}
|
|
559
|
+
"name": "_addr",
|
|
560
|
+
"type": "address"
|
|
561
|
+
}
|
|
562
562
|
],
|
|
563
|
-
outputs: [
|
|
563
|
+
"outputs": [
|
|
564
564
|
{
|
|
565
|
-
name:
|
|
566
|
-
type:
|
|
567
|
-
}
|
|
568
|
-
]
|
|
565
|
+
"name": "",
|
|
566
|
+
"type": "bool"
|
|
567
|
+
}
|
|
568
|
+
]
|
|
569
569
|
},
|
|
570
570
|
{
|
|
571
|
-
stateMutability:
|
|
572
|
-
type:
|
|
573
|
-
name:
|
|
574
|
-
inputs: [
|
|
571
|
+
"stateMutability": "nonpayable",
|
|
572
|
+
"type": "function",
|
|
573
|
+
"name": "burnBlacklistTokens",
|
|
574
|
+
"inputs": [
|
|
575
575
|
{
|
|
576
|
-
name:
|
|
577
|
-
type:
|
|
576
|
+
"name": "_addr",
|
|
577
|
+
"type": "address"
|
|
578
578
|
},
|
|
579
579
|
{
|
|
580
|
-
name:
|
|
581
|
-
type:
|
|
582
|
-
}
|
|
580
|
+
"name": "_amount",
|
|
581
|
+
"type": "uint256"
|
|
582
|
+
}
|
|
583
583
|
],
|
|
584
|
-
outputs: [
|
|
584
|
+
"outputs": [
|
|
585
585
|
{
|
|
586
|
-
name:
|
|
587
|
-
type:
|
|
588
|
-
}
|
|
589
|
-
]
|
|
586
|
+
"name": "",
|
|
587
|
+
"type": "bool"
|
|
588
|
+
}
|
|
589
|
+
]
|
|
590
590
|
},
|
|
591
591
|
{
|
|
592
|
-
stateMutability:
|
|
593
|
-
type:
|
|
594
|
-
name:
|
|
595
|
-
inputs: [
|
|
592
|
+
"stateMutability": "nonpayable",
|
|
593
|
+
"type": "function",
|
|
594
|
+
"name": "pause",
|
|
595
|
+
"inputs": [
|
|
596
596
|
{
|
|
597
|
-
name:
|
|
598
|
-
type:
|
|
599
|
-
}
|
|
597
|
+
"name": "_shouldPause",
|
|
598
|
+
"type": "bool"
|
|
599
|
+
}
|
|
600
600
|
],
|
|
601
|
-
outputs: []
|
|
601
|
+
"outputs": []
|
|
602
602
|
},
|
|
603
603
|
{
|
|
604
|
-
stateMutability:
|
|
605
|
-
type:
|
|
606
|
-
name:
|
|
607
|
-
inputs: [],
|
|
608
|
-
outputs: [
|
|
604
|
+
"stateMutability": "view",
|
|
605
|
+
"type": "function",
|
|
606
|
+
"name": "undyHq",
|
|
607
|
+
"inputs": [],
|
|
608
|
+
"outputs": [
|
|
609
609
|
{
|
|
610
|
-
name:
|
|
611
|
-
type:
|
|
612
|
-
}
|
|
613
|
-
]
|
|
610
|
+
"name": "",
|
|
611
|
+
"type": "address"
|
|
612
|
+
}
|
|
613
|
+
]
|
|
614
614
|
},
|
|
615
615
|
{
|
|
616
|
-
stateMutability:
|
|
617
|
-
type:
|
|
618
|
-
name:
|
|
619
|
-
inputs: [
|
|
616
|
+
"stateMutability": "view",
|
|
617
|
+
"type": "function",
|
|
618
|
+
"name": "blacklisted",
|
|
619
|
+
"inputs": [
|
|
620
620
|
{
|
|
621
|
-
name:
|
|
622
|
-
type:
|
|
623
|
-
}
|
|
621
|
+
"name": "arg0",
|
|
622
|
+
"type": "address"
|
|
623
|
+
}
|
|
624
624
|
],
|
|
625
|
-
outputs: [
|
|
625
|
+
"outputs": [
|
|
626
626
|
{
|
|
627
|
-
name:
|
|
628
|
-
type:
|
|
629
|
-
}
|
|
630
|
-
]
|
|
627
|
+
"name": "",
|
|
628
|
+
"type": "bool"
|
|
629
|
+
}
|
|
630
|
+
]
|
|
631
631
|
},
|
|
632
632
|
{
|
|
633
|
-
stateMutability:
|
|
634
|
-
type:
|
|
635
|
-
name:
|
|
636
|
-
inputs: [],
|
|
637
|
-
outputs: [
|
|
633
|
+
"stateMutability": "view",
|
|
634
|
+
"type": "function",
|
|
635
|
+
"name": "isPaused",
|
|
636
|
+
"inputs": [],
|
|
637
|
+
"outputs": [
|
|
638
638
|
{
|
|
639
|
-
name:
|
|
640
|
-
type:
|
|
641
|
-
}
|
|
642
|
-
]
|
|
639
|
+
"name": "",
|
|
640
|
+
"type": "bool"
|
|
641
|
+
}
|
|
642
|
+
]
|
|
643
643
|
},
|
|
644
644
|
{
|
|
645
|
-
stateMutability:
|
|
646
|
-
type:
|
|
647
|
-
name:
|
|
648
|
-
inputs: [
|
|
645
|
+
"stateMutability": "view",
|
|
646
|
+
"type": "function",
|
|
647
|
+
"name": "balanceOf",
|
|
648
|
+
"inputs": [
|
|
649
649
|
{
|
|
650
|
-
name:
|
|
651
|
-
type:
|
|
652
|
-
}
|
|
650
|
+
"name": "arg0",
|
|
651
|
+
"type": "address"
|
|
652
|
+
}
|
|
653
653
|
],
|
|
654
|
-
outputs: [
|
|
654
|
+
"outputs": [
|
|
655
655
|
{
|
|
656
|
-
name:
|
|
657
|
-
type:
|
|
658
|
-
}
|
|
659
|
-
]
|
|
656
|
+
"name": "",
|
|
657
|
+
"type": "uint256"
|
|
658
|
+
}
|
|
659
|
+
]
|
|
660
660
|
},
|
|
661
661
|
{
|
|
662
|
-
stateMutability:
|
|
663
|
-
type:
|
|
664
|
-
name:
|
|
665
|
-
inputs: [
|
|
662
|
+
"stateMutability": "view",
|
|
663
|
+
"type": "function",
|
|
664
|
+
"name": "allowance",
|
|
665
|
+
"inputs": [
|
|
666
666
|
{
|
|
667
|
-
name:
|
|
668
|
-
type:
|
|
667
|
+
"name": "arg0",
|
|
668
|
+
"type": "address"
|
|
669
669
|
},
|
|
670
670
|
{
|
|
671
|
-
name:
|
|
672
|
-
type:
|
|
673
|
-
}
|
|
671
|
+
"name": "arg1",
|
|
672
|
+
"type": "address"
|
|
673
|
+
}
|
|
674
674
|
],
|
|
675
|
-
outputs: [
|
|
675
|
+
"outputs": [
|
|
676
676
|
{
|
|
677
|
-
name:
|
|
678
|
-
type:
|
|
679
|
-
}
|
|
680
|
-
]
|
|
677
|
+
"name": "",
|
|
678
|
+
"type": "uint256"
|
|
679
|
+
}
|
|
680
|
+
]
|
|
681
681
|
},
|
|
682
682
|
{
|
|
683
|
-
stateMutability:
|
|
684
|
-
type:
|
|
685
|
-
name:
|
|
686
|
-
inputs: [],
|
|
687
|
-
outputs: [
|
|
683
|
+
"stateMutability": "view",
|
|
684
|
+
"type": "function",
|
|
685
|
+
"name": "totalSupply",
|
|
686
|
+
"inputs": [],
|
|
687
|
+
"outputs": [
|
|
688
688
|
{
|
|
689
|
-
name:
|
|
690
|
-
type:
|
|
691
|
-
}
|
|
692
|
-
]
|
|
689
|
+
"name": "",
|
|
690
|
+
"type": "uint256"
|
|
691
|
+
}
|
|
692
|
+
]
|
|
693
693
|
},
|
|
694
694
|
{
|
|
695
|
-
stateMutability:
|
|
696
|
-
type:
|
|
697
|
-
name:
|
|
698
|
-
inputs: [],
|
|
699
|
-
outputs: [
|
|
695
|
+
"stateMutability": "view",
|
|
696
|
+
"type": "function",
|
|
697
|
+
"name": "TOKEN_NAME",
|
|
698
|
+
"inputs": [],
|
|
699
|
+
"outputs": [
|
|
700
700
|
{
|
|
701
|
-
name:
|
|
702
|
-
type:
|
|
703
|
-
}
|
|
704
|
-
]
|
|
701
|
+
"name": "",
|
|
702
|
+
"type": "string"
|
|
703
|
+
}
|
|
704
|
+
]
|
|
705
705
|
},
|
|
706
706
|
{
|
|
707
|
-
stateMutability:
|
|
708
|
-
type:
|
|
709
|
-
name:
|
|
710
|
-
inputs: [],
|
|
711
|
-
outputs: [
|
|
707
|
+
"stateMutability": "view",
|
|
708
|
+
"type": "function",
|
|
709
|
+
"name": "TOKEN_SYMBOL",
|
|
710
|
+
"inputs": [],
|
|
711
|
+
"outputs": [
|
|
712
712
|
{
|
|
713
|
-
name:
|
|
714
|
-
type:
|
|
715
|
-
}
|
|
716
|
-
]
|
|
713
|
+
"name": "",
|
|
714
|
+
"type": "string"
|
|
715
|
+
}
|
|
716
|
+
]
|
|
717
717
|
},
|
|
718
718
|
{
|
|
719
|
-
stateMutability:
|
|
720
|
-
type:
|
|
721
|
-
name:
|
|
722
|
-
inputs: [],
|
|
723
|
-
outputs: [
|
|
719
|
+
"stateMutability": "view",
|
|
720
|
+
"type": "function",
|
|
721
|
+
"name": "TOKEN_DECIMALS",
|
|
722
|
+
"inputs": [],
|
|
723
|
+
"outputs": [
|
|
724
724
|
{
|
|
725
|
-
name:
|
|
726
|
-
type:
|
|
727
|
-
}
|
|
728
|
-
]
|
|
725
|
+
"name": "",
|
|
726
|
+
"type": "uint8"
|
|
727
|
+
}
|
|
728
|
+
]
|
|
729
729
|
},
|
|
730
730
|
{
|
|
731
|
-
stateMutability:
|
|
732
|
-
type:
|
|
733
|
-
name:
|
|
734
|
-
inputs: [],
|
|
735
|
-
outputs: [
|
|
731
|
+
"stateMutability": "view",
|
|
732
|
+
"type": "function",
|
|
733
|
+
"name": "VERSION",
|
|
734
|
+
"inputs": [],
|
|
735
|
+
"outputs": [
|
|
736
736
|
{
|
|
737
|
-
name:
|
|
738
|
-
type:
|
|
739
|
-
}
|
|
740
|
-
]
|
|
737
|
+
"name": "",
|
|
738
|
+
"type": "string"
|
|
739
|
+
}
|
|
740
|
+
]
|
|
741
741
|
},
|
|
742
742
|
{
|
|
743
|
-
stateMutability:
|
|
744
|
-
type:
|
|
745
|
-
name:
|
|
746
|
-
inputs: [
|
|
743
|
+
"stateMutability": "view",
|
|
744
|
+
"type": "function",
|
|
745
|
+
"name": "nonces",
|
|
746
|
+
"inputs": [
|
|
747
747
|
{
|
|
748
|
-
name:
|
|
749
|
-
type:
|
|
750
|
-
}
|
|
748
|
+
"name": "arg0",
|
|
749
|
+
"type": "address"
|
|
750
|
+
}
|
|
751
751
|
],
|
|
752
|
-
outputs: [
|
|
752
|
+
"outputs": [
|
|
753
753
|
{
|
|
754
|
-
name:
|
|
755
|
-
type:
|
|
756
|
-
}
|
|
757
|
-
]
|
|
754
|
+
"name": "",
|
|
755
|
+
"type": "uint256"
|
|
756
|
+
}
|
|
757
|
+
]
|
|
758
758
|
},
|
|
759
759
|
{
|
|
760
|
-
stateMutability:
|
|
761
|
-
type:
|
|
762
|
-
name:
|
|
763
|
-
inputs: [
|
|
760
|
+
"stateMutability": "nonpayable",
|
|
761
|
+
"type": "function",
|
|
762
|
+
"name": "depositForYield",
|
|
763
|
+
"inputs": [
|
|
764
764
|
{
|
|
765
|
-
name:
|
|
766
|
-
type:
|
|
765
|
+
"name": "_legoId",
|
|
766
|
+
"type": "uint256"
|
|
767
767
|
},
|
|
768
768
|
{
|
|
769
|
-
name:
|
|
770
|
-
type:
|
|
771
|
-
}
|
|
769
|
+
"name": "_asset",
|
|
770
|
+
"type": "address"
|
|
771
|
+
}
|
|
772
772
|
],
|
|
773
|
-
outputs: [
|
|
773
|
+
"outputs": [
|
|
774
774
|
{
|
|
775
|
-
name:
|
|
776
|
-
type:
|
|
775
|
+
"name": "",
|
|
776
|
+
"type": "uint256"
|
|
777
777
|
},
|
|
778
778
|
{
|
|
779
|
-
name:
|
|
780
|
-
type:
|
|
779
|
+
"name": "",
|
|
780
|
+
"type": "address"
|
|
781
781
|
},
|
|
782
782
|
{
|
|
783
|
-
name:
|
|
784
|
-
type:
|
|
783
|
+
"name": "",
|
|
784
|
+
"type": "uint256"
|
|
785
785
|
},
|
|
786
786
|
{
|
|
787
|
-
name:
|
|
788
|
-
type:
|
|
789
|
-
}
|
|
790
|
-
]
|
|
787
|
+
"name": "",
|
|
788
|
+
"type": "uint256"
|
|
789
|
+
}
|
|
790
|
+
]
|
|
791
791
|
},
|
|
792
792
|
{
|
|
793
|
-
stateMutability:
|
|
794
|
-
type:
|
|
795
|
-
name:
|
|
796
|
-
inputs: [
|
|
793
|
+
"stateMutability": "nonpayable",
|
|
794
|
+
"type": "function",
|
|
795
|
+
"name": "depositForYield",
|
|
796
|
+
"inputs": [
|
|
797
797
|
{
|
|
798
|
-
name:
|
|
799
|
-
type:
|
|
798
|
+
"name": "_legoId",
|
|
799
|
+
"type": "uint256"
|
|
800
800
|
},
|
|
801
801
|
{
|
|
802
|
-
name:
|
|
803
|
-
type:
|
|
802
|
+
"name": "_asset",
|
|
803
|
+
"type": "address"
|
|
804
804
|
},
|
|
805
805
|
{
|
|
806
|
-
name:
|
|
807
|
-
type:
|
|
808
|
-
}
|
|
806
|
+
"name": "_vaultAddr",
|
|
807
|
+
"type": "address"
|
|
808
|
+
}
|
|
809
809
|
],
|
|
810
|
-
outputs: [
|
|
810
|
+
"outputs": [
|
|
811
811
|
{
|
|
812
|
-
name:
|
|
813
|
-
type:
|
|
812
|
+
"name": "",
|
|
813
|
+
"type": "uint256"
|
|
814
814
|
},
|
|
815
815
|
{
|
|
816
|
-
name:
|
|
817
|
-
type:
|
|
816
|
+
"name": "",
|
|
817
|
+
"type": "address"
|
|
818
818
|
},
|
|
819
819
|
{
|
|
820
|
-
name:
|
|
821
|
-
type:
|
|
820
|
+
"name": "",
|
|
821
|
+
"type": "uint256"
|
|
822
822
|
},
|
|
823
823
|
{
|
|
824
|
-
name:
|
|
825
|
-
type:
|
|
826
|
-
}
|
|
827
|
-
]
|
|
824
|
+
"name": "",
|
|
825
|
+
"type": "uint256"
|
|
826
|
+
}
|
|
827
|
+
]
|
|
828
828
|
},
|
|
829
829
|
{
|
|
830
|
-
stateMutability:
|
|
831
|
-
type:
|
|
832
|
-
name:
|
|
833
|
-
inputs: [
|
|
830
|
+
"stateMutability": "nonpayable",
|
|
831
|
+
"type": "function",
|
|
832
|
+
"name": "depositForYield",
|
|
833
|
+
"inputs": [
|
|
834
834
|
{
|
|
835
|
-
name:
|
|
836
|
-
type:
|
|
835
|
+
"name": "_legoId",
|
|
836
|
+
"type": "uint256"
|
|
837
837
|
},
|
|
838
838
|
{
|
|
839
|
-
name:
|
|
840
|
-
type:
|
|
839
|
+
"name": "_asset",
|
|
840
|
+
"type": "address"
|
|
841
841
|
},
|
|
842
842
|
{
|
|
843
|
-
name:
|
|
844
|
-
type:
|
|
843
|
+
"name": "_vaultAddr",
|
|
844
|
+
"type": "address"
|
|
845
845
|
},
|
|
846
846
|
{
|
|
847
|
-
name:
|
|
848
|
-
type:
|
|
849
|
-
}
|
|
847
|
+
"name": "_amount",
|
|
848
|
+
"type": "uint256"
|
|
849
|
+
}
|
|
850
850
|
],
|
|
851
|
-
outputs: [
|
|
851
|
+
"outputs": [
|
|
852
852
|
{
|
|
853
|
-
name:
|
|
854
|
-
type:
|
|
853
|
+
"name": "",
|
|
854
|
+
"type": "uint256"
|
|
855
855
|
},
|
|
856
856
|
{
|
|
857
|
-
name:
|
|
858
|
-
type:
|
|
857
|
+
"name": "",
|
|
858
|
+
"type": "address"
|
|
859
859
|
},
|
|
860
860
|
{
|
|
861
|
-
name:
|
|
862
|
-
type:
|
|
861
|
+
"name": "",
|
|
862
|
+
"type": "uint256"
|
|
863
863
|
},
|
|
864
864
|
{
|
|
865
|
-
name:
|
|
866
|
-
type:
|
|
867
|
-
}
|
|
868
|
-
]
|
|
865
|
+
"name": "",
|
|
866
|
+
"type": "uint256"
|
|
867
|
+
}
|
|
868
|
+
]
|
|
869
869
|
},
|
|
870
870
|
{
|
|
871
|
-
stateMutability:
|
|
872
|
-
type:
|
|
873
|
-
name:
|
|
874
|
-
inputs: [
|
|
871
|
+
"stateMutability": "nonpayable",
|
|
872
|
+
"type": "function",
|
|
873
|
+
"name": "depositForYield",
|
|
874
|
+
"inputs": [
|
|
875
875
|
{
|
|
876
|
-
name:
|
|
877
|
-
type:
|
|
876
|
+
"name": "_legoId",
|
|
877
|
+
"type": "uint256"
|
|
878
878
|
},
|
|
879
879
|
{
|
|
880
|
-
name:
|
|
881
|
-
type:
|
|
880
|
+
"name": "_asset",
|
|
881
|
+
"type": "address"
|
|
882
882
|
},
|
|
883
883
|
{
|
|
884
|
-
name:
|
|
885
|
-
type:
|
|
884
|
+
"name": "_vaultAddr",
|
|
885
|
+
"type": "address"
|
|
886
886
|
},
|
|
887
887
|
{
|
|
888
|
-
name:
|
|
889
|
-
type:
|
|
888
|
+
"name": "_amount",
|
|
889
|
+
"type": "uint256"
|
|
890
890
|
},
|
|
891
891
|
{
|
|
892
|
-
name:
|
|
893
|
-
type:
|
|
894
|
-
}
|
|
892
|
+
"name": "_extraData",
|
|
893
|
+
"type": "bytes32"
|
|
894
|
+
}
|
|
895
895
|
],
|
|
896
|
-
outputs: [
|
|
896
|
+
"outputs": [
|
|
897
897
|
{
|
|
898
|
-
name:
|
|
899
|
-
type:
|
|
898
|
+
"name": "",
|
|
899
|
+
"type": "uint256"
|
|
900
900
|
},
|
|
901
901
|
{
|
|
902
|
-
name:
|
|
903
|
-
type:
|
|
902
|
+
"name": "",
|
|
903
|
+
"type": "address"
|
|
904
904
|
},
|
|
905
905
|
{
|
|
906
|
-
name:
|
|
907
|
-
type:
|
|
906
|
+
"name": "",
|
|
907
|
+
"type": "uint256"
|
|
908
908
|
},
|
|
909
909
|
{
|
|
910
|
-
name:
|
|
911
|
-
type:
|
|
912
|
-
}
|
|
913
|
-
]
|
|
910
|
+
"name": "",
|
|
911
|
+
"type": "uint256"
|
|
912
|
+
}
|
|
913
|
+
]
|
|
914
914
|
},
|
|
915
915
|
{
|
|
916
|
-
stateMutability:
|
|
917
|
-
type:
|
|
918
|
-
name:
|
|
919
|
-
inputs: [
|
|
916
|
+
"stateMutability": "nonpayable",
|
|
917
|
+
"type": "function",
|
|
918
|
+
"name": "withdrawFromYield",
|
|
919
|
+
"inputs": [
|
|
920
920
|
{
|
|
921
|
-
name:
|
|
922
|
-
type:
|
|
921
|
+
"name": "_legoId",
|
|
922
|
+
"type": "uint256"
|
|
923
923
|
},
|
|
924
924
|
{
|
|
925
|
-
name:
|
|
926
|
-
type:
|
|
927
|
-
}
|
|
925
|
+
"name": "_vaultToken",
|
|
926
|
+
"type": "address"
|
|
927
|
+
}
|
|
928
928
|
],
|
|
929
|
-
outputs: [
|
|
929
|
+
"outputs": [
|
|
930
930
|
{
|
|
931
|
-
name:
|
|
932
|
-
type:
|
|
931
|
+
"name": "",
|
|
932
|
+
"type": "uint256"
|
|
933
933
|
},
|
|
934
934
|
{
|
|
935
|
-
name:
|
|
936
|
-
type:
|
|
935
|
+
"name": "",
|
|
936
|
+
"type": "address"
|
|
937
937
|
},
|
|
938
938
|
{
|
|
939
|
-
name:
|
|
940
|
-
type:
|
|
939
|
+
"name": "",
|
|
940
|
+
"type": "uint256"
|
|
941
941
|
},
|
|
942
942
|
{
|
|
943
|
-
name:
|
|
944
|
-
type:
|
|
945
|
-
}
|
|
946
|
-
]
|
|
943
|
+
"name": "",
|
|
944
|
+
"type": "uint256"
|
|
945
|
+
}
|
|
946
|
+
]
|
|
947
947
|
},
|
|
948
948
|
{
|
|
949
|
-
stateMutability:
|
|
950
|
-
type:
|
|
951
|
-
name:
|
|
952
|
-
inputs: [
|
|
949
|
+
"stateMutability": "nonpayable",
|
|
950
|
+
"type": "function",
|
|
951
|
+
"name": "withdrawFromYield",
|
|
952
|
+
"inputs": [
|
|
953
953
|
{
|
|
954
|
-
name:
|
|
955
|
-
type:
|
|
954
|
+
"name": "_legoId",
|
|
955
|
+
"type": "uint256"
|
|
956
956
|
},
|
|
957
957
|
{
|
|
958
|
-
name:
|
|
959
|
-
type:
|
|
958
|
+
"name": "_vaultToken",
|
|
959
|
+
"type": "address"
|
|
960
960
|
},
|
|
961
961
|
{
|
|
962
|
-
name:
|
|
963
|
-
type:
|
|
964
|
-
}
|
|
962
|
+
"name": "_amount",
|
|
963
|
+
"type": "uint256"
|
|
964
|
+
}
|
|
965
965
|
],
|
|
966
|
-
outputs: [
|
|
966
|
+
"outputs": [
|
|
967
967
|
{
|
|
968
|
-
name:
|
|
969
|
-
type:
|
|
968
|
+
"name": "",
|
|
969
|
+
"type": "uint256"
|
|
970
970
|
},
|
|
971
971
|
{
|
|
972
|
-
name:
|
|
973
|
-
type:
|
|
972
|
+
"name": "",
|
|
973
|
+
"type": "address"
|
|
974
974
|
},
|
|
975
975
|
{
|
|
976
|
-
name:
|
|
977
|
-
type:
|
|
976
|
+
"name": "",
|
|
977
|
+
"type": "uint256"
|
|
978
978
|
},
|
|
979
979
|
{
|
|
980
|
-
name:
|
|
981
|
-
type:
|
|
982
|
-
}
|
|
983
|
-
]
|
|
980
|
+
"name": "",
|
|
981
|
+
"type": "uint256"
|
|
982
|
+
}
|
|
983
|
+
]
|
|
984
984
|
},
|
|
985
985
|
{
|
|
986
|
-
stateMutability:
|
|
987
|
-
type:
|
|
988
|
-
name:
|
|
989
|
-
inputs: [
|
|
986
|
+
"stateMutability": "nonpayable",
|
|
987
|
+
"type": "function",
|
|
988
|
+
"name": "withdrawFromYield",
|
|
989
|
+
"inputs": [
|
|
990
990
|
{
|
|
991
|
-
name:
|
|
992
|
-
type:
|
|
991
|
+
"name": "_legoId",
|
|
992
|
+
"type": "uint256"
|
|
993
993
|
},
|
|
994
994
|
{
|
|
995
|
-
name:
|
|
996
|
-
type:
|
|
995
|
+
"name": "_vaultToken",
|
|
996
|
+
"type": "address"
|
|
997
997
|
},
|
|
998
998
|
{
|
|
999
|
-
name:
|
|
1000
|
-
type:
|
|
999
|
+
"name": "_amount",
|
|
1000
|
+
"type": "uint256"
|
|
1001
1001
|
},
|
|
1002
1002
|
{
|
|
1003
|
-
name:
|
|
1004
|
-
type:
|
|
1005
|
-
}
|
|
1003
|
+
"name": "_extraData",
|
|
1004
|
+
"type": "bytes32"
|
|
1005
|
+
}
|
|
1006
1006
|
],
|
|
1007
|
-
outputs: [
|
|
1007
|
+
"outputs": [
|
|
1008
1008
|
{
|
|
1009
|
-
name:
|
|
1010
|
-
type:
|
|
1009
|
+
"name": "",
|
|
1010
|
+
"type": "uint256"
|
|
1011
1011
|
},
|
|
1012
1012
|
{
|
|
1013
|
-
name:
|
|
1014
|
-
type:
|
|
1013
|
+
"name": "",
|
|
1014
|
+
"type": "address"
|
|
1015
1015
|
},
|
|
1016
1016
|
{
|
|
1017
|
-
name:
|
|
1018
|
-
type:
|
|
1017
|
+
"name": "",
|
|
1018
|
+
"type": "uint256"
|
|
1019
1019
|
},
|
|
1020
1020
|
{
|
|
1021
|
-
name:
|
|
1022
|
-
type:
|
|
1023
|
-
}
|
|
1024
|
-
]
|
|
1021
|
+
"name": "",
|
|
1022
|
+
"type": "uint256"
|
|
1023
|
+
}
|
|
1024
|
+
]
|
|
1025
1025
|
},
|
|
1026
1026
|
{
|
|
1027
|
-
stateMutability:
|
|
1028
|
-
type:
|
|
1029
|
-
name:
|
|
1030
|
-
inputs: [
|
|
1027
|
+
"stateMutability": "nonpayable",
|
|
1028
|
+
"type": "function",
|
|
1029
|
+
"name": "withdrawFromYield",
|
|
1030
|
+
"inputs": [
|
|
1031
1031
|
{
|
|
1032
|
-
name:
|
|
1033
|
-
type:
|
|
1032
|
+
"name": "_legoId",
|
|
1033
|
+
"type": "uint256"
|
|
1034
1034
|
},
|
|
1035
1035
|
{
|
|
1036
|
-
name:
|
|
1037
|
-
type:
|
|
1036
|
+
"name": "_vaultToken",
|
|
1037
|
+
"type": "address"
|
|
1038
1038
|
},
|
|
1039
1039
|
{
|
|
1040
|
-
name:
|
|
1041
|
-
type:
|
|
1040
|
+
"name": "_amount",
|
|
1041
|
+
"type": "uint256"
|
|
1042
1042
|
},
|
|
1043
1043
|
{
|
|
1044
|
-
name:
|
|
1045
|
-
type:
|
|
1044
|
+
"name": "_extraData",
|
|
1045
|
+
"type": "bytes32"
|
|
1046
1046
|
},
|
|
1047
1047
|
{
|
|
1048
|
-
name:
|
|
1049
|
-
type:
|
|
1050
|
-
}
|
|
1048
|
+
"name": "_isSpecialTx",
|
|
1049
|
+
"type": "bool"
|
|
1050
|
+
}
|
|
1051
1051
|
],
|
|
1052
|
-
outputs: [
|
|
1052
|
+
"outputs": [
|
|
1053
1053
|
{
|
|
1054
|
-
name:
|
|
1055
|
-
type:
|
|
1054
|
+
"name": "",
|
|
1055
|
+
"type": "uint256"
|
|
1056
1056
|
},
|
|
1057
1057
|
{
|
|
1058
|
-
name:
|
|
1059
|
-
type:
|
|
1058
|
+
"name": "",
|
|
1059
|
+
"type": "address"
|
|
1060
1060
|
},
|
|
1061
1061
|
{
|
|
1062
|
-
name:
|
|
1063
|
-
type:
|
|
1062
|
+
"name": "",
|
|
1063
|
+
"type": "uint256"
|
|
1064
1064
|
},
|
|
1065
1065
|
{
|
|
1066
|
-
name:
|
|
1067
|
-
type:
|
|
1068
|
-
}
|
|
1069
|
-
]
|
|
1066
|
+
"name": "",
|
|
1067
|
+
"type": "uint256"
|
|
1068
|
+
}
|
|
1069
|
+
]
|
|
1070
1070
|
},
|
|
1071
1071
|
{
|
|
1072
|
-
stateMutability:
|
|
1073
|
-
type:
|
|
1074
|
-
name:
|
|
1075
|
-
inputs: [
|
|
1072
|
+
"stateMutability": "nonpayable",
|
|
1073
|
+
"type": "function",
|
|
1074
|
+
"name": "swapTokens",
|
|
1075
|
+
"inputs": [
|
|
1076
1076
|
{
|
|
1077
|
-
name:
|
|
1078
|
-
type:
|
|
1079
|
-
components: [
|
|
1077
|
+
"name": "_instructions",
|
|
1078
|
+
"type": "tuple[]",
|
|
1079
|
+
"components": [
|
|
1080
1080
|
{
|
|
1081
|
-
name:
|
|
1082
|
-
type:
|
|
1081
|
+
"name": "legoId",
|
|
1082
|
+
"type": "uint256"
|
|
1083
1083
|
},
|
|
1084
1084
|
{
|
|
1085
|
-
name:
|
|
1086
|
-
type:
|
|
1085
|
+
"name": "amountIn",
|
|
1086
|
+
"type": "uint256"
|
|
1087
1087
|
},
|
|
1088
1088
|
{
|
|
1089
|
-
name:
|
|
1090
|
-
type:
|
|
1089
|
+
"name": "minAmountOut",
|
|
1090
|
+
"type": "uint256"
|
|
1091
1091
|
},
|
|
1092
1092
|
{
|
|
1093
|
-
name:
|
|
1094
|
-
type:
|
|
1093
|
+
"name": "tokenPath",
|
|
1094
|
+
"type": "address[]"
|
|
1095
1095
|
},
|
|
1096
1096
|
{
|
|
1097
|
-
name:
|
|
1098
|
-
type:
|
|
1099
|
-
}
|
|
1100
|
-
]
|
|
1101
|
-
}
|
|
1097
|
+
"name": "poolPath",
|
|
1098
|
+
"type": "address[]"
|
|
1099
|
+
}
|
|
1100
|
+
]
|
|
1101
|
+
}
|
|
1102
1102
|
],
|
|
1103
|
-
outputs: [
|
|
1103
|
+
"outputs": [
|
|
1104
1104
|
{
|
|
1105
|
-
name:
|
|
1106
|
-
type:
|
|
1105
|
+
"name": "",
|
|
1106
|
+
"type": "address"
|
|
1107
1107
|
},
|
|
1108
1108
|
{
|
|
1109
|
-
name:
|
|
1110
|
-
type:
|
|
1109
|
+
"name": "",
|
|
1110
|
+
"type": "uint256"
|
|
1111
1111
|
},
|
|
1112
1112
|
{
|
|
1113
|
-
name:
|
|
1114
|
-
type:
|
|
1113
|
+
"name": "",
|
|
1114
|
+
"type": "address"
|
|
1115
1115
|
},
|
|
1116
1116
|
{
|
|
1117
|
-
name:
|
|
1118
|
-
type:
|
|
1117
|
+
"name": "",
|
|
1118
|
+
"type": "uint256"
|
|
1119
1119
|
},
|
|
1120
1120
|
{
|
|
1121
|
-
name:
|
|
1122
|
-
type:
|
|
1123
|
-
}
|
|
1124
|
-
]
|
|
1121
|
+
"name": "",
|
|
1122
|
+
"type": "uint256"
|
|
1123
|
+
}
|
|
1124
|
+
]
|
|
1125
1125
|
},
|
|
1126
1126
|
{
|
|
1127
|
-
stateMutability:
|
|
1128
|
-
type:
|
|
1129
|
-
name:
|
|
1130
|
-
inputs: [
|
|
1127
|
+
"stateMutability": "nonpayable",
|
|
1128
|
+
"type": "function",
|
|
1129
|
+
"name": "claimIncentives",
|
|
1130
|
+
"inputs": [
|
|
1131
1131
|
{
|
|
1132
|
-
name:
|
|
1133
|
-
type:
|
|
1134
|
-
}
|
|
1132
|
+
"name": "_legoId",
|
|
1133
|
+
"type": "uint256"
|
|
1134
|
+
}
|
|
1135
1135
|
],
|
|
1136
|
-
outputs: [
|
|
1136
|
+
"outputs": [
|
|
1137
1137
|
{
|
|
1138
|
-
name:
|
|
1139
|
-
type:
|
|
1138
|
+
"name": "",
|
|
1139
|
+
"type": "uint256"
|
|
1140
1140
|
},
|
|
1141
1141
|
{
|
|
1142
|
-
name:
|
|
1143
|
-
type:
|
|
1144
|
-
}
|
|
1145
|
-
]
|
|
1142
|
+
"name": "",
|
|
1143
|
+
"type": "uint256"
|
|
1144
|
+
}
|
|
1145
|
+
]
|
|
1146
1146
|
},
|
|
1147
1147
|
{
|
|
1148
|
-
stateMutability:
|
|
1149
|
-
type:
|
|
1150
|
-
name:
|
|
1151
|
-
inputs: [
|
|
1148
|
+
"stateMutability": "nonpayable",
|
|
1149
|
+
"type": "function",
|
|
1150
|
+
"name": "claimIncentives",
|
|
1151
|
+
"inputs": [
|
|
1152
1152
|
{
|
|
1153
|
-
name:
|
|
1154
|
-
type:
|
|
1153
|
+
"name": "_legoId",
|
|
1154
|
+
"type": "uint256"
|
|
1155
1155
|
},
|
|
1156
1156
|
{
|
|
1157
|
-
name:
|
|
1158
|
-
type:
|
|
1159
|
-
}
|
|
1157
|
+
"name": "_rewardToken",
|
|
1158
|
+
"type": "address"
|
|
1159
|
+
}
|
|
1160
1160
|
],
|
|
1161
|
-
outputs: [
|
|
1161
|
+
"outputs": [
|
|
1162
1162
|
{
|
|
1163
|
-
name:
|
|
1164
|
-
type:
|
|
1163
|
+
"name": "",
|
|
1164
|
+
"type": "uint256"
|
|
1165
1165
|
},
|
|
1166
1166
|
{
|
|
1167
|
-
name:
|
|
1168
|
-
type:
|
|
1169
|
-
}
|
|
1170
|
-
]
|
|
1167
|
+
"name": "",
|
|
1168
|
+
"type": "uint256"
|
|
1169
|
+
}
|
|
1170
|
+
]
|
|
1171
1171
|
},
|
|
1172
1172
|
{
|
|
1173
|
-
stateMutability:
|
|
1174
|
-
type:
|
|
1175
|
-
name:
|
|
1176
|
-
inputs: [
|
|
1173
|
+
"stateMutability": "nonpayable",
|
|
1174
|
+
"type": "function",
|
|
1175
|
+
"name": "claimIncentives",
|
|
1176
|
+
"inputs": [
|
|
1177
1177
|
{
|
|
1178
|
-
name:
|
|
1179
|
-
type:
|
|
1178
|
+
"name": "_legoId",
|
|
1179
|
+
"type": "uint256"
|
|
1180
1180
|
},
|
|
1181
1181
|
{
|
|
1182
|
-
name:
|
|
1183
|
-
type:
|
|
1182
|
+
"name": "_rewardToken",
|
|
1183
|
+
"type": "address"
|
|
1184
1184
|
},
|
|
1185
1185
|
{
|
|
1186
|
-
name:
|
|
1187
|
-
type:
|
|
1188
|
-
}
|
|
1186
|
+
"name": "_rewardAmount",
|
|
1187
|
+
"type": "uint256"
|
|
1188
|
+
}
|
|
1189
1189
|
],
|
|
1190
|
-
outputs: [
|
|
1190
|
+
"outputs": [
|
|
1191
1191
|
{
|
|
1192
|
-
name:
|
|
1193
|
-
type:
|
|
1192
|
+
"name": "",
|
|
1193
|
+
"type": "uint256"
|
|
1194
1194
|
},
|
|
1195
1195
|
{
|
|
1196
|
-
name:
|
|
1197
|
-
type:
|
|
1198
|
-
}
|
|
1199
|
-
]
|
|
1196
|
+
"name": "",
|
|
1197
|
+
"type": "uint256"
|
|
1198
|
+
}
|
|
1199
|
+
]
|
|
1200
1200
|
},
|
|
1201
1201
|
{
|
|
1202
|
-
stateMutability:
|
|
1203
|
-
type:
|
|
1204
|
-
name:
|
|
1205
|
-
inputs: [
|
|
1202
|
+
"stateMutability": "nonpayable",
|
|
1203
|
+
"type": "function",
|
|
1204
|
+
"name": "claimIncentives",
|
|
1205
|
+
"inputs": [
|
|
1206
1206
|
{
|
|
1207
|
-
name:
|
|
1208
|
-
type:
|
|
1207
|
+
"name": "_legoId",
|
|
1208
|
+
"type": "uint256"
|
|
1209
1209
|
},
|
|
1210
1210
|
{
|
|
1211
|
-
name:
|
|
1212
|
-
type:
|
|
1211
|
+
"name": "_rewardToken",
|
|
1212
|
+
"type": "address"
|
|
1213
1213
|
},
|
|
1214
1214
|
{
|
|
1215
|
-
name:
|
|
1216
|
-
type:
|
|
1215
|
+
"name": "_rewardAmount",
|
|
1216
|
+
"type": "uint256"
|
|
1217
1217
|
},
|
|
1218
1218
|
{
|
|
1219
|
-
name:
|
|
1220
|
-
type:
|
|
1221
|
-
}
|
|
1219
|
+
"name": "_proofs",
|
|
1220
|
+
"type": "bytes32[]"
|
|
1221
|
+
}
|
|
1222
1222
|
],
|
|
1223
|
-
outputs: [
|
|
1223
|
+
"outputs": [
|
|
1224
1224
|
{
|
|
1225
|
-
name:
|
|
1226
|
-
type:
|
|
1225
|
+
"name": "",
|
|
1226
|
+
"type": "uint256"
|
|
1227
1227
|
},
|
|
1228
1228
|
{
|
|
1229
|
-
name:
|
|
1230
|
-
type:
|
|
1231
|
-
}
|
|
1232
|
-
]
|
|
1229
|
+
"name": "",
|
|
1230
|
+
"type": "uint256"
|
|
1231
|
+
}
|
|
1232
|
+
]
|
|
1233
1233
|
},
|
|
1234
1234
|
{
|
|
1235
|
-
stateMutability:
|
|
1236
|
-
type:
|
|
1237
|
-
name:
|
|
1238
|
-
inputs: [],
|
|
1239
|
-
outputs: [
|
|
1235
|
+
"stateMutability": "nonpayable",
|
|
1236
|
+
"type": "function",
|
|
1237
|
+
"name": "claimPerformanceFees",
|
|
1238
|
+
"inputs": [],
|
|
1239
|
+
"outputs": [
|
|
1240
1240
|
{
|
|
1241
|
-
name:
|
|
1242
|
-
type:
|
|
1243
|
-
}
|
|
1244
|
-
]
|
|
1241
|
+
"name": "",
|
|
1242
|
+
"type": "uint256"
|
|
1243
|
+
}
|
|
1244
|
+
]
|
|
1245
1245
|
},
|
|
1246
1246
|
{
|
|
1247
|
-
stateMutability:
|
|
1248
|
-
type:
|
|
1249
|
-
name:
|
|
1250
|
-
inputs: [],
|
|
1251
|
-
outputs: [
|
|
1247
|
+
"stateMutability": "view",
|
|
1248
|
+
"type": "function",
|
|
1249
|
+
"name": "getClaimablePerformanceFees",
|
|
1250
|
+
"inputs": [],
|
|
1251
|
+
"outputs": [
|
|
1252
1252
|
{
|
|
1253
|
-
name:
|
|
1254
|
-
type:
|
|
1255
|
-
}
|
|
1256
|
-
]
|
|
1253
|
+
"name": "",
|
|
1254
|
+
"type": "uint256"
|
|
1255
|
+
}
|
|
1256
|
+
]
|
|
1257
1257
|
},
|
|
1258
1258
|
{
|
|
1259
|
-
stateMutability:
|
|
1260
|
-
type:
|
|
1261
|
-
name:
|
|
1262
|
-
inputs: [
|
|
1259
|
+
"stateMutability": "nonpayable",
|
|
1260
|
+
"type": "function",
|
|
1261
|
+
"name": "updateYieldPosition",
|
|
1262
|
+
"inputs": [
|
|
1263
1263
|
{
|
|
1264
|
-
name:
|
|
1265
|
-
type:
|
|
1266
|
-
}
|
|
1264
|
+
"name": "_vaultToken",
|
|
1265
|
+
"type": "address"
|
|
1266
|
+
}
|
|
1267
1267
|
],
|
|
1268
|
-
outputs: []
|
|
1268
|
+
"outputs": []
|
|
1269
1269
|
},
|
|
1270
1270
|
{
|
|
1271
|
-
stateMutability:
|
|
1272
|
-
type:
|
|
1273
|
-
name:
|
|
1274
|
-
inputs: [
|
|
1271
|
+
"stateMutability": "nonpayable",
|
|
1272
|
+
"type": "function",
|
|
1273
|
+
"name": "addManager",
|
|
1274
|
+
"inputs": [
|
|
1275
1275
|
{
|
|
1276
|
-
name:
|
|
1277
|
-
type:
|
|
1278
|
-
}
|
|
1276
|
+
"name": "_manager",
|
|
1277
|
+
"type": "address"
|
|
1278
|
+
}
|
|
1279
1279
|
],
|
|
1280
|
-
outputs: []
|
|
1280
|
+
"outputs": []
|
|
1281
1281
|
},
|
|
1282
1282
|
{
|
|
1283
|
-
stateMutability:
|
|
1284
|
-
type:
|
|
1285
|
-
name:
|
|
1286
|
-
inputs: [
|
|
1283
|
+
"stateMutability": "nonpayable",
|
|
1284
|
+
"type": "function",
|
|
1285
|
+
"name": "removeManager",
|
|
1286
|
+
"inputs": [
|
|
1287
1287
|
{
|
|
1288
|
-
name:
|
|
1289
|
-
type:
|
|
1290
|
-
}
|
|
1288
|
+
"name": "_manager",
|
|
1289
|
+
"type": "address"
|
|
1290
|
+
}
|
|
1291
1291
|
],
|
|
1292
|
-
outputs: []
|
|
1292
|
+
"outputs": []
|
|
1293
1293
|
},
|
|
1294
1294
|
{
|
|
1295
|
-
stateMutability:
|
|
1296
|
-
type:
|
|
1297
|
-
name:
|
|
1298
|
-
inputs: [],
|
|
1299
|
-
outputs: [
|
|
1295
|
+
"stateMutability": "view",
|
|
1296
|
+
"type": "function",
|
|
1297
|
+
"name": "lastUnderlyingBal",
|
|
1298
|
+
"inputs": [],
|
|
1299
|
+
"outputs": [
|
|
1300
1300
|
{
|
|
1301
|
-
name:
|
|
1302
|
-
type:
|
|
1303
|
-
}
|
|
1304
|
-
]
|
|
1301
|
+
"name": "",
|
|
1302
|
+
"type": "uint256"
|
|
1303
|
+
}
|
|
1304
|
+
]
|
|
1305
1305
|
},
|
|
1306
1306
|
{
|
|
1307
|
-
stateMutability:
|
|
1308
|
-
type:
|
|
1309
|
-
name:
|
|
1310
|
-
inputs: [],
|
|
1311
|
-
outputs: [
|
|
1307
|
+
"stateMutability": "view",
|
|
1308
|
+
"type": "function",
|
|
1309
|
+
"name": "pendingYieldRealized",
|
|
1310
|
+
"inputs": [],
|
|
1311
|
+
"outputs": [
|
|
1312
1312
|
{
|
|
1313
|
-
name:
|
|
1314
|
-
type:
|
|
1315
|
-
}
|
|
1316
|
-
]
|
|
1313
|
+
"name": "",
|
|
1314
|
+
"type": "uint256"
|
|
1315
|
+
}
|
|
1316
|
+
]
|
|
1317
1317
|
},
|
|
1318
1318
|
{
|
|
1319
|
-
stateMutability:
|
|
1320
|
-
type:
|
|
1321
|
-
name:
|
|
1322
|
-
inputs: [
|
|
1319
|
+
"stateMutability": "view",
|
|
1320
|
+
"type": "function",
|
|
1321
|
+
"name": "vaultToLegoId",
|
|
1322
|
+
"inputs": [
|
|
1323
1323
|
{
|
|
1324
|
-
name:
|
|
1325
|
-
type:
|
|
1326
|
-
}
|
|
1324
|
+
"name": "arg0",
|
|
1325
|
+
"type": "address"
|
|
1326
|
+
}
|
|
1327
1327
|
],
|
|
1328
|
-
outputs: [
|
|
1328
|
+
"outputs": [
|
|
1329
1329
|
{
|
|
1330
|
-
name:
|
|
1331
|
-
type:
|
|
1332
|
-
}
|
|
1333
|
-
]
|
|
1330
|
+
"name": "",
|
|
1331
|
+
"type": "uint256"
|
|
1332
|
+
}
|
|
1333
|
+
]
|
|
1334
1334
|
},
|
|
1335
1335
|
{
|
|
1336
|
-
stateMutability:
|
|
1337
|
-
type:
|
|
1338
|
-
name:
|
|
1339
|
-
inputs: [
|
|
1336
|
+
"stateMutability": "view",
|
|
1337
|
+
"type": "function",
|
|
1338
|
+
"name": "assets",
|
|
1339
|
+
"inputs": [
|
|
1340
1340
|
{
|
|
1341
|
-
name:
|
|
1342
|
-
type:
|
|
1343
|
-
}
|
|
1341
|
+
"name": "arg0",
|
|
1342
|
+
"type": "uint256"
|
|
1343
|
+
}
|
|
1344
1344
|
],
|
|
1345
|
-
outputs: [
|
|
1345
|
+
"outputs": [
|
|
1346
1346
|
{
|
|
1347
|
-
name:
|
|
1348
|
-
type:
|
|
1349
|
-
}
|
|
1350
|
-
]
|
|
1347
|
+
"name": "",
|
|
1348
|
+
"type": "address"
|
|
1349
|
+
}
|
|
1350
|
+
]
|
|
1351
1351
|
},
|
|
1352
1352
|
{
|
|
1353
|
-
stateMutability:
|
|
1354
|
-
type:
|
|
1355
|
-
name:
|
|
1356
|
-
inputs: [
|
|
1353
|
+
"stateMutability": "view",
|
|
1354
|
+
"type": "function",
|
|
1355
|
+
"name": "indexOfAsset",
|
|
1356
|
+
"inputs": [
|
|
1357
1357
|
{
|
|
1358
|
-
name:
|
|
1359
|
-
type:
|
|
1360
|
-
}
|
|
1358
|
+
"name": "arg0",
|
|
1359
|
+
"type": "address"
|
|
1360
|
+
}
|
|
1361
1361
|
],
|
|
1362
|
-
outputs: [
|
|
1362
|
+
"outputs": [
|
|
1363
1363
|
{
|
|
1364
|
-
name:
|
|
1365
|
-
type:
|
|
1366
|
-
}
|
|
1367
|
-
]
|
|
1364
|
+
"name": "",
|
|
1365
|
+
"type": "uint256"
|
|
1366
|
+
}
|
|
1367
|
+
]
|
|
1368
1368
|
},
|
|
1369
1369
|
{
|
|
1370
|
-
stateMutability:
|
|
1371
|
-
type:
|
|
1372
|
-
name:
|
|
1373
|
-
inputs: [],
|
|
1374
|
-
outputs: [
|
|
1370
|
+
"stateMutability": "view",
|
|
1371
|
+
"type": "function",
|
|
1372
|
+
"name": "numAssets",
|
|
1373
|
+
"inputs": [],
|
|
1374
|
+
"outputs": [
|
|
1375
1375
|
{
|
|
1376
|
-
name:
|
|
1377
|
-
type:
|
|
1378
|
-
}
|
|
1379
|
-
]
|
|
1376
|
+
"name": "",
|
|
1377
|
+
"type": "uint256"
|
|
1378
|
+
}
|
|
1379
|
+
]
|
|
1380
1380
|
},
|
|
1381
1381
|
{
|
|
1382
|
-
stateMutability:
|
|
1383
|
-
type:
|
|
1384
|
-
name:
|
|
1385
|
-
inputs: [
|
|
1382
|
+
"stateMutability": "view",
|
|
1383
|
+
"type": "function",
|
|
1384
|
+
"name": "managers",
|
|
1385
|
+
"inputs": [
|
|
1386
1386
|
{
|
|
1387
|
-
name:
|
|
1388
|
-
type:
|
|
1389
|
-
}
|
|
1387
|
+
"name": "arg0",
|
|
1388
|
+
"type": "uint256"
|
|
1389
|
+
}
|
|
1390
1390
|
],
|
|
1391
|
-
outputs: [
|
|
1391
|
+
"outputs": [
|
|
1392
1392
|
{
|
|
1393
|
-
name:
|
|
1394
|
-
type:
|
|
1395
|
-
}
|
|
1396
|
-
]
|
|
1393
|
+
"name": "",
|
|
1394
|
+
"type": "address"
|
|
1395
|
+
}
|
|
1396
|
+
]
|
|
1397
1397
|
},
|
|
1398
1398
|
{
|
|
1399
|
-
stateMutability:
|
|
1400
|
-
type:
|
|
1401
|
-
name:
|
|
1402
|
-
inputs: [
|
|
1399
|
+
"stateMutability": "view",
|
|
1400
|
+
"type": "function",
|
|
1401
|
+
"name": "indexOfManager",
|
|
1402
|
+
"inputs": [
|
|
1403
1403
|
{
|
|
1404
|
-
name:
|
|
1405
|
-
type:
|
|
1406
|
-
}
|
|
1404
|
+
"name": "arg0",
|
|
1405
|
+
"type": "address"
|
|
1406
|
+
}
|
|
1407
1407
|
],
|
|
1408
|
-
outputs: [
|
|
1408
|
+
"outputs": [
|
|
1409
1409
|
{
|
|
1410
|
-
name:
|
|
1411
|
-
type:
|
|
1412
|
-
}
|
|
1413
|
-
]
|
|
1410
|
+
"name": "",
|
|
1411
|
+
"type": "uint256"
|
|
1412
|
+
}
|
|
1413
|
+
]
|
|
1414
1414
|
},
|
|
1415
1415
|
{
|
|
1416
|
-
stateMutability:
|
|
1417
|
-
type:
|
|
1418
|
-
name:
|
|
1419
|
-
inputs: [],
|
|
1420
|
-
outputs: [
|
|
1416
|
+
"stateMutability": "view",
|
|
1417
|
+
"type": "function",
|
|
1418
|
+
"name": "numManagers",
|
|
1419
|
+
"inputs": [],
|
|
1420
|
+
"outputs": [
|
|
1421
1421
|
{
|
|
1422
|
-
name:
|
|
1423
|
-
type:
|
|
1424
|
-
}
|
|
1425
|
-
]
|
|
1422
|
+
"name": "",
|
|
1423
|
+
"type": "uint256"
|
|
1424
|
+
}
|
|
1425
|
+
]
|
|
1426
1426
|
},
|
|
1427
1427
|
{
|
|
1428
|
-
stateMutability:
|
|
1429
|
-
type:
|
|
1430
|
-
name:
|
|
1431
|
-
inputs: [],
|
|
1432
|
-
outputs: [
|
|
1428
|
+
"stateMutability": "view",
|
|
1429
|
+
"type": "function",
|
|
1430
|
+
"name": "asset",
|
|
1431
|
+
"inputs": [],
|
|
1432
|
+
"outputs": [
|
|
1433
1433
|
{
|
|
1434
|
-
name:
|
|
1435
|
-
type:
|
|
1436
|
-
}
|
|
1437
|
-
]
|
|
1434
|
+
"name": "",
|
|
1435
|
+
"type": "address"
|
|
1436
|
+
}
|
|
1437
|
+
]
|
|
1438
1438
|
},
|
|
1439
1439
|
{
|
|
1440
|
-
stateMutability:
|
|
1441
|
-
type:
|
|
1442
|
-
name:
|
|
1443
|
-
inputs: [],
|
|
1444
|
-
outputs: [
|
|
1440
|
+
"stateMutability": "view",
|
|
1441
|
+
"type": "function",
|
|
1442
|
+
"name": "totalAssets",
|
|
1443
|
+
"inputs": [],
|
|
1444
|
+
"outputs": [
|
|
1445
1445
|
{
|
|
1446
|
-
name:
|
|
1447
|
-
type:
|
|
1448
|
-
}
|
|
1449
|
-
]
|
|
1446
|
+
"name": "",
|
|
1447
|
+
"type": "uint256"
|
|
1448
|
+
}
|
|
1449
|
+
]
|
|
1450
1450
|
},
|
|
1451
1451
|
{
|
|
1452
|
-
stateMutability:
|
|
1453
|
-
type:
|
|
1454
|
-
name:
|
|
1455
|
-
inputs: [
|
|
1452
|
+
"stateMutability": "view",
|
|
1453
|
+
"type": "function",
|
|
1454
|
+
"name": "getTotalAssets",
|
|
1455
|
+
"inputs": [
|
|
1456
1456
|
{
|
|
1457
|
-
name:
|
|
1458
|
-
type:
|
|
1459
|
-
}
|
|
1457
|
+
"name": "_shouldGetMax",
|
|
1458
|
+
"type": "bool"
|
|
1459
|
+
}
|
|
1460
1460
|
],
|
|
1461
|
-
outputs: [
|
|
1461
|
+
"outputs": [
|
|
1462
1462
|
{
|
|
1463
|
-
name:
|
|
1464
|
-
type:
|
|
1465
|
-
}
|
|
1466
|
-
]
|
|
1463
|
+
"name": "",
|
|
1464
|
+
"type": "uint256"
|
|
1465
|
+
}
|
|
1466
|
+
]
|
|
1467
1467
|
},
|
|
1468
1468
|
{
|
|
1469
|
-
stateMutability:
|
|
1470
|
-
type:
|
|
1471
|
-
name:
|
|
1472
|
-
inputs: [
|
|
1469
|
+
"stateMutability": "view",
|
|
1470
|
+
"type": "function",
|
|
1471
|
+
"name": "maxDeposit",
|
|
1472
|
+
"inputs": [
|
|
1473
1473
|
{
|
|
1474
|
-
name:
|
|
1475
|
-
type:
|
|
1476
|
-
}
|
|
1474
|
+
"name": "_receiver",
|
|
1475
|
+
"type": "address"
|
|
1476
|
+
}
|
|
1477
1477
|
],
|
|
1478
|
-
outputs: [
|
|
1478
|
+
"outputs": [
|
|
1479
1479
|
{
|
|
1480
|
-
name:
|
|
1481
|
-
type:
|
|
1482
|
-
}
|
|
1483
|
-
]
|
|
1480
|
+
"name": "",
|
|
1481
|
+
"type": "uint256"
|
|
1482
|
+
}
|
|
1483
|
+
]
|
|
1484
1484
|
},
|
|
1485
1485
|
{
|
|
1486
|
-
stateMutability:
|
|
1487
|
-
type:
|
|
1488
|
-
name:
|
|
1489
|
-
inputs: [
|
|
1486
|
+
"stateMutability": "view",
|
|
1487
|
+
"type": "function",
|
|
1488
|
+
"name": "previewDeposit",
|
|
1489
|
+
"inputs": [
|
|
1490
1490
|
{
|
|
1491
|
-
name:
|
|
1492
|
-
type:
|
|
1493
|
-
}
|
|
1491
|
+
"name": "_assets",
|
|
1492
|
+
"type": "uint256"
|
|
1493
|
+
}
|
|
1494
1494
|
],
|
|
1495
|
-
outputs: [
|
|
1495
|
+
"outputs": [
|
|
1496
1496
|
{
|
|
1497
|
-
name:
|
|
1498
|
-
type:
|
|
1499
|
-
}
|
|
1500
|
-
]
|
|
1497
|
+
"name": "",
|
|
1498
|
+
"type": "uint256"
|
|
1499
|
+
}
|
|
1500
|
+
]
|
|
1501
1501
|
},
|
|
1502
1502
|
{
|
|
1503
|
-
stateMutability:
|
|
1504
|
-
type:
|
|
1505
|
-
name:
|
|
1506
|
-
inputs: [
|
|
1503
|
+
"stateMutability": "nonpayable",
|
|
1504
|
+
"type": "function",
|
|
1505
|
+
"name": "deposit",
|
|
1506
|
+
"inputs": [
|
|
1507
1507
|
{
|
|
1508
|
-
name:
|
|
1509
|
-
type:
|
|
1510
|
-
}
|
|
1508
|
+
"name": "_assets",
|
|
1509
|
+
"type": "uint256"
|
|
1510
|
+
}
|
|
1511
1511
|
],
|
|
1512
|
-
outputs: [
|
|
1512
|
+
"outputs": [
|
|
1513
1513
|
{
|
|
1514
|
-
name:
|
|
1515
|
-
type:
|
|
1516
|
-
}
|
|
1517
|
-
]
|
|
1514
|
+
"name": "",
|
|
1515
|
+
"type": "uint256"
|
|
1516
|
+
}
|
|
1517
|
+
]
|
|
1518
1518
|
},
|
|
1519
1519
|
{
|
|
1520
|
-
stateMutability:
|
|
1521
|
-
type:
|
|
1522
|
-
name:
|
|
1523
|
-
inputs: [
|
|
1520
|
+
"stateMutability": "nonpayable",
|
|
1521
|
+
"type": "function",
|
|
1522
|
+
"name": "deposit",
|
|
1523
|
+
"inputs": [
|
|
1524
1524
|
{
|
|
1525
|
-
name:
|
|
1526
|
-
type:
|
|
1525
|
+
"name": "_assets",
|
|
1526
|
+
"type": "uint256"
|
|
1527
1527
|
},
|
|
1528
1528
|
{
|
|
1529
|
-
name:
|
|
1530
|
-
type:
|
|
1531
|
-
}
|
|
1529
|
+
"name": "_receiver",
|
|
1530
|
+
"type": "address"
|
|
1531
|
+
}
|
|
1532
1532
|
],
|
|
1533
|
-
outputs: [
|
|
1533
|
+
"outputs": [
|
|
1534
1534
|
{
|
|
1535
|
-
name:
|
|
1536
|
-
type:
|
|
1537
|
-
}
|
|
1538
|
-
]
|
|
1535
|
+
"name": "",
|
|
1536
|
+
"type": "uint256"
|
|
1537
|
+
}
|
|
1538
|
+
]
|
|
1539
1539
|
},
|
|
1540
1540
|
{
|
|
1541
|
-
stateMutability:
|
|
1542
|
-
type:
|
|
1543
|
-
name:
|
|
1544
|
-
inputs: [
|
|
1541
|
+
"stateMutability": "nonpayable",
|
|
1542
|
+
"type": "function",
|
|
1543
|
+
"name": "depositWithMinAmountOut",
|
|
1544
|
+
"inputs": [
|
|
1545
1545
|
{
|
|
1546
|
-
name:
|
|
1547
|
-
type:
|
|
1546
|
+
"name": "_assets",
|
|
1547
|
+
"type": "uint256"
|
|
1548
1548
|
},
|
|
1549
1549
|
{
|
|
1550
|
-
name:
|
|
1551
|
-
type:
|
|
1552
|
-
}
|
|
1550
|
+
"name": "_minAmountOut",
|
|
1551
|
+
"type": "uint256"
|
|
1552
|
+
}
|
|
1553
1553
|
],
|
|
1554
|
-
outputs: [
|
|
1554
|
+
"outputs": [
|
|
1555
1555
|
{
|
|
1556
|
-
name:
|
|
1557
|
-
type:
|
|
1558
|
-
}
|
|
1559
|
-
]
|
|
1556
|
+
"name": "",
|
|
1557
|
+
"type": "uint256"
|
|
1558
|
+
}
|
|
1559
|
+
]
|
|
1560
1560
|
},
|
|
1561
1561
|
{
|
|
1562
|
-
stateMutability:
|
|
1563
|
-
type:
|
|
1564
|
-
name:
|
|
1565
|
-
inputs: [
|
|
1562
|
+
"stateMutability": "nonpayable",
|
|
1563
|
+
"type": "function",
|
|
1564
|
+
"name": "depositWithMinAmountOut",
|
|
1565
|
+
"inputs": [
|
|
1566
1566
|
{
|
|
1567
|
-
name:
|
|
1568
|
-
type:
|
|
1567
|
+
"name": "_assets",
|
|
1568
|
+
"type": "uint256"
|
|
1569
1569
|
},
|
|
1570
1570
|
{
|
|
1571
|
-
name:
|
|
1572
|
-
type:
|
|
1571
|
+
"name": "_minAmountOut",
|
|
1572
|
+
"type": "uint256"
|
|
1573
1573
|
},
|
|
1574
1574
|
{
|
|
1575
|
-
name:
|
|
1576
|
-
type:
|
|
1577
|
-
}
|
|
1575
|
+
"name": "_receiver",
|
|
1576
|
+
"type": "address"
|
|
1577
|
+
}
|
|
1578
1578
|
],
|
|
1579
|
-
outputs: [
|
|
1579
|
+
"outputs": [
|
|
1580
1580
|
{
|
|
1581
|
-
name:
|
|
1582
|
-
type:
|
|
1583
|
-
}
|
|
1584
|
-
]
|
|
1581
|
+
"name": "",
|
|
1582
|
+
"type": "uint256"
|
|
1583
|
+
}
|
|
1584
|
+
]
|
|
1585
1585
|
},
|
|
1586
1586
|
{
|
|
1587
|
-
stateMutability:
|
|
1588
|
-
type:
|
|
1589
|
-
name:
|
|
1590
|
-
inputs: [
|
|
1587
|
+
"stateMutability": "view",
|
|
1588
|
+
"type": "function",
|
|
1589
|
+
"name": "maxMint",
|
|
1590
|
+
"inputs": [
|
|
1591
1591
|
{
|
|
1592
|
-
name:
|
|
1593
|
-
type:
|
|
1594
|
-
}
|
|
1592
|
+
"name": "_receiver",
|
|
1593
|
+
"type": "address"
|
|
1594
|
+
}
|
|
1595
1595
|
],
|
|
1596
|
-
outputs: [
|
|
1596
|
+
"outputs": [
|
|
1597
1597
|
{
|
|
1598
|
-
name:
|
|
1599
|
-
type:
|
|
1600
|
-
}
|
|
1601
|
-
]
|
|
1598
|
+
"name": "",
|
|
1599
|
+
"type": "uint256"
|
|
1600
|
+
}
|
|
1601
|
+
]
|
|
1602
1602
|
},
|
|
1603
1603
|
{
|
|
1604
|
-
stateMutability:
|
|
1605
|
-
type:
|
|
1606
|
-
name:
|
|
1607
|
-
inputs: [
|
|
1604
|
+
"stateMutability": "view",
|
|
1605
|
+
"type": "function",
|
|
1606
|
+
"name": "previewMint",
|
|
1607
|
+
"inputs": [
|
|
1608
1608
|
{
|
|
1609
|
-
name:
|
|
1610
|
-
type:
|
|
1611
|
-
}
|
|
1609
|
+
"name": "_shares",
|
|
1610
|
+
"type": "uint256"
|
|
1611
|
+
}
|
|
1612
1612
|
],
|
|
1613
|
-
outputs: [
|
|
1613
|
+
"outputs": [
|
|
1614
1614
|
{
|
|
1615
|
-
name:
|
|
1616
|
-
type:
|
|
1617
|
-
}
|
|
1618
|
-
]
|
|
1615
|
+
"name": "",
|
|
1616
|
+
"type": "uint256"
|
|
1617
|
+
}
|
|
1618
|
+
]
|
|
1619
1619
|
},
|
|
1620
1620
|
{
|
|
1621
|
-
stateMutability:
|
|
1622
|
-
type:
|
|
1623
|
-
name:
|
|
1624
|
-
inputs: [
|
|
1621
|
+
"stateMutability": "nonpayable",
|
|
1622
|
+
"type": "function",
|
|
1623
|
+
"name": "mint",
|
|
1624
|
+
"inputs": [
|
|
1625
1625
|
{
|
|
1626
|
-
name:
|
|
1627
|
-
type:
|
|
1628
|
-
}
|
|
1626
|
+
"name": "_shares",
|
|
1627
|
+
"type": "uint256"
|
|
1628
|
+
}
|
|
1629
1629
|
],
|
|
1630
|
-
outputs: [
|
|
1630
|
+
"outputs": [
|
|
1631
1631
|
{
|
|
1632
|
-
name:
|
|
1633
|
-
type:
|
|
1634
|
-
}
|
|
1635
|
-
]
|
|
1632
|
+
"name": "",
|
|
1633
|
+
"type": "uint256"
|
|
1634
|
+
}
|
|
1635
|
+
]
|
|
1636
1636
|
},
|
|
1637
1637
|
{
|
|
1638
|
-
stateMutability:
|
|
1639
|
-
type:
|
|
1640
|
-
name:
|
|
1641
|
-
inputs: [
|
|
1638
|
+
"stateMutability": "nonpayable",
|
|
1639
|
+
"type": "function",
|
|
1640
|
+
"name": "mint",
|
|
1641
|
+
"inputs": [
|
|
1642
1642
|
{
|
|
1643
|
-
name:
|
|
1644
|
-
type:
|
|
1643
|
+
"name": "_shares",
|
|
1644
|
+
"type": "uint256"
|
|
1645
1645
|
},
|
|
1646
1646
|
{
|
|
1647
|
-
name:
|
|
1648
|
-
type:
|
|
1649
|
-
}
|
|
1647
|
+
"name": "_receiver",
|
|
1648
|
+
"type": "address"
|
|
1649
|
+
}
|
|
1650
1650
|
],
|
|
1651
|
-
outputs: [
|
|
1651
|
+
"outputs": [
|
|
1652
1652
|
{
|
|
1653
|
-
name:
|
|
1654
|
-
type:
|
|
1655
|
-
}
|
|
1656
|
-
]
|
|
1653
|
+
"name": "",
|
|
1654
|
+
"type": "uint256"
|
|
1655
|
+
}
|
|
1656
|
+
]
|
|
1657
1657
|
},
|
|
1658
1658
|
{
|
|
1659
|
-
stateMutability:
|
|
1660
|
-
type:
|
|
1661
|
-
name:
|
|
1662
|
-
inputs: [
|
|
1659
|
+
"stateMutability": "view",
|
|
1660
|
+
"type": "function",
|
|
1661
|
+
"name": "maxWithdraw",
|
|
1662
|
+
"inputs": [
|
|
1663
1663
|
{
|
|
1664
|
-
name:
|
|
1665
|
-
type:
|
|
1666
|
-
}
|
|
1664
|
+
"name": "_owner",
|
|
1665
|
+
"type": "address"
|
|
1666
|
+
}
|
|
1667
1667
|
],
|
|
1668
|
-
outputs: [
|
|
1668
|
+
"outputs": [
|
|
1669
1669
|
{
|
|
1670
|
-
name:
|
|
1671
|
-
type:
|
|
1672
|
-
}
|
|
1673
|
-
]
|
|
1670
|
+
"name": "",
|
|
1671
|
+
"type": "uint256"
|
|
1672
|
+
}
|
|
1673
|
+
]
|
|
1674
1674
|
},
|
|
1675
1675
|
{
|
|
1676
|
-
stateMutability:
|
|
1677
|
-
type:
|
|
1678
|
-
name:
|
|
1679
|
-
inputs: [
|
|
1676
|
+
"stateMutability": "view",
|
|
1677
|
+
"type": "function",
|
|
1678
|
+
"name": "previewWithdraw",
|
|
1679
|
+
"inputs": [
|
|
1680
1680
|
{
|
|
1681
|
-
name:
|
|
1682
|
-
type:
|
|
1683
|
-
}
|
|
1681
|
+
"name": "_assets",
|
|
1682
|
+
"type": "uint256"
|
|
1683
|
+
}
|
|
1684
1684
|
],
|
|
1685
|
-
outputs: [
|
|
1685
|
+
"outputs": [
|
|
1686
1686
|
{
|
|
1687
|
-
name:
|
|
1688
|
-
type:
|
|
1689
|
-
}
|
|
1690
|
-
]
|
|
1687
|
+
"name": "",
|
|
1688
|
+
"type": "uint256"
|
|
1689
|
+
}
|
|
1690
|
+
]
|
|
1691
1691
|
},
|
|
1692
1692
|
{
|
|
1693
|
-
stateMutability:
|
|
1694
|
-
type:
|
|
1695
|
-
name:
|
|
1696
|
-
inputs: [
|
|
1693
|
+
"stateMutability": "nonpayable",
|
|
1694
|
+
"type": "function",
|
|
1695
|
+
"name": "withdraw",
|
|
1696
|
+
"inputs": [
|
|
1697
1697
|
{
|
|
1698
|
-
name:
|
|
1699
|
-
type:
|
|
1700
|
-
}
|
|
1698
|
+
"name": "_assets",
|
|
1699
|
+
"type": "uint256"
|
|
1700
|
+
}
|
|
1701
1701
|
],
|
|
1702
|
-
outputs: [
|
|
1702
|
+
"outputs": [
|
|
1703
1703
|
{
|
|
1704
|
-
name:
|
|
1705
|
-
type:
|
|
1706
|
-
}
|
|
1707
|
-
]
|
|
1704
|
+
"name": "",
|
|
1705
|
+
"type": "uint256"
|
|
1706
|
+
}
|
|
1707
|
+
]
|
|
1708
1708
|
},
|
|
1709
1709
|
{
|
|
1710
|
-
stateMutability:
|
|
1711
|
-
type:
|
|
1712
|
-
name:
|
|
1713
|
-
inputs: [
|
|
1710
|
+
"stateMutability": "nonpayable",
|
|
1711
|
+
"type": "function",
|
|
1712
|
+
"name": "withdraw",
|
|
1713
|
+
"inputs": [
|
|
1714
1714
|
{
|
|
1715
|
-
name:
|
|
1716
|
-
type:
|
|
1715
|
+
"name": "_assets",
|
|
1716
|
+
"type": "uint256"
|
|
1717
1717
|
},
|
|
1718
1718
|
{
|
|
1719
|
-
name:
|
|
1720
|
-
type:
|
|
1721
|
-
}
|
|
1719
|
+
"name": "_receiver",
|
|
1720
|
+
"type": "address"
|
|
1721
|
+
}
|
|
1722
1722
|
],
|
|
1723
|
-
outputs: [
|
|
1723
|
+
"outputs": [
|
|
1724
1724
|
{
|
|
1725
|
-
name:
|
|
1726
|
-
type:
|
|
1727
|
-
}
|
|
1728
|
-
]
|
|
1725
|
+
"name": "",
|
|
1726
|
+
"type": "uint256"
|
|
1727
|
+
}
|
|
1728
|
+
]
|
|
1729
1729
|
},
|
|
1730
1730
|
{
|
|
1731
|
-
stateMutability:
|
|
1732
|
-
type:
|
|
1733
|
-
name:
|
|
1734
|
-
inputs: [
|
|
1731
|
+
"stateMutability": "nonpayable",
|
|
1732
|
+
"type": "function",
|
|
1733
|
+
"name": "withdraw",
|
|
1734
|
+
"inputs": [
|
|
1735
1735
|
{
|
|
1736
|
-
name:
|
|
1737
|
-
type:
|
|
1736
|
+
"name": "_assets",
|
|
1737
|
+
"type": "uint256"
|
|
1738
1738
|
},
|
|
1739
1739
|
{
|
|
1740
|
-
name:
|
|
1741
|
-
type:
|
|
1740
|
+
"name": "_receiver",
|
|
1741
|
+
"type": "address"
|
|
1742
1742
|
},
|
|
1743
1743
|
{
|
|
1744
|
-
name:
|
|
1745
|
-
type:
|
|
1746
|
-
}
|
|
1744
|
+
"name": "_owner",
|
|
1745
|
+
"type": "address"
|
|
1746
|
+
}
|
|
1747
1747
|
],
|
|
1748
|
-
outputs: [
|
|
1748
|
+
"outputs": [
|
|
1749
1749
|
{
|
|
1750
|
-
name:
|
|
1751
|
-
type:
|
|
1752
|
-
}
|
|
1753
|
-
]
|
|
1750
|
+
"name": "",
|
|
1751
|
+
"type": "uint256"
|
|
1752
|
+
}
|
|
1753
|
+
]
|
|
1754
1754
|
},
|
|
1755
1755
|
{
|
|
1756
|
-
stateMutability:
|
|
1757
|
-
type:
|
|
1758
|
-
name:
|
|
1759
|
-
inputs: [
|
|
1756
|
+
"stateMutability": "view",
|
|
1757
|
+
"type": "function",
|
|
1758
|
+
"name": "maxRedeem",
|
|
1759
|
+
"inputs": [
|
|
1760
1760
|
{
|
|
1761
|
-
name:
|
|
1762
|
-
type:
|
|
1763
|
-
}
|
|
1761
|
+
"name": "_owner",
|
|
1762
|
+
"type": "address"
|
|
1763
|
+
}
|
|
1764
1764
|
],
|
|
1765
|
-
outputs: [
|
|
1765
|
+
"outputs": [
|
|
1766
1766
|
{
|
|
1767
|
-
name:
|
|
1768
|
-
type:
|
|
1769
|
-
}
|
|
1770
|
-
]
|
|
1767
|
+
"name": "",
|
|
1768
|
+
"type": "uint256"
|
|
1769
|
+
}
|
|
1770
|
+
]
|
|
1771
1771
|
},
|
|
1772
1772
|
{
|
|
1773
|
-
stateMutability:
|
|
1774
|
-
type:
|
|
1775
|
-
name:
|
|
1776
|
-
inputs: [
|
|
1773
|
+
"stateMutability": "view",
|
|
1774
|
+
"type": "function",
|
|
1775
|
+
"name": "previewRedeem",
|
|
1776
|
+
"inputs": [
|
|
1777
1777
|
{
|
|
1778
|
-
name:
|
|
1779
|
-
type:
|
|
1780
|
-
}
|
|
1778
|
+
"name": "_shares",
|
|
1779
|
+
"type": "uint256"
|
|
1780
|
+
}
|
|
1781
1781
|
],
|
|
1782
|
-
outputs: [
|
|
1782
|
+
"outputs": [
|
|
1783
1783
|
{
|
|
1784
|
-
name:
|
|
1785
|
-
type:
|
|
1786
|
-
}
|
|
1787
|
-
]
|
|
1784
|
+
"name": "",
|
|
1785
|
+
"type": "uint256"
|
|
1786
|
+
}
|
|
1787
|
+
]
|
|
1788
1788
|
},
|
|
1789
1789
|
{
|
|
1790
|
-
stateMutability:
|
|
1791
|
-
type:
|
|
1792
|
-
name:
|
|
1793
|
-
inputs: [
|
|
1790
|
+
"stateMutability": "nonpayable",
|
|
1791
|
+
"type": "function",
|
|
1792
|
+
"name": "redeem",
|
|
1793
|
+
"inputs": [
|
|
1794
1794
|
{
|
|
1795
|
-
name:
|
|
1796
|
-
type:
|
|
1797
|
-
}
|
|
1795
|
+
"name": "_shares",
|
|
1796
|
+
"type": "uint256"
|
|
1797
|
+
}
|
|
1798
1798
|
],
|
|
1799
|
-
outputs: [
|
|
1799
|
+
"outputs": [
|
|
1800
1800
|
{
|
|
1801
|
-
name:
|
|
1802
|
-
type:
|
|
1803
|
-
}
|
|
1804
|
-
]
|
|
1801
|
+
"name": "",
|
|
1802
|
+
"type": "uint256"
|
|
1803
|
+
}
|
|
1804
|
+
]
|
|
1805
1805
|
},
|
|
1806
1806
|
{
|
|
1807
|
-
stateMutability:
|
|
1808
|
-
type:
|
|
1809
|
-
name:
|
|
1810
|
-
inputs: [
|
|
1807
|
+
"stateMutability": "nonpayable",
|
|
1808
|
+
"type": "function",
|
|
1809
|
+
"name": "redeem",
|
|
1810
|
+
"inputs": [
|
|
1811
1811
|
{
|
|
1812
|
-
name:
|
|
1813
|
-
type:
|
|
1812
|
+
"name": "_shares",
|
|
1813
|
+
"type": "uint256"
|
|
1814
1814
|
},
|
|
1815
1815
|
{
|
|
1816
|
-
name:
|
|
1817
|
-
type:
|
|
1818
|
-
}
|
|
1816
|
+
"name": "_receiver",
|
|
1817
|
+
"type": "address"
|
|
1818
|
+
}
|
|
1819
1819
|
],
|
|
1820
|
-
outputs: [
|
|
1820
|
+
"outputs": [
|
|
1821
1821
|
{
|
|
1822
|
-
name:
|
|
1823
|
-
type:
|
|
1824
|
-
}
|
|
1825
|
-
]
|
|
1822
|
+
"name": "",
|
|
1823
|
+
"type": "uint256"
|
|
1824
|
+
}
|
|
1825
|
+
]
|
|
1826
1826
|
},
|
|
1827
1827
|
{
|
|
1828
|
-
stateMutability:
|
|
1829
|
-
type:
|
|
1830
|
-
name:
|
|
1831
|
-
inputs: [
|
|
1828
|
+
"stateMutability": "nonpayable",
|
|
1829
|
+
"type": "function",
|
|
1830
|
+
"name": "redeem",
|
|
1831
|
+
"inputs": [
|
|
1832
1832
|
{
|
|
1833
|
-
name:
|
|
1834
|
-
type:
|
|
1833
|
+
"name": "_shares",
|
|
1834
|
+
"type": "uint256"
|
|
1835
1835
|
},
|
|
1836
1836
|
{
|
|
1837
|
-
name:
|
|
1838
|
-
type:
|
|
1837
|
+
"name": "_receiver",
|
|
1838
|
+
"type": "address"
|
|
1839
1839
|
},
|
|
1840
1840
|
{
|
|
1841
|
-
name:
|
|
1842
|
-
type:
|
|
1843
|
-
}
|
|
1841
|
+
"name": "_owner",
|
|
1842
|
+
"type": "address"
|
|
1843
|
+
}
|
|
1844
1844
|
],
|
|
1845
|
-
outputs: [
|
|
1845
|
+
"outputs": [
|
|
1846
1846
|
{
|
|
1847
|
-
name:
|
|
1848
|
-
type:
|
|
1849
|
-
}
|
|
1850
|
-
]
|
|
1847
|
+
"name": "",
|
|
1848
|
+
"type": "uint256"
|
|
1849
|
+
}
|
|
1850
|
+
]
|
|
1851
1851
|
},
|
|
1852
1852
|
{
|
|
1853
|
-
stateMutability:
|
|
1854
|
-
type:
|
|
1855
|
-
name:
|
|
1856
|
-
inputs: [
|
|
1853
|
+
"stateMutability": "nonpayable",
|
|
1854
|
+
"type": "function",
|
|
1855
|
+
"name": "redeemWithMinAmountOut",
|
|
1856
|
+
"inputs": [
|
|
1857
1857
|
{
|
|
1858
|
-
name:
|
|
1859
|
-
type:
|
|
1858
|
+
"name": "_shares",
|
|
1859
|
+
"type": "uint256"
|
|
1860
1860
|
},
|
|
1861
1861
|
{
|
|
1862
|
-
name:
|
|
1863
|
-
type:
|
|
1864
|
-
}
|
|
1862
|
+
"name": "_minAmountOut",
|
|
1863
|
+
"type": "uint256"
|
|
1864
|
+
}
|
|
1865
1865
|
],
|
|
1866
|
-
outputs: [
|
|
1866
|
+
"outputs": [
|
|
1867
1867
|
{
|
|
1868
|
-
name:
|
|
1869
|
-
type:
|
|
1870
|
-
}
|
|
1871
|
-
]
|
|
1868
|
+
"name": "",
|
|
1869
|
+
"type": "uint256"
|
|
1870
|
+
}
|
|
1871
|
+
]
|
|
1872
1872
|
},
|
|
1873
1873
|
{
|
|
1874
|
-
stateMutability:
|
|
1875
|
-
type:
|
|
1876
|
-
name:
|
|
1877
|
-
inputs: [
|
|
1874
|
+
"stateMutability": "nonpayable",
|
|
1875
|
+
"type": "function",
|
|
1876
|
+
"name": "redeemWithMinAmountOut",
|
|
1877
|
+
"inputs": [
|
|
1878
1878
|
{
|
|
1879
|
-
name:
|
|
1880
|
-
type:
|
|
1879
|
+
"name": "_shares",
|
|
1880
|
+
"type": "uint256"
|
|
1881
1881
|
},
|
|
1882
1882
|
{
|
|
1883
|
-
name:
|
|
1884
|
-
type:
|
|
1883
|
+
"name": "_minAmountOut",
|
|
1884
|
+
"type": "uint256"
|
|
1885
1885
|
},
|
|
1886
1886
|
{
|
|
1887
|
-
name:
|
|
1888
|
-
type:
|
|
1889
|
-
}
|
|
1887
|
+
"name": "_receiver",
|
|
1888
|
+
"type": "address"
|
|
1889
|
+
}
|
|
1890
1890
|
],
|
|
1891
|
-
outputs: [
|
|
1891
|
+
"outputs": [
|
|
1892
1892
|
{
|
|
1893
|
-
name:
|
|
1894
|
-
type:
|
|
1895
|
-
}
|
|
1896
|
-
]
|
|
1893
|
+
"name": "",
|
|
1894
|
+
"type": "uint256"
|
|
1895
|
+
}
|
|
1896
|
+
]
|
|
1897
1897
|
},
|
|
1898
1898
|
{
|
|
1899
|
-
stateMutability:
|
|
1900
|
-
type:
|
|
1901
|
-
name:
|
|
1902
|
-
inputs: [
|
|
1899
|
+
"stateMutability": "nonpayable",
|
|
1900
|
+
"type": "function",
|
|
1901
|
+
"name": "redeemWithMinAmountOut",
|
|
1902
|
+
"inputs": [
|
|
1903
1903
|
{
|
|
1904
|
-
name:
|
|
1905
|
-
type:
|
|
1904
|
+
"name": "_shares",
|
|
1905
|
+
"type": "uint256"
|
|
1906
1906
|
},
|
|
1907
1907
|
{
|
|
1908
|
-
name:
|
|
1909
|
-
type:
|
|
1908
|
+
"name": "_minAmountOut",
|
|
1909
|
+
"type": "uint256"
|
|
1910
1910
|
},
|
|
1911
1911
|
{
|
|
1912
|
-
name:
|
|
1913
|
-
type:
|
|
1912
|
+
"name": "_receiver",
|
|
1913
|
+
"type": "address"
|
|
1914
1914
|
},
|
|
1915
1915
|
{
|
|
1916
|
-
name:
|
|
1917
|
-
type:
|
|
1918
|
-
}
|
|
1916
|
+
"name": "_owner",
|
|
1917
|
+
"type": "address"
|
|
1918
|
+
}
|
|
1919
1919
|
],
|
|
1920
|
-
outputs: [
|
|
1920
|
+
"outputs": [
|
|
1921
1921
|
{
|
|
1922
|
-
name:
|
|
1923
|
-
type:
|
|
1924
|
-
}
|
|
1925
|
-
]
|
|
1922
|
+
"name": "",
|
|
1923
|
+
"type": "uint256"
|
|
1924
|
+
}
|
|
1925
|
+
]
|
|
1926
1926
|
},
|
|
1927
1927
|
{
|
|
1928
|
-
stateMutability:
|
|
1929
|
-
type:
|
|
1930
|
-
name:
|
|
1931
|
-
inputs: [
|
|
1928
|
+
"stateMutability": "view",
|
|
1929
|
+
"type": "function",
|
|
1930
|
+
"name": "convertToShares",
|
|
1931
|
+
"inputs": [
|
|
1932
1932
|
{
|
|
1933
|
-
name:
|
|
1934
|
-
type:
|
|
1935
|
-
}
|
|
1933
|
+
"name": "_assets",
|
|
1934
|
+
"type": "uint256"
|
|
1935
|
+
}
|
|
1936
1936
|
],
|
|
1937
|
-
outputs: [
|
|
1937
|
+
"outputs": [
|
|
1938
1938
|
{
|
|
1939
|
-
name:
|
|
1940
|
-
type:
|
|
1941
|
-
}
|
|
1942
|
-
]
|
|
1939
|
+
"name": "",
|
|
1940
|
+
"type": "uint256"
|
|
1941
|
+
}
|
|
1942
|
+
]
|
|
1943
1943
|
},
|
|
1944
1944
|
{
|
|
1945
|
-
stateMutability:
|
|
1946
|
-
type:
|
|
1947
|
-
name:
|
|
1948
|
-
inputs: [
|
|
1945
|
+
"stateMutability": "view",
|
|
1946
|
+
"type": "function",
|
|
1947
|
+
"name": "convertToSharesSafe",
|
|
1948
|
+
"inputs": [
|
|
1949
1949
|
{
|
|
1950
|
-
name:
|
|
1951
|
-
type:
|
|
1952
|
-
}
|
|
1950
|
+
"name": "_assets",
|
|
1951
|
+
"type": "uint256"
|
|
1952
|
+
}
|
|
1953
1953
|
],
|
|
1954
|
-
outputs: [
|
|
1954
|
+
"outputs": [
|
|
1955
1955
|
{
|
|
1956
|
-
name:
|
|
1957
|
-
type:
|
|
1958
|
-
}
|
|
1959
|
-
]
|
|
1956
|
+
"name": "",
|
|
1957
|
+
"type": "uint256"
|
|
1958
|
+
}
|
|
1959
|
+
]
|
|
1960
1960
|
},
|
|
1961
1961
|
{
|
|
1962
|
-
stateMutability:
|
|
1963
|
-
type:
|
|
1964
|
-
name:
|
|
1965
|
-
inputs: [
|
|
1962
|
+
"stateMutability": "view",
|
|
1963
|
+
"type": "function",
|
|
1964
|
+
"name": "convertToAssets",
|
|
1965
|
+
"inputs": [
|
|
1966
1966
|
{
|
|
1967
|
-
name:
|
|
1968
|
-
type:
|
|
1969
|
-
}
|
|
1967
|
+
"name": "_shares",
|
|
1968
|
+
"type": "uint256"
|
|
1969
|
+
}
|
|
1970
1970
|
],
|
|
1971
|
-
outputs: [
|
|
1971
|
+
"outputs": [
|
|
1972
1972
|
{
|
|
1973
|
-
name:
|
|
1974
|
-
type:
|
|
1975
|
-
}
|
|
1976
|
-
]
|
|
1973
|
+
"name": "",
|
|
1974
|
+
"type": "uint256"
|
|
1975
|
+
}
|
|
1976
|
+
]
|
|
1977
1977
|
},
|
|
1978
1978
|
{
|
|
1979
|
-
stateMutability:
|
|
1980
|
-
type:
|
|
1981
|
-
name:
|
|
1982
|
-
inputs: [
|
|
1979
|
+
"stateMutability": "view",
|
|
1980
|
+
"type": "function",
|
|
1981
|
+
"name": "convertToAssetsSafe",
|
|
1982
|
+
"inputs": [
|
|
1983
1983
|
{
|
|
1984
|
-
name:
|
|
1985
|
-
type:
|
|
1986
|
-
}
|
|
1984
|
+
"name": "_shares",
|
|
1985
|
+
"type": "uint256"
|
|
1986
|
+
}
|
|
1987
1987
|
],
|
|
1988
|
-
outputs: [
|
|
1988
|
+
"outputs": [
|
|
1989
1989
|
{
|
|
1990
|
-
name:
|
|
1991
|
-
type:
|
|
1992
|
-
}
|
|
1993
|
-
]
|
|
1990
|
+
"name": "",
|
|
1991
|
+
"type": "uint256"
|
|
1992
|
+
}
|
|
1993
|
+
]
|
|
1994
1994
|
},
|
|
1995
1995
|
{
|
|
1996
|
-
stateMutability:
|
|
1997
|
-
type:
|
|
1998
|
-
inputs: [
|
|
1996
|
+
"stateMutability": "nonpayable",
|
|
1997
|
+
"type": "constructor",
|
|
1998
|
+
"inputs": [
|
|
1999
1999
|
{
|
|
2000
|
-
name:
|
|
2001
|
-
type:
|
|
2000
|
+
"name": "_asset",
|
|
2001
|
+
"type": "address"
|
|
2002
2002
|
},
|
|
2003
2003
|
{
|
|
2004
|
-
name:
|
|
2005
|
-
type:
|
|
2004
|
+
"name": "_tokenName",
|
|
2005
|
+
"type": "string"
|
|
2006
2006
|
},
|
|
2007
2007
|
{
|
|
2008
|
-
name:
|
|
2009
|
-
type:
|
|
2008
|
+
"name": "_tokenSymbol",
|
|
2009
|
+
"type": "string"
|
|
2010
2010
|
},
|
|
2011
2011
|
{
|
|
2012
|
-
name:
|
|
2013
|
-
type:
|
|
2012
|
+
"name": "_undyHq",
|
|
2013
|
+
"type": "address"
|
|
2014
2014
|
},
|
|
2015
2015
|
{
|
|
2016
|
-
name:
|
|
2017
|
-
type:
|
|
2016
|
+
"name": "_minHqTimeLock",
|
|
2017
|
+
"type": "uint256"
|
|
2018
2018
|
},
|
|
2019
2019
|
{
|
|
2020
|
-
name:
|
|
2021
|
-
type:
|
|
2020
|
+
"name": "_maxHqTimeLock",
|
|
2021
|
+
"type": "uint256"
|
|
2022
2022
|
},
|
|
2023
2023
|
{
|
|
2024
|
-
name:
|
|
2025
|
-
type:
|
|
2026
|
-
}
|
|
2024
|
+
"name": "_startingAgent",
|
|
2025
|
+
"type": "address"
|
|
2026
|
+
}
|
|
2027
2027
|
],
|
|
2028
|
-
outputs: []
|
|
2029
|
-
}
|
|
2028
|
+
"outputs": []
|
|
2029
|
+
}
|
|
2030
2030
|
];
|
|
2031
2031
|
export const deployAddress = '0xFe75aD75AD59a5c80de5AE0726Feee89567F080d';
|
|
2032
2032
|
function getRequest(method, args, contractAddressOrOptions) {
|
|
@@ -2154,46 +2154,16 @@ export function toSdk(publicClient, walletClient, addressResolver) {
|
|
|
2154
2154
|
abi,
|
|
2155
2155
|
events: {
|
|
2156
2156
|
Deposit: { topic: getEventTopic('Deposit'), parse: (events) => parseEvents('Deposit', events) },
|
|
2157
|
-
Withdraw: {
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
},
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
},
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
parse: (events) => parseEvents('Approval', events),
|
|
2168
|
-
},
|
|
2169
|
-
BlacklistModified: {
|
|
2170
|
-
topic: getEventTopic('BlacklistModified'),
|
|
2171
|
-
parse: (events) => parseEvents('BlacklistModified', events),
|
|
2172
|
-
},
|
|
2173
|
-
TokenPauseModified: {
|
|
2174
|
-
topic: getEventTopic('TokenPauseModified'),
|
|
2175
|
-
parse: (events) => parseEvents('TokenPauseModified', events),
|
|
2176
|
-
},
|
|
2177
|
-
EarnVaultDeposit: {
|
|
2178
|
-
topic: getEventTopic('EarnVaultDeposit'),
|
|
2179
|
-
parse: (events) => parseEvents('EarnVaultDeposit', events),
|
|
2180
|
-
},
|
|
2181
|
-
EarnVaultWithdrawal: {
|
|
2182
|
-
topic: getEventTopic('EarnVaultWithdrawal'),
|
|
2183
|
-
parse: (events) => parseEvents('EarnVaultWithdrawal', events),
|
|
2184
|
-
},
|
|
2185
|
-
EarnVaultSwap: {
|
|
2186
|
-
topic: getEventTopic('EarnVaultSwap'),
|
|
2187
|
-
parse: (events) => parseEvents('EarnVaultSwap', events),
|
|
2188
|
-
},
|
|
2189
|
-
EarnVaultRewardsClaim: {
|
|
2190
|
-
topic: getEventTopic('EarnVaultRewardsClaim'),
|
|
2191
|
-
parse: (events) => parseEvents('EarnVaultRewardsClaim', events),
|
|
2192
|
-
},
|
|
2193
|
-
PerformanceFeesClaimed: {
|
|
2194
|
-
topic: getEventTopic('PerformanceFeesClaimed'),
|
|
2195
|
-
parse: (events) => parseEvents('PerformanceFeesClaimed', events),
|
|
2196
|
-
},
|
|
2157
|
+
Withdraw: { topic: getEventTopic('Withdraw'), parse: (events) => parseEvents('Withdraw', events) },
|
|
2158
|
+
Transfer: { topic: getEventTopic('Transfer'), parse: (events) => parseEvents('Transfer', events) },
|
|
2159
|
+
Approval: { topic: getEventTopic('Approval'), parse: (events) => parseEvents('Approval', events) },
|
|
2160
|
+
BlacklistModified: { topic: getEventTopic('BlacklistModified'), parse: (events) => parseEvents('BlacklistModified', events) },
|
|
2161
|
+
TokenPauseModified: { topic: getEventTopic('TokenPauseModified'), parse: (events) => parseEvents('TokenPauseModified', events) },
|
|
2162
|
+
EarnVaultDeposit: { topic: getEventTopic('EarnVaultDeposit'), parse: (events) => parseEvents('EarnVaultDeposit', events) },
|
|
2163
|
+
EarnVaultWithdrawal: { topic: getEventTopic('EarnVaultWithdrawal'), parse: (events) => parseEvents('EarnVaultWithdrawal', events) },
|
|
2164
|
+
EarnVaultSwap: { topic: getEventTopic('EarnVaultSwap'), parse: (events) => parseEvents('EarnVaultSwap', events) },
|
|
2165
|
+
EarnVaultRewardsClaim: { topic: getEventTopic('EarnVaultRewardsClaim'), parse: (events) => parseEvents('EarnVaultRewardsClaim', events) },
|
|
2166
|
+
PerformanceFeesClaimed: { topic: getEventTopic('PerformanceFeesClaimed'), parse: (events) => parseEvents('PerformanceFeesClaimed', events) },
|
|
2197
2167
|
},
|
|
2198
2168
|
// Queries
|
|
2199
2169
|
name: (...args) => singleQuery(publicClient, call.name(...args), {}, addressResolver),
|