WasabiLongPool

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0xc6ff5496 at 21007921
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "WasabiLongPool"

No transactions found for "WasabiLongPool"


Functions
Getter at block 21244596
UPGRADE_INTERFACE_VERSION(view returns (string)
5.0.0
addressProvider(view returns (address)
0x0000000000000000000000000000000000000000
eip712Domain(view returns (bytes1 fieldsstring namestring versionuint256 chainIdaddress verifyingContractbytes32 saltuint256[] extensions)
(fields=0x0f, name=, version=, chainId=1, verifyingContract=0xc24f58b36f90c5abc2874d028bfe12f3db656b51, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
isLongPool(view returns (bool)
false
owner(view returns (address)
0x0000000000000000000000000000000000000000
proxiableUUID(view returns (bytes32)
0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc
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
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

This contract contains no constructor objects.

Fallback and 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(