Table of Contents

Class AccountTransactionEffects

Namespace
Concordium.Grpc.V2
Assembly
Concordium.Sdk.dll

Effects of an account transaction. All variants except None correspond to a unique transaction that was successful.

public sealed class AccountTransactionEffects : IMessage<AccountTransactionEffects>, IEquatable<AccountTransactionEffects>, IDeepCloneable<AccountTransactionEffects>, IBufferMessage, IMessage
Inheritance
AccountTransactionEffects
Implements
IBufferMessage
IMessage
Inherited Members

Constructors

AccountTransactionEffects()

public AccountTransactionEffects()

AccountTransactionEffects(AccountTransactionEffects)

public AccountTransactionEffects(AccountTransactionEffects other)

Parameters

other AccountTransactionEffects

Fields

AccountTransferFieldNumber

Field number for the "account_transfer" field.

public const int AccountTransferFieldNumber = 5

Field Value

int

BakerAddedFieldNumber

Field number for the "baker_added" field.

public const int BakerAddedFieldNumber = 6

Field Value

int

BakerConfiguredFieldNumber

Field number for the "baker_configured" field.

public const int BakerConfiguredFieldNumber = 18

Field Value

int

BakerKeysUpdatedFieldNumber

Field number for the "baker_keys_updated" field.

public const int BakerKeysUpdatedFieldNumber = 10

Field Value

int

BakerRemovedFieldNumber

Field number for the "baker_removed" field.

public const int BakerRemovedFieldNumber = 7

Field Value

int

BakerRestakeEarningsUpdatedFieldNumber

Field number for the "baker_restake_earnings_updated" field.

public const int BakerRestakeEarningsUpdatedFieldNumber = 9

Field Value

int

BakerStakeUpdatedFieldNumber

Field number for the "baker_stake_updated" field.

public const int BakerStakeUpdatedFieldNumber = 8

Field Value

int

ContractInitializedFieldNumber

Field number for the "contract_initialized" field.

public const int ContractInitializedFieldNumber = 3

Field Value

int

ContractUpdateIssuedFieldNumber

Field number for the "contract_update_issued" field.

public const int ContractUpdateIssuedFieldNumber = 4

Field Value

int

CredentialKeysUpdatedFieldNumber

Field number for the "credential_keys_updated" field.

public const int CredentialKeysUpdatedFieldNumber = 15

Field Value

int

CredentialsUpdatedFieldNumber

Field number for the "credentials_updated" field.

public const int CredentialsUpdatedFieldNumber = 16

Field Value

int

DataRegisteredFieldNumber

Field number for the "data_registered" field.

public const int DataRegisteredFieldNumber = 17

Field Value

int

DelegationConfiguredFieldNumber

Field number for the "delegation_configured" field.

public const int DelegationConfiguredFieldNumber = 19

Field Value

int

EncryptedAmountTransferredFieldNumber

Field number for the "encrypted_amount_transferred" field.

public const int EncryptedAmountTransferredFieldNumber = 11

Field Value

int

ModuleDeployedFieldNumber

Field number for the "module_deployed" field.

public const int ModuleDeployedFieldNumber = 2

Field Value

int

NoneFieldNumber

Field number for the "none" field.

public const int NoneFieldNumber = 1

Field Value

int

TransferredToEncryptedFieldNumber

Field number for the "transferred_to_encrypted" field.

public const int TransferredToEncryptedFieldNumber = 12

Field Value

int

TransferredToPublicFieldNumber

Field number for the "transferred_to_public" field.

public const int TransferredToPublicFieldNumber = 13

Field Value

int

TransferredWithScheduleFieldNumber

Field number for the "transferred_with_schedule" field.

public const int TransferredWithScheduleFieldNumber = 14

Field Value

int

Properties

AccountTransfer

A simple account to account transfer occurred.

public AccountTransactionEffects.Types.AccountTransfer AccountTransfer { get; set; }

Property Value

AccountTransactionEffects.Types.AccountTransfer

BakerAdded

A baker was added.

public BakerEvent.Types.BakerAdded BakerAdded { get; set; }

Property Value

BakerEvent.Types.BakerAdded

BakerConfigured

A baker was configured. The details of what happened are contained in a list of BakerEvents.

public AccountTransactionEffects.Types.BakerConfigured BakerConfigured { get; set; }

Property Value

AccountTransactionEffects.Types.BakerConfigured

BakerKeysUpdated

A baker's keys were updated.

public BakerKeysEvent BakerKeysUpdated { get; set; }

Property Value

BakerKeysEvent

BakerRemoved

A baker was removed.

public BakerId BakerRemoved { get; set; }

