multiversx_sc_modules/bonding_curve/utils/
storage.rsmultiversx_sc::imports!();
multiversx_sc::derive_imports!();
use super::structs::TokenOwnershipData;
#[multiversx_sc::module]
pub trait StorageModule {
#[storage_mapper("token_details")]
fn token_details(
&self,
token: &TokenIdentifier,
) -> SingleValueMapper<TokenOwnershipData<Self::Api>>;
#[storage_mapper("bonding_curve")]
fn bonding_curve(&self, token: &TokenIdentifier) -> SingleValueMapper<ManagedBuffer>;
#[storage_mapper("owned_tokens")]
fn owned_tokens(&self, owner: &ManagedAddress) -> SetMapper<TokenIdentifier>;
#[storage_mapper("nonce_amount")]
fn nonce_amount(&self, identifier: &TokenIdentifier, nonce: u64) -> SingleValueMapper<BigUint>;
}