├── .gitignore ├── LICENSE ├── README.md ├── docs ├── .DS_Store ├── common │ ├── .DS_Store │ ├── .gitignore │ ├── book.css │ ├── book.toml │ ├── solidity.min.js │ └── src │ │ ├── .DS_Store │ │ ├── README.md │ │ ├── SUMMARY.md │ │ └── src │ │ ├── ContractHelper.sol │ │ └── library.ContractHelper.md │ │ ├── ERC20Extended.sol │ │ └── abstract.ERC20Extended.md │ │ ├── ERC3009.sol │ │ └── abstract.ERC3009.md │ │ ├── ERC712Extended.sol │ │ └── abstract.ERC712Extended.md │ │ ├── README.md │ │ ├── StatefulERC712.sol │ │ └── abstract.StatefulERC712.md │ │ ├── interfaces │ │ ├── IERC1271.sol │ │ │ └── interface.IERC1271.md │ │ ├── IERC20.sol │ │ │ └── interface.IERC20.md │ │ ├── IERC20Extended.sol │ │ │ └── interface.IERC20Extended.md │ │ ├── IERC3009.sol │ │ │ └── interface.IERC3009.md │ │ ├── IERC712.sol │ │ │ └── interface.IERC712.md │ │ ├── IERC712Extended.sol │ │ │ └── interface.IERC712Extended.md │ │ ├── IStatefulERC712.sol │ │ │ └── interface.IStatefulERC712.md │ │ └── README.md │ │ └── libs │ │ ├── README.md │ │ ├── SignatureChecker.sol │ │ └── library.SignatureChecker.md │ │ └── UIntMath.sol │ │ └── library.UIntMath.md ├── protocol │ ├── .gitignore │ ├── book.css │ ├── book.toml │ ├── solidity.min.js │ └── src │ │ ├── README.md │ │ ├── SUMMARY.md │ │ └── src │ │ ├── ContinuousIndexing.sol │ │ └── abstract.ContinuousIndexing.md │ │ ├── EarnerRateModel.sol │ │ └── contract.EarnerRateModel.md │ │ ├── MToken.sol │ │ └── contract.MToken.md │ │ ├── MinterGateway.sol │ │ └── contract.MinterGateway.md │ │ ├── MinterRateModel.sol │ │ └── contract.MinterRateModel.md │ │ ├── Protocol.sol │ │ └── contract.Protocol.md │ │ ├── README.md │ │ ├── abstract │ │ ├── ContinuousIndexing.sol │ │ │ └── abstract.ContinuousIndexing.md │ │ └── README.md │ │ ├── interfaces │ │ ├── IContinuousIndexing.sol │ │ │ └── interface.IContinuousIndexing.md │ │ ├── IEarnerRateModel.sol │ │ │ └── interface.IEarnerRateModel.md │ │ ├── IMToken.sol │ │ │ └── interface.IMToken.md │ │ ├── IMinterGateway.sol │ │ │ └── interface.IMinterGateway.md │ │ ├── IMinterRateModel.sol │ │ │ └── interface.IMinterRateModel.md │ │ ├── IProtocol.sol │ │ │ └── interface.IProtocol.md │ │ ├── IRateModel.sol │ │ │ └── interface.IRateModel.md │ │ ├── ISPOGRegistrar.sol │ │ │ └── interface.ISPOGRegistrar.md │ │ ├── ITTGRegistrar.sol │ │ │ └── interface.ITTGRegistrar.md │ │ └── README.md │ │ ├── libs │ │ ├── ContinuousIndexingMath.sol │ │ │ └── library.ContinuousIndexingMath.md │ │ ├── README.md │ │ ├── SPOGRegistrarReader.sol │ │ │ └── library.SPOGRegistrarReader.md │ │ └── TTGRegistrarReader.sol │ │ │ └── library.TTGRegistrarReader.md │ │ └── rateModels │ │ ├── MinterRateModel.sol │ │ └── contract.MinterRateModel.md │ │ ├── README.md │ │ ├── StableEarnerRateModel.sol │ │ └── contract.StableEarnerRateModel.md │ │ └── interfaces │ │ ├── IEarnerRateModel.sol │ │ └── interface.IEarnerRateModel.md │ │ ├── IMinterRateModel.sol │ │ └── interface.IMinterRateModel.md │ │ ├── IStableEarnerRateModel.sol │ │ └── interface.IStableEarnerRateModel.md │ │ └── README.md └── ttg │ ├── .gitignore │ ├── book.css │ ├── book.toml │ ├── solidity.min.js │ └── src │ ├── README.md │ ├── SUMMARY.md │ └── src │ ├── DistributionVault.sol │ └── contract.DistributionVault.md │ ├── EmergencyGovernor.sol │ └── contract.EmergencyGovernor.md │ ├── EmergencyGovernorDeployer.sol │ └── contract.EmergencyGovernorDeployer.md │ ├── PowerBootstrapToken.sol │ └── contract.PowerBootstrapToken.md │ ├── PowerToken.sol │ └── contract.PowerToken.md │ ├── PowerTokenDeployer.sol │ └── contract.PowerTokenDeployer.md │ ├── README.md │ ├── Registrar.sol │ └── contract.Registrar.md │ ├── StandardGovernor.sol │ └── contract.StandardGovernor.md │ ├── StandardGovernorDeployer.sol │ └── contract.StandardGovernorDeployer.md │ ├── ZeroGovernor.sol │ └── contract.ZeroGovernor.md │ ├── ZeroToken.sol │ └── contract.ZeroToken.md │ ├── abstract │ ├── BatchGovernor.sol │ │ └── abstract.BatchGovernor.md │ ├── ERC5805.sol │ │ └── abstract.ERC5805.md │ ├── EpochBasedInflationaryVoteToken.sol │ │ └── abstract.EpochBasedInflationaryVoteToken.md │ ├── EpochBasedVoteToken.sol │ │ └── abstract.EpochBasedVoteToken.md │ ├── README.md │ ├── ThresholdGovernor.sol │ │ └── abstract.ThresholdGovernor.md │ └── interfaces │ │ ├── IBatchGovernor.sol │ │ └── interface.IBatchGovernor.md │ │ ├── IERC5805.sol │ │ └── interface.IERC5805.md │ │ ├── IERC6372.sol │ │ └── interface.IERC6372.md │ │ ├── IEpochBasedInflationaryVoteToken.sol │ │ └── interface.IEpochBasedInflationaryVoteToken.md │ │ ├── IEpochBasedVoteToken.sol │ │ └── interface.IEpochBasedVoteToken.md │ │ ├── IGovernor.sol │ │ └── interface.IGovernor.md │ │ ├── IThresholdGovernor.sol │ │ └── interface.IThresholdGovernor.md │ │ └── README.md │ ├── interfaces │ ├── IDeployer.sol │ │ └── interface.IDeployer.md │ ├── IDistributionVault.sol │ │ └── interface.IDistributionVault.md │ ├── IEmergencyGovernor.sol │ │ └── interface.IEmergencyGovernor.md │ ├── IEmergencyGovernorDeployer.sol │ │ └── interface.IEmergencyGovernorDeployer.md │ ├── IPowerBootstrapToken.sol │ │ └── interface.IPowerBootstrapToken.md │ ├── IPowerToken.sol │ │ └── interface.IPowerToken.md │ ├── IPowerTokenDeployer.sol │ │ └── interface.IPowerTokenDeployer.md │ ├── IRegistrar.sol │ │ └── interface.IRegistrar.md │ ├── IStandardGovernor.sol │ │ └── interface.IStandardGovernor.md │ ├── IStandardGovernorDeployer.sol │ │ └── interface.IStandardGovernorDeployer.md │ ├── IZeroGovernor.sol │ │ └── interface.IZeroGovernor.md │ ├── IZeroToken.sol │ │ └── interface.IZeroToken.md │ └── README.md │ └── libs │ ├── PureEpochs.sol │ └── library.PureEpochs.md │ └── README.md ├── protocol-audit-reports ├── Audits and fixes overview.pdf ├── Certora Audit report.pdf ├── ChainSecurity Audit Report.pdf ├── Kirill Fedoseev Independent Auditor Report.md ├── OpenZeppelin Audit Report.pdf ├── Prototech Labs Audit Report.pdf ├── Quantstamp Audit Report.pdf ├── Quantstamp External Fix Review.pdf ├── README.md ├── Sherlock Audit Report.pdf └── ThreeSigma Audit Report.pdf ├── protocol-eng-specs ├── M^0 Protocol Engineering Spec_v1.1.pdf ├── M^0 TTG Engineering Spec_v1.2.pdf └── TTG governors lifecycle diagram.png ├── whitepaper └── M^0 Protocol Whitepaper 20240320.pdf ├── wrapped-M-audit-reports ├── ChainSecurity Wrapped M Audit Report.pdf ├── Kirill Fedoseev Audit Report.md └── ThreeSigma Wrapped M Audit Report.pdf └── wrapped-M-specs └── Wrapped M Engineering Spec V03.pdf /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/README.md -------------------------------------------------------------------------------- /docs/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/.DS_Store -------------------------------------------------------------------------------- /docs/common/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/common/.DS_Store -------------------------------------------------------------------------------- /docs/common/.gitignore: -------------------------------------------------------------------------------- 1 | book/ -------------------------------------------------------------------------------- /docs/common/book.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/common/book.css -------------------------------------------------------------------------------- /docs/common/book.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/common/book.toml -------------------------------------------------------------------------------- /docs/common/solidity.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/common/solidity.min.js -------------------------------------------------------------------------------- /docs/common/src/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/common/src/.DS_Store -------------------------------------------------------------------------------- /docs/common/src/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/common/src/README.md -------------------------------------------------------------------------------- /docs/common/src/SUMMARY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/common/src/SUMMARY.md -------------------------------------------------------------------------------- /docs/common/src/src/ContractHelper.sol/library.ContractHelper.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/common/src/src/ContractHelper.sol/library.ContractHelper.md -------------------------------------------------------------------------------- /docs/common/src/src/ERC20Extended.sol/abstract.ERC20Extended.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/common/src/src/ERC20Extended.sol/abstract.ERC20Extended.md -------------------------------------------------------------------------------- /docs/common/src/src/ERC3009.sol/abstract.ERC3009.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/common/src/src/ERC3009.sol/abstract.ERC3009.md -------------------------------------------------------------------------------- /docs/common/src/src/ERC712Extended.sol/abstract.ERC712Extended.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/common/src/src/ERC712Extended.sol/abstract.ERC712Extended.md -------------------------------------------------------------------------------- /docs/common/src/src/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/common/src/src/README.md -------------------------------------------------------------------------------- /docs/common/src/src/StatefulERC712.sol/abstract.StatefulERC712.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/common/src/src/StatefulERC712.sol/abstract.StatefulERC712.md -------------------------------------------------------------------------------- /docs/common/src/src/interfaces/IERC1271.sol/interface.IERC1271.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/common/src/src/interfaces/IERC1271.sol/interface.IERC1271.md -------------------------------------------------------------------------------- /docs/common/src/src/interfaces/IERC20.sol/interface.IERC20.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/common/src/src/interfaces/IERC20.sol/interface.IERC20.md -------------------------------------------------------------------------------- /docs/common/src/src/interfaces/IERC20Extended.sol/interface.IERC20Extended.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/common/src/src/interfaces/IERC20Extended.sol/interface.IERC20Extended.md -------------------------------------------------------------------------------- /docs/common/src/src/interfaces/IERC3009.sol/interface.IERC3009.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/common/src/src/interfaces/IERC3009.sol/interface.IERC3009.md -------------------------------------------------------------------------------- /docs/common/src/src/interfaces/IERC712.sol/interface.IERC712.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/common/src/src/interfaces/IERC712.sol/interface.IERC712.md -------------------------------------------------------------------------------- /docs/common/src/src/interfaces/IERC712Extended.sol/interface.IERC712Extended.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/common/src/src/interfaces/IERC712Extended.sol/interface.IERC712Extended.md -------------------------------------------------------------------------------- /docs/common/src/src/interfaces/IStatefulERC712.sol/interface.IStatefulERC712.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/common/src/src/interfaces/IStatefulERC712.sol/interface.IStatefulERC712.md -------------------------------------------------------------------------------- /docs/common/src/src/interfaces/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/common/src/src/interfaces/README.md -------------------------------------------------------------------------------- /docs/common/src/src/libs/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/common/src/src/libs/README.md -------------------------------------------------------------------------------- /docs/common/src/src/libs/SignatureChecker.sol/library.SignatureChecker.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/common/src/src/libs/SignatureChecker.sol/library.SignatureChecker.md -------------------------------------------------------------------------------- /docs/common/src/src/libs/UIntMath.sol/library.UIntMath.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/common/src/src/libs/UIntMath.sol/library.UIntMath.md -------------------------------------------------------------------------------- /docs/protocol/.gitignore: -------------------------------------------------------------------------------- 1 | book/ -------------------------------------------------------------------------------- /docs/protocol/book.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/protocol/book.css -------------------------------------------------------------------------------- /docs/protocol/book.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/protocol/book.toml -------------------------------------------------------------------------------- /docs/protocol/solidity.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/protocol/solidity.min.js -------------------------------------------------------------------------------- /docs/protocol/src/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/protocol/src/README.md -------------------------------------------------------------------------------- /docs/protocol/src/SUMMARY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/protocol/src/SUMMARY.md -------------------------------------------------------------------------------- /docs/protocol/src/src/ContinuousIndexing.sol/abstract.ContinuousIndexing.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/protocol/src/src/ContinuousIndexing.sol/abstract.ContinuousIndexing.md -------------------------------------------------------------------------------- /docs/protocol/src/src/EarnerRateModel.sol/contract.EarnerRateModel.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/protocol/src/src/EarnerRateModel.sol/contract.EarnerRateModel.md -------------------------------------------------------------------------------- /docs/protocol/src/src/MToken.sol/contract.MToken.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/protocol/src/src/MToken.sol/contract.MToken.md -------------------------------------------------------------------------------- /docs/protocol/src/src/MinterGateway.sol/contract.MinterGateway.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/protocol/src/src/MinterGateway.sol/contract.MinterGateway.md -------------------------------------------------------------------------------- /docs/protocol/src/src/MinterRateModel.sol/contract.MinterRateModel.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/protocol/src/src/MinterRateModel.sol/contract.MinterRateModel.md -------------------------------------------------------------------------------- /docs/protocol/src/src/Protocol.sol/contract.Protocol.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/protocol/src/src/Protocol.sol/contract.Protocol.md -------------------------------------------------------------------------------- /docs/protocol/src/src/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/protocol/src/src/README.md -------------------------------------------------------------------------------- /docs/protocol/src/src/abstract/ContinuousIndexing.sol/abstract.ContinuousIndexing.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/protocol/src/src/abstract/ContinuousIndexing.sol/abstract.ContinuousIndexing.md -------------------------------------------------------------------------------- /docs/protocol/src/src/abstract/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/protocol/src/src/abstract/README.md -------------------------------------------------------------------------------- /docs/protocol/src/src/interfaces/IContinuousIndexing.sol/interface.IContinuousIndexing.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/protocol/src/src/interfaces/IContinuousIndexing.sol/interface.IContinuousIndexing.md -------------------------------------------------------------------------------- /docs/protocol/src/src/interfaces/IEarnerRateModel.sol/interface.IEarnerRateModel.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/protocol/src/src/interfaces/IEarnerRateModel.sol/interface.IEarnerRateModel.md -------------------------------------------------------------------------------- /docs/protocol/src/src/interfaces/IMToken.sol/interface.IMToken.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/protocol/src/src/interfaces/IMToken.sol/interface.IMToken.md -------------------------------------------------------------------------------- /docs/protocol/src/src/interfaces/IMinterGateway.sol/interface.IMinterGateway.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/protocol/src/src/interfaces/IMinterGateway.sol/interface.IMinterGateway.md -------------------------------------------------------------------------------- /docs/protocol/src/src/interfaces/IMinterRateModel.sol/interface.IMinterRateModel.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/protocol/src/src/interfaces/IMinterRateModel.sol/interface.IMinterRateModel.md -------------------------------------------------------------------------------- /docs/protocol/src/src/interfaces/IProtocol.sol/interface.IProtocol.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/protocol/src/src/interfaces/IProtocol.sol/interface.IProtocol.md -------------------------------------------------------------------------------- /docs/protocol/src/src/interfaces/IRateModel.sol/interface.IRateModel.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/protocol/src/src/interfaces/IRateModel.sol/interface.IRateModel.md -------------------------------------------------------------------------------- /docs/protocol/src/src/interfaces/ISPOGRegistrar.sol/interface.ISPOGRegistrar.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/protocol/src/src/interfaces/ISPOGRegistrar.sol/interface.ISPOGRegistrar.md -------------------------------------------------------------------------------- /docs/protocol/src/src/interfaces/ITTGRegistrar.sol/interface.ITTGRegistrar.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/protocol/src/src/interfaces/ITTGRegistrar.sol/interface.ITTGRegistrar.md -------------------------------------------------------------------------------- /docs/protocol/src/src/interfaces/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/protocol/src/src/interfaces/README.md -------------------------------------------------------------------------------- /docs/protocol/src/src/libs/ContinuousIndexingMath.sol/library.ContinuousIndexingMath.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/protocol/src/src/libs/ContinuousIndexingMath.sol/library.ContinuousIndexingMath.md -------------------------------------------------------------------------------- /docs/protocol/src/src/libs/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/protocol/src/src/libs/README.md -------------------------------------------------------------------------------- /docs/protocol/src/src/libs/SPOGRegistrarReader.sol/library.SPOGRegistrarReader.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/protocol/src/src/libs/SPOGRegistrarReader.sol/library.SPOGRegistrarReader.md -------------------------------------------------------------------------------- /docs/protocol/src/src/libs/TTGRegistrarReader.sol/library.TTGRegistrarReader.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/protocol/src/src/libs/TTGRegistrarReader.sol/library.TTGRegistrarReader.md -------------------------------------------------------------------------------- /docs/protocol/src/src/rateModels/MinterRateModel.sol/contract.MinterRateModel.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/protocol/src/src/rateModels/MinterRateModel.sol/contract.MinterRateModel.md -------------------------------------------------------------------------------- /docs/protocol/src/src/rateModels/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/protocol/src/src/rateModels/README.md -------------------------------------------------------------------------------- /docs/protocol/src/src/rateModels/StableEarnerRateModel.sol/contract.StableEarnerRateModel.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/protocol/src/src/rateModels/StableEarnerRateModel.sol/contract.StableEarnerRateModel.md -------------------------------------------------------------------------------- /docs/protocol/src/src/rateModels/interfaces/IEarnerRateModel.sol/interface.IEarnerRateModel.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/protocol/src/src/rateModels/interfaces/IEarnerRateModel.sol/interface.IEarnerRateModel.md -------------------------------------------------------------------------------- /docs/protocol/src/src/rateModels/interfaces/IMinterRateModel.sol/interface.IMinterRateModel.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/protocol/src/src/rateModels/interfaces/IMinterRateModel.sol/interface.IMinterRateModel.md -------------------------------------------------------------------------------- /docs/protocol/src/src/rateModels/interfaces/IStableEarnerRateModel.sol/interface.IStableEarnerRateModel.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/protocol/src/src/rateModels/interfaces/IStableEarnerRateModel.sol/interface.IStableEarnerRateModel.md -------------------------------------------------------------------------------- /docs/protocol/src/src/rateModels/interfaces/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/protocol/src/src/rateModels/interfaces/README.md -------------------------------------------------------------------------------- /docs/ttg/.gitignore: -------------------------------------------------------------------------------- 1 | book/ -------------------------------------------------------------------------------- /docs/ttg/book.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/ttg/book.css -------------------------------------------------------------------------------- /docs/ttg/book.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/ttg/book.toml -------------------------------------------------------------------------------- /docs/ttg/solidity.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/ttg/solidity.min.js -------------------------------------------------------------------------------- /docs/ttg/src/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/ttg/src/README.md -------------------------------------------------------------------------------- /docs/ttg/src/SUMMARY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/ttg/src/SUMMARY.md -------------------------------------------------------------------------------- /docs/ttg/src/src/DistributionVault.sol/contract.DistributionVault.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/ttg/src/src/DistributionVault.sol/contract.DistributionVault.md -------------------------------------------------------------------------------- /docs/ttg/src/src/EmergencyGovernor.sol/contract.EmergencyGovernor.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/ttg/src/src/EmergencyGovernor.sol/contract.EmergencyGovernor.md -------------------------------------------------------------------------------- /docs/ttg/src/src/EmergencyGovernorDeployer.sol/contract.EmergencyGovernorDeployer.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/ttg/src/src/EmergencyGovernorDeployer.sol/contract.EmergencyGovernorDeployer.md -------------------------------------------------------------------------------- /docs/ttg/src/src/PowerBootstrapToken.sol/contract.PowerBootstrapToken.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/ttg/src/src/PowerBootstrapToken.sol/contract.PowerBootstrapToken.md -------------------------------------------------------------------------------- /docs/ttg/src/src/PowerToken.sol/contract.PowerToken.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/ttg/src/src/PowerToken.sol/contract.PowerToken.md -------------------------------------------------------------------------------- /docs/ttg/src/src/PowerTokenDeployer.sol/contract.PowerTokenDeployer.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/ttg/src/src/PowerTokenDeployer.sol/contract.PowerTokenDeployer.md -------------------------------------------------------------------------------- /docs/ttg/src/src/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/ttg/src/src/README.md -------------------------------------------------------------------------------- /docs/ttg/src/src/Registrar.sol/contract.Registrar.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/ttg/src/src/Registrar.sol/contract.Registrar.md -------------------------------------------------------------------------------- /docs/ttg/src/src/StandardGovernor.sol/contract.StandardGovernor.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/ttg/src/src/StandardGovernor.sol/contract.StandardGovernor.md -------------------------------------------------------------------------------- /docs/ttg/src/src/StandardGovernorDeployer.sol/contract.StandardGovernorDeployer.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/ttg/src/src/StandardGovernorDeployer.sol/contract.StandardGovernorDeployer.md -------------------------------------------------------------------------------- /docs/ttg/src/src/ZeroGovernor.sol/contract.ZeroGovernor.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/ttg/src/src/ZeroGovernor.sol/contract.ZeroGovernor.md -------------------------------------------------------------------------------- /docs/ttg/src/src/ZeroToken.sol/contract.ZeroToken.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/ttg/src/src/ZeroToken.sol/contract.ZeroToken.md -------------------------------------------------------------------------------- /docs/ttg/src/src/abstract/BatchGovernor.sol/abstract.BatchGovernor.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/ttg/src/src/abstract/BatchGovernor.sol/abstract.BatchGovernor.md -------------------------------------------------------------------------------- /docs/ttg/src/src/abstract/ERC5805.sol/abstract.ERC5805.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/ttg/src/src/abstract/ERC5805.sol/abstract.ERC5805.md -------------------------------------------------------------------------------- /docs/ttg/src/src/abstract/EpochBasedInflationaryVoteToken.sol/abstract.EpochBasedInflationaryVoteToken.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/ttg/src/src/abstract/EpochBasedInflationaryVoteToken.sol/abstract.EpochBasedInflationaryVoteToken.md -------------------------------------------------------------------------------- /docs/ttg/src/src/abstract/EpochBasedVoteToken.sol/abstract.EpochBasedVoteToken.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/ttg/src/src/abstract/EpochBasedVoteToken.sol/abstract.EpochBasedVoteToken.md -------------------------------------------------------------------------------- /docs/ttg/src/src/abstract/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/ttg/src/src/abstract/README.md -------------------------------------------------------------------------------- /docs/ttg/src/src/abstract/ThresholdGovernor.sol/abstract.ThresholdGovernor.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/ttg/src/src/abstract/ThresholdGovernor.sol/abstract.ThresholdGovernor.md -------------------------------------------------------------------------------- /docs/ttg/src/src/abstract/interfaces/IBatchGovernor.sol/interface.IBatchGovernor.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/ttg/src/src/abstract/interfaces/IBatchGovernor.sol/interface.IBatchGovernor.md -------------------------------------------------------------------------------- /docs/ttg/src/src/abstract/interfaces/IERC5805.sol/interface.IERC5805.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/ttg/src/src/abstract/interfaces/IERC5805.sol/interface.IERC5805.md -------------------------------------------------------------------------------- /docs/ttg/src/src/abstract/interfaces/IERC6372.sol/interface.IERC6372.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/ttg/src/src/abstract/interfaces/IERC6372.sol/interface.IERC6372.md -------------------------------------------------------------------------------- /docs/ttg/src/src/abstract/interfaces/IEpochBasedInflationaryVoteToken.sol/interface.IEpochBasedInflationaryVoteToken.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/ttg/src/src/abstract/interfaces/IEpochBasedInflationaryVoteToken.sol/interface.IEpochBasedInflationaryVoteToken.md -------------------------------------------------------------------------------- /docs/ttg/src/src/abstract/interfaces/IEpochBasedVoteToken.sol/interface.IEpochBasedVoteToken.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/ttg/src/src/abstract/interfaces/IEpochBasedVoteToken.sol/interface.IEpochBasedVoteToken.md -------------------------------------------------------------------------------- /docs/ttg/src/src/abstract/interfaces/IGovernor.sol/interface.IGovernor.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/ttg/src/src/abstract/interfaces/IGovernor.sol/interface.IGovernor.md -------------------------------------------------------------------------------- /docs/ttg/src/src/abstract/interfaces/IThresholdGovernor.sol/interface.IThresholdGovernor.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/ttg/src/src/abstract/interfaces/IThresholdGovernor.sol/interface.IThresholdGovernor.md -------------------------------------------------------------------------------- /docs/ttg/src/src/abstract/interfaces/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/ttg/src/src/abstract/interfaces/README.md -------------------------------------------------------------------------------- /docs/ttg/src/src/interfaces/IDeployer.sol/interface.IDeployer.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/ttg/src/src/interfaces/IDeployer.sol/interface.IDeployer.md -------------------------------------------------------------------------------- /docs/ttg/src/src/interfaces/IDistributionVault.sol/interface.IDistributionVault.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/ttg/src/src/interfaces/IDistributionVault.sol/interface.IDistributionVault.md -------------------------------------------------------------------------------- /docs/ttg/src/src/interfaces/IEmergencyGovernor.sol/interface.IEmergencyGovernor.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/ttg/src/src/interfaces/IEmergencyGovernor.sol/interface.IEmergencyGovernor.md -------------------------------------------------------------------------------- /docs/ttg/src/src/interfaces/IEmergencyGovernorDeployer.sol/interface.IEmergencyGovernorDeployer.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/ttg/src/src/interfaces/IEmergencyGovernorDeployer.sol/interface.IEmergencyGovernorDeployer.md -------------------------------------------------------------------------------- /docs/ttg/src/src/interfaces/IPowerBootstrapToken.sol/interface.IPowerBootstrapToken.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/ttg/src/src/interfaces/IPowerBootstrapToken.sol/interface.IPowerBootstrapToken.md -------------------------------------------------------------------------------- /docs/ttg/src/src/interfaces/IPowerToken.sol/interface.IPowerToken.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/ttg/src/src/interfaces/IPowerToken.sol/interface.IPowerToken.md -------------------------------------------------------------------------------- /docs/ttg/src/src/interfaces/IPowerTokenDeployer.sol/interface.IPowerTokenDeployer.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/ttg/src/src/interfaces/IPowerTokenDeployer.sol/interface.IPowerTokenDeployer.md -------------------------------------------------------------------------------- /docs/ttg/src/src/interfaces/IRegistrar.sol/interface.IRegistrar.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/ttg/src/src/interfaces/IRegistrar.sol/interface.IRegistrar.md -------------------------------------------------------------------------------- /docs/ttg/src/src/interfaces/IStandardGovernor.sol/interface.IStandardGovernor.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/ttg/src/src/interfaces/IStandardGovernor.sol/interface.IStandardGovernor.md -------------------------------------------------------------------------------- /docs/ttg/src/src/interfaces/IStandardGovernorDeployer.sol/interface.IStandardGovernorDeployer.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/ttg/src/src/interfaces/IStandardGovernorDeployer.sol/interface.IStandardGovernorDeployer.md -------------------------------------------------------------------------------- /docs/ttg/src/src/interfaces/IZeroGovernor.sol/interface.IZeroGovernor.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/ttg/src/src/interfaces/IZeroGovernor.sol/interface.IZeroGovernor.md -------------------------------------------------------------------------------- /docs/ttg/src/src/interfaces/IZeroToken.sol/interface.IZeroToken.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/ttg/src/src/interfaces/IZeroToken.sol/interface.IZeroToken.md -------------------------------------------------------------------------------- /docs/ttg/src/src/interfaces/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/ttg/src/src/interfaces/README.md -------------------------------------------------------------------------------- /docs/ttg/src/src/libs/PureEpochs.sol/library.PureEpochs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/ttg/src/src/libs/PureEpochs.sol/library.PureEpochs.md -------------------------------------------------------------------------------- /docs/ttg/src/src/libs/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/docs/ttg/src/src/libs/README.md -------------------------------------------------------------------------------- /protocol-audit-reports/Audits and fixes overview.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/protocol-audit-reports/Audits and fixes overview.pdf -------------------------------------------------------------------------------- /protocol-audit-reports/Certora Audit report.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/protocol-audit-reports/Certora Audit report.pdf -------------------------------------------------------------------------------- /protocol-audit-reports/ChainSecurity Audit Report.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/protocol-audit-reports/ChainSecurity Audit Report.pdf -------------------------------------------------------------------------------- /protocol-audit-reports/Kirill Fedoseev Independent Auditor Report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/protocol-audit-reports/Kirill Fedoseev Independent Auditor Report.md -------------------------------------------------------------------------------- /protocol-audit-reports/OpenZeppelin Audit Report.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/protocol-audit-reports/OpenZeppelin Audit Report.pdf -------------------------------------------------------------------------------- /protocol-audit-reports/Prototech Labs Audit Report.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/protocol-audit-reports/Prototech Labs Audit Report.pdf -------------------------------------------------------------------------------- /protocol-audit-reports/Quantstamp Audit Report.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/protocol-audit-reports/Quantstamp Audit Report.pdf -------------------------------------------------------------------------------- /protocol-audit-reports/Quantstamp External Fix Review.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/protocol-audit-reports/Quantstamp External Fix Review.pdf -------------------------------------------------------------------------------- /protocol-audit-reports/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/protocol-audit-reports/README.md -------------------------------------------------------------------------------- /protocol-audit-reports/Sherlock Audit Report.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/protocol-audit-reports/Sherlock Audit Report.pdf -------------------------------------------------------------------------------- /protocol-audit-reports/ThreeSigma Audit Report.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/protocol-audit-reports/ThreeSigma Audit Report.pdf -------------------------------------------------------------------------------- /protocol-eng-specs/M^0 Protocol Engineering Spec_v1.1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/protocol-eng-specs/M^0 Protocol Engineering Spec_v1.1.pdf -------------------------------------------------------------------------------- /protocol-eng-specs/M^0 TTG Engineering Spec_v1.2.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/protocol-eng-specs/M^0 TTG Engineering Spec_v1.2.pdf -------------------------------------------------------------------------------- /protocol-eng-specs/TTG governors lifecycle diagram.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/protocol-eng-specs/TTG governors lifecycle diagram.png -------------------------------------------------------------------------------- /whitepaper/M^0 Protocol Whitepaper 20240320.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/whitepaper/M^0 Protocol Whitepaper 20240320.pdf -------------------------------------------------------------------------------- /wrapped-M-audit-reports/ChainSecurity Wrapped M Audit Report.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/wrapped-M-audit-reports/ChainSecurity Wrapped M Audit Report.pdf -------------------------------------------------------------------------------- /wrapped-M-audit-reports/Kirill Fedoseev Audit Report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/wrapped-M-audit-reports/Kirill Fedoseev Audit Report.md -------------------------------------------------------------------------------- /wrapped-M-audit-reports/ThreeSigma Wrapped M Audit Report.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/wrapped-M-audit-reports/ThreeSigma Wrapped M Audit Report.pdf -------------------------------------------------------------------------------- /wrapped-M-specs/Wrapped M Engineering Spec V03.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/m0-foundation/documentation/HEAD/wrapped-M-specs/Wrapped M Engineering Spec V03.pdf --------------------------------------------------------------------------------