liquid-funding/build/LiquidPledgingBase.sol.js

11 lines
19 KiB
JavaScript

/* This is an autogenerated file. DO NOT EDIT MANUALLY */
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.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":"ProjectUpdated","type":"event"}]
exports.LiquidPledgingBaseByteCode = "0x606060405234156200001057600080fd5b60405160208062001c09833981016040528080519150505b60016200003681806200006a565b506001620000466000826200009f565b5060028054600160a060020a031916600160a060020a0383161790555b5062000245565b8154818355818115116200009957600402816004028360005260206000209182019101620000999190620000d4565b5b505050565b815481835581811511620000995760040281600402836000526020600020918201910162000099919062000138565b5b505050565b6200013591905b8082111562000131578054600160a860020a03191681556000620001036001830182620001aa565b506002810180546001608860020a0319169055600381018054600160a060020a0319169055600401620000db565b5090565b90565b6200013591905b808211156200013157600080825560018201805467ffffffffffffffff191690556200016f6002830182620001f6565b506003810180547fffffffffffffff000000000000000000000000000000000000000000000000001690556004016200013f565b5090565b90565b50805460018160011615610100020316600290046000825580601f10620001d25750620001f2565b601f016020900490600052602060002090810190620001f2919062000221565b5b50565b508054600082556003016004900490600052602060002090810190620001f2919062000221565b5b50565b6200013591905b8082111562000131576000815560010162000228565b5090565b90565b6119b480620002556000396000f300606060405236156100cd5763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416631e21564881146100d25780632101a6ad1461013f5780633ca05eca146101735780634fd9179a146101fe57806374653bcb1461028957806391090937146102ae5780639834bf2f1461036a578063b9d82bd71461044f578063c40b51fd146104cc578063cb199fa4146104f1578063cb9123ff1461055e578063f5184705146105de578063fbfa77cf14610612578063ff04f7ac14610641575b600080fd5b34156100dd57600080fd5b61013d60046024813581810190830135806020601f820181900481020160405190810160405281815292919060208401838380828437509496505050833567ffffffffffffffff169360200135600160a060020a031692506106cc915050565b005b341561014a57600080fd5b61015f67ffffffffffffffff60043516610893565b604051901515815260200160405180910390f35b341561017e57600080fd5b61013d6004803567ffffffffffffffff169060248035600160a060020a0316919060649060443590810190830135806020601f820181900481020160405190810160405281815292919060208401838380828437509496505050833567ffffffffffffffff169360200135600160a060020a03169250610951915050565b005b341561020957600080fd5b61013d6004803567ffffffffffffffff169060248035600160a060020a0316919060649060443590810190830135806020601f820181900481020160405190810160405281815292919060208401838380828437509496505050833567ffffffffffffffff169360200135600160a060020a03169250610a46915050565b005b341561029457600080fd5b61029c610b3b565b60405190815260200160405180910390f35b34156102b957600080fd5b6102d167ffffffffffffffff60043516602435610b46565b60405167ffffffffffffffff84168152600160a060020a038316602082015260606040820181815290820183818151815260200191508051906020019080838360005b8381101561032d5780820151818401525b602001610314565b50505050905090810190601f16801561035a5780820380516001836020036101000a031916815260200191505b5094505050505060405180910390f35b341561037557600080fd5b61038a67ffffffffffffffff60043516610c6e565b6040518087600281111561039a57fe5b60ff168152600160a060020a038716602082015267ffffffffffffffff85811660608301528416608082015282151560a082015260c0828203810160408301908152910186818151815260200191508051906020019080838360005b8381101561040f5780820151818401525b6020016103f6565b50505050905090810190601f16801561043c5780820380516001836020036101000a031916815260200191505b5097505050505050505060405180910390f35b341561045a57600080fd5b61013d60046024813581810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284375094965050600160a060020a03853581169567ffffffffffffffff602082013581169650604082013516945060600135169150610d7f9050565b005b34156104d757600080fd5b61029c611106565b60405190815260200160405180910390f35b34156104fc57600080fd5b61013d60046024813581810190830135806020601f820181900481020160405190810160405281815292919060208401838380828437509496505050833567ffffffffffffffff169360200135600160a060020a03169250611111915050565b005b341561056957600080fd5b61057e67ffffffffffffffff600435166112d8565b60405187815267ffffffffffffffff8088166020830152868116604083015285811660608301528481166080830152831660a082015260c081018260028111156105c457fe5b60ff16815260200197505050505050505060405180910390f35b34156105e957600080fd5b61015f67ffffffffffffffff60043516611360565b604051901515815260200160405180910390f35b341561061d57600080fd5b610625611424565b604051600160a060020a03909116815260200160405180910390f35b341561064c57600080fd5b61013d6004803567ffffffffffffffff169060248035600160a060020a0316919060649060443590810190830135806020601f820181900481020160405190810160405281815292919060208401838380828437509496505050833567ffffffffffffffff169360200135600160a060020a03169250611433915050565b005b600180548082016106dd8382611766565b916000526020600020906004020160005b60e06040519081016040528060015b8152600160a060020a0333811660208301526040820189905267ffffffffffffffff8816606083015260006080830181905260a0830152861660c09091015291905081518154829060ff1916600183600281111561075757fe5b021790555060208201518154600160a060020a03919091166101000261010060a860020a031990911617815560408201518160010190805161079d929160200190611798565b50606082015160028201805467ffffffffffffffff191667ffffffffffffffff9290921691909117905560808201518160020160086101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060a0820151600282018054911515608060020a0270ff000000000000000000000000000000001990921691909117905560c08201516003919091018054600160a060020a031916600160a060020a0390921691909117905550506001546000190167ffffffffffffffff167fc36351e19f7c8c017ff53420a3359a15746de6a7eb3b16b64053ca70ee98164f60405160405180910390a25b505050565b60008061089f83611528565b905060005b815460ff1660028111156108b457fe5b14156108c3576000915061094b565b60025b815460ff1660028111156108d657fe5b146108dd57fe5b6002810154608060020a900460ff16156108fa576001915061094b565b600281015468010000000000000000900467ffffffffffffffff161515610924576000915061094b565b60028101546109489068010000000000000000900467ffffffffffffffff16610893565b91505b50919050565b600061095c86611528565b905060005b815460ff16600281111561097157fe5b1461097b57600080fd5b805433600160a060020a03908116610100909204161461099a57600080fd5b805461010060a860020a031916610100600160a060020a03871602178155600181018480516109cd929160200190611798565b5060028101805467ffffffffffffffff191667ffffffffffffffff85811691909117909155600382018054600160a060020a031916600160a060020a03851617905586167f4328d70c188988fd55d2d7f624cbf5d070fbd36696af297439ce03612786cdc560405160405180910390a25b505050505050565b6000610a5186611528565b905060015b815460ff166002811115610a6657fe5b14610a7057600080fd5b805433600160a060020a039081166101009092041614610a8f57600080fd5b805461010060a860020a031916610100600160a060020a0387160217815560018101848051610ac2929160200190611798565b5060028101805467ffffffffffffffff191667ffffffffffffffff85811691909117909155600382018054600160a060020a031916600160a060020a03851617905586167f01a3bd608e7be74358498f90bd2ff305f9fdb8e94d76167f40fef03aae56620360405160405180910390a25b505050505050565b600054600019015b90565b600080610b51611896565b600080610b5d87611575565b91508160020160018703815481101515610b7357fe5b90600052602060002090600491828204019190066008025b9054906101000a900467ffffffffffffffff169450610ba985611528565b90508060000160019054906101000a9004600160a060020a03169350806001018054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610c5d5780601f10610c3257610100808354040283529160200191610c5d565b820191906000526020600020905b815481529060010190602001808311610c4057829003601f168201915b505050505092505b50509250925092565b600080610c79611896565b600080600080610c8888611528565b80546001808301805460ff84169b5061010093849004600160a060020a03169a509394509260029181161590920260001901909116046020601f82018190048102016040519081016040528092919081815260200182805460018160011615610100020316600290048015610d3e5780601f10610d1357610100808354040283529160200191610d3e565b820191906000526020600020905b815481529060010190602001808311610d2157829003601f168201915b5050505060028301549196505067ffffffffffffffff8082169550680100000000000000008204169350608060020a900460ff1691505b5091939550919395565b600067ffffffffffffffff841615610f3a57610d9a84611528565b905060025b815460ff166002811115610daf57fe5b14610db957600080fd5b805433600160a060020a039081166101009092041614610dd857600080fd5b6014610f308260e06040519081016040528154909190829060ff166002811115610dfe57fe5b6002811115610e0957fe5b81526020016000820160019054906101000a9004600160a060020a0316600160a060020a0316600160a060020a03168152602001600182018054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610ed55780601f10610eaa57610100808354040283529160200191610ed5565b820191906000526020600020905b815481529060010190602001808311610eb857829003601f168201915b5050509183525050600282015467ffffffffffffffff8082166020840152680100000000000000008204166040830152608060020a900460ff1615156060820152600390910154600160a060020a03166080909101526115c0565b10610f3a57600080fd5b5b60018054808201610f4c8382611766565b916000526020600020906004020160005b60e06040519081016040528060025b8152600160a060020a03808b166020830152604082018c905267ffffffffffffffff808a1660608401528a166080830152600060a0830152871660c09091015291905081518154829060ff19166001836002811115610fc757fe5b021790555060208201518154600160a060020a03919091166101000261010060a860020a031990911617815560408201518160010190805161100d929160200190611798565b50606082015160028201805467ffffffffffffffff191667ffffffffffffffff9290921691909117905560808201518160020160086101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060a0820151600282018054911515608060020a0270ff000000000000000000000000000000001990921691909117905560c08201516003919091018054600160a060020a031916600160a060020a0390921691909117905550506001546000190167ffffffffffffffff167fd7db7003e8f35149eda3d3685c2ab151ee561ad34853fdb0f4d7ecb33fff889060405160405180910390a25b505050505050565b600154600019015b90565b600180548082016111228382611766565b916000526020600020906004020160005b60e06040519081016040528060005b8152600160a060020a0333811660208301526040820189905267ffffffffffffffff8816606083015260006080830181905260a0830152861660c09091015291905081518154829060ff1916600183600281111561119c57fe5b021790555060208201518154600160a060020a03919091166101000261010060a860020a03199091161781556040820151816001019080516111e2929160200190611798565b50606082015160028201805467ffffffffffffffff191667ffffffffffffffff9290921691909117905560808201518160020160086101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060a0820151600282018054911515608060020a0270ff000000000000000000000000000000001990921691909117905560c08201516003919091018054600160a060020a031916600160a060020a0390921691909117905550506001546000190167ffffffffffffffff167f13e5becd81bd8e4cb84ee96d841c855caac77003482e6a2ef3db83d52a61f0f760405160405180910390a25b505050565b6000806000806000806000806112ed89611575565b8054600182015460028301546003840154929b5067ffffffffffffffff9182169a509850808216975068010000000000000000820481169650608060020a82041694507801000000000000000000000000000000000000000000000000900460ff16925090505b50919395979092949650565b60008061136c83611528565b90506000915061094b565b815460ff16600281111561138757fe5b1415611396576000915061094b565b60025b815460ff1660028111156113a957fe5b146113b057fe5b6002810154608060020a900460ff16156113cd576001915061094b565b600281015468010000000000000000900467ffffffffffffffff1615156113f7576000915061094b565b60028101546109489068010000000000000000900467ffffffffffffffff16611360565b91505b50919050565b600254600160a060020a031681565b600061143e86611528565b905060025b815460ff16600281111561145357fe5b1461145d57600080fd5b805433600160a060020a03908116610100909204161461147c57600080fd5b805461010060a860020a031916610100600160a060020a03871602178155600181018480516114af929160200190611798565b5060028101805467ffffffffffffffff191667ffffffffffffffff85811691909117909155600382018054600160a060020a031916600160a060020a03851617905586167f035196d5942819024277421e936a2e76840abb7bb5a320924ce0a9826daeba4460405160405180910390a25b505050505050565b60015460009067ffffffffffffffff83161061154357600080fd5b6001805467ffffffffffffffff841690811061155b57fe5b906000526020600020906004020160005b5090505b919050565b6000805467ffffffffffffffff83161061158e57600080fd5b6000805467ffffffffffffffff841690811061155b57fe5b906000526020600020906004020160005b5090505b919050565b60008060025b835160028111156115d357fe5b146115da57fe5b826080015167ffffffffffffffff1615156115f8576001915061094b565b6116058360800151611528565b90506109488160e06040519081016040528154909190829060ff166002811115610dfe57fe5b6002811115610e0957fe5b81526020016000820160019054906101000a9004600160a060020a0316600160a060020a0316600160a060020a03168152602001600182018054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610ed55780601f10610eaa57610100808354040283529160200191610ed5565b820191906000526020600020905b815481529060010190602001808311610eb857829003601f168201915b5050509183525050600282015467ffffffffffffffff8082166020840152680100000000000000008204166040830152608060020a900460ff1615156060820152600390910154600160a060020a03166080909101526115c0565b91505b50919050565b81548183558181151161088e5760040281600402836000526020600020918201910161088e91906118a8565b5b505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106117d957805160ff1916838001178555611806565b82800160010185558215611806579182015b828111156118065782518255916020019190600101906117eb565b5b5061181392915061191f565b5090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106117d957805160ff1916838001178555611806565b82800160010185558215611806579182015b828111156118065782518255916020019190600101906117eb565b5b5061181392915061191f565b5090565b60206040519081016040526000815290565b610b4391905b8082111561181357805474ffffffffffffffffffffffffffffffffffffffffff1916815560006118e16001830182611940565b5060028101805470ffffffffffffffffffffffffffffffffff19169055600381018054600160a060020a03191690556004016118ae565b5090565b90565b610b4391905b808211156118135760008155600101611925565b5090565b90565b50805460018160011615610100020316600290046000825580601f106119665750611984565b601f016020900490600052602060002090810190611984919061191f565b5b505600a165627a7a72305820240fcbfc6533fba916740024145d031c460cacefbb6223ab66f275105f3850950029"
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"
exports._sha256 = "0xc20453e0eb7da8a7c777bb9492267675f811dbb5d1113dee8807957465c79303"