types

package
v1.2.0-beta.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 10, 2023 License: MIT Imports: 37 Imported by: 3

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	// ModuleName defines the module name
	ModuleName = "storage"

	// StoreKey defines the primary module store key
	StoreKey = ModuleName

	// RouterKey is the message route for slashing
	RouterKey = ModuleName

	// QuerierRoute defines the module's query routing key
	QuerierRoute = ModuleName

	// MemStoreKey defines the in-memory store key
	MemStoreKey = "mem_storage"

	AddressPrefix = "jkl"
	CidPrefix     = "jklc"
	FidPrefix     = "jklf"
)
View Source
const (
	TypeMsgAddClaimer    = "add_claimer"
	TypeMsgRemoveClaimer = "remove_claimer"
)
View Source
const (
	// ActiveDealsKeyPrefix is the prefix to retrieve all ActiveDeals
	ActiveDealsKeyPrefix = "ActiveDeals/value/"
)
View Source
const (
	// ClientUsageKeyPrefix is the prefix to retrieve all ClientUsage
	ClientUsageKeyPrefix = "ClientUsage/value/"
)
View Source
const (
	// ContractsKeyPrefix is the prefix to retrieve all Contracts
	ContractsKeyPrefix = "Contracts/value/"
)
View Source
const DefaultIndex uint64 = 1

DefaultIndex is the default capability global index

View Source
const (
	// FidCidKeyPrefix is the prefix to retrieve all FidCid
	FidCidKeyPrefix = "FidCid/value/"
)
View Source
const (
	// PayBlocksKeyPrefix is the prefix to retrieve all PayBlocks
	PayBlocksKeyPrefix = "PayBlocks/value/"
)
View Source
const (
	// ProvidersKeyPrefix is the prefix to retrieve all Providers
	ProvidersKeyPrefix = "Providers/value/"
)
View Source
const (
	// StoragePaymentInfoKeyPrefix is the prefix to retrieve all StoragePaymentInfo
	StoragePaymentInfoKeyPrefix = "StoragePaymentInfo/value/"
)
View Source
const (
	// StraysKeyPrefix is the prefix to retrieve all Strays
	StraysKeyPrefix = "Strays/value/"
)
View Source
const TypeMsgBuyStorage = "buy_storage"
View Source
const TypeMsgCancelContract = "cancel_contract"
View Source
const TypeMsgClaimStray = "claim_stray"
View Source
const TypeMsgInitProvider = "init_provider"
View Source
const TypeMsgPostContract = "post_contract"
View Source
const TypeMsgPostproof = "postproof"
View Source
const TypeMsgSetProviderIP = "set_provider_ip"
View Source
const TypeMsgSetProviderKeybase = "set_provider_keybase"
View Source
const TypeMsgSetProviderTotalspace = "set_provider_totalspace"
View Source
const TypeMsgSignContract = "sign_contract"
View Source
const TypeMsgUpgradeStorage = "upgrade_storage"

Variables

View Source
var (
	ErrInvalidLengthActiveDeals        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowActiveDeals          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupActiveDeals = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthClientUsage        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowClientUsage          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupClientUsage = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthContracts        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowContracts          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupContracts = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrDivideByZero       = sdkerrors.Register(ModuleName, 1110, "DivideByZero")
	ErrProviderNotFound   = sdkerrors.Register(ModuleName, 1111, "Provider not found. Please init your provider.")
	ErrNotValidTotalSpace = sdkerrors.Register(ModuleName, 1112, "Not a valid total space. Please enter total number of bytes to provide.")
	ErrCannotVerifyProof  = sdkerrors.Register(ModuleName, 1113, "Cannot verify Proof")
)

x/storage module sentinel errors

View Source
var (
	ErrInvalidLengthFidCid        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowFidCid          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupFidCid = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthGenesis        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenesis          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	KeyDepositAccount = []byte("DepositAccount")
	KeyProofWindow    = []byte("ProofWindow")
)
View Source
var (
	ErrInvalidLengthParams        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowParams          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthPaymentInfo        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowPaymentInfo          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupPaymentInfo = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthProofs        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowProofs          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupProofs = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthProviders        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowProviders          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupProviders = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthQuery        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuery          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthStrays        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowStrays          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupStrays = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTx        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTx          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group")
)

Functions

func ActiveDealsKey

func ActiveDealsKey(
	cid string,
) []byte

ActiveDealsKey returns the store key to retrieve a ActiveDeals from the index fields

func ClientUsageKey

func ClientUsageKey(
	address string,
) []byte

ClientUsageKey returns the store key to retrieve a ClientUsage from the index fields

func ContractsKey

func ContractsKey(
	cid string,
) []byte

ContractsKey returns the store key to retrieve a Contracts from the index fields

func FidCidKey

func FidCidKey(
	fid string,
) []byte

FidCidKey returns the store key to retrieve a FidCid from the index fields

func KeyPrefix

func KeyPrefix(p string) []byte

func ParamKeyTable

func ParamKeyTable() paramtypes.KeyTable

ParamKeyTable the param key table for launch module

func PayBlocksKey

func PayBlocksKey(
	blockid string,
) []byte

PayBlocksKey returns the store key to retrieve a PayBlocks from the index fields

func ProvidersKey

func ProvidersKey(
	address string,
) []byte

ProvidersKey returns the store key to retrieve a Providers from the index fields

func RegisterCodec

func RegisterCodec(cdc *codec.LegacyAmino)

func RegisterInterfaces

func RegisterInterfaces(registry cdctypes.InterfaceRegistry)

func RegisterMsgServer

func RegisterMsgServer(s grpc1.Server, srv MsgServer)

func RegisterQueryHandler

func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterQueryHandlerClient

func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error

RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.

func RegisterQueryHandlerFromEndpoint

func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterQueryHandlerServer

func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error

RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.

func RegisterQueryServer

func RegisterQueryServer(s grpc1.Server, srv QueryServer)

func StoragePaymentInfoKey

func StoragePaymentInfoKey(
	address string,
) []byte

StoragePaymentInfoKey returns the store key to retrieve a StoragePaymentInfo from the index fields

func StraysKey

func StraysKey(
	cid string,
) []byte

StraysKey returns the store key to retrieve a Strays from the index fields

Types

type AccountKeeper

type AccountKeeper interface {
	GetAccount(ctx sdk.Context, addr sdk.AccAddress) types.AccountI
	GetModuleAddress(moduleName string) sdk.AccAddress
}

AccountKeeper defines the expected account keeper used for simulations (noalias)

type ActiveDeals

type ActiveDeals struct {
	Cid           string `protobuf:"bytes,1,opt,name=cid,proto3" json:"cid,omitempty"`
	Signee        string `protobuf:"bytes,2,opt,name=signee,proto3" json:"signee,omitempty"`
	Provider      string `protobuf:"bytes,3,opt,name=provider,proto3" json:"provider,omitempty"`
	Startblock    string `protobuf:"bytes,4,opt,name=startblock,proto3" json:"startblock,omitempty"`
	Endblock      int64  `protobuf:"varint,5,opt,name=endblock,proto3" json:"endblock,omitempty"`
	Filesize      string `protobuf:"bytes,6,opt,name=filesize,proto3" json:"filesize,omitempty"`
	Proofverified string `protobuf:"bytes,7,opt,name=proofverified,proto3" json:"proofverified,omitempty"`
	Proofsmissed  string `protobuf:"bytes,8,opt,name=proofsmissed,proto3" json:"proofsmissed,omitempty"`
	Blocktoprove  string `protobuf:"bytes,9,opt,name=blocktoprove,proto3" json:"blocktoprove,omitempty"`
	Creator       string `protobuf:"bytes,10,opt,name=creator,proto3" json:"creator,omitempty"`
	Merkle        string `protobuf:"bytes,11,opt,name=merkle,proto3" json:"merkle,omitempty"`
	Fid           string `protobuf:"bytes,12,opt,name=fid,proto3" json:"fid,omitempty"`
}

func (*ActiveDeals) Descriptor

func (*ActiveDeals) Descriptor() ([]byte, []int)

func (*ActiveDeals) GetBlocktoprove

func (m *ActiveDeals) GetBlocktoprove() string

func (*ActiveDeals) GetCid

func (m *ActiveDeals) GetCid() string

func (*ActiveDeals) GetCreator

func (m *ActiveDeals) GetCreator() string

func (*ActiveDeals) GetEndblock

func (m *ActiveDeals) GetEndblock() int64

func (*ActiveDeals) GetFid

func (m *ActiveDeals) GetFid() string

func (*ActiveDeals) GetFilesize

func (m *ActiveDeals) GetFilesize() string

func (*ActiveDeals) GetMerkle

func (m *ActiveDeals) GetMerkle() string

func (*ActiveDeals) GetProofsmissed

func (m *ActiveDeals) GetProofsmissed() string

func (*ActiveDeals) GetProofverified

func (m *ActiveDeals) GetProofverified() string

func (*ActiveDeals) GetProvider

func (m *ActiveDeals) GetProvider() string

func (*ActiveDeals) GetSignee

func (m *ActiveDeals) GetSignee() string

func (*ActiveDeals) GetStartblock

func (m *ActiveDeals) GetStartblock() string

func (*ActiveDeals) Marshal

func (m *ActiveDeals) Marshal() (dAtA []byte, err error)

func (*ActiveDeals) MarshalTo

func (m *ActiveDeals) MarshalTo(dAtA []byte) (int, error)

func (*ActiveDeals) MarshalToSizedBuffer

func (m *ActiveDeals) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ActiveDeals) ProtoMessage

func (*ActiveDeals) ProtoMessage()

func (*ActiveDeals) Reset

func (m *ActiveDeals) Reset()

func (*ActiveDeals) Size

func (m *ActiveDeals) Size() (n int)

func (*ActiveDeals) String

func (m *ActiveDeals) String() string

func (*ActiveDeals) Unmarshal

func (m *ActiveDeals) Unmarshal(dAtA []byte) error

func (*ActiveDeals) XXX_DiscardUnknown

func (m *ActiveDeals) XXX_DiscardUnknown()

func (*ActiveDeals) XXX_Marshal

func (m *ActiveDeals) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ActiveDeals) XXX_Merge

func (m *ActiveDeals) XXX_Merge(src proto.Message)

func (*ActiveDeals) XXX_Size

func (m *ActiveDeals) XXX_Size() int

func (*ActiveDeals) XXX_Unmarshal

func (m *ActiveDeals) XXX_Unmarshal(b []byte) error

type BankKeeper

type BankKeeper interface {
	SpendableCoins(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins
	MintCoins(ctx sdk.Context, moduleName string, amt sdk.Coins) error
	BurnCoins(ctx sdk.Context, moduleName string, amt sdk.Coins) error
	SendCoinsFromModuleToModule(ctx sdk.Context, senderModule string, recipientModule string, amt sdk.Coins) error
	SendCoinsFromModuleToAccount(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error
	SendCoinsFromAccountToModule(ctx sdk.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error

	GetBalance(ctx sdk.Context, addrr sdk.AccAddress, denom string) sdk.Coin
	GetAllBalances(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins
}

BankKeeper defines the expected interface needed to retrieve account balances.

type ClientUsage

type ClientUsage struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Usage   string `protobuf:"bytes,2,opt,name=usage,proto3" json:"usage,omitempty"`
}

func (*ClientUsage) Descriptor

func (*ClientUsage) Descriptor() ([]byte, []int)

func (*ClientUsage) GetAddress

func (m *ClientUsage) GetAddress() string

func (*ClientUsage) GetUsage

func (m *ClientUsage) GetUsage() string

func (*ClientUsage) Marshal

func (m *ClientUsage) Marshal() (dAtA []byte, err error)

func (*ClientUsage) MarshalTo

func (m *ClientUsage) MarshalTo(dAtA []byte) (int, error)

func (*ClientUsage) MarshalToSizedBuffer

func (m *ClientUsage) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ClientUsage) ProtoMessage

func (*ClientUsage) ProtoMessage()

func (*ClientUsage) Reset

func (m *ClientUsage) Reset()

func (*ClientUsage) Size

func (m *ClientUsage) Size() (n int)

func (*ClientUsage) String

func (m *ClientUsage) String() string

func (*ClientUsage) Unmarshal

func (m *ClientUsage) Unmarshal(dAtA []byte) error

func (*ClientUsage) XXX_DiscardUnknown

func (m *ClientUsage) XXX_DiscardUnknown()

func (*ClientUsage) XXX_Marshal

func (m *ClientUsage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClientUsage) XXX_Merge

func (m *ClientUsage) XXX_Merge(src proto.Message)

func (*ClientUsage) XXX_Size

func (m *ClientUsage) XXX_Size() int

func (*ClientUsage) XXX_Unmarshal

func (m *ClientUsage) XXX_Unmarshal(b []byte) error

type Contracts

type Contracts struct {
	Cid        string `protobuf:"bytes,1,opt,name=cid,proto3" json:"cid,omitempty"`
	Priceamt   string `protobuf:"bytes,2,opt,name=priceamt,proto3" json:"priceamt,omitempty"`
	Pricedenom string `protobuf:"bytes,3,opt,name=pricedenom,proto3" json:"pricedenom,omitempty"`
	Creator    string `protobuf:"bytes,4,opt,name=creator,proto3" json:"creator,omitempty"`
	Merkle     string `protobuf:"bytes,5,opt,name=merkle,proto3" json:"merkle,omitempty"`
	Signee     string `protobuf:"bytes,6,opt,name=signee,proto3" json:"signee,omitempty"`
	Duration   string `protobuf:"bytes,7,opt,name=duration,proto3" json:"duration,omitempty"`
	Filesize   string `protobuf:"bytes,8,opt,name=filesize,proto3" json:"filesize,omitempty"`
	Fid        string `protobuf:"bytes,9,opt,name=fid,proto3" json:"fid,omitempty"`
	Age        int64  `protobuf:"varint,10,opt,name=age,proto3" json:"age,omitempty"`
}

func (*Contracts) Descriptor

func (*Contracts) Descriptor() ([]byte, []int)

func (*Contracts) GetAge

func (m *Contracts) GetAge() int64

func (*Contracts) GetCid

func (m *Contracts) GetCid() string

func (*Contracts) GetCreator

func (m *Contracts) GetCreator() string

func (*Contracts) GetDuration

func (m *Contracts) GetDuration() string

func (*Contracts) GetFid

func (m *Contracts) GetFid() string

func (*Contracts) GetFilesize

func (m *Contracts) GetFilesize() string

func (*Contracts) GetMerkle

func (m *Contracts) GetMerkle() string

func (*Contracts) GetPriceamt

func (m *Contracts) GetPriceamt() string

func (*Contracts) GetPricedenom

func (m *Contracts) GetPricedenom() string

func (*Contracts) GetSignee

func (m *Contracts) GetSignee() string

func (*Contracts) Marshal

func (m *Contracts) Marshal() (dAtA []byte, err error)

func (*Contracts) MarshalTo

func (m *Contracts) MarshalTo(dAtA []byte) (int, error)

func (*Contracts) MarshalToSizedBuffer

func (m *Contracts) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Contracts) ProtoMessage

func (*Contracts) ProtoMessage()

func (*Contracts) Reset

func (m *Contracts) Reset()

func (*Contracts) Size

func (m *Contracts) Size() (n int)

func (*Contracts) String

func (m *Contracts) String() string

func (*Contracts) Unmarshal

func (m *Contracts) Unmarshal(dAtA []byte) error

func (*Contracts) XXX_DiscardUnknown

func (m *Contracts) XXX_DiscardUnknown()

func (*Contracts) XXX_Marshal

func (m *Contracts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Contracts) XXX_Merge

func (m *Contracts) XXX_Merge(src proto.Message)

func (*Contracts) XXX_Size

func (m *Contracts) XXX_Size() int

func (*Contracts) XXX_Unmarshal

func (m *Contracts) XXX_Unmarshal(b []byte) error

type FidCid

type FidCid struct {
	Fid  string `protobuf:"bytes,1,opt,name=fid,proto3" json:"fid,omitempty"`
	Cids string `protobuf:"bytes,2,opt,name=cids,proto3" json:"cids,omitempty"`
}

func (*FidCid) Descriptor

func (*FidCid) Descriptor() ([]byte, []int)

func (*FidCid) GetCids

func (m *FidCid) GetCids() string

func (*FidCid) GetFid

func (m *FidCid) GetFid() string

func (*FidCid) Marshal

func (m *FidCid) Marshal() (dAtA []byte, err error)

func (*FidCid) MarshalTo

func (m *FidCid) MarshalTo(dAtA []byte) (int, error)

func (*FidCid) MarshalToSizedBuffer

func (m *FidCid) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*FidCid) ProtoMessage

func (*FidCid) ProtoMessage()

func (*FidCid) Reset

func (m *FidCid) Reset()

func (*FidCid) Size

func (m *FidCid) Size() (n int)

func (*FidCid) String

func (m *FidCid) String() string

func (*FidCid) Unmarshal

func (m *FidCid) Unmarshal(dAtA []byte) error

func (*FidCid) XXX_DiscardUnknown

func (m *FidCid) XXX_DiscardUnknown()

func (*FidCid) XXX_Marshal

func (m *FidCid) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FidCid) XXX_Merge

func (m *FidCid) XXX_Merge(src proto.Message)

func (*FidCid) XXX_Size

func (m *FidCid) XXX_Size() int

func (*FidCid) XXX_Unmarshal

func (m *FidCid) XXX_Unmarshal(b []byte) error

type GenesisState

