pub fn encode_update_minting_ability_script(
) -> Script
Script to allow or disallow minting of new coins in a specified currency. This transaction can only be sent by the Treasury Compliance account. Turning minting off for a currency will have no effect on coins already in circulation, and coins may still be removed from the system.
This transaction sets the
can_mint field of the
0xA550C18 to the value of
allow_minting. Minting of coins if allowed if
this field is set to
true and minting of new coins in
Currency is disallowed otherwise.
This transaction needs to be sent by the Treasury Compliance account.
|Type||The Move type for the |
|Signer reference of the sending account. Must be the Libra Root account.|
|Whether to allow minting of new coins in |
|Error Category||Error Reason||Description|