Type
CONTRACT
Validation date
2024-09-17 11:05:00 UTC
Fee
1.62718675 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": 1726571100
}
                  
Movements (0)

Ownerships (1)

  • Secret shared with 1 key

    Encoded secret

    EFEDB8B6EDC02BD279B67898B77785FBD30F46CCD613910D5BCE916DF414B219D7FE807F7411AF49F3F8D2C030AEC9262CB56E3CA1590AB459DB4B98

    Authorized keys

    • 00017877BCF4122095926A49489009649603AB129822A19EF9D573B8FD714911ED7F

Inputs (0)

Contract inputs (0)

Unspent outputs (1)

Proofs and signatures

Previous public key

00017007FD90796C8B12A39AF2D1DE4DD4F219FBFC6F5B5E3AF855A19DC466BAC274

Previous signature

46AD92B735F1615666DF70404F6AFA114E1AFF78CD73AEAA1A6DFCE6CD10AA2D5A249C003DD64C640FBCEFDDF2505D68F566CB117FE262F752C6DCB951EB5C0F

Origin signature

3046022100F2E3E869167FCC992BF9775A75DC28D42ED3E55158C34D6C7ED68C9CB76E3FAF022100923A928C8FF074C080F2CD0508A610FDA064EC8028EE0E69F6FA69CD0A6FD59A

Proof of work

010204892A04DBE05192BCB662689E7E19700F3F7202028EF0A9F20635C4948436ED85A43BA3017281EE97781342DD8F24ED6F583B5FE542830FDB5191A11843A72A61

Proof of integrity

009E224058206D9A2F2FB6DA648C90DE43534A41F4B594E2128D4A5918F7AF35E2

Coordinator signature

D077A67D9CFAB39A454D1AB11B5DE91F1FE572514A9061F79C671E2CD6E30AECFA3E70B28F2EB050551F04382936FC35B346B5EC02503055B5A9DF6B8D97B105

Validator #1 public key

0001AAFBD70CD1928E509736D7A3F072694F7AD7AA7BF5716FB0239146EE4B633F45

Validator #1 signature

E83E3E7666B4913BF55F0179C07DF1E238BE1F68E17D07EF46138F9C07F8BF3666CA77CB4DFB79E51BA6DA99160264261670E303EA4A62AAAB1DB02055954A07

Validator #2 public key

00013979F182FBF100A7D850091072443374862E8A007B24B5E14A1405B1F3B1F406

Validator #2 signature

A810D62332FF1A68D630E7FC6674209A8680463748A1BA11AA2BE31C11263A509EAA5C0A89CCC5688AC77CE4BC7800C39F77E5526CA97FB41468BA8DF8974804