MCPcopy Create free account

hub / github.com/OCEChain/OCEChain / functions

Functions2,183 in github.com/OCEChain/OCEChain

MethodMarshalJSON
MarshalJSON marshals to JSON using Bech32.
types/address.go:100
MethodMarshalJSON
MarshalJSON marshals to JSON using Bech32.
types/address.go:216
MethodMarshalJSON
MarshalJSON marshals to JSON using Bech32.
types/address.go:338
MethodMarshalJSON
MarshalJSON marshals the decimal
types/decimal.go:420
MethodMarshalJSON
Marshals to JSON using string
x/gov/depositsvotes.go:98
MethodMarshalJSON
Marshals to JSON using string
x/gov/proposals.go:276
FunctionMarshalJSONIndent
attempt to make some pretty json
codec/codec.go:25
FunctionMaxDec
maximum decimal between two
types/decimal.go:474
FunctionMinDec
minimum decimal between two
types/decimal.go:466
FunctionMinInt
Return the minimum of the ints
types/int.go:257
FunctionMinUint
Return the minimum of the Uints
types/int.go:484
MethodMinimumFees
SetMinimumFee sets the minimum fee.
server/config/config.go:28
FunctionMockKeyBase
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
MethodModRaw
ModRaw returns remainder after dividing with int64
types/int.go:247
MethodModRaw
ModRaw returns remainder after dividing with uint64
types/int.go:479
MethodModified
Exposes Modified
x/params/subspace/subspace.go:190
MethodMountStoreWithDB
Implements CommitMultiStore.
store/rootmultistore.go:63
MethodMountStoreWithDB
Mount a store to the provided key in the BaseApp multistore, using a specified DB
baseapp/baseapp.go:141
MethodMountStoresTransient
Mount stores to the provided keys in the BaseApp multistore
baseapp/baseapp.go:134
MethodMulRaw
MulRaw multipies Uint and uint64
types/int.go:452
FunctionMultiStoreProofOpDecoder
MultiStoreProofOpDecoder returns a multi-store merkle proof operator from a given proof operation.
store/multistoreproof.go:68
FunctionMustBech32ifyAccPub
MustBech32ifyAccPub returns the result of Bech32ifyAccPub panicing on failure.
types/address.go:401
FunctionMustBech32ifyConsPub
MustBech32ifyConsPub returns the result of Bech32ifyConsPub panicing on failure.
types/address.go:436
FunctionMustBech32ifyValPub
MustBech32ifyValPub returns the result of Bech32ifyValPub panicing on failure.
types/address.go:418
FunctionMustGetAccPubKeyBech32
MustGetAccPubKeyBech32 returns the result of GetAccPubKeyBech32 panicing on failure.
types/address.go:464
FunctionMustGetConsPubKeyBech32
MustGetConsPubKeyBech32 returns the result of GetConsPubKeyBech32 panicing on failure.
types/address.go:520
FunctionMustGetValPubKeyBech32
MustGetValPubKeyBech32 returns the result of GetValPubKeyBech32 panicing on failure.
types/address.go:492
FunctionMustMarshalDelegation
return the delegation without fields contained within the key for the store
x/stake/types/delegation.go:45
FunctionMustMarshalRED
return the redelegation without fields contained within the key for the store
x/stake/types/delegation.go:225
FunctionMustMarshalUBD
return the unbonding delegation without fields contained within the key for the store
x/stake/types/delegation.go:135
FunctionMustMarshalValidator
return the redelegation without fields contained within the key for the store
x/stake/types/validator.go:76
FunctionMustUnmarshalDelegation
return the delegation without fields contained within the key for the store
x/stake/types/delegation.go:54
FunctionMustUnmarshalParams
unmarshal the current staking params value from store key or panic
x/stake/types/params.go:78
FunctionMustUnmarshalPool
unmarshal the current pool value from store key or panics
x/stake/types/pool.go:83
FunctionMustUnmarshalRED
unmarshal a redelegation from a store key and value
x/stake/types/delegation.go:238
FunctionMustUnmarshalUBD
unmarshal a unbonding delegation from a store key and value
x/stake/types/delegation.go:146
FunctionMustUnmarshalValidator
unmarshal a redelegation from a store key and value
x/stake/types/validator.go:94
MethodName
()
types/store.go:313
MethodName
Implements StoreKey
types/store.go:368
MethodName
BaseApp Name
baseapp/baseapp.go:111
MethodName
Returns name of Subspace
x/params/subspace/subspace.go:165
MethodName
Exposes Space
x/params/subspace/subspace.go:195
FunctionNew
New creates a new keybase instance using the passed DB for reading and writing keys.
crypto/keys/keybase.go:79
FunctionNewAccountKeeper
NewAccountKeeper returns a new sdk.AccountKeeper that uses go-amino to (binary) encode and decode concrete sdk.Accounts. nolint
x/auth/keeper.go:27
FunctionNewAnteHandler
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
FunctionNewApp
NewApp partially constructs a new app on the memstore for module and genesis testing.
x/mock/app.go:41
FunctionNewAppAccount
NewAppAccount returns a reference to a new AppAccount given a name and an auth.BaseAccount.
app/app.go:208
FunctionNewBaseAccountWithAddress
(addr sdk.AccAddress)
x/auth/account.go:56
FunctionNewBaseApp
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
FunctionNewBaseKeeper
NewBaseKeeper returns a new BaseKeeper
x/bank/keeper.go:36
FunctionNewBaseSendKeeper
NewBaseSendKeeper returns a new BaseSendKeeper.
x/bank/keeper.go:103
FunctionNewBaseViewKeeper
NewBaseViewKeeper returns a new BaseViewKeeper.
x/bank/keeper.go:150
FunctionNewBasecoinApp
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
FunctionNewCLIContext
NewCLIContext returns a new initialized CLIContext with parameters from the command line using Viper.
client/context/context.go:58
FunctionNewCodespacer
NewCodespacer generates a new Codespacer with the starting codespace
types/codespacer.go:9
FunctionNewCommitMultiStore
nolint
store/rootmultistore.go:40
FunctionNewContext
create a new context
types/context.go:35
FunctionNewDec
______________________________________________________________________________________________ create a new Dec from integer assuming whole number
types/decimal.go:73
FunctionNewDecCoin
(denom string, amount int64)
x/distribution/types/dec_coin.go:16
FunctionNewDecCoins
(coins sdk.Coins)
x/distribution/types/dec_coin.go:58
FunctionNewDecFromBigInt
create a new Dec from big integer assuming whole numbers CONTRACT: prec <= Precision
types/decimal.go:87
FunctionNewDecFromInt
create a new Dec from big integer assuming whole numbers CONTRACT: prec <= Precision
types/decimal.go:101
FunctionNewDefaultContext
()
server/util.go:33
FunctionNewDescription
NewDescription returns a new Description with the provided values.
x/stake/types/validator.go:257
FunctionNewErrKeyNotFound
NewErrKeyNotFound returns a standardized error reflecting that the specified key doesn't exist
crypto/keys/keyerror/errors.go:31
FunctionNewErrWrongPassword
NewErrWrongPassword returns a standardized error reflecting that the specified password is wrong
crypto/keys/keyerror/errors.go:64
FunctionNewError
NewError - create an error.
types/errors.go:188
FunctionNewFeeCollectionKeeper
(cdc *codec.Codec, key sdk.StoreKey)
x/auth/feekeeper.go:23
FunctionNewFundraiserParams
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
FunctionNewGenesisAccount
NewGenesisAccount returns a reference to a new GenesisAccount given an AppAccount.
app/app.go:246
FunctionNewGenesisState
(startingProposalID uint64, dp DepositParams, vp VotingParams, tp TallyParams)
x/gov/genesis.go:32
FunctionNewGenesisState
(pool Pool, params Params, validators []Validator, bonds []Delegation)
x/stake/types/genesis.go:19
FunctionNewHandler
(k keeper.Keeper)
x/distribution/handler.go:10
FunctionNewHandler
NewHandler returns a handler for "bank" type messages.
x/bank/handler.go:8
FunctionNewHandler
(ibcm Mapper, ck bank.Keeper)
x/ibc/handler.go:8
FunctionNewHandler
(k Keeper)
x/slashing/handler.go:7
FunctionNewHandler
(k keeper.Keeper)
x/stake/handler.go:13
FunctionNewIBCPacket
(srcAddr sdk.AccAddress, destAddr sdk.AccAddress, coins sdk.Coins, srcChain string, destChain string)
x/ibc/types.go:32
FunctionNewInput
NewInput - create a transaction input, used with MsgSend
x/bank/msgs.go:181
FunctionNewInt64Coin
(denom string, amount int64)
types/coin.go:24
FunctionNewIntFromString
NewIntFromString constructs Int from string
types/int.go:100
FunctionNewIntWithDecimal
NewIntWithDecimal constructs Int with decimal Result value is n*10^dec
types/int.go:115
FunctionNewKVStoreKey
NewKVStoreKey returns a new pointer to a KVStoreKey. Use a pointer so keys don't collide.
types/store.go:307
FunctionNewKeeper
(cdc *codec.Codec, key sdk.StoreKey, paramSpace params.Subspace, sk StakeKeeper, fck FeeCollectionKeeper)
x/mint/keeper.go:18
FunctionNewKeeper
NewKeeper constructs a params keeper
x/params/keeper.go:20
FunctionNewMapper
XXX: The Mapper should not take a CoinKeeper. Rather have the CoinKeeper take an Mapper.
x/ibc/mapper.go:19
FunctionNewMsgBeginRedelegate
(delAddr sdk.AccAddress, valSrcAddr, valDstAddr sdk.ValAddress, sharesAmount sdk.Dec)
x/stake/types/msg.go:224
FunctionNewMsgBeginUnbonding
(delAddr sdk.AccAddress, valAddr sdk.ValAddress, sharesAmount sdk.Dec)
x/stake/types/msg.go:287
FunctionNewMsgCreateValidator
Default way to create validator. Delegator address and validator address are the same
x/stake/types/msg.go:29
FunctionNewMsgDelegate
(delAddr sdk.AccAddress, valAddr sdk.ValAddress, delegation sdk.Coin)
x/stake/types/msg.go:176
FunctionNewMsgDeposit
(depositer sdk.AccAddress, proposalID uint64, amount sdk.Coins)
x/gov/msgs.go:92
FunctionNewMsgEditValidator
(valAddr sdk.ValAddress, description Description, newRate *sdk.Dec)
x/stake/types/msg.go:124
FunctionNewMsgIssue
NewMsgIssue - construct arbitrary multi-in, multi-out send msg.
x/bank/msgs.go:101
FunctionNewMsgSend
NewMsgSend - construct arbitrary multi-in, multi-out send msg.
x/bank/msgs.go:18
FunctionNewMsgSetWithdrawAddress
(delAddr, withdrawAddr sdk.AccAddress)
x/distribution/types/msg.go:23
FunctionNewMsgSubmitProposal
(title string, description string, proposalType ProposalKind, proposer sdk.AccAddress, initialDeposit sdk.Coin
x/gov/msgs.go:24
FunctionNewMsgUnjail
(validatorAddr sdk.ValAddress)
x/slashing/msg.go:21
FunctionNewMsgVote
(voter sdk.AccAddress, proposalID uint64, option VoteOption)
x/gov/msgs.go:153
FunctionNewMsgWithdrawDelegatorReward
(delAddr sdk.AccAddress, valAddr sdk.ValAddress)
x/distribution/types/msg.go:104
FunctionNewMsgWithdrawDelegatorRewardsAll
(delAddr sdk.AccAddress)
x/distribution/types/msg.go:65
← previousnext →1,701–1,800 of 2,183, ranked by callers