mirror of
https://github.com/status-im/nft-faucet.git
synced 2025-02-23 12:08:32 +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;
|
|
}
|
|
}
|