Show / Hide Table of Contents

Class SupplyOverflowException

The exception thrown when a minter tries to mint a currency such that the resulting total supply exceed the maximum amount.

Inheritance
Object
SupplyOverflowException
Namespace: Libplanet.Action
Assembly: Libplanet.dll
Syntax
public sealed class SupplyOverflowException : Exception

Constructors

| Improve this Doc View Source

SupplyOverflowException(Nullable<String>, FungibleAssetValue)

Creates a new SupplyOverflowException object.

Declaration
public SupplyOverflowException(string? message, FungibleAssetValue amount)
Parameters
Type Name Description
Nullable<String> message

Specifies a .

FungibleAssetValue amount

The attempted amount to be minted. Corresponds to the Amount property.

Properties

| Improve this Doc View Source

Amount

The attempted amount to be minted.

Declaration
public FungibleAssetValue Amount { get; }
Property Value
Type Description
FungibleAssetValue

Methods

| Improve this Doc View Source

GetObjectData(SerializationInfo, StreamingContext)

Declaration
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type Name Description
SerializationInfo info
StreamingContext context

See Also

MintAsset(Address, FungibleAssetValue)
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © 2018–2022 Planetarium