pub unsafe fn ergo_box_candidate_builder_mint_token(
builder_mut: ErgoBoxCandidateBuilderPtr,
token_ptr: ConstTokenPtr,
token_name: &str,
token_desc: &str,
num_decimals: usize,
) -> Result<(), Error>
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)