| 12345678910111213141516171819202122232425262728 |
- import { time } from '@nomicfoundation/hardhat-network-helpers';
- import { Document, ERC20Details, Partition, Variable } from './tokenData';
-
- export const DEFAULT_ERC20_DETAILS: ERC20Details = {
- name: 'Security Token',
- symbol: 'ST',
- decimals: 6,
- maxSupply: 1_000_000,
- };
-
- export const DEFAULT_VARIABLES = [
- new Variable(
- 'lockup_expiration_transfer',
- 'uint256',
- // Math.floor(Date.now() / 1000) + time.duration.years(1), // a year from now on
- Math.floor(Date.now() / 1000) + time.duration.minutes(1), // a year from now on
- ),
- ];
-
- export const DEFAULT_PARTITIONS = [
- new Partition('DefaultPartition-1', DEFAULT_VARIABLES),
- new Partition('DefaultPartition-2', DEFAULT_VARIABLES),
- ];
-
- export const DEFAULT_DOCUMENTS = [
- new Document('DefaultDocument-1', 'https://bcg/documents/'),
- new Document('DefaultDocument-2', 'https://sec.net/documents/'),
- ];
|