BetokenFund

Verified contract

Proxy

Active on Ethereum with 2,203 txns
Deployed by via 0x060d51c2 at 8064049
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
63 additional variables
ERC-20
Value $3.86
ERC-20
Value $0.05
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
0xf3660287093d0fea0b2bc0e93234c6cdf971f6b9921e630a5da534b5ac62279d
0xd484b3236f7a217b411741ae34bfd8002c8ac8b92bc7f6fd70fda34fd68685fa
0xfd7fecb0d67bb0ab3fcaf004a49b02ca2b4e3abf386f375e62e1d683b46ea38f
0x51a80a750b40961ca13ae4409ccdfa89cee4a4efc7d50e5248940ee2dbf7af5e
0x93ee35954ccf91e840b26ab0a66f3330714bfd59b4bb34449c5644cb4742e516
0xa9ff8356457a347898e157277617f55478d271ee155c2ecc6e69eccc9fd54b82
0x5e23cc593b49d95270ceed47925d039fe63e178dfdfca5daad3ec9e5b25e7a66
0x5c9285053ab0ec3872e43e3b19bcdff6c2f2380ebc9c254a4205fadbfe6d6f4b
0xa95624404d3ab3281617351924f4f378f991e9ba487d6b1b2b4f3e3e60bb9928
0x9b130a8ee0d79e61d799531c5522f77d2cab98d857bdb386a04193f7cc549958

