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

Ownerships (1)

  • Secret shared with 1 key

    Encoded secret

    714757CDBF1FCC21AC8E28EE55136688230B1B0EFE030C17185287315C7DD440108F6E3CA277E8B5036653D0C9AA1CED63512EECCDC021F7CFDA5B6A

    Authorized keys

    • 00017877BCF4122095926A49489009649603AB129822A19EF9D573B8FD714911ED7F

Inputs (0)

Contract inputs (0)

Unspent outputs (1)

Proofs and signatures

Previous public key

0001C3DA846F1238029A22290D1D5881978662C205A7E583B936CB2EC8A9569CB32A

Previous signature

B16635D921F26D7CBA1E7CEBEAF13813611B8D7AD0027B4635F31098834B0C7B526D1B1AC83F15A03FBD8FA41DDBBFD2856872AB2E4D52B6D03F837A9AC06901

Origin signature

30440220291D6CD0424997E04C605C8FBAAAD9DE690E540546BDFECFA2F356EA3FBC1F5502202AC475688EA582318E2661F3D38CC688CCFC8A43C0FE88CB1E4CB4CDF2F6D577

Proof of work

010204AA023E1E039788AD4B8F713C8871CA39A177414A99A0788993AD725B1FBB7AD5E4CAC86151A9E03451DCACB1EFC100B1E450FCEDAF5E5005F3A4C503D1D29712

Proof of integrity

00603B8E852A3443BCFEA6E41514182BEC2A0397DC5DB614A0BC2D534D7CA8230B

Coordinator signature

820FF639E8BCF19346CCAE373F71D39EFB62364F4D75C8782BB7A9A53E8332DBCF1BF67393576BB37A251DE650331DABBC14341BA07278AC40EAC7F2FB270000

Validator #1 public key

0001A1E702652C3DBD4CD9FCB5896672A42A90DFC3B1EA9A266103D07EEBF651B1A2

Validator #1 signature

01AA4D89EA26A25407EDB2B724F282568DB4F6120FD20893D220B2D67E77F1CF14E75AE7DA48D71123CDC7AFB359F155B626111E7F182BAEBFDBF6844B58BE06

Validator #2 public key

00013979F182FBF100A7D850091072443374862E8A007B24B5E14A1405B1F3B1F406

Validator #2 signature

E66B23932F0D201A2911D59EAB148928383406A34046843E5CE7A4AD40010DD7EFF9EAABBCAE889E63985615A641674E0555390888DD1A7B200A8329BC550503