diff --git a/README.md b/README.md index 5ccdef5..4fc4609 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ # ibet Smart Contract

- Version + Version License: Apache--2.0 diff --git a/contracts/ExchangeRegulatorService.sol b/contracts/ExchangeRegulatorService.sol index e9beac2..c5809ec 100644 --- a/contracts/ExchangeRegulatorService.sol +++ b/contracts/ExchangeRegulatorService.sol @@ -1,3 +1,22 @@ +/** +* Copyright BOOSTRY Co., Ltd. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* +* You may obtain a copy of the License at +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed onan "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* +* See the License for the specific language governing permissions and +* limitations under the License. +* +* SPDX-License-Identifier: Apache-2.0 +*/ + pragma solidity ^0.4.24; import "./Ownable.sol"; diff --git a/contracts/ExchangeStorage.sol b/contracts/ExchangeStorage.sol index 4db4def..0e04a86 100644 --- a/contracts/ExchangeStorage.sol +++ b/contracts/ExchangeStorage.sol @@ -1,3 +1,22 @@ +/** +* Copyright BOOSTRY Co., Ltd. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* +* You may obtain a copy of the License at +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed onan "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* +* See the License for the specific language governing permissions and +* limitations under the License. +* +* SPDX-License-Identifier: Apache-2.0 +*/ + pragma solidity ^0.4.24; import "./Ownable.sol"; diff --git a/contracts/IbetCoupon.sol b/contracts/IbetCoupon.sol index 88e9f93..cd78381 100644 --- a/contracts/IbetCoupon.sol +++ b/contracts/IbetCoupon.sol @@ -1,3 +1,22 @@ +/** +* Copyright BOOSTRY Co., Ltd. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* +* You may obtain a copy of the License at +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed onan "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* +* See the License for the specific language governing permissions and +* limitations under the License. +* +* SPDX-License-Identifier: Apache-2.0 +*/ + pragma solidity ^0.4.24; import "./SafeMath.sol"; diff --git a/contracts/IbetCouponExchange.sol b/contracts/IbetCouponExchange.sol index 1e2a247..b468442 100644 --- a/contracts/IbetCouponExchange.sol +++ b/contracts/IbetCouponExchange.sol @@ -1,3 +1,22 @@ +/** +* Copyright BOOSTRY Co., Ltd. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* +* You may obtain a copy of the License at +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed onan "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* +* See the License for the specific language governing permissions and +* limitations under the License. +* +* SPDX-License-Identifier: Apache-2.0 +*/ + pragma solidity ^0.4.24; import "./SafeMath.sol"; diff --git a/contracts/IbetMembership.sol b/contracts/IbetMembership.sol index 7b0f87a..fcd18bf 100644 --- a/contracts/IbetMembership.sol +++ b/contracts/IbetMembership.sol @@ -1,3 +1,22 @@ +/** +* Copyright BOOSTRY Co., Ltd. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* +* You may obtain a copy of the License at +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed onan "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* +* See the License for the specific language governing permissions and +* limitations under the License. +* +* SPDX-License-Identifier: Apache-2.0 +*/ + pragma solidity ^0.4.24; import "./SafeMath.sol"; diff --git a/contracts/IbetMembershipExchange.sol b/contracts/IbetMembershipExchange.sol index 5942dc4..2667b51 100644 --- a/contracts/IbetMembershipExchange.sol +++ b/contracts/IbetMembershipExchange.sol @@ -1,3 +1,22 @@ +/** +* Copyright BOOSTRY Co., Ltd. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* +* You may obtain a copy of the License at +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed onan "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* +* See the License for the specific language governing permissions and +* limitations under the License. +* +* SPDX-License-Identifier: Apache-2.0 +*/ + pragma solidity ^0.4.24; import "./SafeMath.sol"; diff --git a/contracts/IbetOTCExchange.sol b/contracts/IbetOTCExchange.sol index e54b603..ecc6e88 100644 --- a/contracts/IbetOTCExchange.sol +++ b/contracts/IbetOTCExchange.sol @@ -1,3 +1,22 @@ +/** +* Copyright BOOSTRY Co., Ltd. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* +* You may obtain a copy of the License at +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed onan "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* +* See the License for the specific language governing permissions and +* limitations under the License. +* +* SPDX-License-Identifier: Apache-2.0 +*/ + pragma solidity ^0.4.24; pragma experimental ABIEncoderV2; diff --git a/contracts/IbetShare.sol b/contracts/IbetShare.sol index a791f0e..c50689a 100644 --- a/contracts/IbetShare.sol +++ b/contracts/IbetShare.sol @@ -1,3 +1,22 @@ +/** +* Copyright BOOSTRY Co., Ltd. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* +* You may obtain a copy of the License at +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed onan "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* +* See the License for the specific language governing permissions and +* limitations under the License. +* +* SPDX-License-Identifier: Apache-2.0 +*/ + pragma solidity ^0.4.24; import "./SafeMath.sol"; diff --git a/contracts/IbetStraightBond.sol b/contracts/IbetStraightBond.sol index f4d90f4..20a14f2 100644 --- a/contracts/IbetStraightBond.sol +++ b/contracts/IbetStraightBond.sol @@ -1,3 +1,22 @@ +/** +* Copyright BOOSTRY Co., Ltd. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* +* You may obtain a copy of the License at +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed onan "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* +* See the License for the specific language governing permissions and +* limitations under the License. +* +* SPDX-License-Identifier: Apache-2.0 +*/ + pragma solidity ^0.4.24; import "./SafeMath.sol"; diff --git a/contracts/IbetStraightBondExchange.sol b/contracts/IbetStraightBondExchange.sol index 1880733..e637de4 100644 --- a/contracts/IbetStraightBondExchange.sol +++ b/contracts/IbetStraightBondExchange.sol @@ -1,3 +1,22 @@ +/** +* Copyright BOOSTRY Co., Ltd. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* +* You may obtain a copy of the License at +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed onan "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* +* See the License for the specific language governing permissions and +* limitations under the License. +* +* SPDX-License-Identifier: Apache-2.0 +*/ + pragma solidity ^0.4.24; import "./SafeMath.sol"; diff --git a/contracts/OTCExchangeStorage.sol b/contracts/OTCExchangeStorage.sol index cbbc260..417772f 100644 --- a/contracts/OTCExchangeStorage.sol +++ b/contracts/OTCExchangeStorage.sol @@ -1,3 +1,22 @@ +/** +* Copyright BOOSTRY Co., Ltd. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* +* You may obtain a copy of the License at +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed onan "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* +* See the License for the specific language governing permissions and +* limitations under the License. +* +* SPDX-License-Identifier: Apache-2.0 +*/ + pragma solidity ^0.4.24; pragma experimental ABIEncoderV2; diff --git a/contracts/OTCExchangeStorageModel.sol b/contracts/OTCExchangeStorageModel.sol index e69cd2c..0d3b5b9 100644 --- a/contracts/OTCExchangeStorageModel.sol +++ b/contracts/OTCExchangeStorageModel.sol @@ -1,3 +1,22 @@ +/** +* Copyright BOOSTRY Co., Ltd. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* +* You may obtain a copy of the License at +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed onan "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* +* See the License for the specific language governing permissions and +* limitations under the License. +* +* SPDX-License-Identifier: Apache-2.0 +*/ + pragma solidity ^0.4.24; diff --git a/contracts/Ownable.sol b/contracts/Ownable.sol index 63503a4..9ace506 100644 --- a/contracts/Ownable.sol +++ b/contracts/Ownable.sol @@ -1,3 +1,22 @@ +/** +* Copyright BOOSTRY Co., Ltd. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* +* You may obtain a copy of the License at +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed onan "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* +* See the License for the specific language governing permissions and +* limitations under the License. +* +* SPDX-License-Identifier: Apache-2.0 +*/ + pragma solidity ^0.4.24; diff --git a/contracts/PaymentGateway.sol b/contracts/PaymentGateway.sol index 5eefc57..c1328d1 100644 --- a/contracts/PaymentGateway.sol +++ b/contracts/PaymentGateway.sol @@ -1,3 +1,22 @@ +/** +* Copyright BOOSTRY Co., Ltd. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* +* You may obtain a copy of the License at +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed onan "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* +* See the License for the specific language governing permissions and +* limitations under the License. +* +* SPDX-License-Identifier: Apache-2.0 +*/ + pragma solidity ^0.4.24; import "./Ownable.sol"; diff --git a/contracts/PersonalInfo.sol b/contracts/PersonalInfo.sol index e071345..bb64ce6 100644 --- a/contracts/PersonalInfo.sol +++ b/contracts/PersonalInfo.sol @@ -1,3 +1,22 @@ +/** +* Copyright BOOSTRY Co., Ltd. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* +* You may obtain a copy of the License at +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed onan "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* +* See the License for the specific language governing permissions and +* limitations under the License. +* +* SPDX-License-Identifier: Apache-2.0 +*/ + pragma solidity ^0.4.24; diff --git a/contracts/RegulatorService.sol b/contracts/RegulatorService.sol index a4298e8..f5b0fd8 100644 --- a/contracts/RegulatorService.sol +++ b/contracts/RegulatorService.sol @@ -1,3 +1,22 @@ +/** +* Copyright BOOSTRY Co., Ltd. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* +* You may obtain a copy of the License at +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed onan "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* +* See the License for the specific language governing permissions and +* limitations under the License. +* +* SPDX-License-Identifier: Apache-2.0 +*/ + pragma solidity ^0.4.24; import "./Ownable.sol"; diff --git a/contracts/SafeMath.sol b/contracts/SafeMath.sol index 15eaea3..461739e 100644 --- a/contracts/SafeMath.sol +++ b/contracts/SafeMath.sol @@ -1,3 +1,22 @@ +/** +* Copyright BOOSTRY Co., Ltd. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* +* You may obtain a copy of the License at +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed onan "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* +* See the License for the specific language governing permissions and +* limitations under the License. +* +* SPDX-License-Identifier: Apache-2.0 +*/ + pragma solidity ^0.4.24; diff --git a/contracts/TokenList.sol b/contracts/TokenList.sol index 446185b..6f03d56 100644 --- a/contracts/TokenList.sol +++ b/contracts/TokenList.sol @@ -1,3 +1,22 @@ +/** +* Copyright BOOSTRY Co., Ltd. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* +* You may obtain a copy of the License at +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed onan "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* +* See the License for the specific language governing permissions and +* limitations under the License. +* +* SPDX-License-Identifier: Apache-2.0 +*/ + pragma solidity ^0.4.24; import "../interfaces/IbetStandardTokenInterface.sol"; diff --git a/interfaces/ContractReceiver.sol b/interfaces/ContractReceiver.sol index 4a36246..cc46bab 100644 --- a/interfaces/ContractReceiver.sol +++ b/interfaces/ContractReceiver.sol @@ -1,3 +1,22 @@ +/** +* Copyright BOOSTRY Co., Ltd. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* +* You may obtain a copy of the License at +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed onan "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* +* See the License for the specific language governing permissions and +* limitations under the License. +* +* SPDX-License-Identifier: Apache-2.0 +*/ + pragma solidity ^0.4.24; contract ContractReceiver { diff --git a/interfaces/IbetStandardTokenInterface.sol b/interfaces/IbetStandardTokenInterface.sol index 8ae028e..8e33334 100644 --- a/interfaces/IbetStandardTokenInterface.sol +++ b/interfaces/IbetStandardTokenInterface.sol @@ -1,3 +1,22 @@ +/** +* Copyright BOOSTRY Co., Ltd. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* +* You may obtain a copy of the License at +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, +* software distributed under the License is distributed onan "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* +* See the License for the specific language governing permissions and +* limitations under the License. +* +* SPDX-License-Identifier: Apache-2.0 +*/ + pragma solidity ^0.4.24; /// @title ibet Standard Token Interface diff --git a/qa.sh b/qa.sh index 55871d9..c74700b 100755 --- a/qa.sh +++ b/qa.sh @@ -1,4 +1,22 @@ #!/bin/bash + +# Copyright BOOSTRY Co., Ltd. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed onan "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# +# See the License for the specific language governing permissions and +# limitations under the License. +# +# SPDX-License-Identifier: Apache-2.0 + source ~/.bash_profile cd /app/ibet-SmartContract diff --git a/scripts/PaymentGateway_addAgent.py b/scripts/PaymentGateway_addAgent.py index 24bb6b7..1c790ae 100644 --- a/scripts/PaymentGateway_addAgent.py +++ b/scripts/PaymentGateway_addAgent.py @@ -1,17 +1,33 @@ -# -*- coding:utf-8 -*- """ -収納代行業者(Agent)アドレス登録 -・認可されたAgentアドレスをPaymentGatewayコントラクトに登録する。 +Copyright BOOSTRY Co., Ltd. -Parameters ----------- -contract_address : str - PaymentGatewayコントラクトのアドレス。 - デプロイ済のものを指定する。 -agent_address : str - 収納代行業者のアカウントアドレス。 +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed onan "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + +See the License for the specific language governing permissions and +limitations under the License. + +SPDX-License-Identifier: Apache-2.0 """ + +# 収納代行業者(Agent)アドレス登録 +# ・認可されたAgentアドレスをPaymentGatewayコントラクトに登録する。 +# +# Parameters +# ---------- +# contract_address : str +# PaymentGatewayコントラクトのアドレス。 +# デプロイ済のものを指定する。 +# agent_address : str +# 収納代行業者のアカウントアドレス。 + import os import sys diff --git a/scripts/addAgent.sh b/scripts/addAgent.sh index 0fa552d..3f54d95 100755 --- a/scripts/addAgent.sh +++ b/scripts/addAgent.sh @@ -1,4 +1,22 @@ #!/bin/bash + +# Copyright BOOSTRY Co., Ltd. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed onan "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# +# See the License for the specific language governing permissions and +# limitations under the License. +# +# SPDX-License-Identifier: Apache-2.0 + source ~/.bash_profile cd /app/ibet-SmartContract diff --git a/scripts/contract_deploy.py b/scripts/contract_deploy.py index 314bef4..5073844 100644 --- a/scripts/contract_deploy.py +++ b/scripts/contract_deploy.py @@ -1,4 +1,22 @@ -# -*- coding:utf-8 -*- +""" +Copyright BOOSTRY Co., Ltd. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. + +You may obtain a copy of the License at +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed onan "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + +See the License for the specific language governing permissions and +limitations under the License. + +SPDX-License-Identifier: Apache-2.0 +""" + import os from brownie import accounts, project, network, web3 diff --git a/scripts/deploy.sh b/scripts/deploy.sh index 1e671eb..582f50f 100755 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -1,4 +1,22 @@ #!/bin/bash + +# Copyright BOOSTRY Co., Ltd. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed onan "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# +# See the License for the specific language governing permissions and +# limitations under the License. +# +# SPDX-License-Identifier: Apache-2.0 + source ~/.bash_profile cd /app/ibet-SmartContract diff --git a/scripts/dex_upgrade.py b/scripts/dex_upgrade.py index 6bfb0dd..3fa3a76 100644 --- a/scripts/dex_upgrade.py +++ b/scripts/dex_upgrade.py @@ -1,4 +1,22 @@ -# -*- coding:utf-8 -*- +""" +Copyright BOOSTRY Co., Ltd. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. + +You may obtain a copy of the License at +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed onan "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + +See the License for the specific language governing permissions and +limitations under the License. + +SPDX-License-Identifier: Apache-2.0 +""" + import argparse import os diff --git a/scripts/upgradeDex.sh b/scripts/upgradeDex.sh index d6cd747..daa422c 100755 --- a/scripts/upgradeDex.sh +++ b/scripts/upgradeDex.sh @@ -1,4 +1,22 @@ #!/bin/bash + +# Copyright BOOSTRY Co., Ltd. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed onan "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# +# See the License for the specific language governing permissions and +# limitations under the License. +# +# SPDX-License-Identifier: Apache-2.0 + source ~/.bash_profile cd /app/ibet-SmartContract diff --git a/tests/brownie_utils.py b/tests/brownie_utils.py index 76b0fa2..9232a9f 100644 --- a/tests/brownie_utils.py +++ b/tests/brownie_utils.py @@ -1,3 +1,22 @@ +""" +Copyright BOOSTRY Co., Ltd. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. + +You may obtain a copy of the License at +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed onan "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + +See the License for the specific language governing permissions and +limitations under the License. + +SPDX-License-Identifier: Apache-2.0 +""" + import brownie from brownie import web3 from brownie.network.contract import Contract, ContractTx, ContractCall diff --git a/tests/conftest.py b/tests/conftest.py index 3b8fc23..ca255a5 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -1,3 +1,22 @@ +""" +Copyright BOOSTRY Co., Ltd. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. + +You may obtain a copy of the License at +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed onan "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + +See the License for the specific language governing permissions and +limitations under the License. + +SPDX-License-Identifier: Apache-2.0 +""" + import pytest from brownie.exceptions import VirtualMachineError from brownie import web3 diff --git a/tests/test_exchangeregulatorservice.py b/tests/test_exchangeregulatorservice.py index c2047f2..dba56ae 100644 --- a/tests/test_exchangeregulatorservice.py +++ b/tests/test_exchangeregulatorservice.py @@ -1,3 +1,22 @@ +""" +Copyright BOOSTRY Co., Ltd. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. + +You may obtain a copy of the License at +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed onan "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + +See the License for the specific language governing permissions and +limitations under the License. + +SPDX-License-Identifier: Apache-2.0 +""" + import pytest from eth_utils import to_checksum_address diff --git a/tests/test_ibetcoupon.py b/tests/test_ibetcoupon.py index 4902de2..69a40e9 100644 --- a/tests/test_ibetcoupon.py +++ b/tests/test_ibetcoupon.py @@ -1,3 +1,22 @@ +""" +Copyright BOOSTRY Co., Ltd. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. + +You may obtain a copy of the License at +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed onan "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + +See the License for the specific language governing permissions and +limitations under the License. + +SPDX-License-Identifier: Apache-2.0 +""" + import pytest from eth_utils import to_checksum_address diff --git a/tests/test_ibetcouponexchange.py b/tests/test_ibetcouponexchange.py index 6f167e5..0b3db8f 100644 --- a/tests/test_ibetcouponexchange.py +++ b/tests/test_ibetcouponexchange.py @@ -1,3 +1,22 @@ +""" +Copyright BOOSTRY Co., Ltd. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. + +You may obtain a copy of the License at +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed onan "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + +See the License for the specific language governing permissions and +limitations under the License. + +SPDX-License-Identifier: Apache-2.0 +""" + import pytest from eth_utils import to_checksum_address from brownie import IbetCoupon diff --git a/tests/test_ibetmembership.py b/tests/test_ibetmembership.py index 052c53a..08dc140 100644 --- a/tests/test_ibetmembership.py +++ b/tests/test_ibetmembership.py @@ -1,3 +1,22 @@ +""" +Copyright BOOSTRY Co., Ltd. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. + +You may obtain a copy of the License at +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed onan "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + +See the License for the specific language governing permissions and +limitations under the License. + +SPDX-License-Identifier: Apache-2.0 +""" + import pytest from eth_utils import to_checksum_address diff --git a/tests/test_ibetmembershipexchange.py b/tests/test_ibetmembershipexchange.py index 051341c..c8c2d26 100644 --- a/tests/test_ibetmembershipexchange.py +++ b/tests/test_ibetmembershipexchange.py @@ -1,3 +1,22 @@ +""" +Copyright BOOSTRY Co., Ltd. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. + +You may obtain a copy of the License at +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed onan "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + +See the License for the specific language governing permissions and +limitations under the License. + +SPDX-License-Identifier: Apache-2.0 +""" + import pytest from eth_utils import to_checksum_address from brownie import IbetMembership diff --git a/tests/test_ibetotcexchange.py b/tests/test_ibetotcexchange.py index 40a6853..d49ce70 100644 --- a/tests/test_ibetotcexchange.py +++ b/tests/test_ibetotcexchange.py @@ -1,3 +1,22 @@ +""" +Copyright BOOSTRY Co., Ltd. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. + +You may obtain a copy of the License at +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed onan "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + +See the License for the specific language governing permissions and +limitations under the License. + +SPDX-License-Identifier: Apache-2.0 +""" + import pytest from eth_utils import to_checksum_address diff --git a/tests/test_ibetshare.py b/tests/test_ibetshare.py index 389f509..0cc6878 100644 --- a/tests/test_ibetshare.py +++ b/tests/test_ibetshare.py @@ -1,3 +1,22 @@ +""" +Copyright BOOSTRY Co., Ltd. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. + +You may obtain a copy of the License at +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed onan "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + +See the License for the specific language governing permissions and +limitations under the License. + +SPDX-License-Identifier: Apache-2.0 +""" + import pytest import utils from eth_utils import to_checksum_address diff --git a/tests/test_ibetstraightbond.py b/tests/test_ibetstraightbond.py index dba5e66..b905713 100644 --- a/tests/test_ibetstraightbond.py +++ b/tests/test_ibetstraightbond.py @@ -1,3 +1,22 @@ +""" +Copyright BOOSTRY Co., Ltd. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. + +You may obtain a copy of the License at +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed onan "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + +See the License for the specific language governing permissions and +limitations under the License. + +SPDX-License-Identifier: Apache-2.0 +""" + import pytest import utils from eth_utils import to_checksum_address diff --git a/tests/test_ibetstraightbondexchange.py b/tests/test_ibetstraightbondexchange.py index 83c10c4..f37176a 100644 --- a/tests/test_ibetstraightbondexchange.py +++ b/tests/test_ibetstraightbondexchange.py @@ -1,3 +1,22 @@ +""" +Copyright BOOSTRY Co., Ltd. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. + +You may obtain a copy of the License at +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed onan "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + +See the License for the specific language governing permissions and +limitations under the License. + +SPDX-License-Identifier: Apache-2.0 +""" + import pytest from eth_utils import to_checksum_address diff --git a/tests/test_paymentgateway.py b/tests/test_paymentgateway.py index f1f6af6..0158134 100644 --- a/tests/test_paymentgateway.py +++ b/tests/test_paymentgateway.py @@ -1,3 +1,22 @@ +""" +Copyright BOOSTRY Co., Ltd. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. + +You may obtain a copy of the License at +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed onan "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + +See the License for the specific language governing permissions and +limitations under the License. + +SPDX-License-Identifier: Apache-2.0 +""" + import pytest encrypted_message = 'encrypted_message' diff --git a/tests/test_personalinfo.py b/tests/test_personalinfo.py index 7de9909..f89aa53 100644 --- a/tests/test_personalinfo.py +++ b/tests/test_personalinfo.py @@ -1,3 +1,22 @@ +""" +Copyright BOOSTRY Co., Ltd. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. + +You may obtain a copy of the License at +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed onan "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + +See the License for the specific language governing permissions and +limitations under the License. + +SPDX-License-Identifier: Apache-2.0 +""" + import pytest encrypted_message = 'encrypted_message' diff --git a/tests/test_tokenlist.py b/tests/test_tokenlist.py index 80c88aa..03adba6 100644 --- a/tests/test_tokenlist.py +++ b/tests/test_tokenlist.py @@ -1,3 +1,22 @@ +""" +Copyright BOOSTRY Co., Ltd. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. + +You may obtain a copy of the License at +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed onan "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + +See the License for the specific language governing permissions and +limitations under the License. + +SPDX-License-Identifier: Apache-2.0 +""" + import pytest from eth_utils import to_checksum_address import utils diff --git a/tests/utils.py b/tests/utils.py index 67ab6d7..703462c 100644 --- a/tests/utils.py +++ b/tests/utils.py @@ -1,3 +1,22 @@ +""" +Copyright BOOSTRY Co., Ltd. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. + +You may obtain a copy of the License at +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed onan "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + +See the License for the specific language governing permissions and +limitations under the License. + +SPDX-License-Identifier: Apache-2.0 +""" + from brownie import IbetShare, IbetStraightBond, IbetMembership, IbetCoupon import brownie_utils