Skip to content

Commit

Permalink
chore: add licenses
Browse files Browse the repository at this point in the history
  • Loading branch information
Hugoo committed Jun 15, 2022
1 parent c832978 commit 19bccc1
Show file tree
Hide file tree
Showing 17 changed files with 201 additions and 8 deletions.
4 changes: 3 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@

/**
* @file index.ts
* @author Robert McLeod <@robertdavid010>, Fabian Vogelsteller <fabian@lukso.network>, Hugo Masclet <@Hugoo>
* @author Robert McLeod <@robertdavid010>
* @author Fabian Vogelsteller <fabian@lukso.network>
* @author Hugo Masclet <@Hugoo>
* @date 2020
*/

Expand Down
14 changes: 14 additions & 0 deletions src/lib/constants.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
/*
This file is part of @erc725/erc725.js.
@erc725/erc725.js is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
@erc725/erc725.js is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with @erc725/erc725.js. If not, see <http://www.gnu.org/licenses/>.
*/

/* eslint-disable @typescript-eslint/ban-types */
import { numberToHex, keccak256 } from 'web3-utils';

Expand Down
14 changes: 14 additions & 0 deletions src/lib/decodeData.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
/*
This file is part of @erc725/erc725.js.
@erc725/erc725.js is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
@erc725/erc725.js is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with web3.js. If not, see <http://www.gnu.org/licenses/>.
*/

/* eslint-disable no-unused-expressions */

import { expect } from 'chai';
Expand Down
7 changes: 5 additions & 2 deletions src/lib/decodeData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,15 @@
*/

/**
* @file decodeData.ts
* @file lib/decodeData.ts
* @author Robert McLeod <@robertdavid010>
* @author Hugo Masclet <@Hugoo>
* @date 2022
* @author Callum Grindle <@CallumGrindle>
* @date 2020
*/

import { isHex } from 'web3-utils';

import { DecodeDataInput, DecodeDataOutput } from '../types/decodeData';
import { ERC725JSONSchema } from '../types/ERC725JSONSchema';
import { isDynamicKeyName } from './encodeKeyName';
Expand Down
19 changes: 19 additions & 0 deletions src/lib/encodeKeyName.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
/*
This file is part of @erc725/erc725.js.
@erc725/erc725.js is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
@erc725/erc725.js is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with web3.js. If not, see <http://www.gnu.org/licenses/>.
*/
/**
* @file lib/encodeKeyName.ts
* @author Hugo Masclet <@Hugoo>
* @date 2021
*/

import assert from 'assert';
import { keccak256 } from 'web3-utils';

Expand Down
3 changes: 1 addition & 2 deletions src/lib/encodeKeyName.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,8 @@
You should have received a copy of the GNU Lesser General Public License
along with @erc725/erc725.js. If not, see <http://www.gnu.org/licenses/>.
*/

/**
* @file encodeKeyName.ts
* @file lib/encodeKeyName.ts
* @author Hugo Masclet <@Hugoo>
* @date 2022
*/
Expand Down
14 changes: 14 additions & 0 deletions src/lib/encoder.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
/*
This file is part of @erc725/erc725.js.
@erc725/erc725.js is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
@erc725/erc725.js is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with web3.js. If not, see <http://www.gnu.org/licenses/>.
*/

/* eslint-disable no-unused-expressions */

import { expect } from 'chai';
Expand Down
5 changes: 4 additions & 1 deletion src/lib/encoder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@
*/
/**
* @file lib/encoder.ts
* @author Robert McLeod <@robertdavid010>, Fabian Vogelsteller <fabian@lukso.network>
* @author Robert McLeod <@robertdavid010>
* @author Fabian Vogelsteller <fabian@lukso.network>
* @author Hugo Masclet <@Hugoo>
* @author Callum Grindle <@CallumGrindle>
* @date 2020
*/

