feat: add stake program methods; refactor instruction type handling
This commit is contained in:
committed by
Michael Vines
parent
fc77e55920
commit
532b28e96e
18
web3.js/src/sysvar.js
Normal file
18
web3.js/src/sysvar.js
Normal file
@@ -0,0 +1,18 @@
|
||||
// @flow
|
||||
import {PublicKey} from './publickey';
|
||||
|
||||
export const SYSVAR_CLOCK_PUBKEY = new PublicKey(
|
||||
'SysvarC1ock11111111111111111111111111111111',
|
||||
);
|
||||
|
||||
export const SYSVAR_RENT_PUBKEY = new PublicKey(
|
||||
'SysvarRent111111111111111111111111111111111',
|
||||
);
|
||||
|
||||
export const SYSVAR_REWARDS_PUBKEY = new PublicKey(
|
||||
'SysvarRewards111111111111111111111111111111',
|
||||
);
|
||||
|
||||
export const SYSVAR_STAKE_HISTORY_PUBKEY = new PublicKey(
|
||||
'SysvarStakeHistory1111111111111111111111111',
|
||||
);
|
Reference in New Issue
Block a user