Set By ID
This script returns a Set struct for the given id, if it exists.
Parameters:
- id: The id of the Set.
Returns: AllDay.SetData
- A Set struct.
import AllDay from 0xALLDAYADDRESS
pub fun main(id: UInt64): AllDay.SetData? {
return AllDay.getSetData(id: id)
}