Table of Contents

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 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>

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