Class ClaimSettlementModuleAlpha

Hierarchy

  • default
    • ClaimSettlementModule

Constructors

Properties

safeSalt: string = 'cardstack-cs-create-safe'
moduleSalt: string = 'cardstack-cs-deploy-module'
abi: ({
    inputs: {
        internalType: string;
        name: string;
        type: string;
    }[];
    stateMutability: string;
    type: string;
    name?: undefined;
    anonymous?: undefined;
    outputs?: undefined;
} | {
    inputs: {
        internalType: string;
        name: string;
        type: string;
    }[];
    name: string;
    type: string;
    stateMutability?: undefined;
    anonymous?: undefined;
    outputs?: undefined;
} | {
    anonymous: boolean;
    inputs: {
        indexed: boolean;
        internalType: string;
        name: string;
        type: string;
    }[];
    name: string;
    type: string;
    stateMutability?: undefined;
    outputs?: undefined;
} | {
    inputs: {
        internalType: string;
        name: string;
        type: string;
    }[];
    name: string;
    outputs: {
        internalType: string;
        name: string;
        type: string;
    }[];
    stateMutability: string;
    type: string;
    anonymous?: undefined;
})[] = ClaimSettlementABI
ethersProvider: JsonRpcProvider
signer?: Signer

Methods

  • Parameters

    • moduleAddress: string
    • payeeAddress: string
    • tokenAddress: string
    • amountInEth: string
    • nftAddress: string
    • validitySeconds: number = 86400

    Returns Promise<Claim>

  • Parameters

    • Optional contractOptions: ContractOptions

    Returns Promise<BigNumber>

  • Parameters

    • safeAddress: string
    • safeOwners: string[] = []

    Returns Promise<{
        txs: Transaction[];
        expectedModuleAddress: string;
    }>

  • Parameters

    • safeAddress: string

    Returns Promise<{
        txs: Transaction[];
        expectedModuleAddress: string;
    }>

  • Parameters

    • Optional txnHash: string
    • Optional txnOptions: TransactionOptions
    • Optional contractOptions: ContractOptions

    Returns Promise<CreateSafeWithModuleResult>

  • Parameters

    • from: string

    Returns Promise<CreateSafeWithModuleTx>

  • Parameters

    • safeAddress: string
    • moduleAddress: string

    Returns Promise<boolean>

Generated using TypeDoc