Skip to content

Commit

Permalink
feat: set repo license
Browse files Browse the repository at this point in the history
  • Loading branch information
reednaa committed Jan 18, 2024
1 parent e36a150 commit ba1abc4
Show file tree
Hide file tree
Showing 33 changed files with 123 additions and 46 deletions.
96 changes: 96 additions & 0 deletions evm/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
Business Source License 1.1

License text copyright (c) 2017 MariaDB Corporation Ab, All Rights Reserved.
"Business Source License" is a trademark of MariaDB Corporation Ab.

-----------------------------------------------------------------------------

Parameters

Licensor: Cata Labs

Licensed Work: Catalyst V1
The Licensed Work is (c) 2024 Cata Labs

Change Date: 2028-04-02

Change License: GNU General Public License v2.0 or later

-----------------------------------------------------------------------------

Terms

The Licensor hereby grants you the right to copy, modify, create derivative
works, redistribute, and make non-production use of the Licensed Work. The
Licensor may make an Additional Use Grant, above, permitting limited
production use.

Effective on the Change Date, or the fourth anniversary of the first publicly
available distribution of a specific version of the Licensed Work under this
License, whichever comes first, the Licensor hereby grants you rights under
the terms of the Change License, and the rights granted in the paragraph
above terminate.

If your use of the Licensed Work does not comply with the requirements
currently in effect as described in this License, you must purchase a
commercial license from the Licensor, its affiliated entities, or authorized
resellers, or you must refrain from using the Licensed Work.

All copies of the original and modified Licensed Work, and derivative works
of the Licensed Work, are subject to this License. This License applies
separately for each version of the Licensed Work and the Change Date may vary
for each version of the Licensed Work released by Licensor.

You must conspicuously display this License on each original or modified copy
of the Licensed Work. If you receive the Licensed Work in original or
modified form from a third party, the terms and conditions set forth in this
License apply to your use of that work.

Any use of the Licensed Work in violation of this License will automatically
terminate your rights under this License for the current and all other
versions of the Licensed Work.

This License does not grant you any right in any trademark or logo of
Licensor or its affiliates (provided that you may use a trademark or logo of
Licensor as expressly required by this License).

TO THE EXTENT PERMITTED BY APPLICABLE LAW, THE LICENSED WORK IS PROVIDED ON
AN "AS IS" BASIS. LICENSOR HEREBY DISCLAIMS ALL WARRANTIES AND CONDITIONS,
EXPRESS OR IMPLIED, INCLUDING (WITHOUT LIMITATION) WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, AND
TITLE.

MariaDB hereby grants you permission to use this License’s text to license
your works, and to refer to it using the trademark "Business Source License",
as long as you comply with the Covenants of Licensor below.

-----------------------------------------------------------------------------

Covenants of Licensor

In consideration of the right to use this License’s text and the "Business
Source License" name and trademark, Licensor covenants to MariaDB, and to all
other recipients of the licensed work to be provided by Licensor:

1. To specify as the Change License the GPL Version 2.0 or any later version,
or a license that is compatible with GPL Version 2.0 or a later version,
where "compatible" means that software provided under the Change License can
be included in a program with software provided under GPL Version 2.0 or a
later version. Licensor may specify additional Change Licenses without
limitation.

2. To either: (a) specify an additional grant of rights to use that does not
impose any additional restriction on the right granted in this License, as
the Additional Use Grant; or (b) insert the text "None".

3. To specify a Change Date.

4. Not to modify this License in any other way.

-----------------------------------------------------------------------------

Notice

