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
Hadrien Croubois 171fa40bc8
ERC721 extension for efficient batch minting (#3311)
2 years ago
..
ERC165 Remove unnecessary virtual (#3650) 2 years ago
UUPS Remove unnecessary virtual (#3650) 2 years ago
compound Add Governor contracts (#2672) 4 years ago
crosschain Fix arbitrum L1 to L2 crosschain call detection (#3578) 3 years ago
wizard Extend Governor with parameterized votes (#3043) 3 years ago
AccessControlCrossChainMock.sol Remove unnecessary virtual (#3650) 2 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
ArraysMock.sol Extend Checkpoints with new sizes and lookup mechanisms (#3589) 2 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
CheckpointsMock.sol ERC721 extension for efficient batch minting (#3311) 2 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 Remove the draft prefix for EIP712 as it is now final (#3621) 2 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 Remove unnecessary virtual (#3650) 2 years ago
ERC20FlashMintMock.sol Add internal overrideable _flashFee in ERC20FlashMint (#3551) 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
ERC721ConsecutiveMock.sol ERC721 extension for efficient batch minting (#3311) 2 years ago
ERC721EnumerableMock.sol Remove unnecessary virtual (#3650) 2 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 Remove unnecessary virtual (#3650) 2 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 Remove unnecessary virtual (#3650) 2 years ago
ERC1155ReceiverMock.sol Check inheritance tree consistency (#2727) 4 years ago
ERC1155SupplyMock.sol Remove unnecessary virtual (#3650) 2 years ago
ERC1155URIStorageMock.sol Remove unnecessary virtual (#3650) 2 years ago
ERC1271WalletMock.sol Fix issues caused by abi.decode reverting (#3552) 3 years ago
ERC1820ImplementerMock.sol Reorganize the repo structure (#2503) 4 years ago
ERC2771ContextMock.sol Remove unnecessary virtual (#3650) 2 years ago
ERC3156FlashBorrowerMock.sol Add Prettier for linting and fix Solhint config (#2697) 4 years ago
ERC4626Mock.sol Inherit asset decimals in ERC4626 (#3639) 2 years ago
EnumerableMapMock.sol Extend Checkpoints with new sizes and lookup mechanisms (#3589) 2 years ago
EnumerableSetMock.sol Extend Checkpoints with new sizes and lookup mechanisms (#3589) 2 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 Remove unnecessary virtual (#3650) 2 years ago
GovernorMock.sol Remove unnecessary virtual (#3650) 2 years ago
GovernorPreventLateQuorumMock.sol Remove unnecessary virtual (#3650) 2 years ago
GovernorTimelockCompoundMock.sol Remove unnecessary virtual (#3650) 2 years ago
GovernorTimelockControlMock.sol Remove unnecessary virtual (#3650) 2 years ago
GovernorVoteMock.sol Extend Governor with parameterized votes (#3043) 3 years ago
GovernorWithParamsMock.sol Remove unnecessary virtual (#3650) 2 years ago
InitializableMock.sol Add internal functions `_getInitializedVersion` and `_isInitializing` (#3598) 2 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 Remove unnecessary virtual (#3650) 2 years ago
Ownable2StepMock.sol Add Ownable2Step extension with 2-step transfer (#3620) 2 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 Extend Checkpoints with new sizes and lookup mechanisms (#3589) 2 years ago
SafeERC20Helper.sol Remove unnecessary virtual (#3650) 2 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 Optimize toString (#3573) 2 years ago
TimersBlockNumberImpl.sol Add Governor contracts (#2672) 4 years ago
TimersTimestampImpl.sol Add Governor contracts (#2672) 4 years ago
VotesMock.sol Remove unnecessary virtual (#3650) 2 years ago