SimpleAggregator
Verified contract
Active on
Ethereum with 37 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.00)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
WETH | ERC-20 | 0 | $3,952.06 |
$0 |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 16286236 | 2 years ago | | | 0 | 0.011526453 | |
| 16286234 | 2 years ago | | | 0 | 0.013608960 | |
| 16286232 | 2 years ago | | | 0 | 0.010652626 | |
| 16286230 | 2 years ago | | | 0 | 0.013458034 | |
| 16286157 | 2 years ago | | | 0 | 0.013086582 | |
| 16286154 | 2 years ago | | | 0 | 0.013782430 | |
| 16285995 | 2 years ago | | | 0 | 0.016201530 | |
| 16285991 | 2 years ago | | | 0 | 0.022449123 | |
| 16285848 | 2 years ago | | | 0 | 0.00089013290 | |
| 16285837 | 2 years ago | | | 0 | 0.015588542 |
ABI
ABI objects
Getter at block 21388182
LENDING_POOL() view returns (address)
0x7d2768de32b0b80b7a3454c06bdac94a69ddc7a9
WETH() view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
provider() view returns (address)
0xb53c1a33016b2dc2ff3653530bff1848a515c8c5
router() view returns (address)
0x68b3465833fb72a70ecdf485e0e4c7bd8665fc45
Read-only
hashPosition(struct SimpleAggregatorPosition position) pure returns (bytes32)
positions(bytes32) view returns (address debt, address collateral, address owner, uint256 amount, uint8 leverage, uint256 stopLoss, uint256 takeProfit)
State-modifying
Events _flashLoanAave(bytes _flashLoanParams, uint256 _borrowAmount)
_swap(address from, address to, uint256 _amount, bytes _swapParams) payable returns (uint256 amount)
borrowAmount(address token) returns (uint256)
closePosition(bytes32 positionHash, bytes _flashLoan) payable
closePositionCallback(address collateral, address debt, address user, uint256 borrowedAmount, bytes _exchange, uint256 repayAmount) payable
collateralAmount(address token) returns (uint256)
executeOperation(address[] assets, uint256[] amounts, uint256[] premiums, address, bytes params) returns (bool)
openPosition(struct SimpleAggregatorPosition position, bytes _flashLoan) payable
openPositionCallback(address collateral, address debt, uint256 amount, uint256 leverageRatio, bytes _exchange, uint256 repayAmount) payable
This contract contains no event objects.
This contract contains no constructor objects.
receive()
This contract contains no error objects.