ERC1967Proxy

Verified contract

Proxy

Active on Ethereum with 6,255 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 $360,374.33
ERC-20
Value $48,779.05
ERC-20
Value $31,705.97
ERC-20
Value $28,423.71
ERC-20
Value $14,005.17
ERC-20
Value $12,338.67
ERC-20
Value $5,883.59
ERC-20
Value $4,988.73
ERC-20
Value $2,001.32
ERC-20
Value $1,828.97
0xd4b7949c78a44c81c0800b882521a4bc7ab8e0b723ff2c2f7abab1e69f289999
0xf7810342cee31586ac5d6684d05e6e837ae19f38272b6155b8630239b95d4006
0x42e8509c6ecf98c1edb835110b89280fd8657e04b6b2fb41d659e2ee19565cde
0x9ba12b8be7305cda42e55f15920ffb8306374b664f75bfc112a6700bacc6fb54
0xbe4ef2b2840740ed6c5116d4e1b1e7c81047ad25aa97e19d93a595b33aae1fd4
0x95d972c7a240f89bf54c904d1fa9ce11869e041ad22d5aac7e9230c7e9fe7e43
0x49dab205226cea87bfbd583403cdd9303525014729282b18eb8d73affd26fe42
0xb90d79a1ec639f7ae0eae33e2c2fb711cccaa8a3301c7942ac78f312ff3fdcc9
0x871955f70bdc64c76d1212b916693a0d21f6c9b0c957e9ab51091004781cc564
0x40213f07a9354f760d49152bc408b4fe99c373a18b4664ad9088ab8abe04342a

Functions
Getter at block 21158040
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(