UniswapAnchoredView
Verified contract
Active on
Ethereum with 1 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.00)
No balances found for "UniswapAnchoredView"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 12869384 | 3 years ago | | | 0 | 0.00057811380 |
ABI
ABI objects
Getter at block 21276015
anchorPeriod() view returns (uint256)
1800
ethBaseUnit() view returns (uint256)
1000000000000000000
expScale() view returns (uint256)
1000000000000000000
lowerBoundAnchorRatio() view returns (uint256)
850000000000000000
maxTokens() view returns (uint256)
25
numTokens() view returns (uint256)
18
owner() view returns (address)
0xbbf3f1421d886e9b2c5d716b5192ac998af2012c
upperBoundAnchorRatio() view returns (uint256)
1150000000000000000
Read-only
getTokenConfig(uint256 i) view returns (struct UniswapConfigTokenConfig)
getTokenConfigByCToken(address cToken) view returns (struct UniswapConfigTokenConfig)
getTokenConfigByReporter(address reporter) view returns (struct UniswapConfigTokenConfig)
getTokenConfigBySymbol(string symbol) view returns (struct UniswapConfigTokenConfig)
getTokenConfigBySymbolHash(bytes32 symbolHash) view returns (struct UniswapConfigTokenConfig)
getTokenConfigByUnderlying(address underlying) view returns (struct UniswapConfigTokenConfig)
getUnderlyingPrice(address cToken) view returns (uint256)
newObservations(bytes32) view returns (uint256 timestamp, uint256 acc)
oldObservations(bytes32) view returns (uint256 timestamp, uint256 acc)
price(string symbol) view returns (uint256)
prices(bytes32) view returns (uint248 price, bool failoverActive)
State-modifying
Events acceptOwnership()
activateFailover(bytes32 symbolHash)
deactivateFailover(bytes32 symbolHash)
pokeFailedOverPrice(bytes32 symbolHash)
transferOwnership(address to)
validate(uint256, int256, uint256, int256 currentAnswer) returns (bool valid)
AnchorPriceUpdated(bytes32 indexed symbolHash, uint256 anchorPrice, uint256 oldTimestamp, uint256 newTimestamp)
FailoverActivated(bytes32 indexed symbolHash)
FailoverDeactivated(bytes32 indexed symbolHash)
OwnershipTransferRequested(address indexed from, address indexed to)
OwnershipTransferred(address indexed from, address indexed to)
PriceGuarded(bytes32 indexed symbolHash, uint256 reporter, uint256 anchor)
PriceUpdated(bytes32 indexed symbolHash, uint256 price)
UniswapWindowUpdated(bytes32 indexed symbolHash, uint256 oldTimestamp, uint256 newTimestamp, uint256 oldPrice, uint256 newPrice)
constructor(uint256 anchorToleranceMantissa_, uint256 anchorPeriod_, struct UniswapConfigTokenConfig[] configs)
This contract contains no fallback and receive objects.
This contract contains no error objects.