WasabiLongPool
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
15
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.00)
No balances found for "WasabiLongPool"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "WasabiLongPool"
ABI
ABI objects
Getter at block 21244596
UPGRADE_INTERFACE_VERSION() view returns (string)
5.0.0
addressProvider() view returns (address)
0x0000000000000000000000000000000000000000
eip712Domain() view returns (bytes1 fields, string name, string version, uint256 chainId, address verifyingContract, bytes32 salt, uint256[] 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(address, uint256) pure
getVault(address _asset) view returns (address)
positions(uint256) view returns (bytes32)
quoteTokens(address) view returns (bool)
vaults(address) view returns (address)
withdraw(address, uint256, address) pure
State-modifying
Events __BaseWasabiPool_init(bool _isLongPool, address _addressProvider, address _manager)
addQuoteToken(address _token)
addVault(address _vault)
claimPosition(struct IWasabiPerpsPosition _position) payable
closePosition(uint8 _payoutType, struct IWasabiPerpsClosePositionRequest _request, struct IWasabiPerpsSignature _signature) payable
closePosition(uint8 _payoutType, struct IWasabiPerpsClosePositionRequest _request, struct IWasabiPerpsSignature _signature, struct IWasabiPerpsClosePositionOrder _order, struct IWasabiPerpsSignature _orderSignature) payable
initialize(address _addressProvider, address _manager)
liquidatePosition(uint8 _payoutType, uint256 _interest, struct IWasabiPerpsPosition _position, struct IWasabiPerpsFunctionCallData[] _swapFunctions) payable
multicall(bytes[] data) returns (bytes[] results)
openPosition(struct IWasabiPerpsOpenPositionRequest _request, struct IWasabiPerpsSignature _signature) payable
openPositionFor(struct IWasabiPerpsOpenPositionRequest _request, struct IWasabiPerpsSignature _signature, address _trader) payable
renounceOwnership()
setAddressProvider(address _addressProvider)
transferOwnership(address newOwner)
upgradeToAndCall(address newImplementation, bytes data) payable
EIP712DomainChanged()
Initialized(uint64 version)
NativeYieldClaimed(address vault, address token, uint256 amount)
NewVault(address indexed pool, address indexed asset, address vault)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
PositionClaimed(uint256 id, address trader, uint256 amountClaimed, uint256 principalRepaid, uint256 interestPaid, uint256 feeAmount)
PositionClosed(uint256 id, address trader, uint256 payout, uint256 principalRepaid, uint256 interestPaid, uint256 feeAmount)
PositionClosedWithOrder(uint256 id, address trader, uint8 orderType, uint256 payout, uint256 principalRepaid, uint256 interestPaid, uint256 feeAmount)
PositionLiquidated(uint256 id, address trader, uint256 payout, uint256 principalRepaid, uint256 interestPaid, uint256 feeAmount)
PositionOpened(uint256 positionId, address trader, address currency, address collateralCurrency, uint256 downPayment, uint256 principal, uint256 collateralAmount, uint256 feesToBePaid)
Upgraded(address indexed implementation)
This contract contains no constructor objects.
receive()
AddressEmptyCode(address target)
AddressInsufficientBalance(address account)
Deprecated()
ERC1967InvalidImplementation(address implementation)
ERC1967NonPayable()
EthReceivedForNonEthCurrency()
EthTransferFailed(uint256 amount, address _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()