type GenesisState struct {
	Params          Params               `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
	ContractsList   []Contracts          `protobuf:"bytes,2,rep,name=contracts_list,json=contractsList,proto3" json:"contracts_list"`
	ActiveDealsList []ActiveDeals        `protobuf:"bytes,3,rep,name=active_deals_list,json=activeDealsList,proto3" json:"active_deals_list"`
	ProvidersList   []Providers          `protobuf:"bytes,4,rep,name=providers_list,json=providersList,proto3" json:"providers_list"`
	StraysList      []Strays             `protobuf:"bytes,6,rep,name=strays_list,json=straysList,proto3" json:"strays_list"`
	FidCidList      []FidCid             `protobuf:"bytes,5,rep,name=fid_cid_list,json=fidCidList,proto3" json:"fid_cid_list"`
	PaymentInfoList []StoragePaymentInfo `protobuf:"bytes,7,rep,name=payment_info_list,json=paymentInfoList,proto3" json:"payment_info_list"`
}

GenesisState defines the storage module's genesis state.

func DefaultGenesis

func DefaultGenesis() *GenesisState

DefaultGenesis returns the default Capability genesis state

func (*GenesisState) Descriptor

func (*GenesisState) Descriptor() ([]byte, []int)

func (*GenesisState) GetActiveDealsList

func (m *GenesisState) GetActiveDealsList() []ActiveDeals

func (*GenesisState) GetContractsList

func (m *GenesisState) GetContractsList() []Contracts

func (*GenesisState) GetFidCidList

func (m *GenesisState) GetFidCidList() []FidCid

func (*GenesisState) GetParams

func (m *GenesisState) GetParams() Params

func (*GenesisState) GetPaymentInfoList

func (m *GenesisState) GetPaymentInfoList() []StoragePaymentInfo

func (*GenesisState) GetProvidersList

func (m *GenesisState) GetProvidersList() []Providers

func (*GenesisState) GetStraysList

func (m *GenesisState) GetStraysList() []Strays

func (*GenesisState) Marshal

func (m *GenesisState) Marshal() (dAtA []byte, err error)

func (*GenesisState) MarshalTo

func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)

func (*GenesisState) MarshalToSizedBuffer

func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GenesisState) ProtoMessage

func (*GenesisState) ProtoMessage()

func (*GenesisState) Reset

func (m *GenesisState) Reset()

func (*GenesisState) Size

func (m *GenesisState) Size() (n int)

func (*GenesisState) String

func (m *GenesisState) String() string

func (*GenesisState) Unmarshal

func (m *GenesisState) Unmarshal(dAtA []byte) error

func (GenesisState) Validate

func (gs GenesisState) Validate() error

Validate performs basic genesis state validation returning an error upon any failure.

func (*GenesisState) XXX_DiscardUnknown

func (m *GenesisState) XXX_DiscardUnknown()

func (*GenesisState) XXX_Marshal

func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GenesisState) XXX_Merge

func (m *GenesisState) XXX_Merge(src proto.Message)

func (*GenesisState) XXX_Size

func (m *GenesisState) XXX_Size() int

func (*GenesisState) XXX_Unmarshal

func (m *GenesisState) XXX_Unmarshal(b []byte) error

type MsgAddClaimer

type MsgAddClaimer struct {
	Creator      string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	ClaimAddress string `protobuf:"bytes,2,opt,name=claim_address,json=claimAddress,proto3" json:"claim_address,omitempty"`
}

func NewMsgAddClaimer

func NewMsgAddClaimer(creator string, claimer string) *MsgAddClaimer

func (*MsgAddClaimer) Descriptor

func (*MsgAddClaimer) Descriptor() ([]byte, []int)

func (*MsgAddClaimer) GetClaimAddress

func (m *MsgAddClaimer) GetClaimAddress() string

func (*MsgAddClaimer) GetCreator

func (m *MsgAddClaimer) GetCreator() string

func (*MsgAddClaimer) GetSignBytes

func (msg *MsgAddClaimer) GetSignBytes() []byte

func (*MsgAddClaimer) GetSigners

func (msg *MsgAddClaimer) GetSigners() []sdk.AccAddress

func (*MsgAddClaimer) Marshal

func (m *MsgAddClaimer) Marshal() (dAtA []byte, err error)

func (*MsgAddClaimer) MarshalTo

func (m *MsgAddClaimer) MarshalTo(dAtA []byte) (int, error)

func (*MsgAddClaimer) MarshalToSizedBuffer

func (m *MsgAddClaimer) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgAddClaimer) ProtoMessage

func (*MsgAddClaimer) ProtoMessage()

func (*MsgAddClaimer) Reset

func (m *MsgAddClaimer) Reset()

func (*MsgAddClaimer) Route

func (msg *MsgAddClaimer) Route() string

func (*MsgAddClaimer) Size

func (m *MsgAddClaimer) Size() (n int)

func (*MsgAddClaimer) String

func (m *MsgAddClaimer) String() string

func (*MsgAddClaimer) Type

func (msg *MsgAddClaimer) Type() string

func (*MsgAddClaimer) Unmarshal

func (m *MsgAddClaimer) Unmarshal(dAtA []byte) error

func (*MsgAddClaimer) ValidateBasic

func (msg *MsgAddClaimer) ValidateBasic() error

func (*MsgAddClaimer) XXX_DiscardUnknown

func (m *MsgAddClaimer) XXX_DiscardUnknown()

func (*MsgAddClaimer) XXX_Marshal

func (m *MsgAddClaimer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgAddClaimer) XXX_Merge

func (m *MsgAddClaimer) XXX_Merge(src proto.Message)

func (*MsgAddClaimer) XXX_Size

func (m *MsgAddClaimer) XXX_Size() int

func (*MsgAddClaimer) XXX_Unmarshal

func (m *MsgAddClaimer) XXX_Unmarshal(b []byte) error

type MsgAddClaimerResponse

type MsgAddClaimerResponse struct {
}

func (*MsgAddClaimerResponse) Descriptor

func (*MsgAddClaimerResponse) Descriptor() ([]byte, []int)

func (*MsgAddClaimerResponse) Marshal

func (m *MsgAddClaimerResponse) Marshal() (dAtA []byte, err error)

func (*MsgAddClaimerResponse) MarshalTo

func (m *MsgAddClaimerResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgAddClaimerResponse) MarshalToSizedBuffer

func (m *MsgAddClaimerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgAddClaimerResponse) ProtoMessage

func (*MsgAddClaimerResponse) ProtoMessage()

func (*MsgAddClaimerResponse) Reset

func (m *MsgAddClaimerResponse) Reset()

func (*MsgAddClaimerResponse) Size

func (m *MsgAddClaimerResponse) Size() (n int)

func (*MsgAddClaimerResponse) String

func (m *MsgAddClaimerResponse) String() string

func (*MsgAddClaimerResponse) Unmarshal

func (m *MsgAddClaimerResponse) Unmarshal(dAtA []byte) error

func (*MsgAddClaimerResponse) XXX_DiscardUnknown

func (m *MsgAddClaimerResponse) XXX_DiscardUnknown()

func (*MsgAddClaimerResponse) XXX_Marshal

func (m *MsgAddClaimerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgAddClaimerResponse) XXX_Merge

func (m *MsgAddClaimerResponse) XXX_Merge(src proto.Message)

func (*MsgAddClaimerResponse) XXX_Size

func (m *MsgAddClaimerResponse) XXX_Size() int

func (*MsgAddClaimerResponse) XXX_Unmarshal

func (m *MsgAddClaimerResponse) XXX_Unmarshal(b []byte) error

type MsgBuyStorage

type MsgBuyStorage struct {
	Creator      string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	ForAddress   string `protobuf:"bytes,2,opt,name=for_address,json=forAddress,proto3" json:"for_address,omitempty"`
	Duration     string `protobuf:"bytes,3,opt,name=duration,proto3" json:"duration,omitempty"`
	Bytes        string `protobuf:"bytes,4,opt,name=bytes,proto3" json:"bytes,omitempty"`
	PaymentDenom string `protobuf:"bytes,5,opt,name=payment_denom,json=paymentDenom,proto3" json:"payment_denom,omitempty"`
}

func NewMsgBuyStorage

func NewMsgBuyStorage(creator string, forAddress string, duration string, bytes string, paymentDenom string) *MsgBuyStorage

func (*MsgBuyStorage) Descriptor

func (*MsgBuyStorage) Descriptor() ([]byte, []int)

func (*MsgBuyStorage) GetBytes

func (m *MsgBuyStorage) GetBytes() string

func (*MsgBuyStorage) GetCreator

func (m *MsgBuyStorage) GetCreator() string

func (*MsgBuyStorage) GetDuration

func (m *MsgBuyStorage) GetDuration() string

func (*MsgBuyStorage) GetForAddress

func (m *MsgBuyStorage) GetForAddress() string

func (*MsgBuyStorage) GetPaymentDenom

func (m *MsgBuyStorage) GetPaymentDenom() string

func (*MsgBuyStorage) GetSignBytes

func (msg *MsgBuyStorage) GetSignBytes() []byte

func (*MsgBuyStorage) GetSigners

func (msg *MsgBuyStorage) GetSigners() []sdk.AccAddress

func (*MsgBuyStorage) Marshal

func (m *MsgBuyStorage) Marshal() (dAtA []byte, err error)

func (*MsgBuyStorage) MarshalTo

func (m *MsgBuyStorage) MarshalTo(dAtA []byte) (int, error)

func (*MsgBuyStorage) MarshalToSizedBuffer

func (m *MsgBuyStorage) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgBuyStorage) ProtoMessage

func (*MsgBuyStorage) ProtoMessage()

func (*MsgBuyStorage) Reset

func (m *MsgBuyStorage) Reset()

func (*MsgBuyStorage) Route

func (msg *MsgBuyStorage) Route() string

func (*MsgBuyStorage) Size

func (m *MsgBuyStorage) Size() (n int)

func (*MsgBuyStorage) String

func (m *MsgBuyStorage) String() string

func (*MsgBuyStorage) Type

func (msg *MsgBuyStorage) Type() string

func (*MsgBuyStorage) Unmarshal

func (m *MsgBuyStorage) Unmarshal(dAtA []byte) error

func (*MsgBuyStorage) ValidateBasic

func (msg *MsgBuyStorage) ValidateBasic() error

func (*MsgBuyStorage) XXX_DiscardUnknown

func (m *MsgBuyStorage) XXX_DiscardUnknown()

func (*MsgBuyStorage) XXX_Marshal

func (m *MsgBuyStorage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgBuyStorage) XXX_Merge

func (m *MsgBuyStorage) XXX_Merge(src proto.Message)

func (*MsgBuyStorage) XXX_Size

func (m *MsgBuyStorage) XXX_Size() int

func (*MsgBuyStorage) XXX_Unmarshal

func (m *MsgBuyStorage) XXX_Unmarshal(b []byte) error

type MsgBuyStorageResponse

type MsgBuyStorageResponse struct {
}

func (*MsgBuyStorageResponse) Descriptor

func (*MsgBuyStorageResponse) Descriptor() ([]byte, []int)

func (*MsgBuyStorageResponse) Marshal

func (m *MsgBuyStorageResponse) Marshal() (dAtA []byte, err error)

func (*MsgBuyStorageResponse) MarshalTo

func (m *MsgBuyStorageResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgBuyStorageResponse) MarshalToSizedBuffer

func (m *MsgBuyStorageResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgBuyStorageResponse) ProtoMessage

func (*MsgBuyStorageResponse) ProtoMessage()

func (*MsgBuyStorageResponse) Reset

func (m *MsgBuyStorageResponse) Reset()

func (*MsgBuyStorageResponse) Size

func (m *MsgBuyStorageResponse) Size() (n int)

func (*MsgBuyStorageResponse) String

func (m *MsgBuyStorageResponse) String() string

func (*MsgBuyStorageResponse) Unmarshal

func (m *MsgBuyStorageResponse) Unmarshal(dAtA []byte) error

func (*MsgBuyStorageResponse) XXX_DiscardUnknown

func (m *MsgBuyStorageResponse) XXX_DiscardUnknown()

func (*MsgBuyStorageResponse) XXX_Marshal

func (m *MsgBuyStorageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgBuyStorageResponse) XXX_Merge

func (m *MsgBuyStorageResponse) XXX_Merge(src proto.Message)

func (*MsgBuyStorageResponse) XXX_Size

func (m *MsgBuyStorageResponse) XXX_Size() int

func (*MsgBuyStorageResponse) XXX_Unmarshal

func (m *MsgBuyStorageResponse) XXX_Unmarshal(b []byte) error

type MsgCancelContract

type MsgCancelContract struct {
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Cid     string `protobuf:"bytes,2,opt,name=cid,proto3" json:"cid,omitempty"`
}

func NewMsgCancelContract

func NewMsgCancelContract(creator string, cid string) *MsgCancelContract

func (*MsgCancelContract) Descriptor

func (*MsgCancelContract) Descriptor() ([]byte, []int)

func (*MsgCancelContract) GetCid

func (m *MsgCancelContract) GetCid() string

func (*MsgCancelContract) GetCreator

func (m *MsgCancelContract) GetCreator() string

func (*MsgCancelContract) GetSignBytes

func (msg *MsgCancelContract) GetSignBytes() []byte

func (*MsgCancelContract) GetSigners

func (msg *MsgCancelContract) GetSigners() []sdk.AccAddress

func (*MsgCancelContract) Marshal

func (m *MsgCancelContract) Marshal() (dAtA []byte, err error)

func (*MsgCancelContract) MarshalTo

func (m *MsgCancelContract) MarshalTo(dAtA []byte) (int, error)

func (*MsgCancelContract) MarshalToSizedBuffer

func (m *MsgCancelContract) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgCancelContract) ProtoMessage

func (*MsgCancelContract) ProtoMessage()

func (*MsgCancelContract) Reset

func (m *MsgCancelContract) Reset()

func (*MsgCancelContract) Route

func (msg *MsgCancelContract) Route() string

func (*MsgCancelContract) Size

func (m *MsgCancelContract) Size() (n int)

func (*MsgCancelContract) String

func (m *MsgCancelContract) String() string

func (*MsgCancelContract) Type

func (msg *MsgCancelContract) Type() string

func (*MsgCancelContract) Unmarshal

func (m *MsgCancelContract) Unmarshal(dAtA []byte) error

func (*MsgCancelContract) ValidateBasic

func (msg *MsgCancelContract) ValidateBasic() error

func (*MsgCancelContract) XXX_DiscardUnknown

func (m *MsgCancelContract) XXX_DiscardUnknown()

func (*MsgCancelContract) XXX_Marshal

func (m *MsgCancelContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgCancelContract) XXX_Merge

func (m *MsgCancelContract) XXX_Merge(src proto.Message)

func (*MsgCancelContract) XXX_Size

func (m *MsgCancelContract) XXX_Size() int

func (*MsgCancelContract) XXX_Unmarshal

func (m *MsgCancelContract) XXX_Unmarshal(b []byte) error

type MsgCancelContractResponse

type MsgCancelContractResponse struct {
}

func (*MsgCancelContractResponse) Descriptor

func (*MsgCancelContractResponse) Descriptor() ([]byte, []int)

func (*MsgCancelContractResponse) Marshal

func (m *MsgCancelContractResponse) Marshal() (dAtA []byte, err error)

func (*MsgCancelContractResponse) MarshalTo

func (m *MsgCancelContractResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgCancelContractResponse) MarshalToSizedBuffer

func (m *MsgCancelContractResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgCancelContractResponse) ProtoMessage

func (*MsgCancelContractResponse) ProtoMessage()

func (*MsgCancelContractResponse) Reset

func (m *MsgCancelContractResponse) Reset()

func (*MsgCancelContractResponse) Size

func (m *MsgCancelContractResponse) Size() (n int)

func (*MsgCancelContractResponse) String

func (m *MsgCancelContractResponse) String() string

func (*MsgCancelContractResponse) Unmarshal

func (m *MsgCancelContractResponse) Unmarshal(dAtA []byte) error

func (*MsgCancelContractResponse) XXX_DiscardUnknown

func (m *MsgCancelContractResponse) XXX_DiscardUnknown()

func (*MsgCancelContractResponse) XXX_Marshal

func (m *MsgCancelContractResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgCancelContractResponse) XXX_Merge

func (m *MsgCancelContractResponse) XXX_Merge(src proto.Message)

func (*MsgCancelContractResponse) XXX_Size

func (m *MsgCancelContractResponse) XXX_Size() int

func (*MsgCancelContractResponse) XXX_Unmarshal

func (m *MsgCancelContractResponse) XXX_Unmarshal(b []byte) error

type MsgClaimStray

type MsgClaimStray struct {
	Creator    string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Cid        string `protobuf:"bytes,2,opt,name=cid,proto3" json:"cid,omitempty"`
	ForAddress string `protobuf:"bytes,3,opt,name=for_address,json=forAddress,proto3" json:"for_address,omitempty"`
}

func NewMsgClaimStray

func NewMsgClaimStray(creator string, cid string, forAddress string) *MsgClaimStray

func (*MsgClaimStray) Descriptor

func (*MsgClaimStray) Descriptor() ([]byte, []int)

func (*MsgClaimStray) GetCid

func (m *MsgClaimStray) GetCid() string

func (*MsgClaimStray) GetCreator

func (m *MsgClaimStray) GetCreator() string

func (*MsgClaimStray) GetForAddress

func (m *MsgClaimStray) GetForAddress() string

func (*MsgClaimStray) GetSignBytes

func (msg *MsgClaimStray) GetSignBytes() []byte

func (*MsgClaimStray) GetSigners

func (msg *MsgClaimStray) GetSigners() []sdk.AccAddress

func (*MsgClaimStray) Marshal

func (m *MsgClaimStray) Marshal() (dAtA []byte, err error)

func (*MsgClaimStray) MarshalTo

func (m *MsgClaimStray) MarshalTo(dAtA []byte) (int, error)

func (*MsgClaimStray) MarshalToSizedBuffer

func (m *MsgClaimStray) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgClaimStray) ProtoMessage

func (*MsgClaimStray) ProtoMessage()

func (*MsgClaimStray) Reset

func (m *MsgClaimStray) Reset()

func (*MsgClaimStray) Route

func (msg *MsgClaimStray) Route() string

func (*MsgClaimStray) Size

func (m *MsgClaimStray) Size() (n int)

func (*MsgClaimStray) String

func (m *MsgClaimStray) String() string

func (*MsgClaimStray) Type

func (msg *MsgClaimStray) Type() string

func (*MsgClaimStray) Unmarshal

func (m *MsgClaimStray) Unmarshal(dAtA []byte) error

func (*MsgClaimStray) ValidateBasic

func (msg *MsgClaimStray) ValidateBasic() error

func (*MsgClaimStray) XXX_DiscardUnknown

func (m *MsgClaimStray) XXX_DiscardUnknown()

func (*MsgClaimStray) XXX_Marshal

func (m *MsgClaimStray) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgClaimStray) XXX_Merge

func (m *MsgClaimStray) XXX_Merge(src proto.Message)

func (*MsgClaimStray) XXX_Size

func (m *MsgClaimStray) XXX_Size() int

func (*MsgClaimStray) XXX_Unmarshal

func (m *MsgClaimStray) XXX_Unmarshal(b []byte) error

type MsgClaimStrayResponse

type MsgClaimStrayResponse struct {
}

func (*MsgClaimStrayResponse) Descriptor

func (*MsgClaimStrayResponse) Descriptor() ([]byte, []int)

func (*MsgClaimStrayResponse) Marshal

func (m *MsgClaimStrayResponse) Marshal() (dAtA []byte, err error)

func (*MsgClaimStrayResponse) MarshalTo

func (m *MsgClaimStrayResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgClaimStrayResponse) MarshalToSizedBuffer

func (m *MsgClaimStrayResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgClaimStrayResponse) ProtoMessage

func (*MsgClaimStrayResponse) ProtoMessage()

func (*MsgClaimStrayResponse) Reset

func (m *MsgClaimStrayResponse) Reset()

func (*MsgClaimStrayResponse) Size

func (m *MsgClaimStrayResponse) Size() (n int)

func (*MsgClaimStrayResponse) String

func (m *MsgClaimStrayResponse) String() string

func (*MsgClaimStrayResponse) Unmarshal

func (m *MsgClaimStrayResponse) Unmarshal(dAtA []byte) error

func (*MsgClaimStrayResponse) XXX_DiscardUnknown

func (m *MsgClaimStrayResponse) XXX_DiscardUnknown()

func (*MsgClaimStrayResponse) XXX_Marshal

func (m *MsgClaimStrayResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgClaimStrayResponse) XXX_Merge

func (m *MsgClaimStrayResponse) XXX_Merge(src proto.Message)

func (*MsgClaimStrayResponse) XXX_Size

func (m *MsgClaimStrayResponse) XXX_Size() int

func (*MsgClaimStrayResponse) XXX_Unmarshal

func (m *MsgClaimStrayResponse) XXX_Unmarshal(b []byte) error

type MsgClient

type MsgClient interface {
	PostContract(ctx context.Context, in *MsgPostContract, opts ...grpc.CallOption) (*MsgPostContractResponse, error)
	Postproof(ctx context.Context, in *MsgPostproof, opts ...grpc.CallOption) (*MsgPostproofResponse, error)
	SignContract(ctx context.Context, in *MsgSignContract, opts ...grpc.CallOption) (*MsgSignContractResponse, error)
	SetProviderIP(ctx context.Context, in *MsgSetProviderIP, opts ...grpc.CallOption) (*MsgSetProviderIPResponse, error)
	SetProviderKeybase(ctx context.Context, in *MsgSetProviderKeybase, opts ...grpc.CallOption) (*MsgSetProviderKeybaseResponse, error)
	SetProviderTotalspace(ctx context.Context, in *MsgSetProviderTotalspace, opts ...grpc.CallOption) (*MsgSetProviderTotalspaceResponse, error)
	InitProvider(ctx context.Context, in *MsgInitProvider, opts ...grpc.CallOption) (*MsgInitProviderResponse, error)
	CancelContract(ctx context.Context, in *MsgCancelContract, opts ...grpc.CallOption) (*MsgCancelContractResponse, error)
	BuyStorage(ctx context.Context, in *MsgBuyStorage, opts ...grpc.CallOption) (*MsgBuyStorageResponse, error)
	ClaimStray(ctx context.Context, in *MsgClaimStray, opts ...grpc.CallOption) (*MsgClaimStrayResponse, error)
	UpgradeStorage(ctx context.Context, in *MsgUpgradeStorage, opts ...grpc.CallOption) (*MsgUpgradeStorageResponse, error)
	AddProviderClaimer(ctx context.Context, in *MsgAddClaimer, opts ...grpc.CallOption) (*MsgAddClaimerResponse, error)
	RemoveProviderClaimer(ctx context.Context, in *MsgRemoveClaimer, opts ...grpc.CallOption) (*MsgRemoveClaimerResponse, error)
}

MsgClient is the client API for Msg service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewMsgClient

func NewMsgClient(cc grpc1.ClientConn) MsgClient

type MsgInitProvider

type MsgInitProvider struct {
	Creator    string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Ip         string `protobuf:"bytes,2,opt,name=ip,proto3" json:"ip,omitempty"`
	Keybase    string `protobuf:"bytes,3,opt,name=keybase,proto3" json:"keybase,omitempty"`
	Totalspace string `protobuf:"bytes,4,opt,name=totalspace,proto3" json:"totalspace,omitempty"`
}

func NewMsgInitProvider

func NewMsgInitProvider(creator string, ip string, totalspace string, keybase string) *MsgInitProvider

func (*MsgInitProvider) Descriptor

func (*MsgInitProvider) Descriptor() ([]byte, []int)

func (*MsgInitProvider) GetCreator

func (m *MsgInitProvider) GetCreator() string

func (*MsgInitProvider) GetIp

func (m *MsgInitProvider) GetIp() string

func (*MsgInitProvider) GetKeybase

func (m *MsgInitProvider) GetKeybase() string

func (*MsgInitProvider) GetSignBytes

func (msg *MsgInitProvider) GetSignBytes() []byte

func (*MsgInitProvider) GetSigners

func (msg *MsgInitProvider) GetSigners() []sdk.AccAddress

func (*MsgInitProvider) GetTotalspace

func (m *MsgInitProvider) GetTotalspace() string

func (*MsgInitProvider) Marshal

func (m *MsgInitProvider) Marshal() (dAtA []byte, err error)

func (*MsgInitProvider) MarshalTo

func (m *MsgInitProvider) MarshalTo(dAtA []byte) (int, error)

func (*MsgInitProvider) MarshalToSizedBuffer

func (m *MsgInitProvider) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgInitProvider) ProtoMessage

func (*MsgInitProvider) ProtoMessage()

func (*MsgInitProvider) Reset

func (m *MsgInitProvider) Reset()

func (*MsgInitProvider) Route

func (msg *MsgInitProvider) Route() string

func (*MsgInitProvider) Size

func (m *MsgInitProvider) Size() (n int)

func (*MsgInitProvider) String

func (m *MsgInitProvider) String() string

func (*MsgInitProvider) Type

func (msg *MsgInitProvider) Type() string

func (*MsgInitProvider) Unmarshal

func (m *MsgInitProvider) Unmarshal(dAtA []byte) error

func (*MsgInitProvider) ValidateBasic

func (msg *MsgInitProvider) ValidateBasic() error

func (*MsgInitProvider) XXX_DiscardUnknown

func (m *MsgInitProvider) XXX_DiscardUnknown()

func (*MsgInitProvider) XXX_Marshal

func (m *MsgInitProvider) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgInitProvider) XXX_Merge

func (m *MsgInitProvider) XXX_Merge(src proto.Message)

func (*MsgInitProvider) XXX_Size

func (m *MsgInitProvider) XXX_Size() int

func (*MsgInitProvider) XXX_Unmarshal

func (m *MsgInitProvider) XXX_Unmarshal(b []byte) error

type MsgInitProviderResponse

type MsgInitProviderResponse struct {
}

func (*MsgInitProviderResponse) Descriptor

func (*MsgInitProviderResponse) Descriptor() ([]byte, []int)

func (*MsgInitProviderResponse) Marshal

func (m *MsgInitProviderResponse) Marshal() (dAtA []byte, err error)

func (*MsgInitProviderResponse) MarshalTo

func (m *MsgInitProviderResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgInitProviderResponse) MarshalToSizedBuffer

func (m *MsgInitProviderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgInitProviderResponse) ProtoMessage

func (*MsgInitProviderResponse) ProtoMessage()

func (*MsgInitProviderResponse) Reset

func (m *MsgInitProviderResponse) Reset()

func (*MsgInitProviderResponse) Size

func (m *MsgInitProviderResponse) Size() (n int)

func (*MsgInitProviderResponse) String

func (m *MsgInitProviderResponse) String() string

func (*MsgInitProviderResponse) Unmarshal

func (m *MsgInitProviderResponse) Unmarshal(dAtA []byte) error

func (*MsgInitProviderResponse) XXX_DiscardUnknown

func (m *MsgInitProviderResponse) XXX_DiscardUnknown()

func (*MsgInitProviderResponse) XXX_Marshal

func (m *MsgInitProviderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgInitProviderResponse) XXX_Merge

func (m *MsgInitProviderResponse) XXX_Merge(src proto.Message)

func (*MsgInitProviderResponse) XXX_Size

func (m *MsgInitProviderResponse) XXX_Size() int

func (*MsgInitProviderResponse) XXX_Unmarshal

func (m *MsgInitProviderResponse) XXX_Unmarshal(b []byte) error

type MsgPostContract

type MsgPostContract struct {
	Creator  string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Merkle   string `protobuf:"bytes,2,opt,name=merkle,proto3" json:"merkle,omitempty"`
	Signee   string `protobuf:"bytes,3,opt,name=signee,proto3" json:"signee,omitempty"`
	Filesize string `protobuf:"bytes,4,opt,name=filesize,proto3" json:"filesize,omitempty"`
	Fid      string `protobuf:"bytes,5,opt,name=fid,proto3" json:"fid,omitempty"`
}

func NewMsgPostContract

func NewMsgPostContract(creator string, signee string, filesize string, fid string, merkle string) *MsgPostContract

func (*MsgPostContract) Descriptor

func (*MsgPostContract) Descriptor() ([]byte, []int)

func (*MsgPostContract) GetCreator

func (m *MsgPostContract) GetCreator() string

func (*MsgPostContract) GetFid

func (m *MsgPostContract) GetFid() string

func (*MsgPostContract) GetFilesize

func (m *MsgPostContract) GetFilesize() string

func (*MsgPostContract) GetMerkle

func (m *MsgPostContract) GetMerkle() string

func (*MsgPostContract) GetSignBytes

func (msg *MsgPostContract) GetSignBytes() []byte

func (*MsgPostContract) GetSignee

func (m *MsgPostContract) GetSignee() string

func (*MsgPostContract) GetSigners

func (msg *MsgPostContract) GetSigners() []sdk.AccAddress

func (*MsgPostContract) Marshal

func (m *MsgPostContract) Marshal() (dAtA []byte, err error)

func (*MsgPostContract) MarshalTo

func (m *MsgPostContract) MarshalTo(dAtA []byte) (int, error)

func (*MsgPostContract) MarshalToSizedBuffer

func (m *MsgPostContract) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgPostContract) ProtoMessage

func (*MsgPostContract) ProtoMessage()

func (*MsgPostContract) Reset

func (m *MsgPostContract) Reset()

func (*MsgPostContract) Route

func (msg *MsgPostContract) Route() string

func (*MsgPostContract) Size

func (m *MsgPostContract) Size() (n int)

func (*MsgPostContract) String

func (m *MsgPostContract) String() string

func (*MsgPostContract) Type

func (msg *MsgPostContract) Type() string

func (*MsgPostContract) Unmarshal

func (m *MsgPostContract) Unmarshal(dAtA []byte) error

func (*MsgPostContract) ValidateBasic

func (msg *MsgPostContract) ValidateBasic() error

func (*MsgPostContract) XXX_DiscardUnknown

func (m *MsgPostContract) XXX_DiscardUnknown()

func (*MsgPostContract) XXX_Marshal

func (m *MsgPostContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgPostContract) XXX_Merge

func (m *MsgPostContract) XXX_Merge(src proto.Message)

func (*MsgPostContract) XXX_Size

func (m *MsgPostContract) XXX_Size() int

func (*MsgPostContract) XXX_Unmarshal

func (m *MsgPostContract) XXX_Unmarshal(b []byte) error

type MsgPostContractResponse

type MsgPostContractResponse struct {
}

func (*MsgPostContractResponse) Descriptor

func (*MsgPostContractResponse) Descriptor() ([]byte, []int)

func (*MsgPostContractResponse) Marshal

func (m *MsgPostContractResponse) Marshal() (dAtA []byte, err error)

func (*MsgPostContractResponse) MarshalTo

func (m *MsgPostContractResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgPostContractResponse) MarshalToSizedBuffer

func (m *MsgPostContractResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgPostContractResponse) ProtoMessage

func (*MsgPostContractResponse) ProtoMessage()

func (*MsgPostContractResponse) Reset

func (m *MsgPostContractResponse) Reset()

func (*MsgPostContractResponse) Size

func (m *MsgPostContractResponse) Size() (n int)

func (*MsgPostContractResponse) String

func (m *MsgPostContractResponse) String() string

func (*MsgPostContractResponse) Unmarshal

func (m *MsgPostContractResponse) Unmarshal(dAtA []byte) error

func (*MsgPostContractResponse) XXX_DiscardUnknown

func (m *MsgPostContractResponse) XXX_DiscardUnknown()

func (*MsgPostContractResponse) XXX_Marshal

func (m *MsgPostContractResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgPostContractResponse) XXX_Merge

func (m *MsgPostContractResponse) XXX_Merge(src proto.Message)

func (*MsgPostContractResponse) XXX_Size

func (m *MsgPostContractResponse) XXX_Size() int

func (*MsgPostContractResponse) XXX_Unmarshal

func (m *MsgPostContractResponse) XXX_Unmarshal(b []byte) error

type MsgPostproof

type MsgPostproof struct {
	Creator  string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Item     string `protobuf:"bytes,2,opt,name=item,proto3" json:"item,omitempty"`
	Hashlist string `protobuf:"bytes,3,opt,name=hashlist,proto3" json:"hashlist,omitempty"`
	Cid      string `protobuf:"bytes,4,opt,name=cid,proto3" json:"cid,omitempty"`
}

func NewMsgPostproof

func NewMsgPostproof(creator string, item string, hashlist string, cid string) *MsgPostproof

func (*MsgPostproof) Descriptor

func (*MsgPostproof) Descriptor() ([]byte, []int)

func (*MsgPostproof) GetCid

func (m *MsgPostproof) GetCid() string

func (*MsgPostproof) GetCreator

func (m *MsgPostproof) GetCreator() string

func (*MsgPostproof) GetHashlist

func (m *MsgPostproof) GetHashlist() string

func (*MsgPostproof) GetItem

func (m *MsgPostproof) GetItem() string

func (*MsgPostproof) GetSignBytes

func (msg *MsgPostproof) GetSignBytes() []byte

func (*MsgPostproof) GetSigners

func (msg *MsgPostproof) GetSigners() []sdk.AccAddress

func (*MsgPostproof) Marshal

func (m *MsgPostproof) Marshal() (dAtA []byte, err error)

func (*MsgPostproof) MarshalTo

func (m *MsgPostproof) MarshalTo(dAtA []byte) (int, error)

func (*MsgPostproof) MarshalToSizedBuffer

func (m *MsgPostproof) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgPostproof) ProtoMessage

func (*MsgPostproof) ProtoMessage()

func (*MsgPostproof) Reset

func (m *MsgPostproof) Reset()

func (*MsgPostproof) Route

func (msg *MsgPostproof) Route() string

func (*MsgPostproof) Size

func (m *MsgPostproof) Size() (n int)

func (*MsgPostproof) String

func (m *MsgPostproof) String() string

func (*MsgPostproof) Type

func (msg *MsgPostproof) Type() string

func (*MsgPostproof) Unmarshal

func (m *MsgPostproof) Unmarshal(dAtA []byte) error

func (*MsgPostproof) ValidateBasic

func (msg *MsgPostproof) ValidateBasic() error

func (*MsgPostproof) XXX_DiscardUnknown

func (m *MsgPostproof) XXX_DiscardUnknown()

func (*MsgPostproof) XXX_Marshal

func (m *MsgPostproof) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgPostproof) XXX_Merge

func (m *MsgPostproof) XXX_Merge(src proto.Message)

func (*MsgPostproof) XXX_Size

func (m *MsgPostproof) XXX_Size() int

func (*MsgPostproof) XXX_Unmarshal

func (m *MsgPostproof) XXX_Unmarshal(b []byte) error

type MsgPostproofResponse

type MsgPostproofResponse struct {
	Success      bool   `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	ErrorMessage string `protobuf:"bytes,2,opt,name=errorMessage,proto3" json:"errorMessage,omitempty"`
}

