GnosisSafeProxyFactory

World Chain Browse chains

0xa6b71e26c5e0845f74c812102ca7114b6a896ab2

Solidity v0.7.6+commit.7338295f

🤖
Query this contract from your AI
Reference: 0xa6b71e26c5e0845f74c812102ca7114b6a896ab2
Sample prompt: "Tell me the current state of world/0xa6b71e26c5e0845f74c812102ca7114b6a896ab2"
No AI wired up yet? → mcp.smarts.md · Browse chains
World Chain is a docs-only chain on Smarts: source code and ABI are indexed, but live on-chain data (state, recent events, admin profile) is not currently available. AI agents can still query get_contract_info and get_contract_source via MCP.

Overview

Read Functions
2
Write Functions
4
Events
1

Read Functions

proxyCreationCode() pure

Returns the raw proxy creation bytecode used to deploy Gnosis Safe proxies.✨ AI

dev: Allows to retrieve the creation code used for the Proxy deployment. With this it is easily possible to calculate predicted address.

Returns

Name Type Description
bytes Raw creation bytecode for the proxy contract, returned as bytes.✨ AI
proxyRuntimeCode() pure

Returns the proxy contract's runtime bytecode.✨ AI

dev: Allows to retrieve the runtime code of a deployed Proxy. This can be used to check that the expected Proxy was deployed.

Returns

Name Type Description
bytes The proxy contract runtime bytecode as bytes.✨ AI

Write Functions

calculateCreateProxyWithNonceAddress(_singleton: address, initializer: bytes, saltNonce: uint256) nonpayable

Computes the address where a Gnosis Safe proxy will be deployed using CREATE2 with the given initializer and salt.✨ AI

dev: Allows to get the address for a new proxy contact created via `createProxyWithNonce` This method is only meant for address calculation purpose when you use an initializer that would revert, therefore the response is returned with a revert. When calling this method set `from` to the address of the proxy factory.

Parameters

Name Type Description
_singleton address Address of singleton contract.
initializer bytes Payload for message call sent to new proxy contract.
saltNonce uint256 Nonce that will be used to generate the salt to calculate the address of the new proxy contract.

Returns

Name Type Description
proxy address The deterministic address at which the proxy would be deployed.✨ AI
createProxy(singleton: address, data: bytes) nonpayable

Deploys a new proxy that delegates calls to the given singleton and returns the proxy address.✨ AI

dev: Allows to create new proxy contact and execute a message call to the new proxy within one transaction.

Parameters

Name Type Description
singleton address Address of singleton contract.
data bytes Payload for message call sent to new proxy contract.

Returns

Name Type Description
proxy address Address of the newly created proxy contract.✨ AI
createProxyWithCallback(_singleton: address, initializer: bytes, saltNonce: uint256, callback: address) nonpayable

Deploys a new proxy for the given singleton, runs the initializer, and notifies the callback.✨ AI

dev: Allows to create new proxy contact, execute a message call to the new proxy and call a specified callback within one transaction

Parameters

Name Type Description
_singleton address Address of singleton contract.
initializer bytes Payload for message call sent to new proxy contract.
saltNonce uint256 Nonce that will be used to generate the salt to calculate the address of the new proxy contract.
callback address Callback that will be invoced after the new proxy contract has been successfully deployed and initialized.

Returns

Name Type Description
proxy address proxy: Address of the newly created proxy contract.✨ AI
createProxyWithNonce(_singleton: address, initializer: bytes, saltNonce: uint256) nonpayable

Creates a new Gnosis Safe proxy using the given singleton, initializer, and salt to deterministically compute its address.✨ AI

dev: Allows to create new proxy contact and execute a message call to the new proxy within one transaction.

Parameters

Name Type Description
_singleton address Address of singleton contract.
initializer bytes Payload for message call sent to new proxy contract.
saltNonce uint256 Nonce that will be used to generate the salt to calculate the address of the new proxy contract.

Returns

Name Type Description
proxy address proxy: Address of the newly deployed proxy contract.✨ AI

Events

ProxyCreation(proxy: address, singleton: address)
Name Type Indexed Description
proxy address
singleton address