pub fn predicate_address() -> Option<Address> 
Expand description

Get the current predicate’s address when called in an internal context.

Returns

  • [Option] - The address of this predicate.

Examples

use std::auth::predicate_address;

fn main() {
    let this_predicate = predicate_address().unwrap();
    log(this_predicate);
}