GnosisSafeProxyFactory
World Chain0xa6b71e26c5e0845f74c812102ca7114b6a896ab2
Solidity v0.7.6+commit.7338295f
🤖
透過你的 AI 查詢此合約
參考:
0xa6b71e26c5e0845f74c812102ca7114b6a896ab2
範例提示詞:
"Tell me the current state of world/0xa6b71e26c5e0845f74c812102ca7114b6a896ab2"
還沒有接入 AI?→
mcp.smarts.md
World Chain 在 Smarts 上是僅文件鏈:原始碼和 ABI 已索引,但目前不提供即時鏈上資料(狀態、最新事件、管理員概覽)。AI 代理仍可透過 MCP 呼叫 get_contract_info 和 get_contract_source。
概覽
讀取函式
2
寫入函式
4
事件
1
讀取函式
proxyCreationCode()
pure
Returns the raw proxy creation bytecode used to deploy Gnosis Safe proxies.✨ AI
開發者: Allows to retrieve the creation code used for the Proxy deployment. With this it is easily possible to calculate predicted address.
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | bytes | Raw creation bytecode for the proxy contract, returned as bytes.✨ AI |
proxyRuntimeCode()
pure
Returns the proxy contract's runtime bytecode.✨ AI
開發者: Allows to retrieve the runtime code of a deployed Proxy. This can be used to check that the expected Proxy was deployed.
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| — | bytes | The proxy contract runtime bytecode as bytes.✨ AI |
寫入函式
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
開發者: 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.
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| _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. |
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| 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
開發者: Allows to create new proxy contact and execute a message call to the new proxy within one transaction.
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| singleton | address | Address of singleton contract. |
| data | bytes | Payload for message call sent to new proxy contract. |
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| 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
開發者: Allows to create new proxy contact, execute a message call to the new proxy and call a specified callback within one transaction
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| _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. |
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| 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
開發者: Allows to create new proxy contact and execute a message call to the new proxy within one transaction.
參數
| 名稱 | 類型 | 描述 |
|---|---|---|
| _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. |
回傳值
| 名稱 | 類型 | 描述 |
|---|---|---|
| proxy | address | proxy: Address of the newly deployed proxy contract.✨ AI |
事件
ProxyCreation(proxy: address, singleton: address)
| 名稱 | 類型 | 已索引 | 描述 |
|---|---|---|---|
| proxy | address | ||
| singleton | address |