diff --git a/README.md b/README.md index c05f7b7..20bdd8e 100644 --- a/README.md +++ b/README.md @@ -118,6 +118,9 @@ TokenFlow enables several key optimizations and use cases: - Works with standard ERC20 tokens - Works with fee-on-transfer tokens -## License -UNLICENSED + +## Acknowledgements + +- [0x Allowance Holder](https://github.com/0xProject/0x-settler/tree/master/src/allowanceholder) for the idea of transient storage allowance. +- [Permit2](https://github.com/Uniswap/permit2) \ No newline at end of file diff --git a/script/TokenFlow.s.sol b/script/TokenFlow.s.sol index 03bd5e6..5117faf 100644 --- a/script/TokenFlow.s.sol +++ b/script/TokenFlow.s.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import {Script, console} from "forge-std/Script.sol"; diff --git a/src/TokenFlow.sol b/src/TokenFlow.sol index 891ab74..71dfb91 100644 --- a/src/TokenFlow.sol +++ b/src/TokenFlow.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT pragma solidity ^0.8.28; import {ITokenFlow, Constraint, BadNetflows, InvalidScope, IFlowScope} from "src/ITokenFlow.sol"; diff --git a/src/TransientNetflows.sol b/src/TransientNetflows.sol index 129903b..289117c 100644 --- a/src/TransientNetflows.sol +++ b/src/TransientNetflows.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT pragma solidity ^0.8.28; import {EfficientHashLib} from "solady/utils/EfficientHashLib.sol"; diff --git a/test/TokenFlow.t.sol b/test/TokenFlow.t.sol index 02ef59f..e14251c 100644 --- a/test/TokenFlow.t.sol +++ b/test/TokenFlow.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT pragma solidity ^0.8.28; import {Test} from "forge-std/Test.sol"; diff --git a/test/TransientNetflows.t.sol b/test/TransientNetflows.t.sol index 98123b9..c37525d 100644 --- a/test/TransientNetflows.t.sol +++ b/test/TransientNetflows.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT pragma solidity ^0.8.28; import {Test} from "forge-std/Test.sol"; diff --git a/test/mocks/MockERC20.sol b/test/mocks/MockERC20.sol index 5d60e97..8a6e240 100644 --- a/test/mocks/MockERC20.sol +++ b/test/mocks/MockERC20.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT pragma solidity ^0.8.28; import {ERC20} from "solady/tokens/ERC20.sol"; diff --git a/test/mocks/MockFlowScope.sol b/test/mocks/MockFlowScope.sol index f7b4fb9..655c9df 100644 --- a/test/mocks/MockFlowScope.sol +++ b/test/mocks/MockFlowScope.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT pragma solidity ^0.8.28; import {IFlowScope, Constraint} from "src/ITokenFlow.sol";