Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OCEChain/OCEChain
/ functions
Functions
2,183 in github.com/OCEChain/OCEChain
⨍
Functions
2,183
◇
Types & classes
280
Method
MarshalJSON
MarshalJSON marshals to JSON using Bech32.
types/address.go:100
Method
MarshalJSON
MarshalJSON marshals to JSON using Bech32.
types/address.go:216
Method
MarshalJSON
MarshalJSON marshals to JSON using Bech32.
types/address.go:338
Method
MarshalJSON
MarshalJSON marshals the decimal
types/decimal.go:420
Method
MarshalJSON
Marshals to JSON using string
x/gov/depositsvotes.go:98
Method
MarshalJSON
Marshals to JSON using string
x/gov/proposals.go:276
Function
MarshalJSONIndent
attempt to make some pretty json
codec/codec.go:25
Function
MaxDec
maximum decimal between two
types/decimal.go:474
Function
MinDec
minimum decimal between two
types/decimal.go:466
Function
MinInt
Return the minimum of the ints
types/int.go:257
Function
MinUint
Return the minimum of the Uints
types/int.go:484
Method
MinimumFees
SetMinimumFee sets the minimum fee.
server/config/config.go:28
Function
MockKeyBase
MockKeyBase generates an in-memory keybase that will be discarded useful for --dry-run to generate a seed phrase without storing the key
client/keys.go:20
Method
ModRaw
ModRaw returns remainder after dividing with int64
types/int.go:247
Method
ModRaw
ModRaw returns remainder after dividing with uint64
types/int.go:479
Method
Modified
Exposes Modified
x/params/subspace/subspace.go:190
Method
MountStoreWithDB
Implements CommitMultiStore.
store/rootmultistore.go:63
Method
MountStoreWithDB
Mount a store to the provided key in the BaseApp multistore, using a specified DB
baseapp/baseapp.go:141
Method
MountStoresTransient
Mount stores to the provided keys in the BaseApp multistore
baseapp/baseapp.go:134
Method
MulRaw
MulRaw multipies Uint and uint64
types/int.go:452
Function
MultiStoreProofOpDecoder
MultiStoreProofOpDecoder returns a multi-store merkle proof operator from a given proof operation.
store/multistoreproof.go:68
Function
MustBech32ifyAccPub
MustBech32ifyAccPub returns the result of Bech32ifyAccPub panicing on failure.
types/address.go:401
Function
MustBech32ifyConsPub
MustBech32ifyConsPub returns the result of Bech32ifyConsPub panicing on failure.
types/address.go:436
Function
MustBech32ifyValPub
MustBech32ifyValPub returns the result of Bech32ifyValPub panicing on failure.
types/address.go:418
Function
MustGetAccPubKeyBech32
MustGetAccPubKeyBech32 returns the result of GetAccPubKeyBech32 panicing on failure.
types/address.go:464
Function
MustGetConsPubKeyBech32
MustGetConsPubKeyBech32 returns the result of GetConsPubKeyBech32 panicing on failure.
types/address.go:520
Function
MustGetValPubKeyBech32
MustGetValPubKeyBech32 returns the result of GetValPubKeyBech32 panicing on failure.
types/address.go:492
Function
MustMarshalDelegation
return the delegation without fields contained within the key for the store
x/stake/types/delegation.go:45
Function
MustMarshalRED
return the redelegation without fields contained within the key for the store
x/stake/types/delegation.go:225
Function
MustMarshalUBD
return the unbonding delegation without fields contained within the key for the store
x/stake/types/delegation.go:135
Function
MustMarshalValidator
return the redelegation without fields contained within the key for the store
x/stake/types/validator.go:76
Function
MustUnmarshalDelegation
return the delegation without fields contained within the key for the store
x/stake/types/delegation.go:54
Function
MustUnmarshalParams
unmarshal the current staking params value from store key or panic
x/stake/types/params.go:78
Function
MustUnmarshalPool
unmarshal the current pool value from store key or panics
x/stake/types/pool.go:83
Function
MustUnmarshalRED
unmarshal a redelegation from a store key and value
x/stake/types/delegation.go:238
Function
MustUnmarshalUBD
unmarshal a unbonding delegation from a store key and value
x/stake/types/delegation.go:146
Function
MustUnmarshalValidator
unmarshal a redelegation from a store key and value
x/stake/types/validator.go:94
Method
Name
()
types/store.go:313
Method
Name
Implements StoreKey
types/store.go:368
Method
Name
BaseApp Name
baseapp/baseapp.go:111
Method
Name
Returns name of Subspace
x/params/subspace/subspace.go:165
Method
Name
Exposes Space
x/params/subspace/subspace.go:195
Function
New
New creates a new keybase instance using the passed DB for reading and writing keys.
crypto/keys/keybase.go:79
Function
NewAccountKeeper
NewAccountKeeper returns a new sdk.AccountKeeper that uses go-amino to (binary) encode and decode concrete sdk.Accounts. nolint
x/auth/keeper.go:27
Function
NewAnteHandler
NewAnteHandler returns an AnteHandler that checks and increments sequence numbers, checks signatures & account numbers, and deducts fees from the firs
x/auth/ante.go:26
Function
NewApp
NewApp partially constructs a new app on the memstore for module and genesis testing.
x/mock/app.go:41
Function
NewAppAccount
NewAppAccount returns a reference to a new AppAccount given a name and an auth.BaseAccount.
app/app.go:208
Function
NewBaseAccountWithAddress
(addr sdk.AccAddress)
x/auth/account.go:56
Function
NewBaseApp
NewBaseApp returns a reference to an initialized BaseApp. TODO: Determine how to use a flexible and robust configuration paradigm that allows for sen
baseapp/baseapp.go:89
Function
NewBaseKeeper
NewBaseKeeper returns a new BaseKeeper
x/bank/keeper.go:36
Function
NewBaseSendKeeper
NewBaseSendKeeper returns a new BaseSendKeeper.
x/bank/keeper.go:103
Function
NewBaseViewKeeper
NewBaseViewKeeper returns a new BaseViewKeeper.
x/bank/keeper.go:150
Function
NewBasecoinApp
NewBasecoinApp returns a reference to a new BasecoinApp given a logger and database. Internally, a codec is created along with all the necessary keys.
app/app.go:56
Function
NewCLIContext
NewCLIContext returns a new initialized CLIContext with parameters from the command line using Viper.
client/context/context.go:58
Function
NewCodespacer
NewCodespacer generates a new Codespacer with the starting codespace
types/codespacer.go:9
Function
NewCommitMultiStore
nolint
store/rootmultistore.go:40
Function
NewContext
create a new context
types/context.go:35
Function
NewDec
______________________________________________________________________________________________ create a new Dec from integer assuming whole number
types/decimal.go:73
Function
NewDecCoin
(denom string, amount int64)
x/distribution/types/dec_coin.go:16
Function
NewDecCoins
(coins sdk.Coins)
x/distribution/types/dec_coin.go:58
Function
NewDecFromBigInt
create a new Dec from big integer assuming whole numbers CONTRACT: prec <= Precision
types/decimal.go:87
Function
NewDecFromInt
create a new Dec from big integer assuming whole numbers CONTRACT: prec <= Precision
types/decimal.go:101
Function
NewDefaultContext
()
server/util.go:33
Function
NewDescription
NewDescription returns a new Description with the provided values.
x/stake/types/validator.go:257
Function
NewErrKeyNotFound
NewErrKeyNotFound returns a standardized error reflecting that the specified key doesn't exist
crypto/keys/keyerror/errors.go:31
Function
NewErrWrongPassword
NewErrWrongPassword returns a standardized error reflecting that the specified password is wrong
crypto/keys/keyerror/errors.go:64
Function
NewError
NewError - create an error.
types/errors.go:188
Function
NewFeeCollectionKeeper
(cdc *codec.Codec, key sdk.StoreKey)
x/auth/feekeeper.go:23
Function
NewFundraiserParams
NewFundraiserParams creates a BIP 44 parameter object from the params: m / 44' / 118' / account' / 0 / address_index The fixed parameters (purpose', c
crypto/keys/hd/hdpath.go:131
Function
NewGenesisAccount
NewGenesisAccount returns a reference to a new GenesisAccount given an AppAccount.
app/app.go:246
Function
NewGenesisState
(startingProposalID uint64, dp DepositParams, vp VotingParams, tp TallyParams)
x/gov/genesis.go:32
Function
NewGenesisState
(pool Pool, params Params, validators []Validator, bonds []Delegation)
x/stake/types/genesis.go:19
Function
NewHandler
(k keeper.Keeper)
x/distribution/handler.go:10
Function
NewHandler
NewHandler returns a handler for "bank" type messages.
x/bank/handler.go:8
Function
NewHandler
(ibcm Mapper, ck bank.Keeper)
x/ibc/handler.go:8
Function
NewHandler
(k Keeper)
x/slashing/handler.go:7
Function
NewHandler
(k keeper.Keeper)
x/stake/handler.go:13
Function
NewIBCPacket
(srcAddr sdk.AccAddress, destAddr sdk.AccAddress, coins sdk.Coins, srcChain string, destChain string)
x/ibc/types.go:32
Function
NewInput
NewInput - create a transaction input, used with MsgSend
x/bank/msgs.go:181
Function
NewInt64Coin
(denom string, amount int64)
types/coin.go:24
Function
NewIntFromString
NewIntFromString constructs Int from string
types/int.go:100
Function
NewIntWithDecimal
NewIntWithDecimal constructs Int with decimal Result value is n*10^dec
types/int.go:115
Function
NewKVStoreKey
NewKVStoreKey returns a new pointer to a KVStoreKey. Use a pointer so keys don't collide.
types/store.go:307
Function
NewKeeper
(cdc *codec.Codec, key sdk.StoreKey, paramSpace params.Subspace, sk StakeKeeper, fck FeeCollectionKeeper)
x/mint/keeper.go:18
Function
NewKeeper
NewKeeper constructs a params keeper
x/params/keeper.go:20
Function
NewMapper
XXX: The Mapper should not take a CoinKeeper. Rather have the CoinKeeper take an Mapper.
x/ibc/mapper.go:19
Function
NewMsgBeginRedelegate
(delAddr sdk.AccAddress, valSrcAddr, valDstAddr sdk.ValAddress, sharesAmount sdk.Dec)
x/stake/types/msg.go:224
Function
NewMsgBeginUnbonding
(delAddr sdk.AccAddress, valAddr sdk.ValAddress, sharesAmount sdk.Dec)
x/stake/types/msg.go:287
Function
NewMsgCreateValidator
Default way to create validator. Delegator address and validator address are the same
x/stake/types/msg.go:29
Function
NewMsgDelegate
(delAddr sdk.AccAddress, valAddr sdk.ValAddress, delegation sdk.Coin)
x/stake/types/msg.go:176
Function
NewMsgDeposit
(depositer sdk.AccAddress, proposalID uint64, amount sdk.Coins)
x/gov/msgs.go:92
Function
NewMsgEditValidator
(valAddr sdk.ValAddress, description Description, newRate *sdk.Dec)
x/stake/types/msg.go:124
Function
NewMsgIssue
NewMsgIssue - construct arbitrary multi-in, multi-out send msg.
x/bank/msgs.go:101
Function
NewMsgSend
NewMsgSend - construct arbitrary multi-in, multi-out send msg.
x/bank/msgs.go:18
Function
NewMsgSetWithdrawAddress
(delAddr, withdrawAddr sdk.AccAddress)
x/distribution/types/msg.go:23
Function
NewMsgSubmitProposal
(title string, description string, proposalType ProposalKind, proposer sdk.AccAddress, initialDeposit sdk.Coin
x/gov/msgs.go:24
Function
NewMsgUnjail
(validatorAddr sdk.ValAddress)
x/slashing/msg.go:21
Function
NewMsgVote
(voter sdk.AccAddress, proposalID uint64, option VoteOption)
x/gov/msgs.go:153
Function
NewMsgWithdrawDelegatorReward
(delAddr sdk.AccAddress, valAddr sdk.ValAddress)
x/distribution/types/msg.go:104
Function
NewMsgWithdrawDelegatorRewardsAll
(delAddr sdk.AccAddress)
x/distribution/types/msg.go:65
← previous
next →
1,701–1,800 of 2,183, ranked by callers