Documentation ¶
Index ¶
- func BoxOwnerCheck(cdc *codec.Codec, cliCtx context.CLIContext, sender auth.Account, id string) (types.Box, error)
- func GetBoxByID(cdc *codec.Codec, cliCtx context.CLIContext, id string) (types.Box, error)
- func GetBoxInfo(box types.BoxInfo) fmt.Stringer
- func GetBoxList(boxs types.BoxInfos, boxType string) fmt.Stringer
- func GetBoxParams(params config.Params, boxType string) fmt.Stringer
- func GetCliContext(cdc *codec.Codec) (authtxb.TxBuilder, context.CLIContext, auth.Account, error)
- func GetCoinDecimal(cdc *codec.Codec, cliCtx context.CLIContext, coin sdk.Coin) (uint, error)
- func GetInjectMsg(cdc *codec.Codec, cliCtx context.CLIContext, account auth.Account, id string, ...) (sdk.Msg, error)
- func GetInterestMsg(cdc *codec.Codec, cliCtx context.CLIContext, account auth.Account, id string, ...) (sdk.Msg, error)
- func GetWithdrawMsg(cdc *codec.Codec, cliCtx context.CLIContext, account auth.Account, id string) (sdk.Msg, error)
- func StructCopy(destPtr interface{}, srcPtr interface{})
- type DepositBoxParams
- type FutureBoxParams
- type LockBoxParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BoxOwnerCheck ¶ added in v0.6.0
func GetBoxByID ¶ added in v0.6.0
func GetBoxParams ¶ added in v0.6.0
func GetCliContext ¶
func GetCoinDecimal ¶
func GetInjectMsg ¶ added in v0.6.0
func GetInterestMsg ¶ added in v0.6.0
func GetWithdrawMsg ¶ added in v0.6.0
func StructCopy ¶
func StructCopy(destPtr interface{}, srcPtr interface{})
Types ¶
type DepositBoxParams ¶ added in v0.6.0
type FutureBoxParams ¶ added in v0.6.0
Click to show internal directories.
Click to hide internal directories.