Contango
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
15
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
-
variable spans 48 additional slots
-
variable spans 48 additional slots
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 49698 additional slots
-
variable spans 3 additional slots
Balances ($0.00)
No balances found for "Contango"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "Contango"
ABI
ABI objects
Getter at block 21245675
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
paused() view returns (bool)
false
positionFactory() view returns (address)
0xdaba83815404f5e1bc33f5885db7d96f51e127f5
positionNFT() view returns (address)
0xc2462f03920d47fc5b9e2c5f0ba5d2ded058fd78
proxiableUUID() view returns (bytes32)
0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc
spotExecutor() view returns (address)
0x9bbd78bf99ff21d75a0d1d94582cb7dd70f07339
vault() view returns (address)
0x3f37c7d8e61c000085aac0515775b06a3412f36b
Read-only
getRoleAdmin(bytes32 role) view returns (bytes32)
hasRole(bytes32 role, address account) view returns (bool)
instrument(bytes16 symbol) view returns (struct Instrument instrument_)
lastOwner(bytes32 positionId) view returns (address owner)
supportsInterface(bytes4 interfaceId) view returns (bool)
State-modifying
Events claimRewards(bytes32 positionId, address to)
completeClose(address, address repayTo, address asset, uint256 amount, uint256 fee, bytes params) returns (bytes result)
completeOpenFromFlashBorrow(address asset, uint256 amountOwed, bytes params) returns (bytes result)
completeOpenFromFlashLoan(address, address repayTo, address asset, uint256 amount, uint256 fee, bytes params) returns (bytes result)
createInstrument(bytes16 symbol, address base, address quote)
donatePosition(bytes32 positionId, address to)
grantRole(bytes32 role, address account)
initialize(address timelock)
multicall(bytes[] data) returns (bytes[] results)
pause()
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
setClosingOnly(bytes16 symbol, bool closingOnly)
trade(struct TradeParams tradeParams, struct ExecutionParams execParams) payable returns (bytes32, struct Trade)
tradeOnBehalfOf(struct TradeParams tradeParams, struct ExecutionParams execParams, address onBehalfOf) payable returns (bytes32 positionId, struct Trade trade_)
unpause()
upgradeTo(address newImplementation)
upgradeToAndCall(address newImplementation, bytes data) payable
AdminChanged(address previousAdmin, address newAdmin)
BeaconUpgraded(address indexed beacon)
ClosingOnlySet(bytes16 indexed symbol, bool closingOnly)
Initialized(uint8 version)
InstrumentCreated(bytes16 indexed symbol, address base, address quote)
MoneyMarketRegistered(uint8 indexed id, address moneyMarket)
Paused(address account)
PositionDonated(bytes32 indexed positionId, address indexed from, address indexed to)
PositionUpserted(bytes32 indexed positionId, address indexed owner, address indexed tradedBy, uint8 cashflowCcy, int256 cashflow, int256 quantityDelta, uint256 price, uint256 fee, uint8 feeCcy)
RewardsClaimed(bytes32 indexed positionId, address indexed to)
RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
Unpaused(address account)
Upgraded(address indexed implementation)
constructor(address nft, address v, address pf, address spot)
This contract contains no fallback and receive objects.
CashflowCcyRequired()
ClosingOnly()
InstrumentAlreadyExists(bytes16 symbol)
InsufficientBaseCashflow(int256 expected, int256 actual)
InsufficientBaseOnOpen(uint256 expected, int256 actual)
InvalidCashflowCcy()
InvalidInstrument(bytes16 symbol)
NotFlashBorrowProvider(address msgSender)
OnlyFullClosureAllowedAfterExpiry()
PriceAboveLimit(uint256 limit, uint256 actual)
PriceBelowLimit(uint256 limit, uint256 actual)
Unauthorised(address msgSender)
UnexpectedCallback()
UnexpectedTrade()
ZeroDestination()
ZeroPayer()