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

Ownerships (1)

  • Secret shared with 1 key

    Encoded secret

    CDD6D4807DA575C93DDE2E5647FF41A4F8F3E492FE48799BC3A279D9A4CA7572286F71EF678670D4DF7FF7D09DA179349410A1BB4473BCEF47AB0CF0

    Authorized keys

    • 00017877BCF4122095926A49489009649603AB129822A19EF9D573B8FD714911ED7F

Inputs (0)

Contract inputs (0)

Unspent outputs (1)

Proofs and signatures

Previous public key

0001AE9534788AF9CE97F9628351DF9AE30023EDE19141AA8F4A25A1BBF773B96B68

Previous signature

7333AE1AB8CF55CB6592B486259FD2BBA6A4671AC49E2AB70BFAC85F687680B8F80473333B943E19CF13997B7681036AAE167E2A55E2899A171F0F82D47A5401

Origin signature

30450220255726B9DFB8149DEF0FD50184AF0183D0DF08214E085889FEEF5F54FF6FFD0A0221009B244E476284662540B0C65D05B44ED2CBEA700AFF0140998CD8E93D3A55D9DB

Proof of work

010204D6052E0C6CA9244CDE5F3D664296BDFBA0090B330404C3C16B098758F27965DFEC0D3F25D1365F389C2B6C516195552F8779DEE0796C8C33F1A9C0404F4E3381

Proof of integrity

00E5FED834B06286362104A4C30384034C744ABFD7F87D6EB8EA507AF1227CC581

Coordinator signature

999C2496CA34F4931A444D06B20DE3F916854D7160719C8876ADAF06D9794A62624243B7B251D506BC26F14D09CDEF2773942FAACD64C67ECAF70A1478BAC30C

Validator #1 public key

00016204A6DD6BA17388994E74A6529F509D1479FEFB67D8D55D1E450E30A30982D2

Validator #1 signature

9E944F6398C73DE7AE5112EBD7DC32327248C438907DB643F585523D146DEFE2C3F2A735C8BBD923BD5160502D75790B0FB1F35D5CAEA09781B59DBE9EEB4C02

Validator #2 public key

0001923076BC39A300949685070A2979143FFD0CFDF5BE286915C8D0CE0FE2117B8F

Validator #2 signature

C6F2ABF36D3766C6986C586DD18EBD033EA1FAED167634AE42900E2DC04B5A92DC86EC2045D408C8DC02F40D10AE1A77F6BD9B4AF49DEAFBEC00B7842124900A