Type
CONTRACT
Validation date
2024-09-17 14: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": 1726581900
}
                  
Movements (0)

Ownerships (1)

  • Secret shared with 1 key

    Encoded secret

    50A8B4F4F290EA6AED5E365E6460593DB1B881B27A475DA47F0ECFC53F4C8A30F25BDABCEB9BA55937EDAAFB84D1332F7E016325B29CFC435D3B2702

    Authorized keys

    • 00017877BCF4122095926A49489009649603AB129822A19EF9D573B8FD714911ED7F

Inputs (0)

Contract inputs (0)

Unspent outputs (1)

Proofs and signatures

Previous public key

000157F356E51D413535E620D3CF1B4BA3BA2208244FDCE72124E4710BD1078DC3A2

Previous signature

13E0F048C456B62CDD7F5B04DC02C96C5813BB50C4422B3385A0227B2749F41E75C83A72C98FCF5DD63B7CAD6D3687EAB57C9BDC928CECDF9A878C6CE6A24B0D

Origin signature

3045022100ACBB22D993658EC2A72D9FD6D874E0D59053E1562ED3CC2F85289121C771A8CE022022C143883798AF7B9DBF38BB607C80CB2B9B27AD2170D1646F7854FF21A32B41

Proof of work

010104BB7216545F28C83467606EDA88968E19C436410AB446D1BC88FEBDE3506275F9B0B931CAAE420B96B2A158B7112F13795C878CCC346C76E04A96C59CCFC6FC39

Proof of integrity

00CF3C9DD93978B3B40E392E26E8F976FE1DFDF7B339E78089FCE5157E134717A5

Coordinator signature

133F72733BE0CF37097A27A01B66DBAC88D928EC585548A2808010A31F2274865E2BC70C7D5BF8291849EFD8F1A20AF31F33F5CDA48444CC7D4FA1A864B8F405

Validator #1 public key

00017C1085C3D4AF32C4F3BFD4F0DC8FBFA4A1D6EC059601111AB371A8AF03F589BA

Validator #1 signature

DAE3370E738BA80B894E5B052D5E9A9BE0BC0E93B25AD4884BE3F8293736768B9713A1D3886D157F46801D162890543F91FD430D88A0F181A7B7BA81B57B0002

Validator #2 public key

00013F0000490CECA80A76E7199D7B53E23583A16E24EF761384EC642713056C33D7

Validator #2 signature

9A5AF946A91C04E7E50048E1BF232AEEF118D80908FE9E6F393DCA7FBC859D8D5D4219190C8E5DF7F8A23725929001E32E52E29C37240359A6435F8F10518A0C