mirror of
https://github.com/status-im/nft-faucet.git
synced 2025-02-24 12:38:30 +00:00
16 lines
342 B
C#
16 lines
342 B
C#
|
namespace NftFaucet.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;
|
||
|
}
|
||
|
}
|