[][src]Function dtoken::set_token_agents

pub fn set_token_agents(
    account: &Address,
    token_id: &[u8],
    agents: Vec<Address>,
    n: Vec<U128>
) -> bool

set token agents

account is the buyer address

resource_id used to mark the only commodity in the chain

token_template_bytes used to mark the only token

agents is the array of address who will be authorized as agents

n represents the number of authorized token