MultichainVoteCollection
Verified contract
Implementation
Active on
Base with 0 txns
Storage
Map
Table
Raw
Constants and immutables
4
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 1 additional slot
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
Balances ($0.00)
No balances found for "MultichainVoteCollection"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "MultichainVoteCollection"
ABI
ABI objects
Getter at block 23072169
bridgeCostAll() view returns (uint256)
0
gasLimit() view returns (uint96)
0
getAllTargetChains() view returns (uint16[])
[]
getAllTargetChainsLength() view returns (uint256)
0
owner() view returns (address)
0x0000000000000000000000000000000000000000
pendingOwner() view returns (address)
0x0000000000000000000000000000000000000000
stkWell() view returns (address)
0x0000000000000000000000000000000000000000
wormholeRelayer() view returns (address)
0x0000000000000000000000000000000000000000
xWell() view returns (address)
0x0000000000000000000000000000000000000000
Read-only
bridgeCost(uint16 dstWormholeChainId) view returns (uint256 gasCost)
fromWormholeFormat(bytes32 whFormatAddress) pure returns (address)
getReceipt(uint256 proposalId, address voter) view returns (bool hasVoted, uint8 voteValue, uint256 votes)
getVotes(address account, uint256 timestamp) view returns (uint256)
isTrustedSender(uint16 chainId, address addr) view returns (bool)
isTrustedSender(uint16 chainId, bytes32 addr) view returns (bool)
processedNonces(bytes32 nonce) view returns (bool processed)
proposalInformation(uint256 proposalId) view returns (uint256 voteSnapshotTimestamp, uint256 votingStartTime, uint256 votingEndTime, uint256 crossChainVoteCollectionEndTimestamp, uint256 totalVotes, uint256 forVotes, uint256 againstVotes, uint256 abstainVotes)
proposalVotes(uint256 proposalId) view returns (uint256 totalVotes, uint256 forVotes, uint256 againstVotes, uint256 abstainVotes)
proposals(uint256 proposalId) view returns (uint256 votingStartTime, uint256 voteSnapshotTimestamp, uint256 votingEndTime, uint256 crossChainVoteCollectionEndTimestamp, struct IMultichainVoteCollectionMultichainVotes votes)
targetAddress(uint16 chainId) view returns (address target)
State-modifying
Events acceptOwnership()
castVote(uint256 proposalId, uint8 voteValue)
emitVotes(uint256 proposalId) payable
initialize(address _xWell, address _stkWell, address _moonbeamGovernor, address _wormholeRelayer, uint16 _moonbeamWormholeChainId, address _owner)
receiveWormholeMessages(bytes payload, bytes[], bytes32 senderAddress, uint16 sourceChain, bytes32 nonce) payable
renounceOwnership()
setGasLimit(uint96 newGasLimit)
setNewStakedWell(address newStakedWell)
transferOwnership(address newOwner)
BridgeOutFailed(uint16 dstChainId, bytes payload, uint256 refundAmount)
BridgeOutSuccess(uint16 dstWormholeChainId, uint256 cost, address dst, bytes payload)
GasLimitUpdated(uint96 oldGasLimit, uint96 newGasLimit)
Initialized(uint8 version)
NewStakedWellSet(address newStakedWell)
OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
ProposalCreated(uint256 proposalId, uint256 votingStartTime, uint256 votingEndTime, uint256 votingCollectionEndTime)
TargetAddressUpdated(uint16 indexed dstChainId, address indexed target)
VoteCast(address voter, uint256 proposalId, uint8 voteValue, uint256 votes)
VotesEmitted(uint256 proposalId, uint256 forVotes, uint256 againstVotes, uint256 abstainVotes)
constructor()
This contract contains no fallback and receive objects.
This contract contains no error objects.