Type
CONTRACT
Validation date
2024-09-17 13:05:00 UTC
Fee
1.69810854 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": 1726578300
}
                  
Movements (0)

Ownerships (1)

  • Secret shared with 1 key

    Encoded secret

    3FDAB4460E02F318D8269E88F0210AC09366CE80E73A74DB07AFE617AE2FC5DA746B9A2A6F214176FEC438B50AD29B61A70632C43B780CA6A24496A2

    Authorized keys

    • 00017877BCF4122095926A49489009649603AB129822A19EF9D573B8FD714911ED7F

Inputs (0)

Contract inputs (0)

Unspent outputs (1)

Proofs and signatures

Previous public key

0001A4DDC76988B275CC7FD851FC1F2CCEA93142F0521C7161362EC2EACC6A887E8D

Previous signature

E9C1AA36973F0AC7848D99903799C7BFE899B573E4D4B07277A91FE06065343EFF5C9D3D2C00C3F5C96ABA6E028E6AFF9583A4787FEDED0F6708A3900674BE0A

Origin signature

304502210096725F93153108BBCAB2A2CA9F20520110E085F3322009724B8FABA1370BCA6802201BD4669DD883C545F3EE956820EE4BAA6B58E5C7F21946587061581F65381D5D

Proof of work

0101046C39D56B717142B6EE14B0F8B2561ECA458F3D2D12C9977D613F78829419063211F9C21F7BB0D56B6523040A8156BE22B6E9D6332B88ED882574D12AE32F7A45

Proof of integrity

00D24B212C57B18CD7EF370B852AD6A849A032FA761C8DAC529ACD040925434BB1

Coordinator signature

A30CDC6BC266D87C913D4AF5AD982F0591770E81E92D8AC7ADBCAFE88F2C26DE96B5EAFAB49C98D91B41D51A28AC1519B461602497E152C081B30E6A20ACBF06

Validator #1 public key

000109F3F0A3EA1C4E40F676D27DF717E0A0C76D4A9EC89A8CAD79DFD414C78C1CD2

Validator #1 signature

82C42ADEFF5EFFD16CFDECF337E06E3581D3BCF75650BBBB67448AE55C0D51F92D775F4C34FF480FC84169CE65F28D04473A72E2D6E96F4FB6CBE41B3F092106

Validator #2 public key

00013979F182FBF100A7D850091072443374862E8A007B24B5E14A1405B1F3B1F406

Validator #2 signature

861374BC654958E47AA419FB0DD283C8D7B14A103D43883C75BD7BC91E7058497C7D5C320FD318F49D54268E516B4CD56DDB0E10F0C5B04E3D340F6A6999990B