Arguments: {
    object: {
        clock(): ((tx: Transaction) => {
            $kind: "Input";
            Input: number;
            type?: "object";
        });
        denyList(): ((tx: Transaction) => {
            $kind: "Input";
            Input: number;
            type?: "object";
        });
        random(): ((tx: Transaction) => {
            $kind: "Input";
            Input: number;
            type?: "object";
        });
        system(): ((tx: Transaction) => {
            $kind: "Input";
            Input: number;
            type?: "object";
        });
        (value: TransactionObjectInput): ((tx: Transaction) => {
            $kind: "Input";
            Input: number;
            type?: "object";
        });
    };
    objectRef: ((...args: [{
        digest: string;
        objectId: string;
        version: string | number;
    }]) => ((tx: Transaction) => {
        $kind: "Input";
        Input: number;
        type?: "object";
    }));
    pure: {
        id: ((value: string) => ((tx: Transaction) =>
            | {
                $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];
            }));
        address(value: string): ((tx: Transaction) =>
            | {
                $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];
            });
        bool(value: boolean): ((tx: Transaction) =>
            | {
                $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];
            });
        option<Type>(type: Type, value: undefined | null | ShapeFromPureTypeName<Type>): ((tx: Transaction) =>
            | {
                $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];
            });
        string(value: string): ((tx: Transaction) =>
            | {
                $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];
            });
        u128(value: string | number | bigint): ((tx: Transaction) =>
            | {
                $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];
            });
        u16(value: number): ((tx: Transaction) =>
            | {
                $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];
            });
        u256(value: string | number | bigint): ((tx: Transaction) =>
            | {
                $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];
            });
        u32(value: number): ((tx: Transaction) =>
            | {
                $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];
            });
        u64(value: string | number | bigint): ((tx: Transaction) =>
            | {
                $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];
            });
        u8(value: number): ((tx: Transaction) =>
            | {
                $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];
            });
        vector<Type>(type: Type, value: Iterable<ShapeFromPureTypeName<Type>> & {
            length: number;
        }): ((tx: Transaction) =>
            | {
                $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];
            });
        <T>(type: T extends PureTypeName
            ? ValidPureTypeName<T<T>>
            : T, value: ShapeFromPureTypeName<T>): T;
        (value: Uint8Array | SerializedBcs<any, any>): T;
    };
    receivingRef: ((...args: [{
        digest: string;
        objectId: string;
        version: string | number;
    }]) => ((tx: Transaction) => {
        $kind: "Input";
        Input: number;
        type?: "object";
    }));
    sharedObjectRef: ((...args: [{
        initialSharedVersion: string | number;
        mutable: boolean;
        objectId: string;
    }]) => ((tx: Transaction) => {
        $kind: "Input";
        Input: number;
        type?: "object";
    }));
} = ...

