Expand description
Module containing a contract’s types and functions.
interface ISafe {
function nonce() external view returns (uint256);
function setup(address[] calldata owners, uint256 threshold, address to, bytes calldata data, address fallbackHandler, address paymentToken, uint256 payment, address paymentReceiver) external;
function getTransactionHash(address to, uint256 value, bytes calldata data, uint8 operation, uint256 safeTxGas, uint256 baseGas, uint256 gasPrice, address gasToken, address refundReceiver, uint256 nonce) external view returns (bytes32);
function simulateAndRevert(address targetContract, bytes calldata calldataPayload) external;
function execTransaction(address to, uint256 value, bytes calldata data, uint8 operation, uint256 safeTxGas, uint256 baseGas, uint256 gasPrice, address gasToken, address refundReceiver, bytes calldata signatures) external payable returns (bool success);
event ExecutionSuccess(bytes32 indexed txHash, uint256 payment);
event ExecutionFailure(bytes32 indexed txHash, uint256 payment);
}Structs§
- Execution
Failure - Event with signature
ExecutionFailure(bytes32,uint256)and selector0x23428b18acfb3ea64b08dc0c1d296ea9c09702c09083ca5272e64d115b687d23. - Execution
Success - Event with signature
ExecutionSuccess(bytes32,uint256)and selector0x442e715f626346e8c54381002da614f62bee8d27386535b2521ec8540898556e. - ISafe
Instance - A
ISafeinstance. - exec
Transaction Call - Function with signature
execTransaction(address,uint256,bytes,uint8,uint256,uint256,uint256,address,address,bytes)and selector0x6a761202. - exec
Transaction Return - Container type for the return parameters of the
execTransaction(address,uint256,bytes,uint8,uint256,uint256,uint256,address,address,bytes)function. - getTransaction
Hash Call - Function with signature
getTransactionHash(address,uint256,bytes,uint8,uint256,uint256,uint256,address,address,uint256)and selector0xd8d11f78. - getTransaction
Hash Return - Container type for the return parameters of the
getTransactionHash(address,uint256,bytes,uint8,uint256,uint256,uint256,address,address,uint256)function. - nonce
Call - Function with signature
nonce()and selector0xaffed0e0. - nonce
Return - Container type for the return parameters of the
nonce()function. - setup
Call - Function with signature
setup(address[],uint256,address,bytes,address,address,uint256,address)and selector0xb63e800d. - setup
Return - Container type for the return parameters of the
setup(address[],uint256,address,bytes,address,address,uint256,address)function. - simulate
AndRevert Call - Function with signature
simulateAndRevert(address,bytes)and selector0xb4faba09. - simulate
AndRevert Return - Container type for the return parameters of the
simulateAndRevert(address,bytes)function.
Enums§
- ISafe
Calls - Container for all the
ISafefunction calls. - ISafe
Events - Container for all the
ISafeevents.