Expand description
Module containing a contract’s types and functions.
contract SafeSingleton {
event ExecutionSuccess(bytes32 indexed txHash, uint256 payment);
function setup(address[], uint256, address, bytes, address, address, uint256, address);
function execTransaction(address to, uint256 value, bytes calldata data, uint8 operation, uint256 safeTxGas, uint256 baseGas, uint256 gasPrice, address gasToken, address refundReceiver, bytes memory signatures) public payable returns (bool);
function removeOwner(address prevOwner, address owner, uint256 _threshold) public;
function getThreshold() public view returns (uint256);
function getOwners() public view returns (address[] memory);
function nonce() public view returns (uint256);
function domainSeparator() public view returns (bytes32);
function encodeTransactionData(address to, uint256 value, bytes calldata data, uint8 operation, uint256 safeTxGas, uint256 baseGas, uint256 gasPrice, address gasToken, address refundReceiver, uint256 _nonce) public view returns (bytes memory);
function getTransactionHash(address to, uint256 value, bytes calldata data, uint8 operation, uint256 safeTxGas, uint256 baseGas, uint256 gasPrice, address gasToken, address refundReceiver, uint256 _nonce) public view returns (bytes32);
function isModuleEnabled(address module) public view returns (bool);
}
Modules§
- abi
- Contains dynamic ABI definitions for this contract.
Structs§
- Execution
Success - Event with signature
ExecutionSuccess(bytes32,uint256)
and selector0x442e715f626346e8c54381002da614f62bee8d27386535b2521ec8540898556e
. - Safe
Singleton Instance - A
SafeSingleton
instance. - domain
Separator Call - Function with signature
domainSeparator()
and selector0xf698da25
. - domain
Separator Return - Container type for the return parameters of the
domainSeparator()
function. - encode
Transaction Data Call - Function with signature
encodeTransactionData(address,uint256,bytes,uint8,uint256,uint256,uint256,address,address,uint256)
and selector0xe86637db
. - encode
Transaction Data Return - Container type for the return parameters of the
encodeTransactionData(address,uint256,bytes,uint8,uint256,uint256,uint256,address,address,uint256)
function. - 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. - getOwners
Call - Function with signature
getOwners()
and selector0xa0e67e2b
. - getOwners
Return - Container type for the return parameters of the
getOwners()
function. - getThreshold
Call - Function with signature
getThreshold()
and selector0xe75235b8
. - getThreshold
Return - Container type for the return parameters of the
getThreshold()
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. - isModule
Enabled Call - Function with signature
isModuleEnabled(address)
and selector0x2d9ad53d
. - isModule
Enabled Return - Container type for the return parameters of the
isModuleEnabled(address)
function. - nonce
Call - Function with signature
nonce()
and selector0xaffed0e0
. - nonce
Return - Container type for the return parameters of the
nonce()
function. - remove
Owner Call - Function with signature
removeOwner(address,address,uint256)
and selector0xf8dc5dd9
. - remove
Owner Return - Container type for the return parameters of the
removeOwner(address,address,uint256)
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.
Enums§
- Safe
Singleton Calls - Container for all the
SafeSingleton
function calls. - Safe
Singleton Events - Container for all the
SafeSingleton
events.
Functions§
- new
- Creates a new wrapper around an on-chain
SafeSingleton
contract instance.