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) |
---|---|---|---|---|---|---|---|
| 21201801 | 2 hours ago | | | 0 | 0.013511722 | |
| 21200839 | 5 hours ago | | | 0 | 0.0097619196 | |
| 21200826 | 5 hours ago | | | 0 | 0.011149511 | |
| 21200812 | 5 hours ago | | | 0 | 0.012157341 | |
| 21197648 | 15 hours ago | | | 0 | 0.0091604599 | |
| 21197608 | 16 hours ago | | | 0 | 0.0098529207 | |
| 21194243 | a day ago | | | 0 | 0.018207948 | |
| 21192790 | a day ago | | | 0 | 0.012929376 | |
| 21191858 | a day ago | | | 0 | 0.013920515 | |
| 21190572 | 2 days ago | | | 0 | 0.017671969 |
ABI
ABI objects
Getter at block 21202258
CALLBACK_SUCCESS() view returns (bytes32)
0x439148f0bbc682ca079e46d6e2c2f0c1e3b820f1a291b069d8882abf8cf18dd9
DBR() view returns (address)
0xad038eb671c44b853887a7e32528fab35dc5d710
DELEVERAGE() view returns (bytes32)
0x0d4f76b1b60020edd6acf708bcdea3786c83a63ebd71b191c28d7561a8c0fc2a
LEVERAGE() view returns (bytes32)
0x147ae675f296256b5eecc84e9bf2bc391732bfd51dcbff57b4a60ba6cb0ffaf1
curvePool() view returns (address)
0xc7de47b9ca2fc753d6a2f167d8b3e19c6d18b19a
exchangeProxy() view returns (address)
0x111111125421ca6dc452d289314280a0f8842a65
flash() view returns (address)
0x6c5fdc0c53b122ae0f15a863c349f3a481de8f1f
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, bool useProxy)
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, bool depositCollateral) payable
leveragePosition(uint256 value, address market, address spender, bytes swapCallData, struct ALEPermit permit, bytes helperData, struct ALEDBRHelper dbrData) payable
onFlashLoan(address initiator, address, uint256 amount, uint256 fee, bytes data) returns (bytes32)
renounceOwnership()
setExchangeProxy(address _exchangeProxy)
setMarket(address _market, address _buySellToken, address _helper, bool useProxy)
transferOwnership(address newOwner)
updateMarketHelper(address _market, address _helper)
Deposit(address indexed market, address indexed account, address indexed token, uint256 depositAmount)
LeverageDown(address indexed market, address indexed account, uint256 dolaFlashMinted, uint256 dolaFee, uint256 collateralSold, uint256 dolaUserRepaid, uint256 dbrSoldForDola)
LeverageUp(address indexed market, address indexed account, uint256 dolaFlashMinted, uint256 dolaFee, 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()
AddressEmptyCode(address target)
AddressInsufficientBalance(address account)
CollateralIsZero()
CollateralNotSet()
DOLAInvalidBorrow(uint256 expected, uint256 actual)
DOLAInvalidRepay(uint256 expected, uint256 actual)
DepositFailed(uint256 expected, uint256 actual)
FailedInnerCall()
InvalidAction(bytes32 action)
InvalidHelperAddress()
InvalidProxyAddress()
MarketNotSet(address market)
MarketSetupFailed(address market, address buySellToken, address collateral, address helper)
NoMarket(address market)
NotALE(address caller)
NotFlashMinter(address caller)
NothingToDeposit()
OwnableInvalidOwner(address owner)
OwnableUnauthorizedAccount(address account)
ReentrancyGuardReentrantCall()
SafeERC20FailedOperation(address token)
SwapFailed()
TotalSupplyChanged(uint256 expected, uint256 actual)
WithdrawFailed(uint256 expected, uint256 actual)