ConstTipStrategy class

Fixed-amount tip strategy. Every upload pays the same tip in MIST.

Inheritance
Annotations

Constructors

ConstTipStrategy({required BigInt amount})
const

Properties

amount → BigInt
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

calculateTip(int encodedSize) → BigInt
The tip in MIST for a blob whose encoded size is encodedSize bytes (see encodedBlobLength). Relays price by encoded size.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

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