@visualizevalue/mint-app-base 0.1.69 → 0.1.71
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -25,6 +25,7 @@
|
|
|
25
25
|
mintOpen,
|
|
26
26
|
currentBlock,
|
|
27
27
|
countDownStr,
|
|
28
|
+
blocksRemaining,
|
|
28
29
|
transactionFlowConfig
|
|
29
30
|
}"
|
|
30
31
|
>
|
|
@@ -54,7 +55,9 @@
|
|
|
54
55
|
</div>
|
|
55
56
|
|
|
56
57
|
<div class="mint-status">
|
|
57
|
-
<p v-if="mintOpen">
|
|
58
|
+
<p v-if="mintOpen">
|
|
59
|
+
<TokenMintOpen :blocks="blocksRemaining" :time="countDownStr" />
|
|
60
|
+
</p>
|
|
58
61
|
<p v-else-if="currentBlock">
|
|
59
62
|
{{ $t('token.closed_ago', { time: countDownStr })}}
|
|
60
63
|
</p>
|
|
@@ -3,7 +3,7 @@ import { type GetBalanceReturnType } from '@wagmi/core'
|
|
|
3
3
|
import { parseAbiItem, type PublicClient } from 'viem'
|
|
4
4
|
import type { MintEvent } from '~/utils/types'
|
|
5
5
|
|
|
6
|
-
export const CURRENT_STATE_VERSION =
|
|
6
|
+
export const CURRENT_STATE_VERSION = 8
|
|
7
7
|
export const MAX_BLOCK_RANGE = 1800n
|
|
8
8
|
export const MINT_BLOCKS = BLOCKS_PER_DAY
|
|
9
9
|
|