Type
CONTRACT
Validation date
2024-09-17 04:05:00 UTC
Fee
1.61194379 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": 1726545900
}
                  
Movements (0)

Ownerships (1)

  • Secret shared with 1 key

    Encoded secret

    D4EAA9EA1059F8CF857C9D4F729730EFFC1D7B0D1CC1133EE009921517C445A6D9F19D7B6B6F1F6CE3148C5E077A91BBA7A7FC570994B7B4360817BF

    Authorized keys

    • 00017877BCF4122095926A49489009649603AB129822A19EF9D573B8FD714911ED7F

Inputs (0)

Contract inputs (0)

Unspent outputs (1)

Proofs and signatures

Previous public key

0001997939474C983DC23E661D8973E0D0933D35CD0BA964F554BA5358F1278D92EB

Previous signature

81E431C8AF01DCB0E10DA43C32E1F8C3C311DABCDC34EA2A78AC31F856CBB94C2A58192CDB66EDF65C65D3EAD8CCDA2C7895301C2282EF1B0D0E64F6283E410E

Origin signature

3045022100BD007535CBE25A85A2006A86DC49AEADB277C8E3AD6870E7BC9ACDF025B4805A022067B9FFDCBF087EC0FD4CA4DAE05210681CB16579B2831D2996B486C7A01F2E38

Proof of work

010204892A04DBE05192BCB662689E7E19700F3F7202028EF0A9F20635C4948436ED85A43BA3017281EE97781342DD8F24ED6F583B5FE542830FDB5191A11843A72A61

Proof of integrity

002008DC85B25C209180CAB0B77EF10186405E2F75865B8E8C4D9B93554963280F

Coordinator signature

EF1AF2CE6909E6F6E01ADF8D6304C4F9CEC82495DB42A9E03213AF2D6504FEFE28E5A650A3F165903BCA1CABE91FFDD3807842D64EE1EABC0CFD5854FF267007

Validator #1 public key

0001495101672E3A9A57CD61520FB6F0E381E111EFFF0C2EAD677336BABB33C45C6A

Validator #1 signature

D89538077BF25478834DB617F73A4DB5D7DB1EEB9DB88D3FC630D6A9D9E506CD69D9DE88ACBCB7B04D612B8F66BCB32C1EBACE6DD8D8EF628B9FC1EA96E0B20E

Validator #2 public key

00017C1085C3D4AF32C4F3BFD4F0DC8FBFA4A1D6EC059601111AB371A8AF03F589BA

Validator #2 signature

7AF621AA3045545C9B67F8210EF55CE8B4A55F50ED0558C5BA86386F4F06DE16C03C366938EC5E8A4617A0F35308731D80C5039EB12AEF17B143407A85828C04