JCompound
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
3
Slot
XX
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
Balances ($0.00)
No balances found for "JCompound"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "JCompound"
ABI
ABI objects
Getter at block 21086491 getTotalCompAccrued() view returns (uint256)
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
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(address) view returns (address)
getCompoundSupplyRPB(uint256 _trancheNum) view returns (uint256)
getSingleTrancheUserSingleStakeDetailsTrA(address _user, uint256 _trancheNum, uint256 _num) view returns (uint256, uint256)
getSingleTrancheUserSingleStakeDetailsTrB(address _user, uint256 _trancheNum, uint256 _num) view returns (uint256, uint256)
getSingleTrancheUserStakeCounterTrA(address _user, uint256 _trancheNum) view returns (uint256)
getSingleTrancheUserStakeCounterTrB(address _user, uint256 _trancheNum) view returns (uint256)
getTokenBalance(address _tokenContract) view returns (uint256)
getTotalValue(uint256 _trancheNum) view returns (uint256)
getTrAValue(uint256 _trancheNum) view returns (uint256 trANormValue)
getTrBValue(uint256 _trancheNum) view returns (uint256)
getTrancheACurrentRPB(uint256 _trancheNum) view returns (uint256)
getTrancheAExchangeRate(uint256 _trancheNum) view returns (uint256)
getTrancheBExchangeRate(uint256 _trancheNum, uint256 _newAmount) view returns (uint256 tbPrice)
isCTokenAllowed(address _erc20Contract) view returns (bool)
lastActivity(address) view returns (uint256)
stakeCounterTrA(address, uint256) view returns (uint256)
stakeCounterTrB(address, uint256) view returns (uint256)
stakingDetailsTrancheA(address, uint256, uint256) view returns (uint256 startTime, uint256 amount)
stakingDetailsTrancheB(address, uint256, uint256) view returns (uint256 startTime, uint256 amount)
trancheAddresses(uint256) view returns (address buyerCoinAddress, address cTokenAddress, address ATrancheAddress, address BTrancheAddress)
trancheDepositEnabled(uint256) view returns (bool)
trancheParameters(uint256) view returns (uint256 trancheAFixedPercentage, uint256 trancheALastActionBlock, uint256 storedTrancheAPrice, uint256 trancheACurrentRPB, uint16 redemptionPercentage, uint8 cTokenDecimals, uint8 underlyingDecimals)
State-modifying
Events addTrancheToProtocol(address _erc20Contract, string _nameA, string _symbolA, string _nameB, string _symbolB, uint256 _fixedRpb, uint8 _cTokenDec, uint8 _underlyingDec)
buyTrancheAToken(uint256 _trancheNum, uint256 _amount) payable
buyTrancheBToken(uint256 _trancheNum, uint256 _amount) payable
calcRPBFromPercentage(uint256 _trancheNum) returns (uint256)
claimTotalCompAccruedToReceiver(address _receiver)
initialize(address _adminTools, address _feesCollector, address _tranchesDepl, address _compTokenAddress, address _comptrollAddress, address _rewardsToken)
redeemCTokenAmount(uint256 _trancheNum, uint256 _cTokenAmount)
redeemTrancheAToken(uint256 _trancheNum, uint256 _amount)
redeemTrancheBToken(uint256 _trancheNum, uint256 _amount)
renounceOwnership()
setCEtherContract(address _cEtherContract)
setCTokenContract(address _erc20Contract, address _cErc20Contract)
setConstantsValues(uint256 _trNum, uint16 _redemPerc, uint32 _redemTimeout, uint256 _blocksPerYear)
setDecimals(uint256 _trancheNum, uint8 _cTokenDec, uint8 _underlyingDec)
setETHGateway(address _ethGateway)
setJCompoundHelperAddress(address _helper)
setNewEnvironment(address _adminTools, address _feesCollector, address _tranchesDepl, address _compTokenAddress, address _comptrollAddress, address _rewardsToken)
setTrAStakingDetails(uint256 _trancheNum, address _account, uint256 _stkNum, uint256 _amount, uint256 _time)
setTrBStakingDetails(uint256 _trancheNum, address _account, uint256 _stkNum, uint256 _amount, uint256 _time)
setTrancheAFixedPercentage(uint256 _trancheNum, uint256 _newTrAPercentage)
setTrancheDeposit(uint256 _trancheNum, bool _enable)
setincentivesControllerAddress(address _incentivesController)
transferOwnership(address newOwner)
transferTokenToFeesCollector(address _tokenContract, uint256 _amount)
withdrawEthToFeesCollector(uint256 _amount)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
TrancheATokenMinted(uint256 trancheNum, address buyer, uint256 amount, uint256 taAmount)
TrancheATokenRedemption(uint256 trancheNum, address burner, uint256 amount, uint256 userAmount, uint256 feesAmount)
TrancheAddedToProtocol(uint256 trancheNum, address trancheA, address trancheB)
TrancheBTokenMinted(uint256 trancheNum, address buyer, uint256 amount, uint256 tbAmount)
TrancheBTokenRedemption(uint256 trancheNum, address burner, uint256 amount, uint256 userAmount, uint256 feesAmount)
This contract contains no constructor objects.
fallback()
receive()
This contract contains no error objects.