Expand description
Module containing a contract’s types and functions.
contract SafeContract {
function nonce() view returns (uint256);
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 execTransaction(address to, uint256 value, bytes calldata data, uint8 operation, uint256 safeTxGas, uint256 baseGas, uint256 gasPrice, address gasToken, address refundReceiver, bytes memory signatures) public returns (bool);
}
Modules§
- abi
- Contains dynamic ABI definitions for this contract.
Structs§
- Safe
Contract Instance - A
SafeContract
instance. - 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.
Enums§
- Safe
Contract Calls - Container for all the
SafeContract
function calls.
Functions§
- new
- Creates a new wrapper around an on-chain
SafeContract
contract instance.