Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Uint256 ¶
type Uint256 struct {
// contains filtered or unexported fields
}
Uint256 is a wrapper for big.Int that represents uint256.
func BigIntToUint256 ¶
BigIntToUint256 converts the given big.Int to Uint256.
func HexToUint256 ¶ added in v2.2.0
HexToUint256 converts the given hex string to Uint256.
func MustBigIntToUint256 ¶
MustBigIntToUint256 converts the given big.Int to Uint256. It panics for invalid input.
func MustHexToUint256 ¶ added in v2.2.0
MustHexToUint256 converts the given hex string to Uint256. It panics for invalid input.
func Uint64ToUint256 ¶ added in v2.3.0
Uint64ToUint256 converts the given uint64 to Uint256.
func (Uint256) MarshalText ¶ added in v2.4.0
MarshalText implements the encoding.TextMarshaler interface.
func (*Uint256) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface.
func (*Uint256) UnmarshalText ¶ added in v2.4.0
UnmarshalText implements the encoding.TextUnmarshaler interface.
Click to show internal directories.
Click to hide internal directories.