0x3b0aaf6e6fcd4a7ceef8c92c32dfea9e64dc1862
Proxy 实现合约: 0xd9db270c1b5e3bd161e8c8503c55ceabee709552
Solidity v0.7.6+commit.7338295f
管理与风险
谁能修改规则?
Detected upgradeable controls from the verified ABI.
当前控制
- Implementation
- 0xd9db270c1b5e3bd161e8c8503c55ceabee709552 ↗ Etherscan → smarts proxy
概览
读取函数
Block #25,494,009 · just nowReturns the Gnosis Safe contract version string.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | string | The version identifier string for this Gnosis Safe contract (e.g., "1.3.0").✨ AI |
Return the stored approval value for a given owner and operation hash.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| — | address | |
| — | bytes32 |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | uint256 | Uint256 value stored for this owner and hash, representing approval state or related metadata.✨ AI |
Validate that the provided signatures satisfy the required number of owner confirmations for the given data.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| dataHash | bytes32 | Hash of the data (could be either a message hash or transaction hash) |
| data | bytes | That should be signed (this is passed to an external validator contract) |
| signatures | bytes | Signature data that should be verified. Can be ECDSA signature, contract signature (EIP-1271) or approved hash. |
| requiredSignatures | uint256 | Amount of required valid signatures. |
Validate that the supplied signatures authorize the provided data hash and payload against the Safe's owners and threshold.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| dataHash | bytes32 | Hash of the data (could be either a message hash or transaction hash) |
| data | bytes | That should be signed (this is passed to an external validator contract) |
| signatures | bytes | Signature data that should be verified. Can be ECDSA signature, contract signature (EIP-1271) or approved hash. |
Returns the EIP-712 domain separator used to sign and verify typed data for the Safe.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | bytes32 | The EIP-712 domain separator as a bytes32 value, used for constructing and verifying typed data signatures.✨ AI |
Encode a Safe transaction into ABI-encoded bytes for signing, hashing, or transmission.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| to | address | Destination address. |
| value | uint256 | Ether value. |
| data | bytes | Data payload. |
| operation | uint8 | Operation type. |
| safeTxGas | uint256 | Gas that should be used for the safe transaction. |
| baseGas | uint256 | Gas costs for that are independent of the transaction execution(e.g. base transaction fee, signature check, payment of the refund) |
| gasPrice | uint256 | Maximum gas price that should be used for this transaction. |
| gasToken | address | Token address (or 0 if ETH) that is used for the payment. |
| refundReceiver | address | Address of receiver of gas payment (or 0 if tx.origin). |
| _nonce | uint256 | Transaction nonce. |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | bytes | Transaction hash bytes. |
Returns the chain ID of the current blockchain network.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | uint256 | The current chain ID as a uint256.✨ AI |
Return a page of enabled module addresses starting from the given address.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| start | address | Start of the page. |
| pageSize | uint256 | Maximum number of modules that should be returned. |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| array | address[] | array Array of modules. |
| next | address | next Start of the next page. |
Returns the list of owner addresses configured for this Safe.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | address[] | Array of Safe owners. |
Read raw storage bytes starting at the given byte offset for the specified length.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| offset | uint256 | - the offset in the current contract's storage in words to start reading from |
| length | uint256 | - the number of words (32 bytes) of data to read |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | bytes | the bytes that were read. |
Return the number of owner confirmations required to execute a transaction from this Safe.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | uint256 | The current threshold (uint256) specifying how many owner approvals are required to execute transactions.✨ AI |
Compute the transaction hash the Safe uses for signatures and execution.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| to | address | Destination address. |
| value | uint256 | Ether value. |
| data | bytes | Data payload. |
| operation | uint8 | Operation type. |
| safeTxGas | uint256 | Fas that should be used for the safe transaction. |
| baseGas | uint256 | Gas costs for data used to trigger the safe transaction. |
| gasPrice | uint256 | Maximum gas price that should be used for this transaction. |
| gasToken | address | Token address (or 0 if ETH) that is used for the payment. |
| refundReceiver | address | Address of receiver of gas payment (or 0 if tx.origin). |
| _nonce | uint256 | Transaction nonce. |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | bytes32 | Transaction hash. |
Check if a module address is enabled for this Safe.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| module | address | Address of the module to check.✨ AI |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | bool | True if the module is enabled |
Checks whether the given address is an owner of the Gnosis Safe.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| owner | address | Address to check for owner status.✨ AI |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | bool | True if the address is an owner; otherwise false.✨ AI |
Return the current transaction nonce of the wallet.✨ AI
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | uint256 | Current uint256 nonce used to number and prevent replay of Safe transactions.✨ AI |
Return the uint256 value stored for the given message hash.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| — | bytes32 |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | uint256 | The uint256 value associated with the message hash, typically used to track approvals or signatures.✨ AI |
写入函数
Adds the owner `owner` to the Safe and updates the threshold to `_threshold`.
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| owner | address | New owner address. |
| _threshold | uint256 | New threshold. |
Mark a transaction hash as approved by the calling owner.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| hashToApprove | bytes32 | The hash that should be marked as approved for signatures that are verified by this contract. |
Changes the threshold of the Safe to `_threshold`.
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| _threshold | uint256 | New threshold. |
Disables the module `module` for the Safe.
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| prevModule | address | Module that pointed to the module to be removed in the linked list |
| module | address | Module to be removed. |
Enables the module `module` for the Safe.
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| module | address | Module to be whitelisted. |
Execute a Safe transaction, sending optional ETH/data and handling gas reimbursement.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| to | address | Destination address of Safe transaction. |
| value | uint256 | Ether value of Safe transaction. |
| data | bytes | Data payload of Safe transaction. |
| operation | uint8 | Operation type of Safe transaction. |
| safeTxGas | uint256 | Gas that should be used for the Safe transaction. |
| baseGas | uint256 | Gas costs that are independent of the transaction execution(e.g. base transaction fee, signature check, payment of the refund) |
| gasPrice | uint256 | Gas price that should be used for the payment calculation. |
| gasToken | address | Token address (or 0 if ETH) that is used for the payment. |
| refundReceiver | address | Address of receiver of gas payment (or 0 if tx.origin). |
| signatures | bytes | Packed signature data ({bytes32 r}{bytes32 s}{uint8 v}) |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| success | bool | success: true if the internal call succeeded; false otherwise.✨ AI |
Execute a transaction from a registered module using the Safe's funds and authority.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| to | address | Destination address of module transaction. |
| value | uint256 | Ether value of module transaction. |
| data | bytes | Data payload of module transaction. |
| operation | uint8 | Operation type of module transaction. |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| success | bool | success: true if the transaction was executed successfully by the Safe, false otherwise.✨ AI |
Execute a transaction originating from a module, forwarding value and calldata using the chosen operation.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| to | address | Destination address of module transaction. |
| value | uint256 | Ether value of module transaction. |
| data | bytes | Data payload of module transaction. |
| operation | uint8 | Operation type of module transaction. |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| success | bool | success boolean indicating whether the transaction executed successfully.✨ AI |
| returnData | bytes | returnData bytes returned by the target call; may be empty if no data was returned.✨ AI |
Removes the owner `owner` from the Safe and updates the threshold to `_threshold`.
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| prevOwner | address | Owner that pointed to the owner to be removed in the linked list |
| owner | address | Owner address to be removed. |
| _threshold | uint256 | New threshold. |
Deprecated in favor of common/StorageAccessible.sol and will be removed in next version.
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| to | address | Destination address of Safe transaction. |
| value | uint256 | Ether value of Safe transaction. |
| data | bytes | Data payload of Safe transaction. |
| operation | uint8 | Operation type of Safe transaction. |
返回值
| 名称 | 类型 | 描述 |
|---|---|---|
| — | uint256 | Estimate without refunds and overhead fees (base transaction and payload data gas costs). |
Set the fallback handler contract that receives calls for unknown function selectors.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| handler | address | contract to handle fallbacks calls. |
Set the guard contract that will validate or block Safe transactions.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| guard | address | The address of the guard to be used or the 0 address to disable the guard |
Initialize the Safe with owners, threshold, optional setup call, and payment settings.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| _owners | address[] | List of Safe owners. |
| _threshold | uint256 | Number of required confirmations for a Safe transaction. |
| to | address | Contract address for optional delegate call. |
| data | bytes | Data payload for optional delegate call. |
| fallbackHandler | address | Handler for fallback calls to this contract |
| paymentToken | address | Token that should be used for the payment (0 is ETH) |
| payment | uint256 | Value that should be paid |
| paymentReceiver | address | Adddress that should receive the payment (or 0 if tx.origin) |
Simulates a call to targetContract using calldataPayload and intentionally reverts to expose the call result without changing state.✨ AI
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| targetContract | address | Address of the contract containing the code to execute. |
| calldataPayload | bytes | Calldata that should be sent to the target contract (encoded method name and arguments). |
Replaces the owner `oldOwner` in the Safe with `newOwner`.
参数
| 名称 | 类型 | 描述 |
|---|---|---|
| prevOwner | address | Owner that pointed to the owner to be replaced in the linked list |
| oldOwner | address | Owner address to be replaced. |
| newOwner | address | New owner address. |
事件
| 名称 | 类型 | 已索引 | 描述 |
|---|---|---|---|
| owner | address |
| 名称 | 类型 | 已索引 | 描述 |
|---|---|---|---|
| approvedHash | bytes32 | ✓ | |
| owner | address | ✓ |
| 名称 | 类型 | 已索引 | 描述 |
|---|---|---|---|
| handler | address |
| 名称 | 类型 | 已索引 | 描述 |
|---|---|---|---|
| guard | address |
| 名称 | 类型 | 已索引 | 描述 |
|---|---|---|---|
| threshold | uint256 |
| 名称 | 类型 | 已索引 | 描述 |
|---|---|---|---|
| module | address |
| 名称 | 类型 | 已索引 | 描述 |
|---|---|---|---|
| module | address |
| 名称 | 类型 | 已索引 | 描述 |
|---|---|---|---|
| txHash | bytes32 | ||
| payment | uint256 |
| 名称 | 类型 | 已索引 | 描述 |
|---|---|---|---|
| module | address | ✓ |
| 名称 | 类型 | 已索引 | 描述 |
|---|---|---|---|
| module | address | ✓ |
| 名称 | 类型 | 已索引 | 描述 |
|---|---|---|---|
| txHash | bytes32 | ||
| payment | uint256 |
| 名称 | 类型 | 已索引 | 描述 |
|---|---|---|---|
| owner | address |
| 名称 | 类型 | 已索引 | 描述 |
|---|---|---|---|
| sender | address | ✓ | |
| value | uint256 |
| 名称 | 类型 | 已索引 | 描述 |
|---|---|---|---|
| initiator | address | ✓ | |
| owners | address[] | ||
| threshold | uint256 | ||
| initializer | address | ||
| fallbackHandler | address |
| 名称 | 类型 | 已索引 | 描述 |
|---|---|---|---|
| msgHash | bytes32 | ✓ |