forked from zeriontech/defi-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
slither-output.txt
301 lines (252 loc) · 24.7 KB
/
slither-output.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
$ slither contracts/core/Core.sol
INFO:Detectors:
InteractiveAdapter.mul(uint256,uint256) (contracts/interactiveAdapters/InteractiveAdapter.sol#117-126) uses a dangerous strict equality:
- a == 0 (contracts/interactiveAdapters/InteractiveAdapter.sol#118)
InteractiveAdapter.mul(uint256,uint256) (contracts/interactiveAdapters/InteractiveAdapter.sol#117-126) uses a dangerous strict equality:
- require(bool,string)(c / a == b,IA: mul overflow) (contracts/interactiveAdapters/InteractiveAdapter.sol#123)
INFO:Detectors:
Contract locking ether found in :
Contract Core (contracts/core/Core.sol#32-190) has payable functions:
- Core.receive() (contracts/core/Core.sol#48)
- Core.executeActions(SlitherInternalTopLevelContract7.Action[],SlitherInternalTopLevelContract10.AbsoluteTokenAmount[],address) (contracts/core/Core.sol#57-71)
But does not have a function to withdraw the ether
Contract locking ether found in :
Contract InteractiveAdapter (contracts/interactiveAdapters/InteractiveAdapter.sol#31-127) has payable functions:
- InteractiveAdapter.deposit(SlitherInternalTopLevelContract8.TokenAmount[],bytes) (contracts/interactiveAdapters/InteractiveAdapter.sol#39-43)
- InteractiveAdapter.withdraw(SlitherInternalTopLevelContract8.TokenAmount[],bytes) (contracts/interactiveAdapters/InteractiveAdapter.sol#49-53)
But does not have a function to withdraw the ether
INFO:Detectors:
ProtocolAdapterRegistry.getAdapterBalance(bytes32,address[],address).amount (contracts/core/ProtocolAdapterRegistry.sol#169) is a local variable never initialized
INFO:Detectors:
ProtocolAdapterRegistry.getAdapterBalance(bytes32,address[],address) (contracts/core/ProtocolAdapterRegistry.sol#157-181) ignores return value by ProtocolAdapter(adapter).getBalance(tokens[i],account) (contracts/core/ProtocolAdapterRegistry.sol#169-173)
INFO:Detectors:
Core.constructor(address).protocolAdapterRegistry (contracts/core/Core.sol#41) shadows:
- Core.protocolAdapterRegistry() (contracts/core/Core.sol#87-89) (function)
Reference: https://github.com/crytic/slither/wiki/Detector-Documentation#local-variable-shadowing
INFO:Detectors:
ProtocolAdapterRegistry.getAdapterBalance(bytes32,address[],address) (contracts/core/ProtocolAdapterRegistry.sol#157-181) has external calls inside a loop: ProtocolAdapter(adapter).getBalance(tokens[i],account) (contracts/core/ProtocolAdapterRegistry.sol#169-173)
INFO:Detectors:
Pragma version0.7.3 (contracts/adapters/ProtocolAdapter.sol#18) necessitates a version too recent to be trusted. Consider deploying with 0.6.11
Pragma version0.7.3 (contracts/core/Core.sol#18) necessitates a version too recent to be trusted. Consider deploying with 0.6.11
Pragma version0.7.3 (contracts/core/Ownable.sol#18) necessitates a version too recent to be trusted. Consider deploying with 0.6.11
Pragma version0.7.3 (contracts/core/ProtocolAdapterManager.sol#18) necessitates a version too recent to be trusted. Consider deploying with 0.6.11
Pragma version0.7.3 (contracts/core/ProtocolAdapterRegistry.sol#18) necessitates a version too recent to be trusted. Consider deploying with 0.6.11
Pragma version0.7.3 (contracts/core/ReentrancyGuard.sol#18) necessitates a version too recent to be trusted. Consider deploying with 0.6.11
Pragma version0.7.3 (contracts/interactiveAdapters/InteractiveAdapter.sol#18) necessitates a version too recent to be trusted. Consider deploying with 0.6.11
Pragma version0.7.3 (contracts/shared/ERC20.sol#18) necessitates a version too recent to be trusted. Consider deploying with 0.6.11
Pragma version0.7.3 (contracts/shared/Helpers.sol#18) necessitates a version too recent to be trusted. Consider deploying with 0.6.11
Pragma version0.7.3 (contracts/shared/SafeERC20.sol#18) necessitates a version too recent to be trusted. Consider deploying with 0.6.11
Pragma version0.7.3 (contracts/shared/Structs.sol#18) necessitates a version too recent to be trusted. Consider deploying with 0.6.11
solc-0.7.3 is not recommended for deployment
INFO:Detectors:
Low level call in SafeERC20.callOptionalReturn(ERC20,bytes,string,string) (contracts/shared/SafeERC20.sol#86-115):
- (success,returndata) = address(token).call(data) (contracts/shared/SafeERC20.sol#100)
INFO:Detectors:
Core.ETH (contracts/core/Core.sol#37) is never used in Core (contracts/core/Core.sol#32-190)
$ slither contracts/core/Ownable.sol
INFO:Detectors:
Pragma version0.7.3 (contracts/core/Ownable.sol#18) necessitates a version too recent to be trusted. Consider deploying with 0.6.11
solc-0.7.3 is not recommended for deployment
$ slither contracts/core/ProtocolAdapterManager.sol
INFO:Detectors:
Pragma version0.7.3 (contracts/core/Ownable.sol#18) necessitates a version too recent to be trusted. Consider deploying with 0.6.11
Pragma version0.7.3 (contracts/core/ProtocolAdapterManager.sol#18) necessitates a version too recent to be trusted. Consider deploying with 0.6.11
solc-0.7.3 is not recommended for deployment
INFO:Detectors:
getProtocolAdapterNames() should be declared external:
- ProtocolAdapterManager.getProtocolAdapterNames() (contracts/core/ProtocolAdapterManager.sol#101-103)
getProtocolAdapterAddress(bytes32) should be declared external:
- ProtocolAdapterManager.getProtocolAdapterAddress(bytes32) (contracts/core/ProtocolAdapterManager.sol#109-111)
getSupportedTokens(bytes32) should be declared external:
- ProtocolAdapterManager.getSupportedTokens(bytes32) (contracts/core/ProtocolAdapterManager.sol#117-123)
$ slither contracts/core/ProtocolAdapterRegistry.sol
INFO:Detectors:
ProtocolAdapterRegistry.getAdapterBalance(bytes32,address[],address).amount (contracts/core/ProtocolAdapterRegistry.sol#169) is a local variable never initialized
INFO:Detectors:
ProtocolAdapterRegistry.getAdapterBalance(bytes32,address[],address) (contracts/core/ProtocolAdapterRegistry.sol#157-181) ignores return value by ProtocolAdapter(adapter).getBalance(tokens[i],account) (contracts/core/ProtocolAdapterRegistry.sol#169-173)
INFO:Detectors:
ProtocolAdapterRegistry.getAdapterBalance(bytes32,address[],address) (contracts/core/ProtocolAdapterRegistry.sol#157-181) has external calls inside a loop: ProtocolAdapter(adapter).getBalance(tokens[i],account) (contracts/core/ProtocolAdapterRegistry.sol#169-173)
INFO:Detectors:
Pragma version0.7.3 (contracts/adapters/ProtocolAdapter.sol#18) necessitates a version too recent to be trusted. Consider deploying with 0.6.11
Pragma version0.7.3 (contracts/core/Ownable.sol#18) necessitates a version too recent to be trusted. Consider deploying with 0.6.11
Pragma version0.7.3 (contracts/core/ProtocolAdapterManager.sol#18) necessitates a version too recent to be trusted. Consider deploying with 0.6.11
Pragma version0.7.3 (contracts/core/ProtocolAdapterRegistry.sol#18) necessitates a version too recent to be trusted. Consider deploying with 0.6.11
Pragma version0.7.3 (contracts/shared/ERC20.sol#18) necessitates a version too recent to be trusted. Consider deploying with 0.6.11
Pragma version0.7.3 (contracts/shared/Structs.sol#18) necessitates a version too recent to be trusted. Consider deploying with 0.6.11
solc-0.7.3 is not recommended for deployment
INFO:Detectors:
getBalance(address,address) should be declared external:
- ProtocolAdapter.getBalance(address,address) (contracts/adapters/ProtocolAdapter.sol#31)
$ slither contracts/core/ReentrancyGuard.sol
INFO:Detectors:
Pragma version0.7.3 (contracts/core/ReentrancyGuard.sol#18) necessitates a version too recent to be trusted. Consider deploying with 0.6.11
solc-0.7.3 is not recommended for deployment
$ slither contracts/core/Router.sol
ERROR:ContractSolcParsing:Missing function Variable not found: ExecutedAction(Action) (context <slither.solc_parsing.declarations.function.FunctionSolc object at 0x10ef49f70>)
INFO:Detectors:
Router.mul(uint256,uint256) (contracts/core/Router.sol#287-296) uses a dangerous strict equality:
- a == 0 (contracts/core/Router.sol#288)
Router.mul(uint256,uint256) (contracts/core/Router.sol#287-296) uses a dangerous strict equality:
- require(bool,string)(c / a == b,R: mul overflow) (contracts/core/Router.sol#293)
InteractiveAdapter.mul(uint256,uint256) (contracts/interactiveAdapters/InteractiveAdapter.sol#117-126) uses a dangerous strict equality:
- a == 0 (contracts/interactiveAdapters/InteractiveAdapter.sol#118)
InteractiveAdapter.mul(uint256,uint256) (contracts/interactiveAdapters/InteractiveAdapter.sol#117-126) uses a dangerous strict equality:
- require(bool,string)(c / a == b,IA: mul overflow) (contracts/interactiveAdapters/InteractiveAdapter.sol#123)
INFO:Detectors:
Contract locking ether found in :
Contract Core (contracts/core/Core.sol#32-190) has payable functions:
- Core.receive() (contracts/core/Core.sol#48)
- Core.executeActions(SlitherInternalTopLevelContract7.Action[],SlitherInternalTopLevelContract10.AbsoluteTokenAmount[],address) (contracts/core/Core.sol#57-71)
But does not have a function to withdraw the ether
Contract locking ether found in :
Contract InteractiveAdapter (contracts/interactiveAdapters/InteractiveAdapter.sol#31-127) has payable functions:
- InteractiveAdapter.deposit(SlitherInternalTopLevelContract8.TokenAmount[],bytes) (contracts/interactiveAdapters/InteractiveAdapter.sol#39-43)
- InteractiveAdapter.withdraw(SlitherInternalTopLevelContract8.TokenAmount[],bytes) (contracts/interactiveAdapters/InteractiveAdapter.sol#49-53)
But does not have a function to withdraw the ether
INFO:Detectors:
ProtocolAdapterRegistry.getAdapterBalance(bytes32,address[],address).amount (contracts/core/ProtocolAdapterRegistry.sol#169) is a local variable never initialized
Router.transferTokens(SlitherInternalTopLevelContract8.TokenAmount[],SlitherInternalTopLevelContract9.Fee,address).success_scope_0 (contracts/core/Router.sol#226) is a local variable never initialized
INFO:Detectors:
ProtocolAdapterRegistry.getAdapterBalance(bytes32,address[],address) (contracts/core/ProtocolAdapterRegistry.sol#157-181) ignores return value by ProtocolAdapter(adapter).getBalance(tokens[i],account) (contracts/core/ProtocolAdapterRegistry.sol#169-173)
INFO:Detectors:
Core.constructor(address).protocolAdapterRegistry (contracts/core/Core.sol#41) shadows:
- Core.protocolAdapterRegistry() (contracts/core/Core.sol#87-89) (function)
Router.constructor(address).core (contracts/core/Router.sol#49) shadows:
- Router.core() (contracts/core/Router.sol#68-70) (function)
SignatureVerifier.isHashUsed(bytes32,address).hash (contracts/core/SignatureVerifier.sol#102) shadows:
- SignatureVerifier.hash(SlitherInternalTopLevelContract6.TransactionData) (contracts/core/SignatureVerifier.sol#125-137) (function)
- SignatureVerifier.hash(SlitherInternalTopLevelContract7.Action[]) (contracts/core/SignatureVerifier.sol#139-159) (function)
- SignatureVerifier.hash(SlitherInternalTopLevelContract8.TokenAmount[]) (contracts/core/SignatureVerifier.sol#161-180) (function)
- SignatureVerifier.hash(SlitherInternalTopLevelContract9.Fee) (contracts/core/SignatureVerifier.sol#182-184) (function)
- SignatureVerifier.hash(SlitherInternalTopLevelContract10.AbsoluteTokenAmount[]) (contracts/core/SignatureVerifier.sol#186-208) (function)
SignatureVerifier.markHashUsed(bytes32,address).hash (contracts/core/SignatureVerifier.sol#119) shadows:
- SignatureVerifier.hash(SlitherInternalTopLevelContract6.TransactionData) (contracts/core/SignatureVerifier.sol#125-137) (function)
- SignatureVerifier.hash(SlitherInternalTopLevelContract7.Action[]) (contracts/core/SignatureVerifier.sol#139-159) (function)
- SignatureVerifier.hash(SlitherInternalTopLevelContract8.TokenAmount[]) (contracts/core/SignatureVerifier.sol#161-180) (function)
- SignatureVerifier.hash(SlitherInternalTopLevelContract9.Fee) (contracts/core/SignatureVerifier.sol#182-184) (function)
- SignatureVerifier.hash(SlitherInternalTopLevelContract10.AbsoluteTokenAmount[]) (contracts/core/SignatureVerifier.sol#186-208) (function)
INFO:Detectors:
ProtocolAdapterRegistry.getAdapterBalance(bytes32,address[],address) (contracts/core/ProtocolAdapterRegistry.sol#157-181) has external calls inside a loop: ProtocolAdapter(adapter).getBalance(tokens[i],account) (contracts/core/ProtocolAdapterRegistry.sol#169-173)
INFO:Detectors:
ECDSA.recover(bytes32,bytes) (contracts/shared/ECDSA.sol#28-70) uses assembly
- INLINE ASM (contracts/shared/ECDSA.sol#42-46)
INFO:Detectors:
Pragma version0.7.3 (contracts/adapters/ProtocolAdapter.sol#18) necessitates a version too recent to be trusted. Consider deploying with 0.6.11
Pragma version0.7.3 (contracts/core/Core.sol#18) necessitates a version too recent to be trusted. Consider deploying with 0.6.11
Pragma version0.7.3 (contracts/core/Ownable.sol#18) necessitates a version too recent to be trusted. Consider deploying with 0.6.11
Pragma version0.7.3 (contracts/core/ProtocolAdapterManager.sol#18) necessitates a version too recent to be trusted. Consider deploying with 0.6.11
Pragma version0.7.3 (contracts/core/ProtocolAdapterRegistry.sol#18) necessitates a version too recent to be trusted. Consider deploying with 0.6.11
Pragma version0.7.3 (contracts/core/ReentrancyGuard.sol#18) necessitates a version too recent to be trusted. Consider deploying with 0.6.11
Pragma version0.7.3 (contracts/core/Router.sol#18) necessitates a version too recent to be trusted. Consider deploying with 0.6.11
Pragma version0.7.3 (contracts/core/SignatureVerifier.sol#18) necessitates a version too recent to be trusted. Consider deploying with 0.6.11
Pragma version0.7.3 (contracts/interactiveAdapters/InteractiveAdapter.sol#18) necessitates a version too recent to be trusted. Consider deploying with 0.6.11
Pragma version0.7.3 (contracts/shared/ECDSA.sol#5) necessitates a version too recent to be trusted. Consider deploying with 0.6.11
Pragma version0.7.3 (contracts/shared/ERC20.sol#18) necessitates a version too recent to be trusted. Consider deploying with 0.6.11
Pragma version0.7.3 (contracts/shared/Helpers.sol#18) necessitates a version too recent to be trusted. Consider deploying with 0.6.11
Pragma version0.7.3 (contracts/shared/SafeERC20.sol#18) necessitates a version too recent to be trusted. Consider deploying with 0.6.11
Pragma version0.7.3 (contracts/shared/Structs.sol#18) necessitates a version too recent to be trusted. Consider deploying with 0.6.11
solc-0.7.3 is not recommended for deployment
INFO:Detectors:
Low level call in Router.returnLostTokens(address,address) (contracts/core/Router.sol#55-63):
- (success) = beneficiary.call{value: address(this).balance}(new bytes(0)) (contracts/core/Router.sol#58)
Low level call in Router.transferTokens(SlitherInternalTopLevelContract8.TokenAmount[],SlitherInternalTopLevelContract9.Fee,address) (contracts/core/Router.sol#187-229):
- (success) = fee.beneficiary.call{value: feeAmount}(new bytes(0)) (contracts/core/Router.sol#221)
- (success) = core_.call{value: msg.value - feeAmount}(new bytes(0)) (contracts/core/Router.sol#226)
Low level call in SafeERC20.callOptionalReturn(ERC20,bytes,string,string) (contracts/shared/SafeERC20.sol#86-115):
- (success,returndata) = address(token).call(data) (contracts/shared/SafeERC20.sol#100)
INFO:Detectors:
Router.slitherConstructorConstantVariables() (contracts/core/Router.sol#39-297) uses literals with too many digits:
- CHI = 0x0000000000004946c0e9F43F4Dee607b0eF1fA1c (contracts/core/Router.sol#44)
INFO:Detectors:
Core.ETH (contracts/core/Core.sol#37) is never used in Core (contracts/core/Core.sol#32-190)
INFO:Detectors:
execute(SlitherInternalTopLevelContract6.TransactionData,bytes) should be declared external:
- Router.execute(SlitherInternalTopLevelContract6.TransactionData,bytes) (contracts/core/Router.sol#83-94)
execute(SlitherInternalTopLevelContract7.Action[],SlitherInternalTopLevelContract8.TokenAmount[],SlitherInternalTopLevelContract9.Fee,SlitherInternalTopLevelContract10.AbsoluteTokenAmount[]) should be declared external:
- Router.execute(SlitherInternalTopLevelContract7.Action[],SlitherInternalTopLevelContract8.TokenAmount[],SlitherInternalTopLevelContract9.Fee,SlitherInternalTopLevelContract10.AbsoluteTokenAmount[]) (contracts/core/Router.sol#104-111)
executeWithCHI(SlitherInternalTopLevelContract6.TransactionData,bytes) should be declared external:
- Router.executeWithCHI(SlitherInternalTopLevelContract6.TransactionData,bytes) (contracts/core/Router.sol#125-136)
executeWithCHI(SlitherInternalTopLevelContract7.Action[],SlitherInternalTopLevelContract8.TokenAmount[],SlitherInternalTopLevelContract9.Fee,SlitherInternalTopLevelContract10.AbsoluteTokenAmount[]) should be declared external:
- Router.executeWithCHI(SlitherInternalTopLevelContract7.Action[],SlitherInternalTopLevelContract8.TokenAmount[],SlitherInternalTopLevelContract9.Fee,SlitherInternalTopLevelContract10.AbsoluteTokenAmount[]) (contracts/core/Router.sol#147-154)
isHashUsed(bytes32,address) should be declared external:
- SignatureVerifier.isHashUsed(bytes32,address) (contracts/core/SignatureVerifier.sol#102-104)
$ slither contracts/core/SignatureVerifier.sol
INFO:Detectors:
SignatureVerifier.isHashUsed(bytes32,address).hash (contracts/core/SignatureVerifier.sol#102) shadows:
- SignatureVerifier.hash(SlitherInternalTopLevelContract6.TransactionData) (contracts/core/SignatureVerifier.sol#125-137) (function)
- SignatureVerifier.hash(SlitherInternalTopLevelContract7.Action[]) (contracts/core/SignatureVerifier.sol#139-159) (function)
- SignatureVerifier.hash(SlitherInternalTopLevelContract8.TokenAmount[]) (contracts/core/SignatureVerifier.sol#161-180) (function)
- SignatureVerifier.hash(SlitherInternalTopLevelContract9.Fee) (contracts/core/SignatureVerifier.sol#182-184) (function)
- SignatureVerifier.hash(SlitherInternalTopLevelContract10.AbsoluteTokenAmount[]) (contracts/core/SignatureVerifier.sol#186-208) (function)
SignatureVerifier.markHashUsed(bytes32,address).hash (contracts/core/SignatureVerifier.sol#119) shadows:
- SignatureVerifier.hash(SlitherInternalTopLevelContract6.TransactionData) (contracts/core/SignatureVerifier.sol#125-137) (function)
- SignatureVerifier.hash(SlitherInternalTopLevelContract7.Action[]) (contracts/core/SignatureVerifier.sol#139-159) (function)
- SignatureVerifier.hash(SlitherInternalTopLevelContract8.TokenAmount[]) (contracts/core/SignatureVerifier.sol#161-180) (function)
- SignatureVerifier.hash(SlitherInternalTopLevelContract9.Fee) (contracts/core/SignatureVerifier.sol#182-184) (function)
- SignatureVerifier.hash(SlitherInternalTopLevelContract10.AbsoluteTokenAmount[]) (contracts/core/SignatureVerifier.sol#186-208) (function)
INFO:Detectors:
ECDSA.recover(bytes32,bytes) (contracts/shared/ECDSA.sol#28-70) uses assembly
- INLINE ASM (contracts/shared/ECDSA.sol#42-46)
INFO:Detectors:
Pragma version0.7.3 (contracts/core/SignatureVerifier.sol#18) necessitates a version too recent to be trusted. Consider deploying with 0.6.11
Pragma version0.7.3 (contracts/shared/ECDSA.sol#5) necessitates a version too recent to be trusted. Consider deploying with 0.6.11
Pragma version0.7.3 (contracts/shared/Structs.sol#18) necessitates a version too recent to be trusted. Consider deploying with 0.6.11
solc-0.7.3 is not recommended for deployment
INFO:Detectors:
isHashUsed(bytes32,address) should be declared external:
- SignatureVerifier.isHashUsed(bytes32,address) (contracts/core/SignatureVerifier.sol#102-104)
getAccountFromSignature(bytes32,bytes) should be declared external:
- SignatureVerifier.getAccountFromSignature(bytes32,bytes) (contracts/core/SignatureVerifier.sol#106-112)
hashData(SlitherInternalTopLevelContract6.TransactionData) should be declared external:
- SignatureVerifier.hashData(SlitherInternalTopLevelContract6.TransactionData) (contracts/core/SignatureVerifier.sol#114-117)
$ slither contracts/core/TokenAdapterManager.sol
INFO:Detectors:
Pragma version0.7.3 (contracts/core/Ownable.sol#18) necessitates a version too recent to be trusted. Consider deploying with 0.6.11
Pragma version0.7.3 (contracts/core/TokenAdapterManager.sol#18) necessitates a version too recent to be trusted. Consider deploying with 0.6.11
solc-0.7.3 is not recommended for deployment
INFO:Detectors:
getTokenAdapterAddress(bytes32) should be declared external:
- TokenAdapterManager.getTokenAdapterAddress(bytes32) (contracts/core/TokenAdapterManager.sol#95-97)
$ slither contracts/core/TokenAdapterNamesManager.sol
INFO:Detectors:
TokenAdapterNamesManager.getTokenHash(address) (contracts/core/TokenAdapterNamesManager.sol#153-162) uses assembly
- INLINE ASM (contracts/core/TokenAdapterNamesManager.sol#157-159)
INFO:Detectors:
Pragma version0.7.3 (contracts/adapters/TokenAdapter.sol#18) necessitates a version too recent to be trusted. Consider deploying with 0.6.11
Pragma version0.7.3 (contracts/core/Ownable.sol#18) necessitates a version too recent to be trusted. Consider deploying with 0.6.11
Pragma version0.7.3 (contracts/core/TokenAdapterNamesManager.sol#18) necessitates a version too recent to be trusted. Consider deploying with 0.6.11
Pragma version0.7.3 (contracts/shared/ERC20.sol#18) necessitates a version too recent to be trusted. Consider deploying with 0.6.11
Pragma version0.7.3 (contracts/shared/Structs.sol#18) necessitates a version too recent to be trusted. Consider deploying with 0.6.11
solc-0.7.3 is not recommended for deployment
INFO:Detectors:
getMetadata(address) should be declared external:
- TokenAdapter.getMetadata(address) (contracts/adapters/TokenAdapter.sol#50-57)
getTokenAdapterName(address) should be declared external:
- TokenAdapterNamesManager.getTokenAdapterName(address) (contracts/core/TokenAdapterNamesManager.sol#143-151)
$ slither contracts/core/TokenAdapterRegistry.sol
INFO:Detectors:
TokenAdapterRegistry.getComponents(SlitherInternalTopLevelContract4.TokenBalance).result (contracts/core/TokenAdapterRegistry.sol#287) is a local variable never initialized
TokenAdapterRegistry.getTokenBalanceMeta(SlitherInternalTopLevelContract4.TokenBalance).result (contracts/core/TokenAdapterRegistry.sol#316) is a local variable never initialized
TokenAdapterRegistry.getTokenBalanceMeta(SlitherInternalTopLevelContract4.TokenBalance).erc20metadata (contracts/core/TokenAdapterRegistry.sol#310) is a local variable never initialized
TokenAdapterRegistry.getComponents(SlitherInternalTopLevelContract4.TokenBalance).components (contracts/core/TokenAdapterRegistry.sol#281) is a local variable never initialized
INFO:Detectors:
TokenAdapterRegistry.getComponents(SlitherInternalTopLevelContract4.TokenBalance) (contracts/core/TokenAdapterRegistry.sol#276-296) ignores return value by TokenAdapter(tokenAdapter).getComponents(tokenBalance.token) (contracts/core/TokenAdapterRegistry.sol#286-292)
TokenAdapterRegistry.getTokenBalanceMeta(SlitherInternalTopLevelContract4.TokenBalance) (contracts/core/TokenAdapterRegistry.sol#304-329) ignores return value by TokenAdapter(tokenAdapter).getMetadata(tokenBalance.token) (contracts/core/TokenAdapterRegistry.sol#315-325)
INFO:Detectors:
TokenAdapterRegistry.getFullTokenBalances(address[]) (contracts/core/TokenAdapterRegistry.sol#91-109) has external calls inside a loop: decimals = ERC20(tokens[i]).decimals() (contracts/core/TokenAdapterRegistry.sol#101)
TokenAdapterRegistry.getFinalFullTokenBalances(address[]) (contracts/core/TokenAdapterRegistry.sol#117-135) has external calls inside a loop: decimals = ERC20(tokens[i]).decimals() (contracts/core/TokenAdapterRegistry.sol#127)
INFO:Detectors:
TokenAdapterNamesManager.getTokenHash(address) (contracts/core/TokenAdapterNamesManager.sol#153-162) uses assembly
- INLINE ASM (contracts/core/TokenAdapterNamesManager.sol#157-159)
INFO:Detectors:
Pragma version0.7.3 (contracts/adapters/TokenAdapter.sol#18) necessitates a version too recent to be trusted. Consider deploying with 0.6.11
Pragma version0.7.3 (contracts/core/Ownable.sol#18) necessitates a version too recent to be trusted. Consider deploying with 0.6.11
Pragma version0.7.3 (contracts/core/TokenAdapterManager.sol#18) necessitates a version too recent to be trusted. Consider deploying with 0.6.11
Pragma version0.7.3 (contracts/core/TokenAdapterNamesManager.sol#18) necessitates a version too recent to be trusted. Consider deploying with 0.6.11
Pragma version0.7.3 (contracts/core/TokenAdapterRegistry.sol#18) necessitates a version too recent to be trusted. Consider deploying with 0.6.11
Pragma version0.7.3 (contracts/shared/ERC20.sol#18) necessitates a version too recent to be trusted. Consider deploying with 0.6.11
Pragma version0.7.3 (contracts/shared/Structs.sol#18) necessitates a version too recent to be trusted. Consider deploying with 0.6.11
solc-0.7.3 is not recommended for deployment
INFO:Detectors:
getMetadata(address) should be declared external:
- TokenAdapter.getMetadata(address) (contracts/adapters/TokenAdapter.sol#50-57)