Type
CONTRACT
Validation date
2024-09-17 10:05:00 UTC
Fee
1.62718675 UCO

Code (329 B)

@version 1

# stop the scheduler 10 minutes after farm's end
actions triggered_by: datetime, at: 1848658200 do
  Contract.set_type("data")
  Contract.set_content("so long and thanks for all the fish")
  Contract.set_code("")
end

# every hour trigger farm's "calculate_rewards" action
actions triggered_by: interval, at: "5 * * * *" do
  Contract.add_recipient(
    address: 0x0000CAF8D5BAA374A2878FD87760A2A4AC9F5232DBB4F1143157A2006F95FFF1B40E,
    action: "calculate_rewards",
    args: []
  )

  State.set("tick", Time.now())
end

Content (0 B)

State (17 B)

 
{
  "tick": 1726567500
}
                  
Movements (0)

Ownerships (1)

  • Secret shared with 1 key

    Encoded secret

    DDDC537F5FF21E1615E201AB08F30E96BFE5F0B3BDEE047798E98E9F894217A2C8E1DB79286C277EE147501E5939FD78B99D82AFB6783B41F313B553

    Authorized keys

    • 00017877BCF4122095926A49489009649603AB129822A19EF9D573B8FD714911ED7F

Inputs (0)

Contract inputs (0)

Unspent outputs (1)

Proofs and signatures

Previous public key

000110280DA0BA7CD5598DB0A0AE68B2B96E987C2E07218698C8835232258D7EAA4A

Previous signature

6FBFAAB65B2E3519376ACC0241838486A1C8138FC9C71678AF8582AD252AC12239026CBADC62BF83D4FE3B6F0214721B32D218AD45B3BA5B13663D65D77C050E

Origin signature

3045022100E63B043B90834F29216D4FF2A8E2CBB692AA98CEDF92732B6FB4AC5D0F0C8B9B022008209D7B3C6CB6868E18DE62FDEA1840B6563C828F06FC0B62D5D408F4B64EB9

Proof of work

010104BB7216545F28C83467606EDA88968E19C436410AB446D1BC88FEBDE3506275F9B0B931CAAE420B96B2A158B7112F13795C878CCC346C76E04A96C59CCFC6FC39

Proof of integrity

0021D205C95FBB7D492CBDA43C248BC607B5938A5F31D983D7D0A898C0327E8CEA

Coordinator signature

2BCC17CD3BF2B1402F91C82061268FE3848616BADAACAEFE53E815DF905ABD4288DB58C60EDAF0AFD8A0B5804E20BC3E71964FDFB7D2FCE98AA7961DF65C8E00

Validator #1 public key

0001495101672E3A9A57CD61520FB6F0E381E111EFFF0C2EAD677336BABB33C45C6A

Validator #1 signature

FB0756D7DB0DF10FD8C66FC32FA8F823206B54A0E1763567FD0A93E340FA6EA3E2F7B5B30E490B6A46419DBCFF7A001D3DF48255B5C63748DF20E5B7E2FFF807

Validator #2 public key

0001A1E702652C3DBD4CD9FCB5896672A42A90DFC3B1EA9A266103D07EEBF651B1A2

Validator #2 signature

3B39A6E9BB32C34E163F2B2A0656E36393BA411E181124B73EEFC343175CF69505089F5318B02B66BF268F132602600CA7FEB4B1A858B7A18F436ED65DD6C10D