Algorand TypeScript
    Preparing search index...

    Type Alias ContractProxy<TContract>

    ContractProxy: CompiledContract & {
        call: {
            [key in keyof TContract as key extends | "approvalProgram"
            | "clearStateProgram"
                ? never
                : TContract[key] extends AnyFunction ? key : never]: ContractProxyMethod<
                TContract[key],
            >
        };
        bareCreate(
            fields?: BareCreateApplicationCallFields,
        ): ApplicationCallInnerTxn;
    }

    Conditional type which maps an ARC4 compatible contract to a proxy object which allows for constructing application call transactions for all available ABI and bare methods. Also includes the compiled contract result data.

    Type Parameters

    Type declaration