2023-09-19 09:51:59 +00:00
|
|
|
|
namespace GethPlugin
|
|
|
|
|
{
|
|
|
|
|
public interface IHasEthAddress
|
|
|
|
|
{
|
2023-09-20 08:13:29 +00:00
|
|
|
|
EthAddress EthAddress { get; }
|
2023-09-19 09:51:59 +00:00
|
|
|
|
}
|
|
|
|
|
|
2023-09-20 08:13:29 +00:00
|
|
|
|
public class EthAddress
|
2023-09-19 09:51:59 +00:00
|
|
|
|
{
|
|
|
|
|
public EthAddress(string address)
|
|
|
|
|
{
|
|
|
|
|
Address = address;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public string Address { get; }
|
2023-10-22 08:10:52 +00:00
|
|
|
|
|
|
|
|
|
public override string ToString()
|
|
|
|
|
{
|
|
|
|
|
return Address;
|
|
|
|
|
}
|
2023-09-19 09:51:59 +00:00
|
|
|
|
}
|
|
|
|
|
}
|