TypeAI

Verified contract

Active on Ethereum with 117 txns
Deployed by via 0x5a3d0f7a at 19625727
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 2 additional slots
Native
Value $756.22
ERC-20
Value $35,947.87
0x8e8f9b02f273140a1913f02e21c679dc959995b0e86743b800cc4064ff959c18
0x5c90fcf06c39513436a9318143495a1d73fc9c806a676be2e4b10b8b1f643719
0xabd87337dc51ff583810a19110b4c5dcc207cf71ca96abd1f92fe26df8ae588e
0xaf357852814cf66c5b0777ae3fad8f0585805b340d296f7764b9fdf7d92dddc7
0x5a42ff3c8b6f0dd931f95ba65fe2e9d2fc7d5f0387e1611f5ff6a63b29cec659
0x2ed1a2b11398abe8414982ef08e63d7801d2fddf2a846be930a1285d045f2d63
0x72347e35216bb91dac6ba9d99bf74fd58143e8b7366970cbbc89be291d5eef40
0x635788909d3e8d88fd2a79fa9e4238093c6eefba8fa4a023cd752d2d4a4f94ba
0x1a990c311e7a383adb9f8d6ff136bf6889a3f6383967da90b1a7d4f2f046b49c
0xfbcc359442142ec7e7df6cf31f08e43ae113b22e581eef0f7b6d0e2fb0edc71e

Functions
Getter at block 21211742
ethRewardsPerShare(view returns (uint256)
25481775437826289771140150822142
fixedAPR(view returns (uint256)
5
 
getStakeHolders(view returns (address[] holders)
lockInPeriod(view returns (uint256)
1209600
noOfStakeHolders(view returns (uint256 count)
24
owner(view returns (address)
0x0ac99de60b6c3d44592dcdb83eb319bbc3c9a018
token(view returns (address)
0x443459d45c30a03f90037d011cbe22e2183d3b12
totalETHDeposited(view returns (uint256)
1181709403646814398
totalRewardsDistributed(view returns (uint256)
867674936729670637
totalValueLocked(view returns (uint256 tvl)
42459926652279663455450
Read-only
claimableInterestGainedBy(address stakeHolderview returns (uint256 claimableInterest)
getRealizedETH(address stakeHolderview returns (uint256 realizedETH)
stakeHolderDetailsOf(address stakeHolderview returns (struct ITypeAIStakeHolder details)
totalAmountStakedBy(address stakeHolderview returns (uint256 stakedAmount)
State-modifying
claimETHAndReLock(
claimGainedInterest(
compoundETHAndReLock(uint256 _minReceive
depositETHRewards(payable 
renounceOwnership(
stake(uint256 amount
transferOwnership(address newOwner
unstake(uint256 amount
updateAPR(uint8 newAPR
updateLockInPeriod(uint256 newLockInPeriod
withdrawResidualBalance(
Events
APRUpdated(uint256 indexed oldAPRuint256 newAPR
Deposited(address indexed stakeHolderuint256 amount
DepositedETHRewards(address depositoruint256 amount
ETHRewardDistributed(address stakeHolderuint256 reward
InterestClaimed(address indexed stakeHolderuint256 amount
LockInPeriodUpdated(uint256 indexed oldPerioduint256 newPeriod
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Withdrawn(address indexed stakeHolderuint256 amount
Constructor
constructor(address _tokenuint256 _fixedAPRuint256 _lockInPeriodaddress router_
Fallback and receive

This contract contains no fallback and receive objects.

Errors
AddressEmptyCode(address target
AddressInsufficientBalance(address account
FailedInnerCall(
OwnableInvalidOwner(address owner
OwnableUnauthorizedAccount(address account
ReentrancyGuardReentrantCall(
SafeERC20FailedOperation(address token
TypeAI_NoTVLAvailable(address caller
TypeAI__AmountMustBeGreaterThanZero(address stakeHolder
TypeAI__ETHTransferFailed(address receiveruint256 amount
TypeAI__InsufficientDepositAmount(address stakeHolder
TypeAI__InsufficientResidualBalance(
TypeAI__InsufficientRewardPresent(address stakeHolderuint256 required
TypeAI__InvalidETHBalance(address receiveruint256 amount
TypeAI__NoInterestGained(address stakeHolder
TypeAI__NotAStakeHolder(address caller
TypeAI__UnderLockInPeriod(address stakeHolder
TypeAI__ZeroAPR(address caller
TypeAI__ZeroAddress(address caller