Skip to main content

TWStatelessFactory

Methods

deployProxyByImplementation

function deployProxyByImplementation(address _implementation, bytes _data, bytes32 _salt) external nonpayable returns (address deployedProxy)

Deploys a proxy that points to the given implementation.

Parameters

NameTypeDescription
_implementationaddressundefined
_databytesundefined
_saltbytes32undefined

Returns

NameTypeDescription
deployedProxyaddressundefined

isTrustedForwarder

function isTrustedForwarder(address forwarder) external view returns (bool)

Parameters

NameTypeDescription
forwarderaddressundefined

Returns

NameTypeDescription
_0boolundefined

multicall

function multicall(bytes[] data) external nonpayable returns (bytes[] results)

Receives and executes a batch of function calls on this contract.

Parameters

NameTypeDescription
databytes[]undefined

Returns

NameTypeDescription
resultsbytes[]undefined

Events

ProxyDeployed

event ProxyDeployed(address indexed implementation, address proxy, address indexed deployer)

Emitted when a proxy is deployed.

Parameters

NameTypeDescription
implementation indexedaddressundefined
proxyaddressundefined
deployer indexedaddressundefined