ghost-portal/packages/test-support/src/creation/balance.ts
2024-01-08 15:06:30 +02:00

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);
}