evmos.proto.autogen.py.evmos.inflation.v1
Classes
|
ExponentialCalculation holds factors to calculate exponential inflation on each period. |
|
GenesisState defines the inflation module's genesis state. |
|
InflationDistribution defines the distribution in which inflation is allocated through minting on each epoch (staking, incentives, community). |
|
|
|
|
|
MsgUpdateParams defines a Msg for updating the x/inflation module parameters. |
MsgUpdateParamsResponse defines the response structure for executing a MsgUpdateParams message. |
|
|
Params holds parameters for the inflation module. |
QueryCirculatingSupplyRequest is the request type for the Query/CirculatingSupply RPC method. |
|
QueryCirculatingSupplyResponse is the response type for the Query/CirculatingSupply RPC method. |
|
QueryEpochMintProvisionRequest is the request type for the Query/EpochMintProvision RPC method. |
|
QueryEpochMintProvisionResponse is the response type for the Query/EpochMintProvision RPC method. |
|
QueryInflationRateRequest is the request type for the Query/InflationRate RPC method. |
|
|
QueryInflationRateResponse is the response type for the Query/InflationRate RPC method. |
QueryParamsRequest is the request type for the Query/Params RPC method. |
|
|
QueryParamsResponse is the response type for the Query/Params RPC method. |
QueryPeriodRequest is the request type for the Query/Period RPC method. |
|
|
QueryPeriodResponse is the response type for the Query/Period RPC method. |
QuerySkippedEpochsRequest is the request type for the Query/SkippedEpochs RPC method. |
|
|
QuerySkippedEpochsResponse is the response type for the Query/SkippedEpochs RPC method. |
|
- class evmos.proto.autogen.py.evmos.inflation.v1.ExponentialCalculation(a: str = <object object>, r: str = <object object>, c: str = <object object>, bonding_target: str = <object object>, max_variance: str = <object object>)[source]
Bases:
MessageExponentialCalculation holds factors to calculate exponential inflation on each period. Calculation reference: periodProvision = exponentialDecay * bondingIncentive f(x) = (a * (1 - r) ^ x + c) * (1 + max_variance - bondedRatio * (max_variance / bonding_target))
- class evmos.proto.autogen.py.evmos.inflation.v1.GenesisState(params: ~evmos.proto.autogen.py.evmos.inflation.v1.Params = <object object>, period: int = <object object>, epoch_identifier: str = <object object>, epochs_per_period: int = <object object>, skipped_epochs: int = <object object>)[source]
Bases:
MessageGenesisState defines the inflation module’s genesis state.
- epochs_per_period: int = <object object>
epochs_per_period is the number of epochs after which inflation is recalculated
- class evmos.proto.autogen.py.evmos.inflation.v1.InflationDistribution(staking_rewards: str = <object object>, usage_incentives: str = <object object>, community_pool: str = <object object>)[source]
Bases:
MessageInflationDistribution defines the distribution in which inflation is allocated through minting on each epoch (staking, incentives, community). It excludes the team vesting distribution, as this is minted once at genesis. The initial InflationDistribution can be calculated from the Evmos Token Model like this: mintDistribution1 = distribution1 / (1 - teamVestingDistribution) 0.5333333 = 40% / (1 - 25%)
- community_pool: str = <object object>
community_pool defines the proportion of the minted minted_denom that is to be allocated to the community pool
- class evmos.proto.autogen.py.evmos.inflation.v1.MsgBase[source]
Bases:
ServiceBase- async update_params(msg_update_params: MsgUpdateParams) MsgUpdateParamsResponse[source]
- class evmos.proto.autogen.py.evmos.inflation.v1.MsgStub(channel: Channel, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: Mapping[str, str | bytes] | Collection[Tuple[str, str | bytes]] | None = None)[source]
Bases:
ServiceStub- async update_params(msg_update_params: MsgUpdateParams, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) MsgUpdateParamsResponse[source]
- class evmos.proto.autogen.py.evmos.inflation.v1.MsgUpdateParams(authority: str = <object object>, params: ~evmos.proto.autogen.py.evmos.inflation.v1.Params = <object object>)[source]
Bases:
MessageMsgUpdateParams defines a Msg for updating the x/inflation module parameters.
- class evmos.proto.autogen.py.evmos.inflation.v1.MsgUpdateParamsResponse[source]
Bases:
MessageMsgUpdateParamsResponse defines the response structure for executing a MsgUpdateParams message.
- class evmos.proto.autogen.py.evmos.inflation.v1.Params(mint_denom: str = <object object>, exponential_calculation: ~evmos.proto.autogen.py.evmos.inflation.v1.ExponentialCalculation = <object object>, inflation_distribution: ~evmos.proto.autogen.py.evmos.inflation.v1.InflationDistribution = <object object>, enable_inflation: bool = <object object>)[source]
Bases:
MessageParams holds parameters for the inflation module.
- enable_inflation: bool = <object object>
enable_inflation is the parameter that enables inflation and halts increasing the skipped_epochs
- exponential_calculation: ExponentialCalculation = <object object>
exponential_calculation takes in the variables to calculate exponential inflation
- inflation_distribution: InflationDistribution = <object object>
inflation_distribution of the minted denom
- class evmos.proto.autogen.py.evmos.inflation.v1.QueryBase[source]
Bases:
ServiceBase- async circulating_supply(query_circulating_supply_request: QueryCirculatingSupplyRequest) QueryCirculatingSupplyResponse[source]
- async epoch_mint_provision(query_epoch_mint_provision_request: QueryEpochMintProvisionRequest) QueryEpochMintProvisionResponse[source]
- async inflation_rate(query_inflation_rate_request: QueryInflationRateRequest) QueryInflationRateResponse[source]
- async params(query_params_request: QueryParamsRequest) QueryParamsResponse[source]
- async period(query_period_request: QueryPeriodRequest) QueryPeriodResponse[source]
- async skipped_epochs(query_skipped_epochs_request: QuerySkippedEpochsRequest) QuerySkippedEpochsResponse[source]
- class evmos.proto.autogen.py.evmos.inflation.v1.QueryCirculatingSupplyRequest[source]
Bases:
MessageQueryCirculatingSupplyRequest is the request type for the Query/CirculatingSupply RPC method.
- class evmos.proto.autogen.py.evmos.inflation.v1.QueryCirculatingSupplyResponse(circulating_supply: ~evmos.proto.autogen.py.cosmos.base.v1beta1.DecCoin = <object object>)[source]
Bases:
MessageQueryCirculatingSupplyResponse is the response type for the Query/CirculatingSupply RPC method.
- class evmos.proto.autogen.py.evmos.inflation.v1.QueryEpochMintProvisionRequest[source]
Bases:
MessageQueryEpochMintProvisionRequest is the request type for the Query/EpochMintProvision RPC method.
- class evmos.proto.autogen.py.evmos.inflation.v1.QueryEpochMintProvisionResponse(epoch_mint_provision: ~evmos.proto.autogen.py.cosmos.base.v1beta1.DecCoin = <object object>)[source]
Bases:
MessageQueryEpochMintProvisionResponse is the response type for the Query/EpochMintProvision RPC method.
- class evmos.proto.autogen.py.evmos.inflation.v1.QueryInflationRateRequest[source]
Bases:
MessageQueryInflationRateRequest is the request type for the Query/InflationRate RPC method.
- class evmos.proto.autogen.py.evmos.inflation.v1.QueryInflationRateResponse(inflation_rate: str = <object object>)[source]
Bases:
MessageQueryInflationRateResponse is the response type for the Query/InflationRate RPC method.
- class evmos.proto.autogen.py.evmos.inflation.v1.QueryParamsRequest[source]
Bases:
MessageQueryParamsRequest is the request type for the Query/Params RPC method.
- class evmos.proto.autogen.py.evmos.inflation.v1.QueryParamsResponse(params: ~evmos.proto.autogen.py.evmos.inflation.v1.Params = <object object>)[source]
Bases:
MessageQueryParamsResponse is the response type for the Query/Params RPC method.
- class evmos.proto.autogen.py.evmos.inflation.v1.QueryPeriodRequest[source]
Bases:
MessageQueryPeriodRequest is the request type for the Query/Period RPC method.
- class evmos.proto.autogen.py.evmos.inflation.v1.QueryPeriodResponse(period: int = <object object>)[source]
Bases:
MessageQueryPeriodResponse is the response type for the Query/Period RPC method.
- class evmos.proto.autogen.py.evmos.inflation.v1.QuerySkippedEpochsRequest[source]
Bases:
MessageQuerySkippedEpochsRequest is the request type for the Query/SkippedEpochs RPC method.
- class evmos.proto.autogen.py.evmos.inflation.v1.QuerySkippedEpochsResponse(skipped_epochs: int = <object object>)[source]
Bases:
MessageQuerySkippedEpochsResponse is the response type for the Query/SkippedEpochs RPC method.
- class evmos.proto.autogen.py.evmos.inflation.v1.QueryStub(channel: Channel, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: Mapping[str, str | bytes] | Collection[Tuple[str, str | bytes]] | None = None)[source]
Bases:
ServiceStub- async circulating_supply(query_circulating_supply_request: QueryCirculatingSupplyRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) QueryCirculatingSupplyResponse[source]
- async epoch_mint_provision(query_epoch_mint_provision_request: QueryEpochMintProvisionRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) QueryEpochMintProvisionResponse[source]
- async inflation_rate(query_inflation_rate_request: QueryInflationRateRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) QueryInflationRateResponse[source]
- async params(query_params_request: QueryParamsRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) QueryParamsResponse[source]
- async period(query_period_request: QueryPeriodRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) QueryPeriodResponse[source]
- async skipped_epochs(query_skipped_epochs_request: QuerySkippedEpochsRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) QuerySkippedEpochsResponse[source]