TwapDelay

Verified contract

Proxy

Active on Ethereum with 987 txns
Deployed by via 0x564e8096 at 14423137
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 12 additional slots
-
variable spans 1 additional slot
ERC-20
Value $0
0x4a59914b282a6b22c22d8d6b3753bccf65f5ec8d4efc50c9f442eb811fbc179e
0x966ab713818fc0f2375f64062aefe5c5c7dc0aedd6c16c4cec2657a6209abcaf
0x6298b80ec643c2ca68311966a96ec58c3e0fe85faf7d859f569e72651500dc9b
0xd0216b83c1541dd6d2c5d0c9dcb76cc68dc7a29d727de2de7872137598f594e4
0x5a88a60887c0c852c65a2a58e1add25ff5d45607b5abf3080aa28407d84f003c
0x04d752d27ccbc3dba483bc30f0dbb1b85ba208253fa3526184b48778fb6461b1
0xaac82c90a878986b3bc78ba9e707301b0f33ed9653ef7f6e84df3f70ea0cfc7c
0xe4499a46def219fc83940ac776425fe4979234e2b457ac2f39b5a054a0c08b41
0xd8604202680ee27c16cb60b63c6f0bcc70b43c573b57423ec0d54157bd794019
0x24003ae3f9a1d4edb64bb476a033ff89fabba03088614ec08570d482bbc3283c

Functions
Getter at block 20893925
delay(view returns (uint32)
1800
factory(view returns (address)
0xc480b33ee5229de3fbdfad1d2dcd3f3bad0c56c6
gasPrice(view returns (uint256)
21580000000
gasPriceInertia(view returns (uint256)
20000000
lastProcessedOrderId(view returns (uint256)
493
maxGasLimit(view returns (uint256)
5000000
maxGasPriceImpact(view returns (uint256)
1000000
newestOrderId(view returns (uint256)
493
owner(view returns (address)
0xab066655a991550debaec0aa1cdd4f3bd7bb5483
weth(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
 
ETHER_TRANSFER_CALL_COST(view returns (uint256)
 
ORDER_BASE_COST(view returns (uint256)
 
PAIR_TRANSFER_COST(view returns (uint256)
 
REFUND_BASE_COST(view returns (uint256)
Read-only
getBuyDisabled(address pairview returns (bool)
getBuyOrder(uint256 orderIdview returns (struct OrdersBuyOrder order)
getDepositDisabled(address pairview returns (bool)
getDepositOrder(uint256 orderIdview returns (struct OrdersDepositOrder order)
getOrder(uint256 orderIdview returns (uint8 orderTypeuint32 validAfterTimestamp)
getOrderStatus(uint256 orderIdview returns (uint8)
getSellDisabled(address pairview returns (bool)
getSellOrder(uint256 orderIdview returns (struct OrdersSellOrder order)
getTransferGasCost(address tokenview returns (uint256 gasCost)
getWithdrawDisabled(address pairview returns (bool)
getWithdrawOrder(uint256 orderIdview returns (struct OrdersWithdrawOrder order)
isBot(addressview returns (bool)
isOrderCanceled(uint256 orderIdview returns (bool)
totalShares(address tokenview returns (uint256)
uint32ToGasPrice(uint32 gasPrice32pure returns (uint256 gasPrice)
State-modifying
_executeBuy(struct OrdersBuyOrder buyOrder
_executeDeposit(struct OrdersDepositOrder depositOrder
_executeSell(struct OrdersSellOrder sellOrder
_executeWithdraw(struct OrdersWithdrawOrder withdrawOrder
_refundLiquidity(address pairaddress touint256 liquidity
_refundToken(address tokenaddress touint256 sharebool unwrap
_refundTokens(address toaddress token0uint256 share0address token1uint256 share1bool unwrap
buy(struct OrdersBuyParams buyParamspayable returns (uint256 orderId)
cancelOrder(uint256 orderId
deposit(struct OrdersDepositParams depositParamspayable returns (uint256 orderId)
execute(uint256 n
retryRefund(uint256 orderId
sell(struct OrdersSellParams sellParamspayable returns (uint256 orderId)
setBot(address _botbool _isBot
setDelay(uint32 _delay
setGasPriceInertia(uint256 _gasPriceInertia
setMaxGasLimit(uint256 _maxGasLimit
setMaxGasPriceImpact(uint256 _maxGasPriceImpact
setOrderDisabled(address pairuint8 orderTypebool disabled
setOwner(address _owner
setTransferGasCost(address tokenuint256 gasCost
withdraw(struct OrdersWithdrawParams withdrawParamspayable returns (uint256 orderId)
Events
BotSet(address botbool isBot
DelaySet(uint256 delay
EthRefund(address indexed tobool indexed successuint256 value
Execute(address senderuint256 n
GasPriceInertiaSet(uint256 gasPriceInertia
MaxGasLimitSet(uint256 maxGasLimit
MaxGasPriceImpactSet(uint256 maxGasPriceImpact
OrderDisabled(address pairuint8 orderTypebool disabled
OrderExecuted(uint256 indexed idbool indexed successbytes datauint256 gasSpentuint256 ethRefunded
OwnerSet(address owner
RefundFailed(address indexed toaddress indexed tokenuint256 amountbytes data
TransferGasCostSet(address tokenuint256 gasCost
UnwrapFailed(address touint256 amount
BuyEnqueued(uint256 indexed orderIduint32 validAfterTimestampuint256 gasPrice
DepositEnqueued(uint256 indexed orderIduint32 validAfterTimestampuint256 gasPrice
GasPriceInertiaSet(uint256 gasPriceInertia
MaxGasLimitSet(uint256 maxGasLimit
MaxGasPriceImpactSet(uint256 maxGasPriceImpact
OrderDisabled(address pairuint8 orderTypebool disabled
SellEnqueued(uint256 indexed orderIduint32 validAfterTimestampuint256 gasPrice
TransferGasCostSet(address tokenuint256 gasCost
WithdrawEnqueued(uint256 indexed orderIduint32 validAfterTimestampuint256 gasPrice
Constructor
constructor(address _factoryaddress _wethaddress _bot
Fallback and receive
receive(
Errors

This contract contains no error objects.