Skip to content
This repository has been archived by the owner on Nov 15, 2024. It is now read-only.

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cryptokage1996 committed Sep 17, 2024
1 parent f536ef9 commit e383696
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
3 changes: 0 additions & 3 deletions bindings/src/trade_shield/msg/execute_msg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,6 @@ pub enum ExecuteMsg {
ProcessOrders {},

PerpetualAddCollateral {
creator: String,
id: u64,
amount: Uint128,
owner: String,
},
}
5 changes: 4 additions & 1 deletion contracts/trade-shield-contract/src/entry_point/execute.rs
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,10 @@ pub fn execute(
let resp = process_orders(deps, env)?;
Ok(resp)
}
PerpetualAddCollateral {} => {}
PerpetualAddCollateral { id } => {
let resp = perpetual_add_collateral(info, deps, env, id);
resp
}
}?;

Ok(resp)
Expand Down

0 comments on commit e383696

Please sign in to comment.