[][src]Function dtoken::set_agents

pub fn set_agents(
    account: &Address,
    agents: Vec<Address>,
    n: Vec<U128>,
    token_ids: Vec<Vec<u8>>
) -> bool

set agents, this method will set agents more than one TokeTemplate

account is the buyer address

resource_id used to mark the only commodity in the chain

agents is the array of address who will be authorized agents

n represents the number of authorized token

token_template_bytes is array of TokenTemplate