Skip to content
This repository has been archived by the owner on Nov 21, 2019. It is now read-only.

Commit

Permalink
the dao.
Browse files Browse the repository at this point in the history
  • Loading branch information
tayvano committed Apr 30, 2016
1 parent a388d7c commit f31aeba
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 31 deletions.
4 changes: 2 additions & 2 deletions app/scripts/controllers/thedaoCtrl.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ var theDaoCtrl = function($scope, $sce, walletService) {
walletService.password = '';
$scope.showAdvance = false;
$scope.showRaw = false;
$scope.slockitContract = "0xd838f9c9792bf8398e1f5fbfbd3b43c5a86445aa";
$scope.slockitContract = "0xBB9bc244D798123fDe783fCc1C72d3Bb8C189413";
$scope.slockitBalance = "0x70a08231";
$scope.slockitSupply = "0x18160ddd";
$scope.tx = {
Expand Down Expand Up @@ -79,4 +79,4 @@ var theDaoCtrl = function($scope, $sce, walletService) {
uiFuncs.sendTx($scope,$sce);
}
};
module.exports = theDaoCtrl;
module.exports = theDaoCtrl;
14 changes: 7 additions & 7 deletions app/scripts/services/globalService.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ var globalService = function($http, $httpParamSerializerJQLike) {
name: "Offline Transaction",
url:"offline-transaction"
},
// thedao: {
// id: 5,
// name: "\"The DAO\"",
// url: "the-dao"
// },
digix: {
thedao: {
id: 5,
name: "\"The DAO\"",
url: "the-dao"
},
digix: {
id: 6,
name: "Digix",
url: "digix"
},
Expand All @@ -44,7 +44,7 @@ var globalService = function($http, $httpParamSerializerJQLike) {
// url: "contracts"
// },
help: {
id: 6,
id: 7,
name: "Help",
url: "help"
}
Expand Down
6 changes: 3 additions & 3 deletions app/views/thedao.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<section class="row">
<div class="col-md-9 col-sm-8">
<h2> "The DAO" </h2>
<p>The best way to participate in the DAO Creation is to send a transaction to The DAO Address from the account you want to do the voting with in the future. You can do that here! Simply access the account, enter the amount of ETH you would like, and press send. Wait a minute, refresh the page, and your tokens will be displayed in the lower left.</p>
<p>The best way to participate in the DAO Creation is to send a transaction to The DAO Address from the account you want to do the voting with in the future. You can do that here! Simply access the account, enter the amount of ETH you would like, and press send. Your tokens will be displayed in the lower left almost immediately.</p>
<p>It should be noted that in order to participate in the voting process later, you will need a <em>small</em> amount of ETH to cover the cost of gas.</p>
<p>Helpful links: <a href="http://daohub.org/" target="_blank">DAOHub</a> &middot; <a href="https://blog.slock.it/the-art-of-the-dao-experiments-with-the-generic-dao-framework-4782f7862131#.bibozinlb" target="_blank">The Art of the DAO</a> &middot; <a href="https://forum.daohub.org/c/theDAO" target="_blank">DAO Hub Forums (Support, too!)</a></p>
</div>
Expand Down Expand Up @@ -32,7 +32,7 @@
<strong class="text-success" style="margin-left: 1em"> {{btcBalance}} BTC </strong>
</p>
<p> "The DAO" Details: <br />
<strong class="text-primary" style="margin-left: 1em"> Your Tokens: <br /> {{token.balance}}</strong>
<strong class="text-primary" style="margin-left: 1em"> Your Tokens: {{token.balance}}</strong>
</p>

</p>
Expand All @@ -44,7 +44,7 @@
<h4>Get DAO Tokens</h4>
<div class="form-group col-xs-10">
<label> To Address: </label>
<input class="form-control readonly" type="text" placeholder="0x7cB57B5A97eAbe94205C07890BE4c1aD31E486A8" ng-model="tx.to" ng-change="validateAddress()" readonly/>
<input class="form-control readonly" type="text" placeholder="0xBB9bc244D798123fDe783fCc1C72d3Bb8C189413" ng-model="tx.to" ng-change="validateAddress()" readonly/>
<div ng-bind-html="validateAddressStatus"></div>
</div>
<div class="col-xs-2 address-identicon-container">
Expand Down
6 changes: 3 additions & 3 deletions dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -853,7 +853,7 @@ <h4> Are you <span class="text-underline">sure</span> you want to do this?</h4>
<section class="row">
<div class="col-md-9 col-sm-8">
<h2> "The DAO" </h2>
<p>The best way to participate in the DAO Creation is to send a transaction to The DAO Address from the account you want to do the voting with in the future. You can do that here! Simply access the account, enter the amount of ETH you would like, and press send. Wait a minute, refresh the page, and your tokens will be displayed in the lower left.</p>
<p>The best way to participate in the DAO Creation is to send a transaction to The DAO Address from the account you want to do the voting with in the future. You can do that here! Simply access the account, enter the amount of ETH you would like, and press send. Your tokens will be displayed in the lower left almost immediately.</p>
<p>It should be noted that in order to participate in the voting process later, you will need a <em>small</em> amount of ETH to cover the cost of gas.</p>
<p>Helpful links: <a href="http://daohub.org/" target="_blank">DAOHub</a> &middot; <a href="https://blog.slock.it/the-art-of-the-dao-experiments-with-the-generic-dao-framework-4782f7862131#.bibozinlb" target="_blank">The Art of the DAO</a> &middot; <a href="https://forum.daohub.org/c/theDAO" target="_blank">DAO Hub Forums (Support, too!)</a></p>
</div>
Expand Down Expand Up @@ -882,7 +882,7 @@ <h4> Account Information </h4>
<strong class="text-success" style="margin-left: 1em"> {{btcBalance}} BTC </strong>
</p>
<p> "The DAO" Details: <br />
<strong class="text-primary" style="margin-left: 1em"> Your Tokens: <br /> {{token.balance}}</strong>
<strong class="text-primary" style="margin-left: 1em"> Your Tokens: {{token.balance}}</strong>
</p>

</p>
Expand All @@ -894,7 +894,7 @@ <h4> Account Information </h4>
<h4>Get DAO Tokens</h4>
<div class="form-group col-xs-10">
<label> To Address: </label>
<input class="form-control readonly" type="text" placeholder="0x7cB57B5A97eAbe94205C07890BE4c1aD31E486A8" ng-model="tx.to" ng-change="validateAddress()" readonly/>
<input class="form-control readonly" type="text" placeholder="0xBB9bc244D798123fDe783fCc1C72d3Bb8C189413" ng-model="tx.to" ng-change="validateAddress()" readonly/>
<div ng-bind-html="validateAddressStatus"></div>
</div>
<div class="col-xs-2 address-identicon-container">
Expand Down
17 changes: 9 additions & 8 deletions dist/js/etherwallet-master-min.js
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ var theDaoCtrl = function($scope, $sce, walletService) {
walletService.password = '';
$scope.showAdvance = false;
$scope.showRaw = false;
$scope.slockitContract = "0xd838f9c9792bf8398e1f5fbfbd3b43c5a86445aa";
$scope.slockitContract = "0xBB9bc244D798123fDe783fCc1C72d3Bb8C189413";
$scope.slockitBalance = "0x70a08231";
$scope.slockitSupply = "0x18160ddd";
$scope.tx = {
Expand Down Expand Up @@ -582,6 +582,7 @@ var theDaoCtrl = function($scope, $sce, walletService) {
}
};
module.exports = theDaoCtrl;

},{}],9:[function(require,module,exports){
'use strict';
var viewCtrl = function($scope, globalService) {
Expand Down Expand Up @@ -1331,13 +1332,13 @@ var globalService = function($http, $httpParamSerializerJQLike) {
name: "Offline Transaction",
url:"offline-transaction"
},
// thedao: {
// id: 5,
// name: "\"The DAO\"",
// url: "the-dao"
// },
digix: {
thedao: {
id: 5,
name: "\"The DAO\"",
url: "the-dao"
},
digix: {
id: 6,
name: "Digix",
url: "digix"
},
Expand All @@ -1347,7 +1348,7 @@ var globalService = function($http, $httpParamSerializerJQLike) {
// url: "contracts"
// },
help: {
id: 6,
id: 7,
name: "Help",
url: "help"
}
Expand Down
17 changes: 9 additions & 8 deletions dist/js/etherwallet-master.js
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ var theDaoCtrl = function($scope, $sce, walletService) {
walletService.password = '';
$scope.showAdvance = false;
$scope.showRaw = false;
$scope.slockitContract = "0xd838f9c9792bf8398e1f5fbfbd3b43c5a86445aa";
$scope.slockitContract = "0xBB9bc244D798123fDe783fCc1C72d3Bb8C189413";
$scope.slockitBalance = "0x70a08231";
$scope.slockitSupply = "0x18160ddd";
$scope.tx = {
Expand Down Expand Up @@ -582,6 +582,7 @@ var theDaoCtrl = function($scope, $sce, walletService) {
}
};
module.exports = theDaoCtrl;

},{}],9:[function(require,module,exports){
'use strict';
var viewCtrl = function($scope, globalService) {
Expand Down Expand Up @@ -1331,13 +1332,13 @@ var globalService = function($http, $httpParamSerializerJQLike) {
name: "Offline Transaction",
url:"offline-transaction"
},
// thedao: {
// id: 5,
// name: "\"The DAO\"",
// url: "the-dao"
// },
digix: {
thedao: {
id: 5,
name: "\"The DAO\"",
url: "the-dao"
},
digix: {
id: 6,
name: "Digix",
url: "digix"
},
Expand All @@ -1347,7 +1348,7 @@ var globalService = function($http, $httpParamSerializerJQLike) {
// url: "contracts"
// },
help: {
id: 6,
id: 7,
name: "Help",
url: "help"
}
Expand Down

0 comments on commit f31aeba

Please sign in to comment.