github.com/Finschia/finschia-sdk@v0.48.1/proto/lbm/foundation/v1/genesis.proto (about)

     1  syntax = "proto3";
     2  package lbm.foundation.v1;
     3  
     4  option go_package            = "github.com/Finschia/finschia-sdk/x/foundation";
     5  option (gogoproto.equal_all) = true;
     6  
     7  import "gogoproto/gogo.proto";
     8  import "lbm/foundation/v1/foundation.proto";
     9  import "cosmos_proto/cosmos.proto";
    10  import "google/protobuf/any.proto";
    11  
    12  // GenesisState defines the foundation module's genesis state.
    13  message GenesisState {
    14    option (gogoproto.equal)           = false;
    15    option (gogoproto.goproto_getters) = false;
    16  
    17    // params defines the module parameters at genesis.
    18    Params params = 1 [(gogoproto.nullable) = false];
    19  
    20    // foundation is the foundation info.
    21    FoundationInfo foundation = 2 [(gogoproto.nullable) = false];
    22  
    23    // members is the list of the foundation members.
    24    repeated Member members = 3 [(gogoproto.nullable) = false];
    25  
    26    // it is used to get the next proposal ID.
    27    uint64 previous_proposal_id = 4;
    28  
    29    // proposals is the list of proposals.
    30    repeated Proposal proposals = 5 [(gogoproto.nullable) = false];
    31  
    32    // votes is the list of votes.
    33    repeated Vote votes = 6 [(gogoproto.nullable) = false];
    34  
    35    // grants
    36    repeated GrantAuthorization authorizations = 7 [(gogoproto.nullable) = false];
    37  
    38    // pool
    39    Pool pool = 8 [(gogoproto.nullable) = false];
    40  
    41    reserved 9; // previously used tag number for 'gov_mint_left_count'.
    42  
    43    repeated Censorship censorships = 10 [(gogoproto.nullable) = false];
    44  }
    45  
    46  // GrantAuthorization defines authorization grant to grantee via route.
    47  message GrantAuthorization {
    48    option (gogoproto.goproto_getters) = false;
    49  
    50    string grantee = 1;
    51  
    52    google.protobuf.Any authorization = 2
    53        [(cosmos_proto.accepts_interface) = "github.com/Finschia/finschia-sdk/x/foundation.Authorization"];
    54  }