[][src]Function dtoken::add_agents

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

add_agents, this method append agents for the all token

resource_id used to mark the only commodity in the chain

account is user address who authorize the other address is agent, need account signature

agents is the array of agent address

n is number of authorizations per agent