├── .cargo └── config.toml ├── .env.dev ├── .env.mainnet ├── .env.testnet2 ├── .env.testnet3 ├── .gitignore ├── Audit Report - by Least Authority.pdf ├── Cargo.lock ├── Cargo.toml ├── LICENSE ├── README.md ├── contracts ├── .gitkeep ├── account-cell-type │ ├── Cargo.toml │ └── src │ │ ├── approval.rs │ │ ├── did_cell_related.rs │ │ ├── entry.rs │ │ └── main.rs ├── account-sale-cell-type │ ├── Cargo.toml │ └── src │ │ ├── entry.rs │ │ └── main.rs ├── always-success │ ├── Cargo.toml │ └── src │ │ ├── entry.rs │ │ ├── error.rs │ │ └── main.rs ├── apply-register-cell-type │ ├── Cargo.toml │ └── src │ │ ├── entry.rs │ │ └── main.rs ├── balance-cell-type │ ├── Cargo.toml │ └── src │ │ ├── entry │ │ └── mod.rs │ │ └── main.rs ├── config-cell-type │ ├── Cargo.toml │ └── src │ │ ├── entry.rs │ │ └── main.rs ├── device-key-list-cell-type │ ├── Cargo.toml │ ├── examples │ │ └── device-key-list-cell-type │ │ │ ├── create_device_key_list.rs │ │ │ ├── destroy_device_key_list.rs │ │ │ ├── entry.rs │ │ │ ├── helpers.rs │ │ │ ├── main.rs │ │ │ ├── traits.rs │ │ │ └── update_device_key_list.rs │ └── src │ │ ├── error.rs │ │ └── lib.rs ├── did-cell-type │ ├── Cargo.toml │ ├── examples │ │ └── did-cell-type │ │ │ ├── entry.rs │ │ │ ├── main.rs │ │ │ └── utils.rs │ └── src │ │ ├── error.rs │ │ └── lib.rs ├── dpoint-cell-type │ ├── Cargo.toml │ ├── examples │ │ └── dpoint-cell-type │ │ │ ├── burn_dp.rs │ │ │ ├── entry.rs │ │ │ ├── main.rs │ │ │ ├── mint_dp.rs │ │ │ ├── transfer_dp.rs │ │ │ └── util.rs │ └── src │ │ ├── error.rs │ │ └── lib.rs ├── income-cell-type │ ├── Cargo.toml │ └── src │ │ ├── entry.rs │ │ └── main.rs ├── offer-cell-type │ ├── Cargo.toml │ └── src │ │ ├── entry.rs │ │ └── main.rs ├── playground │ ├── Cargo.toml │ └── src │ │ ├── entry.rs │ │ └── main.rs ├── pre-account-cell-type │ ├── Cargo.toml │ └── src │ │ ├── entry.rs │ │ └── main.rs ├── proposal-cell-type │ ├── Cargo.toml │ └── src │ │ ├── entry.rs │ │ └── main.rs ├── reverse-record-cell-type │ ├── Cargo.toml │ └── src │ │ ├── entry.rs │ │ └── main.rs ├── reverse-record-root-cell-type │ ├── Cargo.toml │ └── src │ │ ├── entry.rs │ │ └── main.rs ├── sub-account-cell-type │ ├── Cargo.toml │ └── src │ │ ├── approval.rs │ │ ├── entry.rs │ │ ├── main.rs │ │ └── sub_action.rs └── test-env │ ├── Cargo.toml │ └── src │ ├── config_tests │ └── mod.rs │ ├── entry.rs │ ├── main.rs │ ├── uint_tests │ └── mod.rs │ └── witness_parser_tests │ ├── action_params_data.rs │ ├── mod.rs │ ├── reverse_record.rs │ └── sub_account.rs ├── deployed-scripts ├── .gitkeep ├── always_success ├── dao ├── fake-das-lock ├── fake-secp256k1-blake160-multisig-all ├── fake-secp256k1-blake160-signhash-all ├── secp256k1_blake160_multisig_all ├── secp256k1_blake160_sighash_all └── secp256k1_data ├── docker.sh ├── libs ├── config │ ├── Cargo.toml │ └── src │ │ ├── config.rs │ │ ├── configs │ │ ├── char_set.rs │ │ ├── entity_config.rs │ │ ├── main.rs │ │ ├── mod.rs │ │ ├── preserved_account.rs │ │ ├── raw_config.rs │ │ └── smt_node_white_list.rs │ │ ├── constants.rs │ │ ├── error.rs │ │ ├── lib.rs │ │ ├── macros.rs │ │ ├── traits.rs │ │ └── util.rs ├── das-core │ ├── Cargo.toml │ └── src │ │ ├── constants.rs │ │ ├── contract │ │ ├── defult_structs.rs │ │ ├── mod.rs │ │ └── traits.rs │ │ ├── data_parser │ │ ├── account_cell.rs │ │ ├── apply_register_cell.rs │ │ ├── das_lock_args.rs │ │ ├── dpoint_cell.rs │ │ ├── mod.rs │ │ ├── pre_account_cell.rs │ │ └── sub_account_cell.rs │ │ ├── error.rs │ │ ├── helpers.rs │ │ ├── inspect.rs │ │ ├── lib.rs │ │ ├── macros.rs │ │ ├── sign_util.rs │ │ ├── since_util.rs │ │ ├── traits.rs │ │ ├── types.rs │ │ ├── util.rs │ │ ├── verifiers │ │ ├── account_cell.rs │ │ ├── balance_cell.rs │ │ ├── common.rs │ │ ├── income_cell.rs │ │ ├── misc.rs │ │ ├── mod.rs │ │ └── sub_account_cell.rs │ │ └── witness_parser │ │ ├── device_key_list.rs │ │ ├── general_witness_parser.rs │ │ ├── lv_parser.rs │ │ ├── mod.rs │ │ ├── reverse_record.rs │ │ ├── sub_account.rs │ │ ├── webauthn_signature.rs │ │ └── witness_parser_legacy.rs ├── das-dynamic-libs │ ├── Cargo.toml │ └── src │ │ ├── constants.rs │ │ ├── error.rs │ │ ├── lib.rs │ │ ├── macros.rs │ │ ├── sign_lib.rs │ │ └── util.rs ├── das-map │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── map.rs │ │ └── util.rs ├── das-sorted-list │ ├── Cargo.toml │ └── src │ │ ├── das_sorted_list.rs │ │ ├── lib.rs │ │ └── util.rs ├── das-types │ ├── Cargo.toml │ ├── LICENSE │ ├── README.md │ ├── build.rs │ ├── compile.sh │ ├── go │ │ ├── .gitkeep │ │ └── src │ │ │ ├── basic.go │ │ │ ├── cell.go │ │ │ ├── cell_v1.go │ │ │ ├── cell_v2.go │ │ │ ├── cell_v3.go │ │ │ └── config_history.go │ ├── js │ │ ├── .gitkeep │ │ └── src │ │ │ ├── basic.d.ts │ │ │ ├── basic.js │ │ │ ├── cell.d.ts │ │ │ ├── cell.js │ │ │ ├── cell_v1.d.ts │ │ │ ├── cell_v1.js │ │ │ ├── cell_v2.d.ts │ │ │ ├── cell_v2.js │ │ │ ├── cell_v3.d.ts │ │ │ ├── cell_v3.js │ │ │ ├── config_history.d.ts │ │ │ └── config_history.js │ ├── rust │ │ ├── src │ │ │ ├── constants.rs │ │ │ ├── convert.rs │ │ │ ├── data_parser │ │ │ │ ├── account_cell.rs │ │ │ │ ├── apply_register_cell.rs │ │ │ │ ├── das_lock_args.rs │ │ │ │ ├── dpoint_cell.rs │ │ │ │ ├── mod.rs │ │ │ │ ├── pre_account_cell.rs │ │ │ │ └── sub_account_cell.rs │ │ │ ├── lib.rs │ │ │ ├── mixer.rs │ │ │ ├── prettier.rs │ │ │ ├── schemas │ │ │ │ ├── basic.rs │ │ │ │ ├── cell.rs │ │ │ │ ├── cell_v1.rs │ │ │ │ ├── cell_v2.rs │ │ │ │ ├── cell_v3.rs │ │ │ │ ├── config_history.rs │ │ │ │ └── mod.rs │ │ │ ├── types.rs │ │ │ └── util.rs │ │ └── tests │ │ │ ├── basic.rs │ │ │ ├── cell.rs │ │ │ └── util.rs │ └── schemas │ │ ├── basic.mol │ │ ├── cell.mol │ │ ├── cell_v1.mol │ │ ├── cell_v2.mol │ │ ├── cell_v3.mol │ │ └── config_history.mol ├── eip712 │ ├── Cargo.toml │ ├── build.rs │ └── src │ │ ├── eip712.rs │ │ ├── error.rs │ │ ├── lib.rs │ │ ├── macros.rs │ │ └── util.rs ├── simple-ast │ ├── Cargo.toml │ ├── README.md │ └── src │ │ ├── error.rs │ │ ├── executor.rs │ │ ├── lib.rs │ │ ├── size_util.rs │ │ ├── types.rs │ │ └── util.rs └── witness-parser │ ├── Cargo.toml │ └── src │ ├── constants.rs │ ├── error.rs │ ├── lib.rs │ ├── macros.rs │ ├── parsers │ ├── mod.rs │ └── v1 │ │ ├── action_parser.rs │ │ ├── mod.rs │ │ └── witness_parser.rs │ ├── traits.rs │ ├── types.rs │ └── util.rs ├── rust-toolchain.toml ├── rust-toolchain_docker.toml ├── rustfmt.toml └── tests ├── Cargo.toml ├── data ├── char_set_digit_and_symbol.txt ├── char_set_emoji.txt ├── char_set_en.txt ├── char_set_ja.txt ├── char_set_ko.txt ├── char_set_ru.txt ├── char_set_th.txt ├── char_set_tr.txt ├── char_set_vi.txt ├── char_set_zh_hans.txt ├── char_set_zh_hant.txt ├── dp_recycle_whitelist.txt ├── dp_transfer_whitelist.txt ├── preserved_accounts.txt ├── record_key_namespace.txt ├── smt_node_white_list.txt ├── sub_account_beta_list.txt └── unavailable_account_hashes.txt └── src ├── account_cell_type ├── account_transfer.rs ├── approval_create.rs ├── approval_delay.rs ├── approval_fulfill.rs ├── approval_revoke.rs ├── bid_expired_account_dutch_auction.rs ├── common.rs ├── did_cell_related.rs ├── edit_manager.rs ├── edit_records.rs ├── enable_sub_account.rs ├── force_recover_account_status.rs ├── init_account_chain.rs ├── mod.rs ├── recycle_expired_account.rs └── renew_account.rs ├── account_sale_cell_type ├── buy_account.rs ├── cancel_account_sale.rs ├── common.rs ├── edit_account_sale.rs ├── mod.rs └── start_account_sale.rs ├── apply_register_cell_type ├── apply_register.rs ├── common.rs ├── mod.rs └── refund_apply.rs ├── balance_cell_type.rs ├── ckb_types_relay.rs ├── config └── mod.rs ├── config_cell_type.rs ├── device_key_list_cell_type ├── create.rs ├── destroy.rs ├── mod.rs └── update.rs ├── did_cell_type ├── mod.rs ├── renew.rs ├── test_did_cell_only_actions.rs ├── tmpl.rs └── utils.rs ├── dpoint_cell_type ├── burn_dp.rs ├── common.rs ├── mint_dp.rs ├── mod.rs └── transfer_dp.rs ├── gen_type_id_table.rs ├── income_cell_type ├── common.rs ├── income_consolidate.rs ├── income_create.rs └── mod.rs ├── lib.rs ├── offer_cell_type ├── accept_offer.rs ├── cancel_offer.rs ├── common.rs ├── edit_offer.rs ├── make_offer.rs └── mod.rs ├── playground.rs ├── pre_account_cell_type ├── account_release.rs ├── char_set.rs ├── common.rs ├── mod.rs ├── preserved_accounts.rs ├── refund_pre_register.rs ├── simple.rs └── unavailable_accounts.rs ├── proposal_cell_type ├── common.rs ├── mod.rs ├── proposal_confirm.rs ├── proposal_create.rs ├── proposal_extend.rs └── proposal_recycle.rs ├── reverse_record_cell_type ├── common.rs ├── mod.rs └── retract_reverse_record.rs ├── reverse_record_root_cell_type ├── common.rs ├── create_reverse_record_root.rs ├── mod.rs └── update_reverse_record_root.rs ├── sub_account_cell_type ├── approval_create.rs ├── approval_delay.rs ├── approval_fulfill.rs ├── approval_revoke.rs ├── collect_sub_account_channel_profit.rs ├── collect_sub_account_profit.rs ├── common.rs ├── config_sub_account.rs ├── create_flag_custom_rule.rs ├── create_flag_manual.rs ├── edit_sub_account.rs ├── mod.rs ├── recycle_sub_account.rs ├── renew_by_custom_rule.rs ├── renew_by_manual_other.rs ├── renew_by_manual_owner.rs └── update_sub_account.rs ├── uint └── mod.rs ├── util ├── accounts.rs ├── constants.rs ├── encoder │ ├── account.rs │ ├── mod.rs │ ├── sub_account.rs │ └── util.rs ├── error.rs ├── mod.rs ├── since_util.rs ├── smt.rs ├── template_common_cell.rs ├── template_generator.rs ├── template_parser.rs └── util.rs └── witness_parser ├── action_params_data.rs ├── mod.rs ├── reverse_record.rs ├── sub_account.rs └── witness_parser.rs /.cargo/config.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/.cargo/config.toml -------------------------------------------------------------------------------- /.env.dev: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/.env.dev -------------------------------------------------------------------------------- /.env.mainnet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/.env.mainnet -------------------------------------------------------------------------------- /.env.testnet2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/.env.testnet2 -------------------------------------------------------------------------------- /.env.testnet3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/.env.testnet3 -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/.gitignore -------------------------------------------------------------------------------- /Audit Report - by Least Authority.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/Audit Report - by Least Authority.pdf -------------------------------------------------------------------------------- /Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/Cargo.lock -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/Cargo.toml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/README.md -------------------------------------------------------------------------------- /contracts/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /contracts/account-cell-type/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/contracts/account-cell-type/Cargo.toml -------------------------------------------------------------------------------- /contracts/account-cell-type/src/approval.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/contracts/account-cell-type/src/approval.rs -------------------------------------------------------------------------------- /contracts/account-cell-type/src/did_cell_related.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/contracts/account-cell-type/src/did_cell_related.rs -------------------------------------------------------------------------------- /contracts/account-cell-type/src/entry.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/contracts/account-cell-type/src/entry.rs -------------------------------------------------------------------------------- /contracts/account-cell-type/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/contracts/account-cell-type/src/main.rs -------------------------------------------------------------------------------- /contracts/account-sale-cell-type/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/contracts/account-sale-cell-type/Cargo.toml -------------------------------------------------------------------------------- /contracts/account-sale-cell-type/src/entry.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/contracts/account-sale-cell-type/src/entry.rs -------------------------------------------------------------------------------- /contracts/account-sale-cell-type/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/contracts/account-sale-cell-type/src/main.rs -------------------------------------------------------------------------------- /contracts/always-success/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/contracts/always-success/Cargo.toml -------------------------------------------------------------------------------- /contracts/always-success/src/entry.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/contracts/always-success/src/entry.rs -------------------------------------------------------------------------------- /contracts/always-success/src/error.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/contracts/always-success/src/error.rs -------------------------------------------------------------------------------- /contracts/always-success/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/contracts/always-success/src/main.rs -------------------------------------------------------------------------------- /contracts/apply-register-cell-type/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/contracts/apply-register-cell-type/Cargo.toml -------------------------------------------------------------------------------- /contracts/apply-register-cell-type/src/entry.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/contracts/apply-register-cell-type/src/entry.rs -------------------------------------------------------------------------------- /contracts/apply-register-cell-type/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/contracts/apply-register-cell-type/src/main.rs -------------------------------------------------------------------------------- /contracts/balance-cell-type/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/contracts/balance-cell-type/Cargo.toml -------------------------------------------------------------------------------- /contracts/balance-cell-type/src/entry/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/contracts/balance-cell-type/src/entry/mod.rs -------------------------------------------------------------------------------- /contracts/balance-cell-type/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/contracts/balance-cell-type/src/main.rs -------------------------------------------------------------------------------- /contracts/config-cell-type/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/contracts/config-cell-type/Cargo.toml -------------------------------------------------------------------------------- /contracts/config-cell-type/src/entry.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/contracts/config-cell-type/src/entry.rs -------------------------------------------------------------------------------- /contracts/config-cell-type/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/contracts/config-cell-type/src/main.rs -------------------------------------------------------------------------------- /contracts/device-key-list-cell-type/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/contracts/device-key-list-cell-type/Cargo.toml -------------------------------------------------------------------------------- /contracts/device-key-list-cell-type/examples/device-key-list-cell-type/create_device_key_list.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/contracts/device-key-list-cell-type/examples/device-key-list-cell-type/create_device_key_list.rs -------------------------------------------------------------------------------- /contracts/device-key-list-cell-type/examples/device-key-list-cell-type/destroy_device_key_list.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/contracts/device-key-list-cell-type/examples/device-key-list-cell-type/destroy_device_key_list.rs -------------------------------------------------------------------------------- /contracts/device-key-list-cell-type/examples/device-key-list-cell-type/entry.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/contracts/device-key-list-cell-type/examples/device-key-list-cell-type/entry.rs -------------------------------------------------------------------------------- /contracts/device-key-list-cell-type/examples/device-key-list-cell-type/helpers.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/contracts/device-key-list-cell-type/examples/device-key-list-cell-type/helpers.rs -------------------------------------------------------------------------------- /contracts/device-key-list-cell-type/examples/device-key-list-cell-type/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/contracts/device-key-list-cell-type/examples/device-key-list-cell-type/main.rs -------------------------------------------------------------------------------- /contracts/device-key-list-cell-type/examples/device-key-list-cell-type/traits.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/contracts/device-key-list-cell-type/examples/device-key-list-cell-type/traits.rs -------------------------------------------------------------------------------- /contracts/device-key-list-cell-type/examples/device-key-list-cell-type/update_device_key_list.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/contracts/device-key-list-cell-type/examples/device-key-list-cell-type/update_device_key_list.rs -------------------------------------------------------------------------------- /contracts/device-key-list-cell-type/src/error.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/contracts/device-key-list-cell-type/src/error.rs -------------------------------------------------------------------------------- /contracts/device-key-list-cell-type/src/lib.rs: -------------------------------------------------------------------------------- 1 | #![cfg_attr(target_arch = "riscv64", no_std)] 2 | pub mod error; 3 | -------------------------------------------------------------------------------- /contracts/did-cell-type/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/contracts/did-cell-type/Cargo.toml -------------------------------------------------------------------------------- /contracts/did-cell-type/examples/did-cell-type/entry.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/contracts/did-cell-type/examples/did-cell-type/entry.rs -------------------------------------------------------------------------------- /contracts/did-cell-type/examples/did-cell-type/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/contracts/did-cell-type/examples/did-cell-type/main.rs -------------------------------------------------------------------------------- /contracts/did-cell-type/examples/did-cell-type/utils.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/contracts/did-cell-type/examples/did-cell-type/utils.rs -------------------------------------------------------------------------------- /contracts/did-cell-type/src/error.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/contracts/did-cell-type/src/error.rs -------------------------------------------------------------------------------- /contracts/did-cell-type/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/contracts/did-cell-type/src/lib.rs -------------------------------------------------------------------------------- /contracts/dpoint-cell-type/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/contracts/dpoint-cell-type/Cargo.toml -------------------------------------------------------------------------------- /contracts/dpoint-cell-type/examples/dpoint-cell-type/burn_dp.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/contracts/dpoint-cell-type/examples/dpoint-cell-type/burn_dp.rs -------------------------------------------------------------------------------- /contracts/dpoint-cell-type/examples/dpoint-cell-type/entry.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/contracts/dpoint-cell-type/examples/dpoint-cell-type/entry.rs -------------------------------------------------------------------------------- /contracts/dpoint-cell-type/examples/dpoint-cell-type/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/contracts/dpoint-cell-type/examples/dpoint-cell-type/main.rs -------------------------------------------------------------------------------- /contracts/dpoint-cell-type/examples/dpoint-cell-type/mint_dp.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/contracts/dpoint-cell-type/examples/dpoint-cell-type/mint_dp.rs -------------------------------------------------------------------------------- /contracts/dpoint-cell-type/examples/dpoint-cell-type/transfer_dp.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/contracts/dpoint-cell-type/examples/dpoint-cell-type/transfer_dp.rs -------------------------------------------------------------------------------- /contracts/dpoint-cell-type/examples/dpoint-cell-type/util.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/contracts/dpoint-cell-type/examples/dpoint-cell-type/util.rs -------------------------------------------------------------------------------- /contracts/dpoint-cell-type/src/error.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/contracts/dpoint-cell-type/src/error.rs -------------------------------------------------------------------------------- /contracts/dpoint-cell-type/src/lib.rs: -------------------------------------------------------------------------------- 1 | #![cfg_attr(target_arch = "riscv64", no_std)] 2 | pub mod error; 3 | -------------------------------------------------------------------------------- /contracts/income-cell-type/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/contracts/income-cell-type/Cargo.toml -------------------------------------------------------------------------------- /contracts/income-cell-type/src/entry.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/contracts/income-cell-type/src/entry.rs -------------------------------------------------------------------------------- /contracts/income-cell-type/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/contracts/income-cell-type/src/main.rs -------------------------------------------------------------------------------- /contracts/offer-cell-type/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/contracts/offer-cell-type/Cargo.toml -------------------------------------------------------------------------------- /contracts/offer-cell-type/src/entry.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/contracts/offer-cell-type/src/entry.rs -------------------------------------------------------------------------------- /contracts/offer-cell-type/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/contracts/offer-cell-type/src/main.rs -------------------------------------------------------------------------------- /contracts/playground/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/contracts/playground/Cargo.toml -------------------------------------------------------------------------------- /contracts/playground/src/entry.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/contracts/playground/src/entry.rs -------------------------------------------------------------------------------- /contracts/playground/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/contracts/playground/src/main.rs -------------------------------------------------------------------------------- /contracts/pre-account-cell-type/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/contracts/pre-account-cell-type/Cargo.toml -------------------------------------------------------------------------------- /contracts/pre-account-cell-type/src/entry.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/contracts/pre-account-cell-type/src/entry.rs -------------------------------------------------------------------------------- /contracts/pre-account-cell-type/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/contracts/pre-account-cell-type/src/main.rs -------------------------------------------------------------------------------- /contracts/proposal-cell-type/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/contracts/proposal-cell-type/Cargo.toml -------------------------------------------------------------------------------- /contracts/proposal-cell-type/src/entry.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/contracts/proposal-cell-type/src/entry.rs -------------------------------------------------------------------------------- /contracts/proposal-cell-type/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/contracts/proposal-cell-type/src/main.rs -------------------------------------------------------------------------------- /contracts/reverse-record-cell-type/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/contracts/reverse-record-cell-type/Cargo.toml -------------------------------------------------------------------------------- /contracts/reverse-record-cell-type/src/entry.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/contracts/reverse-record-cell-type/src/entry.rs -------------------------------------------------------------------------------- /contracts/reverse-record-cell-type/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/contracts/reverse-record-cell-type/src/main.rs -------------------------------------------------------------------------------- /contracts/reverse-record-root-cell-type/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/contracts/reverse-record-root-cell-type/Cargo.toml -------------------------------------------------------------------------------- /contracts/reverse-record-root-cell-type/src/entry.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/contracts/reverse-record-root-cell-type/src/entry.rs -------------------------------------------------------------------------------- /contracts/reverse-record-root-cell-type/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/contracts/reverse-record-root-cell-type/src/main.rs -------------------------------------------------------------------------------- /contracts/sub-account-cell-type/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/contracts/sub-account-cell-type/Cargo.toml -------------------------------------------------------------------------------- /contracts/sub-account-cell-type/src/approval.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/contracts/sub-account-cell-type/src/approval.rs -------------------------------------------------------------------------------- /contracts/sub-account-cell-type/src/entry.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/contracts/sub-account-cell-type/src/entry.rs -------------------------------------------------------------------------------- /contracts/sub-account-cell-type/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/contracts/sub-account-cell-type/src/main.rs -------------------------------------------------------------------------------- /contracts/sub-account-cell-type/src/sub_action.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/contracts/sub-account-cell-type/src/sub_action.rs -------------------------------------------------------------------------------- /contracts/test-env/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/contracts/test-env/Cargo.toml -------------------------------------------------------------------------------- /contracts/test-env/src/config_tests/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/contracts/test-env/src/config_tests/mod.rs -------------------------------------------------------------------------------- /contracts/test-env/src/entry.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/contracts/test-env/src/entry.rs -------------------------------------------------------------------------------- /contracts/test-env/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/contracts/test-env/src/main.rs -------------------------------------------------------------------------------- /contracts/test-env/src/uint_tests/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/contracts/test-env/src/uint_tests/mod.rs -------------------------------------------------------------------------------- /contracts/test-env/src/witness_parser_tests/action_params_data.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/contracts/test-env/src/witness_parser_tests/action_params_data.rs -------------------------------------------------------------------------------- /contracts/test-env/src/witness_parser_tests/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/contracts/test-env/src/witness_parser_tests/mod.rs -------------------------------------------------------------------------------- /contracts/test-env/src/witness_parser_tests/reverse_record.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/contracts/test-env/src/witness_parser_tests/reverse_record.rs -------------------------------------------------------------------------------- /contracts/test-env/src/witness_parser_tests/sub_account.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/contracts/test-env/src/witness_parser_tests/sub_account.rs -------------------------------------------------------------------------------- /deployed-scripts/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /deployed-scripts/always_success: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/deployed-scripts/always_success -------------------------------------------------------------------------------- /deployed-scripts/dao: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/deployed-scripts/dao -------------------------------------------------------------------------------- /deployed-scripts/fake-das-lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/deployed-scripts/fake-das-lock -------------------------------------------------------------------------------- /deployed-scripts/fake-secp256k1-blake160-multisig-all: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/deployed-scripts/fake-secp256k1-blake160-multisig-all -------------------------------------------------------------------------------- /deployed-scripts/fake-secp256k1-blake160-signhash-all: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/deployed-scripts/fake-secp256k1-blake160-signhash-all -------------------------------------------------------------------------------- /deployed-scripts/secp256k1_blake160_multisig_all: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/deployed-scripts/secp256k1_blake160_multisig_all -------------------------------------------------------------------------------- /deployed-scripts/secp256k1_blake160_sighash_all: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/deployed-scripts/secp256k1_blake160_sighash_all -------------------------------------------------------------------------------- /deployed-scripts/secp256k1_data: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/deployed-scripts/secp256k1_data -------------------------------------------------------------------------------- /docker.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/docker.sh -------------------------------------------------------------------------------- /libs/config/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/config/Cargo.toml -------------------------------------------------------------------------------- /libs/config/src/config.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/config/src/config.rs -------------------------------------------------------------------------------- /libs/config/src/configs/char_set.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/config/src/configs/char_set.rs -------------------------------------------------------------------------------- /libs/config/src/configs/entity_config.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/config/src/configs/entity_config.rs -------------------------------------------------------------------------------- /libs/config/src/configs/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/config/src/configs/main.rs -------------------------------------------------------------------------------- /libs/config/src/configs/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/config/src/configs/mod.rs -------------------------------------------------------------------------------- /libs/config/src/configs/preserved_account.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/config/src/configs/preserved_account.rs -------------------------------------------------------------------------------- /libs/config/src/configs/raw_config.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/config/src/configs/raw_config.rs -------------------------------------------------------------------------------- /libs/config/src/configs/smt_node_white_list.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/config/src/configs/smt_node_white_list.rs -------------------------------------------------------------------------------- /libs/config/src/constants.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/config/src/constants.rs -------------------------------------------------------------------------------- /libs/config/src/error.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/config/src/error.rs -------------------------------------------------------------------------------- /libs/config/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/config/src/lib.rs -------------------------------------------------------------------------------- /libs/config/src/macros.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/config/src/macros.rs -------------------------------------------------------------------------------- /libs/config/src/traits.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/config/src/traits.rs -------------------------------------------------------------------------------- /libs/config/src/util.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/config/src/util.rs -------------------------------------------------------------------------------- /libs/das-core/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-core/Cargo.toml -------------------------------------------------------------------------------- /libs/das-core/src/constants.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-core/src/constants.rs -------------------------------------------------------------------------------- /libs/das-core/src/contract/defult_structs.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-core/src/contract/defult_structs.rs -------------------------------------------------------------------------------- /libs/das-core/src/contract/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-core/src/contract/mod.rs -------------------------------------------------------------------------------- /libs/das-core/src/contract/traits.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-core/src/contract/traits.rs -------------------------------------------------------------------------------- /libs/das-core/src/data_parser/account_cell.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-core/src/data_parser/account_cell.rs -------------------------------------------------------------------------------- /libs/das-core/src/data_parser/apply_register_cell.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-core/src/data_parser/apply_register_cell.rs -------------------------------------------------------------------------------- /libs/das-core/src/data_parser/das_lock_args.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-core/src/data_parser/das_lock_args.rs -------------------------------------------------------------------------------- /libs/das-core/src/data_parser/dpoint_cell.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-core/src/data_parser/dpoint_cell.rs -------------------------------------------------------------------------------- /libs/das-core/src/data_parser/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-core/src/data_parser/mod.rs -------------------------------------------------------------------------------- /libs/das-core/src/data_parser/pre_account_cell.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-core/src/data_parser/pre_account_cell.rs -------------------------------------------------------------------------------- /libs/das-core/src/data_parser/sub_account_cell.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-core/src/data_parser/sub_account_cell.rs -------------------------------------------------------------------------------- /libs/das-core/src/error.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-core/src/error.rs -------------------------------------------------------------------------------- /libs/das-core/src/helpers.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-core/src/helpers.rs -------------------------------------------------------------------------------- /libs/das-core/src/inspect.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-core/src/inspect.rs -------------------------------------------------------------------------------- /libs/das-core/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-core/src/lib.rs -------------------------------------------------------------------------------- /libs/das-core/src/macros.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-core/src/macros.rs -------------------------------------------------------------------------------- /libs/das-core/src/sign_util.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-core/src/sign_util.rs -------------------------------------------------------------------------------- /libs/das-core/src/since_util.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-core/src/since_util.rs -------------------------------------------------------------------------------- /libs/das-core/src/traits.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-core/src/traits.rs -------------------------------------------------------------------------------- /libs/das-core/src/types.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-core/src/types.rs -------------------------------------------------------------------------------- /libs/das-core/src/util.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-core/src/util.rs -------------------------------------------------------------------------------- /libs/das-core/src/verifiers/account_cell.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-core/src/verifiers/account_cell.rs -------------------------------------------------------------------------------- /libs/das-core/src/verifiers/balance_cell.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-core/src/verifiers/balance_cell.rs -------------------------------------------------------------------------------- /libs/das-core/src/verifiers/common.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-core/src/verifiers/common.rs -------------------------------------------------------------------------------- /libs/das-core/src/verifiers/income_cell.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-core/src/verifiers/income_cell.rs -------------------------------------------------------------------------------- /libs/das-core/src/verifiers/misc.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-core/src/verifiers/misc.rs -------------------------------------------------------------------------------- /libs/das-core/src/verifiers/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-core/src/verifiers/mod.rs -------------------------------------------------------------------------------- /libs/das-core/src/verifiers/sub_account_cell.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-core/src/verifiers/sub_account_cell.rs -------------------------------------------------------------------------------- /libs/das-core/src/witness_parser/device_key_list.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-core/src/witness_parser/device_key_list.rs -------------------------------------------------------------------------------- /libs/das-core/src/witness_parser/general_witness_parser.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-core/src/witness_parser/general_witness_parser.rs -------------------------------------------------------------------------------- /libs/das-core/src/witness_parser/lv_parser.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-core/src/witness_parser/lv_parser.rs -------------------------------------------------------------------------------- /libs/das-core/src/witness_parser/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-core/src/witness_parser/mod.rs -------------------------------------------------------------------------------- /libs/das-core/src/witness_parser/reverse_record.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-core/src/witness_parser/reverse_record.rs -------------------------------------------------------------------------------- /libs/das-core/src/witness_parser/sub_account.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-core/src/witness_parser/sub_account.rs -------------------------------------------------------------------------------- /libs/das-core/src/witness_parser/webauthn_signature.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-core/src/witness_parser/webauthn_signature.rs -------------------------------------------------------------------------------- /libs/das-core/src/witness_parser/witness_parser_legacy.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-core/src/witness_parser/witness_parser_legacy.rs -------------------------------------------------------------------------------- /libs/das-dynamic-libs/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-dynamic-libs/Cargo.toml -------------------------------------------------------------------------------- /libs/das-dynamic-libs/src/constants.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-dynamic-libs/src/constants.rs -------------------------------------------------------------------------------- /libs/das-dynamic-libs/src/error.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-dynamic-libs/src/error.rs -------------------------------------------------------------------------------- /libs/das-dynamic-libs/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-dynamic-libs/src/lib.rs -------------------------------------------------------------------------------- /libs/das-dynamic-libs/src/macros.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-dynamic-libs/src/macros.rs -------------------------------------------------------------------------------- /libs/das-dynamic-libs/src/sign_lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-dynamic-libs/src/sign_lib.rs -------------------------------------------------------------------------------- /libs/das-dynamic-libs/src/util.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-dynamic-libs/src/util.rs -------------------------------------------------------------------------------- /libs/das-map/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-map/Cargo.toml -------------------------------------------------------------------------------- /libs/das-map/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-map/src/lib.rs -------------------------------------------------------------------------------- /libs/das-map/src/map.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-map/src/map.rs -------------------------------------------------------------------------------- /libs/das-map/src/util.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-map/src/util.rs -------------------------------------------------------------------------------- /libs/das-sorted-list/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-sorted-list/Cargo.toml -------------------------------------------------------------------------------- /libs/das-sorted-list/src/das_sorted_list.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-sorted-list/src/das_sorted_list.rs -------------------------------------------------------------------------------- /libs/das-sorted-list/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-sorted-list/src/lib.rs -------------------------------------------------------------------------------- /libs/das-sorted-list/src/util.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-sorted-list/src/util.rs -------------------------------------------------------------------------------- /libs/das-types/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-types/Cargo.toml -------------------------------------------------------------------------------- /libs/das-types/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-types/LICENSE -------------------------------------------------------------------------------- /libs/das-types/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-types/README.md -------------------------------------------------------------------------------- /libs/das-types/build.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-types/build.rs -------------------------------------------------------------------------------- /libs/das-types/compile.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-types/compile.sh -------------------------------------------------------------------------------- /libs/das-types/go/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /libs/das-types/go/src/basic.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-types/go/src/basic.go -------------------------------------------------------------------------------- /libs/das-types/go/src/cell.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-types/go/src/cell.go -------------------------------------------------------------------------------- /libs/das-types/go/src/cell_v1.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-types/go/src/cell_v1.go -------------------------------------------------------------------------------- /libs/das-types/go/src/cell_v2.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-types/go/src/cell_v2.go -------------------------------------------------------------------------------- /libs/das-types/go/src/cell_v3.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-types/go/src/cell_v3.go -------------------------------------------------------------------------------- /libs/das-types/go/src/config_history.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-types/go/src/config_history.go -------------------------------------------------------------------------------- /libs/das-types/js/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /libs/das-types/js/src/basic.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-types/js/src/basic.d.ts -------------------------------------------------------------------------------- /libs/das-types/js/src/basic.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-types/js/src/basic.js -------------------------------------------------------------------------------- /libs/das-types/js/src/cell.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-types/js/src/cell.d.ts -------------------------------------------------------------------------------- /libs/das-types/js/src/cell.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-types/js/src/cell.js -------------------------------------------------------------------------------- /libs/das-types/js/src/cell_v1.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-types/js/src/cell_v1.d.ts -------------------------------------------------------------------------------- /libs/das-types/js/src/cell_v1.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-types/js/src/cell_v1.js -------------------------------------------------------------------------------- /libs/das-types/js/src/cell_v2.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-types/js/src/cell_v2.d.ts -------------------------------------------------------------------------------- /libs/das-types/js/src/cell_v2.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-types/js/src/cell_v2.js -------------------------------------------------------------------------------- /libs/das-types/js/src/cell_v3.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-types/js/src/cell_v3.d.ts -------------------------------------------------------------------------------- /libs/das-types/js/src/cell_v3.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-types/js/src/cell_v3.js -------------------------------------------------------------------------------- /libs/das-types/js/src/config_history.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-types/js/src/config_history.d.ts -------------------------------------------------------------------------------- /libs/das-types/js/src/config_history.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-types/js/src/config_history.js -------------------------------------------------------------------------------- /libs/das-types/rust/src/constants.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-types/rust/src/constants.rs -------------------------------------------------------------------------------- /libs/das-types/rust/src/convert.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-types/rust/src/convert.rs -------------------------------------------------------------------------------- /libs/das-types/rust/src/data_parser/account_cell.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-types/rust/src/data_parser/account_cell.rs -------------------------------------------------------------------------------- /libs/das-types/rust/src/data_parser/apply_register_cell.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-types/rust/src/data_parser/apply_register_cell.rs -------------------------------------------------------------------------------- /libs/das-types/rust/src/data_parser/das_lock_args.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-types/rust/src/data_parser/das_lock_args.rs -------------------------------------------------------------------------------- /libs/das-types/rust/src/data_parser/dpoint_cell.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-types/rust/src/data_parser/dpoint_cell.rs -------------------------------------------------------------------------------- /libs/das-types/rust/src/data_parser/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-types/rust/src/data_parser/mod.rs -------------------------------------------------------------------------------- /libs/das-types/rust/src/data_parser/pre_account_cell.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-types/rust/src/data_parser/pre_account_cell.rs -------------------------------------------------------------------------------- /libs/das-types/rust/src/data_parser/sub_account_cell.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-types/rust/src/data_parser/sub_account_cell.rs -------------------------------------------------------------------------------- /libs/das-types/rust/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-types/rust/src/lib.rs -------------------------------------------------------------------------------- /libs/das-types/rust/src/mixer.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-types/rust/src/mixer.rs -------------------------------------------------------------------------------- /libs/das-types/rust/src/prettier.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-types/rust/src/prettier.rs -------------------------------------------------------------------------------- /libs/das-types/rust/src/schemas/basic.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-types/rust/src/schemas/basic.rs -------------------------------------------------------------------------------- /libs/das-types/rust/src/schemas/cell.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-types/rust/src/schemas/cell.rs -------------------------------------------------------------------------------- /libs/das-types/rust/src/schemas/cell_v1.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-types/rust/src/schemas/cell_v1.rs -------------------------------------------------------------------------------- /libs/das-types/rust/src/schemas/cell_v2.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-types/rust/src/schemas/cell_v2.rs -------------------------------------------------------------------------------- /libs/das-types/rust/src/schemas/cell_v3.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-types/rust/src/schemas/cell_v3.rs -------------------------------------------------------------------------------- /libs/das-types/rust/src/schemas/config_history.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-types/rust/src/schemas/config_history.rs -------------------------------------------------------------------------------- /libs/das-types/rust/src/schemas/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-types/rust/src/schemas/mod.rs -------------------------------------------------------------------------------- /libs/das-types/rust/src/types.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-types/rust/src/types.rs -------------------------------------------------------------------------------- /libs/das-types/rust/src/util.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-types/rust/src/util.rs -------------------------------------------------------------------------------- /libs/das-types/rust/tests/basic.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-types/rust/tests/basic.rs -------------------------------------------------------------------------------- /libs/das-types/rust/tests/cell.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-types/rust/tests/cell.rs -------------------------------------------------------------------------------- /libs/das-types/rust/tests/util.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-types/rust/tests/util.rs -------------------------------------------------------------------------------- /libs/das-types/schemas/basic.mol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-types/schemas/basic.mol -------------------------------------------------------------------------------- /libs/das-types/schemas/cell.mol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-types/schemas/cell.mol -------------------------------------------------------------------------------- /libs/das-types/schemas/cell_v1.mol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-types/schemas/cell_v1.mol -------------------------------------------------------------------------------- /libs/das-types/schemas/cell_v2.mol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-types/schemas/cell_v2.mol -------------------------------------------------------------------------------- /libs/das-types/schemas/cell_v3.mol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-types/schemas/cell_v3.mol -------------------------------------------------------------------------------- /libs/das-types/schemas/config_history.mol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/das-types/schemas/config_history.mol -------------------------------------------------------------------------------- /libs/eip712/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/eip712/Cargo.toml -------------------------------------------------------------------------------- /libs/eip712/build.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/eip712/build.rs -------------------------------------------------------------------------------- /libs/eip712/src/eip712.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/eip712/src/eip712.rs -------------------------------------------------------------------------------- /libs/eip712/src/error.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/eip712/src/error.rs -------------------------------------------------------------------------------- /libs/eip712/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/eip712/src/lib.rs -------------------------------------------------------------------------------- /libs/eip712/src/macros.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/eip712/src/macros.rs -------------------------------------------------------------------------------- /libs/eip712/src/util.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/eip712/src/util.rs -------------------------------------------------------------------------------- /libs/simple-ast/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/simple-ast/Cargo.toml -------------------------------------------------------------------------------- /libs/simple-ast/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/simple-ast/README.md -------------------------------------------------------------------------------- /libs/simple-ast/src/error.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/simple-ast/src/error.rs -------------------------------------------------------------------------------- /libs/simple-ast/src/executor.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/simple-ast/src/executor.rs -------------------------------------------------------------------------------- /libs/simple-ast/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/simple-ast/src/lib.rs -------------------------------------------------------------------------------- /libs/simple-ast/src/size_util.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/simple-ast/src/size_util.rs -------------------------------------------------------------------------------- /libs/simple-ast/src/types.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/simple-ast/src/types.rs -------------------------------------------------------------------------------- /libs/simple-ast/src/util.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/simple-ast/src/util.rs -------------------------------------------------------------------------------- /libs/witness-parser/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/witness-parser/Cargo.toml -------------------------------------------------------------------------------- /libs/witness-parser/src/constants.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/witness-parser/src/constants.rs -------------------------------------------------------------------------------- /libs/witness-parser/src/error.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/witness-parser/src/error.rs -------------------------------------------------------------------------------- /libs/witness-parser/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/witness-parser/src/lib.rs -------------------------------------------------------------------------------- /libs/witness-parser/src/macros.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/witness-parser/src/macros.rs -------------------------------------------------------------------------------- /libs/witness-parser/src/parsers/mod.rs: -------------------------------------------------------------------------------- 1 | pub mod v1; 2 | -------------------------------------------------------------------------------- /libs/witness-parser/src/parsers/v1/action_parser.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/witness-parser/src/parsers/v1/action_parser.rs -------------------------------------------------------------------------------- /libs/witness-parser/src/parsers/v1/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/witness-parser/src/parsers/v1/mod.rs -------------------------------------------------------------------------------- /libs/witness-parser/src/parsers/v1/witness_parser.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/witness-parser/src/parsers/v1/witness_parser.rs -------------------------------------------------------------------------------- /libs/witness-parser/src/traits.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/witness-parser/src/traits.rs -------------------------------------------------------------------------------- /libs/witness-parser/src/types.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/witness-parser/src/types.rs -------------------------------------------------------------------------------- /libs/witness-parser/src/util.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/libs/witness-parser/src/util.rs -------------------------------------------------------------------------------- /rust-toolchain.toml: -------------------------------------------------------------------------------- 1 | [toolchain] 2 | channel = "1.74" 3 | -------------------------------------------------------------------------------- /rust-toolchain_docker.toml: -------------------------------------------------------------------------------- 1 | [toolchain] 2 | channel = "nightly" 3 | -------------------------------------------------------------------------------- /rustfmt.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/rustfmt.toml -------------------------------------------------------------------------------- /tests/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/Cargo.toml -------------------------------------------------------------------------------- /tests/data/char_set_digit_and_symbol.txt: -------------------------------------------------------------------------------- 1 | 0 2 | 1 3 | 2 4 | 3 5 | 4 6 | 5 7 | 6 8 | 7 9 | 8 10 | 9 11 | - -------------------------------------------------------------------------------- /tests/data/char_set_emoji.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/data/char_set_emoji.txt -------------------------------------------------------------------------------- /tests/data/char_set_en.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/data/char_set_en.txt -------------------------------------------------------------------------------- /tests/data/char_set_ja.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/data/char_set_ja.txt -------------------------------------------------------------------------------- /tests/data/char_set_ko.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/data/char_set_ko.txt -------------------------------------------------------------------------------- /tests/data/char_set_ru.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/data/char_set_ru.txt -------------------------------------------------------------------------------- /tests/data/char_set_th.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/data/char_set_th.txt -------------------------------------------------------------------------------- /tests/data/char_set_tr.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/data/char_set_tr.txt -------------------------------------------------------------------------------- /tests/data/char_set_vi.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/data/char_set_vi.txt -------------------------------------------------------------------------------- /tests/data/char_set_zh_hans.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/data/char_set_zh_hans.txt -------------------------------------------------------------------------------- /tests/data/char_set_zh_hant.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/data/char_set_zh_hant.txt -------------------------------------------------------------------------------- /tests/data/dp_recycle_whitelist.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/data/dp_recycle_whitelist.txt -------------------------------------------------------------------------------- /tests/data/dp_transfer_whitelist.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/data/dp_transfer_whitelist.txt -------------------------------------------------------------------------------- /tests/data/preserved_accounts.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/data/preserved_accounts.txt -------------------------------------------------------------------------------- /tests/data/record_key_namespace.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/data/record_key_namespace.txt -------------------------------------------------------------------------------- /tests/data/smt_node_white_list.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/data/smt_node_white_list.txt -------------------------------------------------------------------------------- /tests/data/sub_account_beta_list.txt: -------------------------------------------------------------------------------- 1 | xxxxx.bit -------------------------------------------------------------------------------- /tests/data/unavailable_account_hashes.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/data/unavailable_account_hashes.txt -------------------------------------------------------------------------------- /tests/src/account_cell_type/account_transfer.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/account_cell_type/account_transfer.rs -------------------------------------------------------------------------------- /tests/src/account_cell_type/approval_create.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/account_cell_type/approval_create.rs -------------------------------------------------------------------------------- /tests/src/account_cell_type/approval_delay.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/account_cell_type/approval_delay.rs -------------------------------------------------------------------------------- /tests/src/account_cell_type/approval_fulfill.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/account_cell_type/approval_fulfill.rs -------------------------------------------------------------------------------- /tests/src/account_cell_type/approval_revoke.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/account_cell_type/approval_revoke.rs -------------------------------------------------------------------------------- /tests/src/account_cell_type/bid_expired_account_dutch_auction.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/account_cell_type/bid_expired_account_dutch_auction.rs -------------------------------------------------------------------------------- /tests/src/account_cell_type/common.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/account_cell_type/common.rs -------------------------------------------------------------------------------- /tests/src/account_cell_type/did_cell_related.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/account_cell_type/did_cell_related.rs -------------------------------------------------------------------------------- /tests/src/account_cell_type/edit_manager.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/account_cell_type/edit_manager.rs -------------------------------------------------------------------------------- /tests/src/account_cell_type/edit_records.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/account_cell_type/edit_records.rs -------------------------------------------------------------------------------- /tests/src/account_cell_type/enable_sub_account.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/account_cell_type/enable_sub_account.rs -------------------------------------------------------------------------------- /tests/src/account_cell_type/force_recover_account_status.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/account_cell_type/force_recover_account_status.rs -------------------------------------------------------------------------------- /tests/src/account_cell_type/init_account_chain.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/account_cell_type/init_account_chain.rs -------------------------------------------------------------------------------- /tests/src/account_cell_type/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/account_cell_type/mod.rs -------------------------------------------------------------------------------- /tests/src/account_cell_type/recycle_expired_account.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/account_cell_type/recycle_expired_account.rs -------------------------------------------------------------------------------- /tests/src/account_cell_type/renew_account.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/account_cell_type/renew_account.rs -------------------------------------------------------------------------------- /tests/src/account_sale_cell_type/buy_account.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/account_sale_cell_type/buy_account.rs -------------------------------------------------------------------------------- /tests/src/account_sale_cell_type/cancel_account_sale.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/account_sale_cell_type/cancel_account_sale.rs -------------------------------------------------------------------------------- /tests/src/account_sale_cell_type/common.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/account_sale_cell_type/common.rs -------------------------------------------------------------------------------- /tests/src/account_sale_cell_type/edit_account_sale.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/account_sale_cell_type/edit_account_sale.rs -------------------------------------------------------------------------------- /tests/src/account_sale_cell_type/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/account_sale_cell_type/mod.rs -------------------------------------------------------------------------------- /tests/src/account_sale_cell_type/start_account_sale.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/account_sale_cell_type/start_account_sale.rs -------------------------------------------------------------------------------- /tests/src/apply_register_cell_type/apply_register.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/apply_register_cell_type/apply_register.rs -------------------------------------------------------------------------------- /tests/src/apply_register_cell_type/common.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/apply_register_cell_type/common.rs -------------------------------------------------------------------------------- /tests/src/apply_register_cell_type/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/apply_register_cell_type/mod.rs -------------------------------------------------------------------------------- /tests/src/apply_register_cell_type/refund_apply.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/apply_register_cell_type/refund_apply.rs -------------------------------------------------------------------------------- /tests/src/balance_cell_type.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/balance_cell_type.rs -------------------------------------------------------------------------------- /tests/src/ckb_types_relay.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/ckb_types_relay.rs -------------------------------------------------------------------------------- /tests/src/config/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/config/mod.rs -------------------------------------------------------------------------------- /tests/src/config_cell_type.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/config_cell_type.rs -------------------------------------------------------------------------------- /tests/src/device_key_list_cell_type/create.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/device_key_list_cell_type/create.rs -------------------------------------------------------------------------------- /tests/src/device_key_list_cell_type/destroy.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/device_key_list_cell_type/destroy.rs -------------------------------------------------------------------------------- /tests/src/device_key_list_cell_type/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/device_key_list_cell_type/mod.rs -------------------------------------------------------------------------------- /tests/src/device_key_list_cell_type/update.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/device_key_list_cell_type/update.rs -------------------------------------------------------------------------------- /tests/src/did_cell_type/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/did_cell_type/mod.rs -------------------------------------------------------------------------------- /tests/src/did_cell_type/renew.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/did_cell_type/renew.rs -------------------------------------------------------------------------------- /tests/src/did_cell_type/test_did_cell_only_actions.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/did_cell_type/test_did_cell_only_actions.rs -------------------------------------------------------------------------------- /tests/src/did_cell_type/tmpl.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/did_cell_type/tmpl.rs -------------------------------------------------------------------------------- /tests/src/did_cell_type/utils.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/did_cell_type/utils.rs -------------------------------------------------------------------------------- /tests/src/dpoint_cell_type/burn_dp.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/dpoint_cell_type/burn_dp.rs -------------------------------------------------------------------------------- /tests/src/dpoint_cell_type/common.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/dpoint_cell_type/common.rs -------------------------------------------------------------------------------- /tests/src/dpoint_cell_type/mint_dp.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/dpoint_cell_type/mint_dp.rs -------------------------------------------------------------------------------- /tests/src/dpoint_cell_type/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/dpoint_cell_type/mod.rs -------------------------------------------------------------------------------- /tests/src/dpoint_cell_type/transfer_dp.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/dpoint_cell_type/transfer_dp.rs -------------------------------------------------------------------------------- /tests/src/gen_type_id_table.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/gen_type_id_table.rs -------------------------------------------------------------------------------- /tests/src/income_cell_type/common.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/income_cell_type/common.rs -------------------------------------------------------------------------------- /tests/src/income_cell_type/income_consolidate.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/income_cell_type/income_consolidate.rs -------------------------------------------------------------------------------- /tests/src/income_cell_type/income_create.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/income_cell_type/income_create.rs -------------------------------------------------------------------------------- /tests/src/income_cell_type/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/income_cell_type/mod.rs -------------------------------------------------------------------------------- /tests/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/lib.rs -------------------------------------------------------------------------------- /tests/src/offer_cell_type/accept_offer.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/offer_cell_type/accept_offer.rs -------------------------------------------------------------------------------- /tests/src/offer_cell_type/cancel_offer.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/offer_cell_type/cancel_offer.rs -------------------------------------------------------------------------------- /tests/src/offer_cell_type/common.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/offer_cell_type/common.rs -------------------------------------------------------------------------------- /tests/src/offer_cell_type/edit_offer.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/offer_cell_type/edit_offer.rs -------------------------------------------------------------------------------- /tests/src/offer_cell_type/make_offer.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/offer_cell_type/make_offer.rs -------------------------------------------------------------------------------- /tests/src/offer_cell_type/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/offer_cell_type/mod.rs -------------------------------------------------------------------------------- /tests/src/playground.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/playground.rs -------------------------------------------------------------------------------- /tests/src/pre_account_cell_type/account_release.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/pre_account_cell_type/account_release.rs -------------------------------------------------------------------------------- /tests/src/pre_account_cell_type/char_set.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/pre_account_cell_type/char_set.rs -------------------------------------------------------------------------------- /tests/src/pre_account_cell_type/common.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/pre_account_cell_type/common.rs -------------------------------------------------------------------------------- /tests/src/pre_account_cell_type/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/pre_account_cell_type/mod.rs -------------------------------------------------------------------------------- /tests/src/pre_account_cell_type/preserved_accounts.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/pre_account_cell_type/preserved_accounts.rs -------------------------------------------------------------------------------- /tests/src/pre_account_cell_type/refund_pre_register.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/pre_account_cell_type/refund_pre_register.rs -------------------------------------------------------------------------------- /tests/src/pre_account_cell_type/simple.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/pre_account_cell_type/simple.rs -------------------------------------------------------------------------------- /tests/src/pre_account_cell_type/unavailable_accounts.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/pre_account_cell_type/unavailable_accounts.rs -------------------------------------------------------------------------------- /tests/src/proposal_cell_type/common.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/proposal_cell_type/common.rs -------------------------------------------------------------------------------- /tests/src/proposal_cell_type/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/proposal_cell_type/mod.rs -------------------------------------------------------------------------------- /tests/src/proposal_cell_type/proposal_confirm.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/proposal_cell_type/proposal_confirm.rs -------------------------------------------------------------------------------- /tests/src/proposal_cell_type/proposal_create.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/proposal_cell_type/proposal_create.rs -------------------------------------------------------------------------------- /tests/src/proposal_cell_type/proposal_extend.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/proposal_cell_type/proposal_extend.rs -------------------------------------------------------------------------------- /tests/src/proposal_cell_type/proposal_recycle.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/proposal_cell_type/proposal_recycle.rs -------------------------------------------------------------------------------- /tests/src/reverse_record_cell_type/common.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/reverse_record_cell_type/common.rs -------------------------------------------------------------------------------- /tests/src/reverse_record_cell_type/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/reverse_record_cell_type/mod.rs -------------------------------------------------------------------------------- /tests/src/reverse_record_cell_type/retract_reverse_record.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/reverse_record_cell_type/retract_reverse_record.rs -------------------------------------------------------------------------------- /tests/src/reverse_record_root_cell_type/common.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/reverse_record_root_cell_type/common.rs -------------------------------------------------------------------------------- /tests/src/reverse_record_root_cell_type/create_reverse_record_root.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/reverse_record_root_cell_type/create_reverse_record_root.rs -------------------------------------------------------------------------------- /tests/src/reverse_record_root_cell_type/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/reverse_record_root_cell_type/mod.rs -------------------------------------------------------------------------------- /tests/src/reverse_record_root_cell_type/update_reverse_record_root.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/reverse_record_root_cell_type/update_reverse_record_root.rs -------------------------------------------------------------------------------- /tests/src/sub_account_cell_type/approval_create.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/sub_account_cell_type/approval_create.rs -------------------------------------------------------------------------------- /tests/src/sub_account_cell_type/approval_delay.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/sub_account_cell_type/approval_delay.rs -------------------------------------------------------------------------------- /tests/src/sub_account_cell_type/approval_fulfill.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/sub_account_cell_type/approval_fulfill.rs -------------------------------------------------------------------------------- /tests/src/sub_account_cell_type/approval_revoke.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/sub_account_cell_type/approval_revoke.rs -------------------------------------------------------------------------------- /tests/src/sub_account_cell_type/collect_sub_account_channel_profit.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/sub_account_cell_type/collect_sub_account_channel_profit.rs -------------------------------------------------------------------------------- /tests/src/sub_account_cell_type/collect_sub_account_profit.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/sub_account_cell_type/collect_sub_account_profit.rs -------------------------------------------------------------------------------- /tests/src/sub_account_cell_type/common.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/sub_account_cell_type/common.rs -------------------------------------------------------------------------------- /tests/src/sub_account_cell_type/config_sub_account.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/sub_account_cell_type/config_sub_account.rs -------------------------------------------------------------------------------- /tests/src/sub_account_cell_type/create_flag_custom_rule.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/sub_account_cell_type/create_flag_custom_rule.rs -------------------------------------------------------------------------------- /tests/src/sub_account_cell_type/create_flag_manual.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/sub_account_cell_type/create_flag_manual.rs -------------------------------------------------------------------------------- /tests/src/sub_account_cell_type/edit_sub_account.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/sub_account_cell_type/edit_sub_account.rs -------------------------------------------------------------------------------- /tests/src/sub_account_cell_type/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/sub_account_cell_type/mod.rs -------------------------------------------------------------------------------- /tests/src/sub_account_cell_type/recycle_sub_account.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/sub_account_cell_type/recycle_sub_account.rs -------------------------------------------------------------------------------- /tests/src/sub_account_cell_type/renew_by_custom_rule.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/sub_account_cell_type/renew_by_custom_rule.rs -------------------------------------------------------------------------------- /tests/src/sub_account_cell_type/renew_by_manual_other.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/sub_account_cell_type/renew_by_manual_other.rs -------------------------------------------------------------------------------- /tests/src/sub_account_cell_type/renew_by_manual_owner.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/sub_account_cell_type/renew_by_manual_owner.rs -------------------------------------------------------------------------------- /tests/src/sub_account_cell_type/update_sub_account.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/sub_account_cell_type/update_sub_account.rs -------------------------------------------------------------------------------- /tests/src/uint/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/uint/mod.rs -------------------------------------------------------------------------------- /tests/src/util/accounts.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/util/accounts.rs -------------------------------------------------------------------------------- /tests/src/util/constants.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/util/constants.rs -------------------------------------------------------------------------------- /tests/src/util/encoder/account.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/util/encoder/account.rs -------------------------------------------------------------------------------- /tests/src/util/encoder/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/util/encoder/mod.rs -------------------------------------------------------------------------------- /tests/src/util/encoder/sub_account.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/util/encoder/sub_account.rs -------------------------------------------------------------------------------- /tests/src/util/encoder/util.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/util/encoder/util.rs -------------------------------------------------------------------------------- /tests/src/util/error.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/util/error.rs -------------------------------------------------------------------------------- /tests/src/util/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/util/mod.rs -------------------------------------------------------------------------------- /tests/src/util/since_util.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/util/since_util.rs -------------------------------------------------------------------------------- /tests/src/util/smt.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/util/smt.rs -------------------------------------------------------------------------------- /tests/src/util/template_common_cell.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/util/template_common_cell.rs -------------------------------------------------------------------------------- /tests/src/util/template_generator.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/util/template_generator.rs -------------------------------------------------------------------------------- /tests/src/util/template_parser.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/util/template_parser.rs -------------------------------------------------------------------------------- /tests/src/util/util.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/util/util.rs -------------------------------------------------------------------------------- /tests/src/witness_parser/action_params_data.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/witness_parser/action_params_data.rs -------------------------------------------------------------------------------- /tests/src/witness_parser/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/witness_parser/mod.rs -------------------------------------------------------------------------------- /tests/src/witness_parser/reverse_record.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/witness_parser/reverse_record.rs -------------------------------------------------------------------------------- /tests/src/witness_parser/sub_account.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/witness_parser/sub_account.rs -------------------------------------------------------------------------------- /tests/src/witness_parser/witness_parser.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dotbitHQ/did-contracts/HEAD/tests/src/witness_parser/witness_parser.rs --------------------------------------------------------------------------------