server

package
v0.0.0-...-de9afa2 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2022 License: AGPL-3.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeAccountNumbersRequest

func DecodeAccountNumbersRequest(ctx context.Context, v interface{}, md metadata.MD) (interface{}, error)

DecodeAccountNumbersRequest decodes requests sent to "sdk-utilities" service "accountNumbers" endpoint.

func DecodeBlockRequest

func DecodeBlockRequest(ctx context.Context, v interface{}, md metadata.MD) (interface{}, error)

DecodeBlockRequest decodes requests sent to "sdk-utilities" service "block" endpoint.

func DecodeBroadcastTxRequest

func DecodeBroadcastTxRequest(ctx context.Context, v interface{}, md metadata.MD) (interface{}, error)

DecodeBroadcastTxRequest decodes requests sent to "sdk-utilities" service "broadcastTx" endpoint.

func DecodeBudgetParamsRequest

func DecodeBudgetParamsRequest(ctx context.Context, v interface{}, md metadata.MD) (interface{}, error)

DecodeBudgetParamsRequest decodes requests sent to "sdk-utilities" service "budgetParams" endpoint.

func DecodeCrescentPoolsRequest

func DecodeCrescentPoolsRequest(ctx context.Context, v interface{}, md metadata.MD) (interface{}, error)

DecodeCrescentPoolsRequest decodes requests sent to "sdk-utilities" service "crescentPools" endpoint.

func DecodeDelegatorRewardsRequest

func DecodeDelegatorRewardsRequest(ctx context.Context, v interface{}, md metadata.MD) (interface{}, error)

DecodeDelegatorRewardsRequest decodes requests sent to "sdk-utilities" service "delegatorRewards" endpoint.

func DecodeDistributionParamsRequest

func DecodeDistributionParamsRequest(ctx context.Context, v interface{}, md metadata.MD) (interface{}, error)

DecodeDistributionParamsRequest decodes requests sent to "sdk-utilities" service "distributionParams" endpoint.

func DecodeEmoneyInflationRequest

func DecodeEmoneyInflationRequest(ctx context.Context, v interface{}, md metadata.MD) (interface{}, error)

DecodeEmoneyInflationRequest decodes requests sent to "sdk-utilities" service "emoneyInflation" endpoint.

func DecodeEstimateFeesRequest

func DecodeEstimateFeesRequest(ctx context.Context, v interface{}, md metadata.MD) (interface{}, error)

DecodeEstimateFeesRequest decodes requests sent to "sdk-utilities" service "estimateFees" endpoint.

func DecodeLiquidityParamsRequest

func DecodeLiquidityParamsRequest(ctx context.Context, v interface{}, md metadata.MD) (interface{}, error)

DecodeLiquidityParamsRequest decodes requests sent to "sdk-utilities" service "liquidityParams" endpoint.

func DecodeLiquidityPoolsRequest

func DecodeLiquidityPoolsRequest(ctx context.Context, v interface{}, md metadata.MD) (interface{}, error)

DecodeLiquidityPoolsRequest decodes requests sent to "sdk-utilities" service "liquidityPools" endpoint.

func DecodeMintAnnualProvisionRequest

func DecodeMintAnnualProvisionRequest(ctx context.Context, v interface{}, md metadata.MD) (interface{}, error)

DecodeMintAnnualProvisionRequest decodes requests sent to "sdk-utilities" service "mintAnnualProvision" endpoint.

func DecodeMintEpochProvisionsRequest

func DecodeMintEpochProvisionsRequest(ctx context.Context, v interface{}, md metadata.MD) (interface{}, error)

DecodeMintEpochProvisionsRequest decodes requests sent to "sdk-utilities" service "mintEpochProvisions" endpoint.

func DecodeMintInflationRequest

func DecodeMintInflationRequest(ctx context.Context, v interface{}, md metadata.MD) (interface{}, error)

DecodeMintInflationRequest decodes requests sent to "sdk-utilities" service "mintInflation" endpoint.

func DecodeMintParamsRequest

func DecodeMintParamsRequest(ctx context.Context, v interface{}, md metadata.MD) (interface{}, error)

DecodeMintParamsRequest decodes requests sent to "sdk-utilities" service "mintParams" endpoint.

func DecodeOsmoPoolsRequest

func DecodeOsmoPoolsRequest(ctx context.Context, v interface{}, md metadata.MD) (interface{}, error)

DecodeOsmoPoolsRequest decodes requests sent to "sdk-utilities" service "osmoPools" endpoint.

func DecodeQueryTxRequest

func DecodeQueryTxRequest(ctx context.Context, v interface{}, md metadata.MD) (interface{}, error)

