Changelog and idl update

This commit is contained in:
Christian Kamm 2023-06-16 13:38:26 +02:00
parent 4e45653c95
commit 9bd3913ba4
3 changed files with 136 additions and 3 deletions

View File

@ -37,6 +37,7 @@ Update this for each program release and mainnet deployment.
- Improve logging of loans (#599, #603)
- Pyth oracle status is checked (#607)
- Fixes to the inactive fee buyback feature (#608)
- Fix token force close to respect the reduce-only flag (#613)
- Improve docs (#590, #594)
- Use workspace dependencies (#588)

View File

@ -9054,6 +9054,50 @@
}
]
},
{
"name": "WithdrawLoanLog",
"fields": [
{
"name": "mangoGroup",
"type": "publicKey",
"index": false
},
{
"name": "mangoAccount",
"type": "publicKey",
"index": false
},
{
"name": "tokenIndex",
"type": "u16",
"index": false
},
{
"name": "loanAmount",
"type": "i128",
"index": false
},
{
"name": "loanOriginationFee",
"type": "i128",
"index": false
},
{
"name": "instruction",
"type": {
"defined": "LoanOriginationFeeInstruction"
},
"index": false
},
{
"name": "price",
"type": {
"option": "i128"
},
"index": false
}
]
},
{
"name": "TokenLiqBankruptcyLog",
"fields": [
@ -9749,7 +9793,7 @@
{
"code": 6007,
"name": "HealthMustBePositiveOrIncrease",
"msg": "health must be positive or increase"
"msg": "health must be positive or not decrease"
},
{
"code": 6008,

View File

@ -9054,6 +9054,50 @@ export type MangoV4 = {
}
]
},
{
"name": "WithdrawLoanLog",
"fields": [
{
"name": "mangoGroup",
"type": "publicKey",
"index": false
},
{
"name": "mangoAccount",
"type": "publicKey",
"index": false
},
{
"name": "tokenIndex",
"type": "u16",
"index": false
},
{
"name": "loanAmount",
"type": "i128",
"index": false
},
{
"name": "loanOriginationFee",
"type": "i128",
"index": false
},
{
"name": "instruction",
"type": {
"defined": "LoanOriginationFeeInstruction"
},
"index": false
},
{
"name": "price",
"type": {
"option": "i128"
},
"index": false
}
]
},
{
"name": "TokenLiqBankruptcyLog",
"fields": [
@ -9749,7 +9793,7 @@ export type MangoV4 = {
{
"code": 6007,
"name": "HealthMustBePositiveOrIncrease",
"msg": "health must be positive or increase"
"msg": "health must be positive or not decrease"
},
{
"code": 6008,
@ -19015,6 +19059,50 @@ export const IDL: MangoV4 = {
}
]
},
{
"name": "WithdrawLoanLog",
"fields": [
{
"name": "mangoGroup",
"type": "publicKey",
"index": false
},
{
"name": "mangoAccount",
"type": "publicKey",
"index": false
},
{
"name": "tokenIndex",
"type": "u16",
"index": false
},
{
"name": "loanAmount",
"type": "i128",
"index": false
},
{
"name": "loanOriginationFee",
"type": "i128",
"index": false
},
{
"name": "instruction",
"type": {
"defined": "LoanOriginationFeeInstruction"
},
"index": false
},
{
"name": "price",
"type": {
"option": "i128"
},
"index": false
}
]
},
{
"name": "TokenLiqBankruptcyLog",
"fields": [
@ -19710,7 +19798,7 @@ export const IDL: MangoV4 = {
{
"code": 6007,
"name": "HealthMustBePositiveOrIncrease",
"msg": "health must be positive or increase"
"msg": "health must be positive or not decrease"
},
{
"code": 6008,