Tag:
Branch:
Tree:
b6e5187973
audit/2023-03
audit/2023-06
audit/2023-07-10
audit/2023-07-24
audit/2023-08-01
audit/2023-08-07
audit/M-01
audits/5.1
docs-org
docs-v2.x
docs-v3.x
docs-v4.x
docs-v5.x
eof
features/full-math
formal-verification
frangio-patch-1
frangio-patch-2
fv/ERC20Votes
fv/Governor
master
next-v5.0
release-v2.3.0
release-v2.4.0
release-v2.5.0
release-v3.0.0
release-v3.1.0
release-v3.2.0
release-v3.2.0-solc-0.7
release-v3.3
release-v3.3-solc-0.7
release-v3.4
release-v3.4-solc-0.7
release-v4.0
release-v4.1
release-v4.2
release-v4.3
release-v4.4
release-v4.5
release-v4.6
release-v4.7
release-v4.8
release-v4.9
release-v5.0
release-v5.1
release-v5.2
renovate/certora-cli-7.x
renovate/lock-file-maintenance
renovate/major-linters
renovate/npm-undici-vulnerability
solc-0.6
solc-0.7
test/linearization
transient/access-manager-execution-id
typo-fixes
update/certora-7.3.0
v1.0.0
v1.0.1
v1.0.2
v1.0.3
v1.0.4
v1.0.5
v1.0.6
v1.0.7
v1.1.0
v1.10.0
v1.11.0
v1.11.0-rc.1
v1.12.0
v1.12.0-rc.1
v1.12.0-rc.2
v1.2.0
v1.3.0
v1.4.0
v1.5.0
v1.6.0
v1.7.0
v1.8.0
v1.9.0
v1.9.1
v1.9.2
v1.9.3
v1.9.4
v2.0.0
v2.0.0-rc.1
v2.0.0-rc.2
v2.0.0-rc.3
v2.0.0-rc.4
v2.0.1
v2.0.2
v2.1.0-rc.1
v2.1.0-rc.2
v2.1.1
v2.1.2
v2.1.3
v2.2.0
v2.2.0-rc.1
v2.2.1
v2.2.2
v2.2.3
v2.3.0
v2.3.0-rc.0
v2.3.0-rc.1
v2.3.0-rc.2
v2.3.0-rc.3
v2.4.0
v2.4.0-beta.0
v2.4.0-beta.1
v2.4.0-beta.2
v2.5.0
v2.5.0-rc.0
v2.5.1
v3.0.0
v3.0.0-beta.0
v3.0.0-rc.0
v3.0.0-rc.1
v3.0.1
v3.0.2
v3.1.0
v3.1.0-rc.0
v3.1.0-solc-0.7
v3.2.0
v3.2.0-rc.0
v3.2.1-solc-0.7
v3.2.2-solc-0.7
v3.3.0
v3.3.0-rc.0
v3.3.0-rc.1
v3.3.0-rc.2
v3.3.0-solc-0.7
v3.4.0
v3.4.0-rc.0
v3.4.0-solc-0.7
v3.4.1
v3.4.1-solc-0.7
v3.4.1-solc-0.7-2
v3.4.2
v3.4.2-solc-0.7
v4.0.0
v4.0.0-beta.0
v4.0.0-beta.1
v4.0.0-rc.0
v4.1.0
v4.1.0-rc.0
v4.2.0
v4.2.0-rc.0
v4.3.0
v4.3.0-rc.0
v4.3.1
v4.3.2
v4.3.3
v4.4.0
v4.4.0-rc.0
v4.4.0-rc.1
v4.4.1
v4.4.2
v4.5.0
v4.5.0-rc.0
v4.5.1
v4.5.2
v4.6.0
v4.6.0-rc.0
v4.7.0
v4.7.0-rc.0
v4.7.1
v4.7.2
v4.7.3
v4.8.0
v4.8.0-rc.0
v4.8.0-rc.1
v4.8.0-rc.2
v4.8.1
v4.8.2
v4.8.3
v4.9.0
v4.9.0-rc.0
v4.9.0-rc.1
v4.9.1
v4.9.2
v4.9.3
v4.9.4
v4.9.5
v4.9.6
v5.0.0
v5.0.0-rc.0
v5.0.0-rc.1
v5.0.0-rc.2
v5.0.1
v5.0.2
v5.1.0
v5.1.0-rc.0
v5.1.0-rc.1
v5.2.0
v5.2.0-rc.0
v5.2.0-rc.1
${ noResults }
5 Commits (b6e5187973a4f12ce5ea0bba3500ffb30efb2389)
Author | SHA1 | Message | Date |
---|---|---|---|
Francisco Giordano |
90ed1af972
|
Support compiling with solc 0.7 (#2408)
|
4 years ago |
Robert Kaiser |
a81e948fc9
|
Add a simple catch-all implementation of the metadata URI interface (#2029)
* Initial ERC1155 implementation with some tests (#1803) * Initial ERC1155 implementation with some tests * Remove mocked isERC1155TokenReceiver * Revert reason edit nit * Remove parameters associated with isERC1155TokenReceiver call * Add tests for approvals and single transfers * Add tests for transferring to contracts * Add tests for batch transfers * Make expectEvent.inTransaction tests async * Renamed "owner" to "account" and "holder" * Document unspecified balanceOfBatch reversion on zero behavior * Ensure accounts can't set their own operator status * Specify descriptive messages for underflow errors * Bring SafeMath.add calls in line with OZ style * Explicitly prevent _burn on the zero account * Implement batch minting/burning * Refactored operator approval check into isApprovedForAll calls * Renamed ERC1155TokenReceiver to ERC1155Receiver * Added ERC1155Holder * Fix lint issues * Migrate tests to @openzeppelin/test-environment * port ERC1155 to Solidity 0.6 * make ERC1155 constructor more similar to ERC721 one * also migrate mock contracts to Solidity 0.6 * mark all non-view functions as virtual * add simple catch-all implementation for the metadata URI interface * include an internal function to set the URI so users can implement functionality to switch URIs * add tests for ERC1155 metadata URI * fix nits, mostly pointed out by linter * convert ERC1155 metadata URI work to Solidity 0.6 * mark all non-view functions as virtual * Port ERC 1155 branch to Solidity 0.6 (and current master) (#2130) * port ERC1155 to Solidity 0.6 * make ERC1155 constructor more similar to ERC721 one * also migrate mock contracts to Solidity 0.6 * mark all non-view functions as virtual * Update contracts/token/ERC1155/IERC1155MetadataURI.sol Starting on Solidity v0.6.2, interfaces can now inherit. \o/ Co-authored-by: Nicolás Venturo <nicolas.venturo@gmail.com> * Fix compile errors * Remove URI event * Merge MetadataCatchAll into ERC1155 * Improve documentation. * Simplify tests * Move tests into ERC1155 tests * Update documentation * Bump minimum compiler version for inteface inheritance * Fix holder tests * Improve setUri docs * Fix docs generation Co-authored-by: Alan Lu <alanlu1023@gmail.com> Co-authored-by: Nicolás Venturo <nicolas.venturo@gmail.com> Co-authored-by: Francisco Giordano <frangio.1@gmail.com> |
5 years ago |
Nicolás Venturo |
91516b2318
|
Allow overriding of ERC1155 functions (#2263)
* Make receiver functions private * Make external functions public |
5 years ago |
Nicolás Venturo |
56de324afe
|
Add SPX license identifier (#2235)
|
5 years ago |
Francisco Giordano |
956d6632d9
|
ERC1155 feature pending tasks (#2014)
* Initial ERC1155 implementation with some tests (#1803) * Initial ERC1155 implementation with some tests * Remove mocked isERC1155TokenReceiver * Revert reason edit nit * Remove parameters associated with isERC1155TokenReceiver call * Add tests for approvals and single transfers * Add tests for transferring to contracts * Add tests for batch transfers * Make expectEvent.inTransaction tests async * Renamed "owner" to "account" and "holder" * Document unspecified balanceOfBatch reversion on zero behavior * Ensure accounts can't set their own operator status * Specify descriptive messages for underflow errors * Bring SafeMath.add calls in line with OZ style * Explicitly prevent _burn on the zero account * Implement batch minting/burning * Refactored operator approval check into isApprovedForAll calls * Renamed ERC1155TokenReceiver to ERC1155Receiver * Added ERC1155Holder * Fix lint issues * Migrate tests to @openzeppelin/test-environment * Port ERC 1155 branch to Solidity 0.6 (and current master) (#2130) * port ERC1155 to Solidity 0.6 * make ERC1155 constructor more similar to ERC721 one * also migrate mock contracts to Solidity 0.6 * mark all non-view functions as virtual Co-authored-by: Alan Lu <alanlu1023@gmail.com> Co-authored-by: Nicolás Venturo <nicolas.venturo@gmail.com> Co-authored-by: Robert Kaiser <kairo@kairo.at> |
5 years ago |