forked from degenfolio/degenfolio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
notes.txt
84 lines (36 loc) · 2.54 KB
/
notes.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
V2 Lending Pool: 0x7d2768dE32b0b80b7a3454c06BdAc94A69DDc7A9
V2 Contract events
LiquidationCall(address collateralAsset,address debtAsset,address user,uint256 debtToCover,uint256 liquidatedCollateralAmount,address liquidator,bool receiveAToken )
ReserveDataUpdated(address asset,uint256 liquidityRate,uint256 stableBorrowRate,uint256 variableBorrowRate,uint256 liquidityIndex,uint256 variableBorrowIndex )
ReserveUsedAsCollateralEnabled(address _reserve,address _user )
ReserveUsedAsCollateralDisabled(address _reserve,address _user )
Deposit(address reserve,address user,address onBehalfOf,uint256 amount,uint16 referral )
0x2649261443afa6e578ead4776e4f3475ee323e3c0267a62c2044d679a98f4fc8
Withdraw(address vault,address owner,address reserve,uint256 amount )
0xdca95278a39fdd1108ace45c5d663cb1d952a8a5a1e04233434e6b23b1207688
Borrow(address reserve,address user,address onBehalfOf,uint256 amount,uint256 borrowRateMode,uint256 borrowRate,uint16 referral )
0x49b402d830e20dc80f235ee5bb0733e7928e907e4c8c1bb12232570b7f703f1f
Repay(address vault,address owner,address reserve,uint256 amount )
0xd2444a5b6f258adc3f292285f8ebdd1d513241cd08c01e8fc9c8bc24328ec6a8
RebalanceStableBorrowRate(address reserve,address user )
Upgraded(address nextVersion )
Swap(address ,address ,uint256 )
FlashLoan(address target,address initiator,address asset,uint256 amount,uint256 premium,uint16 referralCode )
Stake/Unstake
Staked AAVE (stkAAVE) is a proxy contract at 0x4da27a545c0c5B758a6BA100e3a049001de870f5
Looking at the contract code : contract StakedAaveV2 is StakedTokenV2
event Staked(address indexed from, address indexed onBehalfOf, uint256 amount);
0x4446170a0dfbbf2676192647cdab5797a62eedd372c306c94c9bea0d46d14738
event Redeem(address indexed from, address indexed to, uint256 amount);
0x42636649c6764c8c49aca9cf06dce6f0de61cefe0baed512a459821dc60c0ea0
event RewardsAccrued(address user, uint256 amount);
event RewardsClaimed(address indexed from, address indexed to, uint256 amount);
0x4e9920777cbaba5949659f3765bdc7d26ba682f8adc6245f0c755a51671bfafc
event Cooldown(address indexed user);
aCoins
https://aave.github.io/aave-addresses/mainnet.json
Transfer(address from,address to,uint256 value )
Mint(address _to,uint256 _amount,uint256 _newTotalSupply )
Burn(address account,address burnAddress,uint256 tokens,uint256 time )
Approval(address owner,address spender,uint256 value )
BalanceTransfer(address from,address to,uint256 value,uint256 index )