~dcrck/solana

3ab8531129d303b3951a292ce2813ebcb9ab2cb3 — dcrck 4 months ago bb47f59 master
add Clock system variable
1 files changed, 6 insertions(+), 0 deletions(-)

M lib/solana.ex
M lib/solana.ex => lib/solana.ex +6 -0
@@ 54,6 54,12 @@ defmodule Solana do
  def recent_blockhashes(), do: pubkey!("SysvarRecentB1ockHashes11111111111111111111")

  @doc """
  The public key for the [Clock system
  variable](https://docs.solana.com/developing/runtime-facilities/sysvars#clock)
  """
  def clock(), do: pubkey!("SysvarC1ock11111111111111111111111111111111")

  @doc """
  The public key for the [BPF Loader
  program](https://docs.solana.com/developing/runtime-facilities/programs#bpf-loader)
  """