TwapDelay
Verified contract
Proxy
Active on
Ethereum with 4,688 txns
Unified storage
Map
Table
Raw
Constants and immutables
23Slot
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)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
CRE | ERC-20 | 1 | $0.003608 |
$0 | |
stETH | ERC-20 | 0 | $2,559.19 |
$0 |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 17608758 | a year ago | | | 0 | 0.00049996725 | |
| 17608757 | a year ago | | | 0 | 0.00048857434 | |
| 17608757 | a year ago | | | 0 | 0.00048857434 | |
| 17608757 | a year ago | | | 0 | 0.00072409491 | |
| 17608756 | a year ago | | | 0 | 0.00048687968 | |
| 17608755 | a year ago | | | 0 | 0.00049711150 | |
| 17608755 | a year ago | | | 0 | 0.00049711150 | |
| 17608755 | a year ago | | | 0 | 0.00073674746 | |
| 17608754 | a year ago | | | 0 | 0.00051153202 | |
| 17608753 | a year ago | | | 0 | 0.00046564483 |
ABI
ABI objects
Getter at block 20795260 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)
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
Read-only
getBuyDisabled(address pair) view returns (bool)
getBuyOrder(uint256 orderId) view returns (struct OrdersBuyOrder order)
getDepositDisabled(address pair) view returns (bool)
getDepositOrder(uint256 orderId) view returns (struct OrdersDepositOrder order)
getOrder(uint256 orderId) view returns (uint8 orderType, uint32 validAfterTimestamp)
getOrderStatus(uint256 orderId) view returns (uint8)
getSellDisabled(address pair) view returns (bool)
getSellOrder(uint256 orderId) view returns (struct OrdersSellOrder order)
getTransferGasCost(address token) view returns (uint256 gasCost)
getWithdrawDisabled(address pair) view returns (bool)
getWithdrawOrder(uint256 orderId) view returns (struct OrdersWithdrawOrder order)
isBot(address) view returns (bool)
isOrderCanceled(uint256 orderId) view returns (bool)
tolerance(address) view returns (uint16)
totalShares(address token) view returns (uint256)
uint32ToGasPrice(uint32 gasPrice32) pure returns (uint256 gasPrice)
State-modifying
Events _executeBuy(struct OrdersBuyOrder buyOrder, uint256 amountLimit) payable
_executeDeposit(struct OrdersDepositOrder depositOrder, uint256 amountLimit0, uint256 amountLimit1) payable
_executeSell(struct OrdersSellOrder sellOrder, uint256 amountLimit) payable
_executeWithdraw(struct OrdersWithdrawOrder withdrawOrder) 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(uint256 orderId)
deposit(struct OrdersDepositParams depositParams) payable returns (uint256 orderId)
execute(uint256 n) payable
retryRefund(uint256 orderId)
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)
Execute(address sender, uint256 n)
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, uint32 validAfterTimestamp, uint256 gasPrice)
DepositEnqueued(uint256 indexed orderId, uint32 validAfterTimestamp, uint256 gasPrice)
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, uint32 validAfterTimestamp, uint256 gasPrice)
TransferGasCostSet(address token, uint256 gasCost)
WithdrawEnqueued(uint256 indexed orderId, uint32 validAfterTimestamp, uint256 gasPrice)
constructor(address _factory, address _weth, address _bot)
receive()
This contract contains no error objects.