5 lines
54 KiB
JavaScript
5 lines
54 KiB
JavaScript
import EmbarkJS from '../embarkjs';
|
|
let LiquidPledgingPluginsJSONConfig = {"contract_name":{"className":"LiquidPledgingPlugins","args":[],"code":"60606040526069805460ff19169055341561001957600080fd5b610df2806100286000396000f3006060604052600436106101195763ffffffff60e060020a600035041663178e6079811461011e5780631c8e85681461014357806324fea3b01461016a57806332ce8ebc1461017d57806332f0a3b51461019d57806338740291146101cc5780634eafbcd5146101e457806360b1e057146102035780636293c7021461021657806379f4542e146102355780637e7db6e11461025457806380afdea81461027357806381ea4408146102865780638322fff2146102a55780638b3dd749146102b85780639b3fdf4c146102cb5780639d4941d8146102de578063a1658fad146102fd578063b12b5f7614610360578063c8ae070f14610376578063d4aae0c41461038c578063f92a79ff1461039f578063fbfa77cf146103f0575b600080fd5b341561012957600080fd5b610131610403565b60405190815260200160405180910390f35b341561014e57600080fd5b610156610427565b604051901515815260200160405180910390f35b341561017557600080fd5b610131610430565b341561018857600080fd5b61019b6004803560248101910135610452565b005b34156101a857600080fd5b6101b06104ec565b604051600160a060020a03909116815260200160405180910390f35b34156101d757600080fd5b61019b600435151561056c565b34156101ef57600080fd5b610156600160a060020a03600435166105d2565b341561020e57600080fd5b61013161064d565b341561022157600080fd5b61019b600160a060020a0360043516610671565b341561024057600080fd5b61019b600160a060020a03600435166106d2565b341561025f57600080fd5b610156600160a060020a036004351661074a565b341561027e57600080fd5b610131610750565b341561029157600080fd5b610131600160a060020a0360043516610756565b34156102b057600080fd5b6101b06107d8565b34156102c357600080fd5b6101316107dd565b34156102d657600080fd5b6101316107e3565b34156102e957600080fd5b61019b600160a060020a0360043516610807565b341561030857600080fd5b61015660048035600160a060020a031690602480359190606490604435908101908301358060208082020160405190810160405280939291908181526020018383602002808284375094965061097f95505050505050565b341561036b57600080fd5b61019b600435610abd565b341561038157600080fd5b61019b600435610b15565b341561039757600080fd5b6101b0610b84565b34156103aa57600080fd5b6101b060046024813581810190830135806020601f82018190048102016040519081016040528181529291906020840183838082843750949650610b9395505050505050565b34156103fb57600080fd5b6101b0610c6f565b7fd6f028ca0e8edb4a8c9757ca4fdccab25fa1e0317da1188108f7d2dee14902fb81565b60695460ff1681565b604051600080516020610da78339815191528152601301604051809103902081565b6000604051600080516020610da78339815191528152601301604051809103902061049d338260006040518059106104875750595b908082528060200260200182016040525061097f565b15156104a857600080fd5b600091505b60ff8216839010156104e6576104db848460ff85168181106104cb57fe5b9050602002013560001916610b15565b6001909101906104ad565b50505050565b60008054600160a060020a0316151561050457600080fd5b60008054600160a060020a0316906332f0a3b590604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b151561054d57600080fd5b6102c65a03f1151561055e57600080fd5b505050604051805191505090565b604051600080516020610da7833981519152815260130160405180910390206105b433826000604051805910610487575059908082528060200260200182016040525061097f565b15156105bf57600080fd5b506069805460ff19169115919091179055565b606954600090819060ff16806105ef5750600160a060020a038316155b156105fd5760019150610647565b600160a060020a03831660009081526068602052604090205460ff16156106275760019150610647565b61063083610756565b60008181526067602052604090205460ff16925090505b50919050565b7fddbcfd564f642ab5627cf68b9b7d374fb4f8a36e941a75d89c87998cef03bd6181565b604051600080516020610da78339815191528152601301604051809103902061069982610c83565b6106a433838361097f565b15156106af57600080fd5b5050600160a060020a03166000908152606860205260409020805460ff19169055565b604051600080516020610da78339815191528152601301604051809103902061071a33826000604051805910610487575059908082528060200260200182016040525061097f565b151561072557600080fd5b50600160a060020a03166000908152606860205260409020805460ff19166001179055565b50600190565b60015481565b6000610760610d94565b823b604051915080825280600060208401863c50806040518082805190602001908083835b602083106107a45780518252601f199092019160209182019101610785565b6001836020036101000a03801982511681845116179092525050509190910192506040915050518091039020915050919050565b600081565b60035490565b7f34f01c17e9be6ddbf2c61f37b5b1fb9f1a090a975006581ad19bda1c4d38287181565b6000806108138361074a565b151561081e57600080fd5b6108266104ec565b915061083182610ca3565b151561083c57600080fd5b600160a060020a038316151561088e5781600160a060020a03166108fc30600160a060020a0316319081150290604051600060405180830381858888f19350505050151561088957600080fd5b61097a565b82600160a060020a03166370a082313060006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b15156108e557600080fd5b6102c65a03f115156108f657600080fd5b5050506040518051915050600160a060020a03831663a9059cbb838360006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b151561095e57600080fd5b6102c65a03f1151561096f57600080fd5b505050604051805150505b505050565b6000610989610d94565b600080845111156109a257835160200290508391508082525b600054600160a060020a03161580610ab3575060008054600160a060020a03169063fdef91069088903090899087906040516020015260405160e060020a63ffffffff8716028152600160a060020a0380861660048301908152908516602483015260448201849052608060648301908152909160840183818151815260200191508051906020019080838360005b83811015610a49578082015183820152602001610a31565b50505050905090810190601f168015610a765780820380516001836020036101000a031916815260200191505b5095505050505050602060405180830381600087803b1515610a9757600080fd5b6102c65a03f11515610aa857600080fd5b505050604051805190505b9695505050505050565b604051600080516020610da783398151915281526013016040518091039020610ae582610cc9565b610af033838361097f565b1515610afb57600080fd5b50506000908152606760205260409020805460ff19169055565b604051600080516020610da783398151915281526013016040518091039020610b5d33826000604051805910610487575059908082528060200260200182016040525061097f565b1515610b6857600080fd5b506000908152606760205260409020805460ff19166001179055565b600054600160a060020a031681565b6000610b9d610cda565b600160a060020a03166304bf2a7f836000604051602001526040518263ffffffff1660e060020a0281526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610c04578082015183820152602001610bec565b50505050905090810190601f168015610c315780820380516001836020036101000a031916815260200191505b5092505050602060405180830381600087803b1515610c4f57600080fd5b6102c65a03f11515610c6057600080fd5b50505060405180519392505050565b6069546101009004600160a060020a031681565b610c8b610d94565b610c9d82600160a060020a0316610d4d565b92915050565b600080600160a060020a0383161515610cbf5760009150610647565b50506000903b1190565b610cd1610d94565b610c9d82610d4d565b600080548190600160a060020a03166342c71f1d7f34f01c17e9be6ddbf2c61f37b5b1fb9f1a090a975006581ad19bda1c4d382871836040516020015260405160e060020a63ffffffff84160281526004810191909152602401602060405180830381600087803b1515610c4f57600080fd5b610d55610d94565b6001604051805910610d645750595b908082528060200260200182016040525090508181600081518110610d8557fe5b60209081029091010152919050565b602060405190810160405260008152905600504c5547494e5f4d414e414745525f524f4c4500000000000000000000000000a165627a7a72305820f3c719e78b012a0bee8f5388bc47f34edad3da48fc5ec33d196837daacced6800029","runtimeBytecode":"6060604052600436106101195763ffffffff60e060020a600035041663178e6079811461011e5780631c8e85681461014357806324fea3b01461016a57806332ce8ebc1461017d57806332f0a3b51461019d57806338740291146101cc5780634eafbcd5146101e457806360b1e057146102035780636293c7021461021657806379f4542e146102355780637e7db6e11461025457806380afdea81461027357806381ea4408146102865780638322fff2146102a55780638b3dd749146102b85780639b3fdf4c146102cb5780639d4941d8146102de578063a1658fad146102fd578063b12b5f7614610360578063c8ae070f14610376578063d4aae0c41461038c578063f92a79ff1461039f578063fbfa77cf146103f0575b600080fd5b341561012957600080fd5b610131610403565b60405190815260200160405180910390f35b341561014e57600080fd5b610156610427565b604051901515815260200160405180910390f35b341561017557600080fd5b610131610430565b341561018857600080fd5b61019b6004803560248101910135610452565b005b34156101a857600080fd5b6101b06104ec565b604051600160a060020a03909116815260200160405180910390f35b34156101d757600080fd5b61019b600435151561056c565b34156101ef57600080fd5b610156600160a060020a03600435166105d2565b341561020e57600080fd5b61013161064d565b341561022157600080fd5b61019b600160a060020a0360043516610671565b341561024057600080fd5b61019b600160a060020a03600435166106d2565b341561025f57600080fd5b610156600160a060020a036004351661074a565b341561027e57600080fd5b610131610750565b341561029157600080fd5b610131600160a060020a0360043516610756565b34156102b057600080fd5b6101b06107d8565b34156102c357600080fd5b6101316107dd565b34156102d657600080fd5b6101316107e3565b34156102e957600080fd5b61019b600160a060020a0360043516610807565b341561030857600080fd5b61015660048035600160a060020a031690602480359190606490604435908101908301358060208082020160405190810160405280939291908181526020018383602002808284375094965061097f95505050505050565b341561036b57600080fd5b61019b600435610abd565b341561038157600080fd5b61019b600435610b15565b341561039757600080fd5b6101b0610b84565b34156103aa57600080fd5b6101b060046024813581810190830135806020601f82018190048102016040519081016040528181529291906020840183838082843750949650610b9395505050505050565b34156103fb57600080fd5b6101b0610c6f565b7fd6f028ca0e8edb4a8c9757ca4fdccab25fa1e0317da1188108f7d2dee14902fb81565b60695460ff1681565b604051600080516020610da78339815191528152601301604051809103902081565b6000604051600080516020610da78339815191528152601301604051809103902061049d338260006040518059106104875750595b908082528060200260200182016040525061097f565b15156104a857600080fd5b600091505b60ff8216839010156104e6576104db848460ff85168181106104cb57fe5b9050602002013560001916610b15565b6001909101906104ad565b50505050565b60008054600160a060020a0316151561050457600080fd5b60008054600160a060020a0316906332f0a3b590604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b151561054d57600080fd5b6102c65a03f1151561055e57600080fd5b505050604051805191505090565b604051600080516020610da7833981519152815260130160405180910390206105b433826000604051805910610487575059908082528060200260200182016040525061097f565b15156105bf57600080fd5b506069805460ff19169115919091179055565b606954600090819060ff16806105ef5750600160a060020a038316155b156105fd5760019150610647565b600160a060020a03831660009081526068602052604090205460ff16156106275760019150610647565b61063083610756565b60008181526067602052604090205460ff16925090505b50919050565b7fddbcfd564f642ab5627cf68b9b7d374fb4f8a36e941a75d89c87998cef03bd6181565b604051600080516020610da78339815191528152601301604051809103902061069982610c83565b6106a433838361097f565b15156106af57600080fd5b5050600160a060020a03166000908152606860205260409020805460ff19169055565b604051600080516020610da78339815191528152601301604051809103902061071a33826000604051805910610487575059908082528060200260200182016040525061097f565b151561072557600080fd5b50600160a060020a03166000908152606860205260409020805460ff19166001179055565b50600190565b60015481565b6000610760610d94565b823b604051915080825280600060208401863c50806040518082805190602001908083835b602083106107a45780518252601f199092019160209182019101610785565b6001836020036101000a03801982511681845116179092525050509190910192506040915050518091039020915050919050565b600081565b60035490565b7f34f01c17e9be6ddbf2c61f37b5b1fb9f1a090a975006581ad19bda1c4d38287181565b6000806108138361074a565b151561081e57600080fd5b6108266104ec565b915061083182610ca3565b151561083c57600080fd5b600160a060020a038316151561088e5781600160a060020a03166108fc30600160a060020a0316319081150290604051600060405180830381858888f19350505050151561088957600080fd5b61097a565b82600160a060020a03166370a082313060006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b15156108e557600080fd5b6102c65a03f115156108f657600080fd5b5050506040518051915050600160a060020a03831663a9059cbb838360006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b151561095e57600080fd5b6102c65a03f1151561096f57600080fd5b505050604051805150505b505050565b6000610989610d94565b600080845111156109a257835160200290508391508082525b600054600160a060020a03161580610ab3575060008054600160a060020a03169063fdef91069088903090899087906040516020015260405160e060020a63ffffffff8716028152600160a060020a0380861660048301908152908516602483015260448201849052608060648301908152909160840183818151815260200191508051906020019080838360005b83811015610a49578082015183820152602001610a31565b50505050905090810190601f168015610a765780820380516001836020036101000a031916815260200191505b5095505050505050602060405180830381600087803b1515610a9757600080fd5b6102c65a03f11515610aa857600080fd5b505050604051805190505b9695505050505050565b604051600080516020610da783398151915281526013016040518091039020610ae582610cc9565b610af033838361097f565b1515610afb57600080fd5b50506000908152606760205260409020805460ff19169055565b604051600080516020610da783398151915281526013016040518091039020610b5d33826000604051805910610487575059908082528060200260200182016040525061097f565b1515610b6857600080fd5b506000908152606760205260409020805460ff19166001179055565b600054600160a060020a031681565b6000610b9d610cda565b600160a060020a03166304bf2a7f836000604051602001526040518263ffffffff1660e060020a0281526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610c04578082015183820152602001610bec565b50505050905090810190601f168015610c315780820380516001836020036101000a031916815260200191505b5092505050602060405180830381600087803b1515610c4f57600080fd5b6102c65a03f11515610c6057600080fd5b50505060405180519392505050565b6069546101009004600160a060020a031681565b610c8b610d94565b610c9d82600160a060020a0316610d4d565b92915050565b600080600160a060020a0383161515610cbf5760009150610647565b50506000903b1190565b610cd1610d94565b610c9d82610d4d565b600080548190600160a060020a03166342c71f1d7f34f01c17e9be6ddbf2c61f37b5b1fb9f1a090a975006581ad19bda1c4d382871836040516020015260405160e060020a63ffffffff84160281526004810191909152602401602060405180830381600087803b1515610c4f57600080fd5b610d55610d94565b6001604051805910610d645750595b908082528060200260200182016040525090508181600081518110610d8557fe5b60209081029091010152919050565b602060405190810160405260008152905600504c5547494e5f4d414e414745525f524f4c4500000000000000000000000000a165627a7a72305820f3c719e78b012a0bee8f5388bc47f34edad3da48fc5ec33d196837daacced6800029","realRuntimeBytecode":"6060604052600436106101195763ffffffff60e060020a600035041663178e6079811461011e5780631c8e85681461014357806324fea3b01461016a57806332ce8ebc1461017d57806332f0a3b51461019d57806338740291146101cc5780634eafbcd5146101e457806360b1e057146102035780636293c7021461021657806379f4542e146102355780637e7db6e11461025457806380afdea81461027357806381ea4408146102865780638322fff2146102a55780638b3dd749146102b85780639b3fdf4c146102cb5780639d4941d8146102de578063a1658fad146102fd578063b12b5f7614610360578063c8ae070f14610376578063d4aae0c41461038c578063f92a79ff1461039f578063fbfa77cf146103f0575b600080fd5b341561012957600080fd5b610131610403565b60405190815260200160405180910390f35b341561014e57600080fd5b610156610427565b604051901515815260200160405180910390f35b341561017557600080fd5b610131610430565b341561018857600080fd5b61019b6004803560248101910135610452565b005b34156101a857600080fd5b6101b06104ec565b604051600160a060020a03909116815260200160405180910390f35b34156101d757600080fd5b61019b600435151561056c565b34156101ef57600080fd5b610156600160a060020a03600435166105d2565b341561020e57600080fd5b61013161064d565b341561022157600080fd5b61019b600160a060020a0360043516610671565b341561024057600080fd5b61019b600160a060020a03600435166106d2565b341561025f57600080fd5b610156600160a060020a036004351661074a565b341561027e57600080fd5b610131610750565b341561029157600080fd5b610131600160a060020a0360043516610756565b34156102b057600080fd5b6101b06107d8565b34156102c357600080fd5b6101316107dd565b34156102d657600080fd5b6101316107e3565b34156102e957600080fd5b61019b600160a060020a0360043516610807565b341561030857600080fd5b61015660048035600160a060020a031690602480359190606490604435908101908301358060208082020160405190810160405280939291908181526020018383602002808284375094965061097f95505050505050565b341561036b57600080fd5b61019b600435610abd565b341561038157600080fd5b61019b600435610b15565b341561039757600080fd5b6101b0610b84565b34156103aa57600080fd5b6101b060046024813581810190830135806020601f82018190048102016040519081016040528181529291906020840183838082843750949650610b9395505050505050565b34156103fb57600080fd5b6101b0610c6f565b7fd6f028ca0e8edb4a8c9757ca4fdccab25fa1e0317da1188108f7d2dee14902fb81565b60695460ff1681565b604051600080516020610da78339815191528152601301604051809103902081565b6000604051600080516020610da78339815191528152601301604051809103902061049d338260006040518059106104875750595b908082528060200260200182016040525061097f565b15156104a857600080fd5b600091505b60ff8216839010156104e6576104db848460ff85168181106104cb57fe5b9050602002013560001916610b15565b6001909101906104ad565b50505050565b60008054600160a060020a0316151561050457600080fd5b60008054600160a060020a0316906332f0a3b590604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b151561054d57600080fd5b6102c65a03f1151561055e57600080fd5b505050604051805191505090565b604051600080516020610da7833981519152815260130160405180910390206105b433826000604051805910610487575059908082528060200260200182016040525061097f565b15156105bf57600080fd5b506069805460ff19169115919091179055565b606954600090819060ff16806105ef5750600160a060020a038316155b156105fd5760019150610647565b600160a060020a03831660009081526068602052604090205460ff16156106275760019150610647565b61063083610756565b60008181526067602052604090205460ff16925090505b50919050565b7fddbcfd564f642ab5627cf68b9b7d374fb4f8a36e941a75d89c87998cef03bd6181565b604051600080516020610da78339815191528152601301604051809103902061069982610c83565b6106a433838361097f565b15156106af57600080fd5b5050600160a060020a03166000908152606860205260409020805460ff19169055565b604051600080516020610da78339815191528152601301604051809103902061071a33826000604051805910610487575059908082528060200260200182016040525061097f565b151561072557600080fd5b50600160a060020a03166000908152606860205260409020805460ff19166001179055565b50600190565b60015481565b6000610760610d94565b823b604051915080825280600060208401863c50806040518082805190602001908083835b602083106107a45780518252601f199092019160209182019101610785565b6001836020036101000a03801982511681845116179092525050509190910192506040915050518091039020915050919050565b600081565b60035490565b7f34f01c17e9be6ddbf2c61f37b5b1fb9f1a090a975006581ad19bda1c4d38287181565b6000806108138361074a565b151561081e57600080fd5b6108266104ec565b915061083182610ca3565b151561083c57600080fd5b600160a060020a038316151561088e5781600160a060020a03166108fc30600160a060020a0316319081150290604051600060405180830381858888f19350505050151561088957600080fd5b61097a565b82600160a060020a03166370a082313060006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b15156108e557600080fd5b6102c65a03f115156108f657600080fd5b5050506040518051915050600160a060020a03831663a9059cbb838360006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b151561095e57600080fd5b6102c65a03f1151561096f57600080fd5b505050604051805150505b505050565b6000610989610d94565b600080845111156109a257835160200290508391508082525b600054600160a060020a03161580610ab3575060008054600160a060020a03169063fdef91069088903090899087906040516020015260405160e060020a63ffffffff8716028152600160a060020a0380861660048301908152908516602483015260448201849052608060648301908152909160840183818151815260200191508051906020019080838360005b83811015610a49578082015183820152602001610a31565b50505050905090810190601f168015610a765780820380516001836020036101000a031916815260200191505b5095505050505050602060405180830381600087803b1515610a9757600080fd5b6102c65a03f11515610aa857600080fd5b505050604051805190505b9695505050505050565b604051600080516020610da783398151915281526013016040518091039020610ae582610cc9565b610af033838361097f565b1515610afb57600080fd5b50506000908152606760205260409020805460ff19169055565b604051600080516020610da783398151915281526013016040518091039020610b5d33826000604051805910610487575059908082528060200260200182016040525061097f565b1515610b6857600080fd5b506000908152606760205260409020805460ff19166001179055565b600054600160a060020a031681565b6000610b9d610cda565b600160a060020a03166304bf2a7f836000604051602001526040518263ffffffff1660e060020a0281526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610c04578082015183820152602001610bec565b50505050905090810190601f168015610c315780820380516001836020036101000a031916815260200191505b5092505050602060405180830381600087803b1515610c4f57600080fd5b6102c65a03f11515610c6057600080fd5b50505060405180519392505050565b6069546101009004600160a060020a031681565b610c8b610d94565b610c9d82600160a060020a0316610d4d565b92915050565b600080600160a060020a0383161515610cbf5760009150610647565b50506000903b1190565b610cd1610d94565b610c9d82610d4d565b600080548190600160a060020a03166342c71f1d7f34f01c17e9be6ddbf2c61f37b5b1fb9f1a090a975006581ad19bda1c4d382871836040516020015260405160e060020a63ffffffff84160281526004810191909152602401602060405180830381600087803b1515610c4f57600080fd5b610d55610d94565b6001604051805910610d645750595b908082528060200260200182016040525090508181600081518110610d8557fe5b60209081029091010152919050565b602060405190810160405260008152905600504c5547494e5f4d414e414745525f524f4c4500000000000000000000000000a165627a7a72305820","linkReferences":{},"swarmHash":"f3c719e78b012a0bee8f5388bc47f34edad3da48fc5ec33d196837daacced680","gasEstimates":{"creation":{"codeDepositCost":"714000","executionCost":"20960","totalCost":"734960"},"external":{"APP_ADDR_NAMESPACE()":"236","ETH()":"600","EVMSCRIPT_REGISTRY_APP()":"566","EVMSCRIPT_REGISTRY_APP_ID()":"390","PLUGIN_MANAGER_ROLE()":"infinite","addValidPluginContract(bytes32)":"infinite","addValidPluginContracts(bytes32[])":"infinite","addValidPluginInstance(address)":"infinite","allowRecoverability(address)":"545","appId()":"678","canPerform(address,bytes32,uint256[])":"infinite","getCodeHash(address)":"infinite","getExecutor(bytes)":"infinite","getInitializationBlock()":"744","getRecoveryVault()":"infinite","isValidPlugin(address)":"infinite","kernel()":"1029","removeValidPluginContract(bytes32)":"infinite","removeValidPluginInstance(address)":"infinite","transferToVault(address)":"infinite","useWhitelist(bool)":"infinite","vault()":"1084","whitelistDisabled()":"470"}},"functionHashes":{"APP_ADDR_NAMESPACE()":"178e6079","ETH()":"8322fff2","EVMSCRIPT_REGISTRY_APP()":"9b3fdf4c","EVMSCRIPT_REGISTRY_APP_ID()":"60b1e057","PLUGIN_MANAGER_ROLE()":"24fea3b0","addValidPluginContract(bytes32)":"c8ae070f","addValidPluginContracts(bytes32[])":"32ce8ebc","addValidPluginInstance(address)":"79f4542e","allowRecoverability(address)":"7e7db6e1","appId()":"80afdea8","canPerform(address,bytes32,uint256[])":"a1658fad","getCodeHash(address)":"81ea4408","getExecutor(bytes)":"f92a79ff","getInitializationBlock()":"8b3dd749","getRecoveryVault()":"32f0a3b5","isValidPlugin(address)":"4eafbcd5","kernel()":"d4aae0c4","removeValidPluginContract(bytes32)":"b12b5f76","removeValidPluginInstance(address)":"6293c702","transferToVault(address)":"9d4941d8","useWhitelist(bool)":"38740291","vault()":"fbfa77cf","whitelistDisabled()":"1c8e8568"},"abiDefinition":[{"constant":true,"inputs":[],"name":"APP_ADDR_NAMESPACE","outputs":[{"name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"whitelistDisabled","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"PLUGIN_MANAGER_ROLE","outputs":[{"name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"contractHashes","type":"bytes32[]"}],"name":"addValidPluginContracts","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"getRecoveryVault","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"useWhitelist","type":"bool"}],"name":"useWhitelist","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"addr","type":"address"}],"name":"isValidPlugin","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"EVMSCRIPT_REGISTRY_APP_ID","outputs":[{"name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"addr","type":"address"}],"name":"removeValidPluginInstance","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"addr","type":"address"}],"name":"addValidPluginInstance","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"token","type":"address"}],"name":"allowRecoverability","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"appId","outputs":[{"name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"addr","type":"address"}],"name":"getCodeHash","outputs":[{"name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"ETH","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getInitializationBlock","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"EVMSCRIPT_REGISTRY_APP","outputs":[{"name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_token","type":"address"}],"name":"transferToVault","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_sender","type":"address"},{"name":"_role","type":"bytes32"},{"name":"params","type":"uint256[]"}],"name":"canPerform","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"contractHash","type":"bytes32"}],"name":"removeValidPluginContract","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"contractHash","type":"bytes32"}],"name":"addValidPluginContract","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"kernel","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_script","type":"bytes"}],"name":"getExecutor","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"vault","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"}],"filename":"/Users/Barry/projects/status-im/liquid-funding/.embark/contracts/LiquidPledgingPlugins.sol","originalFilename":"contracts/LiquidPledgingPlugins.sol","path":"/Users/Barry/projects/status-im/liquid-funding/contracts/LiquidPledgingPlugins.sol","gas":"auto","type":"file","deploy":false,"_gasLimit":6000000,"error":false},"code":"60606040526069805460ff19169055341561001957600080fd5b610df2806100286000396000f3006060604052600436106101195763ffffffff60e060020a600035041663178e6079811461011e5780631c8e85681461014357806324fea3b01461016a57806332ce8ebc1461017d57806332f0a3b51461019d57806338740291146101cc5780634eafbcd5146101e457806360b1e057146102035780636293c7021461021657806379f4542e146102355780637e7db6e11461025457806380afdea81461027357806381ea4408146102865780638322fff2146102a55780638b3dd749146102b85780639b3fdf4c146102cb5780639d4941d8146102de578063a1658fad146102fd578063b12b5f7614610360578063c8ae070f14610376578063d4aae0c41461038c578063f92a79ff1461039f578063fbfa77cf146103f0575b600080fd5b341561012957600080fd5b610131610403565b60405190815260200160405180910390f35b341561014e57600080fd5b610156610427565b604051901515815260200160405180910390f35b341561017557600080fd5b610131610430565b341561018857600080fd5b61019b6004803560248101910135610452565b005b34156101a857600080fd5b6101b06104ec565b604051600160a060020a03909116815260200160405180910390f35b34156101d757600080fd5b61019b600435151561056c565b34156101ef57600080fd5b610156600160a060020a03600435166105d2565b341561020e57600080fd5b61013161064d565b341561022157600080fd5b61019b600160a060020a0360043516610671565b341561024057600080fd5b61019b600160a060020a03600435166106d2565b341561025f57600080fd5b610156600160a060020a036004351661074a565b341561027e57600080fd5b610131610750565b341561029157600080fd5b610131600160a060020a0360043516610756565b34156102b057600080fd5b6101b06107d8565b34156102c357600080fd5b6101316107dd565b34156102d657600080fd5b6101316107e3565b34156102e957600080fd5b61019b600160a060020a0360043516610807565b341561030857600080fd5b61015660048035600160a060020a031690602480359190606490604435908101908301358060208082020160405190810160405280939291908181526020018383602002808284375094965061097f95505050505050565b341561036b57600080fd5b61019b600435610abd565b341561038157600080fd5b61019b600435610b15565b341561039757600080fd5b6101b0610b84565b34156103aa57600080fd5b6101b060046024813581810190830135806020601f82018190048102016040519081016040528181529291906020840183838082843750949650610b9395505050505050565b34156103fb57600080fd5b6101b0610c6f565b7fd6f028ca0e8edb4a8c9757ca4fdccab25fa1e0317da1188108f7d2dee14902fb81565b60695460ff1681565b604051600080516020610da78339815191528152601301604051809103902081565b6000604051600080516020610da78339815191528152601301604051809103902061049d338260006040518059106104875750595b908082528060200260200182016040525061097f565b15156104a857600080fd5b600091505b60ff8216839010156104e6576104db848460ff85168181106104cb57fe5b9050602002013560001916610b15565b6001909101906104ad565b50505050565b60008054600160a060020a0316151561050457600080fd5b60008054600160a060020a0316906332f0a3b590604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b151561054d57600080fd5b6102c65a03f1151561055e57600080fd5b505050604051805191505090565b604051600080516020610da7833981519152815260130160405180910390206105b433826000604051805910610487575059908082528060200260200182016040525061097f565b15156105bf57600080fd5b506069805460ff19169115919091179055565b606954600090819060ff16806105ef5750600160a060020a038316155b156105fd5760019150610647565b600160a060020a03831660009081526068602052604090205460ff16156106275760019150610647565b61063083610756565b60008181526067602052604090205460ff16925090505b50919050565b7fddbcfd564f642ab5627cf68b9b7d374fb4f8a36e941a75d89c87998cef03bd6181565b604051600080516020610da78339815191528152601301604051809103902061069982610c83565b6106a433838361097f565b15156106af57600080fd5b5050600160a060020a03166000908152606860205260409020805460ff19169055565b604051600080516020610da78339815191528152601301604051809103902061071a33826000604051805910610487575059908082528060200260200182016040525061097f565b151561072557600080fd5b50600160a060020a03166000908152606860205260409020805460ff19166001179055565b50600190565b60015481565b6000610760610d94565b823b604051915080825280600060208401863c50806040518082805190602001908083835b602083106107a45780518252601f199092019160209182019101610785565b6001836020036101000a03801982511681845116179092525050509190910192506040915050518091039020915050919050565b600081565b60035490565b7f34f01c17e9be6ddbf2c61f37b5b1fb9f1a090a975006581ad19bda1c4d38287181565b6000806108138361074a565b151561081e57600080fd5b6108266104ec565b915061083182610ca3565b151561083c57600080fd5b600160a060020a038316151561088e5781600160a060020a03166108fc30600160a060020a0316319081150290604051600060405180830381858888f19350505050151561088957600080fd5b61097a565b82600160a060020a03166370a082313060006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b15156108e557600080fd5b6102c65a03f115156108f657600080fd5b5050506040518051915050600160a060020a03831663a9059cbb838360006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b151561095e57600080fd5b6102c65a03f1151561096f57600080fd5b505050604051805150505b505050565b6000610989610d94565b600080845111156109a257835160200290508391508082525b600054600160a060020a03161580610ab3575060008054600160a060020a03169063fdef91069088903090899087906040516020015260405160e060020a63ffffffff8716028152600160a060020a0380861660048301908152908516602483015260448201849052608060648301908152909160840183818151815260200191508051906020019080838360005b83811015610a49578082015183820152602001610a31565b50505050905090810190601f168015610a765780820380516001836020036101000a031916815260200191505b5095505050505050602060405180830381600087803b1515610a9757600080fd5b6102c65a03f11515610aa857600080fd5b505050604051805190505b9695505050505050565b604051600080516020610da783398151915281526013016040518091039020610ae582610cc9565b610af033838361097f565b1515610afb57600080fd5b50506000908152606760205260409020805460ff19169055565b604051600080516020610da783398151915281526013016040518091039020610b5d33826000604051805910610487575059908082528060200260200182016040525061097f565b1515610b6857600080fd5b506000908152606760205260409020805460ff19166001179055565b600054600160a060020a031681565b6000610b9d610cda565b600160a060020a03166304bf2a7f836000604051602001526040518263ffffffff1660e060020a0281526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610c04578082015183820152602001610bec565b50505050905090810190601f168015610c315780820380516001836020036101000a031916815260200191505b5092505050602060405180830381600087803b1515610c4f57600080fd5b6102c65a03f11515610c6057600080fd5b50505060405180519392505050565b6069546101009004600160a060020a031681565b610c8b610d94565b610c9d82600160a060020a0316610d4d565b92915050565b600080600160a060020a0383161515610cbf5760009150610647565b50506000903b1190565b610cd1610d94565b610c9d82610d4d565b600080548190600160a060020a03166342c71f1d7f34f01c17e9be6ddbf2c61f37b5b1fb9f1a090a975006581ad19bda1c4d382871836040516020015260405160e060020a63ffffffff84160281526004810191909152602401602060405180830381600087803b1515610c4f57600080fd5b610d55610d94565b6001604051805910610d645750595b908082528060200260200182016040525090508181600081518110610d8557fe5b60209081029091010152919050565b602060405190810160405260008152905600504c5547494e5f4d414e414745525f524f4c4500000000000000000000000000a165627a7a72305820f3c719e78b012a0bee8f5388bc47f34edad3da48fc5ec33d196837daacced6800029","runtime_bytecode":"6060604052600436106101195763ffffffff60e060020a600035041663178e6079811461011e5780631c8e85681461014357806324fea3b01461016a57806332ce8ebc1461017d57806332f0a3b51461019d57806338740291146101cc5780634eafbcd5146101e457806360b1e057146102035780636293c7021461021657806379f4542e146102355780637e7db6e11461025457806380afdea81461027357806381ea4408146102865780638322fff2146102a55780638b3dd749146102b85780639b3fdf4c146102cb5780639d4941d8146102de578063a1658fad146102fd578063b12b5f7614610360578063c8ae070f14610376578063d4aae0c41461038c578063f92a79ff1461039f578063fbfa77cf146103f0575b600080fd5b341561012957600080fd5b610131610403565b60405190815260200160405180910390f35b341561014e57600080fd5b610156610427565b604051901515815260200160405180910390f35b341561017557600080fd5b610131610430565b341561018857600080fd5b61019b6004803560248101910135610452565b005b34156101a857600080fd5b6101b06104ec565b604051600160a060020a03909116815260200160405180910390f35b34156101d757600080fd5b61019b600435151561056c565b34156101ef57600080fd5b610156600160a060020a03600435166105d2565b341561020e57600080fd5b61013161064d565b341561022157600080fd5b61019b600160a060020a0360043516610671565b341561024057600080fd5b61019b600160a060020a03600435166106d2565b341561025f57600080fd5b610156600160a060020a036004351661074a565b341561027e57600080fd5b610131610750565b341561029157600080fd5b610131600160a060020a0360043516610756565b34156102b057600080fd5b6101b06107d8565b34156102c357600080fd5b6101316107dd565b34156102d657600080fd5b6101316107e3565b34156102e957600080fd5b61019b600160a060020a0360043516610807565b341561030857600080fd5b61015660048035600160a060020a031690602480359190606490604435908101908301358060208082020160405190810160405280939291908181526020018383602002808284375094965061097f95505050505050565b341561036b57600080fd5b61019b600435610abd565b341561038157600080fd5b61019b600435610b15565b341561039757600080fd5b6101b0610b84565b34156103aa57600080fd5b6101b060046024813581810190830135806020601f82018190048102016040519081016040528181529291906020840183838082843750949650610b9395505050505050565b34156103fb57600080fd5b6101b0610c6f565b7fd6f028ca0e8edb4a8c9757ca4fdccab25fa1e0317da1188108f7d2dee14902fb81565b60695460ff1681565b604051600080516020610da78339815191528152601301604051809103902081565b6000604051600080516020610da78339815191528152601301604051809103902061049d338260006040518059106104875750595b908082528060200260200182016040525061097f565b15156104a857600080fd5b600091505b60ff8216839010156104e6576104db848460ff85168181106104cb57fe5b9050602002013560001916610b15565b6001909101906104ad565b50505050565b60008054600160a060020a0316151561050457600080fd5b60008054600160a060020a0316906332f0a3b590604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b151561054d57600080fd5b6102c65a03f1151561055e57600080fd5b505050604051805191505090565b604051600080516020610da7833981519152815260130160405180910390206105b433826000604051805910610487575059908082528060200260200182016040525061097f565b15156105bf57600080fd5b506069805460ff19169115919091179055565b606954600090819060ff16806105ef5750600160a060020a038316155b156105fd5760019150610647565b600160a060020a03831660009081526068602052604090205460ff16156106275760019150610647565b61063083610756565b60008181526067602052604090205460ff16925090505b50919050565b7fddbcfd564f642ab5627cf68b9b7d374fb4f8a36e941a75d89c87998cef03bd6181565b604051600080516020610da78339815191528152601301604051809103902061069982610c83565b6106a433838361097f565b15156106af57600080fd5b5050600160a060020a03166000908152606860205260409020805460ff19169055565b604051600080516020610da78339815191528152601301604051809103902061071a33826000604051805910610487575059908082528060200260200182016040525061097f565b151561072557600080fd5b50600160a060020a03166000908152606860205260409020805460ff19166001179055565b50600190565b60015481565b6000610760610d94565b823b604051915080825280600060208401863c50806040518082805190602001908083835b602083106107a45780518252601f199092019160209182019101610785565b6001836020036101000a03801982511681845116179092525050509190910192506040915050518091039020915050919050565b600081565b60035490565b7f34f01c17e9be6ddbf2c61f37b5b1fb9f1a090a975006581ad19bda1c4d38287181565b6000806108138361074a565b151561081e57600080fd5b6108266104ec565b915061083182610ca3565b151561083c57600080fd5b600160a060020a038316151561088e5781600160a060020a03166108fc30600160a060020a0316319081150290604051600060405180830381858888f19350505050151561088957600080fd5b61097a565b82600160a060020a03166370a082313060006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b15156108e557600080fd5b6102c65a03f115156108f657600080fd5b5050506040518051915050600160a060020a03831663a9059cbb838360006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b151561095e57600080fd5b6102c65a03f1151561096f57600080fd5b505050604051805150505b505050565b6000610989610d94565b600080845111156109a257835160200290508391508082525b600054600160a060020a03161580610ab3575060008054600160a060020a03169063fdef91069088903090899087906040516020015260405160e060020a63ffffffff8716028152600160a060020a0380861660048301908152908516602483015260448201849052608060648301908152909160840183818151815260200191508051906020019080838360005b83811015610a49578082015183820152602001610a31565b50505050905090810190601f168015610a765780820380516001836020036101000a031916815260200191505b5095505050505050602060405180830381600087803b1515610a9757600080fd5b6102c65a03f11515610aa857600080fd5b505050604051805190505b9695505050505050565b604051600080516020610da783398151915281526013016040518091039020610ae582610cc9565b610af033838361097f565b1515610afb57600080fd5b50506000908152606760205260409020805460ff19169055565b604051600080516020610da783398151915281526013016040518091039020610b5d33826000604051805910610487575059908082528060200260200182016040525061097f565b1515610b6857600080fd5b506000908152606760205260409020805460ff19166001179055565b600054600160a060020a031681565b6000610b9d610cda565b600160a060020a03166304bf2a7f836000604051602001526040518263ffffffff1660e060020a0281526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610c04578082015183820152602001610bec565b50505050905090810190601f168015610c315780820380516001836020036101000a031916815260200191505b5092505050602060405180830381600087803b1515610c4f57600080fd5b6102c65a03f11515610c6057600080fd5b50505060405180519392505050565b6069546101009004600160a060020a031681565b610c8b610d94565b610c9d82600160a060020a0316610d4d565b92915050565b600080600160a060020a0383161515610cbf5760009150610647565b50506000903b1190565b610cd1610d94565b610c9d82610d4d565b600080548190600160a060020a03166342c71f1d7f34f01c17e9be6ddbf2c61f37b5b1fb9f1a090a975006581ad19bda1c4d382871836040516020015260405160e060020a63ffffffff84160281526004810191909152602401602060405180830381600087803b1515610c4f57600080fd5b610d55610d94565b6001604051805910610d645750595b908082528060200260200182016040525090508181600081518110610d8557fe5b60209081029091010152919050565b602060405190810160405260008152905600504c5547494e5f4d414e414745525f524f4c4500000000000000000000000000a165627a7a72305820f3c719e78b012a0bee8f5388bc47f34edad3da48fc5ec33d196837daacced6800029","real_runtime_bytecode":"6060604052600436106101195763ffffffff60e060020a600035041663178e6079811461011e5780631c8e85681461014357806324fea3b01461016a57806332ce8ebc1461017d57806332f0a3b51461019d57806338740291146101cc5780634eafbcd5146101e457806360b1e057146102035780636293c7021461021657806379f4542e146102355780637e7db6e11461025457806380afdea81461027357806381ea4408146102865780638322fff2146102a55780638b3dd749146102b85780639b3fdf4c146102cb5780639d4941d8146102de578063a1658fad146102fd578063b12b5f7614610360578063c8ae070f14610376578063d4aae0c41461038c578063f92a79ff1461039f578063fbfa77cf146103f0575b600080fd5b341561012957600080fd5b610131610403565b60405190815260200160405180910390f35b341561014e57600080fd5b610156610427565b604051901515815260200160405180910390f35b341561017557600080fd5b610131610430565b341561018857600080fd5b61019b6004803560248101910135610452565b005b34156101a857600080fd5b6101b06104ec565b604051600160a060020a03909116815260200160405180910390f35b34156101d757600080fd5b61019b600435151561056c565b34156101ef57600080fd5b610156600160a060020a03600435166105d2565b341561020e57600080fd5b61013161064d565b341561022157600080fd5b61019b600160a060020a0360043516610671565b341561024057600080fd5b61019b600160a060020a03600435166106d2565b341561025f57600080fd5b610156600160a060020a036004351661074a565b341561027e57600080fd5b610131610750565b341561029157600080fd5b610131600160a060020a0360043516610756565b34156102b057600080fd5b6101b06107d8565b34156102c357600080fd5b6101316107dd565b34156102d657600080fd5b6101316107e3565b34156102e957600080fd5b61019b600160a060020a0360043516610807565b341561030857600080fd5b61015660048035600160a060020a031690602480359190606490604435908101908301358060208082020160405190810160405280939291908181526020018383602002808284375094965061097f95505050505050565b341561036b57600080fd5b61019b600435610abd565b341561038157600080fd5b61019b600435610b15565b341561039757600080fd5b6101b0610b84565b34156103aa57600080fd5b6101b060046024813581810190830135806020601f82018190048102016040519081016040528181529291906020840183838082843750949650610b9395505050505050565b34156103fb57600080fd5b6101b0610c6f565b7fd6f028ca0e8edb4a8c9757ca4fdccab25fa1e0317da1188108f7d2dee14902fb81565b60695460ff1681565b604051600080516020610da78339815191528152601301604051809103902081565b6000604051600080516020610da78339815191528152601301604051809103902061049d338260006040518059106104875750595b908082528060200260200182016040525061097f565b15156104a857600080fd5b600091505b60ff8216839010156104e6576104db848460ff85168181106104cb57fe5b9050602002013560001916610b15565b6001909101906104ad565b50505050565b60008054600160a060020a0316151561050457600080fd5b60008054600160a060020a0316906332f0a3b590604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b151561054d57600080fd5b6102c65a03f1151561055e57600080fd5b505050604051805191505090565b604051600080516020610da7833981519152815260130160405180910390206105b433826000604051805910610487575059908082528060200260200182016040525061097f565b15156105bf57600080fd5b506069805460ff19169115919091179055565b606954600090819060ff16806105ef5750600160a060020a038316155b156105fd5760019150610647565b600160a060020a03831660009081526068602052604090205460ff16156106275760019150610647565b61063083610756565b60008181526067602052604090205460ff16925090505b50919050565b7fddbcfd564f642ab5627cf68b9b7d374fb4f8a36e941a75d89c87998cef03bd6181565b604051600080516020610da78339815191528152601301604051809103902061069982610c83565b6106a433838361097f565b15156106af57600080fd5b5050600160a060020a03166000908152606860205260409020805460ff19169055565b604051600080516020610da78339815191528152601301604051809103902061071a33826000604051805910610487575059908082528060200260200182016040525061097f565b151561072557600080fd5b50600160a060020a03166000908152606860205260409020805460ff19166001179055565b50600190565b60015481565b6000610760610d94565b823b604051915080825280600060208401863c50806040518082805190602001908083835b602083106107a45780518252601f199092019160209182019101610785565b6001836020036101000a03801982511681845116179092525050509190910192506040915050518091039020915050919050565b600081565b60035490565b7f34f01c17e9be6ddbf2c61f37b5b1fb9f1a090a975006581ad19bda1c4d38287181565b6000806108138361074a565b151561081e57600080fd5b6108266104ec565b915061083182610ca3565b151561083c57600080fd5b600160a060020a038316151561088e5781600160a060020a03166108fc30600160a060020a0316319081150290604051600060405180830381858888f19350505050151561088957600080fd5b61097a565b82600160a060020a03166370a082313060006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b15156108e557600080fd5b6102c65a03f115156108f657600080fd5b5050506040518051915050600160a060020a03831663a9059cbb838360006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b151561095e57600080fd5b6102c65a03f1151561096f57600080fd5b505050604051805150505b505050565b6000610989610d94565b600080845111156109a257835160200290508391508082525b600054600160a060020a03161580610ab3575060008054600160a060020a03169063fdef91069088903090899087906040516020015260405160e060020a63ffffffff8716028152600160a060020a0380861660048301908152908516602483015260448201849052608060648301908152909160840183818151815260200191508051906020019080838360005b83811015610a49578082015183820152602001610a31565b50505050905090810190601f168015610a765780820380516001836020036101000a031916815260200191505b5095505050505050602060405180830381600087803b1515610a9757600080fd5b6102c65a03f11515610aa857600080fd5b505050604051805190505b9695505050505050565b604051600080516020610da783398151915281526013016040518091039020610ae582610cc9565b610af033838361097f565b1515610afb57600080fd5b50506000908152606760205260409020805460ff19169055565b604051600080516020610da783398151915281526013016040518091039020610b5d33826000604051805910610487575059908082528060200260200182016040525061097f565b1515610b6857600080fd5b506000908152606760205260409020805460ff19166001179055565b600054600160a060020a031681565b6000610b9d610cda565b600160a060020a03166304bf2a7f836000604051602001526040518263ffffffff1660e060020a0281526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610c04578082015183820152602001610bec565b50505050905090810190601f168015610c315780820380516001836020036101000a031916815260200191505b5092505050602060405180830381600087803b1515610c4f57600080fd5b6102c65a03f11515610c6057600080fd5b50505060405180519392505050565b6069546101009004600160a060020a031681565b610c8b610d94565b610c9d82600160a060020a0316610d4d565b92915050565b600080600160a060020a0383161515610cbf5760009150610647565b50506000903b1190565b610cd1610d94565b610c9d82610d4d565b600080548190600160a060020a03166342c71f1d7f34f01c17e9be6ddbf2c61f37b5b1fb9f1a090a975006581ad19bda1c4d382871836040516020015260405160e060020a63ffffffff84160281526004810191909152602401602060405180830381600087803b1515610c4f57600080fd5b610d55610d94565b6001604051805910610d645750595b908082528060200260200182016040525090508181600081518110610d8557fe5b60209081029091010152919050565b602060405190810160405260008152905600504c5547494e5f4d414e414745525f524f4c4500000000000000000000000000a165627a7a72305820","swarm_hash":"f3c719e78b012a0bee8f5388bc47f34edad3da48fc5ec33d196837daacced680","gas_estimates":{"creation":{"codeDepositCost":"714000","executionCost":"20960","totalCost":"734960"},"external":{"APP_ADDR_NAMESPACE()":"236","ETH()":"600","EVMSCRIPT_REGISTRY_APP()":"566","EVMSCRIPT_REGISTRY_APP_ID()":"390","PLUGIN_MANAGER_ROLE()":"infinite","addValidPluginContract(bytes32)":"infinite","addValidPluginContracts(bytes32[])":"infinite","addValidPluginInstance(address)":"infinite","allowRecoverability(address)":"545","appId()":"678","canPerform(address,bytes32,uint256[])":"infinite","getCodeHash(address)":"infinite","getExecutor(bytes)":"infinite","getInitializationBlock()":"744","getRecoveryVault()":"infinite","isValidPlugin(address)":"infinite","kernel()":"1029","removeValidPluginContract(bytes32)":"infinite","removeValidPluginInstance(address)":"infinite","transferToVault(address)":"infinite","useWhitelist(bool)":"infinite","vault()":"1084","whitelistDisabled()":"470"}},"function_hashes":{"APP_ADDR_NAMESPACE()":"178e6079","ETH()":"8322fff2","EVMSCRIPT_REGISTRY_APP()":"9b3fdf4c","EVMSCRIPT_REGISTRY_APP_ID()":"60b1e057","PLUGIN_MANAGER_ROLE()":"24fea3b0","addValidPluginContract(bytes32)":"c8ae070f","addValidPluginContracts(bytes32[])":"32ce8ebc","addValidPluginInstance(address)":"79f4542e","allowRecoverability(address)":"7e7db6e1","appId()":"80afdea8","canPerform(address,bytes32,uint256[])":"a1658fad","getCodeHash(address)":"81ea4408","getExecutor(bytes)":"f92a79ff","getInitializationBlock()":"8b3dd749","getRecoveryVault()":"32f0a3b5","isValidPlugin(address)":"4eafbcd5","kernel()":"d4aae0c4","removeValidPluginContract(bytes32)":"b12b5f76","removeValidPluginInstance(address)":"6293c702","transferToVault(address)":"9d4941d8","useWhitelist(bool)":"38740291","vault()":"fbfa77cf","whitelistDisabled()":"1c8e8568"},"abi":[{"constant":true,"inputs":[],"name":"APP_ADDR_NAMESPACE","outputs":[{"name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"whitelistDisabled","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"PLUGIN_MANAGER_ROLE","outputs":[{"name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"contractHashes","type":"bytes32[]"}],"name":"addValidPluginContracts","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"getRecoveryVault","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"useWhitelist","type":"bool"}],"name":"useWhitelist","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"addr","type":"address"}],"name":"isValidPlugin","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"EVMSCRIPT_REGISTRY_APP_ID","outputs":[{"name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"addr","type":"address"}],"name":"removeValidPluginInstance","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"addr","type":"address"}],"name":"addValidPluginInstance","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"token","type":"address"}],"name":"allowRecoverability","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"appId","outputs":[{"name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"addr","type":"address"}],"name":"getCodeHash","outputs":[{"name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"ETH","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getInitializationBlock","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"EVMSCRIPT_REGISTRY_APP","outputs":[{"name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_token","type":"address"}],"name":"transferToVault","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_sender","type":"address"},{"name":"_role","type":"bytes32"},{"name":"params","type":"uint256[]"}],"name":"canPerform","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"contractHash","type":"bytes32"}],"name":"removeValidPluginContract","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"contractHash","type":"bytes32"}],"name":"addValidPluginContract","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"kernel","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_script","type":"bytes"}],"name":"getExecutor","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"vault","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"}]};
|
|
let LiquidPledgingPlugins = new EmbarkJS.Blockchain.Contract(LiquidPledgingPluginsJSONConfig);
|
|
export default LiquidPledgingPlugins;
|