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

Ownerships (1)

  • Secret shared with 1 key

    Encoded secret

    2CC9B4117AAC93D5400CFFF7860C88123C2A53F71E2B42887A17E8F592908FF5AFF43DF4F85BDA0515B92E3F2F398E6CAA97B72932428581C4F6B1F6

    Authorized keys

    • 00017877BCF4122095926A49489009649603AB129822A19EF9D573B8FD714911ED7F

Inputs (0)

Contract inputs (0)

Unspent outputs (1)

Proofs and signatures

Previous public key

0001C85153CD4632198B6A4EF87B3D9951D7231E0E516FED0C258DCF9AC049807E14

Previous signature

3E2DD2B1872519541444B2813185B56BD0DF38F23D9EF8EF6A7403B0DFCEED849C492FEE1B4BDE2DBA58CADE09229F8D4F5C02C5818A2C9223A08C97F7F8850E

Origin signature

30440220710D45974CF8764B05E6ED278998A3F3110B8935D7397FD39B51A4896CFAE0BA0220759662669FFC68BFE44B62C44343B7BF3EDE91214DE831DD12F10B347448EE6E

Proof of work

010104EB90F7BDD03D5A7FD9B61D9128D7CF24C11F3F7DA96825DA3680C2B6BCC48F1AFCE26E0A5F1A903EDAA4BC9390210A0A4F175847EC2A2BB325BB6D1CE8EC8F90

Proof of integrity

00B8DC91A3851A0C806992215DA65454E693733CAE56CE3C3FCCFCD5C3E552DEBA

Coordinator signature

F7AB9261EC14B6139F31EC2D5E0C3B0C82A3235E987471197E5BEEE8838109149F7731918BA2A079AC78C8433DEF63F354F41D5721D7C46977F5C5E94EDDA00E

Validator #1 public key

0001495101672E3A9A57CD61520FB6F0E381E111EFFF0C2EAD677336BABB33C45C6A

Validator #1 signature

77722E6D4EE80521B4CCD4F4C4999FF070896EE3EE642258E360C3863208159A0F73F3D5CBE718395622CE1A89F575124211081B992519FD5E00F946A046B405

Validator #2 public key

00012A70C3888F5CBD811F5E45AD85E660AFB4F6AA982C41433AE63814642DB3D283

Validator #2 signature

505FE48DF8F7CE029E817D70A5B0094DB9BDAEE1A080DDDBED0440ADF78CAB2DE9596150FCD24F31ED182BA2C9B5D7D9CB7E6DFEC5B44DD01F2DFA40C6808D06