Anchor for EVM Developers
  • Anchor for EVM Developers
  • Program Address
  • Functions
  • Token
  • Validation
  • Mutation
  • Calling Other Contract
  • Wrap Native Token
  • Transfer Native Token
  • Transfer Fungible Token
  • Deploy A Fungible Token
  • Access Control
  • Address Mining
  • Events
  • Forking Mainnet
  • Function Selector
  • Feature Flags
  • Feature Dependencies
  • Migration / Scripts
  • Upgrade Programs
  • Block timestamp
Powered by GitBook
On this page

Events

EVM

event TokenDeployed(address indexed addy);

emit TokenDeployed(addy);

Solana

#[event]
pub struct TokenDeployed {
  mint: Pubkey,
}

emit!(TokenDeployed {
  mint: ctx.accounts.mint.key(),
})

PreviousAddress MiningNextForking Mainnet

Last updated 2 months ago