update idl

This commit is contained in:
Christian Kamm 2023-08-30 10:59:14 +02:00
parent 289c3ff828
commit e37f1ed996
2 changed files with 78 additions and 0 deletions

View File

@ -8233,14 +8233,28 @@
},
{
"name": "changeAmount",
"docs": [
"The amount by which the user's token position changed at the end",
"",
"So if the user repaid the approved_amount in full, it'd be 0.",
"",
"Does NOT include the loan_origination_fee or deposit_fee, so the true",
"change is `change_amount - loan_origination_fee - deposit_fee`."
],
"type": "i128"
},
{
"name": "loan",
"docs": [
"The amount that was a loan (<= approved_amount, depends on user's deposits)"
],
"type": "i128"
},
{
"name": "loanOriginationFee",
"docs": [
"The fee paid on the loan, not included in `loan` or `change_amount`"
],
"type": "i128"
},
{
@ -8257,7 +8271,19 @@
},
{
"name": "depositFee",
"docs": [
"Deposit fee paid for positive change_amount.",
"",
"Not factored into change_amount."
],
"type": "i128"
},
{
"name": "approvedAmount",
"docs": [
"The amount that was transfered out to the user"
],
"type": "u64"
}
]
}

View File

@ -8233,14 +8233,28 @@ export type MangoV4 = {
},
{
"name": "changeAmount",
"docs": [
"The amount by which the user's token position changed at the end",
"",
"So if the user repaid the approved_amount in full, it'd be 0.",
"",
"Does NOT include the loan_origination_fee or deposit_fee, so the true",
"change is `change_amount - loan_origination_fee - deposit_fee`."
],
"type": "i128"
},
{
"name": "loan",
"docs": [
"The amount that was a loan (<= approved_amount, depends on user's deposits)"
],
"type": "i128"
},
{
"name": "loanOriginationFee",
"docs": [
"The fee paid on the loan, not included in `loan` or `change_amount`"
],
"type": "i128"
},
{
@ -8257,7 +8271,19 @@ export type MangoV4 = {
},
{
"name": "depositFee",
"docs": [
"Deposit fee paid for positive change_amount.",
"",
"Not factored into change_amount."
],
"type": "i128"
},
{
"name": "approvedAmount",
"docs": [
"The amount that was transfered out to the user"
],
"type": "u64"
}
]
}
@ -20770,14 +20796,28 @@ export const IDL: MangoV4 = {
},
{
"name": "changeAmount",
"docs": [
"The amount by which the user's token position changed at the end",
"",
"So if the user repaid the approved_amount in full, it'd be 0.",
"",
"Does NOT include the loan_origination_fee or deposit_fee, so the true",
"change is `change_amount - loan_origination_fee - deposit_fee`."
],
"type": "i128"
},
{
"name": "loan",
"docs": [
"The amount that was a loan (<= approved_amount, depends on user's deposits)"
],
"type": "i128"
},
{
"name": "loanOriginationFee",
"docs": [
"The fee paid on the loan, not included in `loan` or `change_amount`"
],
"type": "i128"
},
{
@ -20794,7 +20834,19 @@ export const IDL: MangoV4 = {
},
{
"name": "depositFee",
"docs": [
"Deposit fee paid for positive change_amount.",
"",
"Not factored into change_amount."
],
"type": "i128"
},
{
"name": "approvedAmount",
"docs": [
"The amount that was transfered out to the user"
],
"type": "u64"
}
]
}