(key: Bytes32, value: Bytes32)
| 28 | export const schemaStorage = z.tuple([schemaBytes32, schemaBytes32]) |
| 29 | |
| 30 | export const StorageSlot = (key: Bytes32, value: Bytes32) => schemaStorage.parse([key, value]) |
| 31 | |
| 32 | // currentTimestamp returns the current unix timestamp, minus one second to ensure it's in the past. |
| 33 | export const currentTimestamp = () => BigInt(new Date().getTime()) / 1000n - 1n |
no test coverage detected