Skip to content
This repository was archived by the owner on Jan 20, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 19 additions & 1 deletion proto/cosmos/accesscontrol/constants.proto
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,23 @@ enum ResourceType {
KV_BANK_SUPPLY = 18; // child of KV
KV_BANK_DENOM = 19; // child of KV
KV_BANK_BALANCES = 20; // child of KV
KV_TOKENFACTORY_DENOM = 21; // child of KV_TOKENFACTORY
KV_TOKENFACTORY_METADATA = 22; // child of KV_TOKENFACTORY
KV_TOKENFACTORY_ADMIN = 23; // child of KV_TOKENFACTORY
KV_TOKENFACTORY_CREATOR = 24; // child of KV_TOKENFACTORY
KV_ORACLE_EXCHANGE_RATE = 25; // child of KV_ORACLE
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we need to do anything to the existing oracle ones (do they conflict in any way)? It looks fine, but not sure if any changes we made affect them

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They should be fine, I tried to make sure that each prefix key has their own child, so at least it should be 1-1

KV_ORACLE_VOTE_PENALTY_COUNTER = 26; // child of KV_ORACLE
KV_ORACLE_PRICE_SNAPSHOT = 27; // child of KV_ORACLE
KV_STAKING_VALIDATION_POWER = 28; // child of KV_STAKING
KV_STAKING_TOTAL_POWER = 29; // child of KV_STAKING
KV_STAKING_VALIDATORS_CON_ADDR = 30; // child of KV_STAKING
KV_STAKING_UNBONDING_DELEGATION = 31; // child of KV_STAKING
KV_STAKING_UNBONDING_DELEGATION_VAL = 32; // child of KV_STAKING
KV_STAKING_REDELEGATION = 33; // child of KV_STAKING
KV_STAKING_REDELEGATION_VAL_SRC = 34; // child of KV_STAKING
KV_STAKING_REDELEGATION_VAL_DST = 35; // child of KV_STAKING
KV_STAKING_REDELEGATION_QUEUE = 36; // child of KV_STAKING
KV_STAKING_VALIDATOR_QUEUE = 37; // child of KV_STAKING
KV_STAKING_HISTORICAL_INFO = 38; // child of KV_STAKING
KV_STAKING_UNBONDING = 39; // child of KV_STAKING
}

219 changes: 145 additions & 74 deletions types/accesscontrol/constants.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading