PositionManager

Verified contract

Implementation

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

No balances found for "PositionManager"

0x69709182249d7208806667b19bfce755af1efa35870215ec1744be2bda1bd1b4

Functions
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 ownerview returns (uint256)
getApproved(uint256 tokenIdview returns (address)
isApprovedForAll(address owneraddress operatorview returns (bool)
ownerOf(uint256 tokenIdview returns (address)
supportsInterface(bytes4 interfaceIdview returns (bool)
tokenURI(uint256 tokenIdview returns (string)
State-modifying
acceptOwnership(
approve(address touint256 tokenId
borrowAndRebalance(struct IPositionManagerBorrowAndRebalanceParams paramsreturns (uint128[] tokensHelduint256 liquidityBorroweduint256[] amounts)
borrowAndRebalanceExternally(struct IPositionManagerExternalBorrowAndRebalanceExternallyParams paramsreturns (uint128[] tokensHelduint256 liquidityBorroweduint256[] amounts)
borrowLiquidity(struct IPositionManagerBorrowLiquidityParams paramsreturns (uint256 liquidityBorroweduint256[] amountsuint128[] tokensHeld)
clearToken(address tokenaddress touint256 minAmt
createLoan(uint16 protocolIdaddress cfmmaddress touint16 refIduint256 deadlinereturns (uint256 tokenId)
createLoanBorrowAndRebalance(struct IPositionManagerCreateLoanBorrowAndRebalanceParams paramsreturns (uint256 tokenIduint128[] tokensHelduint256 liquidityBorroweduint256[] amounts)
createLoanBorrowAndRebalanceExternally(struct IPositionManagerExternalCreateLoanBorrowAndRebalanceExternallyParams paramsreturns (uint256 tokenIduint128[] tokensHelduint256 liquidityBorroweduint256[] amounts)
decreaseCollateral(struct IPositionManagerRemoveCollateralParams paramsreturns (uint128[] tokensHeld)
depositNoPull(struct IPositionManagerDepositWithdrawParams paramsreturns (uint256 shares)
depositReserves(struct IPositionManagerDepositReservesParams paramsreturns (uint256[] reservesuint256 shares)
depositReservesAndStake(struct IPositionManagerDepositReservesParams paramsaddress esTokenreturns (uint256[] reservesuint256 shares)
increaseCollateral(struct IPositionManagerAddCollateralParams paramsreturns (uint128[] tokensHeld)
initialize(address _dataStoreaddress
rebalanceCollateral(struct IPositionManagerRebalanceCollateralParams paramsreturns (uint128[] tokensHeld)
rebalanceCollateralExternally(struct IPositionManagerExternalRebalanceCollateralExternallyParams paramsreturns (uint256 loanLiquidityuint128[] tokensHeld)
rebalanceExternallyAndRepayLiquidity(struct IPositionManagerExternalRebalanceExternallyAndRepayLiquidityParams paramsreturns (uint256 liquidityPaiduint256[] amounts)
refundETH(payable 
removeDataStore(
removePriceStore(
repayLiquidity(struct IPositionManagerRepayLiquidityParams paramsreturns (uint256 liquidityPaiduint256[] amounts)
repayLiquidityWithLP(struct IPositionManagerRepayLiquidityWithLPParams paramsreturns (uint256 liquidityPaiduint128[] tokensHeld)
safeTransferFrom(address fromaddress touint256 tokenId
safeTransferFrom(address fromaddress touint256 tokenIdbytes data
sendTokensCallback(address[] tokensuint256[] amountsaddress payeebytes data
setApprovalForAll(address operatorbool approved
setStakingRouter(address _stakingRouter
transferFrom(address fromaddress touint256 tokenId
transferOwnership(address newOwner
unwrapWETH(uint256 minAmtaddress topayable 
upgradeTo(address newImplementation
upgradeToAndCall(address newImplementationbytes datapayable 
withdrawNoPull(struct IPositionManagerDepositWithdrawParams paramsreturns (uint256 assets)
withdrawReserves(struct IPositionManagerWithdrawReservesParams paramsreturns (uint256[] reservesuint256 assets)
withdrawReservesAndUnstake(struct IPositionManagerWithdrawReservesParams paramsaddress esTokenreturns (uint256[] reservesuint256 assets)
Events
AdminChanged(address previousAdminaddress newAdmin
Approval(address indexed owneraddress indexed approveduint256 indexed tokenId
ApprovalForAll(address indexed owneraddress indexed operatorbool approved
BeaconUpgraded(address indexed beacon
BorrowLiquidity(address indexed pooluint256 tokenIduint256 liquidityBorroweduint256[] amounts
CreateLoan(address indexed pooladdress indexed owneruint256 tokenIduint16 refId
DecreaseCollateral(address indexed pooluint256 tokenIduint128[] tokensHelduint128[] amounts
Deposit(address indexed calleraddress indexed touint256 assetsuint256 shares
DepositNoPull(address indexed pooluint256 shares
DepositReserve(address indexed pooluint256[] reservesuint256 shares
ExternalSwap(uint256 indexed tokenIduint128[] amountsuint256 lpTokensuint128 liquidityuint8 indexed txType
IncreaseCollateral(address indexed pooluint256 tokenIduint128[] tokensHelduint256[] amounts
Initialized(uint8 version
Liquidation(uint256 indexed tokenIduint128 collateraluint128 liquidityuint128 writeDownAmtuint128 feeuint8 txType
LoanCreated(address indexed calleruint256 tokenIduint16 refId
LoanUpdate(uint256 indexed tokenIdaddress indexed poolIdaddress indexed owneruint128[] tokensHelduint256 liquidityuint256 lpTokensuint256 initLiquidityuint128[] cfmmReserves
LoanUpdated(uint256 indexed tokenIduint128[] tokensHelduint128 liquidityuint128 initLiquidityuint256 lpTokensuint96 rateIndexuint8 indexed txType
OwnershipTransferStarted(address indexed currentOwneraddress indexed newOwner
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
PoolUpdated(uint256 lpTokenBalanceuint256 lpTokenBorroweduint40 lastBlockNumberuint80 accFeeIndexuint256 lpTokenBorrowedPlusInterestuint128 lpInvariantuint128 borrowedInvariantuint128[] cfmmReservesuint8 indexed txType
RebalanceCollateral(address indexed pooluint256 tokenIduint128[] tokensHeld
RebalanceCollateralExternally(address indexed pooluint256 tokenIduint256 loanLiquidityuint128[] tokensHeld
RepayLiquidity(address indexed pooluint256 tokenIduint256 liquidityPaiduint256[] amounts
RepayLiquiditySetRatio(address indexed pooluint256 tokenIduint256 liquidityPaiduint256[] amounts
RepayLiquidityWithLP(address indexed pooluint256 tokenIduint256 liquidityPaiduint128[] tokensHelduint256 lpTokens
Transfer(address indexed fromaddress indexed touint256 indexed tokenId
Upgraded(address indexed implementation
Withdraw(address indexed calleraddress indexed toaddress indexed fromuint256 assetsuint256 shares
WithdrawNoPull(address indexed pooluint256 assets
WithdrawReserve(address indexed pooluint256[] reservesuint256 assets
Constructor
constructor(address _factoryaddress _WETH
Fallback and receive
receive(
Errors
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(