Created
September 28, 2017 08:04
-
-
Save sarbogast/fa6ea2cf3389a89fd38753526527f9a1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MacBook-Pro:chainlist-01-sell-contract-end sarbogast$ truffle migrate | |
Compiling ./contracts/ChainList.sol... | |
Compiling ./contracts/Migrations.sol... | |
Writing artifacts to ./build/contracts | |
Using network 'development'. | |
Running migration: 1_initial_migration.js | |
Deploying Migrations... | |
... 0x8d58016169d16d932cf1f35d3c4df926b4d75cb1da8f59fe2cde4477907c8aa5 | |
Migrations: 0x53baceb31e5cc00e0c6fdc68c1177414d8ef3e59 | |
Saving successful migration to network... | |
... 0x0dc33e2f8392b30d82ee0cd40796d3af587f616cebca1520518ce21c3d54ac17 | |
Saving artifacts... | |
Running migration: 2_deploy_contracts.js | |
Deploying ChainList... | |
... 0xa9c4ce703be9aa09aca8fc5e56431a2ae2597a533357679aeba61964d41a1ca3 | |
ChainList: 0xe3170650c431ccca800ba09a5a05fe1ca09bd020 | |
Saving successful migration to network... | |
... 0x489c5d601e95c83967868310429510e06c3cf5f594ef0e19fc17f49cc3c500dd | |
Saving artifacts... | |
MacBook-Pro:chainlist-01-sell-contract-end sarbogast$ truffle console | |
truffle(development)> ChainList.address | |
'0xe3170650c431ccca800ba09a5a05fe1ca09bd020' | |
truffle(development)> ChainList.deployed().then(function(instance){app=instance;}) | |
undefined | |
truffle(development)> app | |
TruffleContract { | |
constructor: | |
{ [Function: TruffleContract] | |
_static_methods: | |
{ setProvider: [Function: setProvider], | |
new: [Function: new], | |
at: [Function: at], | |
deployed: [Function: deployed], | |
defaults: [Function: defaults], | |
hasNetwork: [Function: hasNetwork], | |
isDeployed: [Function: isDeployed], | |
detectNetwork: [Function: detectNetwork], | |
setNetwork: [Function: setNetwork], | |
resetAddress: [Function: resetAddress], | |
link: [Function: link], | |
clone: [Function: clone], | |
addProp: [Function: addProp], | |
toJSON: [Function: toJSON] }, | |
_properties: | |
{ contract_name: [Object], | |
abi: [Object], | |
network: [Function: network], | |
networks: [Function: networks], | |
address: [Object], | |
links: [Function: links], | |
events: [Function: events], | |
binary: [Function: binary], | |
unlinked_binary: [Object], | |
schema_version: [Function: schema_version], | |
updated_at: [Function: updated_at] }, | |
_property_values: {}, | |
_json: | |
{ contract_name: 'ChainList', | |
default_network: undefined, | |
abi: [Object], | |
unlinked_binary: '0x6060604052341561000f57600080fd5b5b6104c48061001f6000396000f300606060405263ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663c37218a68114610048578063d260951514610163575b600080fd5b341561005357600080fd5b61005b6101fa565b60405173ffffffffffffffffffffffffffffffffffffffff8516815260608101829052608060208201818152906040830190830186818151815260200191508051906020019080838360005b838110156100c05780820151818401525b6020016100a7565b50505050905090810190601f1680156100ed5780820380516001836020036101000a031916815260200191505b50838103825285818151815260200191508051906020019080838360005b838110156101245780820151818401525b60200161010b565b50505050905090810190601f1680156101515780820380516001836020036101000a031916815260200191505b50965050505050505060405180910390f35b341561016e57600080fd5b6101f860046024813581810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284378201915050505050509190803590602001908201803590602001908080601f016020809104026020016040519081016040528181529291906020840183838082843750949650509335935061037e92505050565b005b60006102046103e6565b61020c6103e6565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660016002600354828054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156102cc5780601f106102a1576101008083540402835291602001916102cc565b820191906000526020600020905b8154815290600101906020018083116102af57829003601f168201915b50505050509250818054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156103685780601f1061033d57610100808354040283529160200191610368565b820191906000526020600020905b81548152906001019060200180831161034b57829003601f168201915b5050505050915093509350935093505b90919293565b6000805473ffffffffffffffffffffffffffffffffffffffff19163373ffffffffffffffffffffffffffffffffffffffff1617905560018380516103c69291602001906103f8565b5060028280516103da9291602001906103f8565b5060038190555b505050565b60206040519081016040526000815290565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061043957805160ff1916838001178555610466565b82800160010185558215610466579182015b8281111561046657825182559160200191906001019061044b565b5b50610473929150610477565b5090565b61049591905b80821115610473576000815560010161047d565b5090565b905600a165627a7a723058206f9291569b14b74b48500a650fe1afb7a0e5dee92eb2252aaebe5770a1f3462f0029', | |
networks: [Object], | |
schema_version: '0.0.5', | |
updated_at: 1506585800219 }, | |
setProvider: [Function: bound setProvider], | |
new: [Function: bound new], | |
at: [Function: bound at], | |
deployed: [Function: bound deployed], | |
defaults: [Function: bound defaults], | |
hasNetwork: [Function: bound hasNetwork], | |
isDeployed: [Function: bound isDeployed], | |
detectNetwork: [Function: bound detectNetwork], | |
setNetwork: [Function: bound setNetwork], | |
resetAddress: [Function: bound resetAddress], | |
link: [Function: bound link], | |
clone: [Function: bound clone], | |
addProp: [Function: bound addProp], | |
toJSON: [Function: bound toJSON], | |
web3: | |
Web3 { | |
_requestManager: [Object], | |
currentProvider: [Object], | |
eth: [Object], | |
db: [Object], | |
shh: [Object], | |
net: [Object], | |
personal: [Object], | |
bzz: [Object], | |
settings: [Object], | |
version: [Object], | |
providers: [Object], | |
_extend: [Object] }, | |
class_defaults: | |
{ from: '0xf14dcce8923a83650cf476dfcde4ee3e7432b8da', | |
gas: 4712388, | |
gasPrice: 100000000000 }, | |
currentProvider: | |
HttpProvider { | |
host: 'http://localhost:8545', | |
timeout: 0, | |
send: [Function], | |
sendAsync: [Function], | |
_alreadyWrapped: true }, | |
network_id: '1506585782418' }, | |
abi: | |
[ { constant: true, | |
inputs: [], | |
name: 'getArticle', | |
outputs: [Object], | |
payable: false, | |
type: 'function' }, | |
{ constant: false, | |
inputs: [Object], | |
name: 'sellArticle', | |
outputs: [], | |
payable: false, | |
type: 'function' } ], | |
contract: | |
Contract { | |
_eth: | |
Eth { | |
_requestManager: [Object], | |
getBalance: [Object], | |
getStorageAt: [Object], | |
getCode: [Object], | |
getBlock: [Object], | |
getUncle: [Object], | |
getCompilers: [Object], | |
getBlockTransactionCount: [Object], | |
getBlockUncleCount: [Object], | |
getTransaction: [Object], | |
getTransactionFromBlock: [Object], | |
getTransactionReceipt: [Object], | |
getTransactionCount: [Object], | |
call: [Object], | |
estimateGas: [Object], | |
sendRawTransaction: [Object], | |
signTransaction: [Object], | |
sendTransaction: [Object], | |
sign: [Object], | |
compile: [Object], | |
submitWork: [Object], | |
getWork: [Object], | |
coinbase: [Getter], | |
getCoinbase: [Object], | |
mining: [Getter], | |
getMining: [Object], | |
hashrate: [Getter], | |
getHashrate: [Object], | |
syncing: [Getter], | |
getSyncing: [Object], | |
gasPrice: [Getter], | |
getGasPrice: [Object], | |
accounts: [Getter], | |
getAccounts: [Object], | |
blockNumber: [Getter], | |
getBlockNumber: [Object], | |
protocolVersion: [Getter], | |
getProtocolVersion: [Object], | |
iban: [Object], | |
sendIBANTransaction: [Function: bound transfer] }, | |
transactionHash: null, | |
address: '0xe3170650c431ccca800ba09a5a05fe1ca09bd020', | |
abi: [ [Object], [Object] ], | |
getArticle: | |
{ [Function: bound ] | |
request: [Function: bound ], | |
call: [Function: bound ], | |
sendTransaction: [Function: bound ], | |
estimateGas: [Function: bound ], | |
getData: [Function: bound ], | |
'': [Circular] }, | |
sellArticle: | |
{ [Function: bound ] | |
request: [Function: bound ], | |
call: [Function: bound ], | |
sendTransaction: [Function: bound ], | |
estimateGas: [Function: bound ], | |
getData: [Function: bound ], | |
'string,string,uint256': [Circular] }, | |
allEvents: [Function: bound ] }, | |
getArticle: | |
{ [Function] | |
call: [Function], | |
sendTransaction: [Function], | |
request: [Function: bound ], | |
estimateGas: [Function] }, | |
sellArticle: | |
{ [Function] | |
call: [Function], | |
sendTransaction: [Function], | |
request: [Function: bound ], | |
estimateGas: [Function] }, | |
sendTransaction: [Function], | |
send: [Function], | |
allEvents: [Function: bound ], | |
address: '0xe3170650c431ccca800ba09a5a05fe1ca09bd020', | |
transactionHash: null } | |
truffle(development)> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment