Type
CONTRACT
Validation date
2024-09-18 08:05:00 UTC
Fee
1.68700979 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": 1726646700
}
                  
Movements (0)

Ownerships (1)

  • Secret shared with 1 key

    Encoded secret

    651C1687DAA947AFC4981AD991EC9402409F15330481AFD35B747945867BB4339FBC331A378A1620C17886AD82477B62B4A772D1B60562237CA02FEB

    Authorized keys

    • 00017877BCF4122095926A49489009649603AB129822A19EF9D573B8FD714911ED7F

Inputs (0)

Contract inputs (0)

Unspent outputs (1)

Proofs and signatures

Previous public key

000153D3F93EDDBDDFBB2DF5572D60E4C95844621325B0EBF0EFC68473C00D1143BF

Previous signature

282CAD00424F94AD0ABCB87FA0873A8989E2B499F559C4439D7EAC93B3AC9FEF3082FCD996DC0809759AFAB97C4B2022F1FBBF94B167049802399CCB1D43780D

Origin signature

30450220448A9F64CF24E9C0ED005D1385C9FE1B18CFF8F6CB470EFC3A5A58528F2048540221008BFB6F44389EA41AC2209C55BECB36420DBA44A15AE56D4F48FE8046B155BECB

Proof of work

010104EB90F7BDD03D5A7FD9B61D9128D7CF24C11F3F7DA96825DA3680C2B6BCC48F1AFCE26E0A5F1A903EDAA4BC9390210A0A4F175847EC2A2BB325BB6D1CE8EC8F90

Proof of integrity

00A7D537902A85760A20C6D9F256065A55CAAE4EC06FDD2D9F79511930F05034CA

Coordinator signature

F05AA9EEFD843ECBE49DC53EC235F538E93B8D376AC073A0A3C6DD86F52962CA52571EB3F091B3F35D2BE91ADCC8C29AEDAE797BE83D454147BCB87AA11D830E

Validator #1 public key

0001495101672E3A9A57CD61520FB6F0E381E111EFFF0C2EAD677336BABB33C45C6A

Validator #1 signature

583835D56B7A0DE6A1DCFEAFE618752D4937E18AFB9B35AD4CAA53008AE8117376959728CA4B9F67296FBA1A0463272FC0E25F14D8E278391F600A5BB8E44A04

Validator #2 public key

000109F3F0A3EA1C4E40F676D27DF717E0A0C76D4A9EC89A8CAD79DFD414C78C1CD2

Validator #2 signature

020E27675C0C1D5E2E4BB33F8807240AC2433935221AA58F80EEF6B28FCC2CEACDB5C7F4CA2C79B1670741DD57ED73EF4B23E2F73784C79CF6491CED0F38710C