YUANRebaser
Verified contract
Active on
Ethereum with 87 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 2 additional slots
-
variable spans 2 additional slots
3 additional
variables
Balances ($0.00)
No balances found for "YUANRebaser"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 12387714 | 4 years ago | | | 0 | 0.030421972 | |
| 12384598 | 4 years ago | | | 0 | 0.017152814 | |
| 12381344 | 4 years ago | | | 0 | 0.025733934 | |
| 12378105 | 4 years ago | | | 0 | 0.014332824 | |
| 12374774 | 4 years ago | | | 0 | 0.044627202 | |
| 12371617 | 4 years ago | | | 0 | 0.014007078 | |
| 12368385 | 4 years ago | | | 0 | 0.031597362 | |
| 12365113 | 4 years ago | | | 0 | 0.020382601 | |
| 12361903 | 4 years ago | | | 0 | 0.019094642 | |
| 11650653 | 4 years ago | | | 0 | 0.0084361700 |
ABI
ABI objects
Getter at block 21208526 getCurrentExchangeRate() 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)
1620398139
deviationThreshold() view returns (uint256)
50000000000000000
epoch() view returns (uint256)
78
getBalGulpPairs() view returns (address[])
[]
getCurrentTWAP() view returns (uint256)
14020490918621018
getUniSyncPairs() view returns (address[])
[0xf0e5eb0B92F8427577469cC9B27eF67AeA19F115, 0x47616Af05169FdF78Ae79E68dF2d75AF13f42b9a]
gov() view returns (address)
0xbc2015a541e30c9c352ee2f2f9e90e5219b298e2
isToken0() view returns (bool)
true
lastRebaseTimestampSec() view returns (uint256)
1620396000
maxSlippageFactor() view returns (uint256)
54092580000000000
minRebaseTimeIntervalSec() view returns (uint256)
43200
pendingGov() view returns (address)
0x0000000000000000000000000000000000000000
priceCumulativeLast() view returns (uint256)
317780378184620315267727261889644610733824
priceOracle() view returns (address)
0x95122089705594960a7c2074206d01679b073e69
public_goods() view returns (address)
0x0000000000000000000000000000000000000000
public_goods_perc() view returns (uint256)
0
rebaseDelay() view returns (uint256)
777600
rebaseLag() view returns (uint256)
10
rebaseWindowLengthSec() view returns (uint256)
3600
rebaseWindowOffsetSec() view returns (uint256)
7200
rebasingActive() view returns (bool)
true
reserveToken() view returns (address)
0xeb269732ab75a6fd61ea60b06fe994cd32a83549
targetRate() view returns (uint256)
1000000000000000000
timeOfTWAPInit() view returns (uint256)
1604549361
uniswap_pair() view returns (address)
0xf0e5eb0b92f8427577469cc9b27ef67aea19f115
yuanAddress() view returns (address)
0x4a3e164684812dfb684ac36457e7fa805087c68e
Read-only
balGulpPairs(uint256) view returns (address)
rebaseMintPercs(uint256) view returns (uint256)
reservesContracts(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_)
setPriceOracle(address priceOracle_)
setRebaseLag(uint256 rebaseLag_)
setRebaseMintPerc(uint256 reserveIndex_, uint256 rebaseMintPerc_)
setRebaseTimingParameters(uint256 minRebaseTimeIntervalSec_, uint256 rebaseWindowOffsetSec_, uint256 rebaseWindowLengthSec_)
setReserveContract(uint256 reserveIndex_, address reservesContract_)
setTargetRate(uint256 targetRate_)
setTransactionEnabled(uint256 index, bool enabled)
uniswapV2Call(address sender, uint256 amount0, uint256 amount1, bytes data)
NewDeviationThreshold(uint256 oldDeviationThreshold, uint256 newDeviationThreshold)
NewGov(address oldGov, address newGov)
NewMaxSlippageFactor(uint256 oldSlippageFactor, uint256 newSlippageFactor)
NewPendingGov(address oldPendingGov, address newPendingGov)
NewPriceOracle(address oldPriceOracle, address newPriceOracle)
NewRebaseMintPercent(uint256 reserveIndex, uint256 oldRebaseMintPerc, uint256 newRebaseMintPerc)
NewReserveContract(uint256 reserveIndex, address oldReserveContract, address newReserveContract)
TransactionFailed(address indexed destination, uint256 index, bytes data)
TreasuryIncreased(uint256 reservesAdded, uint256 yuansSold, uint256 yuansFromReserves, uint256 yuansToReserves)
constructor(address yuanAddress_, address reserveToken_, address uniswap_factory, address[3] reservesContracts_, address public_goods_, uint256 public_goods_perc_, address priceOracle_)
This contract contains no fallback and receive objects.
This contract contains no error objects.