Documentation ¶
Index ¶
- func ApproveInvariant(module string) qtypes.Invariant
- type Mapper
- func (mapper *Mapper) Copy() mapper.IMapper
- func (mapper *Mapper) DeleteApprove(from btypes.AccAddress, to btypes.AccAddress)
- func (mapper *Mapper) GetApprove(from btypes.AccAddress, to btypes.AccAddress) (types.Approve, bool)
- func (mapper *Mapper) GetApproves() []types.Approve
- func (mapper *Mapper) SaveApprove(approve types.Approve)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Mapper ¶
type Mapper struct {
*mapper.BaseMapper
}
预授权模块存储操作
func NewApproveMapper ¶
func NewApproveMapper() *Mapper
func (*Mapper) DeleteApprove ¶
func (mapper *Mapper) DeleteApprove(from btypes.AccAddress, to btypes.AccAddress)
删除授权
func (*Mapper) GetApprove ¶
func (mapper *Mapper) GetApprove(from btypes.AccAddress, to btypes.AccAddress) (types.Approve, bool)
获取授权
Click to show internal directories.
Click to hide internal directories.