SHIOFactory — The Locksmith¶
One-line pitch: SHIOFactory takes two SHA tokens and welds them into a SHIO pair. Infrastructure — you never call it.
What this is¶
Single-function factory: New(Rod, Cone, MathLib) returns a new SHIO with both SHAs already owning-permission wired. Called by YI during account creation.
If you've played a web3 game before¶
- Closest analogy: a pool factory — but for crypto-paired identity tokens instead of LP pools.
- Or: a Safe factory variant — packages existing pieces into a coherent unit.
| Dysnomia term | What it maps to |
|---|---|
| SHIOFactory | Deployer contract for SHIO pairs |
| New(Rod, Cone, MathLib) | Returns a new SHIO bound to those two SHAs |
What you actually do with it¶
- Nothing. It's invoked by YI at account-setup time.
Rewards / costs¶
- Cost: none to the player.
- Reward: none.
Requirements & gating¶
- None for players.
Where it connects¶
Produces SHIO instances from two SHA tokens. Used by YI.
Quick FAQ¶
Q: Why have a separate factory for SHIO? A: It handles the specific wiring (ownership, pair linking) that differs from a naked SHA deployment.
Want the Solidity? The contract reference lives at
technical/docs/core/03c_SHIOFACTORY.md.