pendzl_contracts 1.0.2

Reusable implementations of contracts and traits for interaction with them.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright (c) 2024 C Forge. All Rights Reserved.
// SPDX-License-Identifier: MIT
include!("metadata_trait.rs");

#[cfg(all(feature = "psp22_metadata_impl", not(feature = "psp22_vault_impl")))]
mod implementation;

#[cfg(all(
    feature = "psp22_metadata_impl",
    not(feature = "psp22_vault_impl")
))]
pub use implementation::*;

#[cfg(all(feature = "psp22_metadata_impl", feature = "psp22_vault_impl"))]
mod vault_implementation;

#[cfg(all(feature = "psp22_metadata_impl", feature = "psp22_vault_impl"))]
pub use vault_implementation::*;