pub enum BurnError {
    /// Emitted when there are not enough coins owned by the contract to burn.
    NotEnoughCoins: (),
    /// Emitted when attempting to burn zero coins.
    ZeroAmount: (),
}
Expand description

Error log for when something goes wrong when burning assets.

Variants

NotEnoughCoins: ()

Emitted when there are not enough coins owned by the contract to burn.

ZeroAmount: ()

Emitted when attempting to burn zero coins.

Trait Implementations

pub fn abi_encode(self, buffer: Buffer) -> Buffer

pub fn abi_decode(refmut buffer: BufferReader) -> Self