Type declaration

  • object: {
        clock(): ((tx: Transaction) => {
            $kind: "Input";
            Input: number;
            type?: "object";
        });
        denyList(): ((tx: Transaction) => {
            $kind: "Input";
            Input: number;
            type?: "object";
        });
        random(): ((tx: Transaction) => {
            $kind: "Input";
            Input: number;
            type?: "object";
        });
        system(): ((tx: Transaction) => {
            $kind: "Input";
            Input: number;
            type?: "object";
        });
        (value: TransactionObjectInput): ((tx: Transaction) => {
            $kind: "Input";
            Input: number;
            type?: "object";
        });
    }
      • (value): ((tx: Transaction) => {
            $kind: "Input";
            Input: number;
            type?: "object";
        })
      • Parameters

        Returns ((tx: Transaction) => {
            $kind: "Input";
            Input: number;
            type?: "object";
        })

          • (tx): {
                $kind: "Input";
                Input: number;
                type?: "object";
            }
          • Parameters

            Returns {
                $kind: "Input";
                Input: number;
                type?: "object";
            }

            • $kind: "Input"
            • Input: number
            • Optionaltype?: "object"
    • clock:function
      • Returns ((tx: Transaction) => {
            $kind: "Input";
            Input: number;
            type?: "object";
        })

          • (tx): {
                $kind: "Input";
                Input: number;
                type?: "object";
            }
          • Parameters

            Returns {
                $kind: "Input";
                Input: number;
                type?: "object";
            }

            • $kind: "Input"
            • Input: number
            • Optionaltype?: "object"
    • denyList:function
      • Returns ((tx: Transaction) => {
            $kind: "Input";
            Input: number;
            type?: "object";
        })

          • (tx): {
                $kind: "Input";
                Input: number;
                type?: "object";
            }
          • Parameters

            Returns {
                $kind: "Input";
                Input: number;
                type?: "object";
            }

            • $kind: "Input"
            • Input: number
            • Optionaltype?: "object"
    • random:function
      • Returns ((tx: Transaction) => {
            $kind: "Input";
            Input: number;
            type?: "object";
        })

          • (tx): {
                $kind: "Input";
                Input: number;
                type?: "object";
            }
          • Parameters

            Returns {
                $kind: "Input";
                Input: number;
                type?: "object";
            }

            • $kind: "Input"
            • Input: number
            • Optionaltype?: "object"
    • system:function
      • Returns ((tx: Transaction) => {
            $kind: "Input";
            Input: number;
            type?: "object";
        })

          • (tx): {
                $kind: "Input";
                Input: number;
                type?: "object";
            }
          • Parameters

            Returns {
                $kind: "Input";
                Input: number;
                type?: "object";
            }

            • $kind: "Input"
            • Input: number
            • Optionaltype?: "object"
  • objectRef: ((...args: [{
        digest: string;
        objectId: string;
        version: string | number;
    }]) => ((tx: Transaction) => {
        $kind: "Input";
        Input: number;
        type?: "object";
    }))
      • (...args): ((tx: Transaction) => {
            $kind: "Input";
            Input: number;
            type?: "object";
        })
      • Parameters

        • Rest...args: [{
              digest: string;
              objectId: string;
              version: string | number;
          }]

        Returns ((tx: Transaction) => {
            $kind: "Input";
            Input: number;
            type?: "object";
        })

          • (tx): {
                $kind: "Input";
                Input: number;
                type?: "object";
            }
          • Parameters

            Returns {
                $kind: "Input";
                Input: number;
                type?: "object";
            }

            • $kind: "Input"
            • Input: number
            • Optionaltype?: "object"
  • pure: {
        id: ((value: string) => ((tx: Transaction) =>
            | {
                $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];
            }));
        address(value: string): ((tx: Transaction) =>
            | {
                $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];
            });
        bool(value: boolean): ((tx: Transaction) =>
            | {
                $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];
            });
        option<Type>(type: Type, value: undefined | null | ShapeFromPureTypeName<Type>): ((tx: Transaction) =>
            | {
                $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];
            });
        string(value: string): ((tx: Transaction) =>
            | {
                $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];
            });
        u128(value: string | number | bigint): ((tx: Transaction) =>
            | {
                $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];
            });
        u16(value: number): ((tx: Transaction) =>
            | {
                $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];
            });
        u256(value: string | number | bigint): ((tx: Transaction) =>
            | {
                $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];
            });
        u32(value: number): ((tx: Transaction) =>
            | {
                $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];
            });
        u64(value: string | number | bigint): ((tx: Transaction) =>
            | {
                $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];
            });
        u8(value: number): ((tx: Transaction) =>
            | {
                $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];
            });
        vector<Type>(type: Type, value: Iterable<ShapeFromPureTypeName<Type>> & {
            length: number;
        }): ((tx: Transaction) =>
            | {
                $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];
            });
        <T>(type: T extends PureTypeName
            ? ValidPureTypeName<T<T>>
            : T, value: ShapeFromPureTypeName<T>): T;
        (value: Uint8Array | SerializedBcs<any, any>): T;
    }
      • <T>(type, value): T
      • Type Parameters

        • T extends PureTypeName

        Parameters

        • type: T extends PureTypeName
              ? ValidPureTypeName<T<T>>
              : T
        • value: ShapeFromPureTypeName<T>

        Returns T

      • (value): T
      • Parameters

        • value: Uint8Array | SerializedBcs<any, any>

          The pure value, serialized to BCS. If this is a Uint8Array, then the value is assumed to be raw bytes, and will be used directly.

        Returns T

    • id: ((value: string) => ((tx: Transaction) =>
          | {
              $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];
          }))
        • (value): ((tx: Transaction) =>
              | {
                  $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];
              })
        • Parameters

          • value: string

          Returns ((tx: Transaction) =>
              | {
                  $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];
              })

            • (tx):
                  | {
                      $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];
                  }
            • Parameters

              Returns
                  | {
                      $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];
                  }

    • address:function
      • Parameters

        • value: string

        Returns ((tx: Transaction) =>
            | {
                $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];
            })

          • (tx):
                | {
                    $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];
                }
          • Parameters

            Returns
                | {
                    $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];
                }

    • bool:function
      • Parameters

        • value: boolean

        Returns ((tx: Transaction) =>
            | {
                $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];
            })

          • (tx):
                | {
                    $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];
                }
          • Parameters

            Returns
                | {
                    $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];
                }

    • option:function
      • Type Parameters

        • Type extends PureTypeName

        Parameters

        • type: Type
        • value: undefined | null | ShapeFromPureTypeName<Type>

        Returns ((tx: Transaction) =>
            | {
                $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];
            })

          • (tx):
                | {
                    $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];
                }
          • Parameters

            Returns
                | {
                    $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];
                }

    • string:function
      • Parameters

        • value: string

        Returns ((tx: Transaction) =>
            | {
                $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];
            })

          • (tx):
                | {
                    $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];
                }
          • Parameters

            Returns
                | {
                    $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];
                }

    • u128:function
      • Parameters

        • value: string | number | bigint

        Returns ((tx: Transaction) =>
            | {
                $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];
            })

          • (tx):
                | {
                    $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];
                }
          • Parameters

            Returns
                | {
                    $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];
                }

    • u16:function
      • Parameters

        • value: number

        Returns ((tx: Transaction) =>
            | {
                $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];
            })

          • (tx):
                | {
                    $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];
                }
          • Parameters

            Returns
                | {
                    $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];
                }

    • u256:function
      • Parameters

        • value: string | number | bigint

        Returns ((tx: Transaction) =>
            | {
                $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];
            })

          • (tx):
                | {
                    $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];
                }
          • Parameters

            Returns
                | {
                    $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];
                }

    • u32:function
      • Parameters

        • value: number

        Returns ((tx: Transaction) =>
            | {
                $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];
            })

          • (tx):
                | {
                    $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];
                }
          • Parameters

            Returns
                | {
                    $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];
                }

    • u64:function
      • Parameters

        • value: string | number | bigint

        Returns ((tx: Transaction) =>
            | {
                $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];
            })

          • (tx):
                | {
                    $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];
                }
          • Parameters

            Returns
                | {
                    $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];
                }

    • u8:function
      • Parameters

        • value: number

        Returns ((tx: Transaction) =>
            | {
                $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];
            })

          • (tx):
                | {
                    $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];
                }
          • Parameters

            Returns
                | {
                    $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];
                }

    • vector:function
      • Type Parameters

        • Type extends PureTypeName

        Parameters

        • type: Type
        • value: Iterable<ShapeFromPureTypeName<Type>> & {
              length: number;
          }

        Returns ((tx: Transaction) =>
            | {
                $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];
            })

          • (tx):
                | {
                    $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];
                }
          • Parameters

            Returns
                | {
                    $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];
                }

  • receivingRef: ((...args: [{
        digest: string;
        objectId: string;
        version: string | number;
    }]) => ((tx: Transaction) => {
        $kind: "Input";
        Input: number;
        type?: "object";
    }))
      • (...args): ((tx: Transaction) => {
            $kind: "Input";
            Input: number;
            type?: "object";
        })
      • Parameters

        • Rest...args: [{
              digest: string;
              objectId: string;
              version: string | number;
          }]

        Returns ((tx: Transaction) => {
            $kind: "Input";
            Input: number;
            type?: "object";
        })

          • (tx): {
                $kind: "Input";
                Input: number;
                type?: "object";
            }
          • Parameters

            Returns {
                $kind: "Input";
                Input: number;
                type?: "object";
            }

            • $kind: "Input"
            • Input: number
            • Optionaltype?: "object"
  • sharedObjectRef: ((...args: [{
        initialSharedVersion: string | number;
        mutable: boolean;
        objectId: string;
    }]) => ((tx: Transaction) => {
        $kind: "Input";
        Input: number;
        type?: "object";
    }))
      • (...args): ((tx: Transaction) => {
            $kind: "Input";
            Input: number;
            type?: "object";
        })
      • Parameters

        • Rest...args: [{
              initialSharedVersion: string | number;
              mutable: boolean;
              objectId: string;
          }]

        Returns ((tx: Transaction) => {
            $kind: "Input";
            Input: number;
            type?: "object";
        })

          • (tx): {
                $kind: "Input";
                Input: number;
                type?: "object";
            }
          • Parameters

            Returns {
                $kind: "Input";
                Input: number;
                type?: "object";
            }

            • $kind: "Input"
            • Input: number
            • Optionaltype?: "object"