Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Jan 10, 2022

This is the release candidate for version 25.0.0.

[25.0.0]

Added

  • Add optional third argument to method checkAndUpdateSingleCollectibleOwnershipStatus on CollectiblesController, which contains the userAddress and chainId to check asset ownership against. If not included, the method will still check against the currently configured selectedAddress and chainId configured in the CollectiblesController (#672)
  • Add getTokenStandardAndDetails method on AssetsContractController which determines whether the input contract confirms to particular known token standard (ERC20, ERC721 or ERC1155) and returns the detected standard along with some key values/details about that the contract and/or specified token within that contract (#667)

Changed

    • BREAKING - Standardize ERC721/1155/20 method names (#667)
    • Renames many methods on the AssetsContractController to include the contract type they are used by in the name in a standardized structure (i.e. getAssetName -> getERC721AssetName and balanceOfERC1155Collectible -> getERC1155BalanceOf).
    • Consumers will need to look at the AssetsContractController for any methods they consume and adapt names accordingly.

github-actions and others added 2 commits January 10, 2022 16:23
@adonesky1 adonesky1 marked this pull request as ready for review January 10, 2022 16:46
@adonesky1 adonesky1 requested a review from a team as a code owner January 10, 2022 16:46
gantunesr
gantunesr previously approved these changes Jan 10, 2022
Copy link
Member

@gantunesr gantunesr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@adonesky1
Copy link
Contributor

Thanks Guto! Going to wait for review from @Gudahtt before merge.

Copy link
Member

@Gudahtt Gudahtt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good aside from that one typo!

Co-authored-by: Mark Stacey <[email protected]>
@adonesky1
Copy link
Contributor

Thanks for pointing out the type @Gudahtt! Ready for another look!

@adonesky1 adonesky1 merged commit 2db7013 into main Jan 10, 2022
@adonesky1 adonesky1 deleted the release/25.0.0 branch January 10, 2022 23:43
@Gudahtt
Copy link
Member

Gudahtt commented Jan 11, 2022

A new version of the package @metamask/controllers (25.0.0) was published at 2022-01-11T14:48:52.197Z from
[redacted]. The shasum of this package was 764ba46a169f197253e35ca5273720c91eae7662.

MajorLift pushed a commit that referenced this pull request Oct 11, 2023
* 25.0.0

* update changelog

* Update CHANGELOG.md

Co-authored-by: Mark Stacey <[email protected]>
Co-authored-by: github-actions <[email protected]>
Co-authored-by: Alex <[email protected]>
MajorLift pushed a commit that referenced this pull request Oct 11, 2023
* 25.0.0

* update changelog

* Update CHANGELOG.md

Co-authored-by: Mark Stacey <[email protected]>
Co-authored-by: github-actions <[email protected]>
Co-authored-by: Alex <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants