github.com/Finschia/finschia-sdk@v0.49.1/proto/cosmos/capability/v1beta1/genesis.proto (about) 1 syntax = "proto3"; 2 package cosmos.capability.v1beta1; 3 4 import "gogoproto/gogo.proto"; 5 import "cosmos/capability/v1beta1/capability.proto"; 6 7 option go_package = "github.com/Finschia/finschia-sdk/x/capability/types"; 8 9 // GenesisOwners defines the capability owners with their corresponding index. 10 message GenesisOwners { 11 // index is the index of the capability owner. 12 uint64 index = 1; 13 14 // index_owners are the owners at the given index. 15 CapabilityOwners index_owners = 2 [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"index_owners\""]; 16 } 17 18 // GenesisState defines the capability module's genesis state. 19 message GenesisState { 20 // index is the capability global index. 21 uint64 index = 1; 22 23 // owners represents a map from index to owners of the capability index 24 // index key is string to allow amino marshalling. 25 repeated GenesisOwners owners = 2 [(gogoproto.nullable) = false]; 26 }