feat: Add ERC20-like Token

This commit is contained in:
Michael Vines
2018-10-06 11:23:18 -07:00
parent ab2d6c9ede
commit ad2fa3ceaf
10 changed files with 1015 additions and 12 deletions

View File

@@ -12,7 +12,7 @@ export class PublicKey {
/**
* Create a new PublicKey object
*/
constructor(number: string | Buffer | Array<number>) {
constructor(number: number | string | Buffer | Array<number>) {
for (;;) {
if (typeof number === 'string') {