LoopStrategy

Verified contract

Implementation

Active on Base with 0 txns
Deployed by via 0xd2f69475 at 17219601
Slot Value
0x0000000000000000000000000000000000000000000000000000000000000000 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000001 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000002 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000003 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000004 0x0000000000000000000000000000000000000000000000000000000000000000

No balances found for "LoopStrategy"

No transactions found for "LoopStrategy"


Functions
Getter at block 22752534
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
INCENTIVES_CONTROLLER(view returns (bytes32)
0x703c2c8634bed68d98c029c18f310e7f7ec0e5d6342c590190b3cb8b3ba54532
MANAGER_ROLE(view returns (bytes32)
0x241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b08
PAUSER_ROLE(view returns (bytes32)
0x65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a
UPGRADER_ROLE(view returns (bytes32)
0x189ab7a9244df0848122154315af71fe140f3db0fe014031783b0946b8c9d2e3
UPGRADE_INTERFACE_VERSION(view returns (string)
5.0.0
asset(view returns (address)
0x0000000000000000000000000000000000000000
 
collateralUSD(view returns (uint256 amount)
 
currentCollateralRatio(view returns (uint256 ratio)
 
debtUSD(view returns (uint256 amount)
decimals(view returns (uint8)
0
 
equity(view returns (uint256 amount)
 
equityUSD(view returns (uint256 amount)
getAssets(view returns (struct StrategyAssets assets)
(0x0000000000000000000000000000000000000000, 0x0000000000000000000000000000000000000000, 0x0000000000000000000000000000000000000000)
getAssetsCap(view returns (uint256 assetsCap)
0
getCollateralRatioTargets(view returns (struct CollateralRatio ratio)
(0, 0, 0, 0, 0)
getLendingPool(view returns (struct LendingPool pool)
(0x0000000000000000000000000000000000000000, 0, 0x0000000000000000000000000000000000000000)
getMaxIterations(view returns (uint256 iterations)
0
getMaxSlippageOnRebalance(view returns (uint256 maxslippage)
0
getOracle(view returns (address oracle)
0x0000000000000000000000000000000000000000
getPoolAddressProvider(view returns (address poolAddressProvider)
0x0000000000000000000000000000000000000000
getRatioMargin(view returns (uint256 marginUSD)
0
getSwapper(view returns (address swapper)
0x0000000000000000000000000000000000000000
name(view returns (string)
paused(view returns (bool)
false
proxiableUUID(view returns (bytes32)
0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc
 
rebalanceNeeded(view returns (bool shouldRebalance)
scaledTotalSupply(view returns (uint256)
0
symbol(view returns (string)
 
totalAssets(view returns (uint256)
totalSupply(view returns (uint256)
0
Read-only
allowance(address owneraddress spenderview returns (uint256)
balanceOf(address accountview returns (uint256)
convertToAssets(uint256 sharesview returns (uint256)
convertToShares(uint256 assetsview returns (uint256)
getRoleAdmin(bytes32 roleview returns (bytes32)
getScaledUserBalanceAndSupply(address userview returns (uint256uint256)
hasRole(bytes32 roleaddress accountview returns (bool)
maxDeposit(addressview returns (uint256)
maxMint(addresspure returns (uint256)
maxRedeem(address ownerview returns (uint256)
maxWithdraw(addresspure returns (uint256)
mint(uint256addressview returns (uint256)
previewDeposit(uint256 assetsview returns (uint256)
previewMint(uint256view returns (uint256)
previewRedeem(uint256 sharesview returns (uint256)
previewWithdraw(uint256view returns (uint256)
supportsInterface(bytes4 interfaceIdview returns (bool)
withdraw(uint256addressaddressview returns (uint256)
State-modifying
LoopStrategy_init(string _erc20namestring _erc20symboladdress _initialAdminstruct StrategyAssets _strategyAssetsstruct CollateralRatio _collateralRatioTargetsaddress _poolAddressProvideraddress _oracleaddress _swapperuint256 _ratioMarginuint16 _maxIterations
approve(address spenderuint256 valuereturns (bool)
deposit(uint256 assetsaddress receiverreturns (uint256 shares)
deposit(uint256 assetsaddress receiveruint256 minSharesReceivedreturns (uint256 shares)
grantRole(bytes32 roleaddress account
pause(
rebalance(
redeem(uint256 sharesaddress receiveraddress ownerreturns (uint256)
redeem(uint256 sharesaddress receiveraddress owneruint256 minUnderlyingAssetreturns (uint256 assets)
renounceRole(bytes32 roleaddress callerConfirmation
revokeRole(bytes32 roleaddress account
setAssetsCap(uint256 assetsCap
setCollateralRatioTargets(struct CollateralRatio targets
setInterestRateMode(uint256 _interestRateMode
setMaxIterations(uint16 iterations
setMaxSlippageOnRebalance(uint256 maxSlippage
setRatioMargin(uint256 marginUSD
setSwapper(address swapper
transfer(address touint256 valuereturns (bool)
transferFrom(address fromaddress touint256 valuereturns (bool)
unpause(
upgradeToAndCall(address newImplementationbytes datapayable 
Events
Approval(address indexed owneraddress indexed spenderuint256 value
AssetsCapSet(uint256 assetsCap
CollateralRatioTargetsSet(struct CollateralRatio targets
Deposit(address indexed senderaddress indexed owneruint256 assetsuint256 shares
Initialized(uint64 version
MaxIterationsSet(uint16 iterations
MaxSlippageOnRebalanceSet(uint256 maxSlippage
Paused(address account
RatioMarginSet(uint256 margin
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
SwapperSet(address swapper
Transfer(address indexed fromaddress indexed touint256 value
USDMarginSet(uint256 margin
Unpaused(address account
Upgraded(address indexed implementation
Withdraw(address indexed senderaddress indexed receiveraddress indexed owneruint256 assetsuint256 shares
Constructor
constructor(
Fallback and receive

This contract contains no fallback and receive objects.

Errors
AccessControlBadConfirmation(
AccessControlUnauthorizedAccount(address accountbytes32 neededRole
AddressEmptyCode(address target
AddressInsufficientBalance(address account
ERC1967InvalidImplementation(address implementation
ERC1967NonPayable(
ERC20InsufficientAllowance(address spenderuint256 allowanceuint256 needed
ERC20InsufficientBalance(address senderuint256 balanceuint256 needed
ERC20InvalidApprover(address approver
ERC20InvalidReceiver(address receiver
ERC20InvalidSender(address sender
ERC20InvalidSpender(address spender
ERC4626ExceededMaxDeposit(address receiveruint256 assetsuint256 max
ERC4626ExceededMaxMint(address receiveruint256 sharesuint256 max
ERC4626ExceededMaxRedeem(address owneruint256 sharesuint256 max
ERC4626ExceededMaxWithdraw(address owneruint256 assetsuint256 max
EnforcedPause(
ExpectedPause(
FailedInnerCall(
InvalidCollateralRatioTargets(
InvalidInitialization(
MarginOutsideRange(
MathOverflowedMulDiv(
MaxSlippageOutOfRange(
MintDisabled(
NotInitializing(
RebalanceNotNeeded(
RedeemerNotOwner(
SafeERC20FailedOperation(address token
SharesReceivedBelowMinimum(uint256 sharesReceiveduint256 minSharesReceived
UUPSUnauthorizedCallContext(
UUPSUnsupportedProxiableUUID(bytes32 slot
UnderlyingReceivedBelowMinimum(uint256 underlyingReceiveduint256 minUnderlyingReceived
WithdrawDisabled(