ConstTipStrategy class
Fixed-amount tip strategy. Every upload pays the same tip in MIST.
- Inheritance
-
- Object
- TipStrategy
- ConstTipStrategy
- Annotations
Constructors
- ConstTipStrategy({required BigInt amount})
-
const
Properties
Methods
-
calculateTip(
int encodedSize) → BigInt -
The tip in MIST for a blob whose encoded size is
encodedSizebytes (seeencodedBlobLength). 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