DecodeQueryTxRequest decodes requests sent to "sdk-utilities" service "queryTx" endpoint.

func DecodeStakingParamsRequest

func DecodeStakingParamsRequest(ctx context.Context, v interface{}, md metadata.MD) (interface{}, error)

DecodeStakingParamsRequest decodes requests sent to "sdk-utilities" service "stakingParams" endpoint.

func DecodeStakingPoolRequest

func DecodeStakingPoolRequest(ctx context.Context, v interface{}, md metadata.MD) (interface{}, error)

DecodeStakingPoolRequest decodes requests sent to "sdk-utilities" service "stakingPool" endpoint.

func DecodeSupplyDenomRequest

func DecodeSupplyDenomRequest(ctx context.Context, v interface{}, md metadata.MD) (interface{}, error)

DecodeSupplyDenomRequest decodes requests sent to "sdk-utilities" service "supplyDenom" endpoint.

func DecodeSupplyRequest

func DecodeSupplyRequest(ctx context.Context, v interface{}, md metadata.MD) (interface{}, error)

DecodeSupplyRequest decodes requests sent to "sdk-utilities" service "supply" endpoint.

func DecodeTxMetadataRequest

func DecodeTxMetadataRequest(ctx context.Context, v interface{}, md metadata.MD) (interface{}, error)

DecodeTxMetadataRequest decodes requests sent to "sdk-utilities" service "txMetadata" endpoint.

func EncodeAccountNumbersResponse

func EncodeAccountNumbersResponse(ctx context.Context, v interface{}, hdr, trlr *metadata.MD) (interface{}, error)

EncodeAccountNumbersResponse encodes responses from the "sdk-utilities" service "accountNumbers" endpoint.

func EncodeBlockResponse

func EncodeBlockResponse(ctx context.Context, v interface{}, hdr, trlr *metadata.MD) (interface{}, error)

EncodeBlockResponse encodes responses from the "sdk-utilities" service "block" endpoint.

func EncodeBroadcastTxResponse

func EncodeBroadcastTxResponse(ctx context.Context, v interface{}, hdr, trlr *metadata.MD) (interface{}, error)

EncodeBroadcastTxResponse encodes responses from the "sdk-utilities" service "broadcastTx" endpoint.

func EncodeBudgetParamsResponse

func EncodeBudgetParamsResponse(ctx context.Context, v interface{}, hdr, trlr *metadata.MD) (interface{}, error)

EncodeBudgetParamsResponse encodes responses from the "sdk-utilities" service "budgetParams" endpoint.

func EncodeCrescentPoolsResponse

func EncodeCrescentPoolsResponse(ctx context.Context, v interface{}, hdr, trlr *metadata.MD) (interface{}, error)

EncodeCrescentPoolsResponse encodes responses from the "sdk-utilities" service "crescentPools" endpoint.

func EncodeDelegatorRewardsResponse

func EncodeDelegatorRewardsResponse(ctx context.Context, v interface{}, hdr, trlr *metadata.MD) (interface{}, error)

EncodeDelegatorRewardsResponse encodes responses from the "sdk-utilities" service "delegatorRewards" endpoint.

func EncodeDistributionParamsResponse

func EncodeDistributionParamsResponse(ctx context.Context, v interface{}, hdr, trlr *metadata.MD) (interface{}, error)

EncodeDistributionParamsResponse encodes responses from the "sdk-utilities" service "distributionParams" endpoint.

func EncodeEmoneyInflationResponse

func EncodeEmoneyInflationResponse(ctx context.Context, v interface{}, hdr, trlr *metadata.MD) (interface{}, error)

EncodeEmoneyInflationResponse encodes responses from the "sdk-utilities" service "emoneyInflation" endpoint.

func EncodeEstimateFeesResponse

func EncodeEstimateFeesResponse(ctx context.Context, v interface{}, hdr, trlr *metadata.MD) (interface{}, error)

EncodeEstimateFeesResponse encodes responses from the "sdk-utilities" service "estimateFees" endpoint.

func EncodeLiquidityParamsResponse

func EncodeLiquidityParamsResponse(ctx context.Context, v interface{}, hdr, trlr *metadata.MD) (interface{}, error)

EncodeLiquidityParamsResponse encodes responses from the "sdk-utilities" service "liquidityParams" endpoint.

func EncodeLiquidityPoolsResponse

func EncodeLiquidityPoolsResponse(ctx context.Context, v interface{}, hdr, trlr *metadata.MD) (interface{}, error)

EncodeLiquidityPoolsResponse encodes responses from the "sdk-utilities" service "liquidityPools" endpoint.

func EncodeMintAnnualProvisionResponse

func EncodeMintAnnualProvisionResponse(ctx context.Context, v interface{}, hdr, trlr *metadata.MD) (interface{}, error)

