From 47fe4bad209ebdc49364c0312be193458d09f989 Mon Sep 17 00:00:00 2001 From: kvhnuke Date: Thu, 31 Dec 2015 15:07:01 +0000 Subject: [PATCH] fixed send transaction hex encoding 0x --- contract-augur.html | 288 ++++++++++----------- css/etherwallet-master.css | 449 +++++++++++++++++---------------- css/etherwallet-master.min.css | 2 +- js/etherwallet-master.min.js | 2 +- js/source/03_transactions.js | 18 +- 5 files changed, 382 insertions(+), 377 deletions(-) diff --git a/contract-augur.html b/contract-augur.html index fa5c60e313..6791287b70 100644 --- a/contract-augur.html +++ b/contract-augur.html @@ -40,149 +40,149 @@ - - - -
- -
- -
- -

Augur Crowdsale

-
-
-

How would you like to access your wallet to purchase Augur rep?

-
- -
-
- -
-
-
- - - - - - -
- -
- - - - -
- + + + +
+ +
+ +
+ +

Augur Crowdsale

+
+
+

How would you like to access your wallet to purchase Augur rep?

+
+ +
+
+ +
+
+
+ + + + + + +
+ +
+ + + + +
+ - + diff --git a/css/etherwallet-master.css b/css/etherwallet-master.css index d98285edc8..dc9e25806b 100644 --- a/css/etherwallet-master.css +++ b/css/etherwallet-master.css @@ -1075,7 +1075,7 @@ body { font-size: 14px; line-height: 1.42857143; color: #333333; - background-color: #fff; + background-color: #ffffff; } input, button, @@ -1086,7 +1086,7 @@ textarea { line-height: inherit; } a { - color: #2BB2DD; + color: #2bb2dd; text-decoration: none; } a:hover, @@ -1120,8 +1120,8 @@ img { .img-thumbnail { padding: 4px; line-height: 1.42857143; - background-color: #fff; - border: 1px solid #ddd; + background-color: #ffffff; + border: 1px solid #dddddd; border-radius: 4px; -webkit-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out; @@ -1136,7 +1136,7 @@ hr { margin-top: 20px; margin-bottom: 20px; border: 0; - border-top: 1px solid #E6E6E6; + border-top: 1px solid #e6e6e6; } .sr-only { position: absolute; @@ -1327,7 +1327,7 @@ mark, color: #777777; } .text-primary { - color: #2BB2DD; + color: #2bb2dd; } a.text-primary:hover, a.text-primary:focus { @@ -1363,7 +1363,7 @@ a.text-danger:focus { } .bg-primary { color: #fff; - background-color: #2BB2DD; + background-color: #2bb2dd; } a.bg-primary:hover, a.bg-primary:focus { @@ -1400,7 +1400,7 @@ a.bg-danger:focus { .page-header { padding-bottom: 9px; margin: 40px 0 20px; - border-bottom: 1px solid #E6E6E6; + border-bottom: 1px solid #e6e6e6; } ul, ol { @@ -1471,7 +1471,7 @@ blockquote { padding: 10px 20px; margin: 0 0 20px; font-size: 17.5px; - border-left: 5px solid #E6E6E6; + border-left: 5px solid #e6e6e6; } blockquote p:last-child, blockquote ul:last-child, @@ -1495,7 +1495,7 @@ blockquote .small:before { blockquote.pull-right { padding-right: 15px; padding-left: 0; - border-right: 5px solid #E6E6E6; + border-right: 5px solid #e6e6e6; border-left: 0; text-align: right; } @@ -1536,8 +1536,8 @@ code { kbd { padding: 2px 4px; font-size: 90%; - color: #fff; - background-color: #333; + color: #ffffff; + background-color: #333333; border-radius: 3px; box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.25); } @@ -1557,7 +1557,7 @@ pre { word-wrap: break-word; color: #333333; background-color: #f5f5f5; - border: 1px solid #ccc; + border: 1px solid #cccccc; border-radius: 4px; } pre code { @@ -2265,11 +2265,11 @@ th { padding: 8px; line-height: 1.42857143; vertical-align: top; - border-top: 1px solid #ddd; + border-top: 1px solid #dddddd; } .table > thead > tr > th { vertical-align: bottom; - border-bottom: 2px solid #ddd; + border-bottom: 2px solid #dddddd; } .table > caption + thead > tr:first-child > th, .table > colgroup + thead > tr:first-child > th, @@ -2280,10 +2280,10 @@ th { border-top: 0; } .table > tbody + tbody { - border-top: 2px solid #ddd; + border-top: 2px solid #dddddd; } .table .table { - background-color: #fff; + background-color: #ffffff; } .table-condensed > thead > tr > th, .table-condensed > tbody > tr > th, @@ -2294,7 +2294,7 @@ th { padding: 5px; } .table-bordered { - border: 1px solid #ddd; + border: 1px solid #dddddd; } .table-bordered > thead > tr > th, .table-bordered > tbody > tr > th, @@ -2302,7 +2302,7 @@ th { .table-bordered > thead > tr > td, .table-bordered > tbody > tr > td, .table-bordered > tfoot > tr > td { - border: 1px solid #ddd; + border: 1px solid #dddddd; } .table-bordered > thead > tr > th, .table-bordered > thead > tr > td { @@ -2440,7 +2440,7 @@ table th[class*="col-"] { margin-bottom: 15px; overflow-y: hidden; -ms-overflow-style: -ms-autohiding-scrollbar; - border: 1px solid #ddd; + border: 1px solid #dddddd; } .table-responsive > .table { margin-bottom: 0; @@ -2544,9 +2544,9 @@ output { font-size: 14px; line-height: 1.42857143; color: #555555; - background-color: #fff; + background-color: #ffffff; background-image: none; - border: 1px solid #ccc; + border: 1px solid #cccccc; border-radius: 4px; box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s; @@ -2558,19 +2558,19 @@ output { box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6); } .form-control::-moz-placeholder { - color: #999; + color: #999999; opacity: 1; } .form-control:-ms-input-placeholder { - color: #999; + color: #999999; } .form-control::-webkit-input-placeholder { - color: #999; + color: #999999; } .form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control { - background-color: #E6E6E6; + background-color: #e6e6e6; opacity: 1; } .form-control[disabled], @@ -3011,7 +3011,7 @@ select[multiple].input-lg { .btn:hover, .btn:focus, .btn.focus { - color: #333; + color: #333333; text-decoration: none; } .btn:active, @@ -3033,25 +3033,25 @@ fieldset[disabled] a.btn { pointer-events: none; } .btn-default { - color: #333; - background-color: #fff; - border-color: #ccc; + color: #333333; + background-color: #ffffff; + border-color: #cccccc; } .btn-default:focus, .btn-default.focus { - color: #333; + color: #333333; background-color: #e6e6e6; border-color: #8c8c8c; } .btn-default:hover { - color: #333; + color: #333333; background-color: #e6e6e6; border-color: #adadad; } .btn-default:active, .btn-default.active, .open > .dropdown-toggle.btn-default { - color: #333; + color: #333333; background-color: #e6e6e6; border-color: #adadad; } @@ -3064,7 +3064,7 @@ fieldset[disabled] a.btn { .btn-default:active.focus, .btn-default.active.focus, .open > .dropdown-toggle.btn-default.focus { - color: #333; + color: #333333; background-color: #d4d4d4; border-color: #8c8c8c; } @@ -3091,33 +3091,33 @@ fieldset[disabled] .btn-default:active, .btn-default.disabled.active, .btn-default[disabled].active, fieldset[disabled] .btn-default.active { - background-color: #fff; - border-color: #ccc; + background-color: #ffffff; + border-color: #cccccc; } .btn-default .badge { - color: #fff; - background-color: #333; + color: #ffffff; + background-color: #333333; } .btn-primary { - color: #fff; - background-color: #2BB2DD; + color: #ffffff; + background-color: #2bb2dd; border-color: #21a4ce; } .btn-primary:focus, .btn-primary.focus { - color: #fff; + color: #ffffff; background-color: #1d92b8; border-color: #0f4c60; } .btn-primary:hover { - color: #fff; + color: #ffffff; background-color: #1d92b8; border-color: #197a99; } .btn-primary:active, .btn-primary.active, .open > .dropdown-toggle.btn-primary { - color: #fff; + color: #ffffff; background-color: #1d92b8; border-color: #197a99; } @@ -3130,7 +3130,7 @@ fieldset[disabled] .btn-default.active { .btn-primary:active.focus, .btn-primary.active.focus, .open > .dropdown-toggle.btn-primary.focus { - color: #fff; + color: #ffffff; background-color: #197a99; border-color: #0f4c60; } @@ -3157,33 +3157,33 @@ fieldset[disabled] .btn-primary:active, .btn-primary.disabled.active, .btn-primary[disabled].active, fieldset[disabled] .btn-primary.active { - background-color: #2BB2DD; + background-color: #2bb2dd; border-color: #21a4ce; } .btn-primary .badge { - color: #2BB2DD; - background-color: #fff; + color: #2bb2dd; + background-color: #ffffff; } .btn-success { - color: #fff; + color: #ffffff; background-color: #5cb85c; border-color: #4cae4c; } .btn-success:focus, .btn-success.focus { - color: #fff; + color: #ffffff; background-color: #449d44; border-color: #255625; } .btn-success:hover { - color: #fff; + color: #ffffff; background-color: #449d44; border-color: #398439; } .btn-success:active, .btn-success.active, .open > .dropdown-toggle.btn-success { - color: #fff; + color: #ffffff; background-color: #449d44; border-color: #398439; } @@ -3196,7 +3196,7 @@ fieldset[disabled] .btn-primary.active { .btn-success:active.focus, .btn-success.active.focus, .open > .dropdown-toggle.btn-success.focus { - color: #fff; + color: #ffffff; background-color: #398439; border-color: #255625; } @@ -3228,28 +3228,28 @@ fieldset[disabled] .btn-success.active { } .btn-success .badge { color: #5cb85c; - background-color: #fff; + background-color: #ffffff; } .btn-info { - color: #fff; - background-color: #2E4868; + color: #ffffff; + background-color: #2e4868; border-color: #263c56; } .btn-info:focus, .btn-info.focus { - color: #fff; + color: #ffffff; background-color: #1e3045; border-color: #000000; } .btn-info:hover { - color: #fff; + color: #ffffff; background-color: #1e3045; border-color: #131e2c; } .btn-info:active, .btn-info.active, .open > .dropdown-toggle.btn-info { - color: #fff; + color: #ffffff; background-color: #1e3045; border-color: #131e2c; } @@ -3262,7 +3262,7 @@ fieldset[disabled] .btn-success.active { .btn-info:active.focus, .btn-info.active.focus, .open > .dropdown-toggle.btn-info.focus { - color: #fff; + color: #ffffff; background-color: #131e2c; border-color: #000000; } @@ -3289,33 +3289,33 @@ fieldset[disabled] .btn-info:active, .btn-info.disabled.active, .btn-info[disabled].active, fieldset[disabled] .btn-info.active { - background-color: #2E4868; + background-color: #2e4868; border-color: #263c56; } .btn-info .badge { - color: #2E4868; - background-color: #fff; + color: #2e4868; + background-color: #ffffff; } .btn-warning { - color: #fff; + color: #ffffff; background-color: #f0ad4e; border-color: #eea236; } .btn-warning:focus, .btn-warning.focus { - color: #fff; + color: #ffffff; background-color: #ec971f; border-color: #985f0d; } .btn-warning:hover { - color: #fff; + color: #ffffff; background-color: #ec971f; border-color: #d58512; } .btn-warning:active, .btn-warning.active, .open > .dropdown-toggle.btn-warning { - color: #fff; + color: #ffffff; background-color: #ec971f; border-color: #d58512; } @@ -3328,7 +3328,7 @@ fieldset[disabled] .btn-info.active { .btn-warning:active.focus, .btn-warning.active.focus, .open > .dropdown-toggle.btn-warning.focus { - color: #fff; + color: #ffffff; background-color: #d58512; border-color: #985f0d; } @@ -3360,28 +3360,28 @@ fieldset[disabled] .btn-warning.active { } .btn-warning .badge { color: #f0ad4e; - background-color: #fff; + background-color: #ffffff; } .btn-danger { - color: #fff; + color: #ffffff; background-color: #d9534f; border-color: #d43f3a; } .btn-danger:focus, .btn-danger.focus { - color: #fff; + color: #ffffff; background-color: #c9302c; border-color: #761c19; } .btn-danger:hover { - color: #fff; + color: #ffffff; background-color: #c9302c; border-color: #ac2925; } .btn-danger:active, .btn-danger.active, .open > .dropdown-toggle.btn-danger { - color: #fff; + color: #ffffff; background-color: #c9302c; border-color: #ac2925; } @@ -3394,7 +3394,7 @@ fieldset[disabled] .btn-warning.active { .btn-danger:active.focus, .btn-danger.active.focus, .open > .dropdown-toggle.btn-danger.focus { - color: #fff; + color: #ffffff; background-color: #ac2925; border-color: #761c19; } @@ -3426,10 +3426,10 @@ fieldset[disabled] .btn-danger.active { } .btn-danger .badge { color: #d9534f; - background-color: #fff; + background-color: #ffffff; } .btn-link { - color: #2BB2DD; + color: #2bb2dd; font-weight: normal; border-radius: 0; } @@ -3559,8 +3559,8 @@ tbody.collapse.in { list-style: none; font-size: 14px; text-align: left; - background-color: #fff; - border: 1px solid #ccc; + background-color: #ffffff; + border: 1px solid #cccccc; border: 1px solid rgba(0, 0, 0, 0.15); border-radius: 4px; box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175); @@ -3594,10 +3594,10 @@ tbody.collapse.in { .dropdown-menu > .active > a, .dropdown-menu > .active > a:hover, .dropdown-menu > .active > a:focus { - color: #fff; + color: #ffffff; text-decoration: none; outline: 0; - background-color: #2BB2DD; + background-color: #2bb2dd; } .dropdown-menu > .disabled > a, .dropdown-menu > .disabled > a:hover, @@ -3921,8 +3921,8 @@ select[multiple].input-group-sm > .input-group-btn > .btn { line-height: 1; color: #555555; text-align: center; - background-color: #E6E6E6; - border: 1px solid #ccc; + background-color: #e6e6e6; + border: 1px solid #cccccc; border-radius: 4px; } .input-group-addon.input-sm { @@ -4010,7 +4010,7 @@ ul.nav { .nav > li > a:hover, .nav > li > a:focus { text-decoration: none; - background-color: #fff; + background-color: #ffffff; } .nav > li.disabled > a { color: #777777; @@ -4025,8 +4025,8 @@ ul.nav { .nav .open > a, .nav .open > a:hover, .nav .open > a:focus { - background-color: #fff; - border-color: #2BB2DD; + background-color: #ffffff; + border-color: #2bb2dd; } .nav .nav-divider { height: 1px; @@ -4040,7 +4040,7 @@ ul.nav { .nav-tabs { padding-top: 5px; margin: 0 -15px; - border-bottom: 2px solid #E6E6E6; + border-bottom: 2px solid #e6e6e6; } .nav-tabs > li { float: left; @@ -4053,7 +4053,7 @@ ul.nav { } .nav-tabs > li > a:after { content: ""; - background: #2BB2DD; + background: #2bb2dd; height: 2px; position: absolute; width: 100%; @@ -4062,25 +4062,27 @@ ul.nav { -webkit-transition: all 250ms ease 0s; transition: all 250ms ease 0s; -webkit-transform: scale(0); + -ms-transform: scale(0); transform: scale(0); } .nav-tabs > li > a:hover, .nav-tabs > li > a:focus { - color: #2BB2DD; + color: #2bb2dd; -webkit-transition: all 250ms ease 0s; transition: all 250ms ease 0s; } .nav-tabs > li > a:hover:after, .nav-tabs > li > a:focus:after { -webkit-transform: scale(1); + -ms-transform: scale(1); transform: scale(1); } .nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus { - color: #2BB2DD; + color: #2bb2dd; cursor: default; - border-bottom: 2px solid #2BB2DD; + border-bottom: 2px solid #2bb2dd; } .nav-tabs.nav-justified { width: 100%; @@ -4113,17 +4115,17 @@ ul.nav { .nav-tabs.nav-justified > .active > a, .nav-tabs.nav-justified > .active > a:hover, .nav-tabs.nav-justified > .active > a:focus { - border: 1px solid #E6E6E6; + border: 1px solid #e6e6e6; } @media (min-width: 768px) { .nav-tabs.nav-justified > li > a { - border-bottom: 1px solid #E6E6E6; + border-bottom: 1px solid #e6e6e6; border-radius: 4px 4px 0 0; } .nav-tabs.nav-justified > .active > a, .nav-tabs.nav-justified > .active > a:hover, .nav-tabs.nav-justified > .active > a:focus { - border-bottom-color: #E6E6E6; + border-bottom-color: #e6e6e6; } } @media screen and (max-width: 768px) { @@ -4135,7 +4137,7 @@ ul.nav { padding: 0 45px; } .nav-tabs > li > a { - border-bottom: 1px solid #E6E6E6; + border-bottom: 1px solid #e6e6e6; } } .nav-pills > li { @@ -4150,8 +4152,8 @@ ul.nav { .nav-pills > li.active > a, .nav-pills > li.active > a:hover, .nav-pills > li.active > a:focus { - color: #fff; - background-color: #2BB2DD; + color: #ffffff; + background-color: #2bb2dd; } .nav-stacked > li { float: none; @@ -4193,17 +4195,17 @@ ul.nav { .nav-tabs-justified > .active > a, .nav-tabs-justified > .active > a:hover, .nav-tabs-justified > .active > a:focus { - border: 1px solid #E6E6E6; + border: 1px solid #e6e6e6; } @media (min-width: 768px) { .nav-tabs-justified > li > a { - border-bottom: 1px solid #E6E6E6; + border-bottom: 1px solid #e6e6e6; border-radius: 4px 4px 0 0; } .nav-tabs-justified > .active > a, .nav-tabs-justified > .active > a:hover, .nav-tabs-justified > .active > a:focus { - border-bottom-color: #E6E6E6; + border-bottom-color: #e6e6e6; } } .tab-content > .tab-pane { @@ -4546,7 +4548,7 @@ ul.nav { border-color: #e7e7e7; } .navbar-default .navbar-brand { - color: #777; + color: #777777; } .navbar-default .navbar-brand:hover, .navbar-default .navbar-brand:focus { @@ -4554,37 +4556,37 @@ ul.nav { background-color: transparent; } .navbar-default .navbar-text { - color: #777; + color: #777777; } .navbar-default .navbar-nav > li > a { - color: #777; + color: #777777; } .navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus { - color: #333; + color: #333333; background-color: transparent; } .navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus { - color: #2BB2DD; + color: #2bb2dd; background-color: #e7e7e7; } .navbar-default .navbar-nav > .disabled > a, .navbar-default .navbar-nav > .disabled > a:hover, .navbar-default .navbar-nav > .disabled > a:focus { - color: #ccc; + color: #cccccc; background-color: transparent; } .navbar-default .navbar-toggle { - border-color: #ddd; + border-color: #dddddd; } .navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus { - background-color: #ddd; + background-color: #dddddd; } .navbar-default .navbar-toggle .icon-bar { - background-color: #888; + background-color: #888888; } .navbar-default .navbar-collapse, .navbar-default .navbar-form { @@ -4594,51 +4596,51 @@ ul.nav { .navbar-default .navbar-nav > .open > a:hover, .navbar-default .navbar-nav > .open > a:focus { background-color: #e7e7e7; - color: #2BB2DD; + color: #2bb2dd; } @media (max-width: 767px) { .navbar-default .navbar-nav .open .dropdown-menu > li > a { - color: #777; + color: #777777; } .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus { - color: #333; + color: #333333; background-color: transparent; } .navbar-default .navbar-nav .open .dropdown-menu > .active > a, .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus { - color: #2BB2DD; + color: #2bb2dd; background-color: #e7e7e7; } .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a, .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:focus { - color: #ccc; + color: #cccccc; background-color: transparent; } } .navbar-default .navbar-link { - color: #777; + color: #777777; } .navbar-default .navbar-link:hover { - color: #333; + color: #333333; } .navbar-default .btn-link { - color: #777; + color: #777777; } .navbar-default .btn-link:hover, .navbar-default .btn-link:focus { - color: #333; + color: #333333; } .navbar-default .btn-link[disabled]:hover, fieldset[disabled] .navbar-default .btn-link:hover, .navbar-default .btn-link[disabled]:focus, fieldset[disabled] .navbar-default .btn-link:focus { - color: #ccc; + color: #cccccc; } .navbar-inverse { - background-color: #222; + background-color: #222222; border-color: #080808; } .navbar-inverse .navbar-brand { @@ -4646,7 +4648,7 @@ fieldset[disabled] .navbar-default .btn-link:focus { } .navbar-inverse .navbar-brand:hover, .navbar-inverse .navbar-brand:focus { - color: #fff; + color: #ffffff; background-color: transparent; } .navbar-inverse .navbar-text { @@ -4657,30 +4659,30 @@ fieldset[disabled] .navbar-default .btn-link:focus { } .navbar-inverse .navbar-nav > li > a:hover, .navbar-inverse .navbar-nav > li > a:focus { - color: #fff; + color: #ffffff; background-color: transparent; } .navbar-inverse .navbar-nav > .active > a, .navbar-inverse .navbar-nav > .active > a:hover, .navbar-inverse .navbar-nav > .active > a:focus { - color: #fff; + color: #ffffff; background-color: #080808; } .navbar-inverse .navbar-nav > .disabled > a, .navbar-inverse .navbar-nav > .disabled > a:hover, .navbar-inverse .navbar-nav > .disabled > a:focus { - color: #444; + color: #444444; background-color: transparent; } .navbar-inverse .navbar-toggle { - border-color: #333; + border-color: #333333; } .navbar-inverse .navbar-toggle:hover, .navbar-inverse .navbar-toggle:focus { - background-color: #333; + background-color: #333333; } .navbar-inverse .navbar-toggle .icon-bar { - background-color: #fff; + background-color: #ffffff; } .navbar-inverse .navbar-collapse, .navbar-inverse .navbar-form { @@ -4690,7 +4692,7 @@ fieldset[disabled] .navbar-default .btn-link:focus { .navbar-inverse .navbar-nav > .open > a:hover, .navbar-inverse .navbar-nav > .open > a:focus { background-color: #080808; - color: #fff; + color: #ffffff; } @media (max-width: 767px) { .navbar-inverse .navbar-nav .open .dropdown-menu > .dropdown-header { @@ -4704,19 +4706,19 @@ fieldset[disabled] .navbar-default .btn-link:focus { } .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover, .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:focus { - color: #fff; + color: #ffffff; background-color: transparent; } .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a, .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:hover, .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:focus { - color: #fff; + color: #ffffff; background-color: #080808; } .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a, .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:hover, .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:focus { - color: #444; + color: #444444; background-color: transparent; } } @@ -4724,20 +4726,20 @@ fieldset[disabled] .navbar-default .btn-link:focus { color: #9d9d9d; } .navbar-inverse .navbar-link:hover { - color: #fff; + color: #ffffff; } .navbar-inverse .btn-link { color: #9d9d9d; } .navbar-inverse .btn-link:hover, .navbar-inverse .btn-link:focus { - color: #fff; + color: #ffffff; } .navbar-inverse .btn-link[disabled]:hover, fieldset[disabled] .navbar-inverse .btn-link:hover, .navbar-inverse .btn-link[disabled]:focus, fieldset[disabled] .navbar-inverse .btn-link:focus { - color: #444; + color: #444444; } .breadcrumb { padding: 8px 15px; @@ -4752,7 +4754,7 @@ fieldset[disabled] .navbar-inverse .btn-link:focus { .breadcrumb > li + li:before { content: "/\00a0"; padding: 0 5px; - color: #ccc; + color: #cccccc; } .breadcrumb > .active { color: #777777; @@ -4773,9 +4775,9 @@ fieldset[disabled] .navbar-inverse .btn-link:focus { padding: 6px 12px; line-height: 1.42857143; text-decoration: none; - color: #2BB2DD; - background-color: #fff; - border: 1px solid #ddd; + color: #2bb2dd; + background-color: #ffffff; + border: 1px solid #dddddd; margin-left: -1px; } .pagination > li:first-child > a, @@ -4795,8 +4797,8 @@ fieldset[disabled] .navbar-inverse .btn-link:focus { .pagination > li > span:focus { z-index: 3; color: #1a81a2; - background-color: #E6E6E6; - border-color: #ddd; + background-color: #e6e6e6; + border-color: #dddddd; } .pagination > .active > a, .pagination > .active > span, @@ -4805,9 +4807,9 @@ fieldset[disabled] .navbar-inverse .btn-link:focus { .pagination > .active > a:focus, .pagination > .active > span:focus { z-index: 2; - color: #fff; - background-color: #2BB2DD; - border-color: #2BB2DD; + color: #ffffff; + background-color: #2bb2dd; + border-color: #2bb2dd; cursor: default; } .pagination > .disabled > span, @@ -4817,8 +4819,8 @@ fieldset[disabled] .navbar-inverse .btn-link:focus { .pagination > .disabled > a:hover, .pagination > .disabled > a:focus { color: #777777; - background-color: #fff; - border-color: #ddd; + background-color: #ffffff; + border-color: #dddddd; cursor: default; } .pagination-lg > li > a, @@ -4866,14 +4868,14 @@ fieldset[disabled] .navbar-inverse .btn-link:focus { .pager li > span { display: inline-block; padding: 5px 14px; - background-color: #fff; - border: 1px solid #ddd; + background-color: #ffffff; + border: 1px solid #dddddd; border-radius: 15px; } .pager li > a:hover, .pager li > a:focus { text-decoration: none; - background-color: #E6E6E6; + background-color: #e6e6e6; } .pager .next > a, .pager .next > span { @@ -4888,7 +4890,7 @@ fieldset[disabled] .navbar-inverse .btn-link:focus { .pager .disabled > a:focus, .pager .disabled > span { color: #777777; - background-color: #fff; + background-color: #ffffff; cursor: default; } .label { @@ -4897,7 +4899,7 @@ fieldset[disabled] .navbar-inverse .btn-link:focus { font-size: 75%; font-weight: bold; line-height: 1; - color: #fff; + color: #ffffff; text-align: center; white-space: nowrap; vertical-align: baseline; @@ -4905,7 +4907,7 @@ fieldset[disabled] .navbar-inverse .btn-link:focus { } a.label:hover, a.label:focus { - color: #fff; + color: #ffffff; text-decoration: none; cursor: pointer; } @@ -4924,7 +4926,7 @@ a.label:focus { background-color: #5e5e5e; } .label-primary { - background-color: #2BB2DD; + background-color: #2bb2dd; } .label-primary[href]:hover, .label-primary[href]:focus { @@ -4938,7 +4940,7 @@ a.label:focus { background-color: #449d44; } .label-info { - background-color: #2E4868; + background-color: #2e4868; } .label-info[href]:hover, .label-info[href]:focus { @@ -4964,7 +4966,7 @@ a.label:focus { padding: 3px 7px; font-size: 12px; font-weight: bold; - color: #fff; + color: #ffffff; line-height: 1; vertical-align: middle; white-space: nowrap; @@ -4986,14 +4988,14 @@ a.label:focus { } a.badge:hover, a.badge:focus { - color: #fff; + color: #ffffff; text-decoration: none; cursor: pointer; } .list-group-item.active > .badge, .nav-pills > .active > a > .badge { - color: #2BB2DD; - background-color: #fff; + color: #2bb2dd; + background-color: #ffffff; } .list-group-item > .badge { float: right; @@ -5009,7 +5011,7 @@ a.badge:focus { padding-bottom: 30px; margin-bottom: 30px; color: inherit; - background-color: #E6E6E6; + background-color: #e6e6e6; } .jumbotron h1, .jumbotron .h1 { @@ -5050,8 +5052,8 @@ a.badge:focus { padding: 4px; margin-bottom: 20px; line-height: 1.42857143; - background-color: #fff; - border: 1px solid #ddd; + background-color: #ffffff; + border: 1px solid #dddddd; border-radius: 4px; -webkit-transition: border 0.2s ease-in-out; transition: border 0.2s ease-in-out; @@ -5064,7 +5066,7 @@ a.badge:focus { a.thumbnail:hover, a.thumbnail:focus, a.thumbnail.active { - border-color: #2BB2DD; + border-color: #2bb2dd; } .thumbnail .caption { padding: 9px; @@ -5175,9 +5177,9 @@ a.thumbnail.active { height: 100%; font-size: 12px; line-height: 20px; - color: #fff; + color: #ffffff; text-align: center; - background-color: #2BB2DD; + background-color: #2bb2dd; box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); -webkit-transition: width 0.6s ease; transition: width 0.6s ease; @@ -5201,7 +5203,7 @@ a.thumbnail.active { background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); } .progress-bar-info { - background-color: #2E4868; + background-color: #2e4868; } .progress-striped .progress-bar-info { background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); @@ -5278,8 +5280,8 @@ a.thumbnail.active { display: block; padding: 10px 15px; margin-bottom: -1px; - background-color: #fff; - border: 1px solid #ddd; + background-color: #ffffff; + border: 1px solid #dddddd; } .list-group-item:first-child { border-top-right-radius: 4px; @@ -5292,18 +5294,18 @@ a.thumbnail.active { } a.list-group-item, button.list-group-item { - color: #555; + color: #555555; } a.list-group-item .list-group-item-heading, button.list-group-item .list-group-item-heading { - color: #333; + color: #333333; } a.list-group-item:hover, button.list-group-item:hover, a.list-group-item:focus, button.list-group-item:focus { text-decoration: none; - color: #555; + color: #555555; background-color: #f5f5f5; } button.list-group-item { @@ -5313,7 +5315,7 @@ button.list-group-item { .list-group-item.disabled, .list-group-item.disabled:hover, .list-group-item.disabled:focus { - background-color: #E6E6E6; + background-color: #e6e6e6; color: #777777; cursor: default; } @@ -5331,9 +5333,9 @@ button.list-group-item { .list-group-item.active:hover, .list-group-item.active:focus { z-index: 2; - color: #fff; - background-color: #2BB2DD; - border-color: #2BB2DD; + color: #ffffff; + background-color: #2bb2dd; + border-color: #2bb2dd; } .list-group-item.active .list-group-item-heading, .list-group-item.active:hover .list-group-item-heading, @@ -5477,7 +5479,7 @@ button.list-group-item-danger.active:focus { } .panel { margin-bottom: 20px; - background-color: #fff; + background-color: #ffffff; border: 1px solid transparent; border-radius: 4px; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05); @@ -5510,7 +5512,7 @@ button.list-group-item-danger.active:focus { .panel-footer { padding: 10px 15px; background-color: #f5f5f5; - border-top: 1px solid #ddd; + border-top: 1px solid #dddddd; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; } @@ -5624,7 +5626,7 @@ button.list-group-item-danger.active:focus { .panel > .panel-body + .table-responsive, .panel > .table + .panel-body, .panel > .table-responsive + .panel-body { - border-top: 1px solid #ddd; + border-top: 1px solid #dddddd; } .panel > .table > tbody:first-child > tr:first-child th, .panel > .table > tbody:first-child > tr:first-child td { @@ -5701,49 +5703,49 @@ button.list-group-item-danger.active:focus { } .panel-group .panel-heading + .panel-collapse > .panel-body, .panel-group .panel-heading + .panel-collapse > .list-group { - border-top: 1px solid #ddd; + border-top: 1px solid #dddddd; } .panel-group .panel-footer { border-top: 0; } .panel-group .panel-footer + .panel-collapse .panel-body { - border-bottom: 1px solid #ddd; + border-bottom: 1px solid #dddddd; } .panel-default { - border-color: #ddd; + border-color: #dddddd; } .panel-default > .panel-heading { color: #333333; background-color: #f5f5f5; - border-color: #ddd; + border-color: #dddddd; } .panel-default > .panel-heading + .panel-collapse > .panel-body { - border-top-color: #ddd; + border-top-color: #dddddd; } .panel-default > .panel-heading .badge { color: #f5f5f5; background-color: #333333; } .panel-default > .panel-footer + .panel-collapse > .panel-body { - border-bottom-color: #ddd; + border-bottom-color: #dddddd; } .panel-primary { - border-color: #2BB2DD; + border-color: #2bb2dd; } .panel-primary > .panel-heading { - color: #fff; - background-color: #2BB2DD; - border-color: #2BB2DD; + color: #ffffff; + background-color: #2bb2dd; + border-color: #2bb2dd; } .panel-primary > .panel-heading + .panel-collapse > .panel-body { - border-top-color: #2BB2DD; + border-top-color: #2bb2dd; } .panel-primary > .panel-heading .badge { - color: #2BB2DD; - background-color: #fff; + color: #2bb2dd; + background-color: #ffffff; } .panel-primary > .panel-footer + .panel-collapse > .panel-body { - border-bottom-color: #2BB2DD; + border-bottom-color: #2bb2dd; } .panel-success { border-color: #d6e9c6; @@ -5869,14 +5871,14 @@ button.list-group-item-danger.active:focus { font-size: 21px; font-weight: bold; line-height: 1; - color: #000; - text-shadow: 0 1px 0 #fff; + color: #000000; + text-shadow: 0 1px 0 #ffffff; opacity: 0.2; filter: alpha(opacity=20); } .close:hover, .close:focus { - color: #000; + color: #000000; text-decoration: none; cursor: pointer; opacity: 0.5; @@ -5909,6 +5911,7 @@ button.close { /* uncss:ignore */ .modal.fade .modal-dialog { -webkit-transform: translate(0, -25%); + -ms-transform: translate(0, -25%); transform: translate(0, -25%); -webkit-transition: -webkit-transform 0.3s ease-out; transition: transform 0.3s ease-out; @@ -5916,6 +5919,7 @@ button.close { /* uncss:ignore */ .modal.in .modal-dialog { -webkit-transform: translate(0, 0); + -ms-transform: translate(0, 0); transform: translate(0, 0); } /* uncss:ignore */ @@ -5932,8 +5936,8 @@ button.close { /* uncss:ignore */ .modal-content { position: relative; - background-color: #fff; - border: 1px solid #999; + background-color: #ffffff; + border: 1px solid #999999; border: 1px solid rgba(0, 0, 0, 0.2); border-radius: 6px; box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5); @@ -5948,7 +5952,7 @@ button.close { bottom: 0; left: 0; z-index: 1040; - background-color: #000; + background-color: #000000; } /* uncss:ignore */ .modal-backdrop.fade { @@ -6061,9 +6065,9 @@ button.close { .tooltip-inner { max-width: 200px; padding: 3px 8px; - color: #fff; + color: #ffffff; text-align: center; - background-color: #000; + background-color: #000000; border-radius: 4px; } .tooltip-arrow { @@ -6078,56 +6082,56 @@ button.close { left: 50%; margin-left: -5px; border-width: 5px 5px 0; - border-top-color: #000; + border-top-color: #000000; } .tooltip.top-left .tooltip-arrow { bottom: 0; right: 5px; margin-bottom: -5px; border-width: 5px 5px 0; - border-top-color: #000; + border-top-color: #000000; } .tooltip.top-right .tooltip-arrow { bottom: 0; left: 5px; margin-bottom: -5px; border-width: 5px 5px 0; - border-top-color: #000; + border-top-color: #000000; } .tooltip.right .tooltip-arrow { top: 50%; left: 0; margin-top: -5px; border-width: 5px 5px 5px 0; - border-right-color: #000; + border-right-color: #000000; } .tooltip.left .tooltip-arrow { top: 50%; right: 0; margin-top: -5px; border-width: 5px 0 5px 5px; - border-left-color: #000; + border-left-color: #000000; } .tooltip.bottom .tooltip-arrow { top: 0; left: 50%; margin-left: -5px; border-width: 0 5px 5px; - border-bottom-color: #000; + border-bottom-color: #000000; } .tooltip.bottom-left .tooltip-arrow { top: 0; right: 5px; margin-top: -5px; border-width: 0 5px 5px; - border-bottom-color: #000; + border-bottom-color: #000000; } .tooltip.bottom-right .tooltip-arrow { top: 0; left: 5px; margin-top: -5px; border-width: 0 5px 5px; - border-bottom-color: #000; + border-bottom-color: #000000; } .popover { position: absolute; @@ -6153,9 +6157,9 @@ button.close { word-spacing: normal; word-wrap: normal; font-size: 14px; - background-color: #fff; + background-color: #ffffff; background-clip: padding-box; - border: 1px solid #ccc; + border: 1px solid #cccccc; border: 1px solid rgba(0, 0, 0, 0.2); border-radius: 6px; box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); @@ -6212,7 +6216,7 @@ button.close { bottom: 1px; margin-left: -10px; border-bottom-width: 0; - border-top-color: #fff; + border-top-color: #ffffff; } .popover.right > .arrow { top: 50%; @@ -6227,7 +6231,7 @@ button.close { left: 1px; bottom: -10px; border-left-width: 0; - border-right-color: #fff; + border-right-color: #ffffff; } .popover.bottom > .arrow { left: 50%; @@ -6242,7 +6246,7 @@ button.close { top: 1px; margin-left: -10px; border-top-width: 0; - border-bottom-color: #fff; + border-bottom-color: #ffffff; } .popover.left > .arrow { top: 50%; @@ -6256,7 +6260,7 @@ button.close { content: " "; right: 1px; border-right-width: 0; - border-left-color: #fff; + border-left-color: #ffffff; bottom: -10px; } .carousel { @@ -6345,7 +6349,7 @@ button.close { opacity: 0.5; filter: alpha(opacity=50); font-size: 20px; - color: #fff; + color: #ffffff; text-align: center; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); } @@ -6366,7 +6370,7 @@ button.close { .carousel-control:hover, .carousel-control:focus { outline: 0; - color: #fff; + color: #ffffff; text-decoration: none; opacity: 0.9; filter: alpha(opacity=90); @@ -6421,7 +6425,7 @@ button.close { height: 10px; margin: 1px; text-indent: -999px; - border: 1px solid #fff; + border: 1px solid #ffffff; border-radius: 10px; cursor: pointer; background-color: #000 \9; @@ -6431,7 +6435,7 @@ button.close { margin: 0; width: 12px; height: 12px; - background-color: #fff; + background-color: #ffffff; } .carousel-caption { position: absolute; @@ -6441,7 +6445,7 @@ button.close { z-index: 10; padding-top: 20px; padding-bottom: 20px; - color: #fff; + color: #ffffff; text-align: center; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); } @@ -6817,7 +6821,7 @@ h2, padding-right: 15px; } footer { - background-color: #2E4868; + background-color: #2e4868; color: white; margin-top: 50px; } @@ -6865,25 +6869,25 @@ header img { } /* Custom Utilities */ .text-navy { - color: #2E4868; + color: #2e4868; } .text-gray-lighter { - color: #E6E6E6; + color: #e6e6e6; } .text-blue { - color: #2BB2DD; + color: #2bb2dd; } .text-white { color: #fff; } .bg-navy { - background-color: #2E4868; + background-color: #2e4868; } .bg-gray-lighter { - background-color: #E6E6E6; + background-color: #e6e6e6; } .bg-blue { - background-color: #2BB2DD; + background-color: #2bb2dd; } .bg-white { background-color: #fff; @@ -6947,6 +6951,7 @@ header img { text-transform: uppercase; letter-spacing: .05em; -webkit-transform: rotate(-90deg); + -ms-transform: rotate(-90deg); transform: rotate(-90deg); position: absolute; right: 0; diff --git a/css/etherwallet-master.min.css b/css/etherwallet-master.min.css index e7a2e99f44..4ccd471e0b 100644 --- a/css/etherwallet-master.min.css +++ b/css/etherwallet-master.min.css @@ -1 +1 @@ -/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */hr,img{border:0}h2,h3,hr{margin-top:20px}h2,h3,h4{margin-bottom:10px}.table,label{max-width:100%}html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}footer,header,section{display:block}a{background-color:transparent}a:active,a:hover{outline:0}strong{font-weight:700}img{vertical-align:middle}hr{box-sizing:content-box;height:0;margin-bottom:20px;border-top:1px solid #E6E6E6}button,input,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible;text-transform:none;-webkit-appearance:button;cursor:pointer}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input[type=radio]{box-sizing:border-box;padding:0}textarea{overflow:auto;resize:vertical}.collapsing,.modal,.modal-open{overflow:hidden}table{border-collapse:collapse;border-spacing:0}th{padding:0}/*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */@media print{*,:after,:before{background:0 0!important;color:#000!important;box-shadow:none!important;text-shadow:none!important}a,a:visited{text-decoration:underline}a[href]:after{content:" (" attr(href) ")"}thead{display:table-header-group}img,tr{page-break-inside:avoid}img{max-width:100%!important}h2,h3,p{orphans:3;widows:3}h2,h3{page-break-after:avoid}.table{border-collapse:collapse!important}.table th{background-color:#fff!important}.print-text{color:#1d92b8!important}footer{border-top:1px solid #000}header{border-bottom:1px solid #000}}@font-face{font-family:'Glyphicons Halflings';src:url(../fonts/glyphicons-halflings-regular.eot);src:url(../fonts/glyphicons-halflings-regular.eot?#iefix) format('embedded-opentype'),url(../fonts/glyphicons-halflings-regular.woff2) format('woff2'),url(../fonts/glyphicons-halflings-regular.woff) format('woff'),url(../fonts/glyphicons-halflings-regular.ttf) format('truetype'),url(../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular) format('svg')}*,:after,:before{box-sizing:border-box}html{font-size:10px;-webkit-tap-highlight-color:transparent}body{margin:0;font-family:Raleway,sans-serif;font-size:14px;line-height:1.42857143;color:#333;background-color:#fff}button,input,textarea{font-family:inherit;font-size:inherit;line-height:inherit}a{color:#2BB2DD;text-decoration:none}a:focus,a:hover{color:#1a81a2;text-decoration:underline}a:focus{outline:dotted thin;outline:-webkit-focus-ring-color auto 5px;outline-offset:-2px}h2,h3,h4{font-family:inherit;font-weight:600;line-height:1.1;color:inherit;letter-spacing:.02em}.print-address-container p,code{font-family:Menlo,Monaco,Consolas,"Courier New",monospace}h4 small{font-weight:400;line-height:1;color:inherit;font-size:75%}h2{font-size:30px}h3{font-size:24px}h4{margin-top:10px;font-size:18px}p{margin:0 0 10px}.container,.container-fluid{margin-right:auto;margin-left:auto}small{font-size:85%}.text-center{text-align:center}.text-primary{color:#2BB2DD}.text-success{color:#449d44}.text-danger{color:#c9302c}li{margin-bottom:.5em}code{padding:2px 4px;font-size:90%;color:#c7254e;background-color:#f9f2f4;border-radius:4px}.container,.container-fluid{padding-left:25px;padding-right:25px}.btn,.form-control{font-size:14px;background-image:none}@media (min-width:768px){.container{width:770px}}@media (min-width:992px){.container{width:990px}}@media (min-width:1200px){.container{width:1190px}}.row{margin-left:-25px;margin-right:-25px}.col-md-4,.col-md-6,.col-sm-12,.col-sm-4,.col-sm-6,.col-sm-8,.col-xs-12{position:relative;min-height:1px;padding-left:25px;padding-right:25px}.col-xs-12{float:left;width:100%}@media (min-width:768px){.col-sm-12,.col-sm-4,.col-sm-6,.col-sm-8{float:left}.col-sm-12{width:100%}.col-sm-8{width:66.66666667%}.col-sm-6{width:50%}.col-sm-4{width:33.33333333%}}@media (min-width:992px){.col-md-4,.col-md-6{float:left}.col-md-6{width:50%}.col-md-4{width:33.33333333%}}table{background-color:transparent}th{text-align:left}.table{width:100%;margin-bottom:20px}.table>thead>tr>th{padding:8px;line-height:1.42857143;border-top:1px solid #ddd;vertical-align:bottom;border-bottom:2px solid #ddd}.table>thead:first-child>tr:first-child>th{border-top:0}label{display:inline-block;margin-bottom:5px;font-weight:700}.form-control,.radio,input[type=file]{display:block}input[type=radio]{margin:4px 0 0;margin-top:1px\9;line-height:normal}.btn,.form-control,.nav-tabs>li>a{line-height:1.42857143}input[type=radio]:focus,input[type=file]:focus{outline:dotted thin;outline:-webkit-focus-ring-color auto 5px;outline-offset:-2px}.form-control{width:100%;height:34px;padding:6px 12px;color:#555;background-color:#fff;border:1px solid #ccc;border-radius:4px;box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-webkit-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s}.form-control:focus{border-color:#66afe9;outline:0;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)}.form-control::-moz-placeholder{color:#999;opacity:1}.form-control:-ms-input-placeholder{color:#999}.form-control[disabled],.form-control[readonly]{background-color:#E6E6E6;opacity:1}.form-control[disabled]{cursor:default}.btn,.radio label{font-weight:400;cursor:pointer}textarea.form-control{height:auto}.form-group{margin-bottom:15px}.radio{position:relative;margin-top:10px;margin-bottom:10px}.btn,.nav,.radio label{margin-bottom:0}.radio label{min-height:20px;padding-left:20px}.radio input[type=radio]{position:absolute;margin-left:-20px;margin-top:4px\9}.radio+.radio{margin-top:-5px}.btn{display:inline-block;text-align:center;vertical-align:middle;-ms-touch-action:manipulation;touch-action:manipulation;border:1px solid transparent;white-space:nowrap;padding:6px 12px;border-radius:4px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.btn:active:focus,.btn:focus{outline:dotted thin;outline:-webkit-focus-ring-color auto 5px;outline-offset:-2px}.btn:focus,.btn:hover{color:#333;text-decoration:none}.btn:active{outline:0;background-image:none;box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn-default{color:#333;background-color:#fff;border-color:#ccc}.btn-default:focus{color:#333;background-color:#e6e6e6;border-color:#8c8c8c}.btn-default:active,.btn-default:hover{color:#333;background-color:#e6e6e6;border-color:#adadad}.btn-default:active:focus,.btn-default:active:hover{color:#333;background-color:#d4d4d4;border-color:#8c8c8c}.btn-default:active{background-image:none}.btn-primary{color:#fff;background-color:#2BB2DD;border-color:#21a4ce}.btn-primary:focus{color:#fff;background-color:#1d92b8;border-color:#0f4c60}.btn-primary:active,.btn-primary:hover{color:#fff;background-color:#1d92b8;border-color:#197a99}.btn-primary:active:focus,.btn-primary:active:hover{color:#fff;background-color:#197a99;border-color:#0f4c60}.btn-primary:active{background-image:none}.btn-info{color:#fff;background-color:#2E4868;border-color:#263c56}.btn-info:focus{color:#fff;background-color:#1e3045;border-color:#000}.btn-info:active,.btn-info:hover{color:#fff;background-color:#1e3045;border-color:#131e2c}.btn-info:active:focus,.btn-info:active:hover{color:#fff;background-color:#131e2c;border-color:#000}.btn-info:active{background-image:none}.btn-block{display:block;width:100%}.fade{opacity:0;-webkit-transition:opacity .15s linear;transition:opacity .15s linear}.fade.in{opacity:1}.collapse{display:none}.nav>li,.nav>li>a{position:relative;display:block}.collapsing{position:relative;height:0;-webkit-transition-property:height,visibility;transition-property:height,visibility;-webkit-transition-duration:.35s;transition-duration:.35s;-webkit-transition-timing-function:ease;transition-timing-function:ease}.nav{padding-left:0;list-style:none}ul.nav{margin-top:0}.nav>li>a{padding:10px 15px}.nav>li>a:focus,.nav>li>a:hover{text-decoration:none;background-color:#fff}.nav-tabs{padding-top:5px;margin:0 -15px;border-bottom:2px solid #E6E6E6}.nav-tabs>li{float:left;margin-bottom:-2px}.nav-tabs>li>a{border-radius:0;color:#1a81a2}.nav-tabs>li>a:after{content:"";background:#2BB2DD;height:2px;position:absolute;width:100%;left:0;bottom:-2px;-webkit-transition:all 250ms ease 0s;transition:all 250ms ease 0s;-webkit-transform:scale(0);transform:scale(0)}.nav-tabs>li>a:focus,.nav-tabs>li>a:hover{color:#2BB2DD;-webkit-transition:all 250ms ease 0s;transition:all 250ms ease 0s}.nav-tabs>li>a:focus:after,.nav-tabs>li>a:hover:after{-webkit-transform:scale(1);transform:scale(1)}.nav-tabs>li.active>a,.nav-tabs>li.active>a:focus,.nav-tabs>li.active>a:hover{color:#2BB2DD;cursor:default;border-bottom:2px solid #2BB2DD}@media screen and (max-width:768px){.nav-tabs>li{display:block;float:none;text-align:center;width:100%;padding:0 45px}.nav-tabs>li>a{border-bottom:1px solid #E6E6E6}}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.well{min-height:20px;padding:19px;margin-bottom:20px;background-color:#f5f5f5;border:1px solid #e3e3e3;border-radius:4px;box-shadow:inset 0 1px 1px rgba(0,0,0,.05)}.close{float:right;font-size:21px;font-weight:700;line-height:1;color:#000;text-shadow:0 1px 0 #fff;opacity:.2;filter:alpha(opacity=20)}.close:focus,.close:hover{color:#000;text-decoration:none;cursor:pointer;opacity:.5;filter:alpha(opacity=50)}.text-white,footer{color:#fff}button.close{padding:0;cursor:pointer;background:0 0;border:0;-webkit-appearance:none}.modal{display:none;position:fixed;top:0;right:0;bottom:0;left:0;z-index:1050;-webkit-overflow-scrolling:touch;outline:0}.modal.fade .modal-dialog{-webkit-transform:translate(0,-25%);transform:translate(0,-25%);-webkit-transition:-webkit-transform .3s ease-out;transition:transform .3s ease-out}.modal.in .modal-dialog{-webkit-transform:translate(0,0);transform:translate(0,0)}.modal-open .modal{overflow-x:hidden;overflow-y:auto}.modal-dialog{position:relative;width:auto;margin:10px}.modal-content{position:relative;background-color:#fff;border:1px solid #999;border:1px solid rgba(0,0,0,.2);border-radius:6px;box-shadow:0 3px 9px rgba(0,0,0,.5);background-clip:padding-box;outline:0}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:#000}.modal-backdrop.fade{opacity:0;filter:alpha(opacity=0)}.modal-backdrop.in{opacity:.5;filter:alpha(opacity=50)}.modal-header{padding:15px;border-bottom:1px solid #e5e5e5;min-height:16.43px}.modal-header .close{margin-top:-2px}.modal-title{margin:0;line-height:1.42857143}.modal-body{position:relative;padding:15px}.modal-footer{padding:15px;text-align:right;border-top:1px solid #e5e5e5}.modal-footer .btn+.btn{margin-left:5px;margin-bottom:0}@media (min-width:768px){.modal-dialog{width:600px;margin:30px auto}.modal-content{box-shadow:0 5px 15px rgba(0,0,0,.5)}}.container-fluid:after,.container-fluid:before,.container:after,.container:before,.modal-footer:after,.modal-footer:before,.nav:after,.nav:before,.row:after,.row:before{content:" ";display:table}.container-fluid:after,.container:after,.modal-footer:after,.nav:after,.row:after{clear:both}.pull-left{float:left!important}@-ms-viewport{width:device-width}@media (max-width:767px){.hidden-xs{display:none!important}}@media (min-width:768px) and (max-width:991px){.hidden-sm{display:none!important}}body,html{height:100%}.container{width:100%;max-width:1300px;padding:0 5%}img{max-width:100%}.btn-file{position:relative;overflow:hidden}.btn-file input[type=file]{position:absolute;top:0;right:0;min-width:100%;min-height:100%;font-size:100px;text-align:right;filter:alpha(opacity=0);opacity:0;background:red;cursor:inherit;display:block}input[readonly]{background-color:#fff!important;cursor:text!important}.bg-navy,footer{background-color:#2E4868}h2{font-weight:300}.radio label{padding-right:15px}footer{margin-top:50px}.well h4:first-child{margin-top:0}ol,ul{margin-top:1em;margin-bottom:1.2em}a{cursor:pointer}header p{float:right;font-size:18px;font-weight:200;margin-top:23px}header img{float:left}@media screen and (max-width:768px){header{text-align:center}header p{float:none;text-align:center}header img{float:none}}#paneHelp h3{margin-top:2em}.marg-v-sm{margin-top:.5em;margin-bottom:.5em}.print-container{width:680px;height:280px;border:1px solid gray;margin-bottom:50px;position:relative}.print-title{float:left}.print-text{color:#1d92b8;text-transform:uppercase;letter-spacing:.05em;-webkit-transform:rotate(-90deg);transform:rotate(-90deg);position:absolute;right:0;bottom:0;font-size:13px;font-weight:600}.print-notes,.print-qr-code-1,.print-qr-code-2{width:28%;position:relative;padding:20px;float:left}.print-qr-code-1 .print-text{right:-35px;bottom:69px}.print-notes .print-text,.print-qr-code-2 .print-text{right:-45px;bottom:69px}.print-address-container{float:left;width:85%;padding:0 25px}.print-address-container p{font-size:14px}.ether-logo-1{position:absolute;left:100px}.ether-logo-2{position:absolute;right:32px;bottom:64px} \ No newline at end of file +/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */hr,img{border:0}h2,h3,hr{margin-top:20px}h2,h3,h4{margin-bottom:10px}.table,label{max-width:100%}html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;font-size:10px;-webkit-tap-highlight-color:transparent}footer,header,section{display:block}a{background-color:transparent}a:active,a:hover{outline:0}strong{font-weight:700}img{vertical-align:middle}hr{box-sizing:content-box;height:0;margin-bottom:20px;border-top:1px solid #e6e6e6}button,input,textarea{color:inherit;font:inherit;margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button{overflow:visible;text-transform:none;-webkit-appearance:button;cursor:pointer}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input[type=radio]{box-sizing:border-box;padding:0}textarea{overflow:auto;resize:vertical}.collapsing,.modal,.modal-open{overflow:hidden}table{border-collapse:collapse;border-spacing:0}th{padding:0}/*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */@media print{*,:after,:before{background:0 0!important;color:#000!important;box-shadow:none!important;text-shadow:none!important}a,a:visited{text-decoration:underline}a[href]:after{content:" (" attr(href) ")"}thead{display:table-header-group}img,tr{page-break-inside:avoid}img{max-width:100%!important}h2,h3,p{orphans:3;widows:3}h2,h3{page-break-after:avoid}.table{border-collapse:collapse!important}.table th{background-color:#fff!important}.print-text{color:#1d92b8!important}footer{border-top:1px solid #000}header{border-bottom:1px solid #000}}@font-face{font-family:'Glyphicons Halflings';src:url(../fonts/glyphicons-halflings-regular.eot);src:url(../fonts/glyphicons-halflings-regular.eot?#iefix) format('embedded-opentype'),url(../fonts/glyphicons-halflings-regular.woff2) format('woff2'),url(../fonts/glyphicons-halflings-regular.woff) format('woff'),url(../fonts/glyphicons-halflings-regular.ttf) format('truetype'),url(../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular) format('svg')}*,:after,:before{box-sizing:border-box}body{margin:0;font-family:Raleway,sans-serif;font-size:14px;line-height:1.42857143;color:#333;background-color:#fff}a{color:#2bb2dd;text-decoration:none}a:focus,a:hover{color:#1a81a2;text-decoration:underline}a:focus{outline:dotted thin;outline:-webkit-focus-ring-color auto 5px;outline-offset:-2px}h2,h3,h4{font-family:inherit;font-weight:600;line-height:1.1;color:inherit;letter-spacing:.02em}.print-address-container p,code{font-family:Menlo,Monaco,Consolas,"Courier New",monospace}h4 small{font-weight:400;line-height:1;color:inherit;font-size:75%}h4{margin-top:10px;font-size:18px}h2{font-size:30px}h3{font-size:24px}p{margin:0 0 10px}.container,.container-fluid{margin-right:auto;margin-left:auto}small{font-size:85%}.text-center{text-align:center}.text-primary{color:#2bb2dd}.text-success{color:#449d44}.text-danger{color:#c9302c}li{margin-bottom:.5em}code{padding:2px 4px;font-size:90%;color:#c7254e;background-color:#f9f2f4;border-radius:4px}.container,.container-fluid{padding-left:25px;padding-right:25px}.btn,.form-control{font-size:14px;background-image:none}@media (min-width:768px){.container{width:770px}}@media (min-width:992px){.container{width:990px}}@media (min-width:1200px){.container{width:1190px}}.row{margin-left:-25px;margin-right:-25px}.col-md-4,.col-md-6,.col-sm-12,.col-sm-4,.col-sm-6,.col-sm-8,.col-xs-12{position:relative;min-height:1px;padding-left:25px;padding-right:25px}.col-xs-12{float:left;width:100%}@media (min-width:768px){.col-sm-12,.col-sm-4,.col-sm-6,.col-sm-8{float:left}.col-sm-12{width:100%}.col-sm-8{width:66.66666667%}.col-sm-6{width:50%}.col-sm-4{width:33.33333333%}}@media (min-width:992px){.col-md-4,.col-md-6{float:left}.col-md-6{width:50%}.col-md-4{width:33.33333333%}}table{background-color:transparent}th{text-align:left}.table{width:100%;margin-bottom:20px}.table>thead>tr>th{padding:8px;line-height:1.42857143;border-top:1px solid #ddd;vertical-align:bottom;border-bottom:2px solid #ddd}.table>thead:first-child>tr:first-child>th{border-top:0}label{display:inline-block;margin-bottom:5px;font-weight:700}.form-control,.radio,input[type=file]{display:block}input[type=radio]{margin:4px 0 0;margin-top:1px\9;line-height:normal}.btn,.form-control,.nav-tabs>li>a{line-height:1.42857143}input[type=radio]:focus,input[type=file]:focus{outline:dotted thin;outline:-webkit-focus-ring-color auto 5px;outline-offset:-2px}.form-control{width:100%;height:34px;padding:6px 12px;color:#555;background-color:#fff;border:1px solid #ccc;border-radius:4px;box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-webkit-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s}.form-control:focus{border-color:#66afe9;outline:0;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)}.form-control::-moz-placeholder{color:#999;opacity:1}.form-control:-ms-input-placeholder{color:#999}.form-control[disabled],.form-control[readonly]{background-color:#e6e6e6;opacity:1}.form-control[disabled]{cursor:default}.btn,.radio label{font-weight:400;cursor:pointer}textarea.form-control{height:auto}.form-group{margin-bottom:15px}.radio{position:relative;margin-top:10px;margin-bottom:10px}.btn,.nav,.radio label{margin-bottom:0}.radio label{min-height:20px;padding-left:20px}.radio input[type=radio]{position:absolute;margin-left:-20px;margin-top:4px\9}.radio+.radio{margin-top:-5px}.btn{display:inline-block;text-align:center;vertical-align:middle;-ms-touch-action:manipulation;touch-action:manipulation;border:1px solid transparent;white-space:nowrap;padding:6px 12px;border-radius:4px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.btn:active:focus,.btn:focus{outline:dotted thin;outline:-webkit-focus-ring-color auto 5px;outline-offset:-2px}.btn:focus,.btn:hover{color:#333;text-decoration:none}.btn:active{outline:0;background-image:none;box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn-default{color:#333;background-color:#fff;border-color:#ccc}.btn-default:focus{color:#333;background-color:#e6e6e6;border-color:#8c8c8c}.btn-default:active,.btn-default:hover{color:#333;background-color:#e6e6e6;border-color:#adadad}.btn-default:active:focus,.btn-default:active:hover{color:#333;background-color:#d4d4d4;border-color:#8c8c8c}.btn-default:active{background-image:none}.btn-primary{color:#fff;background-color:#2bb2dd;border-color:#21a4ce}.btn-primary:focus{color:#fff;background-color:#1d92b8;border-color:#0f4c60}.btn-primary:active,.btn-primary:hover{color:#fff;background-color:#1d92b8;border-color:#197a99}.btn-primary:active:focus,.btn-primary:active:hover{color:#fff;background-color:#197a99;border-color:#0f4c60}.btn-primary:active{background-image:none}.btn-info{color:#fff;background-color:#2e4868;border-color:#263c56}.btn-info:focus{color:#fff;background-color:#1e3045;border-color:#000}.btn-info:active,.btn-info:hover{color:#fff;background-color:#1e3045;border-color:#131e2c}.btn-info:active:focus,.btn-info:active:hover{color:#fff;background-color:#131e2c;border-color:#000}.btn-info:active{background-image:none}.btn-block{display:block;width:100%}.fade{opacity:0;-webkit-transition:opacity .15s linear;transition:opacity .15s linear}.fade.in{opacity:1}.collapse{display:none}.nav>li,.nav>li>a{position:relative;display:block}.collapsing{position:relative;height:0;-webkit-transition-property:height,visibility;transition-property:height,visibility;-webkit-transition-duration:.35s;transition-duration:.35s;-webkit-transition-timing-function:ease;transition-timing-function:ease}.nav{padding-left:0;list-style:none}ul.nav{margin-top:0}.nav>li>a{padding:10px 15px}.nav>li>a:focus,.nav>li>a:hover{text-decoration:none;background-color:#fff}.nav-tabs{padding-top:5px;margin:0 -15px;border-bottom:2px solid #e6e6e6}.nav-tabs>li{float:left;margin-bottom:-2px}.nav-tabs>li>a{border-radius:0;color:#1a81a2}.nav-tabs>li>a:after{content:"";background:#2bb2dd;height:2px;position:absolute;width:100%;left:0;bottom:-2px;-webkit-transition:all 250ms ease 0s;transition:all 250ms ease 0s;-webkit-transform:scale(0);-ms-transform:scale(0);transform:scale(0)}.nav-tabs>li>a:focus,.nav-tabs>li>a:hover{color:#2bb2dd;-webkit-transition:all 250ms ease 0s;transition:all 250ms ease 0s}.nav-tabs>li>a:focus:after,.nav-tabs>li>a:hover:after{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}.nav-tabs>li.active>a,.nav-tabs>li.active>a:focus,.nav-tabs>li.active>a:hover{color:#2bb2dd;cursor:default;border-bottom:2px solid #2bb2dd}@media screen and (max-width:768px){.nav-tabs>li{display:block;float:none;text-align:center;width:100%;padding:0 45px}.nav-tabs>li>a{border-bottom:1px solid #e6e6e6}}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.well{min-height:20px;padding:19px;margin-bottom:20px;background-color:#f5f5f5;border:1px solid #e3e3e3;border-radius:4px;box-shadow:inset 0 1px 1px rgba(0,0,0,.05)}.close{float:right;font-size:21px;font-weight:700;line-height:1;color:#000;text-shadow:0 1px 0 #fff;opacity:.2;filter:alpha(opacity=20)}.close:focus,.close:hover{color:#000;text-decoration:none;cursor:pointer;opacity:.5;filter:alpha(opacity=50)}.text-white,footer{color:#fff}button.close{padding:0;cursor:pointer;background:0 0;border:0;-webkit-appearance:none}.modal{display:none;position:fixed;top:0;right:0;bottom:0;left:0;z-index:1050;-webkit-overflow-scrolling:touch;outline:0}.modal.fade .modal-dialog{-webkit-transform:translate(0,-25%);-ms-transform:translate(0,-25%);transform:translate(0,-25%);-webkit-transition:-webkit-transform .3s ease-out;transition:transform .3s ease-out}.modal.in .modal-dialog{-webkit-transform:translate(0,0);-ms-transform:translate(0,0);transform:translate(0,0)}.modal-open .modal{overflow-x:hidden;overflow-y:auto}.modal-dialog{position:relative;width:auto;margin:10px}.modal-content{position:relative;background-color:#fff;border:1px solid #999;border:1px solid rgba(0,0,0,.2);border-radius:6px;box-shadow:0 3px 9px rgba(0,0,0,.5);background-clip:padding-box;outline:0}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:#000}.modal-backdrop.fade{opacity:0;filter:alpha(opacity=0)}.modal-backdrop.in{opacity:.5;filter:alpha(opacity=50)}.modal-header{padding:15px;border-bottom:1px solid #e5e5e5;min-height:16.43px}.modal-header .close{margin-top:-2px}.modal-title{margin:0;line-height:1.42857143}.modal-body{position:relative;padding:15px}.modal-footer{padding:15px;text-align:right;border-top:1px solid #e5e5e5}.modal-footer .btn+.btn{margin-left:5px;margin-bottom:0}@media (min-width:768px){.modal-dialog{width:600px;margin:30px auto}.modal-content{box-shadow:0 5px 15px rgba(0,0,0,.5)}}.container-fluid:after,.container-fluid:before,.container:after,.container:before,.modal-footer:after,.modal-footer:before,.nav:after,.nav:before,.row:after,.row:before{content:" ";display:table}.container-fluid:after,.container:after,.modal-footer:after,.nav:after,.row:after{clear:both}.pull-left{float:left!important}@-ms-viewport{width:device-width}@media (max-width:767px){.hidden-xs{display:none!important}}@media (min-width:768px) and (max-width:991px){.hidden-sm{display:none!important}}body,html{height:100%}.container{width:100%;max-width:1300px;padding:0 5%}img{max-width:100%}.btn-file{position:relative;overflow:hidden}.btn-file input[type=file]{position:absolute;top:0;right:0;min-width:100%;min-height:100%;font-size:100px;text-align:right;filter:alpha(opacity=0);opacity:0;background:red;cursor:inherit;display:block}input[readonly]{background-color:#fff!important;cursor:text!important}.bg-navy,footer{background-color:#2e4868}h2{font-weight:300}.radio label{padding-right:15px}footer{margin-top:50px}.well h4:first-child{margin-top:0}ol,ul{margin-top:1em;margin-bottom:1.2em}a{cursor:pointer}header p{float:right;font-size:18px;font-weight:200;margin-top:23px}@media screen and (max-width:768px){header{text-align:center}header p{float:none;text-align:center}}header img{float:left}@media screen and (max-width:768px){header img{float:none}}#paneHelp h3{margin-top:2em}.marg-v-sm{margin-top:.5em;margin-bottom:.5em}.print-container{width:680px;height:280px;border:1px solid gray;margin-bottom:50px;position:relative}.print-title{float:left}.print-text{color:#1d92b8;text-transform:uppercase;letter-spacing:.05em;-webkit-transform:rotate(-90deg);-ms-transform:rotate(-90deg);transform:rotate(-90deg);position:absolute;right:0;bottom:0;font-size:13px;font-weight:600}.print-notes,.print-qr-code-1,.print-qr-code-2{width:28%;position:relative;padding:20px;float:left}.print-qr-code-1 .print-text{right:-35px;bottom:69px}.print-notes .print-text,.print-qr-code-2 .print-text{right:-45px;bottom:69px}.print-address-container{float:left;width:85%;padding:0 25px}.print-address-container p{font-size:14px}.ether-logo-1{position:absolute;left:100px}.ether-logo-2{position:absolute;right:32px;bottom:64px} \ No newline at end of file diff --git a/js/etherwallet-master.min.js b/js/etherwallet-master.min.js index b733b2e8aa..770da9901e 100644 --- a/js/etherwallet-master.min.js +++ b/js/etherwallet-master.min.js @@ -1 +1 @@ -function checkAndRedirectHTTPS(){var t="myetherwallet.com",e="kvhnuke.github.io",n="www.kvhnuke.github.io",a="www.myetherwallet.com";t!=window.location.host&&e!=window.location.host&&a!=window.location.host&&n!=window.location.host||"https:"==window.location.protocol||(window.location.protocol="https")}function checkAndLoadPageHash(){if(window.location.hash){var t=window.location.hash.substr(1);$(".ptabs").each(function(e){return $(this).attr("id")==t?($(this).click(),void setTimeout(function(){$("html,body").scrollTop(0)},50)):void 0})}}function paneNavigate(t,e){hideAllMainContainers(),$("#"+t).show(),$("#"+e).parent().addClass("active"),location.hash=e,$("html,body").scrollTop(0)}function bindElements(){$(".ptabs").each(function(t){$(this).click(function(){paneNavigate($(this).attr("showId"),this.id)})}),$("#privkeyenc,#address,#privkey").click(function(){this.focus(),this.select()}),$("#btndonate").click(function(){$("#sendtxaddress").val("0x7cb57b5a97eabe94205c07890be4c1ad31e486a8"),$("#donateThanks").show(),$("#sendtxaddress").trigger("keyup")}),$("#generatewallet").click(function(){generateSingleWallet()}),$("#btngeneratetranaction").click(function(){preCreateTransaction()}),$("#printqr").click(function(){printQRcode()}),$("#btnapprovesend").click(function(){preSendTransaction()}),$("#bulkgenerate").click(function(){generateBulkWallets()}),$("#transferAllBalance").click(function(){getMaxSendAmount($("#accountAddress").html(),function(t){$("#sendtxamount").val(t),$("input[type=radio][name=currencyRadio][value=ether]").prop("checked",!0),$("#sendtxamount").trigger("keyup")},function(t){$("#txcreatestatus").html('

'+t+"

").fadeIn(50).fadeOut(3e3)})}),$("#decryptdata").click(function(){$("#decryptStatus").html('

Please Wait...

').fadeIn(10),setTimeout(function(){decryptFormData()},100)}),$("input[type=radio][name=typeOfKeyRadio]").change(function(){PrivKey="",$("#fuploadStatus").empty(),$("#walletfilepassword").val(""),$("#privkeypassword").val(""),$(".btn-file :file").val(""),$("#manualprivkey").val(""),$("#walletuploadbutton").hide(),$("#walletPasdiv").hide(),$("#divprikeypassword").hide(),$("#wallettransactions").hide(),$("#decryptStatus").hide(),"fileupload"==this.value?($("#selectedTypeKey").hide(),$("#selectedUploadKey").show(),decryptType="fupload"):"pasteprivkey"==this.value&&($("#selectedUploadKey").hide(),$("#selectedTypeKey").show(),decryptType="privkey")}),$("input[type=radio][name=currencyRadio]").change(function(){$("#sendtxamount").trigger("keyup")}),$("#walletfilepassword").on("paste, keyup",function(){""!=$("#walletfilepassword").val()?($("#uploadbtntxt-wallet").show(),$("#uploadbtntxt-privkey").hide(),$("#walletuploadbutton").show()):$("#walletuploadbutton").hide()}),$("#sendtxamount").on("paste, keyup",function(){var t=$("#sendtxamount").val();if(""!=$("#sendtxamount").val()&&$.isNumeric(t)&&t>0){var e=$("input[type=radio][name=currencyRadio]:checked").val();$("#weiamount").html('

'+toWei(t,e)+" wei ( approximately "+toFiat(t,e,usdval)+" USD/"+toFiat(t,e,eurval)+" EUR )

")}else $("#weiamount").html(""==$("#sendtxamount").val()||$.isNumeric(t)?"":'

Invalid amount

')}),$("#sendtxaddress").on("paste, keyup",function(){validateEtherAddress($("#sendtxaddress").val())?$("#addressvalidate").html('

Address is valid

').fadeIn(50):""==$("#sendtxaddress").val()?$("#addressvalidate").html(""):$("#addressvalidate").html('

Invalid address

').fadeIn(50)}),$("#privkeypassword").on("paste, keyup",function(){$("#privkeypassword").val().length>6?($("#uploadbtntxt-wallet").hide(),$("#uploadbtntxt-privkey").show(),$("#walletuploadbutton").show()):$("#walletuploadbutton").hide()}),$("#manualprivkey").on("paste, keyup",function(){$("#divprikeypassword").hide(),$("#walletuploadbutton").hide(),$("#uploadbtntxt-wallet").hide(),$("#uploadbtntxt-privkey").hide(),$("#manualprivkey").val($("#manualprivkey").val().replace(/(?:\r\n|\r|\n| )/g,"")),128==$("#manualprivkey").val().length||132==$("#manualprivkey").val().length?$("#divprikeypassword").show():64==$("#manualprivkey").val().length&&($("#uploadbtntxt-wallet").hide(),$("#uploadbtntxt-privkey").show(),$("#walletuploadbutton").show())}),$(".btn-file :file").change(function(){if(!(window.File&&window.FileReader&&window.FileList&&window.Blob))return void alert("The File APIs are not fully supported in this browser. Please use a modern browser");var t=$(this),e=t.get(0).files?t.get(0).files.length:1,n=t.val().replace(/\\/g,"/").replace(/.*\//,"");t.trigger("fileselect",[e,n])}),$(".btn-file :file").on("fileselect",function(t,e,n){$("#fuploadStatus").empty(),$("#walletfilepassword").val(""),PrivKey="",file=$(".btn-file :file")[0].files[0];var a=new FileReader;a.onload=function(){try{walletRequirePass(a.result)?($("#walletPasdiv").show(),$("#walletuploadbutton").hide()):($("#walletPasdiv").hide(),$("#walletuploadbutton").show(),$("#uploadbtntxt-wallet").show(),$("#uploadbtntxt-privkey").hide())}catch(t){$("#fuploadStatus").append('

'+t+"

")}},a.readAsText(file);var r=$(this).parents(".input-group").find(":text"),i=e>1?e+" files selected":n;r.length?r.val(i):i&&$("#fuploadStatus").append('

File Selected: '+i+"

")})}function preSendTransaction(){sendTransaction($("#tasignedtx").val(),function(t){$("#txsendstatus").html('

Transaction submitted. TX ID: '+t+"

"),setWalletBalance()},function(t){$("#txsendstatus").html('

'+t+"

")}),$("#sendTransaction").modal("hide")}function preCreateTransaction(){try{$("#tarawtx").val(""),$("#tasignedtx").val(""),$("#txsendstatus").html("");var t=$("#sendtxaddress").val();if(64!=PrivKey.length)throw"Invalid Private key, try again";if(!validateEtherAddress(t))throw"Invalid to Address, try again";if(!$.isNumeric($("#sendtxamount").val())||$("#sendtxamount").val()<=0)throw"Invalid amount, try again";var e=$("input[type=radio][name=currencyRadio]:checked").val(),n=toWei($("#sendtxamount").val(),e);createTransaction(PrivKey,t,n,function(n){$("#tarawtx").val(n.raw),$("#tasignedtx").val(n.signed),$("#txcreatestatus").html('

Transaction generated

').fadeIn(50),$("#divtransactionTAs").show(),$("#divsendtranaction").show(),$("#confirmAmount").html($("#sendtxamount").val()),$("#confirmCurrancy").html(e),$("#confirmAddress").html(t)},function(t){$("#txcreatestatus").html('

'+t+"

").fadeIn(50).fadeOut(3e3),$("#divtransactionTAs").hide(),$("#divsendtranaction").hide()})}catch(a){$("#txcreatestatus").html('

'+a+"

").fadeIn(50).fadeOut(3e3),$("#divtransactionTAs").hide(),$("#divsendtranaction").hide()}}function setWalletBalance(){getBalance($("#accountAddress").html(),function(t){if(t.error)alert(t.msg);else{var e=getBestEtherKnownUnit(t.data.balance);$("#accountBalance").html(e.amount+" "+e.unit),getETHvalue("USD",function(t){usdval=toFiat(e.amount,e.unit,t),$("#accountBalanceUsd").html(usdval+" USD")}),getETHvalue("EUR",function(t){eurval=toFiat(e.amount,e.unit,t),$("#accountBalanceEur").html(eurval+" EUR")})}})}function walletDecryptSuccess(){$("#accountAddress").html(formatAddress(strPrivateKeyToAddress(PrivKey),"hex")),setWalletBalance(),$("#decryptStatus").html('

Wallet successfully decrypted

').fadeIn(2e3),$("#wallettransactions").show()}function walletDecryptFailed(t){$("#decryptStatus").html('

'+t+"

").fadeIn(50).fadeOut(3e3),$("#wallettransactions").hide()}function decryptFormData(){if(PrivKey="","fupload"==decryptType){file=$(".btn-file :file")[0].files[0];var t=new FileReader;t.onload=function(){try{PrivKey=getWalletFilePrivKey(t.result,$("#walletfilepassword").val()),walletDecryptSuccess()}catch(e){walletDecryptFailed(e)}},t.readAsText(file)}else if("privkey"==decryptType)try{PrivKey=decryptTxtPrivKey($("#manualprivkey").val(),$("#privkeypassword").val()),walletDecryptSuccess()}catch(e){walletDecryptFailed("Invalid password")}}function hideAllMainContainers(){$("#paneWalgen").hide(),$("#paneBulkgen").hide(),$("#paneSendTrans").hide(),$("#panePopContracts").hide(),$("#paneHelp").hide(),$("#paneContact").hide(),$("#panePrint").hide(),$("#bulk-generate").parent().removeClass("active"),$("#generate-wallet").parent().removeClass("active"),$("#send-transaction").parent().removeClass("active"),$("#popular-contracts").parent().removeClass("active"),$("#help").parent().removeClass("active"),$("#contact").parent().removeClass("active")}function generateSingleWallet(){var t=$("#ethgenpassword").val();if(""==t)return void alert("Please enter a password.");if(t.length<7)return void alert("Your password must be at least 7 characters");$("#generatedWallet").show();var e=new Accounts,n=e["new"](t);$("#address").val(n.address);var a=cryptoJSToHex(CryptoJS.SHA3(n.address));a=a.substr(a.length-4);var r=e.get(n.address,t);$("#privkey").val(r["private"]),n["private"]=n["private"]+a,$("#privkeyenc").val(n["private"]),$("#qrcodeAdd").empty(),new QRCode($("#qrcodeAdd")[0],{text:n.address,width:$("#qrcode").width(),height:$("#qrcode").width(),colorDark:"#000000",colorLight:"#ffffff",correctLevel:QRCode.CorrectLevel.H}),$("#qrcode").empty(),new QRCode($("#qrcode")[0],{text:r["private"],width:$("#qrcode").width(),height:$("#qrcode").width(),colorDark:"#000000",colorLight:"#ffffff",correctLevel:QRCode.CorrectLevel.H});var i="text/json;charset=UTF-8",o=new Blob([JSON.stringify(n)],{type:i}),s=new Blob([JSON.stringify(r)],{type:i});$("#encdownload").attr("href",window.URL.createObjectURL(o)),$("#encdownload").attr("download",n.address+"-Encrypted.json"),$("#unencdownload").attr("href",window.URL.createObjectURL(s)),$("#unencdownload").attr("download",n.address+"-Unencrypted.json"),e.clear()}function generateBulkWallets(){var t=$("#bulkgenpassword").val(),e=$("#numberwallets").val();if(""==e)return void alert("Please enter the amount of wallets you want to generate.");if(e!=parseInt(e,10))return void alert("Digits only please");var n=!1;if(""!=t&&t.length<7)return void alert("Your password must be at least 7 characters.");""!=t&&t.length>=7&&(n=!0),$("#bulkIsEnc").html(n?" (Encrypted)":" (Unencrypted)"),$("#generatedbulkwallets").show(),$("#bulkgentable tr:not(:first)").remove();for(var a=new Accounts,r="",i=[],o=[],s="",d=0;e>d;d++){if(n){var l=a["new"](t),c=cryptoJSToHex(CryptoJS.SHA3(l.address));c=c.substr(c.length-4),l["private"]=l["private"]+c}else var l=a["new"]();$("#bulkgentable tr:last").after('"),r+=l.address+","+l["private"]+"\n",s+=l.address+" "+l["private"]+"\n",i.push({address:l.address,"private":l["private"]}),o.push({address:l.address,"private":a.get(l.address,t)["private"]})}var u=new Blob([r],{type:"text/csv;charset=UTF-8"}),p=new Blob([s],{type:"text/plain;charset=UTF-8"}),h=new Blob([JSON.stringify(i)],{type:"text/json;charset=UTF-8"}),v="bulk_ether_accounts";$("#bulkexportjson").attr("href",window.URL.createObjectURL(h)),$("#bulkexportjson").attr("download",v+".json"),$("#bulkexportcsv").attr("href",window.URL.createObjectURL(u)),$("#bulkexportcsv").attr("download",v+".csv"),$("#bulkexporttxt").attr("href",window.URL.createObjectURL(p)),$("#bulkexporttxt").attr("download",v+".txt"),$("#bulkwalletprint").unbind(),$("#bulkwalletprint").click(function(){openPrintPaperWallets(JSON.stringify(o))}),a.clear()}function openPrintPaperWallets(t){var e=window.open("about:blank","_blank");$.get("printwallets.html",function(n){n=n.replace("{{WALLETJSON}}",t),e.document.write(n),$(e).ready(function(){e.document.write("")})})}function printQRcode(){var t=$("#address").val(),e=$("#privkey").val(),n=[];n.push({address:t,"private":e}),openPrintPaperWallets(JSON.stringify(n))}function getBalance(t,e){$.post(SERVERURL,{balance:t}).done(e)}function getTransactionData(t,e){$.post(SERVERURL,{txdata:t}).done(e)}function sendRawTx(t,e){$.post(SERVERURL,{rawtx:t}).done(e)}function getEstimatedGas(t,e){$.post(SERVERURL,{estimatedGas:t}).done(e)}function getEthCall(t,e){$.post(SERVERURL,{ethCall:t}).done(e)}function getETHvalue(t,e){var n="XETHZ";$.post(KRAKENAPI+"Ticker",{pair:n+t}).done(function(a){e(a.result[n+t].o)})}function createTransaction(t,e,n,a,r){if(64!=t.length)return void r("Invalid Private key, try again");if(!validateEtherAddress(e))return void r("Invalid to Address, try again");if(!$.isNumeric(n)||0>=n)return void r("Invalid amount, try again");var i=new Buffer(t,"hex"),o=strPrivateKeyToAddress(t);getTransactionData(o,function(t){if(t.error)return void r("Error occurred: "+t.msg);t=t.data;var o=padLeftEven(BNtoHex(new BigNumber(t.nonce))),s=padLeftEven(BNtoHex(new BigNumber(t.gasprice).plus(1e9).toDigits(1))),d=padLeftEven(BNtoHex(new BigNumber(stdTransactionGas))),l=padLeftEven(BNtoHex(new BigNumber(String(n)))),c={nonce:o,gasPrice:s,gasLimit:d,to:e,value:l,data:""},u=new Tx(c);u.sign(i),verifyUpFrontCost(c,function(e){if(e>t.balance)return void r("You dont have enough balance in your account to process is transaction");var n="0x"+u.serialize().toString("hex"),i={raw:JSON.stringify(c),signed:n};a(i)},r)})}function createTransactionFromRaw(t,e,n,a){if(64!=e.length)return void a("Invalid Private key, try again");if(!validateEtherAddress(t.from)||!validateEtherAddress(t.to))return void a("Invalid Address, try again");if(!$.isNumeric(t.value)||t.value<=0)return void a("Invalid amount, try again");var r=new Buffer(e,"hex"),i=strPrivateKeyToAddress(e);getTransactionData(i,function(e){if(e.error)return void a("Error occurred: "+e.msg);e=e.data;var i=padLeftEven(BNtoHex(new BigNumber(e.nonce))),o=padLeftEven(BNtoHex(new BigNumber(e.gasprice).plus(1e9).toDigits(1))),s=padLeftEven(BNtoHex(new BigNumber(t.gas))),d=padLeftEven(BNtoHex(new BigNumber(String(t.value)))),l={nonce:i,gasPrice:o,gasLimit:s,to:t.to,value:d,data:t.data},c=new Tx(l);c.sign(r),verifyUpFrontCost(l,function(t){if(t>e.balance)return void a("You dont have enough balance in your account to process is transaction");var r="0x"+c.serialize().toString("hex"),i={raw:JSON.stringify(l),signed:r};n(i)},a)})}function verifyUpFrontCost(t,e,n){getEstimatedGas(t,function(a){if(a.error)n("Error occurred: "+a.msg);else if(new BigNumber(formatHexString(a.data,"hex")).greaterThan(new BigNumber(formatHexString(t.gasLimit,"hex"))))n("Gas limit is too low");else{var r=new BigNumber(formatHexString(t.gasPrice,"hex")).times(new BigNumber(formatHexString(t.gasLimit,"hex")));e(r.plus(new BigNumber(formatHexString(t.value,"hex"))).toNumber())}})}function getMaxSendAmount(t,e,n){getTransactionData(t,function(t){if(t.error)return void n("Error occurred: "+t.msg);t=t.data;var a=new BigNumber(t.gasprice).plus(1e9).toDigits(1).times(stdTransactionGas),r=new BigNumber(String(t.balance)).minus(a);r.lessThan(0)?n("Not enough balance to send a transaction"):e(toEther(r.toString(),"wei"))})}function sendTransaction(t,e,n){sendRawTx(t,function(t){return t.error?void n("Error occurred: "+t.msg):void e(t.data)})}function BNtoHex(t){return t.toString(16)}function padLeftEven(t){return t.length%2!=0?"0"+t:t}function formatHexString(t,e){return"hex"==e?"0x"==t.substring(0,2)?t:"0x"+t:"raw"==e?"0x"==t.substring(0,2)?t.substring(2):t:void 0}function fiatToWei(t,e){var n=new BigNumber(String(t)).div(e).times(getValueOfUnit("ether")).round(0);return n.toString(10)}function toFiat(t,e,n){var a=new BigNumber(toEther(t,e)).times(n).round(5);return a.toString(10)}function toEther(t,e){var n=new BigNumber(toWei(t,e)).div(getValueOfUnit("ether"));return n.toString(10)}function toWei(t,e){var n=new BigNumber(String(t)).times(getValueOfUnit(e));return n.toString(10)}function getValueOfUnit(t){t=t?t.toLowerCase():"ether";var e=unitMap[t];if(void 0===e)throw new Error("This unit doesn't exists, please use the one of the following units"+JSON.stringify(unitMap,null,2));return new BigNumber(e,10)}function getBestEtherKnownUnit(t){t=String(t);var e="wei",n=new BigNumber(t);for(var a in knownUnitMap)knownUnitMap.hasOwnProperty(a)&&new BigNumber(t).greaterThan(new BigNumber(knownUnitMap[a]))&&(e=a,n=new BigNumber(t).div(new BigNumber(knownUnitMap[a])));return{unit:e,amount:n.toDigits(10).toString(10)}}function decryptPresaleKey(t,e){t=JSON.parse(t);var n=hexToBytes(t.encseed),a=hexToCryptoJS(bytesToHex(n.slice(0,16))),r=hexToCryptoJS(bytesToHex(n.slice(16))),i=sha256.pbkdf2(stringToBytes(e),stringToBytes(e),2e3,16),o=hexToBytes(bytesToHex(i)).slice(0,16),s=CryptoJS.AES.decrypt({ciphertext:r},hexToCryptoJS(bytesToHex(o)),{iv:a,mode:CryptoJS.mode.CBC,padding:CryptoJS.pad.Pkcs7}),d=cryptoJSToHex(s);s=hex2str(d);var l=CryptoJS.SHA3(s,{outputLength:256}),c=l.toString();if(verifyPrivKey(c,t.ethaddr))return c;throw"Invalid Password"}function decryptGethKeyV3(t,e){t=JSON.parse(t),null==t.Crypto&&null!=t.crypto&&(t.Crypto=t.crypto);var n=t.Crypto.cipherparams.iv,a=t.Crypto.ciphertext,r=getKDFKey(t.Crypto,e),i=hexToBytes(bytesToHex(r)).slice(0,16),o=CryptoJS.AES.decrypt({ciphertext:hexToCryptoJS(a)},hexToCryptoJS(bytesToHex(i)),{mode:CryptoJS.mode.CTR,padding:CryptoJS.pad.ZeroPadding,iv:hexToCryptoJS(n)}),s=cryptoJSToHex(o);if(verifyPrivKey(s,t.address))return s;throw"Invalid Password"}function decryptTxtPrivKey(t,e){if(128==t.length)var n=CryptoJS.AES.decrypt(t,e),a=hex2str(cryptoJSToHex(n));else if(132==t.length){var n=CryptoJS.AES.decrypt(t.substr(0,128),e),a=hex2str(cryptoJSToHex(n)),r=t.substr(t.length-4),i=formatAddress(strPrivateKeyToAddress(a),"hex"),o=cryptoJSToHex(CryptoJS.SHA3(i));if(o.substr(o.length-4)!=r)throw"Invalid Password"}else{if(64!=t.length)throw"Error while decrypting your wallet";var a=t}return a}function decryptEthWalletJson(t,e){if(t=JSON.parse(t),t.locked&&128==t["private"].length)var n=CryptoJS.AES.decrypt(t["private"],e),a=hex2str(cryptoJSToHex(n));else if(t.locked&&132==t["private"].length)var n=CryptoJS.AES.decrypt(t["private"].substr(0,128),e),a=hex2str(cryptoJSToHex(n));else{if(t.locked||64!=t["private"].length)throw"Error while decrypting your wallet";var a=t["private"]}if(verifyPrivKey(a,formatAddress(t.address,"raw")))return a;throw"Invalid Password"}function walletRequirePass(t){var e;try{e=JSON.parse(t)}catch(n){throw"not a valid wallet file"}if(null!=e.encseed)return!0;if(null!=e.Crypto||null!=e.crypto)return!0;if(null!=e.hash&&e.locked)return!0;if(null==e.hash||e.locked)throw"Sorry! we dont have a clue what kind of wallet file this is.";return!1}function verifyPrivKey(t,e){return 64!=t.length?!1:strPrivateKeyToAddress(t)!=e?!1:!0}function getWalletFilePrivKey(t,e){var n=JSON.parse(t);if(null!=n.encseed)return decryptPresaleKey(t,e);if(null!=n.Crypto||null!=n.crypto)return decryptGethKeyV3(t,e);if(null!=n.hash)return decryptEthWalletJson(t,e);throw"Sorry! we dont have a clue what kind of wallet file this is."}function formatAddress(t,e){return"0x"==t.substr(0,2)&&"raw"==e&&(t=t.substr(2)),"0x"!=t.substr(0,2)&&"hex"==e&&(t="0x"+t),t}function strPrivateKeyToAddress(t){var e=ethUtil.privateToPublic(new Buffer(t,"hex"));return ethUtil.publicToAddress(e).toString("hex")}function getKDFKey(t,e){var n=hexToBytes(t.kdfparams.salt),a=stringToBytes(e),r=t.kdfparams.dklen;if("scrypt"==t.kdf){var i=t.kdfparams.n,o=t.kdfparams.r,s=t.kdfparams.p,d=scrypt_module_factory(335544320);return d.crypto_scrypt(a,n,i,o,s,r)}if("pbkdf2"==t.kdf){var l=t.kdfparams.c,c=(t.kdfparams.prf,sha256.pbkdf2(stringToBytes(e),hexToBytes(t.kdfparams.salt),l,r));return c}}function hexToCryptoJS(t){return CryptoJS.enc.Hex.parse(t)}function cryptoJSToHex(t){return CryptoJS.enc.Hex.stringify(t)}function validateEtherAddress(t){return 42==t.length&&"0x"==t.substr(0,2)&&/^[0-9A-F]+$/i.test(t.substr(2))}function hex2str(t){for(var t=t.toString(),e="",n=0;n>>4).toString(16)),e.push((15&t[n]).toString(16));return e.join("")}function hexToBytes(t){for(var e=[],n=0;n Transaction generated

').fadeIn(50),$("#divtransactionTAs").show(),$("#divsendtranaction").show(),$("#confirmAmount").html($("#sendtxamount").val()),$("#confirmCurrancy").html(t)},function(t){$("#txcreatestatus").html('

'+t+"

").fadeIn(50).fadeOut(3e3),$("#divtransactionTAs").hide(),$("#divsendtranaction").hide()})}catch(a){$("#txcreatestatus").html('

'+a+"

").fadeIn(50).fadeOut(3e3),$("#divtransactionTAs").hide(),$("#divsendtranaction").hide()}}var PrivKey="",decryptType="",usdval,eurval,web3=new Web3;$(document).ready(function(){bindElements(),checkAndLoadPageHash(),checkAndRedirectHTTPS()});var SERVERURL="https://rpc.myetherwallet.com/api.php",KRAKENAPI="https://api.kraken.com/0/public/",stdTransactionGas=21e3,knownUnitMap={wei:"1",kwei:"1000",gwei:"1000000000",szabo:"1000000000000",finney:"1000000000000000",ether:"1000000000000000000"},unitMap={wei:"1",kwei:"1000",ada:"1000",femtoether:"1000",mwei:"1000000",babbage:"1000000",picoether:"1000000",gwei:"1000000000",shannon:"1000000000",nanoether:"1000000000",nano:"1000000000",szabo:"1000000000000",microether:"1000000000000",micro:"1000000000000",finney:"1000000000000000",milliether:"1000000000000000",milli:"1000000000000000",ether:"1000000000000000000",kether:"1000000000000000000000",grand:"1000000000000000000000",einstein:"1000000000000000000000",mether:"1000000000000000000000000",gether:"1000000000000000000000000000",tether:"1000000000000000000000000000000"};$(document).ready(function(){bindAugurElements()});var augurContract=web3.eth.contract([{name:"addrToFunder(int256)",type:"function",inputs:[{name:"address",type:"int256"}],outputs:[{name:"out",type:"int256"}]},{name:"buyRep()",type:"function",inputs:[],outputs:[{name:"out",type:"int256"}]},{name:"getAddrByIndex(int256)",type:"function",inputs:[{name:"index",type:"int256"}],outputs:[{name:"out",type:"int256"}]},{name:"getAmountSent(int256)",type:"function",inputs:[{name:"address",type:"int256"}],outputs:[{name:"out",type:"int256"}]},{name:"getAmtByIndex(int256)",type:"function",inputs:[{name:"index",type:"int256"}],outputs:[{name:"out",type:"int256"}]},{name:"getBlockNumByIndex(int256)",type:"function",inputs:[{name:"index",type:"int256"}],outputs:[{name:"out",type:"int256"}]},{name:"getBlockNumSent(int256)",type:"function",inputs:[{name:"address",type:"int256"}],outputs:[{name:"out",type:"int256"}]},{name:"getFunderNum()",type:"function",inputs:[],outputs:[{name:"out",type:"int256"}]},{name:"getFundsRaised()",type:"function",inputs:[],outputs:[{name:"out",type:"int256"}]}]).at("0xe28e72fcf78647adce1f1252f240bbfaebd63bcc"); \ No newline at end of file +function checkAndRedirectHTTPS(){var t="myetherwallet.com",e="kvhnuke.github.io",n="www.kvhnuke.github.io",a="www.myetherwallet.com";t!=window.location.host&&e!=window.location.host&&a!=window.location.host&&n!=window.location.host||"https:"==window.location.protocol||(window.location.protocol="https")}function checkAndLoadPageHash(){if(window.location.hash){var t=window.location.hash.substr(1);$(".ptabs").each(function(e){return $(this).attr("id")==t?($(this).click(),void setTimeout(function(){$("html,body").scrollTop(0)},50)):void 0})}}function paneNavigate(t,e){hideAllMainContainers(),$("#"+t).show(),$("#"+e).parent().addClass("active"),location.hash=e,$("html,body").scrollTop(0)}function bindElements(){$(".ptabs").each(function(t){$(this).click(function(){paneNavigate($(this).attr("showId"),this.id)})}),$("#privkeyenc,#address,#privkey").click(function(){this.focus(),this.select()}),$("#btndonate").click(function(){$("#sendtxaddress").val("0x7cb57b5a97eabe94205c07890be4c1ad31e486a8"),$("#donateThanks").show(),$("#sendtxaddress").trigger("keyup")}),$("#generatewallet").click(function(){generateSingleWallet()}),$("#btngeneratetranaction").click(function(){preCreateTransaction()}),$("#printqr").click(function(){printQRcode()}),$("#btnapprovesend").click(function(){preSendTransaction()}),$("#bulkgenerate").click(function(){generateBulkWallets()}),$("#transferAllBalance").click(function(){getMaxSendAmount($("#accountAddress").html(),function(t){$("#sendtxamount").val(t),$("input[type=radio][name=currencyRadio][value=ether]").prop("checked",!0),$("#sendtxamount").trigger("keyup")},function(t){$("#txcreatestatus").html('

'+t+"

").fadeIn(50).fadeOut(3e3)})}),$("#decryptdata").click(function(){$("#decryptStatus").html('

Please Wait...

').fadeIn(10),setTimeout(function(){decryptFormData()},100)}),$("input[type=radio][name=typeOfKeyRadio]").change(function(){PrivKey="",$("#fuploadStatus").empty(),$("#walletfilepassword").val(""),$("#privkeypassword").val(""),$(".btn-file :file").val(""),$("#manualprivkey").val(""),$("#walletuploadbutton").hide(),$("#walletPasdiv").hide(),$("#divprikeypassword").hide(),$("#wallettransactions").hide(),$("#decryptStatus").hide(),"fileupload"==this.value?($("#selectedTypeKey").hide(),$("#selectedUploadKey").show(),decryptType="fupload"):"pasteprivkey"==this.value&&($("#selectedUploadKey").hide(),$("#selectedTypeKey").show(),decryptType="privkey")}),$("input[type=radio][name=currencyRadio]").change(function(){$("#sendtxamount").trigger("keyup")}),$("#walletfilepassword").on("paste, keyup",function(){""!=$("#walletfilepassword").val()?($("#uploadbtntxt-wallet").show(),$("#uploadbtntxt-privkey").hide(),$("#walletuploadbutton").show()):$("#walletuploadbutton").hide()}),$("#sendtxamount").on("paste, keyup",function(){var t=$("#sendtxamount").val();if(""!=$("#sendtxamount").val()&&$.isNumeric(t)&&t>0){var e=$("input[type=radio][name=currencyRadio]:checked").val();$("#weiamount").html('

'+toWei(t,e)+" wei ( approximately "+toFiat(t,e,usdval)+" USD/"+toFiat(t,e,eurval)+" EUR )

")}else $("#weiamount").html(""==$("#sendtxamount").val()||$.isNumeric(t)?"":'

Invalid amount

')}),$("#sendtxaddress").on("paste, keyup",function(){validateEtherAddress($("#sendtxaddress").val())?$("#addressvalidate").html('

Address is valid

').fadeIn(50):""==$("#sendtxaddress").val()?$("#addressvalidate").html(""):$("#addressvalidate").html('

Invalid address

').fadeIn(50)}),$("#privkeypassword").on("paste, keyup",function(){$("#privkeypassword").val().length>6?($("#uploadbtntxt-wallet").hide(),$("#uploadbtntxt-privkey").show(),$("#walletuploadbutton").show()):$("#walletuploadbutton").hide()}),$("#manualprivkey").on("paste, keyup",function(){$("#divprikeypassword").hide(),$("#walletuploadbutton").hide(),$("#uploadbtntxt-wallet").hide(),$("#uploadbtntxt-privkey").hide(),$("#manualprivkey").val($("#manualprivkey").val().replace(/(?:\r\n|\r|\n| )/g,"")),128==$("#manualprivkey").val().length||132==$("#manualprivkey").val().length?$("#divprikeypassword").show():64==$("#manualprivkey").val().length&&($("#uploadbtntxt-wallet").hide(),$("#uploadbtntxt-privkey").show(),$("#walletuploadbutton").show())}),$(".btn-file :file").change(function(){if(!(window.File&&window.FileReader&&window.FileList&&window.Blob))return void alert("The File APIs are not fully supported in this browser. Please use a modern browser");var t=$(this),e=t.get(0).files?t.get(0).files.length:1,n=t.val().replace(/\\/g,"/").replace(/.*\//,"");t.trigger("fileselect",[e,n])}),$(".btn-file :file").on("fileselect",function(t,e,n){$("#fuploadStatus").empty(),$("#walletfilepassword").val(""),PrivKey="",file=$(".btn-file :file")[0].files[0];var a=new FileReader;a.onload=function(){try{walletRequirePass(a.result)?($("#walletPasdiv").show(),$("#walletuploadbutton").hide()):($("#walletPasdiv").hide(),$("#walletuploadbutton").show(),$("#uploadbtntxt-wallet").show(),$("#uploadbtntxt-privkey").hide())}catch(t){$("#fuploadStatus").append('

'+t+"

")}},a.readAsText(file);var r=$(this).parents(".input-group").find(":text"),i=e>1?e+" files selected":n;r.length?r.val(i):i&&$("#fuploadStatus").append('

File Selected: '+i+"

")})}function preSendTransaction(){sendTransaction($("#tasignedtx").val(),function(t){$("#txsendstatus").html('

Transaction submitted. TX ID: '+t+"

"),setWalletBalance()},function(t){$("#txsendstatus").html('

'+t+"

")}),$("#sendTransaction").modal("hide")}function preCreateTransaction(){try{$("#tarawtx").val(""),$("#tasignedtx").val(""),$("#txsendstatus").html("");var t=$("#sendtxaddress").val();if(64!=PrivKey.length)throw"Invalid Private key, try again";if(!validateEtherAddress(t))throw"Invalid to Address, try again";if(!$.isNumeric($("#sendtxamount").val())||$("#sendtxamount").val()<=0)throw"Invalid amount, try again";var e=$("input[type=radio][name=currencyRadio]:checked").val(),n=toWei($("#sendtxamount").val(),e);createTransaction(PrivKey,t,n,function(n){$("#tarawtx").val(n.raw),$("#tasignedtx").val(n.signed),$("#txcreatestatus").html('

Transaction generated

').fadeIn(50),$("#divtransactionTAs").show(),$("#divsendtranaction").show(),$("#confirmAmount").html($("#sendtxamount").val()),$("#confirmCurrancy").html(e),$("#confirmAddress").html(t)},function(t){$("#txcreatestatus").html('

'+t+"

").fadeIn(50).fadeOut(3e3),$("#divtransactionTAs").hide(),$("#divsendtranaction").hide()})}catch(a){$("#txcreatestatus").html('

'+a+"

").fadeIn(50).fadeOut(3e3),$("#divtransactionTAs").hide(),$("#divsendtranaction").hide()}}function setWalletBalance(){getBalance($("#accountAddress").html(),function(t){if(t.error)alert(t.msg);else{var e=getBestEtherKnownUnit(t.data.balance);$("#accountBalance").html(e.amount+" "+e.unit),getETHvalue("USD",function(t){usdval=toFiat(e.amount,e.unit,t),$("#accountBalanceUsd").html(usdval+" USD")}),getETHvalue("EUR",function(t){eurval=toFiat(e.amount,e.unit,t),$("#accountBalanceEur").html(eurval+" EUR")})}})}function walletDecryptSuccess(){$("#accountAddress").html(formatAddress(strPrivateKeyToAddress(PrivKey),"hex")),setWalletBalance(),$("#decryptStatus").html('

Wallet successfully decrypted

').fadeIn(2e3),$("#wallettransactions").show()}function walletDecryptFailed(t){$("#decryptStatus").html('

'+t+"

").fadeIn(50).fadeOut(3e3),$("#wallettransactions").hide()}function decryptFormData(){if(PrivKey="","fupload"==decryptType){file=$(".btn-file :file")[0].files[0];var t=new FileReader;t.onload=function(){try{PrivKey=getWalletFilePrivKey(t.result,$("#walletfilepassword").val()),walletDecryptSuccess()}catch(e){walletDecryptFailed(e)}},t.readAsText(file)}else if("privkey"==decryptType)try{PrivKey=decryptTxtPrivKey($("#manualprivkey").val(),$("#privkeypassword").val()),walletDecryptSuccess()}catch(e){walletDecryptFailed("Invalid password")}}function hideAllMainContainers(){$("#paneWalgen").hide(),$("#paneBulkgen").hide(),$("#paneSendTrans").hide(),$("#panePopContracts").hide(),$("#paneHelp").hide(),$("#paneContact").hide(),$("#panePrint").hide(),$("#bulk-generate").parent().removeClass("active"),$("#generate-wallet").parent().removeClass("active"),$("#send-transaction").parent().removeClass("active"),$("#popular-contracts").parent().removeClass("active"),$("#help").parent().removeClass("active"),$("#contact").parent().removeClass("active")}function generateSingleWallet(){var t=$("#ethgenpassword").val();if(""==t)return void alert("Please enter a password.");if(t.length<7)return void alert("Your password must be at least 7 characters");$("#generatedWallet").show();var e=new Accounts,n=e["new"](t);$("#address").val(n.address);var a=cryptoJSToHex(CryptoJS.SHA3(n.address));a=a.substr(a.length-4);var r=e.get(n.address,t);$("#privkey").val(r["private"]),n["private"]=n["private"]+a,$("#privkeyenc").val(n["private"]),$("#qrcodeAdd").empty(),new QRCode($("#qrcodeAdd")[0],{text:n.address,width:$("#qrcode").width(),height:$("#qrcode").width(),colorDark:"#000000",colorLight:"#ffffff",correctLevel:QRCode.CorrectLevel.H}),$("#qrcode").empty(),new QRCode($("#qrcode")[0],{text:r["private"],width:$("#qrcode").width(),height:$("#qrcode").width(),colorDark:"#000000",colorLight:"#ffffff",correctLevel:QRCode.CorrectLevel.H});var i="text/json;charset=UTF-8",o=new Blob([JSON.stringify(n)],{type:i}),s=new Blob([JSON.stringify(r)],{type:i});$("#encdownload").attr("href",window.URL.createObjectURL(o)),$("#encdownload").attr("download",n.address+"-Encrypted.json"),$("#unencdownload").attr("href",window.URL.createObjectURL(s)),$("#unencdownload").attr("download",n.address+"-Unencrypted.json"),e.clear()}function generateBulkWallets(){var t=$("#bulkgenpassword").val(),e=$("#numberwallets").val();if(""==e)return void alert("Please enter the amount of wallets you want to generate.");if(e!=parseInt(e,10))return void alert("Digits only please");var n=!1;if(""!=t&&t.length<7)return void alert("Your password must be at least 7 characters.");""!=t&&t.length>=7&&(n=!0),$("#bulkIsEnc").html(n?" (Encrypted)":" (Unencrypted)"),$("#generatedbulkwallets").show(),$("#bulkgentable tr:not(:first)").remove();for(var a=new Accounts,r="",i=[],o=[],s="",d=0;e>d;d++){if(n){var l=a["new"](t),c=cryptoJSToHex(CryptoJS.SHA3(l.address));c=c.substr(c.length-4),l["private"]=l["private"]+c}else var l=a["new"]();$("#bulkgentable tr:last").after('"),r+=l.address+","+l["private"]+"\n",s+=l.address+" "+l["private"]+"\n",i.push({address:l.address,"private":l["private"]}),o.push({address:l.address,"private":a.get(l.address,t)["private"]})}var u=new Blob([r],{type:"text/csv;charset=UTF-8"}),p=new Blob([s],{type:"text/plain;charset=UTF-8"}),h=new Blob([JSON.stringify(i)],{type:"text/json;charset=UTF-8"}),v="bulk_ether_accounts";$("#bulkexportjson").attr("href",window.URL.createObjectURL(h)),$("#bulkexportjson").attr("download",v+".json"),$("#bulkexportcsv").attr("href",window.URL.createObjectURL(u)),$("#bulkexportcsv").attr("download",v+".csv"),$("#bulkexporttxt").attr("href",window.URL.createObjectURL(p)),$("#bulkexporttxt").attr("download",v+".txt"),$("#bulkwalletprint").unbind(),$("#bulkwalletprint").click(function(){openPrintPaperWallets(JSON.stringify(o))}),a.clear()}function openPrintPaperWallets(t){var e=window.open("about:blank","_blank");$.get("printwallets.html",function(n){n=n.replace("{{WALLETJSON}}",t),e.document.write(n),$(e).ready(function(){e.document.write("")})})}function printQRcode(){var t=$("#address").val(),e=$("#privkey").val(),n=[];n.push({address:t,"private":e}),openPrintPaperWallets(JSON.stringify(n))}function getBalance(t,e){$.post(SERVERURL,{balance:t}).done(e)}function getTransactionData(t,e){$.post(SERVERURL,{txdata:t}).done(e)}function sendRawTx(t,e){$.post(SERVERURL,{rawtx:t}).done(e)}function getEstimatedGas(t,e){$.post(SERVERURL,{estimatedGas:t}).done(e)}function getEthCall(t,e){$.post(SERVERURL,{ethCall:t}).done(e)}function getETHvalue(t,e){var n="XETHZ";$.post(KRAKENAPI+"Ticker",{pair:n+t}).done(function(a){e(a.result[n+t].o)})}function createTransaction(t,e,n,a,r){if(64!=t.length)return void r("Invalid Private key, try again");if(!validateEtherAddress(e))return void r("Invalid to Address, try again");if(!$.isNumeric(n)||0>=n)return void r("Invalid amount, try again");var i=new Buffer(t,"hex"),o=strPrivateKeyToAddress(t);getTransactionData(o,function(t){if(t.error)return void r("Error occurred: "+t.msg);t=t.data;var o=padLeftEven(BNtoHex(new BigNumber(t.nonce))),s=padLeftEven(BNtoHex(new BigNumber(t.gasprice).plus(1e9).toDigits(1))),d=padLeftEven(BNtoHex(new BigNumber(stdTransactionGas))),l=padLeftEven(BNtoHex(new BigNumber(String(n)))),c={nonce:"0x"+o,gasPrice:"0x"+s,gasLimit:"0x"+d,to:e,value:"0x"+l,data:""},u=new Tx(c);u.sign(i),verifyUpFrontCost(c,function(e){if(e>t.balance)return void r("You dont have enough balance in your account to process is transaction");var n="0x"+u.serialize().toString("hex"),i={raw:JSON.stringify(c),signed:n};a(i)},r)})}function createTransactionFromRaw(t,e,n,a){if(64!=e.length)return void a("Invalid Private key, try again");if(!validateEtherAddress(t.from)||!validateEtherAddress(t.to))return void a("Invalid Address, try again");if(!$.isNumeric(t.value)||t.value<=0)return void a("Invalid amount, try again");var r=new Buffer(e,"hex"),i=strPrivateKeyToAddress(e);getTransactionData(i,function(e){if(e.error)return void a("Error occurred: "+e.msg);e=e.data;var i=padLeftEven(BNtoHex(new BigNumber(e.nonce))),o=padLeftEven(BNtoHex(new BigNumber(e.gasprice).plus(1e9).toDigits(1))),s=padLeftEven(BNtoHex(new BigNumber(t.gas))),d=padLeftEven(BNtoHex(new BigNumber(String(t.value)))),l={nonce:"0x"+i,gasPrice:"0x"+o,gasLimit:"0x"+s,to:t.to,value:"0x"+d,data:"0x"+t.data},c=new Tx(l);c.sign(r),verifyUpFrontCost(l,function(t){if(t>e.balance)return void a("You dont have enough balance in your account to process is transaction");var r="0x"+c.serialize().toString("hex"),i={raw:JSON.stringify(l),signed:r};n(i)},a)})}function verifyUpFrontCost(t,e,n){getEstimatedGas(t,function(a){if(a.error)n("Error occurred: "+a.msg);else if(new BigNumber(formatHexString(a.data,"hex")).greaterThan(new BigNumber(formatHexString(t.gasLimit,"hex"))))n("Gas limit is too low");else{var r=new BigNumber(formatHexString(t.gasPrice,"hex")).times(new BigNumber(formatHexString(t.gasLimit,"hex")));e(r.plus(new BigNumber(formatHexString(t.value,"hex"))).toNumber())}})}function getMaxSendAmount(t,e,n){getTransactionData(t,function(t){if(t.error)return void n("Error occurred: "+t.msg);t=t.data;var a=new BigNumber(t.gasprice).plus(1e9).toDigits(1).times(stdTransactionGas),r=new BigNumber(String(t.balance)).minus(a);r.lessThan(0)?n("Not enough balance to send a transaction"):e(toEther(r.toString(),"wei"))})}function sendTransaction(t,e,n){sendRawTx(t,function(t){return t.error?void n("Error occurred: "+t.msg):void e(t.data)})}function BNtoHex(t){return t.toString(16)}function padLeftEven(t){return t.length%2!=0?"0"+t:t}function formatHexString(t,e){return"hex"==e?"0x"==t.substring(0,2)?t:"0x"+t:"raw"==e?"0x"==t.substring(0,2)?t.substring(2):t:void 0}function fiatToWei(t,e){var n=new BigNumber(String(t)).div(e).times(getValueOfUnit("ether")).round(0);return n.toString(10)}function toFiat(t,e,n){var a=new BigNumber(toEther(t,e)).times(n).round(5);return a.toString(10)}function toEther(t,e){var n=new BigNumber(toWei(t,e)).div(getValueOfUnit("ether"));return n.toString(10)}function toWei(t,e){var n=new BigNumber(String(t)).times(getValueOfUnit(e));return n.toString(10)}function getValueOfUnit(t){t=t?t.toLowerCase():"ether";var e=unitMap[t];if(void 0===e)throw new Error("This unit doesn't exists, please use the one of the following units"+JSON.stringify(unitMap,null,2));return new BigNumber(e,10)}function getBestEtherKnownUnit(t){t=String(t);var e="wei",n=new BigNumber(t);for(var a in knownUnitMap)knownUnitMap.hasOwnProperty(a)&&new BigNumber(t).greaterThan(new BigNumber(knownUnitMap[a]))&&(e=a,n=new BigNumber(t).div(new BigNumber(knownUnitMap[a])));return{unit:e,amount:n.toDigits(10).toString(10)}}function decryptPresaleKey(t,e){t=JSON.parse(t);var n=hexToBytes(t.encseed),a=hexToCryptoJS(bytesToHex(n.slice(0,16))),r=hexToCryptoJS(bytesToHex(n.slice(16))),i=sha256.pbkdf2(stringToBytes(e),stringToBytes(e),2e3,16),o=hexToBytes(bytesToHex(i)).slice(0,16),s=CryptoJS.AES.decrypt({ciphertext:r},hexToCryptoJS(bytesToHex(o)),{iv:a,mode:CryptoJS.mode.CBC,padding:CryptoJS.pad.Pkcs7}),d=cryptoJSToHex(s);s=hex2str(d);var l=CryptoJS.SHA3(s,{outputLength:256}),c=l.toString();if(verifyPrivKey(c,t.ethaddr))return c;throw"Invalid Password"}function decryptGethKeyV3(t,e){t=JSON.parse(t),null==t.Crypto&&null!=t.crypto&&(t.Crypto=t.crypto);var n=t.Crypto.cipherparams.iv,a=t.Crypto.ciphertext,r=getKDFKey(t.Crypto,e),i=hexToBytes(bytesToHex(r)).slice(0,16),o=CryptoJS.AES.decrypt({ciphertext:hexToCryptoJS(a)},hexToCryptoJS(bytesToHex(i)),{mode:CryptoJS.mode.CTR,padding:CryptoJS.pad.ZeroPadding,iv:hexToCryptoJS(n)}),s=cryptoJSToHex(o);if(verifyPrivKey(s,t.address))return s;throw"Invalid Password"}function decryptTxtPrivKey(t,e){if(128==t.length)var n=CryptoJS.AES.decrypt(t,e),a=hex2str(cryptoJSToHex(n));else if(132==t.length){var n=CryptoJS.AES.decrypt(t.substr(0,128),e),a=hex2str(cryptoJSToHex(n)),r=t.substr(t.length-4),i=formatAddress(strPrivateKeyToAddress(a),"hex"),o=cryptoJSToHex(CryptoJS.SHA3(i));if(o.substr(o.length-4)!=r)throw"Invalid Password"}else{if(64!=t.length)throw"Error while decrypting your wallet";var a=t}return a}function decryptEthWalletJson(t,e){if(t=JSON.parse(t),t.locked&&128==t["private"].length)var n=CryptoJS.AES.decrypt(t["private"],e),a=hex2str(cryptoJSToHex(n));else if(t.locked&&132==t["private"].length)var n=CryptoJS.AES.decrypt(t["private"].substr(0,128),e),a=hex2str(cryptoJSToHex(n));else{if(t.locked||64!=t["private"].length)throw"Error while decrypting your wallet";var a=t["private"]}if(verifyPrivKey(a,formatAddress(t.address,"raw")))return a;throw"Invalid Password"}function walletRequirePass(t){var e;try{e=JSON.parse(t)}catch(n){throw"not a valid wallet file"}if(null!=e.encseed)return!0;if(null!=e.Crypto||null!=e.crypto)return!0;if(null!=e.hash&&e.locked)return!0;if(null==e.hash||e.locked)throw"Sorry! we dont have a clue what kind of wallet file this is.";return!1}function verifyPrivKey(t,e){return 64!=t.length?!1:strPrivateKeyToAddress(t)!=e?!1:!0}function getWalletFilePrivKey(t,e){var n=JSON.parse(t);if(null!=n.encseed)return decryptPresaleKey(t,e);if(null!=n.Crypto||null!=n.crypto)return decryptGethKeyV3(t,e);if(null!=n.hash)return decryptEthWalletJson(t,e);throw"Sorry! we dont have a clue what kind of wallet file this is."}function formatAddress(t,e){return"0x"==t.substr(0,2)&&"raw"==e&&(t=t.substr(2)),"0x"!=t.substr(0,2)&&"hex"==e&&(t="0x"+t),t}function strPrivateKeyToAddress(t){var e=ethUtil.privateToPublic(new Buffer(t,"hex"));return ethUtil.publicToAddress(e).toString("hex")}function getKDFKey(t,e){var n=hexToBytes(t.kdfparams.salt),a=stringToBytes(e),r=t.kdfparams.dklen;if("scrypt"==t.kdf){var i=t.kdfparams.n,o=t.kdfparams.r,s=t.kdfparams.p,d=scrypt_module_factory(335544320);return d.crypto_scrypt(a,n,i,o,s,r)}if("pbkdf2"==t.kdf){var l=t.kdfparams.c,c=(t.kdfparams.prf,sha256.pbkdf2(stringToBytes(e),hexToBytes(t.kdfparams.salt),l,r));return c}}function hexToCryptoJS(t){return CryptoJS.enc.Hex.parse(t)}function cryptoJSToHex(t){return CryptoJS.enc.Hex.stringify(t)}function validateEtherAddress(t){return 42==t.length&&"0x"==t.substr(0,2)&&/^[0-9A-F]+$/i.test(t.substr(2))}function hex2str(t){for(var t=t.toString(),e="",n=0;n>>4).toString(16)),e.push((15&t[n]).toString(16));return e.join("")}function hexToBytes(t){for(var e=[],n=0;n Transaction generated

').fadeIn(50),$("#divtransactionTAs").show(),$("#divsendtranaction").show(),$("#confirmAmount").html($("#sendtxamount").val()),$("#confirmCurrancy").html(t)},function(t){$("#txcreatestatus").html('

'+t+"

").fadeIn(50).fadeOut(3e3),$("#divtransactionTAs").hide(),$("#divsendtranaction").hide()})}catch(a){$("#txcreatestatus").html('

'+a+"

").fadeIn(50).fadeOut(3e3),$("#divtransactionTAs").hide(),$("#divsendtranaction").hide()}}var PrivKey="",decryptType="",usdval,eurval,web3=new Web3;$(document).ready(function(){bindElements(),checkAndLoadPageHash(),checkAndRedirectHTTPS()});var SERVERURL="https://rpc.myetherwallet.com/api.php",KRAKENAPI="https://api.kraken.com/0/public/",stdTransactionGas=21e3,knownUnitMap={wei:"1",kwei:"1000",gwei:"1000000000",szabo:"1000000000000",finney:"1000000000000000",ether:"1000000000000000000"},unitMap={wei:"1",kwei:"1000",ada:"1000",femtoether:"1000",mwei:"1000000",babbage:"1000000",picoether:"1000000",gwei:"1000000000",shannon:"1000000000",nanoether:"1000000000",nano:"1000000000",szabo:"1000000000000",microether:"1000000000000",micro:"1000000000000",finney:"1000000000000000",milliether:"1000000000000000",milli:"1000000000000000",ether:"1000000000000000000",kether:"1000000000000000000000",grand:"1000000000000000000000",einstein:"1000000000000000000000",mether:"1000000000000000000000000",gether:"1000000000000000000000000000",tether:"1000000000000000000000000000000"};$(document).ready(function(){bindAugurElements()});var augurContract=web3.eth.contract([{name:"addrToFunder(int256)",type:"function",inputs:[{name:"address",type:"int256"}],outputs:[{name:"out",type:"int256"}]},{name:"buyRep()",type:"function",inputs:[],outputs:[{name:"out",type:"int256"}]},{name:"getAddrByIndex(int256)",type:"function",inputs:[{name:"index",type:"int256"}],outputs:[{name:"out",type:"int256"}]},{name:"getAmountSent(int256)",type:"function",inputs:[{name:"address",type:"int256"}],outputs:[{name:"out",type:"int256"}]},{name:"getAmtByIndex(int256)",type:"function",inputs:[{name:"index",type:"int256"}],outputs:[{name:"out",type:"int256"}]},{name:"getBlockNumByIndex(int256)",type:"function",inputs:[{name:"index",type:"int256"}],outputs:[{name:"out",type:"int256"}]},{name:"getBlockNumSent(int256)",type:"function",inputs:[{name:"address",type:"int256"}],outputs:[{name:"out",type:"int256"}]},{name:"getFunderNum()",type:"function",inputs:[],outputs:[{name:"out",type:"int256"}]},{name:"getFundsRaised()",type:"function",inputs:[],outputs:[{name:"out",type:"int256"}]}]).at("0xe28e72fcf78647adce1f1252f240bbfaebd63bcc"); \ No newline at end of file diff --git a/js/source/03_transactions.js b/js/source/03_transactions.js index befba13f5a..6cf30ca57b 100644 --- a/js/source/03_transactions.js +++ b/js/source/03_transactions.js @@ -26,11 +26,11 @@ function createTransaction(privkey, to, amountinwei, successcb, errorcb) { var gasLimit = padLeftEven(BNtoHex(new BigNumber(stdTransactionGas))); //standard 21000 per transaction var value = padLeftEven(BNtoHex(new BigNumber(String(amountinwei)))); var rawTx = { - nonce: nonce, - gasPrice: gasPrice, - gasLimit: gasLimit, + nonce: '0x'+nonce, + gasPrice: '0x'+gasPrice, + gasLimit: '0x'+gasLimit, to: to, - value: value, + value: '0x'+value, data: '' }; var tx = new Tx(rawTx); @@ -76,12 +76,12 @@ function createTransactionFromRaw(rawObj, privkey, successcb, errorcb) { var gasLimit = padLeftEven(BNtoHex(new BigNumber(rawObj.gas))); var value = padLeftEven(BNtoHex(new BigNumber(String(rawObj.value)))); var rawTx = { - nonce: nonce, - gasPrice: gasPrice, - gasLimit: gasLimit, + nonce: '0x'+nonce, + gasPrice: '0x'+gasPrice, + gasLimit: '0x'+gasLimit, to: rawObj.to, - value: value, - data: rawObj.data + value: '0x'+value, + data: '0x'+rawObj.data }; var tx = new Tx(rawTx); tx.sign(privateKey);