Skip to content

Commit

Permalink
Update to 1.1.7 idl
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrena-Corto committed Dec 3, 2024
1 parent 234be0d commit 6fd18dc
Show file tree
Hide file tree
Showing 2 changed files with 126 additions and 3 deletions.
43 changes: 42 additions & 1 deletion idl/adrena.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "1.1.4",
"version": "1.1.7",
"name": "adrena",
"instructions": [
{
Expand Down Expand Up @@ -10053,6 +10053,12 @@
{
"name": "leverage",
"type": "u32"
},
{
"name": "referrer",
"type": {
"option": "publicKey"
}
}
]
}
Expand All @@ -10073,6 +10079,12 @@
{
"name": "leverage",
"type": "u32"
},
{
"name": "referrer",
"type": {
"option": "publicKey"
}
}
]
}
Expand All @@ -10093,6 +10105,12 @@
{
"name": "leverage",
"type": "u32"
},
{
"name": "referrer",
"type": {
"option": "publicKey"
}
}
]
}
Expand Down Expand Up @@ -11310,6 +11328,29 @@
]
}
},
{
"name": "LeverageCheckType",
"type": {
"kind": "enum",
"variants": [
{
"name": "Initial"
},
{
"name": "AddCollateral"
},
{
"name": "RemoveCollateral"
},
{
"name": "IncreasePosition"
},
{
"name": "Liquidate"
}
]
}
},
{
"name": "Side",
"type": {
Expand Down
86 changes: 84 additions & 2 deletions idl/adrena.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export type Adrena = {
"version": "1.1.4",
"version": "1.1.7",
"name": "adrena",
"instructions": [
{
Expand Down Expand Up @@ -10053,6 +10053,12 @@ export type Adrena = {
{
"name": "leverage",
"type": "u32"
},
{
"name": "referrer",
"type": {
"option": "publicKey"
}
}
]
}
Expand All @@ -10073,6 +10079,12 @@ export type Adrena = {
{
"name": "leverage",
"type": "u32"
},
{
"name": "referrer",
"type": {
"option": "publicKey"
}
}
]
}
Expand All @@ -10093,6 +10105,12 @@ export type Adrena = {
{
"name": "leverage",
"type": "u32"
},
{
"name": "referrer",
"type": {
"option": "publicKey"
}
}
]
}
Expand Down Expand Up @@ -11310,6 +11328,29 @@ export type Adrena = {
]
}
},
{
"name": "LeverageCheckType",
"type": {
"kind": "enum",
"variants": [
{
"name": "Initial"
},
{
"name": "AddCollateral"
},
{
"name": "RemoveCollateral"
},
{
"name": "IncreasePosition"
},
{
"name": "Liquidate"
}
]
}
},
{
"name": "Side",
"type": {
Expand Down Expand Up @@ -12228,7 +12269,7 @@ export type Adrena = {
};

export const IDL: Adrena = {
"version": "1.1.4",
"version": "1.1.7",
"name": "adrena",
"instructions": [
{
Expand Down Expand Up @@ -22282,6 +22323,12 @@ export const IDL: Adrena = {
{
"name": "leverage",
"type": "u32"
},
{
"name": "referrer",
"type": {
"option": "publicKey"
}
}
]
}
Expand All @@ -22302,6 +22349,12 @@ export const IDL: Adrena = {
{
"name": "leverage",
"type": "u32"
},
{
"name": "referrer",
"type": {
"option": "publicKey"
}
}
]
}
Expand All @@ -22322,6 +22375,12 @@ export const IDL: Adrena = {
{
"name": "leverage",
"type": "u32"
},
{
"name": "referrer",
"type": {
"option": "publicKey"
}
}
]
}
Expand Down Expand Up @@ -23539,6 +23598,29 @@ export const IDL: Adrena = {
]
}
},
{
"name": "LeverageCheckType",
"type": {
"kind": "enum",
"variants": [
{
"name": "Initial"
},
{
"name": "AddCollateral"
},
{
"name": "RemoveCollateral"
},
{
"name": "IncreasePosition"
},
{
"name": "Liquidate"
}
]
}
},
{
"name": "Side",
"type": {
Expand Down

0 comments on commit 6fd18dc

Please sign in to comment.