AdminUpgradeabilityProxy

Verified contract

Proxy

Active on Ethereum with 162 txns
Deployed by via 0x968a9a12 at 12458318
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
7 additional variables
ERC-20
Value $8,354.98
ERC-20
Value $902.73
ERC-20
Value $30.79
ERC-20
Value $25.12
ERC-20
Value $0
0x824b6fb5cfceb0bd7b9a92a82b937f5e3008a317558dfc809024599b939d62a8
0x413a6de39241caa5a60ed7523c96f250461895dde111e17540939a9412ef1a1e
0xc22ab4a721d27433e431a3f5eca384d8e6b6f183f548bfd8df44b81d7dc3119d
0xb1dffe13d266364d6fbe751ecf3cc9ff530aa9c3ba57273c838ab24519ea94d2
0xb51b9be228a86b4d6e687258d2970f0e4d88b13d64bcf04a8e9a99519927cfc8
0xf641cf9f8fac317c8990e66ab8b6a35d6f795defeb8c6d243cc18fc732cdfc08
0xc3e8945064b78209af4abc2ac52be3c0c9b7420a7d36d9dc721f90fbb99acf8c
0xf518afc92a23741d1fad80590768ccdf89fa4c6546bf8eeafe6e2959d82285f2
0x0788896c3f592ccccc63539cb297ae92e0dec26a7cda00de0bc77879d3aee499
0xe5760f876aaa765498be20acae79f37e2aeff23104675019524146c320251433

Functions
Getter at block 21085262
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
 
getTotalCompAccrued(view returns (uint256)
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(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
admin(returns (address)
changeAdmin(address newAdmin
implementation(returns (address)
upgradeTo(address newImplementation
upgradeToAndCall(address newImplementationbytes datapayable 
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
AdminChanged(address previousAdminaddress newAdmin
Upgraded(address indexed implementation
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
constructor(address _logicaddress _adminbytes _data
Fallback and receive
fallback(
fallback(
receive(
receive(
Errors

This contract contains no error objects.