Set by Name
This script returns a Set struct for the given name, if it exists.
Parameters:
- setName: The name of the Set.
Returns: AllDay.SetData
A set struct.
import AllDay from 0xALLDAYADDRESS
pub fun main(setName: String): AllDay.SetData? {
return AllDay.getSetDataByName(name: setName)
}