├── .cargo └── config ├── .clang-format ├── .editorconfig ├── .github └── workflows │ └── rust.yml ├── .gitignore ├── .gitmodules ├── Cargo.lock ├── Cargo.toml ├── INSTALL.md ├── LICENSE-APACHE ├── LICENSE-MIT ├── README.md ├── assets ├── logo-medium.png └── logo-small.png ├── chain-db ├── Cargo.toml └── src │ └── lib.rs ├── chain ├── Cargo.toml └── src │ ├── block_builder.rs │ ├── indexed_block.rs │ ├── indexed_header.rs │ ├── indexed_transaction.rs │ ├── lib.rs │ └── merkle_root.rs ├── cli ├── Cargo.toml └── src │ ├── account.rs │ ├── cli.yml │ ├── main.rs │ ├── proposal.rs │ ├── system.rs │ ├── util.rs │ └── witness.rs ├── config ├── Cargo.toml └── src │ ├── genesis.rs │ └── lib.rs ├── constants ├── Cargo.toml └── src │ ├── block_version.rs │ └── lib.rs ├── context ├── Cargo.toml └── src │ └── lib.rs ├── crypto ├── Cargo.toml └── src │ └── lib.rs ├── docs ├── graphql.md ├── networks.md ├── proposal.md ├── tvm.md ├── txpool.md └── versions.md ├── etc ├── conf.local-test.toml ├── conf.nile.toml ├── conf.toml ├── genesis.json ├── genesis.local-test.json └── genesis.nile.json ├── keys ├── Cargo.toml └── src │ ├── address.rs │ ├── error.rs │ ├── keypair.rs │ ├── lib.rs │ ├── private.rs │ ├── public.rs │ └── signature.rs ├── manager ├── Cargo.toml └── src │ ├── executor │ ├── actuators │ │ ├── account.rs │ │ ├── asset.rs │ │ ├── exchange.rs │ │ ├── mod.rs │ │ ├── proposal.rs │ │ ├── resource.rs │ │ ├── shielded.rs │ │ ├── smart_contract.rs │ │ ├── transfer.rs │ │ └── witness.rs │ └── mod.rs │ ├── governance │ ├── maintenance.rs │ ├── mod.rs │ ├── proposal.rs │ └── reward.rs │ ├── lib.rs │ ├── resource.rs │ ├── version_fork.rs │ └── vm.rs ├── merkle-tree ├── Cargo.toml ├── README.md └── src │ ├── lib.rs │ ├── merkle_tree.rs │ └── tree.rs ├── opentron ├── Cargo.toml ├── README.md └── src │ ├── cli.yml │ ├── commands │ ├── check.rs │ ├── dev.rs │ ├── fix.rs │ ├── key.rs │ └── mod.rs │ ├── lib.rs │ ├── main.rs │ └── util.rs ├── proto ├── Cargo.toml ├── README.md ├── build.rs ├── proto │ ├── chain.proto │ ├── channel.proto │ ├── common.proto │ ├── contract.proto │ ├── discovery.proto │ └── state.proto └── src │ ├── contract_ext.rs │ ├── google.protobuf.rs │ ├── lib.rs │ ├── proto.chain.rs │ ├── proto.channel.rs │ ├── proto.common.rs │ ├── proto.contract.rs │ ├── proto.discovery.rs │ └── proto.state.rs ├── rustfmt.toml ├── scripts └── download-ztron-params.sh ├── services ├── channel │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── protocol.rs │ │ └── server.rs ├── discovery │ ├── Cargo.toml │ └── src │ │ ├── lib.rs │ │ ├── peer.rs │ │ ├── protocol.rs │ │ └── server.rs ├── graphql │ ├── Cargo.toml │ └── src │ │ ├── contract.rs │ │ ├── lib.rs │ │ ├── model.rs │ │ ├── scalar.rs │ │ ├── schema.rs │ │ └── server.rs └── producer │ ├── Cargo.toml │ └── src │ └── lib.rs ├── state ├── Cargo.toml └── src │ ├── db.rs │ ├── keys.rs │ ├── lib.rs │ ├── parameter.rs │ └── property.rs ├── tvm ├── Cargo.toml └── src │ ├── backend.rs │ ├── lib.rs │ └── precompile │ ├── alt_bn128.rs │ ├── helper.rs │ ├── mod.rs │ └── tron.rs ├── types ├── Cargo.toml ├── README.md └── src │ └── lib.rs └── ztron ├── Cargo.toml ├── src ├── builder.rs ├── keys.rs ├── lib.rs └── precompiles │ ├── helper.rs │ └── mod.rs └── tests ├── burn.hex ├── mint.hex ├── precompiles.rs ├── transfer.hex └── transfer.to2.hex /.cargo/config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/.cargo/config -------------------------------------------------------------------------------- /.clang-format: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/.clang-format -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/.editorconfig -------------------------------------------------------------------------------- /.github/workflows/rust.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/.github/workflows/rust.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/Cargo.lock -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/Cargo.toml -------------------------------------------------------------------------------- /INSTALL.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/INSTALL.md -------------------------------------------------------------------------------- /LICENSE-APACHE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/LICENSE-APACHE -------------------------------------------------------------------------------- /LICENSE-MIT: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/LICENSE-MIT -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/README.md -------------------------------------------------------------------------------- /assets/logo-medium.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/assets/logo-medium.png -------------------------------------------------------------------------------- /assets/logo-small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/assets/logo-small.png -------------------------------------------------------------------------------- /chain-db/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/chain-db/Cargo.toml -------------------------------------------------------------------------------- /chain-db/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/chain-db/src/lib.rs -------------------------------------------------------------------------------- /chain/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/chain/Cargo.toml -------------------------------------------------------------------------------- /chain/src/block_builder.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/chain/src/block_builder.rs -------------------------------------------------------------------------------- /chain/src/indexed_block.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/chain/src/indexed_block.rs -------------------------------------------------------------------------------- /chain/src/indexed_header.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/chain/src/indexed_header.rs -------------------------------------------------------------------------------- /chain/src/indexed_transaction.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/chain/src/indexed_transaction.rs -------------------------------------------------------------------------------- /chain/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/chain/src/lib.rs -------------------------------------------------------------------------------- /chain/src/merkle_root.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/chain/src/merkle_root.rs -------------------------------------------------------------------------------- /cli/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/cli/Cargo.toml -------------------------------------------------------------------------------- /cli/src/account.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/cli/src/account.rs -------------------------------------------------------------------------------- /cli/src/cli.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/cli/src/cli.yml -------------------------------------------------------------------------------- /cli/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/cli/src/main.rs -------------------------------------------------------------------------------- /cli/src/proposal.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/cli/src/proposal.rs -------------------------------------------------------------------------------- /cli/src/system.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/cli/src/system.rs -------------------------------------------------------------------------------- /cli/src/util.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/cli/src/util.rs -------------------------------------------------------------------------------- /cli/src/witness.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/cli/src/witness.rs -------------------------------------------------------------------------------- /config/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/config/Cargo.toml -------------------------------------------------------------------------------- /config/src/genesis.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/config/src/genesis.rs -------------------------------------------------------------------------------- /config/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/config/src/lib.rs -------------------------------------------------------------------------------- /constants/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/constants/Cargo.toml -------------------------------------------------------------------------------- /constants/src/block_version.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/constants/src/block_version.rs -------------------------------------------------------------------------------- /constants/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/constants/src/lib.rs -------------------------------------------------------------------------------- /context/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/context/Cargo.toml -------------------------------------------------------------------------------- /context/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/context/src/lib.rs -------------------------------------------------------------------------------- /crypto/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/crypto/Cargo.toml -------------------------------------------------------------------------------- /crypto/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/crypto/src/lib.rs -------------------------------------------------------------------------------- /docs/graphql.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/docs/graphql.md -------------------------------------------------------------------------------- /docs/networks.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/docs/networks.md -------------------------------------------------------------------------------- /docs/proposal.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/docs/proposal.md -------------------------------------------------------------------------------- /docs/tvm.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/docs/tvm.md -------------------------------------------------------------------------------- /docs/txpool.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/docs/txpool.md -------------------------------------------------------------------------------- /docs/versions.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/docs/versions.md -------------------------------------------------------------------------------- /etc/conf.local-test.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/etc/conf.local-test.toml -------------------------------------------------------------------------------- /etc/conf.nile.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/etc/conf.nile.toml -------------------------------------------------------------------------------- /etc/conf.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/etc/conf.toml -------------------------------------------------------------------------------- /etc/genesis.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/etc/genesis.json -------------------------------------------------------------------------------- /etc/genesis.local-test.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/etc/genesis.local-test.json -------------------------------------------------------------------------------- /etc/genesis.nile.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/etc/genesis.nile.json -------------------------------------------------------------------------------- /keys/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/keys/Cargo.toml -------------------------------------------------------------------------------- /keys/src/address.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/keys/src/address.rs -------------------------------------------------------------------------------- /keys/src/error.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/keys/src/error.rs -------------------------------------------------------------------------------- /keys/src/keypair.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/keys/src/keypair.rs -------------------------------------------------------------------------------- /keys/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/keys/src/lib.rs -------------------------------------------------------------------------------- /keys/src/private.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/keys/src/private.rs -------------------------------------------------------------------------------- /keys/src/public.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/keys/src/public.rs -------------------------------------------------------------------------------- /keys/src/signature.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/keys/src/signature.rs -------------------------------------------------------------------------------- /manager/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/manager/Cargo.toml -------------------------------------------------------------------------------- /manager/src/executor/actuators/account.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/manager/src/executor/actuators/account.rs -------------------------------------------------------------------------------- /manager/src/executor/actuators/asset.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/manager/src/executor/actuators/asset.rs -------------------------------------------------------------------------------- /manager/src/executor/actuators/exchange.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/manager/src/executor/actuators/exchange.rs -------------------------------------------------------------------------------- /manager/src/executor/actuators/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/manager/src/executor/actuators/mod.rs -------------------------------------------------------------------------------- /manager/src/executor/actuators/proposal.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/manager/src/executor/actuators/proposal.rs -------------------------------------------------------------------------------- /manager/src/executor/actuators/resource.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/manager/src/executor/actuators/resource.rs -------------------------------------------------------------------------------- /manager/src/executor/actuators/shielded.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/manager/src/executor/actuators/shielded.rs -------------------------------------------------------------------------------- /manager/src/executor/actuators/smart_contract.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/manager/src/executor/actuators/smart_contract.rs -------------------------------------------------------------------------------- /manager/src/executor/actuators/transfer.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/manager/src/executor/actuators/transfer.rs -------------------------------------------------------------------------------- /manager/src/executor/actuators/witness.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/manager/src/executor/actuators/witness.rs -------------------------------------------------------------------------------- /manager/src/executor/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/manager/src/executor/mod.rs -------------------------------------------------------------------------------- /manager/src/governance/maintenance.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/manager/src/governance/maintenance.rs -------------------------------------------------------------------------------- /manager/src/governance/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/manager/src/governance/mod.rs -------------------------------------------------------------------------------- /manager/src/governance/proposal.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/manager/src/governance/proposal.rs -------------------------------------------------------------------------------- /manager/src/governance/reward.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/manager/src/governance/reward.rs -------------------------------------------------------------------------------- /manager/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/manager/src/lib.rs -------------------------------------------------------------------------------- /manager/src/resource.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/manager/src/resource.rs -------------------------------------------------------------------------------- /manager/src/version_fork.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/manager/src/version_fork.rs -------------------------------------------------------------------------------- /manager/src/vm.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/manager/src/vm.rs -------------------------------------------------------------------------------- /merkle-tree/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/merkle-tree/Cargo.toml -------------------------------------------------------------------------------- /merkle-tree/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/merkle-tree/README.md -------------------------------------------------------------------------------- /merkle-tree/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/merkle-tree/src/lib.rs -------------------------------------------------------------------------------- /merkle-tree/src/merkle_tree.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/merkle-tree/src/merkle_tree.rs -------------------------------------------------------------------------------- /merkle-tree/src/tree.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/merkle-tree/src/tree.rs -------------------------------------------------------------------------------- /opentron/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/opentron/Cargo.toml -------------------------------------------------------------------------------- /opentron/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/opentron/README.md -------------------------------------------------------------------------------- /opentron/src/cli.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/opentron/src/cli.yml -------------------------------------------------------------------------------- /opentron/src/commands/check.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/opentron/src/commands/check.rs -------------------------------------------------------------------------------- /opentron/src/commands/dev.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/opentron/src/commands/dev.rs -------------------------------------------------------------------------------- /opentron/src/commands/fix.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/opentron/src/commands/fix.rs -------------------------------------------------------------------------------- /opentron/src/commands/key.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/opentron/src/commands/key.rs -------------------------------------------------------------------------------- /opentron/src/commands/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/opentron/src/commands/mod.rs -------------------------------------------------------------------------------- /opentron/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/opentron/src/lib.rs -------------------------------------------------------------------------------- /opentron/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/opentron/src/main.rs -------------------------------------------------------------------------------- /opentron/src/util.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/opentron/src/util.rs -------------------------------------------------------------------------------- /proto/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/proto/Cargo.toml -------------------------------------------------------------------------------- /proto/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/proto/README.md -------------------------------------------------------------------------------- /proto/build.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/proto/build.rs -------------------------------------------------------------------------------- /proto/proto/chain.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/proto/proto/chain.proto -------------------------------------------------------------------------------- /proto/proto/channel.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/proto/proto/channel.proto -------------------------------------------------------------------------------- /proto/proto/common.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/proto/proto/common.proto -------------------------------------------------------------------------------- /proto/proto/contract.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/proto/proto/contract.proto -------------------------------------------------------------------------------- /proto/proto/discovery.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/proto/proto/discovery.proto -------------------------------------------------------------------------------- /proto/proto/state.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/proto/proto/state.proto -------------------------------------------------------------------------------- /proto/src/contract_ext.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/proto/src/contract_ext.rs -------------------------------------------------------------------------------- /proto/src/google.protobuf.rs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /proto/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/proto/src/lib.rs -------------------------------------------------------------------------------- /proto/src/proto.chain.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/proto/src/proto.chain.rs -------------------------------------------------------------------------------- /proto/src/proto.channel.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/proto/src/proto.channel.rs -------------------------------------------------------------------------------- /proto/src/proto.common.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/proto/src/proto.common.rs -------------------------------------------------------------------------------- /proto/src/proto.contract.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/proto/src/proto.contract.rs -------------------------------------------------------------------------------- /proto/src/proto.discovery.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/proto/src/proto.discovery.rs -------------------------------------------------------------------------------- /proto/src/proto.state.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/proto/src/proto.state.rs -------------------------------------------------------------------------------- /rustfmt.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/rustfmt.toml -------------------------------------------------------------------------------- /scripts/download-ztron-params.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/scripts/download-ztron-params.sh -------------------------------------------------------------------------------- /services/channel/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/services/channel/Cargo.toml -------------------------------------------------------------------------------- /services/channel/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/services/channel/src/lib.rs -------------------------------------------------------------------------------- /services/channel/src/protocol.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/services/channel/src/protocol.rs -------------------------------------------------------------------------------- /services/channel/src/server.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/services/channel/src/server.rs -------------------------------------------------------------------------------- /services/discovery/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/services/discovery/Cargo.toml -------------------------------------------------------------------------------- /services/discovery/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/services/discovery/src/lib.rs -------------------------------------------------------------------------------- /services/discovery/src/peer.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/services/discovery/src/peer.rs -------------------------------------------------------------------------------- /services/discovery/src/protocol.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/services/discovery/src/protocol.rs -------------------------------------------------------------------------------- /services/discovery/src/server.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/services/discovery/src/server.rs -------------------------------------------------------------------------------- /services/graphql/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/services/graphql/Cargo.toml -------------------------------------------------------------------------------- /services/graphql/src/contract.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/services/graphql/src/contract.rs -------------------------------------------------------------------------------- /services/graphql/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/services/graphql/src/lib.rs -------------------------------------------------------------------------------- /services/graphql/src/model.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/services/graphql/src/model.rs -------------------------------------------------------------------------------- /services/graphql/src/scalar.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/services/graphql/src/scalar.rs -------------------------------------------------------------------------------- /services/graphql/src/schema.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/services/graphql/src/schema.rs -------------------------------------------------------------------------------- /services/graphql/src/server.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/services/graphql/src/server.rs -------------------------------------------------------------------------------- /services/producer/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/services/producer/Cargo.toml -------------------------------------------------------------------------------- /services/producer/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/services/producer/src/lib.rs -------------------------------------------------------------------------------- /state/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/state/Cargo.toml -------------------------------------------------------------------------------- /state/src/db.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/state/src/db.rs -------------------------------------------------------------------------------- /state/src/keys.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/state/src/keys.rs -------------------------------------------------------------------------------- /state/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/state/src/lib.rs -------------------------------------------------------------------------------- /state/src/parameter.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/state/src/parameter.rs -------------------------------------------------------------------------------- /state/src/property.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/state/src/property.rs -------------------------------------------------------------------------------- /tvm/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/tvm/Cargo.toml -------------------------------------------------------------------------------- /tvm/src/backend.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/tvm/src/backend.rs -------------------------------------------------------------------------------- /tvm/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/tvm/src/lib.rs -------------------------------------------------------------------------------- /tvm/src/precompile/alt_bn128.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/tvm/src/precompile/alt_bn128.rs -------------------------------------------------------------------------------- /tvm/src/precompile/helper.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/tvm/src/precompile/helper.rs -------------------------------------------------------------------------------- /tvm/src/precompile/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/tvm/src/precompile/mod.rs -------------------------------------------------------------------------------- /tvm/src/precompile/tron.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/tvm/src/precompile/tron.rs -------------------------------------------------------------------------------- /types/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/types/Cargo.toml -------------------------------------------------------------------------------- /types/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/types/README.md -------------------------------------------------------------------------------- /types/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub use primitive_types::*; 2 | -------------------------------------------------------------------------------- /ztron/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/ztron/Cargo.toml -------------------------------------------------------------------------------- /ztron/src/builder.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/ztron/src/builder.rs -------------------------------------------------------------------------------- /ztron/src/keys.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/ztron/src/keys.rs -------------------------------------------------------------------------------- /ztron/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/ztron/src/lib.rs -------------------------------------------------------------------------------- /ztron/src/precompiles/helper.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/ztron/src/precompiles/helper.rs -------------------------------------------------------------------------------- /ztron/src/precompiles/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/ztron/src/precompiles/mod.rs -------------------------------------------------------------------------------- /ztron/tests/burn.hex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/ztron/tests/burn.hex -------------------------------------------------------------------------------- /ztron/tests/mint.hex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/ztron/tests/mint.hex -------------------------------------------------------------------------------- /ztron/tests/precompiles.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/ztron/tests/precompiles.rs -------------------------------------------------------------------------------- /ztron/tests/transfer.hex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/ztron/tests/transfer.hex -------------------------------------------------------------------------------- /ztron/tests/transfer.to2.hex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/andelf/opentron/HEAD/ztron/tests/transfer.to2.hex --------------------------------------------------------------------------------