From 290205c90a762b0b17d36236d1e3c1701e47c879 Mon Sep 17 00:00:00 2001 From: tornadocontrib Date: Sun, 24 Nov 2024 08:47:22 +0000 Subject: [PATCH] Fetch events from API and remove external fee oracles * Added USDT and BTCB pool for BSC * Removed Chainnodes RPC endpoint * Fixed Sepolia Relayers --- .env.example | 2 +- .github/workflows/nodejs.yml | 1 - components/Notices.vue | 4 +- components/settings/SettingsModalBox.vue | 11 +- components/withdraw/Withdraw.vue | 2 +- layouts/default.vue | 4 +- .../actions/decryptNotes/encryptFormatTx.js | 2 +- modules/account/store/actions/utils.js | 10 +- networkConfig.js | 72 +++++------ nuxt.config.js | 4 +- package.json | 2 +- pages/compliance.vue | 22 ++-- relayers.json | 28 +++++ scripts/helpers/download.js | 4 +- scripts/updateEvents.js | 2 +- scripts/vuex.js | 3 +- services/eventApi.js | 82 +++++++++++++ services/events.js | 18 ++- services/index.js | 1 + services/registry/index.js | 31 ++++- services/schema/index.js | 3 + services/schema/relayer/index.js | 6 +- store/application.js | 26 +++- store/fees.js | 24 ++-- store/governance/gov.js | 114 ++++++++++++++---- store/governance/proposal.js | 89 +++++++++++--- store/price.js | 27 ++++- store/relayer.js | 17 ++- store/token.js | 22 +++- yarn.lock | 36 +----- 30 files changed, 480 insertions(+), 189 deletions(-) create mode 100644 relayers.json create mode 100644 services/eventApi.js diff --git a/.env.example b/.env.example index 2929fb9..c036d0a 100644 --- a/.env.example +++ b/.env.example @@ -1,7 +1,7 @@ PINATA_API_KEY= PINATA_SECRET_API_KEY= -CHAINNODES_KEY= +DEFAULT_RPC= WC_BRIDGE= diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 1f4422a..a0afa37 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -32,7 +32,6 @@ jobs: - name: Build run: yarn generate env: - CHAINNODES_KEY: ${{ secrets.CHAINNODES_KEY }} WC_BRIDGE: ${{ secrets.WC_BRIDGE }} OLD_STORE_NAME: ${{ secrets.OLD_STORE_NAME }} STORE_NAME: ${{ secrets.STORE_NAME }} diff --git a/components/Notices.vue b/components/Notices.vue index d08fddc..64461b5 100644 --- a/components/Notices.vue +++ b/components/Notices.vue @@ -18,9 +18,9 @@ - + {{ $t('withdrawalSettings') }}