mirror of
https://github.com/onsonr/sonr.git
synced 2025-03-10 21:09:11 +00:00
34 lines
796 B
Protocol Buffer
34 lines
796 B
Protocol Buffer
syntax = "proto3";
|
|
package did.v1;
|
|
|
|
import "gogoproto/gogo.proto";
|
|
import "amino/amino.proto";
|
|
option go_package = "github.com/onsonr/hway/x/did/types";
|
|
|
|
// GenesisState defines the module genesis state
|
|
message GenesisState {
|
|
// Params defines all the paramaters of the module.
|
|
Params params = 1 [(gogoproto.nullable) = false];
|
|
}
|
|
|
|
// Params defines the set of module parameters.
|
|
message Params {
|
|
option (amino.name) = "did/params";
|
|
option (gogoproto.equal) = true;
|
|
option (gogoproto.goproto_stringer) = false;
|
|
|
|
// Property Allowlist
|
|
repeated string property_allowlist = 2;
|
|
|
|
// Whitelisted Verifications
|
|
repeated string whitelisted_origins = 3;
|
|
|
|
// Assertion Reward Rate
|
|
double assertion_reward_rate = 4;
|
|
|
|
// Encryption Reward Rate
|
|
double encryption_reward_rate = 5;
|
|
}
|
|
|
|
|