MCPcopy Create free account
hub / github.com/cutupdev/Solana-RWA-Smart-Contract / verify_ownership

Function verify_ownership

programs/rwa-tokenization/src/lib.rs:51–53  ·  view source on GitHub ↗

Verify asset ownership

(ctx: Context<VerifyOwnership>)

Source from the content-addressed store, hash-verified

49
50 /// Verify asset ownership
51 pub fn verify_ownership(ctx: Context<VerifyOwnership>) -> Result<()> {
52 ctx.accounts.process()
53 }
54
55 /// Burn tokens (redeem tokenized asset)
56 pub fn redeem_asset(ctx: Context<RedeemAsset>, amount: u64) -> Result<()> {

Callers

nothing calls this directly

Calls 1

processMethod · 0.45

Tested by

no test coverage detected