Skip to content

Commit

Permalink
chore: solana lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Gancho Radkov committed May 7, 2024
1 parent a207839 commit f9a1776
Showing 1 changed file with 5 additions and 15 deletions.
20 changes: 5 additions & 15 deletions packages/solana/src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,31 +147,21 @@ export class Web3Modal extends Web3ModalScaffold {
return signature as string
},

estimateGas: async () => {
return await Promise.resolve(BigInt(0))
},
estimateGas: async () => await Promise.resolve(BigInt(0)),

// -- Transaction methods ---------------------------------------------------
/**
*
* These methods are supported only on `wagmi` and `ethers` since the Solana SDK does not support them in the same way.
* These function definition is to have a type parity between the clients. Currently not in use.
*/
sendTransaction: async () => {
return await Promise.resolve('0x')
},
sendTransaction: async () => await Promise.resolve('0x'),

writeContract: async () => {
return await Promise.resolve('0x')
},
writeContract: async () => await Promise.resolve('0x'),

getEnsAddress: async (value: string) => {
return await Promise.resolve(value)
},
getEnsAddress: async (value: string) => await Promise.resolve(value),

getEnsAvatar: async (value: string) => {
return await Promise.resolve(value)
},
getEnsAvatar: async (value: string) => await Promise.resolve(value),

parseUnits: () => BigInt(0),

Expand Down

0 comments on commit f9a1776

Please sign in to comment.