AptosAccountAuthenticators enum

An AccountAuthenticator is an abstraction of a signature scheme. It must know: (1) How to check its signature against a message and public key (2) How to convert its public key into an AuthenticationKeyPreimage structured as (public_key | signature_scheme_id). Each on-chain Account must store an AuthenticationKey (computed via a sha3 hash of (public key bytes | scheme as u8)).

Inheritance
Available extensions

Values

ed25519 → const AptosAccountAuthenticators

Ed25519 Single signature

const AptosAccountAuthenticators(value: 0)
multiEd25519 → const AptosAccountAuthenticators

Ed25519 K-of-N multisignature

const AptosAccountAuthenticators(value: 1)
singleKey → const AptosAccountAuthenticators
const AptosAccountAuthenticators(value: 2)
multiKey → const AptosAccountAuthenticators
const AptosAccountAuthenticators(value: 3)
noAccountAuthenticator → const AptosAccountAuthenticators
const AptosAccountAuthenticators(value: 4)
abstraction → const AptosAccountAuthenticators
const AptosAccountAuthenticators(value: 5)

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value int
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromName(String? name) AptosAccountAuthenticators

Constants

values → const List<AptosAccountAuthenticators>
A constant List of the values in this enum, in order of their declaration.