func (*MsgPostproofResponse) Descriptor

func (*MsgPostproofResponse) Descriptor() ([]byte, []int)

func (*MsgPostproofResponse) GetErrorMessage

func (m *MsgPostproofResponse) GetErrorMessage() string

func (*MsgPostproofResponse) GetSuccess

func (m *MsgPostproofResponse) GetSuccess() bool

func (*MsgPostproofResponse) Marshal

func (m *MsgPostproofResponse) Marshal() (dAtA []byte, err error)

func (*MsgPostproofResponse) MarshalTo

func (m *MsgPostproofResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgPostproofResponse) MarshalToSizedBuffer

func (m *MsgPostproofResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgPostproofResponse) ProtoMessage

func (*MsgPostproofResponse) ProtoMessage()

func (*MsgPostproofResponse) Reset

func (m *MsgPostproofResponse) Reset()

func (*MsgPostproofResponse) Size

func (m *MsgPostproofResponse) Size() (n int)

func (*MsgPostproofResponse) String

func (m *MsgPostproofResponse) String() string

func (*MsgPostproofResponse) Unmarshal

func (m *MsgPostproofResponse) Unmarshal(dAtA []byte) error

func (*MsgPostproofResponse) XXX_DiscardUnknown

func (m *MsgPostproofResponse) XXX_DiscardUnknown()

func (*MsgPostproofResponse) XXX_Marshal

func (m *MsgPostproofResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgPostproofResponse) XXX_Merge

func (m *MsgPostproofResponse) XXX_Merge(src proto.Message)

func (*MsgPostproofResponse) XXX_Size

func (m *MsgPostproofResponse) XXX_Size() int

func (*MsgPostproofResponse) XXX_Unmarshal

func (m *MsgPostproofResponse) XXX_Unmarshal(b []byte) error

type MsgRemoveClaimer

type MsgRemoveClaimer struct {
	Creator      string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	ClaimAddress string `protobuf:"bytes,2,opt,name=claim_address,json=claimAddress,proto3" json:"claim_address,omitempty"`
}

func NewMsgRemoveClaimer

func NewMsgRemoveClaimer(creator string, claimer string) *MsgRemoveClaimer

func (*MsgRemoveClaimer) Descriptor

func (*MsgRemoveClaimer) Descriptor() ([]byte, []int)

func (*MsgRemoveClaimer) GetClaimAddress

func (m *MsgRemoveClaimer) GetClaimAddress() string

func (*MsgRemoveClaimer) GetCreator

func (m *MsgRemoveClaimer) GetCreator() string

func (*MsgRemoveClaimer) GetSignBytes

func (msg *MsgRemoveClaimer) GetSignBytes() []byte

func (*MsgRemoveClaimer) GetSigners

func (msg *MsgRemoveClaimer) GetSigners() []sdk.AccAddress

func (*MsgRemoveClaimer) Marshal

func (m *MsgRemoveClaimer) Marshal() (dAtA []byte, err error)

func (*MsgRemoveClaimer) MarshalTo

func (m *MsgRemoveClaimer) MarshalTo(dAtA []byte) (int, error)

func (*MsgRemoveClaimer) MarshalToSizedBuffer

func (m *MsgRemoveClaimer) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgRemoveClaimer) ProtoMessage

func (*MsgRemoveClaimer) ProtoMessage()

func (*MsgRemoveClaimer) Reset

func (m *MsgRemoveClaimer) Reset()

func (*MsgRemoveClaimer) Route

func (msg *MsgRemoveClaimer) Route() string

func (*MsgRemoveClaimer) Size

func (m *MsgRemoveClaimer) Size() (n int)

func (*MsgRemoveClaimer) String

func (m *MsgRemoveClaimer) String() string

func (*MsgRemoveClaimer) Type

func (msg *MsgRemoveClaimer) Type() string

func (*MsgRemoveClaimer) Unmarshal

func (m *MsgRemoveClaimer) Unmarshal(dAtA []byte) error

func (*MsgRemoveClaimer) ValidateBasic

func (msg *MsgRemoveClaimer) ValidateBasic() error

func (*MsgRemoveClaimer) XXX_DiscardUnknown

func (m *MsgRemoveClaimer) XXX_DiscardUnknown()

func (*MsgRemoveClaimer) XXX_Marshal

func (m *MsgRemoveClaimer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgRemoveClaimer) XXX_Merge

func (m *MsgRemoveClaimer) XXX_Merge(src proto.Message)

func (*MsgRemoveClaimer) XXX_Size

func (m *MsgRemoveClaimer) XXX_Size() int

func (*MsgRemoveClaimer) XXX_Unmarshal

func (m *MsgRemoveClaimer) XXX_Unmarshal(b []byte) error

type MsgRemoveClaimerResponse

type MsgRemoveClaimerResponse struct {
}

func (*MsgRemoveClaimerResponse) Descriptor

func (*MsgRemoveClaimerResponse) Descriptor() ([]byte, []int)

func (*MsgRemoveClaimerResponse) Marshal

func (m *MsgRemoveClaimerResponse) Marshal() (dAtA []byte, err error)

func (*MsgRemoveClaimerResponse) MarshalTo

func (m *MsgRemoveClaimerResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgRemoveClaimerResponse) MarshalToSizedBuffer

func (m *MsgRemoveClaimerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgRemoveClaimerResponse) ProtoMessage

func (*MsgRemoveClaimerResponse) ProtoMessage()

func (*MsgRemoveClaimerResponse) Reset

func (m *MsgRemoveClaimerResponse) Reset()

func (*MsgRemoveClaimerResponse) Size

func (m *MsgRemoveClaimerResponse) Size() (n int)

func (*MsgRemoveClaimerResponse) String

func (m *MsgRemoveClaimerResponse) String() string

func (*MsgRemoveClaimerResponse) Unmarshal

func (m *MsgRemoveClaimerResponse) Unmarshal(dAtA []byte) error

func (*MsgRemoveClaimerResponse) XXX_DiscardUnknown

func (m *MsgRemoveClaimerResponse) XXX_DiscardUnknown()

func (*MsgRemoveClaimerResponse) XXX_Marshal

func (m *MsgRemoveClaimerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgRemoveClaimerResponse) XXX_Merge

func (m *MsgRemoveClaimerResponse) XXX_Merge(src proto.Message)

func (*MsgRemoveClaimerResponse) XXX_Size

func (m *MsgRemoveClaimerResponse) XXX_Size() int

func (*MsgRemoveClaimerResponse) XXX_Unmarshal

func (m *MsgRemoveClaimerResponse) XXX_Unmarshal(b []byte) error

type MsgSetProviderIP

type MsgSetProviderIP struct {
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Ip      string `protobuf:"bytes,2,opt,name=ip,proto3" json:"ip,omitempty"`
}

func NewMsgSetProviderIP

func NewMsgSetProviderIP(creator string, ip string) *MsgSetProviderIP

func (*MsgSetProviderIP) Descriptor

func (*MsgSetProviderIP) Descriptor() ([]byte, []int)

func (*MsgSetProviderIP) GetCreator

func (m *MsgSetProviderIP) GetCreator() string

func (*MsgSetProviderIP) GetIp

func (m *MsgSetProviderIP) GetIp() string

func (*MsgSetProviderIP) GetSignBytes

func (msg *MsgSetProviderIP) GetSignBytes() []byte

func (*MsgSetProviderIP) GetSigners

func (msg *MsgSetProviderIP) GetSigners() []sdk.AccAddress

func (*MsgSetProviderIP) Marshal

func (m *MsgSetProviderIP) Marshal() (dAtA []byte, err error)

func (*MsgSetProviderIP) MarshalTo

func (m *MsgSetProviderIP) MarshalTo(dAtA []byte) (int, error)

func (*MsgSetProviderIP) MarshalToSizedBuffer

func (m *MsgSetProviderIP) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgSetProviderIP) ProtoMessage

func (*MsgSetProviderIP) ProtoMessage()

func (*MsgSetProviderIP) Reset

func (m *MsgSetProviderIP) Reset()

func (*MsgSetProviderIP) Route

func (msg *MsgSetProviderIP) Route() string

func (*MsgSetProviderIP) Size

func (m *MsgSetProviderIP) Size() (n int)

func (*MsgSetProviderIP) String

func (m *MsgSetProviderIP) String() string

func (*MsgSetProviderIP) Type

func (msg *MsgSetProviderIP) Type() string

func (*MsgSetProviderIP) Unmarshal

func (m *MsgSetProviderIP) Unmarshal(dAtA []byte) error

func (*MsgSetProviderIP) ValidateBasic

func (msg *MsgSetProviderIP) ValidateBasic() error

func (*MsgSetProviderIP) XXX_DiscardUnknown

func (m *MsgSetProviderIP) XXX_DiscardUnknown()

func (*MsgSetProviderIP) XXX_Marshal

func (m *MsgSetProviderIP) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgSetProviderIP) XXX_Merge

func (m *MsgSetProviderIP) XXX_Merge(src proto.Message)

func (*MsgSetProviderIP) XXX_Size

func (m *MsgSetProviderIP) XXX_Size() int

func (*MsgSetProviderIP) XXX_Unmarshal

func (m *MsgSetProviderIP) XXX_Unmarshal(b []byte) error

type MsgSetProviderIPResponse

type MsgSetProviderIPResponse struct {
}

func (*MsgSetProviderIPResponse) Descriptor

func (*MsgSetProviderIPResponse) Descriptor() ([]byte, []int)

func (*MsgSetProviderIPResponse) Marshal

func (m *MsgSetProviderIPResponse) Marshal() (dAtA []byte, err error)

func (*MsgSetProviderIPResponse) MarshalTo

func (m *MsgSetProviderIPResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgSetProviderIPResponse) MarshalToSizedBuffer

func (m *MsgSetProviderIPResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgSetProviderIPResponse) ProtoMessage

func (*MsgSetProviderIPResponse) ProtoMessage()

func (*MsgSetProviderIPResponse) Reset

func (m *MsgSetProviderIPResponse) Reset()

func (*MsgSetProviderIPResponse) Size

func (m *MsgSetProviderIPResponse) Size() (n int)

func (*MsgSetProviderIPResponse) String

func (m *MsgSetProviderIPResponse) String() string

func (*MsgSetProviderIPResponse) Unmarshal

func (m *MsgSetProviderIPResponse) Unmarshal(dAtA []byte) error

func (*MsgSetProviderIPResponse) XXX_DiscardUnknown

func (m *MsgSetProviderIPResponse) XXX_DiscardUnknown()

func (*MsgSetProviderIPResponse) XXX_Marshal

func (m *MsgSetProviderIPResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgSetProviderIPResponse) XXX_Merge

func (m *MsgSetProviderIPResponse) XXX_Merge(src proto.Message)

func (*MsgSetProviderIPResponse) XXX_Size

func (m *MsgSetProviderIPResponse) XXX_Size() int

func (*MsgSetProviderIPResponse) XXX_Unmarshal

func (m *MsgSetProviderIPResponse) XXX_Unmarshal(b []byte) error

type MsgSetProviderKeybase

type MsgSetProviderKeybase struct {
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Keybase string `protobuf:"bytes,2,opt,name=keybase,proto3" json:"keybase,omitempty"`
}

func NewMsgSetProviderKeybase

