Type
CONTRACT
Validation date
2024-09-18 15:05:01 UTC
Fee
1.68151465 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": 1726671900
}
                  
Movements (0)

Ownerships (1)

  • Secret shared with 1 key

    Encoded secret

    88F62F305C4AAA3C5EA1A13F575D30C9C16389D5B8E90B701EA84013370BD9E0B51D42966FF32B5959150383461DE833CCD07F8473B54F60CAE037AE

    Authorized keys

    • 00017877BCF4122095926A49489009649603AB129822A19EF9D573B8FD714911ED7F

Inputs (0)

Contract inputs (0)

Unspent outputs (1)

Proofs and signatures

Previous public key

0001D10E851D4ADED7A57CD7481F5E637BBC00225A92137886EA2B7E62C5F831AB69

Previous signature

B67CE9F581BA7C67CCBC1EAFED5802BCD937E6A6BDB739951B8C01FDC1E3EE6C5DCDC9C10E562234FF4595274DC0A2D2A9BCF808254AAB39B17BC8DCE9BFED06

Origin signature

3045022100D7ECC63ADC1925624075BC6AD839AF4C07E92E63ABFF4566EA13976EE831BE6A02200BDFA2B1700F57F4B239434603E6C892FD27B342467CDF8A83E30DC59B376E69

Proof of work

010104BB7216545F28C83467606EDA88968E19C436410AB446D1BC88FEBDE3506275F9B0B931CAAE420B96B2A158B7112F13795C878CCC346C76E04A96C59CCFC6FC39

Proof of integrity

00B0B1C6C02A49FE2FF079F5667CA2CA382911A14FDBC47CA558181228FBD5EECE

Coordinator signature

A38988039333221006509D4DCD527600D2DDE66EC84225914BB4DFD93A453DB845A8C5075A5D4357166980DE9EBE90A33C9F21501C5DA245E097ED0FCA7DED09

Validator #1 public key

00016204A6DD6BA17388994E74A6529F509D1479FEFB67D8D55D1E450E30A30982D2

Validator #1 signature

C560A71DA7D77D05A86CE97B9EA0EA6ADEDC8AE058FCF9C08CADF19BD42FAF27A655EB1677F9E5DB84A83FA0265EA94C65F252706616E061060397FB824C040C

Validator #2 public key

00013979F182FBF100A7D850091072443374862E8A007B24B5E14A1405B1F3B1F406

Validator #2 signature

B29D158336439B3485A8810541445456EE560EFA38AFBA918CCB80667269550824D12F76C22539946576947F3A39C1A96464F424F1D3B79760AC341B0EEA320F