MultiSigWalletWithDailyLimit

Ethereum 瀏覽鏈

0x972eed35781f09987a5c40f761f6a24623c570de

Solidity v0.4.19+commit.c4cbbb05

🤖
透過你的 AI 查詢此合約
參考: 0x972eed35781f09987a5c40f761f6a24623c570de
範例提示詞: "Tell me the current state of eth/0x972eed35781f09987a5c40f761f6a24623c570de"
還沒有接入 AI?→ mcp.smarts.md · 瀏覽鏈

管理與風險

誰能修改規則?

No admin risk controls detected from the verified ABI.

概覽

讀取函式
17
寫入函式
9
事件
10

讀取函式

Block #25,288,210 · just now
owners(uint256) view

Return the owner address stored at the specified index.✨ AI

參數

名稱 類型 描述
uint256

回傳值

名稱 類型 描述
address Address of the owner at the given index.✨ AI
isOwner(address) view

Check whether an address is one of the wallet owners.✨ AI

參數

名稱 類型 描述
address

回傳值

名稱 類型 描述
bool True if the given address is an owner of the wallet, otherwise false.✨ AI
confirmations(uint256, address) view

Return true if the specified owner has confirmed the given transaction.✨ AI

參數

名稱 類型 描述
uint256
address

回傳值

名稱 類型 描述
bool Boolean indicating whether the owner has confirmed the transaction (true) or not (false).✨ AI
calcMaxWithdraw() view → 0

Return the current maximum amount withdrawable now under the wallet's daily limit.✨ AI

開發者: Returns maximum withdraw amount.

回傳值

名稱 類型 描述
uint256 Returns amount.
getTransactionCount(pending: bool, executed: bool) view

Return the number of transactions that match the provided pending and executed filters.✨ AI

開發者: Returns total number of transactions after filers are applied.

參數

名稱 類型 描述
pending bool Include pending transactions.
executed bool Include executed transactions.

回傳值

名稱 類型 描述
count uint256 Total number of transactions after filters are applied.
dailyLimit() view → 0

Return the configured daily spending limit for the wallet.✨ AI

回傳值

名稱 類型 描述
uint256 Configured daily spending limit in wei; owners may spend up to this amount per day without confirmations.✨ AI
lastDay() view → 0

Returns the Unix timestamp marking the start of the current daily spending period.✨ AI

回傳值

名稱 類型 描述
uint256 Unix timestamp (seconds) representing the start of the current daily limit period.✨ AI
isConfirmed(transactionId: uint256) view

Check whether the specified transaction has reached the required number of confirmations.✨ AI

開發者: Returns the confirmation status of a transaction.

參數

名稱 類型 描述
transactionId uint256 Transaction ID.

回傳值

名稱 類型 描述
bool Confirmation status.
getConfirmationCount(transactionId: uint256) view

Get the number of confirmations for the specified transaction.✨ AI

開發者: Returns number of confirmations of a transaction.

參數

名稱 類型 描述
transactionId uint256 Transaction ID.

回傳值

名稱 類型 描述
count uint256 Number of confirmations.
transactions(uint256) view

Returns the stored transaction details for the given index.✨ AI

參數

名稱 類型 描述
uint256

回傳值

名稱 類型 描述
destination address destination: address to which the transaction will be sent.✨ AI
value uint256 value: amount of wei to send with the transaction.✨ AI
data bytes data: ABI-encoded payload for the transaction call.✨ AI
executed bool executed: true if the transaction was already executed, false otherwise.✨ AI
getOwners() view → [0x512fce9b07ce64590849115ee6b32fd40ec0f5f3, 0x157b1e5ba2302308461f64a8606f2d5970df129e, 0xcbf19d8f01146e3ec89aed604485fabefa66b268, 0x65ce9dc44591d3b35c6c47b0a42baeb7191a9d11, 0xa9e777d56c0ad861f6a03967e080e767ad8d39b6, 0xd00e0079b8cab524f3fa20ea879a7736e512a5fc, 0x0940c5bcaae6e9fbd22e869c2a3cd7a21604ed8d, 0xd3a12abee178795b9ef94791168826933d9f08d4, 0xa2f5e57800da954be440fcafcb02bf2b3fb5adb7, 0x7e25156df6cfc563b5811ef7214d092e660483c8]

Return the list of owner addresses for the multisig wallet.✨ AI

開發者: Returns list of owners.

回傳值

名稱 類型 描述
address[] List of owner addresses.
getTransactionIds(from: uint256, to: uint256, pending: bool, executed: bool) view

Returns transaction IDs filtered by index range and status.✨ AI

開發者: Returns list of transaction IDs in defined range.

參數

名稱 類型 描述
from uint256 Index start position of transaction array.
to uint256 Index end position of transaction array.
pending bool Include pending transactions.
executed bool Include executed transactions.

回傳值

