feat: remove getInflation in favor of getInflationGovernor
This commit is contained in:
committed by
Michael Vines
parent
8547ae43ce
commit
8f03677801
5
web3.js/module.d.ts
vendored
5
web3.js/module.d.ts
vendored
@ -170,11 +170,10 @@ declare module '@solana/web3.js' {
|
||||
err: TransactionError | null;
|
||||
};
|
||||
|
||||
export type Inflation = {
|
||||
export type InflationGovernor = {
|
||||
foundation: number;
|
||||
foundationTerm: number;
|
||||
initial: number;
|
||||
storage: number;
|
||||
taper: number;
|
||||
terminal: number;
|
||||
};
|
||||
@ -266,7 +265,7 @@ declare module '@solana/web3.js' {
|
||||
getTransactionCount(commitment?: Commitment): Promise<number>;
|
||||
getTotalSupply(commitment?: Commitment): Promise<number>;
|
||||
getVersion(): Promise<Version>;
|
||||
getInflation(commitment?: Commitment): Promise<Inflation>;
|
||||
getInflationGovernor(commitment?: Commitment): Promise<InflationGovernor>;
|
||||
getEpochSchedule(): Promise<EpochSchedule>;
|
||||
getEpochInfo(commitment?: Commitment): Promise<EpochInfo>;
|
||||
getRecentBlockhashAndContext(
|
||||
|
Reference in New Issue
Block a user