@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
|
@@ -3,1434 +3,1434 @@
|
|
|
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": "DepartmentPauseModified",
|
|
10
|
+
"inputs": [
|
|
11
11
|
{
|
|
12
|
-
name:
|
|
13
|
-
type:
|
|
14
|
-
indexed: false
|
|
15
|
-
}
|
|
12
|
+
"name": "isPaused",
|
|
13
|
+
"type": "bool",
|
|
14
|
+
"indexed": false
|
|
15
|
+
}
|
|
16
16
|
],
|
|
17
|
-
anonymous: false,
|
|
18
|
-
type:
|
|
17
|
+
"anonymous": false,
|
|
18
|
+
"type": "event"
|
|
19
19
|
},
|
|
20
20
|
{
|
|
21
|
-
name:
|
|
22
|
-
inputs: [
|
|
21
|
+
"name": "DepartmentFundsRecovered",
|
|
22
|
+
"inputs": [
|
|
23
23
|
{
|
|
24
|
-
name:
|
|
25
|
-
type:
|
|
26
|
-
indexed: true
|
|
24
|
+
"name": "asset",
|
|
25
|
+
"type": "address",
|
|
26
|
+
"indexed": true
|
|
27
27
|
},
|
|
28
28
|
{
|
|
29
|
-
name:
|
|
30
|
-
type:
|
|
31
|
-
indexed: true
|
|
29
|
+
"name": "recipient",
|
|
30
|
+
"type": "address",
|
|
31
|
+
"indexed": true
|
|
32
32
|
},
|
|
33
33
|
{
|
|
34
|
-
name:
|
|
35
|
-
type:
|
|
36
|
-
indexed: false
|
|
37
|
-
}
|
|
34
|
+
"name": "balance",
|
|
35
|
+
"type": "uint256",
|
|
36
|
+
"indexed": false
|
|
37
|
+
}
|
|
38
38
|
],
|
|
39
|
-
anonymous: false,
|
|
40
|
-
type:
|
|
39
|
+
"anonymous": false,
|
|
40
|
+
"type": "event"
|
|
41
41
|
},
|
|
42
42
|
{
|
|
43
|
-
stateMutability:
|
|
44
|
-
type:
|
|
45
|
-
name:
|
|
46
|
-
inputs: [],
|
|
47
|
-
outputs: [
|
|
43
|
+
"stateMutability": "view",
|
|
44
|
+
"type": "function",
|
|
45
|
+
"name": "getAddys",
|
|
46
|
+
"inputs": [],
|
|
47
|
+
"outputs": [
|
|
48
48
|
{
|
|
49
|
-
name:
|
|
50
|
-
type:
|
|
51
|
-
components: [
|
|
49
|
+
"name": "",
|
|
50
|
+
"type": "tuple",
|
|
51
|
+
"components": [
|
|
52
52
|
{
|
|
53
|
-
name:
|
|
54
|
-
type:
|
|
53
|
+
"name": "hq",
|
|
54
|
+
"type": "address"
|
|
55
55
|
},
|
|
56
56
|
{
|
|
57
|
-
name:
|
|
58
|
-
type:
|
|
57
|
+
"name": "undyToken",
|
|
58
|
+
"type": "address"
|
|
59
59
|
},
|
|
60
60
|
{
|
|
61
|
-
name:
|
|
62
|
-
type:
|
|
61
|
+
"name": "ledger",
|
|
62
|
+
"type": "address"
|
|
63
63
|
},
|
|
64
64
|
{
|
|
65
|
-
name:
|
|
66
|
-
type:
|
|
65
|
+
"name": "missionControl",
|
|
66
|
+
"type": "address"
|
|
67
67
|
},
|
|
68
68
|
{
|
|
69
|
-
name:
|
|
70
|
-
type:
|
|
69
|
+
"name": "legoBook",
|
|
70
|
+
"type": "address"
|
|
71
71
|
},
|
|
72
72
|
{
|
|
73
|
-
name:
|
|
74
|
-
type:
|
|
73
|
+
"name": "switchboard",
|
|
74
|
+
"type": "address"
|
|
75
75
|
},
|
|
76
76
|
{
|
|
77
|
-
name:
|
|
78
|
-
type:
|
|
77
|
+
"name": "hatchery",
|
|
78
|
+
"type": "address"
|
|
79
79
|
},
|
|
80
80
|
{
|
|
81
|
-
name:
|
|
82
|
-
type:
|
|
81
|
+
"name": "lootDistributor",
|
|
82
|
+
"type": "address"
|
|
83
83
|
},
|
|
84
84
|
{
|
|
85
|
-
name:
|
|
86
|
-
type:
|
|
85
|
+
"name": "appraiser",
|
|
86
|
+
"type": "address"
|
|
87
87
|
},
|
|
88
88
|
{
|
|
89
|
-
name:
|
|
90
|
-
type:
|
|
89
|
+
"name": "walletBackpack",
|
|
90
|
+
"type": "address"
|
|
91
91
|
},
|
|
92
92
|
{
|
|
93
|
-
name:
|
|
94
|
-
type:
|
|
93
|
+
"name": "billing",
|
|
94
|
+
"type": "address"
|
|
95
95
|
},
|
|
96
96
|
{
|
|
97
|
-
name:
|
|
98
|
-
type:
|
|
99
|
-
}
|
|
100
|
-
]
|
|
101
|
-
}
|
|
102
|
-
]
|
|
97
|
+
"name": "vaultRegistry",
|
|
98
|
+
"type": "address"
|
|
99
|
+
}
|
|
100
|
+
]
|
|
101
|
+
}
|
|
102
|
+
]
|
|
103
103
|
},
|
|
104
104
|
{
|
|
105
|
-
stateMutability:
|
|
106
|
-
type:
|
|
107
|
-
name:
|
|
108
|
-
inputs: [],
|
|
109
|
-
outputs: [
|
|
110
|
-
{
|
|
111
|
-
name:
|
|
112
|
-
type:
|
|
113
|
-
}
|
|
114
|
-
]
|
|
105
|
+
"stateMutability": "view",
|
|
106
|
+
"type": "function",
|
|
107
|
+
"name": "getUndyHq",
|
|
108
|
+
"inputs": [],
|
|
109
|
+
"outputs": [
|
|
110
|
+
{
|
|
111
|
+
"name": "",
|
|
112
|
+
"type": "address"
|
|
113
|
+
}
|
|
114
|
+
]
|
|
115
115
|
},
|
|
116
116
|
{
|
|
117
|
-
stateMutability:
|
|
118
|
-
type:
|
|
119
|
-
name:
|
|
120
|
-
inputs: [],
|
|
121
|
-
outputs: [
|
|
122
|
-
{
|
|
123
|
-
name:
|
|
124
|
-
type:
|
|
125
|
-
}
|
|
126
|
-
]
|
|
117
|
+
"stateMutability": "view",
|
|
118
|
+
"type": "function",
|
|
119
|
+
"name": "canMintUndy",
|
|
120
|
+
"inputs": [],
|
|
121
|
+
"outputs": [
|
|
122
|
+
{
|
|
123
|
+
"name": "",
|
|
124
|
+
"type": "bool"
|
|
125
|
+
}
|
|
126
|
+
]
|
|
127
127
|
},
|
|
128
128
|
{
|
|
129
|
-
stateMutability:
|
|
130
|
-
type:
|
|
131
|
-
name:
|
|
132
|
-
inputs: [
|
|
133
|
-
{
|
|
134
|
-
name:
|
|
135
|
-
type:
|
|
136
|
-
}
|
|
129
|
+
"stateMutability": "nonpayable",
|
|
130
|
+
"type": "function",
|
|
131
|
+
"name": "pause",
|
|
132
|
+
"inputs": [
|
|
133
|
+
{
|
|
134
|
+
"name": "_shouldPause",
|
|
135
|
+
"type": "bool"
|
|
136
|
+
}
|
|
137
137
|
],
|
|
138
|
-
outputs: []
|
|
138
|
+
"outputs": []
|
|
139
139
|
},
|
|
140
140
|
{
|
|
141
|
-
stateMutability:
|
|
142
|
-
type:
|
|
143
|
-
name:
|
|
144
|
-
inputs: [
|
|
141
|
+
"stateMutability": "nonpayable",
|
|
142
|
+
"type": "function",
|
|
143
|
+
"name": "recoverFunds",
|
|
144
|
+
"inputs": [
|
|
145
145
|
{
|
|
146
|
-
name:
|
|
147
|
-
type:
|
|
146
|
+
"name": "_recipient",
|
|
147
|
+
"type": "address"
|
|
148
148
|
},
|
|
149
149
|
{
|
|
150
|
-
name:
|
|
151
|
-
type:
|
|
152
|
-
}
|
|
150
|
+
"name": "_asset",
|
|
151
|
+
"type": "address"
|
|
152
|
+
}
|
|
153
153
|
],
|
|
154
|
-
outputs: []
|
|
154
|
+
"outputs": []
|
|
155
155
|
},
|
|
156
156
|
{
|
|
157
|
-
stateMutability:
|
|
158
|
-
type:
|
|
159
|
-
name:
|
|
160
|
-
inputs: [
|
|
157
|
+
"stateMutability": "nonpayable",
|
|
158
|
+
"type": "function",
|
|
159
|
+
"name": "recoverFundsMany",
|
|
160
|
+
"inputs": [
|
|
161
161
|
{
|
|
162
|
-
name:
|
|
163
|
-
type:
|
|
162
|
+
"name": "_recipient",
|
|
163
|
+
"type": "address"
|
|
164
164
|
},
|
|
165
165
|
{
|
|
166
|
-
name:
|
|
167
|
-
type:
|
|
168
|
-
}
|
|
166
|
+
"name": "_assets",
|
|
167
|
+
"type": "address[]"
|
|
168
|
+
}
|
|
169
169
|
],
|
|
170
|
-
outputs: []
|
|
170
|
+
"outputs": []
|
|
171
171
|
},
|
|
172
172
|
{
|
|
173
|
-
stateMutability:
|
|
174
|
-
type:
|
|
175
|
-
name:
|
|
176
|
-
inputs: [],
|
|
177
|
-
outputs: [
|
|
178
|
-
{
|
|
179
|
-
name:
|
|
180
|
-
type:
|
|
181
|
-
}
|
|
182
|
-
]
|
|
173
|
+
"stateMutability": "view",
|
|
174
|
+
"type": "function",
|
|
175
|
+
"name": "isPaused",
|
|
176
|
+
"inputs": [],
|
|
177
|
+
"outputs": [
|
|
178
|
+
{
|
|
179
|
+
"name": "",
|
|
180
|
+
"type": "bool"
|
|
181
|
+
}
|
|
182
|
+
]
|
|
183
183
|
},
|
|
184
184
|
{
|
|
185
|
-
stateMutability:
|
|
186
|
-
type:
|
|
187
|
-
name:
|
|
188
|
-
inputs: [
|
|
185
|
+
"stateMutability": "nonpayable",
|
|
186
|
+
"type": "function",
|
|
187
|
+
"name": "setUserWalletConfig",
|
|
188
|
+
"inputs": [
|
|
189
189
|
{
|
|
190
|
-
name:
|
|
191
|
-
type:
|
|
192
|
-
components: [
|
|
190
|
+
"name": "_config",
|
|
191
|
+
"type": "tuple",
|
|
192
|
+
"components": [
|
|
193
193
|
{
|
|
194
|
-
name:
|
|
195
|
-
type:
|
|
194
|
+
"name": "walletTemplate",
|
|
195
|
+
"type": "address"
|
|
196
196
|
},
|
|
197
197
|
{
|
|
198
|
-
name:
|
|
199
|
-
type:
|
|
198
|
+
"name": "configTemplate",
|
|
199
|
+
"type": "address"
|
|
200
200
|
},
|
|
201
201
|
{
|
|
202
|
-
name:
|
|
203
|
-
type:
|
|
202
|
+
"name": "numUserWalletsAllowed",
|
|
203
|
+
"type": "uint256"
|
|
204
204
|
},
|
|
205
205
|
{
|
|
206
|
-
name:
|
|
207
|
-
type:
|
|
206
|
+
"name": "enforceCreatorWhitelist",
|
|
207
|
+
"type": "bool"
|
|
208
208
|
},
|
|
209
209
|
{
|
|
210
|
-
name:
|
|
211
|
-
type:
|
|
210
|
+
"name": "minKeyActionTimeLock",
|
|
211
|
+
"type": "uint256"
|
|
212
212
|
},
|
|
213
213
|
{
|
|
214
|
-
name:
|
|
215
|
-
type:
|
|
214
|
+
"name": "maxKeyActionTimeLock",
|
|
215
|
+
"type": "uint256"
|
|
216
216
|
},
|
|
217
217
|
{
|
|
218
|
-
name:
|
|
219
|
-
type:
|
|
218
|
+
"name": "depositRewardsAsset",
|
|
219
|
+
"type": "address"
|
|
220
220
|
},
|
|
221
221
|
{
|
|
222
|
-
name:
|
|
223
|
-
type:
|
|
222
|
+
"name": "lootClaimCoolOffPeriod",
|
|
223
|
+
"type": "uint256"
|
|
224
224
|
},
|
|
225
225
|
{
|
|
226
|
-
name:
|
|
227
|
-
type:
|
|
228
|
-
components: [
|
|
226
|
+
"name": "txFees",
|
|
227
|
+
"type": "tuple",
|
|
228
|
+
"components": [
|
|
229
229
|
{
|
|
230
|
-
name:
|
|
231
|
-
type:
|
|
230
|
+
"name": "swapFee",
|
|
231
|
+
"type": "uint256"
|
|
232
232
|
},
|
|
233
233
|
{
|
|
234
|
-
name:
|
|
235
|
-
type:
|
|
234
|
+
"name": "stableSwapFee",
|
|
235
|
+
"type": "uint256"
|
|
236
236
|
},
|
|
237
237
|
{
|
|
238
|
-
name:
|
|
239
|
-
type:
|
|
240
|
-
}
|
|
241
|
-
]
|
|
238
|
+
"name": "rewardsFee",
|
|
239
|
+
"type": "uint256"
|
|
240
|
+
}
|
|
241
|
+
]
|
|
242
242
|
},
|
|
243
243
|
{
|
|
244
|
-
name:
|
|
245
|
-
type:
|
|
246
|
-
components: [
|
|
244
|
+
"name": "ambassadorRevShare",
|
|
245
|
+
"type": "tuple",
|
|
246
|
+
"components": [
|
|
247
247
|
{
|
|
248
|
-
name:
|
|
249
|
-
type:
|
|
248
|
+
"name": "swapRatio",
|
|
249
|
+
"type": "uint256"
|
|
250
250
|
},
|
|
251
251
|
{
|
|
252
|
-
name:
|
|
253
|
-
type:
|
|
252
|
+
"name": "rewardsRatio",
|
|
253
|
+
"type": "uint256"
|
|
254
254
|
},
|
|
255
255
|
{
|
|
256
|
-
name:
|
|
257
|
-
type:
|
|
258
|
-
}
|
|
259
|
-
]
|
|
256
|
+
"name": "yieldRatio",
|
|
257
|
+
"type": "uint256"
|
|
258
|
+
}
|
|
259
|
+
]
|
|
260
260
|
},
|
|
261
261
|
{
|
|
262
|
-
name:
|
|
263
|
-
type:
|
|
264
|
-
components: [
|
|
262
|
+
"name": "yieldConfig",
|
|
263
|
+
"type": "tuple",
|
|
264
|
+
"components": [
|
|
265
265
|
{
|
|
266
|
-
name:
|
|
267
|
-
type:
|
|
266
|
+
"name": "maxYieldIncrease",
|
|
267
|
+
"type": "uint256"
|
|
268
268
|
},
|
|
269
269
|
{
|
|
270
|
-
name:
|
|
271
|
-
type:
|
|
270
|
+
"name": "performanceFee",
|
|
271
|
+
"type": "uint256"
|
|
272
272
|
},
|
|
273
273
|
{
|
|
274
|
-
name:
|
|
275
|
-
type:
|
|
274
|
+
"name": "ambassadorBonusRatio",
|
|
275
|
+
"type": "uint256"
|
|
276
276
|
},
|
|
277
277
|
{
|
|
278
|
-
name:
|
|
279
|
-
type:
|
|
278
|
+
"name": "bonusRatio",
|
|
279
|
+
"type": "uint256"
|
|
280
280
|
},
|
|
281
281
|
{
|
|
282
|
-
name:
|
|
283
|
-
type:
|
|
284
|
-
}
|
|
285
|
-
]
|
|
286
|
-
}
|
|
287
|
-
]
|
|
288
|
-
}
|
|
282
|
+
"name": "bonusAsset",
|
|
283
|
+
"type": "address"
|
|
284
|
+
}
|
|
285
|
+
]
|
|
286
|
+
}
|
|
287
|
+
]
|
|
288
|
+
}
|
|
289
289
|
],
|
|
290
|
-
outputs: []
|
|
290
|
+
"outputs": []
|
|
291
291
|
},
|
|
292
292
|
{
|
|
293
|
-
stateMutability:
|
|
294
|
-
type:
|
|
295
|
-
name:
|
|
296
|
-
inputs: [
|
|
293
|
+
"stateMutability": "nonpayable",
|
|
294
|
+
"type": "function",
|
|
295
|
+
"name": "setManagerConfig",
|
|
296
|
+
"inputs": [
|
|
297
297
|
{
|
|
298
|
-
name:
|
|
299
|
-
type:
|
|
300
|
-
components: [
|
|
298
|
+
"name": "_config",
|
|
299
|
+
"type": "tuple",
|
|
300
|
+
"components": [
|
|
301
301
|
{
|
|
302
|
-
name:
|
|
303
|
-
type:
|
|
302
|
+
"name": "managerPeriod",
|
|
303
|
+
"type": "uint256"
|
|
304
304
|
},
|
|
305
305
|
{
|
|
306
|
-
name:
|
|
307
|
-
type:
|
|
306
|
+
"name": "managerActivationLength",
|
|
307
|
+
"type": "uint256"
|
|
308
308
|
},
|
|
309
309
|
{
|
|
310
|
-
name:
|
|
311
|
-
type:
|
|
310
|
+
"name": "mustHaveUsdValueOnSwaps",
|
|
311
|
+
"type": "bool"
|
|
312
312
|
},
|
|
313
313
|
{
|
|
314
|
-
name:
|
|
315
|
-
type:
|
|
314
|
+
"name": "maxNumSwapsPerPeriod",
|
|
315
|
+
"type": "uint256"
|
|
316
316
|
},
|
|
317
317
|
{
|
|
318
|
-
name:
|
|
319
|
-
type:
|
|
318
|
+
"name": "maxSlippageOnSwaps",
|
|
319
|
+
"type": "uint256"
|
|
320
320
|
},
|
|
321
321
|
{
|
|
322
|
-
name:
|
|
323
|
-
type:
|
|
324
|
-
}
|
|
325
|
-
]
|
|
326
|
-
}
|
|
322
|
+
"name": "onlyApprovedYieldOpps",
|
|
323
|
+
"type": "bool"
|
|
324
|
+
}
|
|
325
|
+
]
|
|
326
|
+
}
|
|
327
327
|
],
|
|
328
|
-
outputs: []
|
|
328
|
+
"outputs": []
|
|
329
329
|
},
|
|
330
330
|
{
|
|
331
|
-
stateMutability:
|
|
332
|
-
type:
|
|
333
|
-
name:
|
|
334
|
-
inputs: [
|
|
331
|
+
"stateMutability": "nonpayable",
|
|
332
|
+
"type": "function",
|
|
333
|
+
"name": "setPayeeConfig",
|
|
334
|
+
"inputs": [
|
|
335
335
|
{
|
|
336
|
-
name:
|
|
337
|
-
type:
|
|
338
|
-
components: [
|
|
336
|
+
"name": "_config",
|
|
337
|
+
"type": "tuple",
|
|
338
|
+
"components": [
|
|
339
339
|
{
|
|
340
|
-
name:
|
|
341
|
-
type:
|
|
340
|
+
"name": "payeePeriod",
|
|
341
|
+
"type": "uint256"
|
|
342
342
|
},
|
|
343
343
|
{
|
|
344
|
-
name:
|
|
345
|
-
type:
|
|
346
|
-
}
|
|
347
|
-
]
|
|
348
|
-
}
|
|
344
|
+
"name": "payeeActivationLength",
|
|
345
|
+
"type": "uint256"
|
|
346
|
+
}
|
|
347
|
+
]
|
|
348
|
+
}
|
|
349
349
|
],
|
|
350
|
-
outputs: []
|
|
350
|
+
"outputs": []
|
|
351
351
|
},
|
|
352
352
|
{
|
|
353
|
-
stateMutability:
|
|
354
|
-
type:
|
|
355
|
-
name:
|
|
356
|
-
inputs: [
|
|
353
|
+
"stateMutability": "nonpayable",
|
|
354
|
+
"type": "function",
|
|
355
|
+
"name": "setChequeConfig",
|
|
356
|
+
"inputs": [
|
|
357
357
|
{
|
|
358
|
-
name:
|
|
359
|
-
type:
|
|
360
|
-
components: [
|
|
358
|
+
"name": "_config",
|
|
359
|
+
"type": "tuple",
|
|
360
|
+
"components": [
|
|
361
361
|
{
|
|
362
|
-
name:
|
|
363
|
-
type:
|
|
362
|
+
"name": "maxNumActiveCheques",
|
|
363
|
+
"type": "uint256"
|
|
364
364
|
},
|
|
365
365
|
{
|
|
366
|
-
name:
|
|
367
|
-
type:
|
|
366
|
+
"name": "instantUsdThreshold",
|
|
367
|
+
"type": "uint256"
|
|
368
368
|
},
|
|
369
369
|
{
|
|
370
|
-
name:
|
|
371
|
-
type:
|
|
370
|
+
"name": "periodLength",
|
|
371
|
+
"type": "uint256"
|
|
372
372
|
},
|
|
373
373
|
{
|
|
374
|
-
name:
|
|
375
|
-
type:
|
|
374
|
+
"name": "expensiveDelayBlocks",
|
|
375
|
+
"type": "uint256"
|
|
376
376
|
},
|
|
377
377
|
{
|
|
378
|
-
name:
|
|
379
|
-
type:
|
|
380
|
-
}
|
|
381
|
-
]
|
|
382
|
-
}
|
|
378
|
+
"name": "defaultExpiryBlocks",
|
|
379
|
+
"type": "uint256"
|
|
380
|
+
}
|
|
381
|
+
]
|
|
382
|
+
}
|
|
383
383
|
],
|
|
384
|
-
outputs: []
|
|
384
|
+
"outputs": []
|
|
385
385
|
},
|
|
386
386
|
{
|
|
387
|
-
stateMutability:
|
|
388
|
-
type:
|
|
389
|
-
name:
|
|
390
|
-
inputs: [
|
|
391
|
-
{
|
|
392
|
-
name:
|
|
393
|
-
type:
|
|
394
|
-
}
|
|
387
|
+
"stateMutability": "view",
|
|
388
|
+
"type": "function",
|
|
389
|
+
"name": "getUserWalletCreationConfig",
|
|
390
|
+
"inputs": [
|
|
391
|
+
{
|
|
392
|
+
"name": "_creator",
|
|
393
|
+
"type": "address"
|
|
394
|
+
}
|
|
395
395
|
],
|
|
396
|
-
outputs: [
|
|
396
|
+
"outputs": [
|
|
397
397
|
{
|
|
398
|
-
name:
|
|
399
|
-
type:
|
|
400
|
-
components: [
|
|
398
|
+
"name": "",
|
|
399
|
+
"type": "tuple",
|
|
400
|
+
"components": [
|
|
401
401
|
{
|
|
402
|
-
name:
|
|
403
|
-
type:
|
|
402
|
+
"name": "numUserWalletsAllowed",
|
|
403
|
+
"type": "uint256"
|
|
404
404
|
},
|
|
405
405
|
{
|
|
406
|
-
name:
|
|
407
|
-
type:
|
|
406
|
+
"name": "isCreatorAllowed",
|
|
407
|
+
"type": "bool"
|
|
408
408
|
},
|
|
409
409
|
{
|
|
410
|
-
name:
|
|
411
|
-
type:
|
|
410
|
+
"name": "walletTemplate",
|
|
411
|
+
"type": "address"
|
|
412
412
|
},
|
|
413
413
|
{
|
|
414
|
-
name:
|
|
415
|
-
type:
|
|
414
|
+
"name": "configTemplate",
|
|
415
|
+
"type": "address"
|
|
416
416
|
},
|
|
417
417
|
{
|
|
418
|
-
name:
|
|
419
|
-
type:
|
|
418
|
+
"name": "startingAgent",
|
|
419
|
+
"type": "address"
|
|
420
420
|
},
|
|
421
421
|
{
|
|
422
|
-
name:
|
|
423
|
-
type:
|
|
422
|
+
"name": "startingAgentActivationLength",
|
|
423
|
+
"type": "uint256"
|
|
424
424
|
},
|
|
425
425
|
{
|
|
426
|
-
name:
|
|
427
|
-
type:
|
|
426
|
+
"name": "managerPeriod",
|
|
427
|
+
"type": "uint256"
|
|
428
428
|
},
|
|
429
429
|
{
|
|
430
|
-
name:
|
|
431
|
-
type:
|
|
430
|
+
"name": "managerActivationLength",
|
|
431
|
+
"type": "uint256"
|
|
432
432
|
},
|
|
433
433
|
{
|
|
434
|
-
name:
|
|
435
|
-
type:
|
|
434
|
+
"name": "mustHaveUsdValueOnSwaps",
|
|
435
|
+
"type": "bool"
|
|
436
436
|
},
|
|
437
437
|
{
|
|
438
|
-
name:
|
|
439
|
-
type:
|
|
438
|
+
"name": "maxNumSwapsPerPeriod",
|
|
439
|
+
"type": "uint256"
|
|
440
440
|
},
|
|
441
441
|
{
|
|
442
|
-
name:
|
|
443
|
-
type:
|
|
442
|
+
"name": "maxSlippageOnSwaps",
|
|
443
|
+
"type": "uint256"
|
|
444
444
|
},
|
|
445
445
|
{
|
|
446
|
-
name:
|
|
447
|
-
type:
|
|
446
|
+
"name": "onlyApprovedYieldOpps",
|
|
447
|
+
"type": "bool"
|
|
448
448
|
},
|
|
449
449
|
{
|
|
450
|
-
name:
|
|
451
|
-
type:
|
|
450
|
+
"name": "payeePeriod",
|
|
451
|
+
"type": "uint256"
|
|
452
452
|
},
|
|
453
453
|
{
|
|
454
|
-
name:
|
|
455
|
-
type:
|
|
454
|
+
"name": "payeeActivationLength",
|
|
455
|
+
"type": "uint256"
|
|
456
456
|
},
|
|
457
457
|
{
|
|
458
|
-
name:
|
|
459
|
-
type:
|
|
458
|
+
"name": "chequeMaxNumActiveCheques",
|
|
459
|
+
"type": "uint256"
|
|
460
460
|
},
|
|
461
461
|
{
|
|
462
|
-
name:
|
|
463
|
-
type:
|
|
462
|
+
"name": "chequeInstantUsdThreshold",
|
|
463
|
+
"type": "uint256"
|
|
464
464
|
},
|
|
465
465
|
{
|
|
466
|
-
name:
|
|
467
|
-
type:
|
|
466
|
+
"name": "chequePeriodLength",
|
|
467
|
+
"type": "uint256"
|
|
468
468
|
},
|
|
469
469
|
{
|
|
470
|
-
name:
|
|
471
|
-
type:
|
|
470
|
+
"name": "chequeExpensiveDelayBlocks",
|
|
471
|
+
"type": "uint256"
|
|
472
472
|
},
|
|
473
473
|
{
|
|
474
|
-
name:
|
|
475
|
-
type:
|
|
474
|
+
"name": "chequeDefaultExpiryBlocks",
|
|
475
|
+
"type": "uint256"
|
|
476
476
|
},
|
|
477
477
|
{
|
|
478
|
-
name:
|
|
479
|
-
type:
|
|
478
|
+
"name": "minKeyActionTimeLock",
|
|
479
|
+
"type": "uint256"
|
|
480
480
|
},
|
|
481
481
|
{
|
|
482
|
-
name:
|
|
483
|
-
type:
|
|
484
|
-
}
|
|
485
|
-
]
|
|
486
|
-
}
|
|
487
|
-
]
|
|
482
|
+
"name": "maxKeyActionTimeLock",
|
|
483
|
+
"type": "uint256"
|
|
484
|
+
}
|
|
485
|
+
]
|
|
486
|
+
}
|
|
487
|
+
]
|
|
488
488
|
},
|
|
489
489
|
{
|
|
490
|
-
stateMutability:
|
|
491
|
-
type:
|
|
492
|
-
name:
|
|
493
|
-
inputs: [],
|
|
494
|
-
outputs: [
|
|
495
|
-
{
|
|
496
|
-
name:
|
|
497
|
-
type:
|
|
498
|
-
}
|
|
499
|
-
]
|
|
490
|
+
"stateMutability": "view",
|
|
491
|
+
"type": "function",
|
|
492
|
+
"name": "getDepositRewardsAsset",
|
|
493
|
+
"inputs": [],
|
|
494
|
+
"outputs": [
|
|
495
|
+
{
|
|
496
|
+
"name": "",
|
|
497
|
+
"type": "address"
|
|
498
|
+
}
|
|
499
|
+
]
|
|
500
500
|
},
|
|
501
501
|
{
|
|
502
|
-
stateMutability:
|
|
503
|
-
type:
|
|
504
|
-
name:
|
|
505
|
-
inputs: [],
|
|
506
|
-
outputs: [
|
|
507
|
-
{
|
|
508
|
-
name:
|
|
509
|
-
type:
|
|
510
|
-
}
|
|
511
|
-
]
|
|
502
|
+
"stateMutability": "view",
|
|
503
|
+
"type": "function",
|
|
504
|
+
"name": "getLootClaimCoolOffPeriod",
|
|
505
|
+
"inputs": [],
|
|
506
|
+
"outputs": [
|
|
507
|
+
{
|
|
508
|
+
"name": "",
|
|
509
|
+
"type": "uint256"
|
|
510
|
+
}
|
|
511
|
+
]
|
|
512
512
|
},
|
|
513
513
|
{
|
|
514
|
-
stateMutability:
|
|
515
|
-
type:
|
|
516
|
-
name:
|
|
517
|
-
inputs: [
|
|
514
|
+
"stateMutability": "nonpayable",
|
|
515
|
+
"type": "function",
|
|
516
|
+
"name": "setRipeRewardsConfig",
|
|
517
|
+
"inputs": [
|
|
518
518
|
{
|
|
519
|
-
name:
|
|
520
|
-
type:
|
|
521
|
-
components: [
|
|
519
|
+
"name": "_config",
|
|
520
|
+
"type": "tuple",
|
|
521
|
+
"components": [
|
|
522
522
|
{
|
|
523
|
-
name:
|
|
524
|
-
type:
|
|
523
|
+
"name": "stakeRatio",
|
|
524
|
+
"type": "uint256"
|
|
525
525
|
},
|
|
526
526
|
{
|
|
527
|
-
name:
|
|
528
|
-
type:
|
|
529
|
-
}
|
|
530
|
-
]
|
|
531
|
-
}
|
|
527
|
+
"name": "lockDuration",
|
|
528
|
+
"type": "uint256"
|
|
529
|
+
}
|
|
530
|
+
]
|
|
531
|
+
}
|
|
532
532
|
],
|
|
533
|
-
outputs: []
|
|
533
|
+
"outputs": []
|
|
534
534
|
},
|
|
535
535
|
{
|
|
536
|
-
stateMutability:
|
|
537
|
-
type:
|
|
538
|
-
name:
|
|
539
|
-
inputs: [],
|
|
540
|
-
outputs: [
|
|
541
|
-
{
|
|
542
|
-
name:
|
|
543
|
-
type:
|
|
544
|
-
components: [
|
|
545
|
-
{
|
|
546
|
-
name:
|
|
547
|
-
type:
|
|
548
|
-
},
|
|
549
|
-
{
|
|
550
|
-
name:
|
|
551
|
-
type:
|
|
552
|
-
}
|
|
553
|
-
]
|
|
554
|
-
}
|
|
555
|
-
]
|
|
536
|
+
"stateMutability": "view",
|
|
537
|
+
"type": "function",
|
|
538
|
+
"name": "getRipeRewardsConfig",
|
|
539
|
+
"inputs": [],
|
|
540
|
+
"outputs": [
|
|
541
|
+
{
|
|
542
|
+
"name": "",
|
|
543
|
+
"type": "tuple",
|
|
544
|
+
"components": [
|
|
545
|
+
{
|
|
546
|
+
"name": "stakeRatio",
|
|
547
|
+
"type": "uint256"
|
|
548
|
+
},
|
|
549
|
+
{
|
|
550
|
+
"name": "lockDuration",
|
|
551
|
+
"type": "uint256"
|
|
552
|
+
}
|
|
553
|
+
]
|
|
554
|
+
}
|
|
555
|
+
]
|
|
556
556
|
},
|
|
557
557
|
{
|
|
558
|
-
stateMutability:
|
|
559
|
-
type:
|
|
560
|
-
name:
|
|
561
|
-
inputs: [
|
|
558
|
+
"stateMutability": "nonpayable",
|
|
559
|
+
"type": "function",
|
|
560
|
+
"name": "setAgentConfig",
|
|
561
|
+
"inputs": [
|
|
562
562
|
{
|
|
563
|
-
name:
|
|
564
|
-
type:
|
|
565
|
-
components: [
|
|
563
|
+
"name": "_config",
|
|
564
|
+
"type": "tuple",
|
|
565
|
+
"components": [
|
|
566
566
|
{
|
|
567
|
-
name:
|
|
568
|
-
type:
|
|
567
|
+
"name": "startingAgent",
|
|
568
|
+
"type": "address"
|
|
569
569
|
},
|
|
570
570
|
{
|
|
571
|
-
name:
|
|
572
|
-
type:
|
|
573
|
-
}
|
|
574
|
-
]
|
|
575
|
-
}
|
|
571
|
+
"name": "startingAgentActivationLength",
|
|
572
|
+
"type": "uint256"
|
|
573
|
+
}
|
|
574
|
+
]
|
|
575
|
+
}
|
|
576
576
|
],
|
|
577
|
-
outputs: []
|
|
577
|
+
"outputs": []
|
|
578
578
|
},
|
|
579
579
|
{
|
|
580
|
-
stateMutability:
|
|
581
|
-
type:
|
|
582
|
-
name:
|
|
583
|
-
inputs: [
|
|
584
|
-
{
|
|
585
|
-
name:
|
|
586
|
-
type:
|
|
587
|
-
}
|
|
580
|
+
"stateMutability": "nonpayable",
|
|
581
|
+
"type": "function",
|
|
582
|
+
"name": "setStarterAgent",
|
|
583
|
+
"inputs": [
|
|
584
|
+
{
|
|
585
|
+
"name": "_agent",
|
|
586
|
+
"type": "address"
|
|
587
|
+
}
|
|
588
588
|
],
|
|
589
|
-
outputs: []
|
|
589
|
+
"outputs": []
|
|
590
590
|
},
|
|
591
591
|
{
|
|
592
|
-
stateMutability:
|
|
593
|
-
type:
|
|
594
|
-
name:
|
|
595
|
-
inputs: [
|
|
592
|
+
"stateMutability": "nonpayable",
|
|
593
|
+
"type": "function",
|
|
594
|
+
"name": "setAssetConfig",
|
|
595
|
+
"inputs": [
|
|
596
596
|
{
|
|
597
|
-
name:
|
|
598
|
-
type:
|
|
597
|
+
"name": "_asset",
|
|
598
|
+
"type": "address"
|
|
599
599
|
},
|
|
600
600
|
{
|
|
601
|
-
name:
|
|
602
|
-
type:
|
|
603
|
-
components: [
|
|
601
|
+
"name": "_config",
|
|
602
|
+
"type": "tuple",
|
|
603
|
+
"components": [
|
|
604
604
|
{
|
|
605
|
-
name:
|
|
606
|
-
type:
|
|
605
|
+
"name": "hasConfig",
|
|
606
|
+
"type": "bool"
|
|
607
607
|
},
|
|
608
608
|
{
|
|
609
|
-
name:
|
|
610
|
-
type:
|
|
611
|
-
components: [
|
|
609
|
+
"name": "txFees",
|
|
610
|
+
"type": "tuple",
|
|
611
|
+
"components": [
|
|
612
612
|
{
|
|
613
|
-
name:
|
|
614
|
-
type:
|
|
613
|
+
"name": "swapFee",
|
|
614
|
+
"type": "uint256"
|
|
615
615
|
},
|
|
616
616
|
{
|
|
617
|
-
name:
|
|
618
|
-
type:
|
|
617
|
+
"name": "stableSwapFee",
|
|
618
|
+
"type": "uint256"
|
|
619
619
|
},
|
|
620
620
|
{
|
|
621
|
-
name:
|
|
622
|
-
type:
|
|
623
|
-
}
|
|
624
|
-
]
|
|
621
|
+
"name": "rewardsFee",
|
|
622
|
+
"type": "uint256"
|
|
623
|
+
}
|
|
624
|
+
]
|
|
625
625
|
},
|
|
626
626
|
{
|
|
627
|
-
name:
|
|
628
|
-
type:
|
|
629
|
-
components: [
|
|
627
|
+
"name": "ambassadorRevShare",
|
|
628
|
+
"type": "tuple",
|
|
629
|
+
"components": [
|
|
630
630
|
{
|
|
631
|
-
name:
|
|
632
|
-
type:
|
|
631
|
+
"name": "swapRatio",
|
|
632
|
+
"type": "uint256"
|
|
633
633
|
},
|
|
634
634
|
{
|
|
635
|
-
name:
|
|
636
|
-
type:
|
|
635
|
+
"name": "rewardsRatio",
|
|
636
|
+
"type": "uint256"
|
|
637
637
|
},
|
|
638
638
|
{
|
|
639
|
-
name:
|
|
640
|
-
type:
|
|
641
|
-
}
|
|
642
|
-
]
|
|
639
|
+
"name": "yieldRatio",
|
|
640
|
+
"type": "uint256"
|
|
641
|
+
}
|
|
642
|
+
]
|
|
643
643
|
},
|
|
644
644
|
{
|
|
645
|
-
name:
|
|
646
|
-
type:
|
|
647
|
-
components: [
|
|
645
|
+
"name": "yieldConfig",
|
|
646
|
+
"type": "tuple",
|
|
647
|
+
"components": [
|
|
648
648
|
{
|
|
649
|
-
name:
|
|
650
|
-
type:
|
|
649
|
+
"name": "maxYieldIncrease",
|
|
650
|
+
"type": "uint256"
|
|
651
651
|
},
|
|
652
652
|
{
|
|
653
|
-
name:
|
|
654
|
-
type:
|
|
653
|
+
"name": "performanceFee",
|
|
654
|
+
"type": "uint256"
|
|
655
655
|
},
|
|
656
656
|
{
|
|
657
|
-
name:
|
|
658
|
-
type:
|
|
657
|
+
"name": "ambassadorBonusRatio",
|
|
658
|
+
"type": "uint256"
|
|
659
659
|
},
|
|
660
660
|
{
|
|
661
|
-
name:
|
|
662
|
-
type:
|
|
661
|
+
"name": "bonusRatio",
|
|
662
|
+
"type": "uint256"
|
|
663
663
|
},
|
|
664
664
|
{
|
|
665
|
-
name:
|
|
666
|
-
type:
|
|
667
|
-
}
|
|
668
|
-
]
|
|
669
|
-
}
|
|
670
|
-
]
|
|
671
|
-
}
|
|
665
|
+
"name": "bonusAsset",
|
|
666
|
+
"type": "address"
|
|
667
|
+
}
|
|
668
|
+
]
|
|
669
|
+
}
|
|
670
|
+
]
|
|
671
|
+
}
|
|
672
672
|
],
|
|
673
|
-
outputs: []
|
|
673
|
+
"outputs": []
|
|
674
674
|
},
|
|
675
675
|
{
|
|
676
|
-
stateMutability:
|
|
677
|
-
type:
|
|
678
|
-
name:
|
|
679
|
-
inputs: [
|
|
676
|
+
"stateMutability": "nonpayable",
|
|
677
|
+
"type": "function",
|
|
678
|
+
"name": "setIsStablecoin",
|
|
679
|
+
"inputs": [
|
|
680
680
|
{
|
|
681
|
-
name:
|
|
682
|
-
type:
|
|
681
|
+
"name": "_asset",
|
|
682
|
+
"type": "address"
|
|
683
683
|
},
|
|
684
684
|
{
|
|
685
|
-
name:
|
|
686
|
-
type:
|
|
687
|
-
}
|
|
685
|
+
"name": "_isStablecoin",
|
|
686
|
+
"type": "bool"
|
|
687
|
+
}
|
|
688
688
|
],
|
|
689
|
-
outputs: []
|
|
689
|
+
"outputs": []
|
|
690
690
|
},
|
|
691
691
|
{
|
|
692
|
-
stateMutability:
|
|
693
|
-
type:
|
|
694
|
-
name:
|
|
695
|
-
inputs: [
|
|
692
|
+
"stateMutability": "view",
|
|
693
|
+
"type": "function",
|
|
694
|
+
"name": "getSwapFee",
|
|
695
|
+
"inputs": [
|
|
696
696
|
{
|
|
697
|
-
name:
|
|
698
|
-
type:
|
|
697
|
+
"name": "_tokenIn",
|
|
698
|
+
"type": "address"
|
|
699
699
|
},
|
|
700
700
|
{
|
|
701
|
-
name:
|
|
702
|
-
type:
|
|
703
|
-
}
|
|
701
|
+
"name": "_tokenOut",
|
|
702
|
+
"type": "address"
|
|
703
|
+
}
|
|
704
704
|
],
|
|
705
|
-
outputs: [
|
|
705
|
+
"outputs": [
|
|
706
706
|
{
|
|
707
|
-
name:
|
|
708
|
-
type:
|
|
709
|
-
}
|
|
710
|
-
]
|
|
707
|
+
"name": "",
|
|
708
|
+
"type": "uint256"
|
|
709
|
+
}
|
|
710
|
+
]
|
|
711
711
|
},
|
|
712
712
|
{
|
|
713
|
-
stateMutability:
|
|
714
|
-
type:
|
|
715
|
-
name:
|
|
716
|
-
inputs: [
|
|
717
|
-
{
|
|
718
|
-
name:
|
|
719
|
-
type:
|
|
720
|
-
}
|
|
713
|
+
"stateMutability": "view",
|
|
714
|
+
"type": "function",
|
|
715
|
+
"name": "getRewardsFee",
|
|
716
|
+
"inputs": [
|
|
717
|
+
{
|
|
718
|
+
"name": "_asset",
|
|
719
|
+
"type": "address"
|
|
720
|
+
}
|
|
721
721
|
],
|
|
722
|
-
outputs: [
|
|
722
|
+
"outputs": [
|
|
723
723
|
{
|
|
724
|
-
name:
|
|
725
|
-
type:
|
|
726
|
-
}
|
|
727
|
-
]
|
|
724
|
+
"name": "",
|
|
725
|
+
"type": "uint256"
|
|
726
|
+
}
|
|
727
|
+
]
|
|
728
728
|
},
|
|
729
729
|
{
|
|
730
|
-
stateMutability:
|
|
731
|
-
type:
|
|
732
|
-
name:
|
|
733
|
-
inputs: [
|
|
734
|
-
{
|
|
735
|
-
name:
|
|
736
|
-
type:
|
|
737
|
-
}
|
|
730
|
+
"stateMutability": "view",
|
|
731
|
+
"type": "function",
|
|
732
|
+
"name": "getProfitCalcConfig",
|
|
733
|
+
"inputs": [
|
|
734
|
+
{
|
|
735
|
+
"name": "_asset",
|
|
736
|
+
"type": "address"
|
|
737
|
+
}
|
|
738
738
|
],
|
|
739
|
-
outputs: [
|
|
739
|
+
"outputs": [
|
|
740
740
|
{
|
|
741
|
-
name:
|
|
742
|
-
type:
|
|
743
|
-
components: [
|
|
741
|
+
"name": "",
|
|
742
|
+
"type": "tuple",
|
|
743
|
+
"components": [
|
|
744
744
|
{
|
|
745
|
-
name:
|
|
746
|
-
type:
|
|
745
|
+
"name": "legoId",
|
|
746
|
+
"type": "uint256"
|
|
747
747
|
},
|
|
748
748
|
{
|
|
749
|
-
name:
|
|
750
|
-
type:
|
|
749
|
+
"name": "legoAddr",
|
|
750
|
+
"type": "address"
|
|
751
751
|
},
|
|
752
752
|
{
|
|
753
|
-
name:
|
|
754
|
-
type:
|
|
753
|
+
"name": "isYieldAsset",
|
|
754
|
+
"type": "bool"
|
|
755
755
|
},
|
|
756
756
|
{
|
|
757
|
-
name:
|
|
758
|
-
type:
|
|
757
|
+
"name": "underlyingAsset",
|
|
758
|
+
"type": "address"
|
|
759
759
|
},
|
|
760
760
|
{
|
|
761
|
-
name:
|
|
762
|
-
type:
|
|
761
|
+
"name": "maxYieldIncrease",
|
|
762
|
+
"type": "uint256"
|
|
763
763
|
},
|
|
764
764
|
{
|
|
765
|
-
name:
|
|
766
|
-
type:
|
|
765
|
+
"name": "performanceFee",
|
|
766
|
+
"type": "uint256"
|
|
767
767
|
},
|
|
768
768
|
{
|
|
769
|
-
name:
|
|
770
|
-
type:
|
|
769
|
+
"name": "isRebasing",
|
|
770
|
+
"type": "bool"
|
|
771
771
|
},
|
|
772
772
|
{
|
|
773
|
-
name:
|
|
774
|
-
type:
|
|
775
|
-
}
|
|
776
|
-
]
|
|
777
|
-
}
|
|
778
|
-
]
|
|
773
|
+
"name": "decimals",
|
|
774
|
+
"type": "uint256"
|
|
775
|
+
}
|
|
776
|
+
]
|
|
777
|
+
}
|
|
778
|
+
]
|
|
779
779
|
},
|
|
780
780
|
{
|
|
781
|
-
stateMutability:
|
|
782
|
-
type:
|
|
783
|
-
name:
|
|
784
|
-
inputs: [
|
|
785
|
-
{
|
|
786
|
-
name:
|
|
787
|
-
type:
|
|
788
|
-
}
|
|
781
|
+
"stateMutability": "view",
|
|
782
|
+
"type": "function",
|
|
783
|
+
"name": "getAssetUsdValueConfig",
|
|
784
|
+
"inputs": [
|
|
785
|
+
{
|
|
786
|
+
"name": "_asset",
|
|
787
|
+
"type": "address"
|
|
788
|
+
}
|
|
789
789
|
],
|
|
790
|
-
outputs: [
|
|
790
|
+
"outputs": [
|
|
791
791
|
{
|
|
792
|
-
name:
|
|
793
|
-
type:
|
|
794
|
-
components: [
|
|
792
|
+
"name": "",
|
|
793
|
+
"type": "tuple",
|
|
794
|
+
"components": [
|
|
795
795
|
{
|
|
796
|
-
name:
|
|
797
|
-
type:
|
|
796
|
+
"name": "legoId",
|
|
797
|
+
"type": "uint256"
|
|
798
798
|
},
|
|
799
799
|
{
|
|
800
|
-
name:
|
|
801
|
-
type:
|
|
800
|
+
"name": "legoAddr",
|
|
801
|
+
"type": "address"
|
|
802
802
|
},
|
|
803
803
|
{
|
|
804
|
-
name:
|
|
805
|
-
type:
|
|
804
|
+
"name": "isYieldAsset",
|
|
805
|
+
"type": "bool"
|
|
806
806
|
},
|
|
807
807
|
{
|
|
808
|
-
name:
|
|
809
|
-
type:
|
|
810
|
-
}
|
|
811
|
-
]
|
|
812
|
-
}
|
|
813
|
-
]
|
|
808
|
+
"name": "underlyingAsset",
|
|
809
|
+
"type": "address"
|
|
810
|
+
}
|
|
811
|
+
]
|
|
812
|
+
}
|
|
813
|
+
]
|
|
814
814
|
},
|
|
815
815
|
{
|
|
816
|
-
stateMutability:
|
|
817
|
-
type:
|
|
818
|
-
name:
|
|
819
|
-
inputs: [
|
|
820
|
-
{
|
|
821
|
-
name:
|
|
822
|
-
type:
|
|
823
|
-
}
|
|
816
|
+
"stateMutability": "view",
|
|
817
|
+
"type": "function",
|
|
818
|
+
"name": "getLootDistroConfig",
|
|
819
|
+
"inputs": [
|
|
820
|
+
{
|
|
821
|
+
"name": "_asset",
|
|
822
|
+
"type": "address"
|
|
823
|
+
}
|
|
824
824
|
],
|
|
825
|
-
outputs: [
|
|
825
|
+
"outputs": [
|
|
826
826
|
{
|
|
827
|
-
name:
|
|
828
|
-
type:
|
|
829
|
-
components: [
|
|
827
|
+
"name": "",
|
|
828
|
+
"type": "tuple",
|
|
829
|
+
"components": [
|
|
830
830
|
{
|
|
831
|
-
name:
|
|
832
|
-
type:
|
|
831
|
+
"name": "legoId",
|
|
832
|
+
"type": "uint256"
|
|
833
833
|
},
|
|
834
834
|
{
|
|
835
|
-
name:
|
|
836
|
-
type:
|
|
835
|
+
"name": "legoAddr",
|
|
836
|
+
"type": "address"
|
|
837
837
|
},
|
|
838
838
|
{
|
|
839
|
-
name:
|
|
840
|
-
type:
|
|
839
|
+
"name": "underlyingAsset",
|
|
840
|
+
"type": "address"
|
|
841
841
|
},
|
|
842
842
|
{
|
|
843
|
-
name:
|
|
844
|
-
type:
|
|
843
|
+
"name": "ambassador",
|
|
844
|
+
"type": "address"
|
|
845
845
|
},
|
|
846
846
|
{
|
|
847
|
-
name:
|
|
848
|
-
type:
|
|
849
|
-
components: [
|
|
847
|
+
"name": "ambassadorRevShare",
|
|
848
|
+
"type": "tuple",
|
|
849
|
+
"components": [
|
|
850
850
|
{
|
|
851
|
-
name:
|
|
852
|
-
type:
|
|
851
|
+
"name": "swapRatio",
|
|
852
|
+
"type": "uint256"
|
|
853
853
|
},
|
|
854
854
|
{
|
|
855
|
-
name:
|
|
856
|
-
type:
|
|
855
|
+
"name": "rewardsRatio",
|
|
856
|
+
"type": "uint256"
|
|
857
857
|
},
|
|
858
858
|
{
|
|
859
|
-
name:
|
|
860
|
-
type:
|
|
861
|
-
}
|
|
862
|
-
]
|
|
859
|
+
"name": "yieldRatio",
|
|
860
|
+
"type": "uint256"
|
|
861
|
+
}
|
|
862
|
+
]
|
|
863
863
|
},
|
|
864
864
|
{
|
|
865
|
-
name:
|
|
866
|
-
type:
|
|
865
|
+
"name": "ambassadorBonusRatio",
|
|
866
|
+
"type": "uint256"
|
|
867
867
|
},
|
|
868
868
|
{
|
|
869
|
-
name:
|
|
870
|
-
type:
|
|
869
|
+
"name": "bonusRatio",
|
|
870
|
+
"type": "uint256"
|
|
871
871
|
},
|
|
872
872
|
{
|
|
873
|
-
name:
|
|
874
|
-
type:
|
|
875
|
-
}
|
|
876
|
-
]
|
|
877
|
-
}
|
|
878
|
-
]
|
|
873
|
+
"name": "bonusAsset",
|
|
874
|
+
"type": "address"
|
|
875
|
+
}
|
|
876
|
+
]
|
|
877
|
+
}
|
|
878
|
+
]
|
|
879
879
|
},
|
|
880
880
|
{
|
|
881
|
-
stateMutability:
|
|
882
|
-
type:
|
|
883
|
-
name:
|
|
884
|
-
inputs: [
|
|
881
|
+
"stateMutability": "nonpayable",
|
|
882
|
+
"type": "function",
|
|
883
|
+
"name": "setCanPerformSecurityAction",
|
|
884
|
+
"inputs": [
|
|
885
885
|
{
|
|
886
|
-
name:
|
|
887
|
-
type:
|
|
886
|
+
"name": "_signer",
|
|
887
|
+
"type": "address"
|
|
888
888
|
},
|
|
889
889
|
{
|
|
890
|
-
name:
|
|
891
|
-
type:
|
|
892
|
-
}
|
|
890
|
+
"name": "_canPerform",
|
|
891
|
+
"type": "bool"
|
|
892
|
+
}
|
|
893
893
|
],
|
|
894
|
-
outputs: []
|
|
894
|
+
"outputs": []
|
|
895
895
|
},
|
|
896
896
|
{
|
|
897
|
-
stateMutability:
|
|
898
|
-
type:
|
|
899
|
-
name:
|
|
900
|
-
inputs: [
|
|
901
|
-
{
|
|
902
|
-
name:
|
|
903
|
-
type:
|
|
904
|
-
}
|
|
897
|
+
"stateMutability": "view",
|
|
898
|
+
"type": "function",
|
|
899
|
+
"name": "canPerformSecurityAction",
|
|
900
|
+
"inputs": [
|
|
901
|
+
{
|
|
902
|
+
"name": "_signer",
|
|
903
|
+
"type": "address"
|
|
904
|
+
}
|
|
905
905
|
],
|
|
906
|
-
outputs: [
|
|
906
|
+
"outputs": [
|
|
907
907
|
{
|
|
908
|
-
name:
|
|
909
|
-
type:
|
|
910
|
-
}
|
|
911
|
-
]
|
|
908
|
+
"name": "",
|
|
909
|
+
"type": "bool"
|
|
910
|
+
}
|
|
911
|
+
]
|
|
912
912
|
},
|
|
913
913
|
{
|
|
914
|
-
stateMutability:
|
|
915
|
-
type:
|
|
916
|
-
name:
|
|
917
|
-
inputs: [
|
|
914
|
+
"stateMutability": "nonpayable",
|
|
915
|
+
"type": "function",
|
|
916
|
+
"name": "setCreatorWhitelist",
|
|
917
|
+
"inputs": [
|
|
918
918
|
{
|
|
919
|
-
name:
|
|
920
|
-
type:
|
|
919
|
+
"name": "_creator",
|
|
920
|
+
"type": "address"
|
|
921
921
|
},
|
|
922
922
|
{
|
|
923
|
-
name:
|
|
924
|
-
type:
|
|
925
|
-
}
|
|
923
|
+
"name": "_isWhitelisted",
|
|
924
|
+
"type": "bool"
|
|
925
|
+
}
|
|
926
926
|
],
|
|
927
|
-
outputs: []
|
|
927
|
+
"outputs": []
|
|
928
928
|
},
|
|
929
929
|
{
|
|
930
|
-
stateMutability:
|
|
931
|
-
type:
|
|
932
|
-
name:
|
|
933
|
-
inputs: [
|
|
934
|
-
{
|
|
935
|
-
name:
|
|
936
|
-
type:
|
|
937
|
-
}
|
|
930
|
+
"stateMutability": "view",
|
|
931
|
+
"type": "function",
|
|
932
|
+
"name": "creatorWhitelist",
|
|
933
|
+
"inputs": [
|
|
934
|
+
{
|
|
935
|
+
"name": "_creator",
|
|
936
|
+
"type": "address"
|
|
937
|
+
}
|
|
938
938
|
],
|
|
939
|
-
outputs: [
|
|
939
|
+
"outputs": [
|
|
940
940
|
{
|
|
941
|
-
name:
|
|
942
|
-
type:
|
|
943
|
-
}
|
|
944
|
-
]
|
|
941
|
+
"name": "",
|
|
942
|
+
"type": "bool"
|
|
943
|
+
}
|
|
944
|
+
]
|
|
945
945
|
},
|
|
946
946
|
{
|
|
947
|
-
stateMutability:
|
|
948
|
-
type:
|
|
949
|
-
name:
|
|
950
|
-
inputs: [
|
|
947
|
+
"stateMutability": "nonpayable",
|
|
948
|
+
"type": "function",
|
|
949
|
+
"name": "setLockedSigner",
|
|
950
|
+
"inputs": [
|
|
951
951
|
{
|
|
952
|
-
name:
|
|
953
|
-
type:
|
|
952
|
+
"name": "_signer",
|
|
953
|
+
"type": "address"
|
|
954
954
|
},
|
|
955
955
|
{
|
|
956
|
-
name:
|
|
957
|
-
type:
|
|
958
|
-
}
|
|
956
|
+
"name": "_isLocked",
|
|
957
|
+
"type": "bool"
|
|
958
|
+
}
|
|
959
959
|
],
|
|
960
|
-
outputs: []
|
|
960
|
+
"outputs": []
|
|
961
961
|
},
|
|
962
962
|
{
|
|
963
|
-
stateMutability:
|
|
964
|
-
type:
|
|
965
|
-
name:
|
|
966
|
-
inputs: [],
|
|
967
|
-
outputs: [
|
|
963
|
+
"stateMutability": "view",
|
|
964
|
+
"type": "function",
|
|
965
|
+
"name": "userWalletConfig",
|
|
966
|
+
"inputs": [],
|
|
967
|
+
"outputs": [
|
|
968
968
|
{
|
|
969
|
-
name:
|
|
970
|
-
type:
|
|
971
|
-
components: [
|
|
969
|
+
"name": "",
|
|
970
|
+
"type": "tuple",
|
|
971
|
+
"components": [
|
|
972
972
|
{
|
|
973
|
-
name:
|
|
974
|
-
type:
|
|
973
|
+
"name": "walletTemplate",
|
|
974
|
+
"type": "address"
|
|
975
975
|
},
|
|
976
976
|
{
|
|
977
|
-
name:
|
|
978
|
-
type:
|
|
977
|
+
"name": "configTemplate",
|
|
978
|
+
"type": "address"
|
|
979
979
|
},
|
|
980
980
|
{
|
|
981
|
-
name:
|
|
982
|
-
type:
|
|
981
|
+
"name": "numUserWalletsAllowed",
|
|
982
|
+
"type": "uint256"
|
|
983
983
|
},
|
|
984
984
|
{
|
|
985
|
-
name:
|
|
986
|
-
type:
|
|
985
|
+
"name": "enforceCreatorWhitelist",
|
|
986
|
+
"type": "bool"
|
|
987
987
|
},
|
|
988
988
|
{
|
|
989
|
-
name:
|
|
990
|
-
type:
|
|
989
|
+
"name": "minKeyActionTimeLock",
|
|
990
|
+
"type": "uint256"
|
|
991
991
|
},
|
|
992
992
|
{
|
|
993
|
-
name:
|
|
994
|
-
type:
|
|
993
|
+
"name": "maxKeyActionTimeLock",
|
|
994
|
+
"type": "uint256"
|
|
995
995
|
},
|
|
996
996
|
{
|
|
997
|
-
name:
|
|
998
|
-
type:
|
|
997
|
+
"name": "depositRewardsAsset",
|
|
998
|
+
"type": "address"
|
|
999
999
|
},
|
|
1000
1000
|
{
|
|
1001
|
-
name:
|
|
1002
|
-
type:
|
|
1001
|
+
"name": "lootClaimCoolOffPeriod",
|
|
1002
|
+
"type": "uint256"
|
|
1003
1003
|
},
|
|
1004
1004
|
{
|
|
1005
|
-
name:
|
|
1006
|
-
type:
|
|
1007
|
-
components: [
|
|
1005
|
+
"name": "txFees",
|
|
1006
|
+
"type": "tuple",
|
|
1007
|
+
"components": [
|
|
1008
1008
|
{
|
|
1009
|
-
name:
|
|
1010
|
-
type:
|
|
1009
|
+
"name": "swapFee",
|
|
1010
|
+
"type": "uint256"
|
|
1011
1011
|
},
|
|
1012
1012
|
{
|
|
1013
|
-
name:
|
|
1014
|
-
type:
|
|
1013
|
+
"name": "stableSwapFee",
|
|
1014
|
+
"type": "uint256"
|
|
1015
1015
|
},
|
|
1016
1016
|
{
|
|
1017
|
-
name:
|
|
1018
|
-
type:
|
|
1019
|
-
}
|
|
1020
|
-
]
|
|
1017
|
+
"name": "rewardsFee",
|
|
1018
|
+
"type": "uint256"
|
|
1019
|
+
}
|
|
1020
|
+
]
|
|
1021
1021
|
},
|
|
1022
1022
|
{
|
|
1023
|
-
name:
|
|
1024
|
-
type:
|
|
1025
|
-
components: [
|
|
1023
|
+
"name": "ambassadorRevShare",
|
|
1024
|
+
"type": "tuple",
|
|
1025
|
+
"components": [
|
|
1026
1026
|
{
|
|
1027
|
-
name:
|
|
1028
|
-
type:
|
|
1027
|
+
"name": "swapRatio",
|
|
1028
|
+
"type": "uint256"
|
|
1029
1029
|
},
|
|
1030
1030
|
{
|
|
1031
|
-
name:
|
|
1032
|
-
type:
|
|
1031
|
+
"name": "rewardsRatio",
|
|
1032
|
+
"type": "uint256"
|
|
1033
1033
|
},
|
|
1034
1034
|
{
|
|
1035
|
-
name:
|
|
1036
|
-
type:
|
|
1037
|
-
}
|
|
1038
|
-
]
|
|
1035
|
+
"name": "yieldRatio",
|
|
1036
|
+
"type": "uint256"
|
|
1037
|
+
}
|
|
1038
|
+
]
|
|
1039
1039
|
},
|
|
1040
1040
|
{
|
|
1041
|
-
name:
|
|
1042
|
-
type:
|
|
1043
|
-
components: [
|
|
1041
|
+
"name": "yieldConfig",
|
|
1042
|
+
"type": "tuple",
|
|
1043
|
+
"components": [
|
|
1044
1044
|
{
|
|
1045
|
-
name:
|
|
1046
|
-
type:
|
|
1045
|
+
"name": "maxYieldIncrease",
|
|
1046
|
+
"type": "uint256"
|
|
1047
1047
|
},
|
|
1048
1048
|
{
|
|
1049
|
-
name:
|
|
1050
|
-
type:
|
|
1049
|
+
"name": "performanceFee",
|
|
1050
|
+
"type": "uint256"
|
|
1051
1051
|
},
|
|
1052
1052
|
{
|
|
1053
|
-
name:
|
|
1054
|
-
type:
|
|
1053
|
+
"name": "ambassadorBonusRatio",
|
|
1054
|
+
"type": "uint256"
|
|
1055
1055
|
},
|
|
1056
1056
|
{
|
|
1057
|
-
name:
|
|
1058
|
-
type:
|
|
1057
|
+
"name": "bonusRatio",
|
|
1058
|
+
"type": "uint256"
|
|
1059
1059
|
},
|
|
1060
1060
|
{
|
|
1061
|
-
name:
|
|
1062
|
-
type:
|
|
1063
|
-
}
|
|
1064
|
-
]
|
|
1065
|
-
}
|
|
1066
|
-
]
|
|
1067
|
-
}
|
|
1068
|
-
]
|
|
1061
|
+
"name": "bonusAsset",
|
|
1062
|
+
"type": "address"
|
|
1063
|
+
}
|
|
1064
|
+
]
|
|
1065
|
+
}
|
|
1066
|
+
]
|
|
1067
|
+
}
|
|
1068
|
+
]
|
|
1069
1069
|
},
|
|
1070
1070
|
{
|
|
1071
|
-
stateMutability:
|
|
1072
|
-
type:
|
|
1073
|
-
name:
|
|
1074
|
-
inputs: [],
|
|
1075
|
-
outputs: [
|
|
1076
|
-
{
|
|
1077
|
-
name:
|
|
1078
|
-
type:
|
|
1079
|
-
components: [
|
|
1080
|
-
{
|
|
1081
|
-
name:
|
|
1082
|
-
type:
|
|
1083
|
-
},
|
|
1084
|
-
{
|
|
1085
|
-
name:
|
|
1086
|
-
type:
|
|
1087
|
-
}
|
|
1088
|
-
]
|
|
1089
|
-
}
|
|
1090
|
-
]
|
|
1071
|
+
"stateMutability": "view",
|
|
1072
|
+
"type": "function",
|
|
1073
|
+
"name": "agentConfig",
|
|
1074
|
+
"inputs": [],
|
|
1075
|
+
"outputs": [
|
|
1076
|
+
{
|
|
1077
|
+
"name": "",
|
|
1078
|
+
"type": "tuple",
|
|
1079
|
+
"components": [
|
|
1080
|
+
{
|
|
1081
|
+
"name": "startingAgent",
|
|
1082
|
+
"type": "address"
|
|
1083
|
+
},
|
|
1084
|
+
{
|
|
1085
|
+
"name": "startingAgentActivationLength",
|
|
1086
|
+
"type": "uint256"
|
|
1087
|
+
}
|
|
1088
|
+
]
|
|
1089
|
+
}
|
|
1090
|
+
]
|
|
1091
1091
|
},
|
|
1092
1092
|
{
|
|
1093
|
-
stateMutability:
|
|
1094
|
-
type:
|
|
1095
|
-
name:
|
|
1096
|
-
inputs: [],
|
|
1097
|
-
outputs: [
|
|
1093
|
+
"stateMutability": "view",
|
|
1094
|
+
"type": "function",
|
|
1095
|
+
"name": "managerConfig",
|
|
1096
|
+
"inputs": [],
|
|
1097
|
+
"outputs": [
|
|
1098
1098
|
{
|
|
1099
|
-
name:
|
|
1100
|
-
type:
|
|
1101
|
-
components: [
|
|
1099
|
+
"name": "",
|
|
1100
|
+
"type": "tuple",
|
|
1101
|
+
"components": [
|
|
1102
1102
|
{
|
|
1103
|
-
name:
|
|
1104
|
-
type:
|
|
1103
|
+
"name": "managerPeriod",
|
|
1104
|
+
"type": "uint256"
|
|
1105
1105
|
},
|
|
1106
1106
|
{
|
|
1107
|
-
name:
|
|
1108
|
-
type:
|
|
1107
|
+
"name": "managerActivationLength",
|
|
1108
|
+
"type": "uint256"
|
|
1109
1109
|
},
|
|
1110
1110
|
{
|
|
1111
|
-
name:
|
|
1112
|
-
type:
|
|
1111
|
+
"name": "mustHaveUsdValueOnSwaps",
|
|
1112
|
+
"type": "bool"
|
|
1113
1113
|
},
|
|
1114
1114
|
{
|
|
1115
|
-
name:
|
|
1116
|
-
type:
|
|
1115
|
+
"name": "maxNumSwapsPerPeriod",
|
|
1116
|
+
"type": "uint256"
|
|
1117
1117
|
},
|
|
1118
1118
|
{
|
|
1119
|
-
name:
|
|
1120
|
-
type:
|
|
1119
|
+
"name": "maxSlippageOnSwaps",
|
|
1120
|
+
"type": "uint256"
|
|
1121
1121
|
},
|
|
1122
1122
|
{
|
|
1123
|
-
name:
|
|
1124
|
-
type:
|
|
1125
|
-
}
|
|
1126
|
-
]
|
|
1127
|
-
}
|
|
1128
|
-
]
|
|
1123
|
+
"name": "onlyApprovedYieldOpps",
|
|
1124
|
+
"type": "bool"
|
|
1125
|
+
}
|
|
1126
|
+
]
|
|
1127
|
+
}
|
|
1128
|
+
]
|
|
1129
1129
|
},
|
|
1130
1130
|
{
|
|
1131
|
-
stateMutability:
|
|
1132
|
-
type:
|
|
1133
|
-
name:
|
|
1134
|
-
inputs: [],
|
|
1135
|
-
outputs: [
|
|
1136
|
-
{
|
|
1137
|
-
name:
|
|
1138
|
-
type:
|
|
1139
|
-
components: [
|
|
1140
|
-
{
|
|
1141
|
-
name:
|
|
1142
|
-
type:
|
|
1143
|
-
},
|
|
1144
|
-
{
|
|
1145
|
-
name:
|
|
1146
|
-
type:
|
|
1147
|
-
}
|
|
1148
|
-
]
|
|
1149
|
-
}
|
|
1150
|
-
]
|
|
1131
|
+
"stateMutability": "view",
|
|
1132
|
+
"type": "function",
|
|
1133
|
+
"name": "payeeConfig",
|
|
1134
|
+
"inputs": [],
|
|
1135
|
+
"outputs": [
|
|
1136
|
+
{
|
|
1137
|
+
"name": "",
|
|
1138
|
+
"type": "tuple",
|
|
1139
|
+
"components": [
|
|
1140
|
+
{
|
|
1141
|
+
"name": "payeePeriod",
|
|
1142
|
+
"type": "uint256"
|
|
1143
|
+
},
|
|
1144
|
+
{
|
|
1145
|
+
"name": "payeeActivationLength",
|
|
1146
|
+
"type": "uint256"
|
|
1147
|
+
}
|
|
1148
|
+
]
|
|
1149
|
+
}
|
|
1150
|
+
]
|
|
1151
1151
|
},
|
|
1152
1152
|
{
|
|
1153
|
-
stateMutability:
|
|
1154
|
-
type:
|
|
1155
|
-
name:
|
|
1156
|
-
inputs: [],
|
|
1157
|
-
outputs: [
|
|
1153
|
+
"stateMutability": "view",
|
|
1154
|
+
"type": "function",
|
|
1155
|
+
"name": "chequeConfig",
|
|
1156
|
+
"inputs": [],
|
|
1157
|
+
"outputs": [
|
|
1158
1158
|
{
|
|
1159
|
-
name:
|
|
1160
|
-
type:
|
|
1161
|
-
components: [
|
|
1159
|
+
"name": "",
|
|
1160
|
+
"type": "tuple",
|
|
1161
|
+
"components": [
|
|
1162
1162
|
{
|
|
1163
|
-
name:
|
|
1164
|
-
type:
|
|
1163
|
+
"name": "maxNumActiveCheques",
|
|
1164
|
+
"type": "uint256"
|
|
1165
1165
|
},
|
|
1166
1166
|
{
|
|
1167
|
-
name:
|
|
1168
|
-
type:
|
|
1167
|
+
"name": "instantUsdThreshold",
|
|
1168
|
+
"type": "uint256"
|
|
1169
1169
|
},
|
|
1170
1170
|
{
|
|
1171
|
-
name:
|
|
1172
|
-
type:
|
|
1171
|
+
"name": "periodLength",
|
|
1172
|
+
"type": "uint256"
|
|
1173
1173
|
},
|
|
1174
1174
|
{
|
|
1175
|
-
name:
|
|
1176
|
-
type:
|
|
1175
|
+
"name": "expensiveDelayBlocks",
|
|
1176
|
+
"type": "uint256"
|
|
1177
1177
|
},
|
|
1178
1178
|
{
|
|
1179
|
-
name:
|
|
1180
|
-
type:
|
|
1181
|
-
}
|
|
1182
|
-
]
|
|
1183
|
-
}
|
|
1184
|
-
]
|
|
1179
|
+
"name": "defaultExpiryBlocks",
|
|
1180
|
+
"type": "uint256"
|
|
1181
|
+
}
|
|
1182
|
+
]
|
|
1183
|
+
}
|
|
1184
|
+
]
|
|
1185
1185
|
},
|
|
1186
1186
|
{
|
|
1187
|
-
stateMutability:
|
|
1188
|
-
type:
|
|
1189
|
-
name:
|
|
1190
|
-
inputs: [],
|
|
1191
|
-
outputs: [
|
|
1192
|
-
{
|
|
1193
|
-
name:
|
|
1194
|
-
type:
|
|
1195
|
-
components: [
|
|
1196
|
-
{
|
|
1197
|
-
name:
|
|
1198
|
-
type:
|
|
1199
|
-
},
|
|
1200
|
-
{
|
|
1201
|
-
name:
|
|
1202
|
-
type:
|
|
1203
|
-
}
|
|
1204
|
-
]
|
|
1205
|
-
}
|
|
1206
|
-
]
|
|
1187
|
+
"stateMutability": "view",
|
|
1188
|
+
"type": "function",
|
|
1189
|
+
"name": "ripeRewardsConfig",
|
|
1190
|
+
"inputs": [],
|
|
1191
|
+
"outputs": [
|
|
1192
|
+
{
|
|
1193
|
+
"name": "",
|
|
1194
|
+
"type": "tuple",
|
|
1195
|
+
"components": [
|
|
1196
|
+
{
|
|
1197
|
+
"name": "stakeRatio",
|
|
1198
|
+
"type": "uint256"
|
|
1199
|
+
},
|
|
1200
|
+
{
|
|
1201
|
+
"name": "lockDuration",
|
|
1202
|
+
"type": "uint256"
|
|
1203
|
+
}
|
|
1204
|
+
]
|
|
1205
|
+
}
|
|
1206
|
+
]
|
|
1207
1207
|
},
|
|
1208
1208
|
{
|
|
1209
|
-
stateMutability:
|
|
1210
|
-
type:
|
|
1211
|
-
name:
|
|
1212
|
-
inputs: [
|
|
1213
|
-
{
|
|
1214
|
-
name:
|
|
1215
|
-
type:
|
|
1216
|
-
}
|
|
1209
|
+
"stateMutability": "view",
|
|
1210
|
+
"type": "function",
|
|
1211
|
+
"name": "assetConfig",
|
|
1212
|
+
"inputs": [
|
|
1213
|
+
{
|
|
1214
|
+
"name": "arg0",
|
|
1215
|
+
"type": "address"
|
|
1216
|
+
}
|
|
1217
1217
|
],
|
|
1218
|
-
outputs: [
|
|
1218
|
+
"outputs": [
|
|
1219
1219
|
{
|
|
1220
|
-
name:
|
|
1221
|
-
type:
|
|
1222
|
-
components: [
|
|
1220
|
+
"name": "",
|
|
1221
|
+
"type": "tuple",
|
|
1222
|
+
"components": [
|
|
1223
1223
|
{
|
|
1224
|
-
name:
|
|
1225
|
-
type:
|
|
1224
|
+
"name": "hasConfig",
|
|
1225
|
+
"type": "bool"
|
|
1226
1226
|
},
|
|
1227
1227
|
{
|
|
1228
|
-
name:
|
|
1229
|
-
type:
|
|
1230
|
-
components: [
|
|
1228
|
+
"name": "txFees",
|
|
1229
|
+
"type": "tuple",
|
|
1230
|
+
"components": [
|
|
1231
1231
|
{
|
|
1232
|
-
name:
|
|
1233
|
-
type:
|
|
1232
|
+
"name": "swapFee",
|
|
1233
|
+
"type": "uint256"
|
|
1234
1234
|
},
|
|
1235
1235
|
{
|
|
1236
|
-
name:
|
|
1237
|
-
type:
|
|
1236
|
+
"name": "stableSwapFee",
|
|
1237
|
+
"type": "uint256"
|
|
1238
1238
|
},
|
|
1239
1239
|
{
|
|
1240
|
-
name:
|
|
1241
|
-
type:
|
|
1242
|
-
}
|
|
1243
|
-
]
|
|
1240
|
+
"name": "rewardsFee",
|
|
1241
|
+
"type": "uint256"
|
|
1242
|
+
}
|
|
1243
|
+
]
|
|
1244
1244
|
},
|
|
1245
1245
|
{
|
|
1246
|
-
name:
|
|
1247
|
-
type:
|
|
1248
|
-
components: [
|
|
1246
|
+
"name": "ambassadorRevShare",
|
|
1247
|
+
"type": "tuple",
|
|
1248
|
+
"components": [
|
|
1249
1249
|
{
|
|
1250
|
-
name:
|
|
1251
|
-
type:
|
|
1250
|
+
"name": "swapRatio",
|
|
1251
|
+
"type": "uint256"
|
|
1252
1252
|
},
|
|
1253
1253
|
{
|
|
1254
|
-
name:
|
|
1255
|
-
type:
|
|
1254
|
+
"name": "rewardsRatio",
|
|
1255
|
+
"type": "uint256"
|
|
1256
1256
|
},
|
|
1257
1257
|
{
|
|
1258
|
-
name:
|
|
1259
|
-
type:
|
|
1260
|
-
}
|
|
1261
|
-
]
|
|
1258
|
+
"name": "yieldRatio",
|
|
1259
|
+
"type": "uint256"
|
|
1260
|
+
}
|
|
1261
|
+
]
|
|
1262
1262
|
},
|
|
1263
1263
|
{
|
|
1264
|
-
name:
|
|
1265
|
-
type:
|
|
1266
|
-
components: [
|
|
1264
|
+
"name": "yieldConfig",
|
|
1265
|
+
"type": "tuple",
|
|
1266
|
+
"components": [
|
|
1267
1267
|
{
|
|
1268
|
-
name:
|
|
1269
|
-
type:
|
|
1268
|
+
"name": "maxYieldIncrease",
|
|
1269
|
+
"type": "uint256"
|
|
1270
1270
|
},
|
|
1271
1271
|
{
|
|
1272
|
-
name:
|
|
1273
|
-
type:
|
|
1272
|
+
"name": "performanceFee",
|
|
1273
|
+
"type": "uint256"
|
|
1274
1274
|
},
|
|
1275
1275
|
{
|
|
1276
|
-
name:
|
|
1277
|
-
type:
|
|
1276
|
+
"name": "ambassadorBonusRatio",
|
|
1277
|
+
"type": "uint256"
|
|
1278
1278
|
},
|
|
1279
1279
|
{
|
|
1280
|
-
name:
|
|
1281
|
-
type:
|
|
1280
|
+
"name": "bonusRatio",
|
|
1281
|
+
"type": "uint256"
|
|
1282
1282
|
},
|
|
1283
1283
|
{
|
|
1284
|
-
name:
|
|
1285
|
-
type:
|
|
1286
|
-
}
|
|
1287
|
-
]
|
|
1288
|
-
}
|
|
1289
|
-
]
|
|
1290
|
-
}
|
|
1291
|
-
]
|
|
1284
|
+
"name": "bonusAsset",
|
|
1285
|
+
"type": "address"
|
|
1286
|
+
}
|
|
1287
|
+
]
|
|
1288
|
+
}
|
|
1289
|
+
]
|
|
1290
|
+
}
|
|
1291
|
+
]
|
|
1292
1292
|
},
|
|
1293
1293
|
{
|
|
1294
|
-
stateMutability:
|
|
1295
|
-
type:
|
|
1296
|
-
name:
|
|
1297
|
-
inputs: [
|
|
1298
|
-
{
|
|
1299
|
-
name:
|
|
1300
|
-
type:
|
|
1301
|
-
}
|
|
1294
|
+
"stateMutability": "view",
|
|
1295
|
+
"type": "function",
|
|
1296
|
+
"name": "isStablecoin",
|
|
1297
|
+
"inputs": [
|
|
1298
|
+
{
|
|
1299
|
+
"name": "arg0",
|
|
1300
|
+
"type": "address"
|
|
1301
|
+
}
|
|
1302
1302
|
],
|
|
1303
|
-
outputs: [
|
|
1303
|
+
"outputs": [
|
|
1304
1304
|
{
|
|
1305
|
-
name:
|
|
1306
|
-
type:
|
|
1307
|
-
}
|
|
1308
|
-
]
|
|
1305
|
+
"name": "",
|
|
1306
|
+
"type": "bool"
|
|
1307
|
+
}
|
|
1308
|
+
]
|
|
1309
1309
|
},
|
|
1310
1310
|
{
|
|
1311
|
-
stateMutability:
|
|
1312
|
-
type:
|
|
1313
|
-
name:
|
|
1314
|
-
inputs: [
|
|
1315
|
-
{
|
|
1316
|
-
name:
|
|
1317
|
-
type:
|
|
1318
|
-
}
|
|
1311
|
+
"stateMutability": "view",
|
|
1312
|
+
"type": "function",
|
|
1313
|
+
"name": "isLockedSigner",
|
|
1314
|
+
"inputs": [
|
|
1315
|
+
{
|
|
1316
|
+
"name": "arg0",
|
|
1317
|
+
"type": "address"
|
|
1318
|
+
}
|
|
1319
1319
|
],
|
|
1320
|
-
outputs: [
|
|
1320
|
+
"outputs": [
|
|
1321
1321
|
{
|
|
1322
|
-
name:
|
|
1323
|
-
type:
|
|
1324
|
-
}
|
|
1325
|
-
]
|
|
1322
|
+
"name": "",
|
|
1323
|
+
"type": "bool"
|
|
1324
|
+
}
|
|
1325
|
+
]
|
|
1326
1326
|
},
|
|
1327
1327
|
{
|
|
1328
|
-
stateMutability:
|
|
1329
|
-
type:
|
|
1330
|
-
name:
|
|
1331
|
-
inputs: [
|
|
1332
|
-
{
|
|
1333
|
-
name:
|
|
1334
|
-
type:
|
|
1335
|
-
}
|
|
1328
|
+
"stateMutability": "view",
|
|
1329
|
+
"type": "function",
|
|
1330
|
+
"name": "securitySigners",
|
|
1331
|
+
"inputs": [
|
|
1332
|
+
{
|
|
1333
|
+
"name": "arg0",
|
|
1334
|
+
"type": "uint256"
|
|
1335
|
+
}
|
|
1336
1336
|
],
|
|
1337
|
-
outputs: [
|
|
1337
|
+
"outputs": [
|
|
1338
1338
|
{
|
|
1339
|
-
name:
|
|
1340
|
-
type:
|
|
1341
|
-
}
|
|
1342
|
-
]
|
|
1339
|
+
"name": "",
|
|
1340
|
+
"type": "address"
|
|
1341
|
+
}
|
|
1342
|
+
]
|
|
1343
1343
|
},
|
|
1344
1344
|
{
|
|
1345
|
-
stateMutability:
|
|
1346
|
-
type:
|
|
1347
|
-
name:
|
|
1348
|
-
inputs: [
|
|
1349
|
-
{
|
|
1350
|
-
name:
|
|
1351
|
-
type:
|
|
1352
|
-
}
|
|
1345
|
+
"stateMutability": "view",
|
|
1346
|
+
"type": "function",
|
|
1347
|
+
"name": "indexOfSecuritySigner",
|
|
1348
|
+
"inputs": [
|
|
1349
|
+
{
|
|
1350
|
+
"name": "arg0",
|
|
1351
|
+
"type": "address"
|
|
1352
|
+
}
|
|
1353
1353
|
],
|
|
1354
|
-
outputs: [
|
|
1354
|
+
"outputs": [
|
|
1355
1355
|
{
|
|
1356
|
-
name:
|
|
1357
|
-
type:
|
|
1358
|
-
}
|
|
1359
|
-
]
|
|
1356
|
+
"name": "",
|
|
1357
|
+
"type": "uint256"
|
|
1358
|
+
}
|
|
1359
|
+
]
|
|
1360
1360
|
},
|
|
1361
1361
|
{
|
|
1362
|
-
stateMutability:
|
|
1363
|
-
type:
|
|
1364
|
-
name:
|
|
1365
|
-
inputs: [],
|
|
1366
|
-
outputs: [
|
|
1367
|
-
{
|
|
1368
|
-
name:
|
|
1369
|
-
type:
|
|
1370
|
-
}
|
|
1371
|
-
]
|
|
1362
|
+
"stateMutability": "view",
|
|
1363
|
+
"type": "function",
|
|
1364
|
+
"name": "numSecuritySigners",
|
|
1365
|
+
"inputs": [],
|
|
1366
|
+
"outputs": [
|
|
1367
|
+
{
|
|
1368
|
+
"name": "",
|
|
1369
|
+
"type": "uint256"
|
|
1370
|
+
}
|
|
1371
|
+
]
|
|
1372
1372
|
},
|
|
1373
1373
|
{
|
|
1374
|
-
stateMutability:
|
|
1375
|
-
type:
|
|
1376
|
-
name:
|
|
1377
|
-
inputs: [
|
|
1378
|
-
{
|
|
1379
|
-
name:
|
|
1380
|
-
type:
|
|
1381
|
-
}
|
|
1374
|
+
"stateMutability": "view",
|
|
1375
|
+
"type": "function",
|
|
1376
|
+
"name": "whitelistedCreators",
|
|
1377
|
+
"inputs": [
|
|
1378
|
+
{
|
|
1379
|
+
"name": "arg0",
|
|
1380
|
+
"type": "uint256"
|
|
1381
|
+
}
|
|
1382
1382
|
],
|
|
1383
|
-
outputs: [
|
|
1383
|
+
"outputs": [
|
|
1384
1384
|
{
|
|
1385
|
-
name:
|
|
1386
|
-
type:
|
|
1387
|
-
}
|
|
1388
|
-
]
|
|
1385
|
+
"name": "",
|
|
1386
|
+
"type": "address"
|
|
1387
|
+
}
|
|
1388
|
+
]
|
|
1389
1389
|
},
|
|
1390
1390
|
{
|
|
1391
|
-
stateMutability:
|
|
1392
|
-
type:
|
|
1393
|
-
name:
|
|
1394
|
-
inputs: [
|
|
1395
|
-
{
|
|
1396
|
-
name:
|
|
1397
|
-
type:
|
|
1398
|
-
}
|
|
1391
|
+
"stateMutability": "view",
|
|
1392
|
+
"type": "function",
|
|
1393
|
+
"name": "indexOfWhitelistedCreator",
|
|
1394
|
+
"inputs": [
|
|
1395
|
+
{
|
|
1396
|
+
"name": "arg0",
|
|
1397
|
+
"type": "address"
|
|
1398
|
+
}
|
|
1399
1399
|
],
|
|
1400
|
-
outputs: [
|
|
1400
|
+
"outputs": [
|
|
1401
1401
|
{
|
|
1402
|
-
name:
|
|
1403
|
-
type:
|
|
1404
|
-
}
|
|
1405
|
-
]
|
|
1402
|
+
"name": "",
|
|
1403
|
+
"type": "uint256"
|
|
1404
|
+
}
|
|
1405
|
+
]
|
|
1406
1406
|
},
|
|
1407
1407
|
{
|
|
1408
|
-
stateMutability:
|
|
1409
|
-
type:
|
|
1410
|
-
name:
|
|
1411
|
-
inputs: [],
|
|
1412
|
-
outputs: [
|
|
1413
|
-
{
|
|
1414
|
-
name:
|
|
1415
|
-
type:
|
|
1416
|
-
}
|
|
1417
|
-
]
|
|
1408
|
+
"stateMutability": "view",
|
|
1409
|
+
"type": "function",
|
|
1410
|
+
"name": "numWhitelistedCreators",
|
|
1411
|
+
"inputs": [],
|
|
1412
|
+
"outputs": [
|
|
1413
|
+
{
|
|
1414
|
+
"name": "",
|
|
1415
|
+
"type": "uint256"
|
|
1416
|
+
}
|
|
1417
|
+
]
|
|
1418
1418
|
},
|
|
1419
1419
|
{
|
|
1420
|
-
stateMutability:
|
|
1421
|
-
type:
|
|
1422
|
-
inputs: [
|
|
1420
|
+
"stateMutability": "nonpayable",
|
|
1421
|
+
"type": "constructor",
|
|
1422
|
+
"inputs": [
|
|
1423
1423
|
{
|
|
1424
|
-
name:
|
|
1425
|
-
type:
|
|
1424
|
+
"name": "_undyHq",
|
|
1425
|
+
"type": "address"
|
|
1426
1426
|
},
|
|
1427
1427
|
{
|
|
1428
|
-
name:
|
|
1429
|
-
type:
|
|
1430
|
-
}
|
|
1428
|
+
"name": "_defaults",
|
|
1429
|
+
"type": "address"
|
|
1430
|
+
}
|
|
1431
1431
|
],
|
|
1432
|
-
outputs: []
|
|
1433
|
-
}
|
|
1432
|
+
"outputs": []
|
|
1433
|
+
}
|
|
1434
1434
|
];
|
|
1435
1435
|
export const deployAddress = '0x489205626b29e2Aa8e0d6f52C01C7786513CddB6';
|
|
1436
1436
|
function getRequest(method, args, contractAddressOrOptions) {
|
|
@@ -1538,14 +1538,8 @@ export function toSdk(publicClient, walletClient, addressResolver) {
|
|
|
1538
1538
|
deployAddress,
|
|
1539
1539
|
abi,
|
|
1540
1540
|
events: {
|
|
1541
|
-
DepartmentPauseModified: {
|
|
1542
|
-
|
|
1543
|
-
parse: (events) => parseEvents('DepartmentPauseModified', events),
|
|
1544
|
-
},
|
|
1545
|
-
DepartmentFundsRecovered: {
|
|
1546
|
-
topic: getEventTopic('DepartmentFundsRecovered'),
|
|
1547
|
-
parse: (events) => parseEvents('DepartmentFundsRecovered', events),
|
|
1548
|
-
},
|
|
1541
|
+
DepartmentPauseModified: { topic: getEventTopic('DepartmentPauseModified'), parse: (events) => parseEvents('DepartmentPauseModified', events) },
|
|
1542
|
+
DepartmentFundsRecovered: { topic: getEventTopic('DepartmentFundsRecovered'), parse: (events) => parseEvents('DepartmentFundsRecovered', events) },
|
|
1549
1543
|
},
|
|
1550
1544
|
// Queries
|
|
1551
1545
|
getAddys: (...args) => singleQuery(publicClient, call.getAddys(...args), {}, addressResolver),
|