Documentation ¶
Index ¶
- Variables
- func AccountInvariant(module string) qtypes.Invariant
- func BuildInvariantCheckKey(height uint64) []byte
- func ClearInvariantCheck(ctx context.Context)
- func DelLockInfo(ctx context.Context)
- func GetAccount(ctx context.Context, addr btypes.AccAddress) *qtypes.QOSAccount
- func GetAccounts(ctx context.Context) []*qtypes.QOSAccount
- func GetLockInfo(ctx context.Context) (info types.LockInfo, exists bool)
- func GetMapper(ctx context.Context) *account.AccountMapper
- func NeedInvariantCheck(ctx context.Context) bool
- func SetInvariantCheck(ctx context.Context)
- func SetLockInfo(ctx context.Context, info types.LockInfo)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( InvariantCheckKey = []byte("0x10") // 数据检查 LockInfoKey = []byte("0x11") // 锁定-释放信息 )
Functions ¶
func BuildInvariantCheckKey ¶
func GetAccount ¶
func GetAccount(ctx context.Context, addr btypes.AccAddress) *qtypes.QOSAccount
获取QOS账户信息
func GetLockInfo ¶ added in v0.0.8
获取锁定账户信息
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.