Skip to content

Commit

Permalink
Treasury Overhaul (with refactor), ICA, Polytone expansion to Terra a…
Browse files Browse the repository at this point in the history
…nd Migaloo, and Skip API adoption (DA0-DA0#1509)
  • Loading branch information
NoahSaso authored Dec 18, 2023
1 parent 74bcdeb commit 93d1849
Show file tree
Hide file tree
Showing 429 changed files with 14,958 additions and 7,420 deletions.
5 changes: 0 additions & 5 deletions apps/dapp/.env.mainnet
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,6 @@ NEXT_PUBLIC_KVPK_API_BASE=https://kvpk.daodao.zone
# Kado API
NEXT_PUBLIC_KADO_API_KEY=bcee9402-d79f-427b-bafd-dd111e4ce287

# WYND
NEXT_PUBLIC_WYND_MULTI_HOP_CONTRACT=juno1pctfpv9k03v0ff538pz8kkw5ujlptntzkwjg6c0lrtqv87s9k28qdtl50w
NEXT_PUBLIC_WYND_API_BASE=https://api.wynddao.com
NEXT_PUBLIC_WYND_REFERRAL_COMMISSION=0.01

# WebSockets API
NEXT_PUBLIC_WEB_SOCKET_PUSHER_APP_KEY=daodao
NEXT_PUBLIC_WEB_SOCKET_PUSHER_HOST=ws.daodao.zone
Expand Down
5 changes: 0 additions & 5 deletions apps/dapp/.env.testnet
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,6 @@ NEXT_PUBLIC_KVPK_API_BASE=https://kvpk.daodao.zone
# Kado API
NEXT_PUBLIC_KADO_API_KEY=bcee9402-d79f-427b-bafd-dd111e4ce287

# WYND
NEXT_PUBLIC_WYND_MULTI_HOP_CONTRACT=
NEXT_PUBLIC_WYND_API_BASE=https://api.wynddao.com
NEXT_PUBLIC_WYND_REFERRAL_COMMISSION=0.01

# WebSockets API
NEXT_PUBLIC_WEB_SOCKET_PUSHER_APP_KEY=daodao
NEXT_PUBLIC_WEB_SOCKET_PUSHER_HOST=ws.daodao.zone
Expand Down
2 changes: 1 addition & 1 deletion apps/dapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
"postcss": "^8.4.5",
"postcss-loader": "^7.0.1",
"tailwindcss": "^3.0.7",
"typescript": "5.1.6"
"typescript": "5.3.3"
},
"prettier": "@dao-dao/config/prettier",
"private": true
Expand Down
20 changes: 20 additions & 0 deletions apps/dapp/pages/account/[address]/[[...tab]].tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
// GNU AFFERO GENERAL PUBLIC LICENSE Version 3. Copyright (C) 2022 DAO DAO Contributors.
// See the "LICENSE" file in the root directory of this package for more copyright information.

import { GetStaticPaths, GetStaticProps } from 'next'

import { serverSideTranslations } from '@dao-dao/i18n/serverSideTranslations'
import { Account } from '@dao-dao/stateful'

export default Account

export const getStaticProps: GetStaticProps = async ({ locale }) => ({
props: {
...(await serverSideTranslations(locale, ['translation'])),
},
})

export const getStaticPaths: GetStaticPaths = () => ({
paths: [],
fallback: true,
})
21 changes: 21 additions & 0 deletions apps/dapp/sentry.edge.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
// GNU AFFERO GENERAL PUBLIC LICENSE Version 3. Copyright (C) 2022 DAO DAO Contributors.
// See the "LICENSE" file in the root directory of this package for more copyright information.

// This file configures the initialization of Sentry on the server.
// The config you add here will be used whenever the server handles a request.
// https://docs.sentry.io/platforms/javascript/guides/nextjs/

import * as Sentry from '@sentry/nextjs'

const SENTRY_DSN = process.env.SENTRY_DSN || process.env.NEXT_PUBLIC_SENTRY_DSN

Sentry.init({
dsn:
SENTRY_DSN ||
'https://[email protected]/6592048',
// Adjust this value in production, or use tracesSampler for greater control
tracesSampleRate: 0,

// Only send errors to Sentry if production environment.
enabled: process.env.NODE_ENV === 'production',
})
5 changes: 0 additions & 5 deletions apps/sda/.env.mainnet
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,6 @@ NEXT_PUBLIC_KVPK_API_BASE=https://kvpk.daodao.zone
# Kado API
NEXT_PUBLIC_KADO_API_KEY=bcee9402-d79f-427b-bafd-dd111e4ce287

