contract

package
v0.0.0-...-0a58d82 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 28, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BeginBlock

type BeginBlock struct {
	HashHex    string `json:"hash_hex"`     // HashHex is the hash of the block in hex
	AppHashHex string `json:"app_hash_hex"` // AppHashHex is the app hash of the block in hex
}

type CustomMsg

type CustomMsg struct {
	Test *TestMsg `json:"test,omitempty"`
}

CustomMsg is a message sent from a smart contract to the Babylon module TODO: implement

type CustomQuery

type CustomQuery struct {
	Test *TestQuery `json:"test,omitempty"`
}

CustomQuery is a query request from a smart contract to the Babylon module TODO: implement

type EndBlock

type EndBlock struct {
	HashHex    string `json:"hash_hex"`     // HashHex is the hash of the block in hex
	AppHashHex string `json:"app_hash_hex"` // AppHashHex is the app hash of the block in hex
}

type SudoMsg

type SudoMsg struct {
	BeginBlockMsg *BeginBlock `json:"begin_block,omitempty"`
	EndBlockMsg   *EndBlock   `json:"end_block,omitempty"`
}

SudoMsg is a message sent from the Babylon module to a smart contract

type TestMsg

type TestMsg struct {
	Placeholder string `json:"placeholder,omitempty"`
}

type TestQuery

type TestQuery struct {
	Placeholder string `json:"placeholder,omitempty"`
}

type TestResponse

type TestResponse struct {
	// MaxCap is the max cap limit
	Placeholder2 string `json:"placeholder2"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL