Type
CONTRACT
Validation date
2024-09-17 00:05:03 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": 1726531500
}
                  
Movements (0)

Ownerships (1)

  • Secret shared with 1 key

    Encoded secret

    0CD17921104EB7D3A2B9F754C6A75178842B9A5D7D80D7BF54EF4E83CE1EDC98032720AC2EEE1A56D813A015C239C6362754613AD6360921B3E1158C

    Authorized keys

    • 00017877BCF4122095926A49489009649603AB129822A19EF9D573B8FD714911ED7F

Inputs (0)

Contract inputs (0)

Unspent outputs (1)

Proofs and signatures

Previous public key

0001B073D7A496C9A7A4E4F306DBCFCD3EE009B571335310209AABBA3532A1204AD8

Previous signature

59D17CC3674CA87A6674258591F0EF4A4A152401841C45B8651DFE6FED6FA11892A05DB2719918AA7E96270F7D91CDBD6ACAA54A756B6E838728145CF6554D07

Origin signature

304402202A647E0929096B2609776944AE74BE6EB6104BF0115246B096851A191362D9FD022063ED12DA7F47307D996197FD34CD4C50F8EE37678F4D1B5574249CF01C8E51C2

Proof of work

010104228ED9FE757FA46CEDCAE4E3FDDEC1EF6511A71B15E5611AA36EA41DFB969EF2FB83D72D13AD1E89873CD4EFF1364880B3557D72AE5188EF5E1BD09253CE235A

Proof of integrity

00231741E49BFCBC874E7EBFCDFE608B038DDB728A46C7C3845F7D4C05348C72E5

Coordinator signature

6D834BAD79ADD64C5209F0BD8ED9E5AE1992F57CBF014A5E06A1A458368BDCE2B18242CC0CB91026AF0DAAEEC8112B497E649EE4793F9CB007C7F8E860DF4E0C

Validator #1 public key

0001A1E702652C3DBD4CD9FCB5896672A42A90DFC3B1EA9A266103D07EEBF651B1A2

Validator #1 signature

975773987AC9A8F6C9BEE92D78075E28A27A1EBD739DD5981548E669BB43EF4224CAF18AA567D88ABFDDC2B92F4BC8D0B5E2A356603609D79AE004375880DC02

Validator #2 public key

00016204A6DD6BA17388994E74A6529F509D1479FEFB67D8D55D1E450E30A30982D2

Validator #2 signature

B12E96E636AD260F34E07AA029556EE5AC8758FBF720C8D9D2034F219D2D8547B8CB9C71A8A03F9C9728563F57A5DE91DBC8133D47D9B8CD5B8715D2C9C25208