YAMRebaser2
Verified contract
Active on
Ethereum with 141 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
4 additional
variables
Balances ($0.00)
No balances found for "YAMRebaser2"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 11546772 | 4 years ago | | | 0 | 0.0021310960 | |
| 11544617 | 4 years ago | | | 0 | 0.031344768 | |
| 11541442 | 4 years ago | | | 0 | 0.020079540 | |
| 11524205 | 4 years ago | | | 0 | 0.00082047196 | |
| 11519744 | 4 years ago | | | 0 | 0.0024217000 | |
| 11508613 | 4 years ago | | | 0 | 0.0028464000 | |
| 11508590 | 4 years ago | | | 0 | 0.050593632 | |
| 11506000 | 4 years ago | | | 0 | 0.0012661800 | |
| 11502631 | 4 years ago | | | 0 | 0.0014189298 | |
| 11502631 | 4 years ago | | | 0 | 0.0014189298 |
ABI
ABI objects
Getter at block 21382108 getCurrentTWAP() view returns (uint256) inRebaseWindow() view returns (bool)
BASE() view returns (uint256)
1000000000000000000
MAX_MINT_PERC_PARAM() view returns (uint256)
250000000000000000
MAX_SLIPPAGE_PARAM() view returns (uint256)
118033900000000000
blockTimestampLast() view returns (uint32)
1609186988
deviationThreshold() view returns (uint256)
50000000000000000
epoch() view returns (uint256)
41
eth_usdc_pair() view returns (address)
0x397ff1542f962076d0bfe58ea045ffa2d347aca0
getBalGulpPairs() view returns (address[])
[]
getUniSyncPairs() view returns (address[])
[0xb93Cc05334093c6B3b8Bfd29933bb8d5C031caBC, 0xe2aAb7232a9545F29112f9e6441661fD6eEB0a5d, 0x0F82E57804D0B1F6FAb2370A43dcFAd3c7cB239c]
gov() view returns (address)
0x8b4f1616751117c38a0f84f9a146cca191ea3ec5
isToken0() view returns (bool)
true
lastRebaseTimestampSec() view returns (uint256)
1609185600
maxSlippageFactor() view returns (uint256)
25978360000000000
minRebaseTimeIntervalSec() view returns (uint256)
43200
pendingGov() view returns (address)
0x0000000000000000000000000000000000000000
priceCumulativeLastETHUSDC() view returns (uint256)
22725993665948421384712189128448
priceCumulativeLastYAMETH() view returns (uint256)
446684807813124021967777142595286186117390285952423
public_goods() view returns (address)
0xde21f729137c5af1b01d73af1dc21effa2b8a0d6
public_goods_perc() view returns (uint256)
10000000000000000
rebaseDelay() view returns (uint256)
43200
rebaseLag() view returns (uint256)
20
rebaseMintPerc() view returns (uint256)
50000000000000000
rebaseWindowLengthSec() view returns (uint256)
3600
rebaseWindowOffsetSec() view returns (uint256)
28800
rebasingActive() view returns (bool)
true
reserveToken() view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
reservesContract() view returns (address)
0x97990b693835da58a281636296d2bf02787dea17
targetRate() view returns (uint256)
1000000000000000000
timeOfTWAPInit() view returns (uint256)
1604446396
trade_pair() view returns (address)
0x0f82e57804d0b1f6fab2370a43dcfad3c7cb239c
yamAddress() view returns (address)
0x0aacfbec6a24756c20d41914f2caba817c0d8521
Read-only
balGulpPairs(uint256) view returns (address)
transactions(uint256) view returns (bool enabled, address destination, bytes data)
uniSyncPairs(uint256) view returns (address)
State-modifying
Events _acceptGov()
_setPendingGov(address pendingGov_)
activate_rebasing()
addSyncPairs(address[] uniSyncPairs_, address[] balGulpPairs_)
addTransaction(address destination, bytes data)
init_twap()
rebase()
removeBalPair(uint256 index)
removeTransaction(uint256 index)
removeUniPair(uint256 index)
rescueTokens(address token, address to, uint256 amount) returns (bool)
setDeviationThreshold(uint256 deviationThreshold_)
setMaxSlippageFactor(uint256 maxSlippageFactor_)
setRebaseLag(uint256 rebaseLag_)
setRebaseMintPerc(uint256 rebaseMintPerc_)
setRebaseTimingParameters(uint256 minRebaseTimeIntervalSec_, uint256 rebaseWindowOffsetSec_, uint256 rebaseWindowLengthSec_)
setReserveContract(address reservesContract_)
setTargetRate(uint256 targetRate_)
setTransactionEnabled(uint256 index, bool enabled)
uniswapV2Call(address sender, uint256 amount0, uint256 amount1, bytes data)
MintAmount(uint256 mintAmount)
NewDeviationThreshold(uint256 oldDeviationThreshold, uint256 newDeviationThreshold)
NewGov(address oldGov, address newGov)
NewMaxSlippageFactor(uint256 oldSlippageFactor, uint256 newSlippageFactor)
NewPendingGov(address oldPendingGov, address newPendingGov)
NewRebaseMintPercent(uint256 oldRebaseMintPerc, uint256 newRebaseMintPerc)
NewReserveContract(address oldReserveContract, address newReserveContract)
TransactionFailed(address indexed destination, uint256 index, bytes data)
TreasuryIncreased(uint256 reservesAdded, uint256 yamsSold, uint256 yamsFromReserves, uint256 yamsToReserves)
constructor(address yamAddress_, address reserveToken_, address factory, address reservesContract_, address public_goods_, uint256 public_goods_perc_)
This contract contains no fallback and receive objects.
This contract contains no error objects.