Skip to content

Commit

Permalink
Cw-tutorial funds (#206)
Browse files Browse the repository at this point in the history
  • Loading branch information
jawoznia authored Dec 19, 2024
2 parents 3c554cd + 3a36292 commit 6f77cc4
Show file tree
Hide file tree
Showing 3 changed files with 501 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/pages/tutorial/cw-contract/_meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
"multitest-introduction": "Multitest introduction",
"state": "Storing state",
"execution": "Execution messages",
"event": "Passing events"
"event": "Passing events",
"funds": "Handling funds"
}
5 changes: 3 additions & 2 deletions src/pages/tutorial/cw-contract/execution.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,11 @@ And implement execute handling:
<Tabs.Tab>

```rust filename="src/contract.rs"
use crate::error::ContractError;
use crate::msg::{ExecuteMsg, GreetResp, InstantiateMsg, QueryMsg};
use crate::state::ADMINS;
use cosmwasm_std::{to_json_binary, Binary, Deps, DepsMut, Env, MessageInfo, Response, StdResult};
use cosmwasm_std::{
to_json_binary, Binary, Deps, DepsMut, Env, MessageInfo, Response, StdError, StdResult,
};
use cw_storey::CwStorage;

// ...
Expand Down
Loading

0 comments on commit 6f77cc4

Please sign in to comment.