-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathweb3deploys
61 lines (48 loc) · 23.3 KB
/
web3deploys
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
var untitled_otmmandateContract = web3.eth.contract([{"anonymous":false,"inputs":[{"indexed":false,"name":"requestor","type":"address"}],"name":"InvalidAccess","type":"event"}]);
var untitled_otmmandate = untitled_otmmandateContract.new(
{
from: web3.eth.accounts[0],
data: '0x60606040523415600b57fe5b5b60338060196000396000f30060606040525bfe00a165627a7a723058207c619e77f9b6382110b46b7c472e50c1c7eaa6b65709e0620f291730bee07c2e0029',
gas: '4700000'
}, function (e, contract){
console.log(e, contract);
if (typeof contract.address !== 'undefined') {
console.log('Contract mined! address: ' + contract.address + ' transactionHash: ' + contract.transactionHash);
}
})
var untitled_investorprocessContract = web3.eth.contract([{"constant":false,"inputs":[{"name":"signature","type":"bytes"},{"name":"mandateID","type":"uint256"}],"name":"investorSignature","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[],"name":"getMandateIDforInvestor","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[],"name":"getMandateDetails","outputs":[{"name":"","type":"uint256"},{"name":"","type":"string"},{"name":"","type":"bytes"},{"name":"","type":"address"},{"name":"","type":"address"},{"name":"","type":"uint256"},{"name":"","type":"uint8"},{"name":"","type":"bool"},{"name":"","type":"bool"}],"payable":false,"type":"function"},{"anonymous":false,"inputs":[{"indexed":false,"name":"requestor","type":"address"}],"name":"InvalidAccess","type":"event"}]);
var untitled_investorprocess = untitled_investorprocessContract.new(
{
from: web3.eth.accounts[0],
data: '0x6060604052341561000c57fe5b5b6109be8061001c6000396000f30060606040526000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff168063667b825b14610051578063cb1cdeec146100b4578063f5be51d9146100da575bfe5b341561005957fe5b6100b2600480803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509190803590602001909190505061028c565b005b34156100bc57fe5b6100c4610438565b6040518082815260200191505060405180910390f35b34156100e257fe5b6100ea610521565b604051808a815260200180602001806020018973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200187815260200186600581111561017257fe5b60ff168152602001851515151581526020018415151515815260200183810383528b8181518152602001915080519060200190808383600083146101d5575b8051825260208311156101d5576020820191506020810190506020830392506101b1565b505050905090810190601f1680156102015780820380516001836020036101000a031916815260200191505b5083810382528a818151815260200191508051906020019080838360008314610249575b80518252602083111561024957602082019150602081019050602083039250610225565b505050905090810190601f1680156102755780820380516001836020036101000a031916815260200191505b509b50505050505050505050505060405180910390f35b6002600082815260200190815260200160002060020160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610361577f84fa6f710264d2dd730161da5cd5469fe7e7c1ab9178114d24314d418998168f33604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a160006000fd5b6002600581111561036e57fe5b6002600084815260200190815260200160002060050160009054906101000a900460ff16600581111561039d57fe5b141561043157826002600084815260200190815260200160002060010190805190602001906103cd929190610899565b5060036002600084815260200190815260200160002060050160006101000a81548160ff0219169083600581111561040157fe5b02179055506001805480600101828161041a9190610919565b916000526020600020900160005b84909190915055505b5b5b505050565b6000338073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156104d9577f84fa6f710264d2dd730161da5cd5469fe7e7c1ab9178114d24314d418998168f33604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a160006000fd5b600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205491505b5b5090565b600061052b610945565b610533610959565b6000600060006000600060006000338073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156105e0577f84fa6f710264d2dd730161da5cd5469fe7e7c1ab9178114d24314d418998168f33604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a160006000fd5b600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205491508160026000848152602001908152602001600020600001600260008581526020019081526020016000206001016002600086815260200190815260200160002060020160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166002600087815260200190815260200160002060030160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660026000888152602001908152602001600020600401546002600089815260200190815260200160002060050160009054906101000a900460ff16600260008a815260200190815260200160002060050160019054906101000a900460ff16600260008b815260200190815260200160002060050160029054906101000a900460ff16878054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156107d55780601f106107aa576101008083540402835291602001916107d5565b820191906000526020600020905b8154815290600101906020018083116107b857829003601f168201915b50505050509750868054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156108715780601f1061084657610100808354040283529160200191610871565b820191906000526020600020905b81548152906001019060200180831161085457829003601f168201915b505050505096509a509a509a509a509a509a509a509a509a505b5b5050909192939495969798565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106108da57805160ff1916838001178555610908565b82800160010185558215610908579182015b828111156109075782518255916020019190600101906108ec565b5b509050610915919061096d565b5090565b8154818355818115116109405781836000526020600020918201910161093f919061096d565b5b505050565b602060405190810160405280600081525090565b602060405190810160405280600081525090565b61098f91905b8082111561098b576000816000905550600101610973565b5090565b905600a165627a7a7230582025cbc7c17f5eeaefbfcc7c84a8ae628bcb038b8f294ce497e78cb3046cbb50f60029',
gas: '4700000'
}, function (e, contract){
console.log(e, contract);
if (typeof contract.address !== 'undefined') {
console.log('Contract mined! address: ' + contract.address + ' transactionHash: ' + contract.transactionHash);
}
})
var untitled_camsprocessContract = web3.eth.contract([{"constant":false,"inputs":[{"name":"mandateID","type":"uint256"}],"name":"camsFinal","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"mandateID","type":"uint256"}],"name":"camsApproval","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"camsAddress","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"investorAddress","type":"address"},{"name":"bankAddress","type":"address"},{"name":"investorName","type":"string"}],"name":"newMandateRIA","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[],"name":"getCAMSMandates","outputs":[{"name":"","type":"uint256[]"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"mandateID","type":"uint256"}],"name":"getCAMSMandatesDetails","outputs":[{"name":"","type":"string"},{"name":"","type":"bytes"},{"name":"","type":"address"},{"name":"","type":"address"},{"name":"","type":"bool"},{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":false,"inputs":[],"name":"CAMS","outputs":[],"payable":false,"type":"function"},{"anonymous":false,"inputs":[{"indexed":false,"name":"requestor","type":"address"}],"name":"InvalidAccess","type":"event"}]);
var untitled_camsprocess = untitled_camsprocessContract.new(
{
from: web3.eth.accounts[0],
data: '0x6060604052341561000c57fe5b5b6110468061001c6000396000f30060606040523615610081576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680631482ba64146100835780633915b4af146100a3578063598be72d146100c35780636241e91e1461011557806362fd31b4146101c157806380f50b5c146102365780639f084b3a146103d3575bfe5b341561008b57fe5b6100a160048080359060200190919050506103e5565b005b34156100ab57fe5b6100c1600480803590602001909190505061052d565b005b34156100cb57fe5b6100d361069e565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561011d57fe5b6101ab600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803590602001908201803590602001908080601f016020809104026020016040519081016040528093929190818152602001838380828437820191505050505050919050506106c4565b6040518082815260200191505060405180910390f35b34156101c957fe5b6101d1610a48565b6040518080602001828103825283818151815260200191508051906020019060200280838360008314610223575b805182526020831115610223576020820191506020810190506020830392506101ff565b5050509050019250505060405180910390f35b341561023e57fe5b6102546004808035906020019091905050610b6a565b6040518080602001806020018773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001851515151581526020018415151515815260200183810383528981815181526020019150805190602001908083836000831461031f575b80518252602083111561031f576020820191506020810190506020830392506102fb565b505050905090810190601f16801561034b5780820380516001836020036101000a031916815260200191505b50838103825288818151815260200191508051906020019080838360008314610393575b8051825260208311156103935760208201915060208101905060208303925061036f565b505050905090810190601f1680156103bf5780820380516001836020036101000a031916815260200191505b509850505050505050505060405180910390f35b34156103db57fe5b6103e3610e75565b005b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156104a6577f84fa6f710264d2dd730161da5cd5469fe7e7c1ab9178114d24314d418998168f33604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a160006000fd5b600460058111156104b357fe5b6002600084815260200190815260200160002060050160009054906101000a900460ff1660058111156104e257fe5b141561052757600560058111156104f557fe5b6002600084815260200190815260200160002060050160009054906101000a900460ff16600581111561052457fe5b50505b5b5b5050565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156105ee577f84fa6f710264d2dd730161da5cd5469fe7e7c1ab9178114d24314d418998168f33604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a160006000fd5b600360058111156105fb57fe5b6002600084815260200190815260200160002060050160009054906101000a900460ff16600581111561062a57fe5b14156106985760016002600084815260200190815260200160002060050160026101000a81548160ff02191690831515021790555060006002600084815260200190815260200160002060050160006101000a81548160ff0219169083600581111561069257fe5b02179055505b5b5b5050565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610787577f84fa6f710264d2dd730161da5cd5469fe7e7c1ab9178114d24314d418998168f33604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a160006000fd5b6000600360008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541415610a355760006000815480929190600101919050555061010060405190810160405280848152602001604060405190810160405280600881526020017f556e7369676e656400000000000000000000000000000000000000000000000081525081526020018673ffffffffffffffffffffffffffffffffffffffff1681526020018573ffffffffffffffffffffffffffffffffffffffff16815260200160005481526020016002600581111561087d57fe5b81526020016000151581526020016000151581525060026000600054815260200190815260200160002060008201518160000190805190602001906108c3929190610eb9565b5060208201518160010190805190602001906108e0929190610f39565b5060408201518160020160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060608201518160030160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506080820151816004015560a08201518160050160006101000a81548160ff0219169083600581111561099d57fe5b021790555060c08201518160050160016101000a81548160ff02191690831515021790555060e08201518160050160026101000a81548160ff021916908315150217905550905050600054600360008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506000549150610a3f565b60009150610a3f565b5b5b509392505050565b610a50610fb9565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610b11577f84fa6f710264d2dd730161da5cd5469fe7e7c1ab9178114d24314d418998168f33604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a160006000fd5b6001805480602002602001604051908101604052809291908181526020018280548015610b5d57602002820191906000526020600020905b815481526020019060010190808311610b49575b505050505091505b5b5090565b610b72610fcd565b610b7a610fe1565b6000600060006000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610c43577f84fa6f710264d2dd730161da5cd5469fe7e7c1ab9178114d24314d418998168f33604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a160006000fd5b60026000898152602001908152602001600020600001600260008a8152602001908152602001600020600101600260008b815260200190815260200160002060020160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600260008c815260200190815260200160002060030160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600260008d815260200190815260200160002060050160019054906101000a900460ff16600260008e815260200190815260200160002060050160029054906101000a900460ff16858054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610dba5780601f10610d8f57610100808354040283529160200191610dba565b820191906000526020600020905b815481529060010190602001808311610d9d57829003601f168201915b50505050509550848054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610e565780601f10610e2b57610100808354040283529160200191610e56565b820191906000526020600020905b815481529060010190602001808311610e3957829003601f168201915b505050505094509650965096509650965096505b5b5091939550919395565b33600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10610efa57805160ff1916838001178555610f28565b82800160010185558215610f28579182015b82811115610f27578251825591602001919060010190610f0c565b5b509050610f359190610ff5565b5090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10610f7a57805160ff1916838001178555610fa8565b82800160010185558215610fa8579182015b82811115610fa7578251825591602001919060010190610f8c565b5b509050610fb59190610ff5565b5090565b602060405190810160405280600081525090565b602060405190810160405280600081525090565b602060405190810160405280600081525090565b61101791905b80821115611013576000816000905550600101610ffb565b5090565b905600a165627a7a7230582036f9d2fe493ce23b40675ca8909c99c7b915d4c42c88efa48a032447e8e67c190029',
gas: '4700000'
}, function (e, contract){
console.log(e, contract);
if (typeof contract.address !== 'undefined') {
console.log('Contract mined! address: ' + contract.address + ' transactionHash: ' + contract.transactionHash);
}
})
var untitled_bankprocessContract = web3.eth.contract([{"constant":true,"inputs":[{"name":"hash","type":"bytes32"},{"name":"v","type":"uint8"},{"name":"r","type":"bytes32"},{"name":"s","type":"bytes32"},{"name":"mandateID","type":"uint256"}],"name":"verify","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"mandateID","type":"uint256"}],"name":"getMandatesDetailsForBank","outputs":[{"name":"","type":"string"},{"name":"","type":"bytes"},{"name":"","type":"address"},{"name":"","type":"address"},{"name":"","type":"bool"},{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"mandateID","type":"uint256"},{"name":"secret","type":"string"},{"name":"v","type":"uint8"},{"name":"r","type":"bytes32"},{"name":"s","type":"bytes32"}],"name":"bankApproval","outputs":[{"name":"result","type":"bool"}],"payable":false,"type":"function"},{"anonymous":false,"inputs":[{"indexed":false,"name":"requestor","type":"address"}],"name":"InvalidAccess","type":"event"}]);
var untitled_bankprocess = untitled_bankprocessContract.new(
{
from: web3.eth.accounts[0],
data: '0x6060604052341561000c57fe5b5b610a258061001c6000396000f30060606040526000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680637d7f9127146100515780638c33d297146100bc578063d5175d6314610259575bfe5b341561005957fe5b6100a260048080356000191690602001909190803560ff1690602001909190803560001916906020019091908035600019169060200190919080359060200190919050506102fa565b604051808215151515815260200191505060405180910390f35b34156100c457fe5b6100da60048080359060200190919050506104a8565b6040518080602001806020018773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200185151515158152602001841515151581526020018381038352898181518152602001915080519060200190808383600083146101a5575b8051825260208311156101a557602082019150602081019050602083039250610181565b505050905090810190601f1680156101d15780820380516001836020036101000a031916815260200191505b50838103825288818151815260200191508051906020019080838360008314610219575b805182526020831115610219576020820191506020810190506020830392506101f5565b505050905090810190601f1680156102455780820380516001836020036101000a031916815260200191505b509850505050505050505060405180910390f35b341561026157fe5b6102e0600480803590602001909190803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509190803560ff1690602001909190803560001916906020019091908035600019169060200190919050506107c7565b604051808215151515815260200191505060405180910390f35b60006103046109d1565b6000604060405190810160405280601c81526020017f19457468657265756d205369676e6564204d6573736167653a0a333200000000815250915081886040518083805190602001908083835b602083106103745780518252602082019150602081019050602083039250610351565b6001836020036101000a038019825116818451168082178552505050505050905001826000191660001916815260200192505050604051809103902090506002600085815260200190815260200160002060020160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16600182898989604051806000526020016040526000604051602001526040518085600019166000191681526020018460ff1660ff16815260200183600019166000191681526020018260001916600019168152602001945050505050602060405160208103908084039060008661646e5a03f1151561047a57fe5b50506020604051035173ffffffffffffffffffffffffffffffffffffffff161492505b505095945050505050565b6104b06109e5565b6104b86109d1565b60006000600060006002600088815260200190815260200160002060030160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610595577f84fa6f710264d2dd730161da5cd5469fe7e7c1ab9178114d24314d418998168f33604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a160006000fd5b60026000898152602001908152602001600020600001600260008a8152602001908152602001600020600101600260008b815260200190815260200160002060020160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600260008c815260200190815260200160002060030160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600260008d815260200190815260200160002060050160019054906101000a900460ff16600260008e815260200190815260200160002060050160029054906101000a900460ff16858054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561070c5780601f106106e15761010080835404028352916020019161070c565b820191906000526020600020905b8154815290600101906020018083116106ef57829003601f168201915b50505050509550848054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156107a85780601f1061077d576101008083540402835291602001916107a8565b820191906000526020600020905b81548152906001019060200180831161078b57829003601f168201915b505050505094509650965096509650965096505b5b5091939550919395565b60006002600087815260200190815260200160002060030160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561089e577f84fa6f710264d2dd730161da5cd5469fe7e7c1ab9178114d24314d418998168f33604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a160006000fd5b600060058111156108ab57fe5b6002600089815260200190815260200160002060050160009054906101000a900460ff1660058111156108da57fe5b14156109c55761094d866040518082805190602001908083835b6020831061091757805182526020820191506020810190506020830392506108f4565b6001836020036101000a03801982511681845116808217855250505050505090500191505060405180910390208686868b6102fa565b915060011515821515141561098c5760016002600089815260200190815260200160002060050160016101000a81548160ff0219169083151502179055505b60046002600089815260200190815260200160002060050160006101000a81548160ff021916908360058111156109bf57fe5b02179055505b5b5b5095945050505050565b602060405190810160405280600081525090565b6020604051908101604052806000815250905600a165627a7a7230582052aa5aa0dc14ea750b04cd45b5a18de1fb65949037a9bdd0623ed6a577f6900e0029',
gas: '4700000'
}, function (e, contract){
console.log(e, contract);
if (typeof contract.address !== 'undefined') {
console.log('Contract mined! address: ' + contract.address + ' transactionHash: ' + contract.transactionHash);
}
})