Documentation
¶
Index ¶
- func AddressesToArrays(addresses []Address) [][25]byte
- func HashesToArrays(hashes []Hash) [][32]byte
- func MarshalAddress(address Address) graphql.Marshaler
- func MarshalBytes(bytes Bytes) graphql.Marshaler
- func MarshalDate(date Date) graphql.Marshaler
- func MarshalHash(hash Hash) graphql.Marshaler
- func MarshalUint8(ui Uint8) graphql.Marshaler
- type Address
- type Block
- type Bytes
- type Date
- type Follow
- type Hash
- type HashIndex
- type Like
- type Lock
- type Post
- type Profile
- type Room
- type RoomFollow
- type SetName
- type SetPic
- type SetProfile
- type SlpBaton
- type SlpGenesis
- type SlpOutput
- type Tx
- type TxBlock
- type TxInput
- type TxOutput
- type Uint32
- type Uint8
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddressesToArrays ¶
func HashesToArrays ¶
func MarshalAddress ¶
func MarshalBytes ¶
func MarshalDate ¶
func MarshalHash ¶
func MarshalUint8 ¶
Types ¶
type Date ¶
func UnmarshalDate ¶
type Profile ¶
type Profile struct {
Address Address `json:"address"`
Name *SetName `json:"name"`
Profile *SetProfile `json:"profile"`
Pic *SetPic `json:"pic"`
}
type Room ¶
type Room struct {
Name string `json:"name"`
Posts []*Post `json:"posts"`
Followers []*RoomFollow `json:"followers"`
}
type RoomFollow ¶
type SetProfile ¶
type SlpBaton ¶
type SlpBaton struct {
Hash Hash `json:"hash"`
Index uint32 `json:"index"`
TokenHash Hash `json:"token_hash"`
Genesis *SlpGenesis `json:"genesis"`
Output *TxOutput `json:"output"`
}
type SlpGenesis ¶
type SlpGenesis struct {
Hash Hash `json:"hash"`
TokenType Uint8 `json:"token_type"`
Decimals Uint8 `json:"decimals"`
BatonIndex uint32 `json:"baton_index"`
Ticker string `json:"ticker"`
Name string `json:"name"`
DocURL string `json:"doc_url"`
DocHash string `json:"doc_hash"`
Tx *Tx `json:"tx"`
Output *SlpOutput `json:"output"`
Baton *SlpBaton `json:"baton"`
}
Click to show internal directories.
Click to hide internal directories.