-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
module basic, validation, scaffolding tests
- Loading branch information
Showing
30 changed files
with
2,305 additions
and
1,125 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
syntax = "proto3"; | ||
package rollapp.dividends; | ||
|
||
import "gogoproto/gogo.proto"; | ||
import "cosmos_proto/cosmos.proto"; | ||
import "dividends/gauge.proto"; | ||
|
||
option go_package = "github.com/dymensionxyz/dymension-rdk/x/dividends/types"; | ||
|
||
message EventUpdateParams { | ||
string authority = 1 [ (cosmos_proto.scalar) = "cosmos.AddressString" ]; | ||
Params new_params = 2 [ (gogoproto.nullable) = false ]; | ||
Params old_params = 3 [ (gogoproto.nullable) = false ]; | ||
} | ||
|
||
message EventCreateGauge { | ||
// Authority is the address that controls the module. | ||
string authority = 1 [ (cosmos_proto.scalar) = "cosmos.AddressString" ]; | ||
// query_condition is *where* the gauge rewards are distributed to | ||
QueryCondition query_condition = 2 [ (gogoproto.nullable) = false ]; | ||
// vesting_condition is *how long* the gauge rewards are distributed to | ||
VestingCondition vesting_condition = 3 [ (gogoproto.nullable) = false ]; | ||
// vesting_condition is *how frequent* the gauge rewards are distributed to | ||
VestingFrequency vesting_frequency = 4; | ||
} |
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 was deleted.
Oops, something went wrong.
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
Oops, something went wrong.