This contract is being backfilled. You may encounter incomplete storage history.

TwapDelay

Verified contract

Proxy

Active on Ethereum with 4,688 txns
Deployed by via 0xfda323c1 at 15572237
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
ERC-20
Value $0
0x419749413e0774ad039832d48f603a58391bfec4a7059a4a8a7afce3c70bcf76
0xa63568d55701aa0cb1551cb92c6252754568b2edc97ce6461f071578b5b3e263
0x7d4329878935f8fabbd9b94a44314a1f13206f2c882ed889750ef7c994c04e2d
0x9e932eecb0c7915369c61d7deb33dcaeea5da5d412f4e01c06bce5866359bcde
0x1c0df42bd658290cf39e653768b626379a360cd56ca9312abafb578a367f6cf0
0xc200ce81a894ddbd5775f5c7dda3f9a1487d7c3d84b4de6e74c926630d73976f
0x880aaaa3a898d1f8636c6ff8fcbc9d58dbc9adca3b89fd8ba379f4c1808704db
0x9f13ae8d9d7c618ac9a0a38627453a2fa42607df0b561666c2000739b4b2bd5c
0xc869ea7fe615d42611261c2d7e95b5d2a0cb1cdbe282be954293420175dfd18d
0xe51c7a3548c7071e4d717dd74546496c7420bcdf68caa5a527ce3ecb4224c914

Functions
Getter at block 20795260
delay(view returns (uint32)
1800
factory(view returns (address)
0xc480b33ee5229de3fbdfad1d2dcd3f3bad0c56c6
gasPrice(view returns (uint256)
21785000000
gasPriceInertia(view returns (uint256)
20000000
lastProcessedOrderId(view returns (uint256)
4601
maxGasLimit(view returns (uint256)
5000000
maxGasPriceImpact(view returns (uint256)
1000000
newestOrderId(view returns (uint256)
4601
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)
tolerance(addressview returns (uint16)
totalShares(address tokenview returns (uint256)
uint32ToGasPrice(uint32 gasPrice32pure returns (uint256 gasPrice)
State-modifying
_executeBuy(struct OrdersBuyOrder buyOrderuint256 amountLimitpayable 
_executeDeposit(struct OrdersDepositOrder depositOrderuint256 amountLimit0uint256 amountLimit1payable 
_executeSell(struct OrdersSellOrder sellOrderuint256 amountLimitpayable 
_executeWithdraw(struct OrdersWithdrawOrder withdrawOrderpayable 
_refundLiquidity(address pairaddress touint256 liquiditypayable 
_refundToken(address tokenaddress touint256 sharebool unwrappayable 
_refundTokens(address toaddress token0uint256 share0address token1uint256 share1bool unwrappayable 
buy(struct OrdersBuyParams buyParamspayable returns (uint256 orderId)
cancelOrder(uint256 orderId
deposit(struct OrdersDepositParams depositParamspayable returns (uint256 orderId)
execute(uint256 npayable 
retryRefund(uint256 orderId
sell(struct OrdersSellParams sellParamspayable returns (uint256 orderId)
setBot(address _botbool _isBotpayable 
setDelay(uint32 _delaypayable 
setGasPriceInertia(uint256 _gasPriceInertiapayable 
setMaxGasLimit(uint256 _maxGasLimitpayable 
setMaxGasPriceImpact(uint256 _maxGasPriceImpactpayable 
setOrderDisabled(address pairuint8 orderTypebool disabledpayable 
setOwner(address _ownerpayable 
setTolerance(address pairuint16 amountpayable 
setTransferGasCost(address tokenuint256 gasCostpayable 
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
ToleranceSet(address pairuint16 amount
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
RefundFailed(address indexed toaddress indexed tokenuint256 amountbytes data
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.