Sleeves

Verified contract

Active on Ethereum with 158 txns
Deployed by via 0x1be1402d at 19166154
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
 (#10556)
ERC-1555
--
 (#10521)
ERC-1555
--
 (#10543)
ERC-1555
--
 (#10498)
ERC-1555
--
 (#10500)
ERC-1555
--
 (#10519)
ERC-1555
--
 (#10510)
ERC-1555
--
 (#10545)
ERC-1555
--
 (#18)
ERC-1555
--
 (#10566)
ERC-1555
--
0x0a955dd31957df5fe6213ac2fd5a83c305994e31c58d1e75eae0561b65f57c1d
0xeb47fec3dc643414fec9449fb70058d6bfb409682ca5346d4a10546b6aed6232
0x93200d36e89a580035bd7af1b61729f1ecd2166bfd0c20ea7d88f68db41e8538
0x964322f8191895f6cbc93faceba03860b74c91355db26e486e6a7d406c839412
0xc46e36c0938a9b75ce657ccf9dea715e55540057c9cc016fe6f0486299485cf8
0x2d49ac73b13662fe4c1b127e6069c90a3ddd47fbca95ebfc3436ac9e11f4d63b
0x29d47bb411b0427946977cff4564f89829867fdfb3d0d53333b6fe83e24c571f
0x2986aae387a7a1b2fd2c7f1994e19a5c5eaf16014eee43f8475a24b5371754c7
0x570371aa12de0b867f821b7dc4e6d12e783e323c5d6c56f732db8c20006da77b
0xc6b05fcdfd29ff18326ee74814ceff50de1aa419e348e7365748a6f40ec628f4

Functions
Getter at block 21272887
PRECISION(view returns (uint256)
1000000000000000000
ParallelAlpha(view returns (address)
0x76be3b62873462d2142405439777e971754e8e77
Pdt(view returns (address)
0x375abb85c329753b1ba849a601438ae77eec9893
Prime(view returns (address)
0xb23d80f5fefcddaa212212f028021b41ded428cf
PrimeRewards(view returns (address)
0xeca9d81a4dc7119a40481cff4e7e24dd0aaf56bd
Rewarder(view returns (address)
0x13169d98eae41c1f73fff14e4ce8a9651b5ef8c7
firstPoolId(view returns (uint256)
0
lastPoolId(view returns (uint256)
31
maxUnsleeveBaseFee(view returns (uint256)
100000000000000000000
owner(view returns (address)
0x12267aefd8bb461817df348ce16c933e76c1aa0d
unsleeveBaseFee(view returns (uint256)
0
Read-only
getRarityScores(uint256[] tokenIdsview returns (uint256[])
getRemainingDepositsPerCards(uint256[] tokenIdsview returns (uint256[])
getSleeveThenCacheData(uint256[] cachePoolIduint256[] cacheAmountsuint256[] cannotCacheBecauseOfTokenIdspure returns (bytes)
getTokensIdToPoolIds(uint256[] tokenIdsview returns (uint256[])
getUserBalances(address useruint256[] tokenIdsview returns (uint256[])
maxDepositsPerCard(uint256view returns (uint256)
rarityScores(uint256view returns (uint256)
supportsInterface(bytes4 interfaceIdview returns (bool)
tokenIdsToPoolNumbers(uint256view returns (uint256)
userBalances(addressuint256view returns (uint256)
State-modifying
adminCacheBatch(uint256[] poolIdsuint256[] amounts
adminClaimPrime(uint256[] pidsaddress destination
adminEmergencyWithdraw(uint256 poolId
adminSetMaxDepositsPerCard(uint256[] tokenIdsuint256[] nextMaxDepositsPerCards
adminSetRarityScores(uint256[] tokenIdsuint256[] nextRarityScores
adminSetRewarder(address nextRewarder
adminSetUnsleeveBaseFee(uint256 nextUnsleeveBaseFee
adminSleeveBatch(address useruint256[] tokenIdsuint256[] amounts
adminSyncPools(
adminTransferERC20(address tokenaddress destination
adminUnsleeveBatch(address useruint256[] tokenIdsuint256[] amounts
adminWithdrawWithProofBatch(address useruint256[] poolIdsuint256[] tokenIdsuint256[] amounts
claim(bytes claimData
onERC1155BatchReceived(address operatoraddress fromuint256[] sleeveTokenIdsuint256[] sleeveAmountsbytes datareturns (bytes4)
onERC1155Received(addressaddressuint256uint256bytesreturns (bytes4)
renounceOwnership(
transferOwnership(address newOwner
withdrawThenUnsleeve(uint256[] withdrawPoolIdsuint256[] withdrawTokenIdsuint256[] withdrawAmountsuint256[] unsleeveTokenIdsuint256[] unsleeveAmounts
Events
CacheBatch(uint256[] poolIdsuint256[] amounts
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
SetRewarder(address nextRewarder
SetUnsleeveBaseFee(uint256 nextUnsleeveBaseFee
SleeveBatch(address indexed useruint256[] tokenIdsuint256[] amounts
SyncPools(uint256 startuint256 end
UnsleeveBatch(address indexed useruint256[] tokenIdsuint256[] amountsuint256 fee
WithdrawWithProofBatch(address indexed useruint256[] poolIdsuint256[] tokenIdsuint256[] amounts
Constructor
constructor(uint256 nextFirstPoolIdaddress nextPrimeaddress nextPdtaddress nextParallelAlphaaddress nextPrimeRewardsaddress nextRewarder
Fallback and receive

This contract contains no fallback and receive objects.

Errors
ArgumentLengthMismatch(
CannotRenounceOwnership(
DifferentPoolId(uint256 tokenId0uint256 tokenId1
DuplicateTokenId(uint256 tokenIduint256 poolId
InsufficientBalance(address useruint256 tokenId
InvalidCannotCacheProof(uint256 poolIduint256 tokenId
InvalidPoolMembership(uint256 poolIduint256 tokenId
MaxDepositPerCardBelowBalance(uint256 tokenIduint256 currentBalanceuint256 nextMaxDepositsPerCard
NoNeedToWithdraw(uint256 poolId
NotAcceptingAnyMore(uint256 tokenId
UnsetTokenId(uint256 tokenId
UnsleeveBaseFeeTooHigh(uint256 nextUnsleeveBaseFee
ZeroAddress(