#[no_mangle]
pub extern "C" fn approve()
Expand description
Approve Entrypoint of the contract
It would get request_id
from the runtime args, and approve that PublishRequest, it would panic if any account calls it except the owner account of the token
It would panic if the request with the given request_id does not exist
Returns
approved_id
: u64
Emits
DropLinkedEvent::ApprovedPublish