okbchain

module
v0.1.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 15, 2023 License: Apache-2.0

README

OKBChain

The Infrastructure of Decentralized Exchange

version CircleCI codecov Go Report Card license LoC GolangCI

This repository hosts OKBChain, the implementation of the OKBChain based on the Cosmos SDK.

Note: Requires Go 1.20

Directories

Path Synopsis
app
rpc
Package rpc contains RPC handler methods, namespaces and utilities to start Ethermint's Web3-compatible JSON-RPC server.
Package rpc contains RPC handler methods, namespaces and utilities to start Ethermint's Web3-compatible JSON-RPC server.
cmd
dev
tx
client Module
libs
cosmos-sdk/client/grpc/reflection
Package reflection is a reverse proxy.
Package reflection is a reverse proxy.
cosmos-sdk/client/lcd/statik
Package statik contains static assets.
Package statik contains static assets.
cosmos-sdk/codec/types
Package types defines a custom wrapper for google.protobuf.Any which supports cached values as well as InterfaceRegistry which keeps track of types which can be used with Any for both security and introspection
Package types defines a custom wrapper for google.protobuf.Any which supports cached values as well as InterfaceRegistry which keeps track of types which can be used with Any for both security and introspection
cosmos-sdk/crypto/keys/hd
Package hd provides basic functionality Hierarchical Deterministic Wallets.
Package hd provides basic functionality Hierarchical Deterministic Wallets.
cosmos-sdk/server/grpc/gogoreflection
Package gogoreflection implements gRPC reflection for gogoproto consumers the normal reflection library does not work as it points to a different singleton registry.
Package gogoreflection implements gRPC reflection for gogoproto consumers the normal reflection library does not work as it points to a different singleton registry.
cosmos-sdk/server/grpc/reflection/v2alpha1
Package v2alpha1 is a reverse proxy.
Package v2alpha1 is a reverse proxy.
nolint
cosmos-sdk/simapp/params
Package params defines the simulation parameters in the simapp.
Package params defines the simulation parameters in the simapp.
cosmos-sdk/store/types
// Code generated by protoc-gen-gogo.
// Code generated by protoc-gen-gogo.
cosmos-sdk/tests/mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
cosmos-sdk/types/errors
Package errors implements custom error interfaces for cosmos-sdk.
Package errors implements custom error interfaces for cosmos-sdk.
cosmos-sdk/types/module
Package module contains application module patterns and associated "manager" functionality.
Package module contains application module patterns and associated "manager" functionality.
cosmos-sdk/types/rest
Package rest provides HTTP types and primitives for REST requests validation and responses handling.
Package rest provides HTTP types and primitives for REST requests validation and responses handling.
cosmos-sdk/types/tx
Package tx is a reverse proxy.
Package tx is a reverse proxy.
cosmos-sdk/version
Package version is a convenience utility that provides SDK consumers with a ready-to-use version command that produces apps versioning information based on flags passed at compile time.
Package version is a convenience utility that provides SDK consumers with a ready-to-use version command that produces apps versioning information based on flags passed at compile time.
cosmos-sdk/x/auth
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/cosmos/cosmos-sdk/x/auth/ante ALIASGEN: github.com/cosmos/cosmos-sdk/x/auth/keeper ALIASGEN: github.com/cosmos/cosmos-sdk/x/auth/types
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/cosmos/cosmos-sdk/x/auth/ante ALIASGEN: github.com/cosmos/cosmos-sdk/x/auth/keeper ALIASGEN: github.com/cosmos/cosmos-sdk/x/auth/types
DONTCOVER nolint
DONTCOVER nolint
cosmos-sdk/x/auth/types
Package types is a reverse proxy.
Package types is a reverse proxy.
cosmos-sdk/x/auth/vesting
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/cosmos/cosmos-sdk/x/auth/vesting/types/
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/cosmos/cosmos-sdk/x/auth/vesting/types/
nolint noalias
cosmos-sdk/x/bank/internal/typesadapter
Package types is a reverse proxy.
Package types is a reverse proxy.
nolint
cosmos-sdk/x/distribution
Package distribution implements a Cosmos SDK module, that provides an implementation of the F1 fee distribution algorithm.
Package distribution implements a Cosmos SDK module, that provides an implementation of the F1 fee distribution algorithm.
nolint
DONTCOVER nolint
DONTCOVER nolint
nolint
cosmos-sdk/x/evidence
Package evidence implements a Cosmos SDK module, per ADR 009, that allows for the submission and handling of arbitrary evidence of misbehavior.
Package evidence implements a Cosmos SDK module, per ADR 009, that allows for the submission and handling of arbitrary evidence of misbehavior.
DONTCOVER
cosmos-sdk/x/genaccounts
Package genaccounts is now deprecated.
Package genaccounts is now deprecated.
DONTCOVER nolint
DONTCOVER nolint
cosmos-sdk/x/genutil
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/cosmos/cosmos-sdk/x/genutil/types
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/cosmos/cosmos-sdk/x/genutil/types
cosmos-sdk/x/gov
nolint DONTCOVER
nolint DONTCOVER
nolint
DONTCOVER nolint
DONTCOVER nolint
cosmos-sdk/x/mock
Package mock provides utility methods to ease writing tests.
Package mock provides utility methods to ease writing tests.
cosmos-sdk/x/params
Package params provides a namespaced module parameter store.
Package params provides a namespaced module parameter store.
cosmos-sdk/x/params/subspace
To prevent namespace collision between consumer modules, we define a type Subspace.
To prevent namespace collision between consumer modules, we define a type Subspace.
cosmos-sdk/x/simulation
Package simulation implements a full fledged Cosmos SDK application used for executing simulation test suites.
Package simulation implements a full fledged Cosmos SDK application used for executing simulation test suites.
nolint
noalias
DONTCOVER nolint
DONTCOVER nolint
DONTCOVER nolint
cosmos-sdk/x/supply
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/cosmos/cosmos-sdk/x/supply/internal/keeper ALIASGEN: github.com/cosmos/cosmos-sdk/x/supply/internal/types
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/cosmos/cosmos-sdk/x/supply/internal/keeper ALIASGEN: github.com/cosmos/cosmos-sdk/x/supply/internal/types
DONTCOVER nolint
cosmos-sdk/x/upgrade
Package upgrade provides a Cosmos SDK module that can be used for smoothly upgrading a live Cosmos chain to a new software version.
Package upgrade provides a Cosmos SDK module that can be used for smoothly upgrading a live Cosmos chain to a new software version.
iavl
Package iavl implements a versioned, snapshottable (immutable) AVL+ tree for persisting key-value pairs.
Package iavl implements a versioned, snapshottable (immutable) AVL+ tree for persisting key-value pairs.
iavl/mock
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package types is a reverse proxy.
ibc-go/modules/apps/27-interchain-accounts/host/types
Package types is a reverse proxy.
Package types is a reverse proxy.
ibc-go/modules/apps/29-fee/types
Package types is a reverse proxy.
Package types is a reverse proxy.
ibc-go/modules/apps/transfer/types
Package types is a reverse proxy.
Package types is a reverse proxy.
ibc-go/modules/core/02-client/types
Package types is a reverse proxy.
Package types is a reverse proxy.
ibc-go/modules/core/03-connection/types
Package types is a reverse proxy.
Package types is a reverse proxy.
ibc-go/modules/core/04-channel/types
Package types is a reverse proxy.
Package types is a reverse proxy.
ibc-go/modules/core/types
Package types is a reverse proxy.
Package types is a reverse proxy.
ibc-go/modules/light-clients/06-solomachine
Package solomachine implements a concrete `ConsensusState`, `Header`, `Misbehaviour` and `Equivocation` types for the Solo Machine light client.
Package solomachine implements a concrete `ConsensusState`, `Header`, `Misbehaviour` and `Equivocation` types for the Solo Machine light client.
ibc-go/modules/light-clients/09-localhost
Package localhost implements a concrete `ConsensusState`, `Header`, `Misbehaviour` and `Equivocation` types for the loop-back client.
Package localhost implements a concrete `ConsensusState`, `Header`, `Misbehaviour` and `Equivocation` types for the loop-back client.
ibc-go/testing
This file contains the variables, constants, and default values used in the testing package and commonly defined in tests.
This file contains the variables, constants, and default values used in the testing package and commonly defined in tests.
tendermint/crypto/merkle
Package merkle computes a deterministic minimal height Merkle tree hash.
Package merkle computes a deterministic minimal height Merkle tree hash.
nolint:gocritic
tendermint/crypto/xchacha20poly1305
Package xchacha20poly1305 creates an AEAD using hchacha, chacha, and poly1305 This allows for randomized nonces to be used in conjunction with chacha.
Package xchacha20poly1305 creates an AEAD using hchacha, chacha, and poly1305 This allows for randomized nonces to be used in conjunction with chacha.
tendermint/libs/events
Package events - Pub-Sub in go with event caching
Package events - Pub-Sub in go with event caching
tendermint/libs/flowrate
Package flowrate provides the tools for monitoring and limiting the flow rate of an arbitrary data stream.
Package flowrate provides the tools for monitoring and limiting the flow rate of an arbitrary data stream.
tendermint/libs/kv
nolint: dupl dupl is reading this as the same file as crypto/merkle/result.go
nolint: dupl dupl is reading this as the same file as crypto/merkle/result.go
tendermint/libs/pubsub
Package pubsub implements a pub-sub model with a single publisher (Server) and multiple subscribers (clients).
Package pubsub implements a pub-sub model with a single publisher (Server) and multiple subscribers (clients).
nolint
tendermint/lite
Package lite is deprecated and will be removed in v0.34!
Package lite is deprecated and will be removed in v0.34!
tendermint/lite/client
Package client defines a provider that uses a rpchttp to get information, which is used to get new headers and validators directly from a Tendermint client.
Package client defines a provider that uses a rpchttp to get information, which is used to get new headers and validators directly from a Tendermint client.
tendermint/lite2
Package lite provides a light client implementation.
Package lite provides a light client implementation.
tendermint/mempool
TODO: Better handle abci client errors.
TODO: Better handle abci client errors.
tendermint/node
Package node is the main entry point, where the Node struct, which represents a full node, is defined.
Package node is the main entry point, where the Node struct, which represents a full node, is defined.
tendermint/p2p/upnp
Taken from taipei-torrent.
Taken from taipei-torrent.
tendermint/privval
Package privval provides different implementations of the types.PrivValidator.
Package privval provides different implementations of the types.PrivValidator.
tendermint/rpc/jsonrpc
HTTP RPC server supporting calls via uri params, jsonrpc over HTTP, and jsonrpc over websockets
HTTP RPC server supporting calls via uri params, jsonrpc over HTTP, and jsonrpc over websockets
tendermint/rpc/jsonrpc/server
Commons for HTTP handling
Commons for HTTP handling
tm-db/remotedb
remotedb is a package for connecting to distributed Tendermint db.DB instances.
remotedb is a package for connecting to distributed Tendermint db.DB instances.
tm-db/remotedb/grpcdb
grpcdb is the distribution of Tendermint's db.DB instances using the gRPC transport to decouple local db.DB usages from applications, to using them over a network in a highly performant manner.
grpcdb is the distribution of Tendermint's db.DB instances using the gRPC transport to decouple local db.DB usages from applications, to using them over a network in a highly performant manner.
x
distribution
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/okx/okbchain/x/distribution/keeper ALIASGEN: github.com/okx/okbchain/x/distribution/types ALIASGEN: github.com/okx/okbchain/x/distribution/client
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/okx/okbchain/x/distribution/keeper ALIASGEN: github.com/okx/okbchain/x/distribution/types ALIASGEN: github.com/okx/okbchain/x/distribution/client
nolint
nolint
evidence
Package evidence implements a Cosmos SDK module, per ADR 009, that allows for the submission and handling of arbitrary evidence of misbehavior.
Package evidence implements a Cosmos SDK module, per ADR 009, that allows for the submission and handling of arbitrary evidence of misbehavior.
DONTCOVER
evm
gov
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories:
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories:
gov/types
nolint
nolint
icamauth/types
Package types is a reverse proxy.
Package types is a reverse proxy.
nolint
noalias
staking
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/okx/okbchain/x/staking/keeper ALIASGEN: github.com/okx/okbchain/x/staking/types ALIASGEN: github.com/okx/okbchain/x/staking/exported
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/okx/okbchain/x/staking/keeper ALIASGEN: github.com/okx/okbchain/x/staking/types ALIASGEN: github.com/okx/okbchain/x/staking/exported
staking/types
nolint
nolint
staking/typesadapter
Package types is a reverse proxy.
Package types is a reverse proxy.
token/client/rest
Package rest API.
Package rest API.
token/types
nolint
nolint
wasm
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/okx/okbchain/x/wasm/types ALIASGEN: github.com/okx/okbchain/x/wasm/keeper
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/okx/okbchain/x/wasm/types ALIASGEN: github.com/okx/okbchain/x/wasm/keeper
wasm/types
Package types is a reverse proxy.
Package types is a reverse proxy.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL