Skip to content

Commit

Permalink
Add public name property to AssetsContractController class (#4564)
Browse files Browse the repository at this point in the history
## References

- See #4072

## Changelog

```md
### Added

- Add public readonly property `name` to `AssetsContractController` and assign "AssetsContractController" as its value.
```

## Checklist

- [ ] I've updated the test suite for new or updated code as appropriate
- [ ] I've updated documentation (JSDoc, Markdown, etc.) for new or
updated code as appropriate
- [ ] I've highlighted breaking changes using the "BREAKING" category
above as appropriate
  • Loading branch information
MajorLift authored and AugmentedMode committed Jul 30, 2024
1 parent 38da8f5 commit f6e81a0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/assets-controllers/src/AssetsContractController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,8 @@ export type AssetsContractControllerMessenger = RestrictedControllerMessenger<
* Controller that interacts with contracts on mainnet through web3
*/
export class AssetsContractController {
readonly name: typeof name = name;

protected messagingSystem: AssetsContractControllerMessenger;

#provider: Provider | undefined;
Expand Down

0 comments on commit f6e81a0

Please sign in to comment.