Expand Down
14 changes: 14 additions & 0 deletions src/lib/getDataFromExternalSources.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
/*
This file is part of @erc725/erc725.js.
@erc725/erc725.js is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
@erc725/erc725.js is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with web3.js. If not, see <http://www.gnu.org/licenses/>.
*/

/* eslint-disable no-unused-expressions */

import { expect } from 'chai';
Expand Down
21 changes: 21 additions & 0 deletions src/lib/getDataFromExternalSources.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
/*
This file is part of @erc725/erc725.js.
@erc725/erc725.js is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
@erc725/erc725.js is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with @erc725/erc725.js. If not, see <http://www.gnu.org/licenses/>.
*/
/**
* @file lib/getDataFromExternalSources.ts
* @author Hugo Masclet <@Hugoo>
* @author Callum Grindle <@CallumGrindle>
* @author Reto Ryter <@rryter>
* @date 2021
*/

import {
DecodeDataOutput,
GetDataExternalSourcesOutput,
Expand Down
14 changes: 14 additions & 0 deletions src/lib/getSchemaElement.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
/*
This file is part of @erc725/erc725.js.
@erc725/erc725.js is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
@erc725/erc725.js is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with web3.js. If not, see <http://www.gnu.org/licenses/>.
*/

import assert from 'assert';

import { ERC725JSONSchema } from '../types/ERC725JSONSchema';
Expand Down
19 changes: 19 additions & 0 deletions src/lib/getSchemaElement.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
/*
This file is part of @erc725/erc725.js.
@erc725/erc725.js is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
@erc725/erc725.js is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with @erc725/erc725.js. If not, see <http://www.gnu.org/licenses/>.
*/
/**
* @file lib/getSchemaElement.ts
* @author Hugo Masclet <@Hugoo>
* @date 2021
*/

import { isHex, isHexStrict } from 'web3-utils';
import { DynamicKeyParts } from '../types/dynamicKeys';
import { ERC725JSONSchema } from '../types/ERC725JSONSchema';
Expand Down
14 changes: 14 additions & 0 deletions src/lib/provider-wrapper-utils.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
/*
This file is part of @erc725/erc725.js.
@erc725/erc725.js is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
@erc725/erc725.js is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with @erc725/erc725.js. If not, see <http://www.gnu.org/licenses/>.
*/

import * as abi from 'web3-eth-abi';

import { JsonRpc } from '../types/JsonRpc';
Expand Down
14 changes: 14 additions & 0 deletions src/lib/schemaParser.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
/*
This file is part of @erc725/erc725.js.
@erc725/erc725.js is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
@erc725/erc725.js is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with web3.js. If not, see <http://www.gnu.org/licenses/>.
*/

import assert from 'assert';
import { ERC725JSONSchema } from '../types/ERC725JSONSchema';

Expand Down
15 changes: 14 additions & 1 deletion src/lib/schemaParser.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
/*
This file is part of @erc725/erc725.js.
@erc725/erc725.js is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
@erc725/erc725.js is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with @erc725/erc725.js. If not, see <http://www.gnu.org/licenses/>.
*/
/**
* @file schemaParser.ts
* @file lib/schemaParser.ts
* @author Hugo Masclet <@Hugoo>
* @date 2022
*/
Expand Down
14 changes: 14 additions & 0 deletions src/lib/utils.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
/*
This file is part of @erc725/erc725.js.
@erc725/erc725.js is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
@erc725/erc725.js is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with web3.js. If not, see <http://www.gnu.org/licenses/>.
*/

/* eslint-disable no-unused-expressions */

import { expect } from 'chai';
Expand Down
4 changes: 3 additions & 1 deletion src/lib/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@
*/
/**
* @file lib/utils.ts
* @author Robert McLeod <@robertdavid010>, Fabian Vogelsteller <fabian@lukso.network>
* @author Robert McLeod <@robertdavid010>
* @author Fabian Vogelsteller <fabian@lukso.network>
* @author Hugo Masclet <@Hugoo>
* @date 2020
*/

Expand Down

0 comments on commit 19bccc1

Please sign in to comment.