0x902c93200a9719d126a33f39fdf7154a4ddba04a

Unverified contract

Proxy

Active on Base with 1,065 txns
Deployed by via 0xb6aea546 at 18410258
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
--
0x0f7efd4f205d73c8f0353f71380c5feb2a1259077f81d4e5b7c98eb9baa2d17d
0x401613945d0d07e8ba60b65f16bcd9baff2e55679ee40ff7008b223b4be9103e
0x82854ea4f1a8dbce8c89b46e9d4128a168417b5366cc23fe613bc270a19f0098
0x54bf76ed0e12a9b5b0b7f7b06d25b5eeeeca1f1b9e4d666fd50ebd20a8bbea57
0x79a6f73e1b7e5e70550fb699fb96a38ed1dff67ad234c43b6d3f0933b0223de0
0xb4a4fe83223ce97eeec53e090965bcc572e5f15c27efa22bb610af98445ea048
0x37c13c63de115edc98271ae560ebcad161c8bb59cd25d61274ac0bf2fd54ae91
0x7d1a2d2243b99db1428dd9e8629caafbd187f16aae62979b08c267806f39c366
0x803b3f9b93134fae84c0bab3514502eab59e08d63c292c1d936442ce740aff30
0xcab553ec719ddd52abacc1be9800d1794fd29c5f461933b7087ce4867dade7f0

Functions
Getter at block 23062536
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
clashToken(view returns (address)
0x6b35f4ee1398da7f644607513a6480bc24f05cd0
emissionPeriod(view returns (uint256)
86400
startTime(view returns (uint256)
1723611600
totalTransactions(view returns (uint256)
2994
Read-only
calculateScore(uint256 amountuint8 lockPerioduint256 fromuint256 toview returns (uint256 score)
calculateScoreByTransaction(uint256 transactionIduint256 toview returns (uint256)
getNumberOfTransactionsByUser(address userview returns (uint256)
getRoleAdmin(bytes32 roleview returns (bytes32)
getTransactionByIds(uint256[] transactionIdsview returns (struct TransactionWithId[] userTransactions)
getTransactionClaimStatuses(uint256[] transactionIdsview returns (struct TransactionClaimStatus[] claimStatuses)
getUserActiveTransactions(address userview returns (struct TransactionWithId[] userTransactions)
hasRole(bytes32 roleaddress accountview returns (bool)
supportsInterface(bytes4 interfaceIdview returns (bool)
transactions(uint256view returns (uint256 amountuint256 scoreuint40 stakedAtuint40 unstakedAtaddress senderuint8 lockPerioduint8 status)
userTransactionIds(addressuint256view returns (uint256)
State-modifying
grantRole(bytes32 roleaddress account
initialize(address clashToken_uint256 startTime_
renounceRole(bytes32 roleaddress callerConfirmation
revokeRole(bytes32 roleaddress account
setClashToken(address clashToken_
setEmissionPeriod(uint256 emissionPeriod_
setStartTimestamp(uint256 startTime_
stake(uint256 amountuint8 lockPeriodaddress sender
unstake(
withdrawTokens(address erc20Tokenuint256 amount
Events
Initialized(uint64 version
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
Staked(uint256 transactionIduint256 amountuint40 stakedAtaddress senderuint8 lockPeriod
Unstaked(uint256 transactionIduint8 statusuint256 scoreuint40 unstakedAt
Constructor

This contract contains no constructor objects.

Fallback and receive
receive(
Errors
AccessControlBadConfirmation(
AccessControlUnauthorizedAccount(address accountbytes32 neededRole
AddressEmptyCode(address target
AddressInsufficientBalance(address account
EtherCannotBeAccepted(
FailedInnerCall(
InvalidAmount(
InvalidInitialization(
NotInitializing(
ReentrancyGuardReentrantCall(
SafeERC20FailedOperation(address token
StakingNotAvailable(