We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa85f6b commit 1618c92Copy full SHA for 1618c92
internal/common/utils.go
@@ -143,21 +143,10 @@ func cleanType(param string) string {
143
144
// isType checks if a word is a Solidity type
145
func isType(word string) bool {
146
+ if strings.HasPrefix(word, "uint") || strings.HasPrefix(word, "int") {
147
+ return true
148
+ }
149
types := map[string]bool{
- "uint": true,
- "int": true,
- "uint8": true,
150
- "int8": true,
151
- "uint16": true,
152
- "int16": true,
153
- "uint32": true,
154
- "int32": true,
155
- "uint64": true,
156
- "int64": true,
157
- "uint128": true,
158
- "int128": true,
159
- "uint256": true,
160
- "int256": true,
161
"address": true,
162
"bool": true,
163
"string": true,
0 commit comments