Back to godoc.org

Package types

v0.3.6
Latest Go to latest
Published: Jun 11, 2020 | License: Apache-2.0 | Module: github.com/terra-project/core

Index

Package Files

Variables

var ModuleCdc *codec.Codec

ModuleCdc generic sealed codec to be used throughout module

func RegisterCodec

func RegisterCodec(cdc *codec.Codec)

RegisterCodec registers the account types and interface

type AccountKeeper

type AccountKeeper interface {
	IterateAccounts(ctx sdk.Context, process func(exported.Account) (stop bool))
	GetAccount(sdk.Context, sdk.AccAddress) exported.Account
	SetAccount(sdk.Context, exported.Account)
	NewAccount(sdk.Context, exported.Account) exported.Account
}

AccountKeeper defines the expected account keeper (noalias)

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier