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

Ownerships (1)

  • Secret shared with 1 key

    Encoded secret

    71ACC8BB1EC3E885BC2399F9AE2DD925DCF7734409F9EE16F0F50B7625104A9B1704EA81F1D6D39C035F2EAD436B3032336E3F8267AD939489BC94E7

    Authorized keys

    • 00017877BCF4122095926A49489009649603AB129822A19EF9D573B8FD714911ED7F

Inputs (0)

Contract inputs (0)

Unspent outputs (1)

Proofs and signatures

Previous public key

000123812D301E8968678C33AB5AEA38A7D2B41F6B372804DC8067E83FF4021922F8

Previous signature

C37C26A4C3419B6B712A7AE36704CAAB7EE42286CF8BBD72BC46CF0F03DB1BC2CF3A0FC149BEBEBD3A20BDF9321098040C83EB2D9C6A811E9224AE9B847A7E03

Origin signature

304402207F5344A006EBF19E501951EDB878A353CA304C4C0BC664AC1273F8DE238317D4022046A1816B33E328E735A5DB30AE46D705F540ACE97E03D2D6FAA9EE505523F6CF

Proof of work

010204AA023E1E039788AD4B8F713C8871CA39A177414A99A0788993AD725B1FBB7AD5E4CAC86151A9E03451DCACB1EFC100B1E450FCEDAF5E5005F3A4C503D1D29712

Proof of integrity

0009286F6B566F88BC428A3E523B850C42B996D1305B6BD40382DB41A218261F8E

Coordinator signature

AC6FC73A0F8E2B5CE14C80813367A7D153BCBB669475A885D8F9CD2D79723CE30027E59EEEEB1A7D6FDD6584C333E2D36FCDA729FD85E647D7FEEFE5EF3CD706

Validator #1 public key

0001495101672E3A9A57CD61520FB6F0E381E111EFFF0C2EAD677336BABB33C45C6A

Validator #1 signature

631BA4753647A4FC0F6679DE9F1641BBB61ADFAF82A7171EC433DCB78BFB4E713CD01E2DB1E999E1E7AD4CB849456626DDA4A6285BB77ABA589DAFB37A849E0A

Validator #2 public key

0001923076BC39A300949685070A2979143FFD0CFDF5BE286915C8D0CE0FE2117B8F

Validator #2 signature

03314A72E58471AE5E14C7134CF791EADD14E4C4411C0A14EF897F550DADBAD78B8DE961B342A54976E2400AC3238DCAC8112755FD3AADA9094560051B161B0F