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

Ownerships (1)

  • Secret shared with 1 key

    Encoded secret

    C41324CCB9C90BF26D238F4827B107311883DF6915FC533999E1A42901F193942F988D3F8FC4ABE1B2BA66087E4C26450A8F7E13D37D6AD8A49A4FAD

    Authorized keys

    • 00017877BCF4122095926A49489009649603AB129822A19EF9D573B8FD714911ED7F

Inputs (0)

Contract inputs (0)

Unspent outputs (1)

Proofs and signatures

Previous public key

000128C86906AE58AF9680E72D762B93CA9D2CC4B5E40A509B1AC6F05FC1D3F67E4C

Previous signature

DBF81D9F473C61F61AE1D743B524C22162860925A4F6DCB86DDE2D14969F4289782977CE3E5AC6724B0E2BEE8CE96183FB1FD3EA6E68FFEDAAAD47A0A3925804

Origin signature

3044022075DCBC09C5573A060CD4461706D590ED49BD3E130736049A80B5FE01ABF7888F022074B94305438B491302107AED76783F10EFB746745363C1884AB197F44FF7B3A4

Proof of work

0101046C39D56B717142B6EE14B0F8B2561ECA458F3D2D12C9977D613F78829419063211F9C21F7BB0D56B6523040A8156BE22B6E9D6332B88ED882574D12AE32F7A45

Proof of integrity

00541EF9A156E568F6A2EC5ED45E5F690B83DE98FE329BAD18F6973F2CFB346C9D

Coordinator signature

C188EAFB0A1AE7B9879AEC2EF4D5F99EDB7C10138DA54B57D759460DD72D27AC99A9EA9BED6948C89431DBC5F4466CF421BA92CB004802D4F98BAAF24C5F0C02

Validator #1 public key

00013F0000490CECA80A76E7199D7B53E23583A16E24EF761384EC642713056C33D7

Validator #1 signature

A6EE2EA2FE2E9A22FDBE6678139FD3A2CDD58860ECF192DA7E7013ECB337838E14607488562F7161ADFC050E947D5D9AFD845A686F57A7B9E30B3849386FD507

Validator #2 public key

0001A1E702652C3DBD4CD9FCB5896672A42A90DFC3B1EA9A266103D07EEBF651B1A2

Validator #2 signature

EA7CFDF0BB9E6799BFE2B8A49647A61FBEE2578448E093DC35295C085B3266396F42876992E62BD7756A70873A74FCA8E8F18D54CBD2DFB1BBCDCBB5F5D16009