Custom targets โ
A custom target is similar to a test or a compilation target but associated with another custom kind
(a free form string).
@sp.add_target(name, kind)
Example โ
python
@sp.add_target(name = "orig", kind = "origination")
def origin():
scenario = sp.test_scenario()
c1 = MyContract(x=12)
scenario += c1