30 lines
717 B
C#
30 lines
717 B
C#
using System.Numerics;
|
|
using Nethereum.ABI.FunctionEncoding.Attributes;
|
|
using Nethereum.Contracts;
|
|
|
|
namespace Managing.Infrastructure.Evm.Contracts;
|
|
|
|
public class TokenStakesFunction : FunctionMessage
|
|
{
|
|
[Parameter("address", "_user", 1)]
|
|
public string User { get; set; }
|
|
}
|
|
|
|
public class TokenStakesOutputDTO : FunctionOutputDTO
|
|
{
|
|
[Parameter("uint256", "", 1)]
|
|
public BigInteger ReturnValue1 { get; set; }
|
|
}
|
|
|
|
public class GetUserStakedNftsFunction : FunctionMessage
|
|
{
|
|
[Parameter("address", "_user", 1)]
|
|
public string User { get; set; }
|
|
}
|
|
|
|
public class GetUserStakedNftsOutputDTO : FunctionOutputDTO
|
|
{
|
|
[Parameter("uint256[]", "", 1)]
|
|
public List<BigInteger> ReturnValue1 { get; set; }
|
|
}
|