├── CHANGELOG.md ├── LICENSE ├── README.md ├── README_CN.md ├── config.ini ├── datatoken ├── .DS_Store ├── __init__.py ├── cli │ └── __init__.py ├── config.py ├── core │ ├── __init__.py │ ├── ddo.py │ ├── dt_helper.py │ ├── metadata.py │ ├── operator.py │ ├── service.py │ └── utils.py ├── csp │ ├── __init__.py │ └── agreement.py ├── model │ ├── __init__.py │ ├── asset_provider.py │ ├── constants.py │ ├── dt_factory.py │ ├── keeper.py │ ├── op_template.py │ ├── role_controller.py │ └── task_market.py ├── service │ ├── __init__.py │ ├── asset.py │ ├── job.py │ ├── system.py │ ├── tracer.py │ └── verifier.py ├── store │ ├── __init__.py │ ├── asset_resolve.py │ └── ipfs_provider.py └── web3 │ ├── __init__.py │ ├── account.py │ ├── constants.py │ ├── contract_base.py │ ├── contract_handler.py │ ├── event_filter.py │ ├── event_listener.py │ ├── transactions.py │ ├── utils.py │ ├── wallet.py │ ├── web3_overrides │ ├── __init__.py │ ├── contract.py │ ├── http_provider.py │ ├── request.py │ └── signature.py │ └── web3_provider.py ├── docs ├── .DS_Store ├── figures │ ├── 1.png │ ├── 2.png │ ├── test.png │ └── tree.png └── grants_cn.md ├── requirements.txt ├── setup.cfg ├── setup.py └── tests ├── template ├── add_op.py └── args.json ├── test.py └── test_web3.py /CHANGELOG.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MVP-Labs/data-token/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MVP-Labs/data-token/HEAD/README.md -------------------------------------------------------------------------------- /README_CN.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MVP-Labs/data-token/HEAD/README_CN.md -------------------------------------------------------------------------------- /config.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MVP-Labs/data-token/HEAD/config.ini -------------------------------------------------------------------------------- /datatoken/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MVP-Labs/data-token/HEAD/datatoken/.DS_Store -------------------------------------------------------------------------------- /datatoken/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /datatoken/cli/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /datatoken/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MVP-Labs/data-token/HEAD/datatoken/config.py -------------------------------------------------------------------------------- /datatoken/core/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /datatoken/core/ddo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MVP-Labs/data-token/HEAD/datatoken/core/ddo.py -------------------------------------------------------------------------------- /datatoken/core/dt_helper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MVP-Labs/data-token/HEAD/datatoken/core/dt_helper.py -------------------------------------------------------------------------------- /datatoken/core/metadata.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MVP-Labs/data-token/HEAD/datatoken/core/metadata.py -------------------------------------------------------------------------------- /datatoken/core/operator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MVP-Labs/data-token/HEAD/datatoken/core/operator.py -------------------------------------------------------------------------------- /datatoken/core/service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MVP-Labs/data-token/HEAD/datatoken/core/service.py -------------------------------------------------------------------------------- /datatoken/core/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MVP-Labs/data-token/HEAD/datatoken/core/utils.py -------------------------------------------------------------------------------- /datatoken/csp/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /datatoken/csp/agreement.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MVP-Labs/data-token/HEAD/datatoken/csp/agreement.py -------------------------------------------------------------------------------- /datatoken/model/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /datatoken/model/asset_provider.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MVP-Labs/data-token/HEAD/datatoken/model/asset_provider.py -------------------------------------------------------------------------------- /datatoken/model/constants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MVP-Labs/data-token/HEAD/datatoken/model/constants.py -------------------------------------------------------------------------------- /datatoken/model/dt_factory.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MVP-Labs/data-token/HEAD/datatoken/model/dt_factory.py -------------------------------------------------------------------------------- /datatoken/model/keeper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MVP-Labs/data-token/HEAD/datatoken/model/keeper.py -------------------------------------------------------------------------------- /datatoken/model/op_template.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MVP-Labs/data-token/HEAD/datatoken/model/op_template.py -------------------------------------------------------------------------------- /datatoken/model/role_controller.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MVP-Labs/data-token/HEAD/datatoken/model/role_controller.py -------------------------------------------------------------------------------- /datatoken/model/task_market.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MVP-Labs/data-token/HEAD/datatoken/model/task_market.py -------------------------------------------------------------------------------- /datatoken/service/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /datatoken/service/asset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MVP-Labs/data-token/HEAD/datatoken/service/asset.py -------------------------------------------------------------------------------- /datatoken/service/job.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MVP-Labs/data-token/HEAD/datatoken/service/job.py -------------------------------------------------------------------------------- /datatoken/service/system.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MVP-Labs/data-token/HEAD/datatoken/service/system.py -------------------------------------------------------------------------------- /datatoken/service/tracer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MVP-Labs/data-token/HEAD/datatoken/service/tracer.py -------------------------------------------------------------------------------- /datatoken/service/verifier.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MVP-Labs/data-token/HEAD/datatoken/service/verifier.py -------------------------------------------------------------------------------- /datatoken/store/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /datatoken/store/asset_resolve.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MVP-Labs/data-token/HEAD/datatoken/store/asset_resolve.py -------------------------------------------------------------------------------- /datatoken/store/ipfs_provider.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MVP-Labs/data-token/HEAD/datatoken/store/ipfs_provider.py -------------------------------------------------------------------------------- /datatoken/web3/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /datatoken/web3/account.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MVP-Labs/data-token/HEAD/datatoken/web3/account.py -------------------------------------------------------------------------------- /datatoken/web3/constants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MVP-Labs/data-token/HEAD/datatoken/web3/constants.py -------------------------------------------------------------------------------- /datatoken/web3/contract_base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MVP-Labs/data-token/HEAD/datatoken/web3/contract_base.py -------------------------------------------------------------------------------- /datatoken/web3/contract_handler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MVP-Labs/data-token/HEAD/datatoken/web3/contract_handler.py -------------------------------------------------------------------------------- /datatoken/web3/event_filter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MVP-Labs/data-token/HEAD/datatoken/web3/event_filter.py -------------------------------------------------------------------------------- /datatoken/web3/event_listener.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MVP-Labs/data-token/HEAD/datatoken/web3/event_listener.py -------------------------------------------------------------------------------- /datatoken/web3/transactions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MVP-Labs/data-token/HEAD/datatoken/web3/transactions.py -------------------------------------------------------------------------------- /datatoken/web3/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MVP-Labs/data-token/HEAD/datatoken/web3/utils.py -------------------------------------------------------------------------------- /datatoken/web3/wallet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MVP-Labs/data-token/HEAD/datatoken/web3/wallet.py -------------------------------------------------------------------------------- /datatoken/web3/web3_overrides/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /datatoken/web3/web3_overrides/contract.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MVP-Labs/data-token/HEAD/datatoken/web3/web3_overrides/contract.py -------------------------------------------------------------------------------- /datatoken/web3/web3_overrides/http_provider.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MVP-Labs/data-token/HEAD/datatoken/web3/web3_overrides/http_provider.py -------------------------------------------------------------------------------- /datatoken/web3/web3_overrides/request.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MVP-Labs/data-token/HEAD/datatoken/web3/web3_overrides/request.py -------------------------------------------------------------------------------- /datatoken/web3/web3_overrides/signature.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MVP-Labs/data-token/HEAD/datatoken/web3/web3_overrides/signature.py -------------------------------------------------------------------------------- /datatoken/web3/web3_provider.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MVP-Labs/data-token/HEAD/datatoken/web3/web3_provider.py -------------------------------------------------------------------------------- /docs/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MVP-Labs/data-token/HEAD/docs/.DS_Store -------------------------------------------------------------------------------- /docs/figures/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MVP-Labs/data-token/HEAD/docs/figures/1.png -------------------------------------------------------------------------------- /docs/figures/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MVP-Labs/data-token/HEAD/docs/figures/2.png -------------------------------------------------------------------------------- /docs/figures/test.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MVP-Labs/data-token/HEAD/docs/figures/test.png -------------------------------------------------------------------------------- /docs/figures/tree.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MVP-Labs/data-token/HEAD/docs/figures/tree.png -------------------------------------------------------------------------------- /docs/grants_cn.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MVP-Labs/data-token/HEAD/docs/grants_cn.md -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | enforce_typing==1.0.0.post1 2 | web3==5.19.0 3 | ipfshttpclient==0.8.0a2 -------------------------------------------------------------------------------- /setup.cfg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/template/add_op.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MVP-Labs/data-token/HEAD/tests/template/add_op.py -------------------------------------------------------------------------------- /tests/template/args.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MVP-Labs/data-token/HEAD/tests/template/args.json -------------------------------------------------------------------------------- /tests/test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MVP-Labs/data-token/HEAD/tests/test.py -------------------------------------------------------------------------------- /tests/test_web3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MVP-Labs/data-token/HEAD/tests/test_web3.py --------------------------------------------------------------------------------