mirror of
https://github.com/luxfi/erc-3643.git
synced 2026-10-30 16:58:28 +00:00
# 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]>
15 lines
308 B
Solidity
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');
|
|
}
|
|
}
|