[][src]Function ontio_std::contract::ont::allowance

pub fn allowance(from: &Address, to: &Address) -> U128

This method is used in conjunction with the approve method to query the number of approve

Example

  let input= input();
  let mut source = Source::new(&input);
  let (from, to) = source.read().unwrap();
  ont::allowance(from,to);