Class Erc20SwapValues
- Namespace
- NArk.ArkadeIntents.Evm
- Assembly
- NArk.ArkadeIntents.dll
The six values identifying one ERC20Swap lock.
public sealed record Erc20SwapValues : IEquatable<Erc20SwapValues>
- Inheritance
-
Erc20SwapValues
- Implements
- Inherited Members
Constructors
Erc20SwapValues(string, BigInteger, string, string, string, BigInteger)
The six values identifying one ERC20Swap lock.
public Erc20SwapValues(string PaymentHash, BigInteger Amount, string TokenAddress, string ClaimAddress, string RefundAddress, BigInteger TimeoutBlock)
Parameters
PaymentHashstringLowercase SHA-256 payment hash.
AmountBigIntegerPositive ERC20 atomic amount.
TokenAddressstringERC20 contract address.
ClaimAddressstringToken recipient.
RefundAddressstringExpired-lock recipient.
TimeoutBlockBigIntegerEVM refund height.
Properties
Amount
Positive ERC20 atomic amount.
public BigInteger Amount { get; init; }
Property Value
ClaimAddress
Token recipient.
public string ClaimAddress { get; init; }
Property Value
PaymentHash
Lowercase SHA-256 payment hash.
public string PaymentHash { get; init; }
Property Value
RefundAddress
Expired-lock recipient.
public string RefundAddress { get; init; }
Property Value
TimeoutBlock
EVM refund height.
public BigInteger TimeoutBlock { get; init; }
Property Value
TokenAddress
ERC20 contract address.
public string TokenAddress { get; init; }