mirror of
https://github.com/sonr-io/sonr.git
synced 2026-08-02 17:31:39 +00:00
(no commit message provided)
This commit is contained in:
committed by
Prad Nukala (aider)
parent
9b93e39a30
commit
ae35fcee58
@@ -17,17 +17,56 @@ message Params {
|
||||
option (gogoproto.equal) = true;
|
||||
option (gogoproto.goproto_stringer) = false;
|
||||
|
||||
// Property Allowlist
|
||||
repeated string property_allowlist = 2;
|
||||
// Whitelisted Assets
|
||||
repeated AssetInfo whitelisted_assets = 1;
|
||||
|
||||
// Whitelisted Verifications
|
||||
repeated string whitelisted_origins = 3;
|
||||
// Whitelisted Blockchains
|
||||
repeated ChainInfo whitelisted_chains = 2;
|
||||
}
|
||||
|
||||
// Assertion Reward Rate
|
||||
double assertion_reward_rate = 4;
|
||||
|
||||
// Encryption Reward Rate
|
||||
double encryption_reward_rate = 5;
|
||||
// Meta represents
|
||||
message Meta {
|
||||
option (amino.name) = "did/meta";
|
||||
option (gogoproto.equal) = true;
|
||||
option (gogoproto.goproto_stringer) = false;
|
||||
|
||||
// Key value data for the Property
|
||||
map<string, string> data = 1;
|
||||
}
|
||||
|
||||
|
||||
message AssetInfo {
|
||||
string denom = 1;
|
||||
string asset_type = 2;
|
||||
string origin_chain = 3;
|
||||
string origin_denom = 4;
|
||||
string origin_type = 5;
|
||||
string symbol = 6;
|
||||
int32 decimals = 7;
|
||||
string description = 8;
|
||||
string image = 9;
|
||||
string coinGeckoId = 10;
|
||||
bool enable = 11;
|
||||
string path = 12;
|
||||
string channel = 13;
|
||||
string port = 14;
|
||||
Meta counter_party = 15;
|
||||
}
|
||||
|
||||
message ChainInfo {
|
||||
string chain_id_cosmos = 1;
|
||||
string chain_name = 2;
|
||||
string symbol = 3;
|
||||
string bechAccountPrefix = 4;
|
||||
string bechValidatorPrefix = 5;
|
||||
string origin_genesis_time = 6;
|
||||
repeated Meta accountType = 7;
|
||||
repeated Meta grpc_endpoint = 8;
|
||||
repeated Meta lcd_endpoint = 9;
|
||||
Meta explorer = 10;
|
||||
string fee_base = 11;
|
||||
repeated string fee_rate = 12;
|
||||
int32 fee_init_gas_limit = 13;
|
||||
bool fee_isSimulable = 14;
|
||||
double simul_gas_multiply = 15;
|
||||
}
|
||||
|
||||
@@ -11,6 +11,7 @@ message Aliases {
|
||||
option (cosmos.orm.v1.table) = {
|
||||
id: 1
|
||||
primary_key: {fields: "id"}
|
||||
index: { id: 1, fields: "handle", unique: true }
|
||||
};
|
||||
|
||||
// The unique identifier of the alias
|
||||
|
||||
@@ -16,8 +16,8 @@ service Msg {
|
||||
// Since: cosmos-sdk 0.47
|
||||
rpc UpdateParams(MsgUpdateParams) returns (MsgUpdateParamsResponse);
|
||||
|
||||
// InitializeController initializes a controller with the given assertions, keyshares, and verifications.
|
||||
rpc InitializeController(MsgInitializeController) returns (MsgInitializeControllerResponse);
|
||||
// RegisterController initializes a controller with the given authentication set, address, cid, publicKey, and user-defined alias.
|
||||
rpc RegisterController(MsgInitializeController) returns (MsgInitializeControllerResponse);
|
||||
|
||||
// AuthenticateController asserts the given controller is the owner of the given address.
|
||||
rpc AuthenticateController(MsgAuthenticateController) returns (MsgAuthenticateControllerResponse);
|
||||
|
||||
@@ -1,16 +1,17 @@
|
||||
// Copyright Tharsis Labs Ltd.(Evmos)
|
||||
// SPDX-License-Identifier:ENCL-1.0(https://github.com/evmos/evmos/blob/main/LICENSE)
|
||||
syntax = "proto3";
|
||||
|
||||
package did.v1;
|
||||
|
||||
import "cosmos_proto/cosmos.proto";
|
||||
import "gogoproto/gogo.proto";
|
||||
import "cosmos/msg/v1/msg.proto";
|
||||
import "did/v1/genesis.proto";
|
||||
import "gogoproto/gogo.proto";
|
||||
import "cosmos_proto/cosmos.proto";
|
||||
|
||||
option go_package = "github.com/onsonr/hway/x/did/types";
|
||||
|
||||
// DIDDocument defines a DID document
|
||||
message DIDDocument {
|
||||
|
||||
// BaseDocument defines a DID document
|
||||
message BaseDocument {
|
||||
string id = 1;
|
||||
repeated VerificationMethod verification_methods = 2;
|
||||
repeated string authentication = 4;
|
||||
Reference in New Issue
Block a user