def V2.down.period
import bend-kit-migrate@0.3.0.0/migrate.bend as Migrateimport Base
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes
153def V2.down.period(pe: Period, i: U32, p: Bytes.Bytes, c: U32, s: Status, n: Maybe<&1, Bytes.Bytes>) -> Result<&1, &1, Error, V1>:
154 match pe:
155 case Monthly{}:
156 V2.down.status(s, i, p, c, n)
157 case Yearly{}:
158 Fail{NotInV1{KPeriod{}}}