Versions in this module Expand all Collapse all v1 v1.1.0 May 26, 2020 Changes in this version + const AttributeKeyAuthor + const AttributeKeyConsumer + const AttributeKeyExpirationHeight + const AttributeKeyProvider + const AttributeKeyRequestContextID + const AttributeKeyRequestContextState + const AttributeKeyRequestHeight + const AttributeKeyRequestID + const AttributeKeyRequests + const AttributeKeyServiceFee + const AttributeKeyServiceName + const AttributeKeySlashedCoins + const AttributeValueCategory + const ContextIDLen + const DefaultParamspace + const DepositAccName + const EventTypeCompleteBatch + const EventTypeCompleteContext + const EventTypeCreateContext + const EventTypeNewBatch + const EventTypeNewBatchRequest + const EventTypeNewBatchRequestProvider + const EventTypePauseContext + const EventTypeServiceSlash + const MaxDescriptionLength + const MaxNameLength + const MaxProvidersNum + const MaxTagLength + const MaxTagsNum + const ModuleName + const MsgIndex + const PricingSchema + const QuerierRoute + const QueryBinding + const QueryBindings + const QueryDefinition + const QueryEarnedFees + const QueryParameters + const QueryRequest + const QueryRequestContext + const QueryRequests + const QueryRequestsByReqCtx + const QueryResponse + const QueryResponses + const QuerySchema + const QueryWithdrawAddress + const RequestAccName + const RequestIDLen + const ResultSchema + const RouterKey + const StoreKey + const TxHash + const TypeMsgBindService + const TypeMsgCallService + const TypeMsgDefineService + const TypeMsgDisableServiceBinding + const TypeMsgEnableServiceBinding + const TypeMsgKillRequestContext + const TypeMsgPauseRequestContext + const TypeMsgRefundServiceDeposit + const TypeMsgRespondService + const TypeMsgSetWithdrawAddress + const TypeMsgStartRequestContext + const TypeMsgUpdateRequestContext + const TypeMsgUpdateServiceBinding + const TypeMsgWithdrawEarnedFees + var ActiveRequestByIDKey = []byte + var ActiveRequestKey = []byte + var DefaultArbitrationTimeLimit = 5 * 24 * time.Hour + var DefaultBaseDenom = sdk.DefaultBondDenom + var DefaultComplaintRetrospect = 15 * 24 * time.Hour + var DefaultMaxRequestTimeout = int64(100) + var DefaultMinDeposit = sdk.NewCoins(sdk.NewCoin(sdk.DefaultBondDenom, sdk.NewInt(6000))) + var DefaultMinDepositMultiple = int64(200) + var DefaultServiceFeeTax = sdk.NewDecWithPrec(1, 1) + var DefaultSlashFraction = sdk.NewDecWithPrec(1, 3) + var DefaultTxSizeLimit = uint64(4000) + var EarnedFeesKey = []byte + var EmptyByte = []byte + var ErrCallbackNotRegistered = sdkerrors.Register(ModuleName, 33, "callback not registered") + var ErrCallbackRegistered = sdkerrors.Register(ModuleName, 32, "callback registered") + var ErrIncorrectRefundTime = sdkerrors.Register(ModuleName, 15, "incorrect refund time") + var ErrIntOverflowTypes = fmt.Errorf("proto: integer overflow") + var ErrInvalidDeposit = sdkerrors.Register(ModuleName, 8, "invalid deposit") + var ErrInvalidDescription = sdkerrors.Register(ModuleName, 3, "invalid description") + var ErrInvalidLengthTypes = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidPricing = sdkerrors.Register(ModuleName, 9, "invalid pricing") + var ErrInvalidProviders = sdkerrors.Register(ModuleName, 17, "invalid providers") + var ErrInvalidQoS = sdkerrors.Register(ModuleName, 10, "invalid qos") + var ErrInvalidRepeatedFreq = sdkerrors.Register(ModuleName, 19, "invalid repeated frequency") + var ErrInvalidRepeatedTotal = sdkerrors.Register(ModuleName, 20, "invalid repeated total count") + var ErrInvalidRequestContextID = sdkerrors.Register(ModuleName, 27, "invalid request context ID") + var ErrInvalidRequestID = sdkerrors.Register(ModuleName, 23, "invalid request ID") + var ErrInvalidRequestInput = sdkerrors.Register(ModuleName, 35, "invalid request input") + var ErrInvalidResponse = sdkerrors.Register(ModuleName, 22, "invalid response") + var ErrInvalidResponseOutput = sdkerrors.Register(ModuleName, 36, "invalid response output") + var ErrInvalidResponseResult = sdkerrors.Register(ModuleName, 37, "invalid response result") + var ErrInvalidResponseThreshold = sdkerrors.Register(ModuleName, 21, "invalid response threshold") + var ErrInvalidSchemaName = sdkerrors.Register(ModuleName, 38, "invalid service schema name") + var ErrInvalidSchemas = sdkerrors.Register(ModuleName, 5, "invalid schemas") + var ErrInvalidServiceFee = sdkerrors.Register(ModuleName, 16, "invalid service fee") + var ErrInvalidServiceName = sdkerrors.Register(ModuleName, 2, ...) + var ErrInvalidTags = sdkerrors.Register(ModuleName, 4, "invalid tags") + var ErrInvalidTimeout = sdkerrors.Register(ModuleName, 18, "invalid timeout") + var ErrNoEarnedFees = sdkerrors.Register(ModuleName, 34, "no earned fees") + var ErrNotAuthorized = sdkerrors.Register(ModuleName, 39, "not authorized") + var ErrRequestContextCompleted = sdkerrors.Register(ModuleName, 31, "request context completed") + var ErrRequestContextNonRepeated = sdkerrors.Register(ModuleName, 28, "request context non repeated") + var ErrRequestContextNotPaused = sdkerrors.Register(ModuleName, 30, "request context not paused") + var ErrRequestContextNotRunning = sdkerrors.Register(ModuleName, 29, "request context not running") + var ErrServiceBindingAvailable = sdkerrors.Register(ModuleName, 14, "service binding available") + var ErrServiceBindingExists = sdkerrors.Register(ModuleName, 11, "service binding already exists") + var ErrServiceBindingUnavailable = sdkerrors.Register(ModuleName, 13, "service binding unavailable") + var ErrServiceDefinitionExists = sdkerrors.Register(ModuleName, 7, "service definition already exists") + var ErrUnexpectedEndOfGroupTypes = fmt.Errorf("proto: unexpected end of group") + var ErrUnknownRequest = sdkerrors.Register(ModuleName, 24, "unknown request") + var ErrUnknownRequestContext = sdkerrors.Register(ModuleName, 26, "unknown request context") + var ErrUnknownResponse = sdkerrors.Register(ModuleName, 25, "unknown response") + var ErrUnknownServiceBinding = sdkerrors.Register(ModuleName, 12, "unknown service binding") + var ErrUnknownServiceDefinition = sdkerrors.Register(ModuleName, 6, "unknown service definition") + var ExpiredRequestBatchHeightKey = []byte + var ExpiredRequestBatchKey = []byte + var KeyArbitrationTimeLimit = []byte("ArbitrationTimeLimit") + var KeyBaseDenom = []byte("BaseDenom") + var KeyComplaintRetrospect = []byte("ComplaintRetrospect") + var KeyMaxRequestTimeout = []byte("MaxRequestTimeout") + var KeyMinDeposit = []byte("MinDeposit") + var KeyMinDepositMultiple = []byte("MinDepositMultiple") + var KeyServiceFeeTax = []byte("ServiceFeeTax") + var KeySlashFraction = []byte("SlashFraction") + var KeyTxSizeLimit = []byte("TxSizeLimit") + var ModuleCdc *codec.Codec + var NewRequestBatchHeightKey = []byte + var NewRequestBatchKey = []byte + var OwnerEarnedFeesKey = []byte + var OwnerKey = []byte + var OwnerProviderKey = []byte + var OwnerServiceBindingKey = []byte + var PricingKey = []byte + var RequestContextBatchStateToStringMap = map[RequestContextBatchState]string + var RequestContextBatchState_name = map[int32]string + var RequestContextBatchState_value = map[string]int32 + var RequestContextKey = []byte + var RequestContextStateToStringMap = map[RequestContextState]string + var RequestContextState_name = map[int32]string + var RequestContextState_value = map[string]int32 + var RequestKey = []byte + var RequestVolumeKey = []byte + var ResponseKey = []byte + var ServiceBindingKey = []byte + var ServiceDefinitionKey = []byte + var StringToRequestContextBatchStateMap = map[string]RequestContextBatchState + var StringToRequestContextStateMap = map[string]RequestContextState + var WithdrawAddrKey = []byte + func ActionTag(action string, tagKeys ...string) string + func ConvertRequestID(requestIDStr string) (tmbytes.HexBytes, error) + func GenerateRequestContextID(txHash []byte, msgIndex int64) tmbytes.HexBytes + func GenerateRequestID(requestContextID tmbytes.HexBytes, requestContextBatchCounter uint64, ...) tmbytes.HexBytes + func GetActiveRequestKey(serviceName string, provider sdk.AccAddress, expirationHeight int64, ...) []byte + func GetActiveRequestKeyByID(requestID []byte) []byte + func GetActiveRequestSubspace(serviceName string, provider sdk.AccAddress) []byte + func GetActiveRequestSubspaceByReqCtx(requestContextID []byte, batchCounter uint64) []byte + func GetBindingsSubspace(serviceName string) []byte + func GetDiscountByTime(pricing Pricing, time time.Time) sdk.Dec + func GetDiscountByVolume(pricing Pricing, volume uint64) sdk.Dec + func GetEarnedFeesKey(provider sdk.AccAddress, denom string) []byte + func GetEarnedFeesSubspace(provider sdk.AccAddress) []byte + func GetExpiredRequestBatchHeightKey(requestContextID []byte) []byte + func GetExpiredRequestBatchKey(requestContextID []byte, batchExpirationHeight int64) []byte + func GetExpiredRequestBatchSubspace(batchExpirationHeight int64) []byte + func GetNewRequestBatchHeightKey(requestContextID []byte) []byte + func GetNewRequestBatchKey(requestContextID []byte, requestBatchHeight int64) []byte + func GetNewRequestBatchSubspace(requestBatchHeight int64) []byte + func GetOwnerBindingsSubspace(owner sdk.AccAddress, serviceName string) []byte + func GetOwnerEarnedFeesKey(owner sdk.AccAddress, denom string) []byte + func GetOwnerEarnedFeesSubspace(owner sdk.AccAddress) []byte + func GetOwnerKey(provider sdk.AccAddress) []byte + func GetOwnerProviderKey(owner, provider sdk.AccAddress) []byte + func GetOwnerProvidersSubspace(owner sdk.AccAddress) []byte + func GetOwnerServiceBindingKey(owner sdk.AccAddress, serviceName string, provider sdk.AccAddress) []byte + func GetPricingKey(serviceName string, provider sdk.AccAddress) []byte + func GetRequestContextKey(requestContextID []byte) []byte + func GetRequestKey(requestID []byte) []byte + func GetRequestSubspaceByReqCtx(requestContextID []byte, batchCounter uint64) []byte + func GetRequestVolumeKey(consumer sdk.AccAddress, serviceName string, provider sdk.AccAddress) []byte + func GetResponseKey(requestID []byte) []byte + func GetResponseSubspaceByReqCtx(requestContextID []byte, batchCounter uint64) []byte + func GetServiceBindingKey(serviceName string, provider sdk.AccAddress) []byte + func GetServiceDefinitionKey(serviceName string) []byte + func GetWithdrawAddrKey(provider sdk.AccAddress) []byte + func HasDuplicate(arr []string) bool + func ParseCoinParts(coinStr string) (denom, amount string, err error) + func RegisterCodec(cdc *codec.Codec) + func SplitRequestContextID(contextID tmbytes.HexBytes) (tmbytes.HexBytes, int64, error) + func SplitRequestID(requestID tmbytes.HexBytes) (tmbytes.HexBytes, uint64, int64, int16, error) + func ValidateAuthor(author sdk.AccAddress) error + func ValidateAuthorDescription(authorDescription string) error + func ValidateBindingPricing(pricing string) error + func ValidateConsumer(consumer sdk.AccAddress) error + func ValidateContextID(contextID []byte) error + func ValidateGenesis(data GenesisState) error + func ValidateInput(input string) error + func ValidateOutput(code uint16, output string) error + func ValidateOwner(owner sdk.AccAddress) error + func ValidatePricing(pricing Pricing) error + func ValidateProvider(provider sdk.AccAddress) error + func ValidateProvidersCanEmpty(providers []sdk.AccAddress) error + func ValidateProvidersNoEmpty(providers []sdk.AccAddress) error + func ValidateQoS(qos uint64) error + func ValidateRequest(serviceName string, serviceFeeCap sdk.Coins, providers []sdk.AccAddress, ...) error + func ValidateRequestContextUpdating(providers []sdk.AccAddress, serviceFeeCap sdk.Coins, timeout int64, ...) error + func ValidateRequestID(reqID []byte) error + func ValidateRequestInput(schemas string, input string) error + func ValidateResponseOutput(schemas string, output string) error + func ValidateResponseResult(result string) error + func ValidateServiceDeposit(deposit sdk.Coins) error + func ValidateServiceDescription(svcDescription string) error + func ValidateServiceFeeCap(serviceFeeCap sdk.Coins) error + func ValidateServiceName(name string) error + func ValidateServiceSchemas(schemas string) error + func ValidateTags(tags []string) error + func ValidateWithdrawAddress(withdrawAddress sdk.AccAddress) error + type AccountKeeper interface + GetAccount func(ctx sdk.Context, addr sdk.AccAddress) auth.Account + GetModuleAccount func(ctx sdk.Context, name string) auth.ModuleAccountI + GetModuleAddress func(name string) sdk.AccAddress + type BankKeeper interface + BurnCoins func(ctx sdk.Context, moduleName string, amt sdk.Coins) error + GetBalance func(ctx sdk.Context, addr sdk.AccAddress, denom string) sdk.Coin + GetSupply func(ctx sdk.Context) (supply bank.SupplyI) + MintCoins func(ctx sdk.Context, moduleName string, amt sdk.Coins) error + SendCoinsFromAccountToModule func(ctx sdk.Context, senderAddr sdk.AccAddress, recipientModule string, ...) error + SendCoinsFromModuleToAccount func(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, ...) error + SendCoinsFromModuleToModule func(ctx sdk.Context, senderModule, recipientModule string, amt sdk.Coins) error + SpendableCoins func(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins + type BatchState struct + BatchCounter uint64 + BatchRequestCount uint32 + BatchResponseCount uint32 + BatchResponseThreshold uint32 + State RequestContextBatchState + type CompactRequest struct + ExpirationHeight int64 + Provider github_com_cosmos_cosmos_sdk_types.AccAddress + RequestContextBatchCounter uint64 + RequestContextID github_com_tendermint_tendermint_libs_bytes.HexBytes + RequestHeight int64 + ServiceFee github_com_cosmos_cosmos_sdk_types.Coins + func NewCompactRequest(requestContextID tmbytes.HexBytes, batchCounter uint64, ...) CompactRequest + func (*CompactRequest) Descriptor() ([]byte, []int) + func (*CompactRequest) ProtoMessage() + func (m *CompactRequest) Marshal() (dAtA []byte, err error) + func (m *CompactRequest) MarshalTo(dAtA []byte) (int, error) + func (m *CompactRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *CompactRequest) Reset() + func (m *CompactRequest) Size() (n int) + func (m *CompactRequest) String() string + func (m *CompactRequest) Unmarshal(dAtA []byte) error + func (m *CompactRequest) XXX_DiscardUnknown() + func (m *CompactRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *CompactRequest) XXX_Merge(src proto.Message) + func (m *CompactRequest) XXX_Size() int + func (m *CompactRequest) XXX_Unmarshal(b []byte) error + type GenesisState struct + Bindings []ServiceBinding + Definitions []ServiceDefinition + Params Params + RequestContexts map[string]RequestContext + WithdrawAddresses map[string]sdk.AccAddress + func DefaultGenesisState() GenesisState + func DefaultGenesisStateForTest(moduleSvcDefinitions []ServiceDefinition) GenesisState + func NewGenesisState(params Params, definitions []ServiceDefinition, bindings []ServiceBinding, ...) GenesisState + type MockToken struct + MinUnit string + Scale uint32 + Symbol string + func (token MockToken) GetMinUnit() string + func (token MockToken) GetScale() uint32 + func (token MockToken) GetSymbol() string + type MsgBindService struct + Deposit github_com_cosmos_cosmos_sdk_types.Coins + Owner github_com_cosmos_cosmos_sdk_types.AccAddress + Pricing string + Provider github_com_cosmos_cosmos_sdk_types.AccAddress + QoS uint64 + ServiceName string + func NewMsgBindService(serviceName string, provider sdk.AccAddress, deposit sdk.Coins, pricing string, ...) MsgBindService + func (*MsgBindService) Descriptor() ([]byte, []int) + func (*MsgBindService) ProtoMessage() + func (m *MsgBindService) Marshal() (dAtA []byte, err error) + func (m *MsgBindService) MarshalTo(dAtA []byte) (int, error) + func (m *MsgBindService) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgBindService) Reset() + func (m *MsgBindService) Size() (n int) + func (m *MsgBindService) String() string + func (m *MsgBindService) Unmarshal(dAtA []byte) error + func (m *MsgBindService) XXX_DiscardUnknown() + func (m *MsgBindService) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgBindService) XXX_Merge(src proto.Message) + func (m *MsgBindService) XXX_Size() int + func (m *MsgBindService) XXX_Unmarshal(b []byte) error + func (msg MsgBindService) GetSignBytes() []byte + func (msg MsgBindService) GetSigners() []sdk.AccAddress + func (msg MsgBindService) Route() string + func (msg MsgBindService) Type() string + func (msg MsgBindService) ValidateBasic() error + type MsgCallService struct + Consumer github_com_cosmos_cosmos_sdk_types.AccAddress + Input string + Providers []github_com_cosmos_cosmos_sdk_types.AccAddress + Repeated bool + RepeatedFrequency uint64 + RepeatedTotal int64 + ServiceFeeCap github_com_cosmos_cosmos_sdk_types.Coins + ServiceName string + SuperMode bool + Timeout int64 + func NewMsgCallService(serviceName string, providers []sdk.AccAddress, consumer sdk.AccAddress, ...) MsgCallService + func (*MsgCallService) Descriptor() ([]byte, []int) + func (*MsgCallService) ProtoMessage() + func (m *MsgCallService) Marshal() (dAtA []byte, err error) + func (m *MsgCallService) MarshalTo(dAtA []byte) (int, error) + func (m *MsgCallService) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgCallService) Reset() + func (m *MsgCallService) Size() (n int) + func (m *MsgCallService) String() string + func (m *MsgCallService) Unmarshal(dAtA []byte) error + func (m *MsgCallService) XXX_DiscardUnknown() + func (m *MsgCallService) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgCallService) XXX_Merge(src proto.Message) + func (m *MsgCallService) XXX_Size() int + func (m *MsgCallService) XXX_Unmarshal(b []byte) error + func (msg MsgCallService) GetSignBytes() []byte + func (msg MsgCallService) GetSigners() []sdk.AccAddress + func (msg MsgCallService) Route() string + func (msg MsgCallService) Type() string + func (msg MsgCallService) ValidateBasic() error + type MsgDefineService struct + Author github_com_cosmos_cosmos_sdk_types.AccAddress + AuthorDescription string + Description string + Name string + Schemas string + Tags []string + func NewMsgDefineService(name, description string, tags []string, author sdk.AccAddress, ...) MsgDefineService + func (*MsgDefineService) Descriptor() ([]byte, []int) + func (*MsgDefineService) ProtoMessage() + func (m *MsgDefineService) Marshal() (dAtA []byte, err error) + func (m *MsgDefineService) MarshalTo(dAtA []byte) (int, error) + func (m *MsgDefineService) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgDefineService) Reset() + func (m *MsgDefineService) Size() (n int) + func (m *MsgDefineService) String() string + func (m *MsgDefineService) Unmarshal(dAtA []byte) error + func (m *MsgDefineService) XXX_DiscardUnknown() + func (m *MsgDefineService) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgDefineService) XXX_Merge(src proto.Message) + func (m *MsgDefineService) XXX_Size() int + func (m *MsgDefineService) XXX_Unmarshal(b []byte) error + func (msg MsgDefineService) GetSignBytes() []byte + func (msg MsgDefineService) GetSigners() []sdk.AccAddress + func (msg MsgDefineService) Route() string + func (msg MsgDefineService) Type() string + func (msg MsgDefineService) ValidateBasic() error + type MsgDisableServiceBinding struct + Owner github_com_cosmos_cosmos_sdk_types.AccAddress + Provider github_com_cosmos_cosmos_sdk_types.AccAddress + ServiceName string + func NewMsgDisableServiceBinding(serviceName string, provider, owner sdk.AccAddress) MsgDisableServiceBinding + func (*MsgDisableServiceBinding) Descriptor() ([]byte, []int) + func (*MsgDisableServiceBinding) ProtoMessage() + func (m *MsgDisableServiceBinding) Marshal() (dAtA []byte, err error) + func (m *MsgDisableServiceBinding) MarshalTo(dAtA []byte) (int, error) + func (m *MsgDisableServiceBinding) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgDisableServiceBinding) Reset() + func (m *MsgDisableServiceBinding) Size() (n int) + func (m *MsgDisableServiceBinding) String() string + func (m *MsgDisableServiceBinding) Unmarshal(dAtA []byte) error + func (m *MsgDisableServiceBinding) XXX_DiscardUnknown() + func (m *MsgDisableServiceBinding) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgDisableServiceBinding) XXX_Merge(src proto.Message) + func (m *MsgDisableServiceBinding) XXX_Size() int + func (m *MsgDisableServiceBinding) XXX_Unmarshal(b []byte) error + func (msg MsgDisableServiceBinding) GetSignBytes() []byte + func (msg MsgDisableServiceBinding) GetSigners() []sdk.AccAddress + func (msg MsgDisableServiceBinding) Route() string + func (msg MsgDisableServiceBinding) Type() string + func (msg MsgDisableServiceBinding) ValidateBasic() error + type MsgEnableServiceBinding struct + Deposit github_com_cosmos_cosmos_sdk_types.Coins + Owner github_com_cosmos_cosmos_sdk_types.AccAddress + Provider github_com_cosmos_cosmos_sdk_types.AccAddress + ServiceName string + func NewMsgEnableServiceBinding(serviceName string, provider sdk.AccAddress, deposit sdk.Coins, ...) MsgEnableServiceBinding + func (*MsgEnableServiceBinding) Descriptor() ([]byte, []int) + func (*MsgEnableServiceBinding) ProtoMessage() + func (m *MsgEnableServiceBinding) Marshal() (dAtA []byte, err error) + func (m *MsgEnableServiceBinding) MarshalTo(dAtA []byte) (int, error) + func (m *MsgEnableServiceBinding) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgEnableServiceBinding) Reset() + func (m *MsgEnableServiceBinding) Size() (n int) + func (m *MsgEnableServiceBinding) String() string + func (m *MsgEnableServiceBinding) Unmarshal(dAtA []byte) error + func (m *MsgEnableServiceBinding) XXX_DiscardUnknown() + func (m *MsgEnableServiceBinding) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgEnableServiceBinding) XXX_Merge(src proto.Message) + func (m *MsgEnableServiceBinding) XXX_Size() int + func (m *MsgEnableServiceBinding) XXX_Unmarshal(b []byte) error + func (msg MsgEnableServiceBinding) GetSignBytes() []byte + func (msg MsgEnableServiceBinding) GetSigners() []sdk.AccAddress + func (msg MsgEnableServiceBinding) Route() string + func (msg MsgEnableServiceBinding) Type() string + func (msg MsgEnableServiceBinding) ValidateBasic() error + type MsgKillRequestContext struct + Consumer github_com_cosmos_cosmos_sdk_types.AccAddress + RequestContextID github_com_tendermint_tendermint_libs_bytes.HexBytes + func NewMsgKillRequestContext(requestContextID tmbytes.HexBytes, consumer sdk.AccAddress) MsgKillRequestContext + func (*MsgKillRequestContext) Descriptor() ([]byte, []int) + func (*MsgKillRequestContext) ProtoMessage() + func (m *MsgKillRequestContext) Marshal() (dAtA []byte, err error) + func (m *MsgKillRequestContext) MarshalTo(dAtA []byte) (int, error) + func (m *MsgKillRequestContext) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgKillRequestContext) Reset() + func (m *MsgKillRequestContext) Size() (n int) + func (m *MsgKillRequestContext) String() string + func (m *MsgKillRequestContext) Unmarshal(dAtA []byte) error + func (m *MsgKillRequestContext) XXX_DiscardUnknown() + func (m *MsgKillRequestContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgKillRequestContext) XXX_Merge(src proto.Message) + func (m *MsgKillRequestContext) XXX_Size() int + func (m *MsgKillRequestContext) XXX_Unmarshal(b []byte) error + func (msg MsgKillRequestContext) GetSignBytes() []byte + func (msg MsgKillRequestContext) GetSigners() []sdk.AccAddress + func (msg MsgKillRequestContext) Route() string + func (msg MsgKillRequestContext) Type() string + func (msg MsgKillRequestContext) ValidateBasic() error + type MsgPauseRequestContext struct + Consumer github_com_cosmos_cosmos_sdk_types.AccAddress + RequestContextID github_com_tendermint_tendermint_libs_bytes.HexBytes + func NewMsgPauseRequestContext(requestContextID tmbytes.HexBytes, consumer sdk.AccAddress) MsgPauseRequestContext + func (*MsgPauseRequestContext) Descriptor() ([]byte, []int) + func (*MsgPauseRequestContext) ProtoMessage() + func (m *MsgPauseRequestContext) Marshal() (dAtA []byte, err error) + func (m *MsgPauseRequestContext) MarshalTo(dAtA []byte) (int, error) + func (m *MsgPauseRequestContext) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgPauseRequestContext) Reset() + func (m *MsgPauseRequestContext) Size() (n int) + func (m *MsgPauseRequestContext) String() string + func (m *MsgPauseRequestContext) Unmarshal(dAtA []byte) error + func (m *MsgPauseRequestContext) XXX_DiscardUnknown() + func (m *MsgPauseRequestContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgPauseRequestContext) XXX_Merge(src proto.Message) + func (m *MsgPauseRequestContext) XXX_Size() int + func (m *MsgPauseRequestContext) XXX_Unmarshal(b []byte) error + func (msg MsgPauseRequestContext) GetSignBytes() []byte + func (msg MsgPauseRequestContext) GetSigners() []sdk.AccAddress + func (msg MsgPauseRequestContext) Route() string + func (msg MsgPauseRequestContext) Type() string + func (msg MsgPauseRequestContext) ValidateBasic() error + type MsgRefundServiceDeposit struct + Owner github_com_cosmos_cosmos_sdk_types.AccAddress + Provider github_com_cosmos_cosmos_sdk_types.AccAddress + ServiceName string + func NewMsgRefundServiceDeposit(serviceName string, provider, owner sdk.AccAddress) MsgRefundServiceDeposit + func (*MsgRefundServiceDeposit) Descriptor() ([]byte, []int) + func (*MsgRefundServiceDeposit) ProtoMessage() + func (m *MsgRefundServiceDeposit) Marshal() (dAtA []byte, err error) + func (m *MsgRefundServiceDeposit) MarshalTo(dAtA []byte) (int, error) + func (m *MsgRefundServiceDeposit) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgRefundServiceDeposit) Reset() + func (m *MsgRefundServiceDeposit) Size() (n int) + func (m *MsgRefundServiceDeposit) String() string + func (m *MsgRefundServiceDeposit) Unmarshal(dAtA []byte) error + func (m *MsgRefundServiceDeposit) XXX_DiscardUnknown() + func (m *MsgRefundServiceDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgRefundServiceDeposit) XXX_Merge(src proto.Message) + func (m *MsgRefundServiceDeposit) XXX_Size() int + func (m *MsgRefundServiceDeposit) XXX_Unmarshal(b []byte) error + func (msg MsgRefundServiceDeposit) GetSignBytes() []byte + func (msg MsgRefundServiceDeposit) GetSigners() []sdk.AccAddress + func (msg MsgRefundServiceDeposit) Route() string + func (msg MsgRefundServiceDeposit) Type() string + func (msg MsgRefundServiceDeposit) ValidateBasic() error + type MsgRespondService struct + Output string + Provider github_com_cosmos_cosmos_sdk_types.AccAddress + RequestID github_com_tendermint_tendermint_libs_bytes.HexBytes + Result string + func NewMsgRespondService(requestID tmbytes.HexBytes, provider sdk.AccAddress, result string, ...) MsgRespondService + func (*MsgRespondService) Descriptor() ([]byte, []int) + func (*MsgRespondService) ProtoMessage() + func (m *MsgRespondService) Marshal() (dAtA []byte, err error) + func (m *MsgRespondService) MarshalTo(dAtA []byte) (int, error) + func (m *MsgRespondService) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgRespondService) Reset() + func (m *MsgRespondService) Size() (n int) + func (m *MsgRespondService) String() string + func (m *MsgRespondService) Unmarshal(dAtA []byte) error + func (m *MsgRespondService) XXX_DiscardUnknown() + func (m *MsgRespondService) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgRespondService) XXX_Merge(src proto.Message) + func (m *MsgRespondService) XXX_Size() int + func (m *MsgRespondService) XXX_Unmarshal(b []byte) error + func (msg MsgRespondService) GetSignBytes() []byte + func (msg MsgRespondService) GetSigners() []sdk.AccAddress + func (msg MsgRespondService) Route() string + func (msg MsgRespondService) Type() string + func (msg MsgRespondService) ValidateBasic() error + type MsgSetWithdrawAddress struct + Owner github_com_cosmos_cosmos_sdk_types.AccAddress + WithdrawAddress github_com_cosmos_cosmos_sdk_types.AccAddress + func NewMsgSetWithdrawAddress(owner, withdrawAddr sdk.AccAddress) MsgSetWithdrawAddress + func (*MsgSetWithdrawAddress) Descriptor() ([]byte, []int) + func (*MsgSetWithdrawAddress) ProtoMessage() + func (m *MsgSetWithdrawAddress) Marshal() (dAtA []byte, err error) + func (m *MsgSetWithdrawAddress) MarshalTo(dAtA []byte) (int, error) + func (m *MsgSetWithdrawAddress) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgSetWithdrawAddress) Reset() + func (m *MsgSetWithdrawAddress) Size() (n int) + func (m *MsgSetWithdrawAddress) String() string + func (m *MsgSetWithdrawAddress) Unmarshal(dAtA []byte) error + func (m *MsgSetWithdrawAddress) XXX_DiscardUnknown() + func (m *MsgSetWithdrawAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgSetWithdrawAddress) XXX_Merge(src proto.Message) + func (m *MsgSetWithdrawAddress) XXX_Size() int + func (m *MsgSetWithdrawAddress) XXX_Unmarshal(b []byte) error + func (msg MsgSetWithdrawAddress) GetSignBytes() []byte + func (msg MsgSetWithdrawAddress) GetSigners() []sdk.AccAddress + func (msg MsgSetWithdrawAddress) Route() string + func (msg MsgSetWithdrawAddress) Type() string + func (msg MsgSetWithdrawAddress) ValidateBasic() error + type MsgStartRequestContext struct + Consumer github_com_cosmos_cosmos_sdk_types.AccAddress + RequestContextID github_com_tendermint_tendermint_libs_bytes.HexBytes + func NewMsgStartRequestContext(requestContextID tmbytes.HexBytes, consumer sdk.AccAddress) MsgStartRequestContext + func (*MsgStartRequestContext) Descriptor() ([]byte, []int) + func (*MsgStartRequestContext) ProtoMessage() + func (m *MsgStartRequestContext) Marshal() (dAtA []byte, err error) + func (m *MsgStartRequestContext) MarshalTo(dAtA []byte) (int, error) + func (m *MsgStartRequestContext) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgStartRequestContext) Reset() + func (m *MsgStartRequestContext) Size() (n int) + func (m *MsgStartRequestContext) String() string + func (m *MsgStartRequestContext) Unmarshal(dAtA []byte) error + func (m *MsgStartRequestContext) XXX_DiscardUnknown() + func (m *MsgStartRequestContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgStartRequestContext) XXX_Merge(src proto.Message) + func (m *MsgStartRequestContext) XXX_Size() int + func (m *MsgStartRequestContext) XXX_Unmarshal(b []byte) error + func (msg MsgStartRequestContext) GetSignBytes() []byte + func (msg MsgStartRequestContext) GetSigners() []sdk.AccAddress + func (msg MsgStartRequestContext) Route() string + func (msg MsgStartRequestContext) Type() string + func (msg MsgStartRequestContext) ValidateBasic() error + type MsgUpdateRequestContext struct + Consumer github_com_cosmos_cosmos_sdk_types.AccAddress + Providers []github_com_cosmos_cosmos_sdk_types.AccAddress + RepeatedFrequency uint64 + RepeatedTotal int64 + RequestContextID github_com_tendermint_tendermint_libs_bytes.HexBytes + ServiceFeeCap github_com_cosmos_cosmos_sdk_types.Coins + Timeout int64 + func NewMsgUpdateRequestContext(requestContextID tmbytes.HexBytes, providers []sdk.AccAddress, ...) MsgUpdateRequestContext + func (*MsgUpdateRequestContext) Descriptor() ([]byte, []int) + func (*MsgUpdateRequestContext) ProtoMessage() + func (m *MsgUpdateRequestContext) Marshal() (dAtA []byte, err error) + func (m *MsgUpdateRequestContext) MarshalTo(dAtA []byte) (int, error) + func (m *MsgUpdateRequestContext) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgUpdateRequestContext) Reset() + func (m *MsgUpdateRequestContext) Size() (n int) + func (m *MsgUpdateRequestContext) String() string + func (m *MsgUpdateRequestContext) Unmarshal(dAtA []byte) error + func (m *MsgUpdateRequestContext) XXX_DiscardUnknown() + func (m *MsgUpdateRequestContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgUpdateRequestContext) XXX_Merge(src proto.Message) + func (m *MsgUpdateRequestContext) XXX_Size() int + func (m *MsgUpdateRequestContext) XXX_Unmarshal(b []byte) error + func (msg MsgUpdateRequestContext) GetSignBytes() []byte + func (msg MsgUpdateRequestContext) GetSigners() []sdk.AccAddress + func (msg MsgUpdateRequestContext) Route() string + func (msg MsgUpdateRequestContext) Type() string + func (msg MsgUpdateRequestContext) ValidateBasic() error + type MsgUpdateServiceBinding struct + Deposit github_com_cosmos_cosmos_sdk_types.Coins + Owner github_com_cosmos_cosmos_sdk_types.AccAddress + Pricing string + Provider github_com_cosmos_cosmos_sdk_types.AccAddress + QoS uint64 + ServiceName string + func NewMsgUpdateServiceBinding(serviceName string, provider sdk.AccAddress, deposit sdk.Coins, pricing string, ...) MsgUpdateServiceBinding + func (*MsgUpdateServiceBinding) Descriptor() ([]byte, []int) + func (*MsgUpdateServiceBinding) ProtoMessage() + func (m *MsgUpdateServiceBinding) Marshal() (dAtA []byte, err error) + func (m *MsgUpdateServiceBinding) MarshalTo(dAtA []byte) (int, error) + func (m *MsgUpdateServiceBinding) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgUpdateServiceBinding) Reset() + func (m *MsgUpdateServiceBinding) Size() (n int) + func (m *MsgUpdateServiceBinding) String() string + func (m *MsgUpdateServiceBinding) Unmarshal(dAtA []byte) error + func (m *MsgUpdateServiceBinding) XXX_DiscardUnknown() + func (m *MsgUpdateServiceBinding) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgUpdateServiceBinding) XXX_Merge(src proto.Message) + func (m *MsgUpdateServiceBinding) XXX_Size() int + func (m *MsgUpdateServiceBinding) XXX_Unmarshal(b []byte) error + func (msg MsgUpdateServiceBinding) GetSignBytes() []byte + func (msg MsgUpdateServiceBinding) GetSigners() []sdk.AccAddress + func (msg MsgUpdateServiceBinding) Route() string + func (msg MsgUpdateServiceBinding) Type() string + func (msg MsgUpdateServiceBinding) ValidateBasic() error + type MsgWithdrawEarnedFees struct + Owner github_com_cosmos_cosmos_sdk_types.AccAddress + Provider github_com_cosmos_cosmos_sdk_types.AccAddress + func NewMsgWithdrawEarnedFees(owner, provider sdk.AccAddress) MsgWithdrawEarnedFees + func (*MsgWithdrawEarnedFees) Descriptor() ([]byte, []int) + func (*MsgWithdrawEarnedFees) ProtoMessage() + func (m *MsgWithdrawEarnedFees) Marshal() (dAtA []byte, err error) + func (m *MsgWithdrawEarnedFees) MarshalTo(dAtA []byte) (int, error) + func (m *MsgWithdrawEarnedFees) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgWithdrawEarnedFees) Reset() + func (m *MsgWithdrawEarnedFees) Size() (n int) + func (m *MsgWithdrawEarnedFees) String() string + func (m *MsgWithdrawEarnedFees) Unmarshal(dAtA []byte) error + func (m *MsgWithdrawEarnedFees) XXX_DiscardUnknown() + func (m *MsgWithdrawEarnedFees) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgWithdrawEarnedFees) XXX_Merge(src proto.Message) + func (m *MsgWithdrawEarnedFees) XXX_Size() int + func (m *MsgWithdrawEarnedFees) XXX_Unmarshal(b []byte) error + func (msg MsgWithdrawEarnedFees) GetSignBytes() []byte + func (msg MsgWithdrawEarnedFees) GetSigners() []sdk.AccAddress + func (msg MsgWithdrawEarnedFees) Route() string + func (msg MsgWithdrawEarnedFees) Type() string + func (msg MsgWithdrawEarnedFees) ValidateBasic() error + type Params struct + ArbitrationTimeLimit time.Duration + BaseDenom string + ComplaintRetrospect time.Duration + MaxRequestTimeout int64 + MinDeposit github_com_cosmos_cosmos_sdk_types.Coins + MinDepositMultiple int64 + ServiceFeeTax github_com_cosmos_cosmos_sdk_types.Dec + SlashFraction github_com_cosmos_cosmos_sdk_types.Dec + TxSizeLimit uint64 + func DefaultParams() Params + func NewParams(maxRequestTimeout, minDepositMultiple int64, minDeposit sdk.Coins, ...) Params + func (*Params) Descriptor() ([]byte, []int) + func (*Params) ProtoMessage() + func (m *Params) Marshal() (dAtA []byte, err error) + func (m *Params) MarshalTo(dAtA []byte) (int, error) + func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Params) Reset() + func (m *Params) Size() (n int) + func (m *Params) Unmarshal(dAtA []byte) error + func (m *Params) XXX_DiscardUnknown() + func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Params) XXX_Merge(src proto.Message) + func (m *Params) XXX_Size() int + func (m *Params) XXX_Unmarshal(b []byte) error + func (p *Params) ParamSetPairs() params.ParamSetPairs + func (p Params) String() string + func (p Params) Validate() error + func (this *Params) Equal(that interface{}) bool + type Pricing struct + Price github_com_cosmos_cosmos_sdk_types.Coins + PromotionsByTime []PromotionByTime + PromotionsByVolume []PromotionByVolume + func (*Pricing) Descriptor() ([]byte, []int) + func (*Pricing) ProtoMessage() + func (m *Pricing) Marshal() (dAtA []byte, err error) + func (m *Pricing) MarshalTo(dAtA []byte) (int, error) + func (m *Pricing) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Pricing) Reset() + func (m *Pricing) Size() (n int) + func (m *Pricing) String() string + func (m *Pricing) Unmarshal(dAtA []byte) error + func (m *Pricing) XXX_DiscardUnknown() + func (m *Pricing) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Pricing) XXX_Merge(src proto.Message) + func (m *Pricing) XXX_Size() int + func (m *Pricing) XXX_Unmarshal(b []byte) error + type PromotionByTime struct + Discount github_com_cosmos_cosmos_sdk_types.Dec + EndTime time.Time + StartTime time.Time + func (*PromotionByTime) Descriptor() ([]byte, []int) + func (*PromotionByTime) ProtoMessage() + func (m *PromotionByTime) Marshal() (dAtA []byte, err error) + func (m *PromotionByTime) MarshalTo(dAtA []byte) (int, error) + func (m *PromotionByTime) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *PromotionByTime) Reset() + func (m *PromotionByTime) Size() (n int) + func (m *PromotionByTime) String() string + func (m *PromotionByTime) Unmarshal(dAtA []byte) error + func (m *PromotionByTime) XXX_DiscardUnknown() + func (m *PromotionByTime) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *PromotionByTime) XXX_Merge(src proto.Message) + func (m *PromotionByTime) XXX_Size() int + func (m *PromotionByTime) XXX_Unmarshal(b []byte) error + type PromotionByVolume struct + Discount github_com_cosmos_cosmos_sdk_types.Dec + Volume uint64 + func (*PromotionByVolume) Descriptor() ([]byte, []int) + func (*PromotionByVolume) ProtoMessage() + func (m *PromotionByVolume) Marshal() (dAtA []byte, err error) + func (m *PromotionByVolume) MarshalTo(dAtA []byte) (int, error) + func (m *PromotionByVolume) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *PromotionByVolume) Reset() + func (m *PromotionByVolume) Size() (n int) + func (m *PromotionByVolume) String() string + func (m *PromotionByVolume) Unmarshal(dAtA []byte) error + func (m *PromotionByVolume) XXX_DiscardUnknown() + func (m *PromotionByVolume) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *PromotionByVolume) XXX_Merge(src proto.Message) + func (m *PromotionByVolume) XXX_Size() int + func (m *PromotionByVolume) XXX_Unmarshal(b []byte) error + type QueryBindingParams struct + Provider sdk.AccAddress + ServiceName string + type QueryBindingsParams struct + Owner sdk.AccAddress + ServiceName string + type QueryDefinitionParams struct + ServiceName string + type QueryEarnedFeesParams struct + Provider sdk.AccAddress + type QueryRequestContextParams struct + RequestContextID tmbytes.HexBytes + type QueryRequestParams struct + RequestID []byte + type QueryRequestsByReqCtxParams struct + BatchCounter uint64 + RequestContextID tmbytes.HexBytes + type QueryRequestsParams struct + Provider sdk.AccAddress + ServiceName string + type QueryResponseParams struct + RequestID tmbytes.HexBytes + type QueryResponsesParams struct + BatchCounter uint64 + RequestContextID tmbytes.HexBytes + type QuerySchemaParams struct + SchemaName string + type QueryWithdrawAddressParams struct + Owner sdk.AccAddress + type RawPricing struct + Price string + PromotionsByTime []PromotionByTime + PromotionsByVolume []PromotionByVolume + type Request struct + Consumer github_com_cosmos_cosmos_sdk_types.AccAddress + ExpirationHeight int64 + ID github_com_tendermint_tendermint_libs_bytes.HexBytes + Input string + Provider github_com_cosmos_cosmos_sdk_types.AccAddress + RequestContextBatchCounter uint64 + RequestContextID github_com_tendermint_tendermint_libs_bytes.HexBytes + RequestHeight int64 + ServiceFee github_com_cosmos_cosmos_sdk_types.Coins + ServiceName string + SuperMode bool + func NewRequest(id tmbytes.HexBytes, serviceName string, provider, consumer sdk.AccAddress, ...) Request + func (*Request) Descriptor() ([]byte, []int) + func (*Request) ProtoMessage() + func (m *Request) Marshal() (dAtA []byte, err error) + func (m *Request) MarshalTo(dAtA []byte) (int, error) + func (m *Request) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Request) Reset() + func (m *Request) Size() (n int) + func (m *Request) String() string + func (m *Request) Unmarshal(dAtA []byte) error + func (m *Request) XXX_DiscardUnknown() + func (m *Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Request) XXX_Merge(src proto.Message) + func (m *Request) XXX_Size() int + func (m *Request) XXX_Unmarshal(b []byte) error + func (r Request) Empty() bool + type RequestContext struct + BatchCounter uint64 + BatchRequestCount uint32 + BatchResponseCount uint32 + BatchResponseThreshold uint32 + BatchState RequestContextBatchState + Consumer github_com_cosmos_cosmos_sdk_types.AccAddress + Input string + ModuleName string + Providers []github_com_cosmos_cosmos_sdk_types.AccAddress + Repeated bool + RepeatedFrequency uint64 + RepeatedTotal int64 + ResponseThreshold uint32 + ServiceFeeCap github_com_cosmos_cosmos_sdk_types.Coins + ServiceName string + State RequestContextState + SuperMode bool + Timeout int64 + func NewRequestContext(serviceName string, providers []sdk.AccAddress, consumer sdk.AccAddress, ...) RequestContext + func (*RequestContext) Descriptor() ([]byte, []int) + func (*RequestContext) ProtoMessage() + func (m *RequestContext) Marshal() (dAtA []byte, err error) + func (m *RequestContext) MarshalTo(dAtA []byte) (int, error) + func (m *RequestContext) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *RequestContext) Reset() + func (m *RequestContext) Size() (n int) + func (m *RequestContext) String() string + func (m *RequestContext) Unmarshal(dAtA []byte) error + func (m *RequestContext) XXX_DiscardUnknown() + func (m *RequestContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *RequestContext) XXX_Merge(src proto.Message) + func (m *RequestContext) XXX_Size() int + func (m *RequestContext) XXX_Unmarshal(b []byte) error + func (rc RequestContext) Empty() bool + func (rc RequestContext) Validate() error + type RequestContextBatchState int32 + const BATCHCOMPLETED + const BATCHRUNNING + func RequestContextBatchStateFromString(str string) (RequestContextBatchState, error) + func (RequestContextBatchState) EnumDescriptor() ([]byte, []int) + func (state *RequestContextBatchState) Unmarshal(data []byte) error + func (state *RequestContextBatchState) UnmarshalJSON(data []byte) error + func (state RequestContextBatchState) Format(s fmt.State, verb rune) + func (state RequestContextBatchState) Marshal() ([]byte, error) + func (state RequestContextBatchState) MarshalJSON() ([]byte, error) + func (state RequestContextBatchState) MarshalYAML() (interface{}, error) + func (state RequestContextBatchState) String() string + type RequestContextState int32 + const COMPLETED + const PAUSED + const RUNNING + func RequestContextStateFromString(str string) (RequestContextState, error) + func (RequestContextState) EnumDescriptor() ([]byte, []int) + func (state *RequestContextState) Unmarshal(data []byte) error + func (state *RequestContextState) UnmarshalJSON(data []byte) error + func (state RequestContextState) Format(s fmt.State, verb rune) + func (state RequestContextState) Marshal() ([]byte, error) + func (state RequestContextState) MarshalJSON() ([]byte, error) + func (state RequestContextState) MarshalYAML() (interface{}, error) + func (state RequestContextState) String() string + type Response struct + Consumer github_com_cosmos_cosmos_sdk_types.AccAddress + Output string + Provider github_com_cosmos_cosmos_sdk_types.AccAddress + RequestContextBatchCounter uint64 + RequestContextID github_com_tendermint_tendermint_libs_bytes.HexBytes + Result string + func NewResponse(provider, consumer sdk.AccAddress, result, output string, ...) Response + func (*Response) Descriptor() ([]byte, []int) + func (*Response) ProtoMessage() + func (m *Response) Marshal() (dAtA []byte, err error) + func (m *Response) MarshalTo(dAtA []byte) (int, error) + func (m *Response) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Response) Reset() + func (m *Response) Size() (n int) + func (m *Response) String() string + func (m *Response) Unmarshal(dAtA []byte) error + func (m *Response) XXX_DiscardUnknown() + func (m *Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Response) XXX_Merge(src proto.Message) + func (m *Response) XXX_Size() int + func (m *Response) XXX_Unmarshal(b []byte) error + func (r Response) Empty() bool + type ResponseCallback func(ctx sdk.Context, requestContextID tmbytes.HexBytes, responses []string, ...) + type Result struct + Code uint16 + Message string + func ParseResult(result string) (Result, error) + type ServiceBinding struct + Available bool + Deposit github_com_cosmos_cosmos_sdk_types.Coins + DisabledTime time.Time + Owner github_com_cosmos_cosmos_sdk_types.AccAddress + Pricing string + Provider github_com_cosmos_cosmos_sdk_types.AccAddress + QoS uint64 + ServiceName string + func NewServiceBinding(serviceName string, provider sdk.AccAddress, deposit sdk.Coins, pricing string, ...) ServiceBinding + func (*ServiceBinding) Descriptor() ([]byte, []int) + func (*ServiceBinding) ProtoMessage() + func (binding ServiceBinding) Validate() error + func (m *ServiceBinding) Marshal() (dAtA []byte, err error) + func (m *ServiceBinding) MarshalTo(dAtA []byte) (int, error) + func (m *ServiceBinding) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *ServiceBinding) Reset() + func (m *ServiceBinding) Size() (n int) + func (m *ServiceBinding) String() string + func (m *ServiceBinding) Unmarshal(dAtA []byte) error + func (m *ServiceBinding) XXX_DiscardUnknown() + func (m *ServiceBinding) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ServiceBinding) XXX_Merge(src proto.Message) + func (m *ServiceBinding) XXX_Size() int + func (m *ServiceBinding) XXX_Unmarshal(b []byte) error + type ServiceDefinition struct + Author github_com_cosmos_cosmos_sdk_types.AccAddress + AuthorDescription string + Description string + Name string + Schemas string + Tags []string + func NewServiceDefinition(name string, description string, tags []string, author sdk.AccAddress, ...) ServiceDefinition + func (*ServiceDefinition) Descriptor() ([]byte, []int) + func (*ServiceDefinition) ProtoMessage() + func (m *ServiceDefinition) Marshal() (dAtA []byte, err error) + func (m *ServiceDefinition) MarshalTo(dAtA []byte) (int, error) + func (m *ServiceDefinition) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *ServiceDefinition) Reset() + func (m *ServiceDefinition) Size() (n int) + func (m *ServiceDefinition) String() string + func (m *ServiceDefinition) Unmarshal(dAtA []byte) error + func (m *ServiceDefinition) XXX_DiscardUnknown() + func (m *ServiceDefinition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ServiceDefinition) XXX_Merge(src proto.Message) + func (m *ServiceDefinition) XXX_Size() int + func (m *ServiceDefinition) XXX_Unmarshal(b []byte) error + func (svcDef ServiceDefinition) Validate() error + type ServiceSchemas struct + Input map[string]interface{} + Output map[string]interface{} + type StateCallback func(ctx sdk.Context, requestContextID tmbytes.HexBytes, cause string) + type TokenI interface + GetMinUnit func() string + GetScale func() uint32 + type TokenKeeper interface + GetToken func(ctx sdk.Context, denom string) (TokenI, error)