ghost-portal/packages/test-support/src/creation/balance.ts
Jaco 4929b1c6fd
Update headers for 2023 (#8665)
* Update headers for 2023

* Adjust env-config
2023-01-01 10:32:05 +02:00

9 lines
282 B
TypeScript

// Copyright 2017-2023 @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);
}