* feat: add secp256k1 instruction * feat: use buffer-layout for encoding as well * style: use consistent naming for types * style: update typings and make program functions static * fix: attempt to resolve rollup issue * fix: expose sysvar in typings * fix: remove decode instruction functionality (for now)
27 lines
695 B
JavaScript
27 lines
695 B
JavaScript
// @flow
|
|
import {PublicKey} from './publickey';
|
|
|
|
export const SYSVAR_CLOCK_PUBKEY = new PublicKey(
|
|
'SysvarC1ock11111111111111111111111111111111',
|
|
);
|
|
|
|
export const SYSVAR_RECENT_BLOCKHASHES_PUBKEY = new PublicKey(
|
|
'SysvarRecentB1ockHashes11111111111111111111',
|
|
);
|
|
|
|
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',
|
|
);
|
|
|
|
export const SYSVAR_INSTRUCTIONS_PUBKEY = new PublicKey(
|
|
'Sysvar1nstructions1111111111111111111111111',
|
|
);
|