HyperCycleShareTokensV2

Verified contract

Active on Ethereum with 3,386 txns
Deployed by via 0x9213d193 at 18986637
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $131.54
)
ERC-721
--
)
ERC-721
--
)
ERC-721
--
)
ERC-721
--
)
ERC-721
--
)
ERC-721
--
)
ERC-721
--
)
ERC-721
--
)
ERC-721
--
0xcd41c205905eb876db15de2be98f018e9b1a312b2c6fefdaa4dd0ca6fb1b85ec
0x66c853491c8bdb2c3785c261ae105b3975b2813e2cd27618b70183530a3d0f90
0xfe61d16da563d5bb5554fb35cdf5d376f5b0f79d96eb7d51cb28568dee0359a4
0x5d0c41f07aa1de5db9e3c0167a958ed723edbda3494064321b95f7815bfa2c49
0x3f522ba14e572702b79ed275abc70af7d4714dd16ee3149d3ab9dfff58e773f9
0x630643d7fc6360a10e8a98ac8c5b3a05626f3de2dd87cc3c7ba46a469ab22d3f
0x6de38c9ba21eb1b1a44daa4c473eddfc26cbe7eca2a231d33832dfca6de02a55
0xe9bf79460d7c16f33fae9d98824bb7fa17d0c32c1da823f4f0decf61d516aa38
0x16f250458a63c116c55b00fdff14684744f79f3c08d5a3b0ded5088a6aeb1fe0
0x5e515912f5ec73ba8cd222781a0abfeaa01b77162283597c7904f528d22d0cf2

