Closed djudjuu closed 3 years ago
@gparuthi let's also fix this for the neufund demo
Trying with scenario:
{
"users": [
{
"name": "a b",
"email": "amitabh",
"user_type": "borrower",
"demographic_info": {
"income": 300,
"credit_score": 600,
"education_years": 3
}
},
{
"name": "d p",
"email": "deepika",
"user_type": "lender",
"demographic_info": {
"income": 300,
"credit_score": 600,
"education_years": 3
}
},
{
"name": "s k",
"email": "salman",
"user_type": "lender",
"demographic_info": {}
}
],
"actions": [
{
"id": 32,
"action_type": "ADJUST_BALANCES",
"payload": {
"userEmail": "deepika",
"balanceDelta": "20000"
}
},
{
"id": 33,
"action_type": "ADJUST_BALANCES",
"payload": {
"userEmail": "salman",
"balanceDelta": "1000"
}
},
{
"id": 34,
"action_type": "ADJUST_BALANCES",
"payload": {
"userEmail": "salman",
"balanceDelta": "20000"
}
}
]
}```
when a pledge request is too high