# WYND
NEXT_PUBLIC_WYND_MULTI_HOP_CONTRACT=juno1pctfpv9k03v0ff538pz8kkw5ujlptntzkwjg6c0lrtqv87s9k28qdtl50w
NEXT_PUBLIC_WYND_API_BASE=https://api.wynddao.com
NEXT_PUBLIC_WYND_REFERRAL_COMMISSION=0.01

# WebSockets API
NEXT_PUBLIC_WEB_SOCKET_PUSHER_APP_KEY=daodao
NEXT_PUBLIC_WEB_SOCKET_PUSHER_HOST=ws.daodao.zone
Expand Down
5 changes: 0 additions & 5 deletions apps/sda/.env.testnet
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,6 @@ NEXT_PUBLIC_KVPK_API_BASE=https://kvpk.daodao.zone
# Kado API
NEXT_PUBLIC_KADO_API_KEY=bcee9402-d79f-427b-bafd-dd111e4ce287

# WYND
NEXT_PUBLIC_WYND_MULTI_HOP_CONTRACT=
NEXT_PUBLIC_WYND_API_BASE=https://api.wynddao.com
NEXT_PUBLIC_WYND_REFERRAL_COMMISSION=0.01

# WebSockets API
NEXT_PUBLIC_WEB_SOCKET_PUSHER_APP_KEY=daodao
NEXT_PUBLIC_WEB_SOCKET_PUSHER_HOST=ws.daodao.zone
Expand Down
2 changes: 1 addition & 1 deletion apps/sda/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"postcss": "^8.4.5",
"postcss-loader": "^7.0.1",
"tailwindcss": "^3.0.7",
"typescript": "5.1.6"
"typescript": "5.3.3"
},
"prettier": "@dao-dao/config/prettier",
"private": true
Expand Down
21 changes: 21 additions & 0 deletions apps/sda/sentry.edge.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
// GNU AFFERO GENERAL PUBLIC LICENSE Version 3. Copyright (C) 2022 DAO DAO Contributors.
// See the "LICENSE" file in the root directory of this package for more copyright information.

// This file configures the initialization of Sentry on the server.
// The config you add here will be used whenever the server handles a request.
// https://docs.sentry.io/platforms/javascript/guides/nextjs/

import * as Sentry from '@sentry/nextjs'

const SENTRY_DSN = process.env.SENTRY_DSN || process.env.NEXT_PUBLIC_SENTRY_DSN

Sentry.init({
dsn:
SENTRY_DSN ||
'https://[email protected]/4504573184966656',
// Adjust this value in production, or use tracesSampler for greater control
tracesSampleRate: 0,

// Only send errors to Sentry if production environment.
enabled: process.env.NODE_ENV === 'production',
})
6 changes: 3 additions & 3 deletions packages/config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"dependencies": {
"@tailwindcss/line-clamp": "^0.3.1",
"@tailwindcss/typography": "^0.5.1",
"@typescript-eslint/eslint-plugin": "^5.38.0",
"@typescript-eslint/parser": "^5.38.0",
"@typescript-eslint/eslint-plugin": "6.14.0",
"@typescript-eslint/parser": "6.14.0",
"autoprefixer": "^9.8.6",
"eslint": "^8.23.1",
"eslint-config-next": "^12.1.5",
Expand All @@ -23,7 +23,7 @@
"prettier": "^2.6.2",
"tailwindcss": "^3.0.7",
"tailwindcss-safe-area": "^0.4.1",
"typescript": "^4.8.3"
"typescript": "5.3.3"
},
"prettier": "./prettier/index.js"
}
2 changes: 1 addition & 1 deletion packages/email/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"eslint": "^8.23.1",
"react": "^18.2.0",
"ts-node": "^10.9.1",
"typescript": "^4.8.3"
"typescript": "5.3.3"
},
"peerDependencies": {
"react": "^17 || ^18"
Expand Down
2 changes: 1 addition & 1 deletion packages/i18n/locales/dog/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@
"no": "no",
"noDaosFollowedYet": "u hav not yet fawloed ennie da0z",
"noDisplayName": "no display naem",
"noNftsYet": "no nftz 2 appreeshieet yit",
"noNftsBeingDisplayed": "no nftz ar bein dizplaid",
"noProposalsYet": "no puppozalz 2 voat on yit",
"noSubDaosYet": "no subda0z yit",
"noVote": "no",
Expand Down
Loading

0 comments on commit 93d1849

Please sign in to comment.