switch to new governance test

This commit is contained in:
Maximilian Schneider 2021-07-24 15:12:16 +02:00
parent 9a1c34d8d7
commit 13fd50418e
3 changed files with 10 additions and 6 deletions

View File

@ -1,5 +1,9 @@
import GradientText from './GradientText'
import usePool from '../hooks/usePool'
const HeroSectionLead = () => {
const { startIdo } = usePool()
return (
<section className="flex">
<div className="px-8 mx-auto h-screen justify-items-center align-middle">
@ -8,9 +12,7 @@ const HeroSectionLead = () => {
<h2 className="mb-8 text-7xl text-white font-bold font-heading">
<GradientText>Wen</GradientText> Token?
</h2>
<p className="mb-8 text-7xl">
6d 23h 35m 12s
</p>
<p className="mb-8 text-7xl">{startIdo.fromNow()}</p>
</div>
</div>
</div>

View File

@ -397,6 +397,6 @@
}
],
"metadata": {
"address": "2oBtRS2AAQfsMxXQfg41fKFY9zjvHwSSD7G5idrCFziV"
"address": "CRU6hX2GgtdabESgkoMswMrUdRFxHhCVYmS292VN1Nnn"
}
}

View File

@ -34,9 +34,11 @@ export const ENDPOINTS: EndpointInfo[] = [
name: 'devnet',
url: 'https://cache.devnet.rpcpool.com',
websocket: 'https://cache.devnet.rpcpool.com',
programId: '2oBtRS2AAQfsMxXQfg41fKFY9zjvHwSSD7G5idrCFziV',
// programId: '2oBtRS2AAQfsMxXQfg41fKFY9zjvHwSSD7G5idrCFziV', // owned by devnet key
programId: 'CRU6hX2GgtdabESgkoMswMrUdRFxHhCVYmS292VN1Nnn', // owned by governance
poolKey: 'GvSyVjGwLBeWdURMLDmSffQPqA8g547A6TURbbBnDpa4', // governance test
// poolKey: '82ndgp58GXpwuLrEc9svHFdhiEsPaZoNUEWwgc79WHqk', // already over
poolKey: '5heMyYtJK1Us9Hx2w6s5rLDNj8RufeyCR1ZUJAVFLQL7', // long deposits
// poolKey: '5heMyYtJK1Us9Hx2w6s5rLDNj8RufeyCR1ZUJAVFLQL7', // long deposits
// poolKey: '7Dr2Ksnz5evoT9mEUgvvkmirH8KDC99b5oVPHbqSpx4K', // short deposit
// poolKey: 'CdKyD4Qazo72Bm6SsPBWrT1AnH1NEuoUzvQg7b67EBac', // not started yet
},