Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

api: update NEP-11 wrappers #312

Merged
merged 1 commit into from
Sep 16, 2024
Merged

api: update NEP-11 wrappers #312

merged 1 commit into from
Sep 16, 2024

Conversation

ixje
Copy link
Member

@ixje ixje commented Sep 16, 2024

  • move total_owned_by from the _NEP11Contract base class to NEP11NonDivisibleContract
  • deprecate balance_of and balance_of_friendly in favour of total_owned_by and total_owned_by_friendly to streamline the function names between NEP11NonDivisibleContract and NEP11DivisibleContract

@ixje ixje merged commit a4cf6e8 into master Sep 16, 2024
11 checks passed
@ixje ixje deleted the nep11-deprecate branch September 16, 2024 14:09
@coveralls
Copy link

Coverage Status

coverage: 80.523% (-0.01%) from 80.533%
when pulling d3b92d3 on nep11-deprecate
into 7a71114 on master.

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.

2 participants