Property Value

BakerId

BakerRestakeEarningsUpdated

A baker's restake earnings setting was updated.

public BakerEvent.Types.BakerRestakeEarningsUpdated BakerRestakeEarningsUpdated { get; set; }

Property Value

BakerEvent.Types.BakerRestakeEarningsUpdated

BakerStakeUpdated

A baker's stake was updated.

public AccountTransactionEffects.Types.BakerStakeUpdated BakerStakeUpdated { get; set; }

Property Value

AccountTransactionEffects.Types.BakerStakeUpdated

ContractInitialized

A smart contract was initialized.

public ContractInitializedEvent ContractInitialized { get; set; }

Property Value

ContractInitializedEvent

ContractUpdateIssued

A smart contract instance updated was issued.

public AccountTransactionEffects.Types.ContractUpdateIssued ContractUpdateIssued { get; set; }

Property Value

AccountTransactionEffects.Types.ContractUpdateIssued

CredentialKeysUpdated

Keys of a specific credential were updated.

public CredentialRegistrationId CredentialKeysUpdated { get; set; }

Property Value

CredentialRegistrationId

CredentialsUpdated

Account credentials were updated.

public AccountTransactionEffects.Types.CredentialsUpdated CredentialsUpdated { get; set; }

Property Value

AccountTransactionEffects.Types.CredentialsUpdated

DataRegistered

Some data was registered on the chain.

public RegisteredData DataRegistered { get; set; }

Property Value

RegisteredData

DelegationConfigured

A delegator was configured. The details of what happened are contained in a list of DelegatorEvents.

public AccountTransactionEffects.Types.DelegationConfigured DelegationConfigured { get; set; }

Property Value

AccountTransactionEffects.Types.DelegationConfigured

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

EffectCase

public AccountTransactionEffects.EffectOneofCase EffectCase { get; }

Property Value

AccountTransactionEffects.EffectOneofCase

EncryptedAmountTransferred

An encrypted amount was transferred.

public AccountTransactionEffects.Types.EncryptedAmountTransferred EncryptedAmountTransferred { get; set; }

Property Value

AccountTransactionEffects.Types.EncryptedAmountTransferred

ModuleDeployed

A smart contract module with the attached reference was deployed.

public ModuleRef ModuleDeployed { get; set; }

Property Value

ModuleRef

None

No effects other than payment from this transaction. The rejection reason indicates why the transaction failed.

public AccountTransactionEffects.Types.None None { get; set; }

Property Value

AccountTransactionEffects.Types.None

Parser

public static MessageParser<AccountTransactionEffects> Parser { get; }

Property Value

MessageParser<AccountTransactionEffects>

TransferredToEncrypted

An account transferred part of its public balance to its encrypted balance.

public EncryptedSelfAmountAddedEvent TransferredToEncrypted { get; set; }

Property Value

EncryptedSelfAmountAddedEvent

TransferredToPublic

An account transferred part of its encrypted balance to its public balance.

public AccountTransactionEffects.Types.TransferredToPublic TransferredToPublic { get; set; }

Property Value

AccountTransactionEffects.Types.TransferredToPublic

TransferredWithSchedule

A transfer with a release schedule was made.

public AccountTransactionEffects.Types.TransferredWithSchedule TransferredWithSchedule { get; set; }

Property Value

AccountTransactionEffects.Types.TransferredWithSchedule

Methods

CalculateSize()

Calculates the size of this message in Protocol Buffer wire format, in bytes.

public int CalculateSize()

Returns

int

The number of bytes required to write this message to a coded output stream.

ClearEffect()

public void ClearEffect()

Clone()

Creates a deep clone of this object.

public AccountTransactionEffects Clone()

Returns

AccountTransactionEffects

A deep clone of this object.

Equals(AccountTransactionEffects)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(AccountTransactionEffects other)

Parameters

other AccountTransactionEffects

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object)

Determines whether the specified object is equal to the current object.

public override bool Equals(object other)

Parameters

other object

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

MergeFrom(AccountTransactionEffects)

Merges the given message into this one.

public void MergeFrom(AccountTransactionEffects other)

Parameters

other AccountTransactionEffects

Remarks

See the user guide for precise merge semantics.

MergeFrom(CodedInputStream)

Merges the data from the specified coded input stream with the current message.

public void MergeFrom(CodedInputStream input)

Parameters

input CodedInputStream

Remarks

See the user guide for precise merge semantics.

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.

WriteTo(CodedOutputStream)

Writes the data to the given coded output stream.

public void WriteTo(CodedOutputStream output)

Parameters

output CodedOutputStream

Coded output stream to write the data to. Must not be null.