multiversx_chain_vm/world_mock/
esdt_instance_metadata.rs

1
2
3
4
5
6
7
8
9
10
11
12
use crate::types::VMAddress;

/// Holds the data for a MultiversX standard digital token transaction
#[derive(Clone, Default, Debug)]
pub struct EsdtInstanceMetadata {
    pub name: Vec<u8>,
    pub creator: Option<VMAddress>,
    pub royalties: u64,
    pub hash: Option<Vec<u8>>,
    pub uri: Vec<Vec<u8>>,
    pub attributes: Vec<u8>,
}