Class InstanceInfoV0
- Namespace
- Concordium.Sdk.Types
- Assembly
- Concordium.Sdk.dll
Version 0 smart contract instance information.
public sealed record InstanceInfoV0 : IInstanceInfo, IEquatable<InstanceInfoV0>
- Inheritance
-
InstanceInfoV0
- Implements
- Inherited Members
Constructors
InstanceInfoV0(byte[], AccountAddress, CcdAmount, IList<ReceiveName>, ContractName, ModuleReference)
Version 0 smart contract instance information.
public InstanceInfoV0(byte[] Model, AccountAddress Owner, CcdAmount Amount, IList<ReceiveName> Methods, ContractName Name, ModuleReference SourceModule)
Parameters
Modelbyte[]The state of the instance.
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
Model
The state of the instance.
public byte[] Model { get; init; }
Property Value
- byte[]
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; }