From 956482be96cb125a19ab73ce633b375fb97f95e9 Mon Sep 17 00:00:00 2001 From: Kevin Serrano Date: Tue, 14 Mar 2017 17:05:27 -0700 Subject: Fix development to use new currency state. --- development/states/account-detail-with-shapeshift-tx.json | 2 +- development/states/account-detail-with-transaction-history.json | 2 +- development/states/account-detail.json | 2 +- development/states/account-list-with-imported.json | 2 +- development/states/accounts-loose.json | 2 +- development/states/accounts.json | 2 +- development/states/compilation-bug.json | 2 +- development/states/conf-tx.json | 2 +- development/states/config.json | 2 +- development/states/first-time.json | 2 +- development/states/import-private-key-warning.json | 2 +- development/states/import-private-key.json | 2 +- development/states/locked.json | 2 +- development/states/lost-accounts.json | 2 +- development/states/new-account.json | 2 +- development/states/notice.json | 2 +- development/states/pending-signature.json | 2 +- development/states/pending-tx-insufficient.json | 2 +- development/states/personal-sign.json | 2 +- development/states/private-network.json | 2 +- development/states/restore-vault.json | 2 +- development/states/send.json | 2 +- development/states/shapeshift.json | 2 +- development/states/terms-and-conditions.json | 2 +- 24 files changed, 24 insertions(+), 24 deletions(-) (limited to 'development') diff --git a/development/states/account-detail-with-shapeshift-tx.json b/development/states/account-detail-with-shapeshift-tx.json index c14062350..97d5e9f06 100644 --- a/development/states/account-detail-with-shapeshift-tx.json +++ b/development/states/account-detail-with-shapeshift-tx.json @@ -1,6 +1,6 @@ { "metamask": { - "currentFiat": "USD", + "currentCurrency": "USD", "conversionRate": 11.06608791, "conversionDate": 1470421024, "isInitialized": true, diff --git a/development/states/account-detail-with-transaction-history.json b/development/states/account-detail-with-transaction-history.json index 8cb495656..a6bcc2658 100644 --- a/development/states/account-detail-with-transaction-history.json +++ b/development/states/account-detail-with-transaction-history.json @@ -1,6 +1,6 @@ { "metamask": { - "currentFiat": "USD", + "currentCurrency": "USD", "conversionRate": 11.06608791, "conversionDate": 1470421024, "isInitialized": true, diff --git a/development/states/account-detail.json b/development/states/account-detail.json index 644e3674d..6d11c1deb 100644 --- a/development/states/account-detail.json +++ b/development/states/account-detail.json @@ -1,6 +1,6 @@ { "metamask": { - "currentFiat": "USD", + "currentCurrency": "USD", "conversionRate": 11.06608791, "conversionDate": 1470421024, "isInitialized": true, diff --git a/development/states/account-list-with-imported.json b/development/states/account-list-with-imported.json index b450b4fb8..41d586db6 100644 --- a/development/states/account-list-with-imported.json +++ b/development/states/account-list-with-imported.json @@ -14,7 +14,7 @@ } }, "unconfTxs": {}, - "currentFiat": "USD", + "currentCurrency": "USD", "conversionRate": 10.19458075, "conversionDate": 1484696373, "noActiveNotices": true, diff --git a/development/states/accounts-loose.json b/development/states/accounts-loose.json index 542e207d4..df51f0d7e 100644 --- a/development/states/accounts-loose.json +++ b/development/states/accounts-loose.json @@ -30,7 +30,7 @@ } }, "unconfTxs": {}, - "currentFiat": "USD", + "currentCurrency": "USD", "conversionRate": 0, "conversionDate": "N/A", "noActiveNotices": true, diff --git a/development/states/accounts.json b/development/states/accounts.json index 4eef1145f..c8ff40ed9 100644 --- a/development/states/accounts.json +++ b/development/states/accounts.json @@ -41,7 +41,7 @@ } }, "unconfTxs": {}, - "currentFiat": "USD", + "currentCurrency": "USD", "conversionRate": 11.84461814, "conversionDate": 1476226414, "accounts": { diff --git a/development/states/compilation-bug.json b/development/states/compilation-bug.json index b33e59c5c..588d069d4 100644 --- a/development/states/compilation-bug.json +++ b/development/states/compilation-bug.json @@ -41,7 +41,7 @@ "simulationFails": true } }, - "currentFiat": "USD", + "currentCurrency": "USD", "conversionRate": 7.69158136, "conversionDate": 1482279663, "noActiveNotices": true, diff --git a/development/states/conf-tx.json b/development/states/conf-tx.json index b44d23ad8..0f1a13751 100644 --- a/development/states/conf-tx.json +++ b/development/states/conf-tx.json @@ -48,7 +48,7 @@ "gasPrice": "4a817c800" } }, - "currentFiat": "USD", + "currentCurrency": "USD", "conversionRate": 12.7200827, "conversionDate": 1487363041, "noActiveNotices": true, diff --git a/development/states/config.json b/development/states/config.json index de1df1831..551c0e3fa 100644 --- a/development/states/config.json +++ b/development/states/config.json @@ -1,6 +1,6 @@ { "metamask": { - "currentFiat": "USD", + "currentCurrency": "USD", "conversionRate": 11.06608791, "conversionDate": 1470421024, "isInitialized": true, diff --git a/development/states/first-time.json b/development/states/first-time.json index 3554ee911..683a61fdf 100644 --- a/development/states/first-time.json +++ b/development/states/first-time.json @@ -6,7 +6,7 @@ "identities": {}, "frequentRpcList": [], "unapprovedTxs": {}, - "currentFiat": "USD", + "currentCurrency": "USD", "conversionRate": 12.7527416, "conversionDate": 1487624341, "noActiveNotices": false, diff --git a/development/states/import-private-key-warning.json b/development/states/import-private-key-warning.json index a2d33ed7f..80ebc650d 100644 --- a/development/states/import-private-key-warning.json +++ b/development/states/import-private-key-warning.json @@ -10,7 +10,7 @@ } }, "unconfTxs": {}, - "currentFiat": "USD", + "currentCurrency": "USD", "conversionRate": 10.1219126, "conversionDate": 1484695442, "noActiveNotices": true, diff --git a/development/states/import-private-key.json b/development/states/import-private-key.json index 73fbd68db..bd455c6d5 100644 --- a/development/states/import-private-key.json +++ b/development/states/import-private-key.json @@ -10,7 +10,7 @@ } }, "unconfTxs": {}, - "currentFiat": "USD", + "currentCurrency": "USD", "conversionRate": 10.10788584, "conversionDate": 1484694362, "noActiveNotices": true, diff --git a/development/states/locked.json b/development/states/locked.json index 8e6ed7860..866394e86 100644 --- a/development/states/locked.json +++ b/development/states/locked.json @@ -6,7 +6,7 @@ "rpcTarget": "https://rawtestrpc.metamask.io/", "identities": {}, "unconfTxs": {}, - "currentFiat": "USD", + "currentCurrency": "USD", "conversionRate": 11.4379398, "conversionDate": 1473358355, "accounts": {}, diff --git a/development/states/lost-accounts.json b/development/states/lost-accounts.json index dcba7a764..4f50092b0 100644 --- a/development/states/lost-accounts.json +++ b/development/states/lost-accounts.json @@ -1,6 +1,6 @@ { "metamask": { - "currentFiat": "USD", + "currentCurrency": "USD", "lostAccounts": [ "0x0dcd5d886577d5081b0c52e242ef29e70be3e7bc", "0xec1adf982415d2ef5ec55899b9bfb8bc0f29251b" diff --git a/development/states/new-account.json b/development/states/new-account.json index a056e14e7..dc2341b0e 100644 --- a/development/states/new-account.json +++ b/development/states/new-account.json @@ -14,7 +14,7 @@ } }, "unconfTxs": {}, - "currentFiat": "USD", + "currentCurrency": "USD", "conversionRate": 10.92067835, "conversionDate": 1478282884, "network": null, diff --git a/development/states/notice.json b/development/states/notice.json index 1cdcefcfb..efeffab08 100644 --- a/development/states/notice.json +++ b/development/states/notice.json @@ -9,7 +9,7 @@ } }, "unconfTxs": {}, - "currentFiat": "USD", + "currentCurrency": "USD", "conversionRate": 8.3533002, "conversionDate": 1481671082, "noActiveNotices": false, diff --git a/development/states/pending-signature.json b/development/states/pending-signature.json index 0d49e0229..7deaee8f7 100644 --- a/development/states/pending-signature.json +++ b/development/states/pending-signature.json @@ -22,7 +22,7 @@ } }, "unconfTxs": {}, - "currentFiat": "USD", + "currentCurrency": "USD", "conversionRate": 11.02269525, "conversionDate": 1472076963, "accounts": { diff --git a/development/states/pending-tx-insufficient.json b/development/states/pending-tx-insufficient.json index 10ecc826d..18be84089 100644 --- a/development/states/pending-tx-insufficient.json +++ b/development/states/pending-tx-insufficient.json @@ -31,7 +31,7 @@ "maxCost": "de234b52e4a0800" } }, - "currentFiat": "USD", + "currentCurrency": "USD", "conversionRate": 12.59854817, "conversionDate": 1487662141, "noActiveNotices": true, diff --git a/development/states/personal-sign.json b/development/states/personal-sign.json index 2fc71f448..8ded6205c 100644 --- a/development/states/personal-sign.json +++ b/development/states/personal-sign.json @@ -18,7 +18,7 @@ } }, "unapprovedTxs": {}, - "currentFiat": "USD", + "currentCurrency": "USD", "conversionRate": 13.2126613, "conversionDate": 1487888522, "noActiveNotices": true, diff --git a/development/states/private-network.json b/development/states/private-network.json index 155aa6584..8cdcb4eeb 100644 --- a/development/states/private-network.json +++ b/development/states/private-network.json @@ -16,7 +16,7 @@ } }, "unconfTxs": {}, - "currentFiat": "USD", + "currentCurrency": "USD", "conversionRate": 9.52855776, "conversionDate": 1479756513, "accounts": { diff --git a/development/states/restore-vault.json b/development/states/restore-vault.json index ad136c78e..0d6c2610d 100644 --- a/development/states/restore-vault.json +++ b/development/states/restore-vault.json @@ -6,7 +6,7 @@ "rpcTarget": "https://rawtestrpc.metamask.io/", "identities": {}, "unconfTxs": {}, - "currentFiat": "USD", + "currentCurrency": "USD", "conversionRate": 0, "conversionDate": "N/A", "accounts": {}, diff --git a/development/states/send.json b/development/states/send.json index 3f52185af..73ac62f65 100644 --- a/development/states/send.json +++ b/development/states/send.json @@ -22,7 +22,7 @@ } }, "unapprovedTxs": {}, - "currentFiat": "USD", + "currentCurrency": "USD", "conversionRate": 16.88200327, "conversionDate": 1489013762, "noActiveNotices": true, diff --git a/development/states/shapeshift.json b/development/states/shapeshift.json index bc10143d0..bfd4b7c16 100644 --- a/development/states/shapeshift.json +++ b/development/states/shapeshift.json @@ -22,7 +22,7 @@ } }, "unconfTxs": {}, - "currentFiat": "USD", + "currentCurrency": "USD", "conversionRate": 11.21274318, "conversionDate": 1472159644, "accounts": { diff --git a/development/states/terms-and-conditions.json b/development/states/terms-and-conditions.json index b995e446f..f5ebe8254 100644 --- a/development/states/terms-and-conditions.json +++ b/development/states/terms-and-conditions.json @@ -5,7 +5,7 @@ "rpcTarget": "https://rawtestrpc.metamask.io/", "identities": {}, "unconfTxs": {}, - "currentFiat": "USD", + "currentCurrency": "USD", "conversionRate": 8.18703468, "conversionDate": 1481755832, "network": "3", -- cgit From a7b7be8309b5b81514b9ef748e315f01d02bc178 Mon Sep 17 00:00:00 2001 From: Kevin Serrano Date: Tue, 21 Mar 2017 08:52:28 -0700 Subject: Add new development states for UI development. --- development/states/private-key-export-success.json | 70 ++++++++++++++++++++++ development/states/private-key-export.json | 69 +++++++++++++++++++++ 2 files changed, 139 insertions(+) create mode 100644 development/states/private-key-export-success.json create mode 100644 development/states/private-key-export.json (limited to 'development') diff --git a/development/states/private-key-export-success.json b/development/states/private-key-export-success.json new file mode 100644 index 000000000..2ff3c4d17 --- /dev/null +++ b/development/states/private-key-export-success.json @@ -0,0 +1,70 @@ +{ + "metamask": { + "isInitialized": true, + "isUnlocked": true, + "rpcTarget": "https://rawtestrpc.metamask.io/", + "identities": { + "0x07284e146926a4facd0ea60598dc4f001ad620f1": { + "address": "0x07284e146926a4facd0ea60598dc4f001ad620f1", + "name": "Account 1" + } + }, + "unapprovedTxs": {}, + "noActiveNotices": true, + "frequentRpcList": [], + "addressBook": [], + "network": "3", + "accounts": { + "0x07284e146926a4facd0ea60598dc4f001ad620f1": { + "code": "0x", + "nonce": "0x0", + "balance": "0x0", + "address": "0x07284e146926a4facd0ea60598dc4f001ad620f1" + } + }, + "transactions": {}, + "selectedAddressTxList": [], + "unapprovedMsgs": {}, + "unapprovedMsgCount": 0, + "unapprovedPersonalMsgs": {}, + "unapprovedPersonalMsgCount": 0, + "keyringTypes": [ + "Simple Key Pair", + "HD Key Tree" + ], + "keyrings": [ + { + "type": "HD Key Tree", + "accounts": [ + "07284e146926a4facd0ea60598dc4f001ad620f1" + ] + } + ], + "selectedAddress": "0x07284e146926a4facd0ea60598dc4f001ad620f1", + "currentCurrency": "USD", + "conversionRate": 43.35903476, + "conversionDate": 1490105102, + "provider": { + "type": "testnet" + }, + "shapeShiftTxList": [], + "lostAccounts": [], + "seedWords": null + }, + "appState": { + "menuOpen": false, + "currentView": { + "name": "accountDetail", + "context": "0x07284e146926a4facd0ea60598dc4f001ad620f1" + }, + "accountDetail": { + "subview": "export", + "accountExport": "completed", + "privateKey": "549c9638ad06432568969accacad4a02f8548cc358085938071745138ec134b7" + }, + "transForward": true, + "isLoading": false, + "warning": null + }, + "identities": {} +} diff --git a/development/states/private-key-export.json b/development/states/private-key-export.json new file mode 100644 index 000000000..db7a53e22 --- /dev/null +++ b/development/states/private-key-export.json @@ -0,0 +1,69 @@ +{ + "metamask": { + "isInitialized": true, + "isUnlocked": true, + "rpcTarget": "https://rawtestrpc.metamask.io/", + "identities": { + "0x07284e146926a4facd0ea60598dc4f001ad620f1": { + "address": "0x07284e146926a4facd0ea60598dc4f001ad620f1", + "name": "Account 1" + } + }, + "unapprovedTxs": {}, + "noActiveNotices": true, + "frequentRpcList": [], + "addressBook": [], + "network": "3", + "accounts": { + "0x07284e146926a4facd0ea60598dc4f001ad620f1": { + "code": "0x", + "nonce": "0x0", + "balance": "0x0", + "address": "0x07284e146926a4facd0ea60598dc4f001ad620f1" + } + }, + "transactions": {}, + "selectedAddressTxList": [], + "unapprovedMsgs": {}, + "unapprovedMsgCount": 0, + "unapprovedPersonalMsgs": {}, + "unapprovedPersonalMsgCount": 0, + "keyringTypes": [ + "Simple Key Pair", + "HD Key Tree" + ], + "keyrings": [ + { + "type": "HD Key Tree", + "accounts": [ + "07284e146926a4facd0ea60598dc4f001ad620f1" + ] + } + ], + "selectedAddress": "0x07284e146926a4facd0ea60598dc4f001ad620f1", + "currentCurrency": "USD", + "conversionRate": 43.35903476, + "conversionDate": 1490105102, + "provider": { + "type": "testnet" + }, + "shapeShiftTxList": [], + "lostAccounts": [], + "seedWords": null + }, + "appState": { + "menuOpen": false, + "currentView": { + "name": "accountDetail", + "context": "0x07284e146926a4facd0ea60598dc4f001ad620f1" + }, + "accountDetail": { + "subview": "export", + "accountExport": "requested" + }, + "transForward": true, + "isLoading": false, + "warning": null + }, + "identities": {} +} -- cgit