Skip to content

Commit

Permalink
update signature
Browse files Browse the repository at this point in the history
  • Loading branch information
ZaK3939 committed Oct 11, 2024
1 parent 189aa21 commit fdf23d8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Cred.sol
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,7 @@ contract Cred is Initializable, UUPSUpgradeable, Ownable2StepUpgradeable, Pausab

if (data.expiresIn < block.timestamp) revert SignatureExpired();
if (data.executor != _msgSender()) revert UnauthorizedCaller();
if (data.credCreator == address(0)) revert InvalidAddressZero();
if (data.chainId != block.chainid) revert InvalidChainId();
if (data.nonce != nonces[_msgSender()]) revert InvalidNonce();
if (!curatePriceWhitelist[data.bondingCurve]) revert UnauthorizedCurve();
Expand Down

0 comments on commit fdf23d8

Please sign in to comment.