-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Maintenance mode (#1090) * Maintenance mode * Cleanup * Comment update * Update dapp_promotions.json (#1095) * EVM gas estimation fix (#1094) * EVM gas estimation fix * Refactoring --------- Co-authored-by: Ahmet Öztürk <[email protected]>
- Loading branch information
1 parent
1d15689
commit e1cd87f
Showing
11 changed files
with
141 additions
and
55 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import Web3 from 'web3'; | ||
import { TransactionConfig } from 'web3-eth'; | ||
|
||
export const getRawEvmTransaction = async ( | ||
web3: Web3, | ||
from: string, | ||
to: string, | ||
data: string, | ||
value?: string | ||
): Promise<TransactionConfig> => { | ||
const nonce = await web3.eth.getTransactionCount(from); | ||
|
||
return { | ||
nonce, | ||
from, | ||
to, | ||
value: value ? value : '0x0', | ||
data, | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
<template> | ||
<div class="wrapper--maintenance"> | ||
<div class="header--text">{{ $t('dappStaking.maintenance.switching') }}</div> | ||
<div class="main--text">V3</div> | ||
<div class="footer--text">{{ $t('dappStaking.maintenance.willBeBack') }}</div> | ||
<div class="footer--text">{{ $t('dappStaking.maintenance.verySoon') }}</div> | ||
</div> | ||
</template> | ||
|
||
<style lang="scss" scoped> | ||
@import 'src/css/quasar.variables.scss'; | ||
.wrapper--maintenance { | ||
margin-top: 32px; | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
align-items: center; | ||
height: 100%; | ||
width: 100%; | ||
font-size: 24px; | ||
font-style: normal; | ||
font-weight: 700; | ||
line-height: normal; | ||
background: url('/images/bk_maintenance.png') no-repeat center; | ||
color: $container-bg-white; | ||
} | ||
.header--text { | ||
font-size: 20px; | ||
font-style: normal; | ||
font-weight: 600; | ||
line-height: 96.8%; | ||
} | ||
.main--text { | ||
font-size: 48px; | ||
font-style: normal; | ||
font-weight: 900; | ||
line-height: 96.8%; | ||
margin: 16px 0; | ||
} | ||
.footer--text { | ||
font-size: 14px; | ||
font-style: normal; | ||
font-weight: 600; | ||
line-height: normal; | ||
letter-spacing: 2.8px; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters