Documentation
¶
Index ¶
Constants ¶
View Source
const ( LockID = "lock-id" RestOwnerAddress = "owner" RestDenom = "denom" RestTimestamp = "timestamp" RestDuration = "duration" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LockTokensReq ¶
type LockTokensReq struct {
BaseReq rest.BaseReq `json:"base_req" yaml:"base_req"`
Owner sdk.AccAddress `json:"owner,omitempty" yaml:"owner"`
Duration string `json:"duration,omitempty" yaml:"duration"`
Coins sdk.Coins `json:"coins" yaml:"coins"`
}
LockTokensReq defines the properties of a MsgLockTokens request.
Click to show internal directories.
Click to hide internal directories.