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

Ownerships (1)

  • Secret shared with 1 key

    Encoded secret

    3CC0463FB926A7DA6935F2A9E7EC106EEAD4F1ACF67C32EFEF016FF5895D4D276F0929D047E2A23BEC1888B9D512CC7D8F02EEE9023171C653E1C2E9

    Authorized keys

    • 00017877BCF4122095926A49489009649603AB129822A19EF9D573B8FD714911ED7F

Inputs (0)

Contract inputs (0)

Unspent outputs (1)

Proofs and signatures

Previous public key

0001849EE9E68A7565ACF800D0771930035EF10749C10C1844508858486B22AD03DE

Previous signature

97EC340E7935E88B5BB14CC695527B3D9C77D49B207836B5D97A2B76C2DC6F3945F3CE2E8F50D4E8E06D908832A21E7B5D0EABE5CE822AE5E5EEC1172CAA0408

Origin signature

3046022100F5D107982139F4966B9CE3EE2F4B7DB5C6FD9632B1130197D253086FAD80BE27022100FF190B034B046D36C48DE6492E7DB8795E427217D3483CF2ABD2716747842CDE

Proof of work

010104BB7216545F28C83467606EDA88968E19C436410AB446D1BC88FEBDE3506275F9B0B931CAAE420B96B2A158B7112F13795C878CCC346C76E04A96C59CCFC6FC39

Proof of integrity

004587F64404FA37DDE54320A2077DD1EE6276EA6B0D00E3782FE3F3EBC0BB0E0B

Coordinator signature

3445654776746B04ACD4B4019628A9D975505F45A8F382CC5981ECF01501A5A19BE4B31279779C59A5F8984BE2DECDACC33CFD8066A46F8829FFD931E2E83E0E

Validator #1 public key

0001AAFBD70CD1928E509736D7A3F072694F7AD7AA7BF5716FB0239146EE4B633F45

Validator #1 signature

4EF2F2984D3C8F3FD270F2B822536ED6EF199F81278604AEB45E5896B326C83C8F699C2440136DCAAAA5F4FDB93E8D79790389CD0AC1ED436A748B5F90AC8805

Validator #2 public key

00012A70C3888F5CBD811F5E45AD85E660AFB4F6AA982C41433AE63814642DB3D283

Validator #2 signature

638B52A8BA294ADFB3F8466FFFA94DC84D3AC37719C00122333DD76B3334C746F6A49A09FF16219588AA32ABF7FCBEB2DA8D70DB5B21741B0BE5A3EC7CE8B50C