diff --git a/contracts/external/dao-voting-incentives/schema/dao-voting-incentives.json b/contracts/external/dao-voting-incentives/schema/dao-voting-incentives.json index 70ef14eda..f2331d18e 100644 --- a/contracts/external/dao-voting-incentives/schema/dao-voting-incentives.json +++ b/contracts/external/dao-voting-incentives/schema/dao-voting-incentives.json @@ -620,7 +620,8 @@ "type": "object", "required": [ "amount", - "denom" + "denom", + "is_claimable" ], "properties": { "amount": { @@ -628,6 +629,9 @@ }, "denom": { "$ref": "#/definitions/CheckedDenom" + }, + "is_claimable": { + "type": "boolean" } }, "additionalProperties": false, diff --git a/contracts/external/dao-voting-incentives/src/msg.rs b/contracts/external/dao-voting-incentives/src/msg.rs index 2b21e0711..72b1a6dd6 100644 --- a/contracts/external/dao-voting-incentives/src/msg.rs +++ b/contracts/external/dao-voting-incentives/src/msg.rs @@ -53,4 +53,5 @@ pub enum MigrateMsg { pub struct RewardResponse { pub denom: CheckedDenom, pub amount: Uint128, + pub is_claimable: bool, } diff --git a/contracts/external/dao-voting-incentives/src/state.rs b/contracts/external/dao-voting-incentives/src/state.rs index 3563e38f6..7688ce408 100644 --- a/contracts/external/dao-voting-incentives/src/state.rs +++ b/contracts/external/dao-voting-incentives/src/state.rs @@ -48,6 +48,7 @@ pub fn reward(deps: Deps, contract: &Addr, addr: &Addr) -> Result { @@ -58,6 +59,7 @@ pub fn reward(deps: Deps, contract: &Addr, addr: &Addr) -> Result