Crate drink

source ·
Expand description

The drink crate provides a sandboxed runtime for testing smart contracts without a need for a running node.

Re-exports

Modules

  • Module gathering common error and result types.
  • Module containing the Runtime trait and its example implementations. You can use drink with any runtime that implements the Runtime trait.
  • A sandboxed runtime.
  • This module provides a context-aware interface for interacting with contracts.

Macros

  • A convenience macro that allows you to load a bundle found in the target directory of the current project.

Structs

Enums

Constants

Functions

  • A helper function to create a message mock out of a typed closure.

Type Aliases

Attribute Macros