EncodeMintAnnualProvisionResponse encodes responses from the "sdk-utilities" service "mintAnnualProvision" endpoint.

func EncodeMintEpochProvisionsResponse

func EncodeMintEpochProvisionsResponse(ctx context.Context, v interface{}, hdr, trlr *metadata.MD) (interface{}, error)

EncodeMintEpochProvisionsResponse encodes responses from the "sdk-utilities" service "mintEpochProvisions" endpoint.

func EncodeMintInflationResponse

func EncodeMintInflationResponse(ctx context.Context, v interface{}, hdr, trlr *metadata.MD) (interface{}, error)

EncodeMintInflationResponse encodes responses from the "sdk-utilities" service "mintInflation" endpoint.

func EncodeMintParamsResponse

func EncodeMintParamsResponse(ctx context.Context, v interface{}, hdr, trlr *metadata.MD) (interface{}, error)

EncodeMintParamsResponse encodes responses from the "sdk-utilities" service "mintParams" endpoint.

func EncodeOsmoPoolsResponse

func EncodeOsmoPoolsResponse(ctx context.Context, v interface{}, hdr, trlr *metadata.MD) (interface{}, error)

EncodeOsmoPoolsResponse encodes responses from the "sdk-utilities" service "osmoPools" endpoint.

func EncodeQueryTxResponse

func EncodeQueryTxResponse(ctx context.Context, v interface{}, hdr, trlr *metadata.MD) (interface{}, error)

EncodeQueryTxResponse encodes responses from the "sdk-utilities" service "queryTx" endpoint.

func EncodeStakingParamsResponse

func EncodeStakingParamsResponse(ctx context.Context, v interface{}, hdr, trlr *metadata.MD) (interface{}, error)

EncodeStakingParamsResponse encodes responses from the "sdk-utilities" service "stakingParams" endpoint.

func EncodeStakingPoolResponse

func EncodeStakingPoolResponse(ctx context.Context, v interface{}, hdr, trlr *metadata.MD) (interface{}, error)

EncodeStakingPoolResponse encodes responses from the "sdk-utilities" service "stakingPool" endpoint.

func EncodeSupplyDenomResponse

func EncodeSupplyDenomResponse(ctx context.Context, v interface{}, hdr, trlr *metadata.MD) (interface{}, error)

EncodeSupplyDenomResponse encodes responses from the "sdk-utilities" service "supplyDenom" endpoint.

func EncodeSupplyResponse

func EncodeSupplyResponse(ctx context.Context, v interface{}, hdr, trlr *metadata.MD) (interface{}, error)

EncodeSupplyResponse encodes responses from the "sdk-utilities" service "supply" endpoint.

func EncodeTxMetadataResponse

func EncodeTxMetadataResponse(ctx context.Context, v interface{}, hdr, trlr *metadata.MD) (interface{}, error)

EncodeTxMetadataResponse encodes responses from the "sdk-utilities" service "txMetadata" endpoint.

func NewAccountNumbersHandler

func NewAccountNumbersHandler(endpoint goa.Endpoint, h goagrpc.UnaryHandler) goagrpc.UnaryHandler

NewAccountNumbersHandler creates a gRPC handler which serves the "sdk-utilities" service "accountNumbers" endpoint.

func NewAccountNumbersPayload

func NewAccountNumbersPayload(message *sdk_utilitiespb.AccountNumbersRequest) *sdkutilities.AccountNumbersPayload

NewAccountNumbersPayload builds the payload of the "accountNumbers" endpoint of the "sdk-utilities" service from the gRPC request type.

func NewBlockHandler

func NewBlockHandler(endpoint goa.Endpoint, h goagrpc.UnaryHandler) goagrpc.UnaryHandler

NewBlockHandler creates a gRPC handler which serves the "sdk-utilities" service "block" endpoint.

func NewBlockPayload

func NewBlockPayload(message *sdk_utilitiespb.BlockRequest) *sdkutilities.BlockPayload

NewBlockPayload builds the payload of the "block" endpoint of the "sdk-utilities" service from the gRPC request type.

func NewBroadcastTxHandler

func NewBroadcastTxHandler(endpoint goa.Endpoint, h goagrpc.UnaryHandler) goagrpc.UnaryHandler

NewBroadcastTxHandler creates a gRPC handler which serves the "sdk-utilities" service "broadcastTx" endpoint.

func NewBroadcastTxPayload

func NewBroadcastTxPayload(message *sdk_utilitiespb.BroadcastTxRequest) *sdkutilities.BroadcastTxPayload

NewBroadcastTxPayload builds the payload of the "broadcastTx" endpoint of the "sdk-utilities" service from the gRPC request type.