名稱 類型 描述
_transactionIds uint256[] Returns array of transaction IDs.
getConfirmations(transactionId: uint256) view

Return the list of owners who confirmed the specified transaction.✨ AI

開發者: Returns array with owner addresses, which confirmed transaction.

參數

名稱 類型 描述
transactionId uint256 Transaction ID.

回傳值

名稱 類型 描述
_confirmations address[] Returns array of owner addresses.
transactionCount() view → 4

Return the total number of transactions submitted to the wallet.✨ AI

回傳值

名稱 類型 描述
uint256 Current total number of transactions recorded by the wallet as a uint256.✨ AI
MAX_OWNER_COUNT() view → 50

Returns the maximum number of owners the multisig wallet allows.✨ AI

回傳值

名稱 類型 描述
uint256 Maximum allowed number of owners as a uint256 value.✨ AI
required() view → 6

Returns the number of owner confirmations required to execute a transaction.✨ AI

回傳值

名稱 類型 描述
uint256 The number of confirmations required to authorize and execute a transaction (uint256).✨ AI
spentToday() view → 0

Returns the total amount already spent from today's daily limit.✨ AI

回傳值

名稱 類型 描述
uint256 Total amount spent so far today toward the daily limit, denominated in wei (uint256).✨ AI

寫入函式

removeOwner(owner: address) nonpayable

Remove an address from the wallet owners, revoking its owner privileges.✨ AI

開發者: Allows to remove an owner. Transaction has to be sent by wallet.

參數

名稱 類型 描述
owner address Address of owner.
revokeConfirmation(transactionId: uint256) nonpayable

Revoke your confirmation for a pending transaction identified by transactionId.✨ AI

開發者: Allows an owner to revoke a confirmation for a transaction.

參數

名稱 類型 描述
transactionId uint256 Transaction ID.
addOwner(owner: address) nonpayable

Add a new owner to the multisig wallet, enabling them to confirm and execute transactions.✨ AI

開發者: Allows to add a new owner. Transaction has to be sent by wallet.

參數

名稱 類型 描述
owner address Address of new owner.
changeRequirement(_required: uint256) nonpayable

Change the number of required confirmations for wallet transactions.✨ AI

開發者: Allows to change the number of required confirmations. Transaction has to be sent by wallet.

參數

名稱 類型 描述
_required uint256 Number of required confirmations.
confirmTransaction(transactionId: uint256) nonpayable

Confirm a pending transaction by its id to record this owner's approval for execution.✨ AI

開發者: Allows an owner to confirm a transaction.

參數

名稱 類型 描述
transactionId uint256 Transaction ID.
submitTransaction(destination: address, value: uint256, data: bytes) nonpayable

Submit a transaction to the multisig wallet for owner confirmation and return the new transactionId.✨ AI

開發者: Allows an owner to submit and confirm a transaction.

參數

名稱 類型 描述
destination address Transaction target address.
value uint256 Transaction ether value.
data bytes Transaction data payload.

回傳值

名稱 類型 描述
transactionId uint256 Returns transaction ID.
changeDailyLimit(_dailyLimit: uint256) nonpayable

Sets the wallet's daily spending limit to the specified amount in wei.✨ AI

開發者: Allows to change the daily limit. Transaction has to be sent by wallet.

參數

名稱 類型 描述
_dailyLimit uint256 Amount in wei.
replaceOwner(owner: address, newOwner: address) nonpayable

Replace an existing owner with a new owner address.✨ AI

開發者: Allows to replace an owner with a new owner. Transaction has to be sent by wallet.

參數

名稱 類型 描述
owner address Address of owner to be replaced.
newOwner address Address of new owner.
executeTransaction(transactionId: uint256) nonpayable

Execute a confirmed transaction by id if it meets required confirmations and daily limits.✨ AI

開發者: Allows anyone to execute a confirmed transaction.

參數

名稱 類型 描述
transactionId uint256 Transaction ID.

事件

DailyLimitChange(dailyLimit: uint256)
名稱 類型 已索引 描述
dailyLimit uint256
Confirmation(sender: address, transactionId: uint256)
名稱 類型 已索引 描述
sender address
transactionId uint256
Revocation(sender: address, transactionId: uint256)
名稱 類型 已索引 描述
sender address
transactionId uint256
Submission(transactionId: uint256)
名稱 類型 已索引 描述
transactionId uint256
Execution(transactionId: uint256)
名稱 類型 已索引 描述
transactionId uint256
ExecutionFailure(transactionId: uint256)
名稱 類型 已索引 描述
transactionId uint256
Deposit(sender: address, value: uint256)
名稱 類型 已索引 描述
sender address
value uint256
OwnerAddition(owner: address)
名稱 類型 已索引 描述
owner address
OwnerRemoval(owner: address)
名稱 類型 已索引 描述
owner address
RequirementChange(required: uint256)
名稱 類型 已索引 描述
required uint256