TomiDAOLogic

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x7c66c2c9 at 16476533
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 3 additional slots

No balances found for "TomiDAOLogic"

No transactions found for "TomiDAOLogic"


Functions
Getter at block 21207614
USDT(view returns (address)
0xdac17f958d2ee523a2206206994597c13d831ec7
WETH(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
admin(view returns (address)
0x0000000000000000000000000000000000000000
generalProposalCriteria(view returns (bool stateuint256 quorumPercentageuint256 consensusPercentageuint256 votingPeriod)
(state=false, quorumPercentage=0, consensusPercentage=0, votingPeriod=0)
pendingAdmin(view returns (address)
0x0000000000000000000000000000000000000000
pioneer(view returns (address)
0x0000000000000000000000000000000000000000
priceFeed(view returns (address)
0x0000000000000000000000000000000000000000
proposalCount(view returns (uint256)
0
proposalFee(view returns (uint256)
0
proposalMaxOperations(view returns (uint256)
10
proposalMinAmountNFTs(view returns (uint256)
0
timelock(view returns (address)
0x0000000000000000000000000000000000000000
tomi(view returns (address)
0x0000000000000000000000000000000000000000
uniswapRouter(view returns (address)
0x0000000000000000000000000000000000000000
voteMinAmountNFTs(view returns (uint256)
0
votingDelay(view returns (uint256)
0
Read-only
checkVotedNFTs(uint256 proposalIduint256[] nftIdsview returns (bool)
deepProposalCriteria(stringaddressview returns (bool stateuint256 quorumPercentageuint256 consensusPercentageuint256 votingPeriod)
getActions(uint256 proposalIdview returns (address[] targetsuint256[] valuesstring[] signaturesbytes[] calldatas)
getLatestPrice(address tokenbytes argumentview returns (string)
proposalExecutionState(uint256view returns (uint8)
proposalNFTs(uint256view returns (bool)
proposals(uint256 proposalIdview returns (struct TomiDAOStorageV1Proposal)
shallowProposalCriteria(stringview returns (bool stateuint256 quorumPercentageuint256 consensusPercentageuint256 votingPeriod)
state(uint256 proposalIdview returns (uint8)
voteNFTs(uint256uint256view returns (bool)
State-modifying
_setDeepProposalCriteria(string signatureaddress targetstruct TomiDAOStorageV1Criteria criteria
_setGeneralProposalCriteria(struct TomiDAOStorageV1Criteria criteria
_setProposalFee(uint256 newProposalFee
_setProposalMinAmountNFTs(uint256 newProposalMinAmountNFTs
_setQuorumPercentage(uint8 criteriaTypestring signatureaddress targetuint256 newQuorumPercentage
_setShallowProposalCriteria(string signaturestruct TomiDAOStorageV1Criteria criteria
_setVoteMinAmountNFTs(uint256 newVoteMinAmountNFTs
cancel(uint256 proposalId
castVote(uint256 proposalIduint8 supportuint256[] nftIds
clearPendingAdmin(
execute(uint256 proposalId
initialize(address timelock_
propose(uint256[] nftIdsaddress[] targetsuint256[] valuesstring[] signaturesbytes[] calldatasstring titlestring descriptionreturns (uint256)
setAdmin(address admin_
Events
DeepProposalCriteriaSet(string signatureaddress targetbool criteriaState
GeneralProposalCriteriaSet(bool criteriaState
Initialized(uint8 version
NewAdmin(address oldAdminaddress newAdmin
NewPendingAdmin(address oldPendingAdminaddress newPendingAdmin
ProposalCanceled(uint256 proposalId
ProposalCreated(uint256 proposalIdaddress proposeraddress[] targetsuint256[] valuesstring[] signaturesbytes[] calldatasuint256 startTimeuint256 endTimestring titlestring descriptionuint256 quorumVotesuint256 consensusVotes
ProposalExecuted(uint256 proposalId
ProposalFee(address proposeruint256 amount
ProposalFeeSet(uint256 oldProposalFeeuint256 newProposalFee
ProposalMinAmountNFTs(uint256 oldProposalMinAmountNFTsuint256 newProposalMinAmountNFTs
QuorumPercentageSet(uint8 criteriaTypestring signatureaddress targetuint256 oldQuorumPercentageuint256 newQuorumPercentage
ShallowProposalCriteriaSet(string signaturebool criteriaState
VoteCast(address indexed voteruint256 proposalIduint8 supportuint256 votesuint256 proposalState
VoteMinAmountNFTsSet(uint256 oldVoteMinAmountNFTsuint256 newVoteMinAmountNFTs
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors
AdminOnly(
PendingAdminOnly(