func NewBudgetParamsHandler

func NewBudgetParamsHandler(endpoint goa.Endpoint, h goagrpc.UnaryHandler) goagrpc.UnaryHandler

NewBudgetParamsHandler creates a gRPC handler which serves the "sdk-utilities" service "budgetParams" endpoint.

func NewBudgetParamsPayload

func NewBudgetParamsPayload(message *sdk_utilitiespb.BudgetParamsRequest) *sdkutilities.BudgetParamsPayload

NewBudgetParamsPayload builds the payload of the "budgetParams" endpoint of the "sdk-utilities" service from the gRPC request type.

func NewCrescentPoolsHandler

func NewCrescentPoolsHandler(endpoint goa.Endpoint, h goagrpc.UnaryHandler) goagrpc.UnaryHandler

NewCrescentPoolsHandler creates a gRPC handler which serves the "sdk-utilities" service "crescentPools" endpoint.

func NewCrescentPoolsPayload

func NewCrescentPoolsPayload(message *sdk_utilitiespb.CrescentPoolsRequest) *sdkutilities.CrescentPoolsPayload

NewCrescentPoolsPayload builds the payload of the "crescentPools" endpoint of the "sdk-utilities" service from the gRPC request type.

func NewDelegatorRewardsHandler

func NewDelegatorRewardsHandler(endpoint goa.Endpoint, h goagrpc.UnaryHandler) goagrpc.UnaryHandler

NewDelegatorRewardsHandler creates a gRPC handler which serves the "sdk-utilities" service "delegatorRewards" endpoint.

func NewDelegatorRewardsPayload

NewDelegatorRewardsPayload builds the payload of the "delegatorRewards" endpoint of the "sdk-utilities" service from the gRPC request type.

func NewDistributionParamsHandler

func NewDistributionParamsHandler(endpoint goa.Endpoint, h goagrpc.UnaryHandler) goagrpc.UnaryHandler

NewDistributionParamsHandler creates a gRPC handler which serves the "sdk-utilities" service "distributionParams" endpoint.

func NewDistributionParamsPayload

NewDistributionParamsPayload builds the payload of the "distributionParams" endpoint of the "sdk-utilities" service from the gRPC request type.

func NewEmoneyInflationHandler

func NewEmoneyInflationHandler(endpoint goa.Endpoint, h goagrpc.UnaryHandler) goagrpc.UnaryHandler

NewEmoneyInflationHandler creates a gRPC handler which serves the "sdk-utilities" service "emoneyInflation" endpoint.

func NewEmoneyInflationPayload

NewEmoneyInflationPayload builds the payload of the "emoneyInflation" endpoint of the "sdk-utilities" service from the gRPC request type.

func NewEstimateFeesHandler

func NewEstimateFeesHandler(endpoint goa.Endpoint, h goagrpc.UnaryHandler) goagrpc.UnaryHandler

NewEstimateFeesHandler creates a gRPC handler which serves the "sdk-utilities" service "estimateFees" endpoint.

func NewEstimateFeesPayload

func NewEstimateFeesPayload(message *sdk_utilitiespb.EstimateFeesRequest) *sdkutilities.EstimateFeesPayload

NewEstimateFeesPayload builds the payload of the "estimateFees" endpoint of the "sdk-utilities" service from the gRPC request type.

func NewLiquidityParamsHandler

func NewLiquidityParamsHandler(endpoint goa.Endpoint, h goagrpc.UnaryHandler) goagrpc.UnaryHandler

NewLiquidityParamsHandler creates a gRPC handler which serves the "sdk-utilities" service "liquidityParams" endpoint.

func NewLiquidityParamsPayload

NewLiquidityParamsPayload builds the payload of the "liquidityParams" endpoint of the "sdk-utilities" service from the gRPC request type.

func NewLiquidityPoolsHandler

func NewLiquidityPoolsHandler(endpoint goa.Endpoint, h goagrpc.UnaryHandler) goagrpc.UnaryHandler

NewLiquidityPoolsHandler creates a gRPC handler which serves the "sdk-utilities" service "liquidityPools" endpoint.

func NewLiquidityPoolsPayload

func NewLiquidityPoolsPayload(message *sdk_utilitiespb.LiquidityPoolsRequest) *sdkutilities.LiquidityPoolsPayload

NewLiquidityPoolsPayload builds the payload of the "liquidityPools" endpoint of the "sdk-utilities" service from the gRPC request type.

func NewMintAnnualProvisionHandler

func NewMintAnnualProvisionHandler(endpoint goa.Endpoint, h goagrpc.UnaryHandler) goagrpc.UnaryHandler

