-
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.
feat(sequencer): set/update reward addr (#510)
- Loading branch information
Showing
38 changed files
with
2,288 additions
and
313 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
syntax = "proto3"; | ||
package rollapp.sequencers.types; | ||
|
||
import "gogoproto/gogo.proto"; | ||
import "cosmos/staking/v1beta1/staking.proto"; | ||
import "cosmos/msg/v1/msg.proto"; | ||
import "google/protobuf/any.proto"; | ||
|
||
option go_package = "github.com/dymensionxyz/dymension-rdk/x/sequencers/types"; | ||
|
||
// Msg defines the Msg service. | ||
service Msg { | ||
rpc CreateSequencer(MsgCreateSequencer) returns (MsgCreateSequencerResponse); | ||
rpc UpdateSequencer(MsgUpdateSequencer) returns (MsgUpdateSequencerResponse); | ||
} | ||
|
||
message MsgCreateSequencer { | ||
option (cosmos.msg.v1.signer) = "operator"; | ||
// Operator is the bech32-encoded address of the actor sending the update - must be val addr | ||
string operator = 1; | ||
// PubKey is a tendermint consensus pub key | ||
google.protobuf.Any pub_key = 2; | ||
// Signature is operator signed with the private key of pub_key | ||
bytes signature = 3; | ||
} | ||
|
||
message MsgCreateSequencerResponse { | ||
|
||
} | ||
|
||
message MsgUpdateSequencer { | ||
option (cosmos.msg.v1.signer) = "operator"; | ||
// Operator is the bech32-encoded address of the actor sending the update - must be val addr | ||
string operator = 1; | ||
// RewardAddr is a bech32 encoded sdk acc address | ||
string reward_addr = 3; | ||
} | ||
|
||
message MsgUpdateSequencerResponse { | ||
|
||
} |
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.