MultiSigWalletWithDailyLimit

Ethereum

0x972eed35781f09987a5c40f761f6a24623c570de

Solidity v0.4.19+commit.c4cbbb05

🤖
Query this contract from your AI
Reference: 0x972eed35781f09987a5c40f761f6a24623c570de
Sample prompt: “Tell me the current state of eth/0x972eed35781f09987a5c40f761f6a24623c570de”
No AI wired up yet? → mcp.smarts.md

Admin & Risk

Who can change the rules?

No admin risk controls detected from the verified ABI.

Overview

Read Functions
17
Write Functions
9
Events
10

Read Functions

Block #25,170,237 · just now
owners(uint256) view

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

Parameters

Name Type Description
uint256

Returns

Name Type Description
address Address of the owner at the given index.✨ AI
isOwner(address) view

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

Parameters

Name Type Description
address

Returns

Name Type Description
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

Parameters

Name Type Description
uint256
address

Returns

Name Type Description
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

dev: Returns maximum withdraw amount.

Returns

Name Type Description
uint256 Returns amount.
getTransactionCount(pending: bool, executed: bool) view

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

dev: Returns total number of transactions after filers are applied.

Parameters

Name Type Description
pending bool Include pending transactions.
executed bool Include executed transactions.

Returns

Name Type Description
count uint256 Total number of transactions after filters are applied.
dailyLimit() view → 0

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

Returns

Name Type Description
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

Returns

Name Type Description
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

dev: Returns the confirmation status of a transaction.

Parameters

Name Type Description
transactionId uint256 Transaction ID.

Returns

Name Type Description
bool Confirmation status.
getConfirmationCount(transactionId: uint256) view

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

dev: Returns number of confirmations of a transaction.

Parameters

Name Type Description
transactionId uint256 Transaction ID.

Returns

Name Type Description
count uint256 Number of confirmations.
transactions(uint256) view

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

Parameters

Name Type Description
uint256

Returns

Name Type Description
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

dev: Returns list of owners.

Returns

Name Type Description
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

dev: Returns list of transaction IDs in defined range.

Parameters

Name Type Description
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.

Returns

Name Type Description
_transactionIds uint256[] Returns array of transaction IDs.
getConfirmations(transactionId: uint256) view

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

dev: Returns array with owner addresses, which confirmed transaction.

Parameters

Name Type Description
transactionId uint256 Transaction ID.

Returns

Name Type Description
_confirmations address[] Returns array of owner addresses.
transactionCount() view → 4

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

Returns

Name Type Description
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

Returns

Name Type Description
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

Returns

Name Type Description
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

Returns

Name Type Description
uint256 Total amount spent so far today toward the daily limit, denominated in wei (uint256).✨ AI

Write Functions

removeOwner(owner: address) nonpayable

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

dev: Allows to remove an owner. Transaction has to be sent by wallet.

Parameters

Name Type Description
owner address Address of owner.
revokeConfirmation(transactionId: uint256) nonpayable

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

dev: Allows an owner to revoke a confirmation for a transaction.

Parameters

Name Type Description
transactionId uint256 Transaction ID.
addOwner(owner: address) nonpayable

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

dev: Allows to add a new owner. Transaction has to be sent by wallet.

Parameters

Name Type Description
owner address Address of new owner.
changeRequirement(_required: uint256) nonpayable

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

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

Parameters

Name Type Description
_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

dev: Allows an owner to confirm a transaction.

Parameters

Name Type Description
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

dev: Allows an owner to submit and confirm a transaction.

Parameters

Name Type Description
destination address Transaction target address.
value uint256 Transaction ether value.
data bytes Transaction data payload.

Returns

Name Type Description
transactionId uint256 Returns transaction ID.
changeDailyLimit(_dailyLimit: uint256) nonpayable

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

dev: Allows to change the daily limit. Transaction has to be sent by wallet.

Parameters

Name Type Description
_dailyLimit uint256 Amount in wei.
replaceOwner(owner: address, newOwner: address) nonpayable

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

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

Parameters

Name Type Description
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

dev: Allows anyone to execute a confirmed transaction.

Parameters

Name Type Description
transactionId uint256 Transaction ID.

Events

DailyLimitChange(dailyLimit: uint256)
Name Type Indexed Description
dailyLimit uint256
Confirmation(sender: address, transactionId: uint256)
Name Type Indexed Description
sender address
transactionId uint256
Revocation(sender: address, transactionId: uint256)
Name Type Indexed Description
sender address
transactionId uint256
Submission(transactionId: uint256)
Name Type Indexed Description
transactionId uint256
Execution(transactionId: uint256)
Name Type Indexed Description
transactionId uint256
ExecutionFailure(transactionId: uint256)
Name Type Indexed Description
transactionId uint256
Deposit(sender: address, value: uint256)
Name Type Indexed Description
sender address
value uint256
OwnerAddition(owner: address)
Name Type Indexed Description
owner address
OwnerRemoval(owner: address)
Name Type Indexed Description
owner address
RequirementChange(required: uint256)
Name Type Indexed Description
required uint256