cosmos-sdk/docs/spec/bank
Christopher Goes 98caf44e35
Merge PR #2853: Write bank module specification, check spec/code consistency
* Update PENDING.md

* New structure

* Start transactions section

* Remove MsgIssue

* Update keepers.md

* Add state.md

* Update keepers.md, discovered #2887

* Move inputOutputCoins to BaseKeeper

* Remove no-loner-applicable tests

* More spec updates

* Tiny cleanup

* Clarify storage rationale

* Warn the user

* Remove extra newline
2018-11-29 22:56:42 +01:00
..
README.md Merge PR #2853: Write bank module specification, check spec/code consistency 2018-11-29 22:56:42 +01:00
keepers.md Merge PR #2853: Write bank module specification, check spec/code consistency 2018-11-29 22:56:42 +01:00
state.md Merge PR #2853: Write bank module specification, check spec/code consistency 2018-11-29 22:56:42 +01:00
transactions.md Merge PR #2853: Write bank module specification, check spec/code consistency 2018-11-29 22:56:42 +01:00

README.md

Bank module specification

Abstract

This document specifies the bank module of the Cosmos SDK.

The bank module is responsible for handling multi-asset coin transfers between accounts and tracking special-case pseudo-transfers which must work differently with particular kinds of accounts (notably delegating/undelegating for vesting accounts). It exposes several interfaces with varying capabilities for secure interaction with other modules which must alter user balances.

This module will be used in the Cosmos Hub.

Contents

  1. State
  2. Keepers
    1. Common Types
      1. Input
      2. Output
    2. BaseKeeper
    3. SendKeeper
    4. ViewKeeper
  3. Transactions
    1. MsgSend