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

Ownerships (1)

  • Secret shared with 1 key

    Encoded secret

    CE8E17743EA6AF273FC1BCF801A8AD000FA018CE37EAC10B838656EF29E141674101DE9D2AAB0508948208F8727747C777A11DE6E7C2FC5E52E021E3

    Authorized keys

    • 00017877BCF4122095926A49489009649603AB129822A19EF9D573B8FD714911ED7F

Inputs (0)

Contract inputs (0)

Unspent outputs (1)

Proofs and signatures

Previous public key

00018F33B6C9BC0EDDCA3B1A764633B42B9C8260E5AA4BFED4E72771A5FB24960DAB

Previous signature

63AF10077A1C41F97C0A6E81833ED2DD2A4A0CAF96281968B342CCFEB28F1D5D65C77B88BADFD70E0C7894C4A4D80AB3DED3D5CF58008498068BEA166DCD670C

Origin signature

3045022100D8BD661E098ADFBCEB9E130FDFC478B867D10412FA4D2C3CF17ADE5FEA0E6F5E022016E765C2BF7E5C0F2E5F1C59604EFDEF1C713EAF42007F525757DAB2D0381A1C

Proof of work

01020451684966573439C38DA99334546FBBDE4A6D96A50B4A4ECBB6572CDBED023F079607407E254421D1779525D11C60D55684F0B403B93B95823554E29D1E2CDB16

Proof of integrity

00E93B0BAC6070B1879B924A9B338EEB09DF5C5F6EA68586AE4B4FCABF9DFFDF1D

Coordinator signature

88DC32F008B71AEF5AB8ACA7F08533FA5320E8C5290BFDE0D284E101169F0FC6043EE4430D6B4AC946419ADDE093A9BA9543A46C8CE4D72DFF482BD11CB7A808

Validator #1 public key

00016204A6DD6BA17388994E74A6529F509D1479FEFB67D8D55D1E450E30A30982D2

Validator #1 signature

9CD0F9B913693A34C076127BD53D57F1183B60A1961395AE7AECF358A62E02691C304C29D5872023CC54B86B0F94AE741BEB3C680B02E89E07BAD907F1CD9F04

Validator #2 public key

0001A1E702652C3DBD4CD9FCB5896672A42A90DFC3B1EA9A266103D07EEBF651B1A2

Validator #2 signature

49316E9B1F8F35C0811E36555933E694A6B9FD33C182CB2E9CD98AA4F1AADE90F73A4DF13EF8A328BAA02C40BD4C5495D62A89EF0DD8CE846554BB05BD4E3901