Skip to content
This repository has been archived by the owner on Dec 13, 2019. It is now read-only.

Add limitOrTotal and beneficiaries to client API wrapper class (also rename them to be explicit) #1645

Merged
merged 4 commits into from
Jun 7, 2019

Conversation

snario
Copy link
Contributor

@snario snario commented Jun 7, 2019

These fields were not added in the Interpreter PR #1263 (cc: @IIIIllllIIIIllllIIIIllllIIIIllllIIIIll for reference) to the clientside API wrapper class for an AppInstance inside cf.js and cf-wallet.js. This adds them.

Field rename

  • limitOrTotal was amount if TwoPartyOutcome interpreter type or limit if ETHTransfer interpreter type.
  • beneficiaries was playerAddrs if TwoPartyOutcome else meaningless (but set to [0x0, 0x0])

@snario snario requested a review from ebryn as a code owner June 7, 2019 19:23
@snario snario requested a review from briarsweetbriar as a code owner June 7, 2019 20:07
@snario
Copy link
Contributor Author

snario commented Jun 7, 2019

Renamed all of the fields in the codebase also to much more clearly labelled variables.

@snario snario changed the title Add limitOrTotal and beneficiaries to client API wrapper class Add limitOrTotal and beneficiaries to client API wrapper class (also rename them to be explicit) Jun 7, 2019
@snario snario merged commit bfd1dab into master Jun 7, 2019
@snario snario deleted the liam/twoNewFields branch June 7, 2019 21:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants