Skip to main content

Resource Interface SwitchboardPublic

resource interface SwitchboardPublic {

The interface that enforces the method to allow anyone to check on the available capabilities of a switchboard resource and also exposes the deposit methods to deposit funds on it.


fun getVaultTypes()

func getVaultTypes(): [Type]

fun deposit()

func deposit(from FungibleToken.Vault)

fun safeDeposit()

func safeDeposit(from FungibleToken.Vault): FungibleToken.Vault?