ALE

Verified contract

Active on Ethereum with 239 txns
Deployed by via 0x3ae6323c at 18384789
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "ALE"

0x85f033203c421ed875959241431f277e824d6ea33ee1761166040c5ef448c243
0x779b25aebf6f350d30dacb64a42094a0f91536afb6aff2ba45772909dfe5f617
0x81af4447648962f41cc31a5e519f61a7ae158f52e2666b806f14b659be3ac13b
0x6fbea97c4ac666d927141910e0f619b9169c3f5f60fffe78f74c238b4c7a4414
0xcf40fa71d5d1855c5b4fb87d00d98718880a657df6a9027e6ac7320c5cbe60ec
0xfbbd9f57ad908253040f2510d62681af0a5d0f1f35e534dc9ad9ef576cafcabf
0xd4eaf2beffe6b82d74116f7131f1ba8a99f1676ba4aa1e1872493196d80d3970
0x4a114f89ee08e3ba772df7477af3aa9c8d36b0072450eae4870ace513d3cc8c0
0x36fce87f9ee1ca5679f22c457da642bc360d10229722317739c396862f6a71fc
0x7d3ca34c36207772bd891577fa77862c82b7a7ac08333bcaf34c68b387504ef7

Functions
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 dolaBorrowAmountuint256 perioduint256 iterationsview returns (uint256 dolaForDbruint256 dbrNeeded)
markets(addressview returns (address buySellTokenaddress collateraladdress helper)
State-modifying
deleveragePosition(uint256 _valueaddress _marketuint256 _collateralAmountaddress _spenderbytes _swapCallDatastruct ALEPermit _permitbytes _helperDatastruct ALEDBRHelper _dbrDatapayable 
depositAndLeveragePosition(uint256 _initialDeposituint256 _valueaddress _marketaddress _spenderbytes _swapCallDatastruct ALEPermit _permitbytes _helperDatastruct ALEDBRHelper _dbrDatapayable 
leveragePosition(uint256 _valueaddress _marketaddress _spenderbytes _swapCallDatastruct ALEPermit _permitbytes _helperDatastruct ALEDBRHelper _dbrDatapayable 
renounceOwnership(
setExchangeProxy(address _exchangeProxy
setMarket(address _marketaddress _buySellTokenaddress _collateraladdress _helper
transferOwnership(address newOwner
updateMarketHelper(address _marketaddress _helper
Events
Deposit(address indexed marketaddress indexed accountuint256 depositAmount
LeverageDown(address indexed marketaddress indexed accountuint256 dolaFlashMinteduint256 collateralSolduint256 dolaUserRepaiduint256 dbrSoldForDola
LeverageUp(address indexed marketaddress indexed accountuint256 dolaFlashMinteduint256 collateralDepositeduint256 dolaBorroweduint256 dolaForDBR
NewHelper(address indexed marketaddress indexed helper
NewMarket(address indexed marketaddress indexed buySellTokenaddress collateraladdress indexed helper
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Constructor
constructor(address _exchangeProxyaddress _pool
Fallback and receive
receive(
Errors
CollateralIsZero(
CollateralNotSet(
DOLAInvalidBorrow(uint256 expecteduint256 actual
DOLAInvalidRepay(uint256 expecteduint256 actual
DepositFailed(uint256 expecteduint256 actual
InvalidHelperAddress(
InvalidProxyAddress(
MarketNotSet(address market
NoMarket(address market
NothingToDeposit(
OwnableInvalidOwner(address owner
OwnableUnauthorizedAccount(address account
ReentrancyGuardReentrantCall(
SwapFailed(
TotalSupplyChanged(uint256 expecteduint256 actual
WithdrawFailed(uint256 expecteduint256 actual
WrongCollateral(address marketaddress buySellTokenaddress collateraladdress helper