leonardo
Unverified contract
Proxy
Active on
Base with 2 txns
Unified storage
Map
Table
Raw
Constants and immutables
0
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0xf498…f6aa
Balances ($0.00)
No balances found for "leonardo"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 5346598 | a year ago | | | 0 | 0.000000028341015096 | |
| 5346589 | a year ago | | | 0 | 1.2030253e-7 |
ABI
ABI objects
Getter at block 22940628 contractURI() view returns (string)
IMPL() view returns (address)
0x65ebb1f88aa377ee56e8114234d5721eb4c5bafd
VERSION_ID() view returns (uint16)
1
emergencyExecuteDisabled() view returns (bool)
false
feeBps() view returns (uint16)
250
feeRecipient() view returns (address)
0xf498fd75ee8d35294952343f1a77cae5ea5af6aa
getGovernanceValues() view returns (struct PartyGovernanceGovernanceValues gv)
(604800, 28800, 4000, 3003000000000000)
getProposalEngineOpts() view returns (struct ProposalStorageProposalEngineOpts)
(true, true, true, true)
getProposalExecutionEngine() view returns (address)
0xaec4d40045daf91bc3049ea9136c7df04bd8a6af
lastProposalId() view returns (uint256)
1
lastRageQuitTimestamp() view returns (uint40)
0
mintedVotingPower() view returns (uint96)
3003000000000000
name() view returns (string)
leonardo
preciousListHash() view returns (bytes32)
0x9c6b2c1b0d0b25a008e6c882cc7b415f309965c72ad2b944ac0931048ca31cd5
rageQuitTimestamp() view returns (uint40)
0
symbol() view returns (string)
leonardo
tokenCount() view returns (uint96)
1
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)
BatchMetadataUpdate(uint256 _fromTokenId, uint256 _toTokenId)
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)
MetadataUpdate(uint256 _tokenId)
PartyCardIntrinsicVotingPowerSet(uint256 indexed tokenId, uint256 intrinsicVotingPower)
PartyDelegateUpdated(address indexed owner, address indexed delegate)
PartyVotingSnapshotCreated(address indexed voter, uint40 timestamp, uint96 delegatedVotingPower, uint96 intrinsicVotingPower, bool isDelegated)
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)
This contract contains no constructor objects.
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()
OnlyTokenDistributorOrSelfError()
OnlyWhenEmergencyActionsAllowedError()
OnlyWhenEnabledError()
PartyNotStartedError()
ProposalCannotBeCancelledYetError(uint40 currentTime, uint40 cancelTime)
TokenTransferFailedError(address token, address to, uint256 amount)
Uint256ToInt192CastOutOfRange(uint256 v)
Uint256ToUint96CastOutOfRange(uint256 v)
UnauthorizedToBurnError()