NewMintAnnualProvisionHandler creates a gRPC handler which serves the "sdk-utilities" service "mintAnnualProvision" endpoint.

func NewMintAnnualProvisionPayload

NewMintAnnualProvisionPayload builds the payload of the "mintAnnualProvision" endpoint of the "sdk-utilities" service from the gRPC request type.

func NewMintEpochProvisionsHandler

func NewMintEpochProvisionsHandler(endpoint goa.Endpoint, h goagrpc.UnaryHandler) goagrpc.UnaryHandler

NewMintEpochProvisionsHandler creates a gRPC handler which serves the "sdk-utilities" service "mintEpochProvisions" endpoint.

func NewMintEpochProvisionsPayload

NewMintEpochProvisionsPayload builds the payload of the "mintEpochProvisions" endpoint of the "sdk-utilities" service from the gRPC request type.

func NewMintInflationHandler

func NewMintInflationHandler(endpoint goa.Endpoint, h goagrpc.UnaryHandler) goagrpc.UnaryHandler

NewMintInflationHandler creates a gRPC handler which serves the "sdk-utilities" service "mintInflation" endpoint.

func NewMintInflationPayload

func NewMintInflationPayload(message *sdk_utilitiespb.MintInflationRequest) *sdkutilities.MintInflationPayload

NewMintInflationPayload builds the payload of the "mintInflation" endpoint of the "sdk-utilities" service from the gRPC request type.

func NewMintParamsHandler

func NewMintParamsHandler(endpoint goa.Endpoint, h goagrpc.UnaryHandler) goagrpc.UnaryHandler

NewMintParamsHandler creates a gRPC handler which serves the "sdk-utilities" service "mintParams" endpoint.

func NewMintParamsPayload

func NewMintParamsPayload(message *sdk_utilitiespb.MintParamsRequest) *sdkutilities.MintParamsPayload

NewMintParamsPayload builds the payload of the "mintParams" endpoint of the "sdk-utilities" service from the gRPC request type.

func NewOsmoPoolsHandler

func NewOsmoPoolsHandler(endpoint goa.Endpoint, h goagrpc.UnaryHandler) goagrpc.UnaryHandler

NewOsmoPoolsHandler creates a gRPC handler which serves the "sdk-utilities" service "osmoPools" endpoint.

func NewOsmoPoolsPayload

func NewOsmoPoolsPayload(message *sdk_utilitiespb.OsmoPoolsRequest) *sdkutilities.OsmoPoolsPayload

NewOsmoPoolsPayload builds the payload of the "osmoPools" endpoint of the "sdk-utilities" service from the gRPC request type.

func NewProtoAccountNumbersResponse

func NewProtoAccountNumbersResponse(result *sdkutilities.AccountNumbers2) *sdk_utilitiespb.AccountNumbersResponse

NewProtoAccountNumbersResponse builds the gRPC response type from the result of the "accountNumbers" endpoint of the "sdk-utilities" service.

func NewProtoBlockResponse

func NewProtoBlockResponse(result *sdkutilities.BlockData) *sdk_utilitiespb.BlockResponse

NewProtoBlockResponse builds the gRPC response type from the result of the "block" endpoint of the "sdk-utilities" service.

func NewProtoBroadcastTxResponse

func NewProtoBroadcastTxResponse(result *sdkutilities.TransactionResult) *sdk_utilitiespb.BroadcastTxResponse

NewProtoBroadcastTxResponse builds the gRPC response type from the result of the "broadcastTx" endpoint of the "sdk-utilities" service.

func NewProtoBudgetParamsResponse

func NewProtoBudgetParamsResponse(result *sdkutilities.BudgetParams2) *sdk_utilitiespb.BudgetParamsResponse

NewProtoBudgetParamsResponse builds the gRPC response type from the result of the "budgetParams" endpoint of the "sdk-utilities" service.

func NewProtoCrescentPoolsResponse

func NewProtoCrescentPoolsResponse(result *sdkutilities.CrescentPools2) *sdk_utilitiespb.CrescentPoolsResponse

NewProtoCrescentPoolsResponse builds the gRPC response type from the result of the "crescentPools" endpoint of the "sdk-utilities" service.

func NewProtoDelegatorRewardsResponse

func NewProtoDelegatorRewardsResponse(result *sdkutilities.DelegatorRewards2) *sdk_utilitiespb.DelegatorRewardsResponse

NewProtoDelegatorRewardsResponse builds the gRPC response type from the result of the "delegatorRewards" endpoint of the "sdk-utilities" service.

func NewProtoDistributionParamsResponse

func NewProtoDistributionParamsResponse(result *sdkutilities.DistributionParams2) *sdk_utilitiespb.DistributionParamsResponse

NewProtoDistributionParamsResponse builds the gRPC response type from the result of the "distributionParams" endpoint of the "sdk-utilities" service.

func NewProtoEmoneyInflationResponse

func NewProtoEmoneyInflationResponse(result *sdkutilities.EmoneyInflation2) *sdk_utilitiespb.EmoneyInflationResponse

NewProtoEmoneyInflationResponse builds the gRPC response type from the result of the "emoneyInflation" endpoint of the "sdk-utilities" service.

func NewProtoEstimateFeesResponse

func NewProtoEstimateFeesResponse(result *sdkutilities.Simulation) *sdk_utilitiespb.EstimateFeesResponse

NewProtoEstimateFeesResponse builds the gRPC response type from the result of the "estimateFees" endpoint of the "sdk-utilities" service.

func NewProtoLiquidityParamsResponse

func NewProtoLiquidityParamsResponse(result *sdkutilities.LiquidityParams2) *sdk_utilitiespb.LiquidityParamsResponse

NewProtoLiquidityParamsResponse builds the gRPC response type from the result of the "liquidityParams" endpoint of the "sdk-utilities" service.

func NewProtoLiquidityPoolsResponse

func NewProtoLiquidityPoolsResponse(result *sdkutilities.LiquidityPools2) *sdk_utilitiespb.LiquidityPoolsResponse

NewProtoLiquidityPoolsResponse builds the gRPC response type from the result of the "liquidityPools" endpoint of the "sdk-utilities" service.

func NewProtoMintAnnualProvisionResponse

func NewProtoMintAnnualProvisionResponse(result *sdkutilities.MintAnnualProvision2) *sdk_utilitiespb.MintAnnualProvisionResponse

NewProtoMintAnnualProvisionResponse builds the gRPC response type from the result of the "mintAnnualProvision" endpoint of the "sdk-utilities" service.

func NewProtoMintEpochProvisionsResponse

func NewProtoMintEpochProvisionsResponse(result *sdkutilities.MintEpochProvisions2) *sdk_utilitiespb.MintEpochProvisionsResponse

NewProtoMintEpochProvisionsResponse builds the gRPC response type from the result of the "mintEpochProvisions" endpoint of the "sdk-utilities" service.

func NewProtoMintInflationResponse

func NewProtoMintInflationResponse(result *sdkutilities.MintInflation2) *sdk_utilitiespb.MintInflationResponse

NewProtoMintInflationResponse builds the gRPC response type from the result of the "mintInflation" endpoint of the "sdk-utilities" service.

func NewProtoMintParamsResponse

func NewProtoMintParamsResponse(result *sdkutilities.MintParams2) *sdk_utilitiespb.MintParamsResponse

NewProtoMintParamsResponse builds the gRPC response type from the result of the "mintParams" endpoint of the "sdk-utilities" service.

func NewProtoOsmoPoolsResponse

func NewProtoOsmoPoolsResponse(result *sdkutilities.OsmoPools2) *sdk_utilitiespb.OsmoPoolsResponse

NewProtoOsmoPoolsResponse builds the gRPC response type from the result of the "osmoPools" endpoint of the "sdk-utilities" service.

func NewProtoQueryTxResponse

func NewProtoQueryTxResponse(result []byte) *sdk_utilitiespb.QueryTxResponse

NewProtoQueryTxResponse builds the gRPC response type from the result of the "queryTx" endpoint of the "sdk-utilities" service.

func NewProtoStakingParamsResponse

func NewProtoStakingParamsResponse(result *sdkutilities.StakingParams2) *sdk_utilitiespb.StakingParamsResponse

NewProtoStakingParamsResponse builds the gRPC response type from the result of the "stakingParams" endpoint of the "sdk-utilities" service.

func NewProtoStakingPoolResponse

func NewProtoStakingPoolResponse(result *sdkutilities.StakingPool2) *sdk_utilitiespb.StakingPoolResponse

NewProtoStakingPoolResponse builds the gRPC response type from the result of the "stakingPool" endpoint of the "sdk-utilities" service.

func NewProtoSupplyDenomResponse

func NewProtoSupplyDenomResponse(result *sdkutilities.Supply2) *sdk_utilitiespb.SupplyDenomResponse

NewProtoSupplyDenomResponse builds the gRPC response type from the result of the "supplyDenom" endpoint of the "sdk-utilities" service.

func NewProtoSupplyResponse

func NewProtoSupplyResponse(result *sdkutilities.Supply2) *sdk_utilitiespb.SupplyResponse

NewProtoSupplyResponse builds the gRPC response type from the result of the "supply" endpoint of the "sdk-utilities" service.

func NewProtoTxMetadataResponse

