Skip to content

Commit 1ab92e7

Browse files
committedNov 9, 2023
updated the LICENSE
- updated the LICENSE.md file in the root - added references in cargo.toml and packages.json files - included the preamble to lib.rs in gldt_core and gldt_fee_compensation and in the index.js for the frontends.
1 parent dc1ae67 commit 1ab92e7

File tree

12 files changed

+123
-48
lines changed

12 files changed

+123
-48
lines changed
 

‎LICENSE

-42
Original file line numberDiff line numberDiff line change
@@ -617,45 +617,3 @@ Program, unless a warranty or assumption of liability accompanies a
617617
copy of the Program in return for a fee.
618618

619619
END OF TERMS AND CONDITIONS
620-
621-
How to Apply These Terms to Your New Programs
622-
623-
If you develop a new program, and you want it to be of the greatest
624-
possible use to the public, the best way to achieve this is to make it
625-
free software which everyone can redistribute and change under these terms.
626-
627-
To do so, attach the following notices to the program. It is safest
628-
to attach them to the start of each source file to most effectively
629-
state the exclusion of warranty; and each file should have at least
630-
the "copyright" line and a pointer to where the full notice is found.
631-
632-
<one line to give the program's name and a brief idea of what it does.>
633-
Copyright (C) 2023 Dustin Becker
634-
635-
This program is free software: you can redistribute it and/or modify
636-
it under the terms of the GNU Affero General Public License as published
637-
by the Free Software Foundation, either version 3 of the License, or
638-
(at your option) any later version.
639-
640-
This program is distributed in the hope that it will be useful,
641-
but WITHOUT ANY WARRANTY; without even the implied warranty of
642-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
643-
GNU Affero General Public License for more details.
644-
645-
You should have received a copy of the GNU Affero General Public License
646-
along with this program. If not, see <https://www.gnu.org/licenses/>.
647-
648-
Also add information on how to contact you by electronic and paper mail.
649-
650-
If your software can interact with users remotely through a computer
651-
network, you should also make sure that it provides a way for users to
652-
get its source. For example, if your program is a web application, its
653-
interface could display a "Source" link that leads users to an archive
654-
of the code. There are many ways you could offer source, and different
655-
solutions will be better for different programs; see section 13 for the
656-
specific requirements.
657-
658-
You should also get your employer (if you work as a programmer) or school,
659-
if any, to sign a "copyright disclaimer" for the program, if necessary.
660-
For more information on this, and how to apply and follow the GNU AGPL, see
661-
<https://www.gnu.org/licenses/>.

‎canister/gldt_core/Cargo.toml

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ version = "0.1.0"
44
description = "Core logic canister for swapping GLD NFT to GLDT."
55
authors = ["Johan Georg", "Dustin Becker <dustin@bochslerfinance.com>", "Gautier Woja <gautier@bochslerfinance.com>"]
66
edition = "2021"
7+
license= "AGPL-3.0-only"
8+
license-file = "../../LICENSE"
79

810
## See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
911
[lib]

‎canister/gldt_core/src/lib.rs

+23
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,28 @@
11
#![allow(clippy::must_use_candidate, clippy::too_many_lines, clippy::too_many_arguments)]
22

3+
/*!
4+
# GLDT and GLDT Swapp dApp canisters
5+
6+
## Copyright
7+
© 2023 [Bochsler Assets & Securities (BAS) SA], [Switzerland]
8+
9+
This program is free software: you can redistribute it and/or modify
10+
it under the terms of the GNU Affero General Public License as published
11+
by the Free Software Foundation, either version 3 of the License, or
12+
(at your option) any later version.
13+
14+
This program is distributed in the hope that it will be useful,
15+
but WITHOUT ANY WARRANTY; without even the implied warranty of
16+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17+
GNU Affero General Public License for more details.
18+
19+
You should have received a copy of the GNU Affero General Public License
20+
along with this program. If not, see <https://www.gnu.org/licenses/>.
21+
22+
[Bochsler Assets & Securities (BAS) SA]: https://bas.tech
23+
[Switzerland]: https://www.zefix.ch/fr/search/entity/list/firm/1579921
24+
*/
25+
326
//! GLDT is a digital token 100% backed by physical gold in the form
427
//! of NFTs in a ratio of 1 gram of gold NFTs equals 100 GLDT. The
528
//! NFTs have their ownership registered to this canister, which is

‎canister/gldt_fee_compensation/Cargo.toml

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ version = "0.1.0"
44
description = "Canister to compensate the fees of converstion."
55
authors = ["Dustin Becker <dustin@bochslerfinance.com>"]
66
edition = "2021"
7+
license= "AGPL-3.0-only"
8+
license-file = "../../LICENSE"
79

810
## See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
911
[lib]

‎canister/gldt_fee_compensation/src/lib.rs

+23
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,28 @@
11
#![allow(clippy::must_use_candidate, clippy::too_many_lines, clippy::too_many_arguments)]
22

