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
-
IMessage<AccountTransactionEffects>IDeepCloneable<AccountTransactionEffects>IBufferMessageIMessage
- Inherited Members
Constructors
AccountTransactionEffects()
public AccountTransactionEffects()
AccountTransactionEffects(AccountTransactionEffects)
public AccountTransactionEffects(AccountTransactionEffects other)
Parameters
Fields
AccountTransferFieldNumber
Field number for the "account_transfer" field.
public const int AccountTransferFieldNumber = 5
Field Value
BakerAddedFieldNumber
Field number for the "baker_added" field.
public const int BakerAddedFieldNumber = 6
Field Value
BakerConfiguredFieldNumber
Field number for the "baker_configured" field.
public const int BakerConfiguredFieldNumber = 18
Field Value
BakerKeysUpdatedFieldNumber
Field number for the "baker_keys_updated" field.
public const int BakerKeysUpdatedFieldNumber = 10
Field Value
BakerRemovedFieldNumber
Field number for the "baker_removed" field.
public const int BakerRemovedFieldNumber = 7
Field Value
BakerRestakeEarningsUpdatedFieldNumber
Field number for the "baker_restake_earnings_updated" field.
public const int BakerRestakeEarningsUpdatedFieldNumber = 9
Field Value
BakerStakeUpdatedFieldNumber
Field number for the "baker_stake_updated" field.
public const int BakerStakeUpdatedFieldNumber = 8
Field Value
ContractInitializedFieldNumber
Field number for the "contract_initialized" field.
public const int ContractInitializedFieldNumber = 3
Field Value
ContractUpdateIssuedFieldNumber
Field number for the "contract_update_issued" field.
public const int ContractUpdateIssuedFieldNumber = 4
Field Value
CredentialKeysUpdatedFieldNumber
Field number for the "credential_keys_updated" field.
public const int CredentialKeysUpdatedFieldNumber = 15
Field Value
CredentialsUpdatedFieldNumber
Field number for the "credentials_updated" field.
public const int CredentialsUpdatedFieldNumber = 16
Field Value
DataRegisteredFieldNumber
Field number for the "data_registered" field.
public const int DataRegisteredFieldNumber = 17
Field Value
DelegationConfiguredFieldNumber
Field number for the "delegation_configured" field.
public const int DelegationConfiguredFieldNumber = 19
Field Value
EncryptedAmountTransferredFieldNumber
Field number for the "encrypted_amount_transferred" field.
public const int EncryptedAmountTransferredFieldNumber = 11
Field Value
ModuleDeployedFieldNumber
Field number for the "module_deployed" field.
public const int ModuleDeployedFieldNumber = 2
Field Value
NoneFieldNumber
Field number for the "none" field.
public const int NoneFieldNumber = 1
Field Value
TransferredToEncryptedFieldNumber
Field number for the "transferred_to_encrypted" field.
public const int TransferredToEncryptedFieldNumber = 12
Field Value
TransferredToPublicFieldNumber
Field number for the "transferred_to_public" field.
public const int TransferredToPublicFieldNumber = 13
Field Value
TransferredWithScheduleFieldNumber
Field number for the "transferred_with_schedule" field.
public const int TransferredWithScheduleFieldNumber = 14
Field Value
Properties
AccountTransfer
A simple account to account transfer occurred.
public AccountTransactionEffects.Types.AccountTransfer AccountTransfer { get; set; }
Property Value
BakerAdded
A baker was added.
public BakerEvent.Types.BakerAdded BakerAdded { get; set; }
Property Value
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
BakerKeysUpdated
A baker's keys were updated.
public BakerKeysEvent BakerKeysUpdated { get; set; }
Property Value
BakerRemoved
A baker was removed.
public BakerId BakerRemoved { get; set; }
Property Value
BakerRestakeEarningsUpdated
A baker's restake earnings setting was updated.
public BakerEvent.Types.BakerRestakeEarningsUpdated BakerRestakeEarningsUpdated { get; set; }
Property Value
BakerStakeUpdated
A baker's stake was updated.
public AccountTransactionEffects.Types.BakerStakeUpdated BakerStakeUpdated { get; set; }
Property Value
ContractInitialized
A smart contract was initialized.
public ContractInitializedEvent ContractInitialized { get; set; }
Property Value
ContractUpdateIssued
A smart contract instance updated was issued.
public AccountTransactionEffects.Types.ContractUpdateIssued ContractUpdateIssued { get; set; }
Property Value
CredentialKeysUpdated
Keys of a specific credential were updated.
public CredentialRegistrationId CredentialKeysUpdated { get; set; }
Property Value
CredentialsUpdated
Account credentials were updated.
public AccountTransactionEffects.Types.CredentialsUpdated CredentialsUpdated { get; set; }
Property Value
DataRegistered
Some data was registered on the chain.
public RegisteredData DataRegistered { get; set; }
Property Value
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
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
EffectCase
public AccountTransactionEffects.EffectOneofCase EffectCase { get; }
Property Value
EncryptedAmountTransferred
An encrypted amount was transferred.
public AccountTransactionEffects.Types.EncryptedAmountTransferred EncryptedAmountTransferred { get; set; }
Property Value
ModuleDeployed
A smart contract module with the attached reference was deployed.
public ModuleRef ModuleDeployed { get; set; }
Property Value
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
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
TransferredToPublic
An account transferred part of its encrypted balance to its public balance.
public AccountTransactionEffects.Types.TransferredToPublic TransferredToPublic { get; set; }
Property Value
TransferredWithSchedule
A transfer with a release schedule was made.
public AccountTransactionEffects.Types.TransferredWithSchedule TransferredWithSchedule { get; set; }
Property Value
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
AccountTransactionEffectsAn object to compare with this object.
Returns
Equals(object)
Determines whether the specified object is equal to the current object.
public override bool Equals(object other)
Parameters
other
object
Returns
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
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
CodedOutputStreamCoded output stream to write the data to. Must not be null.