Working tree is now the canonical repo. Off-chain play-money + trustless on-chain (FPMM AMM + CLOB via UMA settlement), AI market factory, creator/social/distribution, mobile shell + push, one-command demo + deploy-kit. Secrets excluded (see ENV-AND-KEYS.md). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
18 lines
588 B
TypeScript
18 lines
588 B
TypeScript
import { runScript } from './run-script'
|
|
|
|
import { log } from 'shared/utils'
|
|
import { updateUserMetricsCore } from 'shared/update-user-metrics-core'
|
|
import { updateGroupMetricsCore } from 'shared/update-group-metrics-core'
|
|
import { updateContractMetricsCore } from 'shared/update-contract-metrics-core'
|
|
|
|
if (require.main === module) {
|
|
runScript(async () => {
|
|
log('Updating user metrics...')
|
|
await updateUserMetricsCore()
|
|
log('Updating contract metrics...')
|
|
await updateContractMetricsCore()
|
|
log('Updating group metrics...')
|
|
await updateGroupMetricsCore()
|
|
})
|
|
}
|