Documentation ¶
Index ¶
- Constants
- Variables
- func NewAccountNumbersEndpoint(s Service) goa.Endpoint
- func NewBlockEndpoint(s Service) goa.Endpoint
- func NewBroadcastTxEndpoint(s Service) goa.Endpoint
- func NewBudgetParamsEndpoint(s Service) goa.Endpoint
- func NewCrescentPoolsEndpoint(s Service) goa.Endpoint
- func NewDelegatorRewardsEndpoint(s Service) goa.Endpoint
- func NewDistributionParamsEndpoint(s Service) goa.Endpoint
- func NewEmoneyInflationEndpoint(s Service) goa.Endpoint
- func NewEstimateFeesEndpoint(s Service) goa.Endpoint
- func NewLiquidityParamsEndpoint(s Service) goa.Endpoint
- func NewLiquidityPoolsEndpoint(s Service) goa.Endpoint
- func NewMintAnnualProvisionEndpoint(s Service) goa.Endpoint
- func NewMintEpochProvisionsEndpoint(s Service) goa.Endpoint
- func NewMintInflationEndpoint(s Service) goa.Endpoint
- func NewMintParamsEndpoint(s Service) goa.Endpoint
- func NewOsmoPoolsEndpoint(s Service) goa.Endpoint
- func NewQueryTxEndpoint(s Service) goa.Endpoint
- func NewStakingParamsEndpoint(s Service) goa.Endpoint
- func NewStakingPoolEndpoint(s Service) goa.Endpoint
- func NewSupplyDenomEndpoint(s Service) goa.Endpoint
- func NewSupplyEndpoint(s Service) goa.Endpoint
- func NewTxMetadataEndpoint(s Service) goa.Endpoint
- type AccountNumbers2
- type AccountNumbersPayload
- type BlockData
- type BlockPayload
- type BroadcastTxPayload
- type BudgetParams2
- type BudgetParamsPayload
- type Client
- func (c *Client) AccountNumbers(ctx context.Context, p *AccountNumbersPayload) (res *AccountNumbers2, err error)
- func (c *Client) Block(ctx context.Context, p *BlockPayload) (res *BlockData, err error)
- func (c *Client) BroadcastTx(ctx context.Context, p *BroadcastTxPayload) (res *TransactionResult, err error)
- func (c *Client) BudgetParams(ctx context.Context, p *BudgetParamsPayload) (res *BudgetParams2, err error)
- func (c *Client) CrescentPools(ctx context.Context, p *CrescentPoolsPayload) (res *CrescentPools2, err error)
- func (c *Client) DelegatorRewards(ctx context.Context, p *DelegatorRewardsPayload) (res *DelegatorRewards2, err error)
- func (c *Client) DistributionParams(ctx context.Context, p *DistributionParamsPayload) (res *DistributionParams2, err error)
- func (c *Client) EmoneyInflation(ctx context.Context, p *EmoneyInflationPayload) (res *EmoneyInflation2, err error)
- func (c *Client) EstimateFees(ctx context.Context, p *EstimateFeesPayload) (res *Simulation, err error)
- func (c *Client) LiquidityParams(ctx context.Context, p *LiquidityParamsPayload) (res *LiquidityParams2, err error)
- func (c *Client) LiquidityPools(ctx context.Context, p *LiquidityPoolsPayload) (res *LiquidityPools2, err error)
- func (c *Client) MintAnnualProvision(ctx context.Context, p *MintAnnualProvisionPayload) (res *MintAnnualProvision2, err error)
- func (c *Client) MintEpochProvisions(ctx context.Context, p *MintEpochProvisionsPayload) (res *MintEpochProvisions2, err error)
- func (c *Client) MintInflation(ctx context.Context, p *MintInflationPayload) (res *MintInflation2, err error)
- func (c *Client) MintParams(ctx context.Context, p *MintParamsPayload) (res *MintParams2, err error)
- func (c *Client) OsmoPools(ctx context.Context, p *OsmoPoolsPayload) (res *OsmoPools2, err error)
- func (c *Client) QueryTx(ctx context.Context, p *QueryTxPayload) (res []byte, err error)
- func (c *Client) StakingParams(ctx context.Context, p *StakingParamsPayload) (res *StakingParams2, err error)
- func (c *Client) StakingPool(ctx context.Context, p *StakingPoolPayload) (res *StakingPool2, err error)
- func (c *Client) Supply(ctx context.Context, p *SupplyPayload) (res *Supply2, err error)
- func (c *Client) SupplyDenom(ctx context.Context, p *SupplyDenomPayload) (res *Supply2, err error)
- func (c *Client) TxMetadata(ctx context.Context, p *TxMetadataPayload) (res *TxMessagesMetadata, err error)
- type Coin
- type CrescentPools2
- type CrescentPoolsPayload
- type DelegationDelegatorReward
- type DelegatorRewards2
- type DelegatorRewardsPayload
- type DistributionParams2
- type DistributionParamsPayload
- type EmoneyAsset
- type EmoneyInflation2
- type EmoneyInflationPayload
- type EmoneyState
- type Endpoints
- type EstimateFeesPayload
- type IBCHeight
- type IBCTransferMetadata
- type LiquidityParams2
- type LiquidityParamsPayload
- type LiquidityPools2
- type LiquidityPoolsPayload
- type MintAnnualProvision2
- type MintAnnualProvisionPayload
- type MintEpochProvisions2
- type MintEpochProvisionsPayload
- type MintInflation2
- type MintInflationPayload
- type MintParams2
- type MintParamsPayload
- type MsgMetadata
- type OsmoPools2
- type OsmoPoolsPayload
- type Pagination
- type QueryTxPayload
- type Service
- type Simulation
- type StakingParams2
- type StakingParamsPayload
- type StakingPool2
- type StakingPoolPayload
- type Supply2
- type SupplyDenomPayload
- type SupplyPayload
- type TransactionResult
- type TxMessagesMetadata
- type TxMetadataPayload
Constants ¶
const ServiceName = "sdk-utilities"
ServiceName is the name of the service as defined in the design. This is the same value that is set in the endpoint request contexts under the ServiceKey key.
Variables ¶
var MethodNames = [22]string{"accountNumbers", "supply", "supplyDenom", "queryTx", "broadcastTx", "txMetadata", "block", "liquidityParams", "liquidityPools", "mintInflation", "mintParams", "mintAnnualProvision", "mintEpochProvisions", "delegatorRewards", "estimateFees", "stakingParams", "stakingPool", "emoneyInflation", "budgetParams", "distributionParams", "osmoPools", "crescentPools"}
MethodNames lists the service method names as defined in the design. These are the same values that are set in the endpoint request contexts under the MethodKey key.
Functions ¶
func NewAccountNumbersEndpoint ¶
NewAccountNumbersEndpoint returns an endpoint function that calls the method "accountNumbers" of service "sdk-utilities".
func NewBlockEndpoint ¶
NewBlockEndpoint returns an endpoint function that calls the method "block" of service "sdk-utilities".
func NewBroadcastTxEndpoint ¶
NewBroadcastTxEndpoint returns an endpoint function that calls the method "broadcastTx" of service "sdk-utilities".
func NewBudgetParamsEndpoint ¶
NewBudgetParamsEndpoint returns an endpoint function that calls the method "budgetParams" of service "sdk-utilities".
func NewCrescentPoolsEndpoint ¶
NewCrescentPoolsEndpoint returns an endpoint function that calls the method "crescentPools" of service "sdk-utilities".
func NewDelegatorRewardsEndpoint ¶
NewDelegatorRewardsEndpoint returns an endpoint function that calls the method "delegatorRewards" of service "sdk-utilities".
func NewDistributionParamsEndpoint ¶
NewDistributionParamsEndpoint returns an endpoint function that calls the method "distributionParams" of service "sdk-utilities".
func NewEmoneyInflationEndpoint ¶
NewEmoneyInflationEndpoint returns an endpoint function that calls the method "emoneyInflation" of service "sdk-utilities".
func NewEstimateFeesEndpoint ¶
NewEstimateFeesEndpoint returns an endpoint function that calls the method "estimateFees" of service "sdk-utilities".
func NewLiquidityParamsEndpoint ¶
NewLiquidityParamsEndpoint returns an endpoint function that calls the method "liquidityParams" of service "sdk-utilities".
func NewLiquidityPoolsEndpoint ¶
NewLiquidityPoolsEndpoint returns an endpoint function that calls the method "liquidityPools" of service "sdk-utilities".
func NewMintAnnualProvisionEndpoint ¶
NewMintAnnualProvisionEndpoint returns an endpoint function that calls the method "mintAnnualProvision" of service "sdk-utilities".
func NewMintEpochProvisionsEndpoint ¶
NewMintEpochProvisionsEndpoint returns an endpoint function that calls the method "mintEpochProvisions" of service "sdk-utilities".
func NewMintInflationEndpoint ¶
NewMintInflationEndpoint returns an endpoint function that calls the method "mintInflation" of service "sdk-utilities".
func NewMintParamsEndpoint ¶
NewMintParamsEndpoint returns an endpoint function that calls the method "mintParams" of service "sdk-utilities".
func NewOsmoPoolsEndpoint ¶
NewOsmoPoolsEndpoint returns an endpoint function that calls the method "osmoPools" of service "sdk-utilities".
func NewQueryTxEndpoint ¶
NewQueryTxEndpoint returns an endpoint function that calls the method "queryTx" of service "sdk-utilities".
func NewStakingParamsEndpoint ¶
NewStakingParamsEndpoint returns an endpoint function that calls the method "stakingParams" of service "sdk-utilities".
func NewStakingPoolEndpoint ¶
NewStakingPoolEndpoint returns an endpoint function that calls the method "stakingPool" of service "sdk-utilities".
func NewSupplyDenomEndpoint ¶
NewSupplyDenomEndpoint returns an endpoint function that calls the method "supplyDenom" of service "sdk-utilities".
func NewSupplyEndpoint ¶
NewSupplyEndpoint returns an endpoint function that calls the method "supply" of service "sdk-utilities".
func NewTxMetadataEndpoint ¶
NewTxMetadataEndpoint returns an endpoint function that calls the method "txMetadata" of service "sdk-utilities".
Types ¶
type AccountNumbers2 ¶
AccountNumbers2 is the result type of the sdk-utilities service accountNumbers method.
type AccountNumbersPayload ¶
type AccountNumbersPayload struct { // Chain to get data from ChainName string // gRPC port for selected chain, defaults to 9090 Port *int // bech32-encoded prefix of the account Bech32Prefix *string // Hex-encoded address, without bech32 hrp AddresHex *string }
AccountNumbersPayload is the payload type of the sdk-utilities service accountNumbers method.
type BlockPayload ¶
type BlockPayload struct { // Chain to get data from ChainName string // gRPC port for selected chain, defaults to 9090 Port *int // Height of the block to query Height int64 }
BlockPayload is the payload type of the sdk-utilities service block method.
type BroadcastTxPayload ¶
type BroadcastTxPayload struct { // Chain to get data from ChainName string // gRPC port for selected chain, defaults to 9090 Port *int // Transaction bytes TxBytes []byte }
BroadcastTxPayload is the payload type of the sdk-utilities service broadcastTx method.
type BudgetParams2 ¶
type BudgetParams2 struct {
BudgetParams []byte
}
BudgetParams2 is the result type of the sdk-utilities service budgetParams method.
type BudgetParamsPayload ¶
type BudgetParamsPayload struct { // Chain to get data from ChainName string // gRPC port for selected chain, defaults to 9090 Port *int }
BudgetParamsPayload is the payload type of the sdk-utilities service budgetParams method.
type Client ¶
type Client struct { AccountNumbersEndpoint goa.Endpoint SupplyEndpoint goa.Endpoint SupplyDenomEndpoint goa.Endpoint QueryTxEndpoint goa.Endpoint BroadcastTxEndpoint goa.Endpoint TxMetadataEndpoint goa.Endpoint BlockEndpoint goa.Endpoint LiquidityParamsEndpoint goa.Endpoint LiquidityPoolsEndpoint goa.Endpoint MintInflationEndpoint goa.Endpoint MintParamsEndpoint goa.Endpoint MintAnnualProvisionEndpoint goa.Endpoint MintEpochProvisionsEndpoint goa.Endpoint DelegatorRewardsEndpoint goa.Endpoint EstimateFeesEndpoint goa.Endpoint StakingParamsEndpoint goa.Endpoint StakingPoolEndpoint goa.Endpoint EmoneyInflationEndpoint goa.Endpoint BudgetParamsEndpoint goa.Endpoint DistributionParamsEndpoint goa.Endpoint OsmoPoolsEndpoint goa.Endpoint CrescentPoolsEndpoint goa.Endpoint }
Client is the "sdk-utilities" service client.
func NewClient ¶
func NewClient(accountNumbers, supply, supplyDenom, queryTx, broadcastTx, txMetadata, block, liquidityParams, liquidityPools, mintInflation, mintParams, mintAnnualProvision, mintEpochProvisions, delegatorRewards, estimateFees, stakingParams, stakingPool, emoneyInflation, budgetParams, distributionParams, osmoPools, crescentPools goa.Endpoint) *Client
NewClient initializes a "sdk-utilities" service client given the endpoints.
func (*Client) AccountNumbers ¶
func (c *Client) AccountNumbers(ctx context.Context, p *AccountNumbersPayload) (res *AccountNumbers2, err error)
AccountNumbers calls the "accountNumbers" endpoint of the "sdk-utilities" service.
func (*Client) BroadcastTx ¶
func (c *Client) BroadcastTx(ctx context.Context, p *BroadcastTxPayload) (res *TransactionResult, err error)
BroadcastTx calls the "broadcastTx" endpoint of the "sdk-utilities" service.
func (*Client) BudgetParams ¶
func (c *Client) BudgetParams(ctx context.Context, p *BudgetParamsPayload) (res *BudgetParams2, err error)
BudgetParams calls the "budgetParams" endpoint of the "sdk-utilities" service.
func (*Client) CrescentPools ¶
func (c *Client) CrescentPools(ctx context.Context, p *CrescentPoolsPayload) (res *CrescentPools2, err error)
CrescentPools calls the "crescentPools" endpoint of the "sdk-utilities" service.
func (*Client) DelegatorRewards ¶
func (c *Client) DelegatorRewards(ctx context.Context, p *DelegatorRewardsPayload) (res *DelegatorRewards2, err error)
DelegatorRewards calls the "delegatorRewards" endpoint of the "sdk-utilities" service.
func (*Client) DistributionParams ¶
func (c *Client) DistributionParams(ctx context.Context, p *DistributionParamsPayload) (res *DistributionParams2, err error)
DistributionParams calls the "distributionParams" endpoint of the "sdk-utilities" service.
func (*Client) EmoneyInflation ¶
func (c *Client) EmoneyInflation(ctx context.Context, p *EmoneyInflationPayload) (res *EmoneyInflation2, err error)
EmoneyInflation calls the "emoneyInflation" endpoint of the "sdk-utilities" service.
func (*Client) EstimateFees ¶
func (c *Client) EstimateFees(ctx context.Context, p *EstimateFeesPayload) (res *Simulation, err error)
EstimateFees calls the "estimateFees" endpoint of the "sdk-utilities" service.
func (*Client) LiquidityParams ¶
func (c *Client) LiquidityParams(ctx context.Context, p *LiquidityParamsPayload) (res *LiquidityParams2, err error)
LiquidityParams calls the "liquidityParams" endpoint of the "sdk-utilities" service.
func (*Client) LiquidityPools ¶
func (c *Client) LiquidityPools(ctx context.Context, p *LiquidityPoolsPayload) (res *LiquidityPools2, err error)
LiquidityPools calls the "liquidityPools" endpoint of the "sdk-utilities" service.
func (*Client) MintAnnualProvision ¶
func (c *Client) MintAnnualProvision(ctx context.Context, p *MintAnnualProvisionPayload) (res *MintAnnualProvision2, err error)
MintAnnualProvision calls the "mintAnnualProvision" endpoint of the "sdk-utilities" service.
func (*Client) MintEpochProvisions ¶
func (c *Client) MintEpochProvisions(ctx context.Context, p *MintEpochProvisionsPayload) (res *MintEpochProvisions2, err error)
MintEpochProvisions calls the "mintEpochProvisions" endpoint of the "sdk-utilities" service.
func (*Client) MintInflation ¶
func (c *Client) MintInflation(ctx context.Context, p *MintInflationPayload) (res *MintInflation2, err error)
MintInflation calls the "mintInflation" endpoint of the "sdk-utilities" service.
func (*Client) MintParams ¶
func (c *Client) MintParams(ctx context.Context, p *MintParamsPayload) (res *MintParams2, err error)
MintParams calls the "mintParams" endpoint of the "sdk-utilities" service.
func (*Client) OsmoPools ¶
func (c *Client) OsmoPools(ctx context.Context, p *OsmoPoolsPayload) (res *OsmoPools2, err error)
OsmoPools calls the "osmoPools" endpoint of the "sdk-utilities" service.
func (*Client) StakingParams ¶
func (c *Client) StakingParams(ctx context.Context, p *StakingParamsPayload) (res *StakingParams2, err error)
StakingParams calls the "stakingParams" endpoint of the "sdk-utilities" service.
func (*Client) StakingPool ¶
func (c *Client) StakingPool(ctx context.Context, p *StakingPoolPayload) (res *StakingPool2, err error)
StakingPool calls the "stakingPool" endpoint of the "sdk-utilities" service.
func (*Client) SupplyDenom ¶
SupplyDenom calls the "supplyDenom" endpoint of the "sdk-utilities" service.
func (*Client) TxMetadata ¶
func (c *Client) TxMetadata(ctx context.Context, p *TxMetadataPayload) (res *TxMessagesMetadata, err error)
TxMetadata calls the "txMetadata" endpoint of the "sdk-utilities" service.
type CrescentPools2 ¶
type CrescentPools2 struct {
CrescentPools []byte
}
CrescentPools2 is the result type of the sdk-utilities service crescentPools method.
type CrescentPoolsPayload ¶
type CrescentPoolsPayload struct { // Chain to get data from ChainName string // gRPC port for selected chain, defaults to 9090 Port *int }
CrescentPoolsPayload is the payload type of the sdk-utilities service crescentPools method.
type DelegationDelegatorReward ¶
Delegation reward as defined in the Cosmos SDK
type DelegatorRewards2 ¶
type DelegatorRewards2 struct { Rewards []*DelegationDelegatorReward Total []*Coin }
DelegatorRewards2 is the result type of the sdk-utilities service delegatorRewards method.
type DelegatorRewardsPayload ¶
type DelegatorRewardsPayload struct { // Chain to get data from ChainName string // gRPC port for selected chain, defaults to 9090 Port *int // bech32-encoded prefix of the account Bech32Prefix *string // Hex-encoded address, without bech32 hrp AddresHex *string }
DelegatorRewardsPayload is the payload type of the sdk-utilities service delegatorRewards method.
type DistributionParams2 ¶
type DistributionParams2 struct {
DistributionParams []byte
}
DistributionParams2 is the result type of the sdk-utilities service distributionParams method.
type DistributionParamsPayload ¶
type DistributionParamsPayload struct { // Chain to get data from ChainName string // gRPC port for selected chain, defaults to 9090 Port *int }
DistributionParamsPayload is the payload type of the sdk-utilities service distributionParams method.
type EmoneyAsset ¶
e-money specific inflation parameters (asset)
type EmoneyInflation2 ¶
type EmoneyInflation2 struct {
State *EmoneyState
}
EmoneyInflation2 is the result type of the sdk-utilities service emoneyInflation method.
type EmoneyInflationPayload ¶
type EmoneyInflationPayload struct { // Chain to get data from ChainName string // gRPC port for selected chain, defaults to 9090 Port *int }
EmoneyInflationPayload is the payload type of the sdk-utilities service emoneyInflation method.
type EmoneyState ¶
type EmoneyState struct { LastApplied string LastAppliedHeight string Assets []*EmoneyAsset }
e-money specific inflation parameters (state)
type Endpoints ¶
type Endpoints struct { AccountNumbers goa.Endpoint Supply goa.Endpoint SupplyDenom goa.Endpoint QueryTx goa.Endpoint BroadcastTx goa.Endpoint TxMetadata goa.Endpoint Block goa.Endpoint LiquidityParams goa.Endpoint LiquidityPools goa.Endpoint MintInflation goa.Endpoint MintParams goa.Endpoint MintAnnualProvision goa.Endpoint MintEpochProvisions goa.Endpoint DelegatorRewards goa.Endpoint EstimateFees goa.Endpoint StakingParams goa.Endpoint StakingPool goa.Endpoint EmoneyInflation goa.Endpoint BudgetParams goa.Endpoint DistributionParams goa.Endpoint OsmoPools goa.Endpoint CrescentPools goa.Endpoint }
Endpoints wraps the "sdk-utilities" service endpoints.
func NewEndpoints ¶
NewEndpoints wraps the methods of the "sdk-utilities" service with endpoints.
type EstimateFeesPayload ¶
type EstimateFeesPayload struct { // Chain to get data from ChainName string // gRPC port for selected chain, defaults to 9090 Port *int // Transaction bytes TxBytes []byte }
EstimateFeesPayload is the payload type of the sdk-utilities service estimateFees method.
type IBCTransferMetadata ¶
type IBCTransferMetadata struct { SourcePort *string SourceChannel *string Token *Coin Sender *string Receiver *string TimeoutHeight *IBCHeight TiemoutTimestamp *uint64 }
Metadata related to an IBC Transfer
type LiquidityParams2 ¶
type LiquidityParams2 struct {
LiquidityParams []byte
}
LiquidityParams2 is the result type of the sdk-utilities service liquidityParams method.
type LiquidityParamsPayload ¶
type LiquidityParamsPayload struct { // Chain to get data from ChainName string // gRPC port for selected chain, defaults to 9090 Port *int }
LiquidityParamsPayload is the payload type of the sdk-utilities service liquidityParams method.
type LiquidityPools2 ¶
type LiquidityPools2 struct {
LiquidityPools []byte
}
LiquidityPools2 is the result type of the sdk-utilities service liquidityPools method.
type LiquidityPoolsPayload ¶
type LiquidityPoolsPayload struct { // Chain to get data from ChainName string // gRPC port for selected chain, defaults to 9090 Port *int }
LiquidityPoolsPayload is the payload type of the sdk-utilities service liquidityPools method.
type MintAnnualProvision2 ¶
type MintAnnualProvision2 struct {
MintAnnualProvision []byte
}
MintAnnualProvision2 is the result type of the sdk-utilities service mintAnnualProvision method.
type MintAnnualProvisionPayload ¶
type MintAnnualProvisionPayload struct { // Chain to get data from ChainName string // gRPC port for selected chain, defaults to 9090 Port *int }
MintAnnualProvisionPayload is the payload type of the sdk-utilities service mintAnnualProvision method.
type MintEpochProvisions2 ¶
type MintEpochProvisions2 struct {
MintEpochProvisions []byte
}
MintEpochProvisions2 is the result type of the sdk-utilities service mintEpochProvisions method.
type MintEpochProvisionsPayload ¶
type MintEpochProvisionsPayload struct { // Chain to get data from ChainName string // gRPC port for selected chain, defaults to 9090 Port *int }
MintEpochProvisionsPayload is the payload type of the sdk-utilities service mintEpochProvisions method.
type MintInflation2 ¶
type MintInflation2 struct {
MintInflation []byte
}
MintInflation2 is the result type of the sdk-utilities service mintInflation method.
type MintInflationPayload ¶
type MintInflationPayload struct { // Chain to get data from ChainName string // gRPC port for selected chain, defaults to 9090 Port *int }
MintInflationPayload is the payload type of the sdk-utilities service mintInflation method.
type MintParams2 ¶
type MintParams2 struct {
MintParams []byte
}
MintParams2 is the result type of the sdk-utilities service mintParams method.
type MintParamsPayload ¶
type MintParamsPayload struct { // Chain to get data from ChainName string // gRPC port for selected chain, defaults to 9090 Port *int }
MintParamsPayload is the payload type of the sdk-utilities service mintParams method.
type MsgMetadata ¶
type MsgMetadata struct { MsgType string IbcTransferMetadata *IBCTransferMetadata }
Metadata related to some message contained in a transaction
type OsmoPools2 ¶
type OsmoPools2 struct {
OsmoPools []byte
}
OsmoPools2 is the result type of the sdk-utilities service osmoPools method.
type OsmoPoolsPayload ¶
type OsmoPoolsPayload struct { // Chain to get data from ChainName string // gRPC port for selected chain, defaults to 9090 Port *int }
OsmoPoolsPayload is the payload type of the sdk-utilities service osmoPools method.
type Pagination ¶
Pagination used in the Cosmos SDK
type QueryTxPayload ¶
type QueryTxPayload struct { // Chain to get data from ChainName string // gRPC port for selected chain, defaults to 9090 Port *int // Transaction hash to query Hash string }
QueryTxPayload is the payload type of the sdk-utilities service queryTx method.
type Service ¶
type Service interface { // AccountNumbers implements accountNumbers. AccountNumbers(context.Context, *AccountNumbersPayload) (res *AccountNumbers2, err error) // Supply implements supply. Supply(context.Context, *SupplyPayload) (res *Supply2, err error) // SupplyDenom implements supplyDenom. SupplyDenom(context.Context, *SupplyDenomPayload) (res *Supply2, err error) // QueryTx implements queryTx. QueryTx(context.Context, *QueryTxPayload) (res []byte, err error) // BroadcastTx implements broadcastTx. BroadcastTx(context.Context, *BroadcastTxPayload) (res *TransactionResult, err error) // TxMetadata implements txMetadata. TxMetadata(context.Context, *TxMetadataPayload) (res *TxMessagesMetadata, err error) // Block implements block. Block(context.Context, *BlockPayload) (res *BlockData, err error) // LiquidityParams implements liquidityParams. LiquidityParams(context.Context, *LiquidityParamsPayload) (res *LiquidityParams2, err error) // LiquidityPools implements liquidityPools. LiquidityPools(context.Context, *LiquidityPoolsPayload) (res *LiquidityPools2, err error) // MintInflation implements mintInflation. MintInflation(context.Context, *MintInflationPayload) (res *MintInflation2, err error) // MintParams implements mintParams. MintParams(context.Context, *MintParamsPayload) (res *MintParams2, err error) // MintAnnualProvision implements mintAnnualProvision. MintAnnualProvision(context.Context, *MintAnnualProvisionPayload) (res *MintAnnualProvision2, err error) // MintEpochProvisions implements mintEpochProvisions. MintEpochProvisions(context.Context, *MintEpochProvisionsPayload) (res *MintEpochProvisions2, err error) // DelegatorRewards implements delegatorRewards. DelegatorRewards(context.Context, *DelegatorRewardsPayload) (res *DelegatorRewards2, err error) // EstimateFees implements estimateFees. EstimateFees(context.Context, *EstimateFeesPayload) (res *Simulation, err error) // StakingParams implements stakingParams. StakingParams(context.Context, *StakingParamsPayload) (res *StakingParams2, err error) // StakingPool implements stakingPool. StakingPool(context.Context, *StakingPoolPayload) (res *StakingPool2, err error) // EmoneyInflation implements emoneyInflation. EmoneyInflation(context.Context, *EmoneyInflationPayload) (res *EmoneyInflation2, err error) // BudgetParams implements budgetParams. BudgetParams(context.Context, *BudgetParamsPayload) (res *BudgetParams2, err error) // DistributionParams implements distributionParams. DistributionParams(context.Context, *DistributionParamsPayload) (res *DistributionParams2, err error) // OsmoPools implements osmoPools. OsmoPools(context.Context, *OsmoPoolsPayload) (res *OsmoPools2, err error) // CrescentPools implements crescentPools. CrescentPools(context.Context, *CrescentPoolsPayload) (res *CrescentPools2, err error) }
sdk-utilities performs Cosmos SDK-related operations
type Simulation ¶
Simulation is the result type of the sdk-utilities service estimateFees method.
type StakingParams2 ¶
type StakingParams2 struct {
StakingParams []byte
}
StakingParams2 is the result type of the sdk-utilities service stakingParams method.
type StakingParamsPayload ¶
type StakingParamsPayload struct { // Chain to get data from ChainName string // gRPC port for selected chain, defaults to 9090 Port *int }
StakingParamsPayload is the payload type of the sdk-utilities service stakingParams method.
type StakingPool2 ¶
type StakingPool2 struct {
StakingPool []byte
}
StakingPool2 is the result type of the sdk-utilities service stakingPool method.
type StakingPoolPayload ¶
type StakingPoolPayload struct { // Chain to get data from ChainName string // gRPC port for selected chain, defaults to 9090 Port *int }
StakingPoolPayload is the payload type of the sdk-utilities service stakingPool method.
type Supply2 ¶
type Supply2 struct { Coins []*Coin Pagination *Pagination }
Supply2 is the result type of the sdk-utilities service supply method.
type SupplyDenomPayload ¶
type SupplyDenomPayload struct { // Chain to get data from ChainName string // gRPC port for selected chain, defaults to 9090 Port *int // Denom name Denom *string }
SupplyDenomPayload is the payload type of the sdk-utilities service supplyDenom method.
type SupplyPayload ¶
type SupplyPayload struct { // Chain to get data from ChainName string // gRPC port for selected chain, defaults to 9090 Port *int // pagination key PaginationKey *string }
SupplyPayload is the payload type of the sdk-utilities service supply method.
type TransactionResult ¶
type TransactionResult struct {
Hash string
}
TransactionResult is the result type of the sdk-utilities service broadcastTx method.
type TxMessagesMetadata ¶
type TxMessagesMetadata struct {
MessagesMetadata []*MsgMetadata
}
TxMessagesMetadata is the result type of the sdk-utilities service txMetadata method.
type TxMetadataPayload ¶
type TxMetadataPayload struct { // Transaction bytes TxBytes []byte }
TxMetadataPayload is the payload type of the sdk-utilities service txMetadata method.