9 lines
282 B
TypeScript
9 lines
282 B
TypeScript
// Copyright 2017-2024 @polkadot/test-supports authors & contributors
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
import { TypeRegistry, u128 as U128 } from '@polkadot/types';
|
|
|
|
export function balanceOf (number: number | string): U128 {
|
|
return new U128(new TypeRegistry(), number);
|
|
}
|