func NewMsgSetProviderKeybase(creator string, key string) *MsgSetProviderKeybase

func (*MsgSetProviderKeybase) Descriptor

func (*MsgSetProviderKeybase) Descriptor() ([]byte, []int)

func (*MsgSetProviderKeybase) GetCreator

func (m *MsgSetProviderKeybase) GetCreator() string

func (*MsgSetProviderKeybase) GetKeybase

func (m *MsgSetProviderKeybase) GetKeybase() string

func (*MsgSetProviderKeybase) GetSignBytes

func (msg *MsgSetProviderKeybase) GetSignBytes() []byte

func (*MsgSetProviderKeybase) GetSigners

func (msg *MsgSetProviderKeybase) GetSigners() []sdk.AccAddress

func (*MsgSetProviderKeybase) Marshal

func (m *MsgSetProviderKeybase) Marshal() (dAtA []byte, err error)

func (*MsgSetProviderKeybase) MarshalTo

func (m *MsgSetProviderKeybase) MarshalTo(dAtA []byte) (int, error)

func (*MsgSetProviderKeybase) MarshalToSizedBuffer

func (m *MsgSetProviderKeybase) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgSetProviderKeybase) ProtoMessage

func (*MsgSetProviderKeybase) ProtoMessage()

func (*MsgSetProviderKeybase) Reset

func (m *MsgSetProviderKeybase) Reset()

func (*MsgSetProviderKeybase) Route

func (msg *MsgSetProviderKeybase) Route() string

func (*MsgSetProviderKeybase) Size

func (m *MsgSetProviderKeybase) Size() (n int)

func (*MsgSetProviderKeybase) String

func (m *MsgSetProviderKeybase) String() string

func (*MsgSetProviderKeybase) Type

func (msg *MsgSetProviderKeybase) Type() string

func (*MsgSetProviderKeybase) Unmarshal

func (m *MsgSetProviderKeybase) Unmarshal(dAtA []byte) error

func (*MsgSetProviderKeybase) ValidateBasic

func (msg *MsgSetProviderKeybase) ValidateBasic() error

func (*MsgSetProviderKeybase) XXX_DiscardUnknown

func (m *MsgSetProviderKeybase) XXX_DiscardUnknown()

func (*MsgSetProviderKeybase) XXX_Marshal

func (m *MsgSetProviderKeybase) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgSetProviderKeybase) XXX_Merge

func (m *MsgSetProviderKeybase) XXX_Merge(src proto.Message)

func (*MsgSetProviderKeybase) XXX_Size

func (m *MsgSetProviderKeybase) XXX_Size() int

func (*MsgSetProviderKeybase) XXX_Unmarshal

func (m *MsgSetProviderKeybase) XXX_Unmarshal(b []byte) error

type MsgSetProviderKeybaseResponse

type MsgSetProviderKeybaseResponse struct {
}

func (*MsgSetProviderKeybaseResponse) Descriptor

func (*MsgSetProviderKeybaseResponse) Descriptor() ([]byte, []int)

func (*MsgSetProviderKeybaseResponse) Marshal

func (m *MsgSetProviderKeybaseResponse) Marshal() (dAtA []byte, err error)

func (*MsgSetProviderKeybaseResponse) MarshalTo

func (m *MsgSetProviderKeybaseResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgSetProviderKeybaseResponse) MarshalToSizedBuffer

func (m *MsgSetProviderKeybaseResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgSetProviderKeybaseResponse) ProtoMessage

func (*MsgSetProviderKeybaseResponse) ProtoMessage()

func (*MsgSetProviderKeybaseResponse) Reset

func (m *MsgSetProviderKeybaseResponse) Reset()

func (*MsgSetProviderKeybaseResponse) Size

func (m *MsgSetProviderKeybaseResponse) Size() (n int)

func (*MsgSetProviderKeybaseResponse) String

func (*MsgSetProviderKeybaseResponse) Unmarshal

func (m *MsgSetProviderKeybaseResponse) Unmarshal(dAtA []byte) error

func (*MsgSetProviderKeybaseResponse) XXX_DiscardUnknown

func (m *MsgSetProviderKeybaseResponse) XXX_DiscardUnknown()

func (*MsgSetProviderKeybaseResponse) XXX_Marshal

func (m *MsgSetProviderKeybaseResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgSetProviderKeybaseResponse) XXX_Merge

func (m *MsgSetProviderKeybaseResponse) XXX_Merge(src proto.Message)

func (*MsgSetProviderKeybaseResponse) XXX_Size

func (m *MsgSetProviderKeybaseResponse) XXX_Size() int

func (*MsgSetProviderKeybaseResponse) XXX_Unmarshal

func (m *MsgSetProviderKeybaseResponse) XXX_Unmarshal(b []byte) error

type MsgSetProviderTotalspace

type MsgSetProviderTotalspace struct {
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Space   string `protobuf:"bytes,2,opt,name=space,proto3" json:"space,omitempty"`
}

func NewMsgSetProviderTotalspace

func NewMsgSetProviderTotalspace(creator string, space string) *MsgSetProviderTotalspace

func (*MsgSetProviderTotalspace) Descriptor

func (*MsgSetProviderTotalspace) Descriptor() ([]byte, []int)

func (*MsgSetProviderTotalspace) GetCreator

func (m *MsgSetProviderTotalspace) GetCreator() string

func (*MsgSetProviderTotalspace) GetSignBytes

func (msg *MsgSetProviderTotalspace) GetSignBytes() []byte

func (*MsgSetProviderTotalspace) GetSigners

func (msg *MsgSetProviderTotalspace) GetSigners() []sdk.AccAddress

func (*MsgSetProviderTotalspace) GetSpace

func (m *MsgSetProviderTotalspace) GetSpace() string

func (*MsgSetProviderTotalspace) Marshal

func (m *MsgSetProviderTotalspace) Marshal() (dAtA []byte, err error)

func (*MsgSetProviderTotalspace) MarshalTo

func (m *MsgSetProviderTotalspace) MarshalTo(dAtA []byte) (int, error)

func (*MsgSetProviderTotalspace) MarshalToSizedBuffer

func (m *MsgSetProviderTotalspace) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgSetProviderTotalspace) ProtoMessage

func (*MsgSetProviderTotalspace) ProtoMessage()

func (*MsgSetProviderTotalspace) Reset

func (m *MsgSetProviderTotalspace) Reset()

func (*MsgSetProviderTotalspace) Route

func (msg *MsgSetProviderTotalspace) Route() string

func (*MsgSetProviderTotalspace) Size

func (m *MsgSetProviderTotalspace) Size() (n int)

func (*MsgSetProviderTotalspace) String

func (m *MsgSetProviderTotalspace) String() string

func (*MsgSetProviderTotalspace) Type

func (msg *MsgSetProviderTotalspace) Type() string

func (*MsgSetProviderTotalspace) Unmarshal

func (m *MsgSetProviderTotalspace) Unmarshal(dAtA []byte) error

func (*MsgSetProviderTotalspace) ValidateBasic

func (msg *MsgSetProviderTotalspace) ValidateBasic() error

func (*MsgSetProviderTotalspace) XXX_DiscardUnknown

func (m *MsgSetProviderTotalspace) XXX_DiscardUnknown()

func (*MsgSetProviderTotalspace) XXX_Marshal

func (m *MsgSetProviderTotalspace) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgSetProviderTotalspace) XXX_Merge

func (m *MsgSetProviderTotalspace) XXX_Merge(src proto.Message)

func (*MsgSetProviderTotalspace) XXX_Size

func (m *MsgSetProviderTotalspace) XXX_Size() int

func (*MsgSetProviderTotalspace) XXX_Unmarshal

func (m *MsgSetProviderTotalspace) XXX_Unmarshal(b []byte) error

type MsgSetProviderTotalspaceResponse

type MsgSetProviderTotalspaceResponse struct {
}

func (*MsgSetProviderTotalspaceResponse) Descriptor

func (*MsgSetProviderTotalspaceResponse) Descriptor() ([]byte, []int)

func (*MsgSetProviderTotalspaceResponse) Marshal

func (m *MsgSetProviderTotalspaceResponse) Marshal() (dAtA []byte, err error)

func (*MsgSetProviderTotalspaceResponse) MarshalTo

func (m *MsgSetProviderTotalspaceResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgSetProviderTotalspaceResponse) MarshalToSizedBuffer

func (m *MsgSetProviderTotalspaceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgSetProviderTotalspaceResponse) ProtoMessage

func (*MsgSetProviderTotalspaceResponse) ProtoMessage()

func (*MsgSetProviderTotalspaceResponse) Reset

func (*MsgSetProviderTotalspaceResponse) Size

func (m *MsgSetProviderTotalspaceResponse) Size() (n int)

func (*MsgSetProviderTotalspaceResponse) String

func (*MsgSetProviderTotalspaceResponse) Unmarshal

func (m *MsgSetProviderTotalspaceResponse) Unmarshal(dAtA []byte) error

func (*MsgSetProviderTotalspaceResponse) XXX_DiscardUnknown

func (m *MsgSetProviderTotalspaceResponse) XXX_DiscardUnknown()

func (*MsgSetProviderTotalspaceResponse) XXX_Marshal

func (m *MsgSetProviderTotalspaceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgSetProviderTotalspaceResponse) XXX_Merge

func (*MsgSetProviderTotalspaceResponse) XXX_Size

func (m *MsgSetProviderTotalspaceResponse) XXX_Size() int

func (*MsgSetProviderTotalspaceResponse) XXX_Unmarshal

func (m *MsgSetProviderTotalspaceResponse) XXX_Unmarshal(b []byte) error

type MsgSignContract

type MsgSignContract struct {
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Cid     string `protobuf:"bytes,2,opt,name=cid,proto3" json:"cid,omitempty"`
	PayOnce bool   `protobuf:"varint,3,opt,name=pay_once,json=payOnce,proto3" json:"pay_once,omitempty"`
}

func NewMsgSignContract

func NewMsgSignContract(creator string, cid string, payOnce bool) *MsgSignContract

func (*MsgSignContract) Descriptor

func (*MsgSignContract) Descriptor() ([]byte, []int)

func (*MsgSignContract) GetCid

func (m *MsgSignContract) GetCid() string

func (*MsgSignContract) GetCreator

func (m *MsgSignContract) GetCreator() string

func (*MsgSignContract) GetPayOnce

func (m *MsgSignContract) GetPayOnce() bool

func (*MsgSignContract) GetSignBytes

func (msg *MsgSignContract) GetSignBytes() []byte

func (*MsgSignContract) GetSigners

func (msg *MsgSignContract) GetSigners() []sdk.AccAddress

func (*MsgSignContract) Marshal

func (m *MsgSignContract) Marshal() (dAtA []byte, err error)

func (*MsgSignContract) MarshalTo

func (m *MsgSignContract) MarshalTo(dAtA []byte) (int, error)

func (*MsgSignContract) MarshalToSizedBuffer

func (m *MsgSignContract) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgSignContract) ProtoMessage

func (*MsgSignContract) ProtoMessage()

func (*MsgSignContract) Reset

func (m *MsgSignContract) Reset()

func (*MsgSignContract) Route

func (msg *MsgSignContract) Route() string

func (*MsgSignContract) Size

func (m *MsgSignContract) Size() (n int)

func (*MsgSignContract) String

func (m *MsgSignContract) String() string

func (*MsgSignContract) Type

func (msg *MsgSignContract) Type() string

func (*MsgSignContract) Unmarshal

func (m *MsgSignContract) Unmarshal(dAtA []byte) error

func (*MsgSignContract) ValidateBasic

func (msg *MsgSignContract) ValidateBasic() error

func (*MsgSignContract) XXX_DiscardUnknown

func (m *MsgSignContract) XXX_DiscardUnknown()

func (*MsgSignContract) XXX_Marshal

func (m *MsgSignContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgSignContract) XXX_Merge

func (m *MsgSignContract) XXX_Merge(src proto.Message)

func (*MsgSignContract) XXX_Size

func (m *MsgSignContract) XXX_Size() int

func (*MsgSignContract) XXX_Unmarshal

func (m *MsgSignContract) XXX_Unmarshal(b []byte) error

type MsgSignContractResponse

type MsgSignContractResponse struct {
}

func (*MsgSignContractResponse) Descriptor

func (*MsgSignContractResponse) Descriptor() ([]byte, []int)

func (*MsgSignContractResponse) Marshal

func (m *MsgSignContractResponse) Marshal() (dAtA []byte, err error)

func (*MsgSignContractResponse) MarshalTo

func (m *MsgSignContractResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgSignContractResponse) MarshalToSizedBuffer

func (m *MsgSignContractResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgSignContractResponse) ProtoMessage

func (*MsgSignContractResponse) ProtoMessage()

func (*MsgSignContractResponse) Reset

func (m *MsgSignContractResponse) Reset()

func (*MsgSignContractResponse) Size

func (m *MsgSignContractResponse) Size() (n int)

func (*MsgSignContractResponse) String

func (m *MsgSignContractResponse) String() string

func (*MsgSignContractResponse) Unmarshal

func (m *MsgSignContractResponse) Unmarshal(dAtA []byte) error

func (*MsgSignContractResponse) XXX_DiscardUnknown

func (m *MsgSignContractResponse) XXX_DiscardUnknown()

func (*MsgSignContractResponse) XXX_Marshal

func (m *MsgSignContractResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgSignContractResponse) XXX_Merge

func (m *MsgSignContractResponse) XXX_Merge(src proto.Message)

func (*MsgSignContractResponse) XXX_Size

func (m *MsgSignContractResponse) XXX_Size() int

func (*MsgSignContractResponse) XXX_Unmarshal

func (m *MsgSignContractResponse) XXX_Unmarshal(b []byte) error

type MsgUpgradeStorage

type MsgUpgradeStorage struct {
	Creator      string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	ForAddress   string `protobuf:"bytes,2,opt,name=for_address,json=forAddress,proto3" json:"for_address,omitempty"`
	Duration     string `protobuf:"bytes,3,opt,name=duration,proto3" json:"duration,omitempty"`
	Bytes        string `protobuf:"bytes,4,opt,name=bytes,proto3" json:"bytes,omitempty"`
	PaymentDenom string `protobuf:"bytes,5,opt,name=payment_denom,json=paymentDenom,proto3" json:"payment_denom,omitempty"`
}

func NewMsgUpgradeStorage

func NewMsgUpgradeStorage(creator string, forAddress string, duration string, bytes string, paymentDenom string) *MsgUpgradeStorage

func (*MsgUpgradeStorage) Descriptor

func (*MsgUpgradeStorage) Descriptor() ([]byte, []int)

func (*MsgUpgradeStorage) GetBytes

func (m *MsgUpgradeStorage) GetBytes() string

func (*MsgUpgradeStorage) GetCreator

func (m *MsgUpgradeStorage) GetCreator() string

func (*MsgUpgradeStorage) GetDuration

func (m *MsgUpgradeStorage) GetDuration() string

func (*MsgUpgradeStorage) GetForAddress

func (m *MsgUpgradeStorage) GetForAddress() string

func (*MsgUpgradeStorage) GetPaymentDenom

func (m *MsgUpgradeStorage) GetPaymentDenom() string

func (*MsgUpgradeStorage) GetSignBytes

func (msg *MsgUpgradeStorage) GetSignBytes() []byte

func (*MsgUpgradeStorage) GetSigners

func (msg *MsgUpgradeStorage) GetSigners() []sdk.AccAddress

func (*MsgUpgradeStorage) Marshal

func (m *MsgUpgradeStorage) Marshal() (dAtA []byte, err error)

func (*MsgUpgradeStorage) MarshalTo

func (m *MsgUpgradeStorage) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpgradeStorage) MarshalToSizedBuffer

func (m *MsgUpgradeStorage) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpgradeStorage) ProtoMessage

func (*MsgUpgradeStorage) ProtoMessage()

func (*MsgUpgradeStorage) Reset

func (m *MsgUpgradeStorage) Reset()

func (*MsgUpgradeStorage) Route

func (msg *MsgUpgradeStorage) Route() string

func (*MsgUpgradeStorage) Size

func (m *MsgUpgradeStorage) Size() (n int)

func (*MsgUpgradeStorage) String

func (m *MsgUpgradeStorage) String() string

func (*MsgUpgradeStorage) Type

func (msg *MsgUpgradeStorage) Type() string

func (*MsgUpgradeStorage) Unmarshal

func (m *MsgUpgradeStorage) Unmarshal(dAtA []byte) error

func (*MsgUpgradeStorage) ValidateBasic

func (msg *MsgUpgradeStorage) ValidateBasic() error

func (*MsgUpgradeStorage) XXX_DiscardUnknown

func (m *MsgUpgradeStorage) XXX_DiscardUnknown()

func (*MsgUpgradeStorage) XXX_Marshal

func (m *MsgUpgradeStorage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpgradeStorage) XXX_Merge

func (m *MsgUpgradeStorage) XXX_Merge(src proto.Message)

func (*MsgUpgradeStorage) XXX_Size

func (m *MsgUpgradeStorage) XXX_Size() int

func (*MsgUpgradeStorage) XXX_Unmarshal

func (m *MsgUpgradeStorage) XXX_Unmarshal(b []byte) error

type MsgUpgradeStorageResponse

type MsgUpgradeStorageResponse struct {
}

func (*MsgUpgradeStorageResponse) Descriptor

func (*MsgUpgradeStorageResponse) Descriptor() ([]byte, []int)

func (*MsgUpgradeStorageResponse) Marshal

func (m *MsgUpgradeStorageResponse) Marshal() (dAtA []byte, err error)

func (*MsgUpgradeStorageResponse) MarshalTo

func (m *MsgUpgradeStorageResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpgradeStorageResponse) MarshalToSizedBuffer

func (m *MsgUpgradeStorageResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpgradeStorageResponse) ProtoMessage

func (*MsgUpgradeStorageResponse) ProtoMessage()

func (*MsgUpgradeStorageResponse) Reset

func (m *MsgUpgradeStorageResponse) Reset()

func (*MsgUpgradeStorageResponse) Size

func (m *MsgUpgradeStorageResponse) Size() (n int)

func (*MsgUpgradeStorageResponse) String

func (m *MsgUpgradeStorageResponse) String() string

func (*MsgUpgradeStorageResponse) Unmarshal

func (m *MsgUpgradeStorageResponse) Unmarshal(dAtA []byte) error

func (*MsgUpgradeStorageResponse) XXX_DiscardUnknown

func (m *MsgUpgradeStorageResponse) XXX_DiscardUnknown()

func (*MsgUpgradeStorageResponse) XXX_Marshal

func (m *MsgUpgradeStorageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpgradeStorageResponse) XXX_Merge

func (m *MsgUpgradeStorageResponse) XXX_Merge(src proto.Message)

func (*MsgUpgradeStorageResponse) XXX_Size

func (m *MsgUpgradeStorageResponse) XXX_Size() int

func (*MsgUpgradeStorageResponse) XXX_Unmarshal

func (m *MsgUpgradeStorageResponse) XXX_Unmarshal(b []byte) error

type OracleKeeper

type OracleKeeper interface {
	GetFeed(ctx sdk.Context, index string) (val oracletypes.Feed, found bool)
}

type Params

type Params struct {
	DepositAccount string `protobuf:"bytes,1,opt,name=deposit_account,json=depositAccount,proto3" json:"deposit_account,omitempty"`
	ProofWindow    int64  `protobuf:"varint,2,opt,name=proof_window,json=proofWindow,proto3" json:"proof_window,omitempty"`
}

Params defines the parameters for the module.

func DefaultParams

func DefaultParams() Params

DefaultParams returns a default set of parameters

func NewParams

func NewParams() Params

NewParams creates a new Params instance

func (*Params) Descriptor

func (*Params) Descriptor() ([]byte, []int)

func (*Params) GetDepositAccount

func (m *Params) GetDepositAccount() string

func (*Params) GetProofWindow

func (m *Params) GetProofWindow() int64

func (*Params) Marshal

func (m *Params) Marshal() (dAtA []byte, err error)

func (*Params) MarshalTo

func (m *Params) MarshalTo(dAtA []byte) (int, error)

func (*Params) MarshalToSizedBuffer

func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Params) ParamSetPairs

func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs

ParamSetPairs get the params.ParamSet

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) Reset

func (m *Params) Reset()

func (*Params) Size

func (m *Params) Size() (n int)

func (Params) String

func (p Params) String() string

String implements the Stringer interface.

func (*Params) Unmarshal

func (m *Params) Unmarshal(dAtA []byte) error

func (Params) Validate

func (p Params) Validate() error

Validate validates the set of params

func (*Params) XXX_DiscardUnknown

func (m *Params) XXX_DiscardUnknown()

func (*Params) XXX_Marshal

func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Params) XXX_Merge

func (m *Params) XXX_Merge(src proto.Message)

func (*Params) XXX_Size

func (m *Params) XXX_Size() int

func (*Params) XXX_Unmarshal

func (m *Params) XXX_Unmarshal(b []byte) error

type Proofs

type Proofs struct {
	Cid     string `protobuf:"bytes,1,opt,name=cid,proto3" json:"cid,omitempty"`
	Item    string `protobuf:"bytes,2,opt,name=item,proto3" json:"item,omitempty"`
	Hashes  string `protobuf:"bytes,3,opt,name=hashes,proto3" json:"hashes,omitempty"`
	Creator string `protobuf:"bytes,4,opt,name=creator,proto3" json:"creator,omitempty"`
}

