TwapDelay
Verified contract
Proxy
Active on
Ethereum with 827 txns
Unified storage
Map
Table
Raw
Constants and immutables
25
Slot
XX
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
Balances ($0.00)
No balances found for "TwapDelay"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 17860238 | a year ago | | | 0 | 0.00047869914 | |
| 17860238 | a year ago | | | 0 | 0.00047869914 | |
| 17860238 | a year ago | | | 0 | 0.00047869914 | |
| 17860237 | a year ago | | | 0 | 0.00069981207 | |
| 17860232 | a year ago | | | 0 | 0.00043762564 | |
| 17860232 | a year ago | | | 0 | 0.00043762564 | |
| 17860232 | a year ago | | | 0 | 0.00043762564 | |
| 17860231 | a year ago | | | 0 | 0.00065978421 | |
| 17860229 | a year ago | | | 0 | 0.00046843772 | |
| 17860229 | a year ago | | | 0 | 0.00046843772 |
ABI
ABI objects
Getter at block 21291906 BUY_INVERTED_TYPE() view returns (uint256) BUY_TYPE() view returns (uint256) DEPOSIT_TYPE() view returns (uint256) 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) SELL_INVERTED_TYPE() view returns (uint256) SELL_TYPE() view returns (uint256) WITHDRAW_TYPE() view returns (uint256)
delay() view returns (uint256)
1800
factory() view returns (address)
0xc480b33ee5229de3fbdfad1d2dcd3f3bad0c56c6
gasPrice() view returns (uint256)
18024300033
gasPriceInertia() view returns (uint256)
20000000
lastProcessedOrderId() view returns (uint256)
830
maxGasLimit() view returns (uint256)
5000000
maxGasPriceImpact() view returns (uint256)
1000000
newestOrderId() view returns (uint256)
830
owner() view returns (address)
0xab066655a991550debaec0aa1cdd4f3bd7bb5483
weth() view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Read-only
getBuyDisabled(address pair) view returns (bool)
getDepositDisabled(address pair) view returns (bool)
getOrderStatus(uint256 orderId, uint256 validAfterTimestamp) view returns (uint8)
getSellDisabled(address pair) view returns (bool)
getTransferGasCost(address token) view returns (uint256 gasCost)
getWithdrawDisabled(address pair) view returns (bool)
isBot(address) view returns (bool)
isOrderCanceled(uint256 orderId) view returns (bool)
tolerance(address) view returns (uint16)
totalShares(address token) view returns (uint256)
State-modifying
Events _executeBuy(struct OrdersOrder order) payable
_executeDeposit(struct OrdersOrder order) payable
_executeSell(struct OrdersOrder order) payable
_executeWithdraw(struct OrdersOrder order) payable
_refundLiquidity(address pair, address to, uint256 liquidity) payable
_refundToken(address token, address to, uint256 share, bool unwrap) payable
_refundTokens(address to, address token0, uint256 share0, address token1, uint256 share1, bool unwrap) payable
buy(struct OrdersBuyParams buyParams) payable returns (uint256 orderId)
cancelOrder(struct OrdersOrder order)
deposit(struct OrdersDepositParams depositParams) payable returns (uint256 orderId)
execute(struct OrdersOrder[] _orders) payable
retryRefund(struct OrdersOrder order)
sell(struct OrdersSellParams sellParams) payable returns (uint256 orderId)
setBot(address _bot, bool _isBot) payable
setDelay(uint32 _delay) payable
setGasPriceInertia(uint256 _gasPriceInertia) payable
setMaxGasLimit(uint256 _maxGasLimit) payable
setMaxGasPriceImpact(uint256 _maxGasPriceImpact) payable
setOrderDisabled(address pair, uint8 orderType, bool disabled) payable
setOwner(address _owner) payable
setTolerance(address pair, uint16 amount) payable
setTransferGasCost(address token, uint256 gasCost) payable
withdraw(struct OrdersWithdrawParams withdrawParams) payable returns (uint256 orderId)
BotSet(address bot, bool isBot)
DelaySet(uint256 delay)
EthRefund(address indexed to, bool indexed success, uint256 value)
GasPriceInertiaSet(uint256 gasPriceInertia)
MaxGasLimitSet(uint256 maxGasLimit)
MaxGasPriceImpactSet(uint256 maxGasPriceImpact)
OrderDisabled(address pair, uint8 orderType, bool disabled)
OrderExecuted(uint256 indexed id, bool indexed success, bytes data, uint256 gasSpent, uint256 ethRefunded)
OwnerSet(address owner)
RefundFailed(address indexed to, address indexed token, uint256 amount, bytes data)
ToleranceSet(address pair, uint16 amount)
TransferGasCostSet(address token, uint256 gasCost)
UnwrapFailed(address to, uint256 amount)
BuyEnqueued(uint256 indexed orderId, struct OrdersOrder order)
DepositEnqueued(uint256 indexed orderId, struct OrdersOrder order)
GasPriceInertiaSet(uint256 gasPriceInertia)
MaxGasLimitSet(uint256 maxGasLimit)
MaxGasPriceImpactSet(uint256 maxGasPriceImpact)
OrderDisabled(address pair, uint8 orderType, bool disabled)
RefundFailed(address indexed to, address indexed token, uint256 amount, bytes data)
SellEnqueued(uint256 indexed orderId, struct OrdersOrder order)
TransferGasCostSet(address token, uint256 gasCost)
WithdrawEnqueued(uint256 indexed orderId, struct OrdersOrder order)
constructor(address _factory, address _weth, address _bot)
receive()
This contract contains no error objects.