57515 sc high cross token accounting is broken
Description
fn releaseAll(ref self: TState, payment_token: ContractAddress);
fn release(ref self: TState, payment_token: ContractAddress, to: ContractAddress);fn totalReleased(self: @TState) -> u256;
fn released(self: @TState, account: ContractAddress) -> u256;Proof of Concept
Previous57656 sc insight incorrect supply cap check uses token id instead of total supply in base mint Next56841 sc high sudden addition of rewards will be frontrun with deposits just to steal part of reward
Was this helpful?