Class InstanceInfoV1
- Namespace
- Concordium.Sdk.Types
- Assembly
- Concordium.Sdk.dll
Version 1 smart contract instance information.
public sealed record InstanceInfoV1 : IInstanceInfo, IEquatable<InstanceInfoV1>
- Inheritance
-
InstanceInfoV1
- Implements
- Inherited Members
Constructors
InstanceInfoV1(AccountAddress, CcdAmount, IList<ReceiveName>, ContractName, ModuleReference)
Version 1 smart contract instance information.
public InstanceInfoV1(AccountAddress Owner, CcdAmount Amount, IList<ReceiveName> Methods, ContractName Name, ModuleReference SourceModule)
Parameters
Owner
AccountAddressThe account address which deployed the instance.
Amount
CcdAmountThe amount of CCD tokens in the balance of the instance.
Methods
IList<ReceiveName>A list of endpoints exposed by the instance.
Name
ContractNameThe name of the smart contract of the instance.
SourceModule
ModuleReferenceThe module reference for the smart contract module of the instance.
Properties
Amount
The amount of CCD tokens in the balance of the instance.
public CcdAmount Amount { get; init; }
Property Value
Methods
A list of endpoints exposed by the instance.
public IList<ReceiveName> Methods { get; init; }
Property Value
Name
The name of the smart contract of the instance.
public ContractName Name { get; init; }
Property Value
Owner
The account address which deployed the instance.
public AccountAddress Owner { get; init; }
Property Value
SourceModule
The module reference for the smart contract module of the instance.
public ModuleReference SourceModule { get; init; }