github.com/Finschia/finschia-sdk@v0.48.1/proto/cosmos/auth/v1beta1/auth.proto (about)

     1  syntax = "proto3";
     2  package cosmos.auth.v1beta1;
     3  
     4  import "cosmos_proto/cosmos.proto";
     5  import "gogoproto/gogo.proto";
     6  import "google/protobuf/any.proto";
     7  
     8  option go_package = "github.com/Finschia/finschia-sdk/x/auth/types";
     9  
    10  // BaseAccount defines a base account type. It contains all the necessary fields
    11  // for basic account functionality. Any custom account type should extend this
    12  // type for additional functionality (e.g. vesting).
    13  message BaseAccount {
    14    option (gogoproto.goproto_getters)  = false;
    15    option (gogoproto.goproto_stringer) = false;
    16    option (gogoproto.equal)            = false;
    17  
    18    option (cosmos_proto.implements_interface) = "AccountI";
    19  
    20    string              address = 1;
    21    google.protobuf.Any pub_key = 2
    22        [(gogoproto.jsontag) = "public_key,omitempty", (gogoproto.moretags) = "yaml:\"public_key\""];
    23    uint64 account_number = 3 [(gogoproto.moretags) = "yaml:\"account_number\""];
    24    uint64 sequence       = 4;
    25  }
    26  
    27  // ModuleAccount defines an account for modules that holds coins on a pool.
    28  message ModuleAccount {
    29    option (gogoproto.goproto_getters)         = false;
    30    option (gogoproto.goproto_stringer)        = false;
    31    option (cosmos_proto.implements_interface) = "ModuleAccountI";
    32  
    33    BaseAccount     base_account = 1 [(gogoproto.embed) = true, (gogoproto.moretags) = "yaml:\"base_account\""];
    34    string          name         = 2;
    35    repeated string permissions  = 3;
    36  }
    37  
    38  // Params defines the parameters for the auth module.
    39  message Params {
    40    option (gogoproto.equal)            = true;
    41    option (gogoproto.goproto_stringer) = false;
    42  
    43    uint64 max_memo_characters     = 1 [(gogoproto.moretags) = "yaml:\"max_memo_characters\""];
    44    uint64 tx_sig_limit            = 2 [(gogoproto.moretags) = "yaml:\"tx_sig_limit\""];
    45    uint64 tx_size_cost_per_byte   = 3 [(gogoproto.moretags) = "yaml:\"tx_size_cost_per_byte\""];
    46    uint64 sig_verify_cost_ed25519 = 4
    47        [(gogoproto.customname) = "SigVerifyCostED25519", (gogoproto.moretags) = "yaml:\"sig_verify_cost_ed25519\""];
    48    uint64 sig_verify_cost_secp256k1 = 5
    49        [(gogoproto.customname) = "SigVerifyCostSecp256k1", (gogoproto.moretags) = "yaml:\"sig_verify_cost_secp256k1\""];
    50  }