3+
/*!
4+
# GLDT and GLDT Swapp dApp canisters
5+
6+
## Copyright
7+
© 2023 [Bochsler Assets & Securities (BAS) SA], [Switzerland]
8+
9+
This program is free software: you can redistribute it and/or modify
10+
it under the terms of the GNU Affero General Public License as published
11+
by the Free Software Foundation, either version 3 of the License, or
12+
(at your option) any later version.
13+
14+
This program is distributed in the hope that it will be useful,
15+
but WITHOUT ANY WARRANTY; without even the implied warranty of
16+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17+
GNU Affero General Public License for more details.
18+
19+
You should have received a copy of the GNU Affero General Public License
20+
along with this program. If not, see <https://www.gnu.org/licenses/>.
21+
22+
[Bochsler Assets & Securities (BAS) SA]: https://bas.tech
23+
[Switzerland]: https://www.zefix.ch/fr/search/entity/list/firm/1579921
24+
*/
25+
326
//! As the GLD NFTs are using the ORIGYN NFT standard, the
427
//! royalty fees for transactions are protected for any transfer.
528
//! This includes also the swapping of NFTs for GLDT.

‎client/explorer/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"url": "git@gitlab.bochslerfinance.com:gldt/gldt-swap-frontend.git"
99
},
1010
"author": "Victor Audetat",
11-
"license": "SEE LICENSE IN LICENSE.md",
11+
"license": "AGPL-3.0-only",
1212
"private": true,
1313
"scripts": {
1414
"develop": "next dev",
@@ -48,4 +48,4 @@
4848
"devDependencies": {
4949
"eslint-config-next": "13.4.3"
5050
}
51-
}
51+
}

‎client/explorer/pages/index.js

+22
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,25 @@
1+
/** ****************************************************************************
2+
@file
3+
GLDT and GLDT Swapp dApp frontend
4+
5+
@copyright Copyright © 2023 Bochsler Assets & Securities (BAS) SA, Switzerland
6+
@see {@link https://bas.tech}
7+
8+
@license
9+
This program is free software: you can redistribute it and/or modify
10+
it under the terms of the GNU Affero General Public License as published
11+
by the Free Software Foundation, either version 3 of the License, or
12+
(at your option) any later version.
13+
14+
This program is distributed in the hope that it will be useful,
15+
but WITHOUT ANY WARRANTY; without even the implied warranty of
16+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17+
GNU Affero General Public License for more details.
18+
19+
You should have received a copy of the GNU Affero General Public License
20+
along with this program. If not, see <https://www.gnu.org/licenses/>.
21+
*******************************************************************************/
22+
123
import Layout from './../src/components/layout/Layout';
224
import dynamic from 'next/dynamic';
325
import Head from 'next/head';

‎client/landing_page/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"url": "git@gitlab.bochslerfinance.com:gldt/gldt-swap-frontend.git"
99
},
1010
"author": "Victor Audetat",
11-
"license": "SEE LICENSE IN LICENSE.md",
11+
"license": "AGPL-3.0-only",
1212
"private": true,
1313
"scripts": {
1414
"develop": "next dev",
@@ -47,4 +47,4 @@
4747
"devDependencies": {
4848
"eslint-config-next": "13.4.3"
4949
}
50-
}
50+
}

‎client/landing_page/pages/index.js

+22
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,25 @@
1+
/** ****************************************************************************
2+
@file
3+
GLDT and GLDT Swapp dApp frontend
4+
5+
@copyright Copyright © 2023 Bochsler Assets & Securities (BAS) SA, Switzerland
6+
@see {@link https://bas.tech}
7+
8+
@license
9+
This program is free software: you can redistribute it and/or modify
10+
it under the terms of the GNU Affero General Public License as published
11+
by the Free Software Foundation, either version 3 of the License, or
12+
(at your option) any later version.
13+
14+
This program is distributed in the hope that it will be useful,
15+
but WITHOUT ANY WARRANTY; without even the implied warranty of
16+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17+
GNU Affero General Public License for more details.
18+
19+
You should have received a copy of the GNU Affero General Public License
20+
along with this program. If not, see <https://www.gnu.org/licenses/>.
21+
*******************************************************************************/
22+
123
import {
224
Box,
325
Button,

‎client/swap_app/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"url": "git@gitlab.bochslerfinance.com:gldt/gldt-swap-frontend.git"
99
},
1010
"author": "Victor Audetat",
11-
"license": "SEE LICENSE IN LICENSE.md",
11+
"license": "AGPL-3.0-only",
1212
"private": true,
1313
"scripts": {
1414
"develop": "next dev",

‎client/swap_app/pages/index.js

+22
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,25 @@
1+
/** ****************************************************************************
2+
@file
3+
GLDT and GLDT Swapp dApp frontend
4+
5+
@copyright Copyright © 2023 Bochsler Assets & Securities (BAS) SA, Switzerland
6+
@see {@link https://bas.tech}
7+
8+
@license
9+
This program is free software: you can redistribute it and/or modify
10+
it under the terms of the GNU Affero General Public License as published
11+
by the Free Software Foundation, either version 3 of the License, or
12+
(at your option) any later version.
13+
14+
This program is distributed in the hope that it will be useful,
15+
but WITHOUT ANY WARRANTY; without even the implied warranty of
16+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17+
GNU Affero General Public License for more details.
18+
19+
You should have received a copy of the GNU Affero General Public License
20+
along with this program. If not, see <https://www.gnu.org/licenses/>.
21+
*******************************************************************************/
22+
123
import { Layout } from '@/components/layout/Layout';
224
import dynamic from 'next/dynamic';
325
import Head from 'next/head';

‎package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"workspaces": [
66
"client/*"
77
],
8+
"license": "AGPL-3.0-only",
89
"version": "0.0.0",
910
"private": true,
1011
"scripts": {
@@ -34,4 +35,4 @@
3435
"node": "^18.16.0",
3536
"npm": "^9.5.0"
3637
}
37-
}
38+
}

0 commit comments

Comments
 (0)
Please sign in to comment.