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

Ownerships (1)

  • Secret shared with 1 key

    Encoded secret

    28C8A38A6CE1A050A50B93F297E4907406272F2B9BEF5DB7C5356175868219D81ACAFE9273C69FB78AAEB8B15FC191ABC420E7D24DFB19830F2CE21A

    Authorized keys

    • 00017877BCF4122095926A49489009649603AB129822A19EF9D573B8FD714911ED7F

Inputs (0)

Contract inputs (0)

Unspent outputs (1)

Proofs and signatures

Previous public key

0001DBD5F79B24884F42124CDA28EA90F196A562FA655A806DAB4FED4DBD4E62E768

Previous signature

5B735B30795BCBE11BDC141F47180A0AC11E76C8404664772D4EF4313A3072903415A4F2A9EB0003A19DDCF80B1C82FCFD93FCBF93A4D0FB79D10BCB2AA0180D

Origin signature

30450220655E0360882B3263EB15A551973630275BCAF47D0BF7CE7453C4EA9DD791C8DE02210098795356BE00784C1C67B9D46CD4C7DFE2D0789EA838572B687C7CE01C11C633

Proof of work

010204AA023E1E039788AD4B8F713C8871CA39A177414A99A0788993AD725B1FBB7AD5E4CAC86151A9E03451DCACB1EFC100B1E450FCEDAF5E5005F3A4C503D1D29712

Proof of integrity

00F2EA04052C15096D0CC68C1CBDB2D67D9F9D71D84668A42278D5CDB2C98AC5F5

Coordinator signature

197B4582186A1EA70A2A5C2062693D6DBA2540E5FEAFE2109D149485AEB919D0E7B53BA44FABA341BC01B2F610B7819D6FFACC556AADE113AAFFC04BC71FE403

Validator #1 public key

00013D16BDF02C72DB6831A1EB14200C6D5427B4303351645BDFFC9B132DFE3A53FC

Validator #1 signature

9F1565104465D179DE828C9C515913DFD6B2C98A035F0E9B78C5D25D305A7A07AE4FB2B3EBFC539C84D3C6959DC5F66E6F7AF01481CF108951ABD4963EE5F70A

Validator #2 public key

00013F0000490CECA80A76E7199D7B53E23583A16E24EF761384EC642713056C33D7

Validator #2 signature

B5BF1D70087082F69707EEA7F38E23E7AF5BD1978A89F74236EC67F39A25A28E4E36ED76A6816A045AE350AD805F8B10AAD96F1D3251B93C8D2C087372655A06