ERC1967Proxy

Verified contract

Proxy

Active on Ethereum with 96 txns
Deployed by via 0x6a104502 at 18269655
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
ERC-20
Value $0
ERC-20
Value $0
ERC-20
Value $0
ERC-20
--
0x2db656d1b1d9959f66bfaba174e5a7259990053a3beae8b9b186f94d57b98bdb
0xb89fe587dc28b6e542378708731d4675449255ac67a0ac4fcdd81459cd9bb199
0x8677df42404b1005b6376c631f4f375d7a41d9801dfd2db4ae17ac152e6edac8
0xad13466c5d6328f4f6e0cd82c6b2526256583eda30a6ed11143a15c3c3e99c97
0x4c8ee408b47d520f8f957d9a13cd3fdc52f6ea1c40e950a15698637607a74760
0x1a639f1c2718f636f512fef06e4c13540cbd48dcaa69764960884f222fff37f2
0x5ab7f7ec61e7da0f92ad4136666de0c5fb25016ee79eafab2606b2ecb6cdf37d
0xa9956b0d1e17ecd02df0fffa9712bf5eb5997a5bfef1a778568829bee53a1605
0x591b645884a7272294732017bd37d0b5ba09070330718bc1ee877a3ecebc93ad
0xd4d63a7906a6db82a5f186ea403d7aadb064337c7ddf42edac63b65b2546a047

Functions
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)
spotExecutor(view returns (address)
0x9bbd78bf99ff21d75a0d1d94582cb7dd70f07339
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
Upgraded(address indexed implementation
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 _logicbytes _data
Fallback and receive
fallback(
receive(
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(