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§
- Designates functions in an
impl
block as contract entrypoints. - Implements a storage interface for a Stellar contract storage enum.
- Ensures that only a contract’s operator can execute the attributed function.
- Ensures that only a contract’s owner can execute the attributed function.
- Ensure that the Stellar contract is not paused before executing the function.
Derive Macros§
- Implements the Event trait for a Stellar contract event.
- Implements the Operatable interface for a Soroban contract.
- Implements the Ownable interface for a Soroban contract.
- Implements the Pausable interface for a Soroban contract.
- Implements the Upgradable and Migratable interfaces for a Soroban contract.