func (*Proofs) Descriptor

func (*Proofs) Descriptor() ([]byte, []int)

func (*Proofs) GetCid

func (m *Proofs) GetCid() string

func (*Proofs) GetCreator

func (m *Proofs) GetCreator() string

func (*Proofs) GetHashes

func (m *Proofs) GetHashes() string

func (*Proofs) GetItem

func (m *Proofs) GetItem() string

func (*Proofs) Marshal

func (m *Proofs) Marshal() (dAtA []byte, err error)

func (*Proofs) MarshalTo

func (m *Proofs) MarshalTo(dAtA []byte) (int, error)

func (*Proofs) MarshalToSizedBuffer

func (m *Proofs) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Proofs) ProtoMessage

func (*Proofs) ProtoMessage()

func (*Proofs) Reset

func (m *Proofs) Reset()

func (*Proofs) Size

func (m *Proofs) Size() (n int)

func (*Proofs) String

func (m *Proofs) String() string

func (*Proofs) Unmarshal

func (m *Proofs) Unmarshal(dAtA []byte) error

func (*Proofs) XXX_DiscardUnknown

func (m *Proofs) XXX_DiscardUnknown()

func (*Proofs) XXX_Marshal

func (m *Proofs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Proofs) XXX_Merge

func (m *Proofs) XXX_Merge(src proto.Message)

func (*Proofs) XXX_Size

func (m *Proofs) XXX_Size() int

func (*Proofs) XXX_Unmarshal

func (m *Proofs) XXX_Unmarshal(b []byte) error

type Providers

type Providers struct {
	Address         string   `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Ip              string   `protobuf:"bytes,2,opt,name=ip,proto3" json:"ip,omitempty"`
	Totalspace      string   `protobuf:"bytes,3,opt,name=totalspace,proto3" json:"totalspace,omitempty"`
	BurnedContracts string   `protobuf:"bytes,4,opt,name=burned_contracts,json=burnedContracts,proto3" json:"burned_contracts,omitempty"`
	Creator         string   `protobuf:"bytes,5,opt,name=creator,proto3" json:"creator,omitempty"`
	KeybaseIdentity string   `protobuf:"bytes,6,opt,name=keybase_identity,json=keybaseIdentity,proto3" json:"keybase_identity,omitempty"`
	AuthClaimers    []string `protobuf:"bytes,7,rep,name=auth_claimers,json=authClaimers,proto3" json:"auth_claimers,omitempty"`
}

func (*Providers) Descriptor

func (*Providers) Descriptor() ([]byte, []int)

func (*Providers) GetAddress

func (m *Providers) GetAddress() string

func (*Providers) GetAuthClaimers

func (m *Providers) GetAuthClaimers() []string

func (*Providers) GetBurnedContracts

func (m *Providers) GetBurnedContracts() string

func (*Providers) GetCreator

func (m *Providers) GetCreator() string

func (*Providers) GetIp

func (m *Providers) GetIp() string

func (*Providers) GetKeybaseIdentity

func (m *Providers) GetKeybaseIdentity() string

func (*Providers) GetTotalspace

func (m *Providers) GetTotalspace() string

func (*Providers) Marshal

func (m *Providers) Marshal() (dAtA []byte, err error)

func (*Providers) MarshalTo

func (m *Providers) MarshalTo(dAtA []byte) (int, error)

func (*Providers) MarshalToSizedBuffer

func (m *Providers) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Providers) ProtoMessage

func (*Providers) ProtoMessage()

func (*Providers) Reset

func (m *Providers) Reset()

func (*Providers) Size

func (m *Providers) Size() (n int)

func (*Providers) String

func (m *Providers) String() string

func (*Providers) Unmarshal

func (m *Providers) Unmarshal(dAtA []byte) error

func (*Providers) XXX_DiscardUnknown

func (m *Providers) XXX_DiscardUnknown()

func (*Providers) XXX_Marshal

func (m *Providers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Providers) XXX_Merge

func (m *Providers) XXX_Merge(src proto.Message)

func (*Providers) XXX_Size

func (m *Providers) XXX_Size() int

func (*Providers) XXX_Unmarshal

func (m *Providers) XXX_Unmarshal(b []byte) error

type QueryActiveDealRequest

type QueryActiveDealRequest struct {
	Cid string `protobuf:"bytes,1,opt,name=cid,proto3" json:"cid,omitempty"`
}

func (*QueryActiveDealRequest) Descriptor

func (*QueryActiveDealRequest) Descriptor() ([]byte, []int)

func (*QueryActiveDealRequest) GetCid

func (m *QueryActiveDealRequest) GetCid() string

func (*QueryActiveDealRequest) Marshal

func (m *QueryActiveDealRequest) Marshal() (dAtA []byte, err error)

func (*QueryActiveDealRequest) MarshalTo

func (m *QueryActiveDealRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryActiveDealRequest) MarshalToSizedBuffer

func (m *QueryActiveDealRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryActiveDealRequest) ProtoMessage

func (*QueryActiveDealRequest) ProtoMessage()

func (*QueryActiveDealRequest) Reset

func (m *QueryActiveDealRequest) Reset()

func (*QueryActiveDealRequest) Size

func (m *QueryActiveDealRequest) Size() (n int)

func (*QueryActiveDealRequest) String

func (m *QueryActiveDealRequest) String() string

func (*QueryActiveDealRequest) Unmarshal

func (m *QueryActiveDealRequest) Unmarshal(dAtA []byte) error

func (*QueryActiveDealRequest) XXX_DiscardUnknown

func (m *QueryActiveDealRequest) XXX_DiscardUnknown()

func (*QueryActiveDealRequest) XXX_Marshal

func (m *QueryActiveDealRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryActiveDealRequest) XXX_Merge

func (m *QueryActiveDealRequest) XXX_Merge(src proto.Message)

func (*QueryActiveDealRequest) XXX_Size

func (m *QueryActiveDealRequest) XXX_Size() int

func (*QueryActiveDealRequest) XXX_Unmarshal

func (m *QueryActiveDealRequest) XXX_Unmarshal(b []byte) error

type QueryActiveDealResponse

type QueryActiveDealResponse struct {
	ActiveDeals ActiveDeals `protobuf:"bytes,1,opt,name=active_deals,json=activeDeals,proto3" json:"active_deals"`
}

func (*QueryActiveDealResponse) Descriptor

func (*QueryActiveDealResponse) Descriptor() ([]byte, []int)

func (*QueryActiveDealResponse) GetActiveDeals

func (m *QueryActiveDealResponse) GetActiveDeals() ActiveDeals

func (*QueryActiveDealResponse) Marshal

func (m *QueryActiveDealResponse) Marshal() (dAtA []byte, err error)

func (*QueryActiveDealResponse) MarshalTo

func (m *QueryActiveDealResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryActiveDealResponse) MarshalToSizedBuffer

func (m *QueryActiveDealResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryActiveDealResponse) ProtoMessage

func (*QueryActiveDealResponse) ProtoMessage()

func (*QueryActiveDealResponse) Reset

func (m *QueryActiveDealResponse) Reset()

func (*QueryActiveDealResponse) Size

func (m *QueryActiveDealResponse) Size() (n int)

func (*QueryActiveDealResponse) String

func (m *QueryActiveDealResponse) String() string

func (*QueryActiveDealResponse) Unmarshal

func (m *QueryActiveDealResponse) Unmarshal(dAtA []byte) error

func (*QueryActiveDealResponse) XXX_DiscardUnknown

func (m *QueryActiveDealResponse) XXX_DiscardUnknown()

func (*QueryActiveDealResponse) XXX_Marshal

func (m *QueryActiveDealResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryActiveDealResponse) XXX_Merge

func (m *QueryActiveDealResponse) XXX_Merge(src proto.Message)

func (*QueryActiveDealResponse) XXX_Size

func (m *QueryActiveDealResponse) XXX_Size() int

func (*QueryActiveDealResponse) XXX_Unmarshal

func (m *QueryActiveDealResponse) XXX_Unmarshal(b []byte) error

type QueryAllActiveDealsRequest

type QueryAllActiveDealsRequest struct {
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllActiveDealsRequest) Descriptor

func (*QueryAllActiveDealsRequest) Descriptor() ([]byte, []int)

func (*QueryAllActiveDealsRequest) GetPagination

func (m *QueryAllActiveDealsRequest) GetPagination() *query.PageRequest

func (*QueryAllActiveDealsRequest) Marshal

func (m *QueryAllActiveDealsRequest) Marshal() (dAtA []byte, err error)

func (*QueryAllActiveDealsRequest) MarshalTo

func (m *QueryAllActiveDealsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllActiveDealsRequest) MarshalToSizedBuffer

func (m *QueryAllActiveDealsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllActiveDealsRequest) ProtoMessage

func (*QueryAllActiveDealsRequest) ProtoMessage()

func (*QueryAllActiveDealsRequest) Reset

func (m *QueryAllActiveDealsRequest) Reset()

func (*QueryAllActiveDealsRequest) Size

func (m *QueryAllActiveDealsRequest) Size() (n int)

func (*QueryAllActiveDealsRequest) String

func (m *QueryAllActiveDealsRequest) String() string

func (*QueryAllActiveDealsRequest) Unmarshal

func (m *QueryAllActiveDealsRequest) Unmarshal(dAtA []byte) error

func (*QueryAllActiveDealsRequest) XXX_DiscardUnknown

func (m *QueryAllActiveDealsRequest) XXX_DiscardUnknown()

func (*QueryAllActiveDealsRequest) XXX_Marshal

func (m *QueryAllActiveDealsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllActiveDealsRequest) XXX_Merge

func (m *QueryAllActiveDealsRequest) XXX_Merge(src proto.Message)

func (*QueryAllActiveDealsRequest) XXX_Size

func (m *QueryAllActiveDealsRequest) XXX_Size() int

func (*QueryAllActiveDealsRequest) XXX_Unmarshal

func (m *QueryAllActiveDealsRequest) XXX_Unmarshal(b []byte) error

type QueryAllActiveDealsResponse

type QueryAllActiveDealsResponse struct {
	ActiveDeals []ActiveDeals       `protobuf:"bytes,1,rep,name=active_deals,json=activeDeals,proto3" json:"active_deals"`
	Pagination  *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllActiveDealsResponse) Descriptor

func (*QueryAllActiveDealsResponse) Descriptor() ([]byte, []int)

func (*QueryAllActiveDealsResponse) GetActiveDeals

func (m *QueryAllActiveDealsResponse) GetActiveDeals() []ActiveDeals

func (*QueryAllActiveDealsResponse) GetPagination

func (m *QueryAllActiveDealsResponse) GetPagination() *query.PageResponse

func (*QueryAllActiveDealsResponse) Marshal

func (m *QueryAllActiveDealsResponse) Marshal() (dAtA []byte, err error)

func (*QueryAllActiveDealsResponse) MarshalTo

func (m *QueryAllActiveDealsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllActiveDealsResponse) MarshalToSizedBuffer

func (m *QueryAllActiveDealsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllActiveDealsResponse) ProtoMessage

func (*QueryAllActiveDealsResponse) ProtoMessage()

func (*QueryAllActiveDealsResponse) Reset

func (m *QueryAllActiveDealsResponse) Reset()

func (*QueryAllActiveDealsResponse) Size

func (m *QueryAllActiveDealsResponse) Size() (n int)

func (*QueryAllActiveDealsResponse) String

func (m *QueryAllActiveDealsResponse) String() string

func (*QueryAllActiveDealsResponse) Unmarshal

func (m *QueryAllActiveDealsResponse) Unmarshal(dAtA []byte) error

func (*QueryAllActiveDealsResponse) XXX_DiscardUnknown

func (m *QueryAllActiveDealsResponse) XXX_DiscardUnknown()

func (*QueryAllActiveDealsResponse) XXX_Marshal

func (m *QueryAllActiveDealsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllActiveDealsResponse) XXX_Merge

func (m *QueryAllActiveDealsResponse) XXX_Merge(src proto.Message)

func (*QueryAllActiveDealsResponse) XXX_Size

func (m *QueryAllActiveDealsResponse) XXX_Size() int

func (*QueryAllActiveDealsResponse) XXX_Unmarshal

func (m *QueryAllActiveDealsResponse) XXX_Unmarshal(b []byte) error

type QueryAllContractsRequest

type QueryAllContractsRequest struct {
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllContractsRequest) Descriptor

func (*QueryAllContractsRequest) Descriptor() ([]byte, []int)

func (*QueryAllContractsRequest) GetPagination

func (m *QueryAllContractsRequest) GetPagination() *query.PageRequest

func (*QueryAllContractsRequest) Marshal

func (m *QueryAllContractsRequest) Marshal() (dAtA []byte, err error)

func (*QueryAllContractsRequest) MarshalTo

func (m *QueryAllContractsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllContractsRequest) MarshalToSizedBuffer

func (m *QueryAllContractsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllContractsRequest) ProtoMessage

func (*QueryAllContractsRequest) ProtoMessage()

func (*QueryAllContractsRequest) Reset

func (m *QueryAllContractsRequest) Reset()

func (*QueryAllContractsRequest) Size

func (m *QueryAllContractsRequest) Size() (n int)

func (*QueryAllContractsRequest) String

func (m *QueryAllContractsRequest) String() string

func (*QueryAllContractsRequest) Unmarshal

func (m *QueryAllContractsRequest) Unmarshal(dAtA []byte) error

func (*QueryAllContractsRequest) XXX_DiscardUnknown

func (m *QueryAllContractsRequest) XXX_DiscardUnknown()

func (*QueryAllContractsRequest) XXX_Marshal

func (m *QueryAllContractsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllContractsRequest) XXX_Merge

func (m *QueryAllContractsRequest) XXX_Merge(src proto.Message)

func (*QueryAllContractsRequest) XXX_Size

func (m *QueryAllContractsRequest) XXX_Size() int

func (*QueryAllContractsRequest) XXX_Unmarshal

func (m *QueryAllContractsRequest) XXX_Unmarshal(b []byte) error

type QueryAllContractsResponse

type QueryAllContractsResponse struct {
	Contracts  []Contracts         `protobuf:"bytes,1,rep,name=contracts,proto3" json:"contracts"`
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllContractsResponse) Descriptor

func (*QueryAllContractsResponse) Descriptor() ([]byte, []int)

func (*QueryAllContractsResponse) GetContracts

func (m *QueryAllContractsResponse) GetContracts() []Contracts

func (*QueryAllContractsResponse) GetPagination

func (m *QueryAllContractsResponse) GetPagination() *query.PageResponse

func (*QueryAllContractsResponse) Marshal

func (m *QueryAllContractsResponse) Marshal() (dAtA []byte, err error)

func (*QueryAllContractsResponse) MarshalTo

func (m *QueryAllContractsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllContractsResponse) MarshalToSizedBuffer

func (m *QueryAllContractsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllContractsResponse) ProtoMessage

func (*QueryAllContractsResponse) ProtoMessage()

func (*QueryAllContractsResponse) Reset

func (m *QueryAllContractsResponse) Reset()

func (*QueryAllContractsResponse) Size

func (m *QueryAllContractsResponse) Size() (n int)

func (*QueryAllContractsResponse) String

func (m *QueryAllContractsResponse) String() string

func (*QueryAllContractsResponse) Unmarshal

func (m *QueryAllContractsResponse) Unmarshal(dAtA []byte) error

func (*QueryAllContractsResponse) XXX_DiscardUnknown

func (m *QueryAllContractsResponse) XXX_DiscardUnknown()

func (*QueryAllContractsResponse) XXX_Marshal

func (m *QueryAllContractsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllContractsResponse) XXX_Merge

func (m *QueryAllContractsResponse) XXX_Merge(src proto.Message)

func (*QueryAllContractsResponse) XXX_Size

func (m *QueryAllContractsResponse) XXX_Size() int

func (*QueryAllContractsResponse) XXX_Unmarshal

func (m *QueryAllContractsResponse) XXX_Unmarshal(b []byte) error

type QueryAllFidCidRequest

type QueryAllFidCidRequest struct {
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllFidCidRequest) Descriptor

func (*QueryAllFidCidRequest) Descriptor() ([]byte, []int)

func (*QueryAllFidCidRequest) GetPagination

func (m *QueryAllFidCidRequest) GetPagination() *query.PageRequest

func (*QueryAllFidCidRequest) Marshal

func (m *QueryAllFidCidRequest) Marshal() (dAtA []byte, err error)

func (*QueryAllFidCidRequest) MarshalTo

func (m *QueryAllFidCidRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllFidCidRequest) MarshalToSizedBuffer

func (m *QueryAllFidCidRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllFidCidRequest) ProtoMessage

func (*QueryAllFidCidRequest) ProtoMessage()

func (*QueryAllFidCidRequest) Reset

func (m *QueryAllFidCidRequest) Reset()

func (*QueryAllFidCidRequest) Size

func (m *QueryAllFidCidRequest) Size() (n int)

func (*QueryAllFidCidRequest) String

func (m *QueryAllFidCidRequest) String() string

func (*QueryAllFidCidRequest) Unmarshal

func (m *QueryAllFidCidRequest) Unmarshal(dAtA []byte) error

func (*QueryAllFidCidRequest) XXX_DiscardUnknown

func (m *QueryAllFidCidRequest) XXX_DiscardUnknown()

func (*QueryAllFidCidRequest) XXX_Marshal

func (m *QueryAllFidCidRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllFidCidRequest) XXX_Merge

func (m *QueryAllFidCidRequest) XXX_Merge(src proto.Message)

func (*QueryAllFidCidRequest) XXX_Size

func (m *QueryAllFidCidRequest) XXX_Size() int

func (*QueryAllFidCidRequest) XXX_Unmarshal

func (m *QueryAllFidCidRequest) XXX_Unmarshal(b []byte) error

type QueryAllFidCidResponse

type QueryAllFidCidResponse struct {
	FidCid     []FidCid            `protobuf:"bytes,1,rep,name=fid_cid,json=fidCid,proto3" json:"fid_cid"`
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllFidCidResponse) Descriptor

func (*QueryAllFidCidResponse) Descriptor() ([]byte, []int)

func (*QueryAllFidCidResponse) GetFidCid

func (m *QueryAllFidCidResponse) GetFidCid() []FidCid

func (*QueryAllFidCidResponse) GetPagination

func (m *QueryAllFidCidResponse) GetPagination() *query.PageResponse

func (*QueryAllFidCidResponse) Marshal

func (m *QueryAllFidCidResponse) Marshal() (dAtA []byte, err error)

func (*QueryAllFidCidResponse) MarshalTo

func (m *QueryAllFidCidResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllFidCidResponse) MarshalToSizedBuffer

func (m *QueryAllFidCidResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllFidCidResponse) ProtoMessage

func (*QueryAllFidCidResponse) ProtoMessage()

func (*QueryAllFidCidResponse) Reset

func (m *QueryAllFidCidResponse) Reset()

func (*QueryAllFidCidResponse) Size

func (m *QueryAllFidCidResponse) Size() (n int)

func (*QueryAllFidCidResponse) String

func (m *QueryAllFidCidResponse) String() string

func (*QueryAllFidCidResponse) Unmarshal

func (m *QueryAllFidCidResponse) Unmarshal(dAtA []byte) error

func (*QueryAllFidCidResponse) XXX_DiscardUnknown

func (m *QueryAllFidCidResponse) XXX_DiscardUnknown()

func (*QueryAllFidCidResponse) XXX_Marshal

func (m *QueryAllFidCidResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllFidCidResponse) XXX_Merge

func (m *QueryAllFidCidResponse) XXX_Merge(src proto.Message)

func (*QueryAllFidCidResponse) XXX_Size

func (m *QueryAllFidCidResponse) XXX_Size() int

func (*QueryAllFidCidResponse) XXX_Unmarshal

func (m *QueryAllFidCidResponse) XXX_Unmarshal(b []byte) error

type QueryAllProvidersRequest

type QueryAllProvidersRequest struct {
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllProvidersRequest) Descriptor

func (*QueryAllProvidersRequest) Descriptor() ([]byte, []int)

func (*QueryAllProvidersRequest) GetPagination

func (m *QueryAllProvidersRequest) GetPagination() *query.PageRequest

func (*QueryAllProvidersRequest) Marshal

func (m *QueryAllProvidersRequest) Marshal() (dAtA []byte, err error)

func (*QueryAllProvidersRequest) MarshalTo

func (m *QueryAllProvidersRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllProvidersRequest) MarshalToSizedBuffer

func (m *QueryAllProvidersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllProvidersRequest) ProtoMessage

func (*QueryAllProvidersRequest) ProtoMessage()

func (*QueryAllProvidersRequest) Reset

func (m *QueryAllProvidersRequest) Reset()

func (*QueryAllProvidersRequest) Size

func (m *QueryAllProvidersRequest) Size() (n int)

func (*QueryAllProvidersRequest) String

func (m *QueryAllProvidersRequest) String() string

func (*QueryAllProvidersRequest) Unmarshal

func (m *QueryAllProvidersRequest) Unmarshal(dAtA []byte) error

func (*QueryAllProvidersRequest) XXX_DiscardUnknown

func (m *QueryAllProvidersRequest) XXX_DiscardUnknown()

func (*QueryAllProvidersRequest) XXX_Marshal

func (m *QueryAllProvidersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllProvidersRequest) XXX_Merge

func (m *QueryAllProvidersRequest) XXX_Merge(src proto.Message)

func (*QueryAllProvidersRequest) XXX_Size

func (m *QueryAllProvidersRequest) XXX_Size() int

func (*QueryAllProvidersRequest) XXX_Unmarshal

func (m *QueryAllProvidersRequest) XXX_Unmarshal(b []byte) error

type QueryAllProvidersResponse

type QueryAllProvidersResponse struct {
	Providers  []Providers         `protobuf:"bytes,1,rep,name=providers,proto3" json:"providers"`
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllProvidersResponse) Descriptor

func (*QueryAllProvidersResponse) Descriptor() ([]byte, []int)

func (*QueryAllProvidersResponse) GetPagination

func (m *QueryAllProvidersResponse) GetPagination() *query.PageResponse

func (*QueryAllProvidersResponse) GetProviders

func (m *QueryAllProvidersResponse) GetProviders() []Providers

func (*QueryAllProvidersResponse) Marshal

func (m *QueryAllProvidersResponse) Marshal() (dAtA []byte, err error)

func (*QueryAllProvidersResponse) MarshalTo

func (m *QueryAllProvidersResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllProvidersResponse) MarshalToSizedBuffer

func (m *QueryAllProvidersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllProvidersResponse) ProtoMessage

func (*QueryAllProvidersResponse) ProtoMessage()

func (*QueryAllProvidersResponse) Reset

func (m *QueryAllProvidersResponse) Reset()

func (*QueryAllProvidersResponse) Size

func (m *QueryAllProvidersResponse) Size() (n int)

func (*QueryAllProvidersResponse) String

func (m *QueryAllProvidersResponse) String() string

func (*QueryAllProvidersResponse) Unmarshal

func (m *QueryAllProvidersResponse) Unmarshal(dAtA []byte) error

func (*QueryAllProvidersResponse) XXX_DiscardUnknown

func (m *QueryAllProvidersResponse) XXX_DiscardUnknown()

func (*QueryAllProvidersResponse) XXX_Marshal

func (m *QueryAllProvidersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllProvidersResponse) XXX_Merge

func (m *QueryAllProvidersResponse) XXX_Merge(src proto.Message)

func (*QueryAllProvidersResponse) XXX_Size

func (m *QueryAllProvidersResponse) XXX_Size() int

func (*QueryAllProvidersResponse) XXX_Unmarshal

func (m *QueryAllProvidersResponse) XXX_Unmarshal(b []byte) error

type QueryAllStoragePaymentInfoRequest

type QueryAllStoragePaymentInfoRequest struct {
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllStoragePaymentInfoRequest) Descriptor

func (*QueryAllStoragePaymentInfoRequest) Descriptor() ([]byte, []int)

func (*QueryAllStoragePaymentInfoRequest) GetPagination

func (*QueryAllStoragePaymentInfoRequest) Marshal

func (m *QueryAllStoragePaymentInfoRequest) Marshal() (dAtA []byte, err error)

func (*QueryAllStoragePaymentInfoRequest) MarshalTo

func (m *QueryAllStoragePaymentInfoRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllStoragePaymentInfoRequest) MarshalToSizedBuffer

func (m *QueryAllStoragePaymentInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllStoragePaymentInfoRequest) ProtoMessage

func (*QueryAllStoragePaymentInfoRequest) ProtoMessage()

func (*QueryAllStoragePaymentInfoRequest) Reset

func (*QueryAllStoragePaymentInfoRequest) Size

func (m *QueryAllStoragePaymentInfoRequest) Size() (n int)

func (*QueryAllStoragePaymentInfoRequest) String

func (*QueryAllStoragePaymentInfoRequest) Unmarshal

func (m *QueryAllStoragePaymentInfoRequest) Unmarshal(dAtA []byte) error

func (*QueryAllStoragePaymentInfoRequest) XXX_DiscardUnknown

func (m *QueryAllStoragePaymentInfoRequest) XXX_DiscardUnknown()

func (*QueryAllStoragePaymentInfoRequest) XXX_Marshal

func (m *QueryAllStoragePaymentInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllStoragePaymentInfoRequest) XXX_Merge

func (*QueryAllStoragePaymentInfoRequest) XXX_Size

func (m *QueryAllStoragePaymentInfoRequest) XXX_Size() int

func (*QueryAllStoragePaymentInfoRequest) XXX_Unmarshal

func (m *QueryAllStoragePaymentInfoRequest) XXX_Unmarshal(b []byte) error

type QueryAllStoragePaymentInfoResponse

type QueryAllStoragePaymentInfoResponse struct {
	StoragePaymentInfo []StoragePaymentInfo `protobuf:"bytes,1,rep,name=storage_payment_info,json=storagePaymentInfo,proto3" json:"storage_payment_info"`
	Pagination         *query.PageResponse  `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllStoragePaymentInfoResponse) Descriptor

