Merge pull request #13498 from MetaMask/Version-v10.10.0
Version v10.10.0 RCfeature/default_network_editable
commit
09c880d165
@ -1,37 +0,0 @@ |
|||||||
--- |
|
||||||
name: Bug Report |
|
||||||
about: Using MetaMask, but it's not working as you expect? |
|
||||||
|
|
||||||
--- |
|
||||||
|
|
||||||
<!-- |
|
||||||
BEFORE SUBMITTING: |
|
||||||
1) Please search to make sure this issue has not been opened already |
|
||||||
2) If this is an implementation question or trouble with your personal project, please post on StackExchange. This will get your question answered more quickly and make it easier for other devs to find the answer in the future. |
|
||||||
--> |
|
||||||
|
|
||||||
**Describe the bug** |
|
||||||
A clear and concise description of what the bug is. |
|
||||||
|
|
||||||
**Steps to reproduce (REQUIRED)** |
|
||||||
Steps to reproduce the behavior, libraries used with version number, and/or any setup information to easily reproduce: |
|
||||||
|
|
||||||
1. Go to '...' |
|
||||||
2. Click on '....' |
|
||||||
3. Scroll down to '....' |
|
||||||
4. See error |
|
||||||
|
|
||||||
**Expected behavior** |
|
||||||
A clear description of what you expected to happen. |
|
||||||
|
|
||||||
**Screenshots** |
|
||||||
If applicable, add screenshots to help explain your problem. |
|
||||||
|
|
||||||
**Browser details (please complete the following information):** |
|
||||||
- OS: [e.g. OS X, Windows] |
|
||||||
- Hardware Wallet: [e.g. Trezor Firmware version 1.8.3, Ledger Nano S Firmware version 1.6.0] |
|
||||||
- Browser: [e.g. Chrome Version 79.0.3945.79 (Official Build) (64-bit), Firefox Browser 71.0 (64-bit)] |
|
||||||
- MetaMask Version: [e.g. 5.0.2 - find it in Settings > About] |
|
||||||
|
|
||||||
**Additional context (Error Messages, etc.)** |
|
||||||
Add any other context about the problem here. |
|
@ -0,0 +1,97 @@ |
|||||||
|
name: Bug Report |
||||||
|
description: Using MetaMask, but it's not working as you expect? |
||||||
|
title: "[Bug]: " |
||||||
|
labels: ["bug"] |
||||||
|
body: |
||||||
|
- type: markdown |
||||||
|
attributes: |
||||||
|
value: | |
||||||
|
Thanks for taking the time to fill out this bug report! |
||||||
|
|
||||||
|
## **Before Submitting:** |
||||||
|
|
||||||
|
* Please search to make sure this issue has not been opened already. |
||||||
|
* If this is a question about how to integrate MetaMask with your project, please ask in our [Community forum](https://community.metamask.io/c/developer-questions/) instead. This will get your question answered more quickly and make it easier for other devs to find the answer in the future. |
||||||
|
- type: textarea |
||||||
|
id: what-happened |
||||||
|
attributes: |
||||||
|
label: Describe the bug |
||||||
|
description: What happened? What did you expect to happen? Please include screenshots if applicable! |
||||||
|
placeholder: Tell us what you see! |
||||||
|
validations: |
||||||
|
required: true |
||||||
|
- type: textarea |
||||||
|
id: reproduce |
||||||
|
attributes: |
||||||
|
label: Steps to reproduce |
||||||
|
description: List all steps needed to reproduce the problem |
||||||
|
value: | |
||||||
|
1. |
||||||
|
validations: |
||||||
|
required: true |
||||||
|
- type: textarea |
||||||
|
id: error |
||||||
|
attributes: |
||||||
|
label: Error messages or log output |
||||||
|
description: Please copy and paste any relevant error messages or log output. This will be automatically formatted, so there is no need for backticks. |
||||||
|
render: shell |
||||||
|
- type: input |
||||||
|
id: version |
||||||
|
attributes: |
||||||
|
label: Version |
||||||
|
description: What version of MetaMask are you running? You can find the version in "Settings" > "About" |
||||||
|
validations: |
||||||
|
required: true |
||||||
|
- type: dropdown |
||||||
|
id: build |
||||||
|
attributes: |
||||||
|
label: Build type |
||||||
|
description: Are you using a testing or development build of MetaMask? If so, please select the type of build you are using. |
||||||
|
options: |
||||||
|
- Beta |
||||||
|
- Flask |
||||||
|
- Other (please specify exactly where you obtained this build in "Additional Context" section) |
||||||
|
- type: dropdown |
||||||
|
id: browsers |
||||||
|
attributes: |
||||||
|
label: Browser |
||||||
|
description: Which browsers have you seen the problem on? |
||||||
|
multiple: true |
||||||
|
options: |
||||||
|
- Chrome |
||||||
|
- Firefox |
||||||
|
- Microsoft Edge |
||||||
|
- Brave |
||||||
|
- Other (please elaborate in the "Additional Context" section) |
||||||
|
validations: |
||||||
|
required: true |
||||||
|
- type: dropdown |
||||||
|
id: os |
||||||
|
attributes: |
||||||
|
label: Operating system |
||||||
|
description: Which operating systems have you seen the problem on? |
||||||
|
multiple: true |
||||||
|
options: |
||||||
|
- Windows |
||||||
|
- MacOS |
||||||
|
- Linux |
||||||
|
- Other (please elaborate in the "Additional Context" section) |
||||||
|
validations: |
||||||
|
required: true |
||||||
|
- type: dropdown |
||||||
|
id: hardware-wallet |
||||||
|
attributes: |
||||||
|
label: Hardware wallet |
||||||
|
description: Are you using any of these hardware wallets? Please include the firmware version in the "Additional context" section below for any that you select here. |
||||||
|
multiple: true |
||||||
|
options: |
||||||
|
- Ledger |
||||||
|
- Trezor |
||||||
|
- Keystone |
||||||
|
- GridPlus Lattice1 |
||||||
|
- Other (please elaborate in the "Additional Context" section) |
||||||
|
- type: textarea |
||||||
|
id: additional |
||||||
|
attributes: |
||||||
|
label: Additional context |
||||||
|
description: Add any other context about the problem here, e.g. related issues, additional error messages or logs, or any potentially relevant details about the environment or situation the bug occurred in. |
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 3.7 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 3.1 KiB |
@ -0,0 +1,116 @@ |
|||||||
|
WEBVTT |
||||||
|
|
||||||
|
1 |
||||||
|
00:00:00.780 --> 00:00:04.580 |
||||||
|
MetaMask ist eine neue Möglichkeit, sich mit |
||||||
|
Webseiten und Anwendungen zu verbinden. |
||||||
|
|
||||||
|
2 |
||||||
|
00:00:04.580 --> 00:00:08.860 |
||||||
|
Auf traditionellen Webseiten ist eine |
||||||
|
zentrale Datenbank für die Steuerung und |
||||||
|
|
||||||
|
3 |
||||||
|
00:00:08.860 --> 00:00:10.179 |
||||||
|
Wiederherstellung der Konten zuständig. |
||||||
|
|
||||||
|
4 |
||||||
|
00:00:10.179 --> 00:00:15.050 |
||||||
|
Bei MetaMask gehört all diese Macht dem |
||||||
|
Besitzer eines „Hauptschlüssels“. |
||||||
|
|
||||||
|
5 |
||||||
|
00:00:15.050 --> 00:00:18.460 |
||||||
|
Wer den Schlüssel besitzt, kontrolliert |
||||||
|
das Wallet und damit die Konten. |
||||||
|
|
||||||
|
6 |
||||||
|
00:00:18.460 --> 00:00:21.110 |
||||||
|
Der geheime Satz zur Wiederherstellung |
||||||
|
Deines Wallets ist der „Hauptschlüssel“. |
||||||
|
|
||||||
|
7 |
||||||
|
00:00:21.110 --> 00:00:26.070 |
||||||
|
Es ist eine Reihe von 12 Wörtern, welche generiert werden, |
||||||
|
wenn MetaMask zum ersten Mal eingerichtet wird, diese erlauben dir |
||||||
|
|
||||||
|
8 |
||||||
|
00:00:26.070 --> 00:00:30.120 |
||||||
|
Deinen „Hauptschlüssel“ zu Deinem Wallet wieder herzustellen, |
||||||
|
solltest Du jemals den Zugriff darauf verlieren. |
||||||
|
|
||||||
|
9 |
||||||
|
00:00:30.120 --> 00:00:33.451 |
||||||
|
Es ist wichtig, dass Du Dein Wallet sicherst, |
||||||
|
indem Du Deinen geheimen |
||||||
|
|
||||||
|
10 |
||||||
|
00:00:33.451 --> 00:00:37.510 |
||||||
|
Wiederherstellungssatz sicher |
||||||
|
und geheim verwahrst. |
||||||
|
|
||||||
|
11 |
||||||
|
00:00:37.510 --> 00:00:41.429 |
||||||
|
Wenn jemand Zugriff darauf erhält, hat er |
||||||
|
den „Hauptschlüssel“ für Dein Wallet und kann |
||||||
|
|
||||||
|
12 |
||||||
|
00:00:41.429 --> 00:00:45.190 |
||||||
|
frei auf Deine Konten zugreifen und alle Gelder stehlen. |
||||||
|
|
||||||
|
13 |
||||||
|
00:00:45.190 --> 00:00:50.109 |
||||||
|
Um Dein MetaMask-Wallet zu sichern, musst Du Deinen |
||||||
|
geheimen Wiederherstellungssatz sicher speichern. |
||||||
|
|
||||||
|
14 |
||||||
|
00:00:50.109 --> 00:00:54.930 |
||||||
|
Du kannst ihn aufschreiben, irgendwo verstecken, |
||||||
|
in ein Schließfach legen |
||||||
|
|
||||||
|
15 |
||||||
|
00:00:54.930 --> 00:00:57.729 |
||||||
|
oder in einen sicheren Passwort-Manager speichern. |
||||||
|
|
||||||
|
16 |
||||||
|
00:00:57.729 --> 00:01:01.050 |
||||||
|
Einige Benutzer gravieren ihren |
||||||
|
Satz sogar auf eine Metallplatte. |
||||||
|
|
||||||
|
17 |
||||||
|
00:01:01.050 --> 00:01:04.440 |
||||||
|
Niemand, nicht einmal das Team von MetaMask, |
||||||
|
kann Dir dabei helfen |
||||||
|
|
||||||
|
18 |
||||||
|
00:01:04.440 --> 00:01:07.820 |
||||||
|
Dein Wallet wiederherzustellen, wenn Du Deinen |
||||||
|
geheimen Wiederherstellungssatz verlierst. |
||||||
|
|
||||||
|
19 |
||||||
|
00:01:07.820 --> 00:01:12.072 |
||||||
|
Wenn Du Deinen geheimen Wiederherstellungssatz noch nicht |
||||||
|
aufgeschrieben und an einem sicheren Ort aufbewahrt hast, |
||||||
|
|
||||||
|
20 |
||||||
|
00:01:12.072 --> 00:01:15.492 |
||||||
|
mach es jetzt. Wir warten solange. |
||||||
|
|
||||||
|
21 |
||||||
|
00:01:15.500 --> 00:01:20.780 |
||||||
|
Und denk daran, teilen Deinen geheimen Wiederherstellungssatz |
||||||
|
niemals: nicht einmal mit uns. |
||||||
|
|
||||||
|
22 |
||||||
|
00:01:20.780 --> 00:01:24.910 |
||||||
|
Wenn dich jemals jemand danach fragt, |
||||||
|
versucht er dich zu betrügen. |
||||||
|
|
||||||
|
23 |
||||||
|
00:01:24.910 --> 00:01:26.250 |
||||||
|
Das ist alles! |
||||||
|
|
||||||
|
24 |
||||||
|
00:01:26.250 --> 00:01:31.020 |
||||||
|
Jetzt weist Du, was ein geheimer Wiederherstellungssatz ist |
||||||
|
und wie Du dafür sorgst, das Dein Wallete sicher bleibt. |
@ -1,75 +0,0 @@ |
|||||||
import nock from 'nock'; |
|
||||||
import { |
|
||||||
KOVAN_CHAIN_ID, |
|
||||||
MAINNET_CHAIN_ID, |
|
||||||
RINKEBY_CHAIN_ID, |
|
||||||
ROPSTEN_CHAIN_ID, |
|
||||||
} from '../../../shared/constants/network'; |
|
||||||
import { TRANSAK_API_KEY } from '../constants/on-ramp'; |
|
||||||
import { SWAPS_API_V2_BASE_URL } from '../../../shared/constants/swaps'; |
|
||||||
import getBuyEthUrl from './buy-eth-url'; |
|
||||||
|
|
||||||
const WYRE_ACCOUNT_ID = 'AC-7AG3W4XH4N2'; |
|
||||||
const ETH_ADDRESS = '0x0dcd5d886577d5581b0c524242ef2ee70be3e7bc'; |
|
||||||
const MAINNET = { |
|
||||||
chainId: MAINNET_CHAIN_ID, |
|
||||||
amount: 5, |
|
||||||
address: ETH_ADDRESS, |
|
||||||
}; |
|
||||||
const ROPSTEN = { |
|
||||||
chainId: ROPSTEN_CHAIN_ID, |
|
||||||
}; |
|
||||||
const RINKEBY = { |
|
||||||
chainId: RINKEBY_CHAIN_ID, |
|
||||||
}; |
|
||||||
const KOVAN = { |
|
||||||
chainId: KOVAN_CHAIN_ID, |
|
||||||
}; |
|
||||||
|
|
||||||
describe('buy-eth-url', () => { |
|
||||||
it('returns Wyre url with an ETH address for Ethereum mainnet', async () => { |
|
||||||
nock(SWAPS_API_V2_BASE_URL) |
|
||||||
.get( |
|
||||||
`/networks/1/fiatOnRampUrl?serviceName=wyre&destinationAddress=${ETH_ADDRESS}`, |
|
||||||
) |
|
||||||
.reply(200, { |
|
||||||
url: `https://pay.sendwyre.com/purchase?accountId=${WYRE_ACCOUNT_ID}&utm_campaign=${WYRE_ACCOUNT_ID}&destCurrency=ETH&utm_medium=widget&paymentMethod=debit-card&reservation=MLZVUF8FMXZUMARJC23B&dest=ethereum%3A${ETH_ADDRESS}&utm_source=checkout`, |
|
||||||
}); |
|
||||||
const wyreUrl = await getBuyEthUrl(MAINNET); |
|
||||||
expect(wyreUrl).toStrictEqual( |
|
||||||
`https://pay.sendwyre.com/purchase?accountId=${WYRE_ACCOUNT_ID}&utm_campaign=${WYRE_ACCOUNT_ID}&destCurrency=ETH&utm_medium=widget&paymentMethod=debit-card&reservation=MLZVUF8FMXZUMARJC23B&dest=ethereum%3A${ETH_ADDRESS}&utm_source=checkout`, |
|
||||||
); |
|
||||||
nock.cleanAll(); |
|
||||||
}); |
|
||||||
|
|
||||||
it('returns a fallback Wyre url if /orders/reserve API call fails', async () => { |
|
||||||
const wyreUrl = await getBuyEthUrl(MAINNET); |
|
||||||
|
|
||||||
expect(wyreUrl).toStrictEqual( |
|
||||||
`https://pay.sendwyre.com/purchase?dest=ethereum:${ETH_ADDRESS}&destCurrency=ETH&accountId=${WYRE_ACCOUNT_ID}&paymentMethod=debit-card`, |
|
||||||
); |
|
||||||
}); |
|
||||||
|
|
||||||
it('returns Transak url with an ETH address for Ethereum mainnet', async () => { |
|
||||||
const transakUrl = await getBuyEthUrl({ ...MAINNET, service: 'transak' }); |
|
||||||
|
|
||||||
expect(transakUrl).toStrictEqual( |
|
||||||
`https://global.transak.com/?apiKey=${TRANSAK_API_KEY}&hostURL=https%3A%2F%2Fmetamask.io&defaultCryptoCurrency=ETH&walletAddress=${ETH_ADDRESS}`, |
|
||||||
); |
|
||||||
}); |
|
||||||
|
|
||||||
it('returns metamask ropsten faucet for network 3', async () => { |
|
||||||
const ropstenUrl = await getBuyEthUrl(ROPSTEN); |
|
||||||
expect(ropstenUrl).toStrictEqual('https://faucet.metamask.io/'); |
|
||||||
}); |
|
||||||
|
|
||||||
it('returns rinkeby dapp for network 4', async () => { |
|
||||||
const rinkebyUrl = await getBuyEthUrl(RINKEBY); |
|
||||||
expect(rinkebyUrl).toStrictEqual('https://www.rinkeby.io/'); |
|
||||||
}); |
|
||||||
|
|
||||||
it('returns kovan github test faucet for network 42', async () => { |
|
||||||
const kovanUrl = await getBuyEthUrl(KOVAN); |
|
||||||
expect(kovanUrl).toStrictEqual('https://github.com/kovan-testnet/faucet'); |
|
||||||
}); |
|
||||||
}); |
|
@ -0,0 +1,117 @@ |
|||||||
|
import nock from 'nock'; |
||||||
|
import { |
||||||
|
KOVAN_CHAIN_ID, |
||||||
|
MAINNET_CHAIN_ID, |
||||||
|
RINKEBY_CHAIN_ID, |
||||||
|
ROPSTEN_CHAIN_ID, |
||||||
|
BSC_CHAIN_ID, |
||||||
|
POLYGON_CHAIN_ID, |
||||||
|
ETH_SYMBOL, |
||||||
|
BUYABLE_CHAINS_MAP, |
||||||
|
} from '../../../shared/constants/network'; |
||||||
|
import { TRANSAK_API_KEY } from '../constants/on-ramp'; |
||||||
|
import { SWAPS_API_V2_BASE_URL } from '../../../shared/constants/swaps'; |
||||||
|
import getBuyUrl from './buy-url'; |
||||||
|
|
||||||
|
const WYRE_ACCOUNT_ID = 'AC-7AG3W4XH4N2'; |
||||||
|
const ETH_ADDRESS = '0x0dcd5d886577d5581b0c524242ef2ee70be3e7bc'; |
||||||
|
const MAINNET = { |
||||||
|
chainId: MAINNET_CHAIN_ID, |
||||||
|
amount: 5, |
||||||
|
address: ETH_ADDRESS, |
||||||
|
}; |
||||||
|
const ROPSTEN = { |
||||||
|
chainId: ROPSTEN_CHAIN_ID, |
||||||
|
}; |
||||||
|
const RINKEBY = { |
||||||
|
chainId: RINKEBY_CHAIN_ID, |
||||||
|
}; |
||||||
|
const KOVAN = { |
||||||
|
chainId: KOVAN_CHAIN_ID, |
||||||
|
}; |
||||||
|
const BSC = { |
||||||
|
chainId: BSC_CHAIN_ID, |
||||||
|
amount: 5, |
||||||
|
address: ETH_ADDRESS, |
||||||
|
}; |
||||||
|
const POLYGON = { |
||||||
|
chainId: POLYGON_CHAIN_ID, |
||||||
|
amount: 5, |
||||||
|
address: ETH_ADDRESS, |
||||||
|
}; |
||||||
|
|
||||||
|
describe('buy-url', () => { |
||||||
|
it('returns Wyre url with an ETH address for Ethereum mainnet', async () => { |
||||||
|
nock(SWAPS_API_V2_BASE_URL) |
||||||
|
.get( |
||||||
|
`/networks/1/fiatOnRampUrl?serviceName=wyre&destinationAddress=${ETH_ADDRESS}`, |
||||||
|
) |
||||||
|
.reply(200, { |
||||||
|
url: `https://pay.sendwyre.com/purchase?accountId=${WYRE_ACCOUNT_ID}&utm_campaign=${WYRE_ACCOUNT_ID}&destCurrency=${ETH_SYMBOL}&utm_medium=widget&paymentMethod=debit-card&reservation=MLZVUF8FMXZUMARJC23B&dest=ethereum%3A${ETH_ADDRESS}&utm_source=checkout`, |
||||||
|
}); |
||||||
|
const wyreUrl = await getBuyUrl(MAINNET); |
||||||
|
expect(wyreUrl).toStrictEqual( |
||||||
|
`https://pay.sendwyre.com/purchase?accountId=${WYRE_ACCOUNT_ID}&utm_campaign=${WYRE_ACCOUNT_ID}&destCurrency=${ETH_SYMBOL}&utm_medium=widget&paymentMethod=debit-card&reservation=MLZVUF8FMXZUMARJC23B&dest=ethereum%3A${ETH_ADDRESS}&utm_source=checkout`, |
||||||
|
); |
||||||
|
nock.cleanAll(); |
||||||
|
}); |
||||||
|
|
||||||
|
it('returns a fallback Wyre url if /orders/reserve API call fails', async () => { |
||||||
|
const wyreUrl = await getBuyUrl(MAINNET); |
||||||
|
|
||||||
|
expect(wyreUrl).toStrictEqual( |
||||||
|
`https://pay.sendwyre.com/purchase?dest=ethereum:${ETH_ADDRESS}&destCurrency=${ETH_SYMBOL}&accountId=${WYRE_ACCOUNT_ID}&paymentMethod=debit-card`, |
||||||
|
); |
||||||
|
}); |
||||||
|
|
||||||
|
it('returns Transak url with an ETH address for Ethereum mainnet', async () => { |
||||||
|
const transakUrl = await getBuyUrl({ ...MAINNET, service: 'transak' }); |
||||||
|
const buyableChain = BUYABLE_CHAINS_MAP[MAINNET.chainId]; |
||||||
|
const buyableCurrencies = encodeURIComponent( |
||||||
|
buyableChain.transakCurrencies.join(','), |
||||||
|
); |
||||||
|
|
||||||
|
expect(transakUrl).toStrictEqual( |
||||||
|
`https://global.transak.com/?apiKey=${TRANSAK_API_KEY}&hostURL=https%3A%2F%2Fmetamask.io&cryptoCurrencyList=${buyableCurrencies}&defaultCryptoCurrency=${buyableChain.transakCurrencies[0]}&networks=${buyableChain.network}&walletAddress=${ETH_ADDRESS}`, |
||||||
|
); |
||||||
|
}); |
||||||
|
|
||||||
|
it('returns Transak url with an BNB address for Binance Smart Chain', async () => { |
||||||
|
const transakUrl = await getBuyUrl({ ...BSC, service: 'transak' }); |
||||||
|
const buyableChain = BUYABLE_CHAINS_MAP[BSC.chainId]; |
||||||
|
const buyableCurrencies = encodeURIComponent( |
||||||
|
buyableChain.transakCurrencies.join(','), |
||||||
|
); |
||||||
|
|
||||||
|
expect(transakUrl).toStrictEqual( |
||||||
|
`https://global.transak.com/?apiKey=${TRANSAK_API_KEY}&hostURL=https%3A%2F%2Fmetamask.io&cryptoCurrencyList=${buyableCurrencies}&defaultCryptoCurrency=${buyableChain.transakCurrencies[0]}&networks=${buyableChain.network}&walletAddress=${ETH_ADDRESS}`, |
||||||
|
); |
||||||
|
}); |
||||||
|
|
||||||
|
it('returns Transak url with an MATIC address for Polygon', async () => { |
||||||
|
const transakUrl = await getBuyUrl({ ...POLYGON, service: 'transak' }); |
||||||
|
const buyableChain = BUYABLE_CHAINS_MAP[POLYGON.chainId]; |
||||||
|
const buyableCurrencies = encodeURIComponent( |
||||||
|
buyableChain.transakCurrencies.join(','), |
||||||
|
); |
||||||
|
|
||||||
|
expect(transakUrl).toStrictEqual( |
||||||
|
`https://global.transak.com/?apiKey=${TRANSAK_API_KEY}&hostURL=https%3A%2F%2Fmetamask.io&cryptoCurrencyList=${buyableCurrencies}&defaultCryptoCurrency=${buyableChain.transakCurrencies[0]}&networks=${buyableChain.network}&walletAddress=${ETH_ADDRESS}`, |
||||||
|
); |
||||||
|
}); |
||||||
|
|
||||||
|
it('returns metamask ropsten faucet for network 3', async () => { |
||||||
|
const ropstenUrl = await getBuyUrl(ROPSTEN); |
||||||
|
expect(ropstenUrl).toStrictEqual('https://faucet.metamask.io/'); |
||||||
|
}); |
||||||
|
|
||||||
|
it('returns rinkeby dapp for network 4', async () => { |
||||||
|
const rinkebyUrl = await getBuyUrl(RINKEBY); |
||||||
|
expect(rinkebyUrl).toStrictEqual('https://www.rinkeby.io/'); |
||||||
|
}); |
||||||
|
|
||||||
|
it('returns kovan github test faucet for network 42', async () => { |
||||||
|
const kovanUrl = await getBuyUrl(KOVAN); |
||||||
|
expect(kovanUrl).toStrictEqual('https://github.com/kovan-testnet/faucet'); |
||||||
|
}); |
||||||
|
}); |
@ -0,0 +1,145 @@ |
|||||||
|
{ |
||||||
|
"data": { |
||||||
|
"AppStateController": { |
||||||
|
"mkrMigrationReminderTimestamp": null, |
||||||
|
"swapsWelcomeMessageHasBeenShown": true |
||||||
|
}, |
||||||
|
"CachedBalancesController": { |
||||||
|
"cachedBalances": { |
||||||
|
"4": {} |
||||||
|
} |
||||||
|
}, |
||||||
|
"CurrencyController": { |
||||||
|
"conversionDate": 1575697244.188, |
||||||
|
"conversionRate": 149.61, |
||||||
|
"currentCurrency": "usd", |
||||||
|
"nativeCurrency": "ETH" |
||||||
|
}, |
||||||
|
"IncomingTransactionsController": { |
||||||
|
"incomingTransactions": {}, |
||||||
|
"incomingTxLastFetchedBlocksByNetwork": { |
||||||
|
"goerli": null, |
||||||
|
"kovan": null, |
||||||
|
"mainnet": null, |
||||||
|
"rinkeby": 5570536 |
||||||
|
} |
||||||
|
}, |
||||||
|
"KeyringController": { |
||||||
|
"vault": "{\"data\":\"s6TpYjlUNsn7ifhEFTkuDGBUM1GyOlPrim7JSjtfIxgTt8/6MiXgiR/CtFfR4dWW2xhq85/NGIBYEeWrZThGdKGarBzeIqBfLFhw9n509jprzJ0zc2Rf+9HVFGLw+xxC4xPxgCS0IIWeAJQ+XtGcHmn0UZXriXm8Ja4kdlow6SWinB7sr/WM3R0+frYs4WgllkwggDf2/Tv6VHygvLnhtzp6hIJFyTjh+l/KnyJTyZW1TkZhDaNDzX3SCOHT\",\"iv\":\"FbeHDAW5afeWNORfNJBR0Q==\",\"salt\":\"TxZ+WbCW6891C9LK/hbMAoUsSEW1E8pyGLVBU6x5KR8=\"}" |
||||||
|
}, |
||||||
|
"NetworkController": { |
||||||
|
"network": "1337", |
||||||
|
"provider": { |
||||||
|
"nickname": "Localhost 8545", |
||||||
|
"rpcUrl": "http://localhost:8545", |
||||||
|
"chainId": "0x539", |
||||||
|
"ticker": "ETH", |
||||||
|
"type": "rpc" |
||||||
|
} |
||||||
|
}, |
||||||
|
"NotificationController": { |
||||||
|
"notifications": { |
||||||
|
"1": { |
||||||
|
"isShown": true |
||||||
|
}, |
||||||
|
"3": { |
||||||
|
"isShown": true |
||||||
|
}, |
||||||
|
"5": { |
||||||
|
"isShown": true |
||||||
|
}, |
||||||
|
"6": { |
||||||
|
"isShown": true |
||||||
|
}, |
||||||
|
"8": { |
||||||
|
"isShown": true |
||||||
|
} |
||||||
|
} |
||||||
|
}, |
||||||
|
"OnboardingController": { |
||||||
|
"onboardingTabs": {}, |
||||||
|
"seedPhraseBackedUp": false |
||||||
|
}, |
||||||
|
"PermissionsMetadata": { |
||||||
|
"domainMetadata": { |
||||||
|
"metamask.github.io": { |
||||||
|
"icon": null, |
||||||
|
"name": "M E T A M A S K M E S H T E S T" |
||||||
|
} |
||||||
|
}, |
||||||
|
"permissionsHistory": {}, |
||||||
|
"permissionsLog": [ |
||||||
|
{ |
||||||
|
"id": 746677923, |
||||||
|
"method": "eth_accounts", |
||||||
|
"methodType": "restricted", |
||||||
|
"origin": "metamask.github.io", |
||||||
|
"request": { |
||||||
|
"id": 746677923, |
||||||
|
"jsonrpc": "2.0", |
||||||
|
"method": "eth_accounts", |
||||||
|
"origin": "metamask.github.io", |
||||||
|
"params": [] |
||||||
|
}, |
||||||
|
"requestTime": 1575697241368, |
||||||
|
"response": { |
||||||
|
"id": 746677923, |
||||||
|
"jsonrpc": "2.0", |
||||||
|
"result": [] |
||||||
|
}, |
||||||
|
"responseTime": 1575697241370, |
||||||
|
"success": true |
||||||
|
} |
||||||
|
] |
||||||
|
}, |
||||||
|
"PreferencesController": { |
||||||
|
"accountTokens": { |
||||||
|
"0x5cfe73b6021e818b776b421b1c4db2474086a7e1": { |
||||||
|
"rinkeby": [], |
||||||
|
"ropsten": [] |
||||||
|
} |
||||||
|
}, |
||||||
|
"assetImages": {}, |
||||||
|
"completedOnboarding": true, |
||||||
|
"eip1559V2Enabled": true, |
||||||
|
"currentLocale": "en", |
||||||
|
"featureFlags": { |
||||||
|
"showIncomingTransactions": true, |
||||||
|
"transactionTime": false |
||||||
|
}, |
||||||
|
"firstTimeFlowType": "create", |
||||||
|
"forgottenPassword": false, |
||||||
|
"frequentRpcListDetail": [], |
||||||
|
"identities": { |
||||||
|
"0x5cfe73b6021e818b776b421b1c4db2474086a7e1": { |
||||||
|
"address": "0x5cfe73b6021e818b776b421b1c4db2474086a7e1", |
||||||
|
"name": "Account 1" |
||||||
|
} |
||||||
|
}, |
||||||
|
"knownMethodData": {}, |
||||||
|
"lostIdentities": {}, |
||||||
|
"metaMetricsId": null, |
||||||
|
"participateInMetaMetrics": false, |
||||||
|
"preferences": { |
||||||
|
"useNativeCurrencyAsPrimaryCurrency": true |
||||||
|
}, |
||||||
|
"selectedAddress": "0x5cfe73b6021e818b776b421b1c4db2474086a7e1", |
||||||
|
"suggestedTokens": {}, |
||||||
|
"tokens": [], |
||||||
|
"useBlockie": false, |
||||||
|
"useNonceField": false, |
||||||
|
"usePhishDetect": true |
||||||
|
}, |
||||||
|
"TransactionController": { |
||||||
|
"transactions": {} |
||||||
|
}, |
||||||
|
"config": {}, |
||||||
|
"firstTimeInfo": { |
||||||
|
"date": 1575697234195, |
||||||
|
"version": "7.7.0" |
||||||
|
} |
||||||
|
}, |
||||||
|
"meta": { |
||||||
|
"version": 40 |
||||||
|
} |
||||||
|
} |
@ -0,0 +1,214 @@ |
|||||||
|
{ |
||||||
|
"data": { |
||||||
|
"AppStateController": { |
||||||
|
"mkrMigrationReminderTimestamp": null, |
||||||
|
"swapsWelcomeMessageHasBeenShown": true |
||||||
|
}, |
||||||
|
"CachedBalancesController": { |
||||||
|
"cachedBalances": { |
||||||
|
"4": {} |
||||||
|
} |
||||||
|
}, |
||||||
|
"CurrencyController": { |
||||||
|
"conversionDate": 1575697244.188, |
||||||
|
"conversionRate": 149.61, |
||||||
|
"currentCurrency": "usd", |
||||||
|
"nativeCurrency": "ETH" |
||||||
|
}, |
||||||
|
"IncomingTransactionsController": { |
||||||
|
"incomingTransactions": {}, |
||||||
|
"incomingTxLastFetchedBlocksByNetwork": { |
||||||
|
"goerli": null, |
||||||
|
"kovan": null, |
||||||
|
"mainnet": null, |
||||||
|
"rinkeby": 5570536 |
||||||
|
} |
||||||
|
}, |
||||||
|
"KeyringController": { |
||||||
|
"vault": "{\"data\":\"s6TpYjlUNsn7ifhEFTkuDGBUM1GyOlPrim7JSjtfIxgTt8/6MiXgiR/CtFfR4dWW2xhq85/NGIBYEeWrZThGdKGarBzeIqBfLFhw9n509jprzJ0zc2Rf+9HVFGLw+xxC4xPxgCS0IIWeAJQ+XtGcHmn0UZXriXm8Ja4kdlow6SWinB7sr/WM3R0+frYs4WgllkwggDf2/Tv6VHygvLnhtzp6hIJFyTjh+l/KnyJTyZW1TkZhDaNDzX3SCOHT\",\"iv\":\"FbeHDAW5afeWNORfNJBR0Q==\",\"salt\":\"TxZ+WbCW6891C9LK/hbMAoUsSEW1E8pyGLVBU6x5KR8=\"}" |
||||||
|
}, |
||||||
|
"NetworkController": { |
||||||
|
"network": "1337", |
||||||
|
"provider": { |
||||||
|
"nickname": "Localhost 8545", |
||||||
|
"rpcUrl": "http://localhost:8545", |
||||||
|
"chainId": "0x539", |
||||||
|
"ticker": "ETH", |
||||||
|
"type": "rpc" |
||||||
|
} |
||||||
|
}, |
||||||
|
"NotificationController": { |
||||||
|
"notifications": { |
||||||
|
"1": { |
||||||
|
"isShown": true |
||||||
|
}, |
||||||
|
"3": { |
||||||
|
"isShown": true |
||||||
|
}, |
||||||
|
"5": { |
||||||
|
"isShown": true |
||||||
|
}, |
||||||
|
"6": { |
||||||
|
"isShown": true |
||||||
|
}, |
||||||
|
"8": { |
||||||
|
"isShown": true |
||||||
|
} |
||||||
|
} |
||||||
|
}, |
||||||
|
"OnboardingController": { |
||||||
|
"onboardingTabs": {}, |
||||||
|
"seedPhraseBackedUp": false |
||||||
|
}, |
||||||
|
"PermissionsMetadata": { |
||||||
|
"domainMetadata": { |
||||||
|
"metamask.github.io": { |
||||||
|
"icon": null, |
||||||
|
"name": "M E T A M A S K M E S H T E S T" |
||||||
|
} |
||||||
|
}, |
||||||
|
"permissionsHistory": {}, |
||||||
|
"permissionsLog": [ |
||||||
|
{ |
||||||
|
"id": 746677923, |
||||||
|
"method": "eth_accounts", |
||||||
|
"methodType": "restricted", |
||||||
|
"origin": "metamask.github.io", |
||||||
|
"request": { |
||||||
|
"id": 746677923, |
||||||
|
"jsonrpc": "2.0", |
||||||
|
"method": "eth_accounts", |
||||||
|
"origin": "metamask.github.io", |
||||||
|
"params": [] |
||||||
|
}, |
||||||
|
"requestTime": 1575697241368, |
||||||
|
"response": { |
||||||
|
"id": 746677923, |
||||||
|
"jsonrpc": "2.0", |
||||||
|
"result": [] |
||||||
|
}, |
||||||
|
"responseTime": 1575697241370, |
||||||
|
"success": true |
||||||
|
} |
||||||
|
] |
||||||
|
}, |
||||||
|
"PreferencesController": { |
||||||
|
"accountTokens": { |
||||||
|
"0x5cfe73b6021e818b776b421b1c4db2474086a7e1": { |
||||||
|
"rinkeby": [], |
||||||
|
"ropsten": [] |
||||||
|
} |
||||||
|
}, |
||||||
|
"assetImages": {}, |
||||||
|
"completedOnboarding": true, |
||||||
|
"eip1559V2Enabled": true, |
||||||
|
"currentLocale": "en", |
||||||
|
"featureFlags": { |
||||||
|
"showIncomingTransactions": true, |
||||||
|
"transactionTime": false |
||||||
|
}, |
||||||
|
"firstTimeFlowType": "create", |
||||||
|
"forgottenPassword": false, |
||||||
|
"frequentRpcListDetail": [], |
||||||
|
"identities": { |
||||||
|
"0x5cfe73b6021e818b776b421b1c4db2474086a7e1": { |
||||||
|
"address": "0x5cfe73b6021e818b776b421b1c4db2474086a7e1", |
||||||
|
"name": "Account 1" |
||||||
|
} |
||||||
|
}, |
||||||
|
"knownMethodData": {}, |
||||||
|
"lostIdentities": {}, |
||||||
|
"metaMetricsId": null, |
||||||
|
"participateInMetaMetrics": false, |
||||||
|
"preferences": { |
||||||
|
"useNativeCurrencyAsPrimaryCurrency": true |
||||||
|
}, |
||||||
|
"selectedAddress": "0x5cfe73b6021e818b776b421b1c4db2474086a7e1", |
||||||
|
"suggestedTokens": {}, |
||||||
|
"tokens": [], |
||||||
|
"useBlockie": false, |
||||||
|
"useNonceField": false, |
||||||
|
"usePhishDetect": true |
||||||
|
}, |
||||||
|
"TransactionController": { |
||||||
|
"transactions": { |
||||||
|
"4046084157914634": { |
||||||
|
"chainId": "0x539", |
||||||
|
"primaryTransaction": { |
||||||
|
"chainId": "0x539", |
||||||
|
"id": 4046084157914634, |
||||||
|
"loadingDefaults": true, |
||||||
|
"metamaskNetworkId": "1337", |
||||||
|
"origin": "metamask", |
||||||
|
"status": "unapproved", |
||||||
|
"time": 1617228030067, |
||||||
|
"txParams": { |
||||||
|
"from": "0x5cfe73b6021e818b776b421b1c4db2474086a7e1", |
||||||
|
"gas": "0x61a8", |
||||||
|
"maxFeePerGas": "0x59682f0c", |
||||||
|
"maxPriorityFeePerGas": "0x59682f00", |
||||||
|
"type": "0x2", |
||||||
|
"to": "0x2f318C334780961FB129D2a6c30D0763d9a5C970", |
||||||
|
"value": "0x1e87F85809dc0000" |
||||||
|
}, |
||||||
|
"type": "sentEther" |
||||||
|
}, |
||||||
|
"history": [ |
||||||
|
{ |
||||||
|
"chainId": "0x539", |
||||||
|
"id": 4046084157914634, |
||||||
|
"loadingDefaults": true, |
||||||
|
"metamaskNetworkId": "1337", |
||||||
|
"origin": "metamask", |
||||||
|
"status": "unapproved", |
||||||
|
"time": 1617228030067, |
||||||
|
"txParams": { |
||||||
|
"from": "0x5cfe73b6021e818b776b421b1c4db2474086a7e1", |
||||||
|
"gas": "0x61a8", |
||||||
|
"maxFeePerGas": "0x59682f0c", |
||||||
|
"maxPriorityFeePerGas": "0x59682f00", |
||||||
|
"type": "0x2", |
||||||
|
"to": "0x2f318C334780961FB129D2a6c30D0763d9a5C970", |
||||||
|
"value": "0x1e87F85809dc0000" |
||||||
|
}, |
||||||
|
"type": "simpleSend" |
||||||
|
}, |
||||||
|
[ |
||||||
|
{ |
||||||
|
"note": "Added new unapproved transaction.", |
||||||
|
"op": "replace", |
||||||
|
"path": "/loadingDefaults", |
||||||
|
"timestamp": 1617228030069, |
||||||
|
"value": false |
||||||
|
} |
||||||
|
] |
||||||
|
], |
||||||
|
"id": 4046084157914634, |
||||||
|
"loadingDefaults": false, |
||||||
|
"metamaskNetworkId": "1337", |
||||||
|
"origin": "metamask", |
||||||
|
"status": "unapproved", |
||||||
|
"time": 1617228030067, |
||||||
|
"txParams": { |
||||||
|
"from": "0x5cfe73b6021e818b776b421b1c4db2474086a7e1", |
||||||
|
"gas": "0x61a8", |
||||||
|
"maxFeePerGas": "0x59682f0c", |
||||||
|
"maxPriorityFeePerGas": "0x59682f00", |
||||||
|
"type": "0x2", |
||||||
|
"to": "0x2f318C334780961FB129D2a6c30D0763d9a5C970", |
||||||
|
"value": "0x1e87F85809dc0000" |
||||||
|
}, |
||||||
|
"type": "simpleSend" |
||||||
|
} |
||||||
|
} |
||||||
|
}, |
||||||
|
"config": {}, |
||||||
|
"firstTimeInfo": { |
||||||
|
"date": 1575697234195, |
||||||
|
"version": "7.7.0" |
||||||
|
} |
||||||
|
}, |
||||||
|
"meta": { |
||||||
|
"version": 40 |
||||||
|
} |
||||||
|
} |
@ -0,0 +1,214 @@ |
|||||||
|
{ |
||||||
|
"data": { |
||||||
|
"AppStateController": { |
||||||
|
"mkrMigrationReminderTimestamp": null, |
||||||
|
"swapsWelcomeMessageHasBeenShown": true |
||||||
|
}, |
||||||
|
"CachedBalancesController": { |
||||||
|
"cachedBalances": { |
||||||
|
"4": {} |
||||||
|
} |
||||||
|
}, |
||||||
|
"CurrencyController": { |
||||||
|
"conversionDate": 1575697244.188, |
||||||
|
"conversionRate": 149.61, |
||||||
|
"currentCurrency": "usd", |
||||||
|
"nativeCurrency": "ETH" |
||||||
|
}, |
||||||
|
"IncomingTransactionsController": { |
||||||
|
"incomingTransactions": {}, |
||||||
|
"incomingTxLastFetchedBlocksByNetwork": { |
||||||
|
"goerli": null, |
||||||
|
"kovan": null, |
||||||
|
"mainnet": null, |
||||||
|
"rinkeby": 5570536 |
||||||
|
} |
||||||
|
}, |
||||||
|
"KeyringController": { |
||||||
|
"vault": "{\"data\":\"s6TpYjlUNsn7ifhEFTkuDGBUM1GyOlPrim7JSjtfIxgTt8/6MiXgiR/CtFfR4dWW2xhq85/NGIBYEeWrZThGdKGarBzeIqBfLFhw9n509jprzJ0zc2Rf+9HVFGLw+xxC4xPxgCS0IIWeAJQ+XtGcHmn0UZXriXm8Ja4kdlow6SWinB7sr/WM3R0+frYs4WgllkwggDf2/Tv6VHygvLnhtzp6hIJFyTjh+l/KnyJTyZW1TkZhDaNDzX3SCOHT\",\"iv\":\"FbeHDAW5afeWNORfNJBR0Q==\",\"salt\":\"TxZ+WbCW6891C9LK/hbMAoUsSEW1E8pyGLVBU6x5KR8=\"}" |
||||||
|
}, |
||||||
|
"NetworkController": { |
||||||
|
"network": "1337", |
||||||
|
"provider": { |
||||||
|
"nickname": "Localhost 8545", |
||||||
|
"rpcUrl": "http://localhost:8545", |
||||||
|
"chainId": "0x539", |
||||||
|
"ticker": "ETH", |
||||||
|
"type": "rpc" |
||||||
|
} |
||||||
|
}, |
||||||
|
"NotificationController": { |
||||||
|
"notifications": { |
||||||
|
"1": { |
||||||
|
"isShown": true |
||||||
|
}, |
||||||
|
"3": { |
||||||
|
"isShown": true |
||||||
|
}, |
||||||
|
"5": { |
||||||
|
"isShown": true |
||||||
|
}, |
||||||
|
"6": { |
||||||
|
"isShown": true |
||||||
|
}, |
||||||
|
"8": { |
||||||
|
"isShown": true |
||||||
|
} |
||||||
|
} |
||||||
|
}, |
||||||
|
"OnboardingController": { |
||||||
|
"onboardingTabs": {}, |
||||||
|
"seedPhraseBackedUp": false |
||||||
|
}, |
||||||
|
"PermissionsMetadata": { |
||||||
|
"domainMetadata": { |
||||||
|
"metamask.github.io": { |
||||||
|
"icon": null, |
||||||
|
"name": "M E T A M A S K M E S H T E S T" |
||||||
|
} |
||||||
|
}, |
||||||
|
"permissionsHistory": {}, |
||||||
|
"permissionsLog": [ |
||||||
|
{ |
||||||
|
"id": 746677923, |
||||||
|
"method": "eth_accounts", |
||||||
|
"methodType": "restricted", |
||||||
|
"origin": "metamask.github.io", |
||||||
|
"request": { |
||||||
|
"id": 746677923, |
||||||
|
"jsonrpc": "2.0", |
||||||
|
"method": "eth_accounts", |
||||||
|
"origin": "metamask.github.io", |
||||||
|
"params": [] |
||||||
|
}, |
||||||
|
"requestTime": 1575697241368, |
||||||
|
"response": { |
||||||
|
"id": 746677923, |
||||||
|
"jsonrpc": "2.0", |
||||||
|
"result": [] |
||||||
|
}, |
||||||
|
"responseTime": 1575697241370, |
||||||
|
"success": true |
||||||
|
} |
||||||
|
] |
||||||
|
}, |
||||||
|
"PreferencesController": { |
||||||
|
"accountTokens": { |
||||||
|
"0x5cfe73b6021e818b776b421b1c4db2474086a7e1": { |
||||||
|
"rinkeby": [], |
||||||
|
"ropsten": [] |
||||||
|
} |
||||||
|
}, |
||||||
|
"assetImages": {}, |
||||||
|
"completedOnboarding": true, |
||||||
|
"eip1559V2Enabled": true, |
||||||
|
"currentLocale": "en", |
||||||
|
"featureFlags": { |
||||||
|
"showIncomingTransactions": true, |
||||||
|
"transactionTime": false |
||||||
|
}, |
||||||
|
"firstTimeFlowType": "create", |
||||||
|
"forgottenPassword": false, |
||||||
|
"frequentRpcListDetail": [], |
||||||
|
"identities": { |
||||||
|
"0x5cfe73b6021e818b776b421b1c4db2474086a7e1": { |
||||||
|
"address": "0x5cfe73b6021e818b776b421b1c4db2474086a7e1", |
||||||
|
"name": "Account 1" |
||||||
|
} |
||||||
|
}, |
||||||
|
"knownMethodData": {}, |
||||||
|
"lostIdentities": {}, |
||||||
|
"metaMetricsId": null, |
||||||
|
"participateInMetaMetrics": false, |
||||||
|
"preferences": { |
||||||
|
"useNativeCurrencyAsPrimaryCurrency": true |
||||||
|
}, |
||||||
|
"selectedAddress": "0x5cfe73b6021e818b776b421b1c4db2474086a7e1", |
||||||
|
"suggestedTokens": {}, |
||||||
|
"tokens": [], |
||||||
|
"useBlockie": false, |
||||||
|
"useNonceField": false, |
||||||
|
"usePhishDetect": true |
||||||
|
}, |
||||||
|
"TransactionController": { |
||||||
|
"transactions": { |
||||||
|
"4046084157914634": { |
||||||
|
"chainId": "0x539", |
||||||
|
"primaryTransaction": { |
||||||
|
"chainId": "0x539", |
||||||
|
"id": 4046084157914634, |
||||||
|
"loadingDefaults": true, |
||||||
|
"metamaskNetworkId": "1337", |
||||||
|
"origin": "metamask", |
||||||
|
"status": "unapproved", |
||||||
|
"time": 1617228030067, |
||||||
|
"txParams": { |
||||||
|
"from": "0x5cfe73b6021e818b776b421b1c4db2474086a7e1", |
||||||
|
"gas": "0x61a8", |
||||||
|
"maxFeePerGas": "0x59682f0c", |
||||||
|
"maxPriorityFeePerGas": "0x59682f00", |
||||||
|
"type": "0x2", |
||||||
|
"to": "0x2f318C334780961FB129D2a6c30D0763d9a5C970", |
||||||
|
"value": "0xde0b6b3a7640000" |
||||||
|
}, |
||||||
|
"type": "sentEther" |
||||||
|
}, |
||||||
|
"history": [ |
||||||
|
{ |
||||||
|
"chainId": "0x539", |
||||||
|
"id": 4046084157914634, |
||||||
|
"loadingDefaults": true, |
||||||
|
"metamaskNetworkId": "1337", |
||||||
|
"origin": "metamask", |
||||||
|
"status": "unapproved", |
||||||
|
"time": 1617228030067, |
||||||
|
"txParams": { |
||||||
|
"from": "0x5cfe73b6021e818b776b421b1c4db2474086a7e1", |
||||||
|
"gas": "0x61a8", |
||||||
|
"maxFeePerGas": "0x59682f0c", |
||||||
|
"maxPriorityFeePerGas": "0x59682f00", |
||||||
|
"type": "0x2", |
||||||
|
"to": "0x2f318C334780961FB129D2a6c30D0763d9a5C970", |
||||||
|
"value": "0xde0b6b3a7640000" |
||||||
|
}, |
||||||
|
"type": "simpleSend" |
||||||
|
}, |
||||||
|
[ |
||||||
|
{ |
||||||
|
"note": "Added new unapproved transaction.", |
||||||
|
"op": "replace", |
||||||
|
"path": "/loadingDefaults", |
||||||
|
"timestamp": 1617228030069, |
||||||
|
"value": false |
||||||
|
} |
||||||
|
] |
||||||
|
], |
||||||
|
"id": 4046084157914634, |
||||||
|
"loadingDefaults": false, |
||||||
|
"metamaskNetworkId": "1337", |
||||||
|
"origin": "metamask", |
||||||
|
"status": "unapproved", |
||||||
|
"time": 1617228030067, |
||||||
|
"txParams": { |
||||||
|
"from": "0x5cfe73b6021e818b776b421b1c4db2474086a7e1", |
||||||
|
"gas": "0x61a8", |
||||||
|
"maxFeePerGas": "0x59682f0c", |
||||||
|
"maxPriorityFeePerGas": "0x59682f00", |
||||||
|
"type": "0x2", |
||||||
|
"to": "0x2f318C334780961FB129D2a6c30D0763d9a5C970", |
||||||
|
"value": "0xde0b6b3a7640000" |
||||||
|
}, |
||||||
|
"type": "simpleSend" |
||||||
|
} |
||||||
|
} |
||||||
|
}, |
||||||
|
"config": {}, |
||||||
|
"firstTimeInfo": { |
||||||
|
"date": 1575697234195, |
||||||
|
"version": "7.7.0" |
||||||
|
} |
||||||
|
}, |
||||||
|
"meta": { |
||||||
|
"version": 40 |
||||||
|
} |
||||||
|
} |
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue