Type
CONTRACT
Validation date
2024-09-17 06:05:00 UTC
Fee
1.61194379 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": 1726553100
}
                  
Movements (0)

Ownerships (1)

  • Secret shared with 1 key

    Encoded secret

    4EC06A2F7949B5A7116F849ED7FDB8A08FD5CED3329996C126A883F4411CBB304D782E3A39659287D55F9EE6BFC935FE389A833E2DDE286346356576

    Authorized keys

    • 00017877BCF4122095926A49489009649603AB129822A19EF9D573B8FD714911ED7F

Inputs (0)

Contract inputs (0)

Unspent outputs (1)

Proofs and signatures

Previous public key

0001B5BCE75CAD19E5ED0FD080AF5101AADC83704E24341E0C4C55968DC783EB7DB5

Previous signature

DA210199E50115135EC4F7DAB977D6B1C829D39584C79FB04F7BE6C87725151DD93C608DC0980374C5E47DCE152C8E05AAA47BE911AEBA11354005523E4D7D08

Origin signature

304502206BACBBCA3E6232335B637158E2B7E00B040709E164191A0180DB920A3015D8E2022100B4A105B2DAE594A2994413D152AF772C85FF3004EFEDFF9FB480FB81FDB99BF6

Proof of work

010104228ED9FE757FA46CEDCAE4E3FDDEC1EF6511A71B15E5611AA36EA41DFB969EF2FB83D72D13AD1E89873CD4EFF1364880B3557D72AE5188EF5E1BD09253CE235A

Proof of integrity

009A977075A78D9C2687AED53B1EC4874D3AF5FCE125A49FEEB2E30B05DBD00B5D

Coordinator signature

8CF62EA2A72A05604AF4431C2272E50966117D14BA8862FB2CA67C323A19C3B7FF5984CAF51CB9E27E03805290290CC7E4EC6C80C0BD3D7A1039EEAC43B4930C

Validator #1 public key

000109F3F0A3EA1C4E40F676D27DF717E0A0C76D4A9EC89A8CAD79DFD414C78C1CD2

Validator #1 signature

7438D95249C4656AB2770DEF8EAA015B402BC5776454BE2A80E37931805FAF5C5920316D4EDFCC6421F0CC79F48F8126A2DD05BE40EE6CEDEF250D1AAA18CF07

Validator #2 public key

00016204A6DD6BA17388994E74A6529F509D1479FEFB67D8D55D1E450E30A30982D2

Validator #2 signature

FD29D1C71E1601D92258E38EA5B79782994AB5E1E3ECEF3003C25932269C56B486920060D292E77FBD3045451CC6E2C324876DB27124C403F82171A990A6CE07