func NewProtoTxMetadataResponse(result *sdkutilities.TxMessagesMetadata) *sdk_utilitiespb.TxMetadataResponse

NewProtoTxMetadataResponse builds the gRPC response type from the result of the "txMetadata" endpoint of the "sdk-utilities" service.

func NewQueryTxHandler

func NewQueryTxHandler(endpoint goa.Endpoint, h goagrpc.UnaryHandler) goagrpc.UnaryHandler

NewQueryTxHandler creates a gRPC handler which serves the "sdk-utilities" service "queryTx" endpoint.

func NewQueryTxPayload

func NewQueryTxPayload(message *sdk_utilitiespb.QueryTxRequest) *sdkutilities.QueryTxPayload

NewQueryTxPayload builds the payload of the "queryTx" endpoint of the "sdk-utilities" service from the gRPC request type.

func NewStakingParamsHandler

func NewStakingParamsHandler(endpoint goa.Endpoint, h goagrpc.UnaryHandler) goagrpc.UnaryHandler

NewStakingParamsHandler creates a gRPC handler which serves the "sdk-utilities" service "stakingParams" endpoint.

func NewStakingParamsPayload

func NewStakingParamsPayload(message *sdk_utilitiespb.StakingParamsRequest) *sdkutilities.StakingParamsPayload

NewStakingParamsPayload builds the payload of the "stakingParams" endpoint of the "sdk-utilities" service from the gRPC request type.

func NewStakingPoolHandler

func NewStakingPoolHandler(endpoint goa.Endpoint, h goagrpc.UnaryHandler) goagrpc.UnaryHandler

NewStakingPoolHandler creates a gRPC handler which serves the "sdk-utilities" service "stakingPool" endpoint.

func NewStakingPoolPayload

func NewStakingPoolPayload(message *sdk_utilitiespb.StakingPoolRequest) *sdkutilities.StakingPoolPayload

NewStakingPoolPayload builds the payload of the "stakingPool" endpoint of the "sdk-utilities" service from the gRPC request type.

func NewSupplyDenomHandler

func NewSupplyDenomHandler(endpoint goa.Endpoint, h goagrpc.UnaryHandler) goagrpc.UnaryHandler

NewSupplyDenomHandler creates a gRPC handler which serves the "sdk-utilities" service "supplyDenom" endpoint.

func NewSupplyDenomPayload

func NewSupplyDenomPayload(message *sdk_utilitiespb.SupplyDenomRequest) *sdkutilities.SupplyDenomPayload

NewSupplyDenomPayload builds the payload of the "supplyDenom" endpoint of the "sdk-utilities" service from the gRPC request type.

func NewSupplyHandler

func NewSupplyHandler(endpoint goa.Endpoint, h goagrpc.UnaryHandler) goagrpc.UnaryHandler

NewSupplyHandler creates a gRPC handler which serves the "sdk-utilities" service "supply" endpoint.

func NewSupplyPayload

func NewSupplyPayload(message *sdk_utilitiespb.SupplyRequest) *sdkutilities.SupplyPayload

NewSupplyPayload builds the payload of the "supply" endpoint of the "sdk-utilities" service from the gRPC request type.

func NewTxMetadataHandler

func NewTxMetadataHandler(endpoint goa.Endpoint, h goagrpc.UnaryHandler) goagrpc.UnaryHandler

NewTxMetadataHandler creates a gRPC handler which serves the "sdk-utilities" service "txMetadata" endpoint.

func NewTxMetadataPayload

func NewTxMetadataPayload(message *sdk_utilitiespb.TxMetadataRequest) *sdkutilities.TxMetadataPayload

NewTxMetadataPayload builds the payload of the "txMetadata" endpoint of the "sdk-utilities" service from the gRPC request type.

func ValidateBroadcastTxRequest

func ValidateBroadcastTxRequest(message *sdk_utilitiespb.BroadcastTxRequest) (err error)

ValidateBroadcastTxRequest runs the validations defined on BroadcastTxRequest.

func ValidateEstimateFeesRequest

func ValidateEstimateFeesRequest(message *sdk_utilitiespb.EstimateFeesRequest) (err error)

ValidateEstimateFeesRequest runs the validations defined on EstimateFeesRequest.

func ValidateTxMetadataRequest

func ValidateTxMetadataRequest(message *sdk_utilitiespb.TxMetadataRequest) (err error)

ValidateTxMetadataRequest runs the validations defined on TxMetadataRequest.

Types

type ErrorNamer

type ErrorNamer interface {
	ErrorName() string
}

ErrorNamer is an interface implemented by generated error structs that exposes the name of the error as defined in the expr.

type Server

