Open samclassix opened 3 weeks ago
I. cancel challenge, works II. transferFrom, needs balance calc and check on app, otherwise SC will throw an error
Most likely Smart Contract Error Signature?: 0xe450d38c
if (msg.sender == _challenge.challenger) {
// allow challenger to cancel challenge without paying themselves
} else {
zchf.transferFrom(msg.sender, _challenge.challenger, (size * liqPrice) / (10 ** 18));
}
How to recreate