-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
45 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,13 @@ | ||
use cosmwasm_std::{Addr}; | ||
use cw_storage_plus::{Item, Map}; | ||
|
||
use fields_of_mars::martian_field::{Config, Position, State}; | ||
use fields_of_mars::martian_field::{Config, Position, Snapshot, State}; | ||
|
||
pub const CONFIG: Item<Config> = Item::new("config"); | ||
pub const STATE: Item<State> = Item::new("state"); | ||
pub const POSITION: Map<&Addr, Position> = Map::new("position"); | ||
|
||
pub const CACHED_USER_ADDR: Item<Addr> = Item::new("cached_user_addr"); | ||
|
||
// TODO: delete this | ||
pub const SNAPSHOT: Map<&Addr, Snapshot> = Map::new("snapshot"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters