Maestro
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
21
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.00)
No balances found for "Maestro"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "Maestro"
ABI
ABI objects
Getter at block 20791563
ALL() view returns (uint256)
0
UPPER_BIT_MASK() view returns (bytes32)
0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
contango() view returns (address)
0x6cae28b3d09d8f8fc74ccd496ac986fc84c0c24e
nativeToken() view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
orderManager() view returns (address)
0xa64f0dbb10c473978c2efe069da207991e8e3cb3
permit2() view returns (address)
0x000000000022d473030f116ddee9f6b43ac78ba3
positionNFT() view returns (address)
0xc2462f03920d47fc5b9e2c5f0ba5d2ded058fd78
proxiableUUID() view returns (bytes32)
0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc
spotExecutor() view returns (address)
0x12158f171c77f6341443b0700e2d094cdeabaa9d
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)
constructor(address _timelock, address _contango, address _orderManager, address _vault, address _permit2, address _spotExecutor)
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()