Some checks failed
Build SimApp / build (amd64) (push) Waiting to run
Build SimApp / build (arm64) (push) Waiting to run
CodeQL / Analyze (push) Waiting to run
Build & Push / build (push) Waiting to run
Run Gosec / Gosec (push) Waiting to run
Lint / golangci-lint (push) Waiting to run
Checks dependencies and mocks generation / Check go mod tidy (push) Waiting to run
Checks dependencies and mocks generation / Check up to date mocks (push) Waiting to run
System Tests / setup (push) Waiting to run
System Tests / test-system (push) Blocked by required conditions
System Tests / test-system-legacy (push) Blocked by required conditions
Tests / Code Coverage / split-test-files (push) Waiting to run
Tests / Code Coverage / tests (00) (push) Blocked by required conditions
Tests / Code Coverage / tests (01) (push) Blocked by required conditions
Tests / Code Coverage / tests (02) (push) Blocked by required conditions
Tests / Code Coverage / tests (03) (push) Blocked by required conditions
Tests / Code Coverage / test-integration (push) Waiting to run
Tests / Code Coverage / test-e2e (push) Waiting to run
Tests / Code Coverage / repo-analysis (push) Blocked by required conditions
Tests / Code Coverage / test-sim-nondeterminism (push) Waiting to run
Tests / Code Coverage / test-clientv2 (push) Waiting to run
Tests / Code Coverage / test-core (push) Waiting to run
Tests / Code Coverage / test-depinject (push) Waiting to run
Tests / Code Coverage / test-errors (push) Waiting to run
Tests / Code Coverage / test-math (push) Waiting to run
Tests / Code Coverage / test-schema (push) Waiting to run
Tests / Code Coverage / test-collections (push) Waiting to run
Tests / Code Coverage / test-cosmovisor (push) Waiting to run
Tests / Code Coverage / test-confix (push) Waiting to run
Tests / Code Coverage / test-store (push) Waiting to run
Tests / Code Coverage / test-log (push) Waiting to run
Tests / Code Coverage / test-x-tx (push) Waiting to run
Tests / Code Coverage / test-x-nft (push) Waiting to run
Tests / Code Coverage / test-x-circuit (push) Waiting to run
Tests / Code Coverage / test-x-feegrant (push) Waiting to run
Tests / Code Coverage / test-x-evidence (push) Waiting to run
Tests / Code Coverage / test-x-upgrade (push) Waiting to run
Tests / Code Coverage / test-tools-benchmark (push) Waiting to run
Build & Push SDK Proto Builder / build (push) Has been cancelled
62 lines
2.5 KiB
Protocol Buffer
62 lines
2.5 KiB
Protocol Buffer
syntax = "proto3";
|
|
package cosmos.auth.v1beta1;
|
|
|
|
import "amino/amino.proto";
|
|
import "cosmos_proto/cosmos.proto";
|
|
import "gogoproto/gogo.proto";
|
|
import "google/protobuf/any.proto";
|
|
|
|
option go_package = "github.com/cosmos/cosmos-sdk/x/auth/types";
|
|
|
|
// BaseAccount defines a base account type. It contains all the necessary fields
|
|
// for basic account functionality. Any custom account type should extend this
|
|
// type for additional functionality (e.g. vesting).
|
|
message BaseAccount {
|
|
option (amino.name) = "cosmos-sdk/BaseAccount";
|
|
option (gogoproto.goproto_getters) = false;
|
|
option (gogoproto.equal) = false;
|
|
|
|
option (cosmos_proto.implements_interface) = "cosmos.auth.v1beta1.AccountI";
|
|
|
|
string address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"];
|
|
|
|
google.protobuf.Any pub_key = 2 [(gogoproto.jsontag) = "public_key,omitempty", (amino.field_name) = "public_key"];
|
|
|
|
uint64 account_number = 3;
|
|
uint64 sequence = 4;
|
|
}
|
|
|
|
// ModuleAccount defines an account for modules that holds coins on a pool.
|
|
message ModuleAccount {
|
|
option (amino.name) = "cosmos-sdk/ModuleAccount";
|
|
option (amino.message_encoding) = "module_account";
|
|
option (gogoproto.goproto_getters) = false;
|
|
option (cosmos_proto.implements_interface) = "cosmos.auth.v1beta1.ModuleAccountI";
|
|
|
|
BaseAccount base_account = 1 [(gogoproto.embed) = true];
|
|
string name = 2;
|
|
repeated string permissions = 3;
|
|
}
|
|
|
|
// ModuleCredential represents a unclaimable pubkey for base accounts controlled by modules.
|
|
message ModuleCredential {
|
|
option (amino.name) = "cosmos-sdk/GroupAccountCredential";
|
|
option (cosmos_proto.message_added_in) = "cosmos-sdk 0.47";
|
|
// module_name is the name of the module used for address derivation (passed into address.Module).
|
|
string module_name = 1;
|
|
// derivation_keys is for deriving a module account address (passed into address.Module)
|
|
// adding more keys creates sub-account addresses (passed into address.Derive)
|
|
repeated bytes derivation_keys = 2;
|
|
}
|
|
|
|
// Params defines the parameters for the auth module.
|
|
message Params {
|
|
option (amino.name) = "cosmos-sdk/x/auth/Params";
|
|
option (gogoproto.equal) = true;
|
|
|
|
uint64 max_memo_characters = 1;
|
|
uint64 tx_sig_limit = 2;
|
|
uint64 tx_size_cost_per_byte = 3;
|
|
uint64 sig_verify_cost_ed25519 = 4 [(gogoproto.customname) = "SigVerifyCostED25519"];
|
|
uint64 sig_verify_cost_secp256k1 = 5 [(gogoproto.customname) = "SigVerifyCostSecp256k1"];
|
|
}
|