cs-codex-dist-tests/CodexContractsPlugin/CoreInterfaceExtensions.cs

19 lines
455 B
C#
Raw Normal View History

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