Versions in this module Expand all Collapse all v1 v1.2.6 Sep 17, 2020 Changes in this version + const AttributeKeyGasUsed + var ErrBadDrbgInitialization = sdkerrors.Register(ModuleName, 40, "bad drbg initialization") v1.1.0 Jul 22, 2020 Changes in this version + const AttributeKeyAskCount + const AttributeKeyCalldata + const AttributeKeyClientID + const AttributeKeyDataSourceHash + const AttributeKeyDataSourceID + const AttributeKeyExternalID + const AttributeKeyID + const AttributeKeyMinCount + const AttributeKeyOracleScriptID + const AttributeKeyReason + const AttributeKeyReporter + const AttributeKeyResolveStatus + const AttributeKeyResult + const AttributeKeyValidator + const DefaultBaseRequestGas + const DefaultExpirationBlockCount + const DefaultInactivePenaltyDuration + const DefaultMaxAskCount + const DefaultMaxRawRequestCount + const DefaultOracleRewardPercentage + const DefaultParamspace + const DefaultPerValidatorRequestGas + const DefaultSamplingTryCount + const DoNotModify + const EventTypeActivate + const EventTypeAddReporter + const EventTypeCreateDataSource + const EventTypeCreateOracleScript + const EventTypeDeactivate + const EventTypeEditDataSource + const EventTypeEditOracleScript + const EventTypeRawRequest + const EventTypeRemoveReporter + const EventTypeReport + const EventTypeRequest + const EventTypeResolve + const MaxClientIDLength + const MaxCompiledWasmCodeSize + const MaxDataSize + const MaxDescriptionLength + const MaxExecutableSize + const MaxNameLength + const MaxSchemaLength + const MaxURLLength + const MaxWasmCodeSize + const ModuleName + const PortID + const QueryActiveValidators + const QueryCounts + const QueryData + const QueryDataSources + const QueryOracleScripts + const QueryParams + const QueryReporters + const QueryRequests + const QueryValidatorStatus + const RouterKey + const StoreKey + const WasmExecuteGas + const WasmPrepareGas + var DataSourceCountStoreKey = append(GlobalStoreKeyPrefix, []byte("DataSourceCount")) + var DataSourceStoreKeyPrefix = []byte + var DoNotModifyBytes = []byte(DoNotModify) + var ErrBadWasmExecution = sdkerrors.Register(ModuleName, 2, "bad wasm execution") + var ErrCreateWithDoNotModify = sdkerrors.Register(ModuleName, 35, "cannot create with [do-not-modify] content") + var ErrDataSourceNotFound = sdkerrors.Register(ModuleName, 3, "data source not found") + var ErrDuplicateExternalID = sdkerrors.Register(ModuleName, 30, "duplicate external id") + var ErrEditorNotAuthorized = sdkerrors.Register(ModuleName, 14, "editor not authorized") + var ErrEmptyExecutable = sdkerrors.Register(ModuleName, 20, "empty executable") + var ErrEmptyRawRequests = sdkerrors.Register(ModuleName, 28, "empty raw requests") + var ErrEmptyReport = sdkerrors.Register(ModuleName, 29, "empty report") + var ErrEmptyWasmCode = sdkerrors.Register(ModuleName, 21, "empty wasm code") + var ErrInsufficientValidators = sdkerrors.Register(ModuleName, 34, "insufficent available validators") + var ErrIntOverflowTypes = fmt.Errorf("proto: integer overflow") + var ErrInvalidAskCount = sdkerrors.Register(ModuleName, 25, "invalid ask count") + var ErrInvalidLengthTypes = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidMinCount = sdkerrors.Register(ModuleName, 24, "invalid min count") + var ErrInvalidReportSize = sdkerrors.Register(ModuleName, 12, "invalid report size") + var ErrOBIDecode = sdkerrors.Register(ModuleName, 37, "obi decode failed") + var ErrOracleScriptNotFound = sdkerrors.Register(ModuleName, 4, "oracle script not found") + var ErrOwasmCompilation = sdkerrors.Register(ModuleName, 1, "owasm compilation failed") + var ErrRawRequestNotFound = sdkerrors.Register(ModuleName, 6, "raw request not found") + var ErrReporterAlreadyExists = sdkerrors.Register(ModuleName, 9, "reporter already exists") + var ErrReporterNotAuthorized = sdkerrors.Register(ModuleName, 13, "reporter not authorized") + var ErrReporterNotFound = sdkerrors.Register(ModuleName, 7, "reporter not found") + var ErrRequestAlreadyExpired = sdkerrors.Register(ModuleName, 39, "request already expired") + var ErrRequestNotFound = sdkerrors.Register(ModuleName, 5, "request not found") + var ErrResultNotFound = sdkerrors.Register(ModuleName, 8, "result not found") + var ErrSelfReferenceAsReporter = sdkerrors.Register(ModuleName, 36, "cannot reference self as reporter") + var ErrTooLargeCalldata = sdkerrors.Register(ModuleName, 26, "too large calldata") + var ErrTooLargeExecutable = sdkerrors.Register(ModuleName, 22, "too large executable") + var ErrTooLargeRawReportData = sdkerrors.Register(ModuleName, 33, "too large raw report data") + var ErrTooLargeWasmCode = sdkerrors.Register(ModuleName, 23, "too large wasm code") + var ErrTooLongClientID = sdkerrors.Register(ModuleName, 27, "too long client id") + var ErrTooLongDescription = sdkerrors.Register(ModuleName, 19, "too long description") + var ErrTooLongName = sdkerrors.Register(ModuleName, 18, "too long name") + var ErrTooLongSchema = sdkerrors.Register(ModuleName, 31, "too long schema") + var ErrTooLongURL = sdkerrors.Register(ModuleName, 32, "too long url") + var ErrTooSoonToActivate = sdkerrors.Register(ModuleName, 17, "too soon to activate") + var ErrUncompressionFailed = sdkerrors.Register(ModuleName, 38, "uncompression failed") + var ErrUnexpectedEndOfGroupTypes = fmt.Errorf("proto: unexpected end of group") + var ErrValidatorAlreadyActive = sdkerrors.Register(ModuleName, 16, "validator already active") + var ErrValidatorAlreadyReported = sdkerrors.Register(ModuleName, 11, "validator already reported") + var ErrValidatorNotRequested = sdkerrors.Register(ModuleName, 10, "validator not requested") + var GlobalStoreKeyPrefix = []byte + var KeyBaseRequestGas = []byte("BaseRequestGas") + var KeyExpirationBlockCount = []byte("ExpirationBlockCount") + var KeyInactivePenaltyDuration = []byte("InactivePenaltyDuration") + var KeyMaxAskCount = []byte("MaxAskCount") + var KeyMaxRawRequestCount = []byte("MaxRawRequestCount") + var KeyOracleRewardPercentage = []byte("OracleRewardPercentage") + var KeyPerValidatorRequestGas = []byte("PerValidatorRequestGas") + var KeySamplingTryCount = []byte("SamplingTryCount") + var ModuleCdc = codec.New() + var OracleScriptCountStoreKey = append(GlobalStoreKeyPrefix, []byte("OracleScriptCount")) + var OracleScriptStoreKeyPrefix = []byte + var PendingResolveListStoreKey = append(GlobalStoreKeyPrefix, []byte("PendingList")) + var ReportStoreKeyPrefix = []byte + var ReporterStoreKeyPrefix = []byte + var RequestCountStoreKey = append(GlobalStoreKeyPrefix, []byte("RequestCount")) + var RequestLastExpiredStoreKey = append(GlobalStoreKeyPrefix, []byte("RequestLastExpired")) + var RequestStoreKeyPrefix = []byte + var ResolveStatus_name = map[int32]string + var ResolveStatus_value = map[string]int32 + var ResultStoreKeyPrefix = []byte + var RollingSeedSizeInBytes = 32 + var RollingSeedStoreKey = append(GlobalStoreKeyPrefix, []byte("RollingSeed")) + var ValidatorStatusKeyPrefix = []byte + func DataSourceStoreKey(dataSourceID DataSourceID) []byte + func OracleScriptStoreKey(oracleScriptID OracleScriptID) []byte + func QueryBadRequest(result interface{}) ([]byte, error) + func QueryNotFound(result interface{}) ([]byte, error) + func QueryOK(result interface{}) ([]byte, error) + func RegisterCodec(cdc *codec.Codec) + func ReportStoreKey(requestID RequestID) []byte + func ReporterStoreKey(validatorAddress sdk.ValAddress, reporterAddress sdk.AccAddress) []byte + func ReportersOfValidatorPrefixKey(val sdk.ValAddress) []byte + func ReportsOfValidatorPrefixKey(reqID RequestID, val sdk.ValAddress) []byte + func RequestStoreKey(requestID RequestID) []byte + func ResultStoreKey(requestID RequestID) []byte + func ValidatorStatusStoreKey(v sdk.ValAddress) []byte + func WrapMaxError(err error, got int, max int) error + type AccountKeeper interface + GetAccount func(ctx sdk.Context, addr sdk.AccAddress) authexported.Account + type BaseEnv struct + func (env *BaseEnv) AskExternalData(eid int64, did int64, data []byte) error + func (env *BaseEnv) GetAnsCount() (int64, error) + func (env *BaseEnv) GetAskCount() int64 + func (env *BaseEnv) GetCalldata() []byte + func (env *BaseEnv) GetExternalData(eid int64, vid int64) ([]byte, error) + func (env *BaseEnv) GetExternalDataStatus(eid int64, vid int64) (int64, error) + func (env *BaseEnv) GetMinCount() int64 + func (env *BaseEnv) SetReturnData(data []byte) error + type DataSource struct + Description string + Filename string + Name string + Owner github_com_cosmos_cosmos_sdk_types.AccAddress + func NewDataSource(Owner github_com_cosmos_cosmos_sdk_types.AccAddress, Name string, ...) DataSource + func (*DataSource) Descriptor() ([]byte, []int) + func (*DataSource) ProtoMessage() + func (m *DataSource) GetDescription() string + func (m *DataSource) GetFilename() string + func (m *DataSource) GetName() string + func (m *DataSource) GetOwner() github_com_cosmos_cosmos_sdk_types.AccAddress + func (m *DataSource) Marshal() (dAtA []byte, err error) + func (m *DataSource) MarshalTo(dAtA []byte) (int, error) + func (m *DataSource) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *DataSource) Reset() + func (m *DataSource) Size() (n int) + func (m *DataSource) String() string + func (m *DataSource) Unmarshal(dAtA []byte) error + func (m *DataSource) XXX_DiscardUnknown() + func (m *DataSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *DataSource) XXX_Merge(src proto.Message) + func (m *DataSource) XXX_Size() int + func (m *DataSource) XXX_Unmarshal(b []byte) error + func (this *DataSource) Equal(that interface{}) bool + type DataSourceID int64 + type DistrKeeper interface + AllocateTokensToValidator func(ctx sdk.Context, val stakingexported.ValidatorI, tokens sdk.DecCoins) + GetCommunityTax func(ctx sdk.Context) (percent sdk.Dec) + GetFeePool func(ctx sdk.Context) (feePool distr.FeePool) + SetFeePool func(ctx sdk.Context, feePool distr.FeePool) + type ExecuteEnv struct + Retdata []byte + func NewExecuteEnv(req Request, reports []Report) *ExecuteEnv + func (env *ExecuteEnv) GetAnsCount() (int64, error) + func (env *ExecuteEnv) GetExternalData(eid int64, vid int64) ([]byte, error) + func (env *ExecuteEnv) GetExternalDataStatus(eid int64, vid int64) (int64, error) + func (env *ExecuteEnv) SetReturnData(data []byte) error + type ExternalID int64 + type MsgActivate struct + Validator github_com_cosmos_cosmos_sdk_types.ValAddress + func NewMsgActivate(Validator github_com_cosmos_cosmos_sdk_types.ValAddress) MsgActivate + func (*MsgActivate) Descriptor() ([]byte, []int) + func (*MsgActivate) ProtoMessage() + func (m *MsgActivate) GetValidator() github_com_cosmos_cosmos_sdk_types.ValAddress + func (m *MsgActivate) Marshal() (dAtA []byte, err error) + func (m *MsgActivate) MarshalTo(dAtA []byte) (int, error) + func (m *MsgActivate) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgActivate) Reset() + func (m *MsgActivate) Size() (n int) + func (m *MsgActivate) String() string + func (m *MsgActivate) Unmarshal(dAtA []byte) error + func (m *MsgActivate) XXX_DiscardUnknown() + func (m *MsgActivate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgActivate) XXX_Merge(src proto.Message) + func (m *MsgActivate) XXX_Size() int + func (m *MsgActivate) XXX_Unmarshal(b []byte) error + func (msg MsgActivate) GetSignBytes() []byte + func (msg MsgActivate) GetSigners() []sdk.AccAddress + func (msg MsgActivate) Route() string + func (msg MsgActivate) Type() string + func (msg MsgActivate) ValidateBasic() error + func (this *MsgActivate) Equal(that interface{}) bool + type MsgAddReporter struct + Reporter github_com_cosmos_cosmos_sdk_types.AccAddress + Validator github_com_cosmos_cosmos_sdk_types.ValAddress + func NewMsgAddReporter(Validator github_com_cosmos_cosmos_sdk_types.ValAddress, ...) MsgAddReporter + func (*MsgAddReporter) Descriptor() ([]byte, []int) + func (*MsgAddReporter) ProtoMessage() + func (m *MsgAddReporter) GetReporter() github_com_cosmos_cosmos_sdk_types.AccAddress + func (m *MsgAddReporter) GetValidator() github_com_cosmos_cosmos_sdk_types.ValAddress + func (m *MsgAddReporter) Marshal() (dAtA []byte, err error) + func (m *MsgAddReporter) MarshalTo(dAtA []byte) (int, error) + func (m *MsgAddReporter) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgAddReporter) Reset() + func (m *MsgAddReporter) Size() (n int) + func (m *MsgAddReporter) String() string + func (m *MsgAddReporter) Unmarshal(dAtA []byte) error + func (m *MsgAddReporter) XXX_DiscardUnknown() + func (m *MsgAddReporter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgAddReporter) XXX_Merge(src proto.Message) + func (m *MsgAddReporter) XXX_Size() int + func (m *MsgAddReporter) XXX_Unmarshal(b []byte) error + func (msg MsgAddReporter) GetSignBytes() []byte + func (msg MsgAddReporter) GetSigners() []sdk.AccAddress + func (msg MsgAddReporter) Route() string + func (msg MsgAddReporter) Type() string + func (msg MsgAddReporter) ValidateBasic() error + func (this *MsgAddReporter) Equal(that interface{}) bool + type MsgCreateDataSource struct + Description string + Executable []byte + Name string + Owner github_com_cosmos_cosmos_sdk_types.AccAddress + Sender github_com_cosmos_cosmos_sdk_types.AccAddress + func NewMsgCreateDataSource(Owner github_com_cosmos_cosmos_sdk_types.AccAddress, Name string, ...) MsgCreateDataSource + func (*MsgCreateDataSource) Descriptor() ([]byte, []int) + func (*MsgCreateDataSource) ProtoMessage() + func (m *MsgCreateDataSource) GetDescription() string + func (m *MsgCreateDataSource) GetExecutable() []byte + func (m *MsgCreateDataSource) GetName() string + func (m *MsgCreateDataSource) GetOwner() github_com_cosmos_cosmos_sdk_types.AccAddress + func (m *MsgCreateDataSource) GetSender() github_com_cosmos_cosmos_sdk_types.AccAddress + func (m *MsgCreateDataSource) Marshal() (dAtA []byte, err error) + func (m *MsgCreateDataSource) MarshalTo(dAtA []byte) (int, error) + func (m *MsgCreateDataSource) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgCreateDataSource) Reset() + func (m *MsgCreateDataSource) Size() (n int) + func (m *MsgCreateDataSource) String() string + func (m *MsgCreateDataSource) Unmarshal(dAtA []byte) error + func (m *MsgCreateDataSource) XXX_DiscardUnknown() + func (m *MsgCreateDataSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgCreateDataSource) XXX_Merge(src proto.Message) + func (m *MsgCreateDataSource) XXX_Size() int + func (m *MsgCreateDataSource) XXX_Unmarshal(b []byte) error + func (msg MsgCreateDataSource) GetSignBytes() []byte + func (msg MsgCreateDataSource) GetSigners() []sdk.AccAddress + func (msg MsgCreateDataSource) Route() string + func (msg MsgCreateDataSource) Type() string + func (msg MsgCreateDataSource) ValidateBasic() error + func (this *MsgCreateDataSource) Equal(that interface{}) bool + type MsgCreateOracleScript struct + Code []byte + Description string + Name string + Owner github_com_cosmos_cosmos_sdk_types.AccAddress + Schema string + Sender github_com_cosmos_cosmos_sdk_types.AccAddress + SourceCodeURL string + func NewMsgCreateOracleScript(Owner github_com_cosmos_cosmos_sdk_types.AccAddress, Name string, ...) MsgCreateOracleScript + func (*MsgCreateOracleScript) Descriptor() ([]byte, []int) + func (*MsgCreateOracleScript) ProtoMessage() + func (m *MsgCreateOracleScript) GetCode() []byte + func (m *MsgCreateOracleScript) GetDescription() string + func (m *MsgCreateOracleScript) GetName() string + func (m *MsgCreateOracleScript) GetOwner() github_com_cosmos_cosmos_sdk_types.AccAddress + func (m *MsgCreateOracleScript) GetSchema() string + func (m *MsgCreateOracleScript) GetSender() github_com_cosmos_cosmos_sdk_types.AccAddress + func (m *MsgCreateOracleScript) GetSourceCodeURL() string + func (m *MsgCreateOracleScript) Marshal() (dAtA []byte, err error) + func (m *MsgCreateOracleScript) MarshalTo(dAtA []byte) (int, error) + func (m *MsgCreateOracleScript) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgCreateOracleScript) Reset() + func (m *MsgCreateOracleScript) Size() (n int) + func (m *MsgCreateOracleScript) String() string + func (m *MsgCreateOracleScript) Unmarshal(dAtA []byte) error + func (m *MsgCreateOracleScript) XXX_DiscardUnknown() + func (m *MsgCreateOracleScript) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgCreateOracleScript) XXX_Merge(src proto.Message) + func (m *MsgCreateOracleScript) XXX_Size() int + func (m *MsgCreateOracleScript) XXX_Unmarshal(b []byte) error + func (msg MsgCreateOracleScript) GetSignBytes() []byte + func (msg MsgCreateOracleScript) GetSigners() []sdk.AccAddress + func (msg MsgCreateOracleScript) Route() string + func (msg MsgCreateOracleScript) Type() string + func (msg MsgCreateOracleScript) ValidateBasic() error + func (this *MsgCreateOracleScript) Equal(that interface{}) bool + type MsgEditDataSource struct + DataSourceID DataSourceID + Description string + Executable []byte + Name string + Owner github_com_cosmos_cosmos_sdk_types.AccAddress + Sender github_com_cosmos_cosmos_sdk_types.AccAddress + func NewMsgEditDataSource(DataSourceID DataSourceID, Owner github_com_cosmos_cosmos_sdk_types.AccAddress, ...) MsgEditDataSource + func (*MsgEditDataSource) Descriptor() ([]byte, []int) + func (*MsgEditDataSource) ProtoMessage() + func (m *MsgEditDataSource) GetDataSourceID() DataSourceID + func (m *MsgEditDataSource) GetDescription() string + func (m *MsgEditDataSource) GetExecutable() []byte + func (m *MsgEditDataSource) GetName() string + func (m *MsgEditDataSource) GetOwner() github_com_cosmos_cosmos_sdk_types.AccAddress + func (m *MsgEditDataSource) GetSender() github_com_cosmos_cosmos_sdk_types.AccAddress + func (m *MsgEditDataSource) Marshal() (dAtA []byte, err error) + func (m *MsgEditDataSource) MarshalTo(dAtA []byte) (int, error) + func (m *MsgEditDataSource) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgEditDataSource) Reset() + func (m *MsgEditDataSource) Size() (n int) + func (m *MsgEditDataSource) String() string + func (m *MsgEditDataSource) Unmarshal(dAtA []byte) error + func (m *MsgEditDataSource) XXX_DiscardUnknown() + func (m *MsgEditDataSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgEditDataSource) XXX_Merge(src proto.Message) + func (m *MsgEditDataSource) XXX_Size() int + func (m *MsgEditDataSource) XXX_Unmarshal(b []byte) error + func (msg MsgEditDataSource) GetSignBytes() []byte + func (msg MsgEditDataSource) GetSigners() []sdk.AccAddress + func (msg MsgEditDataSource) Route() string + func (msg MsgEditDataSource) Type() string + func (msg MsgEditDataSource) ValidateBasic() error + func (this *MsgEditDataSource) Equal(that interface{}) bool + type MsgEditOracleScript struct + Code []byte + Description string + Name string + OracleScriptID OracleScriptID + Owner github_com_cosmos_cosmos_sdk_types.AccAddress + Schema string + Sender github_com_cosmos_cosmos_sdk_types.AccAddress + SourceCodeURL string + func NewMsgEditOracleScript(OracleScriptID OracleScriptID, ...) MsgEditOracleScript + func (*MsgEditOracleScript) Descriptor() ([]byte, []int) + func (*MsgEditOracleScript) ProtoMessage() + func (m *MsgEditOracleScript) GetCode() []byte + func (m *MsgEditOracleScript) GetDescription() string + func (m *MsgEditOracleScript) GetName() string + func (m *MsgEditOracleScript) GetOracleScriptID() OracleScriptID + func (m *MsgEditOracleScript) GetOwner() github_com_cosmos_cosmos_sdk_types.AccAddress + func (m *MsgEditOracleScript) GetSchema() string + func (m *MsgEditOracleScript) GetSender() github_com_cosmos_cosmos_sdk_types.AccAddress + func (m *MsgEditOracleScript) GetSourceCodeURL() string + func (m *MsgEditOracleScript) Marshal() (dAtA []byte, err error) + func (m *MsgEditOracleScript) MarshalTo(dAtA []byte) (int, error) + func (m *MsgEditOracleScript) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgEditOracleScript) Reset() + func (m *MsgEditOracleScript) Size() (n int) + func (m *MsgEditOracleScript) String() string + func (m *MsgEditOracleScript) Unmarshal(dAtA []byte) error + func (m *MsgEditOracleScript) XXX_DiscardUnknown() + func (m *MsgEditOracleScript) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgEditOracleScript) XXX_Merge(src proto.Message) + func (m *MsgEditOracleScript) XXX_Size() int + func (m *MsgEditOracleScript) XXX_Unmarshal(b []byte) error + func (msg MsgEditOracleScript) GetSignBytes() []byte + func (msg MsgEditOracleScript) GetSigners() []sdk.AccAddress + func (msg MsgEditOracleScript) Route() string + func (msg MsgEditOracleScript) Type() string + func (msg MsgEditOracleScript) ValidateBasic() error + func (this *MsgEditOracleScript) Equal(that interface{}) bool + type MsgRemoveReporter struct + Reporter github_com_cosmos_cosmos_sdk_types.AccAddress + Validator github_com_cosmos_cosmos_sdk_types.ValAddress + func NewMsgRemoveReporter(Validator github_com_cosmos_cosmos_sdk_types.ValAddress, ...) MsgRemoveReporter + func (*MsgRemoveReporter) Descriptor() ([]byte, []int) + func (*MsgRemoveReporter) ProtoMessage() + func (m *MsgRemoveReporter) GetReporter() github_com_cosmos_cosmos_sdk_types.AccAddress + func (m *MsgRemoveReporter) GetValidator() github_com_cosmos_cosmos_sdk_types.ValAddress + func (m *MsgRemoveReporter) Marshal() (dAtA []byte, err error) + func (m *MsgRemoveReporter) MarshalTo(dAtA []byte) (int, error) + func (m *MsgRemoveReporter) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgRemoveReporter) Reset() + func (m *MsgRemoveReporter) Size() (n int) + func (m *MsgRemoveReporter) String() string + func (m *MsgRemoveReporter) Unmarshal(dAtA []byte) error + func (m *MsgRemoveReporter) XXX_DiscardUnknown() + func (m *MsgRemoveReporter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgRemoveReporter) XXX_Merge(src proto.Message) + func (m *MsgRemoveReporter) XXX_Size() int + func (m *MsgRemoveReporter) XXX_Unmarshal(b []byte) error + func (msg MsgRemoveReporter) GetSignBytes() []byte + func (msg MsgRemoveReporter) GetSigners() []sdk.AccAddress + func (msg MsgRemoveReporter) Route() string + func (msg MsgRemoveReporter) Type() string + func (msg MsgRemoveReporter) ValidateBasic() error + func (this *MsgRemoveReporter) Equal(that interface{}) bool + type MsgReportData struct + RawReports []RawReport + Reporter github_com_cosmos_cosmos_sdk_types.AccAddress + RequestID RequestID + Validator github_com_cosmos_cosmos_sdk_types.ValAddress + func NewMsgReportData(RequestID RequestID, RawReports []RawReport, ...) MsgReportData + func (*MsgReportData) Descriptor() ([]byte, []int) + func (*MsgReportData) ProtoMessage() + func (m *MsgReportData) GetRawReports() []RawReport + func (m *MsgReportData) GetReporter() github_com_cosmos_cosmos_sdk_types.AccAddress + func (m *MsgReportData) GetRequestID() RequestID + func (m *MsgReportData) GetValidator() github_com_cosmos_cosmos_sdk_types.ValAddress + func (m *MsgReportData) Marshal() (dAtA []byte, err error) + func (m *MsgReportData) MarshalTo(dAtA []byte) (int, error) + func (m *MsgReportData) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgReportData) Reset() + func (m *MsgReportData) Size() (n int) + func (m *MsgReportData) String() string + func (m *MsgReportData) Unmarshal(dAtA []byte) error + func (m *MsgReportData) XXX_DiscardUnknown() + func (m *MsgReportData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgReportData) XXX_Merge(src proto.Message) + func (m *MsgReportData) XXX_Size() int + func (m *MsgReportData) XXX_Unmarshal(b []byte) error + func (msg MsgReportData) GetSignBytes() []byte + func (msg MsgReportData) GetSigners() []sdk.AccAddress + func (msg MsgReportData) Route() string + func (msg MsgReportData) Type() string + func (msg MsgReportData) ValidateBasic() error + func (this *MsgReportData) Equal(that interface{}) bool + type MsgRequestData struct + AskCount uint64 + Calldata []byte + ClientID string + MinCount uint64 + OracleScriptID OracleScriptID + Sender github_com_cosmos_cosmos_sdk_types.AccAddress + func NewMsgRequestData(OracleScriptID OracleScriptID, Calldata []byte, AskCount uint64, ...) MsgRequestData + func (*MsgRequestData) Descriptor() ([]byte, []int) + func (*MsgRequestData) ProtoMessage() + func (m *MsgRequestData) GetAskCount() uint64 + func (m *MsgRequestData) GetCalldata() []byte + func (m *MsgRequestData) GetClientID() string + func (m *MsgRequestData) GetMinCount() uint64 + func (m *MsgRequestData) GetOracleScriptID() OracleScriptID + func (m *MsgRequestData) GetSender() github_com_cosmos_cosmos_sdk_types.AccAddress + func (m *MsgRequestData) Marshal() (dAtA []byte, err error) + func (m *MsgRequestData) MarshalTo(dAtA []byte) (int, error) + func (m *MsgRequestData) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgRequestData) Reset() + func (m *MsgRequestData) Size() (n int) + func (m *MsgRequestData) String() string + func (m *MsgRequestData) Unmarshal(dAtA []byte) error + func (m *MsgRequestData) XXX_DiscardUnknown() + func (m *MsgRequestData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgRequestData) XXX_Merge(src proto.Message) + func (m *MsgRequestData) XXX_Size() int + func (m *MsgRequestData) XXX_Unmarshal(b []byte) error + func (msg MsgRequestData) GetSignBytes() []byte + func (msg MsgRequestData) GetSigners() []sdk.AccAddress + func (msg MsgRequestData) Route() string + func (msg MsgRequestData) Type() string + func (msg MsgRequestData) ValidateBasic() error + func (this *MsgRequestData) Equal(that interface{}) bool + type OracleRequestPacketData struct + AskCount uint64 + Calldata []byte + ClientID string + MinCount uint64 + OracleScriptID OracleScriptID + func NewOracleRequestPacketData(ClientID string, OracleScriptID OracleScriptID, Calldata []byte, ...) OracleRequestPacketData + func (*OracleRequestPacketData) Descriptor() ([]byte, []int) + func (*OracleRequestPacketData) ProtoMessage() + func (m *OracleRequestPacketData) GetAskCount() uint64 + func (m *OracleRequestPacketData) GetCalldata() []byte + func (m *OracleRequestPacketData) GetClientID() string + func (m *OracleRequestPacketData) GetMinCount() uint64 + func (m *OracleRequestPacketData) GetOracleScriptID() OracleScriptID + func (m *OracleRequestPacketData) Marshal() (dAtA []byte, err error) + func (m *OracleRequestPacketData) MarshalTo(dAtA []byte) (int, error) + func (m *OracleRequestPacketData) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *OracleRequestPacketData) Reset() + func (m *OracleRequestPacketData) Size() (n int) + func (m *OracleRequestPacketData) String() string + func (m *OracleRequestPacketData) Unmarshal(dAtA []byte) error + func (m *OracleRequestPacketData) XXX_DiscardUnknown() + func (m *OracleRequestPacketData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *OracleRequestPacketData) XXX_Merge(src proto.Message) + func (m *OracleRequestPacketData) XXX_Size() int + func (m *OracleRequestPacketData) XXX_Unmarshal(b []byte) error + func (p OracleRequestPacketData) GetBytes() []byte + func (this *OracleRequestPacketData) Equal(that interface{}) bool + type OracleResponsePacketData struct + AnsCount uint64 + ClientID string + RequestID RequestID + RequestTime int64 + ResolveStatus ResolveStatus + ResolveTime int64 + Result []byte + func NewOracleResponsePacketData(ClientID string, RequestID RequestID, AnsCount uint64, RequestTime int64, ...) OracleResponsePacketData + func (*OracleResponsePacketData) Descriptor() ([]byte, []int) + func (*OracleResponsePacketData) ProtoMessage() + func (m *OracleResponsePacketData) GetAnsCount() uint64 + func (m *OracleResponsePacketData) GetClientID() string + func (m *OracleResponsePacketData) GetRequestID() RequestID + func (m *OracleResponsePacketData) GetRequestTime() int64 + func (m *OracleResponsePacketData) GetResolveStatus() ResolveStatus + func (m *OracleResponsePacketData) GetResolveTime() int64 + func (m *OracleResponsePacketData) GetResult() []byte + func (m *OracleResponsePacketData) Marshal() (dAtA []byte, err error) + func (m *OracleResponsePacketData) MarshalTo(dAtA []byte) (int, error) + func (m *OracleResponsePacketData) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *OracleResponsePacketData) Reset() + func (m *OracleResponsePacketData) Size() (n int) + func (m *OracleResponsePacketData) String() string + func (m *OracleResponsePacketData) Unmarshal(dAtA []byte) error + func (m *OracleResponsePacketData) XXX_DiscardUnknown() + func (m *OracleResponsePacketData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *OracleResponsePacketData) XXX_Merge(src proto.Message) + func (m *OracleResponsePacketData) XXX_Size() int + func (m *OracleResponsePacketData) XXX_Unmarshal(b []byte) error + func (p OracleResponsePacketData) GetBytes() []byte + func (this *OracleResponsePacketData) Equal(that interface{}) bool + type OracleScript struct + Description string + Filename string + Name string + Owner github_com_cosmos_cosmos_sdk_types.AccAddress + Schema string + SourceCodeURL string + func NewOracleScript(Owner github_com_cosmos_cosmos_sdk_types.AccAddress, Name string, ...) OracleScript + func (*OracleScript) Descriptor() ([]byte, []int) + func (*OracleScript) ProtoMessage() + func (m *OracleScript) GetDescription() string + func (m *OracleScript) GetFilename() string + func (m *OracleScript) GetName() string + func (m *OracleScript) GetOwner() github_com_cosmos_cosmos_sdk_types.AccAddress + func (m *OracleScript) GetSchema() string + func (m *OracleScript) GetSourceCodeURL() string + func (m *OracleScript) Marshal() (dAtA []byte, err error) + func (m *OracleScript) MarshalTo(dAtA []byte) (int, error) + func (m *OracleScript) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *OracleScript) Reset() + func (m *OracleScript) Size() (n int) + func (m *OracleScript) String() string + func (m *OracleScript) Unmarshal(dAtA []byte) error + func (m *OracleScript) XXX_DiscardUnknown() + func (m *OracleScript) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *OracleScript) XXX_Merge(src proto.Message) + func (m *OracleScript) XXX_Size() int + func (m *OracleScript) XXX_Unmarshal(b []byte) error + func (this *OracleScript) Equal(that interface{}) bool + type OracleScriptID int64 + type Params struct + BaseRequestGas uint64 + ExpirationBlockCount uint64 + InactivePenaltyDuration uint64 + MaxAskCount uint64 + MaxRawRequestCount uint64 + OracleRewardPercentage uint64 + PerValidatorRequestGas uint64 + SamplingTryCount uint64 + func DefaultParams() Params + func NewParams(MaxRawRequestCount uint64, MaxAskCount uint64, ExpirationBlockCount uint64, ...) Params + func (*Params) Descriptor() ([]byte, []int) + func (*Params) ProtoMessage() + func (m *Params) GetBaseRequestGas() uint64 + func (m *Params) GetExpirationBlockCount() uint64 + func (m *Params) GetInactivePenaltyDuration() uint64 + func (m *Params) GetMaxAskCount() uint64 + func (m *Params) GetMaxRawRequestCount() uint64 + func (m *Params) GetOracleRewardPercentage() uint64 + func (m *Params) GetPerValidatorRequestGas() uint64 + func (m *Params) GetSamplingTryCount() uint64 + 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 (this *Params) Equal(that interface{}) bool + type PrepareEnv struct + func NewPrepareEnv(req Request, maxRawRequests int64) *PrepareEnv + func (env *PrepareEnv) AskExternalData(eid int64, did int64, data []byte) error + func (env *PrepareEnv) GetRawRequests() []RawRequest + type QueryActiveValidatorResult struct + Address sdk.ValAddress + Power uint64 + type QueryCountsResult struct + DataSourceCount int64 + OracleScriptCount int64 + RequestCount int64 + type QueryRequestResult struct + Reports []Report + Request Request + Result *Result + type QueryResult struct + Result json.RawMessage + Status int + type RawReport struct + Data []byte + ExitCode uint32 + ExternalID ExternalID + func NewRawReport(ExternalID ExternalID, ExitCode uint32, Data []byte) RawReport + func (*RawReport) Descriptor() ([]byte, []int) + func (*RawReport) ProtoMessage() + func (m *RawReport) GetData() []byte + func (m *RawReport) GetExitCode() uint32 + func (m *RawReport) GetExternalID() ExternalID + func (m *RawReport) Marshal() (dAtA []byte, err error) + func (m *RawReport) MarshalTo(dAtA []byte) (int, error) + func (m *RawReport) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *RawReport) Reset() + func (m *RawReport) Size() (n int) + func (m *RawReport) String() string + func (m *RawReport) Unmarshal(dAtA []byte) error + func (m *RawReport) XXX_DiscardUnknown() + func (m *RawReport) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *RawReport) XXX_Merge(src proto.Message) + func (m *RawReport) XXX_Size() int + func (m *RawReport) XXX_Unmarshal(b []byte) error + func (this *RawReport) Equal(that interface{}) bool + type RawRequest struct + Calldata []byte + DataSourceID DataSourceID + ExternalID ExternalID + func NewRawRequest(ExternalID ExternalID, DataSourceID DataSourceID, Calldata []byte) RawRequest + func (*RawRequest) Descriptor() ([]byte, []int) + func (*RawRequest) ProtoMessage() + func (m *RawRequest) GetCalldata() []byte + func (m *RawRequest) GetDataSourceID() DataSourceID + func (m *RawRequest) GetExternalID() ExternalID + func (m *RawRequest) Marshal() (dAtA []byte, err error) + func (m *RawRequest) MarshalTo(dAtA []byte) (int, error) + func (m *RawRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *RawRequest) Reset() + func (m *RawRequest) Size() (n int) + func (m *RawRequest) String() string + func (m *RawRequest) Unmarshal(dAtA []byte) error + func (m *RawRequest) XXX_DiscardUnknown() + func (m *RawRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *RawRequest) XXX_Merge(src proto.Message) + func (m *RawRequest) XXX_Size() int + func (m *RawRequest) XXX_Unmarshal(b []byte) error + func (this *RawRequest) Equal(that interface{}) bool + type Report struct + InBeforeResolve bool + RawReports []RawReport + Validator github_com_cosmos_cosmos_sdk_types.ValAddress + func NewReport(Validator github_com_cosmos_cosmos_sdk_types.ValAddress, InBeforeResolve bool, ...) Report + func (*Report) Descriptor() ([]byte, []int) + func (*Report) ProtoMessage() + func (m *Report) GetInBeforeResolve() bool + func (m *Report) GetRawReports() []RawReport + func (m *Report) GetValidator() github_com_cosmos_cosmos_sdk_types.ValAddress + func (m *Report) Marshal() (dAtA []byte, err error) + func (m *Report) MarshalTo(dAtA []byte) (int, error) + func (m *Report) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Report) Reset() + func (m *Report) Size() (n int) + func (m *Report) String() string + func (m *Report) Unmarshal(dAtA []byte) error + func (m *Report) XXX_DiscardUnknown() + func (m *Report) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Report) XXX_Merge(src proto.Message) + func (m *Report) XXX_Size() int + func (m *Report) XXX_Unmarshal(b []byte) error + func (this *Report) Equal(that interface{}) bool + type Request struct + Calldata []byte + ClientID string + MinCount uint64 + OracleScriptID OracleScriptID + RawRequests []RawRequest + RequestHeight int64 + RequestTime time.Time + RequestedValidators []github_com_cosmos_cosmos_sdk_types.ValAddress + func NewRequest(OracleScriptID OracleScriptID, Calldata []byte, ...) Request + func (*Request) Descriptor() ([]byte, []int) + func (*Request) ProtoMessage() + func (m *Request) GetCalldata() []byte + func (m *Request) GetClientID() string + func (m *Request) GetMinCount() uint64 + func (m *Request) GetOracleScriptID() OracleScriptID + func (m *Request) GetRawRequests() []RawRequest + func (m *Request) GetRequestHeight() int64 + func (m *Request) GetRequestTime() time.Time + func (m *Request) GetRequestedValidators() []github_com_cosmos_cosmos_sdk_types.ValAddress + 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 (this *Request) Equal(that interface{}) bool + type RequestID int64 + type RequestSpec interface + GetAskCount func() uint64 + GetCalldata func() []byte + GetClientID func() string + GetMinCount func() uint64 + GetOracleScriptID func() OracleScriptID + type ResolveStatus int32 + const ResolveStatus_Expired + const ResolveStatus_Failure + const ResolveStatus_Open + const ResolveStatus_Success + func (ResolveStatus) EnumDescriptor() ([]byte, []int) + func (x ResolveStatus) String() string + type Result struct + RequestPacketData OracleRequestPacketData + ResponsePacketData OracleResponsePacketData + func NewResult(req OracleRequestPacketData, res OracleResponsePacketData) Result + type StakingKeeper interface + IterateBondedValidatorsByPower func(ctx sdk.Context, ...) + Validator func(ctx sdk.Context, address sdk.ValAddress) stakingexported.ValidatorI + ValidatorByConsAddr func(sdk.Context, sdk.ConsAddress) stakingexported.ValidatorI + type SupplyKeeper interface + GetModuleAccount func(ctx sdk.Context, name string) supplyexported.ModuleAccountI + SendCoinsFromModuleToModule func(ctx sdk.Context, senderModule string, recipientModule string, amt sdk.Coins) error + type ValidatorStatus struct + IsActive bool + Since time.Time + func NewValidatorStatus(IsActive bool, Since time.Time) ValidatorStatus + func (*ValidatorStatus) Descriptor() ([]byte, []int) + func (*ValidatorStatus) ProtoMessage() + func (m *ValidatorStatus) GetIsActive() bool + func (m *ValidatorStatus) GetSince() time.Time + func (m *ValidatorStatus) Marshal() (dAtA []byte, err error) + func (m *ValidatorStatus) MarshalTo(dAtA []byte) (int, error) + func (m *ValidatorStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *ValidatorStatus) Reset() + func (m *ValidatorStatus) Size() (n int) + func (m *ValidatorStatus) String() string + func (m *ValidatorStatus) Unmarshal(dAtA []byte) error + func (m *ValidatorStatus) XXX_DiscardUnknown() + func (m *ValidatorStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ValidatorStatus) XXX_Merge(src proto.Message) + func (m *ValidatorStatus) XXX_Size() int + func (m *ValidatorStatus) XXX_Unmarshal(b []byte) error + func (this *ValidatorStatus) Equal(that interface{}) bool