Type
CONTRACT
Validation date
2024-09-17 08:05:01 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": 1726560300
}
                  
Movements (0)

Ownerships (1)

  • Secret shared with 1 key

    Encoded secret

    FF3BDD4999269D6D3E4275CEC221DAF0A36F6BF11D4FCDE8E62AE57F8ABDFE036393C92AAB37AA3CDCE3329E8CD7FFF16ED2C9CFC85807F9E188E56F

    Authorized keys

    • 00017877BCF4122095926A49489009649603AB129822A19EF9D573B8FD714911ED7F

Inputs (0)

Contract inputs (0)

Unspent outputs (1)

Proofs and signatures

Previous public key

00014B2324F48C581C0E3A47475A363E79068E1755C2434052F54BECDB5F9879F6B7

Previous signature

D8694F692CCA1E3808598CD6CF197B35EFF5D3F97A8091F42B987A149FC46ECBFAE7DC1A2AFE3C9EE5B120B4DECFA5E0C5A6D4374880977CA7AB494D2BB8EE05

Origin signature

3045022100EC95A2C3D5169EE49B81A4A71865631D92A9780B04ED497B0960F0408ACBF1400220331063E82E596D551184DD2A4225F5BE99FCC3FD407D18A48CAECCB0785D3796

Proof of work

010204D6052E0C6CA9244CDE5F3D664296BDFBA0090B330404C3C16B098758F27965DFEC0D3F25D1365F389C2B6C516195552F8779DEE0796C8C33F1A9C0404F4E3381

Proof of integrity

00EDA6DFBBDBDD666AA471F97EDC5A11757A4303A15FE642EF062A27E1DAB46B63

Coordinator signature

32A18709A782AEBFBB284836370BFDF0EAC26E058397ECB2F11344497E4AED6362C70E8B2994E1ECAE0F216468AE9BC50925DBA8FCF447A060B6588BCA920F05

Validator #1 public key

000109F3F0A3EA1C4E40F676D27DF717E0A0C76D4A9EC89A8CAD79DFD414C78C1CD2

Validator #1 signature

99C35A6762177396080CC6882F542BAEAF98DDD34AD1EC7FFB5DA89140E228967AF4062AEBB3348A8C75F068A00F6BEB13735A72E87C3E4B2117B51FCB24CF04

Validator #2 public key

00013D16BDF02C72DB6831A1EB14200C6D5427B4303351645BDFFC9B132DFE3A53FC

Validator #2 signature

6D7CC6E0BC8168F0F2D2F0FEA55C295248E08CF17607D247119114FA3B069AC6B560A1E02B467E4D5596D2ED8DCA527CA489FD1DFE6216A64C6247C8EE764801