Skip to content

Commit

Permalink
Breaking out migrations and updating etherscan contract address.
Browse files Browse the repository at this point in the history
  • Loading branch information
dob committed Nov 1, 2016
1 parent 803f653 commit 491dcb2
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app/javascripts/createAuction.js
Expand Up @@ -5,7 +5,7 @@ var currentBlockNumber;
var auctionHouseContract;
var sampleNameContract;

var infoBoxHTMLCreate = "<p>Here's where you can create an auction to auction off any on-chain item you own that conforms to the <a href='https://testnet.etherscan.io/address/0x73e4fce33c5908aa3cdd3c93c4ce7d181c2db7f4'>Asset contract</a>. Since this is a prototype and very few contracts adhere to this, you have the chance to register a 'name' that does, so you can create a test auction. First register any name, such as myname.address, and when that transaction confirms, create an auction for that same name.</p><p>After successful auction creation, you can visit the page for that auction to activate it.</p>";
var infoBoxHTMLCreate = "<p>Here's where you can create an auction to auction off any on-chain item you own that conforms to the <a href='https://testnet.etherscan.io/address/0x131bec75342a54ffea3087bda5ba720394c486a9#code'>Asset contract</a>. Since this is a prototype and very few contracts adhere to this, you have the chance to register a 'name' that does, so you can create a test auction. First register any name, such as myname.address, and when that transaction confirms, create an auction for that same name.</p><p>After successful auction creation, you can visit the page for that auction to activate it.</p>";

function updateAuctions() {
var auctionSection = document.getElementById("userAuctions");
Expand Down
5 changes: 4 additions & 1 deletion contracts/Migrations.sol
@@ -1,9 +1,12 @@
pragma solidity ^0.4.2;

contract Migrations {
address public owner;
uint public last_completed_migration;

modifier restricted() {
if (msg.sender == owner) _
if (msg.sender == owner)
_;
}

function Migrations() {
Expand Down
2 changes: 0 additions & 2 deletions migrations/2_deploy_contracts.js
@@ -1,5 +1,3 @@
module.exports = function(deployer) {
deployer.deploy(SampleName)
deployer.autolink();
deployer.deploy(AuctionHouse)
};
3 changes: 3 additions & 0 deletions migrations/3_deploy_auctionhouse.js
@@ -0,0 +1,3 @@
module.exports = function(deployer) {
deployer.deploy(AuctionHouse)
};
2 changes: 1 addition & 1 deletion truffle.js
Expand Up @@ -53,7 +53,7 @@ module.exports = {
},
"modern": {
network_id: 2,
gas: 500000
gas: 4612388
},
"live": {
network_id: 1
Expand Down

0 comments on commit 491dcb2

Please sign in to comment.