func (*QueryAllStoragePaymentInfoResponse) Descriptor() ([]byte, []int)

func (*QueryAllStoragePaymentInfoResponse) GetPagination

func (*QueryAllStoragePaymentInfoResponse) GetStoragePaymentInfo

func (m *QueryAllStoragePaymentInfoResponse) GetStoragePaymentInfo() []StoragePaymentInfo

func (*QueryAllStoragePaymentInfoResponse) Marshal

func (m *QueryAllStoragePaymentInfoResponse) Marshal() (dAtA []byte, err error)

func (*QueryAllStoragePaymentInfoResponse) MarshalTo

func (m *QueryAllStoragePaymentInfoResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllStoragePaymentInfoResponse) MarshalToSizedBuffer

func (m *QueryAllStoragePaymentInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllStoragePaymentInfoResponse) ProtoMessage

func (*QueryAllStoragePaymentInfoResponse) ProtoMessage()

func (*QueryAllStoragePaymentInfoResponse) Reset

func (*QueryAllStoragePaymentInfoResponse) Size

func (*QueryAllStoragePaymentInfoResponse) String

func (*QueryAllStoragePaymentInfoResponse) Unmarshal

func (m *QueryAllStoragePaymentInfoResponse) Unmarshal(dAtA []byte) error

func (*QueryAllStoragePaymentInfoResponse) XXX_DiscardUnknown

func (m *QueryAllStoragePaymentInfoResponse) XXX_DiscardUnknown()

func (*QueryAllStoragePaymentInfoResponse) XXX_Marshal

func (m *QueryAllStoragePaymentInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllStoragePaymentInfoResponse) XXX_Merge

func (*QueryAllStoragePaymentInfoResponse) XXX_Size

func (*QueryAllStoragePaymentInfoResponse) XXX_Unmarshal

func (m *QueryAllStoragePaymentInfoResponse) XXX_Unmarshal(b []byte) error

type QueryAllStraysRequest

type QueryAllStraysRequest struct {
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllStraysRequest) Descriptor

func (*QueryAllStraysRequest) Descriptor() ([]byte, []int)

func (*QueryAllStraysRequest) GetPagination

func (m *QueryAllStraysRequest) GetPagination() *query.PageRequest

func (*QueryAllStraysRequest) Marshal

func (m *QueryAllStraysRequest) Marshal() (dAtA []byte, err error)

func (*QueryAllStraysRequest) MarshalTo

func (m *QueryAllStraysRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllStraysRequest) MarshalToSizedBuffer

func (m *QueryAllStraysRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllStraysRequest) ProtoMessage

func (*QueryAllStraysRequest) ProtoMessage()

func (*QueryAllStraysRequest) Reset

func (m *QueryAllStraysRequest) Reset()

func (*QueryAllStraysRequest) Size

func (m *QueryAllStraysRequest) Size() (n int)

func (*QueryAllStraysRequest) String

func (m *QueryAllStraysRequest) String() string

func (*QueryAllStraysRequest) Unmarshal

func (m *QueryAllStraysRequest) Unmarshal(dAtA []byte) error

func (*QueryAllStraysRequest) XXX_DiscardUnknown

func (m *QueryAllStraysRequest) XXX_DiscardUnknown()

func (*QueryAllStraysRequest) XXX_Marshal

func (m *QueryAllStraysRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllStraysRequest) XXX_Merge

func (m *QueryAllStraysRequest) XXX_Merge(src proto.Message)

func (*QueryAllStraysRequest) XXX_Size

func (m *QueryAllStraysRequest) XXX_Size() int

func (*QueryAllStraysRequest) XXX_Unmarshal

func (m *QueryAllStraysRequest) XXX_Unmarshal(b []byte) error

type QueryAllStraysResponse

type QueryAllStraysResponse struct {
	Strays     []Strays            `protobuf:"bytes,1,rep,name=strays,proto3" json:"strays"`
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllStraysResponse) Descriptor

func (*QueryAllStraysResponse) Descriptor() ([]byte, []int)

func (*QueryAllStraysResponse) GetPagination

func (m *QueryAllStraysResponse) GetPagination() *query.PageResponse

func (*QueryAllStraysResponse) GetStrays

func (m *QueryAllStraysResponse) GetStrays() []Strays

func (*QueryAllStraysResponse) Marshal

func (m *QueryAllStraysResponse) Marshal() (dAtA []byte, err error)

func (*QueryAllStraysResponse) MarshalTo

func (m *QueryAllStraysResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllStraysResponse) MarshalToSizedBuffer

func (m *QueryAllStraysResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllStraysResponse) ProtoMessage

func (*QueryAllStraysResponse) ProtoMessage()

func (*QueryAllStraysResponse) Reset

func (m *QueryAllStraysResponse) Reset()

func (*QueryAllStraysResponse) Size

func (m *QueryAllStraysResponse) Size() (n int)

func (*QueryAllStraysResponse) String

func (m *QueryAllStraysResponse) String() string

func (*QueryAllStraysResponse) Unmarshal

func (m *QueryAllStraysResponse) Unmarshal(dAtA []byte) error

func (*QueryAllStraysResponse) XXX_DiscardUnknown

func (m *QueryAllStraysResponse) XXX_DiscardUnknown()

func (*QueryAllStraysResponse) XXX_Marshal

func (m *QueryAllStraysResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllStraysResponse) XXX_Merge

func (m *QueryAllStraysResponse) XXX_Merge(src proto.Message)

func (*QueryAllStraysResponse) XXX_Size

func (m *QueryAllStraysResponse) XXX_Size() int

func (*QueryAllStraysResponse) XXX_Unmarshal

func (m *QueryAllStraysResponse) XXX_Unmarshal(b []byte) error

type QueryClient

type QueryClient interface {
	// Parameters queries the parameters of the module.
	Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
	// Queries a Contracts by index.
	Contracts(ctx context.Context, in *QueryContractRequest, opts ...grpc.CallOption) (*QueryContractResponse, error)
	// Queries a list of Contracts items.
	ContractsAll(ctx context.Context, in *QueryAllContractsRequest, opts ...grpc.CallOption) (*QueryAllContractsResponse, error)
	// Queries a ActiveDeals by index.
	ActiveDeals(ctx context.Context, in *QueryActiveDealRequest, opts ...grpc.CallOption) (*QueryActiveDealResponse, error)
	// Queries a list of ActiveDeals items.
	ActiveDealsAll(ctx context.Context, in *QueryAllActiveDealsRequest, opts ...grpc.CallOption) (*QueryAllActiveDealsResponse, error)
	// Queries a Providers by index.
	Providers(ctx context.Context, in *QueryProviderRequest, opts ...grpc.CallOption) (*QueryProviderResponse, error)
	// Queries a list of Providers items.
	ProvidersAll(ctx context.Context, in *QueryAllProvidersRequest, opts ...grpc.CallOption) (*QueryAllProvidersResponse, error)
	// Queries a list of Freespace items.
	Freespace(ctx context.Context, in *QueryFreespaceRequest, opts ...grpc.CallOption) (*QueryFreespaceResponse, error)
	// Queries a list of FindFile items.
	FindFile(ctx context.Context, in *QueryFindFileRequest, opts ...grpc.CallOption) (*QueryFindFileResponse, error)
	// Queries a Strays by index.
	Strays(ctx context.Context, in *QueryStrayRequest, opts ...grpc.CallOption) (*QueryStrayResponse, error)
	// Queries a list of Strays items.
	StraysAll(ctx context.Context, in *QueryAllStraysRequest, opts ...grpc.CallOption) (*QueryAllStraysResponse, error)
	// Queries a list of GetClientFreeSpace items.
	GetClientFreeSpace(ctx context.Context, in *QueryClientFreeSpaceRequest, opts ...grpc.CallOption) (*QueryClientFreeSpaceResponse, error)
	// Queries a FidCid by index.
	FidCid(ctx context.Context, in *QueryFidCidRequest, opts ...grpc.CallOption) (*QueryFidCidResponse, error)
	// Queries a list of FidCid items.
	FidCidAll(ctx context.Context, in *QueryAllFidCidRequest, opts ...grpc.CallOption) (*QueryAllFidCidResponse, error)
	// Queries a list of GetPayData items.
	GetPayData(ctx context.Context, in *QueryPayDataRequest, opts ...grpc.CallOption) (*QueryPayDataResponse, error)
	// Queries a StoragePaymentInfo by address.
	StoragePaymentInfo(ctx context.Context, in *QueryStoragePaymentInfoRequest, opts ...grpc.CallOption) (*QueryStoragePaymentInfoResponse, error)
	// Queries a list of StoragePaymentInfo items.
	StoragePaymentInfoAll(ctx context.Context, in *QueryAllStoragePaymentInfoRequest, opts ...grpc.CallOption) (*QueryAllStoragePaymentInfoResponse, error)
	// Queries whether user can upload a file based on size
	FileUploadCheck(ctx context.Context, in *QueryFileUploadCheckRequest, opts ...grpc.CallOption) (*QueryFileUploadCheckResponse, error)
}

QueryClient is the client API for Query service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewQueryClient

func NewQueryClient(cc grpc1.ClientConn) QueryClient

type QueryClientFreeSpaceRequest

type QueryClientFreeSpaceRequest struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
}

func (*QueryClientFreeSpaceRequest) Descriptor

func (*QueryClientFreeSpaceRequest) Descriptor() ([]byte, []int)

func (*QueryClientFreeSpaceRequest) GetAddress

func (m *QueryClientFreeSpaceRequest) GetAddress() string

func (*QueryClientFreeSpaceRequest) Marshal

func (m *QueryClientFreeSpaceRequest) Marshal() (dAtA []byte, err error)

func (*QueryClientFreeSpaceRequest) MarshalTo

func (m *QueryClientFreeSpaceRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryClientFreeSpaceRequest) MarshalToSizedBuffer

func (m *QueryClientFreeSpaceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryClientFreeSpaceRequest) ProtoMessage

func (*QueryClientFreeSpaceRequest) ProtoMessage()

func (*QueryClientFreeSpaceRequest) Reset

func (m *QueryClientFreeSpaceRequest) Reset()

func (*QueryClientFreeSpaceRequest) Size

func (m *QueryClientFreeSpaceRequest) Size() (n int)

func (*QueryClientFreeSpaceRequest) String

func (m *QueryClientFreeSpaceRequest) String() string

func (*QueryClientFreeSpaceRequest) Unmarshal

func (m *QueryClientFreeSpaceRequest) Unmarshal(dAtA []byte) error

func (*QueryClientFreeSpaceRequest) XXX_DiscardUnknown

func (m *QueryClientFreeSpaceRequest) XXX_DiscardUnknown()

func (*QueryClientFreeSpaceRequest) XXX_Marshal

func (m *QueryClientFreeSpaceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryClientFreeSpaceRequest) XXX_Merge

func (m *QueryClientFreeSpaceRequest) XXX_Merge(src proto.Message)

func (*QueryClientFreeSpaceRequest) XXX_Size

func (m *QueryClientFreeSpaceRequest) XXX_Size() int

func (*QueryClientFreeSpaceRequest) XXX_Unmarshal

func (m *QueryClientFreeSpaceRequest) XXX_Unmarshal(b []byte) error

type QueryClientFreeSpaceResponse

type QueryClientFreeSpaceResponse struct {
	Bytesfree int64 `protobuf:"varint,1,opt,name=bytesfree,proto3" json:"bytesfree,omitempty"`
}

func (*QueryClientFreeSpaceResponse) Descriptor

func (*QueryClientFreeSpaceResponse) Descriptor() ([]byte, []int)

func (*QueryClientFreeSpaceResponse) GetBytesfree

func (m *QueryClientFreeSpaceResponse) GetBytesfree() int64

func (*QueryClientFreeSpaceResponse) Marshal

func (m *QueryClientFreeSpaceResponse) Marshal() (dAtA []byte, err error)

func (*QueryClientFreeSpaceResponse) MarshalTo

func (m *QueryClientFreeSpaceResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryClientFreeSpaceResponse) MarshalToSizedBuffer

func (m *QueryClientFreeSpaceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryClientFreeSpaceResponse) ProtoMessage

func (*QueryClientFreeSpaceResponse) ProtoMessage()

func (*QueryClientFreeSpaceResponse) Reset

func (m *QueryClientFreeSpaceResponse) Reset()

func (*QueryClientFreeSpaceResponse) Size

func (m *QueryClientFreeSpaceResponse) Size() (n int)

func (*QueryClientFreeSpaceResponse) String

func (*QueryClientFreeSpaceResponse) Unmarshal

func (m *QueryClientFreeSpaceResponse) Unmarshal(dAtA []byte) error

func (*QueryClientFreeSpaceResponse) XXX_DiscardUnknown

func (m *QueryClientFreeSpaceResponse) XXX_DiscardUnknown()

func (*QueryClientFreeSpaceResponse) XXX_Marshal

func (m *QueryClientFreeSpaceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryClientFreeSpaceResponse) XXX_Merge

func (m *QueryClientFreeSpaceResponse) XXX_Merge(src proto.Message)

func (*QueryClientFreeSpaceResponse) XXX_Size

func (m *QueryClientFreeSpaceResponse) XXX_Size() int

func (*QueryClientFreeSpaceResponse) XXX_Unmarshal

func (m *QueryClientFreeSpaceResponse) XXX_Unmarshal(b []byte) error

type QueryContractRequest

type QueryContractRequest struct {
	Cid string `protobuf:"bytes,1,opt,name=cid,proto3" json:"cid,omitempty"`
}

func (*QueryContractRequest) Descriptor

func (*QueryContractRequest) Descriptor() ([]byte, []int)

func (*QueryContractRequest) GetCid

func (m *QueryContractRequest) GetCid() string

func (*QueryContractRequest) Marshal

func (m *QueryContractRequest) Marshal() (dAtA []byte, err error)

func (*QueryContractRequest) MarshalTo

func (m *QueryContractRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryContractRequest) MarshalToSizedBuffer

func (m *QueryContractRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryContractRequest) ProtoMessage

func (*QueryContractRequest) ProtoMessage()

func (*QueryContractRequest) Reset

func (m *QueryContractRequest) Reset()

func (*QueryContractRequest) Size

func (m *QueryContractRequest) Size() (n int)

func (*QueryContractRequest) String

func (m *QueryContractRequest) String() string

func (*QueryContractRequest) Unmarshal

func (m *QueryContractRequest) Unmarshal(dAtA []byte) error

func (*QueryContractRequest) XXX_DiscardUnknown

func (m *QueryContractRequest) XXX_DiscardUnknown()

func (*QueryContractRequest) XXX_Marshal

func (m *QueryContractRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryContractRequest) XXX_Merge

func (m *QueryContractRequest) XXX_Merge(src proto.Message)

func (*QueryContractRequest) XXX_Size

func (m *QueryContractRequest) XXX_Size() int

func (*QueryContractRequest) XXX_Unmarshal

func (m *QueryContractRequest) XXX_Unmarshal(b []byte) error

type QueryContractResponse

type QueryContractResponse struct {
	Contracts Contracts `protobuf:"bytes,1,opt,name=contracts,proto3" json:"contracts"`
}

func (*QueryContractResponse) Descriptor

func (*QueryContractResponse) Descriptor() ([]byte, []int)

func (*QueryContractResponse) GetContracts

func (m *QueryContractResponse) GetContracts() Contracts

func (*QueryContractResponse) Marshal

func (m *QueryContractResponse) Marshal() (dAtA []byte, err error)

func (*QueryContractResponse) MarshalTo

func (m *QueryContractResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryContractResponse) MarshalToSizedBuffer

func (m *QueryContractResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryContractResponse) ProtoMessage

func (*QueryContractResponse) ProtoMessage()

func (*QueryContractResponse) Reset

func (m *QueryContractResponse) Reset()

func (*QueryContractResponse) Size

func (m *QueryContractResponse) Size() (n int)

func (*QueryContractResponse) String

func (m *QueryContractResponse) String() string

func (*QueryContractResponse) Unmarshal

func (m *QueryContractResponse) Unmarshal(dAtA []byte) error

func (*QueryContractResponse) XXX_DiscardUnknown

func (m *QueryContractResponse) XXX_DiscardUnknown()

func (*QueryContractResponse) XXX_Marshal

func (m *QueryContractResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryContractResponse) XXX_Merge

