NyanVoting
Verified contract
Implementation
Active on
Ethereum with 0 txns
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
16 additional
variables
Balances ($0.00)
No balances found for "NyanVoting"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "NyanVoting"
ABI
ABI objects
Getter at block 21201879
canDistribute() view returns (bool)
false
catnipV2() view returns (address)
0x0000000000000000000000000000000000000000
connectorAddress() view returns (address)
0x0000000000000000000000000000000000000000
currentDistributionAddress() view returns (address)
0x0000000000000000000000000000000000000000
currentDistributionAmount() view returns (uint256)
0
currentDistributionAmountClaimed() view returns (uint256)
0
currentDistributionEndBlock() view returns (uint256)
0
currentVotingEndBlock() view returns (uint256)
0
currentVotingRound() view returns (uint256)
0
currentVotingStartBlock() view returns (uint256)
0
dNyanV2() view returns (address)
0x0000000000000000000000000000000000000000
distributionPeriodBuffer() view returns (uint256)
13000
distributionPeriodLength() view returns (uint256)
6500
fundAddress() view returns (address)
0x0000000000000000000000000000000000000000
getProposals() view returns (address[])
[]
initialized() view returns (bool)
false
isDistributing() view returns (bool)
false
isRewardingCatnip() view returns (bool)
false
isTopBid() view returns (bool)
false
isVotingPeriod() view returns (bool)
false
lastDistributionBlock() view returns (uint256)
0
lastVotePropogationBlock() view returns (uint256)
0
nyanV2() view returns (address)
0x0000000000000000000000000000000000000000
nyanV2LP() view returns (address)
0x0000000000000000000000000000000000000000
nyanV2LPAddress() view returns (address)
0x0000000000000000000000000000000000000000
owner() view returns (address)
0x0000000000000000000000000000000000000000
proxiableUUID() pure returns (bytes32)
0xc5f16f0fcc639fa48a6947836d9850f504798523bf8c9a3a87d5876cf622bcf7
requiredVoteCount() view returns (uint256)
0
topBidAddress() view returns (address)
0x0000000000000000000000000000000000000000
topBidVotes() view returns (uint256)
0
totalV2LPStaked() view returns (uint256)
0
uniswapRouter() view returns (address)
0x0000000000000000000000000000000000000000
voteDiv() view returns (uint256)
0
votePropogationBlocks() view returns (uint256)
0
votingPeriodBlockLength() view returns (uint256)
6500
Read-only
bidChains(string) view returns (string id, string bidId, string functionCode, string functionName)
claims(address) view returns (uint256 nyanLocked)
currentBids(address) view returns (string bidId, address bidder, string functionCode, string functionName, uint256 votes, uint256 votingRound)
determineCatnipCost(uint256 _votes) view returns (uint256)
getBid(address _address) view returns (string, string, address[], uint256[], string[], string[], uint256)
getChain(string id) view returns (string, string, string, address[], uint256[], string[])
getVotes(address voter) view returns (uint256)
getVotesUsed(address _address) view returns (uint256)
isAdmin(address) view returns (bool)
proposals(uint256) view returns (address)
userVoteTracker(address) view returns (uint256 defaultVoteCount, uint256 lastBlockChecked, uint256 votes, uint256 votesUsed, bool votesInitialized)
State-modifying
Events addChainBid(string id, string bidId, string _functionCode, string _functionName, address[] _addresses, uint256[] _integers, string[] _strings, bytes[] _bytesArr)
claimDistribution()
distributeFunds(address _addr, uint256 _amount)
endDistribution()
executeBid()
nyanV2LPStaked(uint256 totalV2LPStaked, address voter)
nyanV2LPUnstaked(uint256 totalV2LPStaked, address voter)
proposeBid(string bidId, string _functionCode, string _functionName, address[] _addresses, uint256[] _integers, string[] _strings, bytes[] _bytesArr)
setAdmin(address admin, bool setting)
setConnector(address _connector)
setFundAddress(address _fund)
setOwner(address _owner)
setRequiredVotes(uint256 amount)
setTopBid(address bidAddress)
setVoteDiv(uint256 _val)
setVotingPeriodBlockLength(uint256 _blocks)
updateCode(address newCode)
voteForBid(address _bidAddr, uint256 _votes)
votingConstructor(address _uniswapRouter, address _nyanV2, address _nyanV2LP, uint256 _requiredVoteCount, uint256 _voteDiv)
BidExecution(address indexed voter, string bidId)
CatnipBurn(uint256 catnipBurned)
ClaimDistribution(address indexed claimer, uint256 amountClaimed)
FundsDistribution(address indexed distributedToken, uint256 amount)
IsRewardingCatnip(bool isRewarding)
NewBidChain(address indexed proposer, string functionName, string bidId, string chainId)
NewBidProposal(address indexed proposer, string bidId, string functionName)
NewBidVote(address indexed voter, uint256 votes)
NewCatnipAddress(address indexed catnipAddress)
NewConnector(address indexed connector)
NewDNyanAddress(address indexed dNyanAddress)
NewFundingAddress(address indexed fundAddress)
NewLPFarmAddress(address indexed nyanLPAddress)
NewNyanAddress(address indexed nyanAddress)
NewVotingPeriodLength(uint256 length, uint256 currentBlock)
SafetyWithdrawalToggled(bool safetyBool)
VotedNyanWithdrawn(address indexed voter, uint256 nyan)
WithdrawDistributionCatnip(address indexed claimer, uint256 amount)
WithdrawDistributionNyan(address indexed claimer, uint256 amount)
logicContractUpdated(address newAddress)
constructor()
receive()
This contract contains no error objects.