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
OwnerAccountAddressThe account address which deployed the instance.
AmountCcdAmountThe amount of CCD tokens in the balance of the instance.
MethodsIList<ReceiveName>A list of endpoints exposed by the instance.
NameContractNameThe name of the smart contract of the instance.
SourceModuleModuleReferenceThe 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; }