Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OCEChain/OCEChain
/ types & classes
Types & classes
280 in github.com/OCEChain/OCEChain
⨍
Functions
2,183
◇
Types & classes
280
↓ 3 callers
TypeAlias
ConsAddress
---------------------------------------------------------------------------- consensus node ----------------------------------------------------------
types/address.go:273
↓ 2 callers
TypeAlias
AccAddress
---------------------------------------------------------------------------- account -----------------------------------------------------------------
types/address.go:40
↓ 2 callers
TypeAlias
ProposalKind
----------------------------------------------------------- ProposalKind Type that represents Proposal Type as a byte
x/gov/proposals.go:128
↓ 2 callers
TypeAlias
ProposalStatus
----------------------------------------------------------- ProposalStatus Type that represents Proposal Status as a byte
x/gov/proposals.go:224
↓ 2 callers
TypeAlias
SigningAlgo
SigningAlgo defines an algorithm to derive key-pairs which can be used for cryptographic signing.
crypto/keys/keys.go:4
↓ 2 callers
TypeAlias
ValAddress
---------------------------------------------------------------------------- validator operator ------------------------------------------------------
types/address.go:156
↓ 2 callers
TypeAlias
VoteOption
Type that represents VoteOption as a byte
x/gov/depositsvotes.go:48
↓ 1 callers
TypeAlias
ABCICodeType
ABCICodeType - combined codetype / codespace
types/errors.go:14
↓ 1 callers
TypeAlias
sortByteArrays
implement `Interface` in sort package.
x/gov/test_common.go:110
Interface
Account
Account is an interface used to store coins at a given address within state. It presumes a notion of sequence numbers for replay protection, a notion
x/auth/account.go:17
FuncType
AccountDecoder
AccountDecoder unmarshals account bytes
x/auth/account.go:32
Struct
AccountKeeper
This AccountKeeper encodes/decodes accounts using the go-amino (binary) encoding/decoding library.
x/auth/keeper.go:12
FuncType
AnteHandler
AnteHandler authenticates transactions, before their internal messages are handled. If newCtx.IsZero(), ctx is used instead.
types/handler.go:8
Struct
App
App extends an ABCI application, but with most of its parameters exported. They are exported for convenience in creating helper functions, as object c
x/mock/app.go:25
Struct
AppAccount
AppAccount is a custom extension for this application. It is an example of extending auth.BaseAccount with custom fields. It is compatible with the st
app/app.go:196
FuncType
AppCreator
AppCreator is a function that allows us to lazily initialize an application using various configurations.
server/constructors.go:18
FuncType
AppExporter
AppExporter is a function that dumps all app state to JSON-serializable structure and returns the current validator set.
server/constructors.go:22
Struct
AppInit
Core functionality passed from the application to the server init command
server/init.go:19
Struct
BIP44Params
BIP44Params wraps BIP 44 params (5 level BIP 32 path). To receive a canonical string representation ala m / purpose' / coin_type' / account' / change
crypto/keys/hd/hdpath.go:37
Interface
BankKeeper
expected coin keeper
x/distribution/types/keepers.go:18
Struct
BaseAccount
BaseAccount - a base account structure. This can be extended by embedding within in your AppAccount. There are examples of this in: examples/basecoin/
x/auth/account.go:44
Struct
BaseApp
BaseApp reflects the ABCI application implementation.
baseapp/baseapp.go:42
Struct
BaseConfig
BaseConfig defines the server's basic configuration
server/config/config.go:14
Struct
BaseKeeper
BaseKeeper manages transfers between accounts. It implements the Keeper interface.
x/bank/keeper.go:31
Struct
BaseReq
---------------------------------------- Building / Sending utilities BaseReq defines a structure that can be embedded in other request structures tha
client/utils/rest.go:123
Struct
BaseSendKeeper
SendKeeper only allows transfers between accounts without the possibility of creating coins. It implements the SendKeeper interface.
x/bank/keeper.go:98
Struct
BaseViewKeeper
BaseViewKeeper implements a read only keeper implementation of ViewKeeper.
x/bank/keeper.go:145
Struct
BasecoinApp
BasecoinApp implements an extended ABCI application. It contains a BaseApp, a codec for serialization, KVStore keys for multistore state management, a
app/app.go:35
FuncType
BeginBlocker
run code before the transactions in a block
types/abci.go:9
Struct
BigInterval
BigInterval is a representation of the interval [lo, hi), where lo and hi are both of type sdk.Int
x/mock/test_utils.go:17
TypeAlias
BondStatus
status of a validator
types/stake.go:9
Struct
BroadcastBody
BroadcastBody Tx Broadcast Body
client/tx/broadcast.go:22
Struct
CLIContext
CLIContext implements a typical CLI context created in SDK modules for transaction handling and queries.
client/context/context.go:34
Interface
CacheKVStore
CacheKVStore cache-wraps a KVStore. After calling .Write() on the CacheKVStore, all previously created CacheKVStores on the object expire.
types/store.go:220
Interface
CacheMultiStore
From MultiStore.CacheMultiStore()....
types/store.go:87
Interface
CacheWrap
---------------------------------------- CacheWrap CacheWrap makes the most appropriate cache-wrap. For example, IAVLStore.CacheWrap() returns a Cache
types/store.go:240
Interface
CacheWrapper
types/store.go:251
TypeAlias
CodeType
CodeType - code identifier within codespace
types/errors.go:17
TypeAlias
CodespaceType
CodespaceType - codespace identifier
types/errors.go:20
Struct
Codespacer
Codespacer is a simple struct to track reserved codespaces
types/codespacer.go:4
Struct
Coin
Coin hold some amount of one currency
types/coin.go:12
TypeAlias
Coins
---------------------------------------- Coins Coins is a set of Coin, one per currency
types/coin.go:90
Struct
Commission
Commission defines a commission parameters for a given validator.
x/stake/types/commission.go:12
Struct
CommissionMsg
CommissionMsg defines a commission message to be used for creating a validator.
x/stake/types/commission.go:21
Struct
CommitID
---------------------------------------- CommitID CommitID contains the tree version number and its merkle root.
types/store.go:263
Interface
CommitKVStore
Stores of MultiStore must implement CommitStore.
types/store.go:228
Interface
CommitMultiStore
A non-cache MultiStore.
types/store.go:93
Interface
CommitStore
Stores of MultiStore must implement CommitStore.
types/store.go:42
Interface
Committer
something that can persist to disk
types/store.go:35
Struct
Config
Config is the structure that holds the SDK configuration parameters. This could be used to initialize certain configuration parameters for the SDK.
types/config.go:9
Struct
Config
Config defines the server's top level configuration
server/config/config.go:20
Struct
Context
* The intent of Context is for it to be an immutable object that can be cloned and updated cheaply with WithValue() and passed forward to the next dec
types/context.go:26
Struct
Context
server context
server/util.go:28
Struct
DVPair
DVPair is struct that just has a delegator-validator pair with no other data. It is intended to be used as a marshalable pointer. For example, a DVPai
x/stake/types/delegation.go:15
Struct
DVVTriplet
DVVTriplet is struct that just has a delegator-validator-validator triplet with no other data. It is intended to be used as a marshalable pointer. For
x/stake/types/delegation.go:23
Struct
Dec
NOTE: never use new(Dec) or else we will panic unmarshalling into the nil embedded big.Int
types/decimal.go:14
Struct
DecCoin
Coins which can have additional decimal points
x/distribution/types/dec_coin.go:11
TypeAlias
DecCoins
_______________________________________________________________________ coins with decimal
x/distribution/types/dec_coin.go:56
Interface
Delegation
_______________________________________________________________________________ delegation bond for a delegated proof of stake system
types/stake.go:91
Struct
Delegation
Delegation represents the bond with tokens held by an account. It is owned by one delegator, and is associated with the voting power of one pubKey.
x/stake/types/delegation.go:32
Struct
DelegationDistInfo
distribution info for a delegation - used to determine entitled rewards
x/distribution/types/delegator_info.go:8
Interface
DelegationSet
properties for the set of all delegations for a particular
types/stake.go:98
Struct
DelegatorWithdrawInfo
the address for where distributions rewards are withdrawn to by default this struct is only used at genesis to feed in default withdraw addresses
x/distribution/types/genesis.go:7
Struct
DeleteKeyBody
REST delete key request REST body
client/keys/delete.go:58
Struct
Deposit
Deposit
x/gov/depositsvotes.go:30
Struct
DepositParams
Procedure around Deposits for governance
x/gov/params.go:10
Struct
DepositWithMetadata
DepositWithMetadata (just for genesis)
x/gov/genesis.go:21
TypeAlias
DerivationPath
DerivationPath represents a Ledger derivation path.
crypto/ledger_secp256k1.go:26
Struct
Description
Description - description fields for a validator
x/stake/types/validator.go:249
Struct
DummyFeeCollectionKeeper
__________________________________________________________________________________ fee collection keeper used only for testing
x/distribution/keeper/test_common.go:146
Struct
EditDelegationsReq
the request body for edit delegations
x/stake/client/rest/tx.go:50
FuncType
EndBlocker
run code after the transactions in a block and return updates to the validator set
types/abci.go:12
Interface
Error
sdk Error type
types/errors.go:165
Struct
ErrorOutOfGas
ErrorOutOfGas defines an error thrown when an action results in out of gas.
types/gas.go:24
Interface
FeeCollectionKeeper
from ante handler
x/distribution/types/keepers.go:23
Interface
FeeCollectionKeeper
expected fee collection keeper interface
x/mint/expected_keepers.go:15
Struct
FeeCollectionKeeper
This FeeCollectionKeeper handles collection of fees in the anteHandler and setting of MinFees for different fee tokens
x/auth/feekeeper.go:14
Struct
FeePool
global fee pool for distribution
x/distribution/types/fee_pool.go:8
Struct
GasConfig
GasConfig defines gas cost for each operation on KVStores
types/gas.go:78
Interface
GasMeter
GasMeter interface to track gas consumption
types/gas.go:29
Struct
GasSetting
Gas flag parsing functions GasSetting encapsulates the possible values passed through the --gas flag.
client/flags.go:96
Struct
GenesisAccount
GenesisAccount reflects a genesis account the application expects in it's genesis state.
app/app.go:238
Struct
GenesisState
GenesisState - all distribution state that must be provided at genesis
x/distribution/types/genesis.go:13
Struct
GenesisState
GenesisState - all auth state that must be provided at genesis
x/auth/genesis.go:8
Struct
GenesisState
GenesisState - all distribution state that must be provided at genesis
x/mint/genesis.go:8
Struct
GenesisState
GenesisState - all staking state that must be provided at genesis
x/gov/genesis.go:10
Struct
GenesisState
GenesisState - all slashing state that must be provided at genesis
x/slashing/genesis.go:9
Struct
GenesisState
GenesisState - all staking state that must be provided at genesis
x/stake/types/genesis.go:8
Struct
GenesisState
GenesisState reflects the genesis state of the application.
app/app.go:232
FuncType
Handler
Handler defines the core of the state transition function of an application.
types/handler.go:4
Struct
Hooks
_________________________________________________________________________________________ Wrapper struct
x/distribution/keeper/hooks.go:90
Struct
Hooks
_________________________________________________________________________________________ Wrapper struct
x/slashing/hooks.go:55
Struct
IBCPacket
------------------------------ IBCPacket nolint - TODO rename to Packet as IBCPacket stutters (golint) IBCPacket defines a piece of data that can be s
x/ibc/types.go:24
Struct
IBCReceiveMsg
---------------------------------- IBCReceiveMsg nolint - TODO rename to ReceiveMsg as folks will reference with ibc.ReceiveMsg IBCReceiveMsg defines
x/ibc/types.go:96
Struct
IBCTransferMsg
---------------------------------- IBCTransferMsg nolint - TODO rename to TransferMsg as folks will reference with ibc.TransferMsg IBCTransferMsg defi
x/ibc/types.go:69
Interface
Info
Info is the publicly exposed information about a keypair
crypto/keys/types.go:78
Struct
Info
Info is used to prepare info to display
client/tx/query.go:119
FuncType
InitChainer
initialize application state at genesis
types/abci.go:6
Struct
Input
---------------------------------------- Input Transaction Input
x/bank/msgs.go:152
Struct
Int
Int wraps integer with 256 bit range bound Checks overflow, underflow and division by zero Exists in range from -(2^255-1) to 2^255-1
types/int.go:77
next →
1–100 of 280, ranked by callers