Versions in this module Expand all Collapse all v1 v1.0.0 Aug 7, 2020 Changes in this version + const ModuleName + var ErrIntOverflowTypes = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthTypes = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrUnexpectedEndOfGroupTypes = fmt.Errorf("proto: unexpected end of group") + var ModuleCdc = codec.NewHybridCodec(amino, types.NewInterfaceRegistry()) + var Role_name = map[int32]string + var Role_value = map[string]int32 + type AdminI interface + AddRoles func(address string, roles []Role, baseTx sdk.BaseTx) (sdk.ResultTx, sdk.Error) + BlockAccount func(address string, baseTx sdk.BaseTx) (sdk.ResultTx, sdk.Error) + QueryBlacklist func(page, limit int) ([]string, sdk.Error) + QueryRoles func(address string) ([]Role, sdk.Error) + RemoveRoles func(address string, roles []Role, baseTx sdk.BaseTx) (sdk.ResultTx, sdk.Error) + UnblockAccount func(address string, baseTx sdk.BaseTx) (sdk.ResultTx, sdk.Error) + func NewClient(bc sdk.BaseClient, cdc codec.Marshaler) AdminI + type MsgAddRoles struct + Address github_com_bianjieai_irita_sdk_go_types.AccAddress + Operator github_com_bianjieai_irita_sdk_go_types.AccAddress + Roles []Role + func (*MsgAddRoles) Descriptor() ([]byte, []int) + func (*MsgAddRoles) ProtoMessage() + func (m *MsgAddRoles) Marshal() (dAtA []byte, err error) + func (m *MsgAddRoles) MarshalTo(dAtA []byte) (int, error) + func (m *MsgAddRoles) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgAddRoles) Reset() + func (m *MsgAddRoles) Size() (n int) + func (m *MsgAddRoles) String() string + func (m *MsgAddRoles) Unmarshal(dAtA []byte) error + func (m *MsgAddRoles) XXX_DiscardUnknown() + func (m *MsgAddRoles) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgAddRoles) XXX_Merge(src proto.Message) + func (m *MsgAddRoles) XXX_Size() int + func (m *MsgAddRoles) XXX_Unmarshal(b []byte) error + func (m MsgAddRoles) GetSignBytes() []byte + func (m MsgAddRoles) GetSigners() []sdk.AccAddress + func (m MsgAddRoles) Route() string + func (m MsgAddRoles) Type() string + func (m MsgAddRoles) ValidateBasic() error + func (this *MsgAddRoles) Equal(that interface{}) bool + type MsgBlockAccount struct + Address github_com_bianjieai_irita_sdk_go_types.AccAddress + Operator github_com_bianjieai_irita_sdk_go_types.AccAddress + func (*MsgBlockAccount) Descriptor() ([]byte, []int) + func (*MsgBlockAccount) ProtoMessage() + func (m *MsgBlockAccount) Marshal() (dAtA []byte, err error) + func (m *MsgBlockAccount) MarshalTo(dAtA []byte) (int, error) + func (m *MsgBlockAccount) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgBlockAccount) Reset() + func (m *MsgBlockAccount) Size() (n int) + func (m *MsgBlockAccount) String() string + func (m *MsgBlockAccount) Unmarshal(dAtA []byte) error + func (m *MsgBlockAccount) XXX_DiscardUnknown() + func (m *MsgBlockAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgBlockAccount) XXX_Merge(src proto.Message) + func (m *MsgBlockAccount) XXX_Size() int + func (m *MsgBlockAccount) XXX_Unmarshal(b []byte) error + func (m MsgBlockAccount) GetSignBytes() []byte + func (m MsgBlockAccount) GetSigners() []sdk.AccAddress + func (m MsgBlockAccount) Route() string + func (m MsgBlockAccount) Type() string + func (m MsgBlockAccount) ValidateBasic() error + func (this *MsgBlockAccount) Equal(that interface{}) bool + type MsgRemoveRoles struct + Address github_com_bianjieai_irita_sdk_go_types.AccAddress + Operator github_com_bianjieai_irita_sdk_go_types.AccAddress + Roles []Role + func (*MsgRemoveRoles) Descriptor() ([]byte, []int) + func (*MsgRemoveRoles) ProtoMessage() + func (m *MsgRemoveRoles) Marshal() (dAtA []byte, err error) + func (m *MsgRemoveRoles) MarshalTo(dAtA []byte) (int, error) + func (m *MsgRemoveRoles) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgRemoveRoles) Reset() + func (m *MsgRemoveRoles) Size() (n int) + func (m *MsgRemoveRoles) String() string + func (m *MsgRemoveRoles) Unmarshal(dAtA []byte) error + func (m *MsgRemoveRoles) XXX_DiscardUnknown() + func (m *MsgRemoveRoles) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgRemoveRoles) XXX_Merge(src proto.Message) + func (m *MsgRemoveRoles) XXX_Size() int + func (m *MsgRemoveRoles) XXX_Unmarshal(b []byte) error + func (m MsgRemoveRoles) GetSignBytes() []byte + func (m MsgRemoveRoles) GetSigners() []sdk.AccAddress + func (m MsgRemoveRoles) Route() string + func (m MsgRemoveRoles) Type() string + func (m MsgRemoveRoles) ValidateBasic() error + func (this *MsgRemoveRoles) Equal(that interface{}) bool + type MsgUnblockAccount struct + Address github_com_bianjieai_irita_sdk_go_types.AccAddress + Operator github_com_bianjieai_irita_sdk_go_types.AccAddress + func (*MsgUnblockAccount) Descriptor() ([]byte, []int) + func (*MsgUnblockAccount) ProtoMessage() + func (m *MsgUnblockAccount) Marshal() (dAtA []byte, err error) + func (m *MsgUnblockAccount) MarshalTo(dAtA []byte) (int, error) + func (m *MsgUnblockAccount) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgUnblockAccount) Reset() + func (m *MsgUnblockAccount) Size() (n int) + func (m *MsgUnblockAccount) String() string + func (m *MsgUnblockAccount) Unmarshal(dAtA []byte) error + func (m *MsgUnblockAccount) XXX_DiscardUnknown() + func (m *MsgUnblockAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgUnblockAccount) XXX_Merge(src proto.Message) + func (m *MsgUnblockAccount) XXX_Size() int + func (m *MsgUnblockAccount) XXX_Unmarshal(b []byte) error + func (m MsgUnblockAccount) GetSignBytes() []byte + func (m MsgUnblockAccount) GetSigners() []sdk.AccAddress + func (m MsgUnblockAccount) Route() string + func (m MsgUnblockAccount) Type() string + func (m MsgUnblockAccount) ValidateBasic() error + func (this *MsgUnblockAccount) Equal(that interface{}) bool + type Role int32 + const RoleBlacklistAdmin + const RoleNodeAdmin + const RoleParamAdmin + const RolePermAdmin + const RolePowerUser + const RoleRootAdmin + func (Role) EnumDescriptor() ([]byte, []int) + func (r *Role) Unmarshal(data []byte) error + func (r *Role) UnmarshalJSON(data []byte) error + func (r Role) Marshal() ([]byte, error) + func (r Role) MarshalJSON() ([]byte, error)