Skip to content
This repository has been archived by the owner on Nov 18, 2021. It is now read-only.

Testing/api endpoint #1523

Draft
wants to merge 69 commits into
base: staging
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 68 commits
Commits
Show all changes
69 commits
Select commit Hold shift + click to select a range
9e5e6bb
Added space notification url
Apr 27, 2021
c8bb9c7
Added inputfield to withdraw slider and pool indication in single wit…
May 2, 2021
48289d9
Added warnings to swapmarket when slippage is in ranges
May 2, 2021
18c9aea
Icon style
May 3, 2021
2eee5cb
Merge branch 'master' into feature/space_notifications
May 3, 2021
ccc1f99
Changed to primary dark and added a condition to notifier
May 3, 2021
4b5e6c0
Text changed
May 4, 2021
1b658f8
Changed text added a condition to showing notification and added gt(1…
May 5, 2021
28b8d40
changed tooltip and fixed test
May 5, 2021
826db0a
Merge pull request #1386 from bancorprotocol/feature/space_notifications
RanCohenn May 5, 2021
47749da
Removed gtag
May 5, 2021
121be17
Merge pull request #1443 from bancorprotocol/feature/remove_gtag
RanCohenn May 5, 2021
cc3fed4
Revert "Removed gtag"
May 5, 2021
3321eb6
Merge pull request #1447 from bancorprotocol/hotfix/added_gtag
RanCohenn May 5, 2021
ca41bb5
Added logo and fiat provider to GatewayProviders.vue.
tiagofilipenunes May 6, 2021
bae410d
remove csv parse
Velua May 6, 2021
65dc233
Merge pull request #1453 from bancorprotocol/staging
RanCohenn May 6, 2021
1ccbeea
Upgraded packages
May 6, 2021
77a82b3
Merge pull request #1455 from bancorprotocol/upgrade/packages
RanCohenn May 6, 2021
dcae297
Fixed withdraw edge cases
May 6, 2021
6c12692
Merge branch 'master' into feature/withdraw_slider
May 6, 2021
1aa92d3
Merge branch 'new-provider-mercuryo' of https://github.com/tiagofilip…
May 6, 2021
5fcc0f1
Merge pull request #1456 from bancorprotocol/feature/mercuryo_fiat
RanCohenn May 6, 2021
098fb7a
Merge pull request #1423 from bancorprotocol/feature/withdraw_slider
RanCohenn May 9, 2021
ccb6060
gtm rewrap
May 9, 2021
c464920
Merge branch 'master' into feature/slippage_warnings
RanCohenn May 9, 2021
8d2ee50
Merge pull request #1424 from bancorprotocol/feature/slippage_warnings
RanCohenn May 9, 2021
db8aba3
change eos endpoint
pingustar May 10, 2021
62f4970
bump version
pingustar May 10, 2021
691baa0
Merge pull request #1470 from bancorprotocol/bug/eos
pingustar May 10, 2021
47f3fd1
Removed Bancor Wallet from Bancor Menu and Sidebar
tiagofilipenunes May 10, 2021
98712d2
enable trade
Velua May 11, 2021
9b41a39
Merge branch 'master' of https://github.com/bancorprotocol/webapp
Velua May 11, 2021
e1ca0f7
improve balance fetching
Velua May 11, 2021
134c6e3
utilise split asset
Velua May 11, 2021
d5add60
Merge pull request #1475 from bancorprotocol/bug/fixEos
Velua May 11, 2021
1bf19f6
Merge pull request #1473 from tiagofilipenunes/feature/delete-bancor-…
pingustar May 11, 2021
0408908
Merge pull request #1476 from bancorprotocol/feature/removeBancorWallet
pingustar May 11, 2021
b9d774e
Wrapped all the gtm methods with enums
May 11, 2021
3910c7f
Upgraded packages
May 11, 2021
c893387
Merge pull request #1477 from bancorprotocol/upgrade/packages
RanCohenn May 11, 2021
7349ca0
fix 100% liquidation
pingustar May 13, 2021
ea307af
fix modal gtm trigger
pingustar May 13, 2021
02a35cf
change getter
Velua May 16, 2021
7c42702
Merge pull request #1487 from bancorprotocol/bug/ModalFixes
pingustar May 17, 2021
1bfae3f
fix notification
pingustar May 17, 2021
507168b
remove gas warning
Velua May 17, 2021
53386fd
update Dependencies
pingustar May 18, 2021
fc826f6
downgrade sass loader
pingustar May 18, 2021
65792cf
downgrade sass loader
pingustar May 18, 2021
fc46e6d
Merge pull request #1457 from bancorprotocol/feature/GTM_fixes
RanCohenn May 18, 2021
bbeb132
move types to dev deps
pingustar May 18, 2021
abff109
Fixed gtm loading
May 18, 2021
aac1382
Merge pull request #1495 from bancorprotocol/hotfix/gtm
RanCohenn May 18, 2021
349de2b
Merge pull request #1494 from bancorprotocol/updateDependencies
pingustar May 18, 2021
322c7c2
added 30 days order to limit order
May 23, 2021
aa9b320
Withdraw text update
May 24, 2021
ac49103
Merge pull request #1513 from bancorprotocol/hotfix/withdraw_text_update
RanCohenn May 24, 2021
d446fb1
Merge pull request #1505 from bancorprotocol/feature/orders_days_30
RanCohenn May 24, 2021
fa46f0b
Updated dependencies
May 24, 2021
ab8c71f
Merge pull request #1515 from bancorprotocol/update/packages
RanCohenn May 24, 2021
f73a0fd
add no prompt slot
pingustar May 24, 2021
b3b8db3
add no prompt slot
pingustar May 24, 2021
dfcc0b6
fix withdraw weth
pingustar May 24, 2021
89baa9a
remove prompt for withdraw weth
pingustar May 24, 2021
cb1176c
add balance check
Velua May 24, 2021
3b6cb95
Merge pull request #1486 from bancorprotocol/bug/badFormat
pingustar May 25, 2021
6353df2
update api endpoint
pingustar May 25, 2021
a8d70f0
remove github action: telegram notification
pingustar Sep 29, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
63 changes: 31 additions & 32 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bancor-ui",
"version": "2.5.4",
"version": "2.5.5",
"private": false,
"scripts": {
"start": "vue-cli-service serve",
Expand All @@ -15,12 +15,12 @@
"build-report": "vue-cli-service build --report"
},
"dependencies": {
"@0x/contract-addresses": "^6.0.0",
"@0x/protocol-utils": "^1.5.1",
"@0x/contract-addresses": "^6.2.0",
"@0x/protocol-utils": "^1.6.1",
"@0x/web3-wrapper": "^7.5.3",
"@dfuse/client": "^0.3.20",
"@firebase/analytics": "^0.6.9",
"@firebase/app": "^0.6.20",
"@firebase/analytics": "^0.6.10",
"@firebase/app": "^0.6.22",
"@fortawesome/fontawesome-pro": "^5.15.3",
"@fortawesome/fontawesome-svg-core": "^1.2.35",
"@fortawesome/free-brands-svg-icons": "^5.15.3",
Expand All @@ -29,21 +29,18 @@
"@fortawesome/pro-regular-svg-icons": "^5.15.3",
"@fortawesome/pro-solid-svg-icons": "^5.15.3",
"@fortawesome/vue-fontawesome": "^2.0.2",
"@sentry/browser": "^6.3.4",
"@sentry/integrations": "^6.3.4",
"@sentry/tracing": "^6.3.4",
"@sentry/browser": "^6.4.1",
"@sentry/integrations": "^6.4.1",
"@sentry/tracing": "^6.4.1",
"@tweenjs/tween.js": "^18.6.4",
"@types/lodash.debounce": "^4.0.6",
"@types/numeral": "^2.0.1",
"@vue/composition-api": "^1.0.0-rc.8",
"@vue/composition-api": "^1.0.0-rc.9",
"axios": "^0.21.1",
"bancorx": "^0.3.0",
"bignumber.js": "^9.0.0",
"bnc-onboard": "1.25.0",
"bootstrap": "^4.6.0",
"bootstrap": "4.6.0",
"bootstrap-vue": "^2.21.2",
"core-js": "^3.11.1",
"csv-parse": "^4.15.4",
"core-js": "^3.12.1",
"dayjs": "^1.10.4",
"decimal.js": "^10.2.0",
"eos-common": "^0.8.0",
Expand All @@ -58,16 +55,16 @@
"eos-transit-simpleos-provider": "^4.0.1",
"eos-transit-tokenpocket-provider": "^4.0.1",
"eos-transit-whalevault-provider": "^4.0.1",
"eosjs": "^21.0.4",
"eosjs": "21.0.4",
"eth-multicall": "^1.3.13",
"fast-sort": "^3.0.2",
"ipfs-http-client": "^49.0.4",
"ipfs-http-client": "49.0.4",
"json-bigint": "^1.0.0",
"lodash": "^4.17.21",
"lodash-webpack-plugin": "^0.11.6",
"lodash.debounce": "^4.0.8",
"numeral": "^2.0.6",
"rxjs": "^6.6.7",
"rxjs": "6.6.7",
"vue": "^2.6.11",
"vue-analytics": "^5.17.2",
"vue-class-component": "^7.2.3",
Expand All @@ -82,38 +79,40 @@
"vuex-module-decorators": "^1.0.1",
"vuex-router-sync": "^5.0.0",
"waait": "^1.0.5",
"web3": "^1.3.5"
"web3": "1.3.6"
},
"devDependencies": {
"@babel/plugin-transform-modules-commonjs": "^7.14.0",
"@types/jest": "^26.0.23",
"@types/lodash.debounce": "^4.0.6",
"@types/numeral": "^2.0.1",
"@types/webpack": "^5.28.0",
"@typescript-eslint/eslint-plugin": "^4.22.0",
"@typescript-eslint/parser": "^4.22.0",
"@vue/cli-plugin-babel": "^4.5.12",
"@vue/cli-plugin-eslint": "^4.5.12",
"@vue/cli-plugin-typescript": "^4.5.12",
"@vue/cli-plugin-unit-jest": "^4.5.12",
"@vue/cli-plugin-vuex": "^4.5.0",
"@vue/cli-service": "^4.5.12",
"@typescript-eslint/eslint-plugin": "^4.24.0",
"@typescript-eslint/parser": "^4.24.0",
"@vue/cli-plugin-babel": "^4.5.13",
"@vue/cli-plugin-eslint": "^4.5.13",
"@vue/cli-plugin-typescript": "^4.5.13",
"@vue/cli-plugin-unit-jest": "^4.5.13",
"@vue/cli-plugin-vuex": "^4.5.13",
"@vue/cli-service": "^4.5.13",
"@vue/eslint-config-prettier": "^6.0.0",
"@vue/eslint-config-typescript": "^7.0.0",
"@vue/test-utils": "^1.1.4",
"@vue/test-utils": "^1.2.0",
"babel-eslint": "^10.0.3",
"babel-plugin-lodash": "^3.3.4",
"babel-plugin-transform-decorators": "^6.24.1",
"eslint": "^7.25.0",
"eslint": "^7.27.0",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-vue": "^7.9.0",
"jest": "^26.6.2",
"jest-fetch-mock": "^3.0.3",
"node-sass": "^5.0.0",
"prettier": "^2.2.1",
"node-sass": "5.0.0",
"prettier": "^2.3.0",
"sass-loader": "10.1.1",
"ts-jest": "^26.5.5",
"ts-jest": "^26.5.6",
"tslib": "^2.2.0",
"typescript": "^4.2.4",
"vue-cli-plugin-i18n": "^2.1.0",
"vue-cli-plugin-i18n": "^2.1.1",
"vue-jest": "^3.0.7",
"vue-template-compiler": "^2.6.11"
},
Expand Down
3 changes: 2 additions & 1 deletion src/api/eos/rpc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ export const rpc = new JsonRpc("https://eos.greymass.com");

export const dfuseClient = createDfuseClient({
network: "eos.dfuse.eosnation.io",
authentication: false
apiKey: "d43c24a5e6c303337364c382d3eb51e9"
// authentication: false
});
3 changes: 2 additions & 1 deletion src/api/eth/bancorApi.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import axios from "axios";
import { EthNetworks } from "../web3";

interface TokenMeta {
id: string;
image: string;
Expand Down Expand Up @@ -83,7 +84,7 @@ export const getWelcomeData = async (
try {
const res = await axios.get<WelcomeData>(
network == EthNetworks.Mainnet
? "https://api-v2.bancor.network/welcome"
? "http://35.242.151.4:3000/welcome"
: "https://ropsten-ptdczarhfq-nw.a.run.app/welcome"
);
console.info(`API data fetched at ${new Date()}`);
Expand Down
1 change: 1 addition & 0 deletions src/api/pureHelpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,7 @@ export const prettifyNumber = (
else return numeral(bigNum).format("$0,0.00");
} else {
if (bigNum.lte(0)) return "0";
else if (bigNum.gte(1000)) return numeral(bigNum).format("0,0", Math.floor);
else if (bigNum.gte(2))
return numeral(bigNum).format("0,0.[00]", Math.floor);
else if (bigNum.lt(0.000001)) return "< 0.000001";
Expand Down
20 changes: 20 additions & 0 deletions src/assets/_scss/custom/_styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,10 @@
border-color: $gray-placeholder !important;
background-color: white !important;
}
&.btn-error {
color: white !important;
background-color: $text-error-light !important;
}
}

.modal .modal-content {
Expand Down Expand Up @@ -743,6 +747,22 @@
color: white !important;
}

.icon-primary-light {
background-color: white !important;
border-radius: 6px !important;
border: 1px solid $primary !important;
padding: 3px;
color: $primary !important;
}

.icon-primary-dark {
background-color: $dropdown-dark !important;
border-radius: 6px !important;
border: 1px solid $primary-dark !important;
padding: 3px;
color: $primary-dark !important;
}

.seperator-dark {
margin-bottom: 1rem;
border: 1px solid $gray-border-dark;
Expand Down
Binary file added src/assets/media/logos/mercuryo-dark.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 22 additions & 0 deletions src/assets/media/logos/mercuryo-dark.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/media/logos/mercuryo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.