5 lines
50 KiB
JavaScript
5 lines
50 KiB
JavaScript
import EmbarkJS from '../embarkjs';
|
|
let EVMScriptRegistryJSONConfig = {"contract_name":{"className":"EVMScriptRegistry","args":[],"code":"6060604052341561000f57600080fd5b610d218061001e6000396000f3006060604052600436106100e25763ffffffff60e060020a60003504166304bf2a7f81146100e7578063178e60791461015457806332f0a3b5146101795780635ca4d4bb1461018c57806360b1e057146101a45780637e7db6e1146101b757806380afdea8146101ea5780638129fc1c146101fd5780638322fff21461021057806387a16f12146102235780638b3dd749146102425780639b3fdf4c146102555780639d4941d814610268578063a1658fad14610287578063bd8fde1c146102ea578063d4aae0c4146102fd578063f92a79ff14610310578063f97a05df14610361575b600080fd5b34156100f257600080fd5b61013860046024813581810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284375094965061039b95505050505050565b604051600160a060020a03909116815260200160405180910390f35b341561015f57600080fd5b610167610417565b60405190815260200160405180910390f35b341561018457600080fd5b61013861043b565b341561019757600080fd5b6101a26004356104bc565b005b34156101af57600080fd5b61016761055d565b34156101c257600080fd5b6101d6600160a060020a0360043516610581565b604051901515815260200160405180910390f35b34156101f557600080fd5b610167610587565b341561020857600080fd5b6101a261058d565b341561021b57600080fd5b610138610633565b341561022e57600080fd5b610167600160a060020a0360043516610638565b341561024d57600080fd5b61016761072e565b341561026057600080fd5b610167610734565b341561027357600080fd5b6101a2600160a060020a0360043516610758565b341561029257600080fd5b6101d660048035600160a060020a03169060248035919060649060443590810190830135806020808202016040519081016040528093929190818152602001838360200280828437509496506108d095505050505050565b34156102f557600080fd5b610167610a0e565b341561030857600080fd5b610138610a32565b341561031b57600080fd5b61013860046024813581810190830135806020601f82018190048102016040519081016040528181529291906020840183838082843750949650610a4195505050505050565b341561036c57600080fd5b610377600435610b1d565b604051600160a060020a039092168252151560208201526040908101905180910390f35b60008060006103a984610b50565b63ffffffff1691508115806103c057506064548210155b156103ce5760009250610410565b60648054839081106103dc57fe5b6000918252602090912001805490915060a060020a900460ff1661040157600061040d565b8054600160a060020a03165b92505b5050919050565b7fd6f028ca0e8edb4a8c9757ca4fdccab25fa1e0317da1188108f7d2dee14902fb81565b60008054600160a060020a0316151561045357600080fd5b60008054600160a060020a0316906332f0a3b590604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b151561049c57600080fd5b6102c65a03f115156104ad57600080fd5b50505060405180519150505b90565b7ff7a450ef335e1892cb42c8ca72e7242359d7711924b75db5717410da3f614aa3610507338260006040518059106104f15750595b90808252806020026020018201604052506108d0565b151561051257600080fd5b600060648381548110151561052357fe5b6000918252602090912001805491151560a060020a0274ff0000000000000000000000000000000000000000199092169190911790555050565b7fddbcfd564f642ab5627cf68b9b7d374fb4f8a36e941a75d89c87998cef03bd6181565b50600190565b60015481565b6003541561059a57600080fd5b6105a2610b63565b60648054600181016105b48382610c8d565b9160005260206000209001600060408051908101604052600080825260208201529190508151815473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03919091161781556020820151815490151560a060020a0274ff0000000000000000000000000000000000000000199091161790555050565b600081565b60007ff7a450ef335e1892cb42c8ca72e7242359d7711924b75db5717410da3f614aa36106833382846040518059106104f157505990808252806020026020018201604052506108d0565b151561068e57600080fd5b60648054600181016106a08382610c8d565b9160005260206000209001600060408051908101604052600160a060020a0387168152600160208201529190508151815473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03919091161781556020820151815490151560a060020a0274ff0000000000000000000000000000000000000000199091161790555091505b50919050565b60035490565b7f34f01c17e9be6ddbf2c61f37b5b1fb9f1a090a975006581ad19bda1c4d38287181565b60008061076483610581565b151561076f57600080fd5b61077761043b565b915061078282610b7d565b151561078d57600080fd5b600160a060020a03831615156107df5781600160a060020a03166108fc30600160a060020a0316319081150290604051600060405180830381858888f1935050505015156107da57600080fd5b6108cb565b82600160a060020a03166370a082313060006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b151561083657600080fd5b6102c65a03f1151561084757600080fd5b5050506040518051915050600160a060020a03831663a9059cbb838360006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b15156108af57600080fd5b6102c65a03f115156108c057600080fd5b505050604051805150505b505050565b60006108da610cb1565b600080845111156108f357835160200290508391508082525b600054600160a060020a03161580610a04575060008054600160a060020a03169063fdef91069088903090899087906040516020015260405160e060020a63ffffffff8716028152600160a060020a0380861660048301908152908516602483015260448201849052608060648301908152909160840183818151815260200191508051906020019080838360005b8381101561099a578082015183820152602001610982565b50505050905090810190601f1680156109c75780820380516001836020036101000a031916815260200191505b5095505050505050602060405180830381600087803b15156109e857600080fd5b6102c65a03f115156109f957600080fd5b505050604051805190505b9695505050505050565b7ff7a450ef335e1892cb42c8ca72e7242359d7711924b75db5717410da3f614aa381565b600054600160a060020a031681565b6000610a4b610ba3565b600160a060020a03166304bf2a7f836000604051602001526040518263ffffffff1660e060020a0281526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610ab2578082015183820152602001610a9a565b50505050905090810190601f168015610adf5780820380516001836020036101000a031916815260200191505b5092505050602060405180830381600087803b1515610afd57600080fd5b6102c65a03f11515610b0e57600080fd5b50505060405180519392505050565b6064805482908110610b2b57fe5b600091825260209091200154600160a060020a038116915060a060020a900460ff1682565b6000610b5d826000610c3a565b92915050565b60035415610b7057600080fd5b610b78610c79565b600355565b600080600160a060020a0383161515610b995760009150610728565b50506000903b1190565b600080548190600160a060020a03166342c71f1d7f34f01c17e9be6ddbf2c61f37b5b1fb9f1a090a975006581ad19bda1c4d382871836040516020015260405160e060020a63ffffffff84160281526004810191909152602401602060405180830381600087803b1515610c1657600080fd5b6102c65a03f11515610c2757600080fd5b50505060405180519250829150505b5090565b600080610c478484610c7d565b60e060020a7fffffffff0000000000000000000000000000000000000000000000000000000090911604949350505050565b4390565b6000816020018301519392505050565b8154818355818115116108cb576000838152602090206108cb918101908301610cc3565b60206040519081016040526000815290565b6104b991905b80821115610c3657805474ffffffffffffffffffffffffffffffffffffffffff19168155600101610cc95600a165627a7a723058201b7cfffb1d9b6525812ff824d5f9701a4cf3550dcfd315a5f563418c698ecbb80029","runtimeBytecode":"6060604052600436106100e25763ffffffff60e060020a60003504166304bf2a7f81146100e7578063178e60791461015457806332f0a3b5146101795780635ca4d4bb1461018c57806360b1e057146101a45780637e7db6e1146101b757806380afdea8146101ea5780638129fc1c146101fd5780638322fff21461021057806387a16f12146102235780638b3dd749146102425780639b3fdf4c146102555780639d4941d814610268578063a1658fad14610287578063bd8fde1c146102ea578063d4aae0c4146102fd578063f92a79ff14610310578063f97a05df14610361575b600080fd5b34156100f257600080fd5b61013860046024813581810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284375094965061039b95505050505050565b604051600160a060020a03909116815260200160405180910390f35b341561015f57600080fd5b610167610417565b60405190815260200160405180910390f35b341561018457600080fd5b61013861043b565b341561019757600080fd5b6101a26004356104bc565b005b34156101af57600080fd5b61016761055d565b34156101c257600080fd5b6101d6600160a060020a0360043516610581565b604051901515815260200160405180910390f35b34156101f557600080fd5b610167610587565b341561020857600080fd5b6101a261058d565b341561021b57600080fd5b610138610633565b341561022e57600080fd5b610167600160a060020a0360043516610638565b341561024d57600080fd5b61016761072e565b341561026057600080fd5b610167610734565b341561027357600080fd5b6101a2600160a060020a0360043516610758565b341561029257600080fd5b6101d660048035600160a060020a03169060248035919060649060443590810190830135806020808202016040519081016040528093929190818152602001838360200280828437509496506108d095505050505050565b34156102f557600080fd5b610167610a0e565b341561030857600080fd5b610138610a32565b341561031b57600080fd5b61013860046024813581810190830135806020601f82018190048102016040519081016040528181529291906020840183838082843750949650610a4195505050505050565b341561036c57600080fd5b610377600435610b1d565b604051600160a060020a039092168252151560208201526040908101905180910390f35b60008060006103a984610b50565b63ffffffff1691508115806103c057506064548210155b156103ce5760009250610410565b60648054839081106103dc57fe5b6000918252602090912001805490915060a060020a900460ff1661040157600061040d565b8054600160a060020a03165b92505b5050919050565b7fd6f028ca0e8edb4a8c9757ca4fdccab25fa1e0317da1188108f7d2dee14902fb81565b60008054600160a060020a0316151561045357600080fd5b60008054600160a060020a0316906332f0a3b590604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b151561049c57600080fd5b6102c65a03f115156104ad57600080fd5b50505060405180519150505b90565b7ff7a450ef335e1892cb42c8ca72e7242359d7711924b75db5717410da3f614aa3610507338260006040518059106104f15750595b90808252806020026020018201604052506108d0565b151561051257600080fd5b600060648381548110151561052357fe5b6000918252602090912001805491151560a060020a0274ff0000000000000000000000000000000000000000199092169190911790555050565b7fddbcfd564f642ab5627cf68b9b7d374fb4f8a36e941a75d89c87998cef03bd6181565b50600190565b60015481565b6003541561059a57600080fd5b6105a2610b63565b60648054600181016105b48382610c8d565b9160005260206000209001600060408051908101604052600080825260208201529190508151815473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03919091161781556020820151815490151560a060020a0274ff0000000000000000000000000000000000000000199091161790555050565b600081565b60007ff7a450ef335e1892cb42c8ca72e7242359d7711924b75db5717410da3f614aa36106833382846040518059106104f157505990808252806020026020018201604052506108d0565b151561068e57600080fd5b60648054600181016106a08382610c8d565b9160005260206000209001600060408051908101604052600160a060020a0387168152600160208201529190508151815473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03919091161781556020820151815490151560a060020a0274ff0000000000000000000000000000000000000000199091161790555091505b50919050565b60035490565b7f34f01c17e9be6ddbf2c61f37b5b1fb9f1a090a975006581ad19bda1c4d38287181565b60008061076483610581565b151561076f57600080fd5b61077761043b565b915061078282610b7d565b151561078d57600080fd5b600160a060020a03831615156107df5781600160a060020a03166108fc30600160a060020a0316319081150290604051600060405180830381858888f1935050505015156107da57600080fd5b6108cb565b82600160a060020a03166370a082313060006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b151561083657600080fd5b6102c65a03f1151561084757600080fd5b5050506040518051915050600160a060020a03831663a9059cbb838360006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b15156108af57600080fd5b6102c65a03f115156108c057600080fd5b505050604051805150505b505050565b60006108da610cb1565b600080845111156108f357835160200290508391508082525b600054600160a060020a03161580610a04575060008054600160a060020a03169063fdef91069088903090899087906040516020015260405160e060020a63ffffffff8716028152600160a060020a0380861660048301908152908516602483015260448201849052608060648301908152909160840183818151815260200191508051906020019080838360005b8381101561099a578082015183820152602001610982565b50505050905090810190601f1680156109c75780820380516001836020036101000a031916815260200191505b5095505050505050602060405180830381600087803b15156109e857600080fd5b6102c65a03f115156109f957600080fd5b505050604051805190505b9695505050505050565b7ff7a450ef335e1892cb42c8ca72e7242359d7711924b75db5717410da3f614aa381565b600054600160a060020a031681565b6000610a4b610ba3565b600160a060020a03166304bf2a7f836000604051602001526040518263ffffffff1660e060020a0281526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610ab2578082015183820152602001610a9a565b50505050905090810190601f168015610adf5780820380516001836020036101000a031916815260200191505b5092505050602060405180830381600087803b1515610afd57600080fd5b6102c65a03f11515610b0e57600080fd5b50505060405180519392505050565b6064805482908110610b2b57fe5b600091825260209091200154600160a060020a038116915060a060020a900460ff1682565b6000610b5d826000610c3a565b92915050565b60035415610b7057600080fd5b610b78610c79565b600355565b600080600160a060020a0383161515610b995760009150610728565b50506000903b1190565b600080548190600160a060020a03166342c71f1d7f34f01c17e9be6ddbf2c61f37b5b1fb9f1a090a975006581ad19bda1c4d382871836040516020015260405160e060020a63ffffffff84160281526004810191909152602401602060405180830381600087803b1515610c1657600080fd5b6102c65a03f11515610c2757600080fd5b50505060405180519250829150505b5090565b600080610c478484610c7d565b60e060020a7fffffffff0000000000000000000000000000000000000000000000000000000090911604949350505050565b4390565b6000816020018301519392505050565b8154818355818115116108cb576000838152602090206108cb918101908301610cc3565b60206040519081016040526000815290565b6104b991905b80821115610c3657805474ffffffffffffffffffffffffffffffffffffffffff19168155600101610cc95600a165627a7a723058201b7cfffb1d9b6525812ff824d5f9701a4cf3550dcfd315a5f563418c698ecbb80029","realRuntimeBytecode":"6060604052600436106100e25763ffffffff60e060020a60003504166304bf2a7f81146100e7578063178e60791461015457806332f0a3b5146101795780635ca4d4bb1461018c57806360b1e057146101a45780637e7db6e1146101b757806380afdea8146101ea5780638129fc1c146101fd5780638322fff21461021057806387a16f12146102235780638b3dd749146102425780639b3fdf4c146102555780639d4941d814610268578063a1658fad14610287578063bd8fde1c146102ea578063d4aae0c4146102fd578063f92a79ff14610310578063f97a05df14610361575b600080fd5b34156100f257600080fd5b61013860046024813581810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284375094965061039b95505050505050565b604051600160a060020a03909116815260200160405180910390f35b341561015f57600080fd5b610167610417565b60405190815260200160405180910390f35b341561018457600080fd5b61013861043b565b341561019757600080fd5b6101a26004356104bc565b005b34156101af57600080fd5b61016761055d565b34156101c257600080fd5b6101d6600160a060020a0360043516610581565b604051901515815260200160405180910390f35b34156101f557600080fd5b610167610587565b341561020857600080fd5b6101a261058d565b341561021b57600080fd5b610138610633565b341561022e57600080fd5b610167600160a060020a0360043516610638565b341561024d57600080fd5b61016761072e565b341561026057600080fd5b610167610734565b341561027357600080fd5b6101a2600160a060020a0360043516610758565b341561029257600080fd5b6101d660048035600160a060020a03169060248035919060649060443590810190830135806020808202016040519081016040528093929190818152602001838360200280828437509496506108d095505050505050565b34156102f557600080fd5b610167610a0e565b341561030857600080fd5b610138610a32565b341561031b57600080fd5b61013860046024813581810190830135806020601f82018190048102016040519081016040528181529291906020840183838082843750949650610a4195505050505050565b341561036c57600080fd5b610377600435610b1d565b604051600160a060020a039092168252151560208201526040908101905180910390f35b60008060006103a984610b50565b63ffffffff1691508115806103c057506064548210155b156103ce5760009250610410565b60648054839081106103dc57fe5b6000918252602090912001805490915060a060020a900460ff1661040157600061040d565b8054600160a060020a03165b92505b5050919050565b7fd6f028ca0e8edb4a8c9757ca4fdccab25fa1e0317da1188108f7d2dee14902fb81565b60008054600160a060020a0316151561045357600080fd5b60008054600160a060020a0316906332f0a3b590604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b151561049c57600080fd5b6102c65a03f115156104ad57600080fd5b50505060405180519150505b90565b7ff7a450ef335e1892cb42c8ca72e7242359d7711924b75db5717410da3f614aa3610507338260006040518059106104f15750595b90808252806020026020018201604052506108d0565b151561051257600080fd5b600060648381548110151561052357fe5b6000918252602090912001805491151560a060020a0274ff0000000000000000000000000000000000000000199092169190911790555050565b7fddbcfd564f642ab5627cf68b9b7d374fb4f8a36e941a75d89c87998cef03bd6181565b50600190565b60015481565b6003541561059a57600080fd5b6105a2610b63565b60648054600181016105b48382610c8d565b9160005260206000209001600060408051908101604052600080825260208201529190508151815473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03919091161781556020820151815490151560a060020a0274ff0000000000000000000000000000000000000000199091161790555050565b600081565b60007ff7a450ef335e1892cb42c8ca72e7242359d7711924b75db5717410da3f614aa36106833382846040518059106104f157505990808252806020026020018201604052506108d0565b151561068e57600080fd5b60648054600181016106a08382610c8d565b9160005260206000209001600060408051908101604052600160a060020a0387168152600160208201529190508151815473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03919091161781556020820151815490151560a060020a0274ff0000000000000000000000000000000000000000199091161790555091505b50919050565b60035490565b7f34f01c17e9be6ddbf2c61f37b5b1fb9f1a090a975006581ad19bda1c4d38287181565b60008061076483610581565b151561076f57600080fd5b61077761043b565b915061078282610b7d565b151561078d57600080fd5b600160a060020a03831615156107df5781600160a060020a03166108fc30600160a060020a0316319081150290604051600060405180830381858888f1935050505015156107da57600080fd5b6108cb565b82600160a060020a03166370a082313060006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b151561083657600080fd5b6102c65a03f1151561084757600080fd5b5050506040518051915050600160a060020a03831663a9059cbb838360006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b15156108af57600080fd5b6102c65a03f115156108c057600080fd5b505050604051805150505b505050565b60006108da610cb1565b600080845111156108f357835160200290508391508082525b600054600160a060020a03161580610a04575060008054600160a060020a03169063fdef91069088903090899087906040516020015260405160e060020a63ffffffff8716028152600160a060020a0380861660048301908152908516602483015260448201849052608060648301908152909160840183818151815260200191508051906020019080838360005b8381101561099a578082015183820152602001610982565b50505050905090810190601f1680156109c75780820380516001836020036101000a031916815260200191505b5095505050505050602060405180830381600087803b15156109e857600080fd5b6102c65a03f115156109f957600080fd5b505050604051805190505b9695505050505050565b7ff7a450ef335e1892cb42c8ca72e7242359d7711924b75db5717410da3f614aa381565b600054600160a060020a031681565b6000610a4b610ba3565b600160a060020a03166304bf2a7f836000604051602001526040518263ffffffff1660e060020a0281526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610ab2578082015183820152602001610a9a565b50505050905090810190601f168015610adf5780820380516001836020036101000a031916815260200191505b5092505050602060405180830381600087803b1515610afd57600080fd5b6102c65a03f11515610b0e57600080fd5b50505060405180519392505050565b6064805482908110610b2b57fe5b600091825260209091200154600160a060020a038116915060a060020a900460ff1682565b6000610b5d826000610c3a565b92915050565b60035415610b7057600080fd5b610b78610c79565b600355565b600080600160a060020a0383161515610b995760009150610728565b50506000903b1190565b600080548190600160a060020a03166342c71f1d7f34f01c17e9be6ddbf2c61f37b5b1fb9f1a090a975006581ad19bda1c4d382871836040516020015260405160e060020a63ffffffff84160281526004810191909152602401602060405180830381600087803b1515610c1657600080fd5b6102c65a03f11515610c2757600080fd5b50505060405180519250829150505b5090565b600080610c478484610c7d565b60e060020a7fffffffff0000000000000000000000000000000000000000000000000000000090911604949350505050565b4390565b6000816020018301519392505050565b8154818355818115116108cb576000838152602090206108cb918101908301610cc3565b60206040519081016040526000815290565b6104b991905b80821115610c3657805474ffffffffffffffffffffffffffffffffffffffffff19168155600101610cc95600a165627a7a72305820","linkReferences":{},"swarmHash":"1b7cfffb1d9b6525812ff824d5f9701a4cf3550dcfd315a5f563418c698ecbb8","gasEstimates":{"creation":{"codeDepositCost":"672200","executionCost":"703","totalCost":"672903"},"external":{"APP_ADDR_NAMESPACE()":"258","ETH()":"493","EVMSCRIPT_REGISTRY_APP()":"478","EVMSCRIPT_REGISTRY_APP_ID()":"324","REGISTRY_MANAGER_ROLE()":"544","addScriptExecutor(address)":"infinite","allowRecoverability(address)":"435","appId()":"568","canPerform(address,bytes32,uint256[])":"infinite","disableScriptExecutor(uint256)":"infinite","executors(uint256)":"1376","getExecutor(bytes)":"infinite","getInitializationBlock()":"656","getRecoveryVault()":"infinite","getScriptExecutor(bytes)":"infinite","initialize()":"infinite","kernel()":"922","transferToVault(address)":"infinite"}},"functionHashes":{"APP_ADDR_NAMESPACE()":"178e6079","ETH()":"8322fff2","EVMSCRIPT_REGISTRY_APP()":"9b3fdf4c","EVMSCRIPT_REGISTRY_APP_ID()":"60b1e057","REGISTRY_MANAGER_ROLE()":"bd8fde1c","addScriptExecutor(address)":"87a16f12","allowRecoverability(address)":"7e7db6e1","appId()":"80afdea8","canPerform(address,bytes32,uint256[])":"a1658fad","disableScriptExecutor(uint256)":"5ca4d4bb","executors(uint256)":"f97a05df","getExecutor(bytes)":"f92a79ff","getInitializationBlock()":"8b3dd749","getRecoveryVault()":"32f0a3b5","getScriptExecutor(bytes)":"04bf2a7f","initialize()":"8129fc1c","kernel()":"d4aae0c4","transferToVault(address)":"9d4941d8"},"abiDefinition":[{"constant":true,"inputs":[{"name":"_script","type":"bytes"}],"name":"getScriptExecutor","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function","signature":"0x04bf2a7f"},{"constant":true,"inputs":[],"name":"APP_ADDR_NAMESPACE","outputs":[{"name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function","signature":"0x178e6079"},{"constant":true,"inputs":[],"name":"getRecoveryVault","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function","signature":"0x32f0a3b5"},{"constant":false,"inputs":[{"name":"_executorId","type":"uint256"}],"name":"disableScriptExecutor","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function","signature":"0x5ca4d4bb"},{"constant":true,"inputs":[],"name":"EVMSCRIPT_REGISTRY_APP_ID","outputs":[{"name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function","signature":"0x60b1e057"},{"constant":true,"inputs":[{"name":"token","type":"address"}],"name":"allowRecoverability","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function","signature":"0x7e7db6e1"},{"constant":true,"inputs":[],"name":"appId","outputs":[{"name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function","signature":"0x80afdea8"},{"constant":false,"inputs":[],"name":"initialize","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function","signature":"0x8129fc1c"},{"constant":true,"inputs":[],"name":"ETH","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function","signature":"0x8322fff2"},{"constant":false,"inputs":[{"name":"_executor","type":"address"}],"name":"addScriptExecutor","outputs":[{"name":"id","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function","signature":"0x87a16f12"},{"constant":true,"inputs":[],"name":"getInitializationBlock","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function","signature":"0x8b3dd749"},{"constant":true,"inputs":[],"name":"EVMSCRIPT_REGISTRY_APP","outputs":[{"name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function","signature":"0x9b3fdf4c"},{"constant":false,"inputs":[{"name":"_token","type":"address"}],"name":"transferToVault","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function","signature":"0x9d4941d8"},{"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","signature":"0xa1658fad"},{"constant":true,"inputs":[],"name":"REGISTRY_MANAGER_ROLE","outputs":[{"name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function","signature":"0xbd8fde1c"},{"constant":true,"inputs":[],"name":"kernel","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function","signature":"0xd4aae0c4"},{"constant":true,"inputs":[{"name":"_script","type":"bytes"}],"name":"getExecutor","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function","signature":"0xf92a79ff"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"executors","outputs":[{"name":"executor","type":"address"},{"name":"enabled","type":"bool"}],"payable":false,"stateMutability":"view","type":"function","signature":"0xf97a05df"}],"filename":"/Users/iurimatias/Projects/Status/liquid-funding-console/.embark/node_modules/@aragon/os/contracts/evmscript/EVMScriptRegistry.sol","originalFilename":"contracts//Users/iurimatias/Projects/Status/liquid-funding-console/.embark/node_modules/@aragon/os/contracts/evmscript/EVMScriptRegistry.sol","path":"/Users/iurimatias/Projects/Status/liquid-funding-console/contracts/.embark/node_modules/@aragon/os/contracts/evmscript/EVMScriptRegistry.sol","gas":"auto","type":"file","deploy":false,"_gasLimit":6000000,"error":false},"code":"6060604052341561000f57600080fd5b610d218061001e6000396000f3006060604052600436106100e25763ffffffff60e060020a60003504166304bf2a7f81146100e7578063178e60791461015457806332f0a3b5146101795780635ca4d4bb1461018c57806360b1e057146101a45780637e7db6e1146101b757806380afdea8146101ea5780638129fc1c146101fd5780638322fff21461021057806387a16f12146102235780638b3dd749146102425780639b3fdf4c146102555780639d4941d814610268578063a1658fad14610287578063bd8fde1c146102ea578063d4aae0c4146102fd578063f92a79ff14610310578063f97a05df14610361575b600080fd5b34156100f257600080fd5b61013860046024813581810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284375094965061039b95505050505050565b604051600160a060020a03909116815260200160405180910390f35b341561015f57600080fd5b610167610417565b60405190815260200160405180910390f35b341561018457600080fd5b61013861043b565b341561019757600080fd5b6101a26004356104bc565b005b34156101af57600080fd5b61016761055d565b34156101c257600080fd5b6101d6600160a060020a0360043516610581565b604051901515815260200160405180910390f35b34156101f557600080fd5b610167610587565b341561020857600080fd5b6101a261058d565b341561021b57600080fd5b610138610633565b341561022e57600080fd5b610167600160a060020a0360043516610638565b341561024d57600080fd5b61016761072e565b341561026057600080fd5b610167610734565b341561027357600080fd5b6101a2600160a060020a0360043516610758565b341561029257600080fd5b6101d660048035600160a060020a03169060248035919060649060443590810190830135806020808202016040519081016040528093929190818152602001838360200280828437509496506108d095505050505050565b34156102f557600080fd5b610167610a0e565b341561030857600080fd5b610138610a32565b341561031b57600080fd5b61013860046024813581810190830135806020601f82018190048102016040519081016040528181529291906020840183838082843750949650610a4195505050505050565b341561036c57600080fd5b610377600435610b1d565b604051600160a060020a039092168252151560208201526040908101905180910390f35b60008060006103a984610b50565b63ffffffff1691508115806103c057506064548210155b156103ce5760009250610410565b60648054839081106103dc57fe5b6000918252602090912001805490915060a060020a900460ff1661040157600061040d565b8054600160a060020a03165b92505b5050919050565b7fd6f028ca0e8edb4a8c9757ca4fdccab25fa1e0317da1188108f7d2dee14902fb81565b60008054600160a060020a0316151561045357600080fd5b60008054600160a060020a0316906332f0a3b590604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b151561049c57600080fd5b6102c65a03f115156104ad57600080fd5b50505060405180519150505b90565b7ff7a450ef335e1892cb42c8ca72e7242359d7711924b75db5717410da3f614aa3610507338260006040518059106104f15750595b90808252806020026020018201604052506108d0565b151561051257600080fd5b600060648381548110151561052357fe5b6000918252602090912001805491151560a060020a0274ff0000000000000000000000000000000000000000199092169190911790555050565b7fddbcfd564f642ab5627cf68b9b7d374fb4f8a36e941a75d89c87998cef03bd6181565b50600190565b60015481565b6003541561059a57600080fd5b6105a2610b63565b60648054600181016105b48382610c8d565b9160005260206000209001600060408051908101604052600080825260208201529190508151815473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03919091161781556020820151815490151560a060020a0274ff0000000000000000000000000000000000000000199091161790555050565b600081565b60007ff7a450ef335e1892cb42c8ca72e7242359d7711924b75db5717410da3f614aa36106833382846040518059106104f157505990808252806020026020018201604052506108d0565b151561068e57600080fd5b60648054600181016106a08382610c8d565b9160005260206000209001600060408051908101604052600160a060020a0387168152600160208201529190508151815473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03919091161781556020820151815490151560a060020a0274ff0000000000000000000000000000000000000000199091161790555091505b50919050565b60035490565b7f34f01c17e9be6ddbf2c61f37b5b1fb9f1a090a975006581ad19bda1c4d38287181565b60008061076483610581565b151561076f57600080fd5b61077761043b565b915061078282610b7d565b151561078d57600080fd5b600160a060020a03831615156107df5781600160a060020a03166108fc30600160a060020a0316319081150290604051600060405180830381858888f1935050505015156107da57600080fd5b6108cb565b82600160a060020a03166370a082313060006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b151561083657600080fd5b6102c65a03f1151561084757600080fd5b5050506040518051915050600160a060020a03831663a9059cbb838360006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b15156108af57600080fd5b6102c65a03f115156108c057600080fd5b505050604051805150505b505050565b60006108da610cb1565b600080845111156108f357835160200290508391508082525b600054600160a060020a03161580610a04575060008054600160a060020a03169063fdef91069088903090899087906040516020015260405160e060020a63ffffffff8716028152600160a060020a0380861660048301908152908516602483015260448201849052608060648301908152909160840183818151815260200191508051906020019080838360005b8381101561099a578082015183820152602001610982565b50505050905090810190601f1680156109c75780820380516001836020036101000a031916815260200191505b5095505050505050602060405180830381600087803b15156109e857600080fd5b6102c65a03f115156109f957600080fd5b505050604051805190505b9695505050505050565b7ff7a450ef335e1892cb42c8ca72e7242359d7711924b75db5717410da3f614aa381565b600054600160a060020a031681565b6000610a4b610ba3565b600160a060020a03166304bf2a7f836000604051602001526040518263ffffffff1660e060020a0281526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610ab2578082015183820152602001610a9a565b50505050905090810190601f168015610adf5780820380516001836020036101000a031916815260200191505b5092505050602060405180830381600087803b1515610afd57600080fd5b6102c65a03f11515610b0e57600080fd5b50505060405180519392505050565b6064805482908110610b2b57fe5b600091825260209091200154600160a060020a038116915060a060020a900460ff1682565b6000610b5d826000610c3a565b92915050565b60035415610b7057600080fd5b610b78610c79565b600355565b600080600160a060020a0383161515610b995760009150610728565b50506000903b1190565b600080548190600160a060020a03166342c71f1d7f34f01c17e9be6ddbf2c61f37b5b1fb9f1a090a975006581ad19bda1c4d382871836040516020015260405160e060020a63ffffffff84160281526004810191909152602401602060405180830381600087803b1515610c1657600080fd5b6102c65a03f11515610c2757600080fd5b50505060405180519250829150505b5090565b600080610c478484610c7d565b60e060020a7fffffffff0000000000000000000000000000000000000000000000000000000090911604949350505050565b4390565b6000816020018301519392505050565b8154818355818115116108cb576000838152602090206108cb918101908301610cc3565b60206040519081016040526000815290565b6104b991905b80821115610c3657805474ffffffffffffffffffffffffffffffffffffffffff19168155600101610cc95600a165627a7a723058201b7cfffb1d9b6525812ff824d5f9701a4cf3550dcfd315a5f563418c698ecbb80029","runtime_bytecode":"6060604052600436106100e25763ffffffff60e060020a60003504166304bf2a7f81146100e7578063178e60791461015457806332f0a3b5146101795780635ca4d4bb1461018c57806360b1e057146101a45780637e7db6e1146101b757806380afdea8146101ea5780638129fc1c146101fd5780638322fff21461021057806387a16f12146102235780638b3dd749146102425780639b3fdf4c146102555780639d4941d814610268578063a1658fad14610287578063bd8fde1c146102ea578063d4aae0c4146102fd578063f92a79ff14610310578063f97a05df14610361575b600080fd5b34156100f257600080fd5b61013860046024813581810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284375094965061039b95505050505050565b604051600160a060020a03909116815260200160405180910390f35b341561015f57600080fd5b610167610417565b60405190815260200160405180910390f35b341561018457600080fd5b61013861043b565b341561019757600080fd5b6101a26004356104bc565b005b34156101af57600080fd5b61016761055d565b34156101c257600080fd5b6101d6600160a060020a0360043516610581565b604051901515815260200160405180910390f35b34156101f557600080fd5b610167610587565b341561020857600080fd5b6101a261058d565b341561021b57600080fd5b610138610633565b341561022e57600080fd5b610167600160a060020a0360043516610638565b341561024d57600080fd5b61016761072e565b341561026057600080fd5b610167610734565b341561027357600080fd5b6101a2600160a060020a0360043516610758565b341561029257600080fd5b6101d660048035600160a060020a03169060248035919060649060443590810190830135806020808202016040519081016040528093929190818152602001838360200280828437509496506108d095505050505050565b34156102f557600080fd5b610167610a0e565b341561030857600080fd5b610138610a32565b341561031b57600080fd5b61013860046024813581810190830135806020601f82018190048102016040519081016040528181529291906020840183838082843750949650610a4195505050505050565b341561036c57600080fd5b610377600435610b1d565b604051600160a060020a039092168252151560208201526040908101905180910390f35b60008060006103a984610b50565b63ffffffff1691508115806103c057506064548210155b156103ce5760009250610410565b60648054839081106103dc57fe5b6000918252602090912001805490915060a060020a900460ff1661040157600061040d565b8054600160a060020a03165b92505b5050919050565b7fd6f028ca0e8edb4a8c9757ca4fdccab25fa1e0317da1188108f7d2dee14902fb81565b60008054600160a060020a0316151561045357600080fd5b60008054600160a060020a0316906332f0a3b590604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b151561049c57600080fd5b6102c65a03f115156104ad57600080fd5b50505060405180519150505b90565b7ff7a450ef335e1892cb42c8ca72e7242359d7711924b75db5717410da3f614aa3610507338260006040518059106104f15750595b90808252806020026020018201604052506108d0565b151561051257600080fd5b600060648381548110151561052357fe5b6000918252602090912001805491151560a060020a0274ff0000000000000000000000000000000000000000199092169190911790555050565b7fddbcfd564f642ab5627cf68b9b7d374fb4f8a36e941a75d89c87998cef03bd6181565b50600190565b60015481565b6003541561059a57600080fd5b6105a2610b63565b60648054600181016105b48382610c8d565b9160005260206000209001600060408051908101604052600080825260208201529190508151815473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03919091161781556020820151815490151560a060020a0274ff0000000000000000000000000000000000000000199091161790555050565b600081565b60007ff7a450ef335e1892cb42c8ca72e7242359d7711924b75db5717410da3f614aa36106833382846040518059106104f157505990808252806020026020018201604052506108d0565b151561068e57600080fd5b60648054600181016106a08382610c8d565b9160005260206000209001600060408051908101604052600160a060020a0387168152600160208201529190508151815473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03919091161781556020820151815490151560a060020a0274ff0000000000000000000000000000000000000000199091161790555091505b50919050565b60035490565b7f34f01c17e9be6ddbf2c61f37b5b1fb9f1a090a975006581ad19bda1c4d38287181565b60008061076483610581565b151561076f57600080fd5b61077761043b565b915061078282610b7d565b151561078d57600080fd5b600160a060020a03831615156107df5781600160a060020a03166108fc30600160a060020a0316319081150290604051600060405180830381858888f1935050505015156107da57600080fd5b6108cb565b82600160a060020a03166370a082313060006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b151561083657600080fd5b6102c65a03f1151561084757600080fd5b5050506040518051915050600160a060020a03831663a9059cbb838360006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b15156108af57600080fd5b6102c65a03f115156108c057600080fd5b505050604051805150505b505050565b60006108da610cb1565b600080845111156108f357835160200290508391508082525b600054600160a060020a03161580610a04575060008054600160a060020a03169063fdef91069088903090899087906040516020015260405160e060020a63ffffffff8716028152600160a060020a0380861660048301908152908516602483015260448201849052608060648301908152909160840183818151815260200191508051906020019080838360005b8381101561099a578082015183820152602001610982565b50505050905090810190601f1680156109c75780820380516001836020036101000a031916815260200191505b5095505050505050602060405180830381600087803b15156109e857600080fd5b6102c65a03f115156109f957600080fd5b505050604051805190505b9695505050505050565b7ff7a450ef335e1892cb42c8ca72e7242359d7711924b75db5717410da3f614aa381565b600054600160a060020a031681565b6000610a4b610ba3565b600160a060020a03166304bf2a7f836000604051602001526040518263ffffffff1660e060020a0281526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610ab2578082015183820152602001610a9a565b50505050905090810190601f168015610adf5780820380516001836020036101000a031916815260200191505b5092505050602060405180830381600087803b1515610afd57600080fd5b6102c65a03f11515610b0e57600080fd5b50505060405180519392505050565b6064805482908110610b2b57fe5b600091825260209091200154600160a060020a038116915060a060020a900460ff1682565b6000610b5d826000610c3a565b92915050565b60035415610b7057600080fd5b610b78610c79565b600355565b600080600160a060020a0383161515610b995760009150610728565b50506000903b1190565b600080548190600160a060020a03166342c71f1d7f34f01c17e9be6ddbf2c61f37b5b1fb9f1a090a975006581ad19bda1c4d382871836040516020015260405160e060020a63ffffffff84160281526004810191909152602401602060405180830381600087803b1515610c1657600080fd5b6102c65a03f11515610c2757600080fd5b50505060405180519250829150505b5090565b600080610c478484610c7d565b60e060020a7fffffffff0000000000000000000000000000000000000000000000000000000090911604949350505050565b4390565b6000816020018301519392505050565b8154818355818115116108cb576000838152602090206108cb918101908301610cc3565b60206040519081016040526000815290565b6104b991905b80821115610c3657805474ffffffffffffffffffffffffffffffffffffffffff19168155600101610cc95600a165627a7a723058201b7cfffb1d9b6525812ff824d5f9701a4cf3550dcfd315a5f563418c698ecbb80029","real_runtime_bytecode":"6060604052600436106100e25763ffffffff60e060020a60003504166304bf2a7f81146100e7578063178e60791461015457806332f0a3b5146101795780635ca4d4bb1461018c57806360b1e057146101a45780637e7db6e1146101b757806380afdea8146101ea5780638129fc1c146101fd5780638322fff21461021057806387a16f12146102235780638b3dd749146102425780639b3fdf4c146102555780639d4941d814610268578063a1658fad14610287578063bd8fde1c146102ea578063d4aae0c4146102fd578063f92a79ff14610310578063f97a05df14610361575b600080fd5b34156100f257600080fd5b61013860046024813581810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284375094965061039b95505050505050565b604051600160a060020a03909116815260200160405180910390f35b341561015f57600080fd5b610167610417565b60405190815260200160405180910390f35b341561018457600080fd5b61013861043b565b341561019757600080fd5b6101a26004356104bc565b005b34156101af57600080fd5b61016761055d565b34156101c257600080fd5b6101d6600160a060020a0360043516610581565b604051901515815260200160405180910390f35b34156101f557600080fd5b610167610587565b341561020857600080fd5b6101a261058d565b341561021b57600080fd5b610138610633565b341561022e57600080fd5b610167600160a060020a0360043516610638565b341561024d57600080fd5b61016761072e565b341561026057600080fd5b610167610734565b341561027357600080fd5b6101a2600160a060020a0360043516610758565b341561029257600080fd5b6101d660048035600160a060020a03169060248035919060649060443590810190830135806020808202016040519081016040528093929190818152602001838360200280828437509496506108d095505050505050565b34156102f557600080fd5b610167610a0e565b341561030857600080fd5b610138610a32565b341561031b57600080fd5b61013860046024813581810190830135806020601f82018190048102016040519081016040528181529291906020840183838082843750949650610a4195505050505050565b341561036c57600080fd5b610377600435610b1d565b604051600160a060020a039092168252151560208201526040908101905180910390f35b60008060006103a984610b50565b63ffffffff1691508115806103c057506064548210155b156103ce5760009250610410565b60648054839081106103dc57fe5b6000918252602090912001805490915060a060020a900460ff1661040157600061040d565b8054600160a060020a03165b92505b5050919050565b7fd6f028ca0e8edb4a8c9757ca4fdccab25fa1e0317da1188108f7d2dee14902fb81565b60008054600160a060020a0316151561045357600080fd5b60008054600160a060020a0316906332f0a3b590604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b151561049c57600080fd5b6102c65a03f115156104ad57600080fd5b50505060405180519150505b90565b7ff7a450ef335e1892cb42c8ca72e7242359d7711924b75db5717410da3f614aa3610507338260006040518059106104f15750595b90808252806020026020018201604052506108d0565b151561051257600080fd5b600060648381548110151561052357fe5b6000918252602090912001805491151560a060020a0274ff0000000000000000000000000000000000000000199092169190911790555050565b7fddbcfd564f642ab5627cf68b9b7d374fb4f8a36e941a75d89c87998cef03bd6181565b50600190565b60015481565b6003541561059a57600080fd5b6105a2610b63565b60648054600181016105b48382610c8d565b9160005260206000209001600060408051908101604052600080825260208201529190508151815473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03919091161781556020820151815490151560a060020a0274ff0000000000000000000000000000000000000000199091161790555050565b600081565b60007ff7a450ef335e1892cb42c8ca72e7242359d7711924b75db5717410da3f614aa36106833382846040518059106104f157505990808252806020026020018201604052506108d0565b151561068e57600080fd5b60648054600181016106a08382610c8d565b9160005260206000209001600060408051908101604052600160a060020a0387168152600160208201529190508151815473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03919091161781556020820151815490151560a060020a0274ff0000000000000000000000000000000000000000199091161790555091505b50919050565b60035490565b7f34f01c17e9be6ddbf2c61f37b5b1fb9f1a090a975006581ad19bda1c4d38287181565b60008061076483610581565b151561076f57600080fd5b61077761043b565b915061078282610b7d565b151561078d57600080fd5b600160a060020a03831615156107df5781600160a060020a03166108fc30600160a060020a0316319081150290604051600060405180830381858888f1935050505015156107da57600080fd5b6108cb565b82600160a060020a03166370a082313060006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b151561083657600080fd5b6102c65a03f1151561084757600080fd5b5050506040518051915050600160a060020a03831663a9059cbb838360006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b15156108af57600080fd5b6102c65a03f115156108c057600080fd5b505050604051805150505b505050565b60006108da610cb1565b600080845111156108f357835160200290508391508082525b600054600160a060020a03161580610a04575060008054600160a060020a03169063fdef91069088903090899087906040516020015260405160e060020a63ffffffff8716028152600160a060020a0380861660048301908152908516602483015260448201849052608060648301908152909160840183818151815260200191508051906020019080838360005b8381101561099a578082015183820152602001610982565b50505050905090810190601f1680156109c75780820380516001836020036101000a031916815260200191505b5095505050505050602060405180830381600087803b15156109e857600080fd5b6102c65a03f115156109f957600080fd5b505050604051805190505b9695505050505050565b7ff7a450ef335e1892cb42c8ca72e7242359d7711924b75db5717410da3f614aa381565b600054600160a060020a031681565b6000610a4b610ba3565b600160a060020a03166304bf2a7f836000604051602001526040518263ffffffff1660e060020a0281526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610ab2578082015183820152602001610a9a565b50505050905090810190601f168015610adf5780820380516001836020036101000a031916815260200191505b5092505050602060405180830381600087803b1515610afd57600080fd5b6102c65a03f11515610b0e57600080fd5b50505060405180519392505050565b6064805482908110610b2b57fe5b600091825260209091200154600160a060020a038116915060a060020a900460ff1682565b6000610b5d826000610c3a565b92915050565b60035415610b7057600080fd5b610b78610c79565b600355565b600080600160a060020a0383161515610b995760009150610728565b50506000903b1190565b600080548190600160a060020a03166342c71f1d7f34f01c17e9be6ddbf2c61f37b5b1fb9f1a090a975006581ad19bda1c4d382871836040516020015260405160e060020a63ffffffff84160281526004810191909152602401602060405180830381600087803b1515610c1657600080fd5b6102c65a03f11515610c2757600080fd5b50505060405180519250829150505b5090565b600080610c478484610c7d565b60e060020a7fffffffff0000000000000000000000000000000000000000000000000000000090911604949350505050565b4390565b6000816020018301519392505050565b8154818355818115116108cb576000838152602090206108cb918101908301610cc3565b60206040519081016040526000815290565b6104b991905b80821115610c3657805474ffffffffffffffffffffffffffffffffffffffffff19168155600101610cc95600a165627a7a72305820","swarm_hash":"1b7cfffb1d9b6525812ff824d5f9701a4cf3550dcfd315a5f563418c698ecbb8","gas_estimates":{"creation":{"codeDepositCost":"672200","executionCost":"703","totalCost":"672903"},"external":{"APP_ADDR_NAMESPACE()":"258","ETH()":"493","EVMSCRIPT_REGISTRY_APP()":"478","EVMSCRIPT_REGISTRY_APP_ID()":"324","REGISTRY_MANAGER_ROLE()":"544","addScriptExecutor(address)":"infinite","allowRecoverability(address)":"435","appId()":"568","canPerform(address,bytes32,uint256[])":"infinite","disableScriptExecutor(uint256)":"infinite","executors(uint256)":"1376","getExecutor(bytes)":"infinite","getInitializationBlock()":"656","getRecoveryVault()":"infinite","getScriptExecutor(bytes)":"infinite","initialize()":"infinite","kernel()":"922","transferToVault(address)":"infinite"}},"function_hashes":{"APP_ADDR_NAMESPACE()":"178e6079","ETH()":"8322fff2","EVMSCRIPT_REGISTRY_APP()":"9b3fdf4c","EVMSCRIPT_REGISTRY_APP_ID()":"60b1e057","REGISTRY_MANAGER_ROLE()":"bd8fde1c","addScriptExecutor(address)":"87a16f12","allowRecoverability(address)":"7e7db6e1","appId()":"80afdea8","canPerform(address,bytes32,uint256[])":"a1658fad","disableScriptExecutor(uint256)":"5ca4d4bb","executors(uint256)":"f97a05df","getExecutor(bytes)":"f92a79ff","getInitializationBlock()":"8b3dd749","getRecoveryVault()":"32f0a3b5","getScriptExecutor(bytes)":"04bf2a7f","initialize()":"8129fc1c","kernel()":"d4aae0c4","transferToVault(address)":"9d4941d8"},"abi":[{"constant":true,"inputs":[{"name":"_script","type":"bytes"}],"name":"getScriptExecutor","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function","signature":"0x04bf2a7f"},{"constant":true,"inputs":[],"name":"APP_ADDR_NAMESPACE","outputs":[{"name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function","signature":"0x178e6079"},{"constant":true,"inputs":[],"name":"getRecoveryVault","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function","signature":"0x32f0a3b5"},{"constant":false,"inputs":[{"name":"_executorId","type":"uint256"}],"name":"disableScriptExecutor","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function","signature":"0x5ca4d4bb"},{"constant":true,"inputs":[],"name":"EVMSCRIPT_REGISTRY_APP_ID","outputs":[{"name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function","signature":"0x60b1e057"},{"constant":true,"inputs":[{"name":"token","type":"address"}],"name":"allowRecoverability","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function","signature":"0x7e7db6e1"},{"constant":true,"inputs":[],"name":"appId","outputs":[{"name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function","signature":"0x80afdea8"},{"constant":false,"inputs":[],"name":"initialize","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function","signature":"0x8129fc1c"},{"constant":true,"inputs":[],"name":"ETH","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function","signature":"0x8322fff2"},{"constant":false,"inputs":[{"name":"_executor","type":"address"}],"name":"addScriptExecutor","outputs":[{"name":"id","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function","signature":"0x87a16f12"},{"constant":true,"inputs":[],"name":"getInitializationBlock","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function","signature":"0x8b3dd749"},{"constant":true,"inputs":[],"name":"EVMSCRIPT_REGISTRY_APP","outputs":[{"name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function","signature":"0x9b3fdf4c"},{"constant":false,"inputs":[{"name":"_token","type":"address"}],"name":"transferToVault","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function","signature":"0x9d4941d8"},{"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","signature":"0xa1658fad"},{"constant":true,"inputs":[],"name":"REGISTRY_MANAGER_ROLE","outputs":[{"name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function","signature":"0xbd8fde1c"},{"constant":true,"inputs":[],"name":"kernel","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function","signature":"0xd4aae0c4"},{"constant":true,"inputs":[{"name":"_script","type":"bytes"}],"name":"getExecutor","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function","signature":"0xf92a79ff"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"executors","outputs":[{"name":"executor","type":"address"},{"name":"enabled","type":"bool"}],"payable":false,"stateMutability":"view","type":"function","signature":"0xf97a05df"}]};
|
|
let EVMScriptRegistry = new EmbarkJS.Blockchain.Contract(EVMScriptRegistryJSONConfig);
|
|
export default EVMScriptRegistry;
|