Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/contract integration #12

Open
wants to merge 15 commits into
base: master
Choose a base branch
from
Open
3 changes: 3 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ REACT_APP_ETHEREUM_SELF_HOSTED_NODE="https://ipAddress:port"
REACT_APP_ARBITRUM_SELF_HOSTED_NODE="https://ipAddress:port"
REACT_APP_AVALANCHE_SELF_HOSTED_NODE="https://ipAddress:port"

REACT_APP_CANTO_NODE="https://canto.dexvaults.com"
REACT_APP_CANTO_TESTNET_NODE="https://canto-testnet.plexnode.wtf"

# Segment Analytics
# - not necessary in dev environment
REACT_APP_SEGMENT_API_KEY=""
Expand Down
3 changes: 1 addition & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ module.exports = {
extends: ["plugin:prettier/recommended", "prettier/react", "prettier/@typescript-eslint"],
plugins: ["prettier"],
rules: {
"prettier/prettier": ["warn", { endOfLine: "auto" }],
"import/prefer-default-export": "off",
"prefer-destructuring": "off",
"prefer-template": "off",
Expand All @@ -28,4 +27,4 @@ module.exports = {
"no-restricted-syntax": "off",
"no-plusplus": "off",
},
}
};
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[submodule "src/locales/translations"]
path = src/locales/translations
url = https://github.com/Cre8rDAO/olympus-translations.git
url = https://github.com/OlympusDAO/olympus-translations.git
branch = main
ignore = all
4 changes: 2 additions & 2 deletions public/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,13 @@ function App() {
dispatch(getMigrationAllowances({ address, provider: loadProvider, networkID: networkId }));
bonds.map(bond => {
// NOTE: get any Claimable bonds, they may not be bondable
console.log(
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@0xtaichi remove this?

"address, bond, provider: loadProvider, networkID: networkId",
address,
bond,
loadProvider,
networkId,
);
if (bond.getClaimability(networkId)) {
dispatch(calculateUserBondDetails({ address, bond, provider: loadProvider, networkID: networkId }));
}
Expand Down
4 changes: 2 additions & 2 deletions src/abi/ftmTestnet/OlympusStaking.json

Large diffs are not rendered by default.

233 changes: 233 additions & 0 deletions src/abi/ftmTestnet/RedeemHelper.json

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/abi/ftmTestnet/wOHM.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/abi/rinkeby/.chainId
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
4
Loading