Skip to main content
Version: Next

Resource Administrator


_10
resource Administrator {
_10
}

Functions

fun createNewMinter()


_10
func createNewMinter(allowedAmount UFix64): Minter

Function that creates and returns a new minter resource

Parameters:

  • allowedAmount : The maximum quantity of tokens that the minter could create

Returns: The Minter resource that would allow to mint tokens


fun createNewBurner()


_10
func createNewBurner(): Burner

Function that creates and returns a new burner resource

Returns: The Burner resource