Commit Graph

18 Commits

Author SHA1 Message Date
Edward Mulraney
56b101f2f9 handle repayments in adjust() and upate tests 2021-08-10 11:18:32 +01:00
Edward Mulraney
f81af1743e make all functions payable so they can be composed with payable functions 2021-07-30 10:31:46 +01:00
Edward Mulraney
f37b863815
Allow non-payable functions to be composable with payable functions
Make all functions payable so they can be composed in a larger spell which might use msg.value (normally non-payable is rejected)

Co-authored-by: Samyak Jain <34437877+KaymasJain@users.noreply.github.com>
2021-07-26 08:43:12 -04:00
Edward Mulraney
a126642e30
Allow non-payable functions to be composable with payable functions
Make all functions payable so they can be composed in a larger spell which might use msg.value (normally non-payable is rejected)

Co-authored-by: Samyak Jain <34437877+KaymasJain@users.noreply.github.com>
2021-07-26 08:43:00 -04:00
Edward Mulraney
24a038aced
Allow non payable functions to be composable with payable functions
Make all functions payable so they can be composed in a larger spell which might use msg.value (normally non-payable is rejected)

Co-authored-by: Samyak Jain <34437877+KaymasJain@users.noreply.github.com>
2021-07-26 08:42:20 -04:00
Edward Mulraney
67e07913ed
Allow non-payable functions to be composable with payable functions
Make all functions payable so they can be composed in a larger spell which might use msg.value (normally non-payable is rejected)

Co-authored-by: Samyak Jain <34437877+KaymasJain@users.noreply.github.com>
2021-07-26 08:41:32 -04:00
Edward Mulraney
7ef923929c fix broken tests from instadapp PR 2021-06-30 17:16:05 +01:00
Samyak Jain
d45f08b743 updated the event with data from struct 2021-06-29 04:23:30 +05:30
Samyak Jain
027095603c added struct on adjust setIds 2021-06-29 04:22:04 +05:30
Samyak Jain
7b17bc9d40 liquity updates done 2021-06-28 23:55:24 +05:30
Samyak Jain
6211c526d8 updated all the functions other adjust 2021-06-26 18:30:03 +05:30
Samyak Jain
0a2735cad2 restructuring & updated function till repay 2021-06-26 01:40:45 +05:30
Edward Mulraney
4ea58ba50d log the eth and lqty gains from stability pool operations. general tidy up 2021-06-09 21:02:06 +01:00
Edward Mulraney
7588733d98 add tests to ensure getId/setIds all work 2021-06-08 16:57:36 +01:00
Edward Mulraney
5be5cb6866 include all gains from staking/stability-pool when performing operations on them 2021-06-04 15:55:04 +01:00
Edward Mulraney
97db94fe59 add test for instadapp event return values. address PR comments:
- add setUints to all applicable functions
    - use uint256 rather than uint for event data
2021-06-04 12:18:16 +01:00
Edward Mulraney
ec8fd393a1 add recommended solidity version 2021-06-02 11:19:05 +01:00
Edward Mulraney
a1203c66ae add liquity connector 2021-06-01 15:50:52 +01:00