UniversalBuyAndBurn

Verified contract

Active on Ethereum with 2,189 txns
Deployed by via 0xde9e797f at 20921998
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 1 additional slot
ERC-20
Value $19,018.63
ERC-20
Value $14,962.72
ERC-20
Value $13,803.98
ERC-20
Value $10,135.56
ERC-20
Value $6,027.58
ERC-20
Value $79.54
ERC-20
--
0x0b56729ba84a4c74f9616c37cdd4460c06e3cd0fb9fbe0ad151a07f6880c5df0
0x6c91e858c98332de89ca3048e347c37e6f773fee6bdd25e71e9bfda80d151d75
0xa9e8823e6fec9e1f9b858271882604af2da7515f2b6a75e937f716fa08c4dcde
0x52801330ec749a6f07fac39fa69d81577f896142aab6f38cb44fbd6516d2d0e9
0x99f1d773f7eba0cc75dffb96ce65abfaff653ceb3141d2b58162e74411d550f8
0x39bc69e5298221165017421d7757f4101db7cf95e8ddb4eebe49b64c8049f86b
0xb8bb1d461dd70061c1fe1c3c75addfdc0bcf586b3d17d5a538e9ac55dd58371d
0xf32abb598a37d6df9dc98a533082c3cb0f58c06594043ab95b9bc9ff252e7f50
0x5328c9e5134641f9527f0215cc628d13d2c9693bbdfb3d484c12fd33e3faf5f5
0x65729557bd7f446892ef6099f758ecf1f817d721cebb2142eec72beede06acd5

Functions
Getter at block 21243127
authority(view returns (address)
0x598d291d3e8f483790ebac729db148a88e8c3780
 
inputTokens(view returns (struct InputTokenView[])
isConsumingScheduledOp(view returns (bytes4)
0x00000000
outputToken(view returns (address)
0x6532b3f1e4dbff542fbd6befe5ed7041c10b385a
totalOutputTokensBurned(view returns (uint256)
623235403044165556278200
Read-only
estimateMinimumOutputAmount(bytes pathuint256 slippageuint256 twapuint256 inputAmountview returns (uint256 amountOutMinimum)
getQuote(address inputTokenAddressaddress outputTokenAddressuint24 feeuint256 twapuint256 inputTokenAmountview returns (uint256 quoteuint32 secondsAgo)
inputToken(address inputTokenAddressview returns (struct InputTokenView inputTokenView)
isInputToken(address inputTokenAddressview returns (bool)
State-modifying
buyAndBurn(address inputTokenAddress
enableInputToken(struct UniversalBuyAndBurnEnableInputToken params
multicall(bytes[] datareturns (bytes[] results)
setAuthority(address newAuthority
setBurnPercentage(address inputTokenAddressuint256 burnPercentage
setBurnProxy(address inputTokenAddressaddress proxy
setBuyAndBurnInterval(address inputTokenAddressuint256 secs
setCapPerSwap(address inputTokenAddressuint256 amount
setDisabled(address farmKeeperaddress[] farmIdsaddress inputTokenAddressbool disabled
setIncentiveFee(address inputTokenAddressuint256 incentiveFee
setPaused(address inputTokenAddressbool paused
setPriceTwa(address inputTokenAddressuint32 mins
setSlippage(address inputTokenAddressuint256 slippage
setSwapPath(address inputTokenAddressbytes path
Events
AuthorityUpdated(address authority
BurnPercentageUpdated(address indexed inputTokenAddressuint256 newPercentage
BurnProxyUpdated(address indexed inputTokenAddressaddress newProxy
BuyAndBurn(address indexed inputTokenAddressuint256 toBuyuint256 toBurnuint256 incentiveFeeuint256 outputTokensBurnedaddress caller
BuyAndBurnIntervalUpdated(address indexed inputTokenAddressuint256 newInterval
CapPerSwapUpdated(address indexed inputTokenAddressuint256 newCap
DisabledUpdated(address indexed inputTOkenAddressbool disabled
IncentiveFeeUpdated(address indexed inputTokenAddressuint256 newFee
InputTokenEnabled(address indexed inputTokenAddressstruct UniversalBuyAndBurnEnableInputToken params
PausedUpdated(address indexed inputTokenAddressbool paused
PriceTwaUpdated(address indexed inputTokenAddressuint32 newTwa
SlippageUpdated(address indexed inputTokenAddressuint256 newSlippage
SwapPathUpdated(address indexed inputTokenAddressbytes newPath
Constructor
constructor(address outputToken_address manager
Fallback and receive

This contract contains no fallback and receive objects.

Errors
AccessManagedInvalidAuthority(address authority
AccessManagedRequiredDelay(address calleruint32 delay
AccessManagedUnauthorized(address caller
AddressEmptyCode(address target
AddressInsufficientBalance(address account
CooldownPeriodActive(
FailedInnerCall(
InputTokenAlreadyEnabled(
InputTokenPaused(
InvalidBurnPercentage(
InvalidBurnProxy(
InvalidCaller(
InvalidCapPerSwap(
InvalidIncentiveFee(
InvalidInputTokenAddress(
InvalidInterval(
InvalidPriceTwa(
InvalidSlippage(
InvalidSwapPath(
MathOverflowedMulDiv(
NoInputTokenBalance(
ReentrancyGuardReentrantCall(
SafeCastOverflowedUintDowncast(uint8 bitsuint256 value
SafeERC20FailedOperation(address token