@underscore-finance/sdk 1.2.18 → 1.2.20-next.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +162 -0
- package/README.md +17 -116
- package/abis.json +181875 -0
- package/addresses.json +76 -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.map +1 -1
- package/dist/contracts/AgentSenderGeneric.js +3059 -3074
- package/dist/contracts/AgentSenderSpecial.d.ts.map +1 -1
- package/dist/contracts/AgentSenderSpecial.js +1474 -1489
- package/dist/contracts/AgentSenderSpecialSigHelper.d.ts.map +1 -1
- package/dist/contracts/AgentSenderSpecialSigHelper.js +1728 -1728
- package/dist/contracts/AgentWrapper.d.ts.map +1 -1
- package/dist/contracts/AgentWrapper.js +1899 -1902
- package/dist/contracts/AgentWrapperV1.d.ts.map +1 -1
- package/dist/contracts/AgentWrapperV1.js +2693 -2708
- package/dist/contracts/AgentWrapperV2.d.ts.map +1 -1
- package/dist/contracts/AgentWrapperV2.js +1806 -1809
- 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 +294 -0
- package/dist/contracts/ChequeBook.d.ts.map +1 -1
- package/dist/contracts/ChequeBook.js +1198 -866
- 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 +754 -790
- 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 +2135 -2177
- 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.map +1 -1
- package/dist/contracts/SignatureHelperV1.js +3202 -3202
- 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 +2296 -2476
- 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/UndyUsdV2.d.ts +1762 -0
- package/dist/contracts/UndyUsdV2.d.ts.map +1 -0
- package/dist/contracts/UndyUsdV2.js +2267 -0
- 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 +67 -0
- package/dist/contracts/UserWalletConfig.d.ts.map +1 -1
- package/dist/contracts/UserWalletConfig.js +2649 -2592
- package/dist/contracts/UserWalletConfigV1.d.ts.map +1 -1
- package/dist/contracts/UserWalletConfigV1.js +2327 -2348
- package/dist/contracts/UserWalletSignatureHelper.d.ts.map +1 -1
- package/dist/contracts/UserWalletSignatureHelper.js +3436 -3436
- 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 +1917 -1941
- package/dist/contracts/index.d.ts +1 -0
- package/dist/contracts/index.d.ts.map +1 -1
- package/dist/contracts/index.js +1 -0
- package/dist/contracts/sdk.d.ts +2 -0
- package/dist/contracts/sdk.d.ts.map +1 -1
- package/dist/contracts/sdk.js +2 -0
- 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
|
@@ -5,1148 +5,1148 @@
|
|
|
5
5
|
import { singleQuery } from '@dappql/async';
|
|
6
6
|
export const abi = [
|
|
7
7
|
{
|
|
8
|
-
stateMutability:
|
|
9
|
-
type:
|
|
10
|
-
name:
|
|
11
|
-
inputs: [
|
|
8
|
+
"stateMutability": "view",
|
|
9
|
+
"type": "function",
|
|
10
|
+
"name": "getDepositForYieldHash",
|
|
11
|
+
"inputs": [
|
|
12
12
|
{
|
|
13
|
-
name:
|
|
14
|
-
type:
|
|
13
|
+
"name": "_agentWrapper",
|
|
14
|
+
"type": "address"
|
|
15
15
|
},
|
|
16
16
|
{
|
|
17
|
-
name:
|
|
18
|
-
type:
|
|
17
|
+
"name": "_userWallet",
|
|
18
|
+
"type": "address"
|
|
19
19
|
},
|
|
20
20
|
{
|
|
21
|
-
name:
|
|
22
|
-
type:
|
|
21
|
+
"name": "_legoId",
|
|
22
|
+
"type": "uint256"
|
|
23
23
|
},
|
|
24
24
|
{
|
|
25
|
-
name:
|
|
26
|
-
type:
|
|
27
|
-
}
|
|
25
|
+
"name": "_asset",
|
|
26
|
+
"type": "address"
|
|
27
|
+
}
|
|
28
28
|
],
|
|
29
|
-
outputs: [
|
|
29
|
+
"outputs": [
|
|
30
30
|
{
|
|
31
|
-
name:
|
|
32
|
-
type:
|
|
31
|
+
"name": "",
|
|
32
|
+
"type": "bytes32"
|
|
33
33
|
},
|
|
34
34
|
{
|
|
35
|
-
name:
|
|
36
|
-
type:
|
|
35
|
+
"name": "",
|
|
36
|
+
"type": "uint256"
|
|
37
37
|
},
|
|
38
38
|
{
|
|
39
|
-
name:
|
|
40
|
-
type:
|
|
41
|
-
}
|
|
42
|
-
]
|
|
39
|
+
"name": "",
|
|
40
|
+
"type": "uint256"
|
|
41
|
+
}
|
|
42
|
+
]
|
|
43
43
|
},
|
|
44
44
|
{
|
|
45
|
-
stateMutability:
|
|
46
|
-
type:
|
|
47
|
-
name:
|
|
48
|
-
inputs: [
|
|
45
|
+
"stateMutability": "view",
|
|
46
|
+
"type": "function",
|
|
47
|
+
"name": "getDepositForYieldHash",
|
|
48
|
+
"inputs": [
|
|
49
49
|
{
|
|
50
|
-
name:
|
|
51
|
-
type:
|
|
50
|
+
"name": "_agentWrapper",
|
|
51
|
+
"type": "address"
|
|
52
52
|
},
|
|
53
53
|
{
|
|
54
|
-
name:
|
|
55
|
-
type:
|
|
54
|
+
"name": "_userWallet",
|
|
55
|
+
"type": "address"
|
|
56
56
|
},
|
|
57
57
|
{
|
|
58
|
-
name:
|
|
59
|
-
type:
|
|
58
|
+
"name": "_legoId",
|
|
59
|
+
"type": "uint256"
|
|
60
60
|
},
|
|
61
61
|
{
|
|
62
|
-
name:
|
|
63
|
-
type:
|
|
62
|
+
"name": "_asset",
|
|
63
|
+
"type": "address"
|
|
64
64
|
},
|
|
65
65
|
{
|
|
66
|
-
name:
|
|
67
|
-
type:
|
|
68
|
-
}
|
|
66
|
+
"name": "_vaultAddr",
|
|
67
|
+
"type": "address"
|
|
68
|
+
}
|
|
69
69
|
],
|
|
70
|
-
outputs: [
|
|
70
|
+
"outputs": [
|
|
71
71
|
{
|
|
72
|
-
name:
|
|
73
|
-
type:
|
|
72
|
+
"name": "",
|
|
73
|
+
"type": "bytes32"
|
|
74
74
|
},
|
|
75
75
|
{
|
|
76
|
-
name:
|
|
77
|
-
type:
|
|
76
|
+
"name": "",
|
|
77
|
+
"type": "uint256"
|
|
78
78
|
},
|
|
79
79
|
{
|
|
80
|
-
name:
|
|
81
|
-
type:
|
|
82
|
-
}
|
|
83
|
-
]
|
|
80
|
+
"name": "",
|
|
81
|
+
"type": "uint256"
|
|
82
|
+
}
|
|
83
|
+
]
|
|
84
84
|
},
|
|
85
85
|
{
|
|
86
|
-
stateMutability:
|
|
87
|
-
type:
|
|
88
|
-
name:
|
|
89
|
-
inputs: [
|
|
86
|
+
"stateMutability": "view",
|
|
87
|
+
"type": "function",
|
|
88
|
+
"name": "getDepositForYieldHash",
|
|
89
|
+
"inputs": [
|
|
90
90
|
{
|
|
91
|
-
name:
|
|
92
|
-
type:
|
|
91
|
+
"name": "_agentWrapper",
|
|
92
|
+
"type": "address"
|
|
93
93
|
},
|
|
94
94
|
{
|
|
95
|
-
name:
|
|
96
|
-
type:
|
|
95
|
+
"name": "_userWallet",
|
|
96
|
+
"type": "address"
|
|
97
97
|
},
|
|
98
98
|
{
|
|
99
|
-
name:
|
|
100
|
-
type:
|
|
99
|
+
"name": "_legoId",
|
|
100
|
+
"type": "uint256"
|
|
101
101
|
},
|
|
102
102
|
{
|
|
103
|
-
name:
|
|
104
|
-
type:
|
|
103
|
+
"name": "_asset",
|
|
104
|
+
"type": "address"
|
|
105
105
|
},
|
|
106
106
|
{
|
|
107
|
-
name:
|
|
108
|
-
type:
|
|
107
|
+
"name": "_vaultAddr",
|
|
108
|
+
"type": "address"
|
|
109
109
|
},
|
|
110
110
|
{
|
|
111
|
-
name:
|
|
112
|
-
type:
|
|
113
|
-
}
|
|
111
|
+
"name": "_amount",
|
|
112
|
+
"type": "uint256"
|
|
113
|
+
}
|
|
114
114
|
],
|
|
115
|
-
outputs: [
|
|
115
|
+
"outputs": [
|
|
116
116
|
{
|
|
117
|
-
name:
|
|
118
|
-
type:
|
|
117
|
+
"name": "",
|
|
118
|
+
"type": "bytes32"
|
|
119
119
|
},
|
|
120
120
|
{
|
|
121
|
-
name:
|
|
122
|
-
type:
|
|
121
|
+
"name": "",
|
|
122
|
+
"type": "uint256"
|
|
123
123
|
},
|
|
124
124
|
{
|
|
125
|
-
name:
|
|
126
|
-
type:
|
|
127
|
-
}
|
|
128
|
-
]
|
|
125
|
+
"name": "",
|
|
126
|
+
"type": "uint256"
|
|
127
|
+
}
|
|
128
|
+
]
|
|
129
129
|
},
|
|
130
130
|
{
|
|
131
|
-
stateMutability:
|
|
132
|
-
type:
|
|
133
|
-
name:
|
|
134
|
-
inputs: [
|
|
131
|
+
"stateMutability": "view",
|
|
132
|
+
"type": "function",
|
|
133
|
+
"name": "getDepositForYieldHash",
|
|
134
|
+
"inputs": [
|
|
135
135
|
{
|
|
136
|
-
name:
|
|
137
|
-
type:
|
|
136
|
+
"name": "_agentWrapper",
|
|
137
|
+
"type": "address"
|
|
138
138
|
},
|
|
139
139
|
{
|
|
140
|
-
name:
|
|
141
|
-
type:
|
|
140
|
+
"name": "_userWallet",
|
|
141
|
+
"type": "address"
|
|
142
142
|
},
|
|
143
143
|
{
|
|
144
|
-
name:
|
|
145
|
-
type:
|
|
144
|
+
"name": "_legoId",
|
|
145
|
+
"type": "uint256"
|
|
146
146
|
},
|
|
147
147
|
{
|
|
148
|
-
name:
|
|
149
|
-
type:
|
|
148
|
+
"name": "_asset",
|
|
149
|
+
"type": "address"
|
|
150
150
|
},
|
|
151
151
|
{
|
|
152
|
-
name:
|
|
153
|
-
type:
|
|
152
|
+
"name": "_vaultAddr",
|
|
153
|
+
"type": "address"
|
|
154
154
|
},
|
|
155
155
|
{
|
|
156
|
-
name:
|
|
157
|
-
type:
|
|
156
|
+
"name": "_amount",
|
|
157
|
+
"type": "uint256"
|
|
158
158
|
},
|
|
159
159
|
{
|
|
160
|
-
name:
|
|
161
|
-
type:
|
|
162
|
-
}
|
|
160
|
+
"name": "_extraData",
|
|
161
|
+
"type": "bytes32"
|
|
162
|
+
}
|
|
163
163
|
],
|
|
164
|
-
outputs: [
|
|
164
|
+
"outputs": [
|
|
165
165
|
{
|
|
166
|
-
name:
|
|
167
|
-
type:
|
|
166
|
+
"name": "",
|
|
167
|
+
"type": "bytes32"
|
|
168
168
|
},
|
|
169
169
|
{
|
|
170
|
-
name:
|
|
171
|
-
type:
|
|
170
|
+
"name": "",
|
|
171
|
+
"type": "uint256"
|
|
172
172
|
},
|
|
173
173
|
{
|
|
174
|
-
name:
|
|
175
|
-
type:
|
|
176
|
-
}
|
|
177
|
-
]
|
|
174
|
+
"name": "",
|
|
175
|
+
"type": "uint256"
|
|
176
|
+
}
|
|
177
|
+
]
|
|
178
178
|
},
|
|
179
179
|
{
|
|
180
|
-
stateMutability:
|
|
181
|
-
type:
|
|
182
|
-
name:
|
|
183
|
-
inputs: [
|
|
180
|
+
"stateMutability": "view",
|
|
181
|
+
"type": "function",
|
|
182
|
+
"name": "getDepositForYieldHash",
|
|
183
|
+
"inputs": [
|
|
184
184
|
{
|
|
185
|
-
name:
|
|
186
|
-
type:
|
|
185
|
+
"name": "_agentWrapper",
|
|
186
|
+
"type": "address"
|
|
187
187
|
},
|
|
188
188
|
{
|
|
189
|
-
name:
|
|
190
|
-
type:
|
|
189
|
+
"name": "_userWallet",
|
|
190
|
+
"type": "address"
|
|
191
191
|
},
|
|
192
192
|
{
|
|
193
|
-
name:
|
|
194
|
-
type:
|
|
193
|
+
"name": "_legoId",
|
|
194
|
+
"type": "uint256"
|
|
195
195
|
},
|
|
196
196
|
{
|
|
197
|
-
name:
|
|
198
|
-
type:
|
|
197
|
+
"name": "_asset",
|
|
198
|
+
"type": "address"
|
|
199
199
|
},
|
|
200
200
|
{
|
|
201
|
-
name:
|
|
202
|
-
type:
|
|
201
|
+
"name": "_vaultAddr",
|
|
202
|
+
"type": "address"
|
|
203
203
|
},
|
|
204
204
|
{
|
|
205
|
-
name:
|
|
206
|
-
type:
|
|
205
|
+
"name": "_amount",
|
|
206
|
+
"type": "uint256"
|
|
207
207
|
},
|
|
208
208
|
{
|
|
209
|
-
name:
|
|
210
|
-
type:
|
|
209
|
+
"name": "_extraData",
|
|
210
|
+
"type": "bytes32"
|
|
211
211
|
},
|
|
212
212
|
{
|
|
213
|
-
name:
|
|
214
|
-
type:
|
|
215
|
-
}
|
|
213
|
+
"name": "_nonce",
|
|
214
|
+
"type": "uint256"
|
|
215
|
+
}
|
|
216
216
|
],
|
|
217
|
-
outputs: [
|
|
217
|
+
"outputs": [
|
|
218
218
|
{
|
|
219
|
-
name:
|
|
220
|
-
type:
|
|
219
|
+
"name": "",
|
|
220
|
+
"type": "bytes32"
|
|
221
221
|
},
|
|
222
222
|
{
|
|
223
|
-
name:
|
|
224
|
-
type:
|
|
223
|
+
"name": "",
|
|
224
|
+
"type": "uint256"
|
|
225
225
|
},
|
|
226
226
|
{
|
|
227
|
-
name:
|
|
228
|
-
type:
|
|
229
|
-
}
|
|
230
|
-
]
|
|
227
|
+
"name": "",
|
|
228
|
+
"type": "uint256"
|
|
229
|
+
}
|
|
230
|
+
]
|
|
231
231
|
},
|
|
232
232
|
{
|
|
233
|
-
stateMutability:
|
|
234
|
-
type:
|
|
235
|
-
name:
|
|
236
|
-
inputs: [
|
|
233
|
+
"stateMutability": "view",
|
|
234
|
+
"type": "function",
|
|
235
|
+
"name": "getDepositForYieldHash",
|
|
236
|
+
"inputs": [
|
|
237
237
|
{
|
|
238
|
-
name:
|
|
239
|
-
type:
|
|
238
|
+
"name": "_agentWrapper",
|
|
239
|
+
"type": "address"
|
|
240
240
|
},
|
|
241
241
|
{
|
|
242
|
-
name:
|
|
243
|
-
type:
|
|
242
|
+
"name": "_userWallet",
|
|
243
|
+
"type": "address"
|
|
244
244
|
},
|
|
245
245
|
{
|
|
246
|
-
name:
|
|
247
|
-
type:
|
|
246
|
+
"name": "_legoId",
|
|
247
|
+
"type": "uint256"
|
|
248
248
|
},
|
|
249
249
|
{
|
|
250
|
-
name:
|
|
251
|
-
type:
|
|
250
|
+
"name": "_asset",
|
|
251
|
+
"type": "address"
|
|
252
252
|
},
|
|
253
253
|
{
|
|
254
|
-
name:
|
|
255
|
-
type:
|
|
254
|
+
"name": "_vaultAddr",
|
|
255
|
+
"type": "address"
|
|
256
256
|
},
|
|
257
257
|
{
|
|
258
|
-
name:
|
|
259
|
-
type:
|
|
258
|
+
"name": "_amount",
|
|
259
|
+
"type": "uint256"
|
|
260
260
|
},
|
|
261
261
|
{
|
|
262
|
-
name:
|
|
263
|
-
type:
|
|
262
|
+
"name": "_extraData",
|
|
263
|
+
"type": "bytes32"
|
|
264
264
|
},
|
|
265
265
|
{
|
|
266
|
-
name:
|
|
267
|
-
type:
|
|
266
|
+
"name": "_nonce",
|
|
267
|
+
"type": "uint256"
|
|
268
268
|
},
|
|
269
269
|
{
|
|
270
|
-
name:
|
|
271
|
-
type:
|
|
272
|
-
}
|
|
270
|
+
"name": "_expiration",
|
|
271
|
+
"type": "uint256"
|
|
272
|
+
}
|
|
273
273
|
],
|
|
274
|
-
outputs: [
|
|
274
|
+
"outputs": [
|
|
275
275
|
{
|
|
276
|
-
name:
|
|
277
|
-
type:
|
|
276
|
+
"name": "",
|
|
277
|
+
"type": "bytes32"
|
|
278
278
|
},
|
|
279
279
|
{
|
|
280
|
-
name:
|
|
281
|
-
type:
|
|
280
|
+
"name": "",
|
|
281
|
+
"type": "uint256"
|
|
282
282
|
},
|
|
283
283
|
{
|
|
284
|
-
name:
|
|
285
|
-
type:
|
|
286
|
-
}
|
|
287
|
-
]
|
|
284
|
+
"name": "",
|
|
285
|
+
"type": "uint256"
|
|
286
|
+
}
|
|
287
|
+
]
|
|
288
288
|
},
|
|
289
289
|
{
|
|
290
|
-
stateMutability:
|
|
291
|
-
type:
|
|
292
|
-
name:
|
|
293
|
-
inputs: [
|
|
290
|
+
"stateMutability": "view",
|
|
291
|
+
"type": "function",
|
|
292
|
+
"name": "getWithdrawFromYieldHash",
|
|
293
|
+
"inputs": [
|
|
294
294
|
{
|
|
295
|
-
name:
|
|
296
|
-
type:
|
|
295
|
+
"name": "_agentWrapper",
|
|
296
|
+
"type": "address"
|
|
297
297
|
},
|
|
298
298
|
{
|
|
299
|
-
name:
|
|
300
|
-
type:
|
|
299
|
+
"name": "_userWallet",
|
|
300
|
+
"type": "address"
|
|
301
301
|
},
|
|
302
302
|
{
|
|
303
|
-
name:
|
|
304
|
-
type:
|
|
303
|
+
"name": "_legoId",
|
|
304
|
+
"type": "uint256"
|
|
305
305
|
},
|
|
306
306
|
{
|
|
307
|
-
name:
|
|
308
|
-
type:
|
|
309
|
-
}
|
|
307
|
+
"name": "_vaultToken",
|
|
308
|
+
"type": "address"
|
|
309
|
+
}
|
|
310
310
|
],
|
|
311
|
-
outputs: [
|
|
311
|
+
"outputs": [
|
|
312
312
|
{
|
|
313
|
-
name:
|
|
314
|
-
type:
|
|
313
|
+
"name": "",
|
|
314
|
+
"type": "bytes32"
|
|
315
315
|
},
|
|
316
316
|
{
|
|
317
|
-
name:
|
|
318
|
-
type:
|
|
317
|
+
"name": "",
|
|
318
|
+
"type": "uint256"
|
|
319
319
|
},
|
|
320
320
|
{
|
|
321
|
-
name:
|
|
322
|
-
type:
|
|
323
|
-
}
|
|
324
|
-
]
|
|
321
|
+
"name": "",
|
|
322
|
+
"type": "uint256"
|
|
323
|
+
}
|
|
324
|
+
]
|
|
325
325
|
},
|
|
326
326
|
{
|
|
327
|
-
stateMutability:
|
|
328
|
-
type:
|
|
329
|
-
name:
|
|
330
|
-
inputs: [
|
|
327
|
+
"stateMutability": "view",
|
|
328
|
+
"type": "function",
|
|
329
|
+
"name": "getWithdrawFromYieldHash",
|
|
330
|
+
"inputs": [
|
|
331
331
|
{
|
|
332
|
-
name:
|
|
333
|
-
type:
|
|
332
|
+
"name": "_agentWrapper",
|
|
333
|
+
"type": "address"
|
|
334
334
|
},
|
|
335
335
|
{
|
|
336
|
-
name:
|
|
337
|
-
type:
|
|
336
|
+
"name": "_userWallet",
|
|
337
|
+
"type": "address"
|
|
338
338
|
},
|
|
339
339
|
{
|
|
340
|
-
name:
|
|
341
|
-
type:
|
|
340
|
+
"name": "_legoId",
|
|
341
|
+
"type": "uint256"
|
|
342
342
|
},
|
|
343
343
|
{
|
|
344
|
-
name:
|
|
345
|
-
type:
|
|
344
|
+
"name": "_vaultToken",
|
|
345
|
+
"type": "address"
|
|
346
346
|
},
|
|
347
347
|
{
|
|
348
|
-
name:
|
|
349
|
-
type:
|
|
350
|
-
}
|
|
348
|
+
"name": "_amount",
|
|
349
|
+
"type": "uint256"
|
|
350
|
+
}
|
|
351
351
|
],
|
|
352
|
-
outputs: [
|
|
352
|
+
"outputs": [
|
|
353
353
|
{
|
|
354
|
-
name:
|
|
355
|
-
type:
|
|
354
|
+
"name": "",
|
|
355
|
+
"type": "bytes32"
|
|
356
356
|
},
|
|
357
357
|
{
|
|
358
|
-
name:
|
|
359
|
-
type:
|
|
358
|
+
"name": "",
|
|
359
|
+
"type": "uint256"
|
|
360
360
|
},
|
|
361
361
|
{
|
|
362
|
-
name:
|
|
363
|
-
type:
|
|
364
|
-
}
|
|
365
|
-
]
|
|
362
|
+
"name": "",
|
|
363
|
+
"type": "uint256"
|
|
364
|
+
}
|
|
365
|
+
]
|
|
366
366
|
},
|
|
367
367
|
{
|
|
368
|
-
stateMutability:
|
|
369
|
-
type:
|
|
370
|
-
name:
|
|
371
|
-
inputs: [
|
|
368
|
+
"stateMutability": "view",
|
|
369
|
+
"type": "function",
|
|
370
|
+
"name": "getWithdrawFromYieldHash",
|
|
371
|
+
"inputs": [
|
|
372
372
|
{
|
|
373
|
-
name:
|
|
374
|
-
type:
|
|
373
|
+
"name": "_agentWrapper",
|
|
374
|
+
"type": "address"
|
|
375
375
|
},
|
|
376
376
|
{
|
|
377
|
-
name:
|
|
378
|
-
type:
|
|
377
|
+
"name": "_userWallet",
|
|
378
|
+
"type": "address"
|
|
379
379
|
},
|
|
380
380
|
{
|
|
381
|
-
name:
|
|
382
|
-
type:
|
|
381
|
+
"name": "_legoId",
|
|
382
|
+
"type": "uint256"
|
|
383
383
|
},
|
|
384
384
|
{
|
|
385
|
-
name:
|
|
386
|
-
type:
|
|
385
|
+
"name": "_vaultToken",
|
|
386
|
+
"type": "address"
|
|
387
387
|
},
|
|
388
388
|
{
|
|
389
|
-
name:
|
|
390
|
-
type:
|
|
389
|
+
"name": "_amount",
|
|
390
|
+
"type": "uint256"
|
|
391
391
|
},
|
|
392
392
|
{
|
|
393
|
-
name:
|
|
394
|
-
type:
|
|
395
|
-
}
|
|
393
|
+
"name": "_extraData",
|
|
394
|
+
"type": "bytes32"
|
|
395
|
+
}
|
|
396
396
|
],
|
|
397
|
-
outputs: [
|
|
397
|
+
"outputs": [
|
|
398
398
|
{
|
|
399
|
-
name:
|
|
400
|
-
type:
|
|
399
|
+
"name": "",
|
|
400
|
+
"type": "bytes32"
|
|
401
401
|
},
|
|
402
402
|
{
|
|
403
|
-
name:
|
|
404
|
-
type:
|
|
403
|
+
"name": "",
|
|
404
|
+
"type": "uint256"
|
|
405
405
|
},
|
|
406
406
|
{
|
|
407
|
-
name:
|
|
408
|
-
type:
|
|
409
|
-
}
|
|
410
|
-
]
|
|
407
|
+
"name": "",
|
|
408
|
+
"type": "uint256"
|
|
409
|
+
}
|
|
410
|
+
]
|
|
411
411
|
},
|
|
412
412
|
{
|
|
413
|
-
stateMutability:
|
|
414
|
-
type:
|
|
415
|
-
name:
|
|
416
|
-
inputs: [
|
|
413
|
+
"stateMutability": "view",
|
|
414
|
+
"type": "function",
|
|
415
|
+
"name": "getWithdrawFromYieldHash",
|
|
416
|
+
"inputs": [
|
|
417
417
|
{
|
|
418
|
-
name:
|
|
419
|
-
type:
|
|
418
|
+
"name": "_agentWrapper",
|
|
419
|
+
"type": "address"
|
|
420
420
|
},
|
|
421
421
|
{
|
|
422
|
-
name:
|
|
423
|
-
type:
|
|
422
|
+
"name": "_userWallet",
|
|
423
|
+
"type": "address"
|
|
424
424
|
},
|
|
425
425
|
{
|
|
426
|
-
name:
|
|
427
|
-
type:
|
|
426
|
+
"name": "_legoId",
|
|
427
|
+
"type": "uint256"
|
|
428
428
|
},
|
|
429
429
|
{
|
|
430
|
-
name:
|
|
431
|
-
type:
|
|
430
|
+
"name": "_vaultToken",
|
|
431
|
+
"type": "address"
|
|
432
432
|
},
|
|
433
433
|
{
|
|
434
|
-
name:
|
|
435
|
-
type:
|
|
434
|
+
"name": "_amount",
|
|
435
|
+
"type": "uint256"
|
|
436
436
|
},
|
|
437
437
|
{
|
|
438
|
-
name:
|
|
439
|
-
type:
|
|
438
|
+
"name": "_extraData",
|
|
439
|
+
"type": "bytes32"
|
|
440
440
|
},
|
|
441
441
|
{
|
|
442
|
-
name:
|
|
443
|
-
type:
|
|
444
|
-
}
|
|
442
|
+
"name": "_nonce",
|
|
443
|
+
"type": "uint256"
|
|
444
|
+
}
|
|
445
445
|
],
|
|
446
|
-
outputs: [
|
|
446
|
+
"outputs": [
|
|
447
447
|
{
|
|
448
|
-
name:
|
|
449
|
-
type:
|
|
448
|
+
"name": "",
|
|
449
|
+
"type": "bytes32"
|
|
450
450
|
},
|
|
451
451
|
{
|
|
452
|
-
name:
|
|
453
|
-
type:
|
|
452
|
+
"name": "",
|
|
453
|
+
"type": "uint256"
|
|
454
454
|
},
|
|
455
455
|
{
|
|
456
|
-
name:
|
|
457
|
-
type:
|
|
458
|
-
}
|
|
459
|
-
]
|
|
456
|
+
"name": "",
|
|
457
|
+
"type": "uint256"
|
|
458
|
+
}
|
|
459
|
+
]
|
|
460
460
|
},
|
|
461
461
|
{
|
|
462
|
-
stateMutability:
|
|
463
|
-
type:
|
|
464
|
-
name:
|
|
465
|
-
inputs: [
|
|
462
|
+
"stateMutability": "view",
|
|
463
|
+
"type": "function",
|
|
464
|
+
"name": "getWithdrawFromYieldHash",
|
|
465
|
+
"inputs": [
|
|
466
466
|
{
|
|
467
|
-
name:
|
|
468
|
-
type:
|
|
467
|
+
"name": "_agentWrapper",
|
|
468
|
+
"type": "address"
|
|
469
469
|
},
|
|
470
470
|
{
|
|
471
|
-
name:
|
|
472
|
-
type:
|
|
471
|
+
"name": "_userWallet",
|
|
472
|
+
"type": "address"
|
|
473
473
|
},
|
|
474
474
|
{
|
|
475
|
-
name:
|
|
476
|
-
type:
|
|
475
|
+
"name": "_legoId",
|
|
476
|
+
"type": "uint256"
|
|
477
477
|
},
|
|
478
478
|
{
|
|
479
|
-
name:
|
|
480
|
-
type:
|
|
479
|
+
"name": "_vaultToken",
|
|
480
|
+
"type": "address"
|
|
481
481
|
},
|
|
482
482
|
{
|
|
483
|
-
name:
|
|
484
|
-
type:
|
|
483
|
+
"name": "_amount",
|
|
484
|
+
"type": "uint256"
|
|
485
485
|
},
|
|
486
486
|
{
|
|
487
|
-
name:
|
|
488
|
-
type:
|
|
487
|
+
"name": "_extraData",
|
|
488
|
+
"type": "bytes32"
|
|
489
489
|
},
|
|
490
490
|
{
|
|
491
|
-
name:
|
|
492
|
-
type:
|
|
491
|
+
"name": "_nonce",
|
|
492
|
+
"type": "uint256"
|
|
493
493
|
},
|
|
494
494
|
{
|
|
495
|
-
name:
|
|
496
|
-
type:
|
|
497
|
-
}
|
|
495
|
+
"name": "_expiration",
|
|
496
|
+
"type": "uint256"
|
|
497
|
+
}
|
|
498
498
|
],
|
|
499
|
-
outputs: [
|
|
499
|
+
"outputs": [
|
|
500
500
|
{
|
|
501
|
-
name:
|
|
502
|
-
type:
|
|
501
|
+
"name": "",
|
|
502
|
+
"type": "bytes32"
|
|
503
503
|
},
|
|
504
504
|
{
|
|
505
|
-
name:
|
|
506
|
-
type:
|
|
505
|
+
"name": "",
|
|
506
|
+
"type": "uint256"
|
|
507
507
|
},
|
|
508
508
|
{
|
|
509
|
-
name:
|
|
510
|
-
type:
|
|
511
|
-
}
|
|
512
|
-
]
|
|
509
|
+
"name": "",
|
|
510
|
+
"type": "uint256"
|
|
511
|
+
}
|
|
512
|
+
]
|
|
513
513
|
},
|
|
514
514
|
{
|
|
515
|
-
stateMutability:
|
|
516
|
-
type:
|
|
517
|
-
name:
|
|
518
|
-
inputs: [
|
|
515
|
+
"stateMutability": "view",
|
|
516
|
+
"type": "function",
|
|
517
|
+
"name": "getSwapTokensHash",
|
|
518
|
+
"inputs": [
|
|
519
519
|
{
|
|
520
|
-
name:
|
|
521
|
-
type:
|
|
520
|
+
"name": "_agentWrapper",
|
|
521
|
+
"type": "address"
|
|
522
522
|
},
|
|
523
523
|
{
|
|
524
|
-
name:
|
|
525
|
-
type:
|
|
524
|
+
"name": "_userWallet",
|
|
525
|
+
"type": "address"
|
|
526
526
|
},
|
|
527
527
|
{
|
|
528
|
-
name:
|
|
529
|
-
type:
|
|
530
|
-
components: [
|
|
528
|
+
"name": "_swapInstructions",
|
|
529
|
+
"type": "tuple[]",
|
|
530
|
+
"components": [
|
|
531
531
|
{
|
|
532
|
-
name:
|
|
533
|
-
type:
|
|
532
|
+
"name": "legoId",
|
|
533
|
+
"type": "uint256"
|
|
534
534
|
},
|
|
535
535
|
{
|
|
536
|
-
name:
|
|
537
|
-
type:
|
|
536
|
+
"name": "amountIn",
|
|
537
|
+
"type": "uint256"
|
|
538
538
|
},
|
|
539
539
|
{
|
|
540
|
-
name:
|
|
541
|
-
type:
|
|
540
|
+
"name": "minAmountOut",
|
|
541
|
+
"type": "uint256"
|
|
542
542
|
},
|
|
543
543
|
{
|
|
544
|
-
name:
|
|
545
|
-
type:
|
|
544
|
+
"name": "tokenPath",
|
|
545
|
+
"type": "address[]"
|
|
546
546
|
},
|
|
547
547
|
{
|
|
548
|
-
name:
|
|
549
|
-
type:
|
|
550
|
-
}
|
|
551
|
-
]
|
|
552
|
-
}
|
|
548
|
+
"name": "poolPath",
|
|
549
|
+
"type": "address[]"
|
|
550
|
+
}
|
|
551
|
+
]
|
|
552
|
+
}
|
|
553
553
|
],
|
|
554
|
-
outputs: [
|
|
554
|
+
"outputs": [
|
|
555
555
|
{
|
|
556
|
-
name:
|
|
557
|
-
type:
|
|
556
|
+
"name": "",
|
|
557
|
+
"type": "bytes32"
|
|
558
558
|
},
|
|
559
559
|
{
|
|
560
|
-
name:
|
|
561
|
-
type:
|
|
560
|
+
"name": "",
|
|
561
|
+
"type": "uint256"
|
|
562
562
|
},
|
|
563
563
|
{
|
|
564
|
-
name:
|
|
565
|
-
type:
|
|
566
|
-
}
|
|
567
|
-
]
|
|
564
|
+
"name": "",
|
|
565
|
+
"type": "uint256"
|
|
566
|
+
}
|
|
567
|
+
]
|
|
568
568
|
},
|
|
569
569
|
{
|
|
570
|
-
stateMutability:
|
|
571
|
-
type:
|
|
572
|
-
name:
|
|
573
|
-
inputs: [
|
|
570
|
+
"stateMutability": "view",
|
|
571
|
+
"type": "function",
|
|
572
|
+
"name": "getSwapTokensHash",
|
|
573
|
+
"inputs": [
|
|
574
574
|
{
|
|
575
|
-
name:
|
|
576
|
-
type:
|
|
575
|
+
"name": "_agentWrapper",
|
|
576
|
+
"type": "address"
|
|
577
577
|
},
|
|
578
578
|
{
|
|
579
|
-
name:
|
|
580
|
-
type:
|
|
579
|
+
"name": "_userWallet",
|
|
580
|
+
"type": "address"
|
|
581
581
|
},
|
|
582
582
|
{
|
|
583
|
-
name:
|
|
584
|
-
type:
|
|
585
|
-
components: [
|
|
583
|
+
"name": "_swapInstructions",
|
|
584
|
+
"type": "tuple[]",
|
|
585
|
+
"components": [
|
|
586
586
|
{
|
|
587
|
-
name:
|
|
588
|
-
type:
|
|
587
|
+
"name": "legoId",
|
|
588
|
+
"type": "uint256"
|
|
589
589
|
},
|
|
590
590
|
{
|
|
591
|
-
name:
|
|
592
|
-
type:
|
|
591
|
+
"name": "amountIn",
|
|
592
|
+
"type": "uint256"
|
|
593
593
|
},
|
|
594
594
|
{
|
|
595
|
-
name:
|
|
596
|
-
type:
|
|
595
|
+
"name": "minAmountOut",
|
|
596
|
+
"type": "uint256"
|
|
597
597
|
},
|
|
598
598
|
{
|
|
599
|
-
name:
|
|
600
|
-
type:
|
|
599
|
+
"name": "tokenPath",
|
|
600
|
+
"type": "address[]"
|
|
601
601
|
},
|
|
602
602
|
{
|
|
603
|
-
name:
|
|
604
|
-
type:
|
|
605
|
-
}
|
|
606
|
-
]
|
|
603
|
+
"name": "poolPath",
|
|
604
|
+
"type": "address[]"
|
|
605
|
+
}
|
|
606
|
+
]
|
|
607
607
|
},
|
|
608
608
|
{
|
|
609
|
-
name:
|
|
610
|
-
type:
|
|
611
|
-
}
|
|
609
|
+
"name": "_nonce",
|
|
610
|
+
"type": "uint256"
|
|
611
|
+
}
|
|
612
612
|
],
|
|
613
|
-
outputs: [
|
|
613
|
+
"outputs": [
|
|
614
614
|
{
|
|
615
|
-
name:
|
|
616
|
-
type:
|
|
615
|
+
"name": "",
|
|
616
|
+
"type": "bytes32"
|
|
617
617
|
},
|
|
618
618
|
{
|
|
619
|
-
name:
|
|
620
|
-
type:
|
|
619
|
+
"name": "",
|
|
620
|
+
"type": "uint256"
|
|
621
621
|
},
|
|
622
622
|
{
|
|
623
|
-
name:
|
|
624
|
-
type:
|
|
625
|
-
}
|
|
626
|
-
]
|
|
623
|
+
"name": "",
|
|
624
|
+
"type": "uint256"
|
|
625
|
+
}
|
|
626
|
+
]
|
|
627
627
|
},
|
|
628
628
|
{
|
|
629
|
-
stateMutability:
|
|
630
|
-
type:
|
|
631
|
-
name:
|
|
632
|
-
inputs: [
|
|
629
|
+
"stateMutability": "view",
|
|
630
|
+
"type": "function",
|
|
631
|
+
"name": "getSwapTokensHash",
|
|
632
|
+
"inputs": [
|
|
633
633
|
{
|
|
634
|
-
name:
|
|
635
|
-
type:
|
|
634
|
+
"name": "_agentWrapper",
|
|
635
|
+
"type": "address"
|
|
636
636
|
},
|
|
637
637
|
{
|
|
638
|
-
name:
|
|
639
|
-
type:
|
|
638
|
+
"name": "_userWallet",
|
|
639
|
+
"type": "address"
|
|
640
640
|
},
|
|
641
641
|
{
|
|
642
|
-
name:
|
|
643
|
-
type:
|
|
644
|
-
components: [
|
|
642
|
+
"name": "_swapInstructions",
|
|
643
|
+
"type": "tuple[]",
|
|
644
|
+
"components": [
|
|
645
645
|
{
|
|
646
|
-
name:
|
|
647
|
-
type:
|
|
646
|
+
"name": "legoId",
|
|
647
|
+
"type": "uint256"
|
|
648
648
|
},
|
|
649
649
|
{
|
|
650
|
-
name:
|
|
651
|
-
type:
|
|
650
|
+
"name": "amountIn",
|
|
651
|
+
"type": "uint256"
|
|
652
652
|
},
|
|
653
653
|
{
|
|
654
|
-
name:
|
|
655
|
-
type:
|
|
654
|
+
"name": "minAmountOut",
|
|
655
|
+
"type": "uint256"
|
|
656
656
|
},
|
|
657
657
|
{
|
|
658
|
-
name:
|
|
659
|
-
type:
|
|
658
|
+
"name": "tokenPath",
|
|
659
|
+
"type": "address[]"
|
|
660
660
|
},
|
|
661
661
|
{
|
|
662
|
-
name:
|
|
663
|
-
type:
|
|
664
|
-
}
|
|
665
|
-
]
|
|
662
|
+
"name": "poolPath",
|
|
663
|
+
"type": "address[]"
|
|
664
|
+
}
|
|
665
|
+
]
|
|
666
666
|
},
|
|
667
667
|
{
|
|
668
|
-
name:
|
|
669
|
-
type:
|
|
668
|
+
"name": "_nonce",
|
|
669
|
+
"type": "uint256"
|
|
670
670
|
},
|
|
671
671
|
{
|
|
672
|
-
name:
|
|
673
|
-
type:
|
|
674
|
-
}
|
|
672
|
+
"name": "_expiration",
|
|
673
|
+
"type": "uint256"
|
|
674
|
+
}
|
|
675
675
|
],
|
|
676
|
-
outputs: [
|
|
676
|
+
"outputs": [
|
|
677
677
|
{
|
|
678
|
-
name:
|
|
679
|
-
type:
|
|
678
|
+
"name": "",
|
|
679
|
+
"type": "bytes32"
|
|
680
680
|
},
|
|
681
681
|
{
|
|
682
|
-
name:
|
|
683
|
-
type:
|
|
682
|
+
"name": "",
|
|
683
|
+
"type": "uint256"
|
|
684
684
|
},
|
|
685
685
|
{
|
|
686
|
-
name:
|
|
687
|
-
type:
|
|
688
|
-
}
|
|
689
|
-
]
|
|
686
|
+
"name": "",
|
|
687
|
+
"type": "uint256"
|
|
688
|
+
}
|
|
689
|
+
]
|
|
690
690
|
},
|
|
691
691
|
{
|
|
692
|
-
stateMutability:
|
|
693
|
-
type:
|
|
694
|
-
name:
|
|
695
|
-
inputs: [
|
|
692
|
+
"stateMutability": "view",
|
|
693
|
+
"type": "function",
|
|
694
|
+
"name": "getClaimIncentivesHash",
|
|
695
|
+
"inputs": [
|
|
696
696
|
{
|
|
697
|
-
name:
|
|
698
|
-
type:
|
|
697
|
+
"name": "_agentWrapper",
|
|
698
|
+
"type": "address"
|
|
699
699
|
},
|
|
700
700
|
{
|
|
701
|
-
name:
|
|
702
|
-
type:
|
|
701
|
+
"name": "_userWallet",
|
|
702
|
+
"type": "address"
|
|
703
703
|
},
|
|
704
704
|
{
|
|
705
|
-
name:
|
|
706
|
-
type:
|
|
707
|
-
}
|
|
705
|
+
"name": "_legoId",
|
|
706
|
+
"type": "uint256"
|
|
707
|
+
}
|
|
708
708
|
],
|
|
709
|
-
outputs: [
|
|
709
|
+
"outputs": [
|
|
710
710
|
{
|
|
711
|
-
name:
|
|
712
|
-
type:
|
|
711
|
+
"name": "",
|
|
712
|
+
"type": "bytes32"
|
|
713
713
|
},
|
|
714
714
|
{
|
|
715
|
-
name:
|
|
716
|
-
type:
|
|
715
|
+
"name": "",
|
|
716
|
+
"type": "uint256"
|
|
717
717
|
},
|
|
718
718
|
{
|
|
719
|
-
name:
|
|
720
|
-
type:
|
|
721
|
-
}
|
|
722
|
-
]
|
|
719
|
+
"name": "",
|
|
720
|
+
"type": "uint256"
|
|
721
|
+
}
|
|
722
|
+
]
|
|
723
723
|
},
|
|
724
724
|
{
|
|
725
|
-
stateMutability:
|
|
726
|
-
type:
|
|
727
|
-
name:
|
|
728
|
-
inputs: [
|
|
725
|
+
"stateMutability": "view",
|
|
726
|
+
"type": "function",
|
|
727
|
+
"name": "getClaimIncentivesHash",
|
|
728
|
+
"inputs": [
|
|
729
729
|
{
|
|
730
|
-
name:
|
|
731
|
-
type:
|
|
730
|
+
"name": "_agentWrapper",
|
|
731
|
+
"type": "address"
|
|
732
732
|
},
|
|
733
733
|
{
|
|
734
|
-
name:
|
|
735
|
-
type:
|
|
734
|
+
"name": "_userWallet",
|
|
735
|
+
"type": "address"
|
|
736
736
|
},
|
|
737
737
|
{
|
|
738
|
-
name:
|
|
739
|
-
type:
|
|
738
|
+
"name": "_legoId",
|
|
739
|
+
"type": "uint256"
|
|
740
740
|
},
|
|
741
741
|
{
|
|
742
|
-
name:
|
|
743
|
-
type:
|
|
744
|
-
}
|
|
742
|
+
"name": "_rewardToken",
|
|
743
|
+
"type": "address"
|
|
744
|
+
}
|
|
745
745
|
],
|
|
746
|
-
outputs: [
|
|
746
|
+
"outputs": [
|
|
747
747
|
{
|
|
748
|
-
name:
|
|
749
|
-
type:
|
|
748
|
+
"name": "",
|
|
749
|
+
"type": "bytes32"
|
|
750
750
|
},
|
|
751
751
|
{
|
|
752
|
-
name:
|
|
753
|
-
type:
|
|
752
|
+
"name": "",
|
|
753
|
+
"type": "uint256"
|
|
754
754
|
},
|
|
755
755
|
{
|
|
756
|
-
name:
|
|
757
|
-
type:
|
|
758
|
-
}
|
|
759
|
-
]
|
|
756
|
+
"name": "",
|
|
757
|
+
"type": "uint256"
|
|
758
|
+
}
|
|
759
|
+
]
|
|
760
760
|
},
|
|
761
761
|
{
|
|
762
|
-
stateMutability:
|
|
763
|
-
type:
|
|
764
|
-
name:
|
|
765
|
-
inputs: [
|
|
762
|
+
"stateMutability": "view",
|
|
763
|
+
"type": "function",
|
|
764
|
+
"name": "getClaimIncentivesHash",
|
|
765
|
+
"inputs": [
|
|
766
766
|
{
|
|
767
|
-
name:
|
|
768
|
-
type:
|
|
767
|
+
"name": "_agentWrapper",
|
|
768
|
+
"type": "address"
|
|
769
769
|
},
|
|
770
770
|
{
|
|
771
|
-
name:
|
|
772
|
-
type:
|
|
771
|
+
"name": "_userWallet",
|
|
772
|
+
"type": "address"
|
|
773
773
|
},
|
|
774
774
|
{
|
|
775
|
-
name:
|
|
776
|
-
type:
|
|
775
|
+
"name": "_legoId",
|
|
776
|
+
"type": "uint256"
|
|
777
777
|
},
|
|
778
778
|
{
|
|
779
|
-
name:
|
|
780
|
-
type:
|
|
779
|
+
"name": "_rewardToken",
|
|
780
|
+
"type": "address"
|
|
781
781
|
},
|
|
782
782
|
{
|
|
783
|
-
name:
|
|
784
|
-
type:
|
|
785
|
-
}
|
|
783
|
+
"name": "_rewardAmount",
|
|
784
|
+
"type": "uint256"
|
|
785
|
+
}
|
|
786
786
|
],
|
|
787
|
-
outputs: [
|
|
787
|
+
"outputs": [
|
|
788
788
|
{
|
|
789
|
-
name:
|
|
790
|
-
type:
|
|
789
|
+
"name": "",
|
|
790
|
+
"type": "bytes32"
|
|
791
791
|
},
|
|
792
792
|
{
|
|
793
|
-
name:
|
|
794
|
-
type:
|
|
793
|
+
"name": "",
|
|
794
|
+
"type": "uint256"
|
|
795
795
|
},
|
|
796
796
|
{
|
|
797
|
-
name:
|
|
798
|
-
type:
|
|
799
|
-
}
|
|
800
|
-
]
|
|
797
|
+
"name": "",
|
|
798
|
+
"type": "uint256"
|
|
799
|
+
}
|
|
800
|
+
]
|
|
801
801
|
},
|
|
802
802
|
{
|
|
803
|
-
stateMutability:
|
|
804
|
-
type:
|
|
805
|
-
name:
|
|
806
|
-
inputs: [
|
|
803
|
+
"stateMutability": "view",
|
|
804
|
+
"type": "function",
|
|
805
|
+
"name": "getClaimIncentivesHash",
|
|
806
|
+
"inputs": [
|
|
807
807
|
{
|
|
808
|
-
name:
|
|
809
|
-
type:
|
|
808
|
+
"name": "_agentWrapper",
|
|
809
|
+
"type": "address"
|
|
810
810
|
},
|
|
811
811
|
{
|
|
812
|
-
name:
|
|
813
|
-
type:
|
|
812
|
+
"name": "_userWallet",
|
|
813
|
+
"type": "address"
|
|
814
814
|
},
|
|
815
815
|
{
|
|
816
|
-
name:
|
|
817
|
-
type:
|
|
816
|
+
"name": "_legoId",
|
|
817
|
+
"type": "uint256"
|
|
818
818
|
},
|
|
819
819
|
{
|
|
820
|
-
name:
|
|
821
|
-
type:
|
|
820
|
+
"name": "_rewardToken",
|
|
821
|
+
"type": "address"
|
|
822
822
|
},
|
|
823
823
|
{
|
|
824
|
-
name:
|
|
825
|
-
type:
|
|
824
|
+
"name": "_rewardAmount",
|
|
825
|
+
"type": "uint256"
|
|
826
826
|
},
|
|
827
827
|
{
|
|
828
|
-
name:
|
|
829
|
-
type:
|
|
830
|
-
}
|
|
828
|
+
"name": "_proofs",
|
|
829
|
+
"type": "bytes32[]"
|
|
830
|
+
}
|
|
831
831
|
],
|
|
832
|
-
outputs: [
|
|
832
|
+
"outputs": [
|
|
833
833
|
{
|
|
834
|
-
name:
|
|
835
|
-
type:
|
|
834
|
+
"name": "",
|
|
835
|
+
"type": "bytes32"
|
|
836
836
|
},
|
|
837
837
|
{
|
|
838
|
-
name:
|
|
839
|
-
type:
|
|
838
|
+
"name": "",
|
|
839
|
+
"type": "uint256"
|
|
840
840
|
},
|
|
841
841
|
{
|
|
842
|
-
name:
|
|
843
|
-
type:
|
|
844
|
-
}
|
|
845
|
-
]
|
|
842
|
+
"name": "",
|
|
843
|
+
"type": "uint256"
|
|
844
|
+
}
|
|
845
|
+
]
|
|
846
846
|
},
|
|
847
847
|
{
|
|
848
|
-
stateMutability:
|
|
849
|
-
type:
|
|
850
|
-
name:
|
|
851
|
-
inputs: [
|
|
848
|
+
"stateMutability": "view",
|
|
849
|
+
"type": "function",
|
|
850
|
+
"name": "getClaimIncentivesHash",
|
|
851
|
+
"inputs": [
|
|
852
852
|
{
|
|
853
|
-
name:
|
|
854
|
-
type:
|
|
853
|
+
"name": "_agentWrapper",
|
|
854
|
+
"type": "address"
|
|
855
855
|
},
|
|
856
856
|
{
|
|
857
|
-
name:
|
|
858
|
-
type:
|
|
857
|
+
"name": "_userWallet",
|
|
858
|
+
"type": "address"
|
|
859
859
|
},
|
|
860
860
|
{
|
|
861
|
-
name:
|
|
862
|
-
type:
|
|
861
|
+
"name": "_legoId",
|
|
862
|
+
"type": "uint256"
|
|
863
863
|
},
|
|
864
864
|
{
|
|
865
|
-
name:
|
|
866
|
-
type:
|
|
865
|
+
"name": "_rewardToken",
|
|
866
|
+
"type": "address"
|
|
867
867
|
},
|
|
868
868
|
{
|
|
869
|
-
name:
|
|
870
|
-
type:
|
|
869
|
+
"name": "_rewardAmount",
|
|
870
|
+
"type": "uint256"
|
|
871
871
|
},
|
|
872
872
|
{
|
|
873
|
-
name:
|
|
874
|
-
type:
|
|
873
|
+
"name": "_proofs",
|
|
874
|
+
"type": "bytes32[]"
|
|
875
875
|
},
|
|
876
876
|
{
|
|
877
|
-
name:
|
|
878
|
-
type:
|
|
879
|
-
}
|
|
877
|
+
"name": "_nonce",
|
|
878
|
+
"type": "uint256"
|
|
879
|
+
}
|
|
880
880
|
],
|
|
881
|
-
outputs: [
|
|
881
|
+
"outputs": [
|
|
882
882
|
{
|
|
883
|
-
name:
|
|
884
|
-
type:
|
|
883
|
+
"name": "",
|
|
884
|
+
"type": "bytes32"
|
|
885
885
|
},
|
|
886
886
|
{
|
|
887
|
-
name:
|
|
888
|
-
type:
|
|
887
|
+
"name": "",
|
|
888
|
+
"type": "uint256"
|
|
889
889
|
},
|
|
890
890
|
{
|
|
891
|
-
name:
|
|
892
|
-
type:
|
|
893
|
-
}
|
|
894
|
-
]
|
|
891
|
+
"name": "",
|
|
892
|
+
"type": "uint256"
|
|
893
|
+
}
|
|
894
|
+
]
|
|
895
895
|
},
|
|
896
896
|
{
|
|
897
|
-
stateMutability:
|
|
898
|
-
type:
|
|
899
|
-
name:
|
|
900
|
-
inputs: [
|
|
897
|
+
"stateMutability": "view",
|
|
898
|
+
"type": "function",
|
|
899
|
+
"name": "getClaimIncentivesHash",
|
|
900
|
+
"inputs": [
|
|
901
901
|
{
|
|
902
|
-
name:
|
|
903
|
-
type:
|
|
902
|
+
"name": "_agentWrapper",
|
|
903
|
+
"type": "address"
|
|
904
904
|
},
|
|
905
905
|
{
|
|
906
|
-
name:
|
|
907
|
-
type:
|
|
906
|
+
"name": "_userWallet",
|
|
907
|
+
"type": "address"
|
|
908
908
|
},
|
|
909
909
|
{
|
|
910
|
-
name:
|
|
911
|
-
type:
|
|
910
|
+
"name": "_legoId",
|
|
911
|
+
"type": "uint256"
|
|
912
912
|
},
|
|
913
913
|
{
|
|
914
|
-
name:
|
|
915
|
-
type:
|
|
914
|
+
"name": "_rewardToken",
|
|
915
|
+
"type": "address"
|
|
916
916
|
},
|
|
917
917
|
{
|
|
918
|
-
name:
|
|
919
|
-
type:
|
|
918
|
+
"name": "_rewardAmount",
|
|
919
|
+
"type": "uint256"
|
|
920
920
|
},
|
|
921
921
|
{
|
|
922
|
-
name:
|
|
923
|
-
type:
|
|
922
|
+
"name": "_proofs",
|
|
923
|
+
"type": "bytes32[]"
|
|
924
924
|
},
|
|
925
925
|
{
|
|
926
|
-
name:
|
|
927
|
-
type:
|
|
926
|
+
"name": "_nonce",
|
|
927
|
+
"type": "uint256"
|
|
928
928
|
},
|
|
929
929
|
{
|
|
930
|
-
name:
|
|
931
|
-
type:
|
|
932
|
-
}
|
|
930
|
+
"name": "_expiration",
|
|
931
|
+
"type": "uint256"
|
|
932
|
+
}
|
|
933
933
|
],
|
|
934
|
-
outputs: [
|
|
934
|
+
"outputs": [
|
|
935
935
|
{
|
|
936
|
-
name:
|
|
937
|
-
type:
|
|
936
|
+
"name": "",
|
|
937
|
+
"type": "bytes32"
|
|
938
938
|
},
|
|
939
939
|
{
|
|
940
|
-
name:
|
|
941
|
-
type:
|
|
940
|
+
"name": "",
|
|
941
|
+
"type": "uint256"
|
|
942
942
|
},
|
|
943
943
|
{
|
|
944
|
-
name:
|
|
945
|
-
type:
|
|
946
|
-
}
|
|
947
|
-
]
|
|
944
|
+
"name": "",
|
|
945
|
+
"type": "uint256"
|
|
946
|
+
}
|
|
947
|
+
]
|
|
948
948
|
},
|
|
949
949
|
{
|
|
950
|
-
stateMutability:
|
|
951
|
-
type:
|
|
952
|
-
name:
|
|
953
|
-
inputs: [
|
|
950
|
+
"stateMutability": "view",
|
|
951
|
+
"type": "function",
|
|
952
|
+
"name": "getBatchActionsHash",
|
|
953
|
+
"inputs": [
|
|
954
954
|
{
|
|
955
|
-
name:
|
|
956
|
-
type:
|
|
955
|
+
"name": "_agentWrapper",
|
|
956
|
+
"type": "address"
|
|
957
957
|
},
|
|
958
958
|
{
|
|
959
|
-
name:
|
|
960
|
-
type:
|
|
959
|
+
"name": "_userWallet",
|
|
960
|
+
"type": "address"
|
|
961
961
|
},
|
|
962
962
|
{
|
|
963
|
-
name:
|
|
964
|
-
type:
|
|
965
|
-
components: [
|
|
963
|
+
"name": "_instructions",
|
|
964
|
+
"type": "tuple[]",
|
|
965
|
+
"components": [
|
|
966
966
|
{
|
|
967
|
-
name:
|
|
968
|
-
type:
|
|
967
|
+
"name": "usePrevAmountOut",
|
|
968
|
+
"type": "bool"
|
|
969
969
|
},
|
|
970
970
|
{
|
|
971
|
-
name:
|
|
972
|
-
type:
|
|
971
|
+
"name": "action",
|
|
972
|
+
"type": "uint8"
|
|
973
973
|
},
|
|
974
974
|
{
|
|
975
|
-
name:
|
|
976
|
-
type:
|
|
975
|
+
"name": "legoId",
|
|
976
|
+
"type": "uint16"
|
|
977
977
|
},
|
|
978
978
|
{
|
|
979
|
-
name:
|
|
980
|
-
type:
|
|
979
|
+
"name": "asset",
|
|
980
|
+
"type": "address"
|
|
981
981
|
},
|
|
982
982
|
{
|
|
983
|
-
name:
|
|
984
|
-
type:
|
|
983
|
+
"name": "target",
|
|
984
|
+
"type": "address"
|
|
985
985
|
},
|
|
986
986
|
{
|
|
987
|
-
name:
|
|
988
|
-
type:
|
|
987
|
+
"name": "amount",
|
|
988
|
+
"type": "uint256"
|
|
989
989
|
},
|
|
990
990
|
{
|
|
991
|
-
name:
|
|
992
|
-
type:
|
|
993
|
-
}
|
|
994
|
-
]
|
|
995
|
-
}
|
|
991
|
+
"name": "extraData",
|
|
992
|
+
"type": "bytes32"
|
|
993
|
+
}
|
|
994
|
+
]
|
|
995
|
+
}
|
|
996
996
|
],
|
|
997
|
-
outputs: [
|
|
997
|
+
"outputs": [
|
|
998
998
|
{
|
|
999
|
-
name:
|
|
1000
|
-
type:
|
|
999
|
+
"name": "",
|
|
1000
|
+
"type": "bytes32"
|
|
1001
1001
|
},
|
|
1002
1002
|
{
|
|
1003
|
-
name:
|
|
1004
|
-
type:
|
|
1003
|
+
"name": "",
|
|
1004
|
+
"type": "uint256"
|
|
1005
1005
|
},
|
|
1006
1006
|
{
|
|
1007
|
-
name:
|
|
1008
|
-
type:
|
|
1009
|
-
}
|
|
1010
|
-
]
|
|
1007
|
+
"name": "",
|
|
1008
|
+
"type": "uint256"
|
|
1009
|
+
}
|
|
1010
|
+
]
|
|
1011
1011
|
},
|
|
1012
1012
|
{
|
|
1013
|
-
stateMutability:
|
|
1014
|
-
type:
|
|
1015
|
-
name:
|
|
1016
|
-
inputs: [
|
|
1013
|
+
"stateMutability": "view",
|
|
1014
|
+
"type": "function",
|
|
1015
|
+
"name": "getBatchActionsHash",
|
|
1016
|
+
"inputs": [
|
|
1017
1017
|
{
|
|
1018
|
-
name:
|
|
1019
|
-
type:
|
|
1018
|
+
"name": "_agentWrapper",
|
|
1019
|
+
"type": "address"
|
|
1020
1020
|
},
|
|
1021
1021
|
{
|
|
1022
|
-
name:
|
|
1023
|
-
type:
|
|
1022
|
+
"name": "_userWallet",
|
|
1023
|
+
"type": "address"
|
|
1024
1024
|
},
|
|
1025
1025
|
{
|
|
1026
|
-
name:
|
|
1027
|
-
type:
|
|
1028
|
-
components: [
|
|
1026
|
+
"name": "_instructions",
|
|
1027
|
+
"type": "tuple[]",
|
|
1028
|
+
"components": [
|
|
1029
1029
|
{
|
|
1030
|
-
name:
|
|
1031
|
-
type:
|
|
1030
|
+
"name": "usePrevAmountOut",
|
|
1031
|
+
"type": "bool"
|
|
1032
1032
|
},
|
|
1033
1033
|
{
|
|
1034
|
-
name:
|
|
1035
|
-
type:
|
|
1034
|
+
"name": "action",
|
|
1035
|
+
"type": "uint8"
|
|
1036
1036
|
},
|
|
1037
1037
|
{
|
|
1038
|
-
name:
|
|
1039
|
-
type:
|
|
1038
|
+
"name": "legoId",
|
|
1039
|
+
"type": "uint16"
|
|
1040
1040
|
},
|
|
1041
1041
|
{
|
|
1042
|
-
name:
|
|
1043
|
-
type:
|
|
1042
|
+
"name": "asset",
|
|
1043
|
+
"type": "address"
|
|
1044
1044
|
},
|
|
1045
1045
|
{
|
|
1046
|
-
name:
|
|
1047
|
-
type:
|
|
1046
|
+
"name": "target",
|
|
1047
|
+
"type": "address"
|
|
1048
1048
|
},
|
|
1049
1049
|
{
|
|
1050
|
-
name:
|
|
1051
|
-
type:
|
|
1050
|
+
"name": "amount",
|
|
1051
|
+
"type": "uint256"
|
|
1052
1052
|
},
|
|
1053
1053
|
{
|
|
1054
|
-
name:
|
|
1055
|
-
type:
|
|
1056
|
-
}
|
|
1057
|
-
]
|
|
1054
|
+
"name": "extraData",
|
|
1055
|
+
"type": "bytes32"
|
|
1056
|
+
}
|
|
1057
|
+
]
|
|
1058
1058
|
},
|
|
1059
1059
|
{
|
|
1060
|
-
name:
|
|
1061
|
-
type:
|
|
1062
|
-
}
|
|
1060
|
+
"name": "_nonce",
|
|
1061
|
+
"type": "uint256"
|
|
1062
|
+
}
|
|
1063
1063
|
],
|
|
1064
|
-
outputs: [
|
|
1064
|
+
"outputs": [
|
|
1065
1065
|
{
|
|
1066
|
-
name:
|
|
1067
|
-
type:
|
|
1066
|
+
"name": "",
|
|
1067
|
+
"type": "bytes32"
|
|
1068
1068
|
},
|
|
1069
1069
|
{
|
|
1070
|
-
name:
|
|
1071
|
-
type:
|
|
1070
|
+
"name": "",
|
|
1071
|
+
"type": "uint256"
|
|
1072
1072
|
},
|
|
1073
1073
|
{
|
|
1074
|
-
name:
|
|
1075
|
-
type:
|
|
1076
|
-
}
|
|
1077
|
-
]
|
|
1074
|
+
"name": "",
|
|
1075
|
+
"type": "uint256"
|
|
1076
|
+
}
|
|
1077
|
+
]
|
|
1078
1078
|
},
|
|
1079
1079
|
{
|
|
1080
|
-
stateMutability:
|
|
1081
|
-
type:
|
|
1082
|
-
name:
|
|
1083
|
-
inputs: [
|
|
1080
|
+
"stateMutability": "view",
|
|
1081
|
+
"type": "function",
|
|
1082
|
+
"name": "getBatchActionsHash",
|
|
1083
|
+
"inputs": [
|
|
1084
1084
|
{
|
|
1085
|
-
name:
|
|
1086
|
-
type:
|
|
1085
|
+
"name": "_agentWrapper",
|
|
1086
|
+
"type": "address"
|
|
1087
1087
|
},
|
|
1088
1088
|
{
|
|
1089
|
-
name:
|
|
1090
|
-
type:
|
|
1089
|
+
"name": "_userWallet",
|
|
1090
|
+
"type": "address"
|
|
1091
1091
|
},
|
|
1092
1092
|
{
|
|
1093
|
-
name:
|
|
1094
|
-
type:
|
|
1095
|
-
components: [
|
|
1093
|
+
"name": "_instructions",
|
|
1094
|
+
"type": "tuple[]",
|
|
1095
|
+
"components": [
|
|
1096
1096
|
{
|
|
1097
|
-
name:
|
|
1098
|
-
type:
|
|
1097
|
+
"name": "usePrevAmountOut",
|
|
1098
|
+
"type": "bool"
|
|
1099
1099
|
},
|
|
1100
1100
|
{
|
|
1101
|
-
name:
|
|
1102
|
-
type:
|
|
1101
|
+
"name": "action",
|
|
1102
|
+
"type": "uint8"
|
|
1103
1103
|
},
|
|
1104
1104
|
{
|
|
1105
|
-
name:
|
|
1106
|
-
type:
|
|
1105
|
+
"name": "legoId",
|
|
1106
|
+
"type": "uint16"
|
|
1107
1107
|
},
|
|
1108
1108
|
{
|
|
1109
|
-
name:
|
|
1110
|
-
type:
|
|
1109
|
+
"name": "asset",
|
|
1110
|
+
"type": "address"
|
|
1111
1111
|
},
|
|
1112
1112
|
{
|
|
1113
|
-
name:
|
|
1114
|
-
type:
|
|
1113
|
+
"name": "target",
|
|
1114
|
+
"type": "address"
|
|
1115
1115
|
},
|
|
1116
1116
|
{
|
|
1117
|
-
name:
|
|
1118
|
-
type:
|
|
1117
|
+
"name": "amount",
|
|
1118
|
+
"type": "uint256"
|
|
1119
1119
|
},
|
|
1120
1120
|
{
|
|
1121
|
-
name:
|
|
1122
|
-
type:
|
|
1123
|
-
}
|
|
1124
|
-
]
|
|
1121
|
+
"name": "extraData",
|
|
1122
|
+
"type": "bytes32"
|
|
1123
|
+
}
|
|
1124
|
+
]
|
|
1125
1125
|
},
|
|
1126
1126
|
{
|
|
1127
|
-
name:
|
|
1128
|
-
type:
|
|
1127
|
+
"name": "_nonce",
|
|
1128
|
+
"type": "uint256"
|
|
1129
1129
|
},
|
|
1130
1130
|
{
|
|
1131
|
-
name:
|
|
1132
|
-
type:
|
|
1133
|
-
}
|
|
1131
|
+
"name": "_expiration",
|
|
1132
|
+
"type": "uint256"
|
|
1133
|
+
}
|
|
1134
1134
|
],
|
|
1135
|
-
outputs: [
|
|
1135
|
+
"outputs": [
|
|
1136
1136
|
{
|
|
1137
|
-
name:
|
|
1138
|
-
type:
|
|
1137
|
+
"name": "",
|
|
1138
|
+
"type": "bytes32"
|
|
1139
1139
|
},
|
|
1140
1140
|
{
|
|
1141
|
-
name:
|
|
1142
|
-
type:
|
|
1141
|
+
"name": "",
|
|
1142
|
+
"type": "uint256"
|
|
1143
1143
|
},
|
|
1144
1144
|
{
|
|
1145
|
-
name:
|
|
1146
|
-
type:
|
|
1147
|
-
}
|
|
1148
|
-
]
|
|
1149
|
-
}
|
|
1145
|
+
"name": "",
|
|
1146
|
+
"type": "uint256"
|
|
1147
|
+
}
|
|
1148
|
+
]
|
|
1149
|
+
}
|
|
1150
1150
|
];
|
|
1151
1151
|
export const deployAddress = '0x2E9e0BB2A734d0B025843FAf27CbfF648E848F8B';
|
|
1152
1152
|
function getRequest(method, args, contractAddressOrOptions) {
|