TIME_CONSTANTS
const TIME_CONSTANTS: object;
Defined in: packages/synapse-sdk/src/utils/constants.ts:94
Time and size constants
Type Declaration
Section titled “Type Declaration”DAYS_PER_MONTH
Section titled “DAYS_PER_MONTH”readonly DAYS_PER_MONTH: 30n = 30n;
Number of days in a month (used for pricing calculations)
DEFAULT_LOCKUP_DAYS
Section titled “DEFAULT_LOCKUP_DAYS”readonly DEFAULT_LOCKUP_DAYS: 10n = 10n;
Default lockup period in days
EPOCH_DURATION
Section titled “EPOCH_DURATION”readonly EPOCH_DURATION: 30 = 30;
Duration of each epoch in seconds on Filecoin
EPOCHS_PER_DAY
Section titled “EPOCHS_PER_DAY”readonly EPOCHS_PER_DAY: 2880n = 2880n;
Number of epochs in a day (24 hours * 60 minutes * 2 epochs per minute)
EPOCHS_PER_MONTH
Section titled “EPOCHS_PER_MONTH”readonly EPOCHS_PER_MONTH: 86400n = 86400n;
Number of epochs in a month (30 days)