set_balance
fn set_balance(target: ContractAddress, new_balance: u256, token: Token)
Sets balance of token for target contract to new_balance.
See Token docs on how to define and use tokens.
Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help
set_balance
fn set_balance(target: ContractAddress, new_balance: u256, token: Token)
Sets balance of token for target contract to new_balance.
See Token docs on how to define and use tokens.