19 lines
455 B
C#
Raw Normal View History

2023-09-15 16:27:08 +02:00
using Core;
using GethPlugin;
namespace CodexContractsPlugin
{
public static class CoreInterfaceExtensions
{
2023-09-19 10:24:43 +02:00
public static ICodexContracts DeployCodexContracts(this CoreInterface ci, IGethNode gethNode)
2023-09-15 16:27:08 +02:00
{
return Plugin(ci).DeployContracts(gethNode);
}
private static CodexContractsPlugin Plugin(CoreInterface ci)
{
return ci.GetPlugin<CodexContractsPlugin>();
}
}
}