Skip to main content

Crate ree_exchange_sdk_macro

Crate ree_exchange_sdk_macro 

Source

Attribute Macrosยง

action
Action entrypoint. The macro could be #[action(name = "my_action")] or #[action("my_action")] or #[action]. The functions shall have signature fn(&bitcoin::Psbt, ActionArgs) -> ActionResult<Pools::PoolState>
exchange
REE exchange entrypoint.
hook
Optional hook for Pools. It should be marked on the Hook impl block of the Pools struct.
pools
Pools definition
storage
Storage definition
upgrade
Upgrade attribute for pool state migration.