The Erc1155
contract is a Rust implementation for an ERC1155-like token on the MultiversX blockchain, providing functionalities for managing fungible and non-fungible tokens (NFTs) with ESDT. It includes methods for token creation, transfer, minting, burning, deposit, and withdrawal, among other features.
init(accepted_tokens: MultiValueEncoded<EgldOrEsdtTokenIdentifier>)
create_token(initial_supply: BigUint, is_fungible: bool) -> BigUint
mint(type_id: BigUint, amount: BigUint)
burn(type_id: BigUint, amount: BigUint)
safe_transfer_from(from: ManagedAddress, to: ManagedAddress, type_id: BigUint, value: BigUint, data: &ManagedBuffer)
batch_transfer_from(from: ManagedAddress, to: ManagedAddress, type_ids: &ManagedVec<BigUint>, values: &ManagedVec<BigUint>, data: ManagedBuffer)
deposit(address: Address)