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

Ownerships (1)

  • Secret shared with 1 key

    Encoded secret

    0FCDC857F7CF876ECE12AC3F5A91A21E7D3D21EE7FE1FC4EA333FBA177C9ADB2E575AAD77FFC5E436CCDEC38AC8953ADD607EB70D123A85B7DFCCD59

    Authorized keys

    • 00017877BCF4122095926A49489009649603AB129822A19EF9D573B8FD714911ED7F

Inputs (0)

Contract inputs (0)

Unspent outputs (1)

Proofs and signatures

Previous public key

00012B003BC1AAF500DD0DB55DB0324C3B77AF91A26BD2927571DF0E4142D0E40FD7

Previous signature

F247FDCE67953A0E66941007B92457866783E35986373C2E3C98AF76805BB5A21B407716AEC4F82426A613E661ABC56634EDB9BA03AA5E4C3EBE62A879B4410A

Origin signature

3045022100E5A9C9BC3FE435E3A92EFD6F71D67C31D50151728289A4531E202E1CEECE2DA7022078043454A1696D97685888E2B70CADE571A06C303D7DA4A9218D2C9A050833B7

Proof of work

010104BB7216545F28C83467606EDA88968E19C436410AB446D1BC88FEBDE3506275F9B0B931CAAE420B96B2A158B7112F13795C878CCC346C76E04A96C59CCFC6FC39

Proof of integrity

004EDE39C4B0AF9F126B533B395B4C9B999B356DB0C4E7E2E856478C983564B394

Coordinator signature

C361C058F7E85A0C27D29D32EF7CD073CA9ADBE70CBDA0C881DDD40C2904BB95F8D25F6A0509DD2B1A130684CD3594F12C9E13F5175FDF2504244121AB3C0F09

Validator #1 public key

00016204A6DD6BA17388994E74A6529F509D1479FEFB67D8D55D1E450E30A30982D2

Validator #1 signature

42AE32CB6F206A0644463540D015C6C6A4EB10E2A373BA798DDE429AB75E304353C3752A8C6123116E701D08BE17E3F0760FEAE9B87A9AF9A7FD66CB65094B09

Validator #2 public key

00013F0000490CECA80A76E7199D7B53E23583A16E24EF761384EC642713056C33D7

Validator #2 signature

9895AF6BF2C2DE5F6031E940C74320C32FF858DA480A85D456EEF37708087662D8632AA8475C43600B0018E37C5236E9BCE6A539927A8D7AB6EA24F5A05BCF0F