UNPKG

@safe-global/types-kit

Version:

Types for use with the Safe Core SDK packages

2,315 lines (2,283 loc) 145 kB
// src/contracts/CompatibilityFallbackHandler/v1.3.0/CompatibilityFallbackHandlerContract_v1_3_0.ts import { narrow } from "abitype"; // src/contracts/assets/CompatibilityFallbackHandler/v1.3.0/compatibility_fallback_handler.ts var compatibility_fallback_handler_default = { contractName: "CompatibilityFallbackHandler", version: "1.3.0", abi: [ { inputs: [], name: "NAME", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "VERSION", outputs: [ { internalType: "string", name: "", type: "string" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes", name: "message", type: "bytes" } ], name: "getMessageHash", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "contract GnosisSafe", name: "safe", type: "address" }, { internalType: "bytes", name: "message", type: "bytes" } ], name: "getMessageHashForSafe", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getModules", outputs: [ { internalType: "address[]", name: "", type: "address[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "_dataHash", type: "bytes32" }, { internalType: "bytes", name: "_signature", type: "bytes" } ], name: "isValidSignature", outputs: [ { internalType: "bytes4", name: "", type: "bytes4" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes", name: "_data", type: "bytes" }, { internalType: "bytes", name: "_signature", type: "bytes" } ], name: "isValidSignature", outputs: [ { internalType: "bytes4", name: "", type: "bytes4" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "address", name: "", type: "address" }, { internalType: "uint256[]", name: "", type: "uint256[]" }, { internalType: "uint256[]", name: "", type: "uint256[]" }, { internalType: "bytes", name: "", type: "bytes" } ], name: "onERC1155BatchReceived", outputs: [ { internalType: "bytes4", name: "", type: "bytes4" } ], stateMutability: "pure", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "address", name: "", type: "address" }, { internalType: "uint256", name: "", type: "uint256" }, { internalType: "uint256", name: "", type: "uint256" }, { internalType: "bytes", name: "", type: "bytes" } ], name: "onERC1155Received", outputs: [ { internalType: "bytes4", name: "", type: "bytes4" } ], stateMutability: "pure", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "address", name: "", type: "address" }, { internalType: "uint256", name: "", type: "uint256" }, { internalType: "bytes", name: "", type: "bytes" } ], name: "onERC721Received", outputs: [ { internalType: "bytes4", name: "", type: "bytes4" } ], stateMutability: "pure", type: "function" }, { inputs: [ { internalType: "address", name: "targetContract", type: "address" }, { internalType: "bytes", name: "calldataPayload", type: "bytes" } ], name: "simulate", outputs: [ { internalType: "bytes", name: "response", type: "bytes" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes4", name: "interfaceId", type: "bytes4" } ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "address", name: "", type: "address" }, { internalType: "address", name: "", type: "address" }, { internalType: "uint256", name: "", type: "uint256" }, { internalType: "bytes", name: "", type: "bytes" }, { internalType: "bytes", name: "", type: "bytes" } ], name: "tokensReceived", outputs: [], stateMutability: "pure", type: "function" } ] }; // src/contracts/CompatibilityFallbackHandler/v1.3.0/CompatibilityFallbackHandlerContract_v1_3_0.ts var compatibilityFallbackHandlerContract_v1_3_0_AbiTypes = narrow( compatibility_fallback_handler_default.abi ); // src/contracts/CompatibilityFallbackHandler/v1.4.1/CompatibilityFallbackHandlerContract_v1_4_1.ts import { narrow as narrow2 } from "abitype"; // src/contracts/assets/CompatibilityFallbackHandler/v1.4.1/compatibility_fallback_handler.ts var compatibility_fallback_handler_default2 = { contractName: "CompatibilityFallbackHandler", version: "1.4.1", abi: [ { inputs: [ { internalType: "contract Safe", name: "safe", type: "address" }, { internalType: "bytes", name: "message", type: "bytes" } ], name: "encodeMessageDataForSafe", outputs: [ { internalType: "bytes", name: "", type: "bytes" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes", name: "message", type: "bytes" } ], name: "getMessageHash", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "contract Safe", name: "safe", type: "address" }, { internalType: "bytes", name: "message", type: "bytes" } ], name: "getMessageHashForSafe", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], stateMutability: "view", type: "function" }, { inputs: [], name: "getModules", outputs: [ { internalType: "address[]", name: "", type: "address[]" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes32", name: "_dataHash", type: "bytes32" }, { internalType: "bytes", name: "_signature", type: "bytes" } ], name: "isValidSignature", outputs: [ { internalType: "bytes4", name: "", type: "bytes4" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "bytes", name: "_data", type: "bytes" }, { internalType: "bytes", name: "_signature", type: "bytes" } ], name: "isValidSignature", outputs: [ { internalType: "bytes4", name: "", type: "bytes4" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "address", name: "", type: "address" }, { internalType: "uint256[]", name: "", type: "uint256[]" }, { internalType: "uint256[]", name: "", type: "uint256[]" }, { internalType: "bytes", name: "", type: "bytes" } ], name: "onERC1155BatchReceived", outputs: [ { internalType: "bytes4", name: "", type: "bytes4" } ], stateMutability: "pure", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "address", name: "", type: "address" }, { internalType: "uint256", name: "", type: "uint256" }, { internalType: "uint256", name: "", type: "uint256" }, { internalType: "bytes", name: "", type: "bytes" } ], name: "onERC1155Received", outputs: [ { internalType: "bytes4", name: "", type: "bytes4" } ], stateMutability: "pure", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "address", name: "", type: "address" }, { internalType: "uint256", name: "", type: "uint256" }, { internalType: "bytes", name: "", type: "bytes" } ], name: "onERC721Received", outputs: [ { internalType: "bytes4", name: "", type: "bytes4" } ], stateMutability: "pure", type: "function" }, { inputs: [ { internalType: "address", name: "targetContract", type: "address" }, { internalType: "bytes", name: "calldataPayload", type: "bytes" } ], name: "simulate", outputs: [ { internalType: "bytes", name: "response", type: "bytes" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "bytes4", name: "interfaceId", type: "bytes4" } ], name: "supportsInterface", outputs: [ { internalType: "bool", name: "", type: "bool" } ], stateMutability: "view", type: "function" }, { inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "address", name: "", type: "address" }, { internalType: "address", name: "", type: "address" }, { internalType: "uint256", name: "", type: "uint256" }, { internalType: "bytes", name: "", type: "bytes" }, { internalType: "bytes", name: "", type: "bytes" } ], name: "tokensReceived", outputs: [], stateMutability: "pure", type: "function" } ] }; // src/contracts/CompatibilityFallbackHandler/v1.4.1/CompatibilityFallbackHandlerContract_v1_4_1.ts var compatibilityFallbackHandlerContract_v1_4_1_AbiTypes = narrow2( compatibility_fallback_handler_default2.abi ); // src/contracts/MultiSend/v1.1.1/MultiSendContract_v1_1_1.ts import { narrow as narrow3 } from "abitype"; // src/contracts/assets/MultiSend/v1.1.1/multi_send.ts var multi_send_default = { contractName: "MultiSend", version: "1.1.1", abi: [ { inputs: [], payable: false, stateMutability: "nonpayable", type: "constructor" }, { constant: false, inputs: [ { internalType: "bytes", name: "transactions", type: "bytes" } ], name: "multiSend", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" } ] }; // src/contracts/MultiSend/v1.1.1/MultiSendContract_v1_1_1.ts var multiSendContract_v1_1_1_AbiTypes = narrow3(multi_send_default.abi); // src/contracts/MultiSend/v1.3.0/MultiSendContract_v1_3_0.ts import { narrow as narrow4 } from "abitype"; // src/contracts/assets/MultiSend/v1.3.0/multi_send.ts var multi_send_default2 = { contractName: "MultiSend", version: "1.3.0", abi: [ { inputs: [], stateMutability: "nonpayable", type: "constructor" }, { inputs: [ { internalType: "bytes", name: "transactions", type: "bytes" } ], name: "multiSend", outputs: [], stateMutability: "payable", type: "function" } ] }; // src/contracts/MultiSend/v1.3.0/MultiSendContract_v1_3_0.ts var multiSendContract_v1_3_0_AbiTypes = narrow4(multi_send_default2.abi); // src/contracts/MultiSend/v1.4.1/MultiSendContract_v1_4_1.ts import { narrow as narrow5 } from "abitype"; // src/contracts/assets/MultiSend/v1.4.1/multi_send.ts var multi_send_default3 = { contractName: "MultiSend", version: "1.4.1", abi: [ { inputs: [], stateMutability: "nonpayable", type: "constructor" }, { inputs: [ { internalType: "bytes", name: "transactions", type: "bytes" } ], name: "multiSend", outputs: [], stateMutability: "payable", type: "function" } ] }; // src/contracts/MultiSend/v1.4.1/MultiSendContract_v1_4_1.ts var multiSendContract_v1_4_1_AbiTypes = narrow5(multi_send_default3.abi); // src/contracts/MultiSend/v1.3.0/MultiSendCallOnlyContract_v1_3_0.ts import { narrow as narrow6 } from "abitype"; // src/contracts/assets/MultiSend/v1.3.0/multi_send_call_only.ts var multi_send_call_only_default = { contractName: "MultiSendCallOnly", version: "1.3.0", abi: [ { inputs: [ { internalType: "bytes", name: "transactions", type: "bytes" } ], name: "multiSend", outputs: [], stateMutability: "payable", type: "function" } ] }; // src/contracts/MultiSend/v1.3.0/MultiSendCallOnlyContract_v1_3_0.ts var multiSendCallOnlyContract_v1_3_0_AbiTypes = narrow6( multi_send_call_only_default.abi ); // src/contracts/MultiSend/v1.4.1/MultiSendCallOnlyContract_v1_4_1.ts import { narrow as narrow7 } from "abitype"; // src/contracts/assets/MultiSend/v1.4.1/multi_send_call_only.ts var multi_send_call_only_default2 = { contractName: "MultiSendCallOnly", version: "1.4.1", abi: [ { inputs: [ { internalType: "bytes", name: "transactions", type: "bytes" } ], name: "multiSend", outputs: [], stateMutability: "payable", type: "function" } ] }; // src/contracts/MultiSend/v1.4.1/MultiSendCallOnlyContract_v1_4_1.ts var multiSendCallOnlyContract_v1_4_1_AbiTypes = narrow7( multi_send_call_only_default2.abi ); // src/contracts/CreateCall/v1.3.0/CreateCallContract_v1_3_0.ts import { narrow as narrow8 } from "abitype"; // src/contracts/assets/CreateCall/v1.3.0/create_call.ts var create_call_default = { contractName: "CreateCall", version: "1.3.0", abi: [ { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "newContract", type: "address" } ], name: "ContractCreation", type: "event" }, { inputs: [ { internalType: "uint256", name: "value", type: "uint256" }, { internalType: "bytes", name: "deploymentData", type: "bytes" } ], name: "performCreate", outputs: [ { internalType: "address", name: "newContract", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "value", type: "uint256" }, { internalType: "bytes", name: "deploymentData", type: "bytes" }, { internalType: "bytes32", name: "salt", type: "bytes32" } ], name: "performCreate2", outputs: [ { internalType: "address", name: "newContract", type: "address" } ], stateMutability: "nonpayable", type: "function" } ] }; // src/contracts/CreateCall/v1.3.0/CreateCallContract_v1_3_0.ts var createCallContract_v1_3_0_AbiTypes = narrow8(create_call_default.abi); // src/contracts/CreateCall/v1.4.1/CreateCallContract_v1_4_1.ts import { narrow as narrow9 } from "abitype"; // src/contracts/assets/CreateCall/v1.4.1/create_call.ts var create_call_default2 = { contractName: "CreateCall", version: "1.4.1", abi: [ { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "newContract", type: "address" } ], name: "ContractCreation", type: "event" }, { inputs: [ { internalType: "uint256", name: "value", type: "uint256" }, { internalType: "bytes", name: "deploymentData", type: "bytes" } ], name: "performCreate", outputs: [ { internalType: "address", name: "newContract", type: "address" } ], stateMutability: "nonpayable", type: "function" }, { inputs: [ { internalType: "uint256", name: "value", type: "uint256" }, { internalType: "bytes", name: "deploymentData", type: "bytes" }, { internalType: "bytes32", name: "salt", type: "bytes32" } ], name: "performCreate2", outputs: [ { internalType: "address", name: "newContract", type: "address" } ], stateMutability: "nonpayable", type: "function" } ] }; // src/contracts/CreateCall/v1.4.1/CreateCallContract_v1_4_1.ts var createCallContract_v1_4_1_AbiTypes = narrow9(create_call_default2.abi); // src/contracts/Safe/v1.0.0/SafeContract_v1_0_0.ts import { narrow as narrow10 } from "abitype"; // src/contracts/assets/Safe/v1.0.0/gnosis_safe.ts var gnosis_safe_default = { contractName: "GnosisSafe", version: "1.0.0", abi: [ { constant: false, inputs: [ { name: "owner", type: "address" }, { name: "_threshold", type: "uint256" } ], name: "addOwnerWithThreshold", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "DOMAIN_SEPARATOR_TYPEHASH", outputs: [{ name: "", type: "bytes32" }], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [{ name: "owner", type: "address" }], name: "isOwner", outputs: [{ name: "", type: "bool" }], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { name: "to", type: "address" }, { name: "value", type: "uint256" }, { name: "data", type: "bytes" }, { name: "operation", type: "uint8" } ], name: "execTransactionFromModule", outputs: [{ name: "success", type: "bool" }], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [{ name: "", type: "bytes32" }], name: "signedMessages", outputs: [{ name: "", type: "uint256" }], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [{ name: "module", type: "address" }], name: "enableModule", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_threshold", type: "uint256" }], name: "changeThreshold", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { name: "", type: "address" }, { name: "", type: "bytes32" } ], name: "approvedHashes", outputs: [{ name: "", type: "uint256" }], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [{ name: "_masterCopy", type: "address" }], name: "changeMasterCopy", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "SENTINEL_MODULES", outputs: [{ name: "", type: "address" }], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "SENTINEL_OWNERS", outputs: [{ name: "", type: "address" }], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "getOwners", outputs: [{ name: "", type: "address[]" }], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "NAME", outputs: [{ name: "", type: "string" }], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "nonce", outputs: [{ name: "", type: "uint256" }], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "getModules", outputs: [{ name: "", type: "address[]" }], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "SAFE_MSG_TYPEHASH", outputs: [{ name: "", type: "bytes32" }], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "SAFE_TX_TYPEHASH", outputs: [{ name: "", type: "bytes32" }], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { name: "prevModule", type: "address" }, { name: "module", type: "address" } ], name: "disableModule", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { name: "prevOwner", type: "address" }, { name: "oldOwner", type: "address" }, { name: "newOwner", type: "address" } ], name: "swapOwner", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "getThreshold", outputs: [{ name: "", type: "uint256" }], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "domainSeparator", outputs: [{ name: "", type: "bytes32" }], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { name: "prevOwner", type: "address" }, { name: "owner", type: "address" }, { name: "_threshold", type: "uint256" } ], name: "removeOwner", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "VERSION", outputs: [{ name: "", type: "string" }], payable: false, stateMutability: "view", type: "function" }, { payable: true, stateMutability: "payable", type: "fallback" }, { anonymous: false, inputs: [{ indexed: false, name: "txHash", type: "bytes32" }], name: "ExecutionFailed", type: "event" }, { anonymous: false, inputs: [{ indexed: false, name: "owner", type: "address" }], name: "AddedOwner", type: "event" }, { anonymous: false, inputs: [{ indexed: false, name: "owner", type: "address" }], name: "RemovedOwner", type: "event" }, { anonymous: false, inputs: [{ indexed: false, name: "threshold", type: "uint256" }], name: "ChangedThreshold", type: "event" }, { anonymous: false, inputs: [{ indexed: false, name: "module", type: "address" }], name: "EnabledModule", type: "event" }, { anonymous: false, inputs: [{ indexed: false, name: "module", type: "address" }], name: "DisabledModule", type: "event" }, { anonymous: false, inputs: [{ indexed: false, name: "newContract", type: "address" }], name: "ContractCreation", type: "event" }, { constant: false, inputs: [ { name: "_owners", type: "address[]" }, { name: "_threshold", type: "uint256" }, { name: "to", type: "address" }, { name: "data", type: "bytes" }, { name: "paymentToken", type: "address" }, { name: "payment", type: "uint256" }, { name: "paymentReceiver", type: "address" } ], name: "setup", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { name: "to", type: "address" }, { name: "value", type: "uint256" }, { name: "data", type: "bytes" }, { name: "operation", type: "uint8" }, { name: "safeTxGas", type: "uint256" }, { name: "baseGas", type: "uint256" }, { name: "gasPrice", type: "uint256" }, { name: "gasToken", type: "address" }, { name: "refundReceiver", type: "address" }, { name: "signatures", type: "bytes" } ], name: "execTransaction", outputs: [{ name: "success", type: "bool" }], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { name: "to", type: "address" }, { name: "value", type: "uint256" }, { name: "data", type: "bytes" }, { name: "operation", type: "uint8" } ], name: "requiredTxGas", outputs: [{ name: "", type: "uint256" }], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "hashToApprove", type: "bytes32" }], name: "approveHash", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [{ name: "_data", type: "bytes" }], name: "signMessage", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { name: "_data", type: "bytes" }, { name: "_signature", type: "bytes" } ], name: "isValidSignature", outputs: [{ name: "", type: "bytes4" }], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [{ name: "message", type: "bytes" }], name: "getMessageHash", outputs: [{ name: "", type: "bytes32" }], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { name: "to", type: "address" }, { name: "value", type: "uint256" }, { name: "data", type: "bytes" }, { name: "operation", type: "uint8" }, { name: "safeTxGas", type: "uint256" }, { name: "baseGas", type: "uint256" }, { name: "gasPrice", type: "uint256" }, { name: "gasToken", type: "address" }, { name: "refundReceiver", type: "address" }, { name: "_nonce", type: "uint256" } ], name: "encodeTransactionData", outputs: [{ name: "", type: "bytes" }], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { name: "to", type: "address" }, { name: "value", type: "uint256" }, { name: "data", type: "bytes" }, { name: "operation", type: "uint8" }, { name: "safeTxGas", type: "uint256" }, { name: "baseGas", type: "uint256" }, { name: "gasPrice", type: "uint256" }, { name: "gasToken", type: "address" }, { name: "refundReceiver", type: "address" }, { name: "_nonce", type: "uint256" } ], name: "getTransactionHash", outputs: [{ name: "", type: "bytes32" }], payable: false, stateMutability: "view", type: "function" } ] }; // src/contracts/Safe/v1.0.0/SafeContract_v1_0_0.ts var safeContract_v1_0_0_AbiTypes = narrow10(gnosis_safe_default.abi); // src/contracts/Safe/v1.1.1/SafeContract_v1_1_1.ts import { narrow as narrow11 } from "abitype"; // src/contracts/assets/Safe/v1.1.1/gnosis_safe.ts var gnosis_safe_default2 = { contractName: "GnosisSafe", version: "1.1.1", abi: [ { inputs: [], payable: false, stateMutability: "nonpayable", type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, 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: false, internalType: "address", name: "masterCopy", type: "address" } ], name: "ChangedMasterCopy", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "uint256", name: "threshold", type: "uint256" } ], name: "ChangedThreshold", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "contract Module", name: "module", type: "address" } ], name: "DisabledModule", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "contract Module", name: "module", type: "address" } ], name: "EnabledModule", type: "event" }, { anonymous: false, inputs: [ { indexed: false, 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: false, internalType: "bytes32", name: "txHash", type: "bytes32" }, { indexed: false, internalType: "uint256", name: "payment", type: "uint256" } ], name: "ExecutionSuccess", type: "event" }, { anonymous: false, inputs: [ { indexed: false, internalType: "address", name: "owner", type: "address" } ], name: "RemovedOwner", type: "event" }, { anonymous: false, inputs: [ { indexed: true, internalType: "bytes32", name: "msgHash", type: "bytes32" } ], name: "SignMsg", type: "event" }, { payable: true, stateMutability: "payable", type: "fallback" }, { constant: true, inputs: [], name: "NAME", outputs: [ { internalType: "string", name: "", type: "string" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "VERSION", outputs: [ { internalType: "string", name: "", type: "string" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "owner", type: "address" }, { internalType: "uint256", name: "_threshold", type: "uint256" } ], name: "addOwnerWithThreshold", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "", type: "address" }, { internalType: "bytes32", name: "", type: "bytes32" } ], name: "approvedHashes", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "_masterCopy", type: "address" } ], name: "changeMasterCopy", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "uint256", name: "_threshold", type: "uint256" } ], name: "changeThreshold", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "contract Module", name: "prevModule", type: "address" }, { internalType: "contract Module", name: "module", type: "address" } ], name: "disableModule", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "domainSeparator", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "contract Module", name: "module", type: "address" } ], name: "enableModule", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, 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" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, 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" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [], name: "getModules", outputs: [ { internalType: "address[]", name: "", type: "address[]" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, 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" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "getOwners", outputs: [ { internalType: "address[]", name: "", type: "address[]" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "getThreshold", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [ { internalType: "address", name: "owner", type: "address" } ], name: "isOwner", outputs: [ { internalType: "bool", name: "", type: "bool" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, inputs: [], name: "nonce", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "prevOwner", type: "address" }, { internalType: "address", name: "owner", type: "address" }, { internalType: "uint256", name: "_threshold", type: "uint256" } ], name: "removeOwner", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "handler", type: "address" } ], name: "setFallbackHandler", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], name: "signedMessages", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "view", type: "function" }, { constant: false, inputs: [ { internalType: "address", name: "prevOwner", type: "address" }, { internalType: "address", name: "oldOwner", type: "address" }, { internalType: "address", name: "newOwner", type: "address" } ], name: "swapOwner", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, 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: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, 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: "success", type: "bool" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, 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: "requiredTxGas", outputs: [ { internalType: "uint256", name: "", type: "uint256" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "bytes32", name: "hashToApprove", type: "bytes32" } ], name: "approveHash", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "bytes", name: "_data", type: "bytes" } ], name: "signMessage", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: false, inputs: [ { internalType: "bytes", name: "_data", type: "bytes" }, { internalType: "bytes", name: "_signature", type: "bytes" } ], name: "isValidSignature", outputs: [ { internalType: "bytes4", name: "", type: "bytes4" } ], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [ { internalType: "bytes", name: "message", type: "bytes" } ], name: "getMessageHash", outputs: [ { internalType: "bytes32", name: "", type: "bytes32" } ], payable: false, stateMutability: "view", type: "function" }, { constant: true, 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"