Skip to content

Commit

Permalink
add getTipEvent to ISpaceDapp (#1900)
Browse files Browse the repository at this point in the history
  • Loading branch information
salzbrenner authored Dec 21, 2024
1 parent 1cb11f1 commit b55b57a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/web3/src/ISpaceDapp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ import {
import { PricingModules } from './v3/PricingModules'
import { BaseChainConfig } from './IStaticContractsInfo'
import { PlatformRequirements } from './v3/PlatformRequirements'
import { TipEventObject } from '@river-build/generated/dev/typings/ITipping'

export type SignerType = ethers.Signer

Expand Down Expand Up @@ -362,4 +363,9 @@ export interface ISpaceDapp {
) => Promise<TransactionType>
getLinkedWallets: (wallet: string) => Promise<string[]>
getTokenIdOfOwner: (spaceId: string, owner: string) => Promise<string | undefined>
getTipEvent: (
spaceId: string,
receipt: ContractReceipt,
senderAddress: string,
) => TipEventObject | undefined
}

0 comments on commit b55b57a

Please sign in to comment.