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

Ownerships (1)

  • Secret shared with 1 key

    Encoded secret

    E6BC8B2355112A27C191AF555C7E6F7855BFF410782BF968292936A38EA386449232A261A5CCE81BABFFF33516568768D78D89F2B80AE128AD9C424A

    Authorized keys

    • 00017877BCF4122095926A49489009649603AB129822A19EF9D573B8FD714911ED7F

Inputs (0)

Contract inputs (0)

Unspent outputs (1)

Proofs and signatures

Previous public key

00019F632449DD7E0F89ED25A3270CCD27A2932877A20D949B313AB58840886DBFBC

Previous signature

A31B1D8D1436C4F56D99413EE567A38D9D3AC33B0B2F5B2B9F70DD10AFC49F2920B928BE1D4D7DCDC6F3AA8DF77C467F28DD69BCA50FB51CD9B32E1CD525620D

Origin signature

304502200D6F247BBC2A830754A53AEC1C14667741A831F63D91C201B1DA11AE63596F8E022100C633ADB613FF7081526EF3E12FE45F704CAB95F305D02D5D0AFDBA638D5E4D59

Proof of work

010104BB7216545F28C83467606EDA88968E19C436410AB446D1BC88FEBDE3506275F9B0B931CAAE420B96B2A158B7112F13795C878CCC346C76E04A96C59CCFC6FC39

Proof of integrity

00C5F9E59230DB3BE86385B37ED6CD1BA02B9B4489B31400135E5391C7F83565B3

Coordinator signature

583E5447E53C86888D4664FCB8ECAA401D7633F6DCC909398898480CCEFE447918A96656FDBA9942746F8B6EBD0706EC4D8707AABAAC64654EB3F9C1D411AE0E

Validator #1 public key

00013F0000490CECA80A76E7199D7B53E23583A16E24EF761384EC642713056C33D7

Validator #1 signature

3AC5602F68836D10CA374C87B0AC4CD111C3BDC38001DE72974B02D14ED218BF62FA65D7CFF033769068DD152D66ECC8350AED89EE58B72D2BEB978D70751805

Validator #2 public key

000109F3F0A3EA1C4E40F676D27DF717E0A0C76D4A9EC89A8CAD79DFD414C78C1CD2

Validator #2 signature

A251AB34BD6133094165018F376FB660C570EDF741DF774EE5CD2CD79651EA572D449AA0E79CED85E0D503EBF849A6540967E6AAD01B671C62F0B89067C96F01