Skip to content

Commit

Permalink
docs(vesting): add documentation on cliff attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
bdeneux committed Jun 4, 2024
1 parent 784f81b commit 2ba73c5
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions proto/vesting/v1beta1/tx.proto
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ message MsgCreateCliffVestingAccount {
];

int64 end_time = 4;
// cliff time as unix time (in seconds) is the time at which the first portion of the vesting is unlocked.
int64 cliff_time = 5;
}

Expand Down
1 change: 1 addition & 0 deletions proto/vesting/v1beta1/vesting.proto
Original file line number Diff line number Diff line change
Expand Up @@ -108,5 +108,6 @@ message CliffVestingAccount {
BaseVestingAccount base_vesting_account = 1 [(gogoproto.embed) = true];
// start_time defines the time at which the vesting period begins
int64 start_time = 2;
// cliff_time defines the time at which the first portion of the vesting is unlocked
int64 cliff_time = 3;
}
3 changes: 2 additions & 1 deletion x/vesting/types/tx.pb.go

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

1 change: 1 addition & 0 deletions x/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 2ba73c5

Please sign in to comment.