Function contract::affiliate::publish_request
source ·
[−]#[no_mangle]
pub extern "C" fn publish_request()
Expand description
publish_request entrypoint of the contract
Gets producer_account_hash
, holder_id
and amount
from runtime args, and builds a new PublishRequest object, gets a request_id for it, and
holds it in the request_objects dict and adds the request_id to producer and publisher’s request dicts