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

Fully implement stakeholder features #3

Merged
merged 5 commits into from
Apr 17, 2019

Conversation

foriequal0
Copy link
Contributor

@foriequal0 foriequal0 commented Apr 11, 2019

  • Create Transaction
    • Transfer
    • Delegate
    • RequestRevoke (Corgi currently doesn't support)
  • Get
    • Balance
    • Stakeholders
    • Delegations
    • Revocations

Resolves: #1

@foriequal0 foriequal0 added the enhancement New feature or request label Apr 11, 2019
@foriequal0 foriequal0 requested a review from joojis April 11, 2019 04:34
package.json Outdated
@@ -1,5 +1,5 @@
{
"name": "codechain-stakeholder-sdk",
Copy link
Contributor

Choose a reason for hiding this comment

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

You shouldn't change this field because -js postfix is redundant when it comes to the NPM package.

@foriequal0 foriequal0 mentioned this pull request Apr 12, 2019
@foriequal0 foriequal0 force-pushed the feature/full-impl branch 3 times, most recently from f0ffc4e to b58ff42 Compare April 12, 2019 08:16
src/index.ts Outdated

export function createDelegateCCSTransaction(
sdk: SDK,
delegator: PlatformAddressValue,
Copy link
Contributor

Choose a reason for hiding this comment

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

Doesn't it have to be a delegatee?

src/index.ts Outdated

export function createRequestRevokeTransaction(
sdk: SDK,
delegator: PlatformAddressValue,
Copy link
Contributor

Choose a reason for hiding this comment

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

The same here.

README.md Outdated
});
```

### Request to revoke a delegated stake tokens
Copy link
Contributor

@joojis joojis Apr 16, 2019

Choose a reason for hiding this comment

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

Is the article a necessary? I'm not sure about it

Copy link
Contributor Author

@foriequal0 foriequal0 Apr 17, 2019

Choose a reason for hiding this comment

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

I'll fix them and merge this PR.

Copy link
Contributor

@joojis joojis left a comment

Choose a reason for hiding this comment

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

LGTM

@foriequal0 foriequal0 merged commit 880b2c7 into CodeChain-io:master Apr 17, 2019
@foriequal0 foriequal0 deleted the feature/full-impl branch April 17, 2019 00:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add getDelegatedCCS function
2 participants