Type
CONTRACT
Validation date
2024-09-17 21: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": 1726607100
}
                  
Movements (0)

Ownerships (1)

  • Secret shared with 1 key

    Encoded secret

    7AEABDF2669713B337609606D73C602E504BCE7A9F19E6160135BE2E050C78E87B17F22407251AAF591930C458304AA65BD1D0870DD8CEDF24DE5FBE

    Authorized keys

    • 00017877BCF4122095926A49489009649603AB129822A19EF9D573B8FD714911ED7F

Inputs (0)

Contract inputs (0)

Unspent outputs (1)

Proofs and signatures

Previous public key

0001891DDE464ABC70936D2281788DAFE5D423101325E2DA50EABD5C5D097BED42D6

Previous signature

F4B0D9DB45858C44215EE722DD5E99CE616FF849DF855D71BEE0724C903EEC94879D51289B400840E9798E5DFED92FA1B98C518A53302609ABDD33BA1C392708

Origin signature

304402205F48FDB07C93ED434356E8B3E1C5C564739915B1B484CDD43035EBB01C2A165A022008D27186A2F70D71CD93C7BF1FF9E2CF58D13BB04735B4661D0D6A21B09BD885

Proof of work

010104228ED9FE757FA46CEDCAE4E3FDDEC1EF6511A71B15E5611AA36EA41DFB969EF2FB83D72D13AD1E89873CD4EFF1364880B3557D72AE5188EF5E1BD09253CE235A

Proof of integrity

0090A5426BB025D203D84F932FE6E2C7F8CB2D06CCA350242BF518AA594F8F38C9

Coordinator signature

A5EF644150BF0A8A0F4DE05669A3307BB2DAF980680FA2DA810F1EFF5AA36ED4916947E1D5E5C0DC456A35F1F21A287EC33091CF4F6AE34498AB5FA0E11F0E07

Validator #1 public key

00016204A6DD6BA17388994E74A6529F509D1479FEFB67D8D55D1E450E30A30982D2

Validator #1 signature

2A09E70930E8176680CAF8FFB42F95731497394D037F8D7837CB72095DA642D4D6CCE38A4ED89BA5FD8147CFBED777C02CC8A1C1956D318742C9CC3401A68F09

Validator #2 public key

0001A1E702652C3DBD4CD9FCB5896672A42A90DFC3B1EA9A266103D07EEBF651B1A2

Validator #2 signature

228B569B25C9D8211E0D92BBE717CC5AED6801422085FFAC7CB0ADDDFC2DD27331DC50887E540BE41F2F565C2473DD210EE5BCD9FF5749F93D290890A5625C0E