Functions
Getter at block 21166454
ASSET_FEE_RATE(view returns (uint256)
1000000000000000
CHUNK_SIZE(view returns (uint256)
259200
COLLATERAL_RATIO_MODIFIER(view returns (uint256)
750000000000000000
COMMISSION_RATE(view returns (uint256)
200000000000000000
CYCLES_TILL_MATURITY(view returns (uint256)
3
DAI_ADDR(view returns (address)
0x89d24a6b4ccb1b6faa2625fe562bdd9a23260359
FALLBACK_MAX_DONATION(view returns (uint256)
100000000000000000000
INACTIVE_THRESHOLD(view returns (uint256)
6
KYBER_ADDR(view returns (address)
0x818e6fecd516ecc3849daf6845e3ec868087b755
MAX_BUY_KRO_PROP(view returns (uint256)
10000000000000000
MIN_KRO_PRICE(view returns (uint256)
2500000000000000000
MIN_RISK_TIME(view returns (uint256)
259200
NEXT_PHASE_REWARD(view returns (uint256)
1000000000000000000
PERM_HINT(view returns (bytes)
0x5045524d
PROPOSE_SUBCHUNK_SIZE(view returns (uint256)
86400
QUORUM(view returns (uint256)
100000000000000000
VOTE_SUCCESS_THRESHOLD(view returns (uint256)
750000000000000000
betokenLogic(view returns (address)
0xd176ff3d44fdae552bdc5b566fa1f0066e81fe0b
compoundFactoryAddr(view returns (address)
0xf9b8d8137de64de61cd582518ebc5345d01d5039
controlTokenAddr(view returns (address)
0x952bbd5344ca0a898a1b8b2ffcfe3acb1351ebd5
currentChunk(view returns (uint256)
0
currentSubchunk(view returns (uint8 _subchunk)
1
cycleNumber(view returns (uint256)
7
cyclePhase(view returns (uint8)
0
devFundingAccount(view returns (address)
0x332d87209f7c8296389c307eae170c2440830a47
devFundingRate(view returns (uint256)
1000000000000000
getPhaseLengths(view returns (uint256[2] _phaseLengths)
[259200, 2332800]
 
getTotalVotingWeight(view returns (uint256 _weight)
hasFinalizedNextVersion(view returns (bool)
true
hasInitializedTokenListings(view returns (bool)
true
isOwner(view returns (bool)
false
kairoPrice(view returns (uint256 _kairoPrice)
34007748798858468927
nextVersion(view returns (address)
0x58b64a1feac144eb077627c9c6b66ce2097396af
owner(view returns (address)
0x332d87209f7c8296389c307eae170c2440830a47
previousVersion(view returns (address)
0x0000000000000000000000000000000000000000
proposersVotingWeight(view returns (uint256)
17014553716877158956
proxyAddr(view returns (address)
0xc7cbb403d1722ee3e4ae61f452dc36d71e8800de
shareTokenAddr(view returns (address)
0x1689dcfef3e695ac4cc1e5b7e77f9135f1d58a50
startTimeOfCyclePhase(view returns (uint256)
1577524593
totalCommissionLeft(view returns (uint256)
68024493687973165586
totalFundsInDAI(view returns (uint256)
7676558034856448016714
upgradeVotingActive(view returns (bool)
false
Read-only
againstVotes(uint256view returns (uint256)
baseRiskStakeFallback(addressview returns (uint256)
candidates(uint256view returns (address)
commissionBalanceOf(address _managerview returns (uint256 _commissionuint256 _penalty)
commissionOfAt(address _manageruint256 _cycleview returns (uint256 _commissionuint256 _penalty)
compoundOrdersCount(address _userAddrview returns (uint256 _count)
forVotes(uint256view returns (uint256)
getVotingWeight(address _ofview returns (uint256 _weight)
hasRedeemedCommissionForCycle(addressuint256view returns (bool)
investmentsCount(address _userAddrview returns (uint256 _count)
isCompoundToken(addressview returns (bool)
isKyberToken(addressview returns (bool)
isPositionToken(addressview returns (bool)
lastActiveCycle(addressview returns (uint256)
lastCommissionRedemption(addressview returns (uint256)
managePhaseEndBlock(uint256view returns (uint256)
managerVotes(uint256addressuint256view returns (uint8)
phaseLengths(uint256view returns (uint256)
proposers(uint256view returns (address)
riskTakenInCycle(addressuint256view returns (uint256)
totalCommissionOfCycle(uint256view returns (uint256)
upgradeSignal(uint256addressview returns (bool)
upgradeSignalStrength(uint256view returns (uint256)
userCompoundOrders(addressuint256view returns (address)
userInvestments(addressuint256view returns (address tokenAddressuint256 cycleNumberuint256 stakeuint256 tokenAmountuint256 buyPriceuint256 sellPriceuint256 buyTimeuint256 buyCostInDAIbool isSold)
State-modifying
burnDeadman(address _deadman
changeDeveloperFeeAccount(address _newAddr
changeDeveloperFeeRate(uint256 _newProp
createCompoundOrder(bool _orderTypeaddress _tokenAddressuint256 _stakeuint256 _minPriceuint256 _maxPrice
createInvestment(address _tokenAddressuint256 _stakeuint256 _minPriceuint256 _maxPrice
depositDAI(uint256 _daiAmount
depositEther(payable 
depositToken(address _tokenAddruint256 _tokenAmount
developerInitiateUpgrade(address _candidatereturns (bool _success)
finalizeSuccessfulVote(uint256 _chunkNumberreturns (bool _success)
initTokenListings(address[] _kyberTokensaddress[] _compoundTokensaddress[] _positionTokens
listKyberToken(address _token
migrateOwnedContractsToNextVersion(
nextPhase(
onApprove(address _owneraddress _spenderuint256 _amountreturns (bool)
onTransfer(address _fromaddress _touint256 _amountreturns (bool)
proposeCandidate(uint256 _chunkNumberaddress _candidatereturns (bool _success)
proxyPayment(address _ownerpayable returns (bool)
redeemCommission(bool _inShares
redeemCommissionForCycle(bool _inSharesuint256 _cycle
registerWithDAI(uint256 _donationInDAI
registerWithETH(payable 
registerWithToken(address _tokenuint256 _donationInTokens
renounceOwnership(
repayCompoundOrder(uint256 _orderIduint256 _repayAmountInDAI
sellCompoundOrder(uint256 _orderIduint256 _minPriceuint256 _maxPrice
sellInvestmentAsset(uint256 _investmentIduint256 _tokenAmountuint256 _minPriceuint256 _maxPrice
sellLeftoverCompoundOrder(address _orderAddress
sellLeftoverToken(address _tokenAddr
setProxy(address _proxyAddr
signalUpgrade(bool _inSupportreturns (bool _success)
transferAssetToNextVersion(address _assetAddress
transferOwnership(address newOwner
voteOnCandidate(uint256 _chunkNumberbool _inSupportreturns (bool _success)
withdrawDAI(uint256 _amountInDAI
withdrawEther(uint256 _amountInDAI
withdrawToken(address _tokenAddruint256 _amountInDAI
Events
ChangedPhase(uint256 indexed _cycleNumberuint256 indexed _newPhaseuint256 _timestampuint256 _totalFundsInDAI
CommissionPaid(uint256 indexed _cycleNumberaddress indexed _senderuint256 _commission
CreatedCompoundOrder(uint256 indexed _cycleNumberaddress indexed _senderuint256 _idaddress _orderbool _orderTypeaddress _tokenAddressuint256 _stakeInWeisuint256 _costDAIAmount
CreatedInvestment(uint256 indexed _cycleNumberaddress indexed _senderuint256 _idaddress _tokenAddressuint256 _stakeInWeisuint256 _buyPriceuint256 _costDAIAmountuint256 _tokenAmount
Deposit(uint256 indexed _cycleNumberaddress indexed _senderaddress _tokenAddressuint256 _tokenAmountuint256 _daiAmountuint256 _timestamp
DeveloperInitiatedUpgrade(uint256 indexed _cycleNumberaddress _candidate
FinalizedNextVersion(uint256 indexed _cycleNumberaddress _nextVersion
InitiatedUpgrade(uint256 indexed _cycleNumber
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
ProposedCandidate(uint256 indexed _cycleNumberuint256 indexed _voteIDaddress indexed _senderaddress _candidate
Register(address indexed _manageruint256 _donationInDAIuint256 _kairoReceived
RepaidCompoundOrder(uint256 indexed _cycleNumberaddress indexed _senderuint256 _idaddress _orderuint256 _repaidDAIAmount
SignaledUpgrade(uint256 indexed _cycleNumberaddress indexed _senderbool indexed _inSupport
SoldCompoundOrder(uint256 indexed _cycleNumberaddress indexed _senderuint256 _idaddress _orderbool _orderTypeaddress _tokenAddressuint256 _receivedKairouint256 _earnedDAIAmount
SoldInvestment(uint256 indexed _cycleNumberaddress indexed _senderuint256 _idaddress _tokenAddressuint256 _receivedKairouint256 _sellPriceuint256 _earnedDAIAmount
TotalCommissionPaid(uint256 indexed _cycleNumberuint256 _totalCommissionInDAI
Voted(uint256 indexed _cycleNumberuint256 indexed _voteIDaddress indexed _senderbool _inSupportuint256 _weight
Withdraw(uint256 indexed _cycleNumberaddress indexed _senderaddress _tokenAddressuint256 _tokenAmountuint256 _daiAmountuint256 _timestamp
Constructor
constructor(address _kroAddraddress _sTokenAddraddress _devFundingAccountuint256[2] _phaseLengthsuint256 _devFundingRateaddress _previousVersionaddress _daiAddraddress _kyberAddraddress _compoundFactoryAddraddress _betokenLogic
Fallback and receive
fallback(
Errors

This contract contains no error objects.