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

pub fn balance_of(address: &Address) -> U128

Query the balance of ont assets

Example

    let input = input();
    let mut source = Source::new(&input);
    let addr = source.read().unwrap();
    ont::balance_of(addr);