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

Top-level wrapper #4

Open
4 tasks
nsjames opened this issue May 22, 2019 · 0 comments
Open
4 tasks

Top-level wrapper #4

nsjames opened this issue May 22, 2019 · 0 comments
Milestone

Comments

@nsjames
Copy link
Contributor

nsjames commented May 22, 2019

class Token {
    contract:Contract;
    id:string;
    json:any | null;
    owner:string;

    // pulls json
    image(){}

    // pulls json
    metadata(){}
}

  • constructor(eos, options = { api:'' }) { ... }

  • getTokens(account)

  • transfer(tokens:Array<Token>, to:string, quantity?:number)

  • burn(tokens:Array<Token>, quantity?:number)

@nsjames nsjames added this to the 1.0.0 milestone May 22, 2019
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

No branches or pull requests

1 participant