Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.00)
No balances found for "ALE"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 20716548 | 2 months ago | | | 0 | 0.0032185094 | |
| 20713881 | 2 months ago | | | 0 | 0.0082555689 | |
| 20713770 | 2 months ago | | | 0 | 0.0089186192 | |
| 20706688 | 2 months ago | | | 0 | 0.0027155508 | |
| 20686237 | 3 months ago | | | 0 | 0.0036871438 | |
| 20648739 | 3 months ago | | | 0 | 0.0015852914 | |
| 20643813 | 3 months ago | | | 0 | 0.0014235789 | |
| 20638986 | 3 months ago | | | 0 | 0.00049238462 | |
| 20637278 | 3 months ago | | | 0 | 0.0015241408 | |
| 20632380 | 3 months ago | | | 0 | 0.0014790639 |
ABI
ABI objects
Getter at block 21246953
DBR() view returns (address)
0xad038eb671c44b853887a7e32528fab35dc5d710
curvePool() view returns (address)
0xc7de47b9ca2fc753d6a2f167d8b3e19c6d18b19a
exchangeProxy() view returns (address)
0x111111125421ca6dc452d289314280a0f8842a65
owner() view returns (address)
0x926df14a23be491164dcf93f4c468a50ef659d5b
Read-only
approximateDolaAndDbrNeeded(uint256 dolaBorrowAmount, uint256 period, uint256 iterations) view returns (uint256 dolaForDbr, uint256 dbrNeeded)
markets(address) view returns (address buySellToken, address collateral, address helper)
State-modifying
Events deleveragePosition(uint256 _value, address _market, uint256 _collateralAmount, address _spender, bytes _swapCallData, struct ALEPermit _permit, bytes _helperData, struct ALEDBRHelper _dbrData) payable
depositAndLeveragePosition(uint256 _initialDeposit, uint256 _value, address _market, address _spender, bytes _swapCallData, struct ALEPermit _permit, bytes _helperData, struct ALEDBRHelper _dbrData) payable
leveragePosition(uint256 _value, address _market, address _spender, bytes _swapCallData, struct ALEPermit _permit, bytes _helperData, struct ALEDBRHelper _dbrData) payable
renounceOwnership()
setExchangeProxy(address _exchangeProxy)
setMarket(address _market, address _buySellToken, address _collateral, address _helper)
transferOwnership(address newOwner)
updateMarketHelper(address _market, address _helper)
Deposit(address indexed market, address indexed account, uint256 depositAmount)
LeverageDown(address indexed market, address indexed account, uint256 dolaFlashMinted, uint256 collateralSold, uint256 dolaUserRepaid, uint256 dbrSoldForDola)
LeverageUp(address indexed market, address indexed account, uint256 dolaFlashMinted, uint256 collateralDeposited, uint256 dolaBorrowed, uint256 dolaForDBR)
NewHelper(address indexed market, address indexed helper)
NewMarket(address indexed market, address indexed buySellToken, address collateral, address indexed helper)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
constructor(address _exchangeProxy, address _pool)
receive()
CollateralIsZero()
CollateralNotSet()
DOLAInvalidBorrow(uint256 expected, uint256 actual)
DOLAInvalidRepay(uint256 expected, uint256 actual)
DepositFailed(uint256 expected, uint256 actual)
InvalidHelperAddress()
InvalidProxyAddress()
MarketNotSet(address market)
NoMarket(address market)
NothingToDeposit()
OwnableInvalidOwner(address owner)
OwnableUnauthorizedAccount(address account)
ReentrancyGuardReentrantCall()
SwapFailed()
TotalSupplyChanged(uint256 expected, uint256 actual)
WithdrawFailed(uint256 expected, uint256 actual)
WrongCollateral(address market, address buySellToken, address collateral, address helper)