Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modules in Mapping. #38

Closed
zie1ony opened this issue Aug 17, 2022 · 1 comment
Closed

Modules in Mapping. #38

zie1ony opened this issue Aug 17, 2022 · 1 comment
Labels
feature Full feature description

Comments

@zie1ony
Copy link
Contributor

zie1ony commented Aug 17, 2022

It should be possible to use a module or another mapping as a mapping's value.

Example:

use odra::modules::tokens::ERC20;

#[odra::module]
struct Contract {
    tokens: Mapping<String, ERC20>,
    nested: Mapping<String, Mapping<u32, u64>>
}
@zie1ony zie1ony added the feature Full feature description label Aug 17, 2022
@zie1ony zie1ony added this to the Release 0.3.0 milestone Aug 17, 2022
@kpob kpob mentioned this issue Mar 29, 2023
@ghost
Copy link

ghost commented May 21, 2023

Any ETA for 0.2.1 release?

@kpob kpob closed this as completed Jun 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Full feature description
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants