Type
CONTRACT
Validation date
2024-09-16 03:05:00 UTC
Fee
1.55959213 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": 1726455900
}
                  
Movements (0)

Ownerships (1)

  • Secret shared with 1 key

    Encoded secret

    F166620F60A070D99AB37AE10554419B959276181BD4CDDF3E1A571E065A9F1FE0809BE2E03871E44DBA8CB3694F96BB483C20607B88116887C5D3CF

    Authorized keys

    • 00017877BCF4122095926A49489009649603AB129822A19EF9D573B8FD714911ED7F

Inputs (0)

Contract inputs (0)

Unspent outputs (1)

Proofs and signatures

Previous public key

00017F739760EF0E274F12EE89562F2ED3D0441878587645383272D7F3E4C5151982

Previous signature

F9C5B7C15F219AE820B47CFCF19F6501A183F4A3491CE5717F3EA0D5140C41708FCD4B0A6687AEF9296DC6A29FA1F46B7EC79DD3559C52424975852C43A9490A

Origin signature

304402205A4F95AF0921C6173366BB8D89A0E6FF6B9BB4D47949F3C544D6E56A0AF178530220689006423868169CACB0633511E6A8A9BB6E54521BB488CB88F506283AA7707C

Proof of work

010104EB90F7BDD03D5A7FD9B61D9128D7CF24C11F3F7DA96825DA3680C2B6BCC48F1AFCE26E0A5F1A903EDAA4BC9390210A0A4F175847EC2A2BB325BB6D1CE8EC8F90

Proof of integrity

003555D6EC7FFD16CC2D87C7327679362117C3D02956E16FEC6BB68D6BC627EF24

Coordinator signature

E5C77E080087906478D1C43982AA0D286E8D0AA68BA13A77E39E63E2E4A2826BDD371D4D313CADAFA8EF146F1E5C7778167054649BA67CF0648391991942F50A

Validator #1 public key

00013F0000490CECA80A76E7199D7B53E23583A16E24EF761384EC642713056C33D7

Validator #1 signature

8E26475B1BC4E887DD9810F47209FE538AE02A19DA1764E17DC0A1D9DDAE95253FCE3162FB309E0C850429F11F097BE6F9E84A8F423535523C969831F4880203

Validator #2 public key

00013979F182FBF100A7D850091072443374862E8A007B24B5E14A1405B1F3B1F406

Validator #2 signature

7E395FB2D902E5A131006AE95FECE97135216B1067776EBF1A0416C01493965E3D1F60CA1A92EF9406C5CA33598BEC291AC240344A084AFA5C4BF332DCFB7806