UNPKG

@signumjs/contracts

Version:

Smart Contracts package for Signum Network

13 lines (12 loc) 530 B
/** * Copyright (c) 2022 Signum Network */ import { ContractData } from './typings'; /** * Converts a short string into {@link ContractData} to be used as argument for smart contract calls, i.e. {@link generateMethodCall} * * @param {string} shortString A short alphanumerical string of at maximum 8 characters (bytes) length. * @return A compatible numerical representation which can be used as string in a smart contract. * */ export declare function convertShortStringToContractData(shortString: string): ContractData;