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];
      }
      • 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) => {
        $kind: "Result";
        Result: number;
    })

      • (tx): {
            $kind: "Result";
            Result: number;
        }
      • Parameters

        Returns {
            $kind: "Result";
            Result: number;
        }

        • $kind: "Result"
        • Result: number
  • Parameters

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

      • (tx): {
            $kind: "Result";
            Result: number;
        }
      • Parameters

        Returns {
            $kind: "Result";
            Result: number;
        }

        • $kind: "Result"
        • Result: number
  • Parameters

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

    Returns ((tx) => void)

  • Parameters

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

      • (tx): readonly [{
            $kind: "NestedResult";
            NestedResult: [number, number];
        }, {
            $kind: "NestedResult";
            NestedResult: [number, number];
        }]
      • Parameters

        Returns 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];
          }];
      }
      • 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) => 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];
          }];
      }
      • 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) => readonly [{
        $kind: "NestedResult";
        NestedResult: [number, number];
    }, {
        $kind: "NestedResult";
        NestedResult: [number, number];
    }])

      • (tx): readonly [{
            $kind: "NestedResult";
            NestedResult: [number, number];
        }, {
            $kind: "NestedResult";
            NestedResult: [number, number];
        }]
      • Parameters

        Returns 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];
          }];
      }
      • 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) => void)