Adapter

Verified contract

Active on Ethereum with 1 txns
Deployed by via 0x3798bb1b at 20162062
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 1 additional slot
 (#25)
ERC-721
--
0xf89c75d01931543fbd0a4d7ca42594d90d74671f3439cf10b3c8140632ca5e11

Functions
Getter at block 21212754
ACTIVE_NFT(view returns (uint256)
25
FEE_LOWER_BOUND(view returns (uint256)
10
FEE_PRECISION(view returns (uint256)
10000
FEE_THRESHOLD(view returns (uint256)
50000
LIQUID_NFT_ROUTER_ADDRESS(view returns (address)
0xb4d2484ef7f91c8d4cd019460ccbc384c1c24297
PAUSE_GROW(view returns (bool)
true
POSITION_NFTS(view returns (address)
0x32e0a7f7c4b1a19594d25bd9b63eba912b1a5f61
PRECISION_FACTOR(view returns (uint256)
1000000000000000000
TOKEN_PROFIT_ADDRESS(view returns (address)
0x87a567060769348c7ff1836e4497b84f844ba99b
UNIV2_ROUTER_ADDRESS(view returns (address)
0x7a250d5630b4cf539739df2c5dacb4c659f2488d
USDC(view returns (address)
0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
USDC_ADDRESS(view returns (address)
0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
WETH(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
WETH_ADDRESS(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
WISE_LENDING(view returns (address)
0x37e49bf3749513a02fa535f0cbc383796e8107e4
WISE_SECURITY(view returns (address)
0x829c3ae2e82760ecead0f384918a650f8a31ba18
admin(view returns (address)
0x641ad78baca220c5bd28b51ce8e0f495e85fe689
buyFee(view returns (uint256)
1000
 
getTokenAmounts(view returns (uint256 etherAmountuint256[] tokensAmountsuint256 availableEtheruint256[] availableAmounts)
isChainlinkOffline(view returns (bool)
false
liquidNFTsUSDCPool(view returns (address)
0x85162c81d0ef84b21230eb4bf3cab073b71f3c38
liquidNFTsWETHPool(view returns (address)
0x3f302d860b27fb06c794ee0916abc1d3a362bf7e
multisig(view returns (address)
0x641ad78baca220c5bd28b51ce8e0f495e85fe689
proposedAdmin(view returns (address)
0x0000000000000000000000000000000000000000
proposedMultisig(view returns (address)
0x0000000000000000000000000000000000000000
tokenProfit(view returns (address)
0x87a567060769348c7ff1836e4497b84f844ba99b
Read-only
chainLinkHeartBeat(addressview returns (uint256)
getEthAmountFromTokenAmount(uint256 _tokenAmountuint256 _msgValueview returns (uint256)
getLatestAggregatorRoundId(address _feedview returns (uint80)
getRoundIdByByteShift(uint16 _phaseIduint80 _aggregatorRoundIdpure returns (uint80)
getTokenAmountFromEthAmount(uint256 _ethAmountview returns (uint256)
recalibratePreview(address _feedview returns (uint256)
tokens(uint256view returns (address tokenERC20address feedLinkuint8 feedDecimalsuint8 tokenDecimals)
State-modifying
assistWithdrawETH(uint256 _amountreturns (uint256)
assistWithdrawTokens(uint256 _indexuint256 _amountreturns (uint256)
changeBuyFee(uint256 _newFeeValue
claimAdminOwnership(
claimMultisigOwnership(
depositETHLiquidNFTs(uint256 _amount
depositUSDCLiquidNFTs(uint256 _amount
depositWiseLending(address _poolTokenuint256 _depositAmount
onERC721Received(address _operatoraddress _fromuint256 _tokenIdbytes _datareturns (bytes4)
proposeNewAdmin(address _newProposedAdmin
proposeNewMultisig(address _proposedMultisig
recalibrate(address _feed
setApprovals(
swapETHforUSDC(uint256 _amountuint256 _minAmountOutreturns (uint256 amountInuint256 amountOut)
swapUSDCForETH(uint256 _amountuint256 _minAmountOutreturns (uint256 amountInuint256 amountOut)
syncServices(
transferNFT(address _newAddress
validateData(
withdrawETHLiquidNFTs(uint256 _amount
withdrawRefundsAndAudits(
withdrawUSDCLiquidNFTs(uint256 _amount
withdrawWiseLending(address _poolTokenuint256 _withdrawAmount
Events
AdminSwap(address indexed fromaddress indexed touint256 amountInuint256 amountOut
AdminUpdate(address oldAdminaddress newAdmin
AdminUpdateProposed(address oldProposedAdminaddress newProposedAdmin
BuyFeeChanged(uint256 indexed oldFeeuint256 indexed newFee
ERC721Received(address _operatoraddress _fromuint256 _tokenIdbytes _data
MultisigUpdate(address oldMultisigaddress newMultisig
MultisigUpdateProposed(address oldProposedMultisigaddress newProposedMultisig
NFTForwarded(uint256 nftIdaddress to
Constructor
constructor(address _tokenProfitAddressaddress _uniV2RouterAddressaddress _liquidNFTsRouterAddressaddress _liquidNFTsWETHPooladdress _liquidNFTsUSDCPooladdress _wiseLendingAddressbool _isPaused
Fallback and receive

This contract contains no fallback and receive objects.

Errors
ChainLinkOffline(
InvalidDecimals(
InvalidFeed(
InvalidToken(
SlippageTooBig(
ValueTooHigh(
ValueTooLow(