#[no_mangle]
pub extern "C" fn disapprove()
Expand description

Disapprove Entrypoint of the contract

Gets amount, approved_id, publisher-account from the runtime args, and removes the given amount from its approved amounts, and adds it to the producers holder If the amount of the approvedNft reaches 0, its id would be removed from state of the contract (from dicts) This function would panic if the amount is larger than the approved amount. Also it would panic if the caller is not the owner of the token.

Emits

DropLinkedEvent::DisapprovedPublish