liquid-funding/build/LiquidPledging.sol.js

13 lines
56 KiB
JavaScript
Raw Normal View History

2017-08-26 19:46:34 +00:00
/* This is an autogenerated file. DO NOT EDIT MANUALLY */
2017-09-13 12:41:08 +00:00
exports.ILiquidPledgingPluginAbi = [{"constant":false,"inputs":[{"name":"noteManager","type":"uint64"},{"name":"noteFrom","type":"uint64"},{"name":"noteTo","type":"uint64"},{"name":"context","type":"uint64"},{"name":"amount","type":"uint256"}],"name":"onTransfer","outputs":[{"name":"maxAllowed","type":"uint256"}],"payable":false,"type":"function"}]
exports.ILiquidPledgingPluginByteCode = "0x"
exports.LiquidPledgingAbi = [{"constant":false,"inputs":[{"name":"name","type":"string"},{"name":"commitTime","type":"uint64"},{"name":"plugin","type":"address"}],"name":"addDelegate","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"projectId","type":"uint64"}],"name":"isProjectCanceled","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"idNote","type":"uint64"},{"name":"amount","type":"uint256"}],"name":"confirmPayment","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"idDonor","type":"uint64"},{"name":"newAddr","type":"address"},{"name":"newName","type":"string"},{"name":"newCommitTime","type":"uint64"},{"name":"newPlugin","type":"address"}],"name":"updateDonor","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"idNote","type":"uint64"},{"name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"idSender","type":"uint64"},{"name":"idNote","type":"uint64"},{"name":"amount","type":"uint256"},{"name":"idReceiver","type":"uint64"}],"name":"transfer","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"idDelegate","type":"uint64"},{"name":"newAddr","type":"address"},{"name":"newName","type":"string"},{"name":"newCommitTime","type":"uint64"},{"name":"newPlugin","type":"address"}],"name":"updateDelegate","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"notesAmounts","type":"uint256[]"}],"name":"mWithdraw","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"numberOfNotes","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"idProject","type":"uint64"}],"name":"cancelProject","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"idNote","type":"uint64"},{"name":"idxDelegate","type":"uint256"}],"name":"getNoteDelegate","outputs":[{"name":"idDelegate","type":"uint64"},{"name":"addr","type":"address"},{"name":"name","type":"string"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"notesAmounts","type":"uint256[]"}],"name":"mConfirmPayment","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"idManager","type":"uint64"}],"name":"getNoteManager","outputs":[{"name":"managerType","type":"uint8"},{"name":"addr","type":"address"},{"name":"name","type":"string"},{"name":"commitTime","type":"uint64"},{"name":"parentProject","type":"uint64"},{"name":"canceled","type":"bool"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"name","type":"string"},{"name":"projectManager","type":"address"},{"name":"parentProject","type":"uint64"},{"name":"commitTime","type":"uint64"},{"name":"plugin","type":"address"}],"name":"addProject","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"idDonor","type":"uint64"},{"name":"idReceiver","type":"uint64"}],"name":"donate","outputs":[],"payable":true,"type":"function"},{"constant":true,"inputs":[],"name":"numberOfNoteManagers","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"name","type":"string"},{"name":"commitTime","type":"uint64"},{"name":"plugin","type":"address"}],"name":"addDonor","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"idNote","type":"uint64"}],"name":"getNote","outputs":[{"name":"amount","type":"uint256"},{"name":"owner","type":"uint64"},{"name":"nDelegates","type":"uint64"},{"name":"proposedProject","type":"uint64"},{"name":"commitTime","type":"uint64"},{"name":"oldNote","type":"uint64"},{"name":"paymentState","type":"uint8"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"idSender","type":"uint64"},{"name":"notesAmounts","type":"uint256[]"},{"name":"idReceiver","type":"uint64"}],"name":"mTransfer","outputs":[],"payable":false,"type":"f
exports.LiquidPledgingByteCode = "0x606060405234156200001057600080fd5b60405160208062003f3a833981016040528080519150505b805b60016200003881806200006e565b50600162000048600082620000a3565b5060028054600160a060020a031916600160a060020a0383161790555b505b5062000249565b8154818355818115116200009d576004028160040283600052602060002091820191016200009d9190620000d8565b5b505050565b8154818355818115116200009d576004028160040283600052602060002091820191016200009d91906200013c565b5b505050565b6200013991905b8082111562000135578054600160a860020a03191681556000620001076001830182620001ae565b506002810180546001608860020a0319169055600381018054600160a060020a0319169055600401620000df565b5090565b90565b6200013991905b808211156200013557600080825560018201805467ffffffffffffffff19169055620001736002830182620001fa565b506003810180547fffffffffffffff0000000000000000000000000000000000000000000000000016905560040162000143565b5090565b90565b50805460018160011615610100020316600290046000825580601f10620001d65750620001f6565b601f016020900490600052602060002090810190620001f6919062000225565b5b50565b508054600082556003016004900490600052602060002090810190620001f6919062000225565b5b50565b6200013991905b808211156200013557600081556001016200022c565b5090565b90565b613ce180620002596000396000f300606060405236156101225763ffffffff60e060020a6000350416631e21564881146101275780632101a6ad146101935780632ee88808146101c65780633ca05eca146101ea578063433879831461027357806347c5ef43146102975780634fd9179a146102c857806357adafb61461035157806374653bcb146103a2578063796d5654146103c757806391090937146103e85780639398f5a2146104a25780639834bf2f146104f3578063b9d82bd7146105d6578063bde60ac914610652578063c40b51fd1461066e578063cb199fa414610693578063cb9123ff146106ff578063d639cd731461077d578063e9c211e2146107e7578063ef3766e41461080b578063f51847051461085c578063fbfa77cf1461088f578063ff04f7ac146108be575b600080fd5b341561013257600080fd5b61019160046024813581810190830135806020601f82018190048102016040519081016040528181529291906020840183838082843750949650505083356001604060020a03169360200135600160a060020a03169250610947915050565b005b341561019e57600080fd5b6101b26001604060020a0360043516610b09565b604051901515815260200160405180910390f35b34156101d157600080fd5b6101916001604060020a0360043516602435610bbb565b005b34156101f557600080fd5b610191600480356001604060020a03169060248035600160a060020a0316919060649060443590810190830135806020601f82018190048102016040519081016040528181529291906020840183838082843750949650505083356001604060020a03169360200135600160a060020a03169250610d01915050565b005b341561027e57600080fd5b6101916001604060020a0360043516602435610df5565b005b34156102a257600080fd5b6101916001604060020a036004358116906024358116906044359060643516610fc7565b005b34156102d357600080fd5b610191600480356001604060020a03169060248035600160a060020a0316919060649060443590810190830135806020601f82018190048102016040519081016040528181529291906020840183838082843750949650505083356001604060020a03169360200135600160a060020a03169250611495915050565b005b341561035c57600080fd5b610191600460248135818101908301358060208181020160405190810160405280939291908181526020018383602002808284375094965061158995505050505050565b005b34156103ad57600080fd5b6103b56115fc565b60405190815260200160405180910390f35b34156103d257600080fd5b6101916001604060020a0360043516611607565b005b34156103f357600080fd5b61040a6001604060020a036004351660243561165b565b6040516001604060020a0384168152600160a060020a038316602082015260606040820181815290820183818151815260200191508051906020019080838360005b838110156104655780820151818401525b60200161044c565b50505050905090810190601f1680156104925780820380516001836020036101000a031916815260200191505b5094505050505060405180910390f35b34156104ad57600080fd5b610191600460248135818101908301358060208181020160405190810160405280939291908181526020018383602002808284375094965061178295505050505050565b005b34156104fe57600080fd5b6105126001604060020a03600435166117f5565b6040518087600281111561052257fe5b60ff168152600160a060020a03871660208201526001604060020a0385811660608301528416608082015282151560a082015260c0828203810160408301908152910186818151815260200191508051906020019080838360005b838110156105965780820151818401525b60200161057
exports.LiquidPledgingBaseAbi = [{"constant":false,"inputs":[{"name":"name","type":"string"},{"name":"commitTime","type":"uint64"},{"name":"plugin","type":"address"}],"name":"addDelegate","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"projectId","type":"uint64"}],"name":"isProjectCanceled","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"idDonor","type":"uint64"},{"name":"newAddr","type":"address"},{"name":"newName","type":"string"},{"name":"newCommitTime","type":"uint64"},{"name":"newPlugin","type":"address"}],"name":"updateDonor","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"idDelegate","type":"uint64"},{"name":"newAddr","type":"address"},{"name":"newName","type":"string"},{"name":"newCommitTime","type":"uint64"},{"name":"newPlugin","type":"address"}],"name":"updateDelegate","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"numberOfNotes","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"idNote","type":"uint64"},{"name":"idxDelegate","type":"uint256"}],"name":"getNoteDelegate","outputs":[{"name":"idDelegate","type":"uint64"},{"name":"addr","type":"address"},{"name":"name","type":"string"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"idManager","type":"uint64"}],"name":"getNoteManager","outputs":[{"name":"managerType","type":"uint8"},{"name":"addr","type":"address"},{"name":"name","type":"string"},{"name":"commitTime","type":"uint64"},{"name":"parentProject","type":"uint64"},{"name":"canceled","type":"bool"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"name","type":"string"},{"name":"projectManager","type":"address"},{"name":"parentProject","type":"uint64"},{"name":"commitTime","type":"uint64"},{"name":"plugin","type":"address"}],"name":"addProject","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"numberOfNoteManagers","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"name","type":"string"},{"name":"commitTime","type":"uint64"},{"name":"plugin","type":"address"}],"name":"addDonor","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"idNote","type":"uint64"}],"name":"getNote","outputs":[{"name":"amount","type":"uint256"},{"name":"owner","type":"uint64"},{"name":"nDelegates","type":"uint64"},{"name":"proposedProject","type":"uint64"},{"name":"commitTime","type":"uint64"},{"name":"oldNote","type":"uint64"},{"name":"paymentState","type":"uint8"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"projectId","type":"uint64"}],"name":"isProjectCanceled2","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"vault","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"idProject","type":"uint64"},{"name":"newAddr","type":"address"},{"name":"newName","type":"string"},{"name":"newCommitTime","type":"uint64"},{"name":"newPlugin","type":"address"}],"name":"updateProject","outputs":[],"payable":false,"type":"function"},{"inputs":[{"name":"_vault","type":"address"}],"payable":false,"type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"idDonor","type":"uint64"}],"name":"DonorAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"idDonor","type":"uint64"}],"name":"DonorUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"idDelegate","type":"uint64"}],"name":"DeegateAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"idDelegate","type":"uint64"}],"name":"DelegateUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"idProject","type":"uint64"}],"name":"ProjectAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"idManager","type":"uint64"}],"name":"ProjectUpd
exports.LiquidPledgingBaseByteCode = "0x606060405234156200001057600080fd5b60405160208062001c09833981016040528080519150505b60016200003681806200006a565b506001620000466000826200009f565b5060028054600160a060020a031916600160a060020a0383161790555b5062000245565b8154818355818115116200009957600402816004028360005260206000209182019101620000999190620000d4565b5b505050565b815481835581811511620000995760040281600402836000526020600020918201910162000099919062000138565b5b505050565b6200013591905b8082111562000131578054600160a860020a03191681556000620001036001830182620001aa565b506002810180546001608860020a0319169055600381018054600160a060020a0319169055600401620000db565b5090565b90565b6200013591905b808211156200013157600080825560018201805467ffffffffffffffff191690556200016f6002830182620001f6565b506003810180547fffffffffffffff000000000000000000000000000000000000000000000000001690556004016200013f565b5090565b90565b50805460018160011615610100020316600290046000825580601f10620001d25750620001f2565b601f016020900490600052602060002090810190620001f2919062000221565b5b50565b508054600082556003016004900490600052602060002090810190620001f2919062000221565b5b50565b6200013591905b8082111562000131576000815560010162000228565b5090565b90565b6119b480620002556000396000f300606060405236156100cd5763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416631e21564881146100d25780632101a6ad1461013f5780633ca05eca146101735780634fd9179a146101fe57806374653bcb1461028957806391090937146102ae5780639834bf2f1461036a578063b9d82bd71461044f578063c40b51fd146104cc578063cb199fa4146104f1578063cb9123ff1461055e578063f5184705146105de578063fbfa77cf14610612578063ff04f7ac14610641575b600080fd5b34156100dd57600080fd5b61013d60046024813581810190830135806020601f820181900481020160405190810160405281815292919060208401838380828437509496505050833567ffffffffffffffff169360200135600160a060020a031692506106cc915050565b005b341561014a57600080fd5b61015f67ffffffffffffffff60043516610893565b604051901515815260200160405180910390f35b341561017e57600080fd5b61013d6004803567ffffffffffffffff169060248035600160a060020a0316919060649060443590810190830135806020601f820181900481020160405190810160405281815292919060208401838380828437509496505050833567ffffffffffffffff169360200135600160a060020a03169250610951915050565b005b341561020957600080fd5b61013d6004803567ffffffffffffffff169060248035600160a060020a0316919060649060443590810190830135806020601f820181900481020160405190810160405281815292919060208401838380828437509496505050833567ffffffffffffffff169360200135600160a060020a03169250610a46915050565b005b341561029457600080fd5b61029c610b3b565b60405190815260200160405180910390f35b34156102b957600080fd5b6102d167ffffffffffffffff60043516602435610b46565b60405167ffffffffffffffff84168152600160a060020a038316602082015260606040820181815290820183818151815260200191508051906020019080838360005b8381101561032d5780820151818401525b602001610314565b50505050905090810190601f16801561035a5780820380516001836020036101000a031916815260200191505b5094505050505060405180910390f35b341561037557600080fd5b61038a67ffffffffffffffff60043516610c6e565b6040518087600281111561039a57fe5b60ff168152600160a060020a038716602082015267ffffffffffffffff85811660608301528416608082015282151560a082015260c0828203810160408301908152910186818151815260200191508051906020019080838360005b8381101561040f5780820151818401525b6020016103f6565b50505050905090810190601f16801561043c5780820380516001836020036101000a031916815260200191505b5097505050505050505060405180910390f35b341561045a57600080fd5b61013d60046024813581810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284375094965050600160a060020a03853581169567ffffffffffffffff602082013581169650604082013516945060600135169150610d7f9050565b005b34156104d757600080fd5b61029c611106565b60405190815260200160405180910390f35b34156104fc57600080fd5b61013d60046024813581810190830135806020601f820181900481020160405190810160405281815292919060208401838380828437509496505050833567ffffffffffffffff169360200135600160a060020a03169250611111915050565b005b341561056957600080fd5b61057e67ffffffffffffffff600435166112d8565b60405187815267ffffffffffffffff80881660208301528
2017-08-26 19:46:34 +00:00
exports.VaultAbi = [{"constant":false,"inputs":[{"name":"_ref","type":"bytes32"},{"name":"_dest","type":"address"},{"name":"_amount","type":"uint256"}],"name":"authorizePayment","outputs":[],"payable":false,"type":"function"},{"payable":true,"type":"fallback"}]
exports.VaultByteCode = "0x"
exports._solcVersion = "0.4.15+commit.bbb8e64f.Emscripten.clang"
2017-09-13 12:41:08 +00:00
exports._sha256 = "0xf179736622417f9299b89eaf0bb900cb26387051a5a97e4bf78d42c202688ed7"