Skip to content

Commit

Permalink
Add cancelled time field
Browse files Browse the repository at this point in the history
  • Loading branch information
udpatil committed Apr 20, 2023
1 parent e59b562 commit fed5b6d
Show file tree
Hide file tree
Showing 2 changed files with 74 additions and 41 deletions.
2 changes: 2 additions & 0 deletions proto/cosmos/vesting/v1beta1/vesting.proto
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ message BaseVestingAccount {
int64 end_time = 5 [(gogoproto.moretags) = "yaml:\"end_time\""];
// admin field (optional), an address who has oversight powers for the vesting account such as cancelling
string admin = 6 [(gogoproto.moretags) = "yaml:\"admin\""];
// this field (default nil) indicates whether the vesting for the account has been cancelled (and what time it was cancelled)
int64 cancelled_time = 7 [(gogoproto.moretags) = "yaml:\"cancelled_time\""];
}

// ContinuousVestingAccount implements the VestingAccount interface. It
Expand Down
113 changes: 72 additions & 41 deletions x/auth/vesting/types/vesting.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit fed5b6d

Please sign in to comment.