HyperCycleShareManagerV2

Verified contract

Active on Ethereum with 3,421 txns
Deployed by via 0xd1456ef3 at 20736728
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 3 additional slots
)
ERC-1555
--
)
ERC-1555
--
)
ERC-1555
--
)
ERC-1555
--
)
ERC-1555
--
)
ERC-1555
--
)
ERC-1555
--
)
ERC-1555
--
)
ERC-1555
--
)
ERC-1555
--
0x32cfcc1f95a91287b051ff15c1d3ebf61c0705b2934d3543910014825723124b
0x83415ed55ce92612399ba4f9786dab386edce3b2fd29e494ba13ca2ba0e91228
0xf3b26863e17cc8c4d45cb45d8180814b3e0465df21aa646ec26924b2c70abdd1
0x090f17c0aaefef5dfdc7bd1f94d3d8a4a354dd416beb734c0338eab84de0e71b
0x4f480fc199b53e354829361f53f9d2b58845ea54b7d5a83fa74d7c0cc3b07a7a
0x14fac3ce63f2751b2be1af289a308fecaca7d5c23d570df0da6b42b82007eaf9
0x91583724afc698feb9a0d0f4e3c64aff5d14e5b19492ee011934d699bc343703
0xd70df9a7612dda506145c987135b401c6b74fe27468d71c3684daffe584d6476
0x7b94af3562ce0d84274696a91cb052af3cda6909b552ad4eb3b597375389c17c
0xbfcbb37c577fe9110647c9261e61957d4900c1eef6b3c54a8821c79497aa18ae

Functions
Getter at block 21244344
SELECTED_VOTATION_PERCENT(view returns (uint256)
900000000000000000
getContracts(view returns (addressaddressaddressaddress)
(0x21468e63abf3783020750f7b2e57d4b34afafba6, 0xd32cb5f76989a27782e44c5297aaba728ad61669, 0x4bfba79cf232361a53eddd17c67c6c77a6f00379, 0xea7b7dc089c9a4a916b5a7a37617f59fd54e37e4)
maxVotationDuration(view returns (uint256)
1209600
sharesProposalsCounter(view returns (uint256)
2117
Read-only
_lastVotationCreated(uint256 shareProposalIdaddress userview returns (uint256)
getShareDataRevenueDeposited(uint256 shareNumberview returns (uint256)
getShareProposalData(uint256 shareProposalIdview returns (struct ShareManagerTypesShareProposalData)
getUserVote(uint256 shareProposalIduint256 votationIndexaddress voterview returns (bool)
getVotationConsensus(uint256 shareProposalIduint8 votationOptionview returns (uint256)
getVotationData(uint256 shareProposalIduint256 votationIndexview returns (struct ShareManagerTypesVotation)
getVotationsLength(uint256 shareProposalIdview returns (uint256)
getVoteStats(uint256 shareProposalIdaddress userview returns (uint256uint256)
shareTokenExists(uint256 shareTokenNumberview returns (uint256)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
cancelPendingShareProposal(uint256 shareProposalId
cancelShareTokenMigration(uint256 shareProposalId
claimHypcPortionAndSurplus(uint256 shareProposalIdbool overridePendingDeposits
completeShareProposal(uint256 shareProposalIduint256 licenseNumber
createShareProposal(bytes proposalData
decreaseVotePower(uint256 shareProposalId
finishShareTokenMigration(uint256 shareProposalId
increaseVotePower(uint256 shareProposalIduint256 amount
onERC1155BatchReceived(addressaddressuint256[]uint256[]bytesreturns (bytes4)
onERC1155Received(addressaddressuint256uint256bytesreturns (bytes4)
onERC721Received(addressaddressuint256bytesreturns (bytes4)
proposeCancelShare(uint256 shareProposalIduint256 deadline
proposeNewDepositRevenueDelay(uint256 shareProposalIduint256 deadlineuint256 newDepositRevenueDelay
proposeNewHardwareOperatorAddress(uint256 shareProposalIduint256 deadlinestring newProposedStringaddress newHardwareOperator
proposeNewHardwareOperatorRevenue(uint256 shareProposalIduint256 deadlineuint256 newRevenue
proposeNewManager(uint256 shareProposalIduint256 deadlineaddress newShareManager
sendRevenueToHardwareOperator(uint256 shareProposalId
startShareProposalMigration(uint256 shareTokenNumberaddress hardwareOperatorstring operatorAssignedString
vote(uint256 shareProposalIduint256 votationIndexbool voteFor
Events
HypcClaimed(uint256 shareProposalIduint256 hypcClaimed
ShareProposalCreated(uint256 shareProposalId
ShareProposalEnded(uint256 shareProposalId
ShareProposalStarted(uint256 shareProposalId
VotationEnded(uint256 shareProposalIduint256 votationIndexbool voteForWinner
VoteActionExecuted(uint256 shareProposalIduint8 selectedOption
VoteEmitted(uint256 shareProposalIdaddress voteruint256 votationIndexbool voteForuint256 votePower
VoteStarted(uint256 shareProposalIduint256 votationIndexuint8 selectedOption
Constructor
constructor(uint8 _consensusOptionaddress _hypcTokenaddress _chypcV2address _licenseContractaddress _hypcShareTokensuint256 _maxVotingTime
Fallback and receive

This contract contains no fallback and receive objects.

Errors
ChypcIsNotHeld(
DeadlineMustBeIncreasing(
DeadlineTooLate(
GetShareDataFailed(
InvalidCHYPCAddress(
InvalidCHYPCOwner(
InvalidDeadline(
InvalidDepositRevenueDelay(
InvalidHYPCTokenAddress(
InvalidLicenseAddress(
InvalidLicenseOwner(
InvalidProposedAddress(
InvalidShareTokenContract(
InvalidShareTokenOwner(
InvalidTokenAmount(
InvalidVotation(
InvalidVotingDuration(
MustBeClaimedByHardwareOperatorAddress(
MustClaimRevenueBeforeClaimingSurplus(
MustUnlockRevenueBeforeClaimingSurplus(
MustWithdrawRevenueBeforeClaimingSurplus(
NoWealthOrRevenueTokensAvailable(
NotEnoughWealthTokensAvailable(
NotMigratingProposal(
ParticipantAlreadyVote(
ShareProposalEndTimeNotReached(
ShareProposalIsNotEnded(
ShareProposalIsNotPending(
ShareProposalMustBeActive(
ShareTokenAlreadyExists(
ShareTokenIsNotActive(
TokenLevelMismatch(
VotationAmountReached(
VotationCreatedTooSoon(
VotationDeadlineReached(
VotePowerLockedUntilDeadline(