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

Ownerships (1)

  • Secret shared with 1 key

    Encoded secret

    8ADA1881199015139C6E92588D8E8ED831BBEC9BC2459FDA84C3BA2E116D2DE85A6F8868C376A21E7981376ABC7802091F35C0476816EBEB5F95E6F2

    Authorized keys

    • 00017877BCF4122095926A49489009649603AB129822A19EF9D573B8FD714911ED7F

Inputs (0)

Contract inputs (0)

Unspent outputs (1)

Proofs and signatures

Previous public key

00016560138E9669829A4181C54EBD5EB80624E3E2656C982CC252995D4CF778314A

Previous signature

0A1E9389F09A6927DBA9E4679BB64C35CEBEE5576F5BAD6A42AF7F208E7B3137BA715E7F01B8819662677FB5E719E78AEED750DB816B8367B11C7AA2CBF39A08

Origin signature

3045022100913D52DDEFF1DE7B57124C94A69127E539F2D75C5B8471B5BD8BD3D735E6FBB002202F896C77A521A95A703FD53CD05EAE40EB69CDD8AD71D44EC41543DDBE000421

Proof of work

010204E9BB401A767B0C92D5DB139379AAB18E1B449B455F49E3A44F3466B2D38E59F0516B79493A528A95E5A74CF46F79CF12DEB73293458F6A4403D2B3E57D697347

Proof of integrity

000180BF9A8626F451774EA60257DDF7A138D90CFB3BDAF5F423E7E5C69140DFD1

Coordinator signature

82507485BF32059183277EDF2145DCCB51F39C27B51356C340647B2EC68B9D25F1E3BE5EC70F862E395FBECF954258060C9532258E82DB07EB5024BCF5B17E0D

Validator #1 public key

0001AAFBD70CD1928E509736D7A3F072694F7AD7AA7BF5716FB0239146EE4B633F45

Validator #1 signature

23017B9CD8EDA2ED5B6733BBA132E09659AFBA91AF72D010F96D1575F30C487C2780D68426B1436C274DF32FFDE93C474A6342050004B30BD197DC352A9A1A0D

Validator #2 public key

000109F3F0A3EA1C4E40F676D27DF717E0A0C76D4A9EC89A8CAD79DFD414C78C1CD2

Validator #2 signature

016A4333FE38EE85C63493A11B28AE30BF6CFB13F4FC15404994677F295ADAC0EDEC3E70A85EE44D13656F4756DD437A806E7E05DD79F76333D9672854978A0A