liquid-funding/build/LiquidPledging.sol.js

13 lines
62 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-14 06:03:36 +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":"afterTransfer","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"noteManager","type":"uint64"},{"name":"noteFrom","type":"uint64"},{"name":"noteTo","type":"uint64"},{"name":"context","type":"uint64"},{"name":"amount","type":"uint256"}],"name":"beforeTransfer","outputs":[{"name":"maxAllowed","type":"uint256"}],"payable":false,"type":"function"}]
2017-09-13 12:41:08 +00:00
exports.ILiquidPledgingPluginByteCode = "0x"
2017-09-18 14:23:17 +00:00
exports.LiquidPledgingAbi = [{"constant":false,"inputs":[{"name":"idDelegate","type":"uint64"},{"name":"newAddr","type":"address"},{"name":"newName","type":"string"},{"name":"newCommitTime","type":"uint64"}],"name":"updateDelegate","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"name","type":"string"},{"name":"commitTime","type":"uint64"},{"name":"plugin","type":"address"}],"name":"addDelegate","outputs":[{"name":"idDelegate","type":"uint64"}],"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":"normalizeNote","outputs":[{"name":"","type":"uint64"}],"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":"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":"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":false,"inputs":[{"name":"idNote","type":"uint64"},{"name":"amount","type":"uint256"}],"name":"cancelNote","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":"notes","type":"uint256[]"}],"name":"mNormalizeNote","outputs":[{"name":"","type":"uint64"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"idProject","type":"uint64"},{"name":"newAddr","type":"address"},{"name":"newName","type":"string"},{"name":"newCommitTime","type":"uint64"}],"name":"updateProject","outputs":[],"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":[{"name":"idProject","type":"uint64"}],"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":"st
exports.LiquidPledgingByteCode = "0x606060405234156200001057600080fd5b604051602080620047c3833981016040528080519150505b805b60016200003881806200006e565b50600162000048600082620000a3565b5060028054600160a060020a031916600160a060020a0383161790555b505b5062000249565b8154818355818115116200009d576004028160040283600052602060002091820191016200009d9190620000d8565b5b505050565b8154818355818115116200009d576004028160040283600052602060002091820191016200009d91906200013c565b5b505050565b6200013991905b8082111562000135578054600160a860020a03191681556000620001076001830182620001ae565b506002810180546001608860020a0319169055600381018054600160a060020a0319169055600401620000df565b5090565b90565b6200013991905b808211156200013557600080825560018201805467ffffffffffffffff19169055620001736002830182620001fa565b506003810180547fffffffffffffff0000000000000000000000000000000000000000000000000016905560040162000143565b5090565b90565b50805460018160011615610100020316600290046000825580601f10620001d65750620001f6565b601f016020900490600052602060002090810190620001f6919062000225565b5b50565b508054600082556003016004900490600052602060002090810190620001f6919062000225565b5b50565b6200013991905b808211156200013557600081556001016200022c565b5090565b90565b61456a80620002596000396000f300606060405236156101435763ffffffff60e060020a60003504166313734d8781146101485780631e215648146101c35780632101a6ad1461024957806322ec902c1461027c5780632ee88808146102b7578063424e3796146102db578063433879831461035657806347c5ef431461037a57806357adafb6146103ab57806374653bcb146103fc578063796d5654146104215780637d0e6d171461044257806391090937146104665780639398f5a2146105205780639834bf2f14610571578063a374399914610654578063b165af41146106bf578063b9d82bd71461073a578063bde60ac9146107d0578063c40b51fd146107ec578063cb199fa414610811578063cb9123ff14610897578063d639cd7314610915578063e9c211e21461097f578063ef3766e4146109a3578063f5184705146109f4578063fbfa77cf14610a27575b600080fd5b341561015357600080fd5b6101c1600480356001604060020a03169060248035600160a060020a0316919060649060443590810190830135806020601f82018190048102016040519081016040528181529291906020840183838082843750949650505092356001604060020a03169250610a56915050565b005b34156101ce57600080fd5b61022d60046024813581810190830135806020601f82018190048102016040519081016040528181529291906020840183838082843750949650505083356001604060020a03169360200135600160a060020a03169250610b2c915050565b6040516001604060020a03909116815260200160405180910390f35b341561025457600080fd5b6102686001604060020a0360043516610cf9565b604051901515815260200160405180910390f35b341561028757600080fd5b61022d6001604060020a0360043516610dab565b6040516001604060020a03909116815260200160405180910390f35b34156102c257600080fd5b6101c16001604060020a0360043516602435610f77565b005b34156102e657600080fd5b6101c1600480356001604060020a03169060248035600160a060020a0316919060649060443590810190830135806020601f82018190048102016040519081016040528181529291906020840183838082843750949650505092356001604060020a031692506110bd915050565b005b341561036157600080fd5b6101c16001604060020a0360043516602435611193565b005b341561038557600080fd5b6101c16001604060020a036004358116906024358116906044359060643516611495565b005b34156103b657600080fd5b6101c16004602481358181019083013580602081810201604051908101604052809392919081815260200183836020028082843750949650611a9395505050505050565b005b341561040757600080fd5b61040f611b06565b60405190815260200160405180910390f35b341561042c57600080fd5b6101c16001604060020a0360043516611b11565b005b341561044d57600080fd5b6101c16001604060020a0360043516602435611c95565b005b341561047157600080fd5b6104886001604060020a0360043516602435611e40565b6040516001604060020a0384168152600160a060020a038316602082015260606040820181815290820183818151815260200191508051906020019080838360005b838110156104e35780820151818401525b6020016104ca565b50505050905090810190601f1680156105105780820380516001836020036101000a031916815260200191505b5094505050505060405180910390f35b341561052b57600080fd5b6101c16004602481358181019083013580602081810201604051908101604052809392919081815260200183836020028082843750949650611f6795505050505050565b005b341561057c57600080fd5b6105906001604060020a0360043516611fda565b6040518
exports.LiquidPledgingBaseAbi = [{"constant":false,"inputs":[{"name":"idDelegate","type":"uint64"},{"name":"newAddr","type":"address"},{"name":"newName","type":"string"},{"name":"newCommitTime","type":"uint64"}],"name":"updateDelegate","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"name","type":"string"},{"name":"commitTime","type":"uint64"},{"name":"plugin","type":"address"}],"name":"addDelegate","outputs":[{"name":"idDelegate","type":"uint64"}],"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":"updateDonor","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":"idProject","type":"uint64"},{"name":"newAddr","type":"address"},{"name":"newName","type":"string"},{"name":"newCommitTime","type":"uint64"}],"name":"updateProject","outputs":[],"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":[{"name":"idProject","type":"uint64"}],"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":[{"name":"idDonor","type":"uint64"}],"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"},{"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":"ProjectUpdated","
2017-09-18 14:23:17 +00:00
exports.LiquidPledgingBaseByteCode = "0x606060405234156200001057600080fd5b60405160208062001c06833981016040528080519150505b60016200003681806200006a565b506001620000466000826200009f565b5060028054600160a060020a031916600160a060020a0383161790555b5062000245565b8154818355818115116200009957600402816004028360005260206000209182019101620000999190620000d4565b5b505050565b815481835581811511620000995760040281600402836000526020600020918201910162000099919062000138565b5b505050565b6200013591905b8082111562000131578054600160a860020a03191681556000620001036001830182620001aa565b506002810180546001608860020a0319169055600381018054600160a060020a0319169055600401620000db565b5090565b90565b6200013591905b808211156200013157600080825560018201805467ffffffffffffffff191690556200016f6002830182620001f6565b506003810180547fffffffffffffff000000000000000000000000000000000000000000000000001690556004016200013f565b5090565b90565b50805460018160011615610100020316600290046000825580601f10620001d25750620001f2565b601f016020900490600052602060002090810190620001f2919062000221565b5b50565b508054600082556003016004900490600052602060002090810190620001f2919062000221565b5b50565b6200013591905b8082111562000131576000815560010162000228565b5090565b90565b6119b180620002556000396000f300606060405236156100cd5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166313734d8781146100d25780631e2156481461014f5780632101a6ad146101d7578063424e37961461020b57806374653bcb1461028857806391090937146102ad5780639834bf2f14610369578063b165af411461044e578063b9d82bd7146104cb578063c40b51fd14610563578063cb199fa414610588578063cb9123ff14610610578063f518470514610690578063fbfa77cf146106c4575b600080fd5b34156100dd57600080fd5b61014d6004803567ffffffffffffffff169060248035600160a060020a0316919060649060443590810190830135806020601f820181900481020160405190810160405281815292919060208401838380828437509496505050923567ffffffffffffffff1692506106f3915050565b005b341561015a57600080fd5b6101ba60046024813581810190830135806020601f820181900481020160405190810160405281815292919060208401838380828437509496505050833567ffffffffffffffff169360200135600160a060020a031692506107ca915050565b60405167ffffffffffffffff909116815260200160405180910390f35b34156101e257600080fd5b6101f767ffffffffffffffff6004351661099c565b604051901515815260200160405180910390f35b341561021657600080fd5b61014d6004803567ffffffffffffffff169060248035600160a060020a0316919060649060443590810190830135806020601f820181900481020160405190810160405281815292919060208401838380828437509496505050923567ffffffffffffffff169250610a5a915050565b005b341561029357600080fd5b61029b610b31565b60405190815260200160405180910390f35b34156102b857600080fd5b6102d067ffffffffffffffff60043516602435610b3c565b60405167ffffffffffffffff84168152600160a060020a038316602082015260606040820181815290820183818151815260200191508051906020019080838360005b8381101561032c5780820151818401525b602001610313565b50505050905090810190601f1680156103595780820380516001836020036101000a031916815260200191505b5094505050505060405180910390f35b341561037457600080fd5b61038967ffffffffffffffff60043516610c64565b6040518087600281111561039957fe5b60ff168152600160a060020a038716602082015267ffffffffffffffff85811660608301528416608082015282151560a082015260c0828203810160408301908152910186818151815260200191508051906020019080838360005b8381101561040e5780820151818401525b6020016103f5565b50505050905090810190601f16801561043b5780820380516001836020036101000a031916815260200191505b5097505050505050505060405180910390f35b341561045957600080fd5b61014d6004803567ffffffffffffffff169060248035600160a060020a0316919060649060443590810190830135806020601f820181900481020160405190810160405281815292919060208401838380828437509496505050923567ffffffffffffffff169250610d75915050565b005b34156104d657600080fd5b6101ba60046024813581810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284375094965050600160a060020a03853581169567ffffffffffffffff602082013581169650604082013516945060600135169150610e4c9050565b60405167ffffffffffffffff909116815260200160405180910390f35b341561056e57600080fd5b61029b6111e0565b60405190815260200160405180910390f35b341561059357600080fd5b6101b
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-18 14:23:17 +00:00
exports._sha256 = "0x27297eb1623d596c5608a2629660b87940a9850148454cfaee8088dd44f5135f"