MCPcopy Create free account
hub / github.com/d1ll0n/stack-packer / uintAllowed

Function uintAllowed

src/code-gen/fields.ts:110–116  ·  view source on GitHub ↗
(typeName: AbiType)

Source from the content-addressed store, hash-verified

108 `get${field.originalName.toPascalCase()}`;
109
110const uintAllowed = (typeName: AbiType) => {
111 return (
112 typeName.meta === 'enum' || (
113 typeName.meta === 'elementary' && typeName.type === 'uint'
114 )
115 )
116}
117
118const intAllowed = (typeName: AbiType) => (
119 typeName.meta === 'elementary' && typeName.type === 'int'

Callers 2

shouldCheckForOverflowFunction · 0.85
getParameterDefinitionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected