feat: remove getInflation in favor of getInflationGovernor
This commit is contained in:
committed by
Michael Vines
parent
8547ae43ce
commit
8f03677801
@@ -55,12 +55,12 @@ declare module '@solana/web3.js' {
|
||||
};
|
||||
|
||||
declare export type SendOptions = {
|
||||
skipPreflight: boolean;
|
||||
skipPreflight: boolean,
|
||||
};
|
||||
|
||||
declare export type ConfirmOptions = {
|
||||
confirmations: number;
|
||||
skipPreflight: boolean;
|
||||
confirmations: number,
|
||||
skipPreflight: boolean,
|
||||
};
|
||||
|
||||
declare export type RpcResponseAndContext<T> = {
|
||||
@@ -183,11 +183,10 @@ declare module '@solana/web3.js' {
|
||||
err: TransactionError | null,
|
||||
|};
|
||||
|
||||
declare export type Inflation = {
|
||||
declare export type InflationGovernor = {
|
||||
foundation: number,
|
||||
foundationTerm: number,
|
||||
initial: number,
|
||||
storage: number,
|
||||
taper: number,
|
||||
terminal: number,
|
||||
};
|
||||
@@ -279,7 +278,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