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

Ownerships (1)

  • Secret shared with 1 key

    Encoded secret

    B2A9E2C396ADF2377E8531225197ECF644F9F7FD0E5D8CA6A53E50DBFDCE5FA88A9A43BFA40383EF0ACA67C5D7654CE55292B426AA2E19A4D9903FB3

    Authorized keys

    • 00017877BCF4122095926A49489009649603AB129822A19EF9D573B8FD714911ED7F

Inputs (0)

Contract inputs (0)

Unspent outputs (1)

Proofs and signatures

Previous public key

0001F61F18151ABB30E1842490E6051DEDE9429B7A0FB154B7F4659713639CDEC07D

Previous signature

518B219BF7BB1D710B21F0FD639F4CA8FE99629BF3594571408E119351C3EA20EBA9C1F7DEFD8206B35A73AB57033A39DD8B40446D715AE409C7C8802124BC02

Origin signature

30460221008162E5129E01D7A6D6894A3755DD720105C902C7907713DB82667179025A15FB022100832D34E37DB3028660783B3904DFA4F6E3D775039DC1B875E65737B778AD27EF

Proof of work

0101046C39D56B717142B6EE14B0F8B2561ECA458F3D2D12C9977D613F78829419063211F9C21F7BB0D56B6523040A8156BE22B6E9D6332B88ED882574D12AE32F7A45

Proof of integrity

0007EE5FF7BB2D4BDB6FFFCF9AF7F5E075B57B690809420CB094C25A2A455A0296

Coordinator signature

0C13E66A2BABA86D4DA106F5774C915353F6AB20537456DFC0F256E981AD185489B75A8964876192F3A8C977BD7D006BE098D65D52965C9DABEF265580AD1906

Validator #1 public key

0001A1E702652C3DBD4CD9FCB5896672A42A90DFC3B1EA9A266103D07EEBF651B1A2

Validator #1 signature

B5CD6C256D679726B53A559195A19C0B74BA886E8E92EA75D3BED160BB1B0057E33683FAF70D6784B858678630B55B4AFF4B20CFA17DBAD090A39CAE95234007

Validator #2 public key

0001AAFBD70CD1928E509736D7A3F072694F7AD7AA7BF5716FB0239146EE4B633F45

Validator #2 signature

2E67D92DAE77566A47D65623F6180F8F6FAB253490C312D16EBB36C45FB9FCD319B298B67A84BBE64179433988D5CC44FD0A02605FDCAF61A02837EAC162E201