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

Ownerships (1)

  • Secret shared with 1 key

    Encoded secret

    31B665510F0B93AC0DD500B98E5C49A047F721CA05E230F34E7B3F55C9A7D109748E9C97980186711FCACF163F1F3C5901A2194635C954C33B0F0AF8

    Authorized keys

    • 00017877BCF4122095926A49489009649603AB129822A19EF9D573B8FD714911ED7F

Inputs (0)

Contract inputs (0)

Unspent outputs (1)

Proofs and signatures

Previous public key

00018C7961BBCDE7E822D252EF84B78202903E45EA7D10745FBACB1AE822D8B77FCF

Previous signature

87C3980CC749E1C4229D70E13A860CAE5D30F88187305C030C5683004D37000F893D5B513497E866EE3090C2F36EF41CA5BBE4DE927D7B2A09617F0478C8FC05

Origin signature

304402202AA70A9AE004B782236A2D97366BFEFFD83E021F889A0F6562998E5F0B4F8718022053D35545C17F537EF06666A135B43730BAD7B49EE20D34260A638E58842A9710

Proof of work

0101046C39D56B717142B6EE14B0F8B2561ECA458F3D2D12C9977D613F78829419063211F9C21F7BB0D56B6523040A8156BE22B6E9D6332B88ED882574D12AE32F7A45

Proof of integrity

008A805A5F92FF90F31EC8C8A64B8A9D99691EE571BAA568C98664852289003E69

Coordinator signature

FCAA56F882E3F3F3DD729D7539C119DA88298A2B1DD1CAF17B90CA4D03BB3836DD5C9348BED88B516C1EE0F90C7C9195CEEE69F49473539303109D06DA788A01

Validator #1 public key

00013D16BDF02C72DB6831A1EB14200C6D5427B4303351645BDFFC9B132DFE3A53FC

Validator #1 signature

BD26A16BDAD64CD1ECD3B17E3346C4E697324F4A4BB45642D43679044E64B1A6F8063764B2A312FB2DBC94CB7DCBFAB5119E884C86547A52D1E5B0B0FC4CBB05

Validator #2 public key

0001923076BC39A300949685070A2979143FFD0CFDF5BE286915C8D0CE0FE2117B8F

Validator #2 signature

BDC466BED080A5AB96E59AD38EEF7AE72261C408580ED900655122765D1F35EEBA26C3E3C3B54F9CDF11AE12F95FEFF27381FF743632BDE0A345A11E4CE3EF01