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":"numberOfNotes","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"name","type":"string"},{"name":"campaignManager","type":"address"},{"name":"parentCampaign","type":"uint64"},{"name":"commitTime","type":"uint64"},{"name":"plugin","type":"address"}],"name":"addCampaign","outputs":[{"name":"idCampaign","type":"uint64"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"campaignId","type":"uint64"}],"name":"isCampaignCanceled","outputs":[{"name":"","type":"bool"}],"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":"parentCampaign","type":"uint64"},{"name":"canceled","type":"bool"},{"name":"plugin","type":"address"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"idCampaign","type":"uint64"},{"name":"newAddr","type":"address"},{"name":"newName","type":"string"},{"name":"newCommitTime","type":"uint64"}],"name":"updateCampaign","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"numberOfNoteManagers","outputs":[{"name":"","type":"uint256"}],"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":"proposedCampaign","type":"uint64"},{"name":"commitTime","type":"uint64"},{"name":"oldNote","type":"uint64"},{"name":"paymentState","type":"uint8"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"vault","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"name","type":"string"},{"name":"commitTime","type":"uint64"},{"name":"plugin","type":"address"}],"name":"addGiver","outputs":[{"name":"idGiver","type":"uint64"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"idGiver","type":"uint64"},{"name":"newAddr","type":"address"},{"name":"newName","type":"string"},{"name":"newCommitTime","type":"uint64"}],"name":"updateGiver","outputs":[],"payable":false,"type":"function"},{"inputs":[{"name":"_vault","type":"address"}],"payable":false,"type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"idGiver","type":"uint64"}],"name":"GiverAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"idGiver","type":"uint64"}],"name":"GiverUpdated","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":"idCampaign","type":"uint64"}],"name":"CampaignAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"idManager","type":"uint64"}],"name":"CampaignUpdated","type":"event"}]
|
|
exports.LiquidPledgingBaseByteCode = "0x606060405234156200001057600080fd5b60405160208062001b1f833981016040528080519150505b60016200003681806200006a565b506001620000466000826200009f565b5060028054600160a060020a031916600160a060020a0383161790555b5062000245565b8154818355818115116200009957600402816004028360005260206000209182019101620000999190620000d4565b5b505050565b815481835581811511620000995760040281600402836000526020600020918201910162000099919062000138565b5b505050565b6200013591905b8082111562000131578054600160a860020a03191681556000620001036001830182620001aa565b506002810180546001608860020a0319169055600381018054600160a060020a0319169055600401620000db565b5090565b90565b6200013591905b808211156200013157600080825560018201805467ffffffffffffffff191690556200016f6002830182620001f6565b506003810180547fffffffffffffff000000000000000000000000000000000000000000000000001690556004016200013f565b5090565b90565b50805460018160011615610100020316600290046000825580601f10620001d25750620001f2565b601f016020900490600052602060002090810190620001f2919062000221565b5b50565b508054600082556003016004900490600052602060002090810190620001f2919062000221565b5b50565b6200013591905b8082111562000131576000815560010162000228565b5090565b90565b6118ca80620002556000396000f300606060405236156100c25763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166313734d8781146100c75780631e2156481461014457806374653bcb146101cc5780638233ba6a146101f15780638fe1f2ce1461028957806391090937146102bd5780639834bf2f14610379578063aa99759c14610467578063c40b51fd146104e4578063cb9123ff14610509578063fbfa77cf14610589578063fe7fff49146105b8578063fecdf17714610640575b600080fd5b34156100d257600080fd5b6101426004803567ffffffffffffffff169060248035600160a060020a0316919060649060443590810190830135806020601f820181900481020160405190810160405281815292919060208401838380828437509496505050923567ffffffffffffffff1692506106bd915050565b005b341561014f57600080fd5b6101af60046024813581810190830135806020601f820181900481020160405190810160405281815292919060208401838380828437509496505050833567ffffffffffffffff169360200135600160a060020a03169250610794915050565b60405167ffffffffffffffff909116815260200160405180910390f35b34156101d757600080fd5b6101df610966565b60405190815260200160405180910390f35b34156101fc57600080fd5b6101af60046024813581810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284375094965050600160a060020a03853581169567ffffffffffffffff6020820135811696506040820135169450606001351691506109719050565b60405167ffffffffffffffff909116815260200160405180910390f35b341561029457600080fd5b6102a967ffffffffffffffff60043516610d05565b604051901515815260200160405180910390f35b34156102c857600080fd5b6102e067ffffffffffffffff60043516602435610dc3565b60405167ffffffffffffffff84168152600160a060020a038316602082015260606040820181815290820183818151815260200191508051906020019080838360005b8381101561033c5780820151818401525b602001610323565b50505050905090810190601f1680156103695780820380516001836020036101000a031916815260200191505b5094505050505060405180910390f35b341561038457600080fd5b61039967ffffffffffffffff60043516610eeb565b604051808860028111156103a957fe5b60ff168152600160a060020a03888116602083015267ffffffffffffffff87811660608401528616608083015284151560a0830152831660c082015260e0828203810160408301908152910187818151815260200191508051906020019080838360005b838110156104265780820151818401525b60200161040d565b50505050905090810190601f1680156104535780820380516001836020036101000a031916815260200191505b509850505050505050505060405180910390f35b341561047257600080fd5b6101426004803567ffffffffffffffff169060248035600160a060020a0316919060649060443590810190830135806020601f820181900481020160405190810160405281815292919060208401838380828437509496505050923567ffffffffffffffff169250611010915050565b005b34156104ef57600080fd5b6101df6110e7565b60405190815260200160405180910390f35b341561051457600080fd5b61052967ffffffffffffffff600435166110f2565b60405187815267ffffffffffffffff8088166020830152868116604083015285811660608301528481166080830152831660a082015260c0810182600281111561056f57fe5b60ff16815260200197505050505050505060405180910390f35b341561059457600080fd5b61059c61117a565b604051600160a060020a03909116815260200160405180910390f35b34156105c357600080fd5b6101af60046024813581810190830135806020601f820181900481020160405190810160405281815292919060208401838380828437509496505050833567ffffffffffffffff169360200135600160a060020a03169250611189915050565b60405167ffffffffffffffff909116815260200160405180910390f35b341561064b57600080fd5b6101426004803567ffffffffffffffff169060248035600160a060020a0316919060649060443590810190830135806020601f820181900481020160405190810160405281815292919060208401838380828437509496505050923567ffffffffffffffff16925061135a915050565b005b60006106c885611431565b905060015b815460ff1660028111156106dd57fe5b146106e757600080fd5b805433600160a060020a03908116610100909204161461070657600080fd5b805461010060a860020a031916610100600160a060020a038616021781556001810183805161073992916020019061166f565b5060028101805467ffffffffffffffff191667ffffffffffffffff8481169190911790915585167f01a3bd608e7be74358498f90bd2ff305f9fdb8e94d76167f40fef03aae56620360405160405180910390a25b5050505050565b6001805490818082016107a783826116ee565b916000526020600020906004020160005b60e06040519081016040528060015b8152600160a060020a033381166020830152604082018a905267ffffffffffffffff8916606083015260006080830181905260a0830152871660c09091015291905081518154829060ff1916600183600281111561082157fe5b021790555060208201518154600160a060020a03919091166101000261010060a860020a031990911617815560408201518160010190805161086792916020019061166f565b50606082015160028201805467ffffffffffffffff191667ffffffffffffffff9290921691909117905560808201518160020160086101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060a0820151600282018054911515608060020a0270ff000000000000000000000000000000001990921691909117905560c0820151600391909101805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03909216919091179055505067ffffffffffffffff81167f014882843f1e57bd41e0826ad1cd5e6180d4d4f76df8b12edc8b44575322d94e60405160405180910390a25b9392505050565b600054600019015b90565b60008067ffffffffffffffff851615610b2d5761098d85611431565b905060025b815460ff1660028111156109a257fe5b146109ac57600080fd5b805433600160a060020a0390811661010090920416146109cb57600080fd5b6014610b238260e06040519081016040528154909190829060ff1660028111156109f157fe5b60028111156109fc57fe5b81526020016000820160019054906101000a9004600160a060020a0316600160a060020a0316600160a060020a03168152602001600182018054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610ac85780601f10610a9d57610100808354040283529160200191610ac8565b820191906000526020600020905b815481529060010190602001808311610aab57829003601f168201915b5050509183525050600282015467ffffffffffffffff8082166020840152680100000000000000008204166040830152608060020a900460ff1615156060820152600390910154600160a060020a031660809091015261147e565b10610b2d57600080fd5b5b60018054925082808201610b4283826116ee565b916000526020600020906004020160005b60e06040519081016040528060025b8152600160a060020a03808c166020830152604082018d905267ffffffffffffffff808b1660608401528b166080830152600060a0830152881660c09091015291905081518154829060ff19166001836002811115610bbd57fe5b021790555060208201518154600160a060020a03919091166101000261010060a860020a0319909116178155604082015181600101908051610c0392916020019061166f565b50606082015160028201805467ffffffffffffffff191667ffffffffffffffff9290921691909117905560808201518160020160086101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060a0820151600282018054911515608060020a0270ff000000000000000000000000000000001990921691909117905560c0820151600391909101805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03909216919091179055505067ffffffffffffffff82167f7ee8e9aa2daef505e5dcde0891e16be5f9808204d3b7ab755ed49060b020efa760405160405180910390a25b5095945050505050565b600080610d1183611431565b905060005b815460ff166002811115610d2657fe5b1415610d355760009150610dbd565b60025b815460ff166002811115610d4857fe5b14610d4f57fe5b6002810154608060020a900460ff1615610d6c5760019150610dbd565b600281015468010000000000000000900467ffffffffffffffff161515610d965760009150610dbd565b6002810154610dba9068010000000000000000900467ffffffffffffffff16610d05565b91505b50919050565b600080610dce61179f565b600080610dda87611624565b91508160020160018703815481101515610df057fe5b90600052602060002090600491828204019190066008025b9054906101000a900467ffffffffffffffff169450610e2685611431565b90508060000160019054906101000a9004600160a060020a03169350806001018054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610eda5780601f10610eaf57610100808354040283529160200191610eda565b820191906000526020600020905b815481529060010190602001808311610ebd57829003601f168201915b505050505092505b50509250925092565b600080610ef661179f565b6000806000806000610f0789611431565b80546001808301805460ff84169c5061010093849004600160a060020a03169b509394509260029181161590920260001901909116046020601f82018190048102016040519081016040528092919081815260200182805460018160011615610100020316600290048015610fbd5780601f10610f9257610100808354040283529160200191610fbd565b820191906000526020600020905b815481529060010190602001808311610fa057829003601f168201915b505050506002830154600384015492985067ffffffffffffffff8082169850680100000000000000008204169650608060020a900460ff16945050600160a060020a031691505b50919395979092949650565b600061101b85611431565b905060025b815460ff16600281111561103057fe5b1461103a57600080fd5b805433600160a060020a03908116610100909204161461105957600080fd5b805461010060a860020a031916610100600160a060020a038616021781556001810183805161108c92916020019061166f565b5060028101805467ffffffffffffffff191667ffffffffffffffff8481169190911790915585167f801323e9b4133d25ff2d22427923c338b40554015d63b1b035fdf93225f3112f60405160405180910390a25b5050505050565b600154600019015b90565b60008060008060008060008061110789611624565b8054600182015460028301546003840154929b5067ffffffffffffffff9182169a509850808216975068010000000000000000820481169650608060020a82041694507801000000000000000000000000000000000000000000000000900460ff16925090505b50919395979092949650565b600254600160a060020a031681565b60018054908180820161119c83826116ee565b916000526020600020906004020160005b60e06040519081016040528060005b8152600160a060020a033381166020830152604082018a905267ffffffffffffffff8916606083015260006080830181905260a0830152871660c09091015291905081518154829060ff1916600183600281111561121657fe5b021790555060208201518154600160a060020a03919091166101000261010060a860020a031990911617815560408201518160010190805161125c92916020019061166f565b50606082015160028201805467ffffffffffffffff191667ffffffffffffffff9290921691909117905560808201518160020160086101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060a0820151600282018054911515608060020a0270ff000000000000000000000000000000001990921691909117905560c0820151600391909101805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03909216919091179055505067ffffffffffffffff81167efc763def3c85dbc7bab43e314ba21264ec158217c45cf1eaf94f5ae15bc2c560405160405180910390a25b9392505050565b600061136585611431565b905060005b815460ff16600281111561137a57fe5b1461138457600080fd5b805433600160a060020a0390811661010090920416146113a357600080fd5b805461010060a860020a031916610100600160a060020a03861602178155600181018380516113d692916020019061166f565b5060028101805467ffffffffffffffff191667ffffffffffffffff8481169190911790915585167fe8da06f5d4d8fa2ef122c9fc3d5ae15379d95f5b9ebf92a5821b57705600320a60405160405180910390a25b5050505050565b60015460009067ffffffffffffffff83161061144c57600080fd5b6001805467ffffffffffffffff841690811061146457fe5b906000526020600020906004020160005b5090505b919050565b60008060025b8351600281111561149157fe5b1461149857fe5b826080015167ffffffffffffffff1615156114b65760019150610dbd565b6114c38360800151611431565b9050610dba8160e06040519081016040528154909190829060ff1660028111156109f157fe5b60028111156109fc57fe5b81526020016000820160019054906101000a9004600160a060020a0316600160a060020a0316600160a060020a03168152602001600182018054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610ac85780601f10610a9d57610100808354040283529160200191610ac8565b820191906000526020600020905b815481529060010190602001808311610aab57829003601f168201915b5050509183525050600282015467ffffffffffffffff8082166020840152680100000000000000008204166040830152608060020a900460ff1615156060820152600390910154600160a060020a031660809091015261147e565b91505b50919050565b6000805467ffffffffffffffff83161061163d57600080fd5b6000805467ffffffffffffffff841690811061146457fe5b906000526020600020906004020160005b5090505b919050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106116b057805160ff19168380011785556116dd565b828001600101855582156116dd579182015b828111156116dd5782518255916020019190600101906116c2565b5b506116ea9291506117b1565b5090565b81548183558181151161171a5760040281600402836000526020600020918201910161171a91906117d2565b5b505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106116b057805160ff19168380011785556116dd565b828001600101855582156116dd579182015b828111156116dd5782518255916020019190600101906116c2565b5b506116ea9291506117b1565b5090565b60206040519081016040526000815290565b61096e91905b808211156116ea57600081556001016117b7565b5090565b90565b61096e91905b808211156116ea57805474ffffffffffffffffffffffffffffffffffffffffff19168155600061180b6001830182611856565b5060028101805470ffffffffffffffffffffffffffffffffff1916905560038101805473ffffffffffffffffffffffffffffffffffffffff191690556004016117d8565b5090565b90565b50805460018160011615610100020316600290046000825580601f1061187c575061189a565b601f01602090049060005260206000209081019061189a91906117b1565b5b505600a165627a7a723058209c4ce72b70e2281123eadbf319d508f2c5b7571579448ff5b421d1d273b483980029"
|
|
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 = "0xc167412f20d34b849ba299fbe14e700f567dd933fecc4b1ebbf644fae125ef5b"
|