Type
CONTRACT
Validation date
2024-09-15 20:05:00 UTC
Fee
1.51496698 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": 1726430700
}
                  
Movements (0)

Ownerships (1)

  • Secret shared with 1 key

    Encoded secret

    C51EB18FC5BCBC2C6FD9ACD3D08FC8941CFBC768244BE84A1540AE283B96819F282ACE798B3E3FF2D6FAFD9002DF7D45F9E615BB07BF900956137BB5

    Authorized keys

    • 00017877BCF4122095926A49489009649603AB129822A19EF9D573B8FD714911ED7F

Inputs (0)

Contract inputs (0)

Unspent outputs (1)

Proofs and signatures

Previous public key

0001ABF41AD2CC52CEB36B71C64BE3EA8A8E0B0752ED27E3AF10869BECD37C42F8C1

Previous signature

900B2834F28EBF2A909B7181960DC203EBBAF76FD653308D97D57959F0051766401ABA955C64E7B157167C72EDAE9CFAB5FEF0F2207DBC813D448D7BA071A801

Origin signature

30440220244A1D470366B32E80DDB3D0162A9F4FDF9AE1E76F4E2B2D4621ED79CE7B467F02204C3FF8B96DC52B54E3B085818FE1F0600CD9C06E0F7A8CDAA64C9AA7A57B2DBC

Proof of work

0101046C39D56B717142B6EE14B0F8B2561ECA458F3D2D12C9977D613F78829419063211F9C21F7BB0D56B6523040A8156BE22B6E9D6332B88ED882574D12AE32F7A45

Proof of integrity

001A5C689F244B6979808726D1D1CBA00BCDA327BAE1E94745AF786D4B4BA1C1A2

Coordinator signature

1DC7705B8AFDAD32BBAC150AC3BF3EEEEDB1A0B7718B6A169297CF4BF23536A94B3F4FEC72210F130381CAE7454406F033F8C335ACC6780130C39B9B17EA0E05

Validator #1 public key

00016204A6DD6BA17388994E74A6529F509D1479FEFB67D8D55D1E450E30A30982D2

Validator #1 signature

0E000CE2B317F00BAD4A7F5A79AD3CB8F8F9D474AA9AA824FD094A3A08BF928578D077A4E9D09846012DE512C75D38A4128F649A7830FB2119C075EF87101B06

Validator #2 public key

0001495101672E3A9A57CD61520FB6F0E381E111EFFF0C2EAD677336BABB33C45C6A

Validator #2 signature

8803E2CA036A787088B2AFFFB853D5A45B32CD7A1F01C31CB50D7F04DBB8753512234CE6A26F8DD9F96001BDF01C5C908372FE336B2C66BD5A07A099E327080C