Table of Contents

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

PaymentHash string

Lowercase SHA-256 payment hash.

Amount BigInteger

Positive ERC20 atomic amount.

TokenAddress string

ERC20 contract address.

ClaimAddress string

Token recipient.

RefundAddress string

Expired-lock recipient.

TimeoutBlock BigInteger

EVM refund height.

Properties

Amount

Positive ERC20 atomic amount.

public BigInteger Amount { get; init; }

Property Value

BigInteger

ClaimAddress

Token recipient.

public string ClaimAddress { get; init; }

Property Value

string

PaymentHash

Lowercase SHA-256 payment hash.

public string PaymentHash { get; init; }

Property Value

string

RefundAddress

Expired-lock recipient.

public string RefundAddress { get; init; }

Property Value

string

TimeoutBlock

EVM refund height.

public BigInteger TimeoutBlock { get; init; }

Property Value

BigInteger

TokenAddress

ERC20 contract address.

public string TokenAddress { get; init; }

Property Value

string