-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move all permissions address from denommetadata, hubgenesis to sequen…
…cers
- Loading branch information
Showing
51 changed files
with
2,072 additions
and
2,376 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 |
---|---|---|
@@ -1,13 +1,7 @@ | ||
syntax = "proto3"; | ||
package rollapp.denommetadata.types; | ||
|
||
import "gogoproto/gogo.proto"; | ||
import "denommetadata/params.proto"; | ||
|
||
option go_package = "github.com/dymensionxyz/dymension-rdk/x/denommetadata/types"; | ||
|
||
// GenesisState defines the test module's genesis state. | ||
message GenesisState { | ||
// params are all parameters for the module | ||
Params params = 1 [ (gogoproto.nullable) = false ]; | ||
} | ||
message GenesisState {} |
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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
syntax = "proto3"; | ||
package rollapp.sequencers.types; | ||
|
||
import "gogoproto/gogo.proto"; | ||
import "sequencers/permission.proto"; | ||
|
||
option go_package = "github.com/dymensionxyz/dymension-rdk/x/sequencers/types"; | ||
|
||
message GrantPermissionsProposal { | ||
option (gogoproto.equal) = true; | ||
option (gogoproto.goproto_getters) = false; | ||
option (gogoproto.goproto_stringer) = false; | ||
|
||
string title = 1; | ||
string description = 2; | ||
|
||
AddressPermissions address_permissions = 3 [ (gogoproto.nullable) = false ]; | ||
} | ||
|
||
message RevokePermissionsProposal { | ||
option (gogoproto.equal) = true; | ||
option (gogoproto.goproto_getters) = false; | ||
option (gogoproto.goproto_stringer) = false; | ||
|
||
string title = 1; | ||
string description = 2; | ||
|
||
AddressPermissions address_permissions = 3 [ (gogoproto.nullable) = false ]; | ||
} |
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,26 @@ | ||
syntax = "proto3"; | ||
package rollapp.sequencers.types; | ||
|
||
import "gogoproto/gogo.proto"; | ||
|
||
// this line is used by starport scaffolding # genesis/proto/import | ||
|
||
option go_package = "github.com/dymensionxyz/dymension-rdk/x/sequencers/types"; | ||
|
||
message AddressPermissions { | ||
option (gogoproto.equal) = true; | ||
|
||
string address = 1 [ (gogoproto.moretags) = "yaml:\"address\"" ]; | ||
// list of the module name that addresses have permission to execute msg | ||
Permissions permissions = 2 [ | ||
(gogoproto.moretags) = "yaml:\"permissions\"", | ||
(gogoproto.nullable) = false | ||
]; | ||
} | ||
|
||
message Permissions { | ||
option (gogoproto.equal) = true; | ||
|
||
repeated string permissions = 1 | ||
[ (gogoproto.moretags) = "yaml:\"permissions\"" ]; | ||
} |
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.