Type
CONTRACT
Validation date
2024-09-16 22:05:01 UTC
Fee
1.6195294 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": 1726524300
}
                  
Movements (0)

Ownerships (1)

  • Secret shared with 1 key

    Encoded secret

    7189F655EB87C38717E386B8F28FDB49235FB2E64D951F59EABF790E8EE1BA9BC3ADE741EF311D5CB930EB8946258F4BE1157A78EFC32C716EF09714

    Authorized keys

    • 00017877BCF4122095926A49489009649603AB129822A19EF9D573B8FD714911ED7F

Inputs (0)

Contract inputs (0)

Unspent outputs (1)

Proofs and signatures

Previous public key

0001BEE472386CF9BE002FD827BED4262D209724831165F9AFC5E058CAE90954021A

Previous signature

93AEB779E7563472F3F71015D764070C8C1D8D20588B9DB5C354FAD600C543AE5629632E7A20EA7E45A9655015C52B145D9CC32C19E643F9884DE63709602D03

Origin signature

3044022006A7723074183CA118A2D290344E2F1C62F8A132B3D5EA7766A3EC321664619B022068B45C2A2DFC01A411FE0B4BA2153421BC74D0B293F805858D344A0F694CEA6D

Proof of work

0101046C39D56B717142B6EE14B0F8B2561ECA458F3D2D12C9977D613F78829419063211F9C21F7BB0D56B6523040A8156BE22B6E9D6332B88ED882574D12AE32F7A45

Proof of integrity

00EB98A02252F1A6FFB71A89F626C53E9E2FB4687AB87AAB430067F4D97E6C67BA

Coordinator signature

18065009F9ED1C2FFFFCDF97C62A2FFC1D0C1E74CBBED1AA436D9C4979B05069D15F1FB8600D8751D907FB1963DF3CAFE28591F335C85E6BE128E8A892699308

Validator #1 public key

0001495101672E3A9A57CD61520FB6F0E381E111EFFF0C2EAD677336BABB33C45C6A

Validator #1 signature

88A64066B28D2E184453A6715E5F035595FB49282DC2C32648E6659D2377C3E24794A8F3CB66A3AFD0EACEB3BD2E304689D921F985C419A49928FB58A9A48C09

Validator #2 public key

0001923076BC39A300949685070A2979143FFD0CFDF5BE286915C8D0CE0FE2117B8F

Validator #2 signature

057AF1F5401C2A0D03D732ACF371033181B351299506E094513D537295A34CD1CD8E56ABBBBAD2ADE731E39229A951D580B4A1C8800883D460BBE6E25C7CED0F