Files
erc-3643/contracts/_testContracts/ClaimIssuerTrick.sol
5c6a3df5bd 🔖() Release to main (#145)
# Version 4.0.1

All tests were rewritten using hardhat instead of truffle for optimisation and improvements (tests now properly check revert messages and emitted events).

# Update in contract source:
- Compliance module view methods no longer require the modifier `onlyComplianceBound`.
- Update to version `4.0.1`
- `coverage` folder and `coverage.json` are now ignored.
- Update module exports.
- Action on push (link & tests) now runs coverage and uploads coverage results to action artifacts.
- Action on pre-release and release now runs coverage and uploads coverage results to release artifacts.
- Update the license note date to 2023 (previously 2022) 
- Remove migrations contract


# Update documentation 
- README updated
- CONTRIBUTING documentation added
- WhitePaper pdf added 
- remove outdated documentation on transfers

---------

Co-authored-by: Joachim <[email protected]>
2023-06-05 17:18:51 +02:00

15 lines
308 B
Solidity

contract ClaimIssuerTrick {
function isClaimValid(
address _identity,
uint256 claimTopic,
bytes calldata sig,
bytes calldata data)
public view returns (bool) {
if (msg.sender == _identity) {
return true;
}
revert('ERROR');
}
}