ERC1967Proxy

Verified contract

Proxy

Active on Ethereum with 6,507 txns
Deployed by via 0x22c81449 at 18812556
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $500,124.57
ERC-20
Value $80,313.61
ERC-20
Value $42,455.76
ERC-20
Value $23,469.46
ERC-20
Value $22,327.71
ERC-20
Value $16,487.8
ERC-20
Value $8,096.96
ERC-20
Value $7,646.05
ERC-20
Value $4,581.97
ERC-20
Value $1,778.54
0x3b597c241f8cd25d35456f417dc7a2db4d495fee0964713b14332d2d2fcdb3de
0x820917b4e23f8729533090442d23a091f22b13bf8a33678947cb1ddaaf8fcec4
0x66481451b0de43f6a315c5028b2f86238f682ab76b2f10be7fba54fc466d9b3b
0x81bc0572711041326841690cc21509da19d3017e91a706c5a0e908ca3d098984
0x6ef41ff526ce584d4e9ade56cfcd2a03d078277912c4f45d68173eeb87a81614
0x0bac4c2e6feb819ad41840ffb9c474bc6a6cff9ac17ff486b5e3f848bdafbfcb
0x78312001085bad8fda41690ad46f2e2dcaed608ad33acf27c71b5c275a8726e8
0x8805470856b3ec91536a56d560007461edb27882a48cb5c5be50cd1b1eb0a4f6
0xbc04b3073f718c57ec75943c1b0b5b3437496001f31f7a09d86ca415a81d7706
0x5914dcef7711a50e84053254b4f1e67a8786e4cbc959616dddbd8bf66492388a

Functions
Getter at block 21244596
UPGRADE_INTERFACE_VERSION(view returns (string)
5.0.0
addressProvider(view returns (address)
0xdabc8055e21a3d5c1e99d8048023f3c72d8e8c93
eip712Domain(view returns (bytes1 fieldsstring namestring versionuint256 chainIdaddress verifyingContractbytes32 saltuint256[] extensions)
(fields=0x0f, name=WasabiLongPool, version=1, chainId=1, verifyingContract=0x8e0edfd6d15f858adbb41677b82ab64797d5afc0, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
isLongPool(view returns (bool)
true
owner(view returns (address)
0xc0b01a4f4a4459d5a7e13c2e8566cde93a010e7d
 
proxiableUUID(view returns (bytes32)
Read-only
donate(addressuint256pure 
getVault(address _assetview returns (address)
positions(uint256view returns (bytes32)
quoteTokens(addressview returns (bool)
vaults(addressview returns (address)
withdraw(addressuint256addresspure 
State-modifying
__BaseWasabiPool_init(bool _isLongPooladdress _addressProvideraddress _manager
addQuoteToken(address _token
addVault(address _vault
claimPosition(struct IWasabiPerpsPosition _positionpayable 
closePosition(uint8 _payoutTypestruct IWasabiPerpsClosePositionRequest _requeststruct IWasabiPerpsSignature _signaturepayable 
closePosition(uint8 _payoutTypestruct IWasabiPerpsClosePositionRequest _requeststruct IWasabiPerpsSignature _signaturestruct IWasabiPerpsClosePositionOrder _orderstruct IWasabiPerpsSignature _orderSignaturepayable 
initialize(address _addressProvideraddress _manager
liquidatePosition(uint8 _payoutTypeuint256 _intereststruct IWasabiPerpsPosition _positionstruct IWasabiPerpsFunctionCallData[] _swapFunctionspayable 
multicall(bytes[] datareturns (bytes[] results)
openPosition(struct IWasabiPerpsOpenPositionRequest _requeststruct IWasabiPerpsSignature _signaturepayable 
openPositionFor(struct IWasabiPerpsOpenPositionRequest _requeststruct IWasabiPerpsSignature _signatureaddress _traderpayable 
renounceOwnership(
setAddressProvider(address _addressProvider
transferOwnership(address newOwner
upgradeToAndCall(address newImplementationbytes datapayable 
Events
AdminChanged(address previousAdminaddress newAdmin
BeaconUpgraded(address indexed beacon
Upgraded(address indexed implementation
EIP712DomainChanged(
Initialized(uint64 version
NativeYieldClaimed(address vaultaddress tokenuint256 amount
NewVault(address indexed pooladdress indexed assetaddress vault
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
PositionClaimed(uint256 idaddress traderuint256 amountClaimeduint256 principalRepaiduint256 interestPaiduint256 feeAmount
PositionClosed(uint256 idaddress traderuint256 payoutuint256 principalRepaiduint256 interestPaiduint256 feeAmount
PositionClosedWithOrder(uint256 idaddress traderuint8 orderTypeuint256 payoutuint256 principalRepaiduint256 interestPaiduint256 feeAmount
PositionLiquidated(uint256 idaddress traderuint256 payoutuint256 principalRepaiduint256 interestPaiduint256 feeAmount
PositionOpened(uint256 positionIdaddress traderaddress currencyaddress collateralCurrencyuint256 downPaymentuint256 principaluint256 collateralAmountuint256 feesToBePaid
Upgraded(address indexed implementation
Constructor
constructor(address _logicbytes _data
Fallback and receive
fallback(
receive(
receive(
Errors
AddressEmptyCode(address target
AddressInsufficientBalance(address account
Deprecated(
ERC1967InvalidImplementation(address implementation
ERC1967NonPayable(
EthReceivedForNonEthCurrency(
EthTransferFailed(uint256 amountaddress _target
FailedInnerCall(
IncorrectSwapParameter(
InsufficientAmountProvided(
InsufficientAvailablePrincipal(
InsufficientCollateralReceived(
InsufficientPrincipalRepaid(
InsufficientPrincipalUsed(
InterestAmountNeeded(
InvalidCurrency(
InvalidInitialization(
InvalidOrder(
InvalidPosition(
InvalidSignature(
InvalidTargetCurrency(
InvalidVault(
LiquidationThresholdNotReached(
NotInitializing(
OrderExpired(
OwnableInvalidOwner(address owner
OwnableUnauthorizedAccount(address account
PositionAlreadyTaken(
PriceTargetNotReached(
PrincipalTooHigh(
ReentrancyGuardReentrantCall(
SafeERC20FailedOperation(address token
SenderNotTrader(
SwapFunctionNeeded(
TooMuchCollateralSpent(
UUPSUnauthorizedCallContext(
UUPSUnsupportedProxiableUUID(bytes32 slot
ValueDeviatedTooMuch(
VaultAlreadyExists(
WithdrawalNotAllowed(
WithdrawerNotVault(