mirror of
https://github.com/status-im/nft-faucet.git
synced 2025-02-24 04:28:29 +00:00
19 lines
467 B
C#
19 lines
467 B
C#
using System.Numerics;
|
|
using Nethereum.ABI.FunctionEncoding.Attributes;
|
|
using NftFaucet.Attributes;
|
|
|
|
namespace NftFaucet.Models.Function;
|
|
|
|
[Function("mint"), FunctionHash("0xd3fc9864")]
|
|
public class Erc1155MintFunction : Function
|
|
{
|
|
[Parameter("address", "to", 1)]
|
|
public string To { get; set; }
|
|
|
|
[Parameter("uint256", "amount", 2)]
|
|
public BigInteger Amount { get; set; }
|
|
|
|
[Parameter("string", "tokenUri", 3)]
|
|
public string Uri { get; set; }
|
|
}
|