Versions in this module Expand all Collapse all v1 v1.1.0 May 18, 2020 Changes in this version + const AttributeKeyCreator + const AttributeKeyRecordID + const AttributeValueCategory + const EventTypeCreateRecord + const ModuleName + const QuerierRoute + const QueryRecord + const RouterKey + const StoreKey + const TypeMsgCreateRecord + 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 ErrUnknownRecord = sdkerrors.Register(ModuleName, 2, "unknown record") + var IntraTxCounterKey = []byte + var ModuleCdc = codec.NewHybridCodec(amino, types.NewInterfaceRegistry()) + var RecordKey = []byte + func GetRecordKey(recordID []byte) []byte + func RegisterCodec(cdc *codec.Codec) + type AccountKeeper interface + GetAccount func(ctx sdk.Context, addr sdk.AccAddress) auth.Account + type BankKeeper interface + GetAllBalances func(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins + GetBalance func(ctx sdk.Context, addr sdk.AccAddress, denom string) sdk.Coin + LockedCoins func(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins + SetBalances func(ctx sdk.Context, addr sdk.AccAddress, balances sdk.Coins) error + SpendableCoins func(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins + type Content struct + Digest string + DigestAlgo string + Meta string + URI string + func (*Content) Descriptor() ([]byte, []int) + func (*Content) ProtoMessage() + func (m *Content) GetDigest() string + func (m *Content) GetDigestAlgo() string + func (m *Content) GetMeta() string + func (m *Content) GetURI() string + func (m *Content) Marshal() (dAtA []byte, err error) + func (m *Content) MarshalTo(dAtA []byte) (int, error) + func (m *Content) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Content) Reset() + func (m *Content) Size() (n int) + func (m *Content) String() string + func (m *Content) Unmarshal(dAtA []byte) error + func (m *Content) XXX_DiscardUnknown() + func (m *Content) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Content) XXX_Merge(src proto.Message) + func (m *Content) XXX_Size() int + func (m *Content) XXX_Unmarshal(b []byte) error + func (this *Content) Equal(that interface{}) bool + type GenesisState struct + Records []Record + func DefaultGenesisState() GenesisState + func NewGenesisState(records []Record) GenesisState + type MsgCreateRecord struct + Contents []Content + Creator github_com_cosmos_cosmos_sdk_types.AccAddress + func NewMsgCreateRecord(contents []Content, Creator sdk.AccAddress) MsgCreateRecord + func (*MsgCreateRecord) Descriptor() ([]byte, []int) + func (*MsgCreateRecord) ProtoMessage() + func (m *MsgCreateRecord) GetContents() []Content + func (m *MsgCreateRecord) GetCreator() github_com_cosmos_cosmos_sdk_types.AccAddress + func (m *MsgCreateRecord) Marshal() (dAtA []byte, err error) + func (m *MsgCreateRecord) MarshalTo(dAtA []byte) (int, error) + func (m *MsgCreateRecord) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgCreateRecord) Reset() + func (m *MsgCreateRecord) Size() (n int) + func (m *MsgCreateRecord) String() string + func (m *MsgCreateRecord) Unmarshal(dAtA []byte) error + func (m *MsgCreateRecord) XXX_DiscardUnknown() + func (m *MsgCreateRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgCreateRecord) XXX_Merge(src proto.Message) + func (m *MsgCreateRecord) XXX_Size() int + func (m *MsgCreateRecord) XXX_Unmarshal(b []byte) error + func (msg MsgCreateRecord) GetSignBytes() []byte + func (msg MsgCreateRecord) GetSigners() []sdk.AccAddress + func (msg MsgCreateRecord) Route() string + func (msg MsgCreateRecord) Type() string + func (msg MsgCreateRecord) ValidateBasic() error + func (this *MsgCreateRecord) Equal(that interface{}) bool + type QueryRecordParams struct + RecordID []byte + type Record struct + Contents []Content + Creator github_com_cosmos_cosmos_sdk_types.AccAddress + TxHash github_com_tendermint_tendermint_libs_bytes.HexBytes + func NewRecord(txHash bytes.HexBytes, contents []Content, creator sdk.AccAddress) Record + func (*Record) Descriptor() ([]byte, []int) + func (*Record) ProtoMessage() + func (m *Record) GetContents() []Content + func (m *Record) GetCreator() github_com_cosmos_cosmos_sdk_types.AccAddress + func (m *Record) GetTxHash() github_com_tendermint_tendermint_libs_bytes.HexBytes + func (m *Record) Marshal() (dAtA []byte, err error) + func (m *Record) MarshalTo(dAtA []byte) (int, error) + func (m *Record) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Record) Reset() + func (m *Record) Size() (n int) + func (m *Record) String() string + func (m *Record) Unmarshal(dAtA []byte) error + func (m *Record) XXX_DiscardUnknown() + func (m *Record) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Record) XXX_Merge(src proto.Message) + func (m *Record) XXX_Size() int + func (m *Record) XXX_Unmarshal(b []byte) error + func (this *Record) Equal(that interface{}) bool + type RecordOutput struct + Contents []Content + Creator sdk.AccAddress + TxHash string