Type
CONTRACT
Validation date
2024-12-10 22:05:00 UTC
Fee
1.64115739 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: 0x0000B2339AADF5685B1C8D400C9092C921E51588DC049E097EC9437017E7DDED0FEB,
    action: "calculate_rewards",
    args: []
  )

  State.set("tick", Time.now())
end

Content (0 B)

State (17 B)

 
{
  "tick": 1733868300
}
                  
Movements (0)

Ownerships (1)

  • Secret shared with 1 key

    Encoded secret

    B5EB4445ED38966DCEC48511FC2BBEEF715FF83B7FB0D15BCEA76F084EABC366143167E98C0E07AA5B7B31D5031342037BBBF997BDD50C2AF7A9C89C

    Authorized keys

    • 000122A6CD9ED07E46835D6E88E5BD0BEE84C3F5E5DBF8E916AD9B2EC912C44AFEC2

Inputs (0)

Contract inputs (0)

Unspent outputs (1)

Proofs and signatures

Previous public key

00011125A6E3178B1D3F0680BA24E5F4F429A8627C26A9D2473EADACD20CED8222D6

Previous signature

029D5A383B061453E2A96F902FE5B48E3D1ACB7273B9D57AFFCCA017354F17C7C95A4B93398F4F72F061F1AA9674E28C921D63BD581BF770AA6275F5BBEE7000

Origin signature

3045022034F46E155731717D2DF832E9C812F8A4490D7F9E0A2ED82C417A500E2D79A096022100BEEF53B2B0C0222AB232EB515729B672F83C02B7737C5A5E863348ED768B1455

Proof of work

010204C5AC416895F8B16BDF434649B3A5587CA1EF11CACED3F477AB0B5B8820B65F169E134A1461CA117BE5806159DE9692BE14E42A206CF28E0F500E2D1330FD1D39

Proof of integrity

0078A93699D5327426DDA547971B42A136B27FA1A5079040AE4FB600A1E74BB032

Coordinator signature

B370597696E0E5BF5EDE6CC1A956676E31D6158A7C7328C2074907E900303D0D452F11FE15B43A2BCD86B5098A0BB5C259718808BEB1F1B646C2B7808F294902

Validator #1 public key

00016A24FA6FC34A345FB22A7E90CB6BC583AEA140B679549F745FB51D59A93F7868

Validator #1 signature

351270D68C5EE9C5BBCB618F978176EC667A2EFCBFDD04082FD86D96AD2629A7979E381B9D6F7F083CA645D7DB68CFBD720E8A854B5113BBB20A1E5D8F38200A

Validator #2 public key

0001A5F6705AFE5C9103B4BE3307F94B3EC386283B77ABAA1D39C423EA4D6597F989

Validator #2 signature

ED926253765BA1111121F4CB28E988B098021F8B2D567146F0579E0DC1B407A70ECE5092DEC2D6DBF5DA3E4A1FB2AEFEB1AD9A579C1BF152E2854BF1AD4EC50C