Skip to content

SendKeeper

ratranqu edited this page Apr 26, 2021 · 2 revisions

SendKeeper

public protocol SendKeeper: ViewKeeper 

Inheritance

ViewKeeper

Requirements

inputOutputCoins(request:​inputs:​outputs:​)

func inputOutputCoins(request: Request, inputs: [Input], outputs: [Output]) throws

sendCoins(request:​fromAddress:​toAddress:​amount:​)

func sendCoins(request: Request, fromAddress: AccountAddress, toAddress: AccountAddress, amount: Coins) throws

subtractCoins(request:​address:​amount:​)

@discardableResult
    func subtractCoins(request: Request, address: AccountAddress, amount: Coins) throws -> Coins

addCoins(request:​address:​amount:​)

@discardableResult
    func addCoins(request: Request, address: AccountAddress, amount: Coins) throws -> Coins

setCoins(request:​address:​amount:​)

func setCoins(request: Request, address: AccountAddress, amount: Coins) throws

isSendEnabled(request:​)

func isSendEnabled(request: Request) -> Bool

setSendEnabled(request:​enabled:​)

func setSendEnabled(request: Request, enabled: Bool)

isBlacklisted(address:​)

func isBlacklisted(address: AccountAddress) -> Bool
Types
Protocols
Global Typealiases
Global Variables
Global Functions
Extensions
Clone this wiki locally