MCPcopy Index your code

hub / github.com/Finschia/finschia-sdk / functions

Functions1,285 in github.com/Finschia/finschia-sdk

↓ 285 callersMethodString
()
x/wasm/internal/types/params.go:105
↓ 201 callersMethodEqual
(that interface{})
x/wasm/internal/types/types.pb.go:804
↓ 81 callersMethodMarshal
()
x/wasm/internal/types/types.pb.go:1181
↓ 47 callersFunctionCreateTestInput
encoders can be nil to accept the defaults, or set it to override some of the message handlers (like default)
x/wasm/internal/keeper/test_common.go:127
↓ 46 callersFunctioncreateFakeFundedAccount
(t *testing.T, ctx sdk.Context, am authkeeper.AccountKeeper, bank bankkeeper.Keeper, coins sdk.Coins)
x/wasm/internal/keeper/test_common.go:408
↓ 42 callersMethodMerge
(o *QueryPlugins)
x/wasm/internal/keeper/query_plugins.go:71
↓ 40 callersMethodValidateBasic
()
x/wasm/internal/types/types.go:15
↓ 39 callersMethodCreate
Create will compile the wasm code, and store the resulting pre-compile as well as the original code. Both can be referenced later via CodeID This must
x/wasm/internal/types/wasmer_engine.go:19
↓ 32 callersMethodUnmarshal
(dAtA []byte)
x/wasm/internal/types/types.pb.go:2465
↓ 31 callersMethodInstantiate
Instantiate will create a new contract based on the given codeID. We can set the initMsg (contract "genesis") here, and it then receives an account an
x/wasm/internal/types/wasmer_engine.go:29
↓ 30 callersFunctionsovProposal
(x uint64)
x/wasm/internal/types/proposal.pb.go:1005
↓ 28 callersFunctionencodeVarintProposal
(dAtA []byte, offset int, v uint64)
x/wasm/internal/types/proposal.pb.go:837
↓ 28 callersFunctionsovQuery
(x uint64)
x/wasm/internal/types/query.pb.go:2478
↓ 27 callersFunctionkeyPubAddr
we need to make this deterministic (same every test run), as encoded address size and thus gas cost, depends on the actual bytes (due to ugly Canonica
x/wasm/internal/keeper/test_common.go:424
↓ 27 callersFunctionsovTypes
(x uint64)
x/wasm/internal/types/types.pb.go:1399
↓ 26 callersFunctionencodeVarintQuery
(dAtA []byte, offset int, v uint64)
x/wasm/internal/types/query.pb.go:2205
↓ 26 callersFunctionsovMsg
(x uint64)
x/wasm/internal/types/msg.pb.go:838
↓ 25 callersFunctionencodeVarintTypes
(dAtA []byte, offset int, v uint64)
x/wasm/internal/types/types.pb.go:1218
↓ 24 callersFunctioncheckAccount
(t *testing.T, ctx sdk.Context, accKeeper authkeeper.AccountKeeper, bankKeeper bankkeeper.Keeper, addr sdk.Acc
x/wasm/internal/keeper/reflect_test.go:420
↓ 24 callersFunctionencodeVarintMsg
(dAtA []byte, offset int, v uint64)
x/wasm/internal/types/msg.pb.go:675
↓ 21 callersMethodExecute
Execute calls a given contract. Since the only difference between contracts with the same CodeID is the data in their local storage, and their address
x/wasm/internal/types/wasmer_engine.go:47
↓ 19 callersMethodQuerySmart
QuerySmart queries the smart contract itself.
x/wasm/internal/keeper/keeper.go:421
↓ 18 callersFunctionInstantiateContractProposalFixture
(mutators ...func(p *InstantiateContractProposal))
x/wasm/internal/types/test_fixtures.go:139
↓ 17 callersMethodGet
(s string)
x/wasm/module_test.go:426
↓ 17 callersMethodMarshal
()
x/wasm/internal/types/query.pb.go:2042
↓ 17 callersFunctionskipQuery
(dAtA []byte)
x/wasm/internal/types/query.pb.go:4210
↓ 16 callersFunctionmustParse
(t *testing.T, data []byte, res interface{})
x/wasm/internal/keeper/reflect_test.go:67
↓ 14 callersMethodGet
Get implements AppOptions
app/test_helpers.go:51
↓ 14 callersFunctionNewWasmApp
NewWasmApp returns a reference to an initialized WasmApp.
app/app.go:240
↓ 14 callersFunctionsovGenesis
(x uint64)
x/wasm/internal/types/genesis.pb.go:621
↓ 13 callersMethodEqual
(that interface{})
x/wasm/internal/types/query.pb.go:1130
↓ 13 callersMethodQuery
Query allows a client to execute a contract-specific query. If the result is not empty, it should be valid json-encoded data to return to the client.
x/wasm/internal/types/wasmer_engine.go:62
↓ 13 callersFunctionStoreCodeProposalFixture
(mutators ...func(*StoreCodeProposal))
x/wasm/internal/types/test_fixtures.go:123
↓ 13 callersFunctionassertAttribute
(t *testing.T, key string, value string, attr abci.EventAttribute)
x/wasm/module_test.go:462
↓ 12 callersFunctionencodeVarintGenesis
(dAtA []byte, offset int, v uint64)
x/wasm/internal/types/genesis.pb.go:526
↓ 11 callersMethodGasConsumed
()
x/wasm/internal/keeper/keeper.go:684
↓ 11 callersMethodGetContractInfo
(ctx sdk.Context, contractAddress sdk.AccAddress)
x/wasm/internal/keeper/keeper.go:474
↓ 11 callersFunctioncontractAddress
(codeID, instanceID uint64)
x/wasm/internal/keeper/keeper.go:605
↓ 11 callersMethodsetParams
(ctx sdk.Context, ps types.Params)
x/wasm/internal/keeper/keeper.go:126
↓ 10 callersMethodMarshalToSizedBuffer
(dAtA []byte)
x/wasm/internal/types/query.pb.go:2057
↓ 10 callersFunctionMigrateContractProposalFixture
(mutators ...func(p *MigrateContractProposal))
x/wasm/internal/types/test_fixtures.go:174
↓ 10 callersMethodSize
()
x/wasm/internal/types/query.pb.go:2406
↓ 10 callersMethodWith
(addr sdk.AccAddress)
x/wasm/internal/types/params.go:32
↓ 10 callersMethodgetSubspace
getSubspace returns a param subspace for a given module name. NOTE: This is solely to be used for testing purposes.
app/app.go:568
↓ 9 callersMethodGetByteCode
(ctx sdk.Context, codeID uint64)
x/wasm/internal/keeper/keeper.go:558
↓ 9 callersMethodMarshalToSizedBuffer
(dAtA []byte)
x/wasm/internal/types/genesis.pb.go:407
↓ 9 callersMethodSize
()
x/wasm/internal/types/genesis.pb.go:566
↓ 9 callersFunctionskipTypes
(dAtA []byte)
x/wasm/internal/types/types.pb.go:2586
↓ 8 callersMethodMarshalToSizedBuffer
(dAtA []byte)
x/wasm/internal/types/types.pb.go:1196
↓ 8 callersMethodModuleAccountAddrs
ModuleAccountAddrs returns all the app's module account addresses.
app/app.go:535
↓ 8 callersMethodSimulationManager
SimulationManager implements the SimulationApp interface
app/app.go:561
↓ 8 callersMethodSize
()
x/wasm/internal/types/types.pb.go:1382
↓ 8 callersMethodUnmarshal
(dAtA []byte)
x/wasm/internal/types/query.pb.go:3726
↓ 8 callersFunctionUpdateAdminProposalFixture
(mutators ...func(p *UpdateAdminProposal))
x/wasm/internal/types/test_fixtures.go:206
↓ 8 callersFunctionbuildMaskQuery
(t *testing.T, query *MaskQueryMsg)
x/wasm/internal/keeper/reflect_test.go:61
↓ 7 callersMethodGetContractHistory
(ctx sdk.Context, contractAddr sdk.AccAddress)
x/wasm/internal/keeper/keeper.go:410
↓ 7 callersFunctionNewLegacyQuerier
NewLegacyQuerier creates a new querier
x/wasm/internal/keeper/legacy_querier.go:30
↓ 7 callersFunctionNewQuerier
todo: this needs proper tests and doc
x/wasm/internal/keeper/querier.go:18
↓ 7 callersMethodQueryRaw
QueryRaw returns the contract's state for give key. Returns `nil` when key is `nil`.
x/wasm/internal/keeper/keeper.go:444
↓ 7 callersMethodUnmarshal
(dAtA []byte)
x/wasm/internal/types/genesis.pb.go:815
↓ 7 callersMethodValidateBasic
()
x/wasm/internal/types/genesis.go:38
↓ 7 callersFunctioncreateFakeFundedAccount
(t *testing.T, ctx sdk.Context, am authkeeper.AccountKeeper, bankKeeper bankkeeper.Keeper, coins sdk.Coins)
x/wasm/module_test.go:556
↓ 7 callersFunctionfundAccounts
(t *testing.T, ctx sdk.Context, am authkeeper.AccountKeeper, bank bankkeeper.Keeper, addr sdk.AccAddress, coin
x/wasm/internal/keeper/test_common.go:414
↓ 7 callersMethodimportCode
(ctx sdk.Context, codeID uint64, codeInfo types.CodeInfo, wasmCode []byte)
x/wasm/internal/keeper/keeper.go:163
↓ 7 callersFunctionkeyPubAddr
()
x/wasm/module_test.go:46
↓ 6 callersFunctionClearAdminProposalFixture
(mutators ...func(p *ClearAdminProposal))
x/wasm/internal/types/test_fixtures.go:224
↓ 6 callersMethodMarshal
()
x/wasm/internal/types/msg.pb.go:354
↓ 6 callersMethodName
Name returns the name of the App
app/app.go:508
↓ 6 callersMethodappendToContractHistory
(ctx sdk.Context, contractAddr sdk.AccAddress, newEntries ...types.ContractCodeHistoryEntry)
x/wasm/internal/keeper/keeper.go:403
↓ 6 callersFunctionassertBalance
(t *testing.T, ctx sdk.Context, keeper Keeper, contract sdk.AccAddress, addr sdk.AccAddress, expected string)
x/wasm/internal/keeper/staking_test.go:666
↓ 6 callersFunctionassertCodeList
(t *testing.T, q sdk.Querier, ctx sdk.Context, expectedNum int)
x/wasm/module_test.go:468
↓ 6 callersFunctionnextBlock
this will commit the current set, update the block height and set historic info basically, letting two blocks pass
x/wasm/internal/keeper/staking_test.go:648
↓ 6 callersFunctionsetupTest
returns a cleanup function, which must be defered on
x/wasm/module_test.go:33
↓ 6 callersFunctionskipMsg
(dAtA []byte)
x/wasm/internal/types/msg.pb.go:1920
↓ 6 callersFunctionvalidateProposalCommons
(title, description string)
x/wasm/internal/types/proposal.go:348
↓ 5 callersMethodAllContractState
AllContractState gets all raw store data for a single contract
x/wasm/internal/types/query.pb.go:1266
↓ 5 callersMethodCodes
Codes gets the metadata for all stored wasm codes
x/wasm/internal/types/query.pb.go:1274
↓ 5 callersMethodContractHistory
ContractHistory gets the contract code history
x/wasm/internal/types/query.pb.go:1262
↓ 5 callersMethodContractsByCode
ContractsByCode lists all smart contracts for a code id
x/wasm/internal/types/query.pb.go:1264
↓ 5 callersMethodGetCodeInfo
(ctx sdk.Context, codeID uint64)
x/wasm/internal/keeper/keeper.go:529
↓ 5 callersFunctionInitGenesis
InitGenesis sets supply information for genesis. CONTRACT: all types of accounts must have been already initialized/created
x/wasm/internal/keeper/genesis.go:14
↓ 5 callersMethodLegacyQuerierHandler
(amino *codec.LegacyAmino)
x/wasm/module.go:112
↓ 5 callersFunctionMakeTestCodec
()
x/wasm/internal/keeper/test_common.go:87
↓ 5 callersMethodMarshal
()
x/wasm/internal/types/proposal.pb.go:518
↓ 5 callersMethodMarshalToSizedBuffer
(dAtA []byte)
x/wasm/internal/types/msg.pb.go:369
↓ 5 callersMethodProposalRoute
ProposalRoute returns the routing key of a parameter change proposal.
x/wasm/internal/types/proposal.go:67
↓ 5 callersMethodRawContractState
RawContractState gets single key from the raw store data of a contract
x/wasm/internal/types/query.pb.go:1268
↓ 5 callersMethodRoute
Route returns the message routing key for the wasm module.
x/wasm/module.go:120
↓ 5 callersMethodSize
()
x/wasm/internal/types/msg.pb.go:686
↓ 5 callersMethodSmartContractState
SmartContractState get smart query result from the contract
x/wasm/internal/types/query.pb.go:1270
↓ 5 callersFunctionassertCodeBytes
(t *testing.T, q sdk.Querier, ctx sdk.Context, codeID uint64, expectedBytes []byte)
x/wasm/module_test.go:484
↓ 5 callersMethodimportContractState
(ctx sdk.Context, contractAddress sdk.AccAddress, models []types.Model)
x/wasm/internal/keeper/keeper.go:514
↓ 5 callersFunctioninitializeStaking
(t *testing.T)
x/wasm/internal/keeper/staking_test.go:165
↓ 5 callersFunctionmaskEncoders
maskEncoders needs to be registered in test setup to handle custom message callbacks
x/wasm/internal/keeper/reflect_test.go:463
↓ 5 callersMethodsetContractInfo
(ctx sdk.Context, contractAddress sdk.AccAddress, contract *types.ContractInfo)
x/wasm/internal/keeper/keeper.go:490
↓ 5 callersFunctionskipProposal
(dAtA []byte)
x/wasm/internal/types/proposal.pb.go:2158
↓ 5 callersFunctiontoStdTxResponse
(cliCtx client.Context, w http.ResponseWriter, data wasmProposalData)
x/wasm/client/rest/gov.go:261
↓ 4 callersMethodCode
Code gets the binary code and metadata for a singe wasm code
x/wasm/internal/types/query.pb.go:1272
↓ 4 callersMethodContractInfo
ContractInfo gets the contract meta data
x/wasm/internal/types/query.pb.go:1260
↓ 4 callersFunctionDefaultParams
DefaultParams returns default wasm parameters
x/wasm/internal/types/params.go:97
next →1–100 of 1,285, ranked by callers