nft-faucet/NftFaucetRadzen/Attributes/FunctionHashAttribute.cs
Ivan Yaremenchuk 2d151db33e Add minting
2022-09-20 21:05:08 -05:00

16 lines
348 B
C#

namespace NftFaucetRadzen.Attributes;
[AttributeUsage(AttributeTargets.Class)]
public class FunctionHashAttribute : Attribute
{
public string Hash { get; set; }
public FunctionHashAttribute(string hash)
{
if (string.IsNullOrEmpty(hash))
throw new ArgumentNullException(nameof(hash));
Hash = hash;
}
}