lcd

package
v0.6.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 14, 2018 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterRoutes

func RegisterRoutes(cliCtx context.CLIContext, r *mux.Router, cdc *wire.Codec)

Types

type DelegationSummary

type DelegationSummary struct {
	Delegations          []stakeClient.DelegationOutput          `json:"delegations"`
	UnbondingDelegations []stakeClient.UnbondingDelegationOutput `json:"unbonding_delegations"`
	Redelegations        []stakeClient.RedelegationOutput        `json:"redelegations"`
}

aggregation of all delegations, unbondings and redelegations

type EditDelegationsBody

type EditDelegationsBody struct {
	BaseTx              context.BaseTx               `json:"base_tx"`
	Delegations         []msgDelegationsInput        `json:"delegations"`
	BeginUnbondings     []msgBeginUnbondingInput     `json:"begin_unbondings"`
	CompleteUnbondings  []msgCompleteUnbondingInput  `json:"complete_unbondings"`
	BeginRedelegates    []msgBeginRedelegateInput    `json:"begin_redelegates"`
	CompleteRedelegates []msgCompleteRedelegateInput `json:"complete_redelegates"`
}

the request body for edit delegations

type ExRateResponse

type ExRateResponse struct {
	ExRate float64 `json:"token_shares_rate"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL