Francisco
|
6bf68a41d1
|
Remove "available since" comments (#4424)
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
|
2 years ago |
Ernesto García
|
bb64458928
|
Implement recommendations from 5.0 audit Phase 1A (#4398)
Co-authored-by: Francisco Giordano <fg@frang.io>
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
|
2 years ago |
Paul Razvan Berg
|
06861dce54
|
Update docs for `SafeERC20.forceApprove` (#4231)
|
2 years ago |
Hicham010
|
04342118dc
|
Fix visibility in ERC721._checkOnERC721Received documentation (#4386)
|
2 years ago |
Francisco
|
874c2d3c02
|
Use explicit imports (#4399)
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: ernestognw <ernestognw@gmail.com>
|
2 years ago |
Ernesto García
|
8cab922347
|
Rename `ERC1155InsufficientApprovalForAll` to `ERC1155MissingApprovalForAll` (#4381)
|
2 years ago |
Hadrien Croubois
|
1e0e4e20bb
|
Do not emit Approval event when calling transferFrom (#4370)
Co-authored-by: Ernesto García <ernestognw@gmail.com>
Co-authored-by: Francisco <fg@frang.io>
|
2 years ago |
Claudia Barcelo
|
cd48b3eab3
|
Add validation in Governor on ERC-721 or ERC-1155 received (#4314)
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: Francisco <fg@frang.io>
Co-authored-by: Ernesto García <ernestognw@gmail.com>
|
2 years ago |
Claudia Barcelo
|
05ef6924ac
|
Optimize array access in ERC1155 (#4300)
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: Francisco Giordano <fg@frang.io>
|
2 years ago |
Hadrien Croubois
|
ef103f37e4
|
Replace some uses of abi.encodePacked with more explicit alternatives (#4296)
Co-authored-by: Francisco <fg@frang.io>
|
2 years ago |
Ernesto García
|
5cc1ea0a39
|
Add `GUIDELINES.md` for marking `abstract` contracts (#4010)
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: Francisco Giordano <fg@frang.io>
|
2 years ago |
Ernesto García
|
b425a72240
|
Replace revert strings with custom errors (#4261)
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: Francisco <fg@frang.io>
|
2 years ago |
Pascal Marco Caversaccio
|
e73f90fa9d
|
Fix `IERC1155.safeBatchTransferFrom` documentation (#4340)
|
2 years ago |
Robb Walters
|
cc04263170
|
Highlight Reentrancy Risk in IERC1155 SafeTransferFrom Function (#4283)
Co-authored-by: Francisco <fg@frang.io>
|
2 years ago |
Renan Souza
|
df2778f38e
|
Remove override interface implementations (#4315)
Co-authored-by: Ernesto García <ernestognw@gmail.com>
|
2 years ago |
Balaji Shetty Pachai
|
4fd2f8be33
|
Replace abi.encodeWithSelector & abi.encodeWithSignature with abi.encodeCall (#4293)
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
|
2 years ago |
Francisco
|
85696d80ad
|
Remove further hardcoded function resolution (#4309)
|
2 years ago |
Francisco
|
ffceb3cd98
|
Remove hardcoded function resolution (#4299)
|
2 years ago |
Francisco
|
3902a410f1
|
Remove DOMAIN_SEPARATOR from Votes and update docs examples (#4297)
Co-authored-by: Qiwei Yang <yangqiwei97@gmail.com>
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
|
2 years ago |
Renan Souza
|
5cef83d2c7
|
Optimize array allocation in ERC1155 (#4196)
Co-authored-by: Francisco <fg@frang.io>
|
2 years ago |
Ernesto García
|
7bb5592ad5
|
Bump minimum pragma version to `0.8.19` (#4288)
|
2 years ago |
Hadrien Croubois
|
15c5c71795
|
Remove TokenTimelock, PaymentSplitter, ERC20Snapshot, ERC20VotesComp, GovernorVotesComp (#4276)
|
2 years ago |
Hadrien Croubois
|
4448c13c3c
|
Move the Checkpoints library to utils/structs (#4275)
|
2 years ago |
kfishnchips
|
5420879d9b
|
Ability to set starting token id for ERC721Consecutive (#4097)
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: ernestognw <ernestognw@gmail.com>
|
2 years ago |
Hadrien Croubois
|
25edd3cd62
|
Use SafeERC20.forceApprove in safeIncreaseAllowance and safeDecreaseAllowance (#4260)
Co-authored-by: Francisco <fg@frang.io>
|
2 years ago |
github-actions[bot]
|
09329f8a18
|
Merge release-v4.9 branch (#4274)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Francisco Giordano <fg@frang.io>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
|
2 years ago |
Balaji Shetty Pachai
|
cbc6145f5f
|
Removes zero address check from balanceOf in ERC1155 (#4263)
Co-authored-by: bpachai <bpachai@v2soft.com>
Co-authored-by: Francisco Giordano <fg@frang.io>
|
2 years ago |
Hadrien Croubois
|
0f10efe232
|
Remove code in preparation for v5.0 (#4258)
Co-authored-by: Ernesto García <ernestognw@gmail.com>
Co-authored-by: Francisco <fg@frang.io>
|
2 years ago |
ToonVanHove
|
692d8c85a4
|
Fix lookup documentation in ERC20Votes and Checkpoints (#4218)
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
|
2 years ago |
Francisco
|
91df66c4a9
|
Implement suggestions from audit of 4.9 (#4176)
Co-authored-by: Ernesto García <ernestognw@gmail.com>
|
2 years ago |
Hadrien Croubois
|
3214f6c256
|
Add FV specification for ERC20Wrapper (#4100)
Co-authored-by: Francisco <fg@frang.io>
|
2 years ago |
Francisco Giordano
|
eedca5d873
|
Merge release-v4.8 branch
|
2 years ago |
Hadrien Croubois
|
8ba26f388f
|
Merge pull request from GHSA-878m-3g6q-594q
* Test batch minting of 1
* Fix balance tracking
* fix lint
* add changeset
* rename UNSAFE -> unsafe
* fix docs
* fix changeset
* grammar
* add explanation of preserved invariant
* add fuzz tests
* rename variable
* improve property definition
* add burn
* add test ownership multiple batches
* refactor fuzz tests
* change ownership test for better probability
* typo
* reorder comment
* update changelog notes
* edit changelog
* lint
* Update CHANGELOG.md
---------
Co-authored-by: Francisco Giordano <fg@frang.io>
|
2 years ago |
Clayton Rabenda
|
2c69f9f9f5
|
Fix comment on ERC777._beforeTokenTransfer (#3982)
|
2 years ago |
Hadrien Croubois
|
8b47e96af1
|
Add SafeERC20.forceApprove() (#4067)
|
2 years ago |
Hadrien Croubois
|
6e88df28cb
|
Mark ERC777 and ERC1820 as deprecated (#4066)
|
2 years ago |
Pascal Marco Caversaccio
|
227473e88c
|
Fix comment in `ERC4626` on decimals default (#4060)
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
|
2 years ago |
Hadrien Croubois
|
08d085f2c9
|
Fix ERC4906 compliance of ERC721URIStorage (#4055)
Co-authored-by: Francisco <fg@frang.io>
|
2 years ago |
Hadrien Croubois
|
96a2297e15
|
Add IERC4906 interface and use in ERC721 (#4012)
Co-authored-by: Francisco Giordano <fg@frang.io>
|
2 years ago |
Hadrien Croubois
|
d64d7aa5d1
|
ERC4626 inflation attack mitigation (#3979)
Co-authored-by: Francisco <fg@frang.io>
|
2 years ago |
Hadrien Croubois
|
d5d9d4bd3d
|
Simplify ERC721Wrapper.depositFor to save gas (#4048)
|
2 years ago |
Ernesto García
|
2c711d0b05
|
Restrict ERC721Wrapper wrap by direct transfer (#4043)
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
|
2 years ago |
Hadrien Croubois
|
790cc5b65a
|
Add timestamp based governor with EIP-6372 and EIP-5805 (#3934)
Co-authored-by: Francisco Giordano <fg@frang.io>
Co-authored-by: Ernesto García <ernestognw@gmail.com>
Co-authored-by: Francisco <frangio.1@gmail.com>
|
2 years ago |
Ernesto García
|
94cd8ef12e
|
Add ERC721 Wrapper (#3863)
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
|
2 years ago |
Kimani Kelly
|
4d3e423443
|
Make ERC20Wrapper.underlying variable private (#4029)
Co-authored-by: Kimani Kelly <kimanikelly@Kimanis-MacBook-Pro.local>
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
|
2 years ago |
Francisco Giordano
|
2d05db171a
|
Add note about supply limit in ERC1155Supply
|
2 years ago |
Ernesto García
|
1684c57922
|
Add `ERC*Pausable` warning for public pausing mechanism (#4007)
Co-authored-by: Francisco <fg@frang.io>
|
2 years ago |
JulissaDantes
|
e919d96ff2
|
Add ERC1155.totalSupply that returns overall supply count (#3962)
|
2 years ago |
JulissaDantes
|
c5d040beb9
|
Remove Address.isContract (#3945)
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: Francisco Giordano <fg@frang.io>
|
2 years ago |
Hadrien Croubois
|
6b17b33430
|
Use a staticcall to fetch ERC20.decimals in ERC4626 (#3943)
Co-authored-by: Francisco <frangio.1@gmail.com>
|
2 years ago |