OrigamiLovTokenFlashAndBorrowManager
Verified contract
Active on
Ethereum with 94 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0x2432…b678
0x8846…e006
0xd367…7dd5
0xc9a1…b8b9
0xc9a1…b8b9
Balances ($0.00)
No balances found for "OrigamiLovTokenFlashAndBorrowManager"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21281361 | 18 hours ago | | | 0 | 0.018188483 | |
| 21280151 | a day ago | | | 0 | 0.024954064 | |
| 21278625 | a day ago | | | 0 | 0.0093133608 | |
| 21273814 | 2 days ago | | | 0 | 0.013486614 | |
| 21269034 | 2 days ago | | | 0 | 0.0072418473 | |
| 21264335 | 3 days ago | | | 0 | 0.011283693 | |
| 21255929 | 4 days ago | | | 0 | 0.0065267158 | |
| 21251230 | 5 days ago | | | 0 | 0.015329550 | |
| 21236796 | 7 days ago | | | 0 | 0.023286233 | |
| 21186713 | 14 days ago | | | 0 | 0.034760631 |
ABI
ABI objects
Getter at block 21286586 assetToLiabilityRatio() view returns (uint128) getDynamicFeesBps() view returns (uint256 depositFeeBps, uint256 exitFeeBps)
PRECISION() view returns (uint256)
1000000000000000000
acceptedExitTokens() view returns (address[] tokens)
[0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2]
acceptedInvestTokens() view returns (address[] tokens)
[0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2]
allowAll() view returns (bool)
true
areExitsPaused() view returns (bool)
false
areInvestmentsPaused() view returns (bool)
false
baseToken() view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
borrowLend() view returns (address)
0x2432b4767c6c3b4b5cff16acea8f51c013dbb678
debtToken() view returns (address)
0x6b175474e89094c44da98b954eedeac495271d0f
debtTokenToReserveTokenOracle() view returns (address)
0xc9a161601b76c0333dca022efd45b2549396b8b9
dynamicFeeOracleBaseToken() view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
dynamicFeePriceOracle() view returns (address)
0xc9a161601b76c0333dca022efd45b2549396b8b9
flashLoanProvider() view returns (address)
0x88469316c5f828b4dfd11c4d8529cd9f96b2e006
getFeeConfig() view returns (uint64, uint64, uint64)
(0, 100, 0)
lovToken() view returns (address)
0x235e2afeaa56497436987e87bb475d04befc1394
owner() view returns (address)
0x781b4c57100738095222bd92d37b07ed034ab696
rebalanceALRange() view returns (uint128 floor, uint128 ceiling)
(floor=1833200000000000000, ceiling=2249800000000000000)
reserveToken() view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
reservesBalance() view returns (uint256)
58279336333115730538
swapper() view returns (address)
0xd3674dc273236213379207ca3ac6b0f292c47dd5
userALRange() view returns (uint128 floor, uint128 ceiling)
(floor=1666700000000000000, ceiling=9999000000000000000000)
Read-only
allowedAccounts(address account) view returns (bool allowed)
assetsAndLiabilities(uint8 debtPriceType) view returns (uint256, uint256, uint256)
effectiveExposure(uint8 debtPriceType) view returns (uint128)
exitQuote(uint256 investmentAmount, address toToken, uint256 maxSlippageBps, uint256 deadline) view returns (struct IOrigamiInvestmentExitQuoteData quoteData, uint256[] exitFeeBps)
explicitFunctionAccess(address, bytes4) view returns (bool)
investQuote(uint256 fromTokenAmount, address fromToken, uint256 maxSlippageBps, uint256 deadline) view returns (struct IOrigamiInvestmentInvestQuoteData quoteData, uint256[] investFeeBps)
isPauser(address account) view returns (bool canPause)
liabilities(uint8 debtPriceType) view returns (uint256)
maxExit(address toToken) view returns (uint256 sharesAmount)
maxInvest(address fromToken) view returns (uint256 fromTokenAmount)
pausers(address account) view returns (bool canPause)
reservesToShares(uint256 reserves, uint8 debtPriceType) view returns (uint256)
sharesToReserves(uint256 shares, uint8 debtPriceType) view returns (uint256)
userRedeemableReserves(uint8 debtPriceType) view returns (uint256)
State-modifying
Events acceptOwner()
exitToToken(address, struct IOrigamiInvestmentExitQuoteData quoteData, address recipient) returns (uint256 toTokenAmount, uint256 toBurnAmount)
flashLoanCallback(address token, uint256 amount, uint256 fee, bytes params) returns (bool)
forceRebalanceDown(struct IOrigamiLovTokenFlashAndBorrowManagerRebalanceDownParams params)
forceRebalanceUp(struct IOrigamiLovTokenFlashAndBorrowManagerRebalanceUpParams params)
investWithToken(address account, struct IOrigamiInvestmentInvestQuoteData quoteData) returns (uint256 investmentAmount)
proposeNewOwner(address account)
rebalanceDown(struct IOrigamiLovTokenFlashAndBorrowManagerRebalanceDownParams params)
rebalanceUp(struct IOrigamiLovTokenFlashAndBorrowManagerRebalanceUpParams params)
recoverToken(address token, address to, uint256 amount)
setAllowAccount(address account, bool value)
setAllowAll(bool value)
setBorrowLend(address _address)
setExplicitAccess(address allowedCaller, struct IOrigamiElevatedAccessExplicitAccess[] access)
setFeeConfig(uint16 minDepositFeeBps, uint16 minExitFeeBps, uint24 feeLeverageFactor)
setFlashLoanProvider(address provider)
setOracles(address _debtTokenToReserveTokenOracle, address _dynamicFeePriceOracle)
setPaused(struct IOrigamiManagerPausablePaused updatedPaused)
setPauser(address account, bool canPause)
setRebalanceALRange(uint128 floor, uint128 ceiling)
setSwapper(address _swapper)
setUserALRange(uint128 floor, uint128 ceiling)
AllowAccountSet(address indexed account, bool value)
AllowAllSet(bool value)
BorrowLendSet(address indexed addr)
ExplicitAccessSet(address indexed account, bytes4 indexed fnSelector, bool indexed value)
FeeConfigSet(uint16 maxExitFeeBps, uint16 minExitFeeBps, uint24 feeLeverageFactor)
FlashLoanProviderSet(address indexed provider)
InKindFees(uint8 feeType, uint256 feeBps, uint256 feeAmount)
NewOwnerAccepted(address indexed oldOwner, address indexed newOwner)
NewOwnerProposed(address indexed oldOwner, address indexed oldProposedOwner, address indexed newProposedOwner)
OraclesSet(address indexed debtTokenToReserveTokenOracle, address indexed dynamicFeePriceOracle)
PausedSet(struct IOrigamiManagerPausablePaused paused)
PauserSet(address indexed account, bool canPause)
Rebalance(int256 collateralChange, int256 debtChange, uint256 alRatioBefore, uint256 alRatioAfter)
RebalanceALRangeSet(uint128 floor, uint128 ceiling)
SwapperSet(address indexed swapper)
UserALRangeSet(uint128 floor, uint128 ceiling)
constructor(address _initialOwner, address _reserveToken_, address _debtToken_, address _dynamicFeeOracleBaseToken, address _lovToken, address _flashLoanProvider, address _borrowLend)
This contract contains no fallback and receive objects.
ALTooHigh(uint128 ratioBefore, uint128 ratioAfter, uint128 maxRatio)
ALTooLow(uint128 ratioBefore, uint128 ratioAfter, uint128 minRatio)
ExpectedNonZero()
InvalidAccess()
InvalidAddress(address addr)
InvalidAmount(address token, uint256 amount)
InvalidParam()
InvalidRange(uint128 floor, uint128 ceiling)
InvalidToken(address token)
IsPaused()
NoAvailableReserves()
PRBMath_MulDiv_Overflow(uint256 x, uint256 y, uint256 denominator)
Slippage(uint256 minAmountExpected, uint256 actualAmount)