mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-27 00:35:18 +00:00
75dec0d79c
* sync all third party proto definitions * update cosmos swagger for new imported third party protos
25 lines
801 B
Protocol Buffer
25 lines
801 B
Protocol Buffer
// Since: cosmos-sdk 0.43
|
|
syntax = "proto3";
|
|
package cosmos.authz.v1beta1;
|
|
|
|
import "google/protobuf/timestamp.proto";
|
|
import "google/protobuf/any.proto";
|
|
import "gogoproto/gogo.proto";
|
|
import "cosmos_proto/cosmos.proto";
|
|
|
|
option go_package = "github.com/cosmos/cosmos-sdk/x/authz";
|
|
|
|
// GenesisState defines the authz module's genesis state.
|
|
message GenesisState {
|
|
repeated GrantAuthorization authorization = 1 [(gogoproto.nullable) = false];
|
|
}
|
|
|
|
// GrantAuthorization defines the GenesisState/GrantAuthorization type.
|
|
message GrantAuthorization {
|
|
string granter = 1;
|
|
string grantee = 2;
|
|
|
|
google.protobuf.Any authorization = 3 [(cosmos_proto.accepts_interface) = "Authorization"];
|
|
google.protobuf.Timestamp expiration = 4 [(gogoproto.nullable) = false, (gogoproto.stdtime) = true];
|
|
}
|