Class CurrencyPermissionException
The exception that is thrown when a TransactionSigner has no rights to mint a Currency or burn assets of a Currency.
Namespace: Libplanet.Action
Assembly: Libplanet.dll
Syntax
public sealed class CurrencyPermissionException : Exception
Constructors
| Improve this Doc View SourceCurrencyPermissionException(Address, Currency, Nullable<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 | currency | The Currency to be tried to be minted
or burned by the |
Nullable<String> | message | Specifies a |
Properties
| Improve this Doc View SourceCurrency
The Currency to be tried to be minted or burned by the TransactionSigner.
Declaration
public Currency Currency { get; }
Property Value
Type | Description |
---|---|
Currency |
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 |