flash-sdk 2.9.2 → 2.9.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -5885,6 +5885,26 @@ export type Perpetuals = {
5885
5885
  ];
5886
5886
  };
5887
5887
  },
5888
+ {
5889
+ "name": "OracleAccountType";
5890
+ "type": {
5891
+ "kind": "enum";
5892
+ "variants": [
5893
+ {
5894
+ "name": "Internal";
5895
+ },
5896
+ {
5897
+ "name": "External";
5898
+ },
5899
+ {
5900
+ "name": "Backup";
5901
+ },
5902
+ {
5903
+ "name": "Custom";
5904
+ }
5905
+ ];
5906
+ };
5907
+ },
5888
5908
  {
5889
5909
  "name": "AumCalcMode";
5890
5910
  "type": {
@@ -5973,6 +5993,76 @@ export type Perpetuals = {
5973
5993
  }
5974
5994
  ];
5975
5995
  },
5996
+ {
5997
+ "name": "AddCollateralLogV3";
5998
+ "fields": [
5999
+ {
6000
+ "name": "owner";
6001
+ "type": "publicKey";
6002
+ "index": false;
6003
+ },
6004
+ {
6005
+ "name": "market";
6006
+ "type": "publicKey";
6007
+ "index": false;
6008
+ },
6009
+ {
6010
+ "name": "collateralPrice";
6011
+ "type": "u64";
6012
+ "index": false;
6013
+ },
6014
+ {
6015
+ "name": "collateralPriceExponent";
6016
+ "type": "i32";
6017
+ "index": false;
6018
+ },
6019
+ {
6020
+ "name": "deltaCollateralAmount";
6021
+ "type": "u64";
6022
+ "index": false;
6023
+ },
6024
+ {
6025
+ "name": "finalCollateralAmount";
6026
+ "type": "u64";
6027
+ "index": false;
6028
+ },
6029
+ {
6030
+ "name": "finalCollateralUsd";
6031
+ "type": "u64";
6032
+ "index": false;
6033
+ },
6034
+ {
6035
+ "name": "finalSizeAmount";
6036
+ "type": "u64";
6037
+ "index": false;
6038
+ },
6039
+ {
6040
+ "name": "finalSizeUsd";
6041
+ "type": "u64";
6042
+ "index": false;
6043
+ },
6044
+ {
6045
+ "name": "oracleAccountTime";
6046
+ "type": "i64";
6047
+ "index": false;
6048
+ },
6049
+ {
6050
+ "name": "oracleAccountType";
6051
+ "type": "u8";
6052
+ "index": false;
6053
+ },
6054
+ {
6055
+ "name": "oracleAccountPrice";
6056
+ "type": "u64";
6057
+ "index": false;
6058
+ },
6059
+ {
6060
+ "name": "oracleAccountPriceExponent";
6061
+ "type": "i32";
6062
+ "index": false;
6063
+ }
6064
+ ];
6065
+ },
5976
6066
  {
5977
6067
  "name": "AddLiquidityLog";
5978
6068
  "fields": [
@@ -6103,6 +6193,116 @@ export type Perpetuals = {
6103
6193
  }
6104
6194
  ];
6105
6195
  },
6196
+ {
6197
+ "name": "ClosePositionLogV3";
6198
+ "fields": [
6199
+ {
6200
+ "name": "owner";
6201
+ "type": "publicKey";
6202
+ "index": false;
6203
+ },
6204
+ {
6205
+ "name": "market";
6206
+ "type": "publicKey";
6207
+ "index": false;
6208
+ },
6209
+ {
6210
+ "name": "entryPrice";
6211
+ "type": "u64";
6212
+ "index": false;
6213
+ },
6214
+ {
6215
+ "name": "entryPriceExponent";
6216
+ "type": "i32";
6217
+ "index": false;
6218
+ },
6219
+ {
6220
+ "name": "duration";
6221
+ "type": "i64";
6222
+ "index": false;
6223
+ },
6224
+ {
6225
+ "name": "exitPrice";
6226
+ "type": "u64";
6227
+ "index": false;
6228
+ },
6229
+ {
6230
+ "name": "exitPriceExponent";
6231
+ "type": "i32";
6232
+ "index": false;
6233
+ },
6234
+ {
6235
+ "name": "sizeAmount";
6236
+ "type": "u64";
6237
+ "index": false;
6238
+ },
6239
+ {
6240
+ "name": "sizeUsd";
6241
+ "type": "u64";
6242
+ "index": false;
6243
+ },
6244
+ {
6245
+ "name": "collateralPrice";
6246
+ "type": "u64";
6247
+ "index": false;
6248
+ },
6249
+ {
6250
+ "name": "collateralPriceExponent";
6251
+ "type": "i32";
6252
+ "index": false;
6253
+ },
6254
+ {
6255
+ "name": "collateralAmount";
6256
+ "type": "u64";
6257
+ "index": false;
6258
+ },
6259
+ {
6260
+ "name": "profitUsd";
6261
+ "type": "u64";
6262
+ "index": false;
6263
+ },
6264
+ {
6265
+ "name": "lossUsd";
6266
+ "type": "u64";
6267
+ "index": false;
6268
+ },
6269
+ {
6270
+ "name": "feeAmount";
6271
+ "type": "u64";
6272
+ "index": false;
6273
+ },
6274
+ {
6275
+ "name": "feeRebateAmount";
6276
+ "type": "u64";
6277
+ "index": false;
6278
+ },
6279
+ {
6280
+ "name": "exitFeeAmount";
6281
+ "type": "u64";
6282
+ "index": false;
6283
+ },
6284
+ {
6285
+ "name": "oracleAccountTime";
6286
+ "type": "i64";
6287
+ "index": false;
6288
+ },
6289
+ {
6290
+ "name": "oracleAccountType";
6291
+ "type": "u8";
6292
+ "index": false;
6293
+ },
6294
+ {
6295
+ "name": "oracleAccountPrice";
6296
+ "type": "u64";
6297
+ "index": false;
6298
+ },
6299
+ {
6300
+ "name": "oracleAccountPriceExponent";
6301
+ "type": "i32";
6302
+ "index": false;
6303
+ }
6304
+ ];
6305
+ },
6106
6306
  {
6107
6307
  "name": "CollectStakeRewardLog";
6108
6308
  "fields": [
@@ -6264,7 +6464,7 @@ export type Perpetuals = {
6264
6464
  ];
6265
6465
  },
6266
6466
  {
6267
- "name": "DepositStakeLog";
6467
+ "name": "DecreaseSizeLogV3";
6268
6468
  "fields": [
6269
6469
  {
6270
6470
  "name": "owner";
@@ -6272,119 +6472,134 @@ export type Perpetuals = {
6272
6472
  "index": false;
6273
6473
  },
6274
6474
  {
6275
- "name": "lpTokens";
6475
+ "name": "market";
6476
+ "type": "publicKey";
6477
+ "index": false;
6478
+ },
6479
+ {
6480
+ "name": "entryPrice";
6276
6481
  "type": "u64";
6277
6482
  "index": false;
6278
- }
6279
- ];
6280
- },
6281
- {
6282
- "name": "ForceClosePositionLog";
6283
- "fields": [
6483
+ },
6284
6484
  {
6285
- "name": "owner";
6286
- "type": "publicKey";
6485
+ "name": "entryPriceExponent";
6486
+ "type": "i32";
6287
6487
  "index": false;
6288
6488
  },
6289
6489
  {
6290
- "name": "market";
6291
- "type": "publicKey";
6490
+ "name": "duration";
6491
+ "type": "i64";
6292
6492
  "index": false;
6293
6493
  },
6294
6494
  {
6295
- "name": "priceUsd";
6495
+ "name": "exitPrice";
6296
6496
  "type": "u64";
6297
6497
  "index": false;
6298
6498
  },
6299
6499
  {
6300
- "name": "sizeAmount";
6301
- "type": "u64";
6500
+ "name": "exitPriceExponent";
6501
+ "type": "i32";
6302
6502
  "index": false;
6303
6503
  },
6304
6504
  {
6305
- "name": "sizeUsd";
6505
+ "name": "deltaSizeAmount";
6306
6506
  "type": "u64";
6307
6507
  "index": false;
6308
6508
  },
6309
6509
  {
6310
- "name": "profitUsd";
6510
+ "name": "deltaSizeUsd";
6311
6511
  "type": "u64";
6312
6512
  "index": false;
6313
6513
  },
6314
6514
  {
6315
- "name": "lossUsd";
6515
+ "name": "finalSizeAmount";
6316
6516
  "type": "u64";
6317
6517
  "index": false;
6318
6518
  },
6319
6519
  {
6320
- "name": "feeAmount";
6520
+ "name": "finalSizeUsd";
6321
6521
  "type": "u64";
6322
6522
  "index": false;
6323
6523
  },
6324
6524
  {
6325
- "name": "isStopLoss";
6326
- "type": "bool";
6525
+ "name": "collateralPrice";
6526
+ "type": "u64";
6327
6527
  "index": false;
6328
- }
6329
- ];
6330
- },
6331
- {
6332
- "name": "ForceClosePositionLogV2";
6333
- "fields": [
6528
+ },
6334
6529
  {
6335
- "name": "owner";
6336
- "type": "publicKey";
6530
+ "name": "collateralPriceExponent";
6531
+ "type": "i32";
6337
6532
  "index": false;
6338
6533
  },
6339
6534
  {
6340
- "name": "market";
6341
- "type": "publicKey";
6535
+ "name": "deltaCollateralAmount";
6536
+ "type": "u64";
6342
6537
  "index": false;
6343
6538
  },
6344
6539
  {
6345
- "name": "price";
6540
+ "name": "profitUsd";
6346
6541
  "type": "u64";
6347
6542
  "index": false;
6348
6543
  },
6349
6544
  {
6350
- "name": "priceExponent";
6351
- "type": "i32";
6545
+ "name": "lossUsd";
6546
+ "type": "u64";
6352
6547
  "index": false;
6353
6548
  },
6354
6549
  {
6355
- "name": "sizeAmount";
6550
+ "name": "feeAmount";
6356
6551
  "type": "u64";
6357
6552
  "index": false;
6358
6553
  },
6359
6554
  {
6360
- "name": "sizeUsd";
6555
+ "name": "feeRebateAmount";
6361
6556
  "type": "u64";
6362
6557
  "index": false;
6363
6558
  },
6364
6559
  {
6365
- "name": "profitUsd";
6560
+ "name": "exitFeeAmount";
6366
6561
  "type": "u64";
6367
6562
  "index": false;
6368
6563
  },
6369
6564
  {
6370
- "name": "lossUsd";
6371
- "type": "u64";
6565
+ "name": "oracleAccountTime";
6566
+ "type": "i64";
6372
6567
  "index": false;
6373
6568
  },
6374
6569
  {
6375
- "name": "feeAmount";
6570
+ "name": "oracleAccountType";
6571
+ "type": "u8";
6572
+ "index": false;
6573
+ },
6574
+ {
6575
+ "name": "oracleAccountPrice";
6376
6576
  "type": "u64";
6377
6577
  "index": false;
6378
6578
  },
6379
6579
  {
6380
- "name": "isStopLoss";
6381
- "type": "bool";
6580
+ "name": "oracleAccountPriceExponent";
6581
+ "type": "i32";
6382
6582
  "index": false;
6383
6583
  }
6384
6584
  ];
6385
6585
  },
6386
6586
  {
6387
- "name": "IncreaseSizeLog";
6587
+ "name": "DepositStakeLog";
6588
+ "fields": [
6589
+ {
6590
+ "name": "owner";
6591
+ "type": "publicKey";
6592
+ "index": false;
6593
+ },
6594
+ {
6595
+ "name": "lpTokens";
6596
+ "type": "u64";
6597
+ "index": false;
6598
+ }
6599
+ ];
6600
+ },
6601
+ {
6602
+ "name": "ForceClosePositionLog";
6388
6603
  "fields": [
6389
6604
  {
6390
6605
  "name": "owner";
@@ -6412,13 +6627,233 @@ export type Perpetuals = {
6412
6627
  "index": false;
6413
6628
  },
6414
6629
  {
6415
- "name": "feeAmount";
6630
+ "name": "profitUsd";
6416
6631
  "type": "u64";
6417
6632
  "index": false;
6418
- }
6419
- ];
6420
- },
6421
- {
6633
+ },
6634
+ {
6635
+ "name": "lossUsd";
6636
+ "type": "u64";
6637
+ "index": false;
6638
+ },
6639
+ {
6640
+ "name": "feeAmount";
6641
+ "type": "u64";
6642
+ "index": false;
6643
+ },
6644
+ {
6645
+ "name": "isStopLoss";
6646
+ "type": "bool";
6647
+ "index": false;
6648
+ }
6649
+ ];
6650
+ },
6651
+ {
6652
+ "name": "ForceClosePositionLogV2";
6653
+ "fields": [
6654
+ {
6655
+ "name": "owner";
6656
+ "type": "publicKey";
6657
+ "index": false;
6658
+ },
6659
+ {
6660
+ "name": "market";
6661
+ "type": "publicKey";
6662
+ "index": false;
6663
+ },
6664
+ {
6665
+ "name": "price";
6666
+ "type": "u64";
6667
+ "index": false;
6668
+ },
6669
+ {
6670
+ "name": "priceExponent";
6671
+ "type": "i32";
6672
+ "index": false;
6673
+ },
6674
+ {
6675
+ "name": "sizeAmount";
6676
+ "type": "u64";
6677
+ "index": false;
6678
+ },
6679
+ {
6680
+ "name": "sizeUsd";
6681
+ "type": "u64";
6682
+ "index": false;
6683
+ },
6684
+ {
6685
+ "name": "profitUsd";
6686
+ "type": "u64";
6687
+ "index": false;
6688
+ },
6689
+ {
6690
+ "name": "lossUsd";
6691
+ "type": "u64";
6692
+ "index": false;
6693
+ },
6694
+ {
6695
+ "name": "feeAmount";
6696
+ "type": "u64";
6697
+ "index": false;
6698
+ },
6699
+ {
6700
+ "name": "isStopLoss";
6701
+ "type": "bool";
6702
+ "index": false;
6703
+ }
6704
+ ];
6705
+ },
6706
+ {
6707
+ "name": "ForceClosePositionLogV3";
6708
+ "fields": [
6709
+ {
6710
+ "name": "owner";
6711
+ "type": "publicKey";
6712
+ "index": false;
6713
+ },
6714
+ {
6715
+ "name": "market";
6716
+ "type": "publicKey";
6717
+ "index": false;
6718
+ },
6719
+ {
6720
+ "name": "entryPrice";
6721
+ "type": "u64";
6722
+ "index": false;
6723
+ },
6724
+ {
6725
+ "name": "entryPriceExponent";
6726
+ "type": "i32";
6727
+ "index": false;
6728
+ },
6729
+ {
6730
+ "name": "duration";
6731
+ "type": "i64";
6732
+ "index": false;
6733
+ },
6734
+ {
6735
+ "name": "exitPrice";
6736
+ "type": "u64";
6737
+ "index": false;
6738
+ },
6739
+ {
6740
+ "name": "exitPriceExponent";
6741
+ "type": "i32";
6742
+ "index": false;
6743
+ },
6744
+ {
6745
+ "name": "sizeAmount";
6746
+ "type": "u64";
6747
+ "index": false;
6748
+ },
6749
+ {
6750
+ "name": "sizeUsd";
6751
+ "type": "u64";
6752
+ "index": false;
6753
+ },
6754
+ {
6755
+ "name": "collateralPrice";
6756
+ "type": "u64";
6757
+ "index": false;
6758
+ },
6759
+ {
6760
+ "name": "collateralPriceExponent";
6761
+ "type": "i32";
6762
+ "index": false;
6763
+ },
6764
+ {
6765
+ "name": "collateralAmount";
6766
+ "type": "u64";
6767
+ "index": false;
6768
+ },
6769
+ {
6770
+ "name": "profitUsd";
6771
+ "type": "u64";
6772
+ "index": false;
6773
+ },
6774
+ {
6775
+ "name": "lossUsd";
6776
+ "type": "u64";
6777
+ "index": false;
6778
+ },
6779
+ {
6780
+ "name": "feeAmount";
6781
+ "type": "u64";
6782
+ "index": false;
6783
+ },
6784
+ {
6785
+ "name": "feeRebateAmount";
6786
+ "type": "u64";
6787
+ "index": false;
6788
+ },
6789
+ {
6790
+ "name": "exitFeeAmount";
6791
+ "type": "u64";
6792
+ "index": false;
6793
+ },
6794
+ {
6795
+ "name": "isStopLoss";
6796
+ "type": "bool";
6797
+ "index": false;
6798
+ },
6799
+ {
6800
+ "name": "oracleAccountTime";
6801
+ "type": "i64";
6802
+ "index": false;
6803
+ },
6804
+ {
6805
+ "name": "oracleAccountType";
6806
+ "type": "u8";
6807
+ "index": false;
6808
+ },
6809
+ {
6810
+ "name": "oracleAccountPrice";
6811
+ "type": "u64";
6812
+ "index": false;
6813
+ },
6814
+ {
6815
+ "name": "oracleAccountPriceExponent";
6816
+ "type": "i32";
6817
+ "index": false;
6818
+ }
6819
+ ];
6820
+ },
6821
+ {
6822
+ "name": "IncreaseSizeLog";
6823
+ "fields": [
6824
+ {
6825
+ "name": "owner";
6826
+ "type": "publicKey";
6827
+ "index": false;
6828
+ },
6829
+ {
6830
+ "name": "market";
6831
+ "type": "publicKey";
6832
+ "index": false;
6833
+ },
6834
+ {
6835
+ "name": "priceUsd";
6836
+ "type": "u64";
6837
+ "index": false;
6838
+ },
6839
+ {
6840
+ "name": "sizeAmount";
6841
+ "type": "u64";
6842
+ "index": false;
6843
+ },
6844
+ {
6845
+ "name": "sizeUsd";
6846
+ "type": "u64";
6847
+ "index": false;
6848
+ },
6849
+ {
6850
+ "name": "feeAmount";
6851
+ "type": "u64";
6852
+ "index": false;
6853
+ }
6854
+ ];
6855
+ },
6856
+ {
6422
6857
  "name": "IncreaseSizeLogV2";
6423
6858
  "fields": [
6424
6859
  {
@@ -6458,6 +6893,91 @@ export type Perpetuals = {
6458
6893
  }
6459
6894
  ];
6460
6895
  },
6896
+ {
6897
+ "name": "IncreaseSizeLogV3";
6898
+ "fields": [
6899
+ {
6900
+ "name": "owner";
6901
+ "type": "publicKey";
6902
+ "index": false;
6903
+ },
6904
+ {
6905
+ "name": "market";
6906
+ "type": "publicKey";
6907
+ "index": false;
6908
+ },
6909
+ {
6910
+ "name": "entryPrice";
6911
+ "type": "u64";
6912
+ "index": false;
6913
+ },
6914
+ {
6915
+ "name": "entryPriceExponent";
6916
+ "type": "i32";
6917
+ "index": false;
6918
+ },
6919
+ {
6920
+ "name": "deltaSizeAmount";
6921
+ "type": "u64";
6922
+ "index": false;
6923
+ },
6924
+ {
6925
+ "name": "deltaSizeUsd";
6926
+ "type": "u64";
6927
+ "index": false;
6928
+ },
6929
+ {
6930
+ "name": "finalSizeAmount";
6931
+ "type": "u64";
6932
+ "index": false;
6933
+ },
6934
+ {
6935
+ "name": "finalSizeUsd";
6936
+ "type": "u64";
6937
+ "index": false;
6938
+ },
6939
+ {
6940
+ "name": "finalCollateralAmount";
6941
+ "type": "u64";
6942
+ "index": false;
6943
+ },
6944
+ {
6945
+ "name": "finalCollateralUsd";
6946
+ "type": "u64";
6947
+ "index": false;
6948
+ },
6949
+ {
6950
+ "name": "feeAmount";
6951
+ "type": "u64";
6952
+ "index": false;
6953
+ },
6954
+ {
6955
+ "name": "feeRebateAmount";
6956
+ "type": "u64";
6957
+ "index": false;
6958
+ },
6959
+ {
6960
+ "name": "oracleAccountTime";
6961
+ "type": "i64";
6962
+ "index": false;
6963
+ },
6964
+ {
6965
+ "name": "oracleAccountType";
6966
+ "type": "u8";
6967
+ "index": false;
6968
+ },
6969
+ {
6970
+ "name": "oracleAccountPrice";
6971
+ "type": "u64";
6972
+ "index": false;
6973
+ },
6974
+ {
6975
+ "name": "oracleAccountPriceExponent";
6976
+ "type": "i32";
6977
+ "index": false;
6978
+ }
6979
+ ];
6980
+ },
6461
6981
  {
6462
6982
  "name": "LiquidateLog";
6463
6983
  "fields": [
@@ -6533,6 +7053,116 @@ export type Perpetuals = {
6533
7053
  }
6534
7054
  ];
6535
7055
  },
7056
+ {
7057
+ "name": "LiquidateLogV3";
7058
+ "fields": [
7059
+ {
7060
+ "name": "owner";
7061
+ "type": "publicKey";
7062
+ "index": false;
7063
+ },
7064
+ {
7065
+ "name": "market";
7066
+ "type": "publicKey";
7067
+ "index": false;
7068
+ },
7069
+ {
7070
+ "name": "entryPrice";
7071
+ "type": "u64";
7072
+ "index": false;
7073
+ },
7074
+ {
7075
+ "name": "entryPriceExponent";
7076
+ "type": "i32";
7077
+ "index": false;
7078
+ },
7079
+ {
7080
+ "name": "duration";
7081
+ "type": "i64";
7082
+ "index": false;
7083
+ },
7084
+ {
7085
+ "name": "exitPrice";
7086
+ "type": "u64";
7087
+ "index": false;
7088
+ },
7089
+ {
7090
+ "name": "exitPriceExponent";
7091
+ "type": "i32";
7092
+ "index": false;
7093
+ },
7094
+ {
7095
+ "name": "sizeAmount";
7096
+ "type": "u64";
7097
+ "index": false;
7098
+ },
7099
+ {
7100
+ "name": "sizeUsd";
7101
+ "type": "u64";
7102
+ "index": false;
7103
+ },
7104
+ {
7105
+ "name": "collateralPrice";
7106
+ "type": "u64";
7107
+ "index": false;
7108
+ },
7109
+ {
7110
+ "name": "collateralPriceExponent";
7111
+ "type": "i32";
7112
+ "index": false;
7113
+ },
7114
+ {
7115
+ "name": "collateralAmount";
7116
+ "type": "u64";
7117
+ "index": false;
7118
+ },
7119
+ {
7120
+ "name": "profitUsd";
7121
+ "type": "u64";
7122
+ "index": false;
7123
+ },
7124
+ {
7125
+ "name": "lossUsd";
7126
+ "type": "u64";
7127
+ "index": false;
7128
+ },
7129
+ {
7130
+ "name": "feeAmount";
7131
+ "type": "u64";
7132
+ "index": false;
7133
+ },
7134
+ {
7135
+ "name": "feeRebateAmount";
7136
+ "type": "u64";
7137
+ "index": false;
7138
+ },
7139
+ {
7140
+ "name": "exitFeeAmount";
7141
+ "type": "u64";
7142
+ "index": false;
7143
+ },
7144
+ {
7145
+ "name": "oracleAccountTime";
7146
+ "type": "i64";
7147
+ "index": false;
7148
+ },
7149
+ {
7150
+ "name": "oracleAccountType";
7151
+ "type": "u8";
7152
+ "index": false;
7153
+ },
7154
+ {
7155
+ "name": "oracleAccountPrice";
7156
+ "type": "u64";
7157
+ "index": false;
7158
+ },
7159
+ {
7160
+ "name": "oracleAccountPriceExponent";
7161
+ "type": "i32";
7162
+ "index": false;
7163
+ }
7164
+ ];
7165
+ },
6536
7166
  {
6537
7167
  "name": "OpenPositionLog";
6538
7168
  "fields": [
@@ -6628,6 +7258,81 @@ export type Perpetuals = {
6628
7258
  }
6629
7259
  ];
6630
7260
  },
7261
+ {
7262
+ "name": "OpenPositionLogV3";
7263
+ "fields": [
7264
+ {
7265
+ "name": "owner";
7266
+ "type": "publicKey";
7267
+ "index": false;
7268
+ },
7269
+ {
7270
+ "name": "market";
7271
+ "type": "publicKey";
7272
+ "index": false;
7273
+ },
7274
+ {
7275
+ "name": "entryPrice";
7276
+ "type": "u64";
7277
+ "index": false;
7278
+ },
7279
+ {
7280
+ "name": "entryPriceExponent";
7281
+ "type": "i32";
7282
+ "index": false;
7283
+ },
7284
+ {
7285
+ "name": "sizeAmount";
7286
+ "type": "u64";
7287
+ "index": false;
7288
+ },
7289
+ {
7290
+ "name": "sizeUsd";
7291
+ "type": "u64";
7292
+ "index": false;
7293
+ },
7294
+ {
7295
+ "name": "collateralAmount";
7296
+ "type": "u64";
7297
+ "index": false;
7298
+ },
7299
+ {
7300
+ "name": "collateralUsd";
7301
+ "type": "u64";
7302
+ "index": false;
7303
+ },
7304
+ {
7305
+ "name": "feeAmount";
7306
+ "type": "u64";
7307
+ "index": false;
7308
+ },
7309
+ {
7310
+ "name": "feeRebateAmount";
7311
+ "type": "u64";
7312
+ "index": false;
7313
+ },
7314
+ {
7315
+ "name": "oracleAccountTime";
7316
+ "type": "i64";
7317
+ "index": false;
7318
+ },
7319
+ {
7320
+ "name": "oracleAccountType";
7321
+ "type": "u8";
7322
+ "index": false;
7323
+ },
7324
+ {
7325
+ "name": "oracleAccountPrice";
7326
+ "type": "u64";
7327
+ "index": false;
7328
+ },
7329
+ {
7330
+ "name": "oracleAccountPriceExponent";
7331
+ "type": "i32";
7332
+ "index": false;
7333
+ }
7334
+ ];
7335
+ },
6631
7336
  {
6632
7337
  "name": "RemoveCollateralLog";
6633
7338
  "fields": [
@@ -6683,6 +7388,76 @@ export type Perpetuals = {
6683
7388
  }
6684
7389
  ];
6685
7390
  },
7391
+ {
7392
+ "name": "RemoveCollateralLogV3";
7393
+ "fields": [
7394
+ {
7395
+ "name": "owner";
7396
+ "type": "publicKey";
7397
+ "index": false;
7398
+ },
7399
+ {
7400
+ "name": "market";
7401
+ "type": "publicKey";
7402
+ "index": false;
7403
+ },
7404
+ {
7405
+ "name": "collateralPrice";
7406
+ "type": "u64";
7407
+ "index": false;
7408
+ },
7409
+ {
7410
+ "name": "collateralPriceExponent";
7411
+ "type": "i32";
7412
+ "index": false;
7413
+ },
7414
+ {
7415
+ "name": "deltaCollateralAmount";
7416
+ "type": "u64";
7417
+ "index": false;
7418
+ },
7419
+ {
7420
+ "name": "finalCollateralAmount";
7421
+ "type": "u64";
7422
+ "index": false;
7423
+ },
7424
+ {
7425
+ "name": "finalCollateralUsd";
7426
+ "type": "u64";
7427
+ "index": false;
7428
+ },
7429
+ {
7430
+ "name": "finalSizeAmount";
7431
+ "type": "u64";
7432
+ "index": false;
7433
+ },
7434
+ {
7435
+ "name": "finalSizeUsd";
7436
+ "type": "u64";
7437
+ "index": false;
7438
+ },
7439
+ {
7440
+ "name": "oracleAccountTime";
7441
+ "type": "i64";
7442
+ "index": false;
7443
+ },
7444
+ {
7445
+ "name": "oracleAccountType";
7446
+ "type": "u8";
7447
+ "index": false;
7448
+ },
7449
+ {
7450
+ "name": "oracleAccountPrice";
7451
+ "type": "u64";
7452
+ "index": false;
7453
+ },
7454
+ {
7455
+ "name": "oracleAccountPriceExponent";
7456
+ "type": "i32";
7457
+ "index": false;
7458
+ }
7459
+ ];
7460
+ },
6686
7461
  {
6687
7462
  "name": "RemoveLiquidityLog";
6688
7463
  "fields": [