Documentation ¶
Index ¶
- Constants
- type BondPayload
- func (p *BondPayload) Decode(r io.Reader) error
- func (p *BondPayload) Encode(w io.Writer) error
- func (p *BondPayload) Fingerprint() string
- func (p *BondPayload) SanityCheck() error
- func (p *BondPayload) SerializeSize() int
- func (p *BondPayload) Signer() crypto.Address
- func (p *BondPayload) Type() Type
- func (p *BondPayload) Value() int64
- type Payload
- type SendPayload
- func (p *SendPayload) Decode(r io.Reader) error
- func (p *SendPayload) Encode(w io.Writer) error
- func (p *SendPayload) Fingerprint() string
- func (p *SendPayload) SanityCheck() error
- func (p *SendPayload) SerializeSize() int
- func (p *SendPayload) Signer() crypto.Address
- func (p *SendPayload) Type() Type
- func (p *SendPayload) Value() int64
- type SortitionPayload
- func (p *SortitionPayload) Decode(r io.Reader) error
- func (p *SortitionPayload) Encode(w io.Writer) error
- func (p *SortitionPayload) Fingerprint() string
- func (p *SortitionPayload) SanityCheck() error
- func (p *SortitionPayload) SerializeSize() int
- func (p *SortitionPayload) Signer() crypto.Address
- func (p *SortitionPayload) Type() Type
- func (p *SortitionPayload) Value() int64
- type Type
- type UnbondPayload
- func (p *UnbondPayload) Decode(r io.Reader) error
- func (p *UnbondPayload) Encode(w io.Writer) error
- func (p *UnbondPayload) Fingerprint() string
- func (p *UnbondPayload) SanityCheck() error
- func (p *UnbondPayload) SerializeSize() int
- func (p *UnbondPayload) Signer() crypto.Address
- func (p *UnbondPayload) Type() Type
- func (p *UnbondPayload) Value() int64
- type WithdrawPayload
- func (p *WithdrawPayload) Decode(r io.Reader) error
- func (p *WithdrawPayload) Encode(w io.Writer) error
- func (p *WithdrawPayload) Fingerprint() string
- func (p *WithdrawPayload) SanityCheck() error
- func (p *WithdrawPayload) SerializeSize() int
- func (p *WithdrawPayload) Signer() crypto.Address
- func (p *WithdrawPayload) Type() Type
- func (p *WithdrawPayload) Value() int64
Constants ¶
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BondPayload ¶
type BondPayload struct { Sender crypto.Address Receiver crypto.Address PublicKey *bls.PublicKey Stake int64 }
func (*BondPayload) Fingerprint ¶
func (p *BondPayload) Fingerprint() string
func (*BondPayload) SanityCheck ¶
func (p *BondPayload) SanityCheck() error
func (*BondPayload) SerializeSize ¶
func (p *BondPayload) SerializeSize() int
func (*BondPayload) Signer ¶
func (p *BondPayload) Signer() crypto.Address
func (*BondPayload) Type ¶
func (p *BondPayload) Type() Type
func (*BondPayload) Value ¶
func (p *BondPayload) Value() int64
type SendPayload ¶
func (*SendPayload) Fingerprint ¶
func (p *SendPayload) Fingerprint() string
func (*SendPayload) SanityCheck ¶
func (p *SendPayload) SanityCheck() error
func (*SendPayload) SerializeSize ¶
func (p *SendPayload) SerializeSize() int
func (*SendPayload) Signer ¶
func (p *SendPayload) Signer() crypto.Address
func (*SendPayload) Type ¶
func (p *SendPayload) Type() Type
func (*SendPayload) Value ¶
func (p *SendPayload) Value() int64
type SortitionPayload ¶
func (*SortitionPayload) Fingerprint ¶
func (p *SortitionPayload) Fingerprint() string
func (*SortitionPayload) SanityCheck ¶
func (p *SortitionPayload) SanityCheck() error
func (*SortitionPayload) SerializeSize ¶
func (p *SortitionPayload) SerializeSize() int
func (*SortitionPayload) Signer ¶
func (p *SortitionPayload) Signer() crypto.Address
func (*SortitionPayload) Type ¶
func (p *SortitionPayload) Type() Type
func (*SortitionPayload) Value ¶
func (p *SortitionPayload) Value() int64
type UnbondPayload ¶
func (*UnbondPayload) Fingerprint ¶
func (p *UnbondPayload) Fingerprint() string
func (*UnbondPayload) SanityCheck ¶
func (p *UnbondPayload) SanityCheck() error
func (*UnbondPayload) SerializeSize ¶
func (p *UnbondPayload) SerializeSize() int
func (*UnbondPayload) Signer ¶
func (p *UnbondPayload) Signer() crypto.Address
func (*UnbondPayload) Type ¶
func (p *UnbondPayload) Type() Type
func (*UnbondPayload) Value ¶
func (p *UnbondPayload) Value() int64
type WithdrawPayload ¶
type WithdrawPayload struct { From crypto.Address // withdraw from validator address To crypto.Address // deposit to account address Amount int64 // amount to deposit }
func (*WithdrawPayload) Fingerprint ¶
func (p *WithdrawPayload) Fingerprint() string
func (*WithdrawPayload) SanityCheck ¶
func (p *WithdrawPayload) SanityCheck() error
func (*WithdrawPayload) SerializeSize ¶
func (p *WithdrawPayload) SerializeSize() int
func (*WithdrawPayload) Signer ¶
func (p *WithdrawPayload) Signer() crypto.Address
func (*WithdrawPayload) Type ¶
func (p *WithdrawPayload) Type() Type
func (*WithdrawPayload) Value ¶
func (p *WithdrawPayload) Value() int64
Click to show internal directories.
Click to hide internal directories.