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

Ownerships (1)

  • Secret shared with 1 key

    Encoded secret

    70134AA72FFAE329283FA9A9781D01F24EAB874B56DF169F34430CA85A2E89CA3E00F99644676306171D6BC0972C68416F6E85066CAB9C1FE9225D2C

    Authorized keys

    • 00017877BCF4122095926A49489009649603AB129822A19EF9D573B8FD714911ED7F

Inputs (0)

Contract inputs (0)

Unspent outputs (1)

Proofs and signatures

Previous public key

00014E85DADD6BD7B92CED998505132D680CD8F9BE802A0AEE5B36AE61A031B799B4

Previous signature

F86871D5135E5E1B0C69946EC143045B80FF14907879CA4F2A8E1B313A0F48BA1CD91E7EA6621498B6AB9BB757FCCDED1578923847C6AC638A5D79E4E2DFF50F

Origin signature

3046022100E27C0B8A16A07124B2B3283C2C26523CD08D40C99975DEA9A7FE8CC7574FC029022100A80BD23EAB63764769FE05CDB61203F3D78918A1B9C2B80FE5128F95C39D6ABE

Proof of work

010104BB7216545F28C83467606EDA88968E19C436410AB446D1BC88FEBDE3506275F9B0B931CAAE420B96B2A158B7112F13795C878CCC346C76E04A96C59CCFC6FC39

Proof of integrity

00196F9EC504CBCCF47E0DBFB029435D2F3D59C829E88763EA6138AFF69B047695

Coordinator signature

443F3BFC7D3572EC4E2DB67A9DA254C86F7ABAE262F4BBAD8CFCC1F6CC28344B2B9B08A0AAECC33AA311C9C54D34618166D710F3752102C602F660B692B01D0E

Validator #1 public key

000109F3F0A3EA1C4E40F676D27DF717E0A0C76D4A9EC89A8CAD79DFD414C78C1CD2

Validator #1 signature

CCA2A81A304C0FFA0D712F4FA80670CF4CD3A9716DD08A17EC670232E5FABEC6F7B690F4BC1783AEF319BC76A8E568C4A809F16CDC0BEB2F0A0970C9F81B5A0E

Validator #2 public key

0001AAFBD70CD1928E509736D7A3F072694F7AD7AA7BF5716FB0239146EE4B633F45

Validator #2 signature

5B9526494029C7ED47B5CF2F5EE2F74BDF70267FCB080346A2DB59756D03C85742DE49D1CCD10767F92499BF0981B01EF7D0B3270099EBECEBA6D40946D06603