mirror of
https://github.com/status-im/nft-faucet.git
synced 2025-02-25 04:55:33 +00:00
16 lines
348 B
C#
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;
|
|
}
|
|
}
|