Type
CONTRACT
Validation date
2024-09-17 19:05:01 UTC
Fee
1.68014645 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": 1726599900
}
                  
Movements (0)

Ownerships (1)

  • Secret shared with 1 key

    Encoded secret

    DC1D5E8438AA3C4506EA0702D510F499ED9F27959FFE902978CD2032A65564E1364F97DC591552582370E3BCB44D0EB84444934B5BC4865E800312FA

    Authorized keys

    • 00017877BCF4122095926A49489009649603AB129822A19EF9D573B8FD714911ED7F

Inputs (0)

Contract inputs (0)

Unspent outputs (1)

Proofs and signatures

Previous public key

00017BBE8943902AC1D5F288D4F456752FE4582069204479FAA823F9C6510181FFF8

Previous signature

B1EB992DDA7360E75C6DA2C73DEEE18BE4ADB29A16965D282FCFBFE53A68C6803B9540DF5DD07A5096096AB4648646A26C32BEEAD6B2C002E887E2066A1C8902

Origin signature

3045022100B39DAB21B8AAB19F63549CDCC282B0DEB38F5C6D041EBC9E86FED9EE430449140220350F444969FDF19CE2AD411776248C345E07281AAB452C8401DA8D5AD95D5C5C

Proof of work

010204D6052E0C6CA9244CDE5F3D664296BDFBA0090B330404C3C16B098758F27965DFEC0D3F25D1365F389C2B6C516195552F8779DEE0796C8C33F1A9C0404F4E3381

Proof of integrity

00B6F7D96CCA4294E31BF0255775E51E634EB2E7AB84BE9A50A37C4A40239C917F

Coordinator signature

2E07BD4233E92525A3E1EA327C26DE42DBB076BD6D543CF23E3C32727B734AF894F8A9CA302EB9B2765E25AF945B4ECC77CD0F47A190E22698A3130E1FC5F206

Validator #1 public key

00016204A6DD6BA17388994E74A6529F509D1479FEFB67D8D55D1E450E30A30982D2

Validator #1 signature

622486946D8D95C0A434139DF4ED5CA7331967AEAC811B08C8F440BD5C76661A284818529766E7480F05E977DFD2FBA40B0489A785FE643B2043FD12D1DDAA00

Validator #2 public key

00013F0000490CECA80A76E7199D7B53E23583A16E24EF761384EC642713056C33D7

Validator #2 signature

128B2617DD768717B16464349388F8A2EEC06C7186BC40582EB429865AA48247CDE9AAE4EA696FE81E7842A3A13DCD2BB7562021BCADAC2DF1DE6EF1DAA98304