Files

1506 lines
28 KiB
JSON

{
"released": true,
"contractName": "SafeL2",
"version": "1.4.1",
"deployments": {
"canonical": {
"address": "0x29fcB43b46531BcA003ddC8FCB67FFE91900C762",
"codeHash": "0xb1f926978a0f44a2c0ec8fe822418ae969bd8c3f18d61e5103100339894f81ff"
}
},
"networkAddresses": {
"1": [
"canonical"
],
"5": [
"canonical"
],
"10": [
"canonical"
],
"25": [
"canonical"
],
"31": [
"canonical"
],
"40": [
"canonical"
],
"41": [
"canonical"
],
"56": [
"canonical"
],
"71": [
"canonical"
],
"97": [
"canonical"
],
"100": [
"canonical"
],
"137": [
"canonical"
],
"155": [
"canonical"
],
"169": [
"canonical"
],
"250": [
"canonical"
],
"252": [
"canonical"
],
"255": [
"canonical"
],
"336": [
"canonical"
],
"338": [
"canonical"
],
"369": [
"canonical"
],
"480": [
"canonical"
],
"530": [
"canonical"
],
"592": [
"canonical"
],
"690": [
"canonical"
],
"919": [
"canonical"
],
"1030": [
"canonical"
],
"1101": [
"canonical"
],
"1111": [
"canonical"
],
"1112": [
"canonical"
],
"1135": [
"canonical"
],
"1284": [
"canonical"
],
"1285": [
"canonical"
],
"1287": [
"canonical"
],
"1329": [
"canonical"
],
"1337": [
"canonical"
],
"1442": [
"canonical"
],
"1625": [
"canonical"
],
"1729": [
"canonical"
],
"2000": [
"canonical"
],
"2039": [
"canonical"
],
"2358": [
"canonical"
],
"2810": [
"canonical"
],
"3338": [
"canonical"
],
"3636": [
"canonical"
],
"3776": [
"canonical"
],
"4002": [
"canonical"
],
"4157": [
"canonical"
],
"4202": [
"canonical"
],
"4337": [
"canonical"
],
"4653": [
"canonical"
],
"5000": [
"canonical"
],
"5003": [
"canonical"
],
"6001": [
"canonical"
],
"6321": [
"canonical"
],
"6322": [
"canonical"
],
"7000": [
"canonical"
],
"7001": [
"canonical"
],
"7171": [
"canonical"
],
"7560": [
"canonical"
],
"7771": [
"canonical"
],
"8192": [
"canonical"
],
"8194": [
"canonical"
],
"8453": [
"canonical"
],
"9001": [
"canonical"
],
"10242": [
"canonical"
],
"10243": [
"canonical"
],
"11235": [
"canonical"
],
"13337": [
"canonical"
],
"17000": [
"canonical"
],
"17069": [
"canonical"
],
"18233": [
"canonical"
],
"23294": [
"canonical"
],
"23295": [
"canonical"
],
"32769": [
"canonical"
],
"33101": [
"canonical"
],
"34443": [
"canonical"
],
"42161": [
"canonical"
],
"42220": [
"canonical"
],
"43114": [
"canonical"
],
"54211": [
"canonical"
],
"59140": [
"canonical"
],
"59141": [
"canonical"
],
"59144": [
"canonical"
],
"80001": [
"canonical"
],
"80085": [
"canonical"
],
"81457": [
"canonical"
],
"84531": [
"canonical"
],
"84532": [
"canonical"
],
"90001": [
"canonical"
],
"105105": [
"canonical"
],
"111188": [
"canonical"
],
"167000": [
"canonical"
],
"167009": [
"canonical"
],
"205205": [
"canonical"
],
"421614": [
"canonical"
],
"444444": [
"canonical"
],
"534351": [
"canonical"
],
"534352": [
"canonical"
],
"555666": [
"canonical"
],
"713715": [
"canonical"
],
"6038361": [
"canonical"
],
"7225878": [
"canonical"
],
"7777777": [
"canonical"
],
"11155111": [
"canonical"
],
"11155420": [
"canonical"
],
"94204209": [
"canonical"
],
"111557560": [
"canonical"
],
"123420111": [
"canonical"
],
"168587773": [
"canonical"
],
"476462898": [
"canonical"
],
"666666666": [
"canonical"
],
"999999999": [
"canonical"
],
"1313161554": [
"canonical"
],
"1313161555": [
"canonical"
],
"1666600000": [
"canonical"
],
"1666700000": [
"canonical"
],
"88153591557": [
"canonical"
]
},
"abi": [
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "owner",
"type": "address"
}
],
"name": "AddedOwner",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "bytes32",
"name": "approvedHash",
"type": "bytes32"
},
{
"indexed": true,
"internalType": "address",
"name": "owner",
"type": "address"
}
],
"name": "ApproveHash",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "handler",
"type": "address"
}
],
"name": "ChangedFallbackHandler",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "guard",
"type": "address"
}
],
"name": "ChangedGuard",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint256",
"name": "threshold",
"type": "uint256"
}
],
"name": "ChangedThreshold",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "module",
"type": "address"
}
],
"name": "DisabledModule",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "module",
"type": "address"
}
],
"name": "EnabledModule",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "bytes32",
"name": "txHash",
"type": "bytes32"
},
{
"indexed": false,
"internalType": "uint256",
"name": "payment",
"type": "uint256"
}
],
"name": "ExecutionFailure",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "module",
"type": "address"
}
],
"name": "ExecutionFromModuleFailure",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "module",
"type": "address"
}
],
"name": "ExecutionFromModuleSuccess",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "bytes32",
"name": "txHash",
"type": "bytes32"
},
{
"indexed": false,
"internalType": "uint256",
"name": "payment",
"type": "uint256"
}
],
"name": "ExecutionSuccess",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "owner",
"type": "address"
}
],
"name": "RemovedOwner",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "module",
"type": "address"
},
{
"indexed": false,
"internalType": "address",
"name": "to",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "value",
"type": "uint256"
},
{
"indexed": false,
"internalType": "bytes",
"name": "data",
"type": "bytes"
},
{
"indexed": false,
"internalType": "enum Enum.Operation",
"name": "operation",
"type": "uint8"
}
],
"name": "SafeModuleTransaction",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "to",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "value",
"type": "uint256"
},
{
"indexed": false,
"internalType": "bytes",
"name": "data",
"type": "bytes"
},
{
"indexed": false,
"internalType": "enum Enum.Operation",
"name": "operation",
"type": "uint8"
},
{
"indexed": false,
"internalType": "uint256",
"name": "safeTxGas",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "baseGas",
"type": "uint256"
},
{
"indexed": false,
"internalType": "uint256",
"name": "gasPrice",
"type": "uint256"
},
{
"indexed": false,
"internalType": "address",
"name": "gasToken",
"type": "address"
},
{
"indexed": false,
"internalType": "address payable",
"name": "refundReceiver",
"type": "address"
},
{
"indexed": false,
"internalType": "bytes",
"name": "signatures",
"type": "bytes"
},
{
"indexed": false,
"internalType": "bytes",
"name": "additionalInfo",
"type": "bytes"
}
],
"name": "SafeMultiSigTransaction",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "sender",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "value",
"type": "uint256"
}
],
"name": "SafeReceived",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "initiator",
"type": "address"
},
{
"indexed": false,
"internalType": "address[]",
"name": "owners",
"type": "address[]"
},
{
"indexed": false,
"internalType": "uint256",
"name": "threshold",
"type": "uint256"
},
{
"indexed": false,
"internalType": "address",
"name": "initializer",
"type": "address"
},
{
"indexed": false,
"internalType": "address",
"name": "fallbackHandler",
"type": "address"
}
],
"name": "SafeSetup",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "bytes32",
"name": "msgHash",
"type": "bytes32"
}
],
"name": "SignMsg",
"type": "event"
},
{
"stateMutability": "nonpayable",
"type": "fallback"
},
{
"inputs": [
],
"name": "VERSION",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "owner",
"type": "address"
},
{
"internalType": "uint256",
"name": "_threshold",
"type": "uint256"
}
],
"name": "addOwnerWithThreshold",
"outputs": [
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "hashToApprove",
"type": "bytes32"
}
],
"name": "approveHash",
"outputs": [
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "",
"type": "address"
},
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"name": "approvedHashes",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "_threshold",
"type": "uint256"
}
],
"name": "changeThreshold",
"outputs": [
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "dataHash",
"type": "bytes32"
},
{
"internalType": "bytes",
"name": "data",
"type": "bytes"
},
{
"internalType": "bytes",
"name": "signatures",
"type": "bytes"
},
{
"internalType": "uint256",
"name": "requiredSignatures",
"type": "uint256"
}
],
"name": "checkNSignatures",
"outputs": [
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "dataHash",
"type": "bytes32"
},
{
"internalType": "bytes",
"name": "data",
"type": "bytes"
},
{
"internalType": "bytes",
"name": "signatures",
"type": "bytes"
}
],
"name": "checkSignatures",
"outputs": [
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "prevModule",
"type": "address"
},
{
"internalType": "address",
"name": "module",
"type": "address"
}
],
"name": "disableModule",
"outputs": [
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
],
"name": "domainSeparator",
"outputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "module",
"type": "address"
}
],
"name": "enableModule",
"outputs": [
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "to",
"type": "address"
},
{
"internalType": "uint256",
"name": "value",
"type": "uint256"
},
{
"internalType": "bytes",
"name": "data",
"type": "bytes"
},
{
"internalType": "enum Enum.Operation",
"name": "operation",
"type": "uint8"
},
{
"internalType": "uint256",
"name": "safeTxGas",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "baseGas",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "gasPrice",
"type": "uint256"
},
{
"internalType": "address",
"name": "gasToken",
"type": "address"
},
{
"internalType": "address",
"name": "refundReceiver",
"type": "address"
},
{
"internalType": "uint256",
"name": "_nonce",
"type": "uint256"
}
],
"name": "encodeTransactionData",
"outputs": [
{
"internalType": "bytes",
"name": "",
"type": "bytes"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "to",
"type": "address"
},
{
"internalType": "uint256",
"name": "value",
"type": "uint256"
},
{
"internalType": "bytes",
"name": "data",
"type": "bytes"
},
{
"internalType": "enum Enum.Operation",
"name": "operation",
"type": "uint8"
},
{
"internalType": "uint256",
"name": "safeTxGas",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "baseGas",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "gasPrice",
"type": "uint256"
},
{
"internalType": "address",
"name": "gasToken",
"type": "address"
},
{
"internalType": "address payable",
"name": "refundReceiver",
"type": "address"
},
{
"internalType": "bytes",
"name": "signatures",
"type": "bytes"
}
],
"name": "execTransaction",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "payable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "to",
"type": "address"
},
{
"internalType": "uint256",
"name": "value",
"type": "uint256"
},
{
"internalType": "bytes",
"name": "data",
"type": "bytes"
},
{
"internalType": "enum Enum.Operation",
"name": "operation",
"type": "uint8"
}
],
"name": "execTransactionFromModule",
"outputs": [
{
"internalType": "bool",
"name": "success",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "to",
"type": "address"
},
{
"internalType": "uint256",
"name": "value",
"type": "uint256"
},
{
"internalType": "bytes",
"name": "data",
"type": "bytes"
},
{
"internalType": "enum Enum.Operation",
"name": "operation",
"type": "uint8"
}
],
"name": "execTransactionFromModuleReturnData",
"outputs": [
{
"internalType": "bool",
"name": "success",
"type": "bool"
},
{
"internalType": "bytes",
"name": "returnData",
"type": "bytes"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
],
"name": "getChainId",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "start",
"type": "address"
},
{
"internalType": "uint256",
"name": "pageSize",
"type": "uint256"
}
],
"name": "getModulesPaginated",
"outputs": [
{
"internalType": "address[]",
"name": "array",
"type": "address[]"
},
{
"internalType": "address",
"name": "next",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
],
"name": "getOwners",
"outputs": [
{
"internalType": "address[]",
"name": "",
"type": "address[]"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "offset",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "length",
"type": "uint256"
}
],
"name": "getStorageAt",
"outputs": [
{
"internalType": "bytes",
"name": "",
"type": "bytes"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
],
"name": "getThreshold",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "to",
"type": "address"
},
{
"internalType": "uint256",
"name": "value",
"type": "uint256"
},
{
"internalType": "bytes",
"name": "data",
"type": "bytes"
},
{
"internalType": "enum Enum.Operation",
"name": "operation",
"type": "uint8"
},
{
"internalType": "uint256",
"name": "safeTxGas",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "baseGas",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "gasPrice",
"type": "uint256"
},
{
"internalType": "address",
"name": "gasToken",
"type": "address"
},
{
"internalType": "address",
"name": "refundReceiver",
"type": "address"
},
{
"internalType": "uint256",
"name": "_nonce",
"type": "uint256"
}
],
"name": "getTransactionHash",
"outputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "module",
"type": "address"
}
],
"name": "isModuleEnabled",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "owner",
"type": "address"
}
],
"name": "isOwner",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
],
"name": "nonce",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "prevOwner",
"type": "address"
},
{
"internalType": "address",
"name": "owner",
"type": "address"
},
{
"internalType": "uint256",
"name": "_threshold",
"type": "uint256"
}
],
"name": "removeOwner",
"outputs": [
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "handler",
"type": "address"
}
],
"name": "setFallbackHandler",
"outputs": [
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "guard",
"type": "address"
}
],
"name": "setGuard",
"outputs": [
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address[]",
"name": "_owners",
"type": "address[]"
},
{
"internalType": "uint256",
"name": "_threshold",
"type": "uint256"
},
{
"internalType": "address",
"name": "to",
"type": "address"
},
{
"internalType": "bytes",
"name": "data",
"type": "bytes"
},
{
"internalType": "address",
"name": "fallbackHandler",
"type": "address"
},
{
"internalType": "address",
"name": "paymentToken",
"type": "address"
},
{
"internalType": "uint256",
"name": "payment",
"type": "uint256"
},
{
"internalType": "address payable",
"name": "paymentReceiver",
"type": "address"
}
],
"name": "setup",
"outputs": [
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"name": "signedMessages",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "targetContract",
"type": "address"
},
{
"internalType": "bytes",
"name": "calldataPayload",
"type": "bytes"
}
],
"name": "simulateAndRevert",
"outputs": [
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "prevOwner",
"type": "address"
},
{
"internalType": "address",
"name": "oldOwner",
"type": "address"
},
{
"internalType": "address",
"name": "newOwner",
"type": "address"
}
],
"name": "swapOwner",
"outputs": [
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"stateMutability": "payable",
"type": "receive"
}
]
}