Type Parameters

  • IDs

Constructors

  • Type Parameters

    • IDs

    Parameters

    • packageAddress: string
    • ids: IDs

    Returns ZkBag<IDs>

Properties

ids: IDs

Methods

  • Parameters

    • __namedParameters: {
          arguments: [
              store: string
              | TransactionObjectArgument,
              receiver:
                  | string
                  | { $kind: "GasCoin"; GasCoin: true }
                  | { $kind: "Input"; Input: number; type?: "pure" }
                  | { $kind: "Input"; Input: number; type?: "object" }
                  | { $kind: "Result"; Result: number }
                  | { $kind: "NestedResult"; NestedResult: [number, number] },
              item: string | TransactionObjectArgument,
          ];
          typeArguments: [string];
      }

    Returns (tx: Transaction) => { $kind: "Result"; Result: number }

  • Parameters

    • __namedParameters: {
          arguments: [
              bag: string
              | TransactionObjectArgument,
              claim: { $kind: "NestedResult"; NestedResult: [number, number] },
              id: string | TransactionObjectArgument,
          ];
          typeArguments: [string];
      }

    Returns (tx: Transaction) => { $kind: "Result"; Result: number }

  • Parameters

    • __namedParameters: {
          arguments: [
              bag: string
              | TransactionObjectArgument,
              claim: { $kind: "NestedResult"; NestedResult: [number, number] },
          ];
      }

    Returns (tx: Transaction) => void

  • Parameters

    Returns (
        tx: Transaction,
    ) => readonly [
        { $kind: "NestedResult"; NestedResult: [number, number] },
        { $kind: "NestedResult"; NestedResult: [number, number] },
    ]

  • Parameters

    • __namedParameters: {
          arguments: [
              store: string
              | TransactionObjectArgument,
              receiver:
                  | string
                  | { $kind: "GasCoin"; GasCoin: true }
                  | { $kind: "Input"; Input: number; type?: "pure" }
                  | { $kind: "Input"; Input: number; type?: "object" }
                  | { $kind: "Result"; Result: number }
                  | { $kind: "NestedResult"; NestedResult: [number, number] },
          ];
      }

    Returns (tx: Transaction) => void

  • Parameters

    • __namedParameters: {
          arguments: [
              store: string
              | TransactionObjectArgument,
              receiver:
                  | string
                  | { $kind: "GasCoin"; GasCoin: true }
                  | { $kind: "Input"; Input: number; type?: "pure" }
                  | { $kind: "Input"; Input: number; type?: "object" }
                  | { $kind: "Result"; Result: number }
                  | { $kind: "NestedResult"; NestedResult: [number, number] },
          ];
      }

    Returns (
        tx: Transaction,
    ) => readonly [
        { $kind: "NestedResult"; NestedResult: [number, number] },
        { $kind: "NestedResult"; NestedResult: [number, number] },
    ]

  • Parameters

    • __namedParameters: {
          arguments: [
              bag: string
              | TransactionObjectArgument,
              from:
                  | string
                  | { $kind: "GasCoin"; GasCoin: true }
                  | { $kind: "Input"; Input: number; type?: "pure" }
                  | { $kind: "Input"; Input: number; type?: "object" }
                  | { $kind: "Result"; Result: number }
                  | { $kind: "NestedResult"; NestedResult: [number, number] },
              to:
                  | string
                  | { $kind: "GasCoin"; GasCoin: true }
                  | { $kind: "Input"; Input: number; type?: "pure" }
                  | { $kind: "Input"; Input: number; type?: "object" }
                  | { $kind: "Result"; Result: number }
                  | { $kind: "NestedResult"; NestedResult: [number, number] },
          ];
      }

    Returns (tx: Transaction) => void