Crate escrow

source ·
Expand description

Escrow Pallet

Overview

The escrow pallet allows accounts to lock the native currency and receive vote-escrowed tokens. This voting power linearly decreases per block and tends toward zero as the height approaches the max lockup period.

This implementation is based in part on Curve’s implementation, but explicitly follows the specification at https://spec.interlay.io/spec/escrow.html.

Re-exports

Modules

  • The pallet module in each FRAME pallet hosts the most important items needed to construct this pallet.

Structs

Traits