Type
CONTRACT
Validation date
2024-09-18 12:05:02 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": 1726661100
}
                  
Movements (0)

Ownerships (1)

  • Secret shared with 1 key

    Encoded secret

    64B9DECA8AF3BF4099273FAC731234A722BEFA96050A6996ED0E9CC8A783974D389674F19510E0D290567D2B3F995BC6BD71563509637A02AA97F7C0

    Authorized keys

    • 00017877BCF4122095926A49489009649603AB129822A19EF9D573B8FD714911ED7F

Inputs (0)

Contract inputs (0)

Unspent outputs (1)

Proofs and signatures

Previous public key

000188F5B451C42A0BB49BF867911E88CA1D9C4A6C97D067A1660C01955F11762125

Previous signature

9E260682AF601EB9B890EF50EBBAA7E3546A236EC9DF8B33A253F2D3E7B3E1073BBC9870862A60CFF9B5FF67156F62332EC27BCC33CBB0F4A03C108E14CB8B08

Origin signature

304502204AA509BC81CB98BCA198F13CAF6DD4E995A165E96509878C0989868405707E5C022100D203B3C19E3CD5FD599F091FE6F806CDE9438A7002D543B3D1AE4606955781EC

Proof of work

010104BB7216545F28C83467606EDA88968E19C436410AB446D1BC88FEBDE3506275F9B0B931CAAE420B96B2A158B7112F13795C878CCC346C76E04A96C59CCFC6FC39

Proof of integrity

0024598040E0DAC86D0F58EF053971FFB3BBAEC401203CD8254D49917685B0CD1B

Coordinator signature

CA87CADCDA25ED22F2A922384D87468A57A8FD3D0169C7638B7B83B49226FC8270CB7FD992D1E117DA1E7B42643B00277D280AB7238F12C58C1768E1156DDF02

Validator #1 public key

0001923076BC39A300949685070A2979143FFD0CFDF5BE286915C8D0CE0FE2117B8F

Validator #1 signature

5A20E1A8FABF7AEA13F7899D69263D32795F31DC4C4A618DB8980EDDC34C7D242EC302D78D85E1F8C540FA3CE24ADDE9779CF08FC1769F5F248C0B815D15E002

Validator #2 public key

000109F3F0A3EA1C4E40F676D27DF717E0A0C76D4A9EC89A8CAD79DFD414C78C1CD2

Validator #2 signature

D20651E1508DD9368B5F50DAD23D9749266C382CE716D0827901B03B90B598EC203968DE694E9507CEC4E587FF654C93FF524AA5119279DBC27B61CE3FB1640B