Safe Haskell | None |
---|---|
Language | Haskell2010 |
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 type VerInterface UnsafeLedgerV2 :: [EntrypointKind] Source # | |
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.