Function contract::mint::mint

source · []
#[no_mangle]
pub extern "C" fn mint()
Expand description

Mint Entrypoint of the contract

Gets runtime args from input, creates or gets the metadata from contract state, creates or modifies a holder_id and adds the amount to them

Returns

token_id : u64

Emits :

DropLinkedEvent::Mint