Attribute Macro delegate

Source
#[delegate]
Expand description

This macro attribute is used to inject instructions and struct needed to delegate BOLT component.

Components can be delegate in order to be updated in an Ephemeral Rollup

§Example


#[component(delegate)]
pub struct Position {
    pub x: i64,
    pub y: i64,
    pub z: i64,
}