Table of Contents

Class Transaction.CreateContract

Namespace
Virtufin.Base
Assembly
Virtufin.Base.dll

Create a new contract.

public sealed record Transaction.CreateContract : Transaction, ITransaction, IEquatable<ITransaction>, IEquatable<Transaction>, IEquatable<Transaction.CreateContract>
Inheritance
Transaction.CreateContract
Implements
Inherited Members

Constructors

CreateContract(ContractIdentifier, ContractParameters)

Construct a create-contract transaction.

public CreateContract(ContractIdentifier id, ContractParameters parameters)

Parameters

id ContractIdentifier
parameters ContractParameters

Properties

Id

The new contract's identifier.

public ContractIdentifier Id { get; }

Property Value

ContractIdentifier

Parameters

Parameters for the new contract.

public ContractParameters Parameters { get; }

Property Value

ContractParameters

RelatedContract

The contract this transaction targets, or null for transactions that do not target a single contract (e.g. atomic groups).

public override IContractIdentifier? RelatedContract { get; }

Property Value

IContractIdentifier