Initialize the global RWA tokenization configuration
(ctx: Context<Initialize>, params: InitializeParams)
| 18 | |
| 19 | /// Initialize the global RWA tokenization configuration |
| 20 | pub fn initialize(ctx: Context<Initialize>, params: InitializeParams) -> Result<()> { |
| 21 | ctx.accounts.process(params) |
| 22 | } |
| 23 | |
| 24 | /// Register a new real-world asset |
| 25 | pub fn register_asset(ctx: Context<RegisterAsset>, args: RegisterAssetArgs) -> Result<()> { |