1 |
|
2 | import path from 'path';
|
3 |
|
4 | import abi from './abi';
|
5 |
|
6 | const preCompile = path.resolve(__dirname, 'bin', 'pre-compile');
|
7 | const postCreate = path.resolve(__dirname, 'bin', 'post-create');
|
8 |
|
9 | export default {
|
10 | contract: {
|
11 | targetDir: 'contracts',
|
12 | defaultLanguage: 'python',
|
13 | languages: {
|
14 | python: {
|
15 | rootDir: path.resolve(__dirname, '..', 'contracts', 'python'),
|
16 | contracts: [
|
17 | {
|
18 | file: 'ico.py',
|
19 | resourceName: 'ico',
|
20 | target: 'deploy',
|
21 | name: 'NEO-ONE Sale',
|
22 | codeVersion: '1.0.0',
|
23 | properties: {
|
24 | storage: true,
|
25 | },
|
26 | abi,
|
27 | },
|
28 | ],
|
29 | },
|
30 | },
|
31 | },
|
32 | wallets: {
|
33 | owner: { wif: 'L1QqQJnpBwbsPGAuutuzPTac8piqvbR1HRjrY5qHup48TBCBFe4g' },
|
34 | kyc0: { neo: 100 },
|
35 | kyc1: { neo: 1000 },
|
36 | kyc2: { neo: 50 },
|
37 | noKYC0: { neo: 500 },
|
38 | },
|
39 | hooks: {
|
40 | preCompile,
|
41 | postCreate,
|
42 | },
|
43 | configPath: path.join('src', 'neo-one.json'),
|
44 | templateDir: path.resolve(__dirname, '..', 'template'),
|
45 | };
|