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

Ownerships (1)

  • Secret shared with 1 key

    Encoded secret

    7E6CA5ED53E6B2ADC9691A3402269855DA88BA2861FE9DB9F5C61DF10FDA25A84D8184328A6C9C664ABBDE89F156019B73A52D6E3DB1A82C5D0B7134

    Authorized keys

    • 00017877BCF4122095926A49489009649603AB129822A19EF9D573B8FD714911ED7F

Inputs (0)

Contract inputs (0)

Unspent outputs (1)

Proofs and signatures

Previous public key

000149A52795382C2408B58837F4B8417A80272DA421FAA35BE698A641D384D3A032

Previous signature

A8FDA85DD61923A113013AEA026CFB179FF3E626458A1A9AA8A5D2F6689F0A9189634404E4C2CF9FFCBEDC6D6EE7838E9724F8FC174E14E1927B6F6AF4A85606

Origin signature

3045022075B1788C5FF19F3FC275B6FDF8E2979C3FFF865A380B3BF1E17312F96A774B3B022100C4EE54F6CD8796679AF9CA716D445E9EC321D2B6146E2196A36C2BDF169396EE

Proof of work

0101046C39D56B717142B6EE14B0F8B2561ECA458F3D2D12C9977D613F78829419063211F9C21F7BB0D56B6523040A8156BE22B6E9D6332B88ED882574D12AE32F7A45

Proof of integrity

008F2A179233B4F92BDE38792D802CC5F3DB45BC408867522A7CB9BC8665A7E4EE

Coordinator signature

BF43DC983A8AFE7C9D7102C1244B5A5C0DCBF763E0C59214995BB84963A47FC268D4434BEE3E81ABD0E114C190ABEAB150BC090715588331E30F6F8952A61501

Validator #1 public key

0001AAFBD70CD1928E509736D7A3F072694F7AD7AA7BF5716FB0239146EE4B633F45

Validator #1 signature

D5BB30F497B650722092D2699921B64BB3BC243919538CBB5014DD3BFF2215EA7CC3CA4D1E2AC02EB750B892859DB5675E958B2D9FF8E9C5E31A5147563F8E0E

Validator #2 public key

00017C1085C3D4AF32C4F3BFD4F0DC8FBFA4A1D6EC059601111AB371A8AF03F589BA

Validator #2 signature

77E985753DD83348DD07AF2244A59CC5957360687828C3999EDD1BC078B27BFC3BE4967A55797D99CA9367D812D74638C33EF477F0F5507DDAC8EC26F1D8EA03