TwapDelay

Verified contract

Proxy

Active on Ethereum with 827 txns
Deployed by via 0x38bb4094 at 17668349
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

No balances found for "TwapDelay"

0x57110df508e177cdc14bff9df04d74ae1801f5d2cd450c724733ae8adfab6279
0x76cbaa00ca4cf1a03968b2e3538570c8be693a8961c270e3aff5224e598773f4
0x9726f0b81eeaae17317cfe83db6350493d6955b975cf3a349ba6fe8dbbbffea9
0xe95f27f6dd32f49d6b01c0872c4d30a9ff4ffca9bc7296ba69047147d9686833
0xab421cd17cb74f908e1e372417224aeb07e104095b6b5ae9d27813418a0be3d5
0x28c6c2f74761eb6e9deda66edfa75c740c2142f7d8e268ec40e645cb4c66265d
0xabff9c78a9375f4ea74b2a5c8f1bd8daeb730992bbbfc5d291840b137c786b51
0x44913ed566d38619325f356d0541d72c9f7d1d7cfb669ff4b889cb7b2002a26e
0xd8c2a075134f1479564fea69f1c5a6fbaf33d7fd9638b55e3b4478e640b52e61
0x44d8a4628e07fdd4921fa73059f88ab4ee0bcb00d23bd837f19fbc1ae92565ec

Functions
Getter at block 21291906
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
 
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)
Read-only
getBuyDisabled(address pairview returns (bool)
getDepositDisabled(address pairview returns (bool)
getOrderStatus(uint256 orderIduint256 validAfterTimestampview returns (uint8)
getSellDisabled(address pairview returns (bool)
getTransferGasCost(address tokenview returns (uint256 gasCost)
getWithdrawDisabled(address pairview returns (bool)
isBot(addressview returns (bool)
isOrderCanceled(uint256 orderIdview returns (bool)
tolerance(addressview returns (uint16)
totalShares(address tokenview returns (uint256)
State-modifying
_executeBuy(struct OrdersOrder orderpayable 
_executeDeposit(struct OrdersOrder orderpayable 
_executeSell(struct OrdersOrder orderpayable 
_executeWithdraw(struct OrdersOrder orderpayable 
_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(struct OrdersOrder order
deposit(struct OrdersDepositParams depositParamspayable returns (uint256 orderId)
execute(struct OrdersOrder[] _orderspayable 
retryRefund(struct OrdersOrder order
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
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 orderIdstruct OrdersOrder order
DepositEnqueued(uint256 indexed orderIdstruct OrdersOrder order
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 orderIdstruct OrdersOrder order
TransferGasCostSet(address tokenuint256 gasCost
WithdrawEnqueued(uint256 indexed orderIdstruct OrdersOrder order
Constructor
constructor(address _factoryaddress _wethaddress _bot
Fallback and receive
receive(
Errors

This contract contains no error objects.