SYMBOL INDEX (236 symbols across 38 files) FILE: build-a-client-side-app/mess.ts type Mess (line 1) | type Mess = { constant IDL (line 89) | const IDL: Mess = { FILE: build-a-smart-contract/program/tests/process_instruction.rs type MessageStructForTest (line 8) | pub struct MessageStructForTest { function owner_not_program_id (line 13) | fn owner_not_program_id() { function instruction_is_deserialized (line 35) | fn instruction_is_deserialized() { function instruction_not_string (line 58) | fn instruction_not_string() { function instruction_too_long (line 79) | fn instruction_too_long() { function no_accounts (line 100) | fn no_accounts() { function instruction_data_padded (line 109) | fn instruction_data_padded() { function success (line 131) | fn success() { FILE: build-a-university-certification-nft/client/src/app.tsx function App (line 18) | function App() { type OutputT (line 275) | type OutputT = { type CreateMintAccountF (line 279) | type CreateMintAccountF = () => Promise; type GetMintAccountsF (line 280) | type GetMintAccountsF = () => Promise; type CreateTokenAccountF (line 281) | type CreateTokenAccountF = () => Promise; type MintTokenF (line 282) | type MintTokenF = () => Promise; type GetNFTsF (line 283) | type GetNFTsF = () => Promise; type CreateCertificateProgramT (line 285) | type CreateCertificateProgramT = { function CreateCertificateProgram (line 292) | function CreateCertificateProgram({ function GetCertificatePrograms (line 306) | function GetCertificatePrograms({ function RegisterStudent (line 322) | function RegisterStudent({ function GrantCertificate (line 338) | function GrantCertificate({ mintToken }: { mintToken: MintTokenF }) { function ViewStudentCertificate (line 347) | function ViewStudentCertificate({ getNFTs }: { getNFTs: GetNFTsF }) { type DisplayPngT (line 356) | type DisplayPngT = { function DisplayPng (line 360) | function DisplayPng({ buffer }: DisplayPngT) { function Output (line 364) | function Output({ output }: OutputT) { function ValidationError (line 374) | function ValidationError({ invalidInputs }: { invalidInputs: string[] }) { FILE: build-a-university-certification-nft/server.js constant PORT (line 40) | const PORT = process.env.PORT || 3002; function getMetadatas (line 45) | function getMetadatas() { function writeMetadatas (line 50) | function writeMetadatas(metadatas) { FILE: build-a-university-certification-nft/utils.js function localStorage (line 1) | function localStorage(options) { class LocalStorageDriver (line 9) | class LocalStorageDriver { method constructor (line 10) | constructor(options) { method getUploadPrice (line 17) | async getUploadPrice(bytes) { method upload (line 21) | async upload(file) { method download (line 32) | async download(uri) { FILE: build-an-anchor-leaderboard/rock-destroyer/programs/rock-destroyer/src/lib.rs function initialize (line 9) | pub fn initialize(ctx: Context) -> Result<()> { type Initialize (line 15) | pub struct Initialize {} FILE: learn-anchor-by-building-tic-tac-toe-part-2/tic-tac-toe/programs/tic-tac-toe/src/lib.rs function setup_game (line 11) | pub fn setup_game( function play (line 24) | pub fn play(ctx: Context, tile: Tile) -> Result<()> { type SetupGame (line 39) | pub struct SetupGame<'info> { type Game (line 54) | pub struct Game { constant MAXIMUM_SIZE (line 82) | pub const MAXIMUM_SIZE: usize = (32 * 2) + 1 + (9 * (1 + 1)) + (32 + 1); method start (line 84) | pub fn start(&mut self, players: [Pubkey; 2]) -> Result<()> { method is_active (line 91) | pub fn is_active(&self) -> bool { method current_player_index (line 95) | fn current_player_index(&self) -> usize { method current_player (line 99) | pub fn current_player(&self) -> Pubkey { method play (line 103) | pub fn play(&mut self, tile: &Tile) -> Result<()> { method is_winning_trio (line 129) | fn is_winning_trio(&self, trio: [(usize, usize); 3]) -> bool { method update_state (line 136) | fn update_state(&mut self) { type Play (line 62) | pub struct Play<'info> { type GameState (line 69) | pub enum GameState { type Sign (line 76) | pub enum Sign { type Tile (line 182) | pub struct Tile { type TicTacToeError (line 188) | pub enum TicTacToeError { FILE: learn-how-to-build-a-client-side-app-part-1/tic-tac-toe/app/index.js function startWithPossibleValues (line 105) | function startWithPossibleValues() { FILE: learn-how-to-build-a-client-side-app-part-1/tic-tac-toe/app/utils.js function tileToString (line 11) | function tileToString(tile) { function setTiles (line 24) | function setTiles(board) { function displayError (line 37) | function displayError(error) { function idToTile (line 50) | function idToTile(id) { function showLoader (line 61) | function showLoader() { function removeLoader (line 65) | function removeLoader() { FILE: learn-how-to-build-a-client-side-app-part-1/tic-tac-toe/app/wallet.js class Wallet (line 1) | class Wallet { method constructor (line 2) | constructor(keypair) { method signTransaction (line 6) | async signTransaction(tx) { method signAllTransactions (line 10) | async signAllTransactions(txs) { method publicKey (line 14) | get publicKey() { FILE: learn-how-to-build-a-client-side-app-part-1/tic-tac-toe/programs/tic-tac-toe/src/lib.rs function setup_game (line 11) | pub fn setup_game( function play (line 24) | pub fn play(ctx: Context, tile: Tile) -> Result<()> { type SetupGame (line 39) | pub struct SetupGame<'info> { type Game (line 54) | pub struct Game { constant MAXIMUM_SIZE (line 82) | pub const MAXIMUM_SIZE: usize = (32 * 2) + 1 + (9 * (1 + 1)) + (32 + 1); method start (line 84) | pub fn start(&mut self, players: [Pubkey; 2]) -> Result<()> { method is_active (line 91) | pub fn is_active(&self) -> bool { method current_player_index (line 95) | fn current_player_index(&self) -> usize { method current_player (line 99) | pub fn current_player(&self) -> Pubkey { method play (line 103) | pub fn play(&mut self, tile: &Tile) -> Result<()> { method is_winning_trio (line 129) | fn is_winning_trio(&self, trio: [(usize, usize); 3]) -> bool { method update_state (line 136) | fn update_state(&mut self) { type Play (line 62) | pub struct Play<'info> { type GameState (line 69) | pub enum GameState { type Sign (line 76) | pub enum Sign { type Tile (line 182) | pub struct Tile { type TicTacToeError (line 188) | pub enum TicTacToeError { FILE: learn-how-to-build-a-client-side-app-part-2/app/index.js function startWithPossibleValues (line 120) | function startWithPossibleValues() { FILE: learn-how-to-build-a-client-side-app-part-2/app/utils.js function tileToString (line 11) | function tileToString(tile) { function setTiles (line 24) | function setTiles(board) { function displayError (line 37) | function displayError(error) { function idToTile (line 50) | function idToTile(id) { function showLoader (line 61) | function showLoader() { function removeLoader (line 65) | function removeLoader() { FILE: learn-how-to-build-a-client-side-app-part-2/app/wallet.js class Wallet (line 1) | class Wallet { method constructor (line 2) | constructor(keypair) { method signTransaction (line 6) | async signTransaction(tx) { method signAllTransactions (line 10) | async signAllTransactions(txs) { method publicKey (line 14) | get publicKey() { FILE: learn-how-to-build-a-client-side-app-part-2/app/web3.js constant PROGRAM_ID (line 14) | const PROGRAM_ID = new PublicKey( function connectWallet (line 20) | function connectWallet() { function startGame (line 31) | async function startGame() { function handlePlay (line 61) | async function handlePlay(id) { function deriveGamePublicKey (line 82) | function deriveGamePublicKey(playerOnePublicKey, gameId, programId) { function getGameAccount (line 90) | async function getGameAccount() { function updateBoard (line 98) | async function updateBoard() { FILE: learn-how-to-build-a-client-side-app-part-2/tic_tac_toe.ts type TicTacToe (line 1) | type TicTacToe = { constant IDL (line 185) | const IDL: TicTacToe = { FILE: learn-how-to-build-for-mainnet/_answer/app/src/app.tsx constant PROGRAM_ID (line 31) | const PROGRAM_ID = new PublicKey( constant ENDPOINT (line 34) | const ENDPOINT = function App (line 40) | function App() { function LogIn (line 61) | function LogIn({ function Landing (line 76) | function Landing() { function TodoC (line 206) | function TodoC({ function Form (line 313) | function Form({ addTask }: FormT) { function FilterButton (line 347) | function FilterButton({ name, isPressed, setFilter }: FilterButtonT) { FILE: learn-how-to-build-for-mainnet/_answer/app/src/utils.ts type Task (line 4) | type Task = { type TodoT (line 10) | type TodoT = { type FormT (line 19) | type FormT = { type FilterButtonT (line 23) | type FilterButtonT = { type Filters (line 29) | type Filters = keyof typeof FILTER_MAP; constant FILTER_MAP (line 31) | const FILTER_MAP = { constant FILTER_NAMES (line 37) | const FILTER_NAMES = Object.keys(FILTER_MAP) as Array< function usePrevious (line 41) | function usePrevious(value: T) { function isWalletConnected (line 49) | function isWalletConnected(wallet: any): wallet is Wallet { FILE: learn-how-to-build-for-mainnet/_answer/programs/todo/src/lib.rs constant TASK_SIZE (line 5) | const TASK_SIZE: usize = 4 + (4 + 32) + 1; function save_tasks (line 11) | pub fn save_tasks(ctx: Context, replacing_tasks: Vec) -... type SaveTasks (line 66) | pub struct SaveTasks<'info> { type TasksAccount (line 76) | pub struct TasksAccount { type Task (line 81) | pub struct Task { type ErrorCode (line 89) | pub enum ErrorCode { FILE: learn-how-to-build-for-mainnet/todo/app/src/app.tsx function App (line 28) | function App() { function LogIn (line 48) | function LogIn({ function Landing (line 63) | function Landing() { function TodoC (line 171) | function TodoC({ function Form (line 278) | function Form({ addTask }: FormT) { function FilterButton (line 312) | function FilterButton({ name, isPressed, setFilter }: FilterButtonT) { FILE: learn-how-to-build-for-mainnet/todo/app/src/utils.ts type Task (line 4) | type Task = { type TodoT (line 10) | type TodoT = { type FormT (line 19) | type FormT = { type FilterButtonT (line 23) | type FilterButtonT = { type Filters (line 29) | type Filters = keyof typeof FILTER_MAP; constant FILTER_MAP (line 31) | const FILTER_MAP = { constant FILTER_NAMES (line 37) | const FILTER_NAMES = Object.keys(FILTER_MAP) as Array< function usePrevious (line 41) | function usePrevious(value: T) { function isWalletConnected (line 49) | function isWalletConnected(wallet: any): wallet is Wallet { FILE: learn-how-to-build-for-mainnet/todo/programs/todo/src/lib.rs function initialize (line 9) | pub fn initialize(ctx: Context) -> Result<()> { type Initialize (line 15) | pub struct Initialize {} FILE: learn-how-to-deploy-to-devnet/todo/app/src/app.tsx constant PROGRAM_ID (line 31) | const PROGRAM_ID = new PublicKey( constant ENDPOINT (line 35) | const ENDPOINT = function App (line 41) | function App() { function LogIn (line 62) | function LogIn({ function Landing (line 77) | function Landing() { function TodoC (line 207) | function TodoC({ function Form (line 314) | function Form({ addTask }: FormT) { function FilterButton (line 348) | function FilterButton({ name, isPressed, setFilter }: FilterButtonT) { FILE: learn-how-to-deploy-to-devnet/todo/app/src/utils.ts type Task (line 4) | type Task = { type TodoT (line 10) | type TodoT = { type FormT (line 19) | type FormT = { type FilterButtonT (line 23) | type FilterButtonT = { type Filters (line 29) | type Filters = keyof typeof FILTER_MAP; constant FILTER_MAP (line 31) | const FILTER_MAP = { constant FILTER_NAMES (line 37) | const FILTER_NAMES = Object.keys(FILTER_MAP) as Array< function usePrevious (line 41) | function usePrevious(value: T) { function isWalletConnected (line 49) | function isWalletConnected(wallet: any): wallet is Wallet { FILE: learn-how-to-deploy-to-devnet/todo/programs/todo/src/lib.rs constant TASK_SIZE (line 5) | const TASK_SIZE: usize = 4 + (4 + 32) + 1; function save_tasks (line 11) | pub fn save_tasks(ctx: Context, replacing_tasks: Vec) -... type SaveTasks (line 66) | pub struct SaveTasks<'info> { type TasksAccount (line 76) | pub struct TasksAccount { type Task (line 81) | pub struct Task { type ErrorCode (line 89) | pub enum ErrorCode { FILE: learn-how-to-interact-with-on-chain-programs/src/_answer/client/hello-world.js function establishConnection (line 13) | function establishConnection() { function establishPayer (line 17) | async function establishPayer() { function getProgramId (line 26) | async function getProgramId() { function getAccountPubkey (line 36) | async function getAccountPubkey(payer, programId) { function checkProgram (line 44) | async function checkProgram( class HelloWorldAccount (line 63) | class HelloWorldAccount { method constructor (line 64) | constructor(fields) { constant ACCOUNT_SIZE (line 75) | const ACCOUNT_SIZE = borsh.serialize( function createAccount (line 80) | async function createAccount( function sayHello (line 105) | async function sayHello(connection, payer, programId, accountPubkey) { function getHelloCount (line 119) | async function getHelloCount(connection, accountPubkey) { FILE: learn-how-to-interact-with-on-chain-programs/src/_answer/client/main.js function main (line 11) | async function main() { FILE: learn-how-to-interact-with-on-chain-programs/src/program-rust/src/lib.rs function process_instruction (line 9) | pub fn process_instruction( type GreetingAccount (line 40) | pub struct GreetingAccount { FILE: learn-how-to-set-up-solana-by-building-a-hello-world-smart-contract/src/client/hello_world.ts constant GREETING_SEED (line 17) | const GREETING_SEED = 'hello'; constant PROGRAM_PATH (line 22) | const PROGRAM_PATH = resolve(__dirname, '../../dist/program'); constant PROGRAM_SO_PATH (line 30) | const PROGRAM_SO_PATH = join(PROGRAM_PATH, 'helloworld.so'); constant PROGRAM_KEYPAIR_PATH (line 36) | const PROGRAM_KEYPAIR_PATH = join(PROGRAM_PATH, 'helloworld-keypair.json'); class HelloWorldAccount (line 41) | class HelloWorldAccount { method constructor (line 43) | constructor(fields: { counter: number } | undefined = undefined) { constant ACCOUNT_SIZE (line 60) | const ACCOUNT_SIZE = borsh.serialize( function establishConnection (line 68) | async function establishConnection(): Promise { function establishPayer (line 79) | async function establishPayer(connection: Connection): Promise { function getProgramId (line 90) | async function getProgramId(): Promise { function getAccountPubkey (line 102) | async function getAccountPubkey( function checkProgram (line 117) | async function checkProgram( function createAccount (line 145) | async function createAccount( function sayHello (line 175) | async function sayHello( function reportGreetings (line 197) | async function reportGreetings( FILE: learn-how-to-set-up-solana-by-building-a-hello-world-smart-contract/src/client/main.ts function main (line 11) | async function main() { FILE: learn-how-to-set-up-solana-by-building-a-hello-world-smart-contract/src/client/utils.ts function getConfig (line 10) | async function getConfig(): Promise { function getRpcUrl (line 26) | async function getRpcUrl(): Promise { function getPayer (line 42) | async function getPayer(): Promise { function createKeypairFromFile (line 58) | async function createKeypairFromFile( FILE: learn-solanas-token-program-by-minting-a-fungible-token/utils.js constant MINT_ADDRESS_58 (line 11) | const MINT_ADDRESS_58 = ''; constant MINT_AUTHORITY_58 (line 13) | const MINT_AUTHORITY_58 = payer.publicKey.toBase58(); constant TOKEN_ACCOUNT_58 (line 14) | const TOKEN_ACCOUNT_58 = ''; FILE: learn-the-metaplex-sdk-by-minting-an-nft/spl-program/utils.js constant MINT_ADDRESS_58 (line 12) | const MINT_ADDRESS_58 = pkg.env.MINT_ACCOUNT_ADDRESS; constant MINT_AUTHORITY_58 (line 14) | const MINT_AUTHORITY_58 = payer.publicKey.toBase58(); constant TOKEN_ACCOUNT_58 (line 15) | const TOKEN_ACCOUNT_58 = pkg.env.TOKEN_ACCOUNT_ADDRESS; FILE: learn-the-metaplex-sdk-by-minting-an-nft/utils.js constant WALLET_KEYPAIR (line 10) | const WALLET_KEYPAIR = Keypair.fromSecretKey(new Uint8Array(t)); function localStorage (line 15) | function localStorage(options) { class LocalStorageDriver (line 23) | class LocalStorageDriver { method constructor (line 24) | constructor(options) { method getUploadPrice (line 31) | async getUploadPrice(bytes) { method upload (line 35) | async upload(file) { method download (line 46) | async download(uri) { FILE: tooling/camper-info.js constant FLAGS (line 23) | const FLAGS = process.argv; function main (line 25) | async function main() { constant IGNORE (line 88) | const IGNORE = [ function recurseDirectory (line 96) | async function recurseDirectory(path, depth) { FILE: tooling/helpers.js function rustTest (line 10) | async function rustTest(path, filePath, test, cb) { function getCamperKeypair (line 40) | async function getCamperKeypair() { function getSOFile (line 47) | async function getSOFile() { function getProgramJSONFile (line 55) | async function getProgramJSONFile() { function getProgramKeypair (line 63) | async function getProgramKeypair() { function getDataAccountPublicKey (line 72) | async function getDataAccountPublicKey() { function establishConnection (line 83) | function establishConnection() { class MessageAccount (line 87) | class MessageAccount { method constructor (line 88) | constructor(fields) { function setMessage (line 97) | async function setMessage( function getMessage (line 117) | async function getMessage(connection, accountPubkey) { FILE: tooling/rejig.js constant PATH (line 4) | const PATH = process.argv[2]?.trim(); constant CURRICULUM_PATH (line 6) | const CURRICULUM_PATH = 'curriculum/locales/english'; function rejigFile (line 11) | async function rejigFile(fileName) { FILE: tooling/seed.js constant PATH (line 16) | const PATH = constant LESSON_NUMBER (line 19) | const LESSON_NUMBER = Number(process.argv[2]); constant FILE (line 20) | const FILE = join(process.argv[3]);