From ae7892c7e16cf509b2929072b2d857b0aa699c27 Mon Sep 17 00:00:00 2001 From: Jake Hartnell Date: Mon, 11 Dec 2023 16:58:39 -0800 Subject: [PATCH] Comments --- contracts/external/cw-vesting/schema/cw-vesting.json | 2 +- contracts/external/cw-vesting/src/msg.rs | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/contracts/external/cw-vesting/schema/cw-vesting.json b/contracts/external/cw-vesting/schema/cw-vesting.json index 9c9b408d7..1978456da 100644 --- a/contracts/external/cw-vesting/schema/cw-vesting.json +++ b/contracts/external/cw-vesting/schema/cw-vesting.json @@ -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" diff --git a/contracts/external/cw-vesting/src/msg.rs b/contracts/external/cw-vesting/src/msg.rs index c8a8dc12f..af6e196f6 100644 --- a/contracts/external/cw-vesting/src/msg.rs +++ b/contracts/external/cw-vesting/src/msg.rs @@ -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, /// The vesting schedule, can be either `SaturatingLinear` vesting