import { NearServiceClient } from './near.client.js'; import { NearAccount } from './types.js'; /** * Near Tipping contract * https://github.com/zavodil/tipbot */ export declare class TippingContractFactory { readonly nearClient: NearServiceClient; readonly ownerAccount?: NearAccount | undefined; protected ownerId?: string; /** * Contract methods for TippingContractFactory */ constructor(nearClient: NearServiceClient, ownerAccount?: NearAccount | undefined); /** * Return how much money you've deposited in the contract. getDeposit is a view/ read only function that does not require a specific account to sign * @param tippingContract * @returns */ getDeposit(tippingContract: string, accountId: string): Promise; /** * Transfer Tips from Signers Account to receiver (TODO: How does it know that I'm the message sender?) * @param tippingContract * @param amount * @returns */ tipKnownNearAccount(tippingContract: string, senderAccountId: string, recipientAccountId: string, amount: string): Promise; }