diamond cock dao v2
Verified contract
Proxy
Active on
Ethereum with 350 txns
Unified storage
Map
Table
Raw
Constants and immutables
2
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0xf7f5…820f
-
variable spans 1 additional slot
Balances ($18,483.63)
Native
Value
$3,925.81
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
ETH | Native | 1.249676 | $3,141.46 |
$3,925.81 | |
PEPE | ERC-20 | 593.862033M | $0.000013 |
$7,607.37 | |
ZYN | ERC-20 | 132.358875K | $0.032304 |
$4,275.69 | |
XMW | ERC-20 | 68.194086K | $0.039147 |
$2,669.6 | |
UDS | ERC-20 | 21.92 | $0.235534 |
$5.16 | |
DOGE | ERC-20 | 46.254214K | -- | -- | |
DoS | ERC-721 | 1 | -- | -- | |
DoS | ERC-721 | 1 | -- | -- |
Transactions
ABI
ABI objects
Getter at block 21177195 contractURI() view returns (string)
IMPL() view returns (address)
0xb676cfeeed5c7b739452a502f1eff9ab684a56da
IMPL() view returns (address)
0xb676cfeeed5c7b739452a502f1eff9ab684a56da
VERSION_ID() view returns (uint16)
1
emergencyExecuteDisabled() view returns (bool)
false
feeBps() view returns (uint16)
250
feeRecipient() view returns (address)
0xf7f52dd34bc21eda08c0b804c7c1dbc48375820f
getGovernanceValues() view returns (struct PartyGovernanceGovernanceValues gv)
(604800, 60, 3000, 2410000000000000000)
getProposalEngineOpts() view returns (struct ProposalStorageProposalEngineOpts)
(true, true, true, true)
getProposalExecutionEngine() view returns (address)
0x51fd9005f3b9606d1aa8bd6f7455020b051e1d91
lastProposalId() view returns (uint256)
159
lastRageQuitTimestamp() view returns (uint40)
1712282903
mintedVotingPower() view returns (uint96)
2410000000000000000
name() view returns (string)
diamond cock dao v2
preciousListHash() view returns (bytes32)
0x9c6b2c1b0d0b25a008e6c882cc7b415f309965c72ad2b944ac0931048ca31cd5
rageQuitTimestamp() view returns (uint40)
1099511627775
symbol() view returns (string)
diamond cock dao v2
tokenCount() view returns (uint96)
15
Read-only
balanceOf(address owner) view returns (uint256)
delegationsByVoter(address) view returns (address)
findVotingPowerSnapshotIndex(address voter, uint40 timestamp) view returns (uint256 index)
getApproved(uint256) view returns (address)
getDistributionShareOf(uint256 tokenId) view returns (uint256)
getProposalHash(struct PartyGovernanceProposal proposal) pure returns (bytes32 proposalHash)
getProposalStateInfo(uint256 proposalId) view returns (uint8 status, struct PartyGovernanceProposalStateValues values)
getVotingPowerAt(address voter, uint40 timestamp) view returns (uint96 votingPower)
getVotingPowerAt(address voter, uint40 timestamp, uint256 snapIndex) view returns (uint96 votingPower)
getVotingPowerShareOf(uint256 tokenId) view returns (uint256)
isApprovedForAll(address, address) view returns (bool)
isAuthority(address) view returns (bool)
isHost(address) view returns (bool)
ownerOf(uint256 tokenId) view returns (address owner)
royaltyInfo(uint256, uint256) view returns (address, uint256)
supportsInterface(bytes4 interfaceId) pure returns (bool)
tokenURI(uint256) view returns (string)
votingPowerByTokenId(uint256) view returns (uint256)
State-modifying
Events abdicateAuthority()
abdicateHost(address newPartyHost)
accept(uint256 proposalId, uint256 snapIndex) returns (uint256 totalVotes)
addAuthority(address authority)
addVotingPower(uint256 tokenId, uint256 votingPower)
approve(address spender, uint256 id)
burn(uint256 tokenId)
burn(uint256[] tokenIds)
cancel(uint256 proposalId, struct PartyGovernanceProposal proposal)
delegateCallAndRevert(address impl, bytes callData)
delegateVotingPower(address delegate)
disableEmergencyExecute()
distribute(uint256 amount, uint8 tokenType, address token, uint256 tokenId) returns (struct ITokenDistributorDistributionInfo distInfo)
emergencyExecute(address targetAddress, bytes targetCallData, uint256 amountEth) payable
execute(uint256 proposalId, struct PartyGovernanceProposal proposal, address[] preciousTokens, uint256[] preciousTokenIds, bytes progressData, bytes extraData) payable
increaseTotalVotingPower(uint96 newVotingPower)
initialize(struct PartyPartyInitData initData)
mint(address owner, uint256 votingPower, address delegate) returns (uint256 tokenId)
onERC1155BatchReceived(address, address, uint256[], uint256[], bytes) returns (bytes4)
onERC1155Received(address, address, uint256, uint256, bytes) returns (bytes4)
onERC721Received(address, address, uint256, bytes) returns (bytes4)
propose(struct PartyGovernanceProposal proposal, uint256 latestSnapIndex) returns (uint256 proposalId)
rageQuit(uint256[] tokenIds, address[] withdrawTokens, uint256[] minWithdrawAmounts, address receiver)
safeTransferFrom(address owner, address to, uint256 tokenId)
safeTransferFrom(address owner, address to, uint256 tokenId, bytes data)
setApprovalForAll(address operator, bool approved)
setRageQuit(uint40 newRageQuitTimestamp)
transferFrom(address owner, address to, uint256 tokenId)
veto(uint256 proposalId)
Approval(address indexed owner, address indexed operator, uint256 indexed tokenId)
ApprovalForAll(address indexed owner, address indexed operator, bool approved)
AuthorityAdded(address indexed authority)
AuthorityRemoved(address indexed authority)
Burn(address caller, uint256 tokenId, uint256 votingPower)
DistributionCreated(uint8 tokenType, address token, uint256 tokenId)
EmergencyExecute(address target, bytes data, uint256 amountEth)
EmergencyExecuteDisabled()
HostStatusTransferred(address oldHost, address newHost)
ProposalAccepted(uint256 proposalId, address voter, uint256 weight)
ProposalCancelled(uint256 indexed proposalId)
ProposalExecuted(uint256 indexed proposalId, address executor, bytes nextProgressData)
ProposalPassed(uint256 indexed proposalId)
ProposalVetoed(uint256 indexed proposalId, address host)
Proposed(uint256 proposalId, address proposer, struct PartyGovernanceProposal proposal)
RageQuit(address caller, uint256[] tokenIds, address[] withdrawTokens, address receiver)
RageQuitSet(uint40 oldRageQuitTimestamp, uint40 newRageQuitTimestamp)
Transfer(address indexed owner, address indexed to, uint256 indexed tokenId)
VotingPowerDelegated(address indexed owner, address indexed delegate)
constructor(address impl, bytes initCallData)
fallback()
fallback()
receive()
AlreadyVotedError(address voter)
BadPreciousListError()
BadProposalHashError(bytes32 proposalHash, bytes32 actualHash)
BadProposalStatusError(uint8 status)
BelowMinWithdrawAmountError(uint256 amount, uint256 minAmount)
CannotDisableRageQuitAfterInitializationError()
CannotRageQuitAndAcceptError()
CannotRageQuitError(uint40 rageQuitTimestamp)
DistributionsRequireVoteError()
EthTransferFailed(address receiver, bytes errData)
ExecutionTimeExceededError(uint40 maxExecutableTime, uint40 timestamp)
FixedRageQuitTimestampError(uint40 rageQuitTimestamp)
Int192ToUint96CastOutOfRange(int192 i192)
InvalidBpsError(uint16 bps)
InvalidDelegateError()
InvalidNewHostError()
InvalidTokenOrderError()
MismatchedPreciousListLengths()
NotATokenError(address token)
NothingToBurnError()
OnlyActiveMemberError()
OnlyAuthorityError()
OnlyConstructorError()
OnlyDelegateCallError()
OnlyPartyDaoError(address notDao, address partyDao)
OnlyPartyDaoOrHostError(address notDao, address partyDao)
OnlyPartyHostError()
OnlySelfError()
OnlyWhenEmergencyActionsAllowedError()
OnlyWhenEnabledError()
PartyNotStartedError()
ProposalCannotBeCancelledYetError(uint40 currentTime, uint40 cancelTime)
TokenTransferFailedError(address token, address to, uint256 amount)
Uint256ToInt192CastOutOfRange(uint256 v)
Uint256ToUint96CastOutOfRange(uint256 v)
UnauthorizedToBurnError()