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

Ownerships (1)

  • Secret shared with 1 key

    Encoded secret

    DBE61CE94359D66DA7AAD06457E1A07D3415AC66283B1104487749EFA8C0037B89E29AA02928E6570D2FC55AF95E0739E630C1A60BF89597A6CDE85B

    Authorized keys

    • 00017877BCF4122095926A49489009649603AB129822A19EF9D573B8FD714911ED7F

Inputs (0)

Contract inputs (0)

Unspent outputs (1)

Proofs and signatures

Previous public key

000190C82B09554A9278043DB6E36BCBAF08F3DB31246B103B72A735849022D30227

Previous signature

C6F2C6612464C987E9A26D7213F96DB1CB20F68B83F45991AE49982D3D6D654F9C67269D3CECAC93EFDA71602D113224F572EE2D3B889DD2E6764F2E00621F01

Origin signature

304502202E4FD30E1CE634F2C958DC38420DF328D0A98CB737292E70C08BFFE5C6785F99022100D3E890B1DD3C41CCC2C43BD7EAD41F5F3CBF6357921E05F8A9BCD6CF43685369

Proof of work

010204D6052E0C6CA9244CDE5F3D664296BDFBA0090B330404C3C16B098758F27965DFEC0D3F25D1365F389C2B6C516195552F8779DEE0796C8C33F1A9C0404F4E3381

Proof of integrity

008C4827090DBB43D714490917DEE496698A6A3A063C349176F5C5C3906159754A

Coordinator signature

ED6F3F66EE77C90C778E41948352BFA0A95EA7EA569424E38574BF55FF9701207B21E46E9D139847D08B3DF780AF9659A4DED6BEAEF159F34978A423D9844207

Validator #1 public key

000109F3F0A3EA1C4E40F676D27DF717E0A0C76D4A9EC89A8CAD79DFD414C78C1CD2

Validator #1 signature

D7FE1CB9F3BDBA7292E28D045475DCA594DEFA13FA1F2457602ACEC1B2BE8DACFB5DDA68BB20E659E3C9EC878AA3B2BB9E47766D69F69D41CB9A43851EC7FF0A

Validator #2 public key

00013D16BDF02C72DB6831A1EB14200C6D5427B4303351645BDFFC9B132DFE3A53FC

Validator #2 signature

CB1F2A1CA64BDAAC15EC5E33ABBDB5EDB25116C3BC715422D3B2AB87B5A24BD1BDC1CB34E7772B91D880C7D76468EC1862C1BC97F77E6938E544C565FA7A780F