Contango

Verified contract

Implementation

Active on Base with 0 txns
Deployed by via 0xf19d1845 at 22622560
Slot
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

No balances found for "Contango"

No transactions found for "Contango"


Functions
Getter at block 22842374
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)
0xb519ab4e9842fb099de9432968a71fbb207f23c3
vault(view returns (address)
0x3f37c7d8e61c000085aac0515775b06a3412f36b
Read-only
getRoleAdmin(bytes32 roleview returns (bytes32)
hasRole(bytes32 roleaddress accountview returns (bool)
instrument(bytes16 symbolview returns (struct Instrument instrument_)
lastOwner(bytes32 positionIdview returns (address owner)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
claimRewards(bytes32 positionIdaddress to
completeClose(addressaddress repayToaddress assetuint256 amountuint256 feebytes paramsreturns (bytes result)
completeOpenFromFlashBorrow(address assetuint256 amountOwedbytes paramsreturns (bytes result)
completeOpenFromFlashLoan(addressaddress repayToaddress assetuint256 amountuint256 feebytes paramsreturns (bytes result)
createInstrument(bytes16 symboladdress baseaddress quote
donatePosition(bytes32 positionIdaddress to
grantRole(bytes32 roleaddress account
initialize(address timelock
multicall(bytes[] datareturns (bytes[] results)
pause(
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
setClosingOnly(bytes16 symbolbool closingOnly
trade(struct TradeParams tradeParamsstruct ExecutionParams execParamspayable returns (bytes32struct Trade)
tradeOnBehalfOf(struct TradeParams tradeParamsstruct ExecutionParams execParamsaddress onBehalfOfpayable returns (bytes32 positionIdstruct Trade trade_)
unpause(
upgradeTo(address newImplementation
upgradeToAndCall(address newImplementationbytes datapayable 
Events
AdminChanged(address previousAdminaddress newAdmin
BeaconUpgraded(address indexed beacon
ClosingOnlySet(bytes16 indexed symbolbool closingOnly
Initialized(uint8 version
InstrumentCreated(bytes16 indexed symboladdress baseaddress quote
MoneyMarketRegistered(uint8 indexed idaddress moneyMarket
Paused(address account
PositionDonated(bytes32 indexed positionIdaddress indexed fromaddress indexed to
PositionUpserted(bytes32 indexed positionIdaddress indexed owneraddress indexed tradedByuint8 cashflowCcyint256 cashflowint256 quantityDeltauint256 priceuint256 feeuint8 feeCcy
RewardsClaimed(bytes32 indexed positionIdaddress indexed to
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
Unpaused(address account
Upgraded(address indexed implementation
Constructor
constructor(address nftaddress vaddress pfaddress spot
Fallback and receive

This contract contains no fallback and receive objects.

Errors
CashflowCcyRequired(
ClosingOnly(
InstrumentAlreadyExists(bytes16 symbol
InsufficientBaseCashflow(int256 expectedint256 actual
InsufficientBaseOnOpen(uint256 expectedint256 actual
InvalidCashflowCcy(
InvalidInstrument(bytes16 symbol
NotFlashBorrowProvider(address msgSender
OnlyFullClosureAllowedAfterExpiry(
PriceAboveLimit(uint256 limituint256 actual
PriceBelowLimit(uint256 limituint256 actual
Unauthorised(address msgSender
UnexpectedCallback(
UnexpectedTrade(
ZeroDestination(
ZeroPayer(