EpochCoordinator
Verified contract
Active on
Ethereum with 76 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0x8b35…2b48
0xfe37…ef52
-
variable spans 3 additional slots
-
variable spans 3 additional slots
3 additional
variables
Balances ($0.00)
No balances found for "EpochCoordinator"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21222758 | 23 days ago | | | 0 | 0.0070166685 | |
| 21222602 | 23 days ago | | | 0 | 0.0043182956 | |
| 21222596 | 23 days ago | | | 0 | 0.033696778 | |
| 21195489 | a month ago | | | 0 | 0.010643347 | |
| 21193935 | a month ago | | | 0 | 0.0051889320 | |
| 21193919 | a month ago | | | 0 | 0.042008098 | |
| 21117131 | a month ago | | | 0 | 0.025365397 | |
| 21087207 | a month ago | | | 0 | 0.025863856 | |
| 21072004 | a month ago | | | 0 | 0.026124039 | |
| 21014700 | 2 months ago | | | 0 | 0.00043214990 |
ABI
ABI objects
Getter at block 21384032
BIG_NUMBER() view returns (uint256)
1000000000000000000000000000000000000000000000000000000
ERR_CURRENCY_AVAILABLE() view returns (int256)
-1
ERR_MAX_ORDER() view returns (int256)
-2
ERR_MAX_RESERVE() view returns (int256)
-3
ERR_MAX_SENIOR_RATIO() view returns (int256)
-5
ERR_MIN_SENIOR_RATIO() view returns (int256)
-4
ERR_NOT_NEW_BEST() view returns (int256)
-6
ERR_POOL_CLOSING() view returns (int256)
-7
NEW_BEST() view returns (int256)
0
SUCCESS() view returns (int256)
0
assessor() view returns (address)
0xfe37f99cd0597164bfdabfb7c9f98e4fc44bef52
bestRatioImprovement() view returns (uint256)
0
bestReserveImprovement() view returns (uint256)
0
bestSubScore() view returns (uint256)
0
bestSubmission() view returns (uint256 seniorRedeem, uint256 juniorRedeem, uint256 juniorSupply, uint256 seniorSupply)
(seniorRedeem=0, juniorRedeem=613901615740348, juniorSupply=0, seniorSupply=0)
challengeTime() view returns (uint256)
1800
currentEpoch() view returns (uint256)
53
epochJuniorTokenPrice() view returns (uint256 value)
1306753581902533619725353168
epochNAV() view returns (uint256)
0
epochReserve() view returns (uint256)
7143471044472883207
epochSeniorAsset() view returns (uint256)
5000000000000000001
epochSeniorTokenPrice() view returns (uint256 value)
1000000000000000000000000000
gotFullValidSolution() view returns (bool)
false
juniorTranche() view returns (address)
0x16b2f938568dfc8fea7cec55e8270fec985bdfe2
lastEpochClosed() view returns (uint256)
1732029155
lastEpochExecuted() view returns (uint256)
52
minChallengePeriodEnd() view returns (uint256)
0
minimumEpochTime() view returns (uint256)
85800
order() view returns (uint256 seniorRedeem, uint256 juniorRedeem, uint256 juniorSupply, uint256 seniorSupply)
(seniorRedeem=0, juniorRedeem=2143471044472883167, juniorSupply=0, seniorSupply=0)
poolClosing() view returns (bool)
false
seniorTranche() view returns (address)
0x8b35c25ed7f60bdecaca2ac093f1dc8522642b48
submissionPeriod() view returns (bool)
false
weightJuniorRedeem() view returns (uint256)
100000
weightJuniorSupply() view returns (uint256)
10000
weightSeniorRedeem() view returns (uint256)
1000000
weightSeniorSupply() view returns (uint256)
1000
Read-only
absDistance(uint256 x, uint256 y) pure returns (uint256 delta)
calcFulfillment(uint256 amount, uint256 totalOrder) pure returns (uint256 percent)
calcNewReserve(uint256 seniorRedeem, uint256 juniorRedeem, uint256 seniorSupply, uint256 juniorSupply) view returns (uint256 newReserve)
checkRatioInRange(uint256 ratio, uint256 minRatio, uint256 maxRatio) pure returns (bool)
rdiv(uint256 x, uint256 y) pure returns (uint256 z)
rmul(uint256 x, uint256 y) pure returns (uint256 z)
safeAdd(uint256 x, uint256 y) pure returns (uint256 z)
safeDiv(uint256 x, uint256 y) pure returns (uint256 z)
safeMul(uint256 x, uint256 y) pure returns (uint256 z)
safeSub(uint256 x, uint256 y) pure returns (uint256 z)
scoreImprovement(uint256 newSeniorRatio_, uint256 newReserve_) view returns (int256 err, uint256 impScoreRatio, uint256 impScoreReserve)
scoreRatioImprovement(uint256 newSeniorRatio) view returns (uint256 score)
scoreReserveImprovement(uint256 newReserve_) view returns (uint256 score)
scoreSolution(uint256 seniorRedeem, uint256 juniorRedeem, uint256 juniorSupply, uint256 seniorSupply) view returns (uint256 score)
validate(uint256 reserve_, uint256 nav_, uint256 seniorAsset_, uint256 seniorRedeem, uint256 juniorRedeem, uint256 seniorSupply, uint256 juniorSupply) view returns (int256 err)
validate(uint256 seniorRedeem, uint256 juniorRedeem, uint256 seniorSupply, uint256 juniorSupply) view returns (int256 err)
validateCoreConstraints(uint256 currencyAvailable, uint256 currencyOut, uint256 seniorRedeem, uint256 juniorRedeem, uint256 seniorSupply, uint256 juniorSupply) view returns (int256 err)
validatePoolConstraints(uint256 reserve_, uint256 seniorAsset, uint256 nav_) view returns (int256 err)
validateRatioConstraints(uint256 assets, uint256 seniorAsset) view returns (int256 err)
wards(address) view returns (uint256)
State-modifying
Events closeEpoch() returns (bool epochExecuted)
deny(address usr)
depend(bytes32 contractName, address addr)
executeEpoch()
file(bytes32 name, bool value)
file(bytes32 name, uint256 value)
rely(address usr)
submitSolution(uint256 seniorRedeem, uint256 juniorRedeem, uint256 juniorSupply, uint256 seniorSupply) returns (int256 accepted)
Deny(address indexed usr)
Depend(bytes32 indexed contractName, address addr)
File(bytes32 indexed name, bool value)
File(bytes32 indexed name, uint256 value)
Rely(address indexed usr)
constructor(uint256 challengeTime_)
This contract contains no fallback and receive objects.
This contract contains no error objects.