YUANRebaser

Verified contract

Active on Ethereum with 87 txns
Deployed by via 0x8691e98d at 11189190
Slot
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

No balances found for "YUANRebaser"

0xea833cac07502814f1b0e308e469d71e91b54c4cbfce76b63221d4c5b24a2c11
0x97298ca464fa3ac829e8c154509aad1beb57dfcc9511af36af7b66a167b4b6f1
0x2b83754231da10e9a5017b9367470ee11280529ca96d1ec6e383b3012947b79b
0xed7987b82d33c68d74527f98d99377eed2b2abd9e006966df760efad775d11ff
0xc56d626631e2742e53440a33a5efd69a1104325a75363dbbd0d2e39fd452bc54
0xad87d8e826e9f03ef2d8b4b1f610c269671b53eb1cb0be2a8c378abe33c33d8d
0x4c9d1c4459cf4440bd4825b07c9fccf069d8f482f41f53a8500ebb2917262467
0x11212265f0053ad2cc6b47699b7acd33fb3850f1009790da67d5fde31c975ac4
0x4cea061b18dc7df843b0c0f6069b05470593f805abeaef0fe30e6c4279f7b07c
0x6aa49c5b11bdacd9f3cd8daba634aa5e184b5b4fd39033904b7ea95d32615e82

Functions
Getter at block 21208526
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[])
[]
 
getCurrentExchangeRate(view returns (uint256)
getCurrentTWAP(view returns (uint256)
14020490918621018
getUniSyncPairs(view returns (address[])
[0xf0e5eb0B92F8427577469cC9B27eF67AeA19F115, 0x47616Af05169FdF78Ae79E68dF2d75AF13f42b9a]
gov(view returns (address)
0xbc2015a541e30c9c352ee2f2f9e90e5219b298e2
 
inRebaseWindow(view returns (bool)
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(uint256view returns (address)
rebaseMintPercs(uint256view returns (uint256)
reservesContracts(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_
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 indexbool enabled
uniswapV2Call(address senderuint256 amount0uint256 amount1bytes data
Events
NewDeviationThreshold(uint256 oldDeviationThresholduint256 newDeviationThreshold
NewGov(address oldGovaddress newGov
NewMaxSlippageFactor(uint256 oldSlippageFactoruint256 newSlippageFactor
NewPendingGov(address oldPendingGovaddress newPendingGov
NewPriceOracle(address oldPriceOracleaddress newPriceOracle
NewRebaseMintPercent(uint256 reserveIndexuint256 oldRebaseMintPercuint256 newRebaseMintPerc
NewReserveContract(uint256 reserveIndexaddress oldReserveContractaddress newReserveContract
TransactionFailed(address indexed destinationuint256 indexbytes data
TreasuryIncreased(uint256 reservesAddeduint256 yuansSolduint256 yuansFromReservesuint256 yuansToReserves
Constructor
constructor(address yuanAddress_address reserveToken_address uniswap_factoryaddress[3] reservesContracts_address public_goods_uint256 public_goods_perc_address priceOracle_
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.