UNPKG

namillum

Version:
784 lines (783 loc) 15.3 kB
{ "contractName": "DisputableDelay", "abi": [ { "constant": true, "inputs": [ { "name": "_interfaceId", "type": "bytes4" } ], "name": "supportsInterface", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "pure", "type": "function" }, { "constant": true, "inputs": [], "name": "hasInitialized", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "SET_DELAY_ROLE", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_agreement", "type": "address" } ], "name": "setAgreement", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "_script", "type": "bytes" } ], "name": "getEVMScriptExecutor", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "getRecoveryVault", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "DELAY_EXECUTION_ROLE", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "forwarderType", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "pure", "type": "function" }, { "constant": false, "inputs": [ { "name": "_evmScript", "type": "bytes" }, { "name": "_context", "type": "bytes" } ], "name": "forward", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "_delayedScriptId", "type": "uint256" } ], "name": "canChallenge", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "_delayedScriptId", "type": "uint256" } ], "name": "canClose", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_disputableActionId", "type": "uint256" } ], "name": "onDisputableActionAllowed", "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": false, "inputs": [ { "name": "_disputableActionId", "type": "uint256" }, { "name": "_challengeId", "type": "uint256" }, { "name": "_challenger", "type": "address" } ], "name": "onDisputableActionChallenged", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "appId", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "executionDelay", "outputs": [ { "name": "", "type": "uint64" } ], "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": "CHALLENGE_ROLE", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "CANCEL_EXECUTION_ROLE", "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": "_delayedScriptId", "type": "uint256" } ], "name": "cancelExecution", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "_evmScript", "type": "bytes" }, { "name": "_context", "type": "bytes" } ], "name": "delayExecution", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "getEVMScriptRegistry", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_disputableActionId", "type": "uint256" } ], "name": "onDisputableActionVoided", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "delayedScriptsNewIndex", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "getAgreement", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "_sender", "type": "address" }, { "name": "_evmScript", "type": "bytes" } ], "name": "canForward", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_executionDelay", "type": "uint64" } ], "name": "setExecutionDelay", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "_delayedScriptId", "type": "uint256" } ], "name": "canExecute", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "SET_AGREEMENT_ROLE", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "kernel", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "isPetrified", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_executionDelay", "type": "uint64" } ], "name": "initialize", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "_disputableActionId", "type": "uint256" } ], "name": "onDisputableActionRejected", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "delayedScripts", "outputs": [ { "name": "executionFromTime", "type": "uint64" }, { "name": "pausedAt", "type": "uint64" }, { "name": "delayedScriptStatus", "type": "uint8" }, { "name": "evmScript", "type": "bytes" }, { "name": "actionId", "type": "uint256" }, { "name": "submitter", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "isForwarder", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "pure", "type": "function" }, { "constant": false, "inputs": [ { "name": "_delayedScriptId", "type": "uint256" } ], "name": "execute", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "anonymous": false, "inputs": [ { "indexed": true, "name": "executionDelay", "type": "uint64" } ], "name": "ExecutionDelaySet", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "name": "delayedScriptId", "type": "uint256" }, { "indexed": true, "name": "actionId", "type": "uint256" }, { "indexed": false, "name": "evmScript", "type": "bytes" } ], "name": "DelayedScriptStored", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "name": "delayedScriptId", "type": "uint256" }, { "indexed": true, "name": "challengeId", "type": "uint256" } ], "name": "ExecutionPaused", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "name": "delayedScriptId", "type": "uint256" } ], "name": "ExecutionResumed", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "name": "delayedScriptId", "type": "uint256" } ], "name": "ExecutionCancelled", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "name": "delayedScriptId", "type": "uint256" } ], "name": "ExecutedScript", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "name": "executor", "type": "address" }, { "indexed": false, "name": "script", "type": "bytes" }, { "indexed": false, "name": "input", "type": "bytes" }, { "indexed": false, "name": "returnData", "type": "bytes" } ], "name": "ScriptResult", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "name": "vault", "type": "address" }, { "indexed": true, "name": "token", "type": "address" }, { "indexed": false, "name": "amount", "type": "uint256" } ], "name": "RecoverToVault", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "name": "agreement", "type": "address" } ], "name": "AgreementSet", "type": "event" } ] }