Skip to content

Commit

Permalink
Feat fee v2 (#213)
Browse files Browse the repository at this point in the history
* feat: update the sdk to use dynamic fee based on given outputs and memos

* feat: add test conmmand for the feeUtils unit test

* feat: code clean up and dist upgrade
  • Loading branch information
okovalov authored May 29, 2024
1 parent 9abe77e commit 5de477b
Show file tree
Hide file tree
Showing 35 changed files with 815 additions and 396 deletions.
1 change: 1 addition & 0 deletions .rgignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dist
2 changes: 1 addition & 1 deletion dist/api/network/network.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/api/network/network.js.map

Large diffs are not rendered by default.

12 changes: 4 additions & 8 deletions dist/api/sdkAsset/sdkAsset.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/api/sdkAsset/sdkAsset.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions dist/api/transaction/transaction.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,6 @@ export declare const getTxnList: (address: string, type: 'from' | 'to', page?: n
export declare const getTxnListByStaking: (address: string, type?: 'claim' | 'delegation' | 'unDelegation', page?: number, per_page?: number) => Promise<ProcessedTxListByStakingResponseResult>;
export declare const getTxnListByStakingUnDelegation: (address: string, page?: number, per_page?: number) => Promise<ProcessedTxListByStakingUnDelagtionResponseResult>;
export declare const getTxnListByPrism: (address: string, type?: 'send' | 'receive', page?: number, per_page?: number) => Promise<ProcessedTxListByPrismResponseResult>;
type OperationType = 'deploy' | 'mint' | 'transfer';
export declare const brc20: (wallet: WalletKeypar, op: OperationType | undefined, tick: string) => Promise<TransactionBuilder>;
export declare const getBrc20DeployBuilder: (wallet: WalletKeypar, tick: string, max: number, lim: number, transferOperationBuilder: TransferOperationBuilder) => Promise<string>;
export declare const getBrc20MintBuilder: (wallet: WalletKeypar, tick: string, amount: number, repeat: number, transferOperationBuilder: TransferOperationBuilder) => Promise<string>;
export declare const getBrc20TransferBuilder: (wallet: WalletKeypar, receiverAddress: string, tick: string, amount: number, transferOperationBuilder: TransferOperationBuilder) => Promise<string>;
Expand Down
Loading

0 comments on commit 5de477b

Please sign in to comment.