File tree Expand file tree Collapse file tree
src/redux/ui/screens/data/actions/transactions Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
22 "name" : " moonlet" ,
3- "version" : " 1.5.21 " ,
3+ "version" : " 1.5.22 " ,
44 "private" : true ,
55 "scripts" : {
66 "generate-icons" : " mkdir -p resources/fonts && icon-font-generator ./src/assets/icons/svg/*.svg -o resources/fonts --height 1024 --types ttf" ,
Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ export interface IContractCallParams {
2828 amount : string ;
2929 contractMethod : string ;
3030 contractType : Contracts ;
31+ contractAddress ?: string ;
3132 tokenSymbol : string ;
3233 additionalInfo : any ;
3334 fees ?: {
Original file line number Diff line number Diff line change @@ -31,7 +31,9 @@ export const buildContractCallTransaction = async (
3131
3232 let contractAddress : string = '' ;
3333
34- if ( params . contractType === Contracts . TOKEN_CONTRACT ) {
34+ if ( params . contractAddress ) {
35+ contractAddress = params . contractAddress ;
36+ } else if ( params . contractType === Contracts . TOKEN_CONTRACT ) {
3537 const configToken = getTokenConfig ( account . blockchain , params . tokenSymbol ) ;
3638 contractAddress = configToken . contractAddress ;
3739 } else {
You can’t perform that action at this time.
0 commit comments