HexOrDecimal256 marshals big.Int as hex or decimal.
| 54 | |
| 55 | // HexOrDecimal256 marshals big.Int as hex or decimal. |
| 56 | type HexOrDecimal256 big.Int |
| 57 | |
| 58 | // UnmarshalText implements encoding.TextUnmarshaler. |
| 59 | func (i *HexOrDecimal256) UnmarshalText(input []byte) error { |