Documentation
¶
Index ¶
- Constants
- type HexStr
- type HexUint64
- func (hexNumber HexUint64) BigEndianBytes(paddingBytes int) []byte
- func (hexNumber HexUint64) Hex() string
- func (hexNumber HexUint64) LittleEndianBytes(paddingBytes int) []byte
- func (hexNumber HexUint64) LittleEndianString(paddingBytes int) string
- func (hexNumber HexUint64) Uint64() uint64
- func (hexNumber *HexUint64) UnmarshalJSON(data []byte) error
- type Mode
Constants ¶
View Source
const ( ModeTestNet = "testnet" ModeMainNet = "mainnet" ModeCustom = "custom" )
View Source
const BlockAssemblerCodeHash = "0x9bd7e06f3ecf4be0f2fcd2188b23f1b9fcc88e5d4b65a8637b17723bbda3cce8"
View Source
const HexStrPrefix = "0x"
View Source
const OneCKBShannon = 100000000 // 10^8
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HexStr ¶
type HexStr struct {
// contains filtered or unexported fields
}
func ParseHexStr ¶
func (*HexStr) AppendBytes ¶
func (HexStr) ToHexUint64 ¶
type HexUint64 ¶
type HexUint64 uint64
func ParseHexUint64 ¶
func (HexUint64) BigEndianBytes ¶
func (HexUint64) LittleEndianBytes ¶
func (HexUint64) LittleEndianString ¶
func (*HexUint64) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.