mirror of
https://github.com/logos-storage/logos-storage-nim-cs-dist-tests.git
synced 2026-01-03 05:53:12 +00:00
27 lines
715 B
C#
27 lines
715 B
C#
using Nethereum.Hex.HexConvertors.Extensions;
|
|
using Utils;
|
|
|
|
namespace CodexContractsPlugin.ChainMonitor
|
|
{
|
|
public class PeriodRequiredProof
|
|
{
|
|
public PeriodRequiredProof(EthAddress host, IChainStateRequest request, int slotIndex, byte[] slotId)
|
|
{
|
|
Host = host;
|
|
Request = request;
|
|
SlotIndex = slotIndex;
|
|
SlotId = slotId;
|
|
}
|
|
|
|
public EthAddress Host { get; }
|
|
public IChainStateRequest Request { get; }
|
|
public int SlotIndex { get; }
|
|
public byte[] SlotId { get; }
|
|
|
|
public string Describe()
|
|
{
|
|
return $"{Request.RequestId.ToHex()} slotIndex:{SlotIndex} by {Host}";
|
|
}
|
|
}
|
|
}
|