Class EvmSwapMetadata
- Namespace
- NArk.ArkadeIntents.Models
- Assembly
- NArk.ArkadeIntents.dll
Recovery data and immutable public tuple for an Arkade-to-EVM leg.
public sealed record EvmSwapMetadata : IEquatable<EvmSwapMetadata>
- Inheritance
-
EvmSwapMetadata
- Implements
- Inherited Members
Constructors
EvmSwapMetadata(string, string, string, string, string, string, string)
Recovery data and immutable public tuple for an Arkade-to-EVM leg.
public EvmSwapMetadata(string Preimage, string Amount, string TokenAddress, string ClaimAddress, string RefundAddress, string TimeoutBlock, string SwapContractAddress)
Parameters
PreimagestringClient secret, lowercase hex. The host must protect SDK storage at rest.
AmountstringERC20 atomic output.
TokenAddressstringERC20 contract.
ClaimAddressstringMerchant destination.
RefundAddressstringExpired EVM lock destination.
TimeoutBlockstringEVM refund height.
SwapContractAddressstringConfigured ERC20Swap contract.
Properties
Amount
ERC20 atomic output.
public string Amount { get; init; }
Property Value
ClaimAddress
Merchant destination.
public string ClaimAddress { get; init; }
Property Value
Preimage
Client secret, lowercase hex. The host must protect SDK storage at rest.
public string Preimage { get; init; }
Property Value
RefundAddress
Expired EVM lock destination.
public string RefundAddress { get; init; }
Property Value
SwapContractAddress
Configured ERC20Swap contract.
public string SwapContractAddress { get; init; }
Property Value
TimeoutBlock
EVM refund height.
public string TimeoutBlock { get; init; }
Property Value
TokenAddress
ERC20 contract.
public string TokenAddress { get; init; }