DidInfo class
Decorator on DidRecord that has an inner puzzle and can be spent
- Implemented types
- Implementers
- Available extensions
- Annotations
-
- @immutable
Constructors
- DidInfo.new({required DidRecord delegate, required Program innerPuzzle})
Properties
-
backupIds
→ List<
Puzzlehash> ? -
no setteroverride
- backUpIdsHash → Puzzlehash
-
no setteroverride
- coin → CoinPrototype
-
no setteroverride
- delegate → DidRecord
-
final
- did → Bytes
-
no setteroverride
- fullPuzzle → Program
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
-
hints
→ List<
Puzzlehash> -
no setteroverride
- innerPuzzle → Program
-
final
- lineageProof → LineageProof
-
no setteroverride
- metadata → DidMetadata
-
no setteroverride
- nVerificationsRequired → int
-
no setteroverride
- p2Puzzle → Program
-
final
- parentSpend → CoinSpend
-
no setteroverride
- recoveryInfo → LineageProof
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- singletonStructure → Program
-
no setteroverride
- syntheticPublicKey → JacobianPoint
-
no setter
Methods
-
fetchOriginCoin(
ChiaFullNodeInterface fullNode) → Future< DidInfoWithOriginCoin?> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toDidInfo(
WalletKeychain keychain) → DidInfo? -
Available on DidRecord, provided by the ToSpendableDid extension
convert to spendable DidInfo using the owner WalletKeychain -
toDidInfoAsync(
WalletKeychain keychain) → Future< DidInfo?> -
Available on DidRecord, provided by the ToSpendableDid extension
-
toDidInfoForPk(
JacobianPoint publicKey) → DidInfo -
Tries to convert DidRecord into spendable DidInfo
override
-
toDidInfoForPkOrThrow(
JacobianPoint publicKey) → DidInfo -
Available on DidRecord, provided by the ToSpendableDid extension
-
toDidInfoFromParentInfo(
) → DidInfo -
override
-
toDidInfoFromParentInfoOrThrow(
) → DidInfo -
Available on DidRecord, provided by the ToSpendableDid extension
-
toDidInfoOrThrow(
WalletKeychain keychain) → DidInfo -
Available on DidRecord, provided by the ToSpendableDid extension
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
parseDidFromEitherFormat(
String serializedDid) → Bytes