poa-bridge/jsTests/config.json

400 lines
22 KiB
JSON
Raw Normal View History

2017-10-04 19:56:14 -07:00
{
"rpc": "http://localhost:8555",
"contract": {
"right": {
"bin": "0x6060604052341561000f57600080fd5b604051610dcf380380610dcf833981016040528080519190602001805190910190505b81151561003e57600080fd5b805182111561004c57600080fd5b6000829055600181805161006492916020019061006d565b505b5050610100565b8280548282559060005260206000209081019282156100c4579160200282015b828111156100c45782518254600160a060020a031916600160a060020a03919091161782556020929092019160019091019061008d565b5b506100d19291506100d5565b5090565b6100fd91905b808211156100d1578054600160a060020a03191681556001016100db565b5090565b90565b610cc08061010f6000396000f3006060604052361561008b5763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416631812d996811461009057806326b3293f1461012157806327e235e314610148578063490a32c614610179578063494503d414610207578063630cea8e146102395780638d068043146102ce578063e1ad1162146102f3575b600080fd5b341561009b57600080fd5b6100a960043560243561031c565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156100e65780820151818401525b6020016100cd565b50505050905090810190601f1680156101135780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561012c57600080fd5b610146600160a060020a03600435166024356044356103f2565b005b341561015357600080fd5b610167600160a060020a036004351661060a565b60405190815260200160405180910390f35b341561018457600080fd5b6100a960043561061c565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156100e65780820151818401525b6020016100cd565b50505050905090810190601f1680156101135780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561021257600080fd5b61021d6004356106db565b604051600160a060020a03909116815260200160405180910390f35b341561024457600080fd5b61014660046024813581810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284378201915050505050509190803590602001908201803590602001908080601f01602080910402602001604051908101604052818152929190602084018383808284375094965061070d95505050505050565b005b34156102d957600080fd5b6101676109af565b60405190815260200160405180910390f35b34156102fe57600080fd5b610146600160a060020a036004351660243560443515156109b5565b005b610324610b1c565b600083815260046020526040902060020180548390811061034157fe5b906000526020600020900160005b508054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156103e45780601f106103b9576101008083540402835291602001916103e4565b820191906000526020600020905b8154815290600101906020018083116103c757829003601f168201915b505050505090505b92915050565b600061046133600180548060200260200160405190810160405280929190818152602001828054801561044e57602002820191906000526020600020905b8154600160a060020a03168152600190910190602001808311610430575b5050505050610ac290919063ffffffff16565b151561046c57600080fd5b838383604051600160a060020a03939093166c01000000000000000000000000028352601483019190915260348201526054016040518091039020905061052f3360036000846000191660001916815260200190815260200160002080548060200260200160405190810160405280929190818152602001828054801561044e57602002820191906000526020600020905b8154600160a060020a03168152600190910190602001808311610430575b5050505050610ac290919063ffffffff16565b1561053957600080fd5b60008181526003602052604090208054600181016105578382610b2e565b916000526020600020900160005b8154600160a060020a033381166101009390930a9283029202191617905550600080548282526003602052604090912054141561060257600160a060020a038416600090815260026020526040908190208054850190557fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c908590859051600160a060020a03909216825260208201526040908101905180910390a15b5b5b50505050565b60026020526000908152604090205481565b610624610b1c565b600082815260046020908152604091829020805490926002610100600184161502600019019092169190910491601f8301819004810201905190810160405280929190818152602001828054600181600116156101000203166002900480156106ce5780601f106106a3576101008083540402835291602001916106ce565b820191906000526020600020905b8154815290600101906020018083116106b157829003601f168201915b505050505090505b919050565b60018054829081106106e957
"abi": [
{
"constant": true,
"inputs": [
{
"name": "hash",
"type": "bytes32"
},
{
"name": "index",
"type": "uint256"
}
],
"name": "signature",
"outputs": [
{
"name": "",
"type": "bytes"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "recipient",
"type": "address"
},
{
"name": "value",
"type": "uint256"
},
{
"name": "transactionHash",
"type": "bytes32"
}
],
"name": "deposit",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "",
"type": "address"
}
],
"name": "balances",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "hash",
"type": "bytes32"
}
],
"name": "message",
"outputs": [
{
"name": "",
"type": "bytes"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [
{
"name": "",
"type": "uint256"
}
],
"name": "authorities",
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "signature",
"type": "bytes"
},
{
"name": "message",
"type": "bytes"
}
],
"name": "submitSignature",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "requiredSignatures",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "recipient",
"type": "address"
},
{
"name": "value",
"type": "uint256"
},
{
"name": "externalTransfer",
"type": "bool"
}
],
"name": "transfer",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"name": "n",
"type": "uint256"
},
{
"name": "a",
"type": "address[]"
}
],
"payable": false,
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"name": "recipient",
"type": "address"
},
{
"indexed": false,
"name": "value",
"type": "uint256"
}
],
"name": "Deposit",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"name": "recipient",
"type": "address"
},
{
"indexed": false,
"name": "value",
"type": "uint256"
}
],
"name": "Withdraw",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"name": "from",
"type": "address"
},
{
"indexed": false,
"name": "to",
"type": "address"
},
{
"indexed": false,
"name": "value",
"type": "uint256"
}
],
"name": "Transfer",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"name": "authority",
"type": "address"
},
{
"indexed": false,
"name": "messageHash",
"type": "bytes32"
}
],
"name": "CollectedSignatures",
"type": "event"
}
],
"addr": "0x5b6cce02ea410ce84868ba8eef7152f1a0fe9ebf"
},
"left": {
"bin": "0x6060604052341561000f57600080fd5b604051610cae380380610cae833981016040528080519190602001805190910190505b81151561003e57600080fd5b805182111561004c57600080fd5b6000829055600181805161006492916020019061006d565b505b5050610100565b8280548282559060005260206000209081019282156100c4579160200282015b828111156100c45782518254600160a060020a031916600160a060020a03919091161782556020929092019160019091019061008d565b5b506100d19291506100d5565b5090565b6100fd91905b808211156100d1578054600160a060020a03191681556001016100db565b5090565b90565b610b9f8061010f6000396000f3006060604052361561005f5763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663494503d481146100a75780638d068043146100d95780639ce318f6146100fe578063c3371af414610211575b5b7fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c3334604051600160a060020a03909216825260208201526040908101905180910390a15b005b34156100b257600080fd5b6100bd600435610324565b604051600160a060020a03909116815260200160405180910390f35b34156100e457600080fd5b6100ec610356565b60405190815260200160405180910390f35b341561010957600080fd5b6100a56004602481358181019083013580602081810201604051908101604052809392919081815260200183836020028082843782019150505050505091908035906020019082018035906020019080806020026020016040519081016040528093929190818152602001838360200280828437820191505050505050919080359060200190820180359060200190808060200260200160405190810160405280939291908181526020018383602002808284378201915050505050509190803590602001908201803590602001908080601f01602080910402602001604051908101604052818152929190602084018383808284375094965061035c95505050505050565b005b341561021c57600080fd5b6100a56004602481358181019083013580602081810201604051908101604052809392919081815260200183836020028082843782019150505050505091908035906020019082018035906020019080806020026020016040519081016040528093929190818152602001838360200280828437820191505050505050919080359060200190820180359060200190808060200260200160405190810160405280939291908181526020018383602002808284378201915050505050509190803590602001908201803590602001908080601f0160208091040260200160405190810160405281815292919060208401838380828437509496506106ef95505050505050565b005b600180548290811061033257fe5b906000526020600020900160005b915054906101000a9004600160a060020a031681565b60005481565b60008060008686868661036d610b04565b6000610377610b04565b60008060408051908101604052601a81527f19457468657265756d205369676e6564204d6573736167653a0a00000000000060208201529450848651876040518084805190602001908083835b602083106103e457805182525b601f1990920191602091820191016103c4565b6001836020036101000a038019825116818451161790925250505091909101848152602001905082805190602001908083835b6020831061043757805182525b601f199092019160209182019101610417565b6001836020036101000a03801982511681845116179092525050509190910194506040935050505051809103902093506000546040518059106104775750595b908082528060200260200182016040525b5092508851600054111561049b57600080fd5b600091505b60005482101561061b576001848a84815181106104b957fe5b906020019060200201518a85815181106104cf57fe5b906020019060200201518a86815181106104e557fe5b906020019060200201516040516000815260200160405260006040516020015260405193845260ff90921660208085019190915260408085019290925260608401929092526080909201915160208103908084039060008661646e5a03f1151561054e57600080fd5b50506020604051035190506105c68160018054806020026020016040519081016040528092919081815260200182805480156105b357602002820191906000526020600020905b8154600160a060020a03168152600190910190602001808311610595575b5050505050610a5490919063ffffffff16565b15156105d157600080fd5b6105e1838263ffffffff610a5416565b156105eb57600080fd5b808383815181106105f857fe5b600160a060020a039092166020928302909101909101525b6001909101906104a0565b8c519b5060328d01519a5060648d0151600081815260026020526040902054909a5060ff161561064a57600080fd5b60008a81526002602052604090819020805460ff19166001179055600160a060020a038d16908c156108fc02908d9051600060405180830381858888f19350505050151561069757600080fd5b7f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a94243648c8c604051600160a060020a03909216825260208201526040908101905180910390a15b5b50505050505050505050
"abi": [
{
"constant": true,
"inputs": [
{
"name": "",
"type": "uint256"
}
],
"name": "authorities",
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "requiredSignatures",
"outputs": [
{
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "v",
"type": "uint8[]"
},
{
"name": "r",
"type": "bytes32[]"
},
{
"name": "s",
"type": "bytes32[]"
},
{
"name": "message",
"type": "bytes"
}
],
"name": "withdraw",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"name": "v",
"type": "uint8[]"
},
{
"name": "r",
"type": "bytes32[]"
},
{
"name": "s",
"type": "bytes32[]"
},
{
"name": "message",
"type": "bytes"
}
],
"name": "reelect",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"name": "n",
"type": "uint256"
},
{
"name": "a",
"type": "address[]"
}
],
"payable": false,
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"payable": true,
"stateMutability": "payable",
"type": "fallback"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"name": "recipient",
"type": "address"
},
{
"indexed": false,
"name": "value",
"type": "uint256"
}
],
"name": "Deposit",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"name": "recipient",
"type": "address"
},
{
"indexed": false,
"name": "value",
"type": "uint256"
}
],
"name": "Withdraw",
"type": "event"
}
],
"addr": "0xc00ad4964a95dded07135a524f6ecabf43d0e99c"
}
}
}