Type
CONTRACT
Validation date
2024-09-17 03:05:01 UTC
Fee
1.61194379 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": 1726542300
}
                  
Movements (0)

Ownerships (1)

  • Secret shared with 1 key

    Encoded secret

    9EAE87ED724C690B7228D660AAF7870F79E6AC6687CB9F5D829DC76F9A12DA8324DD2FCFE660719EC47DEFBE6DB0CD3F748B1469651DE81E2A774335

    Authorized keys

    • 00017877BCF4122095926A49489009649603AB129822A19EF9D573B8FD714911ED7F

Inputs (0)

Contract inputs (0)

Unspent outputs (1)

Proofs and signatures

Previous public key

0001F64FD7B2CF2B25C8655D30413BF847BC61834B656355C22F51BC1EB877FF0581

Previous signature

17C37758F8738ABD285F421F75924E511600B5A6D5797A087E1C7E504CDF2B22E291702CFDB276A7C146651BD09BB8C15AEAEB9153A1A18416BF2C43386DFD02

Origin signature

30440220479481377FECF3534D366F71EA265B5B7BEAF6FC1874067DD8608149453FD67D02201D3DC19C54C45EBFFE55F7C088E6405AC4EDEC7315BA00028ECB28DC56274E5F

Proof of work

010204E9BB401A767B0C92D5DB139379AAB18E1B449B455F49E3A44F3466B2D38E59F0516B79493A528A95E5A74CF46F79CF12DEB73293458F6A4403D2B3E57D697347

Proof of integrity

0093026B4C4360A36CA9954F1735E2C10F3D06C3A75D8BD93E1021BD592A3AFB33

Coordinator signature

978231912D3F8AAA127A7D27AA33C122FB367753BA961A2D5266F7F0EECDC1D7F7582548C4C3855EF3B51FC42C40892D338E48DC826152330D00B9CC10FD680A

Validator #1 public key

00016204A6DD6BA17388994E74A6529F509D1479FEFB67D8D55D1E450E30A30982D2

Validator #1 signature

B12C3E925181E6052DCEC4B7F0BDDD18CB8C359BF884D640DA24B38704DB11E6DEC0AA57C33BB0F0154E0EAC617402EB553C8AB6C493F7B112AA2F60A3AA8A04

Validator #2 public key

00017C1085C3D4AF32C4F3BFD4F0DC8FBFA4A1D6EC059601111AB371A8AF03F589BA

Validator #2 signature

E0D107312497F3D97F4A69DE0C9E8DCE0275F509CD41E7BA6F01B564F9C5B9D7E10155B2AA27027B10FFAE3EC3FFE77DF02D199B70E3E19A4926C5D76223F207