Pure package detail
rules
gno.land/p/g1wt79w2q0sfmpfrxc4990mlsg5ll09yva6fyc4p/nisse2/rules
Indexed deployment identity with independently loaded latest RPC source. Functions and Render are realm-only RPC capabilities.
Indexed deployment
Identity
- Package path
- gno.land/p/g1wt79w2q0sfmpfrxc4990mlsg5ll09yva6fyc4p/nisse2/rules
- Block
- 271544
- Deployed (UTC)
- Transaction
- 6oQ2dGMsMYAIRJ8NUKpZhxZIdNYCeyGTFR1WH/Jmzys=
Latest RPC state
Source
package rules
func MonthIndex(turns uint64) uint64 {
return turns % 12
}
func SeasonName(turns uint64) string {
switch MonthIndex(turns) / 3 {
case 0:
return "spring"
case 1:
return "summer"
case 2:
return "fall"
default:
return "winter"
}
}
func SeasonMonth(turns uint64) uint64 {
return MonthIndex(turns) % 3
}
The verified vm/qfuncs operation accepts realm paths only.
Pure packages expose source files but do not have Realm Render.