Skip to content

Commit

Permalink
Add orch payable flag to dao-voting-token-staked stake
Browse files Browse the repository at this point in the history
  • Loading branch information
ismellike authored and Jake Hartnell committed Aug 14, 2024
1 parent 713366d commit 79f7052
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions contracts/voting/dao-voting-token-staked/src/msg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ pub struct InstantiateMsg {
#[derive(cw_orch::ExecuteFns)]
pub enum ExecuteMsg {
/// Stakes tokens with the contract to get voting power in the DAO
#[cw_orch(payable)]
Stake {},
/// Unstakes tokens so that they begin unbonding
Unstake { amount: Uint128 },
Expand Down

0 comments on commit 79f7052

Please sign in to comment.