LoopStrategy
Verified contract
Implementation
Active on
Base with 0 txns
Storage
Raw
Slot | Value |
---|---|
0x0000000000000000000000000000000000000000000000000000000000000000 | 0x0000000000000000000000000000000000000000000000000000000000000000 |
0x0000000000000000000000000000000000000000000000000000000000000001 | 0x0000000000000000000000000000000000000000000000000000000000000000 |
0x0000000000000000000000000000000000000000000000000000000000000002 | 0x0000000000000000000000000000000000000000000000000000000000000000 |
0x0000000000000000000000000000000000000000000000000000000000000003 | 0x0000000000000000000000000000000000000000000000000000000000000000 |
0x0000000000000000000000000000000000000000000000000000000000000004 | 0x0000000000000000000000000000000000000000000000000000000000000000 |
Balances ($0.00)
No balances found for "LoopStrategy"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "LoopStrategy"
ABI
ABI objects
Getter at block 22752534 collateralUSD() view returns (uint256 amount) currentCollateralRatio() view returns (uint256 ratio) debtUSD() view returns (uint256 amount) equity() view returns (uint256 amount) equityUSD() view returns (uint256 amount) rebalanceNeeded() view returns (bool shouldRebalance) totalAssets() view returns (uint256)
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
decimals() view returns (uint8)
0
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
scaledTotalSupply() view returns (uint256)
0
symbol() view returns (string)
totalSupply() view returns (uint256)
0
Read-only
allowance(address owner, address spender) view returns (uint256)
balanceOf(address account) view returns (uint256)
convertToAssets(uint256 shares) view returns (uint256)
convertToShares(uint256 assets) view returns (uint256)
getRoleAdmin(bytes32 role) view returns (bytes32)
getScaledUserBalanceAndSupply(address user) view returns (uint256, uint256)
hasRole(bytes32 role, address account) view returns (bool)
maxDeposit(address) view returns (uint256)
maxMint(address) pure returns (uint256)
maxRedeem(address owner) view returns (uint256)
maxWithdraw(address) pure returns (uint256)
mint(uint256, address) view returns (uint256)
previewDeposit(uint256 assets) view returns (uint256)
previewMint(uint256) view returns (uint256)
previewRedeem(uint256 shares) view returns (uint256)
previewWithdraw(uint256) view returns (uint256)
supportsInterface(bytes4 interfaceId) view returns (bool)
withdraw(uint256, address, address) view returns (uint256)
State-modifying
Events LoopStrategy_init(string _erc20name, string _erc20symbol, address _initialAdmin, struct StrategyAssets _strategyAssets, struct CollateralRatio _collateralRatioTargets, address _poolAddressProvider, address _oracle, address _swapper, uint256 _ratioMargin, uint16 _maxIterations)
approve(address spender, uint256 value) returns (bool)
deposit(uint256 assets, address receiver) returns (uint256 shares)
deposit(uint256 assets, address receiver, uint256 minSharesReceived) returns (uint256 shares)
grantRole(bytes32 role, address account)
pause()
rebalance()
redeem(uint256 shares, address receiver, address owner) returns (uint256)
redeem(uint256 shares, address receiver, address owner, uint256 minUnderlyingAsset) returns (uint256 assets)
renounceRole(bytes32 role, address callerConfirmation)
revokeRole(bytes32 role, address 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 to, uint256 value) returns (bool)
transferFrom(address from, address to, uint256 value) returns (bool)
unpause()
upgradeToAndCall(address newImplementation, bytes data) payable
Approval(address indexed owner, address indexed spender, uint256 value)
AssetsCapSet(uint256 assetsCap)
CollateralRatioTargetsSet(struct CollateralRatio targets)
Deposit(address indexed sender, address indexed owner, uint256 assets, uint256 shares)
Initialized(uint64 version)
MaxIterationsSet(uint16 iterations)
MaxSlippageOnRebalanceSet(uint256 maxSlippage)
Paused(address account)
RatioMarginSet(uint256 margin)
RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
SwapperSet(address swapper)
Transfer(address indexed from, address indexed to, uint256 value)
USDMarginSet(uint256 margin)
Unpaused(address account)
Upgraded(address indexed implementation)
Withdraw(address indexed sender, address indexed receiver, address indexed owner, uint256 assets, uint256 shares)
constructor()
This contract contains no fallback and receive objects.
AccessControlBadConfirmation()
AccessControlUnauthorizedAccount(address account, bytes32 neededRole)
AddressEmptyCode(address target)
AddressInsufficientBalance(address account)
ERC1967InvalidImplementation(address implementation)
ERC1967NonPayable()
ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed)
ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed)
ERC20InvalidApprover(address approver)
ERC20InvalidReceiver(address receiver)
ERC20InvalidSender(address sender)
ERC20InvalidSpender(address spender)
ERC4626ExceededMaxDeposit(address receiver, uint256 assets, uint256 max)
ERC4626ExceededMaxMint(address receiver, uint256 shares, uint256 max)
ERC4626ExceededMaxRedeem(address owner, uint256 shares, uint256 max)
ERC4626ExceededMaxWithdraw(address owner, uint256 assets, uint256 max)
EnforcedPause()
ExpectedPause()
FailedInnerCall()
InvalidCollateralRatioTargets()
InvalidInitialization()
MarginOutsideRange()
MathOverflowedMulDiv()
MaxSlippageOutOfRange()
MintDisabled()
NotInitializing()
RebalanceNotNeeded()
RedeemerNotOwner()
SafeERC20FailedOperation(address token)
SharesReceivedBelowMinimum(uint256 sharesReceived, uint256 minSharesReceived)
UUPSUnauthorizedCallContext()
UUPSUnsupportedProxiableUUID(bytes32 slot)
UnderlyingReceivedBelowMinimum(uint256 underlyingReceived, uint256 minUnderlyingReceived)
WithdrawDisabled()