From 949bb145c378003c331ee1dbd0d112e7aaa4c98e Mon Sep 17 00:00:00 2001 From: XFT-dev <XFT-DEV@Offshit> Date: Wed, 7 Apr 2021 18:22:03 +0300 Subject: [PATCH] organizing it --- README.md | 3 + backend/Staking/README.md | 1 + backend/Staking/testnet-tokens.sol | 83 ------------------ backend/Staking/xftTest-asset.sol | 83 ------------------ frontend/{ => Staking}/LICENSE | 0 frontend/{ => Staking}/README.md | 2 + frontend/{ => Staking}/config/angular.json | 0 frontend/{ => Staking}/config/karma.conf.js | 0 .../{ => Staking}/config/ngsw-config.json | 0 .../{ => Staking}/config/tsconfig.app.json | 0 frontend/{ => Staking}/config/tsconfig.json | 0 .../{ => Staking}/config/tsconfig.spec.json | 0 frontend/{ => Staking}/config/tslint.json | 0 frontend/{ => Staking}/config/web3-patch.js | 0 frontend/{ => Staking}/e2e/app.e2e-spec.ts | 0 frontend/{ => Staking}/e2e/app.po.ts | 0 frontend/{ => Staking}/e2e/protractor.conf.js | 0 frontend/{ => Staking}/e2e/src/app.po.ts | 0 frontend/{ => Staking}/e2e/tsconfig.e2e.json | 0 frontend/{ => Staking}/e2e/tsconfig.json | 0 frontend/{ => Staking}/package-lock.json | 0 frontend/{ => Staking}/package.json | 0 frontend/{ => Staking}/src/.htaccess | 0 .../src/app/app-routing.module.ts | 0 .../{ => Staking}/src/app/app.component.css | 0 .../{ => Staking}/src/app/app.component.html | 0 .../{ => Staking}/src/app/app.component.scss | 0 .../src/app/app.component.spec.ts | 0 .../{ => Staking}/src/app/app.component.ts | 0 frontend/{ => Staking}/src/app/app.module.ts | 0 frontend/{ => Staking}/src/app/app.service.ts | 0 .../components/header/header.component.html | 0 .../components/header/header.component.scss | 0 .../app/components/header/header.component.ts | 0 .../src/app/core/guards/auth/auth.guard.ts | 0 .../app/core/services/auth/auth.service.ts | 0 .../services/services/stake-slp.service.ts | 0 .../core/services/services/storage.service.ts | 0 .../services/services/transactions.service.ts | 0 .../core/services/services/utils.service.ts | 0 .../dictionaries/meta-mask.dictionary.ts | 0 .../app/integrations/integrations.module.ts | 0 .../services/web3/web3.service.ts | 0 .../src/app/pages/form/form.component.html | 0 .../src/app/pages/form/form.component.scss | 0 .../src/app/pages/form/form.component.ts | 0 .../src/app/pages/login/login.component.html | 0 .../src/app/pages/login/login.component.scss | 0 .../src/app/pages/login/login.component.ts | 0 .../src/app/services/form.service.ts | 0 .../number-only/number-only.directive.ts | 0 .../modals/status/status-modal.component.html | 0 .../modals/status/status-modal.component.scss | 0 .../modals/status/status-modal.component.ts | 0 .../shared/services/status-modal.service.ts | 0 .../src/app/shared/shared.module.ts | 0 frontend/{ => Staking}/src/assets/.gitkeep | 0 .../fonts/metropolis/Metropolis-Black.otf | Bin .../metropolis/Metropolis-BlackItalic.otf | Bin .../fonts/metropolis/Metropolis-Bold.otf | Bin .../metropolis/Metropolis-BoldItalic.otf | Bin .../fonts/metropolis/Metropolis-ExtraBold.otf | Bin .../metropolis/Metropolis-ExtraBoldItalic.otf | Bin .../metropolis/Metropolis-ExtraLight.otf | Bin .../Metropolis-ExtraLightItalic.otf | Bin .../fonts/metropolis/Metropolis-Light.otf | Bin .../metropolis/Metropolis-LightItalic.otf | Bin .../fonts/metropolis/Metropolis-Medium.otf | Bin .../metropolis/Metropolis-MediumItalic.otf | Bin .../fonts/metropolis/Metropolis-Regular.otf | Bin .../metropolis/Metropolis-RegularItalic.otf | Bin .../fonts/metropolis/Metropolis-SemiBold.otf | Bin .../metropolis/Metropolis-SemiBoldItalic.otf | Bin .../fonts/metropolis/Metropolis-Thin.otf | Bin .../metropolis/Metropolis-ThinItalic.otf | Bin .../metropolis/SIL Open Font License.txt | 0 .../{ => Staking}/src/assets/i18n/en.json | 0 .../src/assets/icons/icon-128x128.png | Bin .../src/assets/icons/icon-144x144.png | Bin .../src/assets/icons/icon-152x152.png | Bin .../src/assets/icons/icon-192x192.png | Bin .../src/assets/icons/icon-384x384.png | Bin .../src/assets/icons/icon-72x72.png | Bin .../src/assets/icons/icon-96x96.png | Bin .../src/assets/img/logo-icon.svg | 0 .../{ => Staking}/src/assets/img/logout.svg | 0 .../src/assets/json/contracts/ONSEN.json | 0 .../src/assets/json/contracts/SLP.json | 0 .../src/assets/json/contracts/STAKING.json | 0 .../src/assets/json/icons/contract-icons.json | 0 .../src/environments/environment.prod.ts | 0 .../src/environments/environment.ts | 0 frontend/{ => Staking}/src/favicon.ico | Bin frontend/{ => Staking}/src/index.html | 0 frontend/{ => Staking}/src/main.ts | 0 .../{ => Staking}/src/manifest.webmanifest | 0 frontend/{ => Staking}/src/polyfills.ts | 0 frontend/{ => Staking}/src/styles.css | 0 frontend/{ => Staking}/src/styles.scss | 0 frontend/{ => Staking}/src/test.ts | 0 frontend/{ => Staking}/src/themes/fonts.scss | 0 .../{ => Staking}/src/themes/general.scss | 0 frontend/{ => Staking}/src/themes/mobile.scss | 0 frontend/{ => Staking}/src/themes/modal.scss | 0 .../{ => Staking}/src/themes/pending.scss | 0 .../{ => Staking}/src/themes/variables.scss | 0 frontend/{ => Staking}/src/tsconfig.app.json | 0 frontend/{ => Staking}/src/tsconfig.spec.json | 0 frontend/{ => Staking}/src/typings.d.ts | 0 109 files changed, 6 insertions(+), 166 deletions(-) create mode 100644 README.md create mode 100644 backend/Staking/README.md delete mode 100644 backend/Staking/testnet-tokens.sol delete mode 100644 backend/Staking/xftTest-asset.sol rename frontend/{ => Staking}/LICENSE (100%) rename frontend/{ => Staking}/README.md (93%) rename frontend/{ => Staking}/config/angular.json (100%) rename frontend/{ => Staking}/config/karma.conf.js (100%) rename frontend/{ => Staking}/config/ngsw-config.json (100%) rename frontend/{ => Staking}/config/tsconfig.app.json (100%) rename frontend/{ => Staking}/config/tsconfig.json (100%) rename frontend/{ => Staking}/config/tsconfig.spec.json (100%) rename frontend/{ => Staking}/config/tslint.json (100%) rename frontend/{ => Staking}/config/web3-patch.js (100%) rename frontend/{ => Staking}/e2e/app.e2e-spec.ts (100%) rename frontend/{ => Staking}/e2e/app.po.ts (100%) rename frontend/{ => Staking}/e2e/protractor.conf.js (100%) rename frontend/{ => Staking}/e2e/src/app.po.ts (100%) rename frontend/{ => Staking}/e2e/tsconfig.e2e.json (100%) rename frontend/{ => Staking}/e2e/tsconfig.json (100%) rename frontend/{ => Staking}/package-lock.json (100%) rename frontend/{ => Staking}/package.json (100%) rename frontend/{ => Staking}/src/.htaccess (100%) rename frontend/{ => Staking}/src/app/app-routing.module.ts (100%) rename frontend/{ => Staking}/src/app/app.component.css (100%) rename frontend/{ => Staking}/src/app/app.component.html (100%) rename frontend/{ => Staking}/src/app/app.component.scss (100%) rename frontend/{ => Staking}/src/app/app.component.spec.ts (100%) rename frontend/{ => Staking}/src/app/app.component.ts (100%) rename frontend/{ => Staking}/src/app/app.module.ts (100%) rename frontend/{ => Staking}/src/app/app.service.ts (100%) rename frontend/{ => Staking}/src/app/components/header/header.component.html (100%) rename frontend/{ => Staking}/src/app/components/header/header.component.scss (100%) rename frontend/{ => Staking}/src/app/components/header/header.component.ts (100%) rename frontend/{ => Staking}/src/app/core/guards/auth/auth.guard.ts (100%) rename frontend/{ => Staking}/src/app/core/services/auth/auth.service.ts (100%) rename frontend/{ => Staking}/src/app/core/services/services/stake-slp.service.ts (100%) rename frontend/{ => Staking}/src/app/core/services/services/storage.service.ts (100%) rename frontend/{ => Staking}/src/app/core/services/services/transactions.service.ts (100%) rename frontend/{ => Staking}/src/app/core/services/services/utils.service.ts (100%) rename frontend/{ => Staking}/src/app/integrations/dictionaries/meta-mask.dictionary.ts (100%) rename frontend/{ => Staking}/src/app/integrations/integrations.module.ts (100%) rename frontend/{ => Staking}/src/app/integrations/services/web3/web3.service.ts (100%) rename frontend/{ => Staking}/src/app/pages/form/form.component.html (100%) rename frontend/{ => Staking}/src/app/pages/form/form.component.scss (100%) rename frontend/{ => Staking}/src/app/pages/form/form.component.ts (100%) rename frontend/{ => Staking}/src/app/pages/login/login.component.html (100%) rename frontend/{ => Staking}/src/app/pages/login/login.component.scss (100%) rename frontend/{ => Staking}/src/app/pages/login/login.component.ts (100%) rename frontend/{ => Staking}/src/app/services/form.service.ts (100%) rename frontend/{ => Staking}/src/app/shared/directives/number-only/number-only.directive.ts (100%) rename frontend/{ => Staking}/src/app/shared/modals/status/status-modal.component.html (100%) rename frontend/{ => Staking}/src/app/shared/modals/status/status-modal.component.scss (100%) rename frontend/{ => Staking}/src/app/shared/modals/status/status-modal.component.ts (100%) rename frontend/{ => Staking}/src/app/shared/services/status-modal.service.ts (100%) rename frontend/{ => Staking}/src/app/shared/shared.module.ts (100%) rename frontend/{ => Staking}/src/assets/.gitkeep (100%) rename frontend/{ => Staking}/src/assets/fonts/metropolis/Metropolis-Black.otf (100%) rename frontend/{ => Staking}/src/assets/fonts/metropolis/Metropolis-BlackItalic.otf (100%) rename frontend/{ => Staking}/src/assets/fonts/metropolis/Metropolis-Bold.otf (100%) rename frontend/{ => Staking}/src/assets/fonts/metropolis/Metropolis-BoldItalic.otf (100%) rename frontend/{ => Staking}/src/assets/fonts/metropolis/Metropolis-ExtraBold.otf (100%) rename frontend/{ => Staking}/src/assets/fonts/metropolis/Metropolis-ExtraBoldItalic.otf (100%) rename frontend/{ => Staking}/src/assets/fonts/metropolis/Metropolis-ExtraLight.otf (100%) rename frontend/{ => Staking}/src/assets/fonts/metropolis/Metropolis-ExtraLightItalic.otf (100%) rename frontend/{ => Staking}/src/assets/fonts/metropolis/Metropolis-Light.otf (100%) rename frontend/{ => Staking}/src/assets/fonts/metropolis/Metropolis-LightItalic.otf (100%) rename frontend/{ => Staking}/src/assets/fonts/metropolis/Metropolis-Medium.otf (100%) rename frontend/{ => Staking}/src/assets/fonts/metropolis/Metropolis-MediumItalic.otf (100%) rename frontend/{ => Staking}/src/assets/fonts/metropolis/Metropolis-Regular.otf (100%) rename frontend/{ => Staking}/src/assets/fonts/metropolis/Metropolis-RegularItalic.otf (100%) rename frontend/{ => Staking}/src/assets/fonts/metropolis/Metropolis-SemiBold.otf (100%) rename frontend/{ => Staking}/src/assets/fonts/metropolis/Metropolis-SemiBoldItalic.otf (100%) rename frontend/{ => Staking}/src/assets/fonts/metropolis/Metropolis-Thin.otf (100%) rename frontend/{ => Staking}/src/assets/fonts/metropolis/Metropolis-ThinItalic.otf (100%) rename frontend/{ => Staking}/src/assets/fonts/metropolis/SIL Open Font License.txt (100%) rename frontend/{ => Staking}/src/assets/i18n/en.json (100%) rename frontend/{ => Staking}/src/assets/icons/icon-128x128.png (100%) rename frontend/{ => Staking}/src/assets/icons/icon-144x144.png (100%) rename frontend/{ => Staking}/src/assets/icons/icon-152x152.png (100%) rename frontend/{ => Staking}/src/assets/icons/icon-192x192.png (100%) rename frontend/{ => Staking}/src/assets/icons/icon-384x384.png (100%) rename frontend/{ => Staking}/src/assets/icons/icon-72x72.png (100%) rename frontend/{ => Staking}/src/assets/icons/icon-96x96.png (100%) rename frontend/{ => Staking}/src/assets/img/logo-icon.svg (100%) rename frontend/{ => Staking}/src/assets/img/logout.svg (100%) rename frontend/{ => Staking}/src/assets/json/contracts/ONSEN.json (100%) rename frontend/{ => Staking}/src/assets/json/contracts/SLP.json (100%) rename frontend/{ => Staking}/src/assets/json/contracts/STAKING.json (100%) rename frontend/{ => Staking}/src/assets/json/icons/contract-icons.json (100%) rename frontend/{ => Staking}/src/environments/environment.prod.ts (100%) rename frontend/{ => Staking}/src/environments/environment.ts (100%) rename frontend/{ => Staking}/src/favicon.ico (100%) rename frontend/{ => Staking}/src/index.html (100%) rename frontend/{ => Staking}/src/main.ts (100%) rename frontend/{ => Staking}/src/manifest.webmanifest (100%) rename frontend/{ => Staking}/src/polyfills.ts (100%) rename frontend/{ => Staking}/src/styles.css (100%) rename frontend/{ => Staking}/src/styles.scss (100%) rename frontend/{ => Staking}/src/test.ts (100%) rename frontend/{ => Staking}/src/themes/fonts.scss (100%) rename frontend/{ => Staking}/src/themes/general.scss (100%) rename frontend/{ => Staking}/src/themes/mobile.scss (100%) rename frontend/{ => Staking}/src/themes/modal.scss (100%) rename frontend/{ => Staking}/src/themes/pending.scss (100%) rename frontend/{ => Staking}/src/themes/variables.scss (100%) rename frontend/{ => Staking}/src/tsconfig.app.json (100%) rename frontend/{ => Staking}/src/tsconfig.spec.json (100%) rename frontend/{ => Staking}/src/typings.d.ts (100%) diff --git a/README.md b/README.md new file mode 100644 index 0000000..88aeaf4 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# Offshift Main protocol + +main code + docs \ No newline at end of file diff --git a/backend/Staking/README.md b/backend/Staking/README.md new file mode 100644 index 0000000..9d11a04 --- /dev/null +++ b/backend/Staking/README.md @@ -0,0 +1 @@ +# Staking contracts diff --git a/backend/Staking/testnet-tokens.sol b/backend/Staking/testnet-tokens.sol deleted file mode 100644 index 47f22c6..0000000 --- a/backend/Staking/testnet-tokens.sol +++ /dev/null @@ -1,83 +0,0 @@ -// contracts/zkAsset.sol -// SPDX-License-Identifier: MIT -pragma solidity ^0.6.0; - -import "../localhost/@openzeppelin/contracts/access/AccessControl.sol"; -import "../localhost/@openzeppelin/contracts/GSN/Context.sol"; -import "../localhost/@openzeppelin/contracts/token/ERC20/ERC20.sol"; -import "../localhost/@openzeppelin/contracts/token/ERC20/ERC20Burnable.sol"; -import "../localhost/@openzeppelin/contracts/token/ERC20/ERC20Pausable.sol"; - -contract zkAsset is ERC20, AccessControl, ERC20Burnable, ERC20Pausable { - bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE"); - bytes32 public constant PAUSER_ROLE = keccak256("PAUSER_ROLE"); - bytes32 public constant BURNER_ROLE = keccak256("BURNER_ROLE"); - - constructor() public ERC20("zkTEST-Asset", "zkA") { - - _setupRole(DEFAULT_ADMIN_ROLE, msg.sender); - _setupRole(MINTER_ROLE, msg.sender); - _setupRole(BURNER_ROLE, msg.sender); - _setupRole(PAUSER_ROLE, msg.sender); - } - - /** - * @dev Destroys `amount` tokens for `from`. - * - * See {ERC20-_burn}. - * - * Requirements: - * - * - the caller must have the `BURNER_ROLE`. - */ - function burn(address from, uint256 amount) public { - require(hasRole(BURNER_ROLE, msg.sender), "zkAsset: must have burner role to burn"); - _burn(from, amount); - } - - /** - * @dev Creates `amount` new tokens for `to`. - * - * See {ERC20-_mint}. - * - * Requirements: - * - * - the caller must have the `MINTER_ROLE`. - */ - function mint(address to, uint256 amount) public { - require(hasRole(MINTER_ROLE, _msgSender()), "zkAsset: must have minter role to mint"); - _mint(to, amount); - } - - /** - * @dev Pauses all token transfers. - * - * See {ERC20Pausable} and {Pausable-_pause}. - * - * Requirements: - * - * - the caller must have the `PAUSER_ROLE`. - */ - function pause() public { - require(hasRole(PAUSER_ROLE, _msgSender()), "zkAsset: must have pauser role to pause"); - _pause(); - } - - /** - * @dev Unpauses all token transfers. - * - * See {ERC20Pausable} and {Pausable-_unpause}. - * - * Requirements: - * - * - the caller must have the `PAUSER_ROLE`. - */ - function unpause() public { - require(hasRole(PAUSER_ROLE, _msgSender()), "zkAsset: must have pauser role to unpause"); - _unpause(); - } - - function _beforeTokenTransfer(address from, address to, uint256 amount) internal override(ERC20, ERC20Pausable) { - super._beforeTokenTransfer(from, to, amount); - } -} diff --git a/backend/Staking/xftTest-asset.sol b/backend/Staking/xftTest-asset.sol deleted file mode 100644 index 0c94967..0000000 --- a/backend/Staking/xftTest-asset.sol +++ /dev/null @@ -1,83 +0,0 @@ -// contracts/zkAsset.sol -// SPDX-License-Identifier: MIT -pragma solidity ^0.6.0; - -import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/access/AccessControl.sol"; -import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/GSN/Context.sol"; -import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/ERC20.sol"; -import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/ERC20Pausable.sol"; -import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/ERC20Burnable.sol"; - -contract zkAasset is ERC20, AccessControl, ERC20Burnable, ERC20Pausable { - bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE"); - bytes32 public constant PAUSER_ROLE = keccak256("PAUSER_ROLE"); - bytes32 public constant BURNER_ROLE = keccak256("BURNER_ROLE"); - - constructor() public ERC20("xftTEST-Asset", "xftT") { - - _setupRole(DEFAULT_ADMIN_ROLE, msg.sender); - _setupRole(MINTER_ROLE, msg.sender); - _setupRole(BURNER_ROLE, msg.sender); - _setupRole(PAUSER_ROLE, msg.sender); - } - - /** - * @dev Destroys `amount` tokens for `from`. - * - * See {ERC20-_burn}. - * - * Requirements: - * - * - the caller must have the `BURNER_ROLE`. - */ - function burn(address from, uint256 amount) public { - require(hasRole(BURNER_ROLE, msg.sender), "xftTEST-Asset: must have burner role to burn"); - _burn(from, amount); - } - - /** - * @dev Creates `amount` new tokens for `to`. - * - * See {ERC20-_mint}. - * - * Requirements: - * - * - the caller must have the `MINTER_ROLE`. - */ - function mint(address to, uint256 amount) public { - require(hasRole(MINTER_ROLE, _msgSender()), "xftTEST-Asset: must have minter role to mint"); - _mint(to, amount); - } - - /** - * @dev Pauses all token transfers. - * - * See {ERC20Pausable} and {Pausable-_pause}. - * - * Requirements: - * - * - the caller must have the `PAUSER_ROLE`. - */ - function pause() public { - require(hasRole(PAUSER_ROLE, _msgSender()), "xftTEST-Asset: must have pauser role to pause"); - _pause(); - } - - /** - * @dev Unpauses all token transfers. - * - * See {ERC20Pausable} and {Pausable-_unpause}. - * - * Requirements: - * - * - the caller must have the `PAUSER_ROLE`. - */ - function unpause() public { - require(hasRole(PAUSER_ROLE, _msgSender()), "xftTEST-Asset: must have pauser role to unpause"); - _unpause(); - } - - function _beforeTokenTransfer(address from, address to, uint256 amount) internal override(ERC20, ERC20Pausable) { - super._beforeTokenTransfer(from, to, amount); - } -} diff --git a/frontend/LICENSE b/frontend/Staking/LICENSE similarity index 100% rename from frontend/LICENSE rename to frontend/Staking/LICENSE diff --git a/frontend/README.md b/frontend/Staking/README.md similarity index 93% rename from frontend/README.md rename to frontend/Staking/README.md index d9cdce7..693040f 100644 --- a/frontend/README.md +++ b/frontend/Staking/README.md @@ -1,5 +1,7 @@ # Offshift +[Staking dashboard](https://dashboard.offshift.io/) frontend code. + This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 8.0.1. diff --git a/frontend/config/angular.json b/frontend/Staking/config/angular.json similarity index 100% rename from frontend/config/angular.json rename to frontend/Staking/config/angular.json diff --git a/frontend/config/karma.conf.js b/frontend/Staking/config/karma.conf.js similarity index 100% rename from frontend/config/karma.conf.js rename to frontend/Staking/config/karma.conf.js diff --git a/frontend/config/ngsw-config.json b/frontend/Staking/config/ngsw-config.json similarity index 100% rename from frontend/config/ngsw-config.json rename to frontend/Staking/config/ngsw-config.json diff --git a/frontend/config/tsconfig.app.json b/frontend/Staking/config/tsconfig.app.json similarity index 100% rename from frontend/config/tsconfig.app.json rename to frontend/Staking/config/tsconfig.app.json diff --git a/frontend/config/tsconfig.json b/frontend/Staking/config/tsconfig.json similarity index 100% rename from frontend/config/tsconfig.json rename to frontend/Staking/config/tsconfig.json diff --git a/frontend/config/tsconfig.spec.json b/frontend/Staking/config/tsconfig.spec.json similarity index 100% rename from frontend/config/tsconfig.spec.json rename to frontend/Staking/config/tsconfig.spec.json diff --git a/frontend/config/tslint.json b/frontend/Staking/config/tslint.json similarity index 100% rename from frontend/config/tslint.json rename to frontend/Staking/config/tslint.json diff --git a/frontend/config/web3-patch.js b/frontend/Staking/config/web3-patch.js similarity index 100% rename from frontend/config/web3-patch.js rename to frontend/Staking/config/web3-patch.js diff --git a/frontend/e2e/app.e2e-spec.ts b/frontend/Staking/e2e/app.e2e-spec.ts similarity index 100% rename from frontend/e2e/app.e2e-spec.ts rename to frontend/Staking/e2e/app.e2e-spec.ts diff --git a/frontend/e2e/app.po.ts b/frontend/Staking/e2e/app.po.ts similarity index 100% rename from frontend/e2e/app.po.ts rename to frontend/Staking/e2e/app.po.ts diff --git a/frontend/e2e/protractor.conf.js b/frontend/Staking/e2e/protractor.conf.js similarity index 100% rename from frontend/e2e/protractor.conf.js rename to frontend/Staking/e2e/protractor.conf.js diff --git a/frontend/e2e/src/app.po.ts b/frontend/Staking/e2e/src/app.po.ts similarity index 100% rename from frontend/e2e/src/app.po.ts rename to frontend/Staking/e2e/src/app.po.ts diff --git a/frontend/e2e/tsconfig.e2e.json b/frontend/Staking/e2e/tsconfig.e2e.json similarity index 100% rename from frontend/e2e/tsconfig.e2e.json rename to frontend/Staking/e2e/tsconfig.e2e.json diff --git a/frontend/e2e/tsconfig.json b/frontend/Staking/e2e/tsconfig.json similarity index 100% rename from frontend/e2e/tsconfig.json rename to frontend/Staking/e2e/tsconfig.json diff --git a/frontend/package-lock.json b/frontend/Staking/package-lock.json similarity index 100% rename from frontend/package-lock.json rename to frontend/Staking/package-lock.json diff --git a/frontend/package.json b/frontend/Staking/package.json similarity index 100% rename from frontend/package.json rename to frontend/Staking/package.json diff --git a/frontend/src/.htaccess b/frontend/Staking/src/.htaccess similarity index 100% rename from frontend/src/.htaccess rename to frontend/Staking/src/.htaccess diff --git a/frontend/src/app/app-routing.module.ts b/frontend/Staking/src/app/app-routing.module.ts similarity index 100% rename from frontend/src/app/app-routing.module.ts rename to frontend/Staking/src/app/app-routing.module.ts diff --git a/frontend/src/app/app.component.css b/frontend/Staking/src/app/app.component.css similarity index 100% rename from frontend/src/app/app.component.css rename to frontend/Staking/src/app/app.component.css diff --git a/frontend/src/app/app.component.html b/frontend/Staking/src/app/app.component.html similarity index 100% rename from frontend/src/app/app.component.html rename to frontend/Staking/src/app/app.component.html diff --git a/frontend/src/app/app.component.scss b/frontend/Staking/src/app/app.component.scss similarity index 100% rename from frontend/src/app/app.component.scss rename to frontend/Staking/src/app/app.component.scss diff --git a/frontend/src/app/app.component.spec.ts b/frontend/Staking/src/app/app.component.spec.ts similarity index 100% rename from frontend/src/app/app.component.spec.ts rename to frontend/Staking/src/app/app.component.spec.ts diff --git a/frontend/src/app/app.component.ts b/frontend/Staking/src/app/app.component.ts similarity index 100% rename from frontend/src/app/app.component.ts rename to frontend/Staking/src/app/app.component.ts diff --git a/frontend/src/app/app.module.ts b/frontend/Staking/src/app/app.module.ts similarity index 100% rename from frontend/src/app/app.module.ts rename to frontend/Staking/src/app/app.module.ts diff --git a/frontend/src/app/app.service.ts b/frontend/Staking/src/app/app.service.ts similarity index 100% rename from frontend/src/app/app.service.ts rename to frontend/Staking/src/app/app.service.ts diff --git a/frontend/src/app/components/header/header.component.html b/frontend/Staking/src/app/components/header/header.component.html similarity index 100% rename from frontend/src/app/components/header/header.component.html rename to frontend/Staking/src/app/components/header/header.component.html diff --git a/frontend/src/app/components/header/header.component.scss b/frontend/Staking/src/app/components/header/header.component.scss similarity index 100% rename from frontend/src/app/components/header/header.component.scss rename to frontend/Staking/src/app/components/header/header.component.scss diff --git a/frontend/src/app/components/header/header.component.ts b/frontend/Staking/src/app/components/header/header.component.ts similarity index 100% rename from frontend/src/app/components/header/header.component.ts rename to frontend/Staking/src/app/components/header/header.component.ts diff --git a/frontend/src/app/core/guards/auth/auth.guard.ts b/frontend/Staking/src/app/core/guards/auth/auth.guard.ts similarity index 100% rename from frontend/src/app/core/guards/auth/auth.guard.ts rename to frontend/Staking/src/app/core/guards/auth/auth.guard.ts diff --git a/frontend/src/app/core/services/auth/auth.service.ts b/frontend/Staking/src/app/core/services/auth/auth.service.ts similarity index 100% rename from frontend/src/app/core/services/auth/auth.service.ts rename to frontend/Staking/src/app/core/services/auth/auth.service.ts diff --git a/frontend/src/app/core/services/services/stake-slp.service.ts b/frontend/Staking/src/app/core/services/services/stake-slp.service.ts similarity index 100% rename from frontend/src/app/core/services/services/stake-slp.service.ts rename to frontend/Staking/src/app/core/services/services/stake-slp.service.ts diff --git a/frontend/src/app/core/services/services/storage.service.ts b/frontend/Staking/src/app/core/services/services/storage.service.ts similarity index 100% rename from frontend/src/app/core/services/services/storage.service.ts rename to frontend/Staking/src/app/core/services/services/storage.service.ts diff --git a/frontend/src/app/core/services/services/transactions.service.ts b/frontend/Staking/src/app/core/services/services/transactions.service.ts similarity index 100% rename from frontend/src/app/core/services/services/transactions.service.ts rename to frontend/Staking/src/app/core/services/services/transactions.service.ts diff --git a/frontend/src/app/core/services/services/utils.service.ts b/frontend/Staking/src/app/core/services/services/utils.service.ts similarity index 100% rename from frontend/src/app/core/services/services/utils.service.ts rename to frontend/Staking/src/app/core/services/services/utils.service.ts diff --git a/frontend/src/app/integrations/dictionaries/meta-mask.dictionary.ts b/frontend/Staking/src/app/integrations/dictionaries/meta-mask.dictionary.ts similarity index 100% rename from frontend/src/app/integrations/dictionaries/meta-mask.dictionary.ts rename to frontend/Staking/src/app/integrations/dictionaries/meta-mask.dictionary.ts diff --git a/frontend/src/app/integrations/integrations.module.ts b/frontend/Staking/src/app/integrations/integrations.module.ts similarity index 100% rename from frontend/src/app/integrations/integrations.module.ts rename to frontend/Staking/src/app/integrations/integrations.module.ts diff --git a/frontend/src/app/integrations/services/web3/web3.service.ts b/frontend/Staking/src/app/integrations/services/web3/web3.service.ts similarity index 100% rename from frontend/src/app/integrations/services/web3/web3.service.ts rename to frontend/Staking/src/app/integrations/services/web3/web3.service.ts diff --git a/frontend/src/app/pages/form/form.component.html b/frontend/Staking/src/app/pages/form/form.component.html similarity index 100% rename from frontend/src/app/pages/form/form.component.html rename to frontend/Staking/src/app/pages/form/form.component.html diff --git a/frontend/src/app/pages/form/form.component.scss b/frontend/Staking/src/app/pages/form/form.component.scss similarity index 100% rename from frontend/src/app/pages/form/form.component.scss rename to frontend/Staking/src/app/pages/form/form.component.scss diff --git a/frontend/src/app/pages/form/form.component.ts b/frontend/Staking/src/app/pages/form/form.component.ts similarity index 100% rename from frontend/src/app/pages/form/form.component.ts rename to frontend/Staking/src/app/pages/form/form.component.ts diff --git a/frontend/src/app/pages/login/login.component.html b/frontend/Staking/src/app/pages/login/login.component.html similarity index 100% rename from frontend/src/app/pages/login/login.component.html rename to frontend/Staking/src/app/pages/login/login.component.html diff --git a/frontend/src/app/pages/login/login.component.scss b/frontend/Staking/src/app/pages/login/login.component.scss similarity index 100% rename from frontend/src/app/pages/login/login.component.scss rename to frontend/Staking/src/app/pages/login/login.component.scss diff --git a/frontend/src/app/pages/login/login.component.ts b/frontend/Staking/src/app/pages/login/login.component.ts similarity index 100% rename from frontend/src/app/pages/login/login.component.ts rename to frontend/Staking/src/app/pages/login/login.component.ts diff --git a/frontend/src/app/services/form.service.ts b/frontend/Staking/src/app/services/form.service.ts similarity index 100% rename from frontend/src/app/services/form.service.ts rename to frontend/Staking/src/app/services/form.service.ts diff --git a/frontend/src/app/shared/directives/number-only/number-only.directive.ts b/frontend/Staking/src/app/shared/directives/number-only/number-only.directive.ts similarity index 100% rename from frontend/src/app/shared/directives/number-only/number-only.directive.ts rename to frontend/Staking/src/app/shared/directives/number-only/number-only.directive.ts diff --git a/frontend/src/app/shared/modals/status/status-modal.component.html b/frontend/Staking/src/app/shared/modals/status/status-modal.component.html similarity index 100% rename from frontend/src/app/shared/modals/status/status-modal.component.html rename to frontend/Staking/src/app/shared/modals/status/status-modal.component.html diff --git a/frontend/src/app/shared/modals/status/status-modal.component.scss b/frontend/Staking/src/app/shared/modals/status/status-modal.component.scss similarity index 100% rename from frontend/src/app/shared/modals/status/status-modal.component.scss rename to frontend/Staking/src/app/shared/modals/status/status-modal.component.scss diff --git a/frontend/src/app/shared/modals/status/status-modal.component.ts b/frontend/Staking/src/app/shared/modals/status/status-modal.component.ts similarity index 100% rename from frontend/src/app/shared/modals/status/status-modal.component.ts rename to frontend/Staking/src/app/shared/modals/status/status-modal.component.ts diff --git a/frontend/src/app/shared/services/status-modal.service.ts b/frontend/Staking/src/app/shared/services/status-modal.service.ts similarity index 100% rename from frontend/src/app/shared/services/status-modal.service.ts rename to frontend/Staking/src/app/shared/services/status-modal.service.ts diff --git a/frontend/src/app/shared/shared.module.ts b/frontend/Staking/src/app/shared/shared.module.ts similarity index 100% rename from frontend/src/app/shared/shared.module.ts rename to frontend/Staking/src/app/shared/shared.module.ts diff --git a/frontend/src/assets/.gitkeep b/frontend/Staking/src/assets/.gitkeep similarity index 100% rename from frontend/src/assets/.gitkeep rename to frontend/Staking/src/assets/.gitkeep diff --git a/frontend/src/assets/fonts/metropolis/Metropolis-Black.otf b/frontend/Staking/src/assets/fonts/metropolis/Metropolis-Black.otf similarity index 100% rename from frontend/src/assets/fonts/metropolis/Metropolis-Black.otf rename to frontend/Staking/src/assets/fonts/metropolis/Metropolis-Black.otf diff --git a/frontend/src/assets/fonts/metropolis/Metropolis-BlackItalic.otf b/frontend/Staking/src/assets/fonts/metropolis/Metropolis-BlackItalic.otf similarity index 100% rename from frontend/src/assets/fonts/metropolis/Metropolis-BlackItalic.otf rename to frontend/Staking/src/assets/fonts/metropolis/Metropolis-BlackItalic.otf diff --git a/frontend/src/assets/fonts/metropolis/Metropolis-Bold.otf b/frontend/Staking/src/assets/fonts/metropolis/Metropolis-Bold.otf similarity index 100% rename from frontend/src/assets/fonts/metropolis/Metropolis-Bold.otf rename to frontend/Staking/src/assets/fonts/metropolis/Metropolis-Bold.otf diff --git a/frontend/src/assets/fonts/metropolis/Metropolis-BoldItalic.otf b/frontend/Staking/src/assets/fonts/metropolis/Metropolis-BoldItalic.otf similarity index 100% rename from frontend/src/assets/fonts/metropolis/Metropolis-BoldItalic.otf rename to frontend/Staking/src/assets/fonts/metropolis/Metropolis-BoldItalic.otf diff --git a/frontend/src/assets/fonts/metropolis/Metropolis-ExtraBold.otf b/frontend/Staking/src/assets/fonts/metropolis/Metropolis-ExtraBold.otf similarity index 100% rename from frontend/src/assets/fonts/metropolis/Metropolis-ExtraBold.otf rename to frontend/Staking/src/assets/fonts/metropolis/Metropolis-ExtraBold.otf diff --git a/frontend/src/assets/fonts/metropolis/Metropolis-ExtraBoldItalic.otf b/frontend/Staking/src/assets/fonts/metropolis/Metropolis-ExtraBoldItalic.otf similarity index 100% rename from frontend/src/assets/fonts/metropolis/Metropolis-ExtraBoldItalic.otf rename to frontend/Staking/src/assets/fonts/metropolis/Metropolis-ExtraBoldItalic.otf diff --git a/frontend/src/assets/fonts/metropolis/Metropolis-ExtraLight.otf b/frontend/Staking/src/assets/fonts/metropolis/Metropolis-ExtraLight.otf similarity index 100% rename from frontend/src/assets/fonts/metropolis/Metropolis-ExtraLight.otf rename to frontend/Staking/src/assets/fonts/metropolis/Metropolis-ExtraLight.otf diff --git a/frontend/src/assets/fonts/metropolis/Metropolis-ExtraLightItalic.otf b/frontend/Staking/src/assets/fonts/metropolis/Metropolis-ExtraLightItalic.otf similarity index 100% rename from frontend/src/assets/fonts/metropolis/Metropolis-ExtraLightItalic.otf rename to frontend/Staking/src/assets/fonts/metropolis/Metropolis-ExtraLightItalic.otf diff --git a/frontend/src/assets/fonts/metropolis/Metropolis-Light.otf b/frontend/Staking/src/assets/fonts/metropolis/Metropolis-Light.otf similarity index 100% rename from frontend/src/assets/fonts/metropolis/Metropolis-Light.otf rename to frontend/Staking/src/assets/fonts/metropolis/Metropolis-Light.otf diff --git a/frontend/src/assets/fonts/metropolis/Metropolis-LightItalic.otf b/frontend/Staking/src/assets/fonts/metropolis/Metropolis-LightItalic.otf similarity index 100% rename from frontend/src/assets/fonts/metropolis/Metropolis-LightItalic.otf rename to frontend/Staking/src/assets/fonts/metropolis/Metropolis-LightItalic.otf diff --git a/frontend/src/assets/fonts/metropolis/Metropolis-Medium.otf b/frontend/Staking/src/assets/fonts/metropolis/Metropolis-Medium.otf similarity index 100% rename from frontend/src/assets/fonts/metropolis/Metropolis-Medium.otf rename to frontend/Staking/src/assets/fonts/metropolis/Metropolis-Medium.otf diff --git a/frontend/src/assets/fonts/metropolis/Metropolis-MediumItalic.otf b/frontend/Staking/src/assets/fonts/metropolis/Metropolis-MediumItalic.otf similarity index 100% rename from frontend/src/assets/fonts/metropolis/Metropolis-MediumItalic.otf rename to frontend/Staking/src/assets/fonts/metropolis/Metropolis-MediumItalic.otf diff --git a/frontend/src/assets/fonts/metropolis/Metropolis-Regular.otf b/frontend/Staking/src/assets/fonts/metropolis/Metropolis-Regular.otf similarity index 100% rename from frontend/src/assets/fonts/metropolis/Metropolis-Regular.otf rename to frontend/Staking/src/assets/fonts/metropolis/Metropolis-Regular.otf diff --git a/frontend/src/assets/fonts/metropolis/Metropolis-RegularItalic.otf b/frontend/Staking/src/assets/fonts/metropolis/Metropolis-RegularItalic.otf similarity index 100% rename from frontend/src/assets/fonts/metropolis/Metropolis-RegularItalic.otf rename to frontend/Staking/src/assets/fonts/metropolis/Metropolis-RegularItalic.otf diff --git a/frontend/src/assets/fonts/metropolis/Metropolis-SemiBold.otf b/frontend/Staking/src/assets/fonts/metropolis/Metropolis-SemiBold.otf similarity index 100% rename from frontend/src/assets/fonts/metropolis/Metropolis-SemiBold.otf rename to frontend/Staking/src/assets/fonts/metropolis/Metropolis-SemiBold.otf diff --git a/frontend/src/assets/fonts/metropolis/Metropolis-SemiBoldItalic.otf b/frontend/Staking/src/assets/fonts/metropolis/Metropolis-SemiBoldItalic.otf similarity index 100% rename from frontend/src/assets/fonts/metropolis/Metropolis-SemiBoldItalic.otf rename to frontend/Staking/src/assets/fonts/metropolis/Metropolis-SemiBoldItalic.otf diff --git a/frontend/src/assets/fonts/metropolis/Metropolis-Thin.otf b/frontend/Staking/src/assets/fonts/metropolis/Metropolis-Thin.otf similarity index 100% rename from frontend/src/assets/fonts/metropolis/Metropolis-Thin.otf rename to frontend/Staking/src/assets/fonts/metropolis/Metropolis-Thin.otf diff --git a/frontend/src/assets/fonts/metropolis/Metropolis-ThinItalic.otf b/frontend/Staking/src/assets/fonts/metropolis/Metropolis-ThinItalic.otf similarity index 100% rename from frontend/src/assets/fonts/metropolis/Metropolis-ThinItalic.otf rename to frontend/Staking/src/assets/fonts/metropolis/Metropolis-ThinItalic.otf diff --git a/frontend/src/assets/fonts/metropolis/SIL Open Font License.txt b/frontend/Staking/src/assets/fonts/metropolis/SIL Open Font License.txt similarity index 100% rename from frontend/src/assets/fonts/metropolis/SIL Open Font License.txt rename to frontend/Staking/src/assets/fonts/metropolis/SIL Open Font License.txt diff --git a/frontend/src/assets/i18n/en.json b/frontend/Staking/src/assets/i18n/en.json similarity index 100% rename from frontend/src/assets/i18n/en.json rename to frontend/Staking/src/assets/i18n/en.json diff --git a/frontend/src/assets/icons/icon-128x128.png b/frontend/Staking/src/assets/icons/icon-128x128.png similarity index 100% rename from frontend/src/assets/icons/icon-128x128.png rename to frontend/Staking/src/assets/icons/icon-128x128.png diff --git a/frontend/src/assets/icons/icon-144x144.png b/frontend/Staking/src/assets/icons/icon-144x144.png similarity index 100% rename from frontend/src/assets/icons/icon-144x144.png rename to frontend/Staking/src/assets/icons/icon-144x144.png diff --git a/frontend/src/assets/icons/icon-152x152.png b/frontend/Staking/src/assets/icons/icon-152x152.png similarity index 100% rename from frontend/src/assets/icons/icon-152x152.png rename to frontend/Staking/src/assets/icons/icon-152x152.png diff --git a/frontend/src/assets/icons/icon-192x192.png b/frontend/Staking/src/assets/icons/icon-192x192.png similarity index 100% rename from frontend/src/assets/icons/icon-192x192.png rename to frontend/Staking/src/assets/icons/icon-192x192.png diff --git a/frontend/src/assets/icons/icon-384x384.png b/frontend/Staking/src/assets/icons/icon-384x384.png similarity index 100% rename from frontend/src/assets/icons/icon-384x384.png rename to frontend/Staking/src/assets/icons/icon-384x384.png diff --git a/frontend/src/assets/icons/icon-72x72.png b/frontend/Staking/src/assets/icons/icon-72x72.png similarity index 100% rename from frontend/src/assets/icons/icon-72x72.png rename to frontend/Staking/src/assets/icons/icon-72x72.png diff --git a/frontend/src/assets/icons/icon-96x96.png b/frontend/Staking/src/assets/icons/icon-96x96.png similarity index 100% rename from frontend/src/assets/icons/icon-96x96.png rename to frontend/Staking/src/assets/icons/icon-96x96.png diff --git a/frontend/src/assets/img/logo-icon.svg b/frontend/Staking/src/assets/img/logo-icon.svg similarity index 100% rename from frontend/src/assets/img/logo-icon.svg rename to frontend/Staking/src/assets/img/logo-icon.svg diff --git a/frontend/src/assets/img/logout.svg b/frontend/Staking/src/assets/img/logout.svg similarity index 100% rename from frontend/src/assets/img/logout.svg rename to frontend/Staking/src/assets/img/logout.svg diff --git a/frontend/src/assets/json/contracts/ONSEN.json b/frontend/Staking/src/assets/json/contracts/ONSEN.json similarity index 100% rename from frontend/src/assets/json/contracts/ONSEN.json rename to frontend/Staking/src/assets/json/contracts/ONSEN.json diff --git a/frontend/src/assets/json/contracts/SLP.json b/frontend/Staking/src/assets/json/contracts/SLP.json similarity index 100% rename from frontend/src/assets/json/contracts/SLP.json rename to frontend/Staking/src/assets/json/contracts/SLP.json diff --git a/frontend/src/assets/json/contracts/STAKING.json b/frontend/Staking/src/assets/json/contracts/STAKING.json similarity index 100% rename from frontend/src/assets/json/contracts/STAKING.json rename to frontend/Staking/src/assets/json/contracts/STAKING.json diff --git a/frontend/src/assets/json/icons/contract-icons.json b/frontend/Staking/src/assets/json/icons/contract-icons.json similarity index 100% rename from frontend/src/assets/json/icons/contract-icons.json rename to frontend/Staking/src/assets/json/icons/contract-icons.json diff --git a/frontend/src/environments/environment.prod.ts b/frontend/Staking/src/environments/environment.prod.ts similarity index 100% rename from frontend/src/environments/environment.prod.ts rename to frontend/Staking/src/environments/environment.prod.ts diff --git a/frontend/src/environments/environment.ts b/frontend/Staking/src/environments/environment.ts similarity index 100% rename from frontend/src/environments/environment.ts rename to frontend/Staking/src/environments/environment.ts diff --git a/frontend/src/favicon.ico b/frontend/Staking/src/favicon.ico similarity index 100% rename from frontend/src/favicon.ico rename to frontend/Staking/src/favicon.ico diff --git a/frontend/src/index.html b/frontend/Staking/src/index.html similarity index 100% rename from frontend/src/index.html rename to frontend/Staking/src/index.html diff --git a/frontend/src/main.ts b/frontend/Staking/src/main.ts similarity index 100% rename from frontend/src/main.ts rename to frontend/Staking/src/main.ts diff --git a/frontend/src/manifest.webmanifest b/frontend/Staking/src/manifest.webmanifest similarity index 100% rename from frontend/src/manifest.webmanifest rename to frontend/Staking/src/manifest.webmanifest diff --git a/frontend/src/polyfills.ts b/frontend/Staking/src/polyfills.ts similarity index 100% rename from frontend/src/polyfills.ts rename to frontend/Staking/src/polyfills.ts diff --git a/frontend/src/styles.css b/frontend/Staking/src/styles.css similarity index 100% rename from frontend/src/styles.css rename to frontend/Staking/src/styles.css diff --git a/frontend/src/styles.scss b/frontend/Staking/src/styles.scss similarity index 100% rename from frontend/src/styles.scss rename to frontend/Staking/src/styles.scss diff --git a/frontend/src/test.ts b/frontend/Staking/src/test.ts similarity index 100% rename from frontend/src/test.ts rename to frontend/Staking/src/test.ts diff --git a/frontend/src/themes/fonts.scss b/frontend/Staking/src/themes/fonts.scss similarity index 100% rename from frontend/src/themes/fonts.scss rename to frontend/Staking/src/themes/fonts.scss diff --git a/frontend/src/themes/general.scss b/frontend/Staking/src/themes/general.scss similarity index 100% rename from frontend/src/themes/general.scss rename to frontend/Staking/src/themes/general.scss diff --git a/frontend/src/themes/mobile.scss b/frontend/Staking/src/themes/mobile.scss similarity index 100% rename from frontend/src/themes/mobile.scss rename to frontend/Staking/src/themes/mobile.scss diff --git a/frontend/src/themes/modal.scss b/frontend/Staking/src/themes/modal.scss similarity index 100% rename from frontend/src/themes/modal.scss rename to frontend/Staking/src/themes/modal.scss diff --git a/frontend/src/themes/pending.scss b/frontend/Staking/src/themes/pending.scss similarity index 100% rename from frontend/src/themes/pending.scss rename to frontend/Staking/src/themes/pending.scss diff --git a/frontend/src/themes/variables.scss b/frontend/Staking/src/themes/variables.scss similarity index 100% rename from frontend/src/themes/variables.scss rename to frontend/Staking/src/themes/variables.scss diff --git a/frontend/src/tsconfig.app.json b/frontend/Staking/src/tsconfig.app.json similarity index 100% rename from frontend/src/tsconfig.app.json rename to frontend/Staking/src/tsconfig.app.json diff --git a/frontend/src/tsconfig.spec.json b/frontend/Staking/src/tsconfig.spec.json similarity index 100% rename from frontend/src/tsconfig.spec.json rename to frontend/Staking/src/tsconfig.spec.json diff --git a/frontend/src/typings.d.ts b/frontend/Staking/src/typings.d.ts similarity index 100% rename from frontend/src/typings.d.ts rename to frontend/Staking/src/typings.d.ts -- GitLab