Type
CONTRACT
Validation date
2024-09-17 09:05:01 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": 1726563900
}
                  
Movements (0)

Ownerships (1)

  • Secret shared with 1 key

    Encoded secret

    283EE44CECDFD1226A5C6A14CE20608608977AD55175D568B60C55524A31937215E7462913067FD5CFFF48E99F82237BC391040C7FC2EE9CD4335FEA

    Authorized keys

    • 00017877BCF4122095926A49489009649603AB129822A19EF9D573B8FD714911ED7F

Inputs (0)

Contract inputs (0)

Unspent outputs (1)

Proofs and signatures

Previous public key

0001CBF981808E6F88AB1CE8BC22018C7F21DEAA1236B2FA601560C0F99C97E2BFB2

Previous signature

D9B69074DA800F78A506A7F215BC39D8F76AEA52CBD5DA9AA1F3C1C095EFBDAAD4AB43B48E2200E3E31E258C39C7A4C3CF94194E64722B24EAC9BF3263D0650B

Origin signature

304402207FAD8C9F55D4A159278F3435BEA7996C7B0BF097D04542B32FFA675FC7809C8002201437D5327DAB3BBAC555CEB70EE0A64B7DF3E9464D787E3A732B44B868337811

Proof of work

010204D6052E0C6CA9244CDE5F3D664296BDFBA0090B330404C3C16B098758F27965DFEC0D3F25D1365F389C2B6C516195552F8779DEE0796C8C33F1A9C0404F4E3381

Proof of integrity

00E8AD5F8A26275CAA761614A969755889C64ED45C30B92F657B0FDD9E6F165714

Coordinator signature

3825B54074DBF06B44A068955361EE6DB878F24F467A3591F666847F959B00E9FD615CCC0F0C31B7C68FD03F1054CC40BD55FA4514C2E4DE18FE5D9AC97D3103

Validator #1 public key

0001A1E702652C3DBD4CD9FCB5896672A42A90DFC3B1EA9A266103D07EEBF651B1A2

Validator #1 signature

AA601944662D3BFED7FFAF2F424041895BB7CC64F234BC98B78B2473BC737ECD52BC3524C3E0376F86D3EDC0095C1AD52578947B279B45F811919898F380A90A

Validator #2 public key

00013D16BDF02C72DB6831A1EB14200C6D5427B4303351645BDFFC9B132DFE3A53FC

Validator #2 signature

49ABA60D0F738C4367D793254DA80690217D4D644A38DFF086D7A05E7735F5E1EC9F2CE4A5A8C70600DA07F46A9F73D6FF201284458371A5380A52982638F30B