evmos.proto.autogen.py.evmos.incentives.v1

Classes

CancelIncentiveProposal(title, description, ...)

CancelIncentiveProposal is a gov Content type to cancel an incentive

GasMeter(contract, participant, cumulative_gas)

GasMeter tracks the cumulative gas spent per participant in one epoch

GenesisState(params, incentives, gas_meters)

GenesisState defines the module's genesis state.

Incentive(contract, allocations, epochs, ...)

Incentive defines an instance that organizes distribution conditions for a given smart contract

Params(enable_incentives, allocation_limit, ...)

Params defines the incentives module params

QueryAllocationMeterRequest(denom)

QueryAllocationMeterRequest is the request type for the Query/AllocationMeter RPC method.

QueryAllocationMeterResponse(allocation_meter)

QueryAllocationMeterResponse is the response type for the Query/AllocationMeter RPC method.

QueryAllocationMetersRequest(pagination)

QueryAllocationMetersRequest is the request type for the Query/AllocationMeters RPC method.

QueryAllocationMetersResponse(...)

QueryAllocationMetersResponse is the response type for the Query/AllocationMeters RPC method.

QueryBase()

QueryGasMeterRequest(contract, participant)

QueryGasMeterRequest is the request type for the Query/Incentive RPC method.

QueryGasMeterResponse(gas_meter)

QueryGasMeterResponse is the response type for the Query/Incentive RPC method.

QueryGasMetersRequest(contract, pagination)

QueryGasMetersRequest is the request type for the Query/Incentives RPC method.

QueryGasMetersResponse(gas_meters, pagination)

QueryGasMetersResponse is the response type for the Query/Incentives RPC method.

QueryIncentiveRequest(contract)

QueryIncentiveRequest is the request type for the Query/Incentive RPC method.

QueryIncentiveResponse(incentive)

QueryIncentiveResponse is the response type for the Query/Incentive RPC method.

QueryIncentivesRequest(pagination)

QueryIncentivesRequest is the request type for the Query/Incentives RPC method.

QueryIncentivesResponse(incentives, pagination)

QueryIncentivesResponse is the response type for the Query/Incentives RPC method.

QueryParamsRequest()

QueryParamsRequest is the request type for the Query/Params RPC method.

QueryParamsResponse(params)

QueryParamsResponse is the response type for the Query/Params RPC method.

QueryStub(channel, *[, timeout, deadline, ...])

RegisterIncentiveProposal(title, ...)

RegisterIncentiveProposal is a gov Content type to register an incentive

class evmos.proto.autogen.py.evmos.incentives.v1.CancelIncentiveProposal(title: str = <object object>, description: str = <object object>, contract: str = <object object>)[source]

Bases: Message

CancelIncentiveProposal is a gov Content type to cancel an incentive

contract: str = <object object>

contract address

description: str = <object object>

proposal description

title: str = <object object>

title of the proposal

class evmos.proto.autogen.py.evmos.incentives.v1.GasMeter(contract: str = <object object>, participant: str = <object object>, cumulative_gas: int = <object object>)[source]

Bases: Message

GasMeter tracks the cumulative gas spent per participant in one epoch

contract: str = <object object>

hex address of the incentivized contract

cumulative_gas: int = <object object>

cumulative gas spent during the epoch

participant: str = <object object>

participant address that interacts with the incentive

class evmos.proto.autogen.py.evmos.incentives.v1.GenesisState(params: ~evmos.proto.autogen.py.evmos.incentives.v1.Params = <object object>, incentives: ~typing.List[~evmos.proto.autogen.py.evmos.incentives.v1.Incentive] = <object object>, gas_meters: ~typing.List[~evmos.proto.autogen.py.evmos.incentives.v1.GasMeter] = <object object>)[source]

Bases: Message

GenesisState defines the module’s genesis state.

gas_meters: List[GasMeter] = <object object>

active Gasmeters

incentives: List[Incentive] = <object object>

active incentives

params: Params = <object object>

module parameters

class evmos.proto.autogen.py.evmos.incentives.v1.Incentive(contract: str = <object object>, allocations: ~typing.List[~evmos.proto.autogen.py.cosmos.base.v1beta1.DecCoin] = <object object>, epochs: int = <object object>, start_time: ~datetime.datetime = <object object>, total_gas: int = <object object>)[source]

Bases: Message

Incentive defines an instance that organizes distribution conditions for a given smart contract

allocations: List[DecCoin] = <object object>

