terp721

Crates.ioterp721
lib.rsterp721
version0.1.0
sourcesrc
created_at2023-12-07 09:11:36.846856
updated_at2023-12-07 09:11:36.846856
descriptionTerp Basic NFT Collection Interface
homepagehttps://terp.network
repositoryhttps://github.com/terpnetwork/core-cosmwasm
max_upload_size
id1060836
size6,862
(discoverdefiteam)

documentation

README

TERP-721

TERP-721 is a cw721-compatible spec that adds on-chain contract metadata, including residuals.

pub struct CollectionInfo<T> {
    pub creator: String,
    pub description: String,
    pub image: String,
    pub external_link: Option<String>,
    pub trading_start_time: Option<Timestamp>,
    pub residual_info: Option<T>,
}

pub struct ResidualInfo {
    pub payment_address: Addr,
    pub share: Decimal,
}

The above is set when the contract is instantiated. The contract inherits everything else from cw721-base.

Commit count: 9

cargo fmt