Skip to content

Commit

Permalink
Comments
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeHartnell committed Dec 12, 2023
1 parent 6ce1d27 commit ae7892c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion contracts/external/cw-vesting/schema/cw-vesting.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
],
"properties": {
"dao_staking": {
"description": "TODO support limits for native staked tokens as well? Optionally enabling this vesting contract to stake in token DAOs. Set to None if vesting a native token.",
"description": "Optionally enabling this vesting contract to stake in token DAOs. Set to None if vesting a native staking token.",
"anyOf": [
{
"$ref": "#/definitions/DaoStakingLimits"
Expand Down
5 changes: 3 additions & 2 deletions contracts/external/cw-vesting/src/msg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,10 @@ pub struct InstantiateMsg {
/// The type and denom of token being vested.
pub denom: UncheckedDenom,

/// TODO support limits for native staked tokens as well?
// TODO maybe rename this... right now it's just an allowlist of staking contracts
// if DAO staking is enabled, this contract will be allowed to stake with these contracts.
/// Optionally enabling this vesting contract to stake in token DAOs.
/// Set to None if vesting a native token.
/// Set to None if vesting a native staking token.
pub dao_staking: Option<DaoStakingLimits>,

/// The vesting schedule, can be either `SaturatingLinear` vesting
Expand Down

0 comments on commit ae7892c

Please sign in to comment.