Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var WasmBzMap = map[WasmKey]string{ WasmKeyPerpBinding: "bindings_perp.wasm", WasmKeyShifter: "shifter.wasm", WasmKeyController: "controller.wasm", }
WasmBzMap is a map from WasmKey to the filename for its wasm bytecode.
Functions ¶
func GetPackageDir ¶
Types ¶
type WasmKey ¶
type WasmKey int
WasmKey is an enum type for the available module binding contracts.
func (WasmKey) ToByteCode ¶
Returns the Wasm bytecode corresponding to the WasmKey. This can be stored directly with the WasmKeeper.
Click to show internal directories.
Click to hide internal directories.