-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Cleanup codec * Cleanup error * go.mod tidy * Cleanup events * Moved errors * Moved events * Fix lint issues
- Loading branch information
Showing
15 changed files
with
95 additions
and
111 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package types | ||
|
||
const ( | ||
AttributeConsumerHeight = "consumer_height" | ||
AttributeTimestamp = "timestamp" | ||
|
||
EventTypeFeeDistribution = "fee_distribution" | ||
EventTypeVSCMatured = "vsc_matured" | ||
EventTypeConsumerSlashRequest = "consumer_slash_request" | ||
EventTypeFeeTransferChannelOpened = "fee_transfer_channel_opened" | ||
|
||
AttributeDistributionCurrentHeight = "current_distribution_height" | ||
//#nosec G101 -- (false positive) this is not a hardcoded credential | ||
AttributeDistributionNextHeight = "next_distribution_height" | ||
AttributeDistributionFraction = "distribution_fraction" | ||
AttributeDistributionTotal = "total" | ||
AttributeDistributionToProvider = "provider_amount" | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package types | ||
|
||
// Provider events | ||
const ( | ||
EventTypeConsumerClientCreated = "consumer_client_created" | ||
EventTypeAssignConsumerKey = "assign_consumer_key" | ||
EventTypeAddConsumerRewardDenom = "add_consumer_reward_denom" | ||
EventTypeRemoveConsumerRewardDenom = "remove_consumer_reward_denom" | ||
EventTypeExecuteConsumerChainSlash = "execute_consumer_chain_slash" | ||
AttributeInfractionHeight = "infraction_height" | ||
AttributeInitialHeight = "initial_height" | ||
AttributeInitializationTimeout = "initialization_timeout" | ||
AttributeTrustingPeriod = "trusting_period" | ||
AttributeUnbondingPeriod = "unbonding_period" | ||
AttributeProviderValidatorAddress = "provider_validator_address" | ||
AttributeConsumerConsensusPubKey = "consumer_consensus_pub_key" | ||
AttributeConsumerRewardDenom = "consumer_reward_denom" | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters