BaseSubstrateVerifier<VK extends IVerifiyingKey<IVerifiyingParams> > class
abstract
Contract every Substrate key-algorithm verifier implements.
- Inheritance
-
- Object
- ISignatureVerifier<
VK> - BaseSubstrateVerifier
- Implementers
Constructors
- BaseSubstrateVerifier(VK verificationKey)
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- verificationKey → VK
-
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
verify(
List< int> message, List<int> signature) → bool -
vrfVerify(
List< int> message, List<int> vrfSign, {List<int> ? context, List<int> ? extra}) → bool
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromBytes(
List< int> keyBytes, CryptoKeyType algorithm) → BaseSubstrateVerifier<IVerifiyingKey< IVerifiyingParams> > -
Picks the verifier implementation matching
algorithm. -
fromSubstrate(
Substrate substrate) → BaseSubstrateVerifier< IVerifiyingKey< IVerifiyingParams> > -
Picks the verifier implementation matching
substrate's coin config.