public static Address GetAddressForNative(NativeContractKind kind) { return(GetAddressForName(kind.GetName())); }
public static IContract GetContract(this IRuntime runtime, NativeContractKind nativeContract) { return(runtime.GetContract(nativeContract.GetName())); }
public static Address GetContractAddress(this IRuntime runtime, NativeContractKind nativeContract) { return(Address.FromHash(nativeContract.GetName())); }
public static VMObject CallContext(this IRuntime runtime, NativeContractKind nativeContract, string methodName, params object[] args) { return(runtime.CallContext(nativeContract.GetName(), methodName, args)); }