type Server struct {
	AccountNumbersH      goagrpc.UnaryHandler
	SupplyH              goagrpc.UnaryHandler
	SupplyDenomH         goagrpc.UnaryHandler
	QueryTxH             goagrpc.UnaryHandler
	BroadcastTxH         goagrpc.UnaryHandler
	TxMetadataH          goagrpc.UnaryHandler
	BlockH               goagrpc.UnaryHandler
	LiquidityParamsH     goagrpc.UnaryHandler
	LiquidityPoolsH      goagrpc.UnaryHandler
	MintInflationH       goagrpc.UnaryHandler
	MintParamsH          goagrpc.UnaryHandler
	MintAnnualProvisionH goagrpc.UnaryHandler
	MintEpochProvisionsH goagrpc.UnaryHandler
	DelegatorRewardsH    goagrpc.UnaryHandler
	EstimateFeesH        goagrpc.UnaryHandler
	StakingParamsH       goagrpc.UnaryHandler
	StakingPoolH         goagrpc.UnaryHandler
	EmoneyInflationH     goagrpc.UnaryHandler
	BudgetParamsH        goagrpc.UnaryHandler
	DistributionParamsH  goagrpc.UnaryHandler
	OsmoPoolsH           goagrpc.UnaryHandler
	CrescentPoolsH       goagrpc.UnaryHandler
	sdk_utilitiespb.UnimplementedSdkUtilitiesServer
}

Server implements the sdk_utilitiespb.SdkUtilitiesServer interface.

func New

New instantiates the server struct with the sdk-utilities service endpoints.

func (*Server) AccountNumbers

AccountNumbers implements the "AccountNumbers" method in sdk_utilitiespb.SdkUtilitiesServer interface.

func (*Server) Block

Block implements the "Block" method in sdk_utilitiespb.SdkUtilitiesServer interface.

func (*Server) BroadcastTx

BroadcastTx implements the "BroadcastTx" method in sdk_utilitiespb.SdkUtilitiesServer interface.

func (*Server) BudgetParams

BudgetParams implements the "BudgetParams" method in sdk_utilitiespb.SdkUtilitiesServer interface.

func (*Server) CrescentPools

CrescentPools implements the "CrescentPools" method in sdk_utilitiespb.SdkUtilitiesServer interface.

func (*Server) DelegatorRewards

DelegatorRewards implements the "DelegatorRewards" method in sdk_utilitiespb.SdkUtilitiesServer interface.

func (*Server) DistributionParams

DistributionParams implements the "DistributionParams" method in sdk_utilitiespb.SdkUtilitiesServer interface.

func (*Server) EmoneyInflation

EmoneyInflation implements the "EmoneyInflation" method in sdk_utilitiespb.SdkUtilitiesServer interface.

func (*Server) EstimateFees

EstimateFees implements the "EstimateFees" method in sdk_utilitiespb.SdkUtilitiesServer interface.

func (*Server) LiquidityParams

LiquidityParams implements the "LiquidityParams" method in sdk_utilitiespb.SdkUtilitiesServer interface.

func (*Server) LiquidityPools

LiquidityPools implements the "LiquidityPools" method in sdk_utilitiespb.SdkUtilitiesServer interface.

func (*Server) MintAnnualProvision

MintAnnualProvision implements the "MintAnnualProvision" method in sdk_utilitiespb.SdkUtilitiesServer interface.

func (*Server) MintEpochProvisions

MintEpochProvisions implements the "MintEpochProvisions" method in sdk_utilitiespb.SdkUtilitiesServer interface.

func (*Server) MintInflation

MintInflation implements the "MintInflation" method in sdk_utilitiespb.SdkUtilitiesServer interface.

func (*Server) MintParams

MintParams implements the "MintParams" method in sdk_utilitiespb.SdkUtilitiesServer interface.

func (*Server) OsmoPools

OsmoPools implements the "OsmoPools" method in sdk_utilitiespb.SdkUtilitiesServer interface.

func (*Server) QueryTx

QueryTx implements the "QueryTx" method in sdk_utilitiespb.SdkUtilitiesServer interface.

func (*Server) StakingParams

StakingParams implements the "StakingParams" method in sdk_utilitiespb.SdkUtilitiesServer interface.

func (*Server) StakingPool

StakingPool implements the "StakingPool" method in sdk_utilitiespb.SdkUtilitiesServer interface.

func (*Server) Supply

Supply implements the "Supply" method in sdk_utilitiespb.SdkUtilitiesServer interface.

func (*Server) SupplyDenom

SupplyDenom implements the "SupplyDenom" method in sdk_utilitiespb.SdkUtilitiesServer interface.

func (*Server) TxMetadata

TxMetadata implements the "TxMetadata" method in sdk_utilitiespb.SdkUtilitiesServer interface.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL