Type
CONTRACT
Validation date
2024-09-18 11: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": 1726657500
}
                  
Movements (0)

Ownerships (1)

  • Secret shared with 1 key

    Encoded secret

    5C4297E28EC596F7CDB9F542E9AFEAD272DEC7FC8AF4C024EFB0A6221362877B199A87E4092393A91ADC49134EE9118BDF348F8656009144D39C32F6

    Authorized keys

    • 00017877BCF4122095926A49489009649603AB129822A19EF9D573B8FD714911ED7F

Inputs (0)

Contract inputs (0)

Unspent outputs (1)

Proofs and signatures

Previous public key

00018D1980D3E389EF4835FB46EEC7825B91B6169F07D9679E1D6F957F78D1CD96CE

Previous signature

B7AAACB613502186FEF1A9C44C890DDCBE5862A6017FF9AEED38C6F34E9F3E0FF90F312873F9417417BD55C818D3004D106220020C16D945951F2CFDD6E9C801

Origin signature

304502210081869D8286225D179F04FF091CBDF108FACF20A479F65001A4CF2EE71628AEC1022020867E513E226772B86AE1EB740252AA6B2D1F8948207F0AF7A5C31843F50695

Proof of work

010104228ED9FE757FA46CEDCAE4E3FDDEC1EF6511A71B15E5611AA36EA41DFB969EF2FB83D72D13AD1E89873CD4EFF1364880B3557D72AE5188EF5E1BD09253CE235A

Proof of integrity

000BC17954296085A72177BD14F3B1575B748E86FD7BA7E256690423F1AA8AEBC3

Coordinator signature

5A455BA4135D74B1F15F1367B2FBCAA35695CAB04D6CF476B5160F15DB409AD59AAB34EAA4358FFBF4A2E4BB679315A23F7718B6CEF7BB8D9BAE118302C98906

Validator #1 public key

00013D16BDF02C72DB6831A1EB14200C6D5427B4303351645BDFFC9B132DFE3A53FC

Validator #1 signature

9BE906DBF80C1E50A9BEA158C335F1730680E9CAAE071A3CB599CBC81EE45063F072D51138CEEC247653460AE3E6FDE4D0766E23FF89E2342D42C916ACDE510D

Validator #2 public key

0001923076BC39A300949685070A2979143FFD0CFDF5BE286915C8D0CE0FE2117B8F

Validator #2 signature

204174B570DC963A56ECC3A2E24DF98A26B48298EA672BE60B0AD588598B68C8F85D6D55549772E90D095BFC5B5046ADA2E0B2CB3D2E1C07BDDD89FE6E57CE07