-
Notifications
You must be signed in to change notification settings - Fork 7
/
BOP info.txt
16 lines (12 loc) · 17.1 KB
/
BOP info.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Compiler:
0.4.18+commit.9cf6e910.Emscripten.clang
optimization enabled
Factory bytecode:
6060604052341561000f57600080fd5b6115c68061001e6000396000f3006060604052600436106100565763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166303f17336811461005b578063f51960021461008d578063f7fe2e32146100b2575b600080fd5b341561006657600080fd5b610071600435610151565b604051600160a060020a03909116815260200160405180910390f35b341561009857600080fd5b6100a0610179565b60405190815260200160405180910390f35b61007160048035600160a060020a03169060248035916044359160849060643590810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284378201915050505050509190803590602001908201803590602001908080601f01602080910402602001604051908101604052818152929190602084018383808284375094965061018095505050505050565b600080548290811061015f57fe5b600091825260209091200154600160a060020a0316905081565b6000545b90565b60008034878787878761019161042a565b8086600160a060020a0316600160a060020a031681526020018581526020018481526020018060200180602001838103835285818151815260200191508051906020019080838360005b838110156101f35780820151838201526020016101db565b50505050905090810190601f1680156102205780820380516001836020036101000a031916815260200191505b50838103825284818151815260200191508051906020019080838360005b8381101561025657808201518382015260200161023e565b50505050905090810190601f1680156102835780820380516001836020036101000a031916815260200191505b509750505050505050506040518091039082f08015156102a257600080fd5b915050600160a060020a0381167f6d842ad5ff36b92ca06b5acf5c0db1a7ef16740e8852490081d8a41dffefc67188888888886040518086600160a060020a0316600160a060020a031681526020018581526020018481526020018060200180602001838103835285818151815260200191508051906020019080838360005b8381101561033a578082015183820152602001610322565b50505050905090810190601f1680156103675780820380516001836020036101000a031916815260200191505b50838103825284818151815260200191508051906020019080838360005b8381101561039d578082015183820152602001610385565b50505050905090810190601f1680156103ca5780820380516001836020036101000a031916815260200191505b5097505050505050505060405180910390a260008054600181016103ee838261043a565b506000918252602090912001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790559695505050505050565b6040516111198061048283390190565b81548183558181151161045e5760008381526020902061045e918101908301610463565b505050565b61017d91905b8082111561047d5760008155600101610469565b50905600606060409081526002805460a060020a60ff0219169055516200111938038062001119833981016040528080519190602001805191906020018051919060200180518201919060200180519091019050600160a060020a0330167f06c1032cd5526f081d52528f8f40ae447e3fc4a0f2d83546e72be3e285db4c8586868686604051600160a060020a0385168152602081018490526040810183905260806060820181815290820183818151815260200191508051906020019080838360005b83811015620000d9578082015183820152602001620000bf565b50505050905090810190601f168015620001075780820380516001836020036101000a031916815260200191505b509550505050505060405180910390a260003411156200016e577f8fe10ae416f22f5e5220b0018a6c1d4ff534d6aa3a471f2a20cb7747fe63e5b93234604051600160a060020a03909216825260208201526040908101905180910390a160038054340190555b60008280516200018392916020019062000265565b506009805460ff1916905560018054600160a060020a031916600160a060020a038716179055600684905560078390556000815111156200025a577f21dce665866130bddd42cadae51db6d5093826abb5e5309d67ab8589c7e926948160405160208082528190810183818151815260200191508051906020019080838360005b838110156200021e57808201518382015260200162000204565b50505050905090810190601f1680156200024c5780820380516001836020036101000a031916815260200191505b509250505060405180910390a15b50505050506200030a565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620002a857805160ff1916838001178555620002d8565b82800160010185558215620002d8579182015b82811115620002d8578251825591602001919060010190620002bb565b50620002e6929150620002ea565b5090565b6200030791905b80821115620002e65760008155600101620002f1565b90565b610dff806200031a6000396000f3006060604052600436106101115763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663123119cd8114610116578063127b09011461014557806337bdc99b1461015a5780633c7a3aff1461017057806342966c68146101785780634a79d50c1461018e5780634d547ada146102185780635290d7731461022b57806367aff919146102505780637345da39146102635780637d6ad4cd146102b4578063878eb4ca146102c7578063972161f7146102da578063a26759cb146103d4578063b79550be146103dc578063bc308233146103ef578063c19d93fb14610402578063dc7454dd14610439578063f3c744961461044c578063f86ccd411461049d575b600080fd5b341561012157600080fd5b6101296104b0565b604051600160a060020a03909116815260200160405180910390f35b341561015057600080fd5b6101586104bf565b005b341561016557600080fd5b61015860043561053b565b61015861058d565b341561018357600080fd5b6101586004356106a0565b341561019957600080fd5b6101a16106ee565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101dd5780820151838201526020016101c5565b50505050905090810190601f16801561020a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561022357600080fd5b61012961078c565b341561023657600080fd5b61023e61079b565b60405190815260200160405180910390f35b341561025b57600080fd5b61023e6107a1565b341561026e57600080fd5b61015860046024813581810190830135806020601f820181900481020160405190810160405281815292919060208401838380828437509496506107a795505050505050565b34156102bf57600080fd5b61015861085d565b34156102d257600080fd5b61023e6108f3565b34156102e557600080fd5b6102ed6108f9565b604051600160a060020a038c16815260208101604082018b600281111561031057fe5b60ff1681526020018a600160a060020a0316600160a060020a0316815260200189815260200188815260200187815260200186815260200185815260200184815260200183815260200182810382528c818151815260200191508051906020019080838360005b8381101561038f578082015183820152602001610377565b50505050905090810190601f1680156103bc5780820380516001836020036101000a031916815260200191505b509c5050505050505050505050505060405180910390f35b610158610a2b565b34156103e757600080fd5b610158610ad9565b34156103fa57600080fd5b61023e610b8d565b341561040d57600080fd5b610415610b93565b6040518082600281111561042557fe5b60ff16815260200191505060405180910390f35b341561044457600080fd5b61023e610b9c565b341561045757600080fd5b61015860046024813581810190830135806020601f82018190048102016040519081016040528181529291906020840183838082843750949650610ba295505050505050565b34156104a857600080fd5b61023e610c1a565b600154600160a060020a031681565b60015433600160a060020a039081169116146104da57600080fd5b60095460019060ff1660028111156104ee57fe5b8160028111156104fa57fe5b1461050457600080fd5b60075442016008557f94306ecb3b8f13e878988b316e670b3a84f5b22fb40a6d534096390fdfd050ff60405160405180910390a150565b60095460019060ff16600281111561054f57fe5b81600281111561055b57fe5b1461056557600080fd5b60015433600160a060020a0390811691161461058057600080fd5b61058982610c20565b5050565b60095460009060ff1660028111156105a157fe5b8160028111156105ad57fe5b146105b757600080fd5b60065434146105c557600080fd5b600034111561061b577f8fe10ae416f22f5e5220b0018a6c1d4ff534d6aa3a471f2a20cb7747fe63e5b93334604051600160a060020a03909216825260208201526040908101905180910390a160038054340190555b6002805473ffffffffffffffffffffffffffffffffffffffff191633600160a060020a0390811691909117918290556009805460ff191660011790557f385d85909904c479680cfb49104dd25dd686a79a13b842e5ab5f1fab8fa0fb2a9116604051600160a060020a03909116815260200160405180910390a1506007544201600855565b60095460019060ff1660028111156106b457fe5b8160028111156106c057fe5b146106ca57600080fd5b60015433600160a060020a039081169116146106e557600080fd5b61058982610d0e565b60008054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156107845780601f1061075957610100808354040283529160200191610784565b820191906000526020600020905b81548152906001019060200180831161076757829003601f168201915b505050505081565b600254600160a060020a031681565b60045481565b60075481565b60015433600160a060020a039081169116146107c257600080fd5b7f21dce665866130bddd42cadae51db6d5093826abb5e5309d67ab8589c7e926948160405160208082528190810183818151815260200191508051906020019080838360005b83811015610820578082015183820152602001610808565b50505050905090810190601f16801561084d5780820380516001836020036101000a031916815260200191505b509250505060405180910390a150565b60025433600160a060020a0390811691161461087857600080fd5b60095460019060ff16600281111561088c57fe5b81600281111561089857fe5b146108a257600080fd5b6008544210156108b157600080fd5b7fac0ca7228365809cfba9bd7a1549620db6e2c9a4176dae1d163edb0ade5d860660405160405180910390a16108f030600160a060020a031631610c20565b50565b60065481565b6000610903610dc1565b6000806000806000806000806000600160009054906101000a9004600160a060020a03166000600960009054906101000a900460ff16600260009054906101000a9004600160a060020a031630600160a060020a031631600654600354600454600554600754600854898054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610a015780601f106109d657610100808354040283529160200191610a01565b820191906000526020600020905b8154815290600101906020018083116109e457829003601f168201915b505050505099509a509a509a509a509a509a509a509a509a509a509a50909192939495969798999a565b60003411610a3857600080fd5b7f8fe10ae416f22f5e5220b0018a6c1d4ff534d6aa3a471f2a20cb7747fe63e5b93334604051600160a060020a03909216825260208201526040908101905180910390a16003805434019055600260095460ff166002811115610a9757fe5b1415610ad7576009805460ff191660011790557f295a49ca32ac44ceb5c58aec886eeaf13b1a9cadee420af4c63ed7f1bc75b75b60405160405180910390a15b565b60015433600160a060020a03908116911614610af457600080fd5b60095460009060ff166002811115610b0857fe5b816002811115610b1457fe5b14610b1e57600080fd5b6002805474ff00000000000000000000000000000000000000001916740100000000000000000000000000000000000000001790557f8bc5aab0b8d1d51bcc031c58eb657027aac7eaa971cc1038d29846400ca22fc560405160405180910390a1600154600160a060020a0316ff5b60085481565b60095460ff1681565b60055481565b60025433600160a060020a03908116911614610bbd57600080fd5b7f337c87ca7e10f4ba0201da47ad3a16b990a1198718c55f51688d80da2a35cb7581604051602080825281908101838181518152602001915080519060200190808383600083811015610820578082015183820152602001610808565b60035481565b60095460019060ff166002811115610c3457fe5b816002811115610c4057fe5b14610c4a57600080fd5b600254600160a060020a031682156108fc0283604051600060405180830381858888f193505050501515610c7d57600080fd5b60058054830190557f952b264c8e0a06cddb4bbaa6d6af1d565145329fd95bbe72cb2b53942b2dc9668260405190815260200160405180910390a1600160a060020a03301631151561058957600980546002919060ff19166001835b02179055507f1cdde67b72a90f19919ac732a437ac2f7a10fc128d28c2a6e525d89ce5cd9d3a60405160405180910390a15050565b60095460019060ff166002811115610d2257fe5b816002811115610d2e57fe5b14610d3857600080fd5b600082156108fc0283604051600060405180830381858888f193505050501515610d6157600080fd5b60048054830190557fe2a0d56d128408deff6c63b30ce69c78024280bc67a251ee2bb096dc08ff1c1e8260405190815260200160405180910390a1600160a060020a03301631151561058957600980546002919060ff1916600183610cd9565b602060405190810160405260008152905600a165627a7a72305820f7ef57bfbcd20ab1c14ff3f4c7fba0ee672736d153aefabd13591dad298b26580029a165627a7a723058202b07e6c269575f7eed6e2631b6a96ea392825c6df1d91e604316b0dd32f5dae90029
Factory ABI:
[{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"BOPs","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getBOPCount","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"payer","type":"address"},{"name":"serviceDeposit","type":"uint256"},{"name":"autoreleaseInterval","type":"uint256"},{"name":"title","type":"string"},{"name":"initialStatement","type":"string"}],"name":"newBurnableOpenPayment","outputs":[{"name":"","type":"address"}],"payable":true,"stateMutability":"payable","type":"function"},{"anonymous":false,"inputs":[{"indexed":true,"name":"newBOPAddress","type":"address"},{"indexed":false,"name":"payer","type":"address"},{"indexed":false,"name":"serviceDeposit","type":"uint256"},{"indexed":false,"name":"autoreleaseTime","type":"uint256"},{"indexed":false,"name":"title","type":"string"},{"indexed":false,"name":"initialStatement","type":"string"}],"name":"NewBOP","type":"event"}]
BOP ABI:
[{"constant":true,"inputs":[],"name":"payer","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"delayAutorelease","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"amount","type":"uint256"}],"name":"release","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"commit","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[{"name":"amount","type":"uint256"}],"name":"burn","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"title","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"worker","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"amountBurned","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"autoreleaseInterval","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"statement","type":"string"}],"name":"logPayerStatement","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"triggerAutorelease","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"serviceDeposit","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getFullState","outputs":[{"name":"","type":"address"},{"name":"","type":"string"},{"name":"","type":"uint8"},{"name":"","type":"address"},{"name":"","type":"uint256"},{"name":"","type":"uint256"},{"name":"","type":"uint256"},{"name":"","type":"uint256"},{"name":"","type":"uint256"},{"name":"","type":"uint256"},{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"addFunds","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[],"name":"recoverFunds","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"autoreleaseTime","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"state","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"amountReleased","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"statement","type":"string"}],"name":"logWorkerStatement","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"amountDeposited","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"_payer","type":"address"},{"name":"_serviceDeposit","type":"uint256"},{"name":"_autoreleaseInterval","type":"uint256"},{"name":"_title","type":"string"},{"name":"initialStatement","type":"string"}],"payable":true,"stateMutability":"payable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"contractAddress","type":"address"},{"indexed":false,"name":"payer","type":"address"},{"indexed":false,"name":"serviceDeposit","type":"uint256"},{"indexed":false,"name":"autoreleaseInterval","type":"uint256"},{"indexed":false,"name":"title","type":"string"}],"name":"Created","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"from","type":"address"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"FundsAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"statement","type":"string"}],"name":"PayerStatement","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"statement","type":"string"}],"name":"WorkerStatement","type":"event"},{"anonymous":false,"inputs":[],"name":"FundsRecovered","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"worker","type":"address"}],"name":"Committed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"amount","type":"uint256"}],"name":"FundsBurned","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"amount","type":"uint256"}],"name":"FundsReleased","type":"event"},{"anonymous":false,"inputs":[],"name":"Closed","type":"event"},{"anonymous":false,"inputs":[],"name":"Unclosed","type":"event"},{"anonymous":false,"inputs":[],"name":"AutoreleaseDelayed","type":"event"},{"anonymous":false,"inputs":[],"name":"AutoreleaseTriggered","type":"event"}]
Factory Addresses:
main: 0x38B394cD27C3b0D865F58a4512b65c7b0ab6DB66
Ropsten: 0xA981e23E9Ff17357dE2a13a9CA36E728322016f0