Type
CONTRACT
Validation date
2024-09-16 12:05:01 UTC
Fee
1.5738567 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": 1726488300
}
                  
Movements (0)

Ownerships (1)

  • Secret shared with 1 key

    Encoded secret

    C6A48E5CE38D4E56708EDC266213C312A56931F8F40EA30A4FC144A673497B66C27C840540EFB749274DABBC573B448A99154E754BEA099C8F3F10F0

    Authorized keys

    • 00017877BCF4122095926A49489009649603AB129822A19EF9D573B8FD714911ED7F

Inputs (0)

Contract inputs (0)

Unspent outputs (1)

Proofs and signatures

Previous public key

00014AA56F47B7742C0AD30F7805D4AE111F07862FA5F03B3BACC61BFA277C570EA6

Previous signature

90358E94283DBDF89F611885E5173E20AD431F99AA82F90428D7599421BD1600C460336FD66A649A96C2C1639F6802A1E01FD24C1A8C0D6EAFA7B57718670804

Origin signature

304402201545F68C95AAE9EAB21E1E62D26BF083A64A10E3405117FD3F9EE69F071B38B9022020D2AD1C99997DFF959E86233A3CAE9D61079537195A925C56C09A502CD33727

Proof of work

010104BB7216545F28C83467606EDA88968E19C436410AB446D1BC88FEBDE3506275F9B0B931CAAE420B96B2A158B7112F13795C878CCC346C76E04A96C59CCFC6FC39

Proof of integrity

0015FA7EB92148AD2988EDA2FF7598AF77080136DDBB928897D181E4C4EFBB57DF

Coordinator signature

633121F18FD9122A7CEB765B9D1059C7E0E7DEE6C7AFE8559C7406F81CB5F784574520ED0E3362DF104065D81766969D941921FDC79B13AAE38D8B1111AA2504

Validator #1 public key

00016204A6DD6BA17388994E74A6529F509D1479FEFB67D8D55D1E450E30A30982D2

Validator #1 signature

AF2CD5ED2702D773895F1C942AFF4DA8D4D89FB58CD7DAF035B40316F416AB222F513D8F94F7BFBC0FA487003B7DC973948445147EBFF9A4FC863A6D0D28E10D

Validator #2 public key

00013D16BDF02C72DB6831A1EB14200C6D5427B4303351645BDFFC9B132DFE3A53FC

Validator #2 signature

ABD7BF4AB1A8CB3DEAF92033D330A6E0A2EA5268B7940135A5C1243DA217703D04D958623C3017F525AB5F1A35B7B272604B0780DCCE826079F76819F9241002