YAMRebaser2

Verified contract

Active on Ethereum with 141 txns
Deployed by via 0xfdd79c2b at 11185822
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
4 additional variables

No balances found for "YAMRebaser2"

0x7fce37a41c3b9a668967b4d1e64d1cd4cf50a98d77329f4abfd74a7fda16c139
0x0182c53c177c2780896c76fcd80736f30f084d04d00aacaf1d40f3ffa56d90c2
0xbbd262758fc635b19799590e767b4fc5add620396d4069004f2a7643ba5ba493
0xba0d514fcda191e6396c474a42a6f937d05a9229d4ae245c191b7db820b3ac62
0xfa9a708382f3f6abe524851d25352cc47d87e08d3138939e3ec2c031f0711413
0xbfccb2d21be9f83aee2a68e4f51875f54ad370342ea49349ab6e3718e5d42301
0x43c612ba573486ea7aa17a04da8d0e901e44a2da2c0a610e4ea84e2ae6e3ec31
0xdedbfb677dd6d90607774ea7a751c0f18d1106beb2e4853763719fdd1ec3883d
0x96016d3e89c15738db4090392eaa038123e6c2f8cc7466fb1da4c075b148d681
0x572fff81700ee907a4e796805ef24a8ee7a5c02e81b00338ee0b1d7dea246c9b

Functions
Getter at block 21382108
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[])
[]
 
getCurrentTWAP(view returns (uint256)
getUniSyncPairs(view returns (address[])
[0xb93Cc05334093c6B3b8Bfd29933bb8d5C031caBC, 0xe2aAb7232a9545F29112f9e6441661fD6eEB0a5d, 0x0F82E57804D0B1F6FAb2370A43dcFAd3c7cB239c]
gov(view returns (address)
0x8b4f1616751117c38a0f84f9a146cca191ea3ec5
 
inRebaseWindow(view returns (bool)
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(uint256view returns (address)
transactions(uint256view returns (bool enabledaddress destinationbytes data)
uniSyncPairs(uint256view returns (address)
State-modifying
_acceptGov(
_setPendingGov(address pendingGov_
activate_rebasing(
addSyncPairs(address[] uniSyncPairs_address[] balGulpPairs_
addTransaction(address destinationbytes data
init_twap(
rebase(
removeBalPair(uint256 index
removeTransaction(uint256 index
removeUniPair(uint256 index
rescueTokens(address tokenaddress touint256 amountreturns (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 indexbool enabled
uniswapV2Call(address senderuint256 amount0uint256 amount1bytes data
Events
MintAmount(uint256 mintAmount
NewDeviationThreshold(uint256 oldDeviationThresholduint256 newDeviationThreshold
NewGov(address oldGovaddress newGov
NewMaxSlippageFactor(uint256 oldSlippageFactoruint256 newSlippageFactor
NewPendingGov(address oldPendingGovaddress newPendingGov
NewRebaseMintPercent(uint256 oldRebaseMintPercuint256 newRebaseMintPerc
NewReserveContract(address oldReserveContractaddress newReserveContract
TransactionFailed(address indexed destinationuint256 indexbytes data
TreasuryIncreased(uint256 reservesAddeduint256 yamsSolduint256 yamsFromReservesuint256 yamsToReserves
Constructor
constructor(address yamAddress_address reserveToken_address factoryaddress reservesContract_address public_goods_uint256 public_goods_perc_
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.