-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
2,310 additions
and
70 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
syntax = "proto3"; | ||
|
||
package modules.claim.v1; | ||
|
||
option go_package = "github.com/ignite/modules/x/claim/types"; | ||
|
||
message EventMissionCompleted { | ||
uint64 missionID = 1; | ||
string address = 2; | ||
} | ||
|
||
message EventMissionClaimed { | ||
uint64 missionID = 1; | ||
string claimer = 2; | ||
} |
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,32 @@ | ||
syntax = "proto3"; | ||
|
||
package modules.mint.v1; | ||
|
||
import "cosmos_proto/cosmos.proto"; | ||
import "gogoproto/gogo.proto"; | ||
|
||
option go_package = "github.com/ignite/modules/x/mint/types"; | ||
|
||
// EventMint is emitted when new coins are minted by the minter | ||
message EventMint { | ||
string bondedRatio = 1 [ | ||
(gogoproto.nullable) = false, | ||
(gogoproto.customtype) = "cosmossdk.io/math.LegacyDec", | ||
(cosmos_proto.scalar) = "cosmos.Dec" | ||
]; | ||
string inflation = 2 [ | ||
(gogoproto.nullable) = false, | ||
(gogoproto.customtype) = "cosmossdk.io/math.LegacyDec", | ||
(cosmos_proto.scalar) = "cosmos.Dec" | ||
]; | ||
string annualProvisions = 3 [ | ||
(gogoproto.nullable) = false, | ||
(gogoproto.customtype) = "cosmossdk.io/math.LegacyDec", | ||
(cosmos_proto.scalar) = "cosmos.Dec" | ||
]; | ||
string amount = 4 [ | ||
(gogoproto.nullable) = false, | ||
(gogoproto.customtype) = "cosmossdk.io/math.Int", | ||
(cosmos_proto.scalar) = "cosmos.Int" | ||
]; | ||
} |
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.