-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1865 from multiversx/token-mappers-read-from-address
token mappers migration to StorageMapperFromAddress
- Loading branch information
Showing
6 changed files
with
438 additions
and
300 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
#![allow(unused)] | ||
|
||
mod error; | ||
mod fungible_token_mapper; | ||
mod non_fungible_token_mapper; | ||
mod token_attributes_mapper; | ||
mod token_mapper; | ||
mod token_mapper_state; | ||
|
||
pub use fungible_token_mapper::FungibleTokenMapper; | ||
pub use non_fungible_token_mapper::NonFungibleTokenMapper; | ||
pub use token_attributes_mapper::TokenAttributesMapper; | ||
pub use token_mapper::StorageTokenWrapper; | ||
pub use token_mapper_state::TokenMapperState; |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
pub(crate) const TOKEN_ID_ALREADY_SET_ERR_MSG: &[u8] = b"Token ID already set"; | ||
pub(crate) const PENDING_ERR_MSG: &[u8] = b"Issue was already called"; | ||
pub(crate) const MUST_SET_TOKEN_ID_ERR_MSG: &[u8] = b"Must issue or set token ID first"; | ||
pub(crate) const INVALID_TOKEN_ID_ERR_MSG: &[u8] = b"Invalid token ID"; | ||
pub(crate) const INVALID_PAYMENT_TOKEN_ERR_MSG: &[u8] = b"Invalid payment token"; |
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.