func (a *Client) GetOracleVotersValidatorFeeder(params *GetOracleVotersValidatorFeederParams) (*GetOracleVotersValidatorFeederOK, error) {
	if params == nil {
		params = NewGetOracleVotersValidatorFeederParams()
	}
	result, err := a.transport.Submit(&runtime.ClientOperation{
		ID:                 "GetOracleVotersValidatorFeeder",
		Method:             "GET",
		PathPattern:        "/oracle/voters/{validator}/feeder",
		ProducesMediaTypes: []string{"application/json"},
		ConsumesMediaTypes: []string{"application/json"},
		Schemes:            []string{"https"},
		Params:             params,
		Reader:             &GetOracleVotersValidatorFeederReader{formats: a.formats},
		Context:            params.Context,
		Client:             params.HTTPClient,
	})
	if err != nil {
		return nil, err
	}
	success, ok := result.(*GetOracleVotersValidatorFeederOK)
	if ok {
		return success, nil
	}
	msg := fmt.Sprintf("unexpected success response for GetOracleVotersValidatorFeeder: API contract not enforced by server. Client expected to get an error, but got: %T", result)
	panic(msg)
}
/*
GetOracleVotersValidatorFeeder gets delegated oracle feeder of a validator
package oracle
import (
	"fmt"
	"github.com/go-openapi/runtime"
	"github.com/go-openapi/strfmt"
)
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService {
	return &Client{transport: transport, formats: formats}
}
type Client struct {
	transport runtime.ClientTransport
	formats   strfmt.Registry
}
type ClientService interface {
	GetOracleDenomsActives(params *GetOracleDenomsActivesParams) (*GetOracleDenomsActivesOK, error)
	GetOracleDenomsDenomExchangeRate(params *GetOracleDenomsDenomExchangeRateParams) (*GetOracleDenomsDenomExchangeRateOK, error)
	GetOracleDenomsDenomPrevotes(params *GetOracleDenomsDenomPrevotesParams) (*GetOracleDenomsDenomPrevotesOK, error)
	GetOracleDenomsDenomPrevotesValidator(params *GetOracleDenomsDenomPrevotesValidatorParams) (*GetOracleDenomsDenomPrevotesValidatorOK, error)
	GetOracleDenomsDenomVotes(params *GetOracleDenomsDenomVotesParams) (*GetOracleDenomsDenomVotesOK, error)
	GetOracleDenomsDenomVotesValidator(params *GetOracleDenomsDenomVotesValidatorParams) (*GetOracleDenomsDenomVotesValidatorOK, error)
	GetOracleDenomsExchangeRates(params *GetOracleDenomsExchangeRatesParams) (*GetOracleDenomsExchangeRatesOK, error)
	GetOracleParameters(params *GetOracleParametersParams) (*GetOracleParametersOK, error)
	GetOracleVotersValidatorAggregatePrevote(params *GetOracleVotersValidatorAggregatePrevoteParams) (*GetOracleVotersValidatorAggregatePrevoteOK, error)
	GetOracleVotersValidatorAggregateVote(params *GetOracleVotersValidatorAggregateVoteParams) (*GetOracleVotersValidatorAggregateVoteOK, error)
	GetOracleVotersValidatorFeeder(params *GetOracleVotersValidatorFeederParams) (*GetOracleVotersValidatorFeederOK, error)
	GetOracleVotersValidatorMiss(params *GetOracleVotersValidatorMissParams) (*GetOracleVotersValidatorMissOK, error)
	GetOracleVotersValidatorPrevotes(params *GetOracleVotersValidatorPrevotesParams) (*GetOracleVotersValidatorPrevotesOK, error)
	GetOracleVotersValidatorVotes(params *GetOracleVotersValidatorVotesParams) (*GetOracleVotersValidatorVotesOK, error)
	PostOracleDenomsDenomPrevotes(params *PostOracleDenomsDenomPrevotesParams) (*PostOracleDenomsDenomPrevotesOK, error)
	PostOracleDenomsDenomVotes(params *PostOracleDenomsDenomVotesParams) (*PostOracleDenomsDenomVotesOK, error)
	PostOracleVotersValidatorAggregatePrevote(params *PostOracleVotersValidatorAggregatePrevoteParams) (*PostOracleVotersValidatorAggregatePrevoteOK, error)
	PostOracleVotersValidatorAggregateVote(params *PostOracleVotersValidatorAggregateVoteParams) (*PostOracleVotersValidatorAggregateVoteOK, error)
	PostOracleVotersValidatorFeeder(params *PostOracleVotersValidatorFeederParams) (*PostOracleVotersValidatorFeederOK, error)
	SetTransport(transport runtime.ClientTransport)
}
func (a *Client) GetOracleDenomsActives(params *GetOracleDenomsActivesParams) (*GetOracleDenomsActivesOK, error) {
	if params == nil {
		params = NewGetOracleDenomsActivesParams()
	}
	result, err := a.transport.Submit(&runtime.ClientOperation{
		ID:                 "GetOracleDenomsActives",
		Method:             "GET",
		PathPattern:        "/oracle/denoms/actives",
		ProducesMediaTypes: []string{"application/json"},
		ConsumesMediaTypes: []string{"application/json"},
		Schemes:            []string{"https"},
		Params:             params,
		Reader:             &GetOracleDenomsActivesReader{formats: a.formats},
		Context:            params.Context,
		Client:             params.HTTPClient,
	})
	if err != nil {
		return nil, err
	}
	success, ok := result.(*GetOracleDenomsActivesOK)
	if ok {
		return success, nil
	}
	msg := fmt.Sprintf("unexpected success response for GetOracleDenomsActives: API contract not enforced by server. Client expected to get an error, but got: %T", result)
	panic(msg)
}
func (a *Client) GetOracleDenomsDenomExchangeRate(params *GetOracleDenomsDenomExchangeRateParams) (*GetOracleDenomsDenomExchangeRateOK, error) {
	if params == nil {
		params = NewGetOracleDenomsDenomExchangeRateParams()
	}
	result, err := a.transport.Submit(&runtime.ClientOperation{
		ID:                 "GetOracleDenomsDenomExchangeRate",
		Method:             "GET",
		PathPattern:        "/oracle/denoms/{denom}/exchange_rate",
		ProducesMediaTypes: []string{"application/json"},
		ConsumesMediaTypes: []string{"application/json"},
		Schemes:            []string{"https"},
		Params:             params,
		Reader:             &GetOracleDenomsDenomExchangeRateReader{formats: a.formats},
		Context:            params.Context,
		Client:             params.HTTPClient,
	})
	if err != nil {
		return nil, err
	}
	success, ok := result.(*GetOracleDenomsDenomExchangeRateOK)
	if ok {
		return success, nil
	}
	msg := fmt.Sprintf("unexpected success response for GetOracleDenomsDenomExchangeRate: API contract not enforced by server. Client expected to get an error, but got: %T", result)
	panic(msg)
}
func (a *Client) GetOracleDenomsDenomPrevotes(params *GetOracleDenomsDenomPrevotesParams) (*GetOracleDenomsDenomPrevotesOK, error) {
	if params == nil {
		params = NewGetOracleDenomsDenomPrevotesParams()
	}
	result, err := a.transport.Submit(&runtime.ClientOperation{
		ID:                 "GetOracleDenomsDenomPrevotes",
		Method:             "GET",
		PathPattern:        "/oracle/denoms/{denom}/prevotes",
		ProducesMediaTypes: []string{"application/json"},
		ConsumesMediaTypes: []string{"application/json"},
		Schemes:            []string{"https"},
		Params:             params,
		Reader:             &GetOracleDenomsDenomPrevotesReader{formats: a.formats},
		Context:            params.Context,
		Client:             params.HTTPClient,
	})
	if err != nil {
		return nil, err
	}
	success, ok := result.(*GetOracleDenomsDenomPrevotesOK)
	if ok {
		return success, nil
	}
	msg := fmt.Sprintf("unexpected success response for GetOracleDenomsDenomPrevotes: API contract not enforced by server. Client expected to get an error, but got: %T", result)
	panic(msg)
}
func (a *Client) GetOracleDenomsDenomPrevotesValidator(params *GetOracleDenomsDenomPrevotesValidatorParams) (*GetOracleDenomsDenomPrevotesValidatorOK, error) {
	if params == nil {
		params = NewGetOracleDenomsDenomPrevotesValidatorParams()
	}
	result, err := a.transport.Submit(&runtime.ClientOperation{
		ID:                 "GetOracleDenomsDenomPrevotesValidator",
		Method:             "GET",
		PathPattern:        "/oracle/denoms/{denom}/prevotes/{validator}",
		ProducesMediaTypes: []string{"application/json"},
		ConsumesMediaTypes: []string{"application/json"},
		Schemes:            []string{"https"},
		Params:             params,
		Reader:             &GetOracleDenomsDenomPrevotesValidatorReader{formats: a.formats},
		Context:            params.Context,
		Client:             params.HTTPClient,
	})
	if err != nil {
		return nil, err
	}
	success, ok := result.(*GetOracleDenomsDenomPrevotesValidatorOK)
	if ok {
		return success, nil
	}
	msg := fmt.Sprintf("unexpected success response for GetOracleDenomsDenomPrevotesValidator: API contract not enforced by server. Client expected to get an error, but got: %T", result)
	panic(msg)
}
func (a *Client) GetOracleDenomsDenomVotes(params *GetOracleDenomsDenomVotesParams) (*GetOracleDenomsDenomVotesOK, error) {
	if params == nil {
		params = NewGetOracleDenomsDenomVotesParams()
	}
	result, err := a.transport.Submit(&runtime.ClientOperation{
		ID:                 "GetOracleDenomsDenomVotes",
		Method:             "GET",
		PathPattern:        "/oracle/denoms/{denom}/votes",
		ProducesMediaTypes: []string{"application/json"},
		ConsumesMediaTypes: []string{"application/json"},
		Schemes:            []string{"https"},
		Params:             params,
		Reader:             &GetOracleDenomsDenomVotesReader{formats: a.formats},
		Context:            params.Context,
		Client:             params.HTTPClient,
	})
	if err != nil {
		return nil, err
	}
	success, ok := result.(*GetOracleDenomsDenomVotesOK)
	if ok {
		return success, nil
	}
	msg := fmt.Sprintf("unexpected success response for GetOracleDenomsDenomVotes: API contract not enforced by server. Client expected to get an error, but got: %T", result)
	panic(msg)
}
func (a *Client) GetOracleDenomsDenomVotesValidator(params *GetOracleDenomsDenomVotesValidatorParams) (*GetOracleDenomsDenomVotesValidatorOK, error) {
	if params == nil {
		params = NewGetOracleDenomsDenomVotesValidatorParams()
	}
	result, err := a.transport.Submit(&runtime.ClientOperation{
		ID:                 "GetOracleDenomsDenomVotesValidator",
		Method:             "GET",
		PathPattern:        "/oracle/denoms/{denom}/votes/{validator}",
		ProducesMediaTypes: []string{"application/json"},
		ConsumesMediaTypes: []string{"application/json"},
		Schemes:            []string{"https"},
		Params:             params,
		Reader:             &GetOracleDenomsDenomVotesValidatorReader{formats: a.formats},
		Context:            params.Context,
		Client:             params.HTTPClient,
	})
	if err != nil {
		return nil, err
	}
	success, ok := result.(*GetOracleDenomsDenomVotesValidatorOK)
	if ok {
		return success, nil
	}
	msg := fmt.Sprintf("unexpected success response for GetOracleDenomsDenomVotesValidator: API contract not enforced by server. Client expected to get an error, but got: %T", result)
	panic(msg)
}
func (a *Client) GetOracleDenomsExchangeRates(params *GetOracleDenomsExchangeRatesParams) (*GetOracleDenomsExchangeRatesOK, error) {
	if params == nil {
		params = NewGetOracleDenomsExchangeRatesParams()
	}
	result, err := a.transport.Submit(&runtime.ClientOperation{
		ID:                 "GetOracleDenomsExchangeRates",
		Method:             "GET",
		PathPattern:        "/oracle/denoms/exchange_rates",
		ProducesMediaTypes: []string{"application/json"},
		ConsumesMediaTypes: []string{"application/json"},
		Schemes:            []string{"https"},
		Params:             params,
		Reader:             &GetOracleDenomsExchangeRatesReader{formats: a.formats},
		Context:            params.Context,
		Client:             params.HTTPClient,
	})
	if err != nil {
		return nil, err
	}
	success, ok := result.(*GetOracleDenomsExchangeRatesOK)
	if ok {
		return success, nil
	}
	msg := fmt.Sprintf("unexpected success response for GetOracleDenomsExchangeRates: API contract not enforced by server. Client expected to get an error, but got: %T", result)
	panic(msg)
}
func (a *Client) GetOracleParameters(params *GetOracleParametersParams) (*GetOracleParametersOK, error) {
	if params == nil {
		params = NewGetOracleParametersParams()
	}
	result, err := a.transport.Submit(&runtime.ClientOperation{
		ID:                 "GetOracleParameters",
		Method:             "GET",
		PathPattern:        "/oracle/parameters",
		ProducesMediaTypes: []string{"application/json"},
		ConsumesMediaTypes: []string{"application/json"},
		Schemes:            []string{"https"},
		Params:             params,
		Reader:             &GetOracleParametersReader{formats: a.formats},
		Context:            params.Context,
		Client:             params.HTTPClient,
	})
	if err != nil {
		return nil, err
	}
	success, ok := result.(*GetOracleParametersOK)
	if ok {
		return success, nil
	}
	msg := fmt.Sprintf("unexpected success response for GetOracleParameters: API contract not enforced by server. Client expected to get an error, but got: %T", result)
	panic(msg)
}
func (a *Client) GetOracleVotersValidatorAggregatePrevote(params *GetOracleVotersValidatorAggregatePrevoteParams) (*GetOracleVotersValidatorAggregatePrevoteOK, error) {
	if params == nil {
		params = NewGetOracleVotersValidatorAggregatePrevoteParams()
	}
	result, err := a.transport.Submit(&runtime.ClientOperation{
		ID:                 "GetOracleVotersValidatorAggregatePrevote",
		Method:             "GET",
		PathPattern:        "/oracle/voters/{validator}/aggregate_prevote",
		ProducesMediaTypes: []string{"application/json"},
		ConsumesMediaTypes: []string{"application/json"},
		Schemes:            []string{"https"},
		Params:             params,
		Reader:             &GetOracleVotersValidatorAggregatePrevoteReader{formats: a.formats},
		Context:            params.Context,
		Client:             params.HTTPClient,
	})
	if err != nil {
		return nil, err
	}
	success, ok := result.(*GetOracleVotersValidatorAggregatePrevoteOK)
	if ok {
		return success, nil
	}
	msg := fmt.Sprintf("unexpected success response for GetOracleVotersValidatorAggregatePrevote: API contract not enforced by server. Client expected to get an error, but got: %T", result)
	panic(msg)
}
func (a *Client) GetOracleVotersValidatorAggregateVote(params *GetOracleVotersValidatorAggregateVoteParams) (*GetOracleVotersValidatorAggregateVoteOK, error) {
	if params == nil {
		params = NewGetOracleVotersValidatorAggregateVoteParams()
	}
	result, err := a.transport.Submit(&runtime.ClientOperation{
		ID:                 "GetOracleVotersValidatorAggregateVote",
		Method:             "GET",
		PathPattern:        "/oracle/voters/{validator}/aggregate_vote",
		ProducesMediaTypes: []string{"application/json"},
		ConsumesMediaTypes: []string{"application/json"},
		Schemes:            []string{"https"},
		Params:             params,
		Reader:             &GetOracleVotersValidatorAggregateVoteReader{formats: a.formats},
		Context:            params.Context,
		Client:             params.HTTPClient,
	})
	if err != nil {
		return nil, err
	}
	success, ok := result.(*GetOracleVotersValidatorAggregateVoteOK)
	if ok {
		return success, nil
	}
	msg := fmt.Sprintf("unexpected success response for GetOracleVotersValidatorAggregateVote: API contract not enforced by server. Client expected to get an error, but got: %T", result)
	panic(msg)
}