evmos/claims
Table of Contents
evmos/claims/v1/query.proto
TopQueryClaimsRecordRequest
QueryClaimsRecordRequest is the request type for the Query/ClaimsRecord RPC
method.
Field | Type | Label | Description |
address | string | address defines the user to query claims record for |
QueryClaimsRecordResponse
QueryClaimsRecordResponse is the response type for the Query/ClaimsRecord RPC
method.
Field | Type | Label | Description |
initial_claimable_amount | string | total initial claimable amount for the user |
|
claims | Claim | repeated | the claims of the user |
QueryClaimsRecordsRequest
QueryClaimsRecordsRequest is the request type for the Query/ClaimsRecords RPC
method.
Field | Type | Label | Description |
pagination | cosmos.base.query.v1beta1.PageRequest | pagination defines an optional pagination for the request. |
QueryClaimsRecordsResponse
QueryClaimsRecordsResponse is the response type for the Query/ClaimsRecords
RPC method.
Field | Type | Label | Description |
claims | ClaimsRecordAddress | repeated | claims defines all claims records |
pagination | cosmos.base.query.v1beta1.PageResponse | pagination defines the pagination in the response. |
QueryParamsRequest
QueryParamsRequest is the request type for the Query/Params RPC method.
QueryParamsResponse
QueryParamsResponse is the response type for the Query/Params RPC method.
Field | Type | Label | Description |
params | Params | params defines the parameters of the module. |
QueryTotalUnclaimedRequest
QueryTotalUnclaimedRequest is the request type for the Query/TotalUnclaimed
RPC method.
QueryTotalUnclaimedResponse
QueryTotalUnclaimedResponse is the response type for the Query/TotalUnclaimed
RPC method.
Field | Type | Label | Description |
coins | cosmos.base.v1beta1.Coin | repeated | coins defines the unclaimed coins |
Query
Query defines the gRPC querier service.
Method Name | Request Type | Response Type | Description |
TotalUnclaimed | QueryTotalUnclaimedRequest | QueryTotalUnclaimedResponse | TotalUnclaimed queries the total unclaimed tokens from the airdrop |
Params | QueryParamsRequest | QueryParamsResponse | Params returns the claims module parameters |
ClaimsRecords | QueryClaimsRecordsRequest | QueryClaimsRecordsResponse | ClaimsRecords returns all claims records |
ClaimsRecord | QueryClaimsRecordRequest | QueryClaimsRecordResponse | ClaimsRecord returns the claims record for a given address |
Methods with HTTP bindings
Method Name | Method | Pattern | Body |
TotalUnclaimed | GET | /evmos/claims/v1/total_unclaimed | |
Params | GET | /evmos/claims/v1/params | |
ClaimsRecords | GET | /evmos/claims/v1/claims_records | |
ClaimsRecord | GET | /evmos/claims/v1/claims_records/{address} |
evmos/claims/v1/genesis.proto
TopGenesisState
GenesisState define the claims module's genesis state.
Field | Type | Label | Description |
params | Params | params defines all the parameters of the module. |
|
claims_records | ClaimsRecordAddress | repeated | list of claim records with the corresponding airdrop recipient |
Params
Params defines the claims module's parameters.
Field | Type | Label | Description |
enable_claims | bool | enable claiming process |
|
airdrop_start_time | google.protobuf.Timestamp | timestamp of the airdrop start |
|
duration_until_decay | google.protobuf.Duration | duration until decay of claimable tokens begin |
|
duration_of_decay | google.protobuf.Duration | duration of the token claim decay period |
|
claims_denom | string | denom of claimable coin |
|
authorized_channels | string | repeated | list of authorized channel identifiers that can perform address attestations via IBC. |
evm_channels | string | repeated | list of channel identifiers from EVM compatible chains |
evmos/claims/v1/claims.proto
TopClaim
Claim defines the action, completed flag and the remaining claimable amount
for a given user. This is only used during client queries.
Field | Type | Label | Description |
action | Action | action enum |
|
completed | bool | true if the action has been completed |
|
claimable_amount | string | claimable token amount for the action. Zero if completed |
ClaimsRecord
ClaimsRecord defines the initial claimable airdrop amount and the list of
completed actions to claim the tokens.
Field | Type | Label | Description |
initial_claimable_amount | string | total initial claimable amount for the user |
|
actions_completed | bool | repeated | slice of the available actions completed |
ClaimsRecordAddress
ClaimsRecordAddress is the claims metadata per address that is used at
Genesis.
Field | Type | Label | Description |
address | string | bech32 or hex address of claim user |
|
initial_claimable_amount | string | total initial claimable amount for the user |
|
actions_completed | bool | repeated | slice of the available actions completed |
Action
Action defines the list of available actions to claim the airdrop tokens.
Name | Number | Description |
ACTION_UNSPECIFIED | 0 | UNSPECIFIED defines an invalid action. |
ACTION_VOTE | 1 | VOTE defines a proposal vote. |
ACTION_DELEGATE | 2 | DELEGATE defines an staking delegation. |
ACTION_EVM | 3 | EVM defines an EVM transaction. |
ACTION_IBC_TRANSFER | 4 | IBC Transfer defines a fungible token transfer transaction via IBC. |
Scalar Value Types
.proto Type | Notes | Python Type |
double | float | |
float | float | |
int32 | Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint32 instead. | int |
int64 | Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint64 instead. | int/long |
uint32 | Uses variable-length encoding. | int/long |
uint64 | Uses variable-length encoding. | int/long |
sint32 | Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int32s. | int |
sint64 | Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int64s. | int/long |
fixed32 | Always four bytes. More efficient than uint32 if values are often greater than 2^28. | int |
fixed64 | Always eight bytes. More efficient than uint64 if values are often greater than 2^56. | int/long |
sfixed32 | Always four bytes. | int |
sfixed64 | Always eight bytes. | int/long |
bool | boolean | |
string | A string must always contain UTF-8 encoded or 7-bit ASCII text. | str/unicode |
bytes | May contain any arbitrary sequence of bytes. | str |