PositionManager
Verified contract
Implementation
Active on
Ethereum with 1 txns
Storage
Map
Table
Raw
Constants and immutables
9
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 "PositionManager"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 20081327 | 5 months ago | | | 0 | 0.00042856932 |
ABI
ABI objects
Getter at block 20879038
WETH() view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
dataStore() view returns (address)
0x0000000000000000000000000000000000000000
factory() view returns (address)
0xfd513630f697a9c1731f196185fb9eba6eaac20b
name() view returns (string)
PositionManager
owner() view returns (address)
0x937fd8cc7f7d2ef5b801e44c03218ade5648c3fb
pendingOwner() view returns (address)
0x0000000000000000000000000000000000000000
priceStore() view returns (address)
0x0000000000000000000000000000000000000000
proxiableUUID() view returns (bytes32)
0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc
symbol() view returns (string)
PM-V1
Read-only
balanceOf(address owner) view returns (uint256)
getApproved(uint256 tokenId) view returns (address)
isApprovedForAll(address owner, address operator) view returns (bool)
ownerOf(uint256 tokenId) view returns (address)
supportsInterface(bytes4 interfaceId) view returns (bool)
tokenURI(uint256 tokenId) view returns (string)
State-modifying
Events acceptOwnership()
approve(address to, uint256 tokenId)
borrowAndRebalance(struct IPositionManagerBorrowAndRebalanceParams params) returns (uint128[] tokensHeld, uint256 liquidityBorrowed, uint256[] amounts)
borrowAndRebalanceExternally(struct IPositionManagerExternalBorrowAndRebalanceExternallyParams params) returns (uint128[] tokensHeld, uint256 liquidityBorrowed, uint256[] amounts)
borrowLiquidity(struct IPositionManagerBorrowLiquidityParams params) returns (uint256 liquidityBorrowed, uint256[] amounts, uint128[] tokensHeld)
clearToken(address token, address to, uint256 minAmt)
createLoan(uint16 protocolId, address cfmm, address to, uint16 refId, uint256 deadline) returns (uint256 tokenId)
createLoanBorrowAndRebalance(struct IPositionManagerCreateLoanBorrowAndRebalanceParams params) returns (uint256 tokenId, uint128[] tokensHeld, uint256 liquidityBorrowed, uint256[] amounts)
createLoanBorrowAndRebalanceExternally(struct IPositionManagerExternalCreateLoanBorrowAndRebalanceExternallyParams params) returns (uint256 tokenId, uint128[] tokensHeld, uint256 liquidityBorrowed, uint256[] amounts)
decreaseCollateral(struct IPositionManagerRemoveCollateralParams params) returns (uint128[] tokensHeld)
depositNoPull(struct IPositionManagerDepositWithdrawParams params) returns (uint256 shares)
depositReserves(struct IPositionManagerDepositReservesParams params) returns (uint256[] reserves, uint256 shares)
depositReservesAndStake(struct IPositionManagerDepositReservesParams params, address esToken) returns (uint256[] reserves, uint256 shares)
increaseCollateral(struct IPositionManagerAddCollateralParams params) returns (uint128[] tokensHeld)
initialize(address _dataStore, address)
rebalanceCollateral(struct IPositionManagerRebalanceCollateralParams params) returns (uint128[] tokensHeld)
rebalanceCollateralExternally(struct IPositionManagerExternalRebalanceCollateralExternallyParams params) returns (uint256 loanLiquidity, uint128[] tokensHeld)
rebalanceExternallyAndRepayLiquidity(struct IPositionManagerExternalRebalanceExternallyAndRepayLiquidityParams params) returns (uint256 liquidityPaid, uint256[] amounts)
refundETH() payable
removeDataStore()
removePriceStore()
repayLiquidity(struct IPositionManagerRepayLiquidityParams params) returns (uint256 liquidityPaid, uint256[] amounts)
repayLiquidityWithLP(struct IPositionManagerRepayLiquidityWithLPParams params) returns (uint256 liquidityPaid, uint128[] tokensHeld)
safeTransferFrom(address from, address to, uint256 tokenId)
safeTransferFrom(address from, address to, uint256 tokenId, bytes data)
sendTokensCallback(address[] tokens, uint256[] amounts, address payee, bytes data)
setApprovalForAll(address operator, bool approved)
setStakingRouter(address _stakingRouter)
transferFrom(address from, address to, uint256 tokenId)
transferOwnership(address newOwner)
unwrapWETH(uint256 minAmt, address to) payable
upgradeTo(address newImplementation)
upgradeToAndCall(address newImplementation, bytes data) payable
withdrawNoPull(struct IPositionManagerDepositWithdrawParams params) returns (uint256 assets)
withdrawReserves(struct IPositionManagerWithdrawReservesParams params) returns (uint256[] reserves, uint256 assets)
withdrawReservesAndUnstake(struct IPositionManagerWithdrawReservesParams params, address esToken) returns (uint256[] reserves, uint256 assets)
AdminChanged(address previousAdmin, address newAdmin)
Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)
ApprovalForAll(address indexed owner, address indexed operator, bool approved)
BeaconUpgraded(address indexed beacon)
BorrowLiquidity(address indexed pool, uint256 tokenId, uint256 liquidityBorrowed, uint256[] amounts)
CreateLoan(address indexed pool, address indexed owner, uint256 tokenId, uint16 refId)
DecreaseCollateral(address indexed pool, uint256 tokenId, uint128[] tokensHeld, uint128[] amounts)
Deposit(address indexed caller, address indexed to, uint256 assets, uint256 shares)
DepositNoPull(address indexed pool, uint256 shares)
DepositReserve(address indexed pool, uint256[] reserves, uint256 shares)
ExternalSwap(uint256 indexed tokenId, uint128[] amounts, uint256 lpTokens, uint128 liquidity, uint8 indexed txType)
IncreaseCollateral(address indexed pool, uint256 tokenId, uint128[] tokensHeld, uint256[] amounts)
Initialized(uint8 version)
Liquidation(uint256 indexed tokenId, uint128 collateral, uint128 liquidity, uint128 writeDownAmt, uint128 fee, uint8 txType)
LoanCreated(address indexed caller, uint256 tokenId, uint16 refId)
LoanUpdate(uint256 indexed tokenId, address indexed poolId, address indexed owner, uint128[] tokensHeld, uint256 liquidity, uint256 lpTokens, uint256 initLiquidity, uint128[] cfmmReserves)
LoanUpdated(uint256 indexed tokenId, uint128[] tokensHeld, uint128 liquidity, uint128 initLiquidity, uint256 lpTokens, uint96 rateIndex, uint8 indexed txType)
OwnershipTransferStarted(address indexed currentOwner, address indexed newOwner)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
PoolUpdated(uint256 lpTokenBalance, uint256 lpTokenBorrowed, uint40 lastBlockNumber, uint80 accFeeIndex, uint256 lpTokenBorrowedPlusInterest, uint128 lpInvariant, uint128 borrowedInvariant, uint128[] cfmmReserves, uint8 indexed txType)
RebalanceCollateral(address indexed pool, uint256 tokenId, uint128[] tokensHeld)
RebalanceCollateralExternally(address indexed pool, uint256 tokenId, uint256 loanLiquidity, uint128[] tokensHeld)
RepayLiquidity(address indexed pool, uint256 tokenId, uint256 liquidityPaid, uint256[] amounts)
RepayLiquiditySetRatio(address indexed pool, uint256 tokenId, uint256 liquidityPaid, uint256[] amounts)
RepayLiquidityWithLP(address indexed pool, uint256 tokenId, uint256 liquidityPaid, uint128[] tokensHeld, uint256 lpTokens)
Transfer(address indexed from, address indexed to, uint256 indexed tokenId)
Upgraded(address indexed implementation)
Withdraw(address indexed caller, address indexed to, address indexed from, uint256 assets, uint256 shares)
WithdrawNoPull(address indexed pool, uint256 assets)
WithdrawReserve(address indexed pool, uint256[] reserves, uint256 assets)
constructor(address _factory, address _WETH)
receive()
AmountsMin(uint8 id)
ERC721ApproveOwner()
ERC721ApproveToCaller()
ERC721Forbidden()
ERC721InvalidTokenID()
ERC721MintToZeroAddress()
ERC721TokenExists()
ERC721TransferFromWrongOwner()
ERC721TransferToNonReceiver()
ERC721TransferToZeroAddress()
ERC721ZeroAddress()
Expired()
Forbidden()
NotEnoughTokens()
NotEnoughWETH()
NotGammaPool()
NotWETH()
STE_Fail()
STF_Fail()
ST_Fail()
StakingRouterNotSet()