mirror of
https://github.com/status-im/liquid-funding.git
synced 2025-01-19 16:08:49 +00:00
11 lines
19 KiB
JavaScript
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":"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"}]
|
|
exports.ILiquidPledgingPluginByteCode = "0x"
|
|
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"},{"name":"plugin","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":"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":"DelegateAdded","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 = "0x606060405234156200001057600080fd5b60405160208062001c23833981016040528080519150505b60016200003681806200006a565b506001620000466000826200009f565b5060028054600160a060020a031916600160a060020a0383161790555b5062000245565b8154818355818115116200009957600402816004028360005260206000209182019101620000999190620000d4565b5b505050565b815481835581811511620000995760040281600402836000526020600020918201910162000099919062000138565b5b505050565b6200013591905b8082111562000131578054600160a860020a03191681556000620001036001830182620001aa565b506002810180546001608860020a0319169055600381018054600160a060020a0319169055600401620000db565b5090565b90565b6200013591905b808211156200013157600080825560018201805467ffffffffffffffff191690556200016f6002830182620001f6565b506003810180547fffffffffffffff000000000000000000000000000000000000000000000000001690556004016200013f565b5090565b90565b50805460018160011615610100020316600290046000825580601f10620001d25750620001f2565b601f016020900490600052602060002090810190620001f2919062000221565b5b50565b508054600082556003016004900490600052602060002090810190620001f2919062000221565b5b50565b6200013591905b8082111562000131576000815560010162000228565b5090565b90565b6119ce80620002556000396000f300606060405236156100cd5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166313734d8781146100d25780631e2156481461014f5780632101a6ad146101d7578063424e37961461020b57806374653bcb1461028857806391090937146102ad5780639834bf2f14610369578063b165af4114610457578063b9d82bd7146104d4578063c40b51fd1461056c578063cb199fa414610591578063cb9123ff14610619578063f518470514610699578063fbfa77cf146106cd575b600080fd5b34156100dd57600080fd5b61014d6004803567ffffffffffffffff169060248035600160a060020a0316919060649060443590810190830135806020601f820181900481020160405190810160405281815292919060208401838380828437509496505050923567ffffffffffffffff1692506106fc915050565b005b341561015a57600080fd5b6101ba60046024813581810190830135806020601f820181900481020160405190810160405281815292919060208401838380828437509496505050833567ffffffffffffffff169360200135600160a060020a031692506107d3915050565b60405167ffffffffffffffff909116815260200160405180910390f35b34156101e257600080fd5b6101f767ffffffffffffffff600435166109a5565b604051901515815260200160405180910390f35b341561021657600080fd5b61014d6004803567ffffffffffffffff169060248035600160a060020a0316919060649060443590810190830135806020601f820181900481020160405190810160405281815292919060208401838380828437509496505050923567ffffffffffffffff169250610a63915050565b005b341561029357600080fd5b61029b610b3a565b60405190815260200160405180910390f35b34156102b857600080fd5b6102d067ffffffffffffffff60043516602435610b45565b60405167ffffffffffffffff84168152600160a060020a038316602082015260606040820181815290820183818151815260200191508051906020019080838360005b8381101561032c5780820151818401525b602001610313565b50505050905090810190601f1680156103595780820380516001836020036101000a031916815260200191505b5094505050505060405180910390f35b341561037457600080fd5b61038967ffffffffffffffff60043516610c6d565b6040518088600281111561039957fe5b60ff168152600160a060020a03888116602083015267ffffffffffffffff87811660608401528616608083015284151560a0830152831660c082015260e0828203810160408301908152910187818151815260200191508051906020019080838360005b838110156104165780820151818401525b6020016103fd565b50505050905090810190601f1680156104435780820380516001836020036101000a031916815260200191505b509850505050505050505060405180910390f35b341561046257600080fd5b61014d6004803567ffffffffffffffff169060248035600160a060020a0316919060649060443590810190830135806020601f820181900481020160405190810160405281815292919060208401838380828437509496505050923567ffffffffffffffff169250610d92915050565b005b34156104df57600080fd5b6101ba60046024813581810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284375094965050600160a060020a03853581169567ffffffffffffffff602082013581169650604082013516945060600135169150610e699050565b60405167ffffffffffffffff909116815260200160405180910390f35b341561057757600080fd5b61029b6111fd565b60405190815260200160405180910390f35b341561059c57600080fd5b6101ba60046024813581810190830135806020601f820181900481020160405190810160405281815292919060208401838380828437509496505050833567ffffffffffffffff169360200135600160a060020a03169250611208915050565b60405167ffffffffffffffff909116815260200160405180910390f35b341561062457600080fd5b61063967ffffffffffffffff600435166113da565b60405187815267ffffffffffffffff8088166020830152868116604083015285811660608301528481166080830152831660a082015260c0810182600281111561067f57fe5b60ff16815260200197505050505050505060405180910390f35b34156106a457600080fd5b6101f767ffffffffffffffff60043516611462565b604051901515815260200160405180910390f35b34156106d857600080fd5b6106e0611526565b604051600160a060020a03909116815260200160405180910390f35b600061070785611535565b905060015b815460ff16600281111561071c57fe5b1461072657600080fd5b805433600160a060020a03908116610100909204161461074557600080fd5b805461010060a860020a031916610100600160a060020a0386160217815560018101838051610778929160200190611773565b5060028101805467ffffffffffffffff191667ffffffffffffffff8481169190911790915585167f01a3bd608e7be74358498f90bd2ff305f9fdb8e94d76167f40fef03aae56620360405160405180910390a25b5050505050565b6001805490818082016107e683826117f2565b916000526020600020906004020160005b60e06040519081016040528060015b8152600160a060020a033381166020830152604082018a905267ffffffffffffffff8916606083015260006080830181905260a0830152871660c09091015291905081518154829060ff1916600183600281111561086057fe5b021790555060208201518154600160a060020a03919091166101000261010060a860020a03199091161781556040820151816001019080516108a6929160200190611773565b50606082015160028201805467ffffffffffffffff191667ffffffffffffffff9290921691909117905560808201518160020160086101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060a0820151600282018054911515608060020a0270ff000000000000000000000000000000001990921691909117905560c0820151600391909101805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03909216919091179055505067ffffffffffffffff81167f014882843f1e57bd41e0826ad1cd5e6180d4d4f76df8b12edc8b44575322d94e60405160405180910390a25b9392505050565b6000806109b183611535565b905060005b815460ff1660028111156109c657fe5b14156109d55760009150610a5d565b60025b815460ff1660028111156109e857fe5b146109ef57fe5b6002810154608060020a900460ff1615610a0c5760019150610a5d565b600281015468010000000000000000900467ffffffffffffffff161515610a365760009150610a5d565b6002810154610a5a9068010000000000000000900467ffffffffffffffff166109a5565b91505b50919050565b6000610a6e85611535565b905060005b815460ff166002811115610a8357fe5b14610a8d57600080fd5b805433600160a060020a039081166101009092041614610aac57600080fd5b805461010060a860020a031916610100600160a060020a0386160217815560018101838051610adf929160200190611773565b5060028101805467ffffffffffffffff191667ffffffffffffffff8481169190911790915585167f4328d70c188988fd55d2d7f624cbf5d070fbd36696af297439ce03612786cdc560405160405180910390a25b5050505050565b600054600019015b90565b600080610b506118a3565b600080610b5c87611582565b91508160020160018703815481101515610b7257fe5b90600052602060002090600491828204019190066008025b9054906101000a900467ffffffffffffffff169450610ba885611535565b90508060000160019054906101000a9004600160a060020a03169350806001018054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610c5c5780601f10610c3157610100808354040283529160200191610c5c565b820191906000526020600020905b815481529060010190602001808311610c3f57829003601f168201915b505050505092505b50509250925092565b600080610c786118a3565b6000806000806000610c8989611535565b80546001808301805460ff84169c5061010093849004600160a060020a03169b509394509260029181161590920260001901909116046020601f82018190048102016040519081016040528092919081815260200182805460018160011615610100020316600290048015610d3f5780601f10610d1457610100808354040283529160200191610d3f565b820191906000526020600020905b815481529060010190602001808311610d2257829003601f168201915b505050506002830154600384015492985067ffffffffffffffff8082169850680100000000000000008204169650608060020a900460ff16945050600160a060020a031691505b50919395979092949650565b6000610d9d85611535565b905060025b815460ff166002811115610db257fe5b14610dbc57600080fd5b805433600160a060020a039081166101009092041614610ddb57600080fd5b805461010060a860020a031916610100600160a060020a0386160217815560018101838051610e0e929160200190611773565b5060028101805467ffffffffffffffff191667ffffffffffffffff8481169190911790915585167f035196d5942819024277421e936a2e76840abb7bb5a320924ce0a9826daeba4460405160405180910390a25b5050505050565b60008067ffffffffffffffff85161561102557610e8585611535565b905060025b815460ff166002811115610e9a57fe5b14610ea457600080fd5b805433600160a060020a039081166101009092041614610ec357600080fd5b601461101b8260e06040519081016040528154909190829060ff166002811115610ee957fe5b6002811115610ef457fe5b81526020016000820160019054906101000a9004600160a060020a0316600160a060020a0316600160a060020a03168152602001600182018054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610fc05780601f10610f9557610100808354040283529160200191610fc0565b820191906000526020600020905b815481529060010190602001808311610fa357829003601f168201915b5050509183525050600282015467ffffffffffffffff8082166020840152680100000000000000008204166040830152608060020a900460ff1615156060820152600390910154600160a060020a03166080909101526115cd565b1061102557600080fd5b5b6001805492508280820161103a83826117f2565b916000526020600020906004020160005b60e06040519081016040528060025b8152600160a060020a03808c166020830152604082018d905267ffffffffffffffff808b1660608401528b166080830152600060a0830152881660c09091015291905081518154829060ff191660018360028111156110b557fe5b021790555060208201518154600160a060020a03919091166101000261010060a860020a03199091161781556040820151816001019080516110fb929160200190611773565b50606082015160028201805467ffffffffffffffff191667ffffffffffffffff9290921691909117905560808201518160020160086101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060a0820151600282018054911515608060020a0270ff000000000000000000000000000000001990921691909117905560c0820151600391909101805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03909216919091179055505067ffffffffffffffff82167fd7db7003e8f35149eda3d3685c2ab151ee561ad34853fdb0f4d7ecb33fff889060405160405180910390a25b5095945050505050565b600154600019015b90565b60018054908180820161121b83826117f2565b916000526020600020906004020160005b60e06040519081016040528060005b8152600160a060020a033381166020830152604082018a905267ffffffffffffffff8916606083015260006080830181905260a0830152871660c09091015291905081518154829060ff1916600183600281111561129557fe5b021790555060208201518154600160a060020a03919091166101000261010060a860020a03199091161781556040820151816001019080516112db929160200190611773565b50606082015160028201805467ffffffffffffffff191667ffffffffffffffff9290921691909117905560808201518160020160086101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060a0820151600282018054911515608060020a0270ff000000000000000000000000000000001990921691909117905560c0820151600391909101805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03909216919091179055505067ffffffffffffffff81167f13e5becd81bd8e4cb84ee96d841c855caac77003482e6a2ef3db83d52a61f0f760405160405180910390a25b9392505050565b6000806000806000806000806113ef89611582565b8054600182015460028301546003840154929b5067ffffffffffffffff9182169a509850808216975068010000000000000000820481169650608060020a82041694507801000000000000000000000000000000000000000000000000900460ff16925090505b50919395979092949650565b60008061146e83611535565b905060009150610a5d565b815460ff16600281111561148957fe5b14156114985760009150610a5d565b60025b815460ff1660028111156114ab57fe5b146114b257fe5b6002810154608060020a900460ff16156114cf5760019150610a5d565b600281015468010000000000000000900467ffffffffffffffff1615156114f95760009150610a5d565b6002810154610a5a9068010000000000000000900467ffffffffffffffff16611462565b91505b50919050565b600254600160a060020a031681565b60015460009067ffffffffffffffff83161061155057600080fd5b6001805467ffffffffffffffff841690811061156857fe5b906000526020600020906004020160005b5090505b919050565b6000805467ffffffffffffffff83161061159b57600080fd5b6000805467ffffffffffffffff841690811061156857fe5b906000526020600020906004020160005b5090505b919050565b60008060025b835160028111156115e057fe5b146115e757fe5b826080015167ffffffffffffffff1615156116055760019150610a5d565b6116128360800151611535565b9050610a5a8160e06040519081016040528154909190829060ff166002811115610ee957fe5b6002811115610ef457fe5b81526020016000820160019054906101000a9004600160a060020a0316600160a060020a0316600160a060020a03168152602001600182018054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610fc05780601f10610f9557610100808354040283529160200191610fc0565b820191906000526020600020905b815481529060010190602001808311610fa357829003601f168201915b5050509183525050600282015467ffffffffffffffff8082166020840152680100000000000000008204166040830152608060020a900460ff1615156060820152600390910154600160a060020a03166080909101526115cd565b91505b50919050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106117b457805160ff19168380011785556117e1565b828001600101855582156117e1579182015b828111156117e15782518255916020019190600101906117c6565b5b506117ee9291506118b5565b5090565b81548183558181151161181e5760040281600402836000526020600020918201910161181e91906118d6565b5b505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106117b457805160ff19168380011785556117e1565b828001600101855582156117e1579182015b828111156117e15782518255916020019190600101906117c6565b5b506117ee9291506118b5565b5090565b60206040519081016040526000815290565b610b4291905b808211156117ee57600081556001016118bb565b5090565b90565b610b4291905b808211156117ee57805474ffffffffffffffffffffffffffffffffffffffffff19168155600061190f600183018261195a565b5060028101805470ffffffffffffffffffffffffffffffffff1916905560038101805473ffffffffffffffffffffffffffffffffffffffff191690556004016118dc565b5090565b90565b50805460018160011615610100020316600290046000825580601f10611980575061199e565b601f01602090049060005260206000209081019061199e91906118b5565b5b505600a165627a7a723058202a84b172c099cec662678fd13db473feecd0eddd955fb1503d60fa27292565da0029"
|
|
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 = "0x0390b8a3ace7c484b47ea447b9487fb6dd5cd2842ac025e132f5d1cf070e91eb"
|