PriceRegistry
Verified contract
Active on
Ethereum with 62 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 1 additional slot
-
variable spans 1 additional slot
Balances ($0.00)
No balances found for "PriceRegistry"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21113428 | 12 days ago | | | 0 | 0.00038894527 | |
| 21074166 | 17 days ago | | | 0 | 0.00030423305 | |
| 20979595 | a month ago | | | 0 | 0.0017349600 | |
| 20977653 | a month ago | | | 0 | 0.00054515291 | |
| 20971187 | a month ago | | | 0 | 0.0015811167 | |
| 20970131 | a month ago | | | 0 | 0.00079826778 | |
| 20968485 | a month ago | | | 0 | 0.00063282855 | |
| 20951789 | a month ago | | | 0 | 0.00040892959 | |
| 20948347 | a month ago | | | 0 | 0.00065911311 | |
| 20948324 | a month ago | | | 0 | 0.00049783103 |
ABI
ABI objects
Getter at block 21199477 getPriceUpdaters() view returns (address[])
getFeeTokens() view returns (address[])
[0x514910771AF9Ca656af840dff83E8264EcF986CA, 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2]
getStalenessThreshold() view returns (uint128)
90000
owner() view returns (address)
0x5c19826e72a40cf73681f757d6bf90f5cda89414
typeAndVersion() view returns (string)
PriceRegistry 1.2.0
Read-only
convertTokenAmount(address fromToken, uint256 fromTokenAmount, address toToken) view returns (uint256)
getDestinationChainGasPrice(uint64 destChainSelector) view returns (struct InternalTimestampedPackedUint224)
getTokenAndGasPrices(address token, uint64 destChainSelector) view returns (uint224 tokenPrice, uint224 gasPriceValue)
getTokenPrice(address token) view returns (struct InternalTimestampedPackedUint224)
getTokenPrices(address[] tokens) view returns (struct InternalTimestampedPackedUint224[])
getValidatedTokenPrice(address token) view returns (uint224)
State-modifying
Events acceptOwnership()
applyFeeTokensUpdates(address[] feeTokensToAdd, address[] feeTokensToRemove)
applyPriceUpdatersUpdates(address[] priceUpdatersToAdd, address[] priceUpdatersToRemove)
transferOwnership(address to)
updatePrices(struct InternalPriceUpdates priceUpdates)
FeeTokenAdded(address indexed feeToken)
FeeTokenRemoved(address indexed feeToken)
OwnershipTransferRequested(address indexed from, address indexed to)
OwnershipTransferred(address indexed from, address indexed to)
PriceUpdaterRemoved(address indexed priceUpdater)
PriceUpdaterSet(address indexed priceUpdater)
UsdPerTokenUpdated(address indexed token, uint256 value, uint256 timestamp)
UsdPerUnitGasUpdated(uint64 indexed destChain, uint256 value, uint256 timestamp)
constructor(address[] priceUpdaters, address[] feeTokens, uint32 stalenessThreshold)
This contract contains no fallback and receive objects.
ChainNotSupported(uint64 chain)
InvalidStalenessThreshold()
OnlyCallableByUpdaterOrOwner()
StaleGasPrice(uint64 destChainSelector, uint256 threshold, uint256 timePassed)
StaleTokenPrice(address token, uint256 threshold, uint256 timePassed)
TokenNotSupported(address token)