SignedPrices class

A cryptographically signed price ready to be posted on-chain using Compound's Open Oracle smart contract.

Annotations
  • @JsonSerializable(fieldRename: FieldRename.snake, explicitToJson: true)

Constructors

SignedPrices({DateTime? timestamp, List? messages, List? signatures, Map? prices})
SignedPrices.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
messages List?
final
prices Map?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
signatures List?
final
timestamp DateTime?
final

Methods

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

Operators

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