pub fn encode_burn_script(
    token: TypeTag,
    sliding_nonce: u64,
    preburn_address: AccountAddress,
) -> Script {
    Script::new(
        BURN_CODE.to_vec(),
        vec![token],
        vec![
            TransactionArgument::U64(sliding_nonce),
            TransactionArgument::Address(preburn_address),
        ],
    )
}
/// Permanently destroy the `Token`s stored in the oldest burn request under the `Preburn` resource.
/// This will only succeed if `account` has a `MintCapability<Token>`, a `Preburn<Token>` resource
/// exists under `preburn_address`, and there is a pending burn request.
/// sliding_nonce is a unique nonce for operation, see sliding_nonce.move for details
Permanently destroy the `Token`s stored in the oldest burn request under the `Preburn` resource.
Permanently destroy the ` Token ` s stored in the oldest burn request under the ` Preburn ` resource .
pub fn encode_burn_script(
    token: TypeTag,
    sliding_nonce: u64,
    preburn_address: AccountAddress,
) -> Script {
    Script::new(
        BURN_CODE.to_vec(),
        vec![token],
        vec![
            TransactionArgument::U64(sliding_nonce),
            TransactionArgument::Address(preburn_address),
        ],
    )
}
pub fn encode_burn_script ( token : TypeTag , sliding_nonce : u64 , preburn_address : AccountAddress , ) -> Script { Script :: new ( BURN_CODE . to_vec ( ) , vec ! [ token ] , vec ! [ TransactionArgument U64 ( sliding_nonce ) TransactionArgument Address ( preburn_address ) ] , ) }
Permanently destroy the `Token`s stored in the oldest burn request under the `Preburn` resource.
Permanently destroy the ` Token ` s stored in the oldest burn request under the ` Preburn ` resource .
token
TypeTag
sliding_nonce
u64
preburn_address
AccountAddress
token
TypeTag
sliding_nonce
u64
preburn_address
AccountAddress