denoms and percentage of rewards to be allocated

contract: str = <object object>

contract address

epochs: int = <object object>

number of remaining epochs

start_time: datetime = <object object>

distribution start time

total_gas: int = <object object>

cumulative gas spent by all gasmeters of the incentive during the epoch

class evmos.proto.autogen.py.evmos.incentives.v1.Params(enable_incentives: bool = <object object>, allocation_limit: str = <object object>, incentives_epoch_identifier: str = <object object>, reward_scaler: str = <object object>)[source]

Bases: Message

Params defines the incentives module params

allocation_limit: str = <object object>

maximum percentage an incentive can allocate per denomination

enable_incentives: bool = <object object>

parameter to enable incentives

incentives_epoch_identifier: str = <object object>

identifier for the epochs module hooks

reward_scaler: str = <object object>

scaling factor for capping rewards

class evmos.proto.autogen.py.evmos.incentives.v1.QueryAllocationMeterRequest(denom: str = <object object>)[source]

Bases: Message

QueryAllocationMeterRequest is the request type for the Query/AllocationMeter RPC method.

denom: str = <object object>

denom is the coin denom to query an allocation meter for.

class evmos.proto.autogen.py.evmos.incentives.v1.QueryAllocationMeterResponse(allocation_meter: ~evmos.proto.autogen.py.cosmos.base.v1beta1.DecCoin = <object object>)[source]

Bases: Message

QueryAllocationMeterResponse is the response type for the Query/AllocationMeter RPC method.

allocation_meter: DecCoin = <object object>
class evmos.proto.autogen.py.evmos.incentives.v1.QueryAllocationMetersRequest(pagination: ~evmos.proto.autogen.py.cosmos.base.query.v1beta1.PageRequest = <object object>)[source]

Bases: Message

QueryAllocationMetersRequest is the request type for the Query/AllocationMeters RPC method.

pagination: PageRequest = <object object>

pagination defines an optional pagination for the request.

class evmos.proto.autogen.py.evmos.incentives.v1.QueryAllocationMetersResponse(allocation_meters: ~typing.List[~evmos.proto.autogen.py.cosmos.base.v1beta1.DecCoin] = <object object>, pagination: ~evmos.proto.autogen.py.cosmos.base.query.v1beta1.PageResponse = <object object>)[source]

Bases: Message

QueryAllocationMetersResponse is the response type for the Query/AllocationMeters RPC method.

allocation_meters: List[DecCoin] = <object object>
pagination: PageResponse = <object object>

pagination defines the pagination in the response.

class evmos.proto.autogen.py.evmos.incentives.v1.QueryBase[source]

Bases: ServiceBase

async allocation_meter(query_allocation_meter_request: QueryAllocationMeterRequest) QueryAllocationMeterResponse[source]
async allocation_meters(query_allocation_meters_request: QueryAllocationMetersRequest) QueryAllocationMetersResponse[source]
async gas_meter(query_gas_meter_request: QueryGasMeterRequest) QueryGasMeterResponse[source]
async gas_meters(query_gas_meters_request: QueryGasMetersRequest) QueryGasMetersResponse[source]
async incentive(query_incentive_request: QueryIncentiveRequest) QueryIncentiveResponse[source]
async incentives(query_incentives_request: QueryIncentivesRequest) QueryIncentivesResponse[source]
async params(query_params_request: QueryParamsRequest) QueryParamsResponse[source]
class evmos.proto.autogen.py.evmos.incentives.v1.QueryGasMeterRequest(contract: str = <object object>, participant: str = <object object>)[source]

Bases: Message

QueryGasMeterRequest is the request type for the Query/Incentive RPC method.

contract: str = <object object>

contract identifier is the hex contract address of a contract

participant: str = <object object>

participant identifier is the hex address of a user

class evmos.proto.autogen.py.evmos.incentives.v1.QueryGasMeterResponse(gas_meter: int = <object object>)[source]

Bases: Message

QueryGasMeterResponse is the response type for the Query/Incentive RPC method.

gas_meter: int = <object object>
class evmos.proto.autogen.py.evmos.incentives.v1.QueryGasMetersRequest(contract: str = <object object>, pagination: ~evmos.proto.autogen.py.cosmos.base.query.v1beta1.PageRequest = <object object>)[source]

Bases: Message

QueryGasMetersRequest is the request type for the Query/Incentives RPC method.

contract: str = <object object>

contract is the hex contract address of a incentivized smart contract

pagination: PageRequest = <object object>

