Skip to content

Commit

Permalink
Remove FAQ / new sovrynProtcol ABI (#2257)
Browse files Browse the repository at this point in the history
* [Footer] - remove FAQ row (#2234)

* feat: new sovrynProtocol ABI inc. tiny position

Co-authored-by: Pietro Maximoff <[email protected]>
  • Loading branch information
soulBit and pietro-maximoff authored Jun 13, 2022
1 parent af7a389 commit e6bbc67
Show file tree
Hide file tree
Showing 6 changed files with 78 additions and 27 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,22 +32,6 @@ export const Footer: React.FC = () => {
<p className="tw-mb-2">
<Trans
i18nKey={translations.footer.notice_3}
components={[
<a
className="tw-text-secondary tw-underline"
href="https://wiki.sovryn.app/en/getting-started/faq-general"
target="_blank"
rel="noreferrer noopener"
data-action-id="footer-link-faq"
>
x
</a>,
]}
/>
</p>
<p className="tw-mb-2">
<Trans
i18nKey={translations.footer.notice_4}
components={[
<a
href="https://wiki.sovryn.app/en/getting-started/wallet-setup"
Expand All @@ -63,7 +47,7 @@ export const Footer: React.FC = () => {
</p>
<p className="tw-mb-1">
<Trans
i18nKey={translations.footer.notice_5}
i18nKey={translations.footer.notice_4}
components={[
<a
href={discordInvite}
Expand Down
5 changes: 2 additions & 3 deletions src/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -427,9 +427,8 @@
"title": "Powered by <0>Bitcoin</0>",
"notice_1": "Only you control and have access to your wealth, any actions you take could cause a potential loss of funds.",
"notice_2": "Particularly please be sure to check all transaction fee prices before proceeding as third party wallets may automatically present high fees.",
"notice_3": "Please visit our <0>FAQ</0> if you have any questions.",
"notice_4": "If you’re new to DeFi, here is the <0>wiki</0> on how to use SOVRYN.",
"notice_5": "For latest updates or discussion, head over to our <0>Discord</0> server.",
"notice_3": "If you’re new to DeFi, here is the <0>wiki</0> on how to use SOVRYN.",
"notice_4": "For latest updates or discussion, head over to our <0>Discord</0> server.",
"optOut": "Opt-out from Google Analytics",
"buildID": "Build ID"
},
Expand Down
3 changes: 1 addition & 2 deletions src/locales/es/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,7 @@
"title": "Promovido por <0>Bitcoin</0>",
"notice_1": "Only you control and have access to your wealth, any actions you take could cause a potential loss of funds.",
"notice_2": "Particularly please be sure to check all transaction fee prices before proceeding as third party wallets may automatically present high fees.",
"notice_3": "Please visit our <0>FAQ</0> if you have any questions.",
"notice_4": "If you’re new to DeFi, here is the <0>wiki</0> on how to use SOVRYN.",
"notice_3": "If you’re new to DeFi, here is the <0>wiki</0> on how to use SOVRYN.",
"optOut": "Desactivar <0>Google Analytics</0>",
"buildID": "Build ID"
},
Expand Down
3 changes: 1 addition & 2 deletions src/locales/fr/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -218,8 +218,7 @@
"buildID": "ID de build",
"notice_1": "Vous seul contrôlez et avez accès à votre patrimoine, toute action que vous entreprenez pourrait entraîner une perte potentielle de fonds.",
"notice_2": "Assurez-vous en particulier de vérifier tous les prix des frais de transaction avant de continuer, car les portefeuilles tiers peuvent automatiquement présenter des frais élevés.",
"notice_3": "Veuillez consulter notre <0> FAQ </0> si vous avez des questions.",
"notice_4": "Si vous êtes nouveau sur DeFi, voici le <0> wiki </0> sur la façon d’utiliser SOVRYN.",
"notice_3": "Si vous êtes nouveau sur DeFi, voici le <0> wiki </0> sur la façon d’utiliser SOVRYN.",
"optOut": "Désactivation de <0> Google Analytics </0>",
"title": "Propulsé par <0> Bitcoin </0>"
},
Expand Down
5 changes: 2 additions & 3 deletions src/locales/pt_br/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -394,9 +394,8 @@
"title": "Feito e disponibilizado por <0>Bitcoiners</0>",
"notice_1": "Esteja ciente de que somente você possui controle e acesso ao seus ativos, qualquer ação que você realizar pode causar uma perda considerável de fundos.",
"notice_2": "Sempre verifique as taxas de transação antes de realizar operações na SOVRYN. Algumas carteiras podem configurar automaticamente taxas muito altas.",
"notice_3": "Visite nosso <0>FAQ</0> se tiver dúvidas.",
"notice_4": "Se você é um usuário novato, veja nossa <0>Wiki</0> e aprenda a usar a SOVRYN.",
"notice_5": "Para saber das últimas atualizações ou discussões, participe do nosso servidor da <0>Discord</0>.",
"notice_3": "Se você é um usuário novato, veja nossa <0>Wiki</0> e aprenda a usar a SOVRYN.",
"notice_4": "Para saber das últimas atualizações ou discussões, participe do nosso servidor da <0>Discord</0>.",
"optOut": "Desativar o Google Analytics",
"buildID": "Versão"
},
Expand Down
71 changes: 71 additions & 0 deletions src/utils/blockchain/abi/sovrynProtocol.json
Original file line number Diff line number Diff line change
Expand Up @@ -1371,6 +1371,31 @@
"name": "SetRolloverBaseReward",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "sender",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "oldRolloverFlexFeePercent",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "newRolloverFlexFeePercent",
"type": "uint256"
}
],
"name": "SetRolloverFlexFeePercent",
"type": "event"
},
{
"anonymous": false,
"inputs": [
Expand Down Expand Up @@ -2222,6 +2247,37 @@
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"internalType": "bytes32",
"name": "loanId",
"type": "bytes32"
},
{
"internalType": "uint256",
"name": "depositAmount",
"type": "uint256"
}
],
"name": "checkCloseWithDepositIsTinyPosition",
"outputs": [
{
"internalType": "bool",
"name": "isTinyPosition",
"type": "bool"
},
{
"internalType": "uint256",
"name": "tinyPositionAmount",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
Expand Down Expand Up @@ -5030,6 +5086,21 @@
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"internalType": "uint256",
"name": "newRolloverFlexFeePercent",
"type": "uint256"
}
],
"name": "setRolloverFlexFeePercent",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
Expand Down

0 comments on commit e6bbc67

Please sign in to comment.