mirror of openzeppelin-contracts
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
openzeppelin-contracts/contracts/mocks
ashhanai e734b42fc2
Enable using ERC165 check for one supported interface directly (#3339)
3 years ago
..
ERC165 Add Prettier for linting and fix Solhint config (#2697) 4 years ago
UUPS Simplify UUPSUpgradeable along the lines of ERC1822 (#3021) 3 years ago
compound Add Governor contracts (#2672) 4 years ago
crosschain Optimize Address.functionCall removing redundant isContract check (#3469) 3 years ago
wizard Extend Governor with parameterized votes (#3043) 3 years ago
AccessControlCrossChainMock.sol Add utilities for CrossChain messaging (#3183) 3 years ago
AccessControlEnumerableMock.sol Add modifier & internal function with standard revert message in AccessControl (#2609) 4 years ago
AccessControlMock.sol Add modifier & internal function with standard revert message in AccessControl (#2609) 4 years ago
AddressImpl.sol Add Prettier for linting and fix Solhint config (#2697) 4 years ago
ArraysImpl.sol Add Prettier for linting and fix Solhint config (#2697) 4 years ago
BadBeacon.sol Add Prettier for linting and fix Solhint config (#2697) 4 years ago
Base64Mock.sol Add Base64 library to utils (#2884) 3 years ago
BitmapMock.sol Add a BitMap struct (#2710) 4 years ago
CallReceiverMock.sol Fix encoding of signature+calldata in GovernorCompatibilityBravo (#3100) 3 years ago
CheckpointsImpl.sol Add tests for improved coverage (#3448) 3 years ago
ClashingImplementation.sol Add Prettier for linting and fix Solhint config (#2697) 4 years ago
ClonesMock.sol Add Prettier for linting and fix Solhint config (#2697) 4 years ago
ConditionalEscrowMock.sol Reorganize the repo structure (#2503) 4 years ago
ContextMock.sol Add Prettier for linting and fix Solhint config (#2697) 4 years ago
CountersImpl.sol Add a Counter.reset function (#2678) 4 years ago
Create2Impl.sol Add Prettier for linting and fix Solhint config (#2697) 4 years ago
DoubleEndedQueueMock.sol Add a double ended queue (#3153) 3 years ago
DummyImplementation.sol Add Prettier for linting and fix Solhint config (#2697) 4 years ago
ECDSAMock.sol #890: Add ECDSA.toEthSignedMessageHash(bytes) for abritrary length message hashing (#2865) 3 years ago
EIP712External.sol Add Prettier for linting and fix Solhint config (#2697) 4 years ago
ERC20BurnableMock.sol Add Prettier for linting and fix Solhint config (#2697) 4 years ago
ERC20CappedMock.sol Add Prettier for linting and fix Solhint config (#2697) 4 years ago
ERC20DecimalsMock.sol Inherit ERC20Wrapper decimals from the underlying (#3259) 3 years ago
ERC20FlashMintMock.sol Add customizable fee receiver to ERC20FlashMint (#3327) 3 years ago
ERC20Mock.sol Add Prettier for linting and fix Solhint config (#2697) 4 years ago
ERC20PausableMock.sol Add Prettier for linting and fix Solhint config (#2697) 4 years ago
ERC20PermitMock.sol Add Prettier for linting and fix Solhint config (#2697) 4 years ago
ERC20SnapshotMock.sol Add Prettier for linting and fix Solhint config (#2697) 4 years ago
ERC20VotesCompMock.sol Add Prettier for linting and fix Solhint config (#2697) 4 years ago
ERC20VotesMock.sol Add Prettier for linting and fix Solhint config (#2697) 4 years ago
ERC20WrapperMock.sol Wrapper extension for ERC20 token (#2633) 4 years ago
ERC165CheckerMock.sol Enable using ERC165 check for one supported interface directly (#3339) 3 years ago
ERC165Mock.sol Add Prettier for linting and fix Solhint config (#2697) 4 years ago
ERC165StorageMock.sol Reorganize the repo structure (#2503) 4 years ago
ERC721BurnableMock.sol Add Prettier for linting and fix Solhint config (#2697) 4 years ago
ERC721EnumerableMock.sol Add Prettier for linting and fix Solhint config (#2697) 4 years ago
ERC721Mock.sol Add Prettier for linting and fix Solhint config (#2697) 4 years ago
ERC721PausableMock.sol Add Prettier for linting and fix Solhint config (#2697) 4 years ago
ERC721ReceiverMock.sol Add Prettier for linting and fix Solhint config (#2697) 4 years ago
ERC721RoyaltyMock.sol Implement Non Fungible Token Royalty (EIP2981) (#3012) 3 years ago
ERC721URIStorageMock.sol Add Prettier for linting and fix Solhint config (#2697) 4 years ago
ERC721VotesMock.sol Add ERC721Votes for NFT-based governance (#2944) 3 years ago
ERC777Mock.sol Add Prettier for linting and fix Solhint config (#2697) 4 years ago
ERC777SenderRecipientMock.sol Add Prettier for linting and fix Solhint config (#2697) 4 years ago
ERC1155BurnableMock.sol Add Prettier for linting and fix Solhint config (#2697) 4 years ago
ERC1155Mock.sol Add Prettier for linting and fix Solhint config (#2697) 4 years ago
ERC1155PausableMock.sol Add Prettier for linting and fix Solhint config (#2697) 4 years ago
ERC1155ReceiverMock.sol Check inheritance tree consistency (#2727) 4 years ago
ERC1155SupplyMock.sol Fix ERC1155 supply tracking (#2956) 3 years ago
ERC1155URIStorageMock.sol Add ERC1155URIStorage (#3210) 3 years ago
ERC1271WalletMock.sol Add tooling to verify signatures with support for ERC1271 (#2532) 4 years ago
ERC1820ImplementerMock.sol Reorganize the repo structure (#2503) 4 years ago
ERC2771ContextMock.sol Fix ERC2771ContextMock for upgradeable contracts 3 years ago
ERC3156FlashBorrowerMock.sol Add Prettier for linting and fix Solhint config (#2697) 4 years ago
ERC4626Mock.sol Rename ERC20TokenizedVault to ERC4626 (#3467) 3 years ago
EnumerableMapMock.sol Add bytes32 to uint enumerable map (#3416) 3 years ago
EnumerableSetMock.sol Add values() functions to EnumerableSets (#2768) 4 years ago
EtherReceiverMock.sol Add Prettier for linting and fix Solhint config (#2697) 4 years ago
GovernorCompMock.sol Extend Governor with parameterized votes (#3043) 3 years ago
GovernorCompatibilityBravoMock.sol Extend Governor with parameterized votes (#3043) 3 years ago
GovernorMock.sol Extend Governor with parameterized votes (#3043) 3 years ago
GovernorPreventLateQuorumMock.sol Extend Governor with parameterized votes (#3043) 3 years ago
GovernorTimelockCompoundMock.sol Extend Governor with parameterized votes (#3043) 3 years ago
GovernorTimelockControlMock.sol Extend Governor with parameterized votes (#3043) 3 years ago
GovernorVoteMock.sol Extend Governor with parameterized votes (#3043) 3 years ago
GovernorWithParamsMock.sol Extend Governor with parameterized votes (#3043) 3 years ago
InitializableMock.sol Simplify Initializable (#3450) 3 years ago
MathMock.sol Add sqrt for math (#3242) 3 years ago
MerkleProofWrapper.sol Support memory arrays in MerkleTree multiproof (#3493) 3 years ago
MulticallTest.sol Add Prettier for linting and fix Solhint config (#2697) 4 years ago
MulticallTokenMock.sol Add Prettier for linting and fix Solhint config (#2697) 4 years ago
MultipleInheritanceInitializableMocks.sol Update initializer modifier to prevent reentrancy during initialization (#3006) 3 years ago
OwnableMock.sol Add Prettier for linting and fix Solhint config (#2697) 4 years ago
PausableMock.sol Add Prettier for linting and fix Solhint config (#2697) 4 years ago
PullPaymentMock.sol Add Prettier for linting and fix Solhint config (#2697) 4 years ago
ReentrancyAttack.sol Add Prettier for linting and fix Solhint config (#2697) 4 years ago
ReentrancyMock.sol Add Prettier for linting and fix Solhint config (#2697) 4 years ago
RegressionImplementation.sol Add Prettier for linting and fix Solhint config (#2697) 4 years ago
SafeCastMock.sol Procedural SafeCast.sol generation (#3245) 3 years ago
SafeERC20Helper.sol Add a SafeERC20:safePermit function (#3280) 3 years ago
SafeMathMock.sol Add Prettier for linting and fix Solhint config (#2697) 4 years ago
SignatureCheckerMock.sol Add Prettier for linting and fix Solhint config (#2697) 4 years ago
SignedMathMock.sol Move abs(int256) from Math to SafeMath (#3110) 3 years ago
SignedSafeMathMock.sol Reorganize the repo structure (#2503) 4 years ago
SingleInheritanceInitializableMocks.sol Add Prettier for linting and fix Solhint config (#2697) 4 years ago
StorageSlotMock.sol Add Prettier for linting and fix Solhint config (#2697) 4 years ago
StringsMock.sol Add `address` to `string` conversion (#3403) 3 years ago
TimersBlockNumberImpl.sol Add Governor contracts (#2672) 4 years ago
TimersTimestampImpl.sol Add Governor contracts (#2672) 4 years ago
VotesMock.sol Make Votes._getVotingUnits view (#3225) 3 years ago