AdminUpgradeabilityProxy
Verified contract
Proxy
Active on
Ethereum with 162 txns
Unified storage
Map
Table
Raw
Constants and immutables
2
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
7 additional
variables
Balances ($9,313.62)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
cUSDC | ERC-20 | 344.891246K | $0.024225 |
$8,354.98 | |
cDAI | ERC-20 | 37.929594K | $0.0238 |
$902.73 | |
cWBTC | ERC-20 | 0.021177 | $1,453.77 |
$30.79 | |
cLINK | ERC-20 | 103.12733 | $0.243622 |
$25.12 | |
BEND | ERC-20 | 1 | $0.000369 |
$0 |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 18877527 | 10 months ago | | | 0 | 0.092240183 | |
| 18875694 | 10 months ago | | | 0 | 0.035011217 | |
| 17971538 | a year ago | | | 0 | 0.14949424 | |
| 16919967 | 2 years ago | | | 0 | 0.13011722 | |
| 16919956 | 2 years ago | | | 0 | 0.12352046 | |
| 16919945 | 2 years ago | | | 0 | 0.12519442 | |
| 16919912 | 2 years ago | | | 0 | 0.12600759 | |
| 16919840 | 2 years ago | | | 0 | 0.14878004 | |
| 16746885 | 2 years ago | | | 0 | 0.0079354031 | |
| 16431248 | 2 years ago | | | 0 | 0.051662131 |
ABI
ABI objects
Getter at block 21085262 getTotalCompAccrued() view returns (uint256)
PERCENT_DIVIDER() view returns (uint256)
10000
adminToolsAddress() view returns (address)
0x8532477a282da1f68bb49f0893714e10f03d6186
cEthToken() view returns (address)
0x0000000000000000000000000000000000000000
compTokenAddress() view returns (address)
0xc00e94cb662c3520282e6f5717214004a7f26888
comptrollerAddress() view returns (address)
0x3d9819210a31b4961b30ef54be2aed79b9c9cd3b
ethGateway() view returns (address)
0x0000000000000000000000000000000000000000
feesCollectorAddress() view returns (address)
0x16d7dfba832722f240915e63198e411153ac602b
getEthBalance() view returns (uint256)
0
incentivesControllerAddress() view returns (address)
0x8c082809def6a3c1742d84553b9c6ff1dbc161c8
jCompoundHelperAddress() view returns (address)
0x8a0c35a0241cc04e075aaad3f501585d3b2a6dd5
owner() view returns (address)
0x7e6068bc4902085a8d5866d03b2f7bb35e5b2a05
redeemTimeout() view returns (uint32)
3
rewardsToken() view returns (address)
0x0aee8703d34dd9ae107386d3eff22ae75dd616d1
totalBlocksPerYear() view returns (uint256)
2102400
tranchePairsCounter() view returns (uint256)
5
tranchesDeployerAddress() view returns (address)
0x8cae1786645184bbc9078e50ced90ac9ee0b3ade
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 admin() returns (address)
changeAdmin(address newAdmin)
implementation() returns (address)
upgradeTo(address newImplementation)
upgradeToAndCall(address newImplementation, bytes data) payable
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)
AdminChanged(address previousAdmin, address newAdmin)
Upgraded(address indexed implementation)
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)
constructor(address _logic, address _admin, bytes _data)
fallback()
fallback()
receive()
receive()
This contract contains no error objects.