[][src]Function split_policy::withdraw

pub fn withdraw(key: &[u8], addr: &Address) -> bool

the data owner withdraw token from the contract

key is also called resource_id in the other contract

addr is the address who withdraw token, need the address signature