├── .env.example ├── .github └── workflows │ └── ci.yml ├── .gitignore ├── .gitmodules ├── LICENSE.txt ├── README.md ├── foundry.toml ├── package.json ├── readme └── flex-voting-diagram-transparent.png ├── script └── Deploy.s.sol ├── src ├── FlexVotingClient.sol ├── FractionalPool.sol └── interfaces │ ├── IFractionalGovernor.sol │ └── IVotingToken.sol └── test ├── FlexVotingClient.invariants.t.sol ├── FlexVotingClient.t.sol ├── FractionalGovernor.sol ├── FractionalPool.t.sol ├── GovToken.sol ├── MockFlexVotingClient.sol ├── ProposalReceiverMock.sol └── handlers ├── FlexVotingClientHandler.sol └── FlexVotingClientHandler.t.sol /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScopeLift/flexible-voting/HEAD/.env.example -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScopeLift/flexible-voting/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | cache/ 2 | out/ 3 | .env 4 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScopeLift/flexible-voting/HEAD/.gitmodules -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScopeLift/flexible-voting/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScopeLift/flexible-voting/HEAD/README.md -------------------------------------------------------------------------------- /foundry.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScopeLift/flexible-voting/HEAD/foundry.toml -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScopeLift/flexible-voting/HEAD/package.json -------------------------------------------------------------------------------- /readme/flex-voting-diagram-transparent.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScopeLift/flexible-voting/HEAD/readme/flex-voting-diagram-transparent.png -------------------------------------------------------------------------------- /script/Deploy.s.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScopeLift/flexible-voting/HEAD/script/Deploy.s.sol -------------------------------------------------------------------------------- /src/FlexVotingClient.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScopeLift/flexible-voting/HEAD/src/FlexVotingClient.sol -------------------------------------------------------------------------------- /src/FractionalPool.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScopeLift/flexible-voting/HEAD/src/FractionalPool.sol -------------------------------------------------------------------------------- /src/interfaces/IFractionalGovernor.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScopeLift/flexible-voting/HEAD/src/interfaces/IFractionalGovernor.sol -------------------------------------------------------------------------------- /src/interfaces/IVotingToken.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScopeLift/flexible-voting/HEAD/src/interfaces/IVotingToken.sol -------------------------------------------------------------------------------- /test/FlexVotingClient.invariants.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScopeLift/flexible-voting/HEAD/test/FlexVotingClient.invariants.t.sol -------------------------------------------------------------------------------- /test/FlexVotingClient.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScopeLift/flexible-voting/HEAD/test/FlexVotingClient.t.sol -------------------------------------------------------------------------------- /test/FractionalGovernor.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScopeLift/flexible-voting/HEAD/test/FractionalGovernor.sol -------------------------------------------------------------------------------- /test/FractionalPool.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScopeLift/flexible-voting/HEAD/test/FractionalPool.t.sol -------------------------------------------------------------------------------- /test/GovToken.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScopeLift/flexible-voting/HEAD/test/GovToken.sol -------------------------------------------------------------------------------- /test/MockFlexVotingClient.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScopeLift/flexible-voting/HEAD/test/MockFlexVotingClient.sol -------------------------------------------------------------------------------- /test/ProposalReceiverMock.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScopeLift/flexible-voting/HEAD/test/ProposalReceiverMock.sol -------------------------------------------------------------------------------- /test/handlers/FlexVotingClientHandler.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScopeLift/flexible-voting/HEAD/test/handlers/FlexVotingClientHandler.sol -------------------------------------------------------------------------------- /test/handlers/FlexVotingClientHandler.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ScopeLift/flexible-voting/HEAD/test/handlers/FlexVotingClientHandler.t.sol --------------------------------------------------------------------------------