Table of Contents

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

Model byte[]

The state of the instance.

Owner AccountAddress

The account address which deployed the instance.

Amount CcdAmount

The amount of CCD tokens in the balance of the instance.

Methods IList<ReceiveName>

A list of endpoints exposed by the instance.

Name ContractName

The name of the smart contract of the instance.

SourceModule ModuleReference

The 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

CcdAmount

Methods

A list of endpoints exposed by the instance.

public IList<ReceiveName> Methods { get; init; }

Property Value

IList<ReceiveName>

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

ContractName

Owner

The account address which deployed the instance.

public AccountAddress Owner { get; init; }

Property Value

AccountAddress

SourceModule

The module reference for the smart contract module of the instance.

public ModuleReference SourceModule { get; init; }

Property Value

ModuleReference