mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 18:00:18 +01:00
Create a dev state with shapeshift tx
This commit is contained in:
parent
98dab0ffd2
commit
f80b9b2693
File diff suppressed because one or more lines are too long
163
development/states/account-detail-with-shapeshift-tx.json
Normal file
163
development/states/account-detail-with-shapeshift-tx.json
Normal file
@ -0,0 +1,163 @@
|
||||
{
|
||||
"metamask": {
|
||||
"currentFiat": "USD",
|
||||
"conversionRate": 11.06608791,
|
||||
"conversionDate": 1470421024,
|
||||
"isInitialized": true,
|
||||
"isUnlocked": true,
|
||||
"currentDomain": "example.com",
|
||||
"rpcTarget": "https://rawtestrpc.metamask.io/",
|
||||
"shapeShiftTxList":[
|
||||
{
|
||||
"depositAddress": "1L8BJCR6KHkCiVceDqibt7zJscqPpH7pFw",
|
||||
"depositType": "BTC",
|
||||
"key": "shapeshift",
|
||||
"time": 1471564825772,
|
||||
"response": {
|
||||
"status": "complete",
|
||||
"outgoingCoin": "100.00",
|
||||
"incomingCoin": "1.000",
|
||||
"transaction": "0x3701e0ac344a12a1fc5417cf251109a7c41f3edab922310202630d9c012414c8"
|
||||
}
|
||||
},
|
||||
{
|
||||
"depositAddress": "1L8BJCR6KHkCiVceDqibt7zJscqPpH7pFw",
|
||||
"depositType": "BTC",
|
||||
"key": "shapeshift",
|
||||
"time": 1471566579224,
|
||||
"response": {
|
||||
"status": "no_deposits",
|
||||
"depositAddress": "1L8BJCR6KHkCiVceDqibt7zJscqPpH7pFw"
|
||||
}
|
||||
},
|
||||
{
|
||||
"depositAddress": "1L8BJCR6KHkCiVceDqibt7zJscqPpH7pFw",
|
||||
"depositType": "BTC",
|
||||
"key": "shapeshift",
|
||||
"time": 1471566565378,
|
||||
"response": {
|
||||
"status": "received",
|
||||
"depositAddress": "1L8BJCR6KHkCiVceDqibt7zJscqPpH7pFw"
|
||||
}
|
||||
}
|
||||
],
|
||||
"transactions": [ {
|
||||
"id": 1467921503489592,
|
||||
"txParams": {
|
||||
"from": "0x0dcd5d886577d5081b0c52e242ef29e70be3e7bc",
|
||||
"to": "0x18a3462427bcc9133bb46e88bcbe39cd7ef0e761",
|
||||
"value": "0x66c899104aa57038000",
|
||||
"origin": "thelongestdomainnameintheworldandthensomeandthensomemoreandmore.com",
|
||||
"metamaskId": 1467921503489592,
|
||||
"metamaskNetworkId": "2"
|
||||
},
|
||||
"time": 1467921503489,
|
||||
"status": "rejected",
|
||||
"containsDelegateCall": false
|
||||
},
|
||||
{
|
||||
"id": 1467923203344608,
|
||||
"txParams": {
|
||||
"from": "0x0dcd5d886577d5081b0c52e242ef29e70be3e7bc",
|
||||
"to": "0x18a3462427bcc9133bb46e88bcbe39cd7ef0e761",
|
||||
"value": "0x0",
|
||||
"origin": "thelongestdomainnameintheworldandthensomeandthensomemoreandmore.com",
|
||||
"metamaskId": 1467923203344608,
|
||||
"metamaskNetworkId": "2"
|
||||
},
|
||||
"time": 1467923203344,
|
||||
"status": "confirmed",
|
||||
"containsDelegateCall": false,
|
||||
"hash": "0x957bbba51e2732a86c10c5e7e8a484a093795a06f2e2c38ad02da1b20aeca620"
|
||||
},
|
||||
{
|
||||
"id": 1467921503489592,
|
||||
"txParams": {
|
||||
"from": "0x0dcd5d886577d5081b0c52e242ef29e70be3e7bc",
|
||||
"to": "0x18a3462427bcc9133bb46e88bcbe39cd7ef0e761",
|
||||
"value": "0x66c899104aa57038000",
|
||||
"origin": "thelongestdomainnameintheworldandthensomeandthensomemoreandmore.com",
|
||||
"metamaskId": 1467921503489592,
|
||||
"metamaskNetworkId": "2"
|
||||
},
|
||||
"time": 1467921503489,
|
||||
"status": "confirmed",
|
||||
"containsDelegateCall": false
|
||||
}],
|
||||
"identities": {
|
||||
"0x0dcd5d886577d5081b0c52e242ef29e70be3e7bc": {
|
||||
"name": "Wallet 1",
|
||||
"address": "0x0dcd5d886577d5081b0c52e242ef29e70be3e7bc",
|
||||
"mayBeFauceting": false
|
||||
},
|
||||
"0xec1adf982415d2ef5ec55899b9bfb8bc0f29251b": {
|
||||
"name": "Wallet 2",
|
||||
"address": "0xec1adf982415d2ef5ec55899b9bfb8bc0f29251b",
|
||||
"mayBeFauceting": false
|
||||
},
|
||||
"0xeb9e64b93097bc15f01f13eae97015c57ab64823": {
|
||||
"name": "Wallet 3",
|
||||
"address": "0xeb9e64b93097bc15f01f13eae97015c57ab64823",
|
||||
"mayBeFauceting": false
|
||||
},
|
||||
"0x704107d04affddd9b66ab9de3dd7b095852e9b69": {
|
||||
"name": "Wallet 4",
|
||||
"address": "0x704107d04affddd9b66ab9de3dd7b095852e9b69",
|
||||
"mayBeFauceting": false
|
||||
}
|
||||
},
|
||||
"unconfTxs": {},
|
||||
"accounts": {
|
||||
"0x0dcd5d886577d5081b0c52e242ef29e70be3e7bc": {
|
||||
"code": "0x",
|
||||
"balance": "0x0",
|
||||
"nonce": "0x0",
|
||||
"address": "0x0dcd5d886577d5081b0c52e242ef29e70be3e7bc"
|
||||
},
|
||||
"0xec1adf982415d2ef5ec55899b9bfb8bc0f29251b": {
|
||||
"code": "0x",
|
||||
"nonce": "0x0",
|
||||
"balance": "0x0",
|
||||
"address": "0xec1adf982415d2ef5ec55899b9bfb8bc0f29251b"
|
||||
},
|
||||
"0xeb9e64b93097bc15f01f13eae97015c57ab64823": {
|
||||
"code": "0x",
|
||||
"nonce": "0x0",
|
||||
"balance": "0x0",
|
||||
"address": "0xeb9e64b93097bc15f01f13eae97015c57ab64823"
|
||||
},
|
||||
"0x704107d04affddd9b66ab9de3dd7b095852e9b69": {
|
||||
"code": "0x",
|
||||
"balance": "0x0",
|
||||
"nonce": "0x0",
|
||||
"address": "0x704107d04affddd9b66ab9de3dd7b095852e9b69"
|
||||
}
|
||||
},
|
||||
"selectedAddress": "0x0dcd5d886577d5081b0c52e242ef29e70be3e7bc",
|
||||
"network": "1",
|
||||
"seedWords": null,
|
||||
"isConfirmed": true,
|
||||
"unconfMsgs": {},
|
||||
"messages": [],
|
||||
"provider": {
|
||||
"type": "mainnet"
|
||||
},
|
||||
"selectedAccount": "0x0dcd5d886577d5081b0c52e242ef29e70be3e7bc"
|
||||
},
|
||||
"appState": {
|
||||
"menuOpen": false,
|
||||
"currentView": {
|
||||
"name": "accountDetail",
|
||||
"detailView": null,
|
||||
"context": "0x0dcd5d886577d5081b0c52e242ef29e70be3e7bc"
|
||||
},
|
||||
"accountDetail": {
|
||||
"subview": "transactions"
|
||||
},
|
||||
"currentDomain": "127.0.0.1:9966",
|
||||
"transForward": true,
|
||||
"isLoading": false,
|
||||
"warning": null
|
||||
},
|
||||
"identities": {}
|
||||
}
|
49
npm-debug.log
Normal file
49
npm-debug.log
Normal file
@ -0,0 +1,49 @@
|
||||
0 info it worked if it ends with ok
|
||||
1 verbose cli [ '/Users/apprentice/.nvm/versions/node/v6.3.1/bin/node',
|
||||
1 verbose cli '/Users/apprentice/.nvm/versions/node/v6.3.1/bin/npm',
|
||||
1 verbose cli 'run',
|
||||
1 verbose cli 'ui' ]
|
||||
2 info using npm@3.10.3
|
||||
3 info using node@v6.3.1
|
||||
4 verbose run-script [ 'preui', 'ui', 'postui' ]
|
||||
5 info lifecycle metamask-crx@0.0.0~preui: metamask-crx@0.0.0
|
||||
6 silly lifecycle metamask-crx@0.0.0~preui: no script for preui, continuing
|
||||
7 info lifecycle metamask-crx@0.0.0~ui: metamask-crx@0.0.0
|
||||
8 verbose lifecycle metamask-crx@0.0.0~ui: unsafe-perm in lifecycle true
|
||||
9 verbose lifecycle metamask-crx@0.0.0~ui: PATH: /Users/apprentice/.nvm/versions/node/v6.3.1/lib/node_modules/npm/bin/node-gyp-bin:/Users/apprentice/Desktop/MetaMask/metamask-plugin/node_modules/.bin:/Users/apprentice/.nvm/versions/node/v6.3.1/bin:/Users/apprentice/.nvm/versions/node/v6.3.1/bin:/usr/local/heroku/bin:/usr/local/bin:/usr/local/sbin:~/bin:/Users/apprentice/.rbenv/bin:/Users/apprentice/.rbenv/shims:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
|
||||
10 verbose lifecycle metamask-crx@0.0.0~ui: CWD: /Users/apprentice/Desktop/MetaMask/metamask-plugin
|
||||
11 silly lifecycle metamask-crx@0.0.0~ui: Args: [ '-c',
|
||||
11 silly lifecycle 'node development/genStates.js && beefy ui-dev.js:bundle.js --live --open --index=./development/index.html --cwd ./' ]
|
||||
12 silly lifecycle metamask-crx@0.0.0~ui: Returned: code: 1 signal: null
|
||||
13 info lifecycle metamask-crx@0.0.0~ui: Failed to exec ui script
|
||||
14 verbose stack Error: metamask-crx@0.0.0 ui: `node development/genStates.js && beefy ui-dev.js:bundle.js --live --open --index=./development/index.html --cwd ./`
|
||||
14 verbose stack Exit status 1
|
||||
14 verbose stack at EventEmitter.<anonymous> (/Users/apprentice/.nvm/versions/node/v6.3.1/lib/node_modules/npm/lib/utils/lifecycle.js:242:16)
|
||||
14 verbose stack at emitTwo (events.js:106:13)
|
||||
14 verbose stack at EventEmitter.emit (events.js:191:7)
|
||||
14 verbose stack at ChildProcess.<anonymous> (/Users/apprentice/.nvm/versions/node/v6.3.1/lib/node_modules/npm/lib/utils/spawn.js:40:14)
|
||||
14 verbose stack at emitTwo (events.js:106:13)
|
||||
14 verbose stack at ChildProcess.emit (events.js:191:7)
|
||||
14 verbose stack at maybeClose (internal/child_process.js:852:16)
|
||||
14 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:5)
|
||||
15 verbose pkgid metamask-crx@0.0.0
|
||||
16 verbose cwd /Users/apprentice/Desktop/MetaMask/metamask-plugin
|
||||
17 error Darwin 15.6.0
|
||||
18 error argv "/Users/apprentice/.nvm/versions/node/v6.3.1/bin/node" "/Users/apprentice/.nvm/versions/node/v6.3.1/bin/npm" "run" "ui"
|
||||
19 error node v6.3.1
|
||||
20 error npm v3.10.3
|
||||
21 error code ELIFECYCLE
|
||||
22 error metamask-crx@0.0.0 ui: `node development/genStates.js && beefy ui-dev.js:bundle.js --live --open --index=./development/index.html --cwd ./`
|
||||
22 error Exit status 1
|
||||
23 error Failed at the metamask-crx@0.0.0 ui script 'node development/genStates.js && beefy ui-dev.js:bundle.js --live --open --index=./development/index.html --cwd ./'.
|
||||
23 error Make sure you have the latest version of node.js and npm installed.
|
||||
23 error If you do, this is most likely a problem with the metamask-crx package,
|
||||
23 error not with npm itself.
|
||||
23 error Tell the author that this fails on your system:
|
||||
23 error node development/genStates.js && beefy ui-dev.js:bundle.js --live --open --index=./development/index.html --cwd ./
|
||||
23 error You can get information on how to open an issue for this project with:
|
||||
23 error npm bugs metamask-crx
|
||||
23 error Or if that isn't available, you can get their info via:
|
||||
23 error npm owner ls metamask-crx
|
||||
23 error There is likely additional logging output above.
|
||||
24 verbose exit [ 1, true ]
|
Loading…
Reference in New Issue
Block a user