OriginToken.deployed().then(function(instance) { meta = instance; });
meta.getBalance.call(account).then(function(myBal) { balance = myBal; });
meta.balanceOf.call(account).then(function(myBal) { balance = myBal; });
var meta; var balance; var accounts; var account;
web3.eth.getAccounts(function(e,a) { accounts=a; account = accounts[0];});
account = accounts[0];
OriginToken.deployed().then(function(instance) { meta = instance; });
meta.balanceOf.call(account).then(function(myBal) { balance = myBal; console.log(myBal) });
balance.toString(10);
TutorialToken.deployed().then(function(instance) { meta = instance; });
var meta; var balance; var accounts; var account; web3.eth.getAccounts(function(e,a) { accounts=a; account = accounts[0];});
OriginToken.deployed().then(function(instance) { meta = instance; }); meta.balanceOf.call(account).then(function(myBal) { balance = myBal; console.log(myBal) });
TutorialToken.deployed().then(function(instance) { meta = instance; }); meta.balanceOf.call(account).then(function(myBal) { balance = myBal; console.log(myBal) });
TutorialToken.deployed().then(function(instance) { meta = instance; }); meta.balanceOf.call(account).then(function(myBal) { balance = myBal; console.log(myBal) });
TutorialToken.deployed().then(function(instance) { meta = instance; }); meta.balanceOf.call(account).then(function(myBal) { balance = myBal; console.log(myBal) });
TutorialToken.deployed().then(function(instance) { meta = instance; }); meta.transferFrom(account, "0xf17f52151EbEF6C7334FAD080c5704D77216b732", 100, { from: account, gas: 4476768 }).then(function(tx) { console.log(tx) });
https://medium.com/cardstack/upgradable-contracts-in-solidity-d5af87f0f913