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

Ownerships (1)

  • Secret shared with 1 key

    Encoded secret

    914316245BD10E34069504AAC9E63B7BC27F799F0AF232E2C99462F6D3E405D6E838BE73FE7FF701DE1D54F64E6388A6B98E381D530E65B5C654D95F

    Authorized keys

    • 00017877BCF4122095926A49489009649603AB129822A19EF9D573B8FD714911ED7F

Inputs (0)

Contract inputs (0)

Unspent outputs (1)

Proofs and signatures

Previous public key

0001D0BA64246A450B78BF0869119455293A0CAB665DA35A4772DD5B81EE1EBF2B99

Previous signature

F9463AB8484F10016B5924E375DAA36F2DF60D686BDE4064521C254A03918BE601746C71EF630022C35708CB78F00736E15FCAD01E38B231004AF2263C3BC901

Origin signature

30450220011FE77A961EC3C2CEE6C22126C06E1F9E2C3F3F92FACEFBE5245EFCE94390E10221008FC861E4735CD6731D1EC343728C2CF1439463DA9D361642DA96F0FB44AB44AA

Proof of work

010104EB90F7BDD03D5A7FD9B61D9128D7CF24C11F3F7DA96825DA3680C2B6BCC48F1AFCE26E0A5F1A903EDAA4BC9390210A0A4F175847EC2A2BB325BB6D1CE8EC8F90

Proof of integrity

0050E924FC8F9489DC7CA3D9B2CC205596E7F9091AC635B9F0302FA013AE8FE8DA

Coordinator signature

2504FDE4FA5A8F7D94F541AB34CB79F37B9AF5D7AC25870AE88E202D59582C56E320A291C0AE1DEBC1CCB10A42628CA252AADF4F3A428CA69E95B7419103D002

Validator #1 public key

000109F3F0A3EA1C4E40F676D27DF717E0A0C76D4A9EC89A8CAD79DFD414C78C1CD2

Validator #1 signature

53369B1EEE8A1E7876B91CB9ACBBF089D82D2C66B2CD87D8B3D645BFFCD1FB1EF62D0F5A9A3FDFB8F61D45905A6EB97BFF146B2EB84AB41856D23934B9FBBB03

Validator #2 public key

00012A70C3888F5CBD811F5E45AD85E660AFB4F6AA982C41433AE63814642DB3D283

Validator #2 signature

BBD92A16FE3FF95849E2A1B7C2DB3CCCD171F6FE523EF6F73835467E968890539DBD0EB834BC8CA9CA3B52B7E12DB241E13334080FA9C20F4F2ADF1AF0EE050C