Skip to content

Commit

Permalink
refactor: improved create token rpc request
Browse files Browse the repository at this point in the history
  • Loading branch information
andreabadesso committed Aug 13, 2024
1 parent 672d5a2 commit 15a62b8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/hathor-rpc-handler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"scripts": {
"lint": "eslint .",
"test": "jest",
"build": "tsc",
"build": "tsc --declaration",
"watch": "tsc -w"
},
"author": "André Abadesso",
Expand Down
10 changes: 5 additions & 5 deletions packages/hathor-rpc-handler/src/types/rpcRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,17 @@ export interface CreateTokenRpcRequest extends BaseRpcRequest {
name: string;
symbol: string;
amount: number;
address?: string;
change_address?: string;
address: string | null;
change_address: string | null;
create_mint: boolean;
mint_authority_address?: string;
mint_authority_address: string | null;
allow_external_mint_authority_address?: boolean;
create_melt: boolean;
melt_authority_address?: string;
melt_authority_address: string | null;
allow_external_melt_authority_address?: boolean;
push_tx: boolean;
network: string;
data?: string[];
data: string[] | null;
}
}

Expand Down

0 comments on commit 15a62b8

Please sign in to comment.