Show / Hide Table of Contents

Class CurrencyPermissionException

The exception that is thrown when a TransactionSigner has no rights to mint a Currency or burn assets of a Currency.

Inheritance
Object
Exception
CurrencyPermissionException
Implements
ISerializable
Inherited Members
Exception.GetBaseException()
Exception.GetObjectData(SerializationInfo, StreamingContext)
Exception.GetType()
Exception.ToString()
Exception.Data
Exception.HelpLink
Exception.HResult
Exception.InnerException
Exception.Message
Exception.Source
Exception.StackTrace
Exception.TargetSite
Exception.SerializeObjectState
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Namespace: Libplanet.Action
Assembly: Libplanet.dll
Syntax
[Serializable]
public sealed class CurrencyPermissionException : Exception, ISerializable

Constructors

| Improve this Doc View Source

CurrencyPermissionException(Address, Currency, String)

Creates a new CurrencyPermissionException object.

Declaration
public CurrencyPermissionException(Address transactionSigner, Currency currency, string message)
Parameters
Type Name Description
Address transactionSigner

The address of the account who tried to mint or burn assets of a currency. Corresponds to the TransactionSigner property.

Currency currency

The Currency to be tried to be minted or burned by the transactionSigner. Corresponds to the Currency property.

String message

Specifies a Message.

Properties

| Improve this Doc View Source

Currency

The Currency to be tried to be minted or burned by the TransactionSigner.

Declaration
public Currency Currency { get; }
Property Value
Type Description
Currency
| Improve this Doc View Source

TransactionSigner

The address of the account who tried to mint or burn assets of a Currency.

Declaration
public Address TransactionSigner { get; }
Property Value
Type Description
Address

Implements

System.Runtime.Serialization.ISerializable

Extension Methods

ExtractableException.ExtractMetadata(Exception)

See Also

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