├── .gitignore ├── .travis.yml ├── LICENSE ├── Makefile ├── README.md ├── config.mk ├── erc20 ├── DSL.v ├── DSL2.v ├── Makefile ├── Model.v ├── Prop.v ├── Spec.v ├── _CoqProject └── erc20.sol ├── erc20_burnable ├── DSL.v ├── Makefile ├── Model.v ├── Prop.v ├── Spec.v ├── _CoqProject └── erc20.sol ├── erc20_lockable ├── DSL.v ├── Makefile ├── Model.v ├── MyToken.sol ├── Prop.v ├── Spec.v └── _CoqProject ├── erc20_mintable ├── DSL.v ├── Makefile ├── Model.v ├── Prop.v ├── Spec.v ├── _CoqProject └── erc20.sol ├── erc20_pausable ├── DSL.v ├── Makefile ├── Model.v ├── Prop.v ├── Spec.v ├── _CoqProject └── erc20.sol ├── erc20_upgradable ├── DSL.v ├── Makefile ├── Model.v ├── Prop.v ├── Spec.v ├── _CoqProject ├── erc20_new.sol └── erc20_old.sol ├── erc721 ├── DSL.v ├── Makefile ├── Model.v ├── Prop.v ├── Spec.v ├── _CoqProject └── erc721.sol ├── libs ├── v1 │ ├── AbsModel.v │ ├── BNat.v │ ├── LibEx.v │ ├── Mapping.v │ ├── TMap.v │ ├── TMapLib.v │ └── Types.v └── wip │ ├── A2B.v │ ├── A2V.v │ ├── AA2B.v │ ├── AA2V.v │ ├── AbsModel.v │ ├── ElemTypes.v │ ├── LibEx.v │ ├── Mapping.v │ ├── Mapping2.v │ ├── Maps.v │ ├── Types.v │ └── V2A.v └── prove_flow.png /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sec-bit/tokenlibs-with-proofs/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sec-bit/tokenlibs-with-proofs/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sec-bit/tokenlibs-with-proofs/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sec-bit/tokenlibs-with-proofs/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sec-bit/tokenlibs-with-proofs/HEAD/README.md -------------------------------------------------------------------------------- /config.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sec-bit/tokenlibs-with-proofs/HEAD/config.mk -------------------------------------------------------------------------------- /erc20/DSL.v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sec-bit/tokenlibs-with-proofs/HEAD/erc20/DSL.v -------------------------------------------------------------------------------- /erc20/DSL2.v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sec-bit/tokenlibs-with-proofs/HEAD/erc20/DSL2.v -------------------------------------------------------------------------------- /erc20/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sec-bit/tokenlibs-with-proofs/HEAD/erc20/Makefile -------------------------------------------------------------------------------- /erc20/Model.v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sec-bit/tokenlibs-with-proofs/HEAD/erc20/Model.v -------------------------------------------------------------------------------- /erc20/Prop.v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sec-bit/tokenlibs-with-proofs/HEAD/erc20/Prop.v -------------------------------------------------------------------------------- /erc20/Spec.v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sec-bit/tokenlibs-with-proofs/HEAD/erc20/Spec.v -------------------------------------------------------------------------------- /erc20/_CoqProject: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sec-bit/tokenlibs-with-proofs/HEAD/erc20/_CoqProject -------------------------------------------------------------------------------- /erc20/erc20.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sec-bit/tokenlibs-with-proofs/HEAD/erc20/erc20.sol -------------------------------------------------------------------------------- /erc20_burnable/DSL.v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sec-bit/tokenlibs-with-proofs/HEAD/erc20_burnable/DSL.v -------------------------------------------------------------------------------- /erc20_burnable/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sec-bit/tokenlibs-with-proofs/HEAD/erc20_burnable/Makefile -------------------------------------------------------------------------------- /erc20_burnable/Model.v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sec-bit/tokenlibs-with-proofs/HEAD/erc20_burnable/Model.v -------------------------------------------------------------------------------- /erc20_burnable/Prop.v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sec-bit/tokenlibs-with-proofs/HEAD/erc20_burnable/Prop.v -------------------------------------------------------------------------------- /erc20_burnable/Spec.v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sec-bit/tokenlibs-with-proofs/HEAD/erc20_burnable/Spec.v -------------------------------------------------------------------------------- /erc20_burnable/_CoqProject: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sec-bit/tokenlibs-with-proofs/HEAD/erc20_burnable/_CoqProject -------------------------------------------------------------------------------- /erc20_burnable/erc20.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sec-bit/tokenlibs-with-proofs/HEAD/erc20_burnable/erc20.sol -------------------------------------------------------------------------------- /erc20_lockable/DSL.v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sec-bit/tokenlibs-with-proofs/HEAD/erc20_lockable/DSL.v -------------------------------------------------------------------------------- /erc20_lockable/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sec-bit/tokenlibs-with-proofs/HEAD/erc20_lockable/Makefile -------------------------------------------------------------------------------- /erc20_lockable/Model.v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sec-bit/tokenlibs-with-proofs/HEAD/erc20_lockable/Model.v -------------------------------------------------------------------------------- /erc20_lockable/MyToken.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sec-bit/tokenlibs-with-proofs/HEAD/erc20_lockable/MyToken.sol -------------------------------------------------------------------------------- /erc20_lockable/Prop.v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sec-bit/tokenlibs-with-proofs/HEAD/erc20_lockable/Prop.v -------------------------------------------------------------------------------- /erc20_lockable/Spec.v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sec-bit/tokenlibs-with-proofs/HEAD/erc20_lockable/Spec.v -------------------------------------------------------------------------------- /erc20_lockable/_CoqProject: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sec-bit/tokenlibs-with-proofs/HEAD/erc20_lockable/_CoqProject -------------------------------------------------------------------------------- /erc20_mintable/DSL.v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sec-bit/tokenlibs-with-proofs/HEAD/erc20_mintable/DSL.v -------------------------------------------------------------------------------- /erc20_mintable/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sec-bit/tokenlibs-with-proofs/HEAD/erc20_mintable/Makefile -------------------------------------------------------------------------------- /erc20_mintable/Model.v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sec-bit/tokenlibs-with-proofs/HEAD/erc20_mintable/Model.v -------------------------------------------------------------------------------- /erc20_mintable/Prop.v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sec-bit/tokenlibs-with-proofs/HEAD/erc20_mintable/Prop.v -------------------------------------------------------------------------------- /erc20_mintable/Spec.v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sec-bit/tokenlibs-with-proofs/HEAD/erc20_mintable/Spec.v -------------------------------------------------------------------------------- /erc20_mintable/_CoqProject: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sec-bit/tokenlibs-with-proofs/HEAD/erc20_mintable/_CoqProject -------------------------------------------------------------------------------- /erc20_mintable/erc20.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sec-bit/tokenlibs-with-proofs/HEAD/erc20_mintable/erc20.sol -------------------------------------------------------------------------------- /erc20_pausable/DSL.v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sec-bit/tokenlibs-with-proofs/HEAD/erc20_pausable/DSL.v -------------------------------------------------------------------------------- /erc20_pausable/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sec-bit/tokenlibs-with-proofs/HEAD/erc20_pausable/Makefile -------------------------------------------------------------------------------- /erc20_pausable/Model.v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sec-bit/tokenlibs-with-proofs/HEAD/erc20_pausable/Model.v -------------------------------------------------------------------------------- /erc20_pausable/Prop.v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sec-bit/tokenlibs-with-proofs/HEAD/erc20_pausable/Prop.v -------------------------------------------------------------------------------- /erc20_pausable/Spec.v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sec-bit/tokenlibs-with-proofs/HEAD/erc20_pausable/Spec.v -------------------------------------------------------------------------------- /erc20_pausable/_CoqProject: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sec-bit/tokenlibs-with-proofs/HEAD/erc20_pausable/_CoqProject -------------------------------------------------------------------------------- /erc20_pausable/erc20.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sec-bit/tokenlibs-with-proofs/HEAD/erc20_pausable/erc20.sol -------------------------------------------------------------------------------- /erc20_upgradable/DSL.v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sec-bit/tokenlibs-with-proofs/HEAD/erc20_upgradable/DSL.v -------------------------------------------------------------------------------- /erc20_upgradable/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sec-bit/tokenlibs-with-proofs/HEAD/erc20_upgradable/Makefile -------------------------------------------------------------------------------- /erc20_upgradable/Model.v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sec-bit/tokenlibs-with-proofs/HEAD/erc20_upgradable/Model.v -------------------------------------------------------------------------------- /erc20_upgradable/Prop.v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sec-bit/tokenlibs-with-proofs/HEAD/erc20_upgradable/Prop.v -------------------------------------------------------------------------------- /erc20_upgradable/Spec.v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sec-bit/tokenlibs-with-proofs/HEAD/erc20_upgradable/Spec.v -------------------------------------------------------------------------------- /erc20_upgradable/_CoqProject: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sec-bit/tokenlibs-with-proofs/HEAD/erc20_upgradable/_CoqProject -------------------------------------------------------------------------------- /erc20_upgradable/erc20_new.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sec-bit/tokenlibs-with-proofs/HEAD/erc20_upgradable/erc20_new.sol -------------------------------------------------------------------------------- /erc20_upgradable/erc20_old.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sec-bit/tokenlibs-with-proofs/HEAD/erc20_upgradable/erc20_old.sol -------------------------------------------------------------------------------- /erc721/DSL.v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sec-bit/tokenlibs-with-proofs/HEAD/erc721/DSL.v -------------------------------------------------------------------------------- /erc721/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sec-bit/tokenlibs-with-proofs/HEAD/erc721/Makefile -------------------------------------------------------------------------------- /erc721/Model.v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sec-bit/tokenlibs-with-proofs/HEAD/erc721/Model.v -------------------------------------------------------------------------------- /erc721/Prop.v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sec-bit/tokenlibs-with-proofs/HEAD/erc721/Prop.v -------------------------------------------------------------------------------- /erc721/Spec.v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sec-bit/tokenlibs-with-proofs/HEAD/erc721/Spec.v -------------------------------------------------------------------------------- /erc721/_CoqProject: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sec-bit/tokenlibs-with-proofs/HEAD/erc721/_CoqProject -------------------------------------------------------------------------------- /erc721/erc721.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sec-bit/tokenlibs-with-proofs/HEAD/erc721/erc721.sol -------------------------------------------------------------------------------- /libs/v1/AbsModel.v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sec-bit/tokenlibs-with-proofs/HEAD/libs/v1/AbsModel.v -------------------------------------------------------------------------------- /libs/v1/BNat.v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sec-bit/tokenlibs-with-proofs/HEAD/libs/v1/BNat.v -------------------------------------------------------------------------------- /libs/v1/LibEx.v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sec-bit/tokenlibs-with-proofs/HEAD/libs/v1/LibEx.v -------------------------------------------------------------------------------- /libs/v1/Mapping.v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sec-bit/tokenlibs-with-proofs/HEAD/libs/v1/Mapping.v -------------------------------------------------------------------------------- /libs/v1/TMap.v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sec-bit/tokenlibs-with-proofs/HEAD/libs/v1/TMap.v -------------------------------------------------------------------------------- /libs/v1/TMapLib.v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sec-bit/tokenlibs-with-proofs/HEAD/libs/v1/TMapLib.v -------------------------------------------------------------------------------- /libs/v1/Types.v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sec-bit/tokenlibs-with-proofs/HEAD/libs/v1/Types.v -------------------------------------------------------------------------------- /libs/wip/A2B.v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sec-bit/tokenlibs-with-proofs/HEAD/libs/wip/A2B.v -------------------------------------------------------------------------------- /libs/wip/A2V.v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sec-bit/tokenlibs-with-proofs/HEAD/libs/wip/A2V.v -------------------------------------------------------------------------------- /libs/wip/AA2B.v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sec-bit/tokenlibs-with-proofs/HEAD/libs/wip/AA2B.v -------------------------------------------------------------------------------- /libs/wip/AA2V.v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sec-bit/tokenlibs-with-proofs/HEAD/libs/wip/AA2V.v -------------------------------------------------------------------------------- /libs/wip/AbsModel.v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sec-bit/tokenlibs-with-proofs/HEAD/libs/wip/AbsModel.v -------------------------------------------------------------------------------- /libs/wip/ElemTypes.v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sec-bit/tokenlibs-with-proofs/HEAD/libs/wip/ElemTypes.v -------------------------------------------------------------------------------- /libs/wip/LibEx.v: -------------------------------------------------------------------------------- 1 | ../v1/LibEx.v -------------------------------------------------------------------------------- /libs/wip/Mapping.v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sec-bit/tokenlibs-with-proofs/HEAD/libs/wip/Mapping.v -------------------------------------------------------------------------------- /libs/wip/Mapping2.v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sec-bit/tokenlibs-with-proofs/HEAD/libs/wip/Mapping2.v -------------------------------------------------------------------------------- /libs/wip/Maps.v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sec-bit/tokenlibs-with-proofs/HEAD/libs/wip/Maps.v -------------------------------------------------------------------------------- /libs/wip/Types.v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sec-bit/tokenlibs-with-proofs/HEAD/libs/wip/Types.v -------------------------------------------------------------------------------- /libs/wip/V2A.v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sec-bit/tokenlibs-with-proofs/HEAD/libs/wip/V2A.v -------------------------------------------------------------------------------- /prove_flow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sec-bit/tokenlibs-with-proofs/HEAD/prove_flow.png --------------------------------------------------------------------------------