Bump program version to v0.21.0 and update idl

This commit is contained in:
Christian Kamm 2023-12-05 15:57:42 +01:00
parent e7bfa4e03e
commit db4e486643
4 changed files with 32 additions and 8 deletions

2
Cargo.lock generated
View File

@ -3301,7 +3301,7 @@ dependencies = [
[[package]]
name = "mango-v4"
version = "0.20.0"
version = "0.21.0"
dependencies = [
"anchor-lang",
"anchor-spl",

View File

@ -1,5 +1,5 @@
{
"version": "0.20.0",
"version": "0.21.0",
"name": "mango_v4",
"instructions": [
{
@ -993,6 +993,10 @@
"name": "maintWeightShiftAbort",
"type": "bool"
},
{
"name": "setFallbackOracle",
"type": "bool"
},
{
"name": "depositLimitOpt",
"type": {
@ -7319,6 +7323,10 @@
"defined": "I80F48"
}
},
{
"name": "fallbackOracle",
"type": "publicKey"
},
{
"name": "depositLimit",
"docs": [
@ -7331,7 +7339,7 @@
"type": {
"array": [
"u8",
2000
1968
]
}
}

View File

@ -1,6 +1,6 @@
[package]
name = "mango-v4"
version = "0.20.0"
version = "0.21.0"
description = "Created with Anchor"
edition = "2021"

View File

@ -1,5 +1,5 @@
export type MangoV4 = {
"version": "0.20.0",
"version": "0.21.0",
"name": "mango_v4",
"instructions": [
{
@ -993,6 +993,10 @@ export type MangoV4 = {
"name": "maintWeightShiftAbort",
"type": "bool"
},
{
"name": "setFallbackOracle",
"type": "bool"
},
{
"name": "depositLimitOpt",
"type": {
@ -7319,6 +7323,10 @@ export type MangoV4 = {
"defined": "I80F48"
}
},
{
"name": "fallbackOracle",
"type": "publicKey"
},
{
"name": "depositLimit",
"docs": [
@ -7331,7 +7339,7 @@ export type MangoV4 = {
"type": {
"array": [
"u8",
2000
1968
]
}
}
@ -13520,7 +13528,7 @@ export type MangoV4 = {
};
export const IDL: MangoV4 = {
"version": "0.20.0",
"version": "0.21.0",
"name": "mango_v4",
"instructions": [
{
@ -14514,6 +14522,10 @@ export const IDL: MangoV4 = {
"name": "maintWeightShiftAbort",
"type": "bool"
},
{
"name": "setFallbackOracle",
"type": "bool"
},
{
"name": "depositLimitOpt",
"type": {
@ -20840,6 +20852,10 @@ export const IDL: MangoV4 = {
"defined": "I80F48"
}
},
{
"name": "fallbackOracle",
"type": "publicKey"
},
{
"name": "depositLimit",
"docs": [
@ -20852,7 +20868,7 @@ export const IDL: MangoV4 = {
"type": {
"array": [
"u8",
2000
1968
]
}
}