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

Decoupling, minor refactoring #209

Merged
merged 7 commits into from
May 5, 2022
Merged

Decoupling, minor refactoring #209

merged 7 commits into from
May 5, 2022

Conversation

andreibancioiu
Copy link
Contributor

@andreibancioiu andreibancioiu commented May 5, 2022

  • TokenPayment.numDecimals is now a public field.
  • ITokenPayment now has BigNumber.Value as output dependency, instead of BigNumber. Theoretically, this isn't a breaking change (interface is used as an input dependency): an [old ITokenPayment] is assignable to a variable of the type [new ITokenPayment].
  • Some decoupling from Code, CodeMetadata, ContractFunction.
  • Simplification: ignore second parameter of new SmartContractAbi().
  • Added some TODOs (for future breaking changes).

…f BigNumber. Theoretically, this isn't a breaking change (interface is used as an input dependency): an [old ITokenPayment] is assignable to a variable of the type [new ITokenPayment].
…ContractFunction". Decoupling from "TypedValue" is a bit more complex - not done yet.
@andreibancioiu andreibancioiu merged commit 403944b into main May 5, 2022
@andreibancioiu andreibancioiu deleted the decoupling branch May 5, 2022 08:57
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.

3 participants