@drift-labs/sdk 2.74.0-beta.12 → 2.74.0-beta.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3029,7 +3029,9 @@ export class DriftClient {
3029
3029
  await this.program.instruction.settleExpiredMarketPoolsToRevenuePool({
3030
3030
  accounts: {
3031
3031
  state: await this.getStatePublicKey(),
3032
- admin: this.wallet.publicKey,
3032
+ admin: this.isSubscribed
3033
+ ? this.getStateAccount().admin
3034
+ : this.wallet.publicKey,
3033
3035
  spotMarket: spotMarketPublicKey,
3034
3036
  perpMarket: perpMarketPublicKey,
3035
3037
  },
@@ -2961,6 +2961,12 @@
2961
2961
  "defined": "OracleSource"
2962
2962
  }
2963
2963
  },
2964
+ {
2965
+ "name": "contractTier",
2966
+ "type": {
2967
+ "defined": "ContractTier"
2968
+ }
2969
+ },
2964
2970
  {
2965
2971
  "name": "marginRatioInitial",
2966
2972
  "type": "u32"