testing
This commit is contained in:
parent
c557ac6d64
commit
7badd5f31a
|
@ -4,19 +4,17 @@ import useWalletStore from '../stores/useWalletStore'
|
||||||
export default function usePool() {
|
export default function usePool() {
|
||||||
const pool = useWalletStore((s) => s.pool)
|
const pool = useWalletStore((s) => s.pool)
|
||||||
|
|
||||||
/*
|
|
||||||
const startIdo = pool ? moment.unix(pool.startIdoTs.toNumber()) : undefined
|
const startIdo = pool ? moment.unix(pool.startIdoTs.toNumber()) : undefined
|
||||||
const endIdo = pool ? moment.unix(pool.endIdoTs.toNumber()) : undefined
|
const endIdo = pool ? moment.unix(pool.endIdoTs.toNumber()) : undefined
|
||||||
const endDeposits = pool
|
const endDeposits = pool
|
||||||
? moment.unix(pool.endDepositsTs.toNumber())
|
? moment.unix(pool.endDepositsTs.toNumber())
|
||||||
: undefined
|
: undefined
|
||||||
*/
|
|
||||||
|
|
||||||
// override for announcement
|
// // override for announcement
|
||||||
const unixTs = 1628553600
|
// const unixTs = 1628553600
|
||||||
const startIdo = moment.unix(unixTs)
|
// const startIdo = moment.unix(unixTs)
|
||||||
const endDeposits = moment.unix(unixTs).add(1, 'days')
|
// const endDeposits = moment.unix(unixTs).add(1, 'days')
|
||||||
const endIdo = moment.unix(unixTs).add(2, 'days')
|
// const endIdo = moment.unix(unixTs).add(2, 'days')
|
||||||
|
|
||||||
return { pool, startIdo, endIdo, endDeposits }
|
return { pool, startIdo, endIdo, endDeposits }
|
||||||
}
|
}
|
||||||
|
|
|
@ -35,11 +35,11 @@ export const ENDPOINTS: EndpointInfo[] = [
|
||||||
name: 'devnet',
|
name: 'devnet',
|
||||||
url: 'https://cache.devnet.rpcpool.com',
|
url: 'https://cache.devnet.rpcpool.com',
|
||||||
websocket: 'https://cache.devnet.rpcpool.com',
|
websocket: 'https://cache.devnet.rpcpool.com',
|
||||||
programId: '2oBtRS2AAQfsMxXQfg41fKFY9zjvHwSSD7G5idrCFziV', // owned by devnet key
|
programId: 'vaHn2WxaxW5J1kdSbEMz4cxCzPxMmnPa1NjJGGMiUSi', // owned by devnet key
|
||||||
// programId: 'CRU6hX2GgtdabESgkoMswMrUdRFxHhCVYmS292VN1Nnn', // owned by governance
|
// programId: 'CRU6hX2GgtdabESgkoMswMrUdRFxHhCVYmS292VN1Nnn', // owned by governance
|
||||||
//poolKey: 'GvSyVjGwLBeWdURMLDmSffQPqA8g547A6TURbbBnDpa4', // governance test
|
//poolKey: 'GvSyVjGwLBeWdURMLDmSffQPqA8g547A6TURbbBnDpa4', // governance test
|
||||||
// poolKey: '82ndgp58GXpwuLrEc9svHFdhiEsPaZoNUEWwgc79WHqk', // already over
|
// poolKey: '82ndgp58GXpwuLrEc9svHFdhiEsPaZoNUEWwgc79WHqk', // already over
|
||||||
poolKey: '5heMyYtJK1Us9Hx2w6s5rLDNj8RufeyCR1ZUJAVFLQL7', // long deposits
|
poolKey: '6ErKcMLsAd29E5TWv97wV5UwQXSbkQVreidceH1W4B1D', // long deposits
|
||||||
// poolKey: '7Dr2Ksnz5evoT9mEUgvvkmirH8KDC99b5oVPHbqSpx4K', // short deposit
|
// poolKey: '7Dr2Ksnz5evoT9mEUgvvkmirH8KDC99b5oVPHbqSpx4K', // short deposit
|
||||||
//poolKey: 'CdKyD4Qazo72Bm6SsPBWrT1AnH1NEuoUzvQg7b67EBac', // not started yet
|
//poolKey: 'CdKyD4Qazo72Bm6SsPBWrT1AnH1NEuoUzvQg7b67EBac', // not started yet
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue