0xa6a147946facac9e0b99824870b36088764f969f
Verified contract
Proxy
Active on
Base with 12,884 txns
Unified storage
Map
Table
Raw
Constants and immutables
0
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 49 additional slots
Balances ($0.06)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
GOCHU | ERC-20 | 50K | $0.000001 |
$0.06 | |
USA | ERC-20 | 1 | $0.001906 |
$0 | |
OHNO | ERC-20 | 21 | -- | -- | |
LZPZ | ERC-20 | 1 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21763931 | 43 minutes ago | | | 0 | 0.000010245533 | |
| 21763782 | an hour ago | | | 0 | 0.0000037025333 | |
| 21763772 | an hour ago | | | 0.05 | 0.000011066807 | |
| 21763246 | an hour ago | | | 0.046 | 0.000011364565 | |
| 21763115 | an hour ago | | | 0.0515 | 0.0000097202269 | |
| 21763061 | an hour ago | | | 0.33 | 0.000015486012 | |
| 21762585 | an hour ago | | | 0.11 | 0.000011635797 | |
| 21762570 | an hour ago | | | 0.09 | 0.000011129549 | |
| 21762547 | an hour ago | | | 0.08 | 0.000012457903 | |
| 21761882 | 2 hours ago | | | 0.05 | 0.000010728827 |
ABI
ABI objects
Getter at block 21765210 proxiableUUID() view returns (bytes32)
ALL() view returns (uint256)
0
UPPER_BIT_MASK() view returns (bytes32)
0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
contango() view returns (address)
0x6cae28b3d09d8f8fc74ccd496ac986fc84c0c24e
nativeToken() view returns (address)
0x4200000000000000000000000000000000000006
orderManager() view returns (address)
0xa64f0dbb10c473978c2efe069da207991e8e3cb3
permit2() view returns (address)
0x000000000022d473030f116ddee9f6b43ac78ba3
positionNFT() view returns (address)
0xc2462f03920d47fc5b9e2c5f0ba5d2ded058fd78
spotExecutor() view returns (address)
0xc5ccf95ecf7afada7cf2efb079c4298db448e0dc
timelock() view returns (address)
0xc0939a4ed0129bc5162f6f693935b3f72a46a90d
vault() view returns (address)
0x3f37c7d8e61c000085aac0515775b06a3412f36b
Read-only
This contract contains no read-only function objects.
State-modifying
Events _tradeAndWithdraw(struct TradeParams tradeParams, struct ExecutionParams execParams, address to, bool native) payable returns (bytes32 positionId, struct Trade trade_, uint256 amount)
applyPermit(address token, struct EIP2098Permit permit, address spender)
cancel(bytes32 orderId) payable
cancel(bytes32 orderId1, bytes32 orderId2) payable
cancelAndWithdraw(bytes32 orderId, address to) payable returns (uint256)
cancelAndWithdrawNative(bytes32 orderId, address to) payable returns (uint256)
cancelReplaceLinkedOrder(bytes32 cancelOrderId, struct LinkedOrderParams newLinkedOrderParams) payable returns (bytes32 newLinkedOrderId)
cancelReplaceLinkedOrders(bytes32 cancelOrderId1, bytes32 cancelOrderId2, struct LinkedOrderParams newLinkedOrderParams1, struct LinkedOrderParams newLinkedOrderParams2) payable returns (bytes32 newLinkedOrderId1, bytes32 newLinkedOrderId2)
deposit(address token, uint256 amount) payable returns (uint256)
depositAndPlace(struct OrderParams params) payable returns (bytes32 orderId)
depositAndPlaceWithPermit(struct OrderParams params, struct EIP2098Permit permit) payable returns (bytes32 orderId)
depositAndTrade(struct TradeParams tradeParams, struct ExecutionParams execParams) payable returns (bytes32, struct Trade)
depositAndTradeWithPermit(struct TradeParams tradeParams, struct ExecutionParams execParams, struct EIP2098Permit permit) payable returns (bytes32, struct Trade)
depositNative() payable returns (uint256)
depositTradeAndLinkedOrder(struct TradeParams tradeParams, struct ExecutionParams execParams, struct LinkedOrderParams linkedOrderParams) payable returns (bytes32 positionId, struct Trade trade_, bytes32 linkedOrderId)
depositTradeAndLinkedOrderWithPermit(struct TradeParams tradeParams, struct ExecutionParams execParams, struct LinkedOrderParams linkedOrderParams, struct EIP2098Permit permit) payable returns (bytes32 positionId, struct Trade trade_, bytes32 linkedOrderId)
depositTradeAndLinkedOrders(struct TradeParams tradeParams, struct ExecutionParams execParams, struct LinkedOrderParams linkedOrderParams1, struct LinkedOrderParams linkedOrderParams2) payable returns (bytes32 positionId, struct Trade trade_, bytes32 linkedOrderId1, bytes32 linkedOrderId2)
depositTradeAndLinkedOrdersWithPermit(struct TradeParams tradeParams, struct ExecutionParams execParams, struct LinkedOrderParams linkedOrderParams1, struct LinkedOrderParams linkedOrderParams2, struct EIP2098Permit permit) payable returns (bytes32 positionId, struct Trade trade_, bytes32 linkedOrderId1, bytes32 linkedOrderId2)
depositWithPermit(address token, struct EIP2098Permit permit, uint256 amount) payable returns (uint256)
depositWithPermit2(address token, struct EIP2098Permit permit) payable returns (uint256)
depositWithPermit2(address token, struct EIP2098Permit permit, uint256 amount) payable returns (uint256)
multicall(bytes[] data) payable returns (bytes[] results)
place(struct OrderParams params) payable returns (bytes32 orderId)
placeLinkedOrder(bytes32 positionId, struct LinkedOrderParams params) payable returns (bytes32 orderId)
placeLinkedOrders(bytes32 positionId, struct LinkedOrderParams linkedOrderParams1, struct LinkedOrderParams linkedOrderParams2) payable returns (bytes32 linkedOrderId1, bytes32 linkedOrderId2)
swapAndDeposit(address tokenToSell, address tokenToDeposit, struct SwapData swapData) payable returns (uint256)
swapAndDepositNative(address tokenToDeposit, struct SwapData swapData) payable returns (uint256)
swapAndDepositWithPermit(address tokenToSell, address tokenToDeposit, struct SwapData swapData, struct EIP2098Permit permit) payable returns (uint256)
swapAndDepositWithPermit2(address tokenToSell, address tokenToDeposit, struct SwapData swapData, struct EIP2098Permit permit) payable returns (uint256)
swapAndWithdraw(address tokenToSell, address tokenToReceive, struct SwapData swapData, address to) payable returns (uint256)
swapAndWithdrawNative(address tokenToSell, struct SwapData swapData, address to) payable returns (uint256 output)
trade(struct TradeParams tradeParams, struct ExecutionParams execParams) payable returns (bytes32, struct Trade)
tradeAndLinkedOrder(struct TradeParams tradeParams, struct ExecutionParams execParams, struct LinkedOrderParams linkedOrderParams) payable returns (bytes32 positionId, struct Trade trade_, bytes32 linkedOrderId)
tradeAndLinkedOrders(struct TradeParams tradeParams, struct ExecutionParams execParams, struct LinkedOrderParams linkedOrderParams1, struct LinkedOrderParams linkedOrderParams2) payable returns (bytes32 positionId, struct Trade trade_, bytes32 linkedOrderId1, bytes32 linkedOrderId2)
tradeAndWithdraw(struct TradeParams tradeParams, struct ExecutionParams execParams, address to) payable returns (bytes32 positionId, struct Trade trade_, uint256 amount)
tradeAndWithdrawNative(struct TradeParams tradeParams, struct ExecutionParams execParams, address to) payable returns (bytes32 positionId, struct Trade trade_, uint256 amount)
upgradeTo(address newImplementation)
upgradeToAndCall(address newImplementation, bytes data) payable
usePermit2(address token, struct EIP2098Permit permit, uint256 amount, address to)
withdraw(address token, uint256 amount, address to) payable returns (uint256)
withdrawNative(uint256 amount, address to) payable returns (uint256)
AdminChanged(address previousAdmin, address newAdmin)
BeaconUpgraded(address indexed beacon)
Initialized(uint8 version)
Upgraded(address indexed implementation)
This contract contains no constructor objects.
receive()
AboveMaxGasMultiplier(uint64 gasMultiplier)
BelowMinGasMultiplier(uint64 gasMultiplier)
CashflowCcyRequired()
ClosingOnly()
InstrumentAlreadyExists(bytes16 symbol)
InsufficientBaseCashflow(int256 expected, int256 actual)
InsufficientBaseOnOpen(uint256 expected, int256 actual)
InsufficientPermitAmount(uint256 required, uint256 actual)
InvalidCashflow()
InvalidCashflowCcy()
InvalidDeadline(uint256 deadline, uint256 blockTimestamp)
InvalidInstrument(bytes16 symbol)
InvalidOrderType(uint8 orderType)
InvalidPrice(uint256 forwardPrice, uint256 limitPrice)
InvalidQuantity()
InvalidTolerance(uint256 tolerance)
MismatchingPositionId(bytes32 orderId1, bytes32 orderId2)
NotEnoughBalance(address token, uint256 balance, uint256 requested)
NotFlashBorrowProvider(address msgSender)
NotNativeToken(address token)
OnlyFullClosureAllowedAfterExpiry()
OrderAlreadyExists(bytes32 orderId)
OrderDoesNotExist(bytes32 orderId)
OrderExpired(bytes32 orderId, uint256 deadline, uint256 blockTimestamp)
OrderInvalidated(bytes32 orderId)
PositionDoesNotExist(bytes32 positionId)
PriceAboveLimit(uint256 limit, uint256 actual)
PriceBelowLimit(uint256 limit, uint256 actual)
SenderIsNotNativeToken(address msgSender, address nativeToken)
Unauthorised(address msgSender)
UnexpectedCallback()
UnexpectedTrade()
UnsupportedToken(address token)
ZeroAmount()
ZeroDestination()
ZeroPayer()