pay

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package pay contains a forked version of the bank module. It only contains a modified message handler to support the payement of stability taxes.

Taxes are of the fomula: min(principal * taxRate, taxCap). TaxCap and taxRate are stored by the treasury module. Should transactions fail midway, taxes are still paid and non-refundable.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHandler

NewHandler returns a handler for "bank" type messages.

Types

This section is empty.

Jump to

Keyboard shortcuts

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