(field: AbiStructField)
| 144 | } |
| 145 | |
| 146 | const getMaxUintForField = (field: AbiStructField) => { |
| 147 | const name = field.type.meta === 'elementary' && field.type.type === 'int' |
| 148 | ? `MaxInt${field.type.size}` |
| 149 | : `MaxUint${field.type.size}`; |
| 150 | const value = getMaxUint(field.type.size); |
| 151 | return { name, value } |
| 152 | } |
| 153 | |
| 154 | export function processFields( |
| 155 | struct: AbiStruct, |
no test coverage detected