| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Lorentz.Contracts.UpgradeableUnsafeLedger.V2
Description
The implementation of Unsafe ledger with V1 balance bug fixed
Synopsis
- data UnsafeLedgerV2 :: VersionKind
- migrate :: '[UStore_] :-> '[UStore_]
- unsafeLedgerContract :: UContractRouter UnsafeLedgerV2
Documentation
data UnsafeLedgerV2 :: VersionKind Source #
Instances
| KnownContractVersion UnsafeLedgerV2 Source # | |
Defined in Lorentz.Contracts.UpgradeableUnsafeLedger.V2 Associated Types type VerInterface UnsafeLedgerV2 :: [EntrypointKind] Source # Methods | |
| type VerInterface UnsafeLedgerV2 Source # | |
Defined in Lorentz.Contracts.UpgradeableUnsafeLedger.V2 | |
| type VerUStoreTemplate UnsafeLedgerV2 Source # | |
| type VerPermanent UnsafeLedgerV2 Source # | |
Defined in Lorentz.Contracts.UpgradeableUnsafeLedger.V2 | |
migrate :: '[UStore_] :-> '[UStore_] Source #
Storage migration function. Since the storage is the same, there's nothing to migrate
unsafeLedgerContract :: UContractRouter UnsafeLedgerV2 Source #
The second version of the UpgradeableUnsafeLedger. Most of the functions are from V1 except for getBalance.