proofofphone/scripts/config.json

17 lines
4.5 KiB
JSON

{
"environment": "live",
"Ethereum": {
"live": {
"rpc": "http://127.0.0.1:8540",
"account": "0x0000000000000000000000000000000000000000",
"contractAddress": "0x6d57f4a5509f80966ea0abefa71a67526e7bf549"
},
"contracts": {
"ProofOfPhone": {
"bin": "0x6060604052341561000f57600080fd5b5b6106088061001f6000396000f300606060405236156100805763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416630367966681146100855780633404fe32146100b75780634d389f13146100d257806371d01c7314610125578063b958a5e114610156578063ceaecc8414610187578063fe97ee88146101b9575b600080fd5b341561009057600080fd5b61009b6004356101ec565b604051600160a060020a03909116815260200160405180910390f35b34156100c257600080fd5b6100d060043560243561020a565b005b34156100dd57600080fd5b6100d060046024813581810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284375094965061027695505050505050565b005b341561013057600080fd5b610144600160a060020a036004351661055c565b60405190815260200160405180910390f35b341561016157600080fd5b610144600160a060020a036004351661056e565b60405190815260200160405180910390f35b341561019257600080fd5b61009b60043561058d565b604051600160a060020a03909116815260200160405180910390f35b34156101c457600080fd5b6101d8600160a060020a03600435166105a8565b604051901515815260200160405180910390f35b600081815260016020526040902054600160a060020a03165b919050565b604080519081016040908152838252600160a060020a0333166020808401919091526000848152600290915220815181556020820151600191909101805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03909216919091179055505b5050565b33600160a060020a031660026000836040518082805190602001908083835b602083106102b557805182525b601f199092019160209182019101610295565b6001836020036101000a03801982511681845116179092525050509190910192506040915050519081900390208152602081019190915260400160002060010154600160a060020a03161461030957600080fd5b60026000826040518082805190602001908083835b6020831061033e57805182525b601f19909201916020918201910161031e565b6001836020036101000a038019825116818451161790925250505091909101925060409150505180910390206000191660001916815260200190815260200160002060010160009054906101000a9004600160a060020a03166001600060026000856040518082805190602001908083835b602083106103d057805182525b601f1990920191602091820191016103b0565b6001836020036101000a038019825116818451161790925250505091909101925060409150505180910390206000191660001916815260200190815260200160002060000154815260200190815260200160002060006101000a815481600160a060020a030219169083600160a060020a0316021790555060026000826040518082805190602001908083835b6020831061047d57805182525b601f19909201916020918201910161045d565b6001836020036101000a03801982511681845116179092525050509190910192506040915050518091039020600019166000191681526020019081526020016000206000015460008060026000856040518082805190602001908083835b602083106104fb57805182525b601f1990920191602091820191016104db565b6001836020036101000a038019825116818451161790925250505091909101925060409150505190819003902081526020808201929092526040908101600090812060010154600160a060020a031684529183019390935291019020555b50565b60006020819052908152604090205481565b600160a060020a0381166000908152602081905260409020545b919050565b600160205260009081526040902054600160a060020a031681565b600160a060020a038116600090815260208190526040812054156105ce57506001610205565b506000610205565b5b9190505600a165627a7a7230582001f6d5fa87504d8f1f0cd285c0699d4d272045de9891d01aa2440fc2ddaa78c90029",
"abi": [{"constant":true,"inputs":[{"name":"phone","type":"uint256"}],"name":"getAddressByPhone","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"phone","type":"uint256"},{"name":"token","type":"bytes32"}],"name":"newToken","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"code","type":"string"}],"name":"activatePair","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"addressPhonePair","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"addr","type":"address"}],"name":"getPhoneByAddress","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"phoneAddressPair","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"addr","type":"address"}],"name":"hasPhone","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"}]
}
}
}
}