Skip to content

Commit

Permalink
Add proposal type back.
Browse files Browse the repository at this point in the history
  • Loading branch information
Taztingo committed May 3, 2024
1 parent 5a7a607 commit b3287a6
Show file tree
Hide file tree
Showing 4 changed files with 509 additions and 32 deletions.
20 changes: 20 additions & 0 deletions proto/provenance/name/v1/name.proto
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,26 @@ message NameRecord {
bool restricted = 3;
}

// CreateRootNameProposal details a proposal to create a new root name
// that is controlled by a given owner and optionally restricted to the owner
// for the sole creation of sub names.
message CreateRootNameProposal {
option (gogoproto.equal) = false;
option (gogoproto.goproto_getters) = false;
option (gogoproto.goproto_stringer) = false;

// proposal title
string title = 1;
// proposal description
string description = 2;
// the bound name
string name = 3;
// the address the name will resolve to
string owner = 4;
// a flag that indicates if an owner signature is required to add sub-names
bool restricted = 5;
}

// Event emitted when name is bound.
message EventNameBound {
string address = 1;
Expand Down
Loading

0 comments on commit b3287a6

Please sign in to comment.