Type
CONTRACT
Validation date
2024-09-18 09:05:00 UTC
Fee
1.69392944 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": 1726650300
}
                  
Movements (0)

Ownerships (1)

  • Secret shared with 1 key

    Encoded secret

    DE04B37EECD46BEE24688DAB96E9C8B7AFD3C75814FF4E31C98F07C3C67D0D2A5055C5B8C88962637B1C3017CA6FF005E019A2B88A7A8ACE4FB9116A

    Authorized keys

    • 00017877BCF4122095926A49489009649603AB129822A19EF9D573B8FD714911ED7F

Inputs (0)

Contract inputs (0)

Unspent outputs (1)

Proofs and signatures

Previous public key

00011151CB68A29923E4703F01E784BC60AA843694EA6EF3D3498EC3B452A8BDD218

Previous signature

7FB9CB9E4D490989854280848843C16C5B3E00B4BB3F1D7C35EE744B3E3FD0DD49584419FBAA3131A672D9849D023115EEFC37A03F76EE38615DD0E924EC1208

Origin signature

304402206737F51F24C6C902F3503BF537ED392FEB7DC8DC1885D4E47FCC5D3CB05C61F102205CC6A3EFAA18285BB3BEA93081DE66EAE692F63824D43A17BE49B884D8140D22

Proof of work

01010484B78F4110D8E9D6FBEC72759895CC9D4532177314FBAA8B07BC525FC1AF48F150EFBF104B1819106B8E3563CD0E1FAAE5325F8FCFE58FF744C35F47669D2704

Proof of integrity

001875C61A9449D1728B0C2FC854EFBD44131EB46C8FA61C788DCDCEBAEDFB3755

Coordinator signature

3AB88CA48E51268363131FA7A24241944670788C634225124286E882B91FE2AC086A0A56C00238F3603D9DE16FED252B1CCED560D7FF014EA9C876A4E7829701

Validator #1 public key

00013D16BDF02C72DB6831A1EB14200C6D5427B4303351645BDFFC9B132DFE3A53FC

Validator #1 signature

C988ABECC0F8E685407EBF0EF4DE233A0654AA658BA85628E05D4939EE57B89D8611E49C119F336B9E8AD088D3F1355581AD897784D5D19C62C0D9F8619DFB02

Validator #2 public key

0001495101672E3A9A57CD61520FB6F0E381E111EFFF0C2EAD677336BABB33C45C6A

Validator #2 signature

D9F0BAC890A6259C478BCF83F4C0FFDE8B6D85D824A29CEEF6D90E079352550A7564BC8A46C6D621EA1861D58C06B267E8C50960D601CE153BD3EF7836ED8908