Documentation
¶
Index ¶
Constants ¶
View Source
const (
QueryView = "view"
)
Endpoints supported by the Querier.
Variables ¶
This section is empty.
Functions ¶
func NewHandler ¶
NewHandler returns a handler for "multisig" type messages.
func NewQuerier ¶
NewQuerier is the module level router for state queries
Types ¶
type Contract ¶
type Contract struct { ID string State State AliceAmount sdk.Coin AliceAddress sdk.AccAddress BobAmount sdk.Coin BobAddress sdk.AccAddress Balance sdk.Coin }
Contract represents the state of the contract.
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
Keeper maintains the link to data storage and exposes getter/setter methods for the various parts of the state machine.
func (Keeper) DeleteContract ¶
DeleteContract - deletes a contract from the store.
func (Keeper) GetContract ¶
GetContract - gets a contract from the store.
func (Keeper) HasContract ¶
HasContract - returns whether or not a contract by that ID exists.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.