@aave/governance-crosschain-bridges
Version:
Contracts of Aave Governance Crosschain Bridges
661 lines (660 loc) • 14.2 kB
JSON
{
"_format": "hh-sol-artifact-1",
"contractName": "IL2BridgeExecutor",
"sourceName": "contracts/interfaces/IL2BridgeExecutor.sol",
"abi": [
{
"inputs": [],
"name": "DelayLongerThanMax",
"type": "error"
},
{
"inputs": [],
"name": "DelayShorterThanMin",
"type": "error"
},
{
"inputs": [],
"name": "DuplicateAction",
"type": "error"
},
{
"inputs": [],
"name": "EmptyTargets",
"type": "error"
},
{
"inputs": [],
"name": "FailedActionExecution",
"type": "error"
},
{
"inputs": [],
"name": "GracePeriodTooShort",
"type": "error"
},
{
"inputs": [],
"name": "InconsistentParamsLength",
"type": "error"
},
{
"inputs": [],
"name": "InsufficientBalance",
"type": "error"
},
{
"inputs": [],
"name": "InvalidActionsSetId",
"type": "error"
},
{
"inputs": [],
"name": "InvalidInitParams",
"type": "error"
},
{
"inputs": [],
"name": "MaximumDelayTooShort",
"type": "error"
},
{
"inputs": [],
"name": "MinimumDelayTooLong",
"type": "error"
},
{
"inputs": [],
"name": "NotGuardian",
"type": "error"
},
{
"inputs": [],
"name": "OnlyCallableByThis",
"type": "error"
},
{
"inputs": [],
"name": "OnlyQueuedActions",
"type": "error"
},
{
"inputs": [],
"name": "TimelockNotFinished",
"type": "error"
},
{
"inputs": [],
"name": "UnauthorizedEthereumExecutor",
"type": "error"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "id",
"type": "uint256"
}
],
"name": "ActionsSetCanceled",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "id",
"type": "uint256"
},
{
"indexed": true,
"internalType": "address",
"name": "initiatorExecution",
"type": "address"
},
{
"indexed": false,
"internalType": "bytes[]",
"name": "returnedData",
"type": "bytes[]"
}
],
"name": "ActionsSetExecuted",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "id",
"type": "uint256"
},
{
"indexed": false,
"internalType": "address[]",
"name": "targets",
"type": "address[]"
},
{
"indexed": false,
"internalType": "uint256[]",
"name": "values",
"type": "uint256[]"
},
{
"indexed": false,
"internalType": "string[]",
"name": "signatures",
"type": "string[]"
},
{
"indexed": false,
"internalType": "bytes[]",
"name": "calldatas",
"type": "bytes[]"
},
{
"indexed": false,
"internalType": "bool[]",
"name": "withDelegatecalls",
"type": "bool[]"
},
{
"indexed": false,
"internalType": "uint256",
"name": "executionTime",
"type": "uint256"
}
],
"name": "ActionsSetQueued",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint256",
"name": "oldDelay",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "newDelay",
"type": "uint256"
}
],
"name": "DelayUpdate",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "oldEthereumGovernanceExecutor",
"type": "address"
},
{
"indexed": false,
"internalType": "address",
"name": "newEthereumGovernanceExecutor",
"type": "address"
}
],
"name": "EthereumGovernanceExecutorUpdate",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint256",
"name": "oldGracePeriod",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "newGracePeriod",
"type": "uint256"
}
],
"name": "GracePeriodUpdate",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "oldGuardian",
"type": "address"
},
{
"indexed": false,
"internalType": "address",
"name": "newGuardian",
"type": "address"
}
],
"name": "GuardianUpdate",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint256",
"name": "oldMaximumDelay",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "newMaximumDelay",
"type": "uint256"
}
],
"name": "MaximumDelayUpdate",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint256",
"name": "oldMinimumDelay",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "newMinimumDelay",
"type": "uint256"
}
],
"name": "MinimumDelayUpdate",
"type": "event"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "actionsSetId",
"type": "uint256"
}
],
"name": "cancel",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "actionsSetId",
"type": "uint256"
}
],
"name": "execute",
"outputs": [],
"stateMutability": "payable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "target",
"type": "address"
},
{
"internalType": "bytes",
"name": "data",
"type": "bytes"
}
],
"name": "executeDelegateCall",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
},
{
"internalType": "bytes",
"name": "",
"type": "bytes"
}
],
"stateMutability": "payable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "actionsSetId",
"type": "uint256"
}
],
"name": "getActionsSetById",
"outputs": [
{
"components": [
{
"internalType": "address[]",
"name": "targets",
"type": "address[]"
},
{
"internalType": "uint256[]",
"name": "values",
"type": "uint256[]"
},
{
"internalType": "string[]",
"name": "signatures",
"type": "string[]"
},
{
"internalType": "bytes[]",
"name": "calldatas",
"type": "bytes[]"
},
{
"internalType": "bool[]",
"name": "withDelegatecalls",
"type": "bool[]"
},
{
"internalType": "uint256",
"name": "executionTime",
"type": "uint256"
},
{
"internalType": "bool",
"name": "executed",
"type": "bool"
},
{
"internalType": "bool",
"name": "canceled",
"type": "bool"
}
],
"internalType": "struct IExecutorBase.ActionsSet",
"name": "",
"type": "tuple"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getActionsSetCount",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "actionsSetId",
"type": "uint256"
}
],
"name": "getCurrentState",
"outputs": [
{
"internalType": "enum IExecutorBase.ActionsSetState",
"name": "",
"type": "uint8"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getDelay",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getEthereumGovernanceExecutor",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getGracePeriod",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getGuardian",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getMaximumDelay",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getMinimumDelay",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "actionHash",
"type": "bytes32"
}
],
"name": "isActionQueued",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address[]",
"name": "targets",
"type": "address[]"
},
{
"internalType": "uint256[]",
"name": "values",
"type": "uint256[]"
},
{
"internalType": "string[]",
"name": "signatures",
"type": "string[]"
},
{
"internalType": "bytes[]",
"name": "calldatas",
"type": "bytes[]"
},
{
"internalType": "bool[]",
"name": "withDelegatecalls",
"type": "bool[]"
}
],
"name": "queue",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "receiveFunds",
"outputs": [],
"stateMutability": "payable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "delay",
"type": "uint256"
}
],
"name": "updateDelay",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "ethereumGovernanceExecutor",
"type": "address"
}
],
"name": "updateEthereumGovernanceExecutor",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "gracePeriod",
"type": "uint256"
}
],
"name": "updateGracePeriod",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "guardian",
"type": "address"
}
],
"name": "updateGuardian",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "maximumDelay",
"type": "uint256"
}
],
"name": "updateMaximumDelay",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "minimumDelay",
"type": "uint256"
}
],
"name": "updateMinimumDelay",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
],
"bytecode": "0x",
"deployedBytecode": "0x",
"linkReferences": {},
"deployedLinkReferences": {}
}