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

Ownerships (1)

  • Secret shared with 1 key

    Encoded secret

    942A5ED139BC7D50086AC3A663B8A556195EE7861665AD12A0874CC5D81AF430E271B388563C7FBEC255ABF4536B0FBC331ED3EDBA38199E5297EA1C

    Authorized keys

    • 00017877BCF4122095926A49489009649603AB129822A19EF9D573B8FD714911ED7F

Inputs (0)

Contract inputs (0)

Unspent outputs (1)

Proofs and signatures

Previous public key

0001461ADA188FE64B7BF087BAFBFA2970B287D8174B16A061F8B5121D03B62A0ADB

Previous signature

67F193296517C01437EE24A880774572619BF564C32D4BAB6F8A913111781068D2CEB056A707EFF06041F62DC60AE6C60AFDAE182430CB6F1C7CA2ADC8BFE503

Origin signature

3046022100C44A99EEA7D62E1183537C6919BAF0CBBFA5B57948DAE776C5CAADDC9BB19B25022100E80DE4B4F692CD7356ABF40C898F6FACF43E8B2FD6492E53CC34891B7FA04A20

Proof of work

0101046C39D56B717142B6EE14B0F8B2561ECA458F3D2D12C9977D613F78829419063211F9C21F7BB0D56B6523040A8156BE22B6E9D6332B88ED882574D12AE32F7A45

Proof of integrity

00548BEE9434CBFE65BC06B8A479A9B054B2F34A84D65A577ED10D9BFBCF8C9C67

Coordinator signature

420AE8DC5AC2DC8EB93AED892DBF580892AE745BBD4EAA9ED049EF6FA546547F3CF2818358F065B6BAD392974A5D6F839DD33222A967E8931916FCC34722DF0C

Validator #1 public key

000109F3F0A3EA1C4E40F676D27DF717E0A0C76D4A9EC89A8CAD79DFD414C78C1CD2

Validator #1 signature

18ED79CB7BF78E88CF9C75898DC9EDA3ABFF56E96F5D432B8E4E25735738ED88114E4A39A5E2A1252FCB50C7C89DF23758A8259DEA0067FC36FF567429F76F00

Validator #2 public key

0001923076BC39A300949685070A2979143FFD0CFDF5BE286915C8D0CE0FE2117B8F

Validator #2 signature

309F8DB793A2221AF5C3E35C7D5090AEBBEC09770217B4505C89AEBC0DDD462F5204EE28A6D429C2C8F40DEE1533073BE1453F32820225C4CAFCACB6EDF8C904