pagination defines an optional pagination for the request.

class evmos.proto.autogen.py.evmos.incentives.v1.QueryGasMetersResponse(gas_meters: ~typing.List[~evmos.proto.autogen.py.evmos.incentives.v1.GasMeter] = <object object>, pagination: ~evmos.proto.autogen.py.cosmos.base.query.v1beta1.PageResponse = <object object>)[source]

Bases: Message

QueryGasMetersResponse is the response type for the Query/Incentives RPC method.

gas_meters: List[GasMeter] = <object object>
pagination: PageResponse = <object object>

pagination defines the pagination in the response.

class evmos.proto.autogen.py.evmos.incentives.v1.QueryIncentiveRequest(contract: str = <object object>)[source]

Bases: Message

QueryIncentiveRequest is the request type for the Query/Incentive RPC method.

contract: str = <object object>

contract identifier is the hex contract address of a contract

class evmos.proto.autogen.py.evmos.incentives.v1.QueryIncentiveResponse(incentive: ~evmos.proto.autogen.py.evmos.incentives.v1.Incentive = <object object>)[source]

Bases: Message

QueryIncentiveResponse is the response type for the Query/Incentive RPC method.

incentive: Incentive = <object object>
class evmos.proto.autogen.py.evmos.incentives.v1.QueryIncentivesRequest(pagination: ~evmos.proto.autogen.py.cosmos.base.query.v1beta1.PageRequest = <object object>)[source]

Bases: Message

QueryIncentivesRequest is the request type for the Query/Incentives RPC method.

pagination: PageRequest = <object object>

pagination defines an optional pagination for the request.

class evmos.proto.autogen.py.evmos.incentives.v1.QueryIncentivesResponse(incentives: ~typing.List[~evmos.proto.autogen.py.evmos.incentives.v1.Incentive] = <object object>, pagination: ~evmos.proto.autogen.py.cosmos.base.query.v1beta1.PageResponse = <object object>)[source]

Bases: Message

QueryIncentivesResponse is the response type for the Query/Incentives RPC method.

incentives: List[Incentive] = <object object>
pagination: PageResponse = <object object>

pagination defines the pagination in the response.

class evmos.proto.autogen.py.evmos.incentives.v1.QueryParamsRequest[source]

Bases: Message

QueryParamsRequest is the request type for the Query/Params RPC method.

class evmos.proto.autogen.py.evmos.incentives.v1.QueryParamsResponse(params: ~evmos.proto.autogen.py.evmos.incentives.v1.Params = <object object>)[source]

Bases: Message

QueryParamsResponse is the response type for the Query/Params RPC method.

params: Params = <object object>
class evmos.proto.autogen.py.evmos.incentives.v1.QueryStub(channel: Channel, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[Union[Mapping[str, Union[str, bytes]], Collection[Tuple[str, Union[str, bytes]]]]] = None)[source]

Bases: ServiceStub

async allocation_meter(query_allocation_meter_request: QueryAllocationMeterRequest, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) QueryAllocationMeterResponse[source]
async allocation_meters(query_allocation_meters_request: QueryAllocationMetersRequest, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) QueryAllocationMetersResponse[source]
async gas_meter(query_gas_meter_request: QueryGasMeterRequest, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) QueryGasMeterResponse[source]
async gas_meters(query_gas_meters_request: QueryGasMetersRequest, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) QueryGasMetersResponse[source]
async incentive(query_incentive_request: QueryIncentiveRequest, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) QueryIncentiveResponse[source]
async incentives(query_incentives_request: QueryIncentivesRequest, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) QueryIncentivesResponse[source]
async params(query_params_request: QueryParamsRequest, *, timeout: Optional[float] = None, deadline: Optional[Deadline] = None, metadata: Optional[MetadataLike] = None) QueryParamsResponse[source]
class evmos.proto.autogen.py.evmos.incentives.v1.RegisterIncentiveProposal(title: str = <object object>, description: str = <object object>, contract: str = <object object>, allocations: ~typing.List[~evmos.proto.autogen.py.cosmos.base.v1beta1.DecCoin] = <object object>, epochs: int = <object object>)[source]

Bases: Message

RegisterIncentiveProposal is a gov Content type to register an incentive

allocations: List[DecCoin] = <object object>

denoms and percentage of rewards to be allocated

contract: str = <object object>

contract address

description: str = <object object>

proposal description

epochs: int = <object object>

number of remaining epochs

title: str = <object object>

title of the proposal