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

Ownerships (1)

  • Secret shared with 1 key

    Encoded secret

    49C8F96FA673170EC5CBD7FB4F61CA540355D049AA68335178CC19B614A256C6DD829B0F1590092DBAFACDEDD4D505416B2C92383FF02F35AD146A78

    Authorized keys

    • 00017877BCF4122095926A49489009649603AB129822A19EF9D573B8FD714911ED7F

Inputs (0)

Contract inputs (0)

Unspent outputs (1)

Proofs and signatures

Previous public key

000132ECBFB168FED84AB9020B889006F84C2CB3095A44F99A2076B62D815EE01326

Previous signature

3EDB49FCCA038BBF4210D9B24AC9BC97F7EEEA4DA0F7B90ADEE4FE475E57C459E729DBA1F60F5B1F779E37DBBAD03B08FE48D04B5C880E3C3778545730FBE809

Origin signature

3045022031F426CC05A9E14B80187E8AAB006C599B4A9B0542434777E7ED94659A2592F5022100B6990A6CFE738198FEAAA6D688D364240BBC4A613F665CE2FAFDF8D95026266D

Proof of work

010104EB90F7BDD03D5A7FD9B61D9128D7CF24C11F3F7DA96825DA3680C2B6BCC48F1AFCE26E0A5F1A903EDAA4BC9390210A0A4F175847EC2A2BB325BB6D1CE8EC8F90

Proof of integrity

00A76EE24A8D70DFF4A4841423ADFA3F02E0C5B95429AE175F1E3124AD4B3FF01C

Coordinator signature

6D8BAC9325CD5AAAC3156324ACDB2F5341F0FFB455EF4E44F4E2723DDBEE4FD108426BECC90AE8A87F315617CD53058AC692279A2C0635A7A38E5FA4757D020F

Validator #1 public key

00017C1085C3D4AF32C4F3BFD4F0DC8FBFA4A1D6EC059601111AB371A8AF03F589BA

Validator #1 signature

A2C017241C5C8594682BB751AA67867F8EA686FAD3B8733377AEBAD22E4013EB140C2C580480DCC046CB8898D96F6CB2837FD993C8484883A26AEA5FB2690608

Validator #2 public key

000109F3F0A3EA1C4E40F676D27DF717E0A0C76D4A9EC89A8CAD79DFD414C78C1CD2

Validator #2 signature

2321DB2EBAB0AD2D5AF1E345AF61B99EC3A35634FFAE6DCE32C89A0F635DF219048169A94AE98B7C0271B5D155359EB67E567CA8418357DC20E1317CBD0BBA0F