Skip to main content

token_key

Function token_key 

Source
fn token_key(expr: &Expr<'_>) -> Option<TokenKey>
Expand description

Constructs a TokenKey for the receiver of a permit/sink call. Supports <var> (with cast / payable peeling via underlying_var) and <var>.<field> (a struct-field path).