GnosisSafeProxyFactory
World Chain0xa6b71e26c5e0845f74c812102ca7114b6a896ab2
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
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
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 |
proxyRuntimeCode()
pure
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 |
Write Functions
calculateCreateProxyWithNonceAddress(_singleton: address, initializer: bytes, saltNonce: uint256)
nonpayable
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 |
createProxy(singleton: address, data: bytes)
nonpayable
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 |
createProxyWithCallback(_singleton: address, initializer: bytes, saltNonce: uint256, callback: address)
nonpayable
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 |
createProxyWithNonce(_singleton: address, initializer: bytes, saltNonce: uint256)
nonpayable
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 |
Events
ProxyCreation(proxy: address, singleton: address)
| Name | Type | Indexed | Description |
|---|---|---|---|
| proxy | address | ||
| singleton | address |