Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data CounterV1 :: VersionKind
- migrate :: MigrationScript () UStoreTemplateV1
- migrations :: [MigrationScript () UStoreTemplateV1]
- counterContract :: UContractRouter CounterV1
- counterUpgradeParameters :: EpwUpgradeParameters [] CounterV0 CounterV1
- type UStoreV1 = UStore UStoreTemplateV1
- data UStoreTemplateV1
Documentation
data CounterV1 :: VersionKind Source #
Instances
KnownContractVersion CounterV1 Source # | |
Defined in Lorentz.Contracts.UpgradeableCounter.V1 type VerInterface CounterV1 :: [EntrypointKind] Source # type VerUStoreTemplate CounterV1 Source # type VerPermanent CounterV1 Source # | |
type VerInterface CounterV1 Source # | |
Defined in Lorentz.Contracts.UpgradeableCounter.V1 | |
type VerUStoreTemplate CounterV1 Source # | |
Defined in Lorentz.Contracts.UpgradeableCounter.V1 | |
type VerPermanent CounterV1 Source # | |
Defined in Lorentz.Contracts.UpgradeableCounter.V1 |
migrations :: [MigrationScript () UStoreTemplateV1] Source #
Migrations represent entrypoint-wise upgrades. Each migration puts
an implementation of a method to UStore. The contract code itself
(epwServe
) does not do anything special except for taking these
lambdas out of the big map.
type UStoreV1 = UStore UStoreTemplateV1 Source #
data UStoreTemplateV1 Source #