[−][src]Trait sunshine_bank::Trait
Associated Types
type Event: From<Event<Self>> + Into<Self::Event>
The overarching event types
type SpendId: Parameter + Member + AtLeast32Bit + Codec + Default + Copy + MaybeSerializeDeserialize + Debug + PartialOrd + PartialEq + Zero
Identifier for spends, only has meaning in the context of a bank account (OnChainTreasuryID)
type Currency: Currency<Self::AccountId> + ReservableCurrency<Self::AccountId>
The currency type for on-chain transactions
type MaxTreasuryPerOrg: Get<u32>
The limit on how many bank accounts an org can have
type MinimumInitialDeposit: Get<<Self::Currency as Currency<Self::AccountId>>::Balance>
The minimum amount necessary to open an organizational bank account