add spender address in approve max
MODIFY
.gitignore
.gitignore
@@ -14,3 +14,5 @@ dist
*.tgz
config.json
+.nuxt
+docs

MODIFY
src/pos/erc20.ts
src/pos/erc20.ts
@@ -76,7 +76,7 @@ export class ERC20 extends POSToken {
});
}
- approveMax(option?: ITransactionOption) {
+ approveMax(option: IApproveTransactionOption = {}) {
return this.approve(
MAX_AMOUNT
, option

add spender address in approve max