func (m *QueryContractResponse) XXX_Merge(src proto.Message)

func (*QueryContractResponse) XXX_Size

func (m *QueryContractResponse) XXX_Size() int

func (*QueryContractResponse) XXX_Unmarshal

func (m *QueryContractResponse) XXX_Unmarshal(b []byte) error

type QueryFidCidRequest

type QueryFidCidRequest struct {
	Fid string `protobuf:"bytes,1,opt,name=fid,proto3" json:"fid,omitempty"`
}

func (*QueryFidCidRequest) Descriptor

func (*QueryFidCidRequest) Descriptor() ([]byte, []int)

func (*QueryFidCidRequest) GetFid

func (m *QueryFidCidRequest) GetFid() string

func (*QueryFidCidRequest) Marshal

func (m *QueryFidCidRequest) Marshal() (dAtA []byte, err error)

func (*QueryFidCidRequest) MarshalTo

func (m *QueryFidCidRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryFidCidRequest) MarshalToSizedBuffer

func (m *QueryFidCidRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryFidCidRequest) ProtoMessage

func (*QueryFidCidRequest) ProtoMessage()

func (*QueryFidCidRequest) Reset

func (m *QueryFidCidRequest) Reset()

func (*QueryFidCidRequest) Size

func (m *QueryFidCidRequest) Size() (n int)

func (*QueryFidCidRequest) String

func (m *QueryFidCidRequest) String() string

func (*QueryFidCidRequest) Unmarshal

func (m *QueryFidCidRequest) Unmarshal(dAtA []byte) error

func (*QueryFidCidRequest) XXX_DiscardUnknown

func (m *QueryFidCidRequest) XXX_DiscardUnknown()

func (*QueryFidCidRequest) XXX_Marshal

func (m *QueryFidCidRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryFidCidRequest) XXX_Merge

func (m *QueryFidCidRequest) XXX_Merge(src proto.Message)

func (*QueryFidCidRequest) XXX_Size

func (m *QueryFidCidRequest) XXX_Size() int

func (*QueryFidCidRequest) XXX_Unmarshal

func (m *QueryFidCidRequest) XXX_Unmarshal(b []byte) error

type QueryFidCidResponse

type QueryFidCidResponse struct {
	FidCid FidCid `protobuf:"bytes,1,opt,name=fid_cid,json=fidCid,proto3" json:"fid_cid"`
}

func (*QueryFidCidResponse) Descriptor

func (*QueryFidCidResponse) Descriptor() ([]byte, []int)

func (*QueryFidCidResponse) GetFidCid

func (m *QueryFidCidResponse) GetFidCid() FidCid

func (*QueryFidCidResponse) Marshal

func (m *QueryFidCidResponse) Marshal() (dAtA []byte, err error)

func (*QueryFidCidResponse) MarshalTo

func (m *QueryFidCidResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryFidCidResponse) MarshalToSizedBuffer

func (m *QueryFidCidResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryFidCidResponse) ProtoMessage

func (*QueryFidCidResponse) ProtoMessage()

func (*QueryFidCidResponse) Reset

func (m *QueryFidCidResponse) Reset()

func (*QueryFidCidResponse) Size

func (m *QueryFidCidResponse) Size() (n int)

func (*QueryFidCidResponse) String

func (m *QueryFidCidResponse) String() string

func (*QueryFidCidResponse) Unmarshal

func (m *QueryFidCidResponse) Unmarshal(dAtA []byte) error

func (*QueryFidCidResponse) XXX_DiscardUnknown

func (m *QueryFidCidResponse) XXX_DiscardUnknown()

func (*QueryFidCidResponse) XXX_Marshal

func (m *QueryFidCidResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryFidCidResponse) XXX_Merge

func (m *QueryFidCidResponse) XXX_Merge(src proto.Message)

func (*QueryFidCidResponse) XXX_Size

func (m *QueryFidCidResponse) XXX_Size() int

func (*QueryFidCidResponse) XXX_Unmarshal

func (m *QueryFidCidResponse) XXX_Unmarshal(b []byte) error

type QueryFileUploadCheckRequest

type QueryFileUploadCheckRequest struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Bytes   int64  `protobuf:"varint,2,opt,name=bytes,proto3" json:"bytes,omitempty"`
}

func (*QueryFileUploadCheckRequest) Descriptor

func (*QueryFileUploadCheckRequest) Descriptor() ([]byte, []int)

func (*QueryFileUploadCheckRequest) GetAddress

func (m *QueryFileUploadCheckRequest) GetAddress() string

func (*QueryFileUploadCheckRequest) GetBytes

func (m *QueryFileUploadCheckRequest) GetBytes() int64

func (*QueryFileUploadCheckRequest) Marshal

func (m *QueryFileUploadCheckRequest) Marshal() (dAtA []byte, err error)

func (*QueryFileUploadCheckRequest) MarshalTo

func (m *QueryFileUploadCheckRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryFileUploadCheckRequest) MarshalToSizedBuffer

func (m *QueryFileUploadCheckRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryFileUploadCheckRequest) ProtoMessage

func (*QueryFileUploadCheckRequest) ProtoMessage()

func (*QueryFileUploadCheckRequest) Reset

func (m *QueryFileUploadCheckRequest) Reset()

func (*QueryFileUploadCheckRequest) Size

func (m *QueryFileUploadCheckRequest) Size() (n int)

func (*QueryFileUploadCheckRequest) String

func (m *QueryFileUploadCheckRequest) String() string

func (*QueryFileUploadCheckRequest) Unmarshal

func (m *QueryFileUploadCheckRequest) Unmarshal(dAtA []byte) error

func (*QueryFileUploadCheckRequest) XXX_DiscardUnknown

func (m *QueryFileUploadCheckRequest) XXX_DiscardUnknown()

func (*QueryFileUploadCheckRequest) XXX_Marshal

func (m *QueryFileUploadCheckRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryFileUploadCheckRequest) XXX_Merge

func (m *QueryFileUploadCheckRequest) XXX_Merge(src proto.Message)

func (*QueryFileUploadCheckRequest) XXX_Size

func (m *QueryFileUploadCheckRequest) XXX_Size() int

func (*QueryFileUploadCheckRequest) XXX_Unmarshal

func (m *QueryFileUploadCheckRequest) XXX_Unmarshal(b []byte) error

type QueryFileUploadCheckResponse

type QueryFileUploadCheckResponse struct {
	Valid bool `protobuf:"varint,1,opt,name=valid,proto3" json:"valid,omitempty"`
}

func (*QueryFileUploadCheckResponse) Descriptor

func (*QueryFileUploadCheckResponse) Descriptor() ([]byte, []int)

func (*QueryFileUploadCheckResponse) GetValid

func (m *QueryFileUploadCheckResponse) GetValid() bool

func (*QueryFileUploadCheckResponse) Marshal

func (m *QueryFileUploadCheckResponse) Marshal() (dAtA []byte, err error)

func (*QueryFileUploadCheckResponse) MarshalTo

func (m *QueryFileUploadCheckResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryFileUploadCheckResponse) MarshalToSizedBuffer

func (m *QueryFileUploadCheckResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryFileUploadCheckResponse) ProtoMessage

func (*QueryFileUploadCheckResponse) ProtoMessage()

func (*QueryFileUploadCheckResponse) Reset

func (m *QueryFileUploadCheckResponse) Reset()

func (*QueryFileUploadCheckResponse) Size

func (m *QueryFileUploadCheckResponse) Size() (n int)

func (*QueryFileUploadCheckResponse) String

func (*QueryFileUploadCheckResponse) Unmarshal

func (m *QueryFileUploadCheckResponse) Unmarshal(dAtA []byte) error

func (*QueryFileUploadCheckResponse) XXX_DiscardUnknown

func (m *QueryFileUploadCheckResponse) XXX_DiscardUnknown()

func (*QueryFileUploadCheckResponse) XXX_Marshal

func (m *QueryFileUploadCheckResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryFileUploadCheckResponse) XXX_Merge

func (m *QueryFileUploadCheckResponse) XXX_Merge(src proto.Message)

func (*QueryFileUploadCheckResponse) XXX_Size

func (m *QueryFileUploadCheckResponse) XXX_Size() int

func (*QueryFileUploadCheckResponse) XXX_Unmarshal

func (m *QueryFileUploadCheckResponse) XXX_Unmarshal(b []byte) error

type QueryFindFileRequest

type QueryFindFileRequest struct {
	Fid string `protobuf:"bytes,1,opt,name=fid,proto3" json:"fid,omitempty"`
}

func (*QueryFindFileRequest) Descriptor

func (*QueryFindFileRequest) Descriptor() ([]byte, []int)

func (*QueryFindFileRequest) GetFid

func (m *QueryFindFileRequest) GetFid() string

func (*QueryFindFileRequest) Marshal

func (m *QueryFindFileRequest) Marshal() (dAtA []byte, err error)

func (*QueryFindFileRequest) MarshalTo

func (m *QueryFindFileRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryFindFileRequest) MarshalToSizedBuffer

func (m *QueryFindFileRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryFindFileRequest) ProtoMessage

func (*QueryFindFileRequest) ProtoMessage()

func (*QueryFindFileRequest) Reset

func (m *QueryFindFileRequest) Reset()

func (*QueryFindFileRequest) Size

func (m *QueryFindFileRequest) Size() (n int)

func (*QueryFindFileRequest) String

func (m *QueryFindFileRequest) String() string

func (*QueryFindFileRequest) Unmarshal

func (m *QueryFindFileRequest) Unmarshal(dAtA []byte) error

func (*QueryFindFileRequest) XXX_DiscardUnknown

func (m *QueryFindFileRequest) XXX_DiscardUnknown()

func (*QueryFindFileRequest) XXX_Marshal

func (m *QueryFindFileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryFindFileRequest) XXX_Merge

func (m *QueryFindFileRequest) XXX_Merge(src proto.Message)

func (*QueryFindFileRequest) XXX_Size

func (m *QueryFindFileRequest) XXX_Size() int

func (*QueryFindFileRequest) XXX_Unmarshal

func (m *QueryFindFileRequest) XXX_Unmarshal(b []byte) error

type QueryFindFileResponse

type QueryFindFileResponse struct {
	ProviderIps string `protobuf:"bytes,1,opt,name=provider_ips,json=providerIps,proto3" json:"provider_ips,omitempty"`
}

func (*QueryFindFileResponse) Descriptor

func (*QueryFindFileResponse) Descriptor() ([]byte, []int)

func (*QueryFindFileResponse) GetProviderIps

func (m *QueryFindFileResponse) GetProviderIps() string

func (*QueryFindFileResponse) Marshal

func (m *QueryFindFileResponse) Marshal() (dAtA []byte, err error)

func (*QueryFindFileResponse) MarshalTo

func (m *QueryFindFileResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryFindFileResponse) MarshalToSizedBuffer

func (m *QueryFindFileResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryFindFileResponse) ProtoMessage

func (*QueryFindFileResponse) ProtoMessage()

func (*QueryFindFileResponse) Reset

func (m *QueryFindFileResponse) Reset()

func (*QueryFindFileResponse) Size

func (m *QueryFindFileResponse) Size() (n int)

func (*QueryFindFileResponse) String

func (m *QueryFindFileResponse) String() string

func (*QueryFindFileResponse) Unmarshal

func (m *QueryFindFileResponse) Unmarshal(dAtA []byte) error

func (*QueryFindFileResponse) XXX_DiscardUnknown

func (m *QueryFindFileResponse) XXX_DiscardUnknown()

func (*QueryFindFileResponse) XXX_Marshal

func (m *QueryFindFileResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryFindFileResponse) XXX_Merge

func (m *QueryFindFileResponse) XXX_Merge(src proto.Message)

func (*QueryFindFileResponse) XXX_Size

func (m *QueryFindFileResponse) XXX_Size() int

func (*QueryFindFileResponse) XXX_Unmarshal

func (m *QueryFindFileResponse) XXX_Unmarshal(b []byte) error

type QueryFreespaceRequest

type QueryFreespaceRequest struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
}

func (*QueryFreespaceRequest) Descriptor

func (*QueryFreespaceRequest) Descriptor() ([]byte, []int)

func (*QueryFreespaceRequest) GetAddress

func (m *QueryFreespaceRequest) GetAddress() string

func (*QueryFreespaceRequest) Marshal

func (m *QueryFreespaceRequest) Marshal() (dAtA []byte, err error)

func (*QueryFreespaceRequest) MarshalTo

func (m *QueryFreespaceRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryFreespaceRequest) MarshalToSizedBuffer

func (m *QueryFreespaceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryFreespaceRequest) ProtoMessage

func (*QueryFreespaceRequest) ProtoMessage()

func (*QueryFreespaceRequest) Reset

func (m *QueryFreespaceRequest) Reset()

func (*QueryFreespaceRequest) Size

func (m *QueryFreespaceRequest) Size() (n int)

func (*QueryFreespaceRequest) String

func (m *QueryFreespaceRequest) String() string

func (*QueryFreespaceRequest) Unmarshal

func (m *QueryFreespaceRequest) Unmarshal(dAtA []byte) error

func (*QueryFreespaceRequest) XXX_DiscardUnknown

func (m *QueryFreespaceRequest) XXX_DiscardUnknown()

func (*QueryFreespaceRequest) XXX_Marshal

func (m *QueryFreespaceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryFreespaceRequest) XXX_Merge

func (m *QueryFreespaceRequest) XXX_Merge(src proto.Message)

func (*QueryFreespaceRequest) XXX_Size

func (m *QueryFreespaceRequest) XXX_Size() int

func (*QueryFreespaceRequest) XXX_Unmarshal

func (m *QueryFreespaceRequest) XXX_Unmarshal(b []byte) error

type QueryFreespaceResponse

type QueryFreespaceResponse struct {
	Space string `protobuf:"bytes,1,opt,name=space,proto3" json:"space,omitempty"`
}

func (*QueryFreespaceResponse) Descriptor

func (*QueryFreespaceResponse) Descriptor() ([]byte, []int)

func (*QueryFreespaceResponse) GetSpace

func (m *QueryFreespaceResponse) GetSpace() string

func (*QueryFreespaceResponse) Marshal

func (m *QueryFreespaceResponse) Marshal() (dAtA []byte, err error)

func (*QueryFreespaceResponse) MarshalTo

func (m *QueryFreespaceResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryFreespaceResponse) MarshalToSizedBuffer

func (m *QueryFreespaceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryFreespaceResponse) ProtoMessage

func (*QueryFreespaceResponse) ProtoMessage()

func (*QueryFreespaceResponse) Reset

func (m *QueryFreespaceResponse) Reset()

func (*QueryFreespaceResponse) Size

func (m *QueryFreespaceResponse) Size() (n int)

func (*QueryFreespaceResponse) String

func (m *QueryFreespaceResponse) String() string

func (*QueryFreespaceResponse) Unmarshal

func (m *QueryFreespaceResponse) Unmarshal(dAtA []byte) error

func (*QueryFreespaceResponse) XXX_DiscardUnknown

func (m *QueryFreespaceResponse) XXX_DiscardUnknown()

func (*QueryFreespaceResponse) XXX_Marshal

func (m *QueryFreespaceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryFreespaceResponse) XXX_Merge

func (m *QueryFreespaceResponse) XXX_Merge(src proto.Message)

func (*QueryFreespaceResponse) XXX_Size

func (m *QueryFreespaceResponse) XXX_Size() int

func (*QueryFreespaceResponse) XXX_Unmarshal

func (m *QueryFreespaceResponse) XXX_Unmarshal(b []byte) error

type QueryParamsRequest

type QueryParamsRequest struct {
}

QueryParamsRequest is request type for the Query/Params RPC method.

func (*QueryParamsRequest) Descriptor

func (*QueryParamsRequest) Descriptor() ([]byte, []int)

func (*QueryParamsRequest) Marshal

func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)

func (*QueryParamsRequest) MarshalTo

func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryParamsRequest) MarshalToSizedBuffer

func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryParamsRequest) ProtoMessage

func (*QueryParamsRequest) ProtoMessage()

func (*QueryParamsRequest) Reset

func (m *QueryParamsRequest) Reset()

func (*QueryParamsRequest) Size

func (m *QueryParamsRequest) Size() (n int)

func (*QueryParamsRequest) String

func (m *QueryParamsRequest) String() string

func (*QueryParamsRequest) Unmarshal

func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error

func (*QueryParamsRequest) XXX_DiscardUnknown

func (m *QueryParamsRequest) XXX_DiscardUnknown()

func (*QueryParamsRequest) XXX_Marshal

func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryParamsRequest) XXX_Merge

func (m *QueryParamsRequest) XXX_Merge(src proto.Message)

func (*QueryParamsRequest) XXX_Size

func (m *QueryParamsRequest) XXX_Size() int

func (*QueryParamsRequest) XXX_Unmarshal

func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error

type QueryParamsResponse

type QueryParamsResponse struct {
	// params holds all the parameters of this module.
	Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}

QueryParamsResponse is response type for the Query/Params RPC method.

func (*QueryParamsResponse) Descriptor

func (*QueryParamsResponse) Descriptor() ([]byte, []int)

func (*QueryParamsResponse) GetParams

func (m *QueryParamsResponse) GetParams() Params

func (*QueryParamsResponse) Marshal

func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)

func (*QueryParamsResponse) MarshalTo

func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryParamsResponse) MarshalToSizedBuffer

func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryParamsResponse) ProtoMessage

func (*QueryParamsResponse) ProtoMessage()

func (*QueryParamsResponse) Reset

func (m *QueryParamsResponse) Reset()

func (*QueryParamsResponse) Size

func (m *QueryParamsResponse) Size() (n int)

func (*QueryParamsResponse) String

func (m *QueryParamsResponse) String() string

func (*QueryParamsResponse) Unmarshal

func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error

func (*QueryParamsResponse) XXX_DiscardUnknown

func (m *QueryParamsResponse) XXX_DiscardUnknown()

func (*QueryParamsResponse) XXX_Marshal

func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryParamsResponse) XXX_Merge

func (m *QueryParamsResponse) XXX_Merge(src proto.Message)

func (*QueryParamsResponse) XXX_Size

func (m *QueryParamsResponse) XXX_Size() int

func (*QueryParamsResponse) XXX_Unmarshal

func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error

type QueryPayDataRequest

type QueryPayDataRequest struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
}

func (*QueryPayDataRequest) Descriptor

func (*QueryPayDataRequest) Descriptor() ([]byte, []int)

func (*QueryPayDataRequest) GetAddress

func (m *QueryPayDataRequest) GetAddress() string

func (*QueryPayDataRequest) Marshal

func (m *QueryPayDataRequest) Marshal() (dAtA []byte, err error)

func (*QueryPayDataRequest) MarshalTo

func (m *QueryPayDataRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryPayDataRequest) MarshalToSizedBuffer

func (m *QueryPayDataRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryPayDataRequest) ProtoMessage

func (*QueryPayDataRequest) ProtoMessage()

func (*QueryPayDataRequest) Reset

func (m *QueryPayDataRequest) Reset()

func (*QueryPayDataRequest) Size

func (m *QueryPayDataRequest) Size() (n int)

func (*QueryPayDataRequest) String

func (m *QueryPayDataRequest) String() string

func (*QueryPayDataRequest) Unmarshal

func (m *QueryPayDataRequest) Unmarshal(dAtA []byte) error

func (*QueryPayDataRequest) XXX_DiscardUnknown

func (m *QueryPayDataRequest) XXX_DiscardUnknown()

func (*QueryPayDataRequest) XXX_Marshal

func (m *QueryPayDataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryPayDataRequest) XXX_Merge

func (m *QueryPayDataRequest) XXX_Merge(src proto.Message)

func (*QueryPayDataRequest) XXX_Size

func (m *QueryPayDataRequest) XXX_Size() int

func (*QueryPayDataRequest) XXX_Unmarshal

func (m *QueryPayDataRequest) XXX_Unmarshal(b []byte) error

type QueryPayDataResponse

type QueryPayDataResponse struct {
	TimeRemaining int64 `protobuf:"varint,1,opt,name=time_remaining,json=timeRemaining,proto3" json:"time_remaining,omitempty"`
	Bytes         int64 `protobuf:"varint,2,opt,name=bytes,proto3" json:"bytes,omitempty"`
}

func (*QueryPayDataResponse) Descriptor

func (*QueryPayDataResponse) Descriptor() ([]byte, []int)

func (*QueryPayDataResponse) GetBytes

func (m *QueryPayDataResponse) GetBytes() int64

func (*QueryPayDataResponse) GetTimeRemaining

func (m *QueryPayDataResponse) GetTimeRemaining() int64

func (*QueryPayDataResponse) Marshal

func (m *QueryPayDataResponse) Marshal() (dAtA []byte, err error)

func (*QueryPayDataResponse) MarshalTo

func (m *QueryPayDataResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryPayDataResponse) MarshalToSizedBuffer

func (m *QueryPayDataResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryPayDataResponse) ProtoMessage

func (*QueryPayDataResponse) ProtoMessage()

func (*QueryPayDataResponse) Reset

func (m *QueryPayDataResponse) Reset()

func (*QueryPayDataResponse) Size

func (m *QueryPayDataResponse) Size() (n int)

