cosmos-sdk/x/auth/types.go

16 lines
266 B
Go

package auth
import crypto "github.com/tendermint/go-crypto"
type Account interface {
Get(key interface{}) (value interface{})
Address() []byte
PubKey() crypto.PubKey
}
type AccountStore interface {
GetAccount(addr []byte) Account
SetAccount(acc Account)
}