Functions
Getter at block 21248360
MIN_SHARE_DURATION(view returns (uint256)
86400
RATIO_DECIMALS(view returns (uint256)
1000000000000
REVENUE_TOKEN_MAX_SUPPLY(view returns (uint256)
524288
WEALTH_TOKEN_MAX_SUPPLY(view returns (uint256)
524288
currentShareNumber(view returns (uint256)
8590985947
endShareNumber(view returns (uint256)
8592031743
owner(view returns (address)
0x9e238870cf52b771156356684216585380a50ac9
shareLimitNumber(view returns (uint256)
8590994218
startShareNumber(view returns (uint256)
8590983168
totalDeposited(view returns (uint256)
5000000
Read-only
balanceOf(address accountuint256 idview returns (uint256)
balanceOfBatch(address[] accountsuint256[] idsview returns (uint256[])
getPendingDeposit(uint256 shareNumberuint256 indexview returns (struct IHyperCycleShareTokensPendingDeposit)
getPendingDepositsLength(uint256 shareNumberview returns (uint256)
getRevenueTokenTotalSupply(uint256 shareNumberview returns (uint256)
getShareCHyPCId(uint256 shareNumberview returns (uint256)
getShareLicenseId(uint256 shareNumberview returns (uint256)
getShareMessage(uint256 shareNumberview returns (string)
getShareOwner(uint256 shareNumberview returns (address)
getShareRevenueTokenId(uint256 shareNumberview returns (uint256)
getShareStartTime(uint256 shareNumberview returns (uint256)
getShareTotalRevenue(uint256 shareNumberview returns (uint256)
getShareWealthTokenId(uint256 shareNumberview returns (uint256)
getWealthTokenTotalSupply(uint256 shareNumberview returns (uint256)
isApprovedForAll(address accountaddress operatorview returns (bool)
isShareActive(uint256 shareNumberview returns (bool)
lastShareClaimRevenue(uint256addressview returns (uint256)
licenseToShareNumber(uint256view returns (uint256)
pendingDeposits(uint256uint256view returns (uint256 availableAtTimestampuint256 amount)
shareCreated(uint256 shareNumberview returns (bool)
shareData(uint256view returns (uint256 licenseIduint256 chypcIduint8 statusaddress owneruint256 rTokenNumberuint256 wTokenNumberuint256 rTokenSupplyuint256 wTokenSupplyuint256 startTimestampuint256 revenueDepositeduint256 revenueDepositDelaystring messagebool chypcTokenHeld)
supportsInterface(bytes4 interfaceIdview returns (bool)
uri(uint256view returns (string)
withdrawableAmounts(uint256addressview returns (uint256)
State-modifying
burnRevenueTokens(uint256 shareNumberuint256 amount
burnWealthTokens(uint256 shareNumberuint256 amount
cancelShareTokens(uint256 shareNumber
changePendingRevenueDelay(uint256 shareNumberuint256 newDelay
claimAndWithdraw(uint256 shareNumber
claimRevenue(uint256 shareNumber
createShareTokens(uint256 licenseNumberuint256 chypcNumberbool chypcTokenHeldstring startingMessageuint256 revenueDepositDelay
depositRevenue(uint256 shareNumberuint256 amt
increaseShareLimit(uint256 number
onERC721Received(addressaddressuint256bytesreturns (bytes4)
renounceOwnership(
safeBatchTransferFrom(address fromaddress touint256[] idsuint256[] valuesbytes data
safeTransferFrom(address fromaddress touint256 iduint256 valuebytes data
setApprovalForAll(address operatorbool approved
setShareMessage(uint256 shareNumberstring message
transferOwnership(address newOwner
transferShareOwnership(uint256 shareNumberaddress to
unlockRevenue(uint256 shareNumberuint256 index
withdrawEarnings(uint256 shareNumber
Events
ApprovalForAll(address indexed accountaddress indexed operatorbool approved
CancelledSharedTokens(uint256 shareNumberuint256 chypcNumberuint256 licenseNumber
ClaimRevenue(uint256 shareNumberaddress claimeruint256 amount
CreateShare(uint256 licenseNumberuint256 chypcNumberaddress owneruint256 shareNumberbool chypcTokenHeld
EarningsWithdrawal(uint256 shareNumberaddress claimeruint256 amount
IncreaseShareLimit(uint256 amount
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
PendingRevenueDelayChange(uint256 shareNumberuint256 newDelay
PendingRevenueDeposit(uint256 shareNumberuint256 indexuint256 amount
RevenueDeposited(uint256 shareNumberuint256 amountuint256 timestamp
ShareMessageChangedTo(uint256 shareNumberstring message
ShareOwnershipTransferred(uint256 shareNumberaddress to
TransferBatch(address indexed operatoraddress indexed fromaddress indexed touint256[] idsuint256[] values
TransferSingle(address indexed operatoraddress indexed fromaddress indexed touint256 iduint256 value
URI(string valueuint256 indexed id
Constructor
constructor(uint256 startNumberuint256 endNumberuint256 startLimitaddress licenseAddressaddress chypcV1Addressaddress swapV2Addressaddress hypcAddress
Fallback and receive

This contract contains no fallback and receive objects.

Errors
CantCreateSharesBeyondShareLimit(
CantTransferToZeroAddress(
EndShareNumberWouldOverflow(
InvalidCHYPCTokenLevel(
InvalidCHYPCV1Address(
InvalidHYPCAddress(
InvalidLicenseAddress(
InvalidShareNumberRange(
InvalidStartingLimit(
InvalidSwapV2Address(
LicenseMustHaveCHYPCBacking(
MustBeShareOwner(
MustBurnSomeRevenueTokens(
MustBurnSomeWealthTokens(
MustClaimRevenueToBurnTokens(
NoRevenueToClaim(
NoRevenueTokensForThisShare(
NotEnoughRevenueTokensOwned(
NotEnoughWealthTokensOwned(
NothingToWithdraw(
PendingDepositMustExist(
ShareDoesntExist(
ShareLimitIncreasedTooMuch(
ShareMinDurationHasNotPassed(
ShareMustBeActive(
ShareMustBeEnded(
UnlockingRevenueTooEarly(