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

Ownerships (1)

  • Secret shared with 1 key

    Encoded secret

    E4789B168D925BDB06965E0BCFAED3810ADBBC8CA264C957C401017B8782DF78A59656C62EF04754B215A2E13A6E4AE1C455F31C543D5160AB98A187

    Authorized keys

    • 00017877BCF4122095926A49489009649603AB129822A19EF9D573B8FD714911ED7F

Inputs (0)

Contract inputs (0)

Unspent outputs (1)

Proofs and signatures

Previous public key

000130DCFB27DF74DDB5EA2906E2F1278C2D0B797E3C9DB4E25C121E3DA219D4710C

Previous signature

8C28C7CBA290757C6CB4A2AD6A086F7B5ED69B843CAA35445DAFB66A7258451DD778A057D4E785D1738DFB196FD7AC4D850CFD691616FA37EAA6BD0498384305

Origin signature

3044022063B1305746CF942D2B8B9B28A193FDEA58596D843006A7B95212198CE38BFF67022060DEF6E04BFBA8540A04BBCEC8C85985D819C2154A37211E27C00F288E466DB7

Proof of work

010204D6052E0C6CA9244CDE5F3D664296BDFBA0090B330404C3C16B098758F27965DFEC0D3F25D1365F389C2B6C516195552F8779DEE0796C8C33F1A9C0404F4E3381

Proof of integrity

00BEF260CEFE56FAB4E687377AC772598F470FF6286DB98A06454019AEEA211FEE

Coordinator signature

9E12E379F9923997126D8FB465D2C21745F49FD6A2C4B67B894E6EC016E23274E8A88B88826E86D07CAD9E6DC522B04AD826EE6F51EFF00CB62DBBBC3844F80F

Validator #1 public key

0001923076BC39A300949685070A2979143FFD0CFDF5BE286915C8D0CE0FE2117B8F

Validator #1 signature

EC0024B3EE2A2E5F99464B33367B56D77C9722680CC65929B10BCA60FC7D93AD20E0FE19C81D725CFF095A74F9DCC750BA1E4B96DEA2CF81216C5662CFDB9200

Validator #2 public key

0001495101672E3A9A57CD61520FB6F0E381E111EFFF0C2EAD677336BABB33C45C6A

Validator #2 signature

C5B40BD877D3EAE9DDD4E0A10A051A5E501ACDA7B3A462322DC047076D7357CCAAFF987B61F1AE0B45BFCDBF2A09586B1D5A18EE74FE92CE219E528B1F127306