-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add setup method during contract instantiate
Signed-off-by: Night Owl <[email protected]>
- Loading branch information
1 parent
137e360
commit 2320ccc
Showing
7 changed files
with
103 additions
and
87 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,13 +1,13 @@ | ||
use cosmwasm_std::Addr; | ||
use cw_common::network_address::{NetId, NetworkAddress}; | ||
use cw_storage_plus::Item; | ||
|
||
use cw_common::network_address::{NetId, NetworkAddress}; | ||
|
||
pub const OWNER: Item<Addr> = Item::new("contract_owner"); | ||
|
||
pub const SOURCE_XCALL: Item<String> = Item::new("source_xcall_address"); | ||
pub const X_NETWORK_ADDRESS: Item<NetworkAddress> = Item::new("source_xcall_network_address"); | ||
pub const SOURCE_XCALL: Item<Addr> = Item::new("source_xcall_address"); | ||
pub const X_CALL_NETWORK_ADDRESS: Item<NetworkAddress> = Item::new("source_xcall_network_address"); | ||
pub const NID: Item<NetId> = Item::new("network_id"); | ||
|
||
pub const ICON_ASSET_MANAGER: Item<NetworkAddress> = | ||
Item::new("icon_asset_manager_network_address"); | ||
pub const ICON_ASSET_MANAGER: Item<Addr> = Item::new("icon_asset_manager_network_address"); | ||
pub const ICON_NET_ID: Item<NetId> = Item::new("icon_asset_manager_network_id"); |
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
Oops, something went wrong.