JCompound

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x9536ce7d at 13314495
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
5 additional variables

No balances found for "JCompound"

No transactions found for "JCompound"


Functions
Getter at block 21086491
PERCENT_DIVIDER(view returns (uint256)
10000
adminToolsAddress(view returns (address)
0x0000000000000000000000000000000000000000
cEthToken(view returns (address)
0x0000000000000000000000000000000000000000
compTokenAddress(view returns (address)
0x0000000000000000000000000000000000000000
comptrollerAddress(view returns (address)
0x0000000000000000000000000000000000000000
ethGateway(view returns (address)
0x0000000000000000000000000000000000000000
feesCollectorAddress(view returns (address)
0x0000000000000000000000000000000000000000
getEthBalance(view returns (uint256)
0
 
getTotalCompAccrued(view returns (uint256)
incentivesControllerAddress(view returns (address)
0x0000000000000000000000000000000000000000
jCompoundHelperAddress(view returns (address)
0x0000000000000000000000000000000000000000
owner(view returns (address)
0x0000000000000000000000000000000000000000
redeemTimeout(view returns (uint32)
0
rewardsToken(view returns (address)
0x0000000000000000000000000000000000000000
totalBlocksPerYear(view returns (uint256)
0
tranchePairsCounter(view returns (uint256)
0
tranchesDeployerAddress(view returns (address)
0x0000000000000000000000000000000000000000
Read-only
cTokenContracts(addressview returns (address)
getCompoundSupplyRPB(uint256 _trancheNumview returns (uint256)
getSingleTrancheUserSingleStakeDetailsTrA(address _useruint256 _trancheNumuint256 _numview returns (uint256uint256)
getSingleTrancheUserSingleStakeDetailsTrB(address _useruint256 _trancheNumuint256 _numview returns (uint256uint256)
getSingleTrancheUserStakeCounterTrA(address _useruint256 _trancheNumview returns (uint256)
getSingleTrancheUserStakeCounterTrB(address _useruint256 _trancheNumview returns (uint256)
getTokenBalance(address _tokenContractview returns (uint256)
getTotalValue(uint256 _trancheNumview returns (uint256)
getTrAValue(uint256 _trancheNumview returns (uint256 trANormValue)
getTrBValue(uint256 _trancheNumview returns (uint256)
getTrancheACurrentRPB(uint256 _trancheNumview returns (uint256)
getTrancheAExchangeRate(uint256 _trancheNumview returns (uint256)
getTrancheBExchangeRate(uint256 _trancheNumuint256 _newAmountview returns (uint256 tbPrice)
isCTokenAllowed(address _erc20Contractview returns (bool)
lastActivity(addressview returns (uint256)
stakeCounterTrA(addressuint256view returns (uint256)
stakeCounterTrB(addressuint256view returns (uint256)
stakingDetailsTrancheA(addressuint256uint256view returns (uint256 startTimeuint256 amount)
stakingDetailsTrancheB(addressuint256uint256view returns (uint256 startTimeuint256 amount)
trancheAddresses(uint256view returns (address buyerCoinAddressaddress cTokenAddressaddress ATrancheAddressaddress BTrancheAddress)
trancheDepositEnabled(uint256view returns (bool)
trancheParameters(uint256view returns (uint256 trancheAFixedPercentageuint256 trancheALastActionBlockuint256 storedTrancheAPriceuint256 trancheACurrentRPBuint16 redemptionPercentageuint8 cTokenDecimalsuint8 underlyingDecimals)
State-modifying
addTrancheToProtocol(address _erc20Contractstring _nameAstring _symbolAstring _nameBstring _symbolBuint256 _fixedRpbuint8 _cTokenDecuint8 _underlyingDec
buyTrancheAToken(uint256 _trancheNumuint256 _amountpayable 
buyTrancheBToken(uint256 _trancheNumuint256 _amountpayable 
calcRPBFromPercentage(uint256 _trancheNumreturns (uint256)
claimTotalCompAccruedToReceiver(address _receiver
initialize(address _adminToolsaddress _feesCollectoraddress _tranchesDepladdress _compTokenAddressaddress _comptrollAddressaddress _rewardsToken
redeemCTokenAmount(uint256 _trancheNumuint256 _cTokenAmount
redeemTrancheAToken(uint256 _trancheNumuint256 _amount
redeemTrancheBToken(uint256 _trancheNumuint256 _amount
renounceOwnership(
setCEtherContract(address _cEtherContract
setCTokenContract(address _erc20Contractaddress _cErc20Contract
setConstantsValues(uint256 _trNumuint16 _redemPercuint32 _redemTimeoutuint256 _blocksPerYear
setDecimals(uint256 _trancheNumuint8 _cTokenDecuint8 _underlyingDec
setETHGateway(address _ethGateway
setJCompoundHelperAddress(address _helper
setNewEnvironment(address _adminToolsaddress _feesCollectoraddress _tranchesDepladdress _compTokenAddressaddress _comptrollAddressaddress _rewardsToken
setTrAStakingDetails(uint256 _trancheNumaddress _accountuint256 _stkNumuint256 _amountuint256 _time
setTrBStakingDetails(uint256 _trancheNumaddress _accountuint256 _stkNumuint256 _amountuint256 _time
setTrancheAFixedPercentage(uint256 _trancheNumuint256 _newTrAPercentage
setTrancheDeposit(uint256 _trancheNumbool _enable
setincentivesControllerAddress(address _incentivesController
transferOwnership(address newOwner
transferTokenToFeesCollector(address _tokenContractuint256 _amount
withdrawEthToFeesCollector(uint256 _amount
Events
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
TrancheATokenMinted(uint256 trancheNumaddress buyeruint256 amountuint256 taAmount
TrancheATokenRedemption(uint256 trancheNumaddress burneruint256 amountuint256 userAmountuint256 feesAmount
TrancheAddedToProtocol(uint256 trancheNumaddress trancheAaddress trancheB
TrancheBTokenMinted(uint256 trancheNumaddress buyeruint256 amountuint256 tbAmount
TrancheBTokenRedemption(uint256 trancheNumaddress burneruint256 amountuint256 userAmountuint256 feesAmount
Constructor

This contract contains no constructor objects.

Fallback and receive
fallback(
receive(
Errors

This contract contains no error objects.