TypeAI

Verified contract

Active on Ethereum with 1,604 txns
Deployed by via 0xe0096d6d at 19625694
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 $15,936.49
ERC-20
Value $463,465.96
0xf9b24f7bfbe2f5c5cb751d4cb272400de887a57ab538318a78601cb378daab16
0x21455e5be9e9f1747ca1ec9adc6936b30a47f3363331796c45f45df06d224a8c
0x37a49c29fe2b6430a79364ecd50dc8c38eb21376dcccbdc746ffacfa0c42f7a4
0xe22369aaa7fd89331b5950bf88ee6b920305590421da50784c748db59f11c4e4
0x2c39222524801529dd1f9cf30bd1cd4970b3ec51d6664c0eb3f9c4678c73a1e9
0xc4dea700063da5c3e148dd76c16d97f5ef885f5339af6a2304101dc4470dd6be
0x2a976c7e149ab70e1f1ff54406aa47004f877e61acb3b23946326ed02656933f
0x3d62a2f35f4e02ea36e789ae1decb2fa5bc2856abe419829cc541873b99abd2e
0xfcac0ca2b5c518e776f014a75dee0a47c0942fe0d785788355575d619c60c50b
0xdbdd04317ba6fe8db0cb2b441e6b82047ca3c40fb297c4bfc49a1cd3ec931ebc

Functions
Getter at block 21187559
ethRewardsPerShare(view returns (uint256)
54653718723758371543832319063911
fixedAPR(view returns (uint256)
15
 
getStakeHolders(view returns (address[] holders)
lockInPeriod(view returns (uint256)
4838400
noOfStakeHolders(view returns (uint256 count)
330
owner(view returns (address)
0x0ac99de60b6c3d44592dcdb83eb319bbc3c9a018
token(view returns (address)
0x443459d45c30a03f90037d011cbe22e2183d3b12
totalETHDeposited(view returns (uint256)
57585096838500977492
totalRewardsDistributed(view returns (uint256)
46012127908616900118
totalValueLocked(view returns (uint256 tvl)
1005435321628794457411559
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