func (*QueryPayDataResponse) String

func (m *QueryPayDataResponse) String() string

func (*QueryPayDataResponse) Unmarshal

func (m *QueryPayDataResponse) Unmarshal(dAtA []byte) error

func (*QueryPayDataResponse) XXX_DiscardUnknown

func (m *QueryPayDataResponse) XXX_DiscardUnknown()

func (*QueryPayDataResponse) XXX_Marshal

func (m *QueryPayDataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryPayDataResponse) XXX_Merge

func (m *QueryPayDataResponse) XXX_Merge(src proto.Message)

func (*QueryPayDataResponse) XXX_Size

func (m *QueryPayDataResponse) XXX_Size() int

func (*QueryPayDataResponse) XXX_Unmarshal

func (m *QueryPayDataResponse) XXX_Unmarshal(b []byte) error

type QueryProviderRequest

type QueryProviderRequest struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
}

func (*QueryProviderRequest) Descriptor

func (*QueryProviderRequest) Descriptor() ([]byte, []int)

func (*QueryProviderRequest) GetAddress

func (m *QueryProviderRequest) GetAddress() string

func (*QueryProviderRequest) Marshal

func (m *QueryProviderRequest) Marshal() (dAtA []byte, err error)

func (*QueryProviderRequest) MarshalTo

func (m *QueryProviderRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryProviderRequest) MarshalToSizedBuffer

func (m *QueryProviderRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryProviderRequest) ProtoMessage

func (*QueryProviderRequest) ProtoMessage()

func (*QueryProviderRequest) Reset

func (m *QueryProviderRequest) Reset()

func (*QueryProviderRequest) Size

func (m *QueryProviderRequest) Size() (n int)

func (*QueryProviderRequest) String

func (m *QueryProviderRequest) String() string

func (*QueryProviderRequest) Unmarshal

func (m *QueryProviderRequest) Unmarshal(dAtA []byte) error

func (*QueryProviderRequest) XXX_DiscardUnknown

func (m *QueryProviderRequest) XXX_DiscardUnknown()

func (*QueryProviderRequest) XXX_Marshal

func (m *QueryProviderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryProviderRequest) XXX_Merge

func (m *QueryProviderRequest) XXX_Merge(src proto.Message)

func (*QueryProviderRequest) XXX_Size

func (m *QueryProviderRequest) XXX_Size() int

func (*QueryProviderRequest) XXX_Unmarshal

func (m *QueryProviderRequest) XXX_Unmarshal(b []byte) error

type QueryProviderResponse

type QueryProviderResponse struct {
	Providers Providers `protobuf:"bytes,1,opt,name=providers,proto3" json:"providers"`
}

func (*QueryProviderResponse) Descriptor

func (*QueryProviderResponse) Descriptor() ([]byte, []int)

func (*QueryProviderResponse) GetProviders

func (m *QueryProviderResponse) GetProviders() Providers

func (*QueryProviderResponse) Marshal

func (m *QueryProviderResponse) Marshal() (dAtA []byte, err error)

func (*QueryProviderResponse) MarshalTo

func (m *QueryProviderResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryProviderResponse) MarshalToSizedBuffer

func (m *QueryProviderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryProviderResponse) ProtoMessage

func (*QueryProviderResponse) ProtoMessage()

func (*QueryProviderResponse) Reset

func (m *QueryProviderResponse) Reset()

func (*QueryProviderResponse) Size

func (m *QueryProviderResponse) Size() (n int)

func (*QueryProviderResponse) String

func (m *QueryProviderResponse) String() string

func (*QueryProviderResponse) Unmarshal

func (m *QueryProviderResponse) Unmarshal(dAtA []byte) error

func (*QueryProviderResponse) XXX_DiscardUnknown

func (m *QueryProviderResponse) XXX_DiscardUnknown()

func (*QueryProviderResponse) XXX_Marshal

func (m *QueryProviderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryProviderResponse) XXX_Merge

func (m *QueryProviderResponse) XXX_Merge(src proto.Message)

func (*QueryProviderResponse) XXX_Size

func (m *QueryProviderResponse) XXX_Size() int

func (*QueryProviderResponse) XXX_Unmarshal

func (m *QueryProviderResponse) XXX_Unmarshal(b []byte) error

type QueryServer

type QueryServer interface {
	// Parameters queries the parameters of the module.
	Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
	// Queries a Contracts by index.
	Contracts(context.Context, *QueryContractRequest) (*QueryContractResponse, error)
	// Queries a list of Contracts items.
	ContractsAll(context.Context, *QueryAllContractsRequest) (*QueryAllContractsResponse, error)
	// Queries a ActiveDeals by index.
	ActiveDeals(context.Context, *QueryActiveDealRequest) (*QueryActiveDealResponse, error)
	// Queries a list of ActiveDeals items.
	ActiveDealsAll(context.Context, *QueryAllActiveDealsRequest) (*QueryAllActiveDealsResponse, error)
	// Queries a Providers by index.
	Providers(context.Context, *QueryProviderRequest) (*QueryProviderResponse, error)
	// Queries a list of Providers items.
	ProvidersAll(context.Context, *QueryAllProvidersRequest) (*QueryAllProvidersResponse, error)
	// Queries a list of Freespace items.
	Freespace(context.Context, *QueryFreespaceRequest) (*QueryFreespaceResponse, error)
	// Queries a list of FindFile items.
	FindFile(context.Context, *QueryFindFileRequest) (*QueryFindFileResponse, error)
	// Queries a Strays by index.
	Strays(context.Context, *QueryStrayRequest) (*QueryStrayResponse, error)
	// Queries a list of Strays items.
	StraysAll(context.Context, *QueryAllStraysRequest) (*QueryAllStraysResponse, error)
	// Queries a list of GetClientFreeSpace items.
	GetClientFreeSpace(context.Context, *QueryClientFreeSpaceRequest) (*QueryClientFreeSpaceResponse, error)
	// Queries a FidCid by index.
	FidCid(context.Context, *QueryFidCidRequest) (*QueryFidCidResponse, error)
	// Queries a list of FidCid items.
	FidCidAll(context.Context, *QueryAllFidCidRequest) (*QueryAllFidCidResponse, error)
	// Queries a list of GetPayData items.
	GetPayData(context.Context, *QueryPayDataRequest) (*QueryPayDataResponse, error)
	// Queries a StoragePaymentInfo by address.
	StoragePaymentInfo(context.Context, *QueryStoragePaymentInfoRequest) (*QueryStoragePaymentInfoResponse, error)
	// Queries a list of StoragePaymentInfo items.
	StoragePaymentInfoAll(context.Context, *QueryAllStoragePaymentInfoRequest) (*QueryAllStoragePaymentInfoResponse, error)
	// Queries whether user can upload a file based on size
	FileUploadCheck(context.Context, *QueryFileUploadCheckRequest) (*QueryFileUploadCheckResponse, error)
}

QueryServer is the server API for Query service.

type QueryStoragePaymentInfoRequest

type QueryStoragePaymentInfoRequest struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
}

func (*QueryStoragePaymentInfoRequest) Descriptor

func (*QueryStoragePaymentInfoRequest) Descriptor() ([]byte, []int)

func (*QueryStoragePaymentInfoRequest) GetAddress

func (m *QueryStoragePaymentInfoRequest) GetAddress() string

func (*QueryStoragePaymentInfoRequest) Marshal

func (m *QueryStoragePaymentInfoRequest) Marshal() (dAtA []byte, err error)

func (*QueryStoragePaymentInfoRequest) MarshalTo

func (m *QueryStoragePaymentInfoRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryStoragePaymentInfoRequest) MarshalToSizedBuffer

func (m *QueryStoragePaymentInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryStoragePaymentInfoRequest) ProtoMessage

func (*QueryStoragePaymentInfoRequest) ProtoMessage()

func (*QueryStoragePaymentInfoRequest) Reset

func (m *QueryStoragePaymentInfoRequest) Reset()

func (*QueryStoragePaymentInfoRequest) Size

func (m *QueryStoragePaymentInfoRequest) Size() (n int)

func (*QueryStoragePaymentInfoRequest) String

func (*QueryStoragePaymentInfoRequest) Unmarshal

func (m *QueryStoragePaymentInfoRequest) Unmarshal(dAtA []byte) error

func (*QueryStoragePaymentInfoRequest) XXX_DiscardUnknown

func (m *QueryStoragePaymentInfoRequest) XXX_DiscardUnknown()

func (*QueryStoragePaymentInfoRequest) XXX_Marshal

func (m *QueryStoragePaymentInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryStoragePaymentInfoRequest) XXX_Merge

func (m *QueryStoragePaymentInfoRequest) XXX_Merge(src proto.Message)

func (*QueryStoragePaymentInfoRequest) XXX_Size

func (m *QueryStoragePaymentInfoRequest) XXX_Size() int

func (*QueryStoragePaymentInfoRequest) XXX_Unmarshal

func (m *QueryStoragePaymentInfoRequest) XXX_Unmarshal(b []byte) error

type QueryStoragePaymentInfoResponse

type QueryStoragePaymentInfoResponse struct {
	StoragePaymentInfo StoragePaymentInfo `protobuf:"bytes,1,opt,name=storage_payment_info,json=storagePaymentInfo,proto3" json:"storage_payment_info"`
}

func (*QueryStoragePaymentInfoResponse) Descriptor

func (*QueryStoragePaymentInfoResponse) Descriptor() ([]byte, []int)

func (*QueryStoragePaymentInfoResponse) GetStoragePaymentInfo

func (m *QueryStoragePaymentInfoResponse) GetStoragePaymentInfo() StoragePaymentInfo

func (*QueryStoragePaymentInfoResponse) Marshal

func (m *QueryStoragePaymentInfoResponse) Marshal() (dAtA []byte, err error)

func (*QueryStoragePaymentInfoResponse) MarshalTo

func (m *QueryStoragePaymentInfoResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryStoragePaymentInfoResponse) MarshalToSizedBuffer

func (m *QueryStoragePaymentInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryStoragePaymentInfoResponse) ProtoMessage

func (*QueryStoragePaymentInfoResponse) ProtoMessage()

func (*QueryStoragePaymentInfoResponse) Reset

func (*QueryStoragePaymentInfoResponse) Size

func (m *QueryStoragePaymentInfoResponse) Size() (n int)

func (*QueryStoragePaymentInfoResponse) String

func (*QueryStoragePaymentInfoResponse) Unmarshal

func (m *QueryStoragePaymentInfoResponse) Unmarshal(dAtA []byte) error

func (*QueryStoragePaymentInfoResponse) XXX_DiscardUnknown

func (m *QueryStoragePaymentInfoResponse) XXX_DiscardUnknown()

func (*QueryStoragePaymentInfoResponse) XXX_Marshal

func (m *QueryStoragePaymentInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryStoragePaymentInfoResponse) XXX_Merge

func (m *QueryStoragePaymentInfoResponse) XXX_Merge(src proto.Message)

func (*QueryStoragePaymentInfoResponse) XXX_Size

func (m *QueryStoragePaymentInfoResponse) XXX_Size() int

func (*QueryStoragePaymentInfoResponse) XXX_Unmarshal

func (m *QueryStoragePaymentInfoResponse) XXX_Unmarshal(b []byte) error

type QueryStrayRequest

type QueryStrayRequest struct {
	Cid string `protobuf:"bytes,1,opt,name=cid,proto3" json:"cid,omitempty"`
}

func (*QueryStrayRequest) Descriptor

func (*QueryStrayRequest) Descriptor() ([]byte, []int)

func (*QueryStrayRequest) GetCid

func (m *QueryStrayRequest) GetCid() string

func (*QueryStrayRequest) Marshal

func (m *QueryStrayRequest) Marshal() (dAtA []byte, err error)

func (*QueryStrayRequest) MarshalTo

func (m *QueryStrayRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryStrayRequest) MarshalToSizedBuffer

func (m *QueryStrayRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryStrayRequest) ProtoMessage

func (*QueryStrayRequest) ProtoMessage()

func (*QueryStrayRequest) Reset

func (m *QueryStrayRequest) Reset()

func (*QueryStrayRequest) Size

func (m *QueryStrayRequest) Size() (n int)

func (*QueryStrayRequest) String

func (m *QueryStrayRequest) String() string

func (*QueryStrayRequest) Unmarshal

func (m *QueryStrayRequest) Unmarshal(dAtA []byte) error

func (*QueryStrayRequest) XXX_DiscardUnknown

func (m *QueryStrayRequest) XXX_DiscardUnknown()

func (*QueryStrayRequest) XXX_Marshal

func (m *QueryStrayRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryStrayRequest) XXX_Merge

func (m *QueryStrayRequest) XXX_Merge(src proto.Message)

func (*QueryStrayRequest) XXX_Size

func (m *QueryStrayRequest) XXX_Size() int

func (*QueryStrayRequest) XXX_Unmarshal

func (m *QueryStrayRequest) XXX_Unmarshal(b []byte) error

type QueryStrayResponse

type QueryStrayResponse struct {
	Strays Strays `protobuf:"bytes,1,opt,name=strays,proto3" json:"strays"`
}

func (*QueryStrayResponse) Descriptor

func (*QueryStrayResponse) Descriptor() ([]byte, []int)

func (*QueryStrayResponse) GetStrays

func (m *QueryStrayResponse) GetStrays() Strays

func (*QueryStrayResponse) Marshal

func (m *QueryStrayResponse) Marshal() (dAtA []byte, err error)

func (*QueryStrayResponse) MarshalTo

func (m *QueryStrayResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryStrayResponse) MarshalToSizedBuffer

func (m *QueryStrayResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryStrayResponse) ProtoMessage

func (*QueryStrayResponse) ProtoMessage()

func (*QueryStrayResponse) Reset

func (m *QueryStrayResponse) Reset()

func (*QueryStrayResponse) Size

func (m *QueryStrayResponse) Size() (n int)

func (*QueryStrayResponse) String

func (m *QueryStrayResponse) String() string

func (*QueryStrayResponse) Unmarshal

func (m *QueryStrayResponse) Unmarshal(dAtA []byte) error

func (*QueryStrayResponse) XXX_DiscardUnknown

func (m *QueryStrayResponse) XXX_DiscardUnknown()

func (*QueryStrayResponse) XXX_Marshal

func (m *QueryStrayResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryStrayResponse) XXX_Merge

func (m *QueryStrayResponse) XXX_Merge(src proto.Message)

func (*QueryStrayResponse) XXX_Size

func (m *QueryStrayResponse) XXX_Size() int

func (*QueryStrayResponse) XXX_Unmarshal

func (m *QueryStrayResponse) XXX_Unmarshal(b []byte) error

type StoragePaymentInfo

type StoragePaymentInfo struct {
	Start          time.Time `protobuf:"bytes,1,opt,name=start,proto3,stdtime" json:"start"`
	End            time.Time `protobuf:"bytes,2,opt,name=end,proto3,stdtime" json:"end"`
	SpaceAvailable int64     `protobuf:"varint,3,opt,name=spaceAvailable,proto3" json:"spaceAvailable,omitempty"`
	SpaceUsed      int64     `protobuf:"varint,4,opt,name=spaceUsed,proto3" json:"spaceUsed,omitempty"`
	Address        string    `protobuf:"bytes,5,opt,name=address,proto3" json:"address,omitempty"`
}

func (*StoragePaymentInfo) Descriptor

func (*StoragePaymentInfo) Descriptor() ([]byte, []int)

func (*StoragePaymentInfo) GetAddress

func (m *StoragePaymentInfo) GetAddress() string

func (*StoragePaymentInfo) GetEnd

func (m *StoragePaymentInfo) GetEnd() time.Time

func (*StoragePaymentInfo) GetSpaceAvailable

func (m *StoragePaymentInfo) GetSpaceAvailable() int64

func (*StoragePaymentInfo) GetSpaceUsed

func (m *StoragePaymentInfo) GetSpaceUsed() int64

func (*StoragePaymentInfo) GetStart

func (m *StoragePaymentInfo) GetStart() time.Time

func (*StoragePaymentInfo) Marshal

func (m *StoragePaymentInfo) Marshal() (dAtA []byte, err error)

func (*StoragePaymentInfo) MarshalTo

func (m *StoragePaymentInfo) MarshalTo(dAtA []byte) (int, error)

func (*StoragePaymentInfo) MarshalToSizedBuffer

func (m *StoragePaymentInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*StoragePaymentInfo) ProtoMessage

func (*StoragePaymentInfo) ProtoMessage()

func (*StoragePaymentInfo) Reset

func (m *StoragePaymentInfo) Reset()

func (*StoragePaymentInfo) Size

func (m *StoragePaymentInfo) Size() (n int)

func (*StoragePaymentInfo) String

func (m *StoragePaymentInfo) String() string

func (*StoragePaymentInfo) Unmarshal

func (m *StoragePaymentInfo) Unmarshal(dAtA []byte) error

func (*StoragePaymentInfo) XXX_DiscardUnknown

func (m *StoragePaymentInfo) XXX_DiscardUnknown()

func (*StoragePaymentInfo) XXX_Marshal

func (m *StoragePaymentInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StoragePaymentInfo) XXX_Merge

func (m *StoragePaymentInfo) XXX_Merge(src proto.Message)

func (*StoragePaymentInfo) XXX_Size

func (m *StoragePaymentInfo) XXX_Size() int

func (*StoragePaymentInfo) XXX_Unmarshal

func (m *StoragePaymentInfo) XXX_Unmarshal(b []byte) error

type Strays

type Strays struct {
	Cid      string `protobuf:"bytes,1,opt,name=cid,proto3" json:"cid,omitempty"`
	Fid      string `protobuf:"bytes,2,opt,name=fid,proto3" json:"fid,omitempty"`
	Signee   string `protobuf:"bytes,3,opt,name=signee,proto3" json:"signee,omitempty"`
	Filesize string `protobuf:"bytes,4,opt,name=filesize,proto3" json:"filesize,omitempty"`
	Merkle   string `protobuf:"bytes,5,opt,name=merkle,proto3" json:"merkle,omitempty"`
	End      int64  `protobuf:"varint,6,opt,name=end,proto3" json:"end,omitempty"`
}

func (*Strays) Descriptor

func (*Strays) Descriptor() ([]byte, []int)

func (*Strays) GetCid

func (m *Strays) GetCid() string

func (*Strays) GetEnd

func (m *Strays) GetEnd() int64

func (*Strays) GetFid

func (m *Strays) GetFid() string

func (*Strays) GetFilesize

func (m *Strays) GetFilesize() string

func (*Strays) GetMerkle

func (m *Strays) GetMerkle() string

func (*Strays) GetSignee

func (m *Strays) GetSignee() string

func (*Strays) Marshal

func (m *Strays) Marshal() (dAtA []byte, err error)

func (*Strays) MarshalTo

func (m *Strays) MarshalTo(dAtA []byte) (int, error)

func (*Strays) MarshalToSizedBuffer

func (m *Strays) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Strays) ProtoMessage

func (*Strays) ProtoMessage()

func (*Strays) Reset

func (m *Strays) Reset()

func (*Strays) Size

func (m *Strays) Size() (n int)

func (*Strays) String

func (m *Strays) String() string

func (*Strays) Unmarshal

func (m *Strays) Unmarshal(dAtA []byte) error

func (*Strays) XXX_DiscardUnknown

func (m *Strays) XXX_DiscardUnknown()

func (*Strays) XXX_Marshal

func (m *Strays) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Strays) XXX_Merge

func (m *Strays) XXX_Merge(src proto.Message)

func (*Strays) XXX_Size

func (m *Strays) XXX_Size() int

func (*Strays) XXX_Unmarshal

func (m *Strays) XXX_Unmarshal(b []byte) error

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) AddProviderClaimer

func (*UnimplementedMsgServer) BuyStorage

func (*UnimplementedMsgServer) CancelContract

func (*UnimplementedMsgServer) ClaimStray

func (*UnimplementedMsgServer) InitProvider

func (*UnimplementedMsgServer) PostContract

func (*UnimplementedMsgServer) Postproof

func (*UnimplementedMsgServer) RemoveProviderClaimer

func (*UnimplementedMsgServer) SetProviderIP

func (*UnimplementedMsgServer) SetProviderKeybase

func (*UnimplementedMsgServer) SetProviderTotalspace

func (*UnimplementedMsgServer) SignContract

func (*UnimplementedMsgServer) UpgradeStorage

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) ActiveDeals

func (*UnimplementedQueryServer) ActiveDealsAll

func (*UnimplementedQueryServer) Contracts

func (*UnimplementedQueryServer) ContractsAll

func (*UnimplementedQueryServer) FidCid

func (*UnimplementedQueryServer) FidCidAll

func (*UnimplementedQueryServer) FileUploadCheck

func (*UnimplementedQueryServer) FindFile

func (*UnimplementedQueryServer) Freespace

func (*UnimplementedQueryServer) GetClientFreeSpace

func (*UnimplementedQueryServer) GetPayData

func (*UnimplementedQueryServer) Params

func (*UnimplementedQueryServer) Providers

func (*UnimplementedQueryServer) ProvidersAll

func (*UnimplementedQueryServer) StoragePaymentInfo

func (*UnimplementedQueryServer) Strays

func (*UnimplementedQueryServer) StraysAll

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL