Documentation ¶
Index ¶
Constants ¶
View Source
const ( LockID = "lock-id" RestOwnerAddress = "owner" RestDenom = "denom" RestTimestamp = "timestamp" RestDuration = "duration" )
REST Variable names nolint
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
type UnlockTokensByIDReq ¶
type UnlockTokensByIDReq struct { BaseReq rest.BaseReq `json:"base_req" yaml:"base_req"` Owner sdk.AccAddress `json:"owner,omitempty" yaml:"owner"` }
UnlockTokensByIDReq defines the properties of a MsgUnlockTokens request.
type UnlockTokensReq ¶
type UnlockTokensReq struct { BaseReq rest.BaseReq `json:"base_req" yaml:"base_req"` Owner sdk.AccAddress `json:"owner,omitempty" yaml:"owner"` }
UnlockTokensReq defines the properties of a MsgUnlockTokens request.
Click to show internal directories.
Click to hide internal directories.