multiversx_sc_snippets::imports

Module call_value_init

Source

Functionsยง

  • Initializes an argument annotated with #[payment_amount] or #[payment].
  • Initializes an argument annotated with #[payment_multi].
  • Initializes an argument annotated with #[payment_nonce].
  • Initializes an argument annotated with #[payment_token].
  • Called initially in the generated code whenever no payable annotation is provided.
  • Called initially in the generated code whenever #[payable("*")] annotation is provided.
  • Called initially in the generated code whenever #[payable("EGLD")] annotation is provided.
  • Called initially in the generated code whenever #[payable("<token identifier>")] annotation is provided.