Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewContractHandler ¶
func NewContractHandler(k Keeper, stateProvider StateProvider) *contractHandler
func NewQuerier ¶
func NewQuerier(handler sdk.Handler, keeper Keeper, contractHandler cross.ContractHandler) sdk.Querier
NewQuerier is the module level router for state queries
Types ¶
type Context ¶
type Context interface { Signers() []sdk.AccAddress Args() [][]byte EventManager() *sdk.EventManager }
func NewContext ¶
func NewContext(signers []sdk.AccAddress, args [][]byte) Context
type Contract ¶
type Contract interface {
CallMethod(ctx Context, store cross.Store, method string) ([]byte, error)
}
func NewContract ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
func (Keeper) GetContractStateStore ¶
type StateProvider ¶
Click to show internal directories.
Click to hide internal directories.