Crate stellar_axelar_std_derive

Source
Expand description

Note: The tests are located in the stellar-axelar-std package instead of stellar-axelar-std-derive

This ensures compatibility and prevents cyclic dependency issues during testing and release.

Attribute Macros§

contractimpl
Designates functions in an impl block as contract entrypoints.
contractstorage
Implements a storage interface for a Stellar contract storage enum.
only_operator
Ensures that only a contract’s operator can execute the attributed function.
only_owner
Ensures that only a contract’s owner can execute the attributed function.
when_not_paused
Ensure that the Stellar contract is not paused before executing the function.

Derive Macros§

AxelarExecutable
InterchainTokenExecutable
IntoEvent
Implements the Event trait for a Stellar contract event.
Operatable
Implements the Operatable interface for a Soroban contract.
Ownable
Implements the Ownable interface for a Soroban contract.
Pausable
Implements the Pausable interface for a Soroban contract.
Upgradable
Implements the Upgradable and Migratable interfaces for a Soroban contract.