[][src]Crate sunshine_bank

This bank module is for gradually streaming capital from sender { AccountId, Org } to recipient { Org } so that withdrawal rules respect/enforce the ownership structure of the Org

Structs

BankStores

The store for organizational bank accounts -> keyset acts as canonical set for unique OnChainTreasuryIDs (note the cryptographic hash function)

Module
SpendReservations

Bank spend reservations

TotalBankCount

Total number of banks registered in this module

TransferInfo

Transfer info, must be referenced for every withdrawal from Org for AccountId

Withdrawals

Initialized upon first withdrawal request s.t. value contains amount remaining, if any

Enums

Call

Dispatchable calls.

Error
RawEvent

Events for this module.

Traits

Trait

Type Definitions

Event

RawEvent specialized for the configuration Trait