#[no_mangle]
pub unsafe extern "C" fn ergo_lib_ergo_box_candidate_builder_mint_token(
builder_mut: ErgoBoxCandidateBuilderPtr,
token_ptr: ConstTokenPtr,
token_name: *const c_char,
token_desc: *const c_char,
num_decimals: usize
)
Expand description
Mint token, as defined in https://github.com/ergoplatform/eips/blob/master/eip-0004.md
token
- token id(box id of the first input box in transaction) and token amount,
token_name
- token name (will be encoded in R4),
token_desc
- token description (will be encoded in R5),
num_decimals
- number of decimals (will be encoded in R6)