The Business Source License (this document, or the "License") is not an Open
Source license. However, the Licensed Work will eventually be made available
under an Open Source License, as stated in this License.
10 changes: 5 additions & 5 deletions evm/script/config/config_contracts.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"contracts": {
"amplified_mathlib": "0x78D79a629F2257307BB36B6D23703A609c5324bc",
"amplified_template": "0x0873617C820F300d07F8326B07caEDddC57b6DC2",
"factory": "0x228C03A59d5287344527C95333384CC17DcF4022",
"volatile_mathlib": "0xB21328C3EC55D125860E0D4bD817D0Db178f6549",
"volatile_template": "0xc3c1a3AC9737BB5407b69e6824f185539893a976"
"amplified_mathlib": "0xC2523cF07bF0bb130a132e8F748437aD75D9F4B6",
"amplified_template": "0x668BBC28675849Ef0C922109051ECd6790EeB75b",
"factory": "0x79B5768E5B9c2DCa173FdE9029A20fC90fb3e321",
"volatile_mathlib": "0x131C296a98197C4Da4eD376cCd4B9bAe5851C66E",
"volatile_template": "0xCc8a20A14616fF9d891Ce457C60Ede6cbA8aa4Dd"
},
"registry": {
"describer": "0xA9C609b79d62b9E27CDefA685CB795982f852d3c",
Expand Down
3 changes: 1 addition & 2 deletions evm/src/CatalystChainInterface.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//SPDX-License-Identifier: MIT

//SPDX-License-Identifier: BUSL-1.1
pragma solidity ^0.8.19;

import {ERC20} from 'solmate/tokens/ERC20.sol';
Expand Down
3 changes: 1 addition & 2 deletions evm/src/CatalystFactory.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// SPDX-License-Identifier: UNLICENSED

// SPDX-License-Identifier: BUSL-1.1
pragma solidity ^0.8.19;

import { Ownable } from "openzeppelin-contracts/contracts/access/Ownable.sol";
Expand Down
3 changes: 1 addition & 2 deletions evm/src/CatalystPayload.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//SPDX-License-Identifier: UNLICENSED

//SPDX-License-Identifier: MIT
pragma solidity ^0.8.19;

// Catalyst IBC payload structure ***********************************************************************************************
Expand Down
3 changes: 1 addition & 2 deletions evm/src/CatalystVaultAmplified.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//SPDX-License-Identifier: UNLICENSED

//SPDX-License-Identifier: BUSL-1.1
pragma solidity ^0.8.19;

import { ERC20 } from 'solmate/tokens/ERC20.sol';
Expand Down
3 changes: 1 addition & 2 deletions evm/src/CatalystVaultCommon.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//SPDX-License-Identifier: UNLICENSED

//SPDX-License-Identifier: BUSL-1.1
pragma solidity ^0.8.19;

import {ERC20} from 'solmate/tokens/ERC20.sol';
Expand Down
3 changes: 1 addition & 2 deletions evm/src/CatalystVaultVolatile.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//SPDX-License-Identifier: UNLICENSED

//SPDX-License-Identifier: BUSL-1.1
pragma solidity ^0.8.19;

import { ERC20 } from 'solmate/tokens/ERC20.sol';
Expand Down
3 changes: 1 addition & 2 deletions evm/src/ICatalystV1Vault.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//SPDX-License-Identifier: UNLICENSED

//SPDX-License-Identifier: BUSL-1.1
pragma solidity ^0.8.19;

import "./interfaces/ICatalystV1VaultSuccessFailure.sol";
Expand Down
3 changes: 1 addition & 2 deletions evm/src/IntegralsAmplified.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//SPDX-License-Identifier: UNLICENSED

//SPDX-License-Identifier: BUSL-1.1
pragma solidity ^0.8.19;

import { FixedPointMathLib } from "solmate/utils/FixedPointMathLib.sol";
Expand Down
3 changes: 1 addition & 2 deletions evm/src/IntegralsVolatile.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//SPDX-License-Identifier: UNLICENSED

//SPDX-License-Identifier: BUSL-1.1
pragma solidity ^0.8.19;

import { FixedPointMathLib } from "solmate/utils/FixedPointMathLib.sol";
Expand Down
1 change: 1 addition & 0 deletions evm/src/interfaces/ICatalystChainInterface.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;

import { ICatalystV1Structs } from "./ICatalystV1VaultState.sol";
Expand Down
1 change: 1 addition & 0 deletions evm/src/interfaces/ICatalystV1Factory.sol
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;

import { ICatalystV1FactoryEvents } from "./ICatalystV1FactoryEvents.sol";
Expand Down
2 changes: 1 addition & 1 deletion evm/src/interfaces/ICatalystV1FactoryEvents.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//SPDX-License-Identifier: UNLICENSED
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;

/// @title Events emitted by Catalyst v1 Factory
Expand Down
2 changes: 1 addition & 1 deletion evm/src/interfaces/ICatalystV1Underwriting.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//SPDX-License-Identifier: Unlicensed
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;

/// @title Extensions to vaults which supports underwriting.
Expand Down
2 changes: 1 addition & 1 deletion evm/src/interfaces/ICatalystV1VaultAdministration.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//SPDX-License-Identifier: UNLICENSED
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;

/// @title Administrative actions defined by Catalyst v1 Vaults
Expand Down
2 changes: 1 addition & 1 deletion evm/src/interfaces/ICatalystV1VaultDerived.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//SPDX-License-Identifier: UNLICENSED
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;

/// @title Derived Vault state
Expand Down
2 changes: 1 addition & 1 deletion evm/src/interfaces/ICatalystV1VaultErrors.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//SPDX-License-Identifier: UNLICENSED
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;

error ExceedsSecurityLimit(); // 7c1e66d
Expand Down
2 changes: 1 addition & 1 deletion evm/src/interfaces/ICatalystV1VaultEvents.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//SPDX-License-Identifier: UNLICENSED
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;

/// @title Events emitted by Catalyst v1 Vaults
Expand Down
2 changes: 1 addition & 1 deletion evm/src/interfaces/ICatalystV1VaultImmutables.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//SPDX-License-Identifier: UNLICENSED
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;

/// @title Immutable vault state
Expand Down
3 changes: 1 addition & 2 deletions evm/src/interfaces/ICatalystV1VaultPermissionless.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//SPDX-License-Identifier: UNLICENSED

//SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;

import { ICatalystV1Structs } from "./ICatalystV1VaultState.sol";
Expand Down
3 changes: 1 addition & 2 deletions evm/src/interfaces/ICatalystV1VaultState.sol
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
//SPDX-License-Identifier: UNLICENSED
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;


import { IMessageEscrowStructs } from "GeneralisedIncentives/src/interfaces/IMessageEscrowStructs.sol";

interface ICatalystV1Structs is IMessageEscrowStructs {
Expand Down
2 changes: 1 addition & 1 deletion evm/src/interfaces/ICatalystV1VaultSuccessFailure.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//SPDX-License-Identifier: UNLICENSED
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;

/// @title Escrow related functions defined by Catalyst v1 Vaults
Expand Down
3 changes: 1 addition & 2 deletions evm/src/interfaces/IOnCatalyst.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//SPDX-License-Identifier: UNLICENSED

//SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;

interface ICatalystReceiver {
Expand Down
1 change: 0 additions & 1 deletion evm/src/registry/CatalystDescriber.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//SPDX-License-Identifier: MIT

pragma solidity ^0.8.19;

import "openzeppelin-contracts/contracts/access/Ownable.sol";
Expand Down
1 change: 0 additions & 1 deletion evm/src/registry/CatalystDescriberRegistry.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//SPDX-License-Identifier: MIT

pragma solidity ^0.8.19;

import "openzeppelin-contracts/contracts/access/Ownable.sol";
Expand Down
1 change: 0 additions & 1 deletion evm/src/registry/CatalystMathAmp.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//SPDX-License-Identifier: MIT

pragma solidity ^0.8.19;

import {ERC20} from 'solmate/tokens/ERC20.sol';
Expand Down
1 change: 0 additions & 1 deletion evm/src/registry/CatalystMathVol.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//SPDX-License-Identifier: MIT

pragma solidity ^0.8.19;

import {ERC20} from 'solmate/tokens/ERC20.sol';
Expand Down
1 change: 0 additions & 1 deletion evm/src/registry/interfaces/ICatalystDescriber.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//SPDX-License-Identifier: MIT

pragma solidity ^0.8.17;

interface ICatalystDescriber {
Expand Down
1 change: 0 additions & 1 deletion evm/src/registry/interfaces/ICatalystMathLibAmp.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//SPDX-License-Identifier: MIT

pragma solidity ^0.8.17;

import {ERC20} from 'solmate/tokens/ERC20.sol';
Expand Down
1 change: 0 additions & 1 deletion evm/src/registry/interfaces/ICatalystMathLibCommon.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//SPDX-License-Identifier: MIT

pragma solidity ^0.8.17;

import {ERC20} from 'solmate/tokens/ERC20.sol';
Expand Down
1 change: 0 additions & 1 deletion evm/src/registry/interfaces/ICatalystMathLibVol.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//SPDX-License-Identifier: MIT

pragma solidity ^0.8.17;

import {ERC20} from 'solmate/tokens/ERC20.sol';
Expand Down
1 change: 0 additions & 1 deletion evm/src/registry/lib/Contains.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//SPDX-License-Identifier: MIT

pragma solidity ^0.8.19;

/**
Expand Down

0 comments on commit ba1abc4

Please sign in to comment.