Documentation
¶
Index ¶
- func HandlerDelegate(ctx *context.Context) http.HandlerFunc
- func HandlerGetDelegations(ctx *context.Context) http.HandlerFunc
- func HandlerGetValidator(ctx *context.Context) http.HandlerFunc
- func HandlerGetValidators(ctx *context.Context) http.HandlerFunc
- func HandlerRedelegate(ctx *context.Context) http.HandlerFunc
- func HandlerUndelegate(ctx *context.Context) http.HandlerFunc
- func RegisterRoutes(r *mux.Router, ctx *context.Context)
- type RequestDelegate
- type RequestRedelegate
- type RequestUnbond
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandlerDelegate ¶
func HandlerDelegate(ctx *context.Context) http.HandlerFunc
func HandlerGetDelegations ¶
func HandlerGetDelegations(ctx *context.Context) http.HandlerFunc
func HandlerGetValidator ¶
func HandlerGetValidator(ctx *context.Context) http.HandlerFunc
func HandlerGetValidators ¶
func HandlerGetValidators(ctx *context.Context) http.HandlerFunc
func HandlerRedelegate ¶
func HandlerRedelegate(ctx *context.Context) http.HandlerFunc
func HandlerUndelegate ¶
func HandlerUndelegate(ctx *context.Context) http.HandlerFunc
Types ¶
type RequestDelegate ¶
type RequestDelegate struct { Memo string `json:"memo"` To string `json:"to"` Coin common.Coin `json:"coin"` }
func NewRequestDelegate ¶
func NewRequestDelegate(r *http.Request) (*RequestDelegate, error)
func (*RequestDelegate) Validate ¶
func (r *RequestDelegate) Validate() error
type RequestRedelegate ¶
type RequestRedelegate struct { Memo string `json:"memo"` From string `json:"from"` To string `json:"to"` Coin common.Coin `json:"coin"` }
func NewRequestRedelegate ¶
func NewRequestRedelegate(r *http.Request) (*RequestRedelegate, error)
func (*RequestRedelegate) Validate ¶
func (r *RequestRedelegate) Validate() error
type RequestUnbond ¶
type RequestUnbond struct { Memo string `json:"memo"` From string `json:"from"` Coin common.Coin `json:"coin"` }
func NewRequestUnbond ¶
func NewRequestUnbond(r *http.Request) (*RequestUnbond, error)
func (*RequestUnbond) Validate ¶
func (r *RequestUnbond) Validate() error
Click to show internal directories.
Click to hide internal directories.