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

Ownerships (1)

  • Secret shared with 1 key

    Encoded secret

    E15D81E50ADB3B8E7CFC5D55DE88D471F0AFD4C486BAF2E65F6BACA9C56511C725F0F56946D14680378B6035053D2261F53BD9DE66E3BE3B9C869D3E

    Authorized keys

    • 00017877BCF4122095926A49489009649603AB129822A19EF9D573B8FD714911ED7F

Inputs (0)

Contract inputs (0)

Unspent outputs (1)

Proofs and signatures

Previous public key

0001C57E5701C47585ACFBB481B4DFE836014CBD73A0D3349DF72C0BC10D3717C706

Previous signature

A01E2A23AD6ABAAB2D500AA7ED26A3A4F599DA3061DB72E47CE6799C845919C54A17FA561DB9D7C5BF926178EAC635B4E5ACE46D64218A01742B5422B45F8600

Origin signature

3046022100C5977EF0D476AB17B64D2BF28672B5D72BDC43E7ED2CF3C702464DD7C4B856AB022100A581C74284D9F17B2283A1DA08A506712BDEAF948F2AE2EE5BEFE990DB8BFF5F

Proof of work

010104BB7216545F28C83467606EDA88968E19C436410AB446D1BC88FEBDE3506275F9B0B931CAAE420B96B2A158B7112F13795C878CCC346C76E04A96C59CCFC6FC39

Proof of integrity

00579C09AE0BCA1E541B2B6D490D4F0D3152130FBDD1AFBEDC22E0870EFE3715DA

Coordinator signature

E7D7433839239CE83A06F27CD08EB49AA41763F610D8038DAACE7B40A32E0CAA52BAB20D050C6D04121B1ACDD87E6639DE17FA0AC0A59D0FE606E0F9C3E20906

Validator #1 public key

00012A70C3888F5CBD811F5E45AD85E660AFB4F6AA982C41433AE63814642DB3D283

Validator #1 signature

B4BC3E36E90C050034EFA525B17CA442A7981CFE2DA8C5F71822BC6D8B80522933473ED56DCD45154E56EE10E9CFF435780B43C166AB0FEFE3E5456A8FADEC00

Validator #2 public key

0001A1E702652C3DBD4CD9FCB5896672A42A90DFC3B1EA9A266103D07EEBF651B1A2

Validator #2 signature

76643F3D631EBE7D28A6D374438AB84554DC90A928B2A14028DB2E00D9A3B706E8E996675A54C709FDFDEF581B